2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.1.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir -p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME
='wxWidgets'
577 PACKAGE_TARNAME
='wxwidgets'
578 PACKAGE_VERSION
='2.9.1'
579 PACKAGE_STRING
='wxWidgets 2.9.1'
580 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
582 ac_unique_file
="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default
="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
707 LIBGNOMEPRINTUI_CFLAGS
815 ICC_PCH_CREATE_SWITCH
819 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
820 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
821 COND_BUILD_DEBUG_UNICODE_0
822 COND_BUILD_DEBUG_UNICODE_1
824 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
825 COND_BUILD_RELEASE_UNICODE_0
826 COND_BUILD_RELEASE_UNICODE_1
828 COND_BUILD_debug_DEBUG_FLAG_default
829 COND_BUILD_debug_DEBUG_INFO_default
830 COND_BUILD_debug_UNICODE_0
831 COND_BUILD_debug_UNICODE_1
833 COND_BUILD_release_DEBUG_INFO_default
834 COND_BUILD_release_UNICODE_0
835 COND_BUILD_release_UNICODE_1
845 COND_MONOLITHIC_0_SHARED_0
846 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
851 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
852 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
853 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
854 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
855 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
856 COND_MONOLITHIC_0_SHARED_1
857 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
858 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
862 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
863 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
864 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
865 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
866 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
867 COND_MONOLITHIC_0_USE_AUI_1
868 COND_MONOLITHIC_0_USE_GUI_1
869 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
870 COND_MONOLITHIC_0_USE_HTML_1
871 COND_MONOLITHIC_0_USE_MEDIA_1
872 COND_MONOLITHIC_0_USE_PROPGRID_1
873 COND_MONOLITHIC_0_USE_QA_1
874 COND_MONOLITHIC_0_USE_RIBBON_1
875 COND_MONOLITHIC_0_USE_RICHTEXT_1
876 COND_MONOLITHIC_0_USE_STC_1
877 COND_MONOLITHIC_0_USE_XRC_1
879 COND_MONOLITHIC_1_SHARED_0
880 COND_MONOLITHIC_1_SHARED_1
881 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
882 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
883 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
884 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
885 COND_PLATFORM_MACOSX_1
886 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
887 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
888 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
891 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
892 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
893 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
894 COND_PLATFORM_MACOSX_1_USE_GUI_1
895 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
896 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
897 COND_PLATFORM_MACOS_1
900 COND_PLATFORM_MSDOS_0
901 COND_PLATFORM_MSDOS_1
905 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
906 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
907 COND_PLATFORM_UNIX_1_USE_GUI_1
908 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
909 COND_PLATFORM_WIN32_0
910 COND_PLATFORM_WIN32_1
911 COND_PLATFORM_WIN32_1_SHARED_0
913 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
914 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
915 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
916 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
917 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
918 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
919 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
920 COND_SHARED_0_USE_STC_1
921 COND_SHARED_0_wxUSE_EXPAT_builtin
922 COND_SHARED_0_wxUSE_REGEX_builtin
923 COND_SHARED_0_wxUSE_ZLIB_builtin
925 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
928 COND_TOOLKIT_COCOA_USE_GUI_1
929 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_DFB_USE_GUI_1
933 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
934 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
935 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
936 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
937 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
938 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
939 COND_TOOLKIT_GTK_USE_GUI_1
942 COND_TOOLKIT_MGL_USE_GUI_1
944 COND_TOOLKIT_MOTIF_USE_GUI_1
945 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
947 COND_TOOLKIT_MSW_USE_GUI_1
948 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
949 COND_TOOLKIT_MSW_WXUNIV_0
950 COND_TOOLKIT_OSX_CARBON
951 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
952 COND_TOOLKIT_OSX_COCOA
953 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
954 COND_TOOLKIT_OSX_IPHONE
955 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
956 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
958 COND_TOOLKIT_PM_USE_GUI_1
959 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
961 COND_TOOLKIT_WINCE_USE_GUI_1
962 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
963 COND_TOOLKIT_WINCE_WXUNIV_0
965 COND_TOOLKIT_X11_USE_GUI_1
968 COND_USE_EXCEPTIONS_0
969 COND_USE_EXCEPTIONS_1
972 COND_USE_GUI_1_USE_OPENGL_1
973 COND_USE_GUI_1_WXUNIV_0
974 COND_USE_GUI_1_WXUNIV_1
975 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
976 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
977 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
978 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
979 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
980 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
986 COND_USE_SOTWOSYMLINKS_1
987 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
988 COND_USE_SOVERLINUX_1
990 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
991 COND_USE_SOVERSOLARIS_1
996 COND_WINDOWS_IMPLIB_1
997 COND_WITH_PLUGIN_SDL_1
1000 COND_WXUSE_EXPAT_BUILTIN
1001 COND_WXUSE_LIBJPEG_BUILTIN
1002 COND_WXUSE_LIBPNG_BUILTIN
1003 COND_WXUSE_LIBTIFF_BUILTIN
1004 COND_WXUSE_REGEX_BUILTIN
1005 COND_WXUSE_ZLIB_BUILTIN
1006 COND_wxUSE_EXPAT_builtin
1007 COND_wxUSE_LIBJPEG_builtin
1008 COND_wxUSE_LIBPNG_builtin
1009 COND_wxUSE_LIBTIFF_builtin
1010 COND_wxUSE_REGEX_builtin
1011 COND_wxUSE_ZLIB_builtin
1014 WX_LIBRARY_BASENAME_NOGUI
1015 WX_LIBRARY_BASENAME_GUI
1035 WXCONFIG_LDFLAGS_GUI
1047 WX_RESOURCES_MACOSX_ASCII
1048 WX_RESOURCES_MACOSX_DATA
1058 ac_precious_vars
='build_alias
1082 LIBGNOMEPRINTUI_CFLAGS
1083 LIBGNOMEPRINTUI_LIBS
1094 ac_subdirs_all
='src/tiff
1097 # Initialize some variables set by options.
1099 ac_init_version
=false
1100 # The variables have the same names as the options, with
1101 # dashes changed to underlines.
1102 cache_file
=/dev
/null
1109 program_transform_name
=s
,x
,x
,
1117 # Installation directory options.
1118 # These are left unexpanded so users can "make install exec_prefix=/foo"
1119 # and all the variables that are supposed to be based on exec_prefix
1120 # by default will actually change.
1121 # Use braces instead of parens because sh, perl, etc. also accept them.
1122 # (The list follows the same order as the GNU Coding Standards.)
1123 bindir
='${exec_prefix}/bin'
1124 sbindir
='${exec_prefix}/sbin'
1125 libexecdir
='${exec_prefix}/libexec'
1126 datarootdir
='${prefix}/share'
1127 datadir
='${datarootdir}'
1128 sysconfdir
='${prefix}/etc'
1129 sharedstatedir
='${prefix}/com'
1130 localstatedir
='${prefix}/var'
1131 includedir
='${prefix}/include'
1132 oldincludedir
='/usr/include'
1133 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1134 infodir
='${datarootdir}/info'
1139 libdir
='${exec_prefix}/lib'
1140 localedir
='${datarootdir}/locale'
1141 mandir
='${datarootdir}/man'
1147 # If the previous option needs an argument, assign it.
1148 if test -n "$ac_prev"; then
1149 eval $ac_prev=\
$ac_option
1155 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1159 # Accept the important Cygnus configure options, so we can diagnose typos.
1161 case $ac_dashdash$ac_option in
1165 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1167 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1168 bindir
=$ac_optarg ;;
1170 -build | --build | --buil | --bui | --bu)
1171 ac_prev
=build_alias
;;
1172 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1173 build_alias
=$ac_optarg ;;
1175 -cache-file | --cache-file | --cache-fil | --cache-fi \
1176 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1177 ac_prev
=cache_file
;;
1178 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1179 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1180 cache_file
=$ac_optarg ;;
1182 --config-cache | -C)
1183 cache_file
=config.cache
;;
1185 -datadir | --datadir | --datadi | --datad)
1187 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1188 datadir
=$ac_optarg ;;
1190 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1191 | --dataroo | --dataro | --datar)
1192 ac_prev
=datarootdir
;;
1193 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1194 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1195 datarootdir
=$ac_optarg ;;
1197 -disable-* | --disable-*)
1198 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1199 # Reject names that are not valid shell variable names.
1200 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1201 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1202 { (exit 1); exit 1; }; }
1203 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1204 eval enable_
$ac_feature=no
;;
1206 -docdir | --docdir | --docdi | --doc | --do)
1208 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1209 docdir
=$ac_optarg ;;
1211 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1213 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1214 dvidir
=$ac_optarg ;;
1216 -enable-* | --enable-*)
1217 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1218 # Reject names that are not valid shell variable names.
1219 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1220 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1221 { (exit 1); exit 1; }; }
1222 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1223 eval enable_
$ac_feature=\
$ac_optarg ;;
1225 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1226 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1227 | --exec | --exe | --ex)
1228 ac_prev
=exec_prefix
;;
1229 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1230 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1231 | --exec=* | --exe=* | --ex=*)
1232 exec_prefix
=$ac_optarg ;;
1234 -gas | --gas | --ga | --g)
1235 # Obsolete; use --with-gas.
1238 -help | --help | --hel | --he | -h)
1239 ac_init_help
=long
;;
1240 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1241 ac_init_help
=recursive
;;
1242 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1243 ac_init_help
=short
;;
1245 -host | --host | --hos | --ho)
1246 ac_prev
=host_alias
;;
1247 -host=* | --host=* | --hos=* | --ho=*)
1248 host_alias
=$ac_optarg ;;
1250 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1252 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1254 htmldir
=$ac_optarg ;;
1256 -includedir | --includedir | --includedi | --included | --include \
1257 | --includ | --inclu | --incl | --inc)
1258 ac_prev
=includedir
;;
1259 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1260 | --includ=* | --inclu=* | --incl=* | --inc=*)
1261 includedir
=$ac_optarg ;;
1263 -infodir | --infodir | --infodi | --infod | --info | --inf)
1265 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1266 infodir
=$ac_optarg ;;
1268 -libdir | --libdir | --libdi | --libd)
1270 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1271 libdir
=$ac_optarg ;;
1273 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1274 | --libexe | --libex | --libe)
1275 ac_prev
=libexecdir
;;
1276 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1277 | --libexe=* | --libex=* | --libe=*)
1278 libexecdir
=$ac_optarg ;;
1280 -localedir | --localedir | --localedi | --localed | --locale)
1281 ac_prev
=localedir
;;
1282 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1283 localedir
=$ac_optarg ;;
1285 -localstatedir | --localstatedir | --localstatedi | --localstated \
1286 | --localstate | --localstat | --localsta | --localst | --locals)
1287 ac_prev
=localstatedir
;;
1288 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1289 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1290 localstatedir
=$ac_optarg ;;
1292 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1294 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1295 mandir
=$ac_optarg ;;
1297 -nfp | --nfp | --nf)
1298 # Obsolete; use --without-fp.
1301 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1302 | --no-cr | --no-c | -n)
1305 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1306 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1309 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1310 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1311 | --oldin | --oldi | --old | --ol | --o)
1312 ac_prev
=oldincludedir
;;
1313 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1314 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1315 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1316 oldincludedir
=$ac_optarg ;;
1318 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1320 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1321 prefix
=$ac_optarg ;;
1323 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1324 | --program-pre | --program-pr | --program-p)
1325 ac_prev
=program_prefix
;;
1326 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1327 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1328 program_prefix
=$ac_optarg ;;
1330 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1331 | --program-suf | --program-su | --program-s)
1332 ac_prev
=program_suffix
;;
1333 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1334 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1335 program_suffix
=$ac_optarg ;;
1337 -program-transform-name | --program-transform-name \
1338 | --program-transform-nam | --program-transform-na \
1339 | --program-transform-n | --program-transform- \
1340 | --program-transform | --program-transfor \
1341 | --program-transfo | --program-transf \
1342 | --program-trans | --program-tran \
1343 | --progr-tra | --program-tr | --program-t)
1344 ac_prev
=program_transform_name
;;
1345 -program-transform-name=* | --program-transform-name=* \
1346 | --program-transform-nam=* | --program-transform-na=* \
1347 | --program-transform-n=* | --program-transform-=* \
1348 | --program-transform=* | --program-transfor=* \
1349 | --program-transfo=* | --program-transf=* \
1350 | --program-trans=* | --program-tran=* \
1351 | --progr-tra=* | --program-tr=* | --program-t=*)
1352 program_transform_name
=$ac_optarg ;;
1354 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1356 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1357 pdfdir
=$ac_optarg ;;
1359 -psdir | --psdir | --psdi | --psd | --ps)
1361 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1364 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1365 | -silent | --silent | --silen | --sile | --sil)
1368 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1370 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1372 sbindir
=$ac_optarg ;;
1374 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1375 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1376 | --sharedst | --shareds | --shared | --share | --shar \
1378 ac_prev
=sharedstatedir
;;
1379 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1380 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1381 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1383 sharedstatedir
=$ac_optarg ;;
1385 -site | --site | --sit)
1387 -site=* | --site=* | --sit=*)
1390 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1392 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1393 srcdir
=$ac_optarg ;;
1395 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1396 | --syscon | --sysco | --sysc | --sys | --sy)
1397 ac_prev
=sysconfdir
;;
1398 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1399 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1400 sysconfdir
=$ac_optarg ;;
1402 -target | --target | --targe | --targ | --tar | --ta | --t)
1403 ac_prev
=target_alias
;;
1404 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1405 target_alias
=$ac_optarg ;;
1407 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1410 -version | --version | --versio | --versi | --vers | -V)
1411 ac_init_version
=: ;;
1414 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1415 # Reject names that are not valid shell variable names.
1416 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1417 { echo "$as_me: error: invalid package name: $ac_package" >&2
1418 { (exit 1); exit 1; }; }
1419 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1420 eval with_
$ac_package=\
$ac_optarg ;;
1422 -without-* | --without-*)
1423 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1424 # Reject names that are not valid shell variable names.
1425 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1426 { echo "$as_me: error: invalid package name: $ac_package" >&2
1427 { (exit 1); exit 1; }; }
1428 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1429 eval with_
$ac_package=no
;;
1432 # Obsolete; use --with-x.
1435 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1436 | --x-incl | --x-inc | --x-in | --x-i)
1437 ac_prev
=x_includes
;;
1438 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1439 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1440 x_includes
=$ac_optarg ;;
1442 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1443 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1444 ac_prev
=x_libraries
;;
1445 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1446 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1447 x_libraries
=$ac_optarg ;;
1449 -*) { echo "$as_me: error: unrecognized option: $ac_option
1450 Try \`$0 --help' for more information." >&2
1451 { (exit 1); exit 1; }; }
1455 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1456 # Reject names that are not valid shell variable names.
1457 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1458 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1459 { (exit 1); exit 1; }; }
1460 eval $ac_envvar=\
$ac_optarg
1461 export $ac_envvar ;;
1464 # FIXME: should be removed in autoconf 3.0.
1465 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1466 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1467 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1468 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1474 if test -n "$ac_prev"; then
1475 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1476 { echo "$as_me: error: missing argument to $ac_option" >&2
1477 { (exit 1); exit 1; }; }
1480 # Be sure to have absolute directory names.
1481 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1482 datadir sysconfdir sharedstatedir localstatedir includedir \
1483 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1484 libdir localedir mandir
1486 eval ac_val
=\$
$ac_var
1488 [\\/$
]* | ?
:[\\/]* ) continue;;
1489 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1491 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1492 { (exit 1); exit 1; }; }
1495 # There might be people who depend on the old broken behavior: `$host'
1496 # used to hold the argument of --host etc.
1497 # FIXME: To remove some day.
1500 target
=$target_alias
1502 # FIXME: To remove some day.
1503 if test "x$host_alias" != x
; then
1504 if test "x$build_alias" = x
; then
1505 cross_compiling
=maybe
1506 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1507 If a cross compiler is detected then cross compile mode will be used." >&2
1508 elif test "x$build_alias" != "x$host_alias"; then
1514 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1516 test "$silent" = yes && exec 6>/dev
/null
1519 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1520 ac_ls_di
=`ls -di .` &&
1521 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1522 { echo "$as_me: error: Working directory cannot be determined" >&2
1523 { (exit 1); exit 1; }; }
1524 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1525 { echo "$as_me: error: pwd does not report name of working directory" >&2
1526 { (exit 1); exit 1; }; }
1529 # Find the source files, if location was not specified.
1530 if test -z "$srcdir"; then
1531 ac_srcdir_defaulted
=yes
1532 # Try the directory containing this script, then the parent directory.
1533 ac_confdir
=`$as_dirname -- "$0" ||
1534 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1535 X"$0" : 'X\(//\)[^/]' \| \
1536 X"$0" : 'X\(//\)$' \| \
1537 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1539 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1557 if test ! -r "$srcdir/$ac_unique_file"; then
1561 ac_srcdir_defaulted
=no
1563 if test ! -r "$srcdir/$ac_unique_file"; then
1564 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1565 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1566 { (exit 1); exit 1; }; }
1568 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1570 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1571 { (exit 1); exit 1; }; }
1573 # When building in place, set srcdir=.
1574 if test "$ac_abs_confdir" = "$ac_pwd"; then
1577 # Remove unnecessary trailing slashes from srcdir.
1578 # Double slashes in file names in object file debugging info
1579 # mess up M-x gdb in Emacs.
1581 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1583 for ac_var
in $ac_precious_vars; do
1584 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1585 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1586 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1587 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1591 # Report the --help message.
1593 if test "$ac_init_help" = "long"; then
1594 # Omit some internal or obsolete options to make the list less imposing.
1595 # This message is too long to be a string in the A/UX 3.1 sh.
1597 \`configure' configures wxWidgets 2.9.1 to adapt to many kinds of systems.
1599 Usage: $0 [OPTION]... [VAR=VALUE]...
1601 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1602 VAR=VALUE. See below for descriptions of some of the useful variables.
1604 Defaults for the options are specified in brackets.
1607 -h, --help display this help and exit
1608 --help=short display options specific to this package
1609 --help=recursive display the short help of all the included packages
1610 -V, --version display version information and exit
1611 -q, --quiet, --silent do not print \`checking...' messages
1612 --cache-file=FILE cache test results in FILE [disabled]
1613 -C, --config-cache alias for \`--cache-file=config.cache'
1614 -n, --no-create do not create output files
1615 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1617 Installation directories:
1618 --prefix=PREFIX install architecture-independent files in PREFIX
1619 [$ac_default_prefix]
1620 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1623 By default, \`make install' will install all the files in
1624 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1625 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1626 for instance \`--prefix=\$HOME'.
1628 For better control, use the options below.
1630 Fine tuning of the installation directories:
1631 --bindir=DIR user executables [EPREFIX/bin]
1632 --sbindir=DIR system admin executables [EPREFIX/sbin]
1633 --libexecdir=DIR program executables [EPREFIX/libexec]
1634 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1635 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1636 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1637 --libdir=DIR object code libraries [EPREFIX/lib]
1638 --includedir=DIR C header files [PREFIX/include]
1639 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1640 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1641 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1642 --infodir=DIR info documentation [DATAROOTDIR/info]
1643 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1644 --mandir=DIR man documentation [DATAROOTDIR/man]
1645 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1646 --htmldir=DIR html documentation [DOCDIR]
1647 --dvidir=DIR dvi documentation [DOCDIR]
1648 --pdfdir=DIR pdf documentation [DOCDIR]
1649 --psdir=DIR ps documentation [DOCDIR]
1655 --x-includes=DIR X include files are
in DIR
1656 --x-libraries=DIR X library files are
in DIR
1659 --build=BUILD configure
for building on BUILD
[guessed
]
1660 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1664 if test -n "$ac_init_help"; then
1665 case $ac_init_help in
1666 short
| recursive
) echo "Configuration of wxWidgets 2.9.1:";;
1671 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1672 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1673 --disable-gui don
't build GUI parts of the library
1674 --enable-monolithic build wxWidgets as single library
1675 --enable-plugins build parts of wxWidgets as loadable components
1676 --enable-official_build official build of wxWidgets (win32 DLL only)
1677 --enable-vendor=VENDOR vendor name (win32 DLL only)
1678 --disable-all-features disable all optional features to build minimal library
1679 --enable-universal use wxWidgets GUI controls instead of native ones
1680 --enable-nanox use NanoX
1681 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1682 --enable-gpe use GNOME PDA Environment features if possible
1683 --enable-debug build library for debugging
1684 --disable-debug_flag disable all debugging support
1685 --enable-debug_info generate debug information
1686 --enable-debug_gdb create code with extra GDB debugging information
1687 --enable-debug_cntxt obsolete, don't use
: use wxDebugContext
1688 --enable-mem_tracing obsolete
, don
't use: create code with memory tracing
1689 --disable-shared create static library instead of shared
1690 --enable-stl use STL for containers
1691 --enable-std_iostreams use standard C++ stream classes
1692 --enable-std_string use standard C++ string classes
1693 --disable-unicode compile without Unicode support
1694 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1695 --enable-utf8 use UTF-8 representation for strings (Unix only)
1696 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1697 --enable-extended_rtti use extended RTTI (XTI)
1698 --enable-omf use OMF object format
1699 --disable-optimise compile without optimisations
1700 --enable-profile create code with profiling information
1701 --enable-no_rtti create code without RTTI information
1702 --enable-no_exceptions create code without C++ exceptions handling
1703 --enable-permissive compile code disregarding strict ANSI
1704 --enable-no_deps create code without dependency information
1705 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1706 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1707 --enable-compat26 enable wxWidgets
2.6 compatibility
1708 --disable-compat28 disable wxWidgets
2.8 compatibility
1709 --disable-rpath disable use of rpath
for uninstalled builds
1710 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1711 --disable-visibility disable use of ELF symbols visibility even
if supported
1712 --disable-tls disable use of compiler TLS support
1713 --enable-intl use internationalization system
1714 --enable-xlocale use x
-locale support
(requires wxLocale
)
1715 --enable-config use wxConfig
(and derived
) classes
1716 --enable-protocols use wxProtocol and derived classes
1717 --enable-ftp use wxFTP
(requires wxProtocol
1718 --enable-http use wxHTTP
(requires wxProtocol
1719 --enable-fileproto use wxFileProto class
(requires wxProtocol
1720 --enable-sockets use socket
/network classes
1721 --enable-ipv6 enable IPv6 support
in wxSocket
1722 --enable-ole use OLE classes
(Win32 only
)
1723 --enable-dataobj use data object classes
1724 --enable-ipc use interprocess communication
(wxSocket etc.
)
1725 --enable-baseevtloop use event loop
in console programs too
1726 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1727 --enable-selectloop use wxSelectDispatcher class
1728 --enable-any use wxAny class
1729 --enable-apple_ieee use the Apple IEEE codec
1730 --enable-arcstream use wxArchive streams
1731 --enable-base64 use base64 encoding
/decoding functions
1732 --enable-backtrace use wxStackWalker class
for getting backtraces
1733 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1734 --enable-cmdline use wxCmdLineParser class
1735 --enable-datetime use wxDateTime class
1736 --enable-debugreport use wxDebugReport class
1737 --enable-dialupman use dialup network classes
1738 --enable-dynlib use wxLibrary class
for DLL loading
1739 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1740 --enable-exceptions build exception
-safe library
1741 --enable-ffile use wxFFile class
1742 --enable-file use wxFile class
1743 --enable-filehistory use wxFileHistory class
1744 --enable-filesystem use virtual
file systems classes
1745 --enable-fontenum use wxFontEnumerator class
1746 --enable-fontmap use font encodings conversion classes
1747 --enable-fs_archive use virtual archive filesystems
1748 --enable-fs_inet use virtual HTTP
/FTP filesystems
1749 --enable-fs_zip now replaced by fs_archive
1750 --enable-fswatcher use wxFileSystemWatcher class
1751 --enable-geometry use geometry class
1752 --enable-log use logging system
1753 --enable-longlong use wxLongLong class
1754 --enable-mimetype use wxMimeTypesManager
1755 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1756 --enable-snglinst use wxSingleInstanceChecker class
1757 --enable-sound use wxSound class
1758 --enable-stdpaths use wxStandardPaths class
1759 --enable-stopwatch use wxStopWatch class
1760 --enable-streams use wxStream etc classes
1761 --enable-sysoptions use wxSystemOptions
1762 --enable-tarstream use wxTar streams
1763 --enable-textbuf use wxTextBuffer class
1764 --enable-textfile use wxTextFile class
1765 --enable-timer use wxTimer class
1766 --enable-variant use wxVariant class
1767 --enable-zipstream use wxZip streams
1768 --enable-url use wxURL class
1769 --enable-protocol use wxProtocol class
1770 --enable-protocol-http HTTP support
in wxProtocol
1771 --enable-protocol-ftp FTP support
in wxProtocol
1772 --enable-protocol-file FILE support
in wxProtocol
1773 --enable-threads use threads
1774 --enable-iniconf use wxIniConfig
(Win32 only
)
1775 --enable-regkey use wxRegKey class
(Win32 only
)
1776 --enable-docview use document view architecture
1777 --enable-help use
help subsystem
1778 --enable-mshtmlhelp use MS HTML Help
(win32
)
1779 --enable-html use wxHTML sub
-library
1780 --enable-htmlhelp use wxHTML
-based help
1781 --enable-xrc use XRC resources sub
-library
1782 --enable-aui use AUI docking library
1783 --enable-propgrid use wxPropertyGrid library
1784 --enable-ribbon use wxRibbon library
1785 --enable-stc use wxStyledTextCtrl library
1786 --enable-constraints use layout
-constraints system
1787 --enable-loggui use standard GUI logger
1788 --enable-logwin use wxLogWindow
1789 --enable-logdialog use wxLogDialog
1790 --enable-mdi use multiple document interface architecture
1791 --enable-mdidoc use docview architecture with MDI
1792 --enable-mediactrl use wxMediaCtrl class
1793 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1794 --enable-webkit use wxWebKitCtrl
(Mac
)
1795 --enable-richtext use wxRichTextCtrl
1796 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1797 --enable-printarch use printing architecture
1798 --enable-svg use wxSVGFileDC device context
1799 --enable-graphics_ctx use graphics context
2D drawing API
1800 --enable-clipboard use wxClipboard class
1801 --enable-dnd use Drag
'n'Drop classes
1802 --enable-metafile use win32 metafiles
1803 --disable-controls disable compilation of all standard controls
1804 --enable-accel use accelerators
1805 --enable-animatectrl use wxAnimationCtrl class
1806 --enable-bmpbutton use wxBitmapButton class
1807 --enable-bmpcombobox use wxBitmapComboBox class
1808 --enable-button use wxButton class
1809 --enable-calendar use wxCalendarCtrl class
1810 --enable-caret use wxCaret class
1811 --enable-checkbox use wxCheckBox class
1812 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1813 --enable-choice use wxChoice class
1814 --enable-choicebook use wxChoicebook class
1815 --enable-collpane use wxCollapsiblePane class
1816 --enable-colourpicker use wxColourPickerCtrl class
1817 --enable-combobox use wxComboBox class
1818 --enable-comboctrl use wxComboCtrl class
1819 --enable-dataviewctrl use wxDataViewCtrl class
1820 --enable-datepick use wxDatePickerCtrl class
1821 --enable-detect_sm use code to detect X11 session manager
1822 --enable-dirpicker use wxDirPickerCtrl class
1823 --enable-display use wxDisplay class
1824 --enable-editablebox use wxEditableListBox class
1825 --enable-filectrl use wxFileCtrl class
1826 --enable-filepicker use wxFilePickerCtrl class
1827 --enable-fontpicker use wxFontPickerCtrl class
1828 --enable-gauge use wxGauge class
1829 --enable-grid use wxGrid class
1830 --enable-headerctrl use wxHeaderCtrl class
1831 --enable-hyperlink use wxHyperlinkCtrl class
1832 --enable-imaglist use wxImageList class
1833 --enable-infobar use wxInfoBar class
1834 --enable-listbook use wxListbook class
1835 --enable-listbox use wxListBox class
1836 --enable-listctrl use wxListCtrl class
1837 --enable-notebook use wxNotebook class
1838 --enable-notifmsg use wxNotificationMessage class
1839 --enable-odcombobox use wxOwnerDrawnComboBox class
1840 --enable-popupwin use wxPopUpWindow class
1841 --enable-radiobox use wxRadioBox class
1842 --enable-radiobtn use wxRadioButton class
1843 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
1844 --enable-sash use wxSashWindow class
1845 --enable-scrollbar use wxScrollBar class and scrollable windows
1846 --enable-searchctrl use wxSearchCtrl class
1847 --enable-slider use wxSlider class
1848 --enable-spinbtn use wxSpinButton class
1849 --enable-spinctrl use wxSpinCtrl class
1850 --enable-splitter use wxSplitterWindow class
1851 --enable-statbmp use wxStaticBitmap class
1852 --enable-statbox use wxStaticBox class
1853 --enable-statline use wxStaticLine class
1854 --enable-stattext use wxStaticText class
1855 --enable-statusbar use wxStatusBar class
1856 --enable-taskbaricon use wxTaskBarIcon class
1857 --enable-tbarnative use native wxToolBar class
1858 --enable-textctrl use wxTextCtrl class
1859 --enable-tipwindow use wxTipWindow class
1860 --enable-togglebtn use wxToggleButton class
1861 --enable-toolbar use wxToolBar class
1862 --enable-toolbook use wxToolbook class
1863 --enable-treebook use wxTreebook class
1864 --enable-treectrl use wxTreeCtrl class
1865 --enable-commondlg use all common dialogs
1866 --enable-aboutdlg use wxAboutBox
1867 --enable-choicedlg use wxChoiceDialog
1868 --enable-coldlg use wxColourDialog
1869 --enable-filedlg use wxFileDialog
1870 --enable-finddlg use wxFindReplaceDialog
1871 --enable-fontdlg use wxFontDialog
1872 --enable-dirdlg use wxDirDialog
1873 --enable-msgdlg use wxMessageDialog
1874 --enable-numberdlg use wxNumberEntryDialog
1875 --enable-splash use wxSplashScreen
1876 --enable-textdlg use wxTextDialog
1877 --enable-tipdlg use startup tips
1878 --enable-progressdlg use wxProgressDialog
1879 --enable-wizarddlg use wxWizard
1880 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1881 --enable-miniframe use wxMiniFrame class
1882 --enable-tooltips use wxToolTip class
1883 --enable-splines use spline drawing code
1884 --enable-mousewheel use mousewheel
1885 --enable-validators use wxValidator and derived classes
1886 --enable-busyinfo use wxBusyInfo
1887 --enable-joystick use wxJoystick
1888 --enable-metafiles use wxMetaFile
(Win32 only
)
1889 --enable-dragimage use wxDragImage
1890 --enable-accessibility enable accessibility support
1891 --enable-uiactionsim use wxUIActionSimulator
(experimental
)
1892 --enable-palette use wxPalette class
1893 --enable-image use wxImage class
1894 --enable-gif use gif images
(GIF
file format
)
1895 --enable-pcx use pcx images
(PCX
file format
)
1896 --enable-tga use tga images
(TGA
file format
)
1897 --enable-iff use iff images
(IFF
file format
)
1898 --enable-pnm use pnm images
(PNM
file format
)
1899 --enable-xpm use xpm images
(XPM
file format
)
1900 --enable-ico_cur use Windows ICO and CUR formats
1901 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1902 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1903 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1904 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1905 --enable-wxdib use wxDIB class
(Win32 only
)
1906 --enable-autoidman use automatic ids management
1907 --disable-largefile omit support
for large files
1908 --disable-gtktest do not try to compile and run a
test GTK
+ program
1909 --disable-gtktest Do not try to compile and run a
test GTK program
1910 --disable-sdltest Do not try to compile and run a
test SDL program
1911 --enable-omf use OMF object format
(OS
/2)
1912 --disable-dependency-tracking
1913 don
't use dependency tracking even if the compiler
1915 --disable-precomp-headers
1916 don't use precompiled headers even
if compiler can
1919 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1920 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1921 --without-subdirs don
't generate makefiles for samples/demos/...
1922 --with-flavour=NAME specify a name to identify this build
1923 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1924 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1925 --with-motif use Motif/Lesstif
1926 --with-osx_carbon use Mac OS X (Carbon)
1927 --with-osx_cocoa use Mac OS X (Cocoa)
1928 --with-osx_iphone use iPhone OS X port
1929 --with-osx use Mac OS X (default port, currently Carbon)
1930 --with-carbon same as --with-osx_carbon
1931 --with-cocoa same as --with-osx_cocoa
1932 --with-iphone same as --with-osx_iphone
1933 --with-mac same as --with-osx
1934 --with-old_cocoa use old, deprecated, Cocoa port
1935 --with-wine use Wine
1936 --with-msw use MS-Windows
1937 --with-pm use OS/2 Presentation Manager
1938 --with-mgl use SciTech MGL
1939 --with-directfb use DirectFB
1940 --with-microwin use MicroWindows
1942 --with-libpng use libpng (PNG image format)
1943 --with-libjpeg use libjpeg (JPEG file format)
1944 --with-libtiff use libtiff (TIFF file format)
1945 --with-libxpm use libxpm (XPM file format)
1946 --with-libiconv use libiconv (character conversion)
1947 --with-libmspack use libmspack (CHM help files loading)
1948 --without-gtkprint don't use GTK printing support
1949 --without-gnomeprint don
't use GNOME printing libraries
1950 --with-gnomevfs use GNOME VFS for associating MIME types
1951 --with-hildon use Hildon framework for Nokia 770/800/810
1952 --with-opengl use OpenGL (or Mesa)
1953 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1954 --with-sdl use SDL for audio on Unix
1955 --with-regex enable support for wxRegEx class
1956 --with-zlib use zlib for LZW compression
1957 --with-expat enable XML support using expat parser
1958 --with-macosx-sdk=PATH use an OS X SDK at PATH
1959 --with-macosx-version-min=VER build binaries which require at least this OS X version
1960 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1961 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1962 --with-x use the X Window System
1963 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1964 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1965 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1966 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1967 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1969 Some influential environment variables:
1970 CC C compiler command
1971 CFLAGS C compiler flags
1972 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1973 nonstandard directory <lib dir>
1974 LIBS libraries to pass to the linker, e.g. -l<library>
1975 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1976 you have headers in a nonstandard directory <include dir>
1978 CXX C++ compiler command
1979 CXXFLAGS C++ compiler flags
1980 PKG_CONFIG path to pkg-config utility
1982 C compiler flags for DIRECTFB, overriding pkg-config
1984 linker flags for DIRECTFB, overriding pkg-config
1985 XMKMF Path to xmkmf, Makefile generator for X Window System
1987 C compiler flags for PANGOX, overriding pkg-config
1988 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1990 C compiler flags for PANGOFT2, overriding pkg-config
1992 linker flags for PANGOFT2, overriding pkg-config
1994 C compiler flags for PANGOXFT, overriding pkg-config
1996 linker flags for PANGOXFT, overriding pkg-config
1998 C compiler flags for GTKPRINT, overriding pkg-config
2000 linker flags for GTKPRINT, overriding pkg-config
2001 LIBGNOMEPRINTUI_CFLAGS
2002 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2003 LIBGNOMEPRINTUI_LIBS
2004 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2006 C compiler flags for GNOMEVFS, overriding pkg-config
2008 linker flags for GNOMEVFS, overriding pkg-config
2010 C compiler flags for HILDON, overriding pkg-config
2011 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2013 C compiler flags for HILDON2, overriding pkg-config
2015 linker flags for HILDON2, overriding pkg-config
2017 C compiler flags for CAIRO, overriding pkg-config
2018 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2019 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2020 GST_LIBS linker flags for GST, overriding pkg-config
2022 Use these variables to override the choices made by `configure' or to
help
2023 it to
find libraries and programs with nonstandard names
/locations.
2025 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2030 if test "$ac_init_help" = "recursive"; then
2031 # If there are subdirs, report their specific --help.
2032 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2033 test -d "$ac_dir" || continue
2037 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2039 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2040 # A ".." for each directory in $ac_dir_suffix.
2041 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2042 case $ac_top_builddir_sub in
2043 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2044 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2047 ac_abs_top_builddir
=$ac_pwd
2048 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2049 # for backward compatibility:
2050 ac_top_builddir
=$ac_top_build_prefix
2053 .
) # We are building in place.
2055 ac_top_srcdir
=$ac_top_builddir_sub
2056 ac_abs_top_srcdir
=$ac_pwd ;;
2057 [\\/]* | ?
:[\\/]* ) # Absolute name.
2058 ac_srcdir
=$srcdir$ac_dir_suffix;
2059 ac_top_srcdir
=$srcdir
2060 ac_abs_top_srcdir
=$srcdir ;;
2062 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2063 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2064 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2066 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2068 cd "$ac_dir" || { ac_status
=$?
; continue; }
2069 # Check for guested configure.
2070 if test -f "$ac_srcdir/configure.gnu"; then
2072 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2073 elif test -f "$ac_srcdir/configure"; then
2075 $SHELL "$ac_srcdir/configure" --help=recursive
2077 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2079 cd "$ac_pwd" || { ac_status
=$?
; break; }
2083 test -n "$ac_init_help" && exit $ac_status
2084 if $ac_init_version; then
2086 wxWidgets configure
2.9.1
2087 generated by GNU Autoconf
2.61
2089 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2090 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2091 This configure
script is free software
; the Free Software Foundation
2092 gives unlimited permission to copy
, distribute and modify it.
2096 cat >config.log
<<_ACEOF
2097 This file contains any messages produced by compilers while
2098 running configure, to aid debugging if configure makes a mistake.
2100 It was created by wxWidgets $as_me 2.9.1, which was
2101 generated by GNU Autoconf 2.61. Invocation command line was
2113 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2114 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2115 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2116 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2117 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2119 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2120 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2122 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2123 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2124 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2125 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2126 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2127 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2128 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2136 test -z "$as_dir" && as_dir
=.
2137 echo "PATH: $as_dir"
2153 # Keep a trace of the command line.
2154 # Strip out --no-create and --no-recursion so they do not pile up.
2155 # Strip out --silent because we don't want to record it for future runs.
2156 # Also quote any args containing shell meta-characters.
2157 # Make two passes to allow for proper duplicate-argument suppression.
2161 ac_must_keep_next
=false
2167 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2168 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2169 | -silent | --silent | --silen | --sile | --sil)
2172 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2175 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2177 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2178 if test $ac_must_keep_next = true
; then
2179 ac_must_keep_next
=false
# Got value, back to normal.
2182 *=* | --config-cache | -C | -disable-* | --disable-* \
2183 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2184 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2185 | -with-* | --with-* | -without-* | --without-* | --x)
2186 case "$ac_configure_args0 " in
2187 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2190 -* ) ac_must_keep_next
=true
;;
2193 ac_configure_args
="$ac_configure_args '$ac_arg'"
2198 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2199 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2201 # When interrupted or exit'd, cleanup temporary files, and complete
2202 # config.log. We remove comments because anyway the quotes in there
2203 # would cause problems or look ugly.
2204 # WARNING: Use '\'' to represent an apostrophe within the trap.
2205 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2206 trap 'exit_status=$?
2207 # Save into config.log some information that might help in debugging.
2212 ## ---------------- ##
2213 ## Cache variables. ##
2214 ## ---------------- ##
2217 # The following way of writing the cache mishandles newlines in values,
2219 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2220 eval ac_val=\$$ac_var
2224 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2225 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2228 _ | IFS | as_nl) ;; #(
2229 *) $as_unset $ac_var ;;
2234 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2235 *${as_nl}ac_space=\ *)
2237 "s/'\''/'\''\\\\'\'''\''/g;
2238 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2241 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2249 ## ----------------- ##
2250 ## Output variables. ##
2251 ## ----------------- ##
2254 for ac_var in $ac_subst_vars
2256 eval ac_val=\$$ac_var
2258 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2260 echo "$ac_var='\''$ac_val'\''"
2264 if test -n "$ac_subst_files"; then
2266 ## ------------------- ##
2267 ## File substitutions. ##
2268 ## ------------------- ##
2271 for ac_var
in $ac_subst_files
2273 eval ac_val
=\$
$ac_var
2275 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2277 echo "$ac_var='\''$ac_val'\''"
2282 if test -s confdefs.h; then
2292 test "$ac_signal" != 0 &&
2293 echo "$as_me: caught signal $ac_signal"
2294 echo "$as_me: exit $exit_status"
2296 rm -f core *.core core.conftest.* &&
2297 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2300 for ac_signal
in 1 2 13 15; do
2301 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2305 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2306 rm -f -r conftest
* confdefs.h
2308 # Predefined preprocessor variables.
2310 cat >>confdefs.h
<<_ACEOF
2311 #define PACKAGE_NAME "$PACKAGE_NAME"
2315 cat >>confdefs.h
<<_ACEOF
2316 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2320 cat >>confdefs.h
<<_ACEOF
2321 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2325 cat >>confdefs.h
<<_ACEOF
2326 #define PACKAGE_STRING "$PACKAGE_STRING"
2330 cat >>confdefs.h
<<_ACEOF
2331 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2335 # Let the site file select an alternate cache file if it wants to.
2336 # Prefer explicitly selected file to automatically selected ones.
2337 if test -n "$CONFIG_SITE"; then
2338 set x
"$CONFIG_SITE"
2339 elif test "x$prefix" != xNONE
; then
2340 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2342 set x
"$ac_default_prefix/share/config.site" \
2343 "$ac_default_prefix/etc/config.site"
2348 if test -r "$ac_site_file"; then
2349 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2350 echo "$as_me: loading site script $ac_site_file" >&6;}
2351 sed 's/^/| /' "$ac_site_file" >&5
2356 if test -r "$cache_file"; then
2357 # Some versions of bash will fail to source /dev/null (special
2358 # files actually), so we avoid doing that.
2359 if test -f "$cache_file"; then
2360 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2361 echo "$as_me: loading cache $cache_file" >&6;}
2363 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2364 *) .
"./$cache_file";;
2368 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2369 echo "$as_me: creating cache $cache_file" >&6;}
2373 # Check that the precious variables saved in the cache have kept the same
2375 ac_cache_corrupted
=false
2376 for ac_var
in $ac_precious_vars; do
2377 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2378 eval ac_new_set
=\
$ac_env_${ac_var}_set
2379 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2380 eval ac_new_val
=\
$ac_env_${ac_var}_value
2381 case $ac_old_set,$ac_new_set in
2383 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2384 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2385 ac_cache_corrupted
=: ;;
2387 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2388 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2389 ac_cache_corrupted
=: ;;
2392 if test "x$ac_old_val" != "x$ac_new_val"; then
2393 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2394 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2395 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2396 echo "$as_me: former value: $ac_old_val" >&2;}
2397 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2398 echo "$as_me: current value: $ac_new_val" >&2;}
2399 ac_cache_corrupted
=:
2402 # Pass precious variables to config.status.
2403 if test "$ac_new_set" = set; then
2405 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2406 *) ac_arg
=$ac_var=$ac_new_val ;;
2408 case " $ac_configure_args " in
2409 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2410 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2414 if $ac_cache_corrupted; then
2415 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2416 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2417 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2418 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2419 { (exit 1); exit 1; }; }
2447 ac_cpp
='$CPP $CPPFLAGS'
2448 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2449 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2450 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2457 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2458 if test -f "$ac_dir/install-sh"; then
2460 ac_install_sh
="$ac_aux_dir/install-sh -c"
2462 elif test -f "$ac_dir/install.sh"; then
2464 ac_install_sh
="$ac_aux_dir/install.sh -c"
2466 elif test -f "$ac_dir/shtool"; then
2468 ac_install_sh
="$ac_aux_dir/shtool install -c"
2472 if test -z "$ac_aux_dir"; then
2473 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2474 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2475 { (exit 1); exit 1; }; }
2478 # These three variables are undocumented and unsupported,
2479 # and are intended to be withdrawn in a future Autoconf release.
2480 # They can cause serious problems if a builder's source tree is in a directory
2481 # whose full name contains unusual characters.
2482 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2483 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2484 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2487 # Make sure we can run config.sub.
2488 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2489 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2490 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2491 { (exit 1); exit 1; }; }
2493 { echo "$as_me:$LINENO: checking build system type" >&5
2494 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2495 if test "${ac_cv_build+set}" = set; then
2496 echo $ECHO_N "(cached) $ECHO_C" >&6
2498 ac_build_alias
=$build_alias
2499 test "x$ac_build_alias" = x
&&
2500 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2501 test "x$ac_build_alias" = x
&&
2502 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2503 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2504 { (exit 1); exit 1; }; }
2505 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2506 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2507 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2508 { (exit 1); exit 1; }; }
2511 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2512 echo "${ECHO_T}$ac_cv_build" >&6; }
2513 case $ac_cv_build in
2515 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2516 echo "$as_me: error: invalid value of canonical build" >&2;}
2517 { (exit 1); exit 1; }; };;
2520 ac_save_IFS
=$IFS; IFS
='-'
2526 # Remember, the first character of IFS is used to create $*,
2527 # except with old shells:
2530 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2533 { echo "$as_me:$LINENO: checking host system type" >&5
2534 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2535 if test "${ac_cv_host+set}" = set; then
2536 echo $ECHO_N "(cached) $ECHO_C" >&6
2538 if test "x$host_alias" = x
; then
2539 ac_cv_host
=$ac_cv_build
2541 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2542 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2543 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2544 { (exit 1); exit 1; }; }
2548 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2549 echo "${ECHO_T}$ac_cv_host" >&6; }
2552 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2553 echo "$as_me: error: invalid value of canonical host" >&2;}
2554 { (exit 1); exit 1; }; };;
2557 ac_save_IFS
=$IFS; IFS
='-'
2563 # Remember, the first character of IFS is used to create $*,
2564 # except with old shells:
2567 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2571 if test "$cross_compiling" != "no"; then
2572 HOST_PREFIX
="${host_alias}-"
2573 HOST_SUFFIX
="-$host_alias"
2580 wx_major_version_number
=2
2581 wx_minor_version_number
=9
2583 wx_subrelease_number
=0
2585 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2586 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2587 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2589 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2592 wx_top_builddir
="`pwd`"
2605 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2611 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2617 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2619 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2621 DEFAULT_wxUSE_OLD_COCOA
=0
2623 DEFAULT_wxUSE_OSX_CARBON
=0
2624 DEFAULT_wxUSE_OSX_COCOA
=0
2625 DEFAULT_wxUSE_OSX_IPHONE
=0
2627 DEFAULT_wxUSE_MICROWIN
=0
2628 DEFAULT_wxUSE_MOTIF
=0
2634 DEFAULT_DEFAULT_wxUSE_OLD_COCOA
=0
2635 DEFAULT_DEFAULT_wxUSE_GTK
=0
2636 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2637 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2638 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=0
2639 DEFAULT_DEFAULT_wxUSE_MGL
=0
2640 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2641 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2642 DEFAULT_DEFAULT_wxUSE_MSW
=0
2643 DEFAULT_DEFAULT_wxUSE_PM
=0
2644 DEFAULT_DEFAULT_wxUSE_X11
=0
2645 DEFAULT_DEFAULT_wxUSE_DFB
=0
2649 DYLIB_RPATH_INSTALL
=
2650 DYLIB_RPATH_POSTLINK
=
2652 DEFAULT_STD_FLAG
=yes
2657 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2658 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2659 cat >>confdefs.h
<<\_ACEOF
2664 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2668 cat >>confdefs.h
<<\_ACEOF
2673 if test "x$TMP" = "xalpha"; then
2675 cat >>confdefs.h
<<\_ACEOF
2680 DEFAULT_DEFAULT_wxUSE_GTK
=1
2682 *-*-gnu* | *-*-k*bsd
*-gnu )
2685 if test "x$TMP" = "xalpha"; then
2687 cat >>confdefs.h
<<\_ACEOF
2692 DEFAULT_DEFAULT_wxUSE_GTK
=1
2694 *-*-irix5* | *-*-irix6* )
2697 cat >>confdefs.h
<<\_ACEOF
2701 cat >>confdefs.h
<<\_ACEOF
2705 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2709 cat >>confdefs.h
<<\_ACEOF
2713 DEFAULT_DEFAULT_wxUSE_X11
=1
2719 cat >>confdefs.h
<<\_ACEOF
2723 cat >>confdefs.h
<<\_ACEOF
2724 #define __SOLARIS__ 1
2727 cat >>confdefs.h
<<\_ACEOF
2731 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2732 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2738 cat >>confdefs.h
<<\_ACEOF
2742 cat >>confdefs.h
<<\_ACEOF
2746 cat >>confdefs.h
<<\_ACEOF
2750 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2755 cat >>confdefs.h
<<\_ACEOF
2756 #define __FREEBSD__ 1
2759 cat >>confdefs.h
<<\_ACEOF
2763 DEFAULT_DEFAULT_wxUSE_GTK
=1
2765 *-*-openbsd*|*-*-mirbsd*)
2768 cat >>confdefs.h
<<\_ACEOF
2769 #define __OPENBSD__ 1
2772 cat >>confdefs.h
<<\_ACEOF
2776 DEFAULT_DEFAULT_wxUSE_GTK
=1
2781 cat >>confdefs.h
<<\_ACEOF
2782 #define __NETBSD__ 1
2785 cat >>confdefs.h
<<\_ACEOF
2789 DEFAULT_DEFAULT_wxUSE_GTK
=1
2790 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2792 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2797 cat >>confdefs.h
<<\_ACEOF
2801 cat >>confdefs.h
<<\_ACEOF
2805 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2806 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2811 cat >>confdefs.h
<<\_ACEOF
2815 cat >>confdefs.h
<<\_ACEOF
2819 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2824 cat >>confdefs.h
<<\_ACEOF
2828 cat >>confdefs.h
<<\_ACEOF
2832 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2838 cat >>confdefs.h
<<\_ACEOF
2842 cat >>confdefs.h
<<\_ACEOF
2846 cat >>confdefs.h
<<\_ACEOF
2850 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2857 cat >>confdefs.h
<<\_ACEOF
2858 #define __UNIXWARE__ 1
2863 *-*-cygwin* | *-*-mingw32* )
2865 DEFAULT_DEFAULT_wxUSE_MSW
=1
2871 cat >>confdefs.h
<<\_ACEOF
2876 DEFAULT_DEFAULT_wxUSE_MGL
=1
2879 *-pc-os2_emx | *-pc-os2-emx )
2880 cat >>confdefs.h
<<\_ACEOF
2885 cat >>confdefs.h
<<\_ACEOF
2890 DEFAULT_DEFAULT_wxUSE_PM
=1
2892 LDFLAGS
="$LDFLAGS -Zcrtdll"
2893 ac_executable_extensions
=".exe"
2894 export ac_executable_extensions
2898 for ac_dir
in $PATH; do
2900 if test -z "$ac_TEMP_PATH"; then
2901 ac_TEMP_PATH
="$ac_dir"
2903 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2906 export PATH
="$ac_TEMP_PATH"
2914 cat >>confdefs.h
<<\_ACEOF
2918 cat >>confdefs.h
<<\_ACEOF
2919 #define __DARWIN__ 1
2922 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=1
2928 cat >>confdefs.h
<<\_ACEOF
2932 cat >>confdefs.h
<<\_ACEOF
2933 #define __DARWIN__ 1
2936 cat >>confdefs.h
<<\_ACEOF
2937 #define TARGET_CARBON 1
2940 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2945 cat >>confdefs.h
<<\_ACEOF
2952 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2953 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2954 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2955 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2957 DEFAULT_DEFAULT_wxUSE_X11
=1
2958 DEFAULT_wxUSE_SHARED
=no
2963 DEFAULT_wxUSE_ALL_FEATURES
=yes
2965 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2966 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2968 DEFAULT_wxUSE_DMALLOC
=no
2969 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2970 DEFAULT_wxUSE_LIBHILDON
=no
2971 DEFAULT_wxUSE_LIBHILDON2
=no
2972 DEFAULT_wxUSE_LIBMSPACK
=no
2973 DEFAULT_wxUSE_LIBSDL
=no
2975 DEFAULT_wxUSE_ACCESSIBILITY
=no
2976 DEFAULT_wxUSE_IPV6
=no
2977 DEFAULT_wxUSE_GSTREAMER8
=no
2978 DEFAULT_wxUSE_UIACTIONSIMULATOR
=no
2980 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2981 DEFAULT_wxUSE_OPENGL
=auto
2982 DEFAULT_wxUSE_MEDIACTRL
=auto
2983 DEFAULT_wxUSE_COMPILER_TLS
=auto
2985 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2987 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2989 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2991 DEFAULT_wxUSE_GTK2
=yes
2993 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2999 enablestring
=disable
3001 if test -z "$defaultval"; then
3002 if test x
"$enablestring" = xdisable
; then
3009 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3010 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3011 # Check whether --enable-gui was given.
3012 if test "${enable_gui+set}" = set; then
3013 enableval
=$enable_gui;
3014 if test "$enableval" = yes; then
3015 wx_cv_use_gui
='wxUSE_GUI=yes'
3017 wx_cv_use_gui
='wxUSE_GUI=no'
3022 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3027 eval "$wx_cv_use_gui"
3029 if test x"$enablestring" = xdisable; then
3030 if test $wxUSE_GUI = no; then
3039 { echo "$as_me:$LINENO: result: $result" >&5
3040 echo "${ECHO_T}$result" >&6; }
3045 if test -z "$defaultval"; then
3046 if test x"$enablestring" = xdisable; then
3053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3054 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3055 # Check whether --enable-monolithic was given.
3056 if test "${enable_monolithic+set}" = set; then
3057 enableval=$enable_monolithic;
3058 if test "$enableval" = yes; then
3059 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3061 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3066 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3071 eval "$wx_cv_use_monolithic"
3073 if test x"$enablestring" = xdisable; then
3074 if test $wxUSE_MONOLITHIC = no; then
3080 result=$wxUSE_MONOLITHIC
3083 { echo "$as_me:$LINENO: result
: $result" >&5
3084 echo "${ECHO_T}$result" >&6; }
3089 if test -z "$defaultval"; then
3090 if test x"$enablestring" = xdisable; then
3097 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3098 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3099 # Check whether --enable-plugins was given.
3100 if test "${enable_plugins+set}" = set; then
3101 enableval=$enable_plugins;
3102 if test "$enableval" = yes; then
3103 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3105 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3110 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3115 eval "$wx_cv_use_plugins"
3117 if test x
"$enablestring" = xdisable
; then
3118 if test $wxUSE_PLUGINS = no
; then
3124 result
=$wxUSE_PLUGINS
3127 { echo "$as_me:$LINENO: result: $result" >&5
3128 echo "${ECHO_T}$result" >&6; }
3132 defaultval
=$wxUSE_ALL_FEATURES
3133 if test -z "$defaultval"; then
3134 if test x
"$withstring" = xwithout
; then
3140 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3141 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3143 # Check whether --with-subdirs was given.
3144 if test "${with_subdirs+set}" = set; then
3145 withval
=$with_subdirs;
3146 if test "$withval" = yes; then
3147 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3149 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3154 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3159 eval "$wx_cv_use_subdirs"
3161 if test x"$withstring" = xwithout; then
3162 if test $wxWITH_SUBDIRS = yes; then
3168 result=$wxWITH_SUBDIRS
3171 { echo "$as_me:$LINENO: result: $result" >&5
3172 echo "${ECHO_T}$result" >&6; }
3175 # Check whether --with-flavour was given.
3176 if test "${with_flavour+set}" = set; then
3177 withval=$with_flavour; WX_FLAVOUR="$withval"
3183 if test -z "$defaultval"; then
3184 if test x"$enablestring" = xdisable; then
3191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3192 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3193 # Check whether --enable-official_build was given.
3194 if test "${enable_official_build+set}" = set; then
3195 enableval=$enable_official_build;
3196 if test "$enableval" = yes; then
3197 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3199 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3204 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3209 eval "$wx_cv_use_official_build"
3211 if test x"$enablestring" = xdisable; then
3212 if test $wxUSE_OFFICIAL_BUILD = no; then
3218 result=$wxUSE_OFFICIAL_BUILD
3221 { echo "$as_me:$LINENO: result
: $result" >&5
3222 echo "${ECHO_T}$result" >&6; }
3224 # Check whether --enable-vendor was given.
3225 if test "${enable_vendor+set}" = set; then
3226 enableval=$enable_vendor; VENDOR="$enableval"
3229 if test "x
$VENDOR" = "x
"; then
3234 enablestring=disable
3236 if test -z "$defaultval"; then
3237 if test x"$enablestring" = xdisable; then
3244 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3245 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3246 # Check whether --enable-all-features was given.
3247 if test "${enable_all_features+set}" = set; then
3248 enableval=$enable_all_features;
3249 if test "$enableval" = yes; then
3250 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3252 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3257 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3262 eval "$wx_cv_use_all_features"
3264 if test x
"$enablestring" = xdisable
; then
3265 if test $wxUSE_ALL_FEATURES = no
; then
3271 result
=$wxUSE_ALL_FEATURES
3274 { echo "$as_me:$LINENO: result: $result" >&5
3275 echo "${ECHO_T}$result" >&6; }
3278 if test "$wxUSE_ALL_FEATURES" = "no"; then
3279 DEFAULT_wxUSE_MEDIACTRL
=no
3283 if test "$wxUSE_GUI" = "yes"; then
3288 if test -z "$defaultval"; then
3289 if test x
"$enablestring" = xdisable
; then
3296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3297 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3298 # Check whether --enable-universal was given.
3299 if test "${enable_universal+set}" = set; then
3300 enableval
=$enable_universal;
3301 if test "$enableval" = yes; then
3302 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3304 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3309 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3314 eval "$wx_cv_use_universal"
3316 if test x"$enablestring" = xdisable; then
3317 if test $wxUSE_UNIVERSAL = no; then
3323 result=$wxUSE_UNIVERSAL
3326 { echo "$as_me:$LINENO: result: $result" >&5
3327 echo "${ECHO_T}$result" >&6; }
3329 if test "$wxUSE_UNIVERSAL" = "yes"; then
3331 # Check whether --with-themes was given.
3332 if test "${with_themes+set}" = set; then
3333 withval=$with_themes; wxUNIV_THEMES="$withval"
3339 # Check whether --with-gtk was given.
3340 if test "${with_gtk+set}" = set; then
3341 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3345 # Check whether --with-motif was given.
3346 if test "${with_motif+set}" = set; then
3347 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3351 # Check whether --with-osx_carbon was given.
3352 if test "${with_osx_carbon+set}" = set; then
3353 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3357 # Check whether --with-osx_cocoa was given.
3358 if test "${with_osx_cocoa+set}" = set; then
3359 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3363 # Check whether --with-osx_iphone was given.
3364 if test "${with_osx_iphone+set}" = set; then
3365 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3369 # Check whether --with-osx was given.
3370 if test "${with_osx+set}" = set; then
3371 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3375 # Check whether --with-carbon was given.
3376 if test "${with_carbon+set}" = set; then
3377 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3381 # Check whether --with-cocoa was given.
3382 if test "${with_cocoa+set}" = set; then
3383 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3387 # Check whether --with-iphone was given.
3388 if test "${with_iphone+set}" = set; then
3389 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3393 # Check whether --with-mac was given.
3394 if test "${with_mac+set}" = set; then
3395 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3399 # Check whether --with-old_cocoa was given.
3400 if test "${with_old_cocoa+set}" = set; then
3401 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3405 # Check whether --with-wine was given.
3406 if test "${with_wine+set}" = set; then
3407 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3411 # Check whether --with-msw was given.
3412 if test "${with_msw+set}" = set; then
3413 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3417 # Check whether --with-pm was given.
3418 if test "${with_pm+set}" = set; then
3419 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3423 # Check whether --with-mgl was given.
3424 if test "${with_mgl+set}" = set; then
3425 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3429 # Check whether --with-directfb was given.
3430 if test "${with_directfb+set}" = set; then
3431 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3435 # Check whether --with-microwin was given.
3436 if test "${with_microwin+set}" = set; then
3437 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3441 # Check whether --with-x11 was given.
3442 if test "${with_x11+set}" = set; then
3443 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3449 if test -z "$defaultval"; then
3450 if test x"$enablestring" = xdisable; then
3457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3458 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3459 # Check whether --enable-nanox was given.
3460 if test "${enable_nanox+set}" = set; then
3461 enableval=$enable_nanox;
3462 if test "$enableval" = yes; then
3463 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3465 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3470 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3475 eval "$wx_cv_use_nanox"
3477 if test x"$enablestring" = xdisable; then
3478 if test $wxUSE_NANOX = no; then
3487 { echo "$as_me:$LINENO: result
: $result" >&5
3488 echo "${ECHO_T}$result" >&6; }
3491 # Check whether --enable-gtk2 was given.
3492 if test "${enable_gtk2+set}" = set; then
3493 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3499 if test -z "$defaultval"; then
3500 if test x"$enablestring" = xdisable; then
3507 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3508 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3509 # Check whether --enable-gpe was given.
3510 if test "${enable_gpe+set}" = set; then
3511 enableval=$enable_gpe;
3512 if test "$enableval" = yes; then
3513 wx_cv_use_gpe='wxUSE_GPE=yes'
3515 wx_cv_use_gpe='wxUSE_GPE=no'
3520 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3525 eval "$wx_cv_use_gpe"
3527 if test x
"$enablestring" = xdisable
; then
3528 if test $wxUSE_GPE = no
; then
3537 { echo "$as_me:$LINENO: result: $result" >&5
3538 echo "${ECHO_T}$result" >&6; }
3542 { echo "$as_me:$LINENO: checking for toolkit" >&5
3543 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3547 # In Wine, we need to default to MSW, not GTK or MOTIF
3548 if test "$wxUSE_WINE" = "yes"; then
3549 DEFAULT_DEFAULT_wxUSE_GTK
=0
3550 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3551 DEFAULT_DEFAULT_wxUSE_MSW
=1
3558 if test "$wxUSE_GUI" = "yes"; then
3560 if test "$USE_BEOS" = 1; then
3561 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3562 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3563 { (exit 1); exit 1; }; }
3566 if test "$TOOLKIT_GIVEN" = 1; then
3567 for toolkit
in $ALL_TOOLKITS; do
3569 eval "value=\$${var}"
3570 if test "x$value" = "xno"; then
3572 elif test "x$value" != "x"; then
3576 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3577 eval "wx${toolkit}_VERSION=$value"
3581 for toolkit
in $ALL_TOOLKITS; do
3582 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3583 eval "wxUSE_$toolkit=\$${var}"
3587 NUM_TOOLKITS
=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3588 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3589 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3592 *-pc-os2_emx | *-pc-os2-emx )
3593 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3596 case "$NUM_TOOLKITS" in
3600 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3601 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3602 { (exit 1); exit 1; }; }
3605 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3606 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3607 { (exit 1); exit 1; }; }
3610 # to be removed when --disable-gtk2 isn't needed
3611 if test "x$wxUSE_GTK2" = "xyes"; then
3614 elif test "x$wxUSE_GTK2" = "xno"; then
3619 for toolkit
in $ALL_TOOLKITS; do
3621 eval "value=\$${var}"
3622 if test "$value" = 1; then
3623 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3624 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3625 echo "${ECHO_T}$toolkit_echo" >&6; }
3629 if test "x$host_alias" != "x"; then
3630 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3631 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3633 { echo "$as_me:$LINENO: result: base only" >&5
3634 echo "${ECHO_T}base only" >&6; }
3639 if test "$wxUSE_OSX_CARBON" = 1 \
3640 -o "$wxUSE_OSX_COCOA" = 1 \
3641 -o "$wxUSE_OSX_IPHONE" = 1; then
3647 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3648 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3650 # Check whether --with-libpng was given.
3651 if test "${with_libpng+set}" = set; then
3652 withval
=$with_libpng;
3653 if test "$withval" = yes; then
3654 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3655 elif test "$withval" = no
; then
3656 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3657 elif test "$withval" = sys
; then
3658 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3659 elif test "$withval" = builtin; then
3660 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3662 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3663 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3664 { (exit 1); exit 1; }; }
3669 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3674 eval "$wx_cv_use_libpng"
3676 if test "$wxUSE_LIBPNG" = yes; then
3677 { echo "$as_me:$LINENO: result: yes" >&5
3678 echo "${ECHO_T}yes" >&6; }
3679 elif test "$wxUSE_LIBPNG" = no; then
3680 { echo "$as_me:$LINENO: result: no" >&5
3681 echo "${ECHO_T}no" >&6; }
3682 elif test "$wxUSE_LIBPNG" = sys; then
3683 { echo "$as_me:$LINENO: result: system version" >&5
3684 echo "${ECHO_T}system version" >&6; }
3685 elif test "$wxUSE_LIBPNG" = builtin; then
3686 { echo "$as_me:$LINENO: result: builtin version" >&5
3687 echo "${ECHO_T}builtin version" >&6; }
3689 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3690 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3691 { (exit 1); exit 1; }; }
3695 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3696 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3698 # Check whether --with-libjpeg was given.
3699 if test "${with_libjpeg+set}" = set; then
3700 withval=$with_libjpeg;
3701 if test "$withval" = yes; then
3702 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3703 elif test "$withval" = no; then
3704 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3705 elif test "$withval" = sys; then
3706 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3707 elif test "$withval" = builtin; then
3708 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3710 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3711 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3712 { (exit 1); exit 1; }; }
3717 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3722 eval "$wx_cv_use_libjpeg"
3724 if test "$wxUSE_LIBJPEG" = yes; then
3725 { echo "$as_me:$LINENO: result
: yes" >&5
3726 echo "${ECHO_T}yes" >&6; }
3727 elif test "$wxUSE_LIBJPEG" = no; then
3728 { echo "$as_me:$LINENO: result
: no
" >&5
3729 echo "${ECHO_T}no
" >&6; }
3730 elif test "$wxUSE_LIBJPEG" = sys; then
3731 { echo "$as_me:$LINENO: result
: system version
" >&5
3732 echo "${ECHO_T}system version
" >&6; }
3733 elif test "$wxUSE_LIBJPEG" = builtin; then
3734 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3735 echo "${ECHO_T}builtin version
" >&6; }
3737 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3738 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3739 { (exit 1); exit 1; }; }
3743 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3744 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3746 # Check whether --with-libtiff was given.
3747 if test "${with_libtiff+set}" = set; then
3748 withval=$with_libtiff;
3749 if test "$withval" = yes; then
3750 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3751 elif test "$withval" = no; then
3752 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3753 elif test "$withval" = sys; then
3754 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3755 elif test "$withval" = builtin; then
3756 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3758 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3759 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3760 { (exit 1); exit 1; }; }
3765 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3770 eval "$wx_cv_use_libtiff"
3772 if test "$wxUSE_LIBTIFF" = yes; then
3773 { echo "$as_me:$LINENO: result: yes" >&5
3774 echo "${ECHO_T}yes" >&6; }
3775 elif test "$wxUSE_LIBTIFF" = no
; then
3776 { echo "$as_me:$LINENO: result: no" >&5
3777 echo "${ECHO_T}no" >&6; }
3778 elif test "$wxUSE_LIBTIFF" = sys
; then
3779 { echo "$as_me:$LINENO: result: system version" >&5
3780 echo "${ECHO_T}system version" >&6; }
3781 elif test "$wxUSE_LIBTIFF" = builtin; then
3782 { echo "$as_me:$LINENO: result: builtin version" >&5
3783 echo "${ECHO_T}builtin version" >&6; }
3785 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3786 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3787 { (exit 1); exit 1; }; }
3791 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3792 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3794 # Check whether --with-libxpm was given.
3795 if test "${with_libxpm+set}" = set; then
3796 withval
=$with_libxpm;
3797 if test "$withval" = yes; then
3798 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3799 elif test "$withval" = no
; then
3800 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3801 elif test "$withval" = sys
; then
3802 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3803 elif test "$withval" = builtin; then
3804 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3806 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3807 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3808 { (exit 1); exit 1; }; }
3813 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3818 eval "$wx_cv_use_libxpm"
3820 if test "$wxUSE_LIBXPM" = yes; then
3821 { echo "$as_me:$LINENO: result: yes" >&5
3822 echo "${ECHO_T}yes" >&6; }
3823 elif test "$wxUSE_LIBXPM" = no; then
3824 { echo "$as_me:$LINENO: result: no" >&5
3825 echo "${ECHO_T}no" >&6; }
3826 elif test "$wxUSE_LIBXPM" = sys; then
3827 { echo "$as_me:$LINENO: result: system version" >&5
3828 echo "${ECHO_T}system version" >&6; }
3829 elif test "$wxUSE_LIBXPM" = builtin; then
3830 { echo "$as_me:$LINENO: result: builtin version" >&5
3831 echo "${ECHO_T}builtin version" >&6; }
3833 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3834 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3835 { (exit 1); exit 1; }; }
3840 defaultval=$wxUSE_ALL_FEATURES
3841 if test -z "$defaultval"; then
3842 if test x"$withstring" = xwithout; then
3848 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3849 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3851 # Check whether --with-libiconv was given.
3852 if test "${with_libiconv+set}" = set; then
3853 withval=$with_libiconv;
3854 if test "$withval" = yes; then
3855 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3857 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3862 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3867 eval "$wx_cv_use_libiconv"
3869 if test x"$withstring" = xwithout; then
3870 if test $wxUSE_LIBICONV = yes; then
3876 result=$wxUSE_LIBICONV
3879 { echo "$as_me:$LINENO: result
: $result" >&5
3880 echo "${ECHO_T}$result" >&6; }
3884 defaultval=$wxUSE_ALL_FEATURES
3885 if test -z "$defaultval"; then
3886 if test x"$withstring" = xwithout; then
3892 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3893 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3895 # Check whether --with-libmspack was given.
3896 if test "${with_libmspack+set}" = set; then
3897 withval=$with_libmspack;
3898 if test "$withval" = yes; then
3899 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3901 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3906 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3911 eval "$wx_cv_use_libmspack"
3913 if test x
"$withstring" = xwithout
; then
3914 if test $wxUSE_LIBMSPACK = yes; then
3920 result
=$wxUSE_LIBMSPACK
3923 { echo "$as_me:$LINENO: result: $result" >&5
3924 echo "${ECHO_T}$result" >&6; }
3928 defaultval
=$wxUSE_ALL_FEATURES
3929 if test -z "$defaultval"; then
3930 if test x
"$withstring" = xwithout
; then
3936 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3937 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3939 # Check whether --with-gtkprint was given.
3940 if test "${with_gtkprint+set}" = set; then
3941 withval
=$with_gtkprint;
3942 if test "$withval" = yes; then
3943 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3945 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3950 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3955 eval "$wx_cv_use_gtkprint"
3957 if test x"$withstring" = xwithout; then
3958 if test $wxUSE_GTKPRINT = yes; then
3964 result=$wxUSE_GTKPRINT
3967 { echo "$as_me:$LINENO: result: $result" >&5
3968 echo "${ECHO_T}$result" >&6; }
3972 defaultval=$wxUSE_ALL_FEATURES
3973 if test -z "$defaultval"; then
3974 if test x"$withstring" = xwithout; then
3980 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3981 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3983 # Check whether --with-gnomeprint was given.
3984 if test "${with_gnomeprint+set}" = set; then
3985 withval=$with_gnomeprint;
3986 if test "$withval" = yes; then
3987 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3989 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3994 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3999 eval "$wx_cv_use_gnomeprint"
4001 if test x"$withstring" = xwithout; then
4002 if test $wxUSE_LIBGNOMEPRINT = yes; then
4008 result=$wxUSE_LIBGNOMEPRINT
4011 { echo "$as_me:$LINENO: result
: $result" >&5
4012 echo "${ECHO_T}$result" >&6; }
4016 defaultval=$wxUSE_ALL_FEATURES
4017 if test -z "$defaultval"; then
4018 if test x"$withstring" = xwithout; then
4024 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
4025 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
4027 # Check whether --with-gnomevfs was given.
4028 if test "${with_gnomevfs+set}" = set; then
4029 withval=$with_gnomevfs;
4030 if test "$withval" = yes; then
4031 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4033 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4038 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4043 eval "$wx_cv_use_gnomevfs"
4045 if test x
"$withstring" = xwithout
; then
4046 if test $wxUSE_LIBGNOMEVFS = yes; then
4052 result
=$wxUSE_LIBGNOMEVFS
4055 { echo "$as_me:$LINENO: result: $result" >&5
4056 echo "${ECHO_T}$result" >&6; }
4060 defaultval
=$wxUSE_ALL_FEATURES
4061 if test -z "$defaultval"; then
4062 if test x
"$withstring" = xwithout
; then
4068 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4069 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4071 # Check whether --with-hildon was given.
4072 if test "${with_hildon+set}" = set; then
4073 withval
=$with_hildon;
4074 if test "$withval" = yes; then
4075 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
4077 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
4082 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4087 eval "$wx_cv_use_hildon"
4089 if test x"$withstring" = xwithout; then
4090 if test $wxUSE_LIBHILDON = yes; then
4096 result=$wxUSE_LIBHILDON
4099 { echo "$as_me:$LINENO: result: $result" >&5
4100 echo "${ECHO_T}$result" >&6; }
4104 defaultval=$wxUSE_ALL_FEATURES
4105 if test -z "$defaultval"; then
4106 if test x"$withstring" = xwithout; then
4112 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4113 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4115 # Check whether --with-opengl was given.
4116 if test "${with_opengl+set}" = set; then
4117 withval=$with_opengl;
4118 if test "$withval" = yes; then
4119 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4121 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4126 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4131 eval "$wx_cv_use_opengl"
4133 if test x"$withstring" = xwithout; then
4134 if test $wxUSE_OPENGL = yes; then
4140 result=$wxUSE_OPENGL
4143 { echo "$as_me:$LINENO: result
: $result" >&5
4144 echo "${ECHO_T}$result" >&6; }
4151 defaultval=$wxUSE_ALL_FEATURES
4152 if test -z "$defaultval"; then
4153 if test x"$withstring" = xwithout; then
4159 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4160 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4162 # Check whether --with-dmalloc was given.
4163 if test "${with_dmalloc+set}" = set; then
4164 withval=$with_dmalloc;
4165 if test "$withval" = yes; then
4166 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4168 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4173 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4178 eval "$wx_cv_use_dmalloc"
4180 if test x
"$withstring" = xwithout
; then
4181 if test $wxUSE_DMALLOC = yes; then
4187 result
=$wxUSE_DMALLOC
4190 { echo "$as_me:$LINENO: result: $result" >&5
4191 echo "${ECHO_T}$result" >&6; }
4195 defaultval
=$wxUSE_ALL_FEATURES
4196 if test -z "$defaultval"; then
4197 if test x
"$withstring" = xwithout
; then
4203 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4204 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4206 # Check whether --with-sdl was given.
4207 if test "${with_sdl+set}" = set; then
4209 if test "$withval" = yes; then
4210 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4212 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4217 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4222 eval "$wx_cv_use_sdl"
4224 if test x"$withstring" = xwithout; then
4225 if test $wxUSE_LIBSDL = yes; then
4231 result=$wxUSE_LIBSDL
4234 { echo "$as_me:$LINENO: result: $result" >&5
4235 echo "${ECHO_T}$result" >&6; }
4238 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4239 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4241 # Check whether --with-regex was given.
4242 if test "${with_regex+set}" = set; then
4243 withval=$with_regex;
4244 if test "$withval" = yes; then
4245 wx_cv_use_regex='wxUSE_REGEX
=yes'
4246 elif test "$withval" = no; then
4247 wx_cv_use_regex='wxUSE_REGEX
=no
'
4248 elif test "$withval" = sys; then
4249 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4250 elif test "$withval" = builtin; then
4251 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4253 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4254 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4255 { (exit 1); exit 1; }; }
4260 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4265 eval "$wx_cv_use_regex"
4267 if test "$wxUSE_REGEX" = yes; then
4268 { echo "$as_me:$LINENO: result
: yes" >&5
4269 echo "${ECHO_T}yes" >&6; }
4270 elif test "$wxUSE_REGEX" = no; then
4271 { echo "$as_me:$LINENO: result
: no
" >&5
4272 echo "${ECHO_T}no
" >&6; }
4273 elif test "$wxUSE_REGEX" = sys; then
4274 { echo "$as_me:$LINENO: result
: system version
" >&5
4275 echo "${ECHO_T}system version
" >&6; }
4276 elif test "$wxUSE_REGEX" = builtin; then
4277 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4278 echo "${ECHO_T}builtin version
" >&6; }
4280 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4281 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4282 { (exit 1); exit 1; }; }
4286 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4287 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4289 # Check whether --with-zlib was given.
4290 if test "${with_zlib+set}" = set; then
4292 if test "$withval" = yes; then
4293 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4294 elif test "$withval" = no; then
4295 wx_cv_use_zlib='wxUSE_ZLIB=no'
4296 elif test "$withval" = sys; then
4297 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4298 elif test "$withval" = builtin; then
4299 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4301 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4302 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4303 { (exit 1); exit 1; }; }
4308 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4313 eval "$wx_cv_use_zlib"
4315 if test "$wxUSE_ZLIB" = yes; then
4316 { echo "$as_me:$LINENO: result: yes" >&5
4317 echo "${ECHO_T}yes" >&6; }
4318 elif test "$wxUSE_ZLIB" = no
; then
4319 { echo "$as_me:$LINENO: result: no" >&5
4320 echo "${ECHO_T}no" >&6; }
4321 elif test "$wxUSE_ZLIB" = sys
; then
4322 { echo "$as_me:$LINENO: result: system version" >&5
4323 echo "${ECHO_T}system version" >&6; }
4324 elif test "$wxUSE_ZLIB" = builtin; then
4325 { echo "$as_me:$LINENO: result: builtin version" >&5
4326 echo "${ECHO_T}builtin version" >&6; }
4328 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4329 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4330 { (exit 1); exit 1; }; }
4334 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4335 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4337 # Check whether --with-expat was given.
4338 if test "${with_expat+set}" = set; then
4339 withval
=$with_expat;
4340 if test "$withval" = yes; then
4341 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4342 elif test "$withval" = no
; then
4343 wx_cv_use_expat
='wxUSE_EXPAT=no'
4344 elif test "$withval" = sys
; then
4345 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4346 elif test "$withval" = builtin; then
4347 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4349 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4350 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4351 { (exit 1); exit 1; }; }
4356 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4361 eval "$wx_cv_use_expat"
4363 if test "$wxUSE_EXPAT" = yes; then
4364 { echo "$as_me:$LINENO: result: yes" >&5
4365 echo "${ECHO_T}yes" >&6; }
4366 elif test "$wxUSE_EXPAT" = no; then
4367 { echo "$as_me:$LINENO: result: no" >&5
4368 echo "${ECHO_T}no" >&6; }
4369 elif test "$wxUSE_EXPAT" = sys; then
4370 { echo "$as_me:$LINENO: result: system version" >&5
4371 echo "${ECHO_T}system version" >&6; }
4372 elif test "$wxUSE_EXPAT" = builtin; then
4373 { echo "$as_me:$LINENO: result: builtin version" >&5
4374 echo "${ECHO_T}builtin version" >&6; }
4376 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4377 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4378 { (exit 1); exit 1; }; }
4382 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4383 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4385 # Check whether --with-macosx-sdk was given.
4386 if test "${with_macosx_sdk+set}" = set; then
4387 withval=$with_macosx_sdk;
4388 wxUSE_MACOSX_SDK=$withval
4389 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4393 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4394 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4396 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4397 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4399 # Check whether --with-macosx-version-min was given.
4400 if test "${with_macosx_version_min+set}" = set; then
4401 withval=$with_macosx_version_min;
4402 wxUSE_MACOSX_VERSION_MIN=$withval
4403 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4407 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4408 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4411 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4412 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4413 # Check whether --enable-debug was given.
4414 if test "${enable_debug+set}" = set; then
4415 enableval=$enable_debug;
4416 if test "$enableval" = yes; then
4418 elif test "$enableval" = no; then
4420 elif test "$enableval" = max; then
4422 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4424 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4425 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4426 { (exit 1); exit 1; }; }
4435 case "$wxUSE_DEBUG" in
4437 DEFAULT_wxUSE_DEBUG_FLAG=yes
4438 DEFAULT_wxUSE_DEBUG_INFO=yes
4440 DEFAULT_wxUSE_OPTIMISE=no
4444 DEFAULT_wxUSE_DEBUG_FLAG=no
4445 DEFAULT_wxUSE_DEBUG_INFO=no
4449 DEFAULT_wxUSE_DEBUG_FLAG=yes
4450 DEFAULT_wxUSE_DEBUG_INFO=no
4455 enablestring=disable
4457 if test -z "$defaultval"; then
4458 if test x"$enablestring" = xdisable; then
4465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4466 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4467 # Check whether --enable-debug_flag was given.
4468 if test "${enable_debug_flag+set}" = set; then
4469 enableval=$enable_debug_flag;
4470 if test "$enableval" = yes; then
4471 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
4473 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
4478 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4483 eval "$wx_cv_use_debug_flag"
4485 if test x"$enablestring" = xdisable; then
4486 if test $wxUSE_DEBUG_FLAG = no; then
4492 result=$wxUSE_DEBUG_FLAG
4495 { echo "$as_me:$LINENO: result
: $result" >&5
4496 echo "${ECHO_T}$result" >&6; }
4501 if test -z "$defaultval"; then
4502 if test x"$enablestring" = xdisable; then
4509 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_info" >&5
4510 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_info...
$ECHO_C" >&6; }
4511 # Check whether --enable-debug_info was given.
4512 if test "${enable_debug_info+set}" = set; then
4513 enableval=$enable_debug_info;
4514 if test "$enableval" = yes; then
4515 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4517 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4522 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4527 eval "$wx_cv_use_debug_info"
4529 if test x
"$enablestring" = xdisable
; then
4530 if test $wxUSE_DEBUG_INFO = no
; then
4536 result
=$wxUSE_DEBUG_INFO
4539 { echo "$as_me:$LINENO: result: $result" >&5
4540 echo "${ECHO_T}$result" >&6; }
4547 if test -z "$defaultval"; then
4548 if test x
"$enablestring" = xdisable
; then
4555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4556 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4557 # Check whether --enable-debug_gdb was given.
4558 if test "${enable_debug_gdb+set}" = set; then
4559 enableval
=$enable_debug_gdb;
4560 if test "$enableval" = yes; then
4561 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4563 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4568 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4573 eval "$wx_cv_use_debug_gdb"
4575 if test x"$enablestring" = xdisable; then
4576 if test $wxUSE_DEBUG_GDB = no; then
4582 result=$wxUSE_DEBUG_GDB
4585 { echo "$as_me:$LINENO: result: $result" >&5
4586 echo "${ECHO_T}$result" >&6; }
4591 if test -z "$defaultval"; then
4592 if test x"$enablestring" = xdisable; then
4599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4600 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4601 # Check whether --enable-debug_cntxt was given.
4602 if test "${enable_debug_cntxt+set}" = set; then
4603 enableval=$enable_debug_cntxt;
4604 if test "$enableval" = yes; then
4605 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
4607 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
4612 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4617 eval "$wx_cv_use_debug_cntxt"
4619 if test x"$enablestring" = xdisable; then
4620 if test $wxUSE_DEBUG_CONTEXT = no; then
4626 result=$wxUSE_DEBUG_CONTEXT
4629 { echo "$as_me:$LINENO: result
: $result" >&5
4630 echo "${ECHO_T}$result" >&6; }
4635 if test -z "$defaultval"; then
4636 if test x"$enablestring" = xdisable; then
4643 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mem_tracing" >&5
4644 echo $ECHO_N "checking
for --${enablestring:-enable}-mem_tracing...
$ECHO_C" >&6; }
4645 # Check whether --enable-mem_tracing was given.
4646 if test "${enable_mem_tracing+set}" = set; then
4647 enableval=$enable_mem_tracing;
4648 if test "$enableval" = yes; then
4649 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4651 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4656 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4661 eval "$wx_cv_use_mem_tracing"
4663 if test x
"$enablestring" = xdisable
; then
4664 if test $wxUSE_MEM_TRACING = no
; then
4670 result
=$wxUSE_MEM_TRACING
4673 { echo "$as_me:$LINENO: result: $result" >&5
4674 echo "${ECHO_T}$result" >&6; }
4679 enablestring
=disable
4681 if test -z "$defaultval"; then
4682 if test x
"$enablestring" = xdisable
; then
4689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4690 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4691 # Check whether --enable-shared was given.
4692 if test "${enable_shared+set}" = set; then
4693 enableval
=$enable_shared;
4694 if test "$enableval" = yes; then
4695 wx_cv_use_shared
='wxUSE_SHARED=yes'
4697 wx_cv_use_shared
='wxUSE_SHARED=no'
4702 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4707 eval "$wx_cv_use_shared"
4709 if test x"$enablestring" = xdisable; then
4710 if test $wxUSE_SHARED = no; then
4716 result=$wxUSE_SHARED
4719 { echo "$as_me:$LINENO: result: $result" >&5
4720 echo "${ECHO_T}$result" >&6; }
4725 if test -z "$defaultval"; then
4726 if test x"$enablestring" = xdisable; then
4733 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4734 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4735 # Check whether --enable-stl was given.
4736 if test "${enable_stl+set}" = set; then
4737 enableval=$enable_stl;
4738 if test "$enableval" = yes; then
4739 wx_cv_use_stl='wxUSE_STL
=yes'
4741 wx_cv_use_stl='wxUSE_STL
=no
'
4746 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
4751 eval "$wx_cv_use_stl"
4753 if test x"$enablestring" = xdisable; then
4754 if test $wxUSE_STL = no; then
4763 { echo "$as_me:$LINENO: result
: $result" >&5
4764 echo "${ECHO_T}$result" >&6; }
4769 if test -z "$defaultval"; then
4770 if test x"$enablestring" = xdisable; then
4777 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_iostreams" >&5
4778 echo $ECHO_N "checking
for --${enablestring:-enable}-std_iostreams...
$ECHO_C" >&6; }
4779 # Check whether --enable-std_iostreams was given.
4780 if test "${enable_std_iostreams+set}" = set; then
4781 enableval=$enable_std_iostreams;
4782 if test "$enableval" = yes; then
4783 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4785 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4790 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4795 eval "$wx_cv_use_std_iostreams"
4797 if test x
"$enablestring" = xdisable
; then
4798 if test $wxUSE_STD_IOSTREAM = no
; then
4804 result
=$wxUSE_STD_IOSTREAM
4807 { echo "$as_me:$LINENO: result: $result" >&5
4808 echo "${ECHO_T}$result" >&6; }
4813 if test -z "$defaultval"; then
4814 if test x
"$enablestring" = xdisable
; then
4821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4822 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4823 # Check whether --enable-std_string was given.
4824 if test "${enable_std_string+set}" = set; then
4825 enableval
=$enable_std_string;
4826 if test "$enableval" = yes; then
4827 wx_cv_use_std_string
='wxUSE_STD_STRING=yes'
4829 wx_cv_use_std_string
='wxUSE_STD_STRING=no'
4834 wx_cv_use_std_string
='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4839 eval "$wx_cv_use_std_string"
4841 if test x"$enablestring" = xdisable; then
4842 if test $wxUSE_STD_STRING = no; then
4848 result=$wxUSE_STD_STRING
4851 { echo "$as_me:$LINENO: result: $result" >&5
4852 echo "${ECHO_T}$result" >&6; }
4855 enablestring=disable
4857 if test -z "$defaultval"; then
4858 if test x"$enablestring" = xdisable; then
4865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4866 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4867 # Check whether --enable-unicode was given.
4868 if test "${enable_unicode+set}" = set; then
4869 enableval=$enable_unicode;
4870 if test "$enableval" = yes; then
4871 wx_cv_use_unicode='wxUSE_UNICODE
=yes'
4873 wx_cv_use_unicode='wxUSE_UNICODE
=no
'
4878 wx_cv_use_unicode='wxUSE_UNICODE
=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4883 eval "$wx_cv_use_unicode"
4885 if test x"$enablestring" = xdisable; then
4886 if test $wxUSE_UNICODE = no; then
4892 result=$wxUSE_UNICODE
4895 { echo "$as_me:$LINENO: result
: $result" >&5
4896 echo "${ECHO_T}$result" >&6; }
4901 if test -z "$defaultval"; then
4902 if test x"$enablestring" = xdisable; then
4909 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mslu" >&5
4910 echo $ECHO_N "checking
for --${enablestring:-enable}-mslu...
$ECHO_C" >&6; }
4911 # Check whether --enable-mslu was given.
4912 if test "${enable_mslu+set}" = set; then
4913 enableval=$enable_mslu;
4914 if test "$enableval" = yes; then
4915 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4917 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4922 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4927 eval "$wx_cv_use_mslu"
4929 if test x
"$enablestring" = xdisable
; then
4930 if test $wxUSE_UNICODE_MSLU = no
; then
4936 result
=$wxUSE_UNICODE_MSLU
4939 { echo "$as_me:$LINENO: result: $result" >&5
4940 echo "${ECHO_T}$result" >&6; }
4944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4945 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4946 # Check whether --enable-utf8 was given.
4947 if test "${enable_utf8+set}" = set; then
4948 enableval
=$enable_utf8;
4949 wx_cv_use_utf8
="wxUSE_UNICODE_UTF8='$enableval'"
4953 wx_cv_use_utf8
='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4958 eval "$wx_cv_use_utf8"
4960 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4961 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4966 if test -z "$defaultval"; then
4967 if test x
"$enablestring" = xdisable
; then
4974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4975 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4976 # Check whether --enable-utf8only was given.
4977 if test "${enable_utf8only+set}" = set; then
4978 enableval
=$enable_utf8only;
4979 if test "$enableval" = yes; then
4980 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=yes'
4982 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=no'
4987 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4992 eval "$wx_cv_use_utf8only"
4994 if test x"$enablestring" = xdisable; then
4995 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5001 result=$wxUSE_UNICODE_UTF8_LOCALE
5004 { echo "$as_me:$LINENO: result: $result" >&5
5005 echo "${ECHO_T}$result" >&6; }
5010 if test -z "$defaultval"; then
5011 if test x"$enablestring" = xdisable; then
5018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5019 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5020 # Check whether --enable-extended_rtti was given.
5021 if test "${enable_extended_rtti+set}" = set; then
5022 enableval=$enable_extended_rtti;
5023 if test "$enableval" = yes; then
5024 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=yes'
5026 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=no
'
5031 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5036 eval "$wx_cv_use_extended_rtti"
5038 if test x"$enablestring" = xdisable; then
5039 if test $wxUSE_EXTENDED_RTTI = no; then
5045 result=$wxUSE_EXTENDED_RTTI
5048 { echo "$as_me:$LINENO: result
: $result" >&5
5049 echo "${ECHO_T}$result" >&6; }
5051 if test "$USE_OS2" = 1; then
5052 DEFAULT_wxUSE_OMF=no
5056 if test -z "$defaultval"; then
5057 if test x"$enablestring" = xdisable; then
5064 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-omf" >&5
5065 echo $ECHO_N "checking
for --${enablestring:-enable}-omf...
$ECHO_C" >&6; }
5066 # Check whether --enable-omf was given.
5067 if test "${enable_omf+set}" = set; then
5068 enableval=$enable_omf;
5069 if test "$enableval" = yes; then
5070 wx_cv_use_omf='wxUSE_OMF=yes'
5072 wx_cv_use_omf='wxUSE_OMF=no'
5077 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5082 eval "$wx_cv_use_omf"
5084 if test x
"$enablestring" = xdisable
; then
5085 if test $wxUSE_OMF = no
; then
5094 { echo "$as_me:$LINENO: result: $result" >&5
5095 echo "${ECHO_T}$result" >&6; }
5100 enablestring
=disable
5102 if test -z "$defaultval"; then
5103 if test x
"$enablestring" = xdisable
; then
5110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5111 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5112 # Check whether --enable-optimise was given.
5113 if test "${enable_optimise+set}" = set; then
5114 enableval
=$enable_optimise;
5115 if test "$enableval" = yes; then
5116 wx_cv_use_optimise
='wxUSE_OPTIMISE=yes'
5118 wx_cv_use_optimise
='wxUSE_OPTIMISE=no'
5123 wx_cv_use_optimise
='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5128 eval "$wx_cv_use_optimise"
5130 if test x"$enablestring" = xdisable; then
5131 if test $wxUSE_OPTIMISE = no; then
5137 result=$wxUSE_OPTIMISE
5140 { echo "$as_me:$LINENO: result: $result" >&5
5141 echo "${ECHO_T}$result" >&6; }
5147 if test -z "$defaultval"; then
5148 if test x"$enablestring" = xdisable; then
5155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5156 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5157 # Check whether --enable-profile was given.
5158 if test "${enable_profile+set}" = set; then
5159 enableval=$enable_profile;
5160 if test "$enableval" = yes; then
5161 wx_cv_use_profile='wxUSE_PROFILE
=yes'
5163 wx_cv_use_profile='wxUSE_PROFILE
=no
'
5168 wx_cv_use_profile='wxUSE_PROFILE
=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5173 eval "$wx_cv_use_profile"
5175 if test x"$enablestring" = xdisable; then
5176 if test $wxUSE_PROFILE = no; then
5182 result=$wxUSE_PROFILE
5185 { echo "$as_me:$LINENO: result
: $result" >&5
5186 echo "${ECHO_T}$result" >&6; }
5191 if test -z "$defaultval"; then
5192 if test x"$enablestring" = xdisable; then
5199 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_rtti" >&5
5200 echo $ECHO_N "checking
for --${enablestring:-enable}-no_rtti...
$ECHO_C" >&6; }
5201 # Check whether --enable-no_rtti was given.
5202 if test "${enable_no_rtti+set}" = set; then
5203 enableval=$enable_no_rtti;
5204 if test "$enableval" = yes; then
5205 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5207 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5212 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5217 eval "$wx_cv_use_no_rtti"
5219 if test x
"$enablestring" = xdisable
; then
5220 if test $wxUSE_NO_RTTI = no
; then
5226 result
=$wxUSE_NO_RTTI
5229 { echo "$as_me:$LINENO: result: $result" >&5
5230 echo "${ECHO_T}$result" >&6; }
5235 if test -z "$defaultval"; then
5236 if test x
"$enablestring" = xdisable
; then
5243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5244 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5245 # Check whether --enable-no_exceptions was given.
5246 if test "${enable_no_exceptions+set}" = set; then
5247 enableval
=$enable_no_exceptions;
5248 if test "$enableval" = yes; then
5249 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
5251 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
5256 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5261 eval "$wx_cv_use_no_exceptions"
5263 if test x"$enablestring" = xdisable; then
5264 if test $wxUSE_NO_EXCEPTIONS = no; then
5270 result=$wxUSE_NO_EXCEPTIONS
5273 { echo "$as_me:$LINENO: result: $result" >&5
5274 echo "${ECHO_T}$result" >&6; }
5279 if test -z "$defaultval"; then
5280 if test x"$enablestring" = xdisable; then
5287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5288 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5289 # Check whether --enable-permissive was given.
5290 if test "${enable_permissive+set}" = set; then
5291 enableval=$enable_permissive;
5292 if test "$enableval" = yes; then
5293 wx_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
5295 wx_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
5300 wx_cv_use_permissive='wxUSE_PERMISSIVE
=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5305 eval "$wx_cv_use_permissive"
5307 if test x"$enablestring" = xdisable; then
5308 if test $wxUSE_PERMISSIVE = no; then
5314 result=$wxUSE_PERMISSIVE
5317 { echo "$as_me:$LINENO: result
: $result" >&5
5318 echo "${ECHO_T}$result" >&6; }
5323 if test -z "$defaultval"; then
5324 if test x"$enablestring" = xdisable; then
5331 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_deps" >&5
5332 echo $ECHO_N "checking
for --${enablestring:-enable}-no_deps...
$ECHO_C" >&6; }
5333 # Check whether --enable-no_deps was given.
5334 if test "${enable_no_deps+set}" = set; then
5335 enableval=$enable_no_deps;
5336 if test "$enableval" = yes; then
5337 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5339 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5344 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5349 eval "$wx_cv_use_no_deps"
5351 if test x
"$enablestring" = xdisable
; then
5352 if test $wxUSE_NO_DEPS = no
; then
5358 result
=$wxUSE_NO_DEPS
5361 { echo "$as_me:$LINENO: result: $result" >&5
5362 echo "${ECHO_T}$result" >&6; }
5365 enablestring
=disable
5367 if test -z "$defaultval"; then
5368 if test x
"$enablestring" = xdisable
; then
5375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5376 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5377 # Check whether --enable-vararg_macros was given.
5378 if test "${enable_vararg_macros+set}" = set; then
5379 enableval
=$enable_vararg_macros;
5380 if test "$enableval" = yes; then
5381 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=yes'
5383 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=no'
5388 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5393 eval "$wx_cv_use_vararg_macros"
5395 if test x"$enablestring" = xdisable; then
5396 if test $wxUSE_VARARG_MACROS = no; then
5402 result=$wxUSE_VARARG_MACROS
5405 { echo "$as_me:$LINENO: result: $result" >&5
5406 echo "${ECHO_T}$result" >&6; }
5410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5411 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5412 # Check whether --enable-universal_binary was given.
5413 if test "${enable_universal_binary+set}" = set; then
5414 enableval=$enable_universal_binary;
5415 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5419 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5424 eval "$wx_cv_use_universal_binary"
5426 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5427 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5433 if test -z "$defaultval"; then
5434 if test x"$enablestring" = xdisable; then
5441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5442 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5443 # Check whether --enable-compat26 was given.
5444 if test "${enable_compat26+set}" = set; then
5445 enableval=$enable_compat26;
5446 if test "$enableval" = yes; then
5447 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
5449 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
5454 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5459 eval "$wx_cv_use_compat26"
5461 if test x"$enablestring" = xdisable; then
5462 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5468 result=$WXWIN_COMPATIBILITY_2_6
5471 { echo "$as_me:$LINENO: result
: $result" >&5
5472 echo "${ECHO_T}$result" >&6; }
5475 enablestring=disable
5477 if test -z "$defaultval"; then
5478 if test x"$enablestring" = xdisable; then
5485 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat28" >&5
5486 echo $ECHO_N "checking
for --${enablestring:-enable}-compat28...
$ECHO_C" >&6; }
5487 # Check whether --enable-compat28 was given.
5488 if test "${enable_compat28+set}" = set; then
5489 enableval=$enable_compat28;
5490 if test "$enableval" = yes; then
5491 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5493 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5498 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5503 eval "$wx_cv_use_compat28"
5505 if test x
"$enablestring" = xdisable
; then
5506 if test $WXWIN_COMPATIBILITY_2_8 = no
; then
5512 result
=$WXWIN_COMPATIBILITY_2_8
5515 { echo "$as_me:$LINENO: result: $result" >&5
5516 echo "${ECHO_T}$result" >&6; }
5520 enablestring
=disable
5522 if test -z "$defaultval"; then
5523 if test x
"$enablestring" = xdisable
; then
5530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5531 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5532 # Check whether --enable-rpath was given.
5533 if test "${enable_rpath+set}" = set; then
5534 enableval
=$enable_rpath;
5535 if test "$enableval" = yes; then
5536 wx_cv_use_rpath
='wxUSE_RPATH=yes'
5538 wx_cv_use_rpath
='wxUSE_RPATH=no'
5543 wx_cv_use_rpath
='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5548 eval "$wx_cv_use_rpath"
5550 if test x"$enablestring" = xdisable; then
5551 if test $wxUSE_RPATH = no; then
5560 { echo "$as_me:$LINENO: result: $result" >&5
5561 echo "${ECHO_T}$result" >&6; }
5567 if test -z "$defaultval"; then
5568 if test x"$enablestring" = xdisable; then
5575 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5576 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5577 # Check whether --enable-objc_uniquifying was given.
5578 if test "${enable_objc_uniquifying+set}" = set; then
5579 enableval=$enable_objc_uniquifying;
5580 if test "$enableval" = yes; then
5581 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=yes'
5583 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=no
'
5588 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5593 eval "$wx_cv_use_objc_uniquifying"
5595 if test x"$enablestring" = xdisable; then
5596 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5602 result=$wxUSE_OBJC_UNIQUIFYING
5605 { echo "$as_me:$LINENO: result
: $result" >&5
5606 echo "${ECHO_T}$result" >&6; }
5610 enablestring=disable
5612 if test -z "$defaultval"; then
5613 if test x"$enablestring" = xdisable; then
5620 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-visibility" >&5
5621 echo $ECHO_N "checking
for --${enablestring:-enable}-visibility...
$ECHO_C" >&6; }
5622 # Check whether --enable-visibility was given.
5623 if test "${enable_visibility+set}" = set; then
5624 enableval=$enable_visibility;
5625 if test "$enableval" = yes; then
5626 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5628 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5633 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5638 eval "$wx_cv_use_visibility"
5640 if test x
"$enablestring" = xdisable
; then
5641 if test $wxUSE_VISIBILITY = no
; then
5647 result
=$wxUSE_VISIBILITY
5650 { echo "$as_me:$LINENO: result: $result" >&5
5651 echo "${ECHO_T}$result" >&6; }
5654 enablestring
=disable
5656 if test -z "$defaultval"; then
5657 if test x
"$enablestring" = xdisable
; then
5664 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5665 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5666 # Check whether --enable-tls was given.
5667 if test "${enable_tls+set}" = set; then
5668 enableval
=$enable_tls;
5669 if test "$enableval" = yes; then
5670 wx_cv_use_tls
='wxUSE_COMPILER_TLS=yes'
5672 wx_cv_use_tls
='wxUSE_COMPILER_TLS=no'
5677 wx_cv_use_tls
='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5682 eval "$wx_cv_use_tls"
5684 if test x"$enablestring" = xdisable; then
5685 if test $wxUSE_COMPILER_TLS = no; then
5691 result=$wxUSE_COMPILER_TLS
5694 { echo "$as_me:$LINENO: result: $result" >&5
5695 echo "${ECHO_T}$result" >&6; }
5701 defaultval=$wxUSE_ALL_FEATURES
5702 if test -z "$defaultval"; then
5703 if test x"$enablestring" = xdisable; then
5710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5711 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5712 # Check whether --enable-intl was given.
5713 if test "${enable_intl+set}" = set; then
5714 enableval=$enable_intl;
5715 if test "$enableval" = yes; then
5716 wx_cv_use_intl='wxUSE_INTL
=yes'
5718 wx_cv_use_intl='wxUSE_INTL
=no
'
5723 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5728 eval "$wx_cv_use_intl"
5730 if test x"$enablestring" = xdisable; then
5731 if test $wxUSE_INTL = no; then
5740 { echo "$as_me:$LINENO: result
: $result" >&5
5741 echo "${ECHO_T}$result" >&6; }
5745 defaultval=$wxUSE_ALL_FEATURES
5746 if test -z "$defaultval"; then
5747 if test x"$enablestring" = xdisable; then
5754 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xlocale" >&5
5755 echo $ECHO_N "checking
for --${enablestring:-enable}-xlocale...
$ECHO_C" >&6; }
5756 # Check whether --enable-xlocale was given.
5757 if test "${enable_xlocale+set}" = set; then
5758 enableval=$enable_xlocale;
5759 if test "$enableval" = yes; then
5760 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5762 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5767 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5772 eval "$wx_cv_use_xlocale"
5774 if test x
"$enablestring" = xdisable
; then
5775 if test $wxUSE_XLOCALE = no
; then
5781 result
=$wxUSE_XLOCALE
5784 { echo "$as_me:$LINENO: result: $result" >&5
5785 echo "${ECHO_T}$result" >&6; }
5789 defaultval
=$wxUSE_ALL_FEATURES
5790 if test -z "$defaultval"; then
5791 if test x
"$enablestring" = xdisable
; then
5798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5799 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5800 # Check whether --enable-config was given.
5801 if test "${enable_config+set}" = set; then
5802 enableval
=$enable_config;
5803 if test "$enableval" = yes; then
5804 wx_cv_use_config
='wxUSE_CONFIG=yes'
5806 wx_cv_use_config
='wxUSE_CONFIG=no'
5811 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5816 eval "$wx_cv_use_config"
5818 if test x"$enablestring" = xdisable; then
5819 if test $wxUSE_CONFIG = no; then
5825 result=$wxUSE_CONFIG
5828 { echo "$as_me:$LINENO: result: $result" >&5
5829 echo "${ECHO_T}$result" >&6; }
5834 defaultval=$wxUSE_ALL_FEATURES
5835 if test -z "$defaultval"; then
5836 if test x"$enablestring" = xdisable; then
5843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5844 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5845 # Check whether --enable-protocols was given.
5846 if test "${enable_protocols+set}" = set; then
5847 enableval=$enable_protocols;
5848 if test "$enableval" = yes; then
5849 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
5851 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
5856 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5861 eval "$wx_cv_use_protocols"
5863 if test x"$enablestring" = xdisable; then
5864 if test $wxUSE_PROTOCOL = no; then
5870 result=$wxUSE_PROTOCOL
5873 { echo "$as_me:$LINENO: result
: $result" >&5
5874 echo "${ECHO_T}$result" >&6; }
5878 defaultval=$wxUSE_ALL_FEATURES
5879 if test -z "$defaultval"; then
5880 if test x"$enablestring" = xdisable; then
5887 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ftp" >&5
5888 echo $ECHO_N "checking
for --${enablestring:-enable}-ftp...
$ECHO_C" >&6; }
5889 # Check whether --enable-ftp was given.
5890 if test "${enable_ftp+set}" = set; then
5891 enableval=$enable_ftp;
5892 if test "$enableval" = yes; then
5893 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5895 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5900 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5905 eval "$wx_cv_use_ftp"
5907 if test x
"$enablestring" = xdisable
; then
5908 if test $wxUSE_PROTOCOL_FTP = no
; then
5914 result
=$wxUSE_PROTOCOL_FTP
5917 { echo "$as_me:$LINENO: result: $result" >&5
5918 echo "${ECHO_T}$result" >&6; }
5922 defaultval
=$wxUSE_ALL_FEATURES
5923 if test -z "$defaultval"; then
5924 if test x
"$enablestring" = xdisable
; then
5931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5932 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5933 # Check whether --enable-http was given.
5934 if test "${enable_http+set}" = set; then
5935 enableval
=$enable_http;
5936 if test "$enableval" = yes; then
5937 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
5939 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
5944 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5949 eval "$wx_cv_use_http"
5951 if test x"$enablestring" = xdisable; then
5952 if test $wxUSE_PROTOCOL_HTTP = no; then
5958 result=$wxUSE_PROTOCOL_HTTP
5961 { echo "$as_me:$LINENO: result: $result" >&5
5962 echo "${ECHO_T}$result" >&6; }
5966 defaultval=$wxUSE_ALL_FEATURES
5967 if test -z "$defaultval"; then
5968 if test x"$enablestring" = xdisable; then
5975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5976 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5977 # Check whether --enable-fileproto was given.
5978 if test "${enable_fileproto+set}" = set; then
5979 enableval=$enable_fileproto;
5980 if test "$enableval" = yes; then
5981 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
5983 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
5988 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5993 eval "$wx_cv_use_fileproto"
5995 if test x"$enablestring" = xdisable; then
5996 if test $wxUSE_PROTOCOL_FILE = no; then
6002 result=$wxUSE_PROTOCOL_FILE
6005 { echo "$as_me:$LINENO: result
: $result" >&5
6006 echo "${ECHO_T}$result" >&6; }
6010 defaultval=$wxUSE_ALL_FEATURES
6011 if test -z "$defaultval"; then
6012 if test x"$enablestring" = xdisable; then
6019 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sockets" >&5
6020 echo $ECHO_N "checking
for --${enablestring:-enable}-sockets...
$ECHO_C" >&6; }
6021 # Check whether --enable-sockets was given.
6022 if test "${enable_sockets+set}" = set; then
6023 enableval=$enable_sockets;
6024 if test "$enableval" = yes; then
6025 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6027 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6032 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6037 eval "$wx_cv_use_sockets"
6039 if test x
"$enablestring" = xdisable
; then
6040 if test $wxUSE_SOCKETS = no
; then
6046 result
=$wxUSE_SOCKETS
6049 { echo "$as_me:$LINENO: result: $result" >&5
6050 echo "${ECHO_T}$result" >&6; }
6054 defaultval
=$wxUSE_ALL_FEATURES
6055 if test -z "$defaultval"; then
6056 if test x
"$enablestring" = xdisable
; then
6063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6064 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6065 # Check whether --enable-ipv6 was given.
6066 if test "${enable_ipv6+set}" = set; then
6067 enableval
=$enable_ipv6;
6068 if test "$enableval" = yes; then
6069 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
6071 wx_cv_use_ipv6
='wxUSE_IPV6=no'
6076 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6081 eval "$wx_cv_use_ipv6"
6083 if test x"$enablestring" = xdisable; then
6084 if test $wxUSE_IPV6 = no; then
6093 { echo "$as_me:$LINENO: result: $result" >&5
6094 echo "${ECHO_T}$result" >&6; }
6098 defaultval=$wxUSE_ALL_FEATURES
6099 if test -z "$defaultval"; then
6100 if test x"$enablestring" = xdisable; then
6107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6108 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6109 # Check whether --enable-ole was given.
6110 if test "${enable_ole+set}" = set; then
6111 enableval=$enable_ole;
6112 if test "$enableval" = yes; then
6113 wx_cv_use_ole='wxUSE_OLE
=yes'
6115 wx_cv_use_ole='wxUSE_OLE
=no
'
6120 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6125 eval "$wx_cv_use_ole"
6127 if test x"$enablestring" = xdisable; then
6128 if test $wxUSE_OLE = no; then
6137 { echo "$as_me:$LINENO: result
: $result" >&5
6138 echo "${ECHO_T}$result" >&6; }
6142 defaultval=$wxUSE_ALL_FEATURES
6143 if test -z "$defaultval"; then
6144 if test x"$enablestring" = xdisable; then
6151 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6152 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6153 # Check whether --enable-dataobj was given.
6154 if test "${enable_dataobj+set}" = set; then
6155 enableval=$enable_dataobj;
6156 if test "$enableval" = yes; then
6157 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6159 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6164 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6169 eval "$wx_cv_use_dataobj"
6171 if test x
"$enablestring" = xdisable
; then
6172 if test $wxUSE_DATAOBJ = no
; then
6178 result
=$wxUSE_DATAOBJ
6181 { echo "$as_me:$LINENO: result: $result" >&5
6182 echo "${ECHO_T}$result" >&6; }
6187 defaultval
=$wxUSE_ALL_FEATURES
6188 if test -z "$defaultval"; then
6189 if test x
"$enablestring" = xdisable
; then
6196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6197 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6198 # Check whether --enable-ipc was given.
6199 if test "${enable_ipc+set}" = set; then
6200 enableval
=$enable_ipc;
6201 if test "$enableval" = yes; then
6202 wx_cv_use_ipc
='wxUSE_IPC=yes'
6204 wx_cv_use_ipc
='wxUSE_IPC=no'
6209 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6214 eval "$wx_cv_use_ipc"
6216 if test x"$enablestring" = xdisable; then
6217 if test $wxUSE_IPC = no; then
6226 { echo "$as_me:$LINENO: result: $result" >&5
6227 echo "${ECHO_T}$result" >&6; }
6232 defaultval=$wxUSE_ALL_FEATURES
6233 if test -z "$defaultval"; then
6234 if test x"$enablestring" = xdisable; then
6241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6242 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6243 # Check whether --enable-baseevtloop was given.
6244 if test "${enable_baseevtloop+set}" = set; then
6245 enableval=$enable_baseevtloop;
6246 if test "$enableval" = yes; then
6247 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6249 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6254 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6259 eval "$wx_cv_use_baseevtloop"
6261 if test x"$enablestring" = xdisable; then
6262 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6268 result=$wxUSE_CONSOLE_EVENTLOOP
6271 { echo "$as_me:$LINENO: result
: $result" >&5
6272 echo "${ECHO_T}$result" >&6; }
6276 defaultval=$wxUSE_ALL_FEATURES
6277 if test -z "$defaultval"; then
6278 if test x"$enablestring" = xdisable; then
6285 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6286 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6287 # Check whether --enable-epollloop was given.
6288 if test "${enable_epollloop+set}" = set; then
6289 enableval=$enable_epollloop;
6290 if test "$enableval" = yes; then
6291 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6293 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6298 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6303 eval "$wx_cv_use_epollloop"
6305 if test x
"$enablestring" = xdisable
; then
6306 if test $wxUSE_EPOLL_DISPATCHER = no
; then
6312 result
=$wxUSE_EPOLL_DISPATCHER
6315 { echo "$as_me:$LINENO: result: $result" >&5
6316 echo "${ECHO_T}$result" >&6; }
6320 defaultval
=$wxUSE_ALL_FEATURES
6321 if test -z "$defaultval"; then
6322 if test x
"$enablestring" = xdisable
; then
6329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6330 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6331 # Check whether --enable-selectloop was given.
6332 if test "${enable_selectloop+set}" = set; then
6333 enableval
=$enable_selectloop;
6334 if test "$enableval" = yes; then
6335 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6337 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6342 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6347 eval "$wx_cv_use_selectloop"
6349 if test x"$enablestring" = xdisable; then
6350 if test $wxUSE_SELECT_DISPATCHER = no; then
6356 result=$wxUSE_SELECT_DISPATCHER
6359 { echo "$as_me:$LINENO: result: $result" >&5
6360 echo "${ECHO_T}$result" >&6; }
6365 defaultval=$wxUSE_ALL_FEATURES
6366 if test -z "$defaultval"; then
6367 if test x"$enablestring" = xdisable; then
6374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6375 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6376 # Check whether --enable-any was given.
6377 if test "${enable_any+set}" = set; then
6378 enableval=$enable_any;
6379 if test "$enableval" = yes; then
6380 wx_cv_use_any='wxUSE_ANY
=yes'
6382 wx_cv_use_any='wxUSE_ANY
=no
'
6387 wx_cv_use_any='wxUSE_ANY
=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6392 eval "$wx_cv_use_any"
6394 if test x"$enablestring" = xdisable; then
6395 if test $wxUSE_ANY = no; then
6404 { echo "$as_me:$LINENO: result
: $result" >&5
6405 echo "${ECHO_T}$result" >&6; }
6409 defaultval=$wxUSE_ALL_FEATURES
6410 if test -z "$defaultval"; then
6411 if test x"$enablestring" = xdisable; then
6418 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-apple_ieee" >&5
6419 echo $ECHO_N "checking
for --${enablestring:-enable}-apple_ieee...
$ECHO_C" >&6; }
6420 # Check whether --enable-apple_ieee was given.
6421 if test "${enable_apple_ieee+set}" = set; then
6422 enableval=$enable_apple_ieee;
6423 if test "$enableval" = yes; then
6424 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6426 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6431 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6436 eval "$wx_cv_use_apple_ieee"
6438 if test x
"$enablestring" = xdisable
; then
6439 if test $wxUSE_APPLE_IEEE = no
; then
6445 result
=$wxUSE_APPLE_IEEE
6448 { echo "$as_me:$LINENO: result: $result" >&5
6449 echo "${ECHO_T}$result" >&6; }
6453 defaultval
=$wxUSE_ALL_FEATURES
6454 if test -z "$defaultval"; then
6455 if test x
"$enablestring" = xdisable
; then
6462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6463 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6464 # Check whether --enable-arcstream was given.
6465 if test "${enable_arcstream+set}" = set; then
6466 enableval
=$enable_arcstream;
6467 if test "$enableval" = yes; then
6468 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
6470 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
6475 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6480 eval "$wx_cv_use_arcstream"
6482 if test x"$enablestring" = xdisable; then
6483 if test $wxUSE_ARCHIVE_STREAMS = no; then
6489 result=$wxUSE_ARCHIVE_STREAMS
6492 { echo "$as_me:$LINENO: result: $result" >&5
6493 echo "${ECHO_T}$result" >&6; }
6497 defaultval=$wxUSE_ALL_FEATURES
6498 if test -z "$defaultval"; then
6499 if test x"$enablestring" = xdisable; then
6506 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6507 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6508 # Check whether --enable-base64 was given.
6509 if test "${enable_base64+set}" = set; then
6510 enableval=$enable_base64;
6511 if test "$enableval" = yes; then
6512 wx_cv_use_base64='wxUSE_BASE64
=yes'
6514 wx_cv_use_base64='wxUSE_BASE64
=no
'
6519 wx_cv_use_base64='wxUSE_BASE64
=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6524 eval "$wx_cv_use_base64"
6526 if test x"$enablestring" = xdisable; then
6527 if test $wxUSE_BASE64 = no; then
6533 result=$wxUSE_BASE64
6536 { echo "$as_me:$LINENO: result
: $result" >&5
6537 echo "${ECHO_T}$result" >&6; }
6541 defaultval=$wxUSE_ALL_FEATURES
6542 if test -z "$defaultval"; then
6543 if test x"$enablestring" = xdisable; then
6550 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-backtrace" >&5
6551 echo $ECHO_N "checking
for --${enablestring:-enable}-backtrace...
$ECHO_C" >&6; }
6552 # Check whether --enable-backtrace was given.
6553 if test "${enable_backtrace+set}" = set; then
6554 enableval=$enable_backtrace;
6555 if test "$enableval" = yes; then
6556 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6558 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6563 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6568 eval "$wx_cv_use_backtrace"
6570 if test x
"$enablestring" = xdisable
; then
6571 if test $wxUSE_STACKWALKER = no
; then
6577 result
=$wxUSE_STACKWALKER
6580 { echo "$as_me:$LINENO: result: $result" >&5
6581 echo "${ECHO_T}$result" >&6; }
6585 defaultval
=$wxUSE_ALL_FEATURES
6586 if test -z "$defaultval"; then
6587 if test x
"$enablestring" = xdisable
; then
6594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6595 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6596 # Check whether --enable-catch_segvs was given.
6597 if test "${enable_catch_segvs+set}" = set; then
6598 enableval
=$enable_catch_segvs;
6599 if test "$enableval" = yes; then
6600 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
6602 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
6607 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6612 eval "$wx_cv_use_catch_segvs"
6614 if test x"$enablestring" = xdisable; then
6615 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6621 result=$wxUSE_ON_FATAL_EXCEPTION
6624 { echo "$as_me:$LINENO: result: $result" >&5
6625 echo "${ECHO_T}$result" >&6; }
6629 defaultval=$wxUSE_ALL_FEATURES
6630 if test -z "$defaultval"; then
6631 if test x"$enablestring" = xdisable; then
6638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6639 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6640 # Check whether --enable-cmdline was given.
6641 if test "${enable_cmdline+set}" = set; then
6642 enableval=$enable_cmdline;
6643 if test "$enableval" = yes; then
6644 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
6646 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
6651 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6656 eval "$wx_cv_use_cmdline"
6658 if test x"$enablestring" = xdisable; then
6659 if test $wxUSE_CMDLINE_PARSER = no; then
6665 result=$wxUSE_CMDLINE_PARSER
6668 { echo "$as_me:$LINENO: result
: $result" >&5
6669 echo "${ECHO_T}$result" >&6; }
6673 defaultval=$wxUSE_ALL_FEATURES
6674 if test -z "$defaultval"; then
6675 if test x"$enablestring" = xdisable; then
6682 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datetime" >&5
6683 echo $ECHO_N "checking
for --${enablestring:-enable}-datetime...
$ECHO_C" >&6; }
6684 # Check whether --enable-datetime was given.
6685 if test "${enable_datetime+set}" = set; then
6686 enableval=$enable_datetime;
6687 if test "$enableval" = yes; then
6688 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6690 wx_cv_use_datetime='wxUSE_DATETIME=no'
6695 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6700 eval "$wx_cv_use_datetime"
6702 if test x
"$enablestring" = xdisable
; then
6703 if test $wxUSE_DATETIME = no
; then
6709 result
=$wxUSE_DATETIME
6712 { echo "$as_me:$LINENO: result: $result" >&5
6713 echo "${ECHO_T}$result" >&6; }
6717 defaultval
=$wxUSE_ALL_FEATURES
6718 if test -z "$defaultval"; then
6719 if test x
"$enablestring" = xdisable
; then
6726 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6727 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6728 # Check whether --enable-debugreport was given.
6729 if test "${enable_debugreport+set}" = set; then
6730 enableval
=$enable_debugreport;
6731 if test "$enableval" = yes; then
6732 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
6734 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
6739 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6744 eval "$wx_cv_use_debugreport"
6746 if test x"$enablestring" = xdisable; then
6747 if test $wxUSE_DEBUGREPORT = no; then
6753 result=$wxUSE_DEBUGREPORT
6756 { echo "$as_me:$LINENO: result: $result" >&5
6757 echo "${ECHO_T}$result" >&6; }
6761 defaultval=$wxUSE_ALL_FEATURES
6762 if test -z "$defaultval"; then
6763 if test x"$enablestring" = xdisable; then
6770 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6771 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6772 # Check whether --enable-dialupman was given.
6773 if test "${enable_dialupman+set}" = set; then
6774 enableval=$enable_dialupman;
6775 if test "$enableval" = yes; then
6776 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
6778 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
6783 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6788 eval "$wx_cv_use_dialupman"
6790 if test x"$enablestring" = xdisable; then
6791 if test $wxUSE_DIALUP_MANAGER = no; then
6797 result=$wxUSE_DIALUP_MANAGER
6800 { echo "$as_me:$LINENO: result
: $result" >&5
6801 echo "${ECHO_T}$result" >&6; }
6805 defaultval=$wxUSE_ALL_FEATURES
6806 if test -z "$defaultval"; then
6807 if test x"$enablestring" = xdisable; then
6814 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynlib" >&5
6815 echo $ECHO_N "checking
for --${enablestring:-enable}-dynlib...
$ECHO_C" >&6; }
6816 # Check whether --enable-dynlib was given.
6817 if test "${enable_dynlib+set}" = set; then
6818 enableval=$enable_dynlib;
6819 if test "$enableval" = yes; then
6820 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6822 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6827 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6832 eval "$wx_cv_use_dynlib"
6834 if test x
"$enablestring" = xdisable
; then
6835 if test $wxUSE_DYNLIB_CLASS = no
; then
6841 result
=$wxUSE_DYNLIB_CLASS
6844 { echo "$as_me:$LINENO: result: $result" >&5
6845 echo "${ECHO_T}$result" >&6; }
6849 defaultval
=$wxUSE_ALL_FEATURES
6850 if test -z "$defaultval"; then
6851 if test x
"$enablestring" = xdisable
; then
6858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6859 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6860 # Check whether --enable-dynamicloader was given.
6861 if test "${enable_dynamicloader+set}" = set; then
6862 enableval
=$enable_dynamicloader;
6863 if test "$enableval" = yes; then
6864 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
6866 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
6871 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6876 eval "$wx_cv_use_dynamicloader"
6878 if test x"$enablestring" = xdisable; then
6879 if test $wxUSE_DYNAMIC_LOADER = no; then
6885 result=$wxUSE_DYNAMIC_LOADER
6888 { echo "$as_me:$LINENO: result: $result" >&5
6889 echo "${ECHO_T}$result" >&6; }
6893 defaultval=$wxUSE_ALL_FEATURES
6894 if test -z "$defaultval"; then
6895 if test x"$enablestring" = xdisable; then
6902 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6903 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6904 # Check whether --enable-exceptions was given.
6905 if test "${enable_exceptions+set}" = set; then
6906 enableval=$enable_exceptions;
6907 if test "$enableval" = yes; then
6908 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
6910 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
6915 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6920 eval "$wx_cv_use_exceptions"
6922 if test x"$enablestring" = xdisable; then
6923 if test $wxUSE_EXCEPTIONS = no; then
6929 result=$wxUSE_EXCEPTIONS
6932 { echo "$as_me:$LINENO: result
: $result" >&5
6933 echo "${ECHO_T}$result" >&6; }
6937 defaultval=$wxUSE_ALL_FEATURES
6938 if test -z "$defaultval"; then
6939 if test x"$enablestring" = xdisable; then
6946 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ffile" >&5
6947 echo $ECHO_N "checking
for --${enablestring:-enable}-ffile...
$ECHO_C" >&6; }
6948 # Check whether --enable-ffile was given.
6949 if test "${enable_ffile+set}" = set; then
6950 enableval=$enable_ffile;
6951 if test "$enableval" = yes; then
6952 wx_cv_use_ffile='wxUSE_FFILE=yes'
6954 wx_cv_use_ffile='wxUSE_FFILE=no'
6959 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6964 eval "$wx_cv_use_ffile"
6966 if test x
"$enablestring" = xdisable
; then
6967 if test $wxUSE_FFILE = no
; then
6976 { echo "$as_me:$LINENO: result: $result" >&5
6977 echo "${ECHO_T}$result" >&6; }
6981 defaultval
=$wxUSE_ALL_FEATURES
6982 if test -z "$defaultval"; then
6983 if test x
"$enablestring" = xdisable
; then
6990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6991 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6992 # Check whether --enable-file was given.
6993 if test "${enable_file+set}" = set; then
6994 enableval
=$enable_file;
6995 if test "$enableval" = yes; then
6996 wx_cv_use_file
='wxUSE_FILE=yes'
6998 wx_cv_use_file
='wxUSE_FILE=no'
7003 wx_cv_use_file
='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7008 eval "$wx_cv_use_file"
7010 if test x"$enablestring" = xdisable; then
7011 if test $wxUSE_FILE = no; then
7020 { echo "$as_me:$LINENO: result: $result" >&5
7021 echo "${ECHO_T}$result" >&6; }
7025 defaultval=$wxUSE_ALL_FEATURES
7026 if test -z "$defaultval"; then
7027 if test x"$enablestring" = xdisable; then
7034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7035 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7036 # Check whether --enable-filehistory was given.
7037 if test "${enable_filehistory+set}" = set; then
7038 enableval=$enable_filehistory;
7039 if test "$enableval" = yes; then
7040 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=yes'
7042 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=no
'
7047 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7052 eval "$wx_cv_use_filehistory"
7054 if test x"$enablestring" = xdisable; then
7055 if test $wxUSE_FILE_HISTORY = no; then
7061 result=$wxUSE_FILE_HISTORY
7064 { echo "$as_me:$LINENO: result
: $result" >&5
7065 echo "${ECHO_T}$result" >&6; }
7069 defaultval=$wxUSE_ALL_FEATURES
7070 if test -z "$defaultval"; then
7071 if test x"$enablestring" = xdisable; then
7078 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filesystem" >&5
7079 echo $ECHO_N "checking
for --${enablestring:-enable}-filesystem...
$ECHO_C" >&6; }
7080 # Check whether --enable-filesystem was given.
7081 if test "${enable_filesystem+set}" = set; then
7082 enableval=$enable_filesystem;
7083 if test "$enableval" = yes; then
7084 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7086 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7091 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7096 eval "$wx_cv_use_filesystem"
7098 if test x
"$enablestring" = xdisable
; then
7099 if test $wxUSE_FILESYSTEM = no
; then
7105 result
=$wxUSE_FILESYSTEM
7108 { echo "$as_me:$LINENO: result: $result" >&5
7109 echo "${ECHO_T}$result" >&6; }
7113 defaultval
=$wxUSE_ALL_FEATURES
7114 if test -z "$defaultval"; then
7115 if test x
"$enablestring" = xdisable
; then
7122 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7123 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7124 # Check whether --enable-fontenum was given.
7125 if test "${enable_fontenum+set}" = set; then
7126 enableval
=$enable_fontenum;
7127 if test "$enableval" = yes; then
7128 wx_cv_use_fontenum
='wxUSE_FONTENUM=yes'
7130 wx_cv_use_fontenum
='wxUSE_FONTENUM=no'
7135 wx_cv_use_fontenum
='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7140 eval "$wx_cv_use_fontenum"
7142 if test x"$enablestring" = xdisable; then
7143 if test $wxUSE_FONTENUM = no; then
7149 result=$wxUSE_FONTENUM
7152 { echo "$as_me:$LINENO: result: $result" >&5
7153 echo "${ECHO_T}$result" >&6; }
7157 defaultval=$wxUSE_ALL_FEATURES
7158 if test -z "$defaultval"; then
7159 if test x"$enablestring" = xdisable; then
7166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7167 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7168 # Check whether --enable-fontmap was given.
7169 if test "${enable_fontmap+set}" = set; then
7170 enableval=$enable_fontmap;
7171 if test "$enableval" = yes; then
7172 wx_cv_use_fontmap='wxUSE_FONTMAP
=yes'
7174 wx_cv_use_fontmap='wxUSE_FONTMAP
=no
'
7179 wx_cv_use_fontmap='wxUSE_FONTMAP
=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7184 eval "$wx_cv_use_fontmap"
7186 if test x"$enablestring" = xdisable; then
7187 if test $wxUSE_FONTMAP = no; then
7193 result=$wxUSE_FONTMAP
7196 { echo "$as_me:$LINENO: result
: $result" >&5
7197 echo "${ECHO_T}$result" >&6; }
7201 defaultval=$wxUSE_ALL_FEATURES
7202 if test -z "$defaultval"; then
7203 if test x"$enablestring" = xdisable; then
7210 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_archive" >&5
7211 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_archive...
$ECHO_C" >&6; }
7212 # Check whether --enable-fs_archive was given.
7213 if test "${enable_fs_archive+set}" = set; then
7214 enableval=$enable_fs_archive;
7215 if test "$enableval" = yes; then
7216 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7218 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7223 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7228 eval "$wx_cv_use_fs_archive"
7230 if test x
"$enablestring" = xdisable
; then
7231 if test $wxUSE_FS_ARCHIVE = no
; then
7237 result
=$wxUSE_FS_ARCHIVE
7240 { echo "$as_me:$LINENO: result: $result" >&5
7241 echo "${ECHO_T}$result" >&6; }
7245 defaultval
=$wxUSE_ALL_FEATURES
7246 if test -z "$defaultval"; then
7247 if test x
"$enablestring" = xdisable
; then
7254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7255 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7256 # Check whether --enable-fs_inet was given.
7257 if test "${enable_fs_inet+set}" = set; then
7258 enableval
=$enable_fs_inet;
7259 if test "$enableval" = yes; then
7260 wx_cv_use_fs_inet
='wxUSE_FS_INET=yes'
7262 wx_cv_use_fs_inet
='wxUSE_FS_INET=no'
7267 wx_cv_use_fs_inet
='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7272 eval "$wx_cv_use_fs_inet"
7274 if test x"$enablestring" = xdisable; then
7275 if test $wxUSE_FS_INET = no; then
7281 result=$wxUSE_FS_INET
7284 { echo "$as_me:$LINENO: result: $result" >&5
7285 echo "${ECHO_T}$result" >&6; }
7289 defaultval=$wxUSE_ALL_FEATURES
7290 if test -z "$defaultval"; then
7291 if test x"$enablestring" = xdisable; then
7298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7299 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7300 # Check whether --enable-fs_zip was given.
7301 if test "${enable_fs_zip+set}" = set; then
7302 enableval=$enable_fs_zip;
7303 if test "$enableval" = yes; then
7304 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
7306 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
7311 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7316 eval "$wx_cv_use_fs_zip"
7318 if test x"$enablestring" = xdisable; then
7319 if test $wxUSE_FS_ZIP = no; then
7325 result=$wxUSE_FS_ZIP
7328 { echo "$as_me:$LINENO: result
: $result" >&5
7329 echo "${ECHO_T}$result" >&6; }
7333 defaultval=$wxUSE_ALL_FEATURES
7334 if test -z "$defaultval"; then
7335 if test x"$enablestring" = xdisable; then
7342 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fswatcher" >&5
7343 echo $ECHO_N "checking
for --${enablestring:-enable}-fswatcher...
$ECHO_C" >&6; }
7344 # Check whether --enable-fswatcher was given.
7345 if test "${enable_fswatcher+set}" = set; then
7346 enableval=$enable_fswatcher;
7347 if test "$enableval" = yes; then
7348 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7350 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7355 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7360 eval "$wx_cv_use_fswatcher"
7362 if test x
"$enablestring" = xdisable
; then
7363 if test $wxUSE_FSWATCHER = no
; then
7369 result
=$wxUSE_FSWATCHER
7372 { echo "$as_me:$LINENO: result: $result" >&5
7373 echo "${ECHO_T}$result" >&6; }
7377 defaultval
=$wxUSE_ALL_FEATURES
7378 if test -z "$defaultval"; then
7379 if test x
"$enablestring" = xdisable
; then
7386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7387 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7388 # Check whether --enable-geometry was given.
7389 if test "${enable_geometry+set}" = set; then
7390 enableval
=$enable_geometry;
7391 if test "$enableval" = yes; then
7392 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
7394 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
7399 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7404 eval "$wx_cv_use_geometry"
7406 if test x"$enablestring" = xdisable; then
7407 if test $wxUSE_GEOMETRY = no; then
7413 result=$wxUSE_GEOMETRY
7416 { echo "$as_me:$LINENO: result: $result" >&5
7417 echo "${ECHO_T}$result" >&6; }
7421 defaultval=$wxUSE_ALL_FEATURES
7422 if test -z "$defaultval"; then
7423 if test x"$enablestring" = xdisable; then
7430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7431 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7432 # Check whether --enable-log was given.
7433 if test "${enable_log+set}" = set; then
7434 enableval=$enable_log;
7435 if test "$enableval" = yes; then
7436 wx_cv_use_log='wxUSE_LOG
=yes'
7438 wx_cv_use_log='wxUSE_LOG
=no
'
7443 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7448 eval "$wx_cv_use_log"
7450 if test x"$enablestring" = xdisable; then
7451 if test $wxUSE_LOG = no; then
7460 { echo "$as_me:$LINENO: result
: $result" >&5
7461 echo "${ECHO_T}$result" >&6; }
7465 defaultval=$wxUSE_ALL_FEATURES
7466 if test -z "$defaultval"; then
7467 if test x"$enablestring" = xdisable; then
7474 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-longlong" >&5
7475 echo $ECHO_N "checking
for --${enablestring:-enable}-longlong...
$ECHO_C" >&6; }
7476 # Check whether --enable-longlong was given.
7477 if test "${enable_longlong+set}" = set; then
7478 enableval=$enable_longlong;
7479 if test "$enableval" = yes; then
7480 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7482 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7487 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7492 eval "$wx_cv_use_longlong"
7494 if test x
"$enablestring" = xdisable
; then
7495 if test $wxUSE_LONGLONG = no
; then
7501 result
=$wxUSE_LONGLONG
7504 { echo "$as_me:$LINENO: result: $result" >&5
7505 echo "${ECHO_T}$result" >&6; }
7509 defaultval
=$wxUSE_ALL_FEATURES
7510 if test -z "$defaultval"; then
7511 if test x
"$enablestring" = xdisable
; then
7518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7519 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7520 # Check whether --enable-mimetype was given.
7521 if test "${enable_mimetype+set}" = set; then
7522 enableval
=$enable_mimetype;
7523 if test "$enableval" = yes; then
7524 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
7526 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
7531 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7536 eval "$wx_cv_use_mimetype"
7538 if test x"$enablestring" = xdisable; then
7539 if test $wxUSE_MIMETYPE = no; then
7545 result=$wxUSE_MIMETYPE
7548 { echo "$as_me:$LINENO: result: $result" >&5
7549 echo "${ECHO_T}$result" >&6; }
7553 defaultval=$wxUSE_ALL_FEATURES
7554 if test -z "$defaultval"; then
7555 if test x"$enablestring" = xdisable; then
7562 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7563 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7564 # Check whether --enable-printfposparam was given.
7565 if test "${enable_printfposparam+set}" = set; then
7566 enableval=$enable_printfposparam;
7567 if test "$enableval" = yes; then
7568 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
7570 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
7575 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7580 eval "$wx_cv_use_printfposparam"
7582 if test x"$enablestring" = xdisable; then
7583 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7589 result=$wxUSE_PRINTF_POS_PARAMS
7592 { echo "$as_me:$LINENO: result
: $result" >&5
7593 echo "${ECHO_T}$result" >&6; }
7597 defaultval=$wxUSE_ALL_FEATURES
7598 if test -z "$defaultval"; then
7599 if test x"$enablestring" = xdisable; then
7606 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-snglinst" >&5
7607 echo $ECHO_N "checking
for --${enablestring:-enable}-snglinst...
$ECHO_C" >&6; }
7608 # Check whether --enable-snglinst was given.
7609 if test "${enable_snglinst+set}" = set; then
7610 enableval=$enable_snglinst;
7611 if test "$enableval" = yes; then
7612 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7614 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7619 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7624 eval "$wx_cv_use_snglinst"
7626 if test x
"$enablestring" = xdisable
; then
7627 if test $wxUSE_SNGLINST_CHECKER = no
; then
7633 result
=$wxUSE_SNGLINST_CHECKER
7636 { echo "$as_me:$LINENO: result: $result" >&5
7637 echo "${ECHO_T}$result" >&6; }
7641 defaultval
=$wxUSE_ALL_FEATURES
7642 if test -z "$defaultval"; then
7643 if test x
"$enablestring" = xdisable
; then
7650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7651 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7652 # Check whether --enable-sound was given.
7653 if test "${enable_sound+set}" = set; then
7654 enableval
=$enable_sound;
7655 if test "$enableval" = yes; then
7656 wx_cv_use_sound
='wxUSE_SOUND=yes'
7658 wx_cv_use_sound
='wxUSE_SOUND=no'
7663 wx_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7668 eval "$wx_cv_use_sound"
7670 if test x"$enablestring" = xdisable; then
7671 if test $wxUSE_SOUND = no; then
7680 { echo "$as_me:$LINENO: result: $result" >&5
7681 echo "${ECHO_T}$result" >&6; }
7685 defaultval=$wxUSE_ALL_FEATURES
7686 if test -z "$defaultval"; then
7687 if test x"$enablestring" = xdisable; then
7694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7695 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7696 # Check whether --enable-stdpaths was given.
7697 if test "${enable_stdpaths+set}" = set; then
7698 enableval=$enable_stdpaths;
7699 if test "$enableval" = yes; then
7700 wx_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
7702 wx_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
7707 wx_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7712 eval "$wx_cv_use_stdpaths"
7714 if test x"$enablestring" = xdisable; then
7715 if test $wxUSE_STDPATHS = no; then
7721 result=$wxUSE_STDPATHS
7724 { echo "$as_me:$LINENO: result
: $result" >&5
7725 echo "${ECHO_T}$result" >&6; }
7729 defaultval=$wxUSE_ALL_FEATURES
7730 if test -z "$defaultval"; then
7731 if test x"$enablestring" = xdisable; then
7738 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stopwatch" >&5
7739 echo $ECHO_N "checking
for --${enablestring:-enable}-stopwatch...
$ECHO_C" >&6; }
7740 # Check whether --enable-stopwatch was given.
7741 if test "${enable_stopwatch+set}" = set; then
7742 enableval=$enable_stopwatch;
7743 if test "$enableval" = yes; then
7744 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7746 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7751 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7756 eval "$wx_cv_use_stopwatch"
7758 if test x
"$enablestring" = xdisable
; then
7759 if test $wxUSE_STOPWATCH = no
; then
7765 result
=$wxUSE_STOPWATCH
7768 { echo "$as_me:$LINENO: result: $result" >&5
7769 echo "${ECHO_T}$result" >&6; }
7773 defaultval
=$wxUSE_ALL_FEATURES
7774 if test -z "$defaultval"; then
7775 if test x
"$enablestring" = xdisable
; then
7782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7783 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7784 # Check whether --enable-streams was given.
7785 if test "${enable_streams+set}" = set; then
7786 enableval
=$enable_streams;
7787 if test "$enableval" = yes; then
7788 wx_cv_use_streams
='wxUSE_STREAMS=yes'
7790 wx_cv_use_streams
='wxUSE_STREAMS=no'
7795 wx_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7800 eval "$wx_cv_use_streams"
7802 if test x"$enablestring" = xdisable; then
7803 if test $wxUSE_STREAMS = no; then
7809 result=$wxUSE_STREAMS
7812 { echo "$as_me:$LINENO: result: $result" >&5
7813 echo "${ECHO_T}$result" >&6; }
7817 defaultval=$wxUSE_ALL_FEATURES
7818 if test -z "$defaultval"; then
7819 if test x"$enablestring" = xdisable; then
7826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7827 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7828 # Check whether --enable-sysoptions was given.
7829 if test "${enable_sysoptions+set}" = set; then
7830 enableval=$enable_sysoptions;
7831 if test "$enableval" = yes; then
7832 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=yes'
7834 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=no
'
7839 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7844 eval "$wx_cv_use_sysoptions"
7846 if test x"$enablestring" = xdisable; then
7847 if test $wxUSE_SYSTEM_OPTIONS = no; then
7853 result=$wxUSE_SYSTEM_OPTIONS
7856 { echo "$as_me:$LINENO: result
: $result" >&5
7857 echo "${ECHO_T}$result" >&6; }
7861 defaultval=$wxUSE_ALL_FEATURES
7862 if test -z "$defaultval"; then
7863 if test x"$enablestring" = xdisable; then
7870 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tarstream" >&5
7871 echo $ECHO_N "checking
for --${enablestring:-enable}-tarstream...
$ECHO_C" >&6; }
7872 # Check whether --enable-tarstream was given.
7873 if test "${enable_tarstream+set}" = set; then
7874 enableval=$enable_tarstream;
7875 if test "$enableval" = yes; then
7876 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7878 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7883 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7888 eval "$wx_cv_use_tarstream"
7890 if test x
"$enablestring" = xdisable
; then
7891 if test $wxUSE_TARSTREAM = no
; then
7897 result
=$wxUSE_TARSTREAM
7900 { echo "$as_me:$LINENO: result: $result" >&5
7901 echo "${ECHO_T}$result" >&6; }
7905 defaultval
=$wxUSE_ALL_FEATURES
7906 if test -z "$defaultval"; then
7907 if test x
"$enablestring" = xdisable
; then
7914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7915 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7916 # Check whether --enable-textbuf was given.
7917 if test "${enable_textbuf+set}" = set; then
7918 enableval
=$enable_textbuf;
7919 if test "$enableval" = yes; then
7920 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
7922 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
7927 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7932 eval "$wx_cv_use_textbuf"
7934 if test x"$enablestring" = xdisable; then
7935 if test $wxUSE_TEXTBUFFER = no; then
7941 result=$wxUSE_TEXTBUFFER
7944 { echo "$as_me:$LINENO: result: $result" >&5
7945 echo "${ECHO_T}$result" >&6; }
7949 defaultval=$wxUSE_ALL_FEATURES
7950 if test -z "$defaultval"; then
7951 if test x"$enablestring" = xdisable; then
7958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7959 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7960 # Check whether --enable-textfile was given.
7961 if test "${enable_textfile+set}" = set; then
7962 enableval=$enable_textfile;
7963 if test "$enableval" = yes; then
7964 wx_cv_use_textfile='wxUSE_TEXTFILE
=yes'
7966 wx_cv_use_textfile='wxUSE_TEXTFILE
=no
'
7971 wx_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7976 eval "$wx_cv_use_textfile"
7978 if test x"$enablestring" = xdisable; then
7979 if test $wxUSE_TEXTFILE = no; then
7985 result=$wxUSE_TEXTFILE
7988 { echo "$as_me:$LINENO: result
: $result" >&5
7989 echo "${ECHO_T}$result" >&6; }
7993 defaultval=$wxUSE_ALL_FEATURES
7994 if test -z "$defaultval"; then
7995 if test x"$enablestring" = xdisable; then
8002 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-timer" >&5
8003 echo $ECHO_N "checking
for --${enablestring:-enable}-timer...
$ECHO_C" >&6; }
8004 # Check whether --enable-timer was given.
8005 if test "${enable_timer+set}" = set; then
8006 enableval=$enable_timer;
8007 if test "$enableval" = yes; then
8008 wx_cv_use_timer='wxUSE_TIMER=yes'
8010 wx_cv_use_timer='wxUSE_TIMER=no'
8015 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8020 eval "$wx_cv_use_timer"
8022 if test x
"$enablestring" = xdisable
; then
8023 if test $wxUSE_TIMER = no
; then
8032 { echo "$as_me:$LINENO: result: $result" >&5
8033 echo "${ECHO_T}$result" >&6; }
8037 defaultval
=$wxUSE_ALL_FEATURES
8038 if test -z "$defaultval"; then
8039 if test x
"$enablestring" = xdisable
; then
8046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8047 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8048 # Check whether --enable-variant was given.
8049 if test "${enable_variant+set}" = set; then
8050 enableval
=$enable_variant;
8051 if test "$enableval" = yes; then
8052 wx_cv_use_variant
='wxUSE_VARIANT=yes'
8054 wx_cv_use_variant
='wxUSE_VARIANT=no'
8059 wx_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8064 eval "$wx_cv_use_variant"
8066 if test x"$enablestring" = xdisable; then
8067 if test $wxUSE_VARIANT = no; then
8073 result=$wxUSE_VARIANT
8076 { echo "$as_me:$LINENO: result: $result" >&5
8077 echo "${ECHO_T}$result" >&6; }
8081 defaultval=$wxUSE_ALL_FEATURES
8082 if test -z "$defaultval"; then
8083 if test x"$enablestring" = xdisable; then
8090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8091 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8092 # Check whether --enable-zipstream was given.
8093 if test "${enable_zipstream+set}" = set; then
8094 enableval=$enable_zipstream;
8095 if test "$enableval" = yes; then
8096 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
8098 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
8103 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8108 eval "$wx_cv_use_zipstream"
8110 if test x"$enablestring" = xdisable; then
8111 if test $wxUSE_ZIPSTREAM = no; then
8117 result=$wxUSE_ZIPSTREAM
8120 { echo "$as_me:$LINENO: result
: $result" >&5
8121 echo "${ECHO_T}$result" >&6; }
8126 defaultval=$wxUSE_ALL_FEATURES
8127 if test -z "$defaultval"; then
8128 if test x"$enablestring" = xdisable; then
8135 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-url" >&5
8136 echo $ECHO_N "checking
for --${enablestring:-enable}-url...
$ECHO_C" >&6; }
8137 # Check whether --enable-url was given.
8138 if test "${enable_url+set}" = set; then
8139 enableval=$enable_url;
8140 if test "$enableval" = yes; then
8141 wx_cv_use_url='wxUSE_URL=yes'
8143 wx_cv_use_url='wxUSE_URL=no'
8148 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8153 eval "$wx_cv_use_url"
8155 if test x
"$enablestring" = xdisable
; then
8156 if test $wxUSE_URL = no
; then
8165 { echo "$as_me:$LINENO: result: $result" >&5
8166 echo "${ECHO_T}$result" >&6; }
8170 defaultval
=$wxUSE_ALL_FEATURES
8171 if test -z "$defaultval"; then
8172 if test x
"$enablestring" = xdisable
; then
8179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8180 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8181 # Check whether --enable-protocol was given.
8182 if test "${enable_protocol+set}" = set; then
8183 enableval
=$enable_protocol;
8184 if test "$enableval" = yes; then
8185 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
8187 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
8192 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8197 eval "$wx_cv_use_protocol"
8199 if test x"$enablestring" = xdisable; then
8200 if test $wxUSE_PROTOCOL = no; then
8206 result=$wxUSE_PROTOCOL
8209 { echo "$as_me:$LINENO: result: $result" >&5
8210 echo "${ECHO_T}$result" >&6; }
8214 defaultval=$wxUSE_ALL_FEATURES
8215 if test -z "$defaultval"; then
8216 if test x"$enablestring" = xdisable; then
8223 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8224 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8225 # Check whether --enable-protocol_http was given.
8226 if test "${enable_protocol_http+set}" = set; then
8227 enableval=$enable_protocol_http;
8228 if test "$enableval" = yes; then
8229 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
8231 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
8236 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8241 eval "$wx_cv_use_protocol_http"
8243 if test x"$enablestring" = xdisable; then
8244 if test $wxUSE_PROTOCOL_HTTP = no; then
8250 result=$wxUSE_PROTOCOL_HTTP
8253 { echo "$as_me:$LINENO: result
: $result" >&5
8254 echo "${ECHO_T}$result" >&6; }
8258 defaultval=$wxUSE_ALL_FEATURES
8259 if test -z "$defaultval"; then
8260 if test x"$enablestring" = xdisable; then
8267 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_ftp" >&5
8268 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_ftp...
$ECHO_C" >&6; }
8269 # Check whether --enable-protocol_ftp was given.
8270 if test "${enable_protocol_ftp+set}" = set; then
8271 enableval=$enable_protocol_ftp;
8272 if test "$enableval" = yes; then
8273 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8275 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8280 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8285 eval "$wx_cv_use_protocol_ftp"
8287 if test x
"$enablestring" = xdisable
; then
8288 if test $wxUSE_PROTOCOL_FTP = no
; then
8294 result
=$wxUSE_PROTOCOL_FTP
8297 { echo "$as_me:$LINENO: result: $result" >&5
8298 echo "${ECHO_T}$result" >&6; }
8302 defaultval
=$wxUSE_ALL_FEATURES
8303 if test -z "$defaultval"; then
8304 if test x
"$enablestring" = xdisable
; then
8311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8312 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8313 # Check whether --enable-protocol_file was given.
8314 if test "${enable_protocol_file+set}" = set; then
8315 enableval
=$enable_protocol_file;
8316 if test "$enableval" = yes; then
8317 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
8319 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
8324 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8329 eval "$wx_cv_use_protocol_file"
8331 if test x"$enablestring" = xdisable; then
8332 if test $wxUSE_PROTOCOL_FILE = no; then
8338 result=$wxUSE_PROTOCOL_FILE
8341 { echo "$as_me:$LINENO: result: $result" >&5
8342 echo "${ECHO_T}$result" >&6; }
8347 defaultval=$wxUSE_ALL_FEATURES
8348 if test -z "$defaultval"; then
8349 if test x"$enablestring" = xdisable; then
8356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8357 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8358 # Check whether --enable-threads was given.
8359 if test "${enable_threads+set}" = set; then
8360 enableval=$enable_threads;
8361 if test "$enableval" = yes; then
8362 wx_cv_use_threads='wxUSE_THREADS
=yes'
8364 wx_cv_use_threads='wxUSE_THREADS
=no
'
8369 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8374 eval "$wx_cv_use_threads"
8376 if test x"$enablestring" = xdisable; then
8377 if test $wxUSE_THREADS = no; then
8383 result=$wxUSE_THREADS
8386 { echo "$as_me:$LINENO: result
: $result" >&5
8387 echo "${ECHO_T}$result" >&6; }
8393 if test -z "$defaultval"; then
8394 if test x"$enablestring" = xdisable; then
8401 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iniconf" >&5
8402 echo $ECHO_N "checking
for --${enablestring:-enable}-iniconf...
$ECHO_C" >&6; }
8403 # Check whether --enable-iniconf was given.
8404 if test "${enable_iniconf+set}" = set; then
8405 enableval=$enable_iniconf;
8406 if test "$enableval" = yes; then
8407 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8409 wx_cv_use_iniconf='wxUSE_INICONF=no'
8414 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8419 eval "$wx_cv_use_iniconf"
8421 if test x
"$enablestring" = xdisable
; then
8422 if test $wxUSE_INICONF = no
; then
8428 result
=$wxUSE_INICONF
8431 { echo "$as_me:$LINENO: result: $result" >&5
8432 echo "${ECHO_T}$result" >&6; }
8436 defaultval
=$wxUSE_ALL_FEATURES
8437 if test -z "$defaultval"; then
8438 if test x
"$enablestring" = xdisable
; then
8445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8446 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8447 # Check whether --enable-regkey was given.
8448 if test "${enable_regkey+set}" = set; then
8449 enableval
=$enable_regkey;
8450 if test "$enableval" = yes; then
8451 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
8453 wx_cv_use_regkey
='wxUSE_REGKEY=no'
8458 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8463 eval "$wx_cv_use_regkey"
8465 if test x"$enablestring" = xdisable; then
8466 if test $wxUSE_REGKEY = no; then
8472 result=$wxUSE_REGKEY
8475 { echo "$as_me:$LINENO: result: $result" >&5
8476 echo "${ECHO_T}$result" >&6; }
8479 if test "$wxUSE_GUI" = "yes"; then
8484 defaultval=$wxUSE_ALL_FEATURES
8485 if test -z "$defaultval"; then
8486 if test x"$enablestring" = xdisable; then
8493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8494 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8495 # Check whether --enable-docview was given.
8496 if test "${enable_docview+set}" = set; then
8497 enableval=$enable_docview;
8498 if test "$enableval" = yes; then
8499 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
8501 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
8506 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8511 eval "$wx_cv_use_docview"
8513 if test x"$enablestring" = xdisable; then
8514 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8520 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8523 { echo "$as_me:$LINENO: result
: $result" >&5
8524 echo "${ECHO_T}$result" >&6; }
8528 defaultval=$wxUSE_ALL_FEATURES
8529 if test -z "$defaultval"; then
8530 if test x"$enablestring" = xdisable; then
8537 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-help" >&5
8538 echo $ECHO_N "checking
for --${enablestring:-enable}-help...
$ECHO_C" >&6; }
8539 # Check whether --enable-help was given.
8540 if test "${enable_help+set}" = set; then
8541 enableval=$enable_help;
8542 if test "$enableval" = yes; then
8543 wx_cv_use_help='wxUSE_HELP=yes'
8545 wx_cv_use_help='wxUSE_HELP=no'
8550 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8555 eval "$wx_cv_use_help"
8557 if test x
"$enablestring" = xdisable
; then
8558 if test $wxUSE_HELP = no
; then
8567 { echo "$as_me:$LINENO: result: $result" >&5
8568 echo "${ECHO_T}$result" >&6; }
8572 defaultval
=$wxUSE_ALL_FEATURES
8573 if test -z "$defaultval"; then
8574 if test x
"$enablestring" = xdisable
; then
8581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8582 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8583 # Check whether --enable-mshtmlhelp was given.
8584 if test "${enable_mshtmlhelp+set}" = set; then
8585 enableval
=$enable_mshtmlhelp;
8586 if test "$enableval" = yes; then
8587 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
8589 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
8594 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8599 eval "$wx_cv_use_mshtmlhelp"
8601 if test x"$enablestring" = xdisable; then
8602 if test $wxUSE_MS_HTML_HELP = no; then
8608 result=$wxUSE_MS_HTML_HELP
8611 { echo "$as_me:$LINENO: result: $result" >&5
8612 echo "${ECHO_T}$result" >&6; }
8616 defaultval=$wxUSE_ALL_FEATURES
8617 if test -z "$defaultval"; then
8618 if test x"$enablestring" = xdisable; then
8625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8626 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8627 # Check whether --enable-html was given.
8628 if test "${enable_html+set}" = set; then
8629 enableval=$enable_html;
8630 if test "$enableval" = yes; then
8631 wx_cv_use_html='wxUSE_HTML
=yes'
8633 wx_cv_use_html='wxUSE_HTML
=no
'
8638 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8643 eval "$wx_cv_use_html"
8645 if test x"$enablestring" = xdisable; then
8646 if test $wxUSE_HTML = no; then
8655 { echo "$as_me:$LINENO: result
: $result" >&5
8656 echo "${ECHO_T}$result" >&6; }
8660 defaultval=$wxUSE_ALL_FEATURES
8661 if test -z "$defaultval"; then
8662 if test x"$enablestring" = xdisable; then
8669 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-htmlhelp" >&5
8670 echo $ECHO_N "checking
for --${enablestring:-enable}-htmlhelp...
$ECHO_C" >&6; }
8671 # Check whether --enable-htmlhelp was given.
8672 if test "${enable_htmlhelp+set}" = set; then
8673 enableval=$enable_htmlhelp;
8674 if test "$enableval" = yes; then
8675 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8677 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8682 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8687 eval "$wx_cv_use_htmlhelp"
8689 if test x
"$enablestring" = xdisable
; then
8690 if test $wxUSE_WXHTML_HELP = no
; then
8696 result
=$wxUSE_WXHTML_HELP
8699 { echo "$as_me:$LINENO: result: $result" >&5
8700 echo "${ECHO_T}$result" >&6; }
8704 defaultval
=$wxUSE_ALL_FEATURES
8705 if test -z "$defaultval"; then
8706 if test x
"$enablestring" = xdisable
; then
8713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8714 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8715 # Check whether --enable-xrc was given.
8716 if test "${enable_xrc+set}" = set; then
8717 enableval
=$enable_xrc;
8718 if test "$enableval" = yes; then
8719 wx_cv_use_xrc
='wxUSE_XRC=yes'
8721 wx_cv_use_xrc
='wxUSE_XRC=no'
8726 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8731 eval "$wx_cv_use_xrc"
8733 if test x"$enablestring" = xdisable; then
8734 if test $wxUSE_XRC = no; then
8743 { echo "$as_me:$LINENO: result: $result" >&5
8744 echo "${ECHO_T}$result" >&6; }
8748 defaultval=$wxUSE_ALL_FEATURES
8749 if test -z "$defaultval"; then
8750 if test x"$enablestring" = xdisable; then
8757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8758 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8759 # Check whether --enable-aui was given.
8760 if test "${enable_aui+set}" = set; then
8761 enableval=$enable_aui;
8762 if test "$enableval" = yes; then
8763 wx_cv_use_aui='wxUSE_AUI
=yes'
8765 wx_cv_use_aui='wxUSE_AUI
=no
'
8770 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8775 eval "$wx_cv_use_aui"
8777 if test x"$enablestring" = xdisable; then
8778 if test $wxUSE_AUI = no; then
8787 { echo "$as_me:$LINENO: result
: $result" >&5
8788 echo "${ECHO_T}$result" >&6; }
8792 defaultval=$wxUSE_ALL_FEATURES
8793 if test -z "$defaultval"; then
8794 if test x"$enablestring" = xdisable; then
8801 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-propgrid" >&5
8802 echo $ECHO_N "checking
for --${enablestring:-enable}-propgrid...
$ECHO_C" >&6; }
8803 # Check whether --enable-propgrid was given.
8804 if test "${enable_propgrid+set}" = set; then
8805 enableval=$enable_propgrid;
8806 if test "$enableval" = yes; then
8807 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8809 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8814 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8819 eval "$wx_cv_use_propgrid"
8821 if test x
"$enablestring" = xdisable
; then
8822 if test $wxUSE_PROPGRID = no
; then
8828 result
=$wxUSE_PROPGRID
8831 { echo "$as_me:$LINENO: result: $result" >&5
8832 echo "${ECHO_T}$result" >&6; }
8836 defaultval
=$wxUSE_ALL_FEATURES
8837 if test -z "$defaultval"; then
8838 if test x
"$enablestring" = xdisable
; then
8845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8846 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8847 # Check whether --enable-ribbon was given.
8848 if test "${enable_ribbon+set}" = set; then
8849 enableval
=$enable_ribbon;
8850 if test "$enableval" = yes; then
8851 wx_cv_use_ribbon
='wxUSE_RIBBON=yes'
8853 wx_cv_use_ribbon
='wxUSE_RIBBON=no'
8858 wx_cv_use_ribbon
='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8863 eval "$wx_cv_use_ribbon"
8865 if test x"$enablestring" = xdisable; then
8866 if test $wxUSE_RIBBON = no; then
8872 result=$wxUSE_RIBBON
8875 { echo "$as_me:$LINENO: result: $result" >&5
8876 echo "${ECHO_T}$result" >&6; }
8880 defaultval=$wxUSE_ALL_FEATURES
8881 if test -z "$defaultval"; then
8882 if test x"$enablestring" = xdisable; then
8889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8890 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8891 # Check whether --enable-stc was given.
8892 if test "${enable_stc+set}" = set; then
8893 enableval=$enable_stc;
8894 if test "$enableval" = yes; then
8895 wx_cv_use_stc='wxUSE_STC
=yes'
8897 wx_cv_use_stc='wxUSE_STC
=no
'
8902 wx_cv_use_stc='wxUSE_STC
=${'DEFAULT_wxUSE_STC":-$defaultval}"
8907 eval "$wx_cv_use_stc"
8909 if test x"$enablestring" = xdisable; then
8910 if test $wxUSE_STC = no; then
8919 { echo "$as_me:$LINENO: result
: $result" >&5
8920 echo "${ECHO_T}$result" >&6; }
8924 defaultval=$wxUSE_ALL_FEATURES
8925 if test -z "$defaultval"; then
8926 if test x"$enablestring" = xdisable; then
8933 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-constraints" >&5
8934 echo $ECHO_N "checking
for --${enablestring:-enable}-constraints...
$ECHO_C" >&6; }
8935 # Check whether --enable-constraints was given.
8936 if test "${enable_constraints+set}" = set; then
8937 enableval=$enable_constraints;
8938 if test "$enableval" = yes; then
8939 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8941 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8946 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8951 eval "$wx_cv_use_constraints"
8953 if test x
"$enablestring" = xdisable
; then
8954 if test $wxUSE_CONSTRAINTS = no
; then
8960 result
=$wxUSE_CONSTRAINTS
8963 { echo "$as_me:$LINENO: result: $result" >&5
8964 echo "${ECHO_T}$result" >&6; }
8968 defaultval
=$wxUSE_ALL_FEATURES
8969 if test -z "$defaultval"; then
8970 if test x
"$enablestring" = xdisable
; then
8977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8978 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8979 # Check whether --enable-loggui was given.
8980 if test "${enable_loggui+set}" = set; then
8981 enableval
=$enable_loggui;
8982 if test "$enableval" = yes; then
8983 wx_cv_use_loggui
='wxUSE_LOGGUI=yes'
8985 wx_cv_use_loggui
='wxUSE_LOGGUI=no'
8990 wx_cv_use_loggui
='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8995 eval "$wx_cv_use_loggui"
8997 if test x"$enablestring" = xdisable; then
8998 if test $wxUSE_LOGGUI = no; then
9004 result=$wxUSE_LOGGUI
9007 { echo "$as_me:$LINENO: result: $result" >&5
9008 echo "${ECHO_T}$result" >&6; }
9012 defaultval=$wxUSE_ALL_FEATURES
9013 if test -z "$defaultval"; then
9014 if test x"$enablestring" = xdisable; then
9021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9022 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9023 # Check whether --enable-logwin was given.
9024 if test "${enable_logwin+set}" = set; then
9025 enableval=$enable_logwin;
9026 if test "$enableval" = yes; then
9027 wx_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
9029 wx_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
9034 wx_cv_use_logwin='wxUSE_LOGWINDOW
=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9039 eval "$wx_cv_use_logwin"
9041 if test x"$enablestring" = xdisable; then
9042 if test $wxUSE_LOGWINDOW = no; then
9048 result=$wxUSE_LOGWINDOW
9051 { echo "$as_me:$LINENO: result
: $result" >&5
9052 echo "${ECHO_T}$result" >&6; }
9056 defaultval=$wxUSE_ALL_FEATURES
9057 if test -z "$defaultval"; then
9058 if test x"$enablestring" = xdisable; then
9065 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-logdialog" >&5
9066 echo $ECHO_N "checking
for --${enablestring:-enable}-logdialog...
$ECHO_C" >&6; }
9067 # Check whether --enable-logdialog was given.
9068 if test "${enable_logdialog+set}" = set; then
9069 enableval=$enable_logdialog;
9070 if test "$enableval" = yes; then
9071 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9073 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9078 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9083 eval "$wx_cv_use_logdialog"
9085 if test x
"$enablestring" = xdisable
; then
9086 if test $wxUSE_LOGDIALOG = no
; then
9092 result
=$wxUSE_LOGDIALOG
9095 { echo "$as_me:$LINENO: result: $result" >&5
9096 echo "${ECHO_T}$result" >&6; }
9100 defaultval
=$wxUSE_ALL_FEATURES
9101 if test -z "$defaultval"; then
9102 if test x
"$enablestring" = xdisable
; then
9109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9110 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9111 # Check whether --enable-mdi was given.
9112 if test "${enable_mdi+set}" = set; then
9113 enableval
=$enable_mdi;
9114 if test "$enableval" = yes; then
9115 wx_cv_use_mdi
='wxUSE_MDI=yes'
9117 wx_cv_use_mdi
='wxUSE_MDI=no'
9122 wx_cv_use_mdi
='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9127 eval "$wx_cv_use_mdi"
9129 if test x"$enablestring" = xdisable; then
9130 if test $wxUSE_MDI = no; then
9139 { echo "$as_me:$LINENO: result: $result" >&5
9140 echo "${ECHO_T}$result" >&6; }
9144 defaultval=$wxUSE_ALL_FEATURES
9145 if test -z "$defaultval"; then
9146 if test x"$enablestring" = xdisable; then
9153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9154 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9155 # Check whether --enable-mdidoc was given.
9156 if test "${enable_mdidoc+set}" = set; then
9157 enableval=$enable_mdidoc;
9158 if test "$enableval" = yes; then
9159 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
9161 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
9166 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9171 eval "$wx_cv_use_mdidoc"
9173 if test x"$enablestring" = xdisable; then
9174 if test $wxUSE_MDI_ARCHITECTURE = no; then
9180 result=$wxUSE_MDI_ARCHITECTURE
9183 { echo "$as_me:$LINENO: result
: $result" >&5
9184 echo "${ECHO_T}$result" >&6; }
9188 defaultval=$wxUSE_ALL_FEATURES
9189 if test -z "$defaultval"; then
9190 if test x"$enablestring" = xdisable; then
9197 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mediactrl" >&5
9198 echo $ECHO_N "checking
for --${enablestring:-enable}-mediactrl...
$ECHO_C" >&6; }
9199 # Check whether --enable-mediactrl was given.
9200 if test "${enable_mediactrl+set}" = set; then
9201 enableval=$enable_mediactrl;
9202 if test "$enableval" = yes; then
9203 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9205 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9210 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9215 eval "$wx_cv_use_mediactrl"
9217 if test x
"$enablestring" = xdisable
; then
9218 if test $wxUSE_MEDIACTRL = no
; then
9224 result
=$wxUSE_MEDIACTRL
9227 { echo "$as_me:$LINENO: result: $result" >&5
9228 echo "${ECHO_T}$result" >&6; }
9232 defaultval
=$wxUSE_ALL_FEATURES
9233 if test -z "$defaultval"; then
9234 if test x
"$enablestring" = xdisable
; then
9241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9242 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9243 # Check whether --enable-gstreamer8 was given.
9244 if test "${enable_gstreamer8+set}" = set; then
9245 enableval
=$enable_gstreamer8;
9246 if test "$enableval" = yes; then
9247 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
9249 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
9254 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9259 eval "$wx_cv_use_gstreamer8"
9261 if test x"$enablestring" = xdisable; then
9262 if test $wxUSE_GSTREAMER8 = no; then
9268 result=$wxUSE_GSTREAMER8
9271 { echo "$as_me:$LINENO: result: $result" >&5
9272 echo "${ECHO_T}$result" >&6; }
9276 defaultval=$wxUSE_ALL_FEATURES
9277 if test -z "$defaultval"; then
9278 if test x"$enablestring" = xdisable; then
9285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9286 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9287 # Check whether --enable-webkit was given.
9288 if test "${enable_webkit+set}" = set; then
9289 enableval=$enable_webkit;
9290 if test "$enableval" = yes; then
9291 wx_cv_use_webkit='wxUSE_WEBKIT
=yes'
9293 wx_cv_use_webkit='wxUSE_WEBKIT
=no
'
9298 wx_cv_use_webkit='wxUSE_WEBKIT
=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9303 eval "$wx_cv_use_webkit"
9305 if test x"$enablestring" = xdisable; then
9306 if test $wxUSE_WEBKIT = no; then
9312 result=$wxUSE_WEBKIT
9315 { echo "$as_me:$LINENO: result
: $result" >&5
9316 echo "${ECHO_T}$result" >&6; }
9320 defaultval=$wxUSE_ALL_FEATURES
9321 if test -z "$defaultval"; then
9322 if test x"$enablestring" = xdisable; then
9329 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-richtext" >&5
9330 echo $ECHO_N "checking
for --${enablestring:-enable}-richtext...
$ECHO_C" >&6; }
9331 # Check whether --enable-richtext was given.
9332 if test "${enable_richtext+set}" = set; then
9333 enableval=$enable_richtext;
9334 if test "$enableval" = yes; then
9335 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9337 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9342 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9347 eval "$wx_cv_use_richtext"
9349 if test x
"$enablestring" = xdisable
; then
9350 if test $wxUSE_RICHTEXT = no
; then
9356 result
=$wxUSE_RICHTEXT
9359 { echo "$as_me:$LINENO: result: $result" >&5
9360 echo "${ECHO_T}$result" >&6; }
9364 defaultval
=$wxUSE_ALL_FEATURES
9365 if test -z "$defaultval"; then
9366 if test x
"$enablestring" = xdisable
; then
9373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9374 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9375 # Check whether --enable-postscript was given.
9376 if test "${enable_postscript+set}" = set; then
9377 enableval
=$enable_postscript;
9378 if test "$enableval" = yes; then
9379 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
9381 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
9386 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9391 eval "$wx_cv_use_postscript"
9393 if test x"$enablestring" = xdisable; then
9394 if test $wxUSE_POSTSCRIPT = no; then
9400 result=$wxUSE_POSTSCRIPT
9403 { echo "$as_me:$LINENO: result: $result" >&5
9404 echo "${ECHO_T}$result" >&6; }
9408 defaultval=$wxUSE_ALL_FEATURES
9409 if test -z "$defaultval"; then
9410 if test x"$enablestring" = xdisable; then
9417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9418 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9419 # Check whether --enable-printarch was given.
9420 if test "${enable_printarch+set}" = set; then
9421 enableval=$enable_printarch;
9422 if test "$enableval" = yes; then
9423 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
9425 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
9430 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9435 eval "$wx_cv_use_printarch"
9437 if test x"$enablestring" = xdisable; then
9438 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9444 result=$wxUSE_PRINTING_ARCHITECTURE
9447 { echo "$as_me:$LINENO: result
: $result" >&5
9448 echo "${ECHO_T}$result" >&6; }
9452 defaultval=$wxUSE_ALL_FEATURES
9453 if test -z "$defaultval"; then
9454 if test x"$enablestring" = xdisable; then
9461 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-svg" >&5
9462 echo $ECHO_N "checking
for --${enablestring:-enable}-svg...
$ECHO_C" >&6; }
9463 # Check whether --enable-svg was given.
9464 if test "${enable_svg+set}" = set; then
9465 enableval=$enable_svg;
9466 if test "$enableval" = yes; then
9467 wx_cv_use_svg='wxUSE_SVG=yes'
9469 wx_cv_use_svg='wxUSE_SVG=no'
9474 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9479 eval "$wx_cv_use_svg"
9481 if test x
"$enablestring" = xdisable
; then
9482 if test $wxUSE_SVG = no
; then
9491 { echo "$as_me:$LINENO: result: $result" >&5
9492 echo "${ECHO_T}$result" >&6; }
9495 if test "$wxUSE_MAC" != 1; then
9498 defaultval
=$wxUSE_ALL_FEATURES
9499 if test -z "$defaultval"; then
9500 if test x
"$enablestring" = xdisable
; then
9507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9508 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9509 # Check whether --enable-graphics_ctx was given.
9510 if test "${enable_graphics_ctx+set}" = set; then
9511 enableval
=$enable_graphics_ctx;
9512 if test "$enableval" = yes; then
9513 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
9515 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
9520 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9525 eval "$wx_cv_use_graphics_ctx"
9527 if test x"$enablestring" = xdisable; then
9528 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9534 result=$wxUSE_GRAPHICS_CONTEXT
9537 { echo "$as_me:$LINENO: result: $result" >&5
9538 echo "${ECHO_T}$result" >&6; }
9545 defaultval=$wxUSE_ALL_FEATURES
9546 if test -z "$defaultval"; then
9547 if test x"$enablestring" = xdisable; then
9554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9555 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9556 # Check whether --enable-clipboard was given.
9557 if test "${enable_clipboard+set}" = set; then
9558 enableval=$enable_clipboard;
9559 if test "$enableval" = yes; then
9560 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
9562 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
9567 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9572 eval "$wx_cv_use_clipboard"
9574 if test x"$enablestring" = xdisable; then
9575 if test $wxUSE_CLIPBOARD = no; then
9581 result=$wxUSE_CLIPBOARD
9584 { echo "$as_me:$LINENO: result
: $result" >&5
9585 echo "${ECHO_T}$result" >&6; }
9589 defaultval=$wxUSE_ALL_FEATURES
9590 if test -z "$defaultval"; then
9591 if test x"$enablestring" = xdisable; then
9598 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dnd" >&5
9599 echo $ECHO_N "checking
for --${enablestring:-enable}-dnd...
$ECHO_C" >&6; }
9600 # Check whether --enable-dnd was given.
9601 if test "${enable_dnd+set}" = set; then
9602 enableval=$enable_dnd;
9603 if test "$enableval" = yes; then
9604 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9606 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9611 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9616 eval "$wx_cv_use_dnd"
9618 if test x
"$enablestring" = xdisable
; then
9619 if test $wxUSE_DRAG_AND_DROP = no
; then
9625 result
=$wxUSE_DRAG_AND_DROP
9628 { echo "$as_me:$LINENO: result: $result" >&5
9629 echo "${ECHO_T}$result" >&6; }
9633 defaultval
=$wxUSE_ALL_FEATURES
9634 if test -z "$defaultval"; then
9635 if test x
"$enablestring" = xdisable
; then
9642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9643 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9644 # Check whether --enable-metafile was given.
9645 if test "${enable_metafile+set}" = set; then
9646 enableval
=$enable_metafile;
9647 if test "$enableval" = yes; then
9648 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
9650 wx_cv_use_metafile
='wxUSE_METAFILE=no'
9655 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9660 eval "$wx_cv_use_metafile"
9662 if test x"$enablestring" = xdisable; then
9663 if test $wxUSE_METAFILE = no; then
9669 result=$wxUSE_METAFILE
9672 { echo "$as_me:$LINENO: result: $result" >&5
9673 echo "${ECHO_T}$result" >&6; }
9677 DEFAULT_wxUSE_CONTROLS=none
9679 enablestring=disable
9681 if test -z "$defaultval"; then
9682 if test x"$enablestring" = xdisable; then
9689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9690 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9691 # Check whether --enable-controls was given.
9692 if test "${enable_controls+set}" = set; then
9693 enableval=$enable_controls;
9694 if test "$enableval" = yes; then
9695 wx_cv_use_controls='wxUSE_CONTROLS
=yes'
9697 wx_cv_use_controls='wxUSE_CONTROLS
=no
'
9702 wx_cv_use_controls='wxUSE_CONTROLS
=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9707 eval "$wx_cv_use_controls"
9709 if test x"$enablestring" = xdisable; then
9710 if test $wxUSE_CONTROLS = no; then
9716 result=$wxUSE_CONTROLS
9719 { echo "$as_me:$LINENO: result
: $result" >&5
9720 echo "${ECHO_T}$result" >&6; }
9723 if test "$wxUSE_CONTROLS" = "no
"; then
9724 DEFAULT_wxUSE_ACCEL=no
9725 DEFAULT_wxUSE_ANIMATIONCTRL=no
9726 DEFAULT_wxUSE_BMPBUTTON=no
9727 DEFAULT_wxUSE_BUTTON=no
9728 DEFAULT_wxUSE_CALCTRL=no
9729 DEFAULT_wxUSE_CARET=no
9730 DEFAULT_wxUSE_CHECKBOX=no
9731 DEFAULT_wxUSE_CHECKLISTBOX=no
9732 DEFAULT_wxUSE_CHOICE=no
9733 DEFAULT_wxUSE_CHOICEBOOK=no
9734 DEFAULT_wxUSE_COLLPANE=no
9735 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9736 DEFAULT_wxUSE_COMBOBOX=no
9737 DEFAULT_wxUSE_COMBOBOX=no
9738 DEFAULT_wxUSE_DATAVIEWCTRL=no
9739 DEFAULT_wxUSE_DATEPICKCTRL=no
9740 DEFAULT_wxUSE_DETECT_SM=no
9741 DEFAULT_wxUSE_DIRPICKERCTRL=no
9742 DEFAULT_wxUSE_DISPLAY=no
9743 DEFAULT_wxUSE_FILECTRL=no
9744 DEFAULT_wxUSE_FILEPICKERCTRL=no
9745 DEFAULT_wxUSE_FONTPICKERCTRL=no
9746 DEFAULT_wxUSE_GAUGE=no
9747 DEFAULT_wxUSE_GRID=no
9748 DEFAULT_wxUSE_HEADERCTRL=no
9749 DEFAULT_wxUSE_HYPERLINKCTRL=no
9750 DEFAULT_wxUSE_IMAGLIST=no
9751 DEFAULT_wxUSE_LISTBOOK=no
9752 DEFAULT_wxUSE_LISTBOX=no
9753 DEFAULT_wxUSE_LISTCTRL=no
9754 DEFAULT_wxUSE_NOTEBOOK=no
9755 DEFAULT_wxUSE_POPUPWIN=no
9756 DEFAULT_wxUSE_RADIOBOX=no
9757 DEFAULT_wxUSE_RADIOBTN=no
9758 DEFAULT_wxUSE_REARRANGECTRL=no
9759 DEFAULT_wxUSE_SASH=no
9760 DEFAULT_wxUSE_SCROLLBAR=no
9761 DEFAULT_wxUSE_SEARCHCTRL=no
9762 DEFAULT_wxUSE_SLIDER=no
9763 DEFAULT_wxUSE_SPINBTN=no
9764 DEFAULT_wxUSE_SPINCTRL=no
9765 DEFAULT_wxUSE_SPLITTER=no
9766 DEFAULT_wxUSE_STATBMP=no
9767 DEFAULT_wxUSE_STATBOX=no
9768 DEFAULT_wxUSE_STATLINE=no
9769 DEFAULT_wxUSE_STATUSBAR=no
9770 DEFAULT_wxUSE_TIPWINDOW=no
9771 DEFAULT_wxUSE_TOGGLEBTN=no
9772 DEFAULT_wxUSE_TOOLBAR=no
9773 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9774 DEFAULT_wxUSE_TOOLBOOK=no
9775 DEFAULT_wxUSE_TOOLTIPS=no
9776 DEFAULT_wxUSE_TREEBOOK=no
9777 DEFAULT_wxUSE_TREECTRL=no
9782 defaultval=$wxUSE_ALL_FEATURES
9783 if test -z "$defaultval"; then
9784 if test x"$enablestring" = xdisable; then
9791 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accel" >&5
9792 echo $ECHO_N "checking
for --${enablestring:-enable}-accel...
$ECHO_C" >&6; }
9793 # Check whether --enable-accel was given.
9794 if test "${enable_accel+set}" = set; then
9795 enableval=$enable_accel;
9796 if test "$enableval" = yes; then
9797 wx_cv_use_accel='wxUSE_ACCEL=yes'
9799 wx_cv_use_accel='wxUSE_ACCEL=no'
9804 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9809 eval "$wx_cv_use_accel"
9811 if test x
"$enablestring" = xdisable
; then
9812 if test $wxUSE_ACCEL = no
; then
9821 { echo "$as_me:$LINENO: result: $result" >&5
9822 echo "${ECHO_T}$result" >&6; }
9826 defaultval
=$wxUSE_ALL_FEATURES
9827 if test -z "$defaultval"; then
9828 if test x
"$enablestring" = xdisable
; then
9835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9836 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9837 # Check whether --enable-animatectrl was given.
9838 if test "${enable_animatectrl+set}" = set; then
9839 enableval
=$enable_animatectrl;
9840 if test "$enableval" = yes; then
9841 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
9843 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
9848 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9853 eval "$wx_cv_use_animatectrl"
9855 if test x"$enablestring" = xdisable; then
9856 if test $wxUSE_ANIMATIONCTRL = no; then
9862 result=$wxUSE_ANIMATIONCTRL
9865 { echo "$as_me:$LINENO: result: $result" >&5
9866 echo "${ECHO_T}$result" >&6; }
9870 defaultval=$wxUSE_ALL_FEATURES
9871 if test -z "$defaultval"; then
9872 if test x"$enablestring" = xdisable; then
9879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9880 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9881 # Check whether --enable-bmpbutton was given.
9882 if test "${enable_bmpbutton+set}" = set; then
9883 enableval=$enable_bmpbutton;
9884 if test "$enableval" = yes; then
9885 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
9887 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
9892 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9897 eval "$wx_cv_use_bmpbutton"
9899 if test x"$enablestring" = xdisable; then
9900 if test $wxUSE_BMPBUTTON = no; then
9906 result=$wxUSE_BMPBUTTON
9909 { echo "$as_me:$LINENO: result
: $result" >&5
9910 echo "${ECHO_T}$result" >&6; }
9914 defaultval=$wxUSE_ALL_FEATURES
9915 if test -z "$defaultval"; then
9916 if test x"$enablestring" = xdisable; then
9923 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-bmpcombobox" >&5
9924 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpcombobox...
$ECHO_C" >&6; }
9925 # Check whether --enable-bmpcombobox was given.
9926 if test "${enable_bmpcombobox+set}" = set; then
9927 enableval=$enable_bmpcombobox;
9928 if test "$enableval" = yes; then
9929 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9931 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9936 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9941 eval "$wx_cv_use_bmpcombobox"
9943 if test x
"$enablestring" = xdisable
; then
9944 if test $wxUSE_BITMAPCOMBOBOX = no
; then
9950 result
=$wxUSE_BITMAPCOMBOBOX
9953 { echo "$as_me:$LINENO: result: $result" >&5
9954 echo "${ECHO_T}$result" >&6; }
9958 defaultval
=$wxUSE_ALL_FEATURES
9959 if test -z "$defaultval"; then
9960 if test x
"$enablestring" = xdisable
; then
9967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9968 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9969 # Check whether --enable-button was given.
9970 if test "${enable_button+set}" = set; then
9971 enableval
=$enable_button;
9972 if test "$enableval" = yes; then
9973 wx_cv_use_button
='wxUSE_BUTTON=yes'
9975 wx_cv_use_button
='wxUSE_BUTTON=no'
9980 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9985 eval "$wx_cv_use_button"
9987 if test x"$enablestring" = xdisable; then
9988 if test $wxUSE_BUTTON = no; then
9994 result=$wxUSE_BUTTON
9997 { echo "$as_me:$LINENO: result: $result" >&5
9998 echo "${ECHO_T}$result" >&6; }
10002 defaultval=$wxUSE_ALL_FEATURES
10003 if test -z "$defaultval"; then
10004 if test x"$enablestring" = xdisable; then
10011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10012 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10013 # Check whether --enable-calendar was given.
10014 if test "${enable_calendar+set}" = set; then
10015 enableval=$enable_calendar;
10016 if test "$enableval" = yes; then
10017 wx_cv_use_calendar='wxUSE_CALCTRL
=yes'
10019 wx_cv_use_calendar='wxUSE_CALCTRL
=no
'
10024 wx_cv_use_calendar='wxUSE_CALCTRL
=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10029 eval "$wx_cv_use_calendar"
10031 if test x"$enablestring" = xdisable; then
10032 if test $wxUSE_CALCTRL = no; then
10038 result=$wxUSE_CALCTRL
10041 { echo "$as_me:$LINENO: result
: $result" >&5
10042 echo "${ECHO_T}$result" >&6; }
10046 defaultval=$wxUSE_ALL_FEATURES
10047 if test -z "$defaultval"; then
10048 if test x"$enablestring" = xdisable; then
10055 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-caret" >&5
10056 echo $ECHO_N "checking
for --${enablestring:-enable}-caret...
$ECHO_C" >&6; }
10057 # Check whether --enable-caret was given.
10058 if test "${enable_caret+set}" = set; then
10059 enableval=$enable_caret;
10060 if test "$enableval" = yes; then
10061 wx_cv_use_caret='wxUSE_CARET=yes'
10063 wx_cv_use_caret='wxUSE_CARET=no'
10068 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10073 eval "$wx_cv_use_caret"
10075 if test x
"$enablestring" = xdisable
; then
10076 if test $wxUSE_CARET = no
; then
10082 result
=$wxUSE_CARET
10085 { echo "$as_me:$LINENO: result: $result" >&5
10086 echo "${ECHO_T}$result" >&6; }
10090 defaultval
=$wxUSE_ALL_FEATURES
10091 if test -z "$defaultval"; then
10092 if test x
"$enablestring" = xdisable
; then
10099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10100 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10101 # Check whether --enable-checkbox was given.
10102 if test "${enable_checkbox+set}" = set; then
10103 enableval
=$enable_checkbox;
10104 if test "$enableval" = yes; then
10105 wx_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
10107 wx_cv_use_checkbox
='wxUSE_CHECKBOX=no'
10112 wx_cv_use_checkbox
='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10117 eval "$wx_cv_use_checkbox"
10119 if test x"$enablestring" = xdisable; then
10120 if test $wxUSE_CHECKBOX = no; then
10126 result=$wxUSE_CHECKBOX
10129 { echo "$as_me:$LINENO: result: $result" >&5
10130 echo "${ECHO_T}$result" >&6; }
10134 defaultval=$wxUSE_ALL_FEATURES
10135 if test -z "$defaultval"; then
10136 if test x"$enablestring" = xdisable; then
10143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10144 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10145 # Check whether --enable-checklst was given.
10146 if test "${enable_checklst+set}" = set; then
10147 enableval=$enable_checklst;
10148 if test "$enableval" = yes; then
10149 wx_cv_use_checklst='wxUSE_CHECKLST
=yes'
10151 wx_cv_use_checklst='wxUSE_CHECKLST
=no
'
10156 wx_cv_use_checklst='wxUSE_CHECKLST
=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10161 eval "$wx_cv_use_checklst"
10163 if test x"$enablestring" = xdisable; then
10164 if test $wxUSE_CHECKLST = no; then
10170 result=$wxUSE_CHECKLST
10173 { echo "$as_me:$LINENO: result
: $result" >&5
10174 echo "${ECHO_T}$result" >&6; }
10178 defaultval=$wxUSE_ALL_FEATURES
10179 if test -z "$defaultval"; then
10180 if test x"$enablestring" = xdisable; then
10187 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choice" >&5
10188 echo $ECHO_N "checking
for --${enablestring:-enable}-choice...
$ECHO_C" >&6; }
10189 # Check whether --enable-choice was given.
10190 if test "${enable_choice+set}" = set; then
10191 enableval=$enable_choice;
10192 if test "$enableval" = yes; then
10193 wx_cv_use_choice='wxUSE_CHOICE=yes'
10195 wx_cv_use_choice='wxUSE_CHOICE=no'
10200 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10205 eval "$wx_cv_use_choice"
10207 if test x
"$enablestring" = xdisable
; then
10208 if test $wxUSE_CHOICE = no
; then
10214 result
=$wxUSE_CHOICE
10217 { echo "$as_me:$LINENO: result: $result" >&5
10218 echo "${ECHO_T}$result" >&6; }
10222 defaultval
=$wxUSE_ALL_FEATURES
10223 if test -z "$defaultval"; then
10224 if test x
"$enablestring" = xdisable
; then
10231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10232 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10233 # Check whether --enable-choicebook was given.
10234 if test "${enable_choicebook+set}" = set; then
10235 enableval
=$enable_choicebook;
10236 if test "$enableval" = yes; then
10237 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
10239 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
10244 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10249 eval "$wx_cv_use_choicebook"
10251 if test x"$enablestring" = xdisable; then
10252 if test $wxUSE_CHOICEBOOK = no; then
10258 result=$wxUSE_CHOICEBOOK
10261 { echo "$as_me:$LINENO: result: $result" >&5
10262 echo "${ECHO_T}$result" >&6; }
10266 defaultval=$wxUSE_ALL_FEATURES
10267 if test -z "$defaultval"; then
10268 if test x"$enablestring" = xdisable; then
10275 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10276 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10277 # Check whether --enable-collpane was given.
10278 if test "${enable_collpane+set}" = set; then
10279 enableval=$enable_collpane;
10280 if test "$enableval" = yes; then
10281 wx_cv_use_collpane='wxUSE_COLLPANE
=yes'
10283 wx_cv_use_collpane='wxUSE_COLLPANE
=no
'
10288 wx_cv_use_collpane='wxUSE_COLLPANE
=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10293 eval "$wx_cv_use_collpane"
10295 if test x"$enablestring" = xdisable; then
10296 if test $wxUSE_COLLPANE = no; then
10302 result=$wxUSE_COLLPANE
10305 { echo "$as_me:$LINENO: result
: $result" >&5
10306 echo "${ECHO_T}$result" >&6; }
10310 defaultval=$wxUSE_ALL_FEATURES
10311 if test -z "$defaultval"; then
10312 if test x"$enablestring" = xdisable; then
10319 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-colourpicker" >&5
10320 echo $ECHO_N "checking
for --${enablestring:-enable}-colourpicker...
$ECHO_C" >&6; }
10321 # Check whether --enable-colourpicker was given.
10322 if test "${enable_colourpicker+set}" = set; then
10323 enableval=$enable_colourpicker;
10324 if test "$enableval" = yes; then
10325 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10327 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10332 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10337 eval "$wx_cv_use_colourpicker"
10339 if test x
"$enablestring" = xdisable
; then
10340 if test $wxUSE_COLOURPICKERCTRL = no
; then
10346 result
=$wxUSE_COLOURPICKERCTRL
10349 { echo "$as_me:$LINENO: result: $result" >&5
10350 echo "${ECHO_T}$result" >&6; }
10354 defaultval
=$wxUSE_ALL_FEATURES
10355 if test -z "$defaultval"; then
10356 if test x
"$enablestring" = xdisable
; then
10363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10364 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10365 # Check whether --enable-combobox was given.
10366 if test "${enable_combobox+set}" = set; then
10367 enableval
=$enable_combobox;
10368 if test "$enableval" = yes; then
10369 wx_cv_use_combobox
='wxUSE_COMBOBOX=yes'
10371 wx_cv_use_combobox
='wxUSE_COMBOBOX=no'
10376 wx_cv_use_combobox
='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10381 eval "$wx_cv_use_combobox"
10383 if test x"$enablestring" = xdisable; then
10384 if test $wxUSE_COMBOBOX = no; then
10390 result=$wxUSE_COMBOBOX
10393 { echo "$as_me:$LINENO: result: $result" >&5
10394 echo "${ECHO_T}$result" >&6; }
10398 defaultval=$wxUSE_ALL_FEATURES
10399 if test -z "$defaultval"; then
10400 if test x"$enablestring" = xdisable; then
10407 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10408 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10409 # Check whether --enable-comboctrl was given.
10410 if test "${enable_comboctrl+set}" = set; then
10411 enableval=$enable_comboctrl;
10412 if test "$enableval" = yes; then
10413 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=yes'
10415 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=no
'
10420 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10425 eval "$wx_cv_use_comboctrl"
10427 if test x"$enablestring" = xdisable; then
10428 if test $wxUSE_COMBOCTRL = no; then
10434 result=$wxUSE_COMBOCTRL
10437 { echo "$as_me:$LINENO: result
: $result" >&5
10438 echo "${ECHO_T}$result" >&6; }
10442 defaultval=$wxUSE_ALL_FEATURES
10443 if test -z "$defaultval"; then
10444 if test x"$enablestring" = xdisable; then
10451 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataviewctrl" >&5
10452 echo $ECHO_N "checking
for --${enablestring:-enable}-dataviewctrl...
$ECHO_C" >&6; }
10453 # Check whether --enable-dataviewctrl was given.
10454 if test "${enable_dataviewctrl+set}" = set; then
10455 enableval=$enable_dataviewctrl;
10456 if test "$enableval" = yes; then
10457 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10459 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10464 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10469 eval "$wx_cv_use_dataviewctrl"
10471 if test x
"$enablestring" = xdisable
; then
10472 if test $wxUSE_DATAVIEWCTRL = no
; then
10478 result
=$wxUSE_DATAVIEWCTRL
10481 { echo "$as_me:$LINENO: result: $result" >&5
10482 echo "${ECHO_T}$result" >&6; }
10486 defaultval
=$wxUSE_ALL_FEATURES
10487 if test -z "$defaultval"; then
10488 if test x
"$enablestring" = xdisable
; then
10495 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10496 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10497 # Check whether --enable-datepick was given.
10498 if test "${enable_datepick+set}" = set; then
10499 enableval
=$enable_datepick;
10500 if test "$enableval" = yes; then
10501 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
10503 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
10508 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10513 eval "$wx_cv_use_datepick"
10515 if test x"$enablestring" = xdisable; then
10516 if test $wxUSE_DATEPICKCTRL = no; then
10522 result=$wxUSE_DATEPICKCTRL
10525 { echo "$as_me:$LINENO: result: $result" >&5
10526 echo "${ECHO_T}$result" >&6; }
10530 defaultval=$wxUSE_ALL_FEATURES
10531 if test -z "$defaultval"; then
10532 if test x"$enablestring" = xdisable; then
10539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10540 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10541 # Check whether --enable-detect_sm was given.
10542 if test "${enable_detect_sm+set}" = set; then
10543 enableval=$enable_detect_sm;
10544 if test "$enableval" = yes; then
10545 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=yes'
10547 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=no
'
10552 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10557 eval "$wx_cv_use_detect_sm"
10559 if test x"$enablestring" = xdisable; then
10560 if test $wxUSE_DETECT_SM = no; then
10566 result=$wxUSE_DETECT_SM
10569 { echo "$as_me:$LINENO: result
: $result" >&5
10570 echo "${ECHO_T}$result" >&6; }
10574 defaultval=$wxUSE_ALL_FEATURES
10575 if test -z "$defaultval"; then
10576 if test x"$enablestring" = xdisable; then
10583 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirpicker" >&5
10584 echo $ECHO_N "checking
for --${enablestring:-enable}-dirpicker...
$ECHO_C" >&6; }
10585 # Check whether --enable-dirpicker was given.
10586 if test "${enable_dirpicker+set}" = set; then
10587 enableval=$enable_dirpicker;
10588 if test "$enableval" = yes; then
10589 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10591 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10596 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10601 eval "$wx_cv_use_dirpicker"
10603 if test x
"$enablestring" = xdisable
; then
10604 if test $wxUSE_DIRPICKERCTRL = no
; then
10610 result
=$wxUSE_DIRPICKERCTRL
10613 { echo "$as_me:$LINENO: result: $result" >&5
10614 echo "${ECHO_T}$result" >&6; }
10618 defaultval
=$wxUSE_ALL_FEATURES
10619 if test -z "$defaultval"; then
10620 if test x
"$enablestring" = xdisable
; then
10627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10628 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10629 # Check whether --enable-display was given.
10630 if test "${enable_display+set}" = set; then
10631 enableval
=$enable_display;
10632 if test "$enableval" = yes; then
10633 wx_cv_use_display
='wxUSE_DISPLAY=yes'
10635 wx_cv_use_display
='wxUSE_DISPLAY=no'
10640 wx_cv_use_display
='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10645 eval "$wx_cv_use_display"
10647 if test x"$enablestring" = xdisable; then
10648 if test $wxUSE_DISPLAY = no; then
10654 result=$wxUSE_DISPLAY
10657 { echo "$as_me:$LINENO: result: $result" >&5
10658 echo "${ECHO_T}$result" >&6; }
10662 defaultval=$wxUSE_ALL_FEATURES
10663 if test -z "$defaultval"; then
10664 if test x"$enablestring" = xdisable; then
10671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10672 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10673 # Check whether --enable-editablebox was given.
10674 if test "${enable_editablebox+set}" = set; then
10675 enableval=$enable_editablebox;
10676 if test "$enableval" = yes; then
10677 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=yes'
10679 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=no
'
10684 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10689 eval "$wx_cv_use_editablebox"
10691 if test x"$enablestring" = xdisable; then
10692 if test $wxUSE_EDITABLELISTBOX = no; then
10698 result=$wxUSE_EDITABLELISTBOX
10701 { echo "$as_me:$LINENO: result
: $result" >&5
10702 echo "${ECHO_T}$result" >&6; }
10706 defaultval=$wxUSE_ALL_FEATURES
10707 if test -z "$defaultval"; then
10708 if test x"$enablestring" = xdisable; then
10715 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filectrl" >&5
10716 echo $ECHO_N "checking
for --${enablestring:-enable}-filectrl...
$ECHO_C" >&6; }
10717 # Check whether --enable-filectrl was given.
10718 if test "${enable_filectrl+set}" = set; then
10719 enableval=$enable_filectrl;
10720 if test "$enableval" = yes; then
10721 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10723 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10728 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10733 eval "$wx_cv_use_filectrl"
10735 if test x
"$enablestring" = xdisable
; then
10736 if test $wxUSE_FILECTRL = no
; then
10742 result
=$wxUSE_FILECTRL
10745 { echo "$as_me:$LINENO: result: $result" >&5
10746 echo "${ECHO_T}$result" >&6; }
10750 defaultval
=$wxUSE_ALL_FEATURES
10751 if test -z "$defaultval"; then
10752 if test x
"$enablestring" = xdisable
; then
10759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10760 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10761 # Check whether --enable-filepicker was given.
10762 if test "${enable_filepicker+set}" = set; then
10763 enableval
=$enable_filepicker;
10764 if test "$enableval" = yes; then
10765 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
10767 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
10772 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10777 eval "$wx_cv_use_filepicker"
10779 if test x"$enablestring" = xdisable; then
10780 if test $wxUSE_FILEPICKERCTRL = no; then
10786 result=$wxUSE_FILEPICKERCTRL
10789 { echo "$as_me:$LINENO: result: $result" >&5
10790 echo "${ECHO_T}$result" >&6; }
10794 defaultval=$wxUSE_ALL_FEATURES
10795 if test -z "$defaultval"; then
10796 if test x"$enablestring" = xdisable; then
10803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10804 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10805 # Check whether --enable-fontpicker was given.
10806 if test "${enable_fontpicker+set}" = set; then
10807 enableval=$enable_fontpicker;
10808 if test "$enableval" = yes; then
10809 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=yes'
10811 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=no
'
10816 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10821 eval "$wx_cv_use_fontpicker"
10823 if test x"$enablestring" = xdisable; then
10824 if test $wxUSE_FONTPICKERCTRL = no; then
10830 result=$wxUSE_FONTPICKERCTRL
10833 { echo "$as_me:$LINENO: result
: $result" >&5
10834 echo "${ECHO_T}$result" >&6; }
10838 defaultval=$wxUSE_ALL_FEATURES
10839 if test -z "$defaultval"; then
10840 if test x"$enablestring" = xdisable; then
10847 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gauge" >&5
10848 echo $ECHO_N "checking
for --${enablestring:-enable}-gauge...
$ECHO_C" >&6; }
10849 # Check whether --enable-gauge was given.
10850 if test "${enable_gauge+set}" = set; then
10851 enableval=$enable_gauge;
10852 if test "$enableval" = yes; then
10853 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10855 wx_cv_use_gauge='wxUSE_GAUGE=no'
10860 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10865 eval "$wx_cv_use_gauge"
10867 if test x
"$enablestring" = xdisable
; then
10868 if test $wxUSE_GAUGE = no
; then
10874 result
=$wxUSE_GAUGE
10877 { echo "$as_me:$LINENO: result: $result" >&5
10878 echo "${ECHO_T}$result" >&6; }
10882 defaultval
=$wxUSE_ALL_FEATURES
10883 if test -z "$defaultval"; then
10884 if test x
"$enablestring" = xdisable
; then
10891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10892 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10893 # Check whether --enable-grid was given.
10894 if test "${enable_grid+set}" = set; then
10895 enableval
=$enable_grid;
10896 if test "$enableval" = yes; then
10897 wx_cv_use_grid
='wxUSE_GRID=yes'
10899 wx_cv_use_grid
='wxUSE_GRID=no'
10904 wx_cv_use_grid
='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10909 eval "$wx_cv_use_grid"
10911 if test x"$enablestring" = xdisable; then
10912 if test $wxUSE_GRID = no; then
10921 { echo "$as_me:$LINENO: result: $result" >&5
10922 echo "${ECHO_T}$result" >&6; }
10926 defaultval=$wxUSE_ALL_FEATURES
10927 if test -z "$defaultval"; then
10928 if test x"$enablestring" = xdisable; then
10935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10936 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10937 # Check whether --enable-headerctrl was given.
10938 if test "${enable_headerctrl+set}" = set; then
10939 enableval=$enable_headerctrl;
10940 if test "$enableval" = yes; then
10941 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=yes'
10943 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=no
'
10948 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10953 eval "$wx_cv_use_headerctrl"
10955 if test x"$enablestring" = xdisable; then
10956 if test $wxUSE_HEADERCTRL = no; then
10962 result=$wxUSE_HEADERCTRL
10965 { echo "$as_me:$LINENO: result
: $result" >&5
10966 echo "${ECHO_T}$result" >&6; }
10970 defaultval=$wxUSE_ALL_FEATURES
10971 if test -z "$defaultval"; then
10972 if test x"$enablestring" = xdisable; then
10979 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-hyperlink" >&5
10980 echo $ECHO_N "checking
for --${enablestring:-enable}-hyperlink...
$ECHO_C" >&6; }
10981 # Check whether --enable-hyperlink was given.
10982 if test "${enable_hyperlink+set}" = set; then
10983 enableval=$enable_hyperlink;
10984 if test "$enableval" = yes; then
10985 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10987 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10992 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10997 eval "$wx_cv_use_hyperlink"
10999 if test x
"$enablestring" = xdisable
; then
11000 if test $wxUSE_HYPERLINKCTRL = no
; then
11006 result
=$wxUSE_HYPERLINKCTRL
11009 { echo "$as_me:$LINENO: result: $result" >&5
11010 echo "${ECHO_T}$result" >&6; }
11014 defaultval
=$wxUSE_ALL_FEATURES
11015 if test -z "$defaultval"; then
11016 if test x
"$enablestring" = xdisable
; then
11023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11024 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11025 # Check whether --enable-imaglist was given.
11026 if test "${enable_imaglist+set}" = set; then
11027 enableval
=$enable_imaglist;
11028 if test "$enableval" = yes; then
11029 wx_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
11031 wx_cv_use_imaglist
='wxUSE_IMAGLIST=no'
11036 wx_cv_use_imaglist
='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11041 eval "$wx_cv_use_imaglist"
11043 if test x"$enablestring" = xdisable; then
11044 if test $wxUSE_IMAGLIST = no; then
11050 result=$wxUSE_IMAGLIST
11053 { echo "$as_me:$LINENO: result: $result" >&5
11054 echo "${ECHO_T}$result" >&6; }
11058 defaultval=$wxUSE_ALL_FEATURES
11059 if test -z "$defaultval"; then
11060 if test x"$enablestring" = xdisable; then
11067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11068 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11069 # Check whether --enable-infobar was given.
11070 if test "${enable_infobar+set}" = set; then
11071 enableval=$enable_infobar;
11072 if test "$enableval" = yes; then
11073 wx_cv_use_infobar='wxUSE_INFOBAR
=yes'
11075 wx_cv_use_infobar='wxUSE_INFOBAR
=no
'
11080 wx_cv_use_infobar='wxUSE_INFOBAR
=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11085 eval "$wx_cv_use_infobar"
11087 if test x"$enablestring" = xdisable; then
11088 if test $wxUSE_INFOBAR = no; then
11094 result=$wxUSE_INFOBAR
11097 { echo "$as_me:$LINENO: result
: $result" >&5
11098 echo "${ECHO_T}$result" >&6; }
11102 defaultval=$wxUSE_ALL_FEATURES
11103 if test -z "$defaultval"; then
11104 if test x"$enablestring" = xdisable; then
11111 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbook" >&5
11112 echo $ECHO_N "checking
for --${enablestring:-enable}-listbook...
$ECHO_C" >&6; }
11113 # Check whether --enable-listbook was given.
11114 if test "${enable_listbook+set}" = set; then
11115 enableval=$enable_listbook;
11116 if test "$enableval" = yes; then
11117 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11119 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11124 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11129 eval "$wx_cv_use_listbook"
11131 if test x
"$enablestring" = xdisable
; then
11132 if test $wxUSE_LISTBOOK = no
; then
11138 result
=$wxUSE_LISTBOOK
11141 { echo "$as_me:$LINENO: result: $result" >&5
11142 echo "${ECHO_T}$result" >&6; }
11146 defaultval
=$wxUSE_ALL_FEATURES
11147 if test -z "$defaultval"; then
11148 if test x
"$enablestring" = xdisable
; then
11155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11156 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11157 # Check whether --enable-listbox was given.
11158 if test "${enable_listbox+set}" = set; then
11159 enableval
=$enable_listbox;
11160 if test "$enableval" = yes; then
11161 wx_cv_use_listbox
='wxUSE_LISTBOX=yes'
11163 wx_cv_use_listbox
='wxUSE_LISTBOX=no'
11168 wx_cv_use_listbox
='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11173 eval "$wx_cv_use_listbox"
11175 if test x"$enablestring" = xdisable; then
11176 if test $wxUSE_LISTBOX = no; then
11182 result=$wxUSE_LISTBOX
11185 { echo "$as_me:$LINENO: result: $result" >&5
11186 echo "${ECHO_T}$result" >&6; }
11190 defaultval=$wxUSE_ALL_FEATURES
11191 if test -z "$defaultval"; then
11192 if test x"$enablestring" = xdisable; then
11199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11200 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11201 # Check whether --enable-listctrl was given.
11202 if test "${enable_listctrl+set}" = set; then
11203 enableval=$enable_listctrl;
11204 if test "$enableval" = yes; then
11205 wx_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
11207 wx_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
11212 wx_cv_use_listctrl='wxUSE_LISTCTRL
=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11217 eval "$wx_cv_use_listctrl"
11219 if test x"$enablestring" = xdisable; then
11220 if test $wxUSE_LISTCTRL = no; then
11226 result=$wxUSE_LISTCTRL
11229 { echo "$as_me:$LINENO: result
: $result" >&5
11230 echo "${ECHO_T}$result" >&6; }
11234 defaultval=$wxUSE_ALL_FEATURES
11235 if test -z "$defaultval"; then
11236 if test x"$enablestring" = xdisable; then
11243 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-notebook" >&5
11244 echo $ECHO_N "checking
for --${enablestring:-enable}-notebook...
$ECHO_C" >&6; }
11245 # Check whether --enable-notebook was given.
11246 if test "${enable_notebook+set}" = set; then
11247 enableval=$enable_notebook;
11248 if test "$enableval" = yes; then
11249 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11251 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11256 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11261 eval "$wx_cv_use_notebook"
11263 if test x
"$enablestring" = xdisable
; then
11264 if test $wxUSE_NOTEBOOK = no
; then
11270 result
=$wxUSE_NOTEBOOK
11273 { echo "$as_me:$LINENO: result: $result" >&5
11274 echo "${ECHO_T}$result" >&6; }
11278 defaultval
=$wxUSE_ALL_FEATURES
11279 if test -z "$defaultval"; then
11280 if test x
"$enablestring" = xdisable
; then
11287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11288 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11289 # Check whether --enable-notifmsg was given.
11290 if test "${enable_notifmsg+set}" = set; then
11291 enableval
=$enable_notifmsg;
11292 if test "$enableval" = yes; then
11293 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=yes'
11295 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=no'
11300 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11305 eval "$wx_cv_use_notifmsg"
11307 if test x"$enablestring" = xdisable; then
11308 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11314 result=$wxUSE_NOTIFICATION_MESSAGE
11317 { echo "$as_me:$LINENO: result: $result" >&5
11318 echo "${ECHO_T}$result" >&6; }
11322 defaultval=$wxUSE_ALL_FEATURES
11323 if test -z "$defaultval"; then
11324 if test x"$enablestring" = xdisable; then
11331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11332 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11333 # Check whether --enable-odcombobox was given.
11334 if test "${enable_odcombobox+set}" = set; then
11335 enableval=$enable_odcombobox;
11336 if test "$enableval" = yes; then
11337 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=yes'
11339 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=no
'
11344 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11349 eval "$wx_cv_use_odcombobox"
11351 if test x"$enablestring" = xdisable; then
11352 if test $wxUSE_ODCOMBOBOX = no; then
11358 result=$wxUSE_ODCOMBOBOX
11361 { echo "$as_me:$LINENO: result
: $result" >&5
11362 echo "${ECHO_T}$result" >&6; }
11366 defaultval=$wxUSE_ALL_FEATURES
11367 if test -z "$defaultval"; then
11368 if test x"$enablestring" = xdisable; then
11375 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-popupwin" >&5
11376 echo $ECHO_N "checking
for --${enablestring:-enable}-popupwin...
$ECHO_C" >&6; }
11377 # Check whether --enable-popupwin was given.
11378 if test "${enable_popupwin+set}" = set; then
11379 enableval=$enable_popupwin;
11380 if test "$enableval" = yes; then
11381 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11383 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11388 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11393 eval "$wx_cv_use_popupwin"
11395 if test x
"$enablestring" = xdisable
; then
11396 if test $wxUSE_POPUPWIN = no
; then
11402 result
=$wxUSE_POPUPWIN
11405 { echo "$as_me:$LINENO: result: $result" >&5
11406 echo "${ECHO_T}$result" >&6; }
11410 defaultval
=$wxUSE_ALL_FEATURES
11411 if test -z "$defaultval"; then
11412 if test x
"$enablestring" = xdisable
; then
11419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11420 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11421 # Check whether --enable-radiobox was given.
11422 if test "${enable_radiobox+set}" = set; then
11423 enableval
=$enable_radiobox;
11424 if test "$enableval" = yes; then
11425 wx_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
11427 wx_cv_use_radiobox
='wxUSE_RADIOBOX=no'
11432 wx_cv_use_radiobox
='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11437 eval "$wx_cv_use_radiobox"
11439 if test x"$enablestring" = xdisable; then
11440 if test $wxUSE_RADIOBOX = no; then
11446 result=$wxUSE_RADIOBOX
11449 { echo "$as_me:$LINENO: result: $result" >&5
11450 echo "${ECHO_T}$result" >&6; }
11454 defaultval=$wxUSE_ALL_FEATURES
11455 if test -z "$defaultval"; then
11456 if test x"$enablestring" = xdisable; then
11463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11464 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11465 # Check whether --enable-radiobtn was given.
11466 if test "${enable_radiobtn+set}" = set; then
11467 enableval=$enable_radiobtn;
11468 if test "$enableval" = yes; then
11469 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
11471 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
11476 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11481 eval "$wx_cv_use_radiobtn"
11483 if test x"$enablestring" = xdisable; then
11484 if test $wxUSE_RADIOBTN = no; then
11490 result=$wxUSE_RADIOBTN
11493 { echo "$as_me:$LINENO: result
: $result" >&5
11494 echo "${ECHO_T}$result" >&6; }
11498 defaultval=$wxUSE_ALL_FEATURES
11499 if test -z "$defaultval"; then
11500 if test x"$enablestring" = xdisable; then
11507 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-rearrangectrl" >&5
11508 echo $ECHO_N "checking
for --${enablestring:-enable}-rearrangectrl...
$ECHO_C" >&6; }
11509 # Check whether --enable-rearrangectrl was given.
11510 if test "${enable_rearrangectrl+set}" = set; then
11511 enableval=$enable_rearrangectrl;
11512 if test "$enableval" = yes; then
11513 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11515 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11520 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11525 eval "$wx_cv_use_rearrangectrl"
11527 if test x
"$enablestring" = xdisable
; then
11528 if test $wxUSE_REARRANGECTRL = no
; then
11534 result
=$wxUSE_REARRANGECTRL
11537 { echo "$as_me:$LINENO: result: $result" >&5
11538 echo "${ECHO_T}$result" >&6; }
11542 defaultval
=$wxUSE_ALL_FEATURES
11543 if test -z "$defaultval"; then
11544 if test x
"$enablestring" = xdisable
; then
11551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11552 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11553 # Check whether --enable-sash was given.
11554 if test "${enable_sash+set}" = set; then
11555 enableval
=$enable_sash;
11556 if test "$enableval" = yes; then
11557 wx_cv_use_sash
='wxUSE_SASH=yes'
11559 wx_cv_use_sash
='wxUSE_SASH=no'
11564 wx_cv_use_sash
='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11569 eval "$wx_cv_use_sash"
11571 if test x"$enablestring" = xdisable; then
11572 if test $wxUSE_SASH = no; then
11581 { echo "$as_me:$LINENO: result: $result" >&5
11582 echo "${ECHO_T}$result" >&6; }
11586 defaultval=$wxUSE_ALL_FEATURES
11587 if test -z "$defaultval"; then
11588 if test x"$enablestring" = xdisable; then
11595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11596 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11597 # Check whether --enable-scrollbar was given.
11598 if test "${enable_scrollbar+set}" = set; then
11599 enableval=$enable_scrollbar;
11600 if test "$enableval" = yes; then
11601 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
11603 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
11608 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11613 eval "$wx_cv_use_scrollbar"
11615 if test x"$enablestring" = xdisable; then
11616 if test $wxUSE_SCROLLBAR = no; then
11622 result=$wxUSE_SCROLLBAR
11625 { echo "$as_me:$LINENO: result
: $result" >&5
11626 echo "${ECHO_T}$result" >&6; }
11630 defaultval=$wxUSE_ALL_FEATURES
11631 if test -z "$defaultval"; then
11632 if test x"$enablestring" = xdisable; then
11639 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-searchctrl" >&5
11640 echo $ECHO_N "checking
for --${enablestring:-enable}-searchctrl...
$ECHO_C" >&6; }
11641 # Check whether --enable-searchctrl was given.
11642 if test "${enable_searchctrl+set}" = set; then
11643 enableval=$enable_searchctrl;
11644 if test "$enableval" = yes; then
11645 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11647 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11652 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11657 eval "$wx_cv_use_searchctrl"
11659 if test x
"$enablestring" = xdisable
; then
11660 if test $wxUSE_SEARCHCTRL = no
; then
11666 result
=$wxUSE_SEARCHCTRL
11669 { echo "$as_me:$LINENO: result: $result" >&5
11670 echo "${ECHO_T}$result" >&6; }
11674 defaultval
=$wxUSE_ALL_FEATURES
11675 if test -z "$defaultval"; then
11676 if test x
"$enablestring" = xdisable
; then
11683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11684 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11685 # Check whether --enable-slider was given.
11686 if test "${enable_slider+set}" = set; then
11687 enableval
=$enable_slider;
11688 if test "$enableval" = yes; then
11689 wx_cv_use_slider
='wxUSE_SLIDER=yes'
11691 wx_cv_use_slider
='wxUSE_SLIDER=no'
11696 wx_cv_use_slider
='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11701 eval "$wx_cv_use_slider"
11703 if test x"$enablestring" = xdisable; then
11704 if test $wxUSE_SLIDER = no; then
11710 result=$wxUSE_SLIDER
11713 { echo "$as_me:$LINENO: result: $result" >&5
11714 echo "${ECHO_T}$result" >&6; }
11718 defaultval=$wxUSE_ALL_FEATURES
11719 if test -z "$defaultval"; then
11720 if test x"$enablestring" = xdisable; then
11727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11728 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11729 # Check whether --enable-spinbtn was given.
11730 if test "${enable_spinbtn+set}" = set; then
11731 enableval=$enable_spinbtn;
11732 if test "$enableval" = yes; then
11733 wx_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
11735 wx_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
11740 wx_cv_use_spinbtn='wxUSE_SPINBTN
=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11745 eval "$wx_cv_use_spinbtn"
11747 if test x"$enablestring" = xdisable; then
11748 if test $wxUSE_SPINBTN = no; then
11754 result=$wxUSE_SPINBTN
11757 { echo "$as_me:$LINENO: result
: $result" >&5
11758 echo "${ECHO_T}$result" >&6; }
11762 defaultval=$wxUSE_ALL_FEATURES
11763 if test -z "$defaultval"; then
11764 if test x"$enablestring" = xdisable; then
11771 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinctrl" >&5
11772 echo $ECHO_N "checking
for --${enablestring:-enable}-spinctrl...
$ECHO_C" >&6; }
11773 # Check whether --enable-spinctrl was given.
11774 if test "${enable_spinctrl+set}" = set; then
11775 enableval=$enable_spinctrl;
11776 if test "$enableval" = yes; then
11777 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11779 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11784 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11789 eval "$wx_cv_use_spinctrl"
11791 if test x
"$enablestring" = xdisable
; then
11792 if test $wxUSE_SPINCTRL = no
; then
11798 result
=$wxUSE_SPINCTRL
11801 { echo "$as_me:$LINENO: result: $result" >&5
11802 echo "${ECHO_T}$result" >&6; }
11806 defaultval
=$wxUSE_ALL_FEATURES
11807 if test -z "$defaultval"; then
11808 if test x
"$enablestring" = xdisable
; then
11815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11816 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11817 # Check whether --enable-splitter was given.
11818 if test "${enable_splitter+set}" = set; then
11819 enableval
=$enable_splitter;
11820 if test "$enableval" = yes; then
11821 wx_cv_use_splitter
='wxUSE_SPLITTER=yes'
11823 wx_cv_use_splitter
='wxUSE_SPLITTER=no'
11828 wx_cv_use_splitter
='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11833 eval "$wx_cv_use_splitter"
11835 if test x"$enablestring" = xdisable; then
11836 if test $wxUSE_SPLITTER = no; then
11842 result=$wxUSE_SPLITTER
11845 { echo "$as_me:$LINENO: result: $result" >&5
11846 echo "${ECHO_T}$result" >&6; }
11850 defaultval=$wxUSE_ALL_FEATURES
11851 if test -z "$defaultval"; then
11852 if test x"$enablestring" = xdisable; then
11859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11860 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11861 # Check whether --enable-statbmp was given.
11862 if test "${enable_statbmp+set}" = set; then
11863 enableval=$enable_statbmp;
11864 if test "$enableval" = yes; then
11865 wx_cv_use_statbmp='wxUSE_STATBMP
=yes'
11867 wx_cv_use_statbmp='wxUSE_STATBMP
=no
'
11872 wx_cv_use_statbmp='wxUSE_STATBMP
=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11877 eval "$wx_cv_use_statbmp"
11879 if test x"$enablestring" = xdisable; then
11880 if test $wxUSE_STATBMP = no; then
11886 result=$wxUSE_STATBMP
11889 { echo "$as_me:$LINENO: result
: $result" >&5
11890 echo "${ECHO_T}$result" >&6; }
11894 defaultval=$wxUSE_ALL_FEATURES
11895 if test -z "$defaultval"; then
11896 if test x"$enablestring" = xdisable; then
11903 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbox" >&5
11904 echo $ECHO_N "checking
for --${enablestring:-enable}-statbox...
$ECHO_C" >&6; }
11905 # Check whether --enable-statbox was given.
11906 if test "${enable_statbox+set}" = set; then
11907 enableval=$enable_statbox;
11908 if test "$enableval" = yes; then
11909 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11911 wx_cv_use_statbox='wxUSE_STATBOX=no'
11916 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11921 eval "$wx_cv_use_statbox"
11923 if test x
"$enablestring" = xdisable
; then
11924 if test $wxUSE_STATBOX = no
; then
11930 result
=$wxUSE_STATBOX
11933 { echo "$as_me:$LINENO: result: $result" >&5
11934 echo "${ECHO_T}$result" >&6; }
11938 defaultval
=$wxUSE_ALL_FEATURES
11939 if test -z "$defaultval"; then
11940 if test x
"$enablestring" = xdisable
; then
11947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11948 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11949 # Check whether --enable-statline was given.
11950 if test "${enable_statline+set}" = set; then
11951 enableval
=$enable_statline;
11952 if test "$enableval" = yes; then
11953 wx_cv_use_statline
='wxUSE_STATLINE=yes'
11955 wx_cv_use_statline
='wxUSE_STATLINE=no'
11960 wx_cv_use_statline
='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11965 eval "$wx_cv_use_statline"
11967 if test x"$enablestring" = xdisable; then
11968 if test $wxUSE_STATLINE = no; then
11974 result=$wxUSE_STATLINE
11977 { echo "$as_me:$LINENO: result: $result" >&5
11978 echo "${ECHO_T}$result" >&6; }
11982 defaultval=$wxUSE_ALL_FEATURES
11983 if test -z "$defaultval"; then
11984 if test x"$enablestring" = xdisable; then
11991 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11992 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11993 # Check whether --enable-stattext was given.
11994 if test "${enable_stattext+set}" = set; then
11995 enableval=$enable_stattext;
11996 if test "$enableval" = yes; then
11997 wx_cv_use_stattext='wxUSE_STATTEXT
=yes'
11999 wx_cv_use_stattext='wxUSE_STATTEXT
=no
'
12004 wx_cv_use_stattext='wxUSE_STATTEXT
=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12009 eval "$wx_cv_use_stattext"
12011 if test x"$enablestring" = xdisable; then
12012 if test $wxUSE_STATTEXT = no; then
12018 result=$wxUSE_STATTEXT
12021 { echo "$as_me:$LINENO: result
: $result" >&5
12022 echo "${ECHO_T}$result" >&6; }
12026 defaultval=$wxUSE_ALL_FEATURES
12027 if test -z "$defaultval"; then
12028 if test x"$enablestring" = xdisable; then
12035 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statusbar" >&5
12036 echo $ECHO_N "checking
for --${enablestring:-enable}-statusbar...
$ECHO_C" >&6; }
12037 # Check whether --enable-statusbar was given.
12038 if test "${enable_statusbar+set}" = set; then
12039 enableval=$enable_statusbar;
12040 if test "$enableval" = yes; then
12041 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12043 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12048 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12053 eval "$wx_cv_use_statusbar"
12055 if test x
"$enablestring" = xdisable
; then
12056 if test $wxUSE_STATUSBAR = no
; then
12062 result
=$wxUSE_STATUSBAR
12065 { echo "$as_me:$LINENO: result: $result" >&5
12066 echo "${ECHO_T}$result" >&6; }
12070 defaultval
=$wxUSE_ALL_FEATURES
12071 if test -z "$defaultval"; then
12072 if test x
"$enablestring" = xdisable
; then
12079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12080 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12081 # Check whether --enable-taskbaricon was given.
12082 if test "${enable_taskbaricon+set}" = set; then
12083 enableval
=$enable_taskbaricon;
12084 if test "$enableval" = yes; then
12085 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=yes'
12087 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=no'
12092 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12097 eval "$wx_cv_use_taskbaricon"
12099 if test x"$enablestring" = xdisable; then
12100 if test $wxUSE_TASKBARICON = no; then
12106 result=$wxUSE_TASKBARICON
12109 { echo "$as_me:$LINENO: result: $result" >&5
12110 echo "${ECHO_T}$result" >&6; }
12114 defaultval=$wxUSE_ALL_FEATURES
12115 if test -z "$defaultval"; then
12116 if test x"$enablestring" = xdisable; then
12123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12124 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12125 # Check whether --enable-tbarnative was given.
12126 if test "${enable_tbarnative+set}" = set; then
12127 enableval=$enable_tbarnative;
12128 if test "$enableval" = yes; then
12129 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
12131 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
12136 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12141 eval "$wx_cv_use_tbarnative"
12143 if test x"$enablestring" = xdisable; then
12144 if test $wxUSE_TOOLBAR_NATIVE = no; then
12150 result=$wxUSE_TOOLBAR_NATIVE
12153 { echo "$as_me:$LINENO: result
: $result" >&5
12154 echo "${ECHO_T}$result" >&6; }
12158 defaultval=$wxUSE_ALL_FEATURES
12159 if test -z "$defaultval"; then
12160 if test x"$enablestring" = xdisable; then
12167 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textctrl" >&5
12168 echo $ECHO_N "checking
for --${enablestring:-enable}-textctrl...
$ECHO_C" >&6; }
12169 # Check whether --enable-textctrl was given.
12170 if test "${enable_textctrl+set}" = set; then
12171 enableval=$enable_textctrl;
12172 if test "$enableval" = yes; then
12173 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12175 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12180 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12185 eval "$wx_cv_use_textctrl"
12187 if test x
"$enablestring" = xdisable
; then
12188 if test $wxUSE_TEXTCTRL = no
; then
12194 result
=$wxUSE_TEXTCTRL
12197 { echo "$as_me:$LINENO: result: $result" >&5
12198 echo "${ECHO_T}$result" >&6; }
12202 defaultval
=$wxUSE_ALL_FEATURES
12203 if test -z "$defaultval"; then
12204 if test x
"$enablestring" = xdisable
; then
12211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12212 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12213 # Check whether --enable-tipwindow was given.
12214 if test "${enable_tipwindow+set}" = set; then
12215 enableval
=$enable_tipwindow;
12216 if test "$enableval" = yes; then
12217 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
12219 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
12224 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12229 eval "$wx_cv_use_tipwindow"
12231 if test x"$enablestring" = xdisable; then
12232 if test $wxUSE_TIPWINDOW = no; then
12238 result=$wxUSE_TIPWINDOW
12241 { echo "$as_me:$LINENO: result: $result" >&5
12242 echo "${ECHO_T}$result" >&6; }
12246 defaultval=$wxUSE_ALL_FEATURES
12247 if test -z "$defaultval"; then
12248 if test x"$enablestring" = xdisable; then
12255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12256 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12257 # Check whether --enable-togglebtn was given.
12258 if test "${enable_togglebtn+set}" = set; then
12259 enableval=$enable_togglebtn;
12260 if test "$enableval" = yes; then
12261 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
12263 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
12268 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12273 eval "$wx_cv_use_togglebtn"
12275 if test x"$enablestring" = xdisable; then
12276 if test $wxUSE_TOGGLEBTN = no; then
12282 result=$wxUSE_TOGGLEBTN
12285 { echo "$as_me:$LINENO: result
: $result" >&5
12286 echo "${ECHO_T}$result" >&6; }
12290 defaultval=$wxUSE_ALL_FEATURES
12291 if test -z "$defaultval"; then
12292 if test x"$enablestring" = xdisable; then
12299 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbar" >&5
12300 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbar...
$ECHO_C" >&6; }
12301 # Check whether --enable-toolbar was given.
12302 if test "${enable_toolbar+set}" = set; then
12303 enableval=$enable_toolbar;
12304 if test "$enableval" = yes; then
12305 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12307 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12312 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12317 eval "$wx_cv_use_toolbar"
12319 if test x
"$enablestring" = xdisable
; then
12320 if test $wxUSE_TOOLBAR = no
; then
12326 result
=$wxUSE_TOOLBAR
12329 { echo "$as_me:$LINENO: result: $result" >&5
12330 echo "${ECHO_T}$result" >&6; }
12334 defaultval
=$wxUSE_ALL_FEATURES
12335 if test -z "$defaultval"; then
12336 if test x
"$enablestring" = xdisable
; then
12343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12344 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12345 # Check whether --enable-toolbook was given.
12346 if test "${enable_toolbook+set}" = set; then
12347 enableval
=$enable_toolbook;
12348 if test "$enableval" = yes; then
12349 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
12351 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
12356 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12361 eval "$wx_cv_use_toolbook"
12363 if test x"$enablestring" = xdisable; then
12364 if test $wxUSE_TOOLBOOK = no; then
12370 result=$wxUSE_TOOLBOOK
12373 { echo "$as_me:$LINENO: result: $result" >&5
12374 echo "${ECHO_T}$result" >&6; }
12378 defaultval=$wxUSE_ALL_FEATURES
12379 if test -z "$defaultval"; then
12380 if test x"$enablestring" = xdisable; then
12387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12388 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12389 # Check whether --enable-treebook was given.
12390 if test "${enable_treebook+set}" = set; then
12391 enableval=$enable_treebook;
12392 if test "$enableval" = yes; then
12393 wx_cv_use_treebook='wxUSE_TREEBOOK
=yes'
12395 wx_cv_use_treebook='wxUSE_TREEBOOK
=no
'
12400 wx_cv_use_treebook='wxUSE_TREEBOOK
=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12405 eval "$wx_cv_use_treebook"
12407 if test x"$enablestring" = xdisable; then
12408 if test $wxUSE_TREEBOOK = no; then
12414 result=$wxUSE_TREEBOOK
12417 { echo "$as_me:$LINENO: result
: $result" >&5
12418 echo "${ECHO_T}$result" >&6; }
12422 defaultval=$wxUSE_ALL_FEATURES
12423 if test -z "$defaultval"; then
12424 if test x"$enablestring" = xdisable; then
12431 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treectrl" >&5
12432 echo $ECHO_N "checking
for --${enablestring:-enable}-treectrl...
$ECHO_C" >&6; }
12433 # Check whether --enable-treectrl was given.
12434 if test "${enable_treectrl+set}" = set; then
12435 enableval=$enable_treectrl;
12436 if test "$enableval" = yes; then
12437 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12439 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12444 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12449 eval "$wx_cv_use_treectrl"
12451 if test x
"$enablestring" = xdisable
; then
12452 if test $wxUSE_TREECTRL = no
; then
12458 result
=$wxUSE_TREECTRL
12461 { echo "$as_me:$LINENO: result: $result" >&5
12462 echo "${ECHO_T}$result" >&6; }
12468 defaultval
=$wxUSE_ALL_FEATURES
12469 if test -z "$defaultval"; then
12470 if test x
"$enablestring" = xdisable
; then
12477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12478 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12479 # Check whether --enable-commondlg was given.
12480 if test "${enable_commondlg+set}" = set; then
12481 enableval
=$enable_commondlg;
12482 if test "$enableval" = yes; then
12483 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
12485 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
12490 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12495 eval "$wx_cv_use_commondlg"
12497 if test x"$enablestring" = xdisable; then
12498 if test $wxUSE_COMMONDLGS = no; then
12504 result=$wxUSE_COMMONDLGS
12507 { echo "$as_me:$LINENO: result: $result" >&5
12508 echo "${ECHO_T}$result" >&6; }
12512 defaultval=$wxUSE_ALL_FEATURES
12513 if test -z "$defaultval"; then
12514 if test x"$enablestring" = xdisable; then
12521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12522 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12523 # Check whether --enable-aboutdlg was given.
12524 if test "${enable_aboutdlg+set}" = set; then
12525 enableval=$enable_aboutdlg;
12526 if test "$enableval" = yes; then
12527 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=yes'
12529 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=no
'
12534 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12539 eval "$wx_cv_use_aboutdlg"
12541 if test x"$enablestring" = xdisable; then
12542 if test $wxUSE_ABOUTDLG = no; then
12548 result=$wxUSE_ABOUTDLG
12551 { echo "$as_me:$LINENO: result
: $result" >&5
12552 echo "${ECHO_T}$result" >&6; }
12556 defaultval=$wxUSE_ALL_FEATURES
12557 if test -z "$defaultval"; then
12558 if test x"$enablestring" = xdisable; then
12565 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicedlg" >&5
12566 echo $ECHO_N "checking
for --${enablestring:-enable}-choicedlg...
$ECHO_C" >&6; }
12567 # Check whether --enable-choicedlg was given.
12568 if test "${enable_choicedlg+set}" = set; then
12569 enableval=$enable_choicedlg;
12570 if test "$enableval" = yes; then
12571 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12573 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12578 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12583 eval "$wx_cv_use_choicedlg"
12585 if test x
"$enablestring" = xdisable
; then
12586 if test $wxUSE_CHOICEDLG = no
; then
12592 result
=$wxUSE_CHOICEDLG
12595 { echo "$as_me:$LINENO: result: $result" >&5
12596 echo "${ECHO_T}$result" >&6; }
12600 defaultval
=$wxUSE_ALL_FEATURES
12601 if test -z "$defaultval"; then
12602 if test x
"$enablestring" = xdisable
; then
12609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12610 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12611 # Check whether --enable-coldlg was given.
12612 if test "${enable_coldlg+set}" = set; then
12613 enableval
=$enable_coldlg;
12614 if test "$enableval" = yes; then
12615 wx_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
12617 wx_cv_use_coldlg
='wxUSE_COLOURDLG=no'
12622 wx_cv_use_coldlg
='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12627 eval "$wx_cv_use_coldlg"
12629 if test x"$enablestring" = xdisable; then
12630 if test $wxUSE_COLOURDLG = no; then
12636 result=$wxUSE_COLOURDLG
12639 { echo "$as_me:$LINENO: result: $result" >&5
12640 echo "${ECHO_T}$result" >&6; }
12644 defaultval=$wxUSE_ALL_FEATURES
12645 if test -z "$defaultval"; then
12646 if test x"$enablestring" = xdisable; then
12653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12654 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12655 # Check whether --enable-filedlg was given.
12656 if test "${enable_filedlg+set}" = set; then
12657 enableval=$enable_filedlg;
12658 if test "$enableval" = yes; then
12659 wx_cv_use_filedlg='wxUSE_FILEDLG
=yes'
12661 wx_cv_use_filedlg='wxUSE_FILEDLG
=no
'
12666 wx_cv_use_filedlg='wxUSE_FILEDLG
=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12671 eval "$wx_cv_use_filedlg"
12673 if test x"$enablestring" = xdisable; then
12674 if test $wxUSE_FILEDLG = no; then
12680 result=$wxUSE_FILEDLG
12683 { echo "$as_me:$LINENO: result
: $result" >&5
12684 echo "${ECHO_T}$result" >&6; }
12688 defaultval=$wxUSE_ALL_FEATURES
12689 if test -z "$defaultval"; then
12690 if test x"$enablestring" = xdisable; then
12697 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-finddlg" >&5
12698 echo $ECHO_N "checking
for --${enablestring:-enable}-finddlg...
$ECHO_C" >&6; }
12699 # Check whether --enable-finddlg was given.
12700 if test "${enable_finddlg+set}" = set; then
12701 enableval=$enable_finddlg;
12702 if test "$enableval" = yes; then
12703 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12705 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12710 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12715 eval "$wx_cv_use_finddlg"
12717 if test x
"$enablestring" = xdisable
; then
12718 if test $wxUSE_FINDREPLDLG = no
; then
12724 result
=$wxUSE_FINDREPLDLG
12727 { echo "$as_me:$LINENO: result: $result" >&5
12728 echo "${ECHO_T}$result" >&6; }
12732 defaultval
=$wxUSE_ALL_FEATURES
12733 if test -z "$defaultval"; then
12734 if test x
"$enablestring" = xdisable
; then
12741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12742 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12743 # Check whether --enable-fontdlg was given.
12744 if test "${enable_fontdlg+set}" = set; then
12745 enableval
=$enable_fontdlg;
12746 if test "$enableval" = yes; then
12747 wx_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
12749 wx_cv_use_fontdlg
='wxUSE_FONTDLG=no'
12754 wx_cv_use_fontdlg
='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12759 eval "$wx_cv_use_fontdlg"
12761 if test x"$enablestring" = xdisable; then
12762 if test $wxUSE_FONTDLG = no; then
12768 result=$wxUSE_FONTDLG
12771 { echo "$as_me:$LINENO: result: $result" >&5
12772 echo "${ECHO_T}$result" >&6; }
12776 defaultval=$wxUSE_ALL_FEATURES
12777 if test -z "$defaultval"; then
12778 if test x"$enablestring" = xdisable; then
12785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12786 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12787 # Check whether --enable-dirdlg was given.
12788 if test "${enable_dirdlg+set}" = set; then
12789 enableval=$enable_dirdlg;
12790 if test "$enableval" = yes; then
12791 wx_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
12793 wx_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
12798 wx_cv_use_dirdlg='wxUSE_DIRDLG
=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12803 eval "$wx_cv_use_dirdlg"
12805 if test x"$enablestring" = xdisable; then
12806 if test $wxUSE_DIRDLG = no; then
12812 result=$wxUSE_DIRDLG
12815 { echo "$as_me:$LINENO: result
: $result" >&5
12816 echo "${ECHO_T}$result" >&6; }
12820 defaultval=$wxUSE_ALL_FEATURES
12821 if test -z "$defaultval"; then
12822 if test x"$enablestring" = xdisable; then
12829 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-msgdlg" >&5
12830 echo $ECHO_N "checking
for --${enablestring:-enable}-msgdlg...
$ECHO_C" >&6; }
12831 # Check whether --enable-msgdlg was given.
12832 if test "${enable_msgdlg+set}" = set; then
12833 enableval=$enable_msgdlg;
12834 if test "$enableval" = yes; then
12835 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12837 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12842 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12847 eval "$wx_cv_use_msgdlg"
12849 if test x
"$enablestring" = xdisable
; then
12850 if test $wxUSE_MSGDLG = no
; then
12856 result
=$wxUSE_MSGDLG
12859 { echo "$as_me:$LINENO: result: $result" >&5
12860 echo "${ECHO_T}$result" >&6; }
12864 defaultval
=$wxUSE_ALL_FEATURES
12865 if test -z "$defaultval"; then
12866 if test x
"$enablestring" = xdisable
; then
12873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12874 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12875 # Check whether --enable-numberdlg was given.
12876 if test "${enable_numberdlg+set}" = set; then
12877 enableval
=$enable_numberdlg;
12878 if test "$enableval" = yes; then
12879 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
12881 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
12886 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12891 eval "$wx_cv_use_numberdlg"
12893 if test x"$enablestring" = xdisable; then
12894 if test $wxUSE_NUMBERDLG = no; then
12900 result=$wxUSE_NUMBERDLG
12903 { echo "$as_me:$LINENO: result: $result" >&5
12904 echo "${ECHO_T}$result" >&6; }
12908 defaultval=$wxUSE_ALL_FEATURES
12909 if test -z "$defaultval"; then
12910 if test x"$enablestring" = xdisable; then
12917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12918 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12919 # Check whether --enable-splash was given.
12920 if test "${enable_splash+set}" = set; then
12921 enableval=$enable_splash;
12922 if test "$enableval" = yes; then
12923 wx_cv_use_splash='wxUSE_SPLASH
=yes'
12925 wx_cv_use_splash='wxUSE_SPLASH
=no
'
12930 wx_cv_use_splash='wxUSE_SPLASH
=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12935 eval "$wx_cv_use_splash"
12937 if test x"$enablestring" = xdisable; then
12938 if test $wxUSE_SPLASH = no; then
12944 result=$wxUSE_SPLASH
12947 { echo "$as_me:$LINENO: result
: $result" >&5
12948 echo "${ECHO_T}$result" >&6; }
12952 defaultval=$wxUSE_ALL_FEATURES
12953 if test -z "$defaultval"; then
12954 if test x"$enablestring" = xdisable; then
12961 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textdlg" >&5
12962 echo $ECHO_N "checking
for --${enablestring:-enable}-textdlg...
$ECHO_C" >&6; }
12963 # Check whether --enable-textdlg was given.
12964 if test "${enable_textdlg+set}" = set; then
12965 enableval=$enable_textdlg;
12966 if test "$enableval" = yes; then
12967 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12969 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12974 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12979 eval "$wx_cv_use_textdlg"
12981 if test x
"$enablestring" = xdisable
; then
12982 if test $wxUSE_TEXTDLG = no
; then
12988 result
=$wxUSE_TEXTDLG
12991 { echo "$as_me:$LINENO: result: $result" >&5
12992 echo "${ECHO_T}$result" >&6; }
12996 defaultval
=$wxUSE_ALL_FEATURES
12997 if test -z "$defaultval"; then
12998 if test x
"$enablestring" = xdisable
; then
13005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13006 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13007 # Check whether --enable-tipdlg was given.
13008 if test "${enable_tipdlg+set}" = set; then
13009 enableval
=$enable_tipdlg;
13010 if test "$enableval" = yes; then
13011 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
13013 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
13018 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13023 eval "$wx_cv_use_tipdlg"
13025 if test x"$enablestring" = xdisable; then
13026 if test $wxUSE_STARTUP_TIPS = no; then
13032 result=$wxUSE_STARTUP_TIPS
13035 { echo "$as_me:$LINENO: result: $result" >&5
13036 echo "${ECHO_T}$result" >&6; }
13040 defaultval=$wxUSE_ALL_FEATURES
13041 if test -z "$defaultval"; then
13042 if test x"$enablestring" = xdisable; then
13049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13050 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13051 # Check whether --enable-progressdlg was given.
13052 if test "${enable_progressdlg+set}" = set; then
13053 enableval=$enable_progressdlg;
13054 if test "$enableval" = yes; then
13055 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
13057 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
13062 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13067 eval "$wx_cv_use_progressdlg"
13069 if test x"$enablestring" = xdisable; then
13070 if test $wxUSE_PROGRESSDLG = no; then
13076 result=$wxUSE_PROGRESSDLG
13079 { echo "$as_me:$LINENO: result
: $result" >&5
13080 echo "${ECHO_T}$result" >&6; }
13084 defaultval=$wxUSE_ALL_FEATURES
13085 if test -z "$defaultval"; then
13086 if test x"$enablestring" = xdisable; then
13093 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wizarddlg" >&5
13094 echo $ECHO_N "checking
for --${enablestring:-enable}-wizarddlg...
$ECHO_C" >&6; }
13095 # Check whether --enable-wizarddlg was given.
13096 if test "${enable_wizarddlg+set}" = set; then
13097 enableval=$enable_wizarddlg;
13098 if test "$enableval" = yes; then
13099 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13101 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13106 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13111 eval "$wx_cv_use_wizarddlg"
13113 if test x
"$enablestring" = xdisable
; then
13114 if test $wxUSE_WIZARDDLG = no
; then
13120 result
=$wxUSE_WIZARDDLG
13123 { echo "$as_me:$LINENO: result: $result" >&5
13124 echo "${ECHO_T}$result" >&6; }
13130 defaultval
=$wxUSE_ALL_FEATURES
13131 if test -z "$defaultval"; then
13132 if test x
"$enablestring" = xdisable
; then
13139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13140 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13141 # Check whether --enable-menus was given.
13142 if test "${enable_menus+set}" = set; then
13143 enableval
=$enable_menus;
13144 if test "$enableval" = yes; then
13145 wx_cv_use_menus
='wxUSE_MENUS=yes'
13147 wx_cv_use_menus
='wxUSE_MENUS=no'
13152 wx_cv_use_menus
='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13157 eval "$wx_cv_use_menus"
13159 if test x"$enablestring" = xdisable; then
13160 if test $wxUSE_MENUS = no; then
13166 result=$wxUSE_MENUS
13169 { echo "$as_me:$LINENO: result: $result" >&5
13170 echo "${ECHO_T}$result" >&6; }
13174 defaultval=$wxUSE_ALL_FEATURES
13175 if test -z "$defaultval"; then
13176 if test x"$enablestring" = xdisable; then
13183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13184 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13185 # Check whether --enable-miniframe was given.
13186 if test "${enable_miniframe+set}" = set; then
13187 enableval=$enable_miniframe;
13188 if test "$enableval" = yes; then
13189 wx_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
13191 wx_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
13196 wx_cv_use_miniframe='wxUSE_MINIFRAME
=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13201 eval "$wx_cv_use_miniframe"
13203 if test x"$enablestring" = xdisable; then
13204 if test $wxUSE_MINIFRAME = no; then
13210 result=$wxUSE_MINIFRAME
13213 { echo "$as_me:$LINENO: result
: $result" >&5
13214 echo "${ECHO_T}$result" >&6; }
13218 defaultval=$wxUSE_ALL_FEATURES
13219 if test -z "$defaultval"; then
13220 if test x"$enablestring" = xdisable; then
13227 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tooltips" >&5
13228 echo $ECHO_N "checking
for --${enablestring:-enable}-tooltips...
$ECHO_C" >&6; }
13229 # Check whether --enable-tooltips was given.
13230 if test "${enable_tooltips+set}" = set; then
13231 enableval=$enable_tooltips;
13232 if test "$enableval" = yes; then
13233 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13235 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13240 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13245 eval "$wx_cv_use_tooltips"
13247 if test x
"$enablestring" = xdisable
; then
13248 if test $wxUSE_TOOLTIPS = no
; then
13254 result
=$wxUSE_TOOLTIPS
13257 { echo "$as_me:$LINENO: result: $result" >&5
13258 echo "${ECHO_T}$result" >&6; }
13262 defaultval
=$wxUSE_ALL_FEATURES
13263 if test -z "$defaultval"; then
13264 if test x
"$enablestring" = xdisable
; then
13271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13272 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13273 # Check whether --enable-splines was given.
13274 if test "${enable_splines+set}" = set; then
13275 enableval
=$enable_splines;
13276 if test "$enableval" = yes; then
13277 wx_cv_use_splines
='wxUSE_SPLINES=yes'
13279 wx_cv_use_splines
='wxUSE_SPLINES=no'
13284 wx_cv_use_splines
='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13289 eval "$wx_cv_use_splines"
13291 if test x"$enablestring" = xdisable; then
13292 if test $wxUSE_SPLINES = no; then
13298 result=$wxUSE_SPLINES
13301 { echo "$as_me:$LINENO: result: $result" >&5
13302 echo "${ECHO_T}$result" >&6; }
13306 defaultval=$wxUSE_ALL_FEATURES
13307 if test -z "$defaultval"; then
13308 if test x"$enablestring" = xdisable; then
13315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13316 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13317 # Check whether --enable-mousewheel was given.
13318 if test "${enable_mousewheel+set}" = set; then
13319 enableval=$enable_mousewheel;
13320 if test "$enableval" = yes; then
13321 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
13323 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
13328 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13333 eval "$wx_cv_use_mousewheel"
13335 if test x"$enablestring" = xdisable; then
13336 if test $wxUSE_MOUSEWHEEL = no; then
13342 result=$wxUSE_MOUSEWHEEL
13345 { echo "$as_me:$LINENO: result
: $result" >&5
13346 echo "${ECHO_T}$result" >&6; }
13350 defaultval=$wxUSE_ALL_FEATURES
13351 if test -z "$defaultval"; then
13352 if test x"$enablestring" = xdisable; then
13359 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-validators" >&5
13360 echo $ECHO_N "checking
for --${enablestring:-enable}-validators...
$ECHO_C" >&6; }
13361 # Check whether --enable-validators was given.
13362 if test "${enable_validators+set}" = set; then
13363 enableval=$enable_validators;
13364 if test "$enableval" = yes; then
13365 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13367 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13372 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13377 eval "$wx_cv_use_validators"
13379 if test x
"$enablestring" = xdisable
; then
13380 if test $wxUSE_VALIDATORS = no
; then
13386 result
=$wxUSE_VALIDATORS
13389 { echo "$as_me:$LINENO: result: $result" >&5
13390 echo "${ECHO_T}$result" >&6; }
13394 defaultval
=$wxUSE_ALL_FEATURES
13395 if test -z "$defaultval"; then
13396 if test x
"$enablestring" = xdisable
; then
13403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13404 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13405 # Check whether --enable-busyinfo was given.
13406 if test "${enable_busyinfo+set}" = set; then
13407 enableval
=$enable_busyinfo;
13408 if test "$enableval" = yes; then
13409 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
13411 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
13416 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13421 eval "$wx_cv_use_busyinfo"
13423 if test x"$enablestring" = xdisable; then
13424 if test $wxUSE_BUSYINFO = no; then
13430 result=$wxUSE_BUSYINFO
13433 { echo "$as_me:$LINENO: result: $result" >&5
13434 echo "${ECHO_T}$result" >&6; }
13438 defaultval=$wxUSE_ALL_FEATURES
13439 if test -z "$defaultval"; then
13440 if test x"$enablestring" = xdisable; then
13447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13448 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13449 # Check whether --enable-joystick was given.
13450 if test "${enable_joystick+set}" = set; then
13451 enableval=$enable_joystick;
13452 if test "$enableval" = yes; then
13453 wx_cv_use_joystick='wxUSE_JOYSTICK
=yes'
13455 wx_cv_use_joystick='wxUSE_JOYSTICK
=no
'
13460 wx_cv_use_joystick='wxUSE_JOYSTICK
=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13465 eval "$wx_cv_use_joystick"
13467 if test x"$enablestring" = xdisable; then
13468 if test $wxUSE_JOYSTICK = no; then
13474 result=$wxUSE_JOYSTICK
13477 { echo "$as_me:$LINENO: result
: $result" >&5
13478 echo "${ECHO_T}$result" >&6; }
13482 defaultval=$wxUSE_ALL_FEATURES
13483 if test -z "$defaultval"; then
13484 if test x"$enablestring" = xdisable; then
13491 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
13492 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
13493 # Check whether --enable-metafile was given.
13494 if test "${enable_metafile+set}" = set; then
13495 enableval=$enable_metafile;
13496 if test "$enableval" = yes; then
13497 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13499 wx_cv_use_metafile='wxUSE_METAFILE=no'
13504 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13509 eval "$wx_cv_use_metafile"
13511 if test x
"$enablestring" = xdisable
; then
13512 if test $wxUSE_METAFILE = no
; then
13518 result
=$wxUSE_METAFILE
13521 { echo "$as_me:$LINENO: result: $result" >&5
13522 echo "${ECHO_T}$result" >&6; }
13526 defaultval
=$wxUSE_ALL_FEATURES
13527 if test -z "$defaultval"; then
13528 if test x
"$enablestring" = xdisable
; then
13535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13536 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13537 # Check whether --enable-dragimage was given.
13538 if test "${enable_dragimage+set}" = set; then
13539 enableval
=$enable_dragimage;
13540 if test "$enableval" = yes; then
13541 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
13543 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
13548 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13553 eval "$wx_cv_use_dragimage"
13555 if test x"$enablestring" = xdisable; then
13556 if test $wxUSE_DRAGIMAGE = no; then
13562 result=$wxUSE_DRAGIMAGE
13565 { echo "$as_me:$LINENO: result: $result" >&5
13566 echo "${ECHO_T}$result" >&6; }
13570 defaultval=$wxUSE_ALL_FEATURES
13571 if test -z "$defaultval"; then
13572 if test x"$enablestring" = xdisable; then
13579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13580 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13581 # Check whether --enable-accessibility was given.
13582 if test "${enable_accessibility+set}" = set; then
13583 enableval=$enable_accessibility;
13584 if test "$enableval" = yes; then
13585 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
13587 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
13592 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13597 eval "$wx_cv_use_accessibility"
13599 if test x"$enablestring" = xdisable; then
13600 if test $wxUSE_ACCESSIBILITY = no; then
13606 result=$wxUSE_ACCESSIBILITY
13609 { echo "$as_me:$LINENO: result
: $result" >&5
13610 echo "${ECHO_T}$result" >&6; }
13614 defaultval=$wxUSE_ALL_FEATURES
13615 if test -z "$defaultval"; then
13616 if test x"$enablestring" = xdisable; then
13623 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-uiactionsim" >&5
13624 echo $ECHO_N "checking
for --${enablestring:-enable}-uiactionsim...
$ECHO_C" >&6; }
13625 # Check whether --enable-uiactionsim was given.
13626 if test "${enable_uiactionsim+set}" = set; then
13627 enableval=$enable_uiactionsim;
13628 if test "$enableval" = yes; then
13629 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
13631 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
13636 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
13641 eval "$wx_cv_use_uiactionsim"
13643 if test x
"$enablestring" = xdisable
; then
13644 if test $wxUSE_UIACTIONSIMULATOR = no
; then
13650 result
=$wxUSE_UIACTIONSIMULATOR
13653 { echo "$as_me:$LINENO: result: $result" >&5
13654 echo "${ECHO_T}$result" >&6; }
13660 defaultval
=$wxUSE_ALL_FEATURES
13661 if test -z "$defaultval"; then
13662 if test x
"$enablestring" = xdisable
; then
13669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13670 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13671 # Check whether --enable-palette was given.
13672 if test "${enable_palette+set}" = set; then
13673 enableval
=$enable_palette;
13674 if test "$enableval" = yes; then
13675 wx_cv_use_palette
='wxUSE_PALETTE=yes'
13677 wx_cv_use_palette
='wxUSE_PALETTE=no'
13682 wx_cv_use_palette
='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13687 eval "$wx_cv_use_palette"
13689 if test x"$enablestring" = xdisable; then
13690 if test $wxUSE_PALETTE = no; then
13696 result=$wxUSE_PALETTE
13699 { echo "$as_me:$LINENO: result: $result" >&5
13700 echo "${ECHO_T}$result" >&6; }
13704 defaultval=$wxUSE_ALL_FEATURES
13705 if test -z "$defaultval"; then
13706 if test x"$enablestring" = xdisable; then
13713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13714 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13715 # Check whether --enable-image was given.
13716 if test "${enable_image+set}" = set; then
13717 enableval=$enable_image;
13718 if test "$enableval" = yes; then
13719 wx_cv_use_image='wxUSE_IMAGE
=yes'
13721 wx_cv_use_image='wxUSE_IMAGE
=no
'
13726 wx_cv_use_image='wxUSE_IMAGE
=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13731 eval "$wx_cv_use_image"
13733 if test x"$enablestring" = xdisable; then
13734 if test $wxUSE_IMAGE = no; then
13740 result=$wxUSE_IMAGE
13743 { echo "$as_me:$LINENO: result
: $result" >&5
13744 echo "${ECHO_T}$result" >&6; }
13748 defaultval=$wxUSE_ALL_FEATURES
13749 if test -z "$defaultval"; then
13750 if test x"$enablestring" = xdisable; then
13757 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gif" >&5
13758 echo $ECHO_N "checking
for --${enablestring:-enable}-gif...
$ECHO_C" >&6; }
13759 # Check whether --enable-gif was given.
13760 if test "${enable_gif+set}" = set; then
13761 enableval=$enable_gif;
13762 if test "$enableval" = yes; then
13763 wx_cv_use_gif='wxUSE_GIF=yes'
13765 wx_cv_use_gif='wxUSE_GIF=no'
13770 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13775 eval "$wx_cv_use_gif"
13777 if test x
"$enablestring" = xdisable
; then
13778 if test $wxUSE_GIF = no
; then
13787 { echo "$as_me:$LINENO: result: $result" >&5
13788 echo "${ECHO_T}$result" >&6; }
13792 defaultval
=$wxUSE_ALL_FEATURES
13793 if test -z "$defaultval"; then
13794 if test x
"$enablestring" = xdisable
; then
13801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13802 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13803 # Check whether --enable-pcx was given.
13804 if test "${enable_pcx+set}" = set; then
13805 enableval
=$enable_pcx;
13806 if test "$enableval" = yes; then
13807 wx_cv_use_pcx
='wxUSE_PCX=yes'
13809 wx_cv_use_pcx
='wxUSE_PCX=no'
13814 wx_cv_use_pcx
='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13819 eval "$wx_cv_use_pcx"
13821 if test x"$enablestring" = xdisable; then
13822 if test $wxUSE_PCX = no; then
13831 { echo "$as_me:$LINENO: result: $result" >&5
13832 echo "${ECHO_T}$result" >&6; }
13836 defaultval=$wxUSE_ALL_FEATURES
13837 if test -z "$defaultval"; then
13838 if test x"$enablestring" = xdisable; then
13845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13846 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13847 # Check whether --enable-tga was given.
13848 if test "${enable_tga+set}" = set; then
13849 enableval=$enable_tga;
13850 if test "$enableval" = yes; then
13851 wx_cv_use_tga='wxUSE_TGA
=yes'
13853 wx_cv_use_tga='wxUSE_TGA
=no
'
13858 wx_cv_use_tga='wxUSE_TGA
=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13863 eval "$wx_cv_use_tga"
13865 if test x"$enablestring" = xdisable; then
13866 if test $wxUSE_TGA = no; then
13875 { echo "$as_me:$LINENO: result
: $result" >&5
13876 echo "${ECHO_T}$result" >&6; }
13880 defaultval=$wxUSE_ALL_FEATURES
13881 if test -z "$defaultval"; then
13882 if test x"$enablestring" = xdisable; then
13889 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iff" >&5
13890 echo $ECHO_N "checking
for --${enablestring:-enable}-iff...
$ECHO_C" >&6; }
13891 # Check whether --enable-iff was given.
13892 if test "${enable_iff+set}" = set; then
13893 enableval=$enable_iff;
13894 if test "$enableval" = yes; then
13895 wx_cv_use_iff='wxUSE_IFF=yes'
13897 wx_cv_use_iff='wxUSE_IFF=no'
13902 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13907 eval "$wx_cv_use_iff"
13909 if test x
"$enablestring" = xdisable
; then
13910 if test $wxUSE_IFF = no
; then
13919 { echo "$as_me:$LINENO: result: $result" >&5
13920 echo "${ECHO_T}$result" >&6; }
13924 defaultval
=$wxUSE_ALL_FEATURES
13925 if test -z "$defaultval"; then
13926 if test x
"$enablestring" = xdisable
; then
13933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13934 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13935 # Check whether --enable-pnm was given.
13936 if test "${enable_pnm+set}" = set; then
13937 enableval
=$enable_pnm;
13938 if test "$enableval" = yes; then
13939 wx_cv_use_pnm
='wxUSE_PNM=yes'
13941 wx_cv_use_pnm
='wxUSE_PNM=no'
13946 wx_cv_use_pnm
='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13951 eval "$wx_cv_use_pnm"
13953 if test x"$enablestring" = xdisable; then
13954 if test $wxUSE_PNM = no; then
13963 { echo "$as_me:$LINENO: result: $result" >&5
13964 echo "${ECHO_T}$result" >&6; }
13968 defaultval=$wxUSE_ALL_FEATURES
13969 if test -z "$defaultval"; then
13970 if test x"$enablestring" = xdisable; then
13977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13978 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13979 # Check whether --enable-xpm was given.
13980 if test "${enable_xpm+set}" = set; then
13981 enableval=$enable_xpm;
13982 if test "$enableval" = yes; then
13983 wx_cv_use_xpm='wxUSE_XPM
=yes'
13985 wx_cv_use_xpm='wxUSE_XPM
=no
'
13990 wx_cv_use_xpm='wxUSE_XPM
=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13995 eval "$wx_cv_use_xpm"
13997 if test x"$enablestring" = xdisable; then
13998 if test $wxUSE_XPM = no; then
14007 { echo "$as_me:$LINENO: result
: $result" >&5
14008 echo "${ECHO_T}$result" >&6; }
14012 defaultval=$wxUSE_ALL_FEATURES
14013 if test -z "$defaultval"; then
14014 if test x"$enablestring" = xdisable; then
14021 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ico_cur" >&5
14022 echo $ECHO_N "checking
for --${enablestring:-enable}-ico_cur...
$ECHO_C" >&6; }
14023 # Check whether --enable-ico_cur was given.
14024 if test "${enable_ico_cur+set}" = set; then
14025 enableval=$enable_ico_cur;
14026 if test "$enableval" = yes; then
14027 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14029 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14034 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14039 eval "$wx_cv_use_ico_cur"
14041 if test x
"$enablestring" = xdisable
; then
14042 if test $wxUSE_ICO_CUR = no
; then
14048 result
=$wxUSE_ICO_CUR
14051 { echo "$as_me:$LINENO: result: $result" >&5
14052 echo "${ECHO_T}$result" >&6; }
14058 defaultval
=$wxUSE_ALL_FEATURES
14059 if test -z "$defaultval"; then
14060 if test x
"$enablestring" = xdisable
; then
14067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14068 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14069 # Check whether --enable-dccache was given.
14070 if test "${enable_dccache+set}" = set; then
14071 enableval
=$enable_dccache;
14072 if test "$enableval" = yes; then
14073 wx_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
14075 wx_cv_use_dccache
='wxUSE_DC_CACHEING=no'
14080 wx_cv_use_dccache
='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14085 eval "$wx_cv_use_dccache"
14087 if test x"$enablestring" = xdisable; then
14088 if test $wxUSE_DC_CACHEING = no; then
14094 result=$wxUSE_DC_CACHEING
14097 { echo "$as_me:$LINENO: result: $result" >&5
14098 echo "${ECHO_T}$result" >&6; }
14102 defaultval=$wxUSE_ALL_FEATURES
14103 if test -z "$defaultval"; then
14104 if test x"$enablestring" = xdisable; then
14111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14112 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14113 # Check whether --enable-ps-in-msw was given.
14114 if test "${enable_ps_in_msw+set}" = set; then
14115 enableval=$enable_ps_in_msw;
14116 if test "$enableval" = yes; then
14117 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=yes'
14119 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=no
'
14124 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14129 eval "$wx_cv_use_ps_in_msw"
14131 if test x"$enablestring" = xdisable; then
14132 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14138 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14141 { echo "$as_me:$LINENO: result
: $result" >&5
14142 echo "${ECHO_T}$result" >&6; }
14146 defaultval=$wxUSE_ALL_FEATURES
14147 if test -z "$defaultval"; then
14148 if test x"$enablestring" = xdisable; then
14155 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ownerdrawn" >&5
14156 echo $ECHO_N "checking
for --${enablestring:-enable}-ownerdrawn...
$ECHO_C" >&6; }
14157 # Check whether --enable-ownerdrawn was given.
14158 if test "${enable_ownerdrawn+set}" = set; then
14159 enableval=$enable_ownerdrawn;
14160 if test "$enableval" = yes; then
14161 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14163 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14168 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14173 eval "$wx_cv_use_ownerdrawn"
14175 if test x
"$enablestring" = xdisable
; then
14176 if test $wxUSE_OWNER_DRAWN = no
; then
14182 result
=$wxUSE_OWNER_DRAWN
14185 { echo "$as_me:$LINENO: result: $result" >&5
14186 echo "${ECHO_T}$result" >&6; }
14190 defaultval
=$wxUSE_ALL_FEATURES
14191 if test -z "$defaultval"; then
14192 if test x
"$enablestring" = xdisable
; then
14199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14200 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14201 # Check whether --enable-uxtheme was given.
14202 if test "${enable_uxtheme+set}" = set; then
14203 enableval
=$enable_uxtheme;
14204 if test "$enableval" = yes; then
14205 wx_cv_use_uxtheme
='wxUSE_UXTHEME=yes'
14207 wx_cv_use_uxtheme
='wxUSE_UXTHEME=no'
14212 wx_cv_use_uxtheme
='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14217 eval "$wx_cv_use_uxtheme"
14219 if test x"$enablestring" = xdisable; then
14220 if test $wxUSE_UXTHEME = no; then
14226 result=$wxUSE_UXTHEME
14229 { echo "$as_me:$LINENO: result: $result" >&5
14230 echo "${ECHO_T}$result" >&6; }
14234 defaultval=$wxUSE_ALL_FEATURES
14235 if test -z "$defaultval"; then
14236 if test x"$enablestring" = xdisable; then
14243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14244 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14245 # Check whether --enable-wxdib was given.
14246 if test "${enable_wxdib+set}" = set; then
14247 enableval=$enable_wxdib;
14248 if test "$enableval" = yes; then
14249 wx_cv_use_wxdib='wxUSE_DIB
=yes'
14251 wx_cv_use_wxdib='wxUSE_DIB
=no
'
14256 wx_cv_use_wxdib='wxUSE_DIB
=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14261 eval "$wx_cv_use_wxdib"
14263 if test x"$enablestring" = xdisable; then
14264 if test $wxUSE_DIB = no; then
14273 { echo "$as_me:$LINENO: result
: $result" >&5
14274 echo "${ECHO_T}$result" >&6; }
14277 if test "$wxUSE_MSW" != 1; then
14278 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14283 defaultval=$wxUSE_ALL_FEATURES
14284 if test -z "$defaultval"; then
14285 if test x"$enablestring" = xdisable; then
14292 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-autoidman" >&5
14293 echo $ECHO_N "checking
for --${enablestring:-enable}-autoidman...
$ECHO_C" >&6; }
14294 # Check whether --enable-autoidman was given.
14295 if test "${enable_autoidman+set}" = set; then
14296 enableval=$enable_autoidman;
14297 if test "$enableval" = yes; then
14298 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14300 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14305 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14310 eval "$wx_cv_use_autoidman"
14312 if test x
"$enablestring" = xdisable
; then
14313 if test $wxUSE_AUTOID_MANAGEMENT = no
; then
14319 result
=$wxUSE_AUTOID_MANAGEMENT
14322 { echo "$as_me:$LINENO: result: $result" >&5
14323 echo "${ECHO_T}$result" >&6; }
14329 cat >confcache
<<\_ACEOF
14330 # This file is a shell script that caches the results of configure
14331 # tests run on this system so they can be shared between configure
14332 # scripts and configure runs, see configure's option --config-cache.
14333 # It is not useful on other systems. If it contains results you don't
14334 # want to keep, you may remove or edit it.
14336 # config.status only pays attention to the cache file if you give it
14337 # the --recheck option to rerun configure.
14339 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14340 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14341 # following values.
14345 # The following way of writing the cache mishandles newlines in values,
14346 # but we know of no workaround that is simple, portable, and efficient.
14347 # So, we kill variables containing newlines.
14348 # Ultrix sh set writes to stderr and can't be redirected directly,
14349 # and sets the high bit in the cache file unless we assign to the vars.
14351 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14352 eval ac_val
=\$
$ac_var
14356 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14357 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14360 _
| IFS
| as_nl
) ;; #(
14361 *) $as_unset $ac_var ;;
14367 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14368 *${as_nl}ac_space
=\
*)
14369 # `set' does not quote correctly, so add quotes (double-quote
14370 # substitution turns \\\\ into \\, and sed turns \\ into \).
14373 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14376 # `set' quotes correctly as required by POSIX, so do not add quotes.
14377 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14386 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14388 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14390 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14391 if test -w "$cache_file"; then
14392 test "x$cache_file" != "x/dev/null" &&
14393 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14394 echo "$as_me: updating cache $cache_file" >&6;}
14395 cat confcache
>$cache_file
14397 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14398 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14408 ac_cpp
='$CPP $CPPFLAGS'
14409 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14410 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14411 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14412 if test -n "$ac_tool_prefix"; then
14413 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14414 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
14415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14417 if test "${ac_cv_prog_CC+set}" = set; then
14418 echo $ECHO_N "(cached) $ECHO_C" >&6
14420 if test -n "$CC"; then
14421 ac_cv_prog_CC
="$CC" # Let the user override the test.
14423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14424 for as_dir
in $PATH
14427 test -z "$as_dir" && as_dir
=.
14428 for ac_exec_ext
in '' $ac_executable_extensions; do
14429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14430 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
14431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14441 if test -n "$CC"; then
14442 { echo "$as_me:$LINENO: result: $CC" >&5
14443 echo "${ECHO_T}$CC" >&6; }
14445 { echo "$as_me:$LINENO: result: no" >&5
14446 echo "${ECHO_T}no" >&6; }
14451 if test -z "$ac_cv_prog_CC"; then
14453 # Extract the first word of "gcc", so it can be a program name with args.
14454 set dummy gcc
; ac_word
=$2
14455 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14457 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14458 echo $ECHO_N "(cached) $ECHO_C" >&6
14460 if test -n "$ac_ct_CC"; then
14461 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14464 for as_dir
in $PATH
14467 test -z "$as_dir" && as_dir
=.
14468 for ac_exec_ext
in '' $ac_executable_extensions; do
14469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14470 ac_cv_prog_ac_ct_CC
="gcc"
14471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14480 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14481 if test -n "$ac_ct_CC"; then
14482 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14483 echo "${ECHO_T}$ac_ct_CC" >&6; }
14485 { echo "$as_me:$LINENO: result: no" >&5
14486 echo "${ECHO_T}no" >&6; }
14489 if test "x$ac_ct_CC" = x
; then
14492 case $cross_compiling:$ac_tool_warned in
14494 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14495 whose name does not start with the host triplet. If you think this
14496 configuration is useful to you, please write to autoconf@gnu.org." >&5
14497 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14498 whose name does not start with the host triplet. If you think this
14499 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14500 ac_tool_warned
=yes ;;
14505 CC
="$ac_cv_prog_CC"
14508 if test -z "$CC"; then
14509 if test -n "$ac_tool_prefix"; then
14510 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14511 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
14512 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14514 if test "${ac_cv_prog_CC+set}" = set; then
14515 echo $ECHO_N "(cached) $ECHO_C" >&6
14517 if test -n "$CC"; then
14518 ac_cv_prog_CC
="$CC" # Let the user override the test.
14520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14521 for as_dir
in $PATH
14524 test -z "$as_dir" && as_dir
=.
14525 for ac_exec_ext
in '' $ac_executable_extensions; do
14526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14527 ac_cv_prog_CC
="${ac_tool_prefix}cc"
14528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14538 if test -n "$CC"; then
14539 { echo "$as_me:$LINENO: result: $CC" >&5
14540 echo "${ECHO_T}$CC" >&6; }
14542 { echo "$as_me:$LINENO: result: no" >&5
14543 echo "${ECHO_T}no" >&6; }
14549 if test -z "$CC"; then
14550 # Extract the first word of "cc", so it can be a program name with args.
14551 set dummy cc
; ac_word
=$2
14552 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14554 if test "${ac_cv_prog_CC+set}" = set; then
14555 echo $ECHO_N "(cached) $ECHO_C" >&6
14557 if test -n "$CC"; then
14558 ac_cv_prog_CC
="$CC" # Let the user override the test.
14560 ac_prog_rejected
=no
14561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14562 for as_dir
in $PATH
14565 test -z "$as_dir" && as_dir
=.
14566 for ac_exec_ext
in '' $ac_executable_extensions; do
14567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14568 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14569 ac_prog_rejected
=yes
14573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14580 if test $ac_prog_rejected = yes; then
14581 # We found a bogon in the path, so make sure we never use it.
14582 set dummy
$ac_cv_prog_CC
14584 if test $# != 0; then
14585 # We chose a different compiler from the bogus one.
14586 # However, it has the same basename, so the bogon will be chosen
14587 # first if we set CC to just the basename; use the full file name.
14589 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
14595 if test -n "$CC"; then
14596 { echo "$as_me:$LINENO: result: $CC" >&5
14597 echo "${ECHO_T}$CC" >&6; }
14599 { echo "$as_me:$LINENO: result: no" >&5
14600 echo "${ECHO_T}no" >&6; }
14605 if test -z "$CC"; then
14606 if test -n "$ac_tool_prefix"; then
14607 for ac_prog
in cl.exe
14609 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14610 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14611 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14613 if test "${ac_cv_prog_CC+set}" = set; then
14614 echo $ECHO_N "(cached) $ECHO_C" >&6
14616 if test -n "$CC"; then
14617 ac_cv_prog_CC
="$CC" # Let the user override the test.
14619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14620 for as_dir
in $PATH
14623 test -z "$as_dir" && as_dir
=.
14624 for ac_exec_ext
in '' $ac_executable_extensions; do
14625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14626 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
14627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14637 if test -n "$CC"; then
14638 { echo "$as_me:$LINENO: result: $CC" >&5
14639 echo "${ECHO_T}$CC" >&6; }
14641 { echo "$as_me:$LINENO: result: no" >&5
14642 echo "${ECHO_T}no" >&6; }
14646 test -n "$CC" && break
14649 if test -z "$CC"; then
14651 for ac_prog
in cl.exe
14653 # Extract the first word of "$ac_prog", so it can be a program name with args.
14654 set dummy
$ac_prog; ac_word
=$2
14655 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14657 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14658 echo $ECHO_N "(cached) $ECHO_C" >&6
14660 if test -n "$ac_ct_CC"; then
14661 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14664 for as_dir
in $PATH
14667 test -z "$as_dir" && as_dir
=.
14668 for ac_exec_ext
in '' $ac_executable_extensions; do
14669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14670 ac_cv_prog_ac_ct_CC
="$ac_prog"
14671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14680 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14681 if test -n "$ac_ct_CC"; then
14682 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14683 echo "${ECHO_T}$ac_ct_CC" >&6; }
14685 { echo "$as_me:$LINENO: result: no" >&5
14686 echo "${ECHO_T}no" >&6; }
14690 test -n "$ac_ct_CC" && break
14693 if test "x$ac_ct_CC" = x
; then
14696 case $cross_compiling:$ac_tool_warned in
14698 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14699 whose name does not start with the host triplet. If you think this
14700 configuration is useful to you, please write to autoconf@gnu.org." >&5
14701 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14702 whose name does not start with the host triplet. If you think this
14703 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14704 ac_tool_warned
=yes ;;
14713 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14714 See \`config.log' for more details." >&5
14715 echo "$as_me: error: no acceptable C compiler found in \$PATH
14716 See \`config.log' for more details." >&2;}
14717 { (exit 1); exit 1; }; }
14719 # Provide some information about the compiler.
14720 echo "$as_me:$LINENO: checking for C compiler version" >&5
14721 ac_compiler
=`set X $ac_compile; echo $2`
14722 { (ac_try
="$ac_compiler --version >&5"
14723 case "(($ac_try" in
14724 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14725 *) ac_try_echo=$ac_try;;
14727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14728 (eval "$ac_compiler --version >&5") 2>&5
14730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731 (exit $ac_status); }
14732 { (ac_try="$ac_compiler -v >&5"
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_compiler -v >&5") 2>&5
14740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741 (exit $ac_status); }
14742 { (ac_try
="$ac_compiler -V >&5"
14743 case "(($ac_try" in
14744 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14745 *) ac_try_echo=$ac_try;;
14747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14748 (eval "$ac_compiler -V >&5") 2>&5
14750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14751 (exit $ac_status); }
14753 cat >conftest.$ac_ext <<_ACEOF
14756 cat confdefs.h >>conftest.$ac_ext
14757 cat >>conftest.$ac_ext <<_ACEOF
14758 /* end confdefs.h. */
14768 ac_clean_files_save=$ac_clean_files
14769 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14770 # Try to create an executable without -o first, disregard a.out.
14771 # It will help us diagnose broken compilers, and finding out an intuition
14773 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14774 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14775 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14777 # List of possible output files, starting from the most likely.
14778 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
14779 # only as a last resort. b.out is created by i960 compilers.
14780 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
14782 # The IRIX 6 linker writes into existing files which may not be
14783 # executable, retaining their permissions. Remove them first so a
14784 # subsequent execution test works.
14786 for ac_file in $ac_files
14789 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14790 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14795 if { (ac_try="$ac_link_default"
14796 case "(($ac_try" in
14797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14798 *) ac_try_echo=$ac_try;;
14800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14801 (eval "$ac_link_default") 2>&5
14803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14804 (exit $ac_status); }; then
14805 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14806 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14807 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14808 # so that the user can short-circuit this test for compilers unknown to
14810 for ac_file
in $ac_files ''
14812 test -f "$ac_file" || continue
14814 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
14817 # We found the default executable, but exeext='' is most
14821 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
14823 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14825 # We set ac_cv_exeext here because the later test for it is not
14826 # safe: cross compilers may not add the suffix if given an `-o'
14827 # argument, so we may need to know it at that point already.
14828 # Even if this section looks crufty: it has the advantage of
14829 # actually working.
14835 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
14841 { echo "$as_me:$LINENO: result: $ac_file" >&5
14842 echo "${ECHO_T}$ac_file" >&6; }
14843 if test -z "$ac_file"; then
14844 echo "$as_me: failed program was:" >&5
14845 sed 's/^/| /' conftest.
$ac_ext >&5
14847 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14848 See \`config.log' for more details." >&5
14849 echo "$as_me: error: C compiler cannot create executables
14850 See \`config.log' for more details." >&2;}
14851 { (exit 77); exit 77; }; }
14854 ac_exeext
=$ac_cv_exeext
14856 # Check that the compiler produces executables we can run. If not, either
14857 # the compiler is broken, or we cross compile.
14858 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14859 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14860 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14861 # If not cross compiling, check that we can run a simple program.
14862 if test "$cross_compiling" != yes; then
14863 if { ac_try
='./$ac_file'
14864 { (case "(($ac_try" in
14865 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14866 *) ac_try_echo=$ac_try;;
14868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14869 (eval "$ac_try") 2>&5
14871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14872 (exit $ac_status); }; }; then
14875 if test "$cross_compiling" = maybe; then
14876 cross_compiling=yes
14878 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14879 If you meant to cross compile, use \`--host'.
14880 See \`config.log' for more details.
" >&5
14881 echo "$as_me: error
: cannot run C compiled programs.
14882 If you meant to cross compile
, use \
`--host'.
14883 See \`config.log
' for more details." >&2;}
14884 { (exit 1); exit 1; }; }
14888 { echo "$as_me:$LINENO: result: yes" >&5
14889 echo "${ECHO_T}yes" >&6; }
14891 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14892 ac_clean_files=$ac_clean_files_save
14893 # Check that the compiler produces executables we can run. If not, either
14894 # the compiler is broken, or we cross compile.
14895 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14896 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14897 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14898 echo "${ECHO_T}$cross_compiling" >&6; }
14900 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14901 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14902 if { (ac_try="$ac_link"
14903 case "(($ac_try" in
14904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14905 *) ac_try_echo=$ac_try;;
14907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14908 (eval "$ac_link") 2>&5
14910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14911 (exit $ac_status); }; then
14912 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
14913 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
14914 # work properly (i.e., refer to `conftest.exe
'), while it won't with
14916 for ac_file
in conftest.exe conftest conftest.
*; do
14917 test -f "$ac_file" || continue
14919 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14920 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14926 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14927 See \`config.log' for more details." >&5
14928 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14929 See \`config.log' for more details." >&2;}
14930 { (exit 1); exit 1; }; }
14933 rm -f conftest
$ac_cv_exeext
14934 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14935 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14937 rm -f conftest.
$ac_ext
14938 EXEEXT
=$ac_cv_exeext
14940 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14941 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14942 if test "${ac_cv_objext+set}" = set; then
14943 echo $ECHO_N "(cached) $ECHO_C" >&6
14945 cat >conftest.
$ac_ext <<_ACEOF
14948 cat confdefs.h
>>conftest.
$ac_ext
14949 cat >>conftest.
$ac_ext <<_ACEOF
14950 /* end confdefs.h. */
14960 rm -f conftest.o conftest.obj
14961 if { (ac_try
="$ac_compile"
14962 case "(($ac_try" in
14963 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14964 *) ac_try_echo=$ac_try;;
14966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14967 (eval "$ac_compile") 2>&5
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); }; then
14971 for ac_file in conftest.o conftest.obj conftest.*; do
14972 test -f "$ac_file" || continue;
14974 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14975 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14980 echo "$as_me: failed program was:" >&5
14981 sed 's/^/| /' conftest.$ac_ext >&5
14983 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14984 See \`config.log
' for more details." >&5
14985 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14986 See \`config.log' for more details.
" >&2;}
14987 { (exit 1); exit 1; }; }
14990 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14992 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14993 echo "${ECHO_T}$ac_cv_objext" >&6; }
14994 OBJEXT=$ac_cv_objext
14996 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14997 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14998 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14999 echo $ECHO_N "(cached
) $ECHO_C" >&6
15001 cat >conftest.$ac_ext <<_ACEOF
15004 cat confdefs.h >>conftest.$ac_ext
15005 cat >>conftest.$ac_ext <<_ACEOF
15006 /* end confdefs.h. */
15019 rm -f conftest.$ac_objext
15020 if { (ac_try="$ac_compile"
15021 case "(($ac_try" in
15022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15023 *) ac_try_echo=$ac_try;;
15025 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15026 (eval "$ac_compile") 2>conftest.er1
15028 grep -v '^ *+' conftest.er1 >conftest.err
15030 cat conftest.err >&5
15031 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15032 (exit $ac_status); } && {
15033 test -z "$ac_c_werror_flag" ||
15034 test ! -s conftest.err
15035 } && test -s conftest.$ac_objext; then
15036 ac_compiler_gnu=yes
15038 echo "$as_me: failed program was
:" >&5
15039 sed 's/^/| /' conftest.$ac_ext >&5
15044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15045 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15048 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
15049 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15050 GCC=`test $ac_compiler_gnu = yes && echo yes`
15051 ac_test_CFLAGS=${CFLAGS+set}
15052 ac_save_CFLAGS=$CFLAGS
15053 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
15054 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
15055 if test "${ac_cv_prog_cc_g+set}" = set; then
15056 echo $ECHO_N "(cached
) $ECHO_C" >&6
15058 ac_save_c_werror_flag=$ac_c_werror_flag
15059 ac_c_werror_flag=yes
15062 cat >conftest.$ac_ext <<_ACEOF
15065 cat confdefs.h >>conftest.$ac_ext
15066 cat >>conftest.$ac_ext <<_ACEOF
15067 /* end confdefs.h. */
15077 rm -f conftest.$ac_objext
15078 if { (ac_try="$ac_compile"
15079 case "(($ac_try" in
15080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15081 *) ac_try_echo=$ac_try;;
15083 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15084 (eval "$ac_compile") 2>conftest.er1
15086 grep -v '^ *+' conftest.er1 >conftest.err
15088 cat conftest.err >&5
15089 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15090 (exit $ac_status); } && {
15091 test -z "$ac_c_werror_flag" ||
15092 test ! -s conftest.err
15093 } && test -s conftest.$ac_objext; then
15094 ac_cv_prog_cc_g=yes
15096 echo "$as_me: failed program was
:" >&5
15097 sed 's/^/| /' conftest.$ac_ext >&5
15100 cat >conftest.$ac_ext <<_ACEOF
15103 cat confdefs.h >>conftest.$ac_ext
15104 cat >>conftest.$ac_ext <<_ACEOF
15105 /* end confdefs.h. */
15115 rm -f conftest.$ac_objext
15116 if { (ac_try="$ac_compile"
15117 case "(($ac_try" in
15118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15119 *) ac_try_echo=$ac_try;;
15121 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15122 (eval "$ac_compile") 2>conftest.er1
15124 grep -v '^ *+' conftest.er1 >conftest.err
15126 cat conftest.err >&5
15127 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15128 (exit $ac_status); } && {
15129 test -z "$ac_c_werror_flag" ||
15130 test ! -s conftest.err
15131 } && test -s conftest.$ac_objext; then
15134 echo "$as_me: failed program was
:" >&5
15135 sed 's/^/| /' conftest.$ac_ext >&5
15137 ac_c_werror_flag=$ac_save_c_werror_flag
15139 cat >conftest.$ac_ext <<_ACEOF
15142 cat confdefs.h >>conftest.$ac_ext
15143 cat >>conftest.$ac_ext <<_ACEOF
15144 /* end confdefs.h. */
15154 rm -f conftest.$ac_objext
15155 if { (ac_try="$ac_compile"
15156 case "(($ac_try" in
15157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15158 *) ac_try_echo=$ac_try;;
15160 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15161 (eval "$ac_compile") 2>conftest.er1
15163 grep -v '^ *+' conftest.er1 >conftest.err
15165 cat conftest.err >&5
15166 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15167 (exit $ac_status); } && {
15168 test -z "$ac_c_werror_flag" ||
15169 test ! -s conftest.err
15170 } && test -s conftest.$ac_objext; then
15171 ac_cv_prog_cc_g=yes
15173 echo "$as_me: failed program was
:" >&5
15174 sed 's/^/| /' conftest.$ac_ext >&5
15179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15186 ac_c_werror_flag=$ac_save_c_werror_flag
15188 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
15189 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15190 if test "$ac_test_CFLAGS" = set; then
15191 CFLAGS=$ac_save_CFLAGS
15192 elif test $ac_cv_prog_cc_g = yes; then
15193 if test "$GCC" = yes; then
15199 if test "$GCC" = yes; then
15205 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
15206 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
15207 if test "${ac_cv_prog_cc_c89+set}" = set; then
15208 echo $ECHO_N "(cached
) $ECHO_C" >&6
15210 ac_cv_prog_cc_c89=no
15212 cat >conftest.$ac_ext <<_ACEOF
15215 cat confdefs.h >>conftest.$ac_ext
15216 cat >>conftest.$ac_ext <<_ACEOF
15217 /* end confdefs.h. */
15218 #include <stdarg.h>
15220 #include <sys/types.h>
15221 #include <sys/stat.h>
15222 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15223 struct buf { int x; };
15224 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15225 static char *e (p, i)
15231 static char *f (char * (*g) (char **, int), char **p, ...)
15236 s = g (p, va_arg (v,int));
15241 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15242 function prototypes and stuff, but not '\xHH' hex character constants.
15243 These don't provoke an error unfortunately, instead are silently treated
15244 as 'x'. The following induces an error, until -std is added to get
15245 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15246 array size at least. It's necessary to write '\x00'==0 to get something
15247 that's true only with -std. */
15248 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15250 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15251 inside strings and character constants. */
15253 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15255 int test (int i, double x);
15256 struct s1 {int (*f) (int a);};
15257 struct s2 {int (*f) (double a);};
15258 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15264 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15269 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15270 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15272 CC="$ac_save_CC $ac_arg"
15273 rm -f conftest.$ac_objext
15274 if { (ac_try="$ac_compile"
15275 case "(($ac_try" in
15276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15277 *) ac_try_echo=$ac_try;;
15279 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15280 (eval "$ac_compile") 2>conftest.er1
15282 grep -v '^ *+' conftest.er1 >conftest.err
15284 cat conftest.err >&5
15285 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15286 (exit $ac_status); } && {
15287 test -z "$ac_c_werror_flag" ||
15288 test ! -s conftest.err
15289 } && test -s conftest.$ac_objext; then
15290 ac_cv_prog_cc_c89=$ac_arg
15292 echo "$as_me: failed program was
:" >&5
15293 sed 's/^/| /' conftest.$ac_ext >&5
15298 rm -f core conftest.err conftest.$ac_objext
15299 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
15301 rm -f conftest.$ac_ext
15306 case "x
$ac_cv_prog_cc_c89" in
15308 { echo "$as_me:$LINENO: result
: none needed
" >&5
15309 echo "${ECHO_T}none needed
" >&6; } ;;
15311 { echo "$as_me:$LINENO: result
: unsupported
" >&5
15312 echo "${ECHO_T}unsupported
" >&6; } ;;
15314 CC="$CC $ac_cv_prog_cc_c89"
15315 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
15316 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15321 ac_cpp='$CPP $CPPFLAGS'
15322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15330 ac_cpp='$CPP $CPPFLAGS'
15331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15335 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
15336 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
15337 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15338 echo $ECHO_N "(cached
) $ECHO_C" >&6
15340 cat >conftest.$ac_ext <<_ACEOF
15343 cat confdefs.h >>conftest.$ac_ext
15344 cat >>conftest.$ac_ext <<_ACEOF
15345 /* end confdefs.h. */
15351 #ifndef __INTEL_COMPILER
15359 rm -f conftest.$ac_objext
15360 if { (ac_try="$ac_compile"
15361 case "(($ac_try" in
15362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15363 *) ac_try_echo=$ac_try;;
15365 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15366 (eval "$ac_compile") 2>conftest.er1
15368 grep -v '^ *+' conftest.er1 >conftest.err
15370 cat conftest.err >&5
15371 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15372 (exit $ac_status); } && {
15373 test -z "$ac_c_werror_flag" ||
15374 test ! -s conftest.err
15375 } && test -s conftest.$ac_objext; then
15376 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15378 echo "$as_me: failed program was
:" >&5
15379 sed 's/^/| /' conftest.$ac_ext >&5
15381 bakefile_cv_c_compiler___INTEL_COMPILER=no
15385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15389 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15390 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15391 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
15397 ac_cpp='$CPP $CPPFLAGS'
15398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15405 if test "$INTELCC" = "yes"; then
15409 ac_cpp='$CPP $CPPFLAGS'
15410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15414 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
15415 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
15416 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15417 echo $ECHO_N "(cached
) $ECHO_C" >&6
15419 cat >conftest.$ac_ext <<_ACEOF
15422 cat confdefs.h >>conftest.$ac_ext
15423 cat >>conftest.$ac_ext <<_ACEOF
15424 /* end confdefs.h. */
15430 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15438 rm -f conftest.$ac_objext
15439 if { (ac_try="$ac_compile"
15440 case "(($ac_try" in
15441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15442 *) ac_try_echo=$ac_try;;
15444 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15445 (eval "$ac_compile") 2>conftest.er1
15447 grep -v '^ *+' conftest.er1 >conftest.err
15449 cat conftest.err >&5
15450 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15451 (exit $ac_status); } && {
15452 test -z "$ac_c_werror_flag" ||
15453 test ! -s conftest.err
15454 } && test -s conftest.$ac_objext; then
15455 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15457 echo "$as_me: failed program was
:" >&5
15458 sed 's/^/| /' conftest.$ac_ext >&5
15460 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15468 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15469 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15470 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
15476 ac_cpp='$CPP $CPPFLAGS'
15477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15486 ac_cpp='$CPP $CPPFLAGS'
15487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15491 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
15492 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
15493 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15494 echo $ECHO_N "(cached
) $ECHO_C" >&6
15496 cat >conftest.$ac_ext <<_ACEOF
15499 cat confdefs.h >>conftest.$ac_ext
15500 cat >>conftest.$ac_ext <<_ACEOF
15501 /* end confdefs.h. */
15507 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15515 rm -f conftest.$ac_objext
15516 if { (ac_try="$ac_compile"
15517 case "(($ac_try" in
15518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15519 *) ac_try_echo=$ac_try;;
15521 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15522 (eval "$ac_compile") 2>conftest.er1
15524 grep -v '^ *+' conftest.er1 >conftest.err
15526 cat conftest.err >&5
15527 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15528 (exit $ac_status); } && {
15529 test -z "$ac_c_werror_flag" ||
15530 test ! -s conftest.err
15531 } && test -s conftest.$ac_objext; then
15532 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15534 echo "$as_me: failed program was
:" >&5
15535 sed 's/^/| /' conftest.$ac_ext >&5
15537 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15545 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15546 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15547 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
15553 ac_cpp='$CPP $CPPFLAGS'
15554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15562 if test "x
$GCC" != "xyes
"; then
15563 if test "xCC
" = "xC
"; then
15564 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
15565 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
15566 if test "${bakefile_cv_c_exto+set}" = set; then
15567 echo $ECHO_N "(cached
) $ECHO_C" >&6
15569 cat >conftest.$ac_ext <<_ACEOF
15572 cat confdefs.h >>conftest.$ac_ext
15573 cat >>conftest.$ac_ext <<_ACEOF
15574 /* end confdefs.h. */
15584 rm -f conftest.$ac_objext conftest.$ac_ext.o
15585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15586 (eval $ac_compile) 2>&5
15588 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15589 (exit $ac_status); }; then
15590 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15592 conftest.$ac_ext.o)
15593 bakefile_cv_c_exto="-ext o
"
15600 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15601 See \
`config.log' for more details." >&5
15602 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15603 See \`config.log
' for more details." >&2;}
15604 { (exit 1); exit 1; }; }
15608 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15611 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15612 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15613 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15614 if test "c" = "c"; then
15615 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15617 if test "c" = "cxx"; then
15618 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15622 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15623 unset ac_cv_prog_cc_g
15624 ac_test_CFLAGS=${CFLAGS+set}
15625 ac_save_CFLAGS=$CFLAGS
15626 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15627 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15628 if test "${ac_cv_prog_cc_g+set}" = set; then
15629 echo $ECHO_N "(cached) $ECHO_C" >&6
15631 ac_save_c_werror_flag=$ac_c_werror_flag
15632 ac_c_werror_flag=yes
15635 cat >conftest.$ac_ext <<_ACEOF
15638 cat confdefs.h >>conftest.$ac_ext
15639 cat >>conftest.$ac_ext <<_ACEOF
15640 /* end confdefs.h. */
15650 rm -f conftest.$ac_objext
15651 if { (ac_try="$ac_compile"
15652 case "(($ac_try" in
15653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15654 *) ac_try_echo=$ac_try;;
15656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15657 (eval "$ac_compile") 2>conftest.er1
15659 grep -v '^
*+' conftest.er1 >conftest.err
15661 cat conftest.err >&5
15662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15663 (exit $ac_status); } && {
15664 test -z "$ac_c_werror_flag" ||
15665 test ! -s conftest.err
15666 } && test -s conftest.$ac_objext; then
15667 ac_cv_prog_cc_g=yes
15669 echo "$as_me: failed program was:" >&5
15670 sed 's
/^
/| /' conftest.$ac_ext >&5
15673 cat >conftest.$ac_ext <<_ACEOF
15676 cat confdefs.h >>conftest.$ac_ext
15677 cat >>conftest.$ac_ext <<_ACEOF
15678 /* end confdefs.h. */
15688 rm -f conftest.$ac_objext
15689 if { (ac_try="$ac_compile"
15690 case "(($ac_try" in
15691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15692 *) ac_try_echo=$ac_try;;
15694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15695 (eval "$ac_compile") 2>conftest.er1
15697 grep -v '^
*+' conftest.er1 >conftest.err
15699 cat conftest.err >&5
15700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15701 (exit $ac_status); } && {
15702 test -z "$ac_c_werror_flag" ||
15703 test ! -s conftest.err
15704 } && test -s conftest.$ac_objext; then
15707 echo "$as_me: failed program was:" >&5
15708 sed 's
/^
/| /' conftest.$ac_ext >&5
15710 ac_c_werror_flag=$ac_save_c_werror_flag
15712 cat >conftest.$ac_ext <<_ACEOF
15715 cat confdefs.h >>conftest.$ac_ext
15716 cat >>conftest.$ac_ext <<_ACEOF
15717 /* end confdefs.h. */
15727 rm -f conftest.$ac_objext
15728 if { (ac_try="$ac_compile"
15729 case "(($ac_try" in
15730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15731 *) ac_try_echo=$ac_try;;
15733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15734 (eval "$ac_compile") 2>conftest.er1
15736 grep -v '^
*+' conftest.er1 >conftest.err
15738 cat conftest.err >&5
15739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15740 (exit $ac_status); } && {
15741 test -z "$ac_c_werror_flag" ||
15742 test ! -s conftest.err
15743 } && test -s conftest.$ac_objext; then
15744 ac_cv_prog_cc_g=yes
15746 echo "$as_me: failed program was:" >&5
15747 sed 's
/^
/| /' conftest.$ac_ext >&5
15752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15759 ac_c_werror_flag=$ac_save_c_werror_flag
15761 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15762 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15763 if test "$ac_test_CFLAGS" = set; then
15764 CFLAGS=$ac_save_CFLAGS
15765 elif test $ac_cv_prog_cc_g = yes; then
15766 if test "$GCC" = yes; then
15772 if test "$GCC" = yes; then
15786 ac_cpp='$CPP $CPPFLAGS'
15787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15788 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15791 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15792 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15793 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15794 echo $ECHO_N "(cached) $ECHO_C" >&6
15796 cat >conftest.$ac_ext <<_ACEOF
15799 cat confdefs.h >>conftest.$ac_ext
15800 cat >>conftest.$ac_ext <<_ACEOF
15801 /* end confdefs.h. */
15815 rm -f conftest.$ac_objext
15816 if { (ac_try="$ac_compile"
15817 case "(($ac_try" in
15818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15819 *) ac_try_echo=$ac_try;;
15821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15822 (eval "$ac_compile") 2>conftest.er1
15824 grep -v '^
*+' conftest.er1 >conftest.err
15826 cat conftest.err >&5
15827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15828 (exit $ac_status); } && {
15829 test -z "$ac_c_werror_flag" ||
15830 test ! -s conftest.err
15831 } && test -s conftest.$ac_objext; then
15832 bakefile_cv_c_compiler___xlC__=yes
15834 echo "$as_me: failed program was:" >&5
15835 sed 's
/^
/| /' conftest.$ac_ext >&5
15837 bakefile_cv_c_compiler___xlC__=no
15841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15845 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15846 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15847 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15853 ac_cpp='$CPP $CPPFLAGS'
15854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15855 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15866 ac_cpp='$CPP $CPPFLAGS'
15867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15868 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15871 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15872 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15873 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15874 echo $ECHO_N "(cached) $ECHO_C" >&6
15876 cat >conftest.$ac_ext <<_ACEOF
15879 cat confdefs.h >>conftest.$ac_ext
15880 cat >>conftest.$ac_ext <<_ACEOF
15881 /* end confdefs.h. */
15895 rm -f conftest.$ac_objext
15896 if { (ac_try="$ac_compile"
15897 case "(($ac_try" in
15898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15899 *) ac_try_echo=$ac_try;;
15901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15902 (eval "$ac_compile") 2>conftest.er1
15904 grep -v '^
*+' conftest.er1 >conftest.err
15906 cat conftest.err >&5
15907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15908 (exit $ac_status); } && {
15909 test -z "$ac_c_werror_flag" ||
15910 test ! -s conftest.err
15911 } && test -s conftest.$ac_objext; then
15912 bakefile_cv_c_compiler___MWERKS__=yes
15914 echo "$as_me: failed program was:" >&5
15915 sed 's
/^
/| /' conftest.$ac_ext >&5
15917 bakefile_cv_c_compiler___MWERKS__=no
15921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15925 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15926 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15927 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15933 ac_cpp='$CPP $CPPFLAGS'
15934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15935 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15940 if test "$MWCC" != "yes"; then
15944 ac_cpp='$CPP $CPPFLAGS'
15945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15946 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15949 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15950 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15951 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15952 echo $ECHO_N "(cached) $ECHO_C" >&6
15954 cat >conftest.$ac_ext <<_ACEOF
15957 cat confdefs.h >>conftest.$ac_ext
15958 cat >>conftest.$ac_ext <<_ACEOF
15959 /* end confdefs.h. */
15973 rm -f conftest.$ac_objext
15974 if { (ac_try="$ac_compile"
15975 case "(($ac_try" in
15976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15977 *) ac_try_echo=$ac_try;;
15979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15980 (eval "$ac_compile") 2>conftest.er1
15982 grep -v '^
*+' conftest.er1 >conftest.err
15984 cat conftest.err >&5
15985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15986 (exit $ac_status); } && {
15987 test -z "$ac_c_werror_flag" ||
15988 test ! -s conftest.err
15989 } && test -s conftest.$ac_objext; then
15990 bakefile_cv_c_compiler___xlC__=yes
15992 echo "$as_me: failed program was:" >&5
15993 sed 's
/^
/| /' conftest.$ac_ext >&5
15995 bakefile_cv_c_compiler___xlC__=no
15999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16003 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16004 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16005 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16011 ac_cpp='$CPP $CPPFLAGS'
16012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16013 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16025 ac_cpp='$CPP $CPPFLAGS'
16026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16027 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16030 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16031 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16032 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16033 echo $ECHO_N "(cached) $ECHO_C" >&6
16035 cat >conftest.$ac_ext <<_ACEOF
16038 cat confdefs.h >>conftest.$ac_ext
16039 cat >>conftest.$ac_ext <<_ACEOF
16040 /* end confdefs.h. */
16046 #ifndef _SGI_COMPILER_VERSION
16054 rm -f conftest.$ac_objext
16055 if { (ac_try="$ac_compile"
16056 case "(($ac_try" in
16057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16058 *) ac_try_echo=$ac_try;;
16060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16061 (eval "$ac_compile") 2>conftest.er1
16063 grep -v '^
*+' conftest.er1 >conftest.err
16065 cat conftest.err >&5
16066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16067 (exit $ac_status); } && {
16068 test -z "$ac_c_werror_flag" ||
16069 test ! -s conftest.err
16070 } && test -s conftest.$ac_objext; then
16071 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16073 echo "$as_me: failed program was:" >&5
16074 sed 's
/^
/| /' conftest.$ac_ext >&5
16076 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16084 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16085 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16086 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16092 ac_cpp='$CPP $CPPFLAGS'
16093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16094 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16102 if test "$INTELCC" != "yes"; then
16106 ac_cpp='$CPP $CPPFLAGS'
16107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16108 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16111 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16112 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16113 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16114 echo $ECHO_N "(cached) $ECHO_C" >&6
16116 cat >conftest.$ac_ext <<_ACEOF
16119 cat confdefs.h >>conftest.$ac_ext
16120 cat >>conftest.$ac_ext <<_ACEOF
16121 /* end confdefs.h. */
16135 rm -f conftest.$ac_objext
16136 if { (ac_try="$ac_compile"
16137 case "(($ac_try" in
16138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16139 *) ac_try_echo=$ac_try;;
16141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16142 (eval "$ac_compile") 2>conftest.er1
16144 grep -v '^
*+' conftest.er1 >conftest.err
16146 cat conftest.err >&5
16147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16148 (exit $ac_status); } && {
16149 test -z "$ac_c_werror_flag" ||
16150 test ! -s conftest.err
16151 } && test -s conftest.$ac_objext; then
16152 bakefile_cv_c_compiler___SUNPRO_C=yes
16154 echo "$as_me: failed program was:" >&5
16155 sed 's
/^
/| /' conftest.$ac_ext >&5
16157 bakefile_cv_c_compiler___SUNPRO_C=no
16161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16165 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16166 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16167 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16173 ac_cpp='$CPP $CPPFLAGS'
16174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16175 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16187 ac_cpp='$CPP $CPPFLAGS'
16188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16189 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16192 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16193 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16194 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16195 echo $ECHO_N "(cached) $ECHO_C" >&6
16197 cat >conftest.$ac_ext <<_ACEOF
16200 cat confdefs.h >>conftest.$ac_ext
16201 cat >>conftest.$ac_ext <<_ACEOF
16202 /* end confdefs.h. */
16216 rm -f conftest.$ac_objext
16217 if { (ac_try="$ac_compile"
16218 case "(($ac_try" in
16219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16220 *) ac_try_echo=$ac_try;;
16222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16223 (eval "$ac_compile") 2>conftest.er1
16225 grep -v '^
*+' conftest.er1 >conftest.err
16227 cat conftest.err >&5
16228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16229 (exit $ac_status); } && {
16230 test -z "$ac_c_werror_flag" ||
16231 test ! -s conftest.err
16232 } && test -s conftest.$ac_objext; then
16233 bakefile_cv_c_compiler___HP_cc=yes
16235 echo "$as_me: failed program was:" >&5
16236 sed 's
/^
/| /' conftest.$ac_ext >&5
16238 bakefile_cv_c_compiler___HP_cc=no
16242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16246 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16247 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16248 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16254 ac_cpp='$CPP $CPPFLAGS'
16255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16256 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16267 ac_cpp='$CPP $CPPFLAGS'
16268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16269 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16272 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16273 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16274 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16275 echo $ECHO_N "(cached) $ECHO_C" >&6
16277 cat >conftest.$ac_ext <<_ACEOF
16280 cat confdefs.h >>conftest.$ac_ext
16281 cat >>conftest.$ac_ext <<_ACEOF
16282 /* end confdefs.h. */
16296 rm -f conftest.$ac_objext
16297 if { (ac_try="$ac_compile"
16298 case "(($ac_try" in
16299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16300 *) ac_try_echo=$ac_try;;
16302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16303 (eval "$ac_compile") 2>conftest.er1
16305 grep -v '^
*+' conftest.er1 >conftest.err
16307 cat conftest.err >&5
16308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16309 (exit $ac_status); } && {
16310 test -z "$ac_c_werror_flag" ||
16311 test ! -s conftest.err
16312 } && test -s conftest.$ac_objext; then
16313 bakefile_cv_c_compiler___DECC=yes
16315 echo "$as_me: failed program was:" >&5
16316 sed 's
/^
/| /' conftest.$ac_ext >&5
16318 bakefile_cv_c_compiler___DECC=no
16322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16326 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16327 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16328 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16334 ac_cpp='$CPP $CPPFLAGS'
16335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16336 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16347 ac_cpp='$CPP $CPPFLAGS'
16348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16349 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16352 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16353 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16354 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16355 echo $ECHO_N "(cached) $ECHO_C" >&6
16357 cat >conftest.$ac_ext <<_ACEOF
16360 cat confdefs.h >>conftest.$ac_ext
16361 cat >>conftest.$ac_ext <<_ACEOF
16362 /* end confdefs.h. */
16376 rm -f conftest.$ac_objext
16377 if { (ac_try="$ac_compile"
16378 case "(($ac_try" in
16379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16380 *) ac_try_echo=$ac_try;;
16382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16383 (eval "$ac_compile") 2>conftest.er1
16385 grep -v '^
*+' conftest.er1 >conftest.err
16387 cat conftest.err >&5
16388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16389 (exit $ac_status); } && {
16390 test -z "$ac_c_werror_flag" ||
16391 test ! -s conftest.err
16392 } && test -s conftest.$ac_objext; then
16393 bakefile_cv_c_compiler___SUNPRO_C=yes
16395 echo "$as_me: failed program was:" >&5
16396 sed 's
/^
/| /' conftest.$ac_ext >&5
16398 bakefile_cv_c_compiler___SUNPRO_C=no
16402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16406 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16407 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16408 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16414 ac_cpp='$CPP $CPPFLAGS'
16415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16416 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16428 ac_cpp='$CPP $CPPFLAGS'
16429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16430 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16432 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16433 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16434 # On Suns, sometimes $CPP names a directory.
16435 if test -n "$CPP" && test -d "$CPP"; then
16438 if test -z "$CPP"; then
16439 if test "${ac_cv_prog_CPP+set}" = set; then
16440 echo $ECHO_N "(cached) $ECHO_C" >&6
16442 # Double quotes because CPP needs to be expanded
16443 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16445 ac_preproc_ok=false
16446 for ac_c_preproc_warn_flag in '' yes
16448 # Use a header file that comes with gcc, so configuring glibc
16449 # with a fresh cross-compiler works.
16450 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16451 # <limits.h> exists even on freestanding compilers.
16452 # On the NeXT, cc -E runs the code through the compiler's parser
,
16453 # not just through cpp. "Syntax error" is here to catch this case.
16454 cat >conftest.
$ac_ext <<_ACEOF
16457 cat confdefs.h
>>conftest.
$ac_ext
16458 cat >>conftest.
$ac_ext <<_ACEOF
16459 /* end confdefs.h. */
16461 # include <limits.h>
16463 # include <assert.h>
16467 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16468 case "(($ac_try" in
16469 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16470 *) ac_try_echo=$ac_try;;
16472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16473 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16475 grep -v '^ *+' conftest.er1 >conftest.err
16477 cat conftest.err >&5
16478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16479 (exit $ac_status); } >/dev/null && {
16480 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16481 test ! -s conftest.err
16485 echo "$as_me: failed program was:" >&5
16486 sed 's/^/| /' conftest.$ac_ext >&5
16488 # Broken: fails on valid input.
16492 rm -f conftest.err conftest.$ac_ext
16494 # OK, works on sane cases. Now check whether nonexistent headers
16495 # can be detected and how.
16496 cat >conftest.$ac_ext <<_ACEOF
16499 cat confdefs.h >>conftest.$ac_ext
16500 cat >>conftest.$ac_ext <<_ACEOF
16501 /* end confdefs.h. */
16502 #include <ac_nonexistent.h>
16504 if { (ac_try="$ac_cpp conftest.$ac_ext"
16505 case "(($ac_try" in
16506 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16507 *) ac_try_echo
=$ac_try;;
16509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16510 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16512 grep -v '^ *+' conftest.er1
>conftest.err
16514 cat conftest.err
>&5
16515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16516 (exit $ac_status); } >/dev
/null
&& {
16517 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16518 test ! -s conftest.err
16520 # Broken: success on invalid input.
16523 echo "$as_me: failed program was:" >&5
16524 sed 's/^/| /' conftest.
$ac_ext >&5
16526 # Passes both tests.
16531 rm -f conftest.err conftest.
$ac_ext
16534 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16535 rm -f conftest.err conftest.
$ac_ext
16536 if $ac_preproc_ok; then
16541 ac_cv_prog_CPP
=$CPP
16544 CPP
=$ac_cv_prog_CPP
16546 ac_cv_prog_CPP
=$CPP
16548 { echo "$as_me:$LINENO: result: $CPP" >&5
16549 echo "${ECHO_T}$CPP" >&6; }
16550 ac_preproc_ok
=false
16551 for ac_c_preproc_warn_flag
in '' yes
16553 # Use a header file that comes with gcc, so configuring glibc
16554 # with a fresh cross-compiler works.
16555 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16556 # <limits.h> exists even on freestanding compilers.
16557 # On the NeXT, cc -E runs the code through the compiler's parser,
16558 # not just through cpp. "Syntax error" is here to catch this case.
16559 cat >conftest.
$ac_ext <<_ACEOF
16562 cat confdefs.h
>>conftest.
$ac_ext
16563 cat >>conftest.
$ac_ext <<_ACEOF
16564 /* end confdefs.h. */
16566 # include <limits.h>
16568 # include <assert.h>
16572 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16573 case "(($ac_try" in
16574 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16575 *) ac_try_echo=$ac_try;;
16577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16578 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16580 grep -v '^ *+' conftest.er1 >conftest.err
16582 cat conftest.err >&5
16583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16584 (exit $ac_status); } >/dev/null && {
16585 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16586 test ! -s conftest.err
16590 echo "$as_me: failed program was:" >&5
16591 sed 's/^/| /' conftest.$ac_ext >&5
16593 # Broken: fails on valid input.
16597 rm -f conftest.err conftest.$ac_ext
16599 # OK, works on sane cases. Now check whether nonexistent headers
16600 # can be detected and how.
16601 cat >conftest.$ac_ext <<_ACEOF
16604 cat confdefs.h >>conftest.$ac_ext
16605 cat >>conftest.$ac_ext <<_ACEOF
16606 /* end confdefs.h. */
16607 #include <ac_nonexistent.h>
16609 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 2>conftest.er1
16617 grep -v '^ *+' conftest.er1
>conftest.err
16619 cat conftest.err
>&5
16620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16621 (exit $ac_status); } >/dev
/null
&& {
16622 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16623 test ! -s conftest.err
16625 # Broken: success on invalid input.
16628 echo "$as_me: failed program was:" >&5
16629 sed 's/^/| /' conftest.
$ac_ext >&5
16631 # Passes both tests.
16636 rm -f conftest.err conftest.
$ac_ext
16639 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16640 rm -f conftest.err conftest.
$ac_ext
16641 if $ac_preproc_ok; then
16644 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16645 See \`config.log' for more details." >&5
16646 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16647 See \`config.log' for more details." >&2;}
16648 { (exit 1); exit 1; }; }
16652 ac_cpp
='$CPP $CPPFLAGS'
16653 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16654 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16655 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16658 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16659 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16660 if test "${ac_cv_path_GREP+set}" = set; then
16661 echo $ECHO_N "(cached) $ECHO_C" >&6
16663 # Extract the first word of "grep ggrep" to use in msg output
16664 if test -z "$GREP"; then
16665 set dummy
grep ggrep
; ac_prog_name
=$2
16666 if test "${ac_cv_path_GREP+set}" = set; then
16667 echo $ECHO_N "(cached) $ECHO_C" >&6
16669 ac_path_GREP_found
=false
16670 # Loop through the user's path and test for each of PROGNAME-LIST
16671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16672 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16675 test -z "$as_dir" && as_dir
=.
16676 for ac_prog
in grep ggrep
; do
16677 for ac_exec_ext
in '' $ac_executable_extensions; do
16678 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16679 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16680 # Check for GNU ac_path_GREP and select it if it is found.
16681 # Check for GNU $ac_path_GREP
16682 case `"$ac_path_GREP" --version 2>&1` in
16684 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16687 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16690 cat "conftest.in" "conftest.in" >"conftest.tmp"
16691 mv "conftest.tmp" "conftest.in"
16692 cp "conftest.in" "conftest.nl"
16693 echo 'GREP' >> "conftest.nl"
16694 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16695 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16696 ac_count
=`expr $ac_count + 1`
16697 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16698 # Best one so far, save it but keep looking for a better one
16699 ac_cv_path_GREP
="$ac_path_GREP"
16700 ac_path_GREP_max
=$ac_count
16702 # 10*(2^10) chars as input seems more than enough
16703 test $ac_count -gt 10 && break
16705 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16709 $ac_path_GREP_found && break 3
16719 GREP
="$ac_cv_path_GREP"
16720 if test -z "$GREP"; then
16721 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16722 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16723 { (exit 1); exit 1; }; }
16727 ac_cv_path_GREP
=$GREP
16732 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16733 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16734 GREP
="$ac_cv_path_GREP"
16737 { echo "$as_me:$LINENO: checking for egrep" >&5
16738 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16739 if test "${ac_cv_path_EGREP+set}" = set; then
16740 echo $ECHO_N "(cached) $ECHO_C" >&6
16742 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16743 then ac_cv_path_EGREP
="$GREP -E"
16745 # Extract the first word of "egrep" to use in msg output
16746 if test -z "$EGREP"; then
16747 set dummy
egrep; ac_prog_name
=$2
16748 if test "${ac_cv_path_EGREP+set}" = set; then
16749 echo $ECHO_N "(cached) $ECHO_C" >&6
16751 ac_path_EGREP_found
=false
16752 # Loop through the user's path and test for each of PROGNAME-LIST
16753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16754 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16757 test -z "$as_dir" && as_dir
=.
16758 for ac_prog
in egrep; do
16759 for ac_exec_ext
in '' $ac_executable_extensions; do
16760 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16761 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16762 # Check for GNU ac_path_EGREP and select it if it is found.
16763 # Check for GNU $ac_path_EGREP
16764 case `"$ac_path_EGREP" --version 2>&1` in
16766 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16769 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16772 cat "conftest.in" "conftest.in" >"conftest.tmp"
16773 mv "conftest.tmp" "conftest.in"
16774 cp "conftest.in" "conftest.nl"
16775 echo 'EGREP' >> "conftest.nl"
16776 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16777 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16778 ac_count
=`expr $ac_count + 1`
16779 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16780 # Best one so far, save it but keep looking for a better one
16781 ac_cv_path_EGREP
="$ac_path_EGREP"
16782 ac_path_EGREP_max
=$ac_count
16784 # 10*(2^10) chars as input seems more than enough
16785 test $ac_count -gt 10 && break
16787 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16791 $ac_path_EGREP_found && break 3
16801 EGREP
="$ac_cv_path_EGREP"
16802 if test -z "$EGREP"; then
16803 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16804 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16805 { (exit 1); exit 1; }; }
16809 ac_cv_path_EGREP
=$EGREP
16815 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16816 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16817 EGREP
="$ac_cv_path_EGREP"
16820 if test $ac_cv_c_compiler_gnu = yes; then
16821 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16822 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16823 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16824 echo $ECHO_N "(cached) $ECHO_C" >&6
16826 ac_pattern
="Autoconf.*'x'"
16827 cat >conftest.
$ac_ext <<_ACEOF
16830 cat confdefs.h
>>conftest.
$ac_ext
16831 cat >>conftest.
$ac_ext <<_ACEOF
16832 /* end confdefs.h. */
16836 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16837 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16838 ac_cv_prog_gcc_traditional
=yes
16840 ac_cv_prog_gcc_traditional
=no
16845 if test $ac_cv_prog_gcc_traditional = no
; then
16846 cat >conftest.
$ac_ext <<_ACEOF
16849 cat confdefs.h
>>conftest.
$ac_ext
16850 cat >>conftest.
$ac_ext <<_ACEOF
16851 /* end confdefs.h. */
16852 #include <termio.h>
16855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16856 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16857 ac_cv_prog_gcc_traditional
=yes
16863 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16864 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16865 if test $ac_cv_prog_gcc_traditional = yes; then
16866 CC
="$CC -traditional"
16871 CXXFLAGS
=${CXXFLAGS:=}
16876 ac_cpp
='$CXXCPP $CPPFLAGS'
16877 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16878 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16879 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16880 if test -z "$CXX"; then
16881 if test -n "$CCC"; then
16884 if test -n "$ac_tool_prefix"; then
16885 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16887 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16888 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16889 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16891 if test "${ac_cv_prog_CXX+set}" = set; then
16892 echo $ECHO_N "(cached) $ECHO_C" >&6
16894 if test -n "$CXX"; then
16895 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16898 for as_dir
in $PATH
16901 test -z "$as_dir" && as_dir
=.
16902 for ac_exec_ext
in '' $ac_executable_extensions; do
16903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16904 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16914 CXX
=$ac_cv_prog_CXX
16915 if test -n "$CXX"; then
16916 { echo "$as_me:$LINENO: result: $CXX" >&5
16917 echo "${ECHO_T}$CXX" >&6; }
16919 { echo "$as_me:$LINENO: result: no" >&5
16920 echo "${ECHO_T}no" >&6; }
16924 test -n "$CXX" && break
16927 if test -z "$CXX"; then
16929 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16931 # Extract the first word of "$ac_prog", so it can be a program name with args.
16932 set dummy
$ac_prog; ac_word
=$2
16933 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16935 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16936 echo $ECHO_N "(cached) $ECHO_C" >&6
16938 if test -n "$ac_ct_CXX"; then
16939 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16942 for as_dir
in $PATH
16945 test -z "$as_dir" && as_dir
=.
16946 for ac_exec_ext
in '' $ac_executable_extensions; do
16947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16948 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16958 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16959 if test -n "$ac_ct_CXX"; then
16960 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16961 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16963 { echo "$as_me:$LINENO: result: no" >&5
16964 echo "${ECHO_T}no" >&6; }
16968 test -n "$ac_ct_CXX" && break
16971 if test "x$ac_ct_CXX" = x
; then
16974 case $cross_compiling:$ac_tool_warned in
16976 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16977 whose name does not start with the host triplet. If you think this
16978 configuration is useful to you, please write to autoconf@gnu.org." >&5
16979 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16980 whose name does not start with the host triplet. If you think this
16981 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16982 ac_tool_warned
=yes ;;
16990 # Provide some information about the compiler.
16991 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16992 ac_compiler
=`set X $ac_compile; echo $2`
16993 { (ac_try
="$ac_compiler --version >&5"
16994 case "(($ac_try" in
16995 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16996 *) ac_try_echo=$ac_try;;
16998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16999 (eval "$ac_compiler --version >&5") 2>&5
17001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17002 (exit $ac_status); }
17003 { (ac_try="$ac_compiler -v >&5"
17004 case "(($ac_try" in
17005 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17006 *) ac_try_echo
=$ac_try;;
17008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17009 (eval "$ac_compiler -v >&5") 2>&5
17011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17012 (exit $ac_status); }
17013 { (ac_try
="$ac_compiler -V >&5"
17014 case "(($ac_try" in
17015 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17016 *) ac_try_echo=$ac_try;;
17018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17019 (eval "$ac_compiler -V >&5") 2>&5
17021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17022 (exit $ac_status); }
17024 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17025 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17026 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17027 echo $ECHO_N "(cached) $ECHO_C" >&6
17029 cat >conftest.$ac_ext <<_ACEOF
17032 cat confdefs.h >>conftest.$ac_ext
17033 cat >>conftest.$ac_ext <<_ACEOF
17034 /* end confdefs.h. */
17047 rm -f conftest.$ac_objext
17048 if { (ac_try="$ac_compile"
17049 case "(($ac_try" in
17050 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17051 *) ac_try_echo
=$ac_try;;
17053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17054 (eval "$ac_compile") 2>conftest.er1
17056 grep -v '^ *+' conftest.er1
>conftest.err
17058 cat conftest.err
>&5
17059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17060 (exit $ac_status); } && {
17061 test -z "$ac_cxx_werror_flag" ||
17062 test ! -s conftest.err
17063 } && test -s conftest.
$ac_objext; then
17064 ac_compiler_gnu
=yes
17066 echo "$as_me: failed program was:" >&5
17067 sed 's/^/| /' conftest.
$ac_ext >&5
17072 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17073 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
17076 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17077 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17078 GXX
=`test $ac_compiler_gnu = yes && echo yes`
17079 ac_test_CXXFLAGS
=${CXXFLAGS+set}
17080 ac_save_CXXFLAGS
=$CXXFLAGS
17081 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17082 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17083 if test "${ac_cv_prog_cxx_g+set}" = set; then
17084 echo $ECHO_N "(cached) $ECHO_C" >&6
17086 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
17087 ac_cxx_werror_flag
=yes
17088 ac_cv_prog_cxx_g
=no
17090 cat >conftest.
$ac_ext <<_ACEOF
17093 cat confdefs.h
>>conftest.
$ac_ext
17094 cat >>conftest.
$ac_ext <<_ACEOF
17095 /* end confdefs.h. */
17105 rm -f conftest.
$ac_objext
17106 if { (ac_try
="$ac_compile"
17107 case "(($ac_try" in
17108 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17109 *) ac_try_echo=$ac_try;;
17111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17112 (eval "$ac_compile") 2>conftest.er1
17114 grep -v '^ *+' conftest.er1 >conftest.err
17116 cat conftest.err >&5
17117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17118 (exit $ac_status); } && {
17119 test -z "$ac_cxx_werror_flag" ||
17120 test ! -s conftest.err
17121 } && test -s conftest.$ac_objext; then
17122 ac_cv_prog_cxx_g=yes
17124 echo "$as_me: failed program was:" >&5
17125 sed 's/^/| /' conftest.$ac_ext >&5
17128 cat >conftest.$ac_ext <<_ACEOF
17131 cat confdefs.h >>conftest.$ac_ext
17132 cat >>conftest.$ac_ext <<_ACEOF
17133 /* end confdefs.h. */
17143 rm -f conftest.$ac_objext
17144 if { (ac_try="$ac_compile"
17145 case "(($ac_try" in
17146 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17147 *) ac_try_echo
=$ac_try;;
17149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17150 (eval "$ac_compile") 2>conftest.er1
17152 grep -v '^ *+' conftest.er1
>conftest.err
17154 cat conftest.err
>&5
17155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156 (exit $ac_status); } && {
17157 test -z "$ac_cxx_werror_flag" ||
17158 test ! -s conftest.err
17159 } && test -s conftest.
$ac_objext; then
17162 echo "$as_me: failed program was:" >&5
17163 sed 's/^/| /' conftest.
$ac_ext >&5
17165 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
17167 cat >conftest.
$ac_ext <<_ACEOF
17170 cat confdefs.h
>>conftest.
$ac_ext
17171 cat >>conftest.
$ac_ext <<_ACEOF
17172 /* end confdefs.h. */
17182 rm -f conftest.
$ac_objext
17183 if { (ac_try
="$ac_compile"
17184 case "(($ac_try" in
17185 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17186 *) ac_try_echo=$ac_try;;
17188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17189 (eval "$ac_compile") 2>conftest.er1
17191 grep -v '^ *+' conftest.er1 >conftest.err
17193 cat conftest.err >&5
17194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17195 (exit $ac_status); } && {
17196 test -z "$ac_cxx_werror_flag" ||
17197 test ! -s conftest.err
17198 } && test -s conftest.$ac_objext; then
17199 ac_cv_prog_cxx_g=yes
17201 echo "$as_me: failed program was:" >&5
17202 sed 's/^/| /' conftest.$ac_ext >&5
17207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17214 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17216 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17217 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17218 if test "$ac_test_CXXFLAGS" = set; then
17219 CXXFLAGS=$ac_save_CXXFLAGS
17220 elif test $ac_cv_prog_cxx_g = yes; then
17221 if test "$GXX" = yes; then
17227 if test "$GXX" = yes; then
17234 ac_cpp='$CPP $CPPFLAGS'
17235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17243 ac_cpp='$CXXCPP $CPPFLAGS'
17244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17248 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17249 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17250 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17251 echo $ECHO_N "(cached) $ECHO_C" >&6
17253 cat >conftest.$ac_ext <<_ACEOF
17256 cat confdefs.h >>conftest.$ac_ext
17257 cat >>conftest.$ac_ext <<_ACEOF
17258 /* end confdefs.h. */
17264 #ifndef __INTEL_COMPILER
17272 rm -f conftest.$ac_objext
17273 if { (ac_try="$ac_compile"
17274 case "(($ac_try" in
17275 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17276 *) ac_try_echo
=$ac_try;;
17278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17279 (eval "$ac_compile") 2>conftest.er1
17281 grep -v '^ *+' conftest.er1
>conftest.err
17283 cat conftest.err
>&5
17284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17285 (exit $ac_status); } && {
17286 test -z "$ac_cxx_werror_flag" ||
17287 test ! -s conftest.err
17288 } && test -s conftest.
$ac_objext; then
17289 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
17291 echo "$as_me: failed program was:" >&5
17292 sed 's/^/| /' conftest.
$ac_ext >&5
17294 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
17298 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17302 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17303 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17304 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17310 ac_cpp
='$CPP $CPPFLAGS'
17311 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17312 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17313 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17318 if test "$INTELCXX" = "yes"; then
17322 ac_cpp
='$CXXCPP $CPPFLAGS'
17323 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17324 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17325 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17327 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17328 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17329 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17330 echo $ECHO_N "(cached) $ECHO_C" >&6
17332 cat >conftest.
$ac_ext <<_ACEOF
17335 cat confdefs.h
>>conftest.
$ac_ext
17336 cat >>conftest.
$ac_ext <<_ACEOF
17337 /* end confdefs.h. */
17343 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17351 rm -f conftest.
$ac_objext
17352 if { (ac_try
="$ac_compile"
17353 case "(($ac_try" in
17354 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17355 *) ac_try_echo=$ac_try;;
17357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17358 (eval "$ac_compile") 2>conftest.er1
17360 grep -v '^ *+' conftest.er1 >conftest.err
17362 cat conftest.err >&5
17363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17364 (exit $ac_status); } && {
17365 test -z "$ac_cxx_werror_flag" ||
17366 test ! -s conftest.err
17367 } && test -s conftest.$ac_objext; then
17368 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17370 echo "$as_me: failed program was:" >&5
17371 sed 's/^/| /' conftest.$ac_ext >&5
17373 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17381 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17382 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17383 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17389 ac_cpp='$CPP $CPPFLAGS'
17390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17399 ac_cpp='$CXXCPP $CPPFLAGS'
17400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17404 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17405 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17406 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17407 echo $ECHO_N "(cached) $ECHO_C" >&6
17409 cat >conftest.$ac_ext <<_ACEOF
17412 cat confdefs.h >>conftest.$ac_ext
17413 cat >>conftest.$ac_ext <<_ACEOF
17414 /* end confdefs.h. */
17420 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17428 rm -f conftest.$ac_objext
17429 if { (ac_try="$ac_compile"
17430 case "(($ac_try" in
17431 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17432 *) ac_try_echo
=$ac_try;;
17434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17435 (eval "$ac_compile") 2>conftest.er1
17437 grep -v '^ *+' conftest.er1
>conftest.err
17439 cat conftest.err
>&5
17440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17441 (exit $ac_status); } && {
17442 test -z "$ac_cxx_werror_flag" ||
17443 test ! -s conftest.err
17444 } && test -s conftest.
$ac_objext; then
17445 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
17447 echo "$as_me: failed program was:" >&5
17448 sed 's/^/| /' conftest.
$ac_ext >&5
17450 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
17454 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17458 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17459 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17460 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17466 ac_cpp
='$CPP $CPPFLAGS'
17467 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17468 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17469 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17475 if test "x$GCXX" != "xyes"; then
17476 if test "xCXX" = "xC"; then
17477 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17478 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17479 if test "${bakefile_cv_c_exto+set}" = set; then
17480 echo $ECHO_N "(cached) $ECHO_C" >&6
17482 cat >conftest.
$ac_ext <<_ACEOF
17485 cat confdefs.h
>>conftest.
$ac_ext
17486 cat >>conftest.
$ac_ext <<_ACEOF
17487 /* end confdefs.h. */
17497 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17499 (eval $ac_compile) 2>&5
17501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502 (exit $ac_status); }; then
17503 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17505 conftest.
$ac_ext.o
)
17506 bakefile_cv_c_exto
="-ext o"
17513 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17514 See \`config.log' for more details." >&5
17515 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17516 See \`config.log' for more details." >&2;}
17517 { (exit 1); exit 1; }; }
17521 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17524 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17525 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17526 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17527 if test "c" = "c"; then
17528 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17530 if test "c" = "cxx"; then
17531 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17535 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17536 unset ac_cv_prog_cc_g
17537 ac_test_CFLAGS
=${CFLAGS+set}
17538 ac_save_CFLAGS
=$CFLAGS
17539 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17540 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17541 if test "${ac_cv_prog_cc_g+set}" = set; then
17542 echo $ECHO_N "(cached) $ECHO_C" >&6
17544 ac_save_c_werror_flag
=$ac_c_werror_flag
17545 ac_c_werror_flag
=yes
17548 cat >conftest.
$ac_ext <<_ACEOF
17551 cat confdefs.h
>>conftest.
$ac_ext
17552 cat >>conftest.
$ac_ext <<_ACEOF
17553 /* end confdefs.h. */
17563 rm -f conftest.
$ac_objext
17564 if { (ac_try
="$ac_compile"
17565 case "(($ac_try" in
17566 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17567 *) ac_try_echo=$ac_try;;
17569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17570 (eval "$ac_compile") 2>conftest.er1
17572 grep -v '^ *+' conftest.er1 >conftest.err
17574 cat conftest.err >&5
17575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17576 (exit $ac_status); } && {
17577 test -z "$ac_c_werror_flag" ||
17578 test ! -s conftest.err
17579 } && test -s conftest.$ac_objext; then
17580 ac_cv_prog_cc_g=yes
17582 echo "$as_me: failed program was:" >&5
17583 sed 's/^/| /' conftest.$ac_ext >&5
17586 cat >conftest.$ac_ext <<_ACEOF
17589 cat confdefs.h >>conftest.$ac_ext
17590 cat >>conftest.$ac_ext <<_ACEOF
17591 /* end confdefs.h. */
17601 rm -f conftest.$ac_objext
17602 if { (ac_try="$ac_compile"
17603 case "(($ac_try" in
17604 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17605 *) ac_try_echo
=$ac_try;;
17607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17608 (eval "$ac_compile") 2>conftest.er1
17610 grep -v '^ *+' conftest.er1
>conftest.err
17612 cat conftest.err
>&5
17613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17614 (exit $ac_status); } && {
17615 test -z "$ac_c_werror_flag" ||
17616 test ! -s conftest.err
17617 } && test -s conftest.
$ac_objext; then
17620 echo "$as_me: failed program was:" >&5
17621 sed 's/^/| /' conftest.
$ac_ext >&5
17623 ac_c_werror_flag
=$ac_save_c_werror_flag
17625 cat >conftest.
$ac_ext <<_ACEOF
17628 cat confdefs.h
>>conftest.
$ac_ext
17629 cat >>conftest.
$ac_ext <<_ACEOF
17630 /* end confdefs.h. */
17640 rm -f conftest.
$ac_objext
17641 if { (ac_try
="$ac_compile"
17642 case "(($ac_try" in
17643 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17644 *) ac_try_echo=$ac_try;;
17646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17647 (eval "$ac_compile") 2>conftest.er1
17649 grep -v '^ *+' conftest.er1 >conftest.err
17651 cat conftest.err >&5
17652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17653 (exit $ac_status); } && {
17654 test -z "$ac_c_werror_flag" ||
17655 test ! -s conftest.err
17656 } && test -s conftest.$ac_objext; then
17657 ac_cv_prog_cc_g=yes
17659 echo "$as_me: failed program was:" >&5
17660 sed 's/^/| /' conftest.$ac_ext >&5
17665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17672 ac_c_werror_flag=$ac_save_c_werror_flag
17674 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17675 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17676 if test "$ac_test_CFLAGS" = set; then
17677 CFLAGS=$ac_save_CFLAGS
17678 elif test $ac_cv_prog_cc_g = yes; then
17679 if test "$GCC" = yes; then
17685 if test "$GCC" = yes; then
17699 ac_cpp='$CXXCPP $CPPFLAGS'
17700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17704 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17705 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17706 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17707 echo $ECHO_N "(cached) $ECHO_C" >&6
17709 cat >conftest.$ac_ext <<_ACEOF
17712 cat confdefs.h >>conftest.$ac_ext
17713 cat >>conftest.$ac_ext <<_ACEOF
17714 /* end confdefs.h. */
17728 rm -f conftest.$ac_objext
17729 if { (ac_try="$ac_compile"
17730 case "(($ac_try" in
17731 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17732 *) ac_try_echo
=$ac_try;;
17734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17735 (eval "$ac_compile") 2>conftest.er1
17737 grep -v '^ *+' conftest.er1
>conftest.err
17739 cat conftest.err
>&5
17740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17741 (exit $ac_status); } && {
17742 test -z "$ac_cxx_werror_flag" ||
17743 test ! -s conftest.err
17744 } && test -s conftest.
$ac_objext; then
17745 bakefile_cv_cxx_compiler___xlC__
=yes
17747 echo "$as_me: failed program was:" >&5
17748 sed 's/^/| /' conftest.
$ac_ext >&5
17750 bakefile_cv_cxx_compiler___xlC__
=no
17754 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17758 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17759 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17760 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17766 ac_cpp
='$CPP $CPPFLAGS'
17767 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17768 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17769 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17779 ac_cpp
='$CXXCPP $CPPFLAGS'
17780 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17781 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17782 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17784 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17785 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17786 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17787 echo $ECHO_N "(cached) $ECHO_C" >&6
17789 cat >conftest.
$ac_ext <<_ACEOF
17792 cat confdefs.h
>>conftest.
$ac_ext
17793 cat >>conftest.
$ac_ext <<_ACEOF
17794 /* end confdefs.h. */
17808 rm -f conftest.
$ac_objext
17809 if { (ac_try
="$ac_compile"
17810 case "(($ac_try" in
17811 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17812 *) ac_try_echo=$ac_try;;
17814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17815 (eval "$ac_compile") 2>conftest.er1
17817 grep -v '^ *+' conftest.er1 >conftest.err
17819 cat conftest.err >&5
17820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17821 (exit $ac_status); } && {
17822 test -z "$ac_cxx_werror_flag" ||
17823 test ! -s conftest.err
17824 } && test -s conftest.$ac_objext; then
17825 bakefile_cv_cxx_compiler___MWERKS__=yes
17827 echo "$as_me: failed program was:" >&5
17828 sed 's/^/| /' conftest.$ac_ext >&5
17830 bakefile_cv_cxx_compiler___MWERKS__=no
17834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17838 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17839 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17840 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17846 ac_cpp='$CPP $CPPFLAGS'
17847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17853 if test "$MWCXX" != "yes"; then
17857 ac_cpp='$CXXCPP $CPPFLAGS'
17858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17862 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17863 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17864 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17865 echo $ECHO_N "(cached) $ECHO_C" >&6
17867 cat >conftest.$ac_ext <<_ACEOF
17870 cat confdefs.h >>conftest.$ac_ext
17871 cat >>conftest.$ac_ext <<_ACEOF
17872 /* end confdefs.h. */
17886 rm -f conftest.$ac_objext
17887 if { (ac_try="$ac_compile"
17888 case "(($ac_try" in
17889 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17890 *) ac_try_echo
=$ac_try;;
17892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17893 (eval "$ac_compile") 2>conftest.er1
17895 grep -v '^ *+' conftest.er1
>conftest.err
17897 cat conftest.err
>&5
17898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17899 (exit $ac_status); } && {
17900 test -z "$ac_cxx_werror_flag" ||
17901 test ! -s conftest.err
17902 } && test -s conftest.
$ac_objext; then
17903 bakefile_cv_cxx_compiler___xlC__
=yes
17905 echo "$as_me: failed program was:" >&5
17906 sed 's/^/| /' conftest.
$ac_ext >&5
17908 bakefile_cv_cxx_compiler___xlC__
=no
17912 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17916 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17917 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17918 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17924 ac_cpp
='$CPP $CPPFLAGS'
17925 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17926 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17927 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17938 ac_cpp
='$CXXCPP $CPPFLAGS'
17939 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17940 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17941 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17943 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17944 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17945 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17946 echo $ECHO_N "(cached) $ECHO_C" >&6
17948 cat >conftest.
$ac_ext <<_ACEOF
17951 cat confdefs.h
>>conftest.
$ac_ext
17952 cat >>conftest.
$ac_ext <<_ACEOF
17953 /* end confdefs.h. */
17959 #ifndef _SGI_COMPILER_VERSION
17967 rm -f conftest.
$ac_objext
17968 if { (ac_try
="$ac_compile"
17969 case "(($ac_try" in
17970 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17971 *) ac_try_echo=$ac_try;;
17973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17974 (eval "$ac_compile") 2>conftest.er1
17976 grep -v '^ *+' conftest.er1 >conftest.err
17978 cat conftest.err >&5
17979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17980 (exit $ac_status); } && {
17981 test -z "$ac_cxx_werror_flag" ||
17982 test ! -s conftest.err
17983 } && test -s conftest.$ac_objext; then
17984 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17986 echo "$as_me: failed program was:" >&5
17987 sed 's/^/| /' conftest.$ac_ext >&5
17989 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17997 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17998 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17999 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18005 ac_cpp='$CPP $CPPFLAGS'
18006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18015 if test "$INTELCXX" != "yes"; then
18019 ac_cpp='$CXXCPP $CPPFLAGS'
18020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18024 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18025 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18026 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18027 echo $ECHO_N "(cached) $ECHO_C" >&6
18029 cat >conftest.$ac_ext <<_ACEOF
18032 cat confdefs.h >>conftest.$ac_ext
18033 cat >>conftest.$ac_ext <<_ACEOF
18034 /* end confdefs.h. */
18040 #ifndef __SUNPRO_CC
18048 rm -f conftest.$ac_objext
18049 if { (ac_try="$ac_compile"
18050 case "(($ac_try" in
18051 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18052 *) ac_try_echo
=$ac_try;;
18054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18055 (eval "$ac_compile") 2>conftest.er1
18057 grep -v '^ *+' conftest.er1
>conftest.err
18059 cat conftest.err
>&5
18060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18061 (exit $ac_status); } && {
18062 test -z "$ac_cxx_werror_flag" ||
18063 test ! -s conftest.err
18064 } && test -s conftest.
$ac_objext; then
18065 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
18067 echo "$as_me: failed program was:" >&5
18068 sed 's/^/| /' conftest.
$ac_ext >&5
18070 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
18074 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18078 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18079 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18080 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18086 ac_cpp
='$CPP $CPPFLAGS'
18087 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18088 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18089 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18100 ac_cpp
='$CXXCPP $CPPFLAGS'
18101 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18102 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18103 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18105 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18106 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18107 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18108 echo $ECHO_N "(cached) $ECHO_C" >&6
18110 cat >conftest.
$ac_ext <<_ACEOF
18113 cat confdefs.h
>>conftest.
$ac_ext
18114 cat >>conftest.
$ac_ext <<_ACEOF
18115 /* end confdefs.h. */
18129 rm -f conftest.
$ac_objext
18130 if { (ac_try
="$ac_compile"
18131 case "(($ac_try" in
18132 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18133 *) ac_try_echo=$ac_try;;
18135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18136 (eval "$ac_compile") 2>conftest.er1
18138 grep -v '^ *+' conftest.er1 >conftest.err
18140 cat conftest.err >&5
18141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18142 (exit $ac_status); } && {
18143 test -z "$ac_cxx_werror_flag" ||
18144 test ! -s conftest.err
18145 } && test -s conftest.$ac_objext; then
18146 bakefile_cv_cxx_compiler___HP_aCC=yes
18148 echo "$as_me: failed program was:" >&5
18149 sed 's/^/| /' conftest.$ac_ext >&5
18151 bakefile_cv_cxx_compiler___HP_aCC=no
18155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18159 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18160 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18161 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18167 ac_cpp='$CPP $CPPFLAGS'
18168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18180 ac_cpp='$CXXCPP $CPPFLAGS'
18181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18185 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18186 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18187 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18188 echo $ECHO_N "(cached) $ECHO_C" >&6
18190 cat >conftest.$ac_ext <<_ACEOF
18193 cat confdefs.h >>conftest.$ac_ext
18194 cat >>conftest.$ac_ext <<_ACEOF
18195 /* end confdefs.h. */
18209 rm -f conftest.$ac_objext
18210 if { (ac_try="$ac_compile"
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_compile") 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_cxx_werror_flag" ||
18224 test ! -s conftest.err
18225 } && test -s conftest.
$ac_objext; then
18226 bakefile_cv_cxx_compiler___DECCXX
=yes
18228 echo "$as_me: failed program was:" >&5
18229 sed 's/^/| /' conftest.
$ac_ext >&5
18231 bakefile_cv_cxx_compiler___DECCXX
=no
18235 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18239 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18240 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18241 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18247 ac_cpp
='$CPP $CPPFLAGS'
18248 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18249 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18250 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18260 ac_cpp
='$CXXCPP $CPPFLAGS'
18261 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18262 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18263 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18265 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18266 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18267 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18268 echo $ECHO_N "(cached) $ECHO_C" >&6
18270 cat >conftest.
$ac_ext <<_ACEOF
18273 cat confdefs.h
>>conftest.
$ac_ext
18274 cat >>conftest.
$ac_ext <<_ACEOF
18275 /* end confdefs.h. */
18281 #ifndef __SUNPRO_CC
18289 rm -f conftest.
$ac_objext
18290 if { (ac_try
="$ac_compile"
18291 case "(($ac_try" in
18292 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18293 *) ac_try_echo=$ac_try;;
18295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18296 (eval "$ac_compile") 2>conftest.er1
18298 grep -v '^ *+' conftest.er1 >conftest.err
18300 cat conftest.err >&5
18301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18302 (exit $ac_status); } && {
18303 test -z "$ac_cxx_werror_flag" ||
18304 test ! -s conftest.err
18305 } && test -s conftest.$ac_objext; then
18306 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18308 echo "$as_me: failed program was:" >&5
18309 sed 's/^/| /' conftest.$ac_ext >&5
18311 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18319 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18320 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18321 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18327 ac_cpp='$CPP $CPPFLAGS'
18328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18340 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18341 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18342 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18343 { (exit 1); exit 1; }; }
18346 if test "x$SUNCXX" != xyes; then
18347 if test -n "$ac_tool_prefix"; then
18348 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18349 set dummy ${ac_tool_prefix}ar; ac_word=$2
18350 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18352 if test "${ac_cv_prog_AR+set}" = set; then
18353 echo $ECHO_N "(cached) $ECHO_C" >&6
18355 if test -n "$AR"; then
18356 ac_cv_prog_AR="$AR" # Let the user override the test.
18358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18359 for as_dir in $PATH
18362 test -z "$as_dir" && as_dir=.
18363 for ac_exec_ext in '' $ac_executable_extensions; do
18364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18365 ac_cv_prog_AR="${ac_tool_prefix}ar"
18366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18376 if test -n "$AR"; then
18377 { echo "$as_me:$LINENO: result: $AR" >&5
18378 echo "${ECHO_T}$AR" >&6; }
18380 { echo "$as_me:$LINENO: result: no" >&5
18381 echo "${ECHO_T}no" >&6; }
18386 if test -z "$ac_cv_prog_AR"; then
18388 # Extract the first word of "ar", so it can be a program name with args.
18389 set dummy ar; ac_word=$2
18390 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18392 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18393 echo $ECHO_N "(cached) $ECHO_C" >&6
18395 if test -n "$ac_ct_AR"; then
18396 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18399 for as_dir in $PATH
18402 test -z "$as_dir" && as_dir=.
18403 for ac_exec_ext in '' $ac_executable_extensions; do
18404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18405 ac_cv_prog_ac_ct_AR="ar"
18406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18415 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18416 if test -n "$ac_ct_AR"; then
18417 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18418 echo "${ECHO_T}$ac_ct_AR" >&6; }
18420 { echo "$as_me:$LINENO: result: no" >&5
18421 echo "${ECHO_T}no" >&6; }
18424 if test "x$ac_ct_AR" = x; then
18427 case $cross_compiling:$ac_tool_warned in
18429 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18430 whose name does not start with the host triplet. If you think this
18431 configuration is useful to you, please write to autoconf@gnu.org." >&5
18432 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18433 whose name does not start with the host triplet. If you think this
18434 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18435 ac_tool_warned=yes ;;
18440 AR="$ac_cv_prog_AR"
18443 if test "x$AR" = "x" ; then
18444 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18445 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18446 { (exit 1); exit 1; }; }
18451 if test "$wxUSE_MAC" = 1; then
18453 retest_macosx_linking=no
18455 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18456 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18457 # Implicitly turn on the new --with-macosx-sdk using the default
18458 # SDK which provides the behavior this option has always had.
18459 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18460 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18461 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18462 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18463 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18464 wxUSE_MACOSX_SDK=yes
18467 # Complain to user if he specified an argument to --enable-universal_binary
18468 # and also 1) specified --with-macosx-sdk using the default (yes) or
18469 # 2) specified --with-macosx-sdk using a path or 3) specified
18470 # --without-macosx-sdk (no).
18471 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18472 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18473 See \`config.log
' for more details." >&5
18474 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18475 See \`config.log' for more details.
" >&2;}
18476 { (exit 1); exit 1; }; }
18478 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18479 # special-case the empty string because the below test simply
18480 # converts "no
" to the empty string anyway.
18481 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18482 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
18483 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
18486 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
18487 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18488 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18489 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18490 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18491 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18492 retest_macosx_linking=yes
18494 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
18495 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
18499 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
18501 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
18502 # TODO: Search for most recent SDK and use it.
18503 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
18507 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
18508 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
18509 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
18510 if ! test -d "$wxUSE_MACOSX_SDK"; then
18511 { { echo "$as_me:$LINENO: error
: not found
18512 See \
`config.log' for more details." >&5
18513 echo "$as_me: error: not found
18514 See \`config.log
' for more details." >&2;}
18515 { (exit 1); exit 1; }; }
18517 { echo "$as_me:$LINENO: result: exists" >&5
18518 echo "${ECHO_T}exists" >&6; }
18520 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18521 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18522 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18523 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18524 retest_macosx_linking=yes
18527 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18528 wxUSE_MACOSX_VERSION_MIN=
18529 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18530 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18531 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18532 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18534 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/'`
18536 # If that failed, try again with the new key
18537 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18539 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/'`
18543 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18544 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18545 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18546 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18548 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18549 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18550 wxUSE_MACOSX_VERSION_MIN=
18553 wxUSE_MACOSX_VERSION_MIN=
18555 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18556 for ac_prog in sw_vers
18558 # Extract the first word of "$ac_prog", so it can be a program name with args.
18559 set dummy $ac_prog; ac_word=$2
18560 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18562 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18563 echo $ECHO_N "(cached) $ECHO_C" >&6
18565 if test -n "$OSX_SW_VERS"; then
18566 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18569 for as_dir in $PATH
18572 test -z "$as_dir" && as_dir=.
18573 for ac_exec_ext in '' $ac_executable_extensions; do
18574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18575 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18585 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18586 if test -n "$OSX_SW_VERS"; then
18587 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18588 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
18590 { echo "$as_me:$LINENO: result: no" >&5
18591 echo "${ECHO_T}no" >&6; }
18595 test -n "$OSX_SW_VERS" && break
18598 if test "$OSX_SW_VERS" != ""; then
18599 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18601 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
18602 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
18606 case "$OSX_VERSION" in
18608 wxUSE_MACOSX_VERSION_MIN=10.4
18612 if test "$wxUSE_OSX_CARBON" = 1; then
18613 # otherwise configure stops on leopard for universal_binary
18614 wxUSE_MACOSX_VERSION_MIN=10.4
18616 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
18617 wxUSE_MACOSX_VERSION_MIN=10.5
18624 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18628 if test "$wxUSE_OSX_CARBON" = 1; then
18632 if test "x$NEEDS_GCC40" == "xyes"; then
18633 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18634 # and wants 10.4 compatible code, then 'downgrade
' to 4.0
18635 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18636 if test "x$CC" = "xgcc"; then
18637 CCVERSION=`$CC --version | grep 4.[2-9].`
18638 if test "x$CCVERSION" != "x"; then
18639 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18640 CC="/usr/bin/gcc-4.0"
18644 if test "x$CXX" = "xg++"; then
18645 CCVERSION=`$CXX --version | grep 4.[2-9].`
18646 if test "x$CCVERSION" != "x"; then
18647 CXX="/usr/bin/g++-4.0"
18652 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18653 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18654 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18655 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18656 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18657 retest_macosx_linking=yes
18660 if test "x$retest_macosx_linking" = "xyes"; then
18662 ac_cpp='$CPP $CPPFLAGS'
18663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18664 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18667 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18668 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18669 cat >conftest.$ac_ext <<_ACEOF
18672 cat confdefs.h >>conftest.$ac_ext
18673 cat >>conftest.$ac_ext <<_ACEOF
18674 /* end confdefs.h. */
18684 rm -f conftest.$ac_objext conftest$ac_exeext
18685 if { (ac_try="$ac_link"
18686 case "(($ac_try" in
18687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18688 *) ac_try_echo=$ac_try;;
18690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18691 (eval "$ac_link") 2>conftest.er1
18693 grep -v '^
*+' conftest.er1 >conftest.err
18695 cat conftest.err >&5
18696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18697 (exit $ac_status); } && {
18698 test -z "$ac_c_werror_flag" ||
18699 test ! -s conftest.err
18700 } && test -s conftest$ac_exeext &&
18701 $as_test_x conftest$ac_exeext; then
18702 { echo "$as_me:$LINENO: result: yes" >&5
18703 echo "${ECHO_T}yes" >&6; }
18705 echo "$as_me: failed program was:" >&5
18706 sed 's
/^
/| /' conftest.$ac_ext >&5
18708 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18709 See \`config.log' for more details.
" >&5
18710 echo "$as_me: error
: no. Try a different SDK
18711 See \
`config.log' for more details." >&2;}
18712 { (exit 1); exit 1; }; }; exit 1
18715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18716 conftest$ac_exeext conftest.$ac_ext
18718 ac_cpp='$CPP $CPPFLAGS'
18719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18725 ac_cpp='$CXXCPP $CPPFLAGS'
18726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18730 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18731 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18732 cat >conftest.$ac_ext <<_ACEOF
18735 cat confdefs.h >>conftest.$ac_ext
18736 cat >>conftest.$ac_ext <<_ACEOF
18737 /* end confdefs.h. */
18747 rm -f conftest.$ac_objext conftest$ac_exeext
18748 if { (ac_try="$ac_link"
18749 case "(($ac_try" in
18750 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18751 *) ac_try_echo
=$ac_try;;
18753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18754 (eval "$ac_link") 2>conftest.er1
18756 grep -v '^ *+' conftest.er1
>conftest.err
18758 cat conftest.err
>&5
18759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18760 (exit $ac_status); } && {
18761 test -z "$ac_cxx_werror_flag" ||
18762 test ! -s conftest.err
18763 } && test -s conftest
$ac_exeext &&
18764 $as_test_x conftest
$ac_exeext; then
18765 { echo "$as_me:$LINENO: result: yes" >&5
18766 echo "${ECHO_T}yes" >&6; }
18768 echo "$as_me: failed program was:" >&5
18769 sed 's/^/| /' conftest.
$ac_ext >&5
18771 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18772 See \`config.log' for more details." >&5
18773 echo "$as_me: error: no. Try a different SDK
18774 See \`config.log' for more details." >&2;}
18775 { (exit 1); exit 1; }; }; exit 1
18778 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18779 conftest
$ac_exeext conftest.
$ac_ext
18781 ac_cpp
='$CPP $CPPFLAGS'
18782 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18783 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18784 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18792 INSTALL_PROGRAM
="cp -fp"
18793 INSTALL_DATA
="cp -fp"
18800 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18801 CXXFLAGS
="-qunique $CXXFLAGS"
18805 powerpc
-*-darwin* )
18806 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18807 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18808 cat >conftest.
$ac_ext <<_ACEOF
18811 cat confdefs.h
>>conftest.
$ac_ext
18812 cat >>conftest.
$ac_ext <<_ACEOF
18813 /* end confdefs.h. */
18818 #ifndef __POWERPC__
18819 choke me for lack of PowerPC
18826 rm -f conftest.
$ac_objext
18827 if { (ac_try
="$ac_compile"
18828 case "(($ac_try" in
18829 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18830 *) ac_try_echo=$ac_try;;
18832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18833 (eval "$ac_compile") 2>conftest.er1
18835 grep -v '^ *+' conftest.er1 >conftest.err
18837 cat conftest.err >&5
18838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18839 (exit $ac_status); } && {
18840 test -z "$ac_c_werror_flag" ||
18841 test ! -s conftest.err
18842 } && test -s conftest.$ac_objext; then
18843 { echo "$as_me:$LINENO: result: yes" >&5
18844 echo "${ECHO_T}yes" >&6; }
18846 echo "$as_me: failed program was:" >&5
18847 sed 's/^/| /' conftest.$ac_ext >&5
18849 { echo "$as_me:$LINENO: result: no" >&5
18850 echo "${ECHO_T}no" >&6; }
18851 cat >>confdefs.h <<\_ACEOF
18852 #define __POWERPC__ 1
18858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18864 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18865 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18866 cat >conftest.$ac_ext <<_ACEOF
18869 cat confdefs.h >>conftest.$ac_ext
18870 cat >>conftest.$ac_ext <<_ACEOF
18871 /* end confdefs.h. */
18872 #include <CoreFoundation/CFBase.h>
18882 rm -f conftest.$ac_objext
18883 if { (ac_try="$ac_compile"
18884 case "(($ac_try" in
18885 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18886 *) ac_try_echo
=$ac_try;;
18888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18889 (eval "$ac_compile") 2>conftest.er1
18891 grep -v '^ *+' conftest.er1
>conftest.err
18893 cat conftest.err
>&5
18894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18895 (exit $ac_status); } && {
18896 test -z "$ac_c_werror_flag" ||
18897 test ! -s conftest.err
18898 } && test -s conftest.
$ac_objext; then
18899 { echo "$as_me:$LINENO: result: yes" >&5
18900 echo "${ECHO_T}yes" >&6; }
18902 echo "$as_me: failed program was:" >&5
18903 sed 's/^/| /' conftest.
$ac_ext >&5
18905 { echo "$as_me:$LINENO: result: no" >&5
18906 echo "${ECHO_T}no" >&6; }
18907 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18908 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18909 cat >conftest.
$ac_ext <<_ACEOF
18912 cat confdefs.h
>>conftest.
$ac_ext
18913 cat >>conftest.
$ac_ext <<_ACEOF
18914 /* end confdefs.h. */
18915 #define __CF_USE_FRAMEWORK_INCLUDES__
18916 #include <CoreFoundation/CFBase.h>
18926 rm -f conftest.
$ac_objext
18927 if { (ac_try
="$ac_compile"
18928 case "(($ac_try" in
18929 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18930 *) ac_try_echo=$ac_try;;
18932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18933 (eval "$ac_compile") 2>conftest.er1
18935 grep -v '^ *+' conftest.er1 >conftest.err
18937 cat conftest.err >&5
18938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18939 (exit $ac_status); } && {
18940 test -z "$ac_c_werror_flag" ||
18941 test ! -s conftest.err
18942 } && test -s conftest.$ac_objext; then
18943 { echo "$as_me:$LINENO: result: yes" >&5
18944 echo "${ECHO_T}yes" >&6; }
18945 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18947 echo "$as_me: failed program was:" >&5
18948 sed 's/^/| /' conftest.$ac_ext >&5
18950 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18951 See \`config.log
' for more details." >&5
18952 echo "$as_me: error: no. CoreFoundation not available.
18953 See \`config.log' for more details.
" >&2;}
18954 { (exit 1); exit 1; }; }
18958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18968 doesnt_want_win32=0
18971 if test "$wxUSE_MSW" = 1 ; then
18974 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
18975 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
18976 if test "${wx_cv_nocygwin+set}" = set; then
18977 echo $ECHO_N "(cached
) $ECHO_C" >&6
18980 cat >conftest.$ac_ext <<_ACEOF
18983 cat confdefs.h >>conftest.$ac_ext
18984 cat >>conftest.$ac_ext <<_ACEOF
18985 /* end confdefs.h. */
18999 rm -f conftest.$ac_objext
19000 if { (ac_try="$ac_compile"
19001 case "(($ac_try" in
19002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19003 *) ac_try_echo=$ac_try;;
19005 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19006 (eval "$ac_compile") 2>conftest.er1
19008 grep -v '^ *+' conftest.er1 >conftest.err
19010 cat conftest.err >&5
19011 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19012 (exit $ac_status); } && {
19013 test -z "$ac_c_werror_flag" ||
19014 test ! -s conftest.err
19015 } && test -s conftest.$ac_objext; then
19018 echo "$as_me: failed program was
:" >&5
19019 sed 's/^/| /' conftest.$ac_ext >&5
19025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19029 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
19030 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19032 if test "$wx_cv_nocygwin" = "yes"; then
19035 doesnt_want_win32=1
19038 if test "$wants_win32" = 1 ; then
19039 BAKEFILE_FORCE_PLATFORM=win32
19047 if test "$wxUSE_WINE" = "yes"; then
19049 LDFLAGS_GUI="-mwindows"
19052 if test "$wants_win32" = 1 ; then
19055 cat >>confdefs.h <<\_ACEOF
19056 #define __WIN32__ 1
19059 cat >>confdefs.h <<\_ACEOF
19060 #define __WIN95__ 1
19063 cat >>confdefs.h <<\_ACEOF
19064 #define __WINDOWS__ 1
19067 cat >>confdefs.h <<\_ACEOF
19068 #define __GNUWIN32__ 1
19071 cat >>confdefs.h <<\_ACEOF
19076 if test "$doesnt_want_win32" = 1 ; then
19081 if test "$USE_UNIX" = 1 ; then
19083 cat >>confdefs.h <<\_ACEOF
19090 *-pc-os2_emx | *-pc-os2-emx )
19091 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19092 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
19093 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
19094 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19095 echo $ECHO_N "(cached
) $ECHO_C" >&6
19097 ac_check_lib_save_LIBS=$LIBS
19098 LIBS="-lcExt $LIBS"
19099 cat >conftest.$ac_ext <<_ACEOF
19102 cat confdefs.h >>conftest.$ac_ext
19103 cat >>conftest.$ac_ext <<_ACEOF
19104 /* end confdefs.h. */
19106 /* Override any GCC internal prototype to avoid an error.
19107 Use char because int might match the return type of a GCC
19108 builtin and then its argument prototype would still apply. */
19121 rm -f conftest.$ac_objext conftest$ac_exeext
19122 if { (ac_try="$ac_link"
19123 case "(($ac_try" in
19124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19125 *) ac_try_echo=$ac_try;;
19127 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19128 (eval "$ac_link") 2>conftest.er1
19130 grep -v '^ *+' conftest.er1 >conftest.err
19132 cat conftest.err >&5
19133 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19134 (exit $ac_status); } && {
19135 test -z "$ac_c_werror_flag" ||
19136 test ! -s conftest.err
19137 } && test -s conftest$ac_exeext &&
19138 $as_test_x conftest$ac_exeext; then
19139 ac_cv_lib_cExt_drand48=yes
19141 echo "$as_me: failed program was
:" >&5
19142 sed 's/^/| /' conftest.$ac_ext >&5
19144 ac_cv_lib_cExt_drand48=no
19147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19148 conftest$ac_exeext conftest.$ac_ext
19149 LIBS=$ac_check_lib_save_LIBS
19151 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
19152 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19153 if test $ac_cv_lib_cExt_drand48 = yes; then
19154 LIBS="$LIBS -lcExt"
19158 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
19160 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
19161 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
19162 if test "${wx_cv_gccversion+set}" = set; then
19163 echo $ECHO_N "(cached
) $ECHO_C" >&6
19166 if test "$cross_compiling" = yes; then
19167 wx_cv_gccversion="EMX2
"
19170 cat >conftest.$ac_ext <<_ACEOF
19173 cat confdefs.h >>conftest.$ac_ext
19174 cat >>conftest.$ac_ext <<_ACEOF
19175 /* end confdefs.h. */
19181 FILE *f=fopen("conftestval
", "w
");
19186 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19188 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19198 rm -f conftest$ac_exeext
19199 if { (ac_try="$ac_link"
19200 case "(($ac_try" in
19201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19202 *) ac_try_echo=$ac_try;;
19204 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19205 (eval "$ac_link") 2>&5
19207 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19208 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19209 { (case "(($ac_try" in
19210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19211 *) ac_try_echo=$ac_try;;
19213 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19214 (eval "$ac_try") 2>&5
19216 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19217 (exit $ac_status); }; }; then
19218 wx_cv_gccversion=`cat conftestval`
19220 echo "$as_me: program exited with status
$ac_status" >&5
19221 echo "$as_me: failed program was
:" >&5
19222 sed 's/^/| /' conftest.$ac_ext >&5
19224 ( exit $ac_status )
19225 wx_cv_gccversion="EMX2
"
19227 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19233 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
19234 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19235 if test "$wx_cv_gccversion" = "EMX2
"; then
19236 LIBS="$LIBS -lstdcpp"
19237 LDFLAGS="$LDFLAGS -Zsysv-signals"
19239 if test "$wx_cv_gccversion" = "EMX3
"; then
19240 LIBS="$LIBS -lstdcxx -lgcc"
19241 LDFLAGS="$LDFLAGS -Zsysv-signals"
19243 LIBS="$LIBS -lstdc++"
19246 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
19247 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
19248 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
19255 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
19256 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
19257 if test "${ac_cv_string_strcasecmp+set}" = set; then
19258 echo $ECHO_N "(cached
) $ECHO_C" >&6
19261 cat >conftest.$ac_ext <<_ACEOF
19264 cat confdefs.h >>conftest.$ac_ext
19265 cat >>conftest.$ac_ext <<_ACEOF
19266 /* end confdefs.h. */
19268 #include <string.h>
19274 strcasecmp("foo
", "bar
");
19280 rm -f conftest.$ac_objext conftest$ac_exeext
19281 if { (ac_try="$ac_link"
19282 case "(($ac_try" in
19283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19284 *) ac_try_echo=$ac_try;;
19286 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19287 (eval "$ac_link") 2>conftest.er1
19289 grep -v '^ *+' conftest.er1 >conftest.err
19291 cat conftest.err >&5
19292 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19293 (exit $ac_status); } && {
19294 test -z "$ac_c_werror_flag" ||
19295 test ! -s conftest.err
19296 } && test -s conftest$ac_exeext &&
19297 $as_test_x conftest$ac_exeext; then
19298 ac_cv_string_strcasecmp=yes
19300 echo "$as_me: failed program was
:" >&5
19301 sed 's/^/| /' conftest.$ac_ext >&5
19303 ac_cv_string_strcasecmp=no
19307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19308 conftest$ac_exeext conftest.$ac_ext
19311 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
19312 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19314 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
19315 cat >>confdefs.h <<\_ACEOF
19316 #define HAVE_STRCASECMP_IN_STRING_H 1
19320 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
19321 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
19322 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19323 echo $ECHO_N "(cached
) $ECHO_C" >&6
19326 cat >conftest.$ac_ext <<_ACEOF
19329 cat confdefs.h >>conftest.$ac_ext
19330 cat >>conftest.$ac_ext <<_ACEOF
19331 /* end confdefs.h. */
19333 #include <strings.h>
19339 strcasecmp("foo
", "bar
");
19345 rm -f conftest.$ac_objext conftest$ac_exeext
19346 if { (ac_try="$ac_link"
19347 case "(($ac_try" in
19348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19349 *) ac_try_echo=$ac_try;;
19351 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19352 (eval "$ac_link") 2>conftest.er1
19354 grep -v '^ *+' conftest.er1 >conftest.err
19356 cat conftest.err >&5
19357 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19358 (exit $ac_status); } && {
19359 test -z "$ac_c_werror_flag" ||
19360 test ! -s conftest.err
19361 } && test -s conftest$ac_exeext &&
19362 $as_test_x conftest$ac_exeext; then
19363 ac_cv_strings_strcasecmp=yes
19365 echo "$as_me: failed program was
:" >&5
19366 sed 's/^/| /' conftest.$ac_ext >&5
19368 ac_cv_strings_strcasecmp=no
19372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19373 conftest$ac_exeext conftest.$ac_ext
19376 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
19377 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19379 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
19380 cat >>confdefs.h <<\_ACEOF
19381 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19385 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
19386 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
19387 { (exit 1); exit 1; }; }
19395 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
19396 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
19397 if test "${ac_cv_header_stdc+set}" = set; then
19398 echo $ECHO_N "(cached
) $ECHO_C" >&6
19400 cat >conftest.$ac_ext <<_ACEOF
19403 cat confdefs.h >>conftest.$ac_ext
19404 cat >>conftest.$ac_ext <<_ACEOF
19405 /* end confdefs.h. */
19406 #include <stdlib.h>
19407 #include <stdarg.h>
19408 #include <string.h>
19419 rm -f conftest.$ac_objext
19420 if { (ac_try="$ac_compile"
19421 case "(($ac_try" in
19422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19423 *) ac_try_echo=$ac_try;;
19425 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19426 (eval "$ac_compile") 2>conftest.er1
19428 grep -v '^ *+' conftest.er1 >conftest.err
19430 cat conftest.err >&5
19431 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19432 (exit $ac_status); } && {
19433 test -z "$ac_c_werror_flag" ||
19434 test ! -s conftest.err
19435 } && test -s conftest.$ac_objext; then
19436 ac_cv_header_stdc=yes
19438 echo "$as_me: failed program was
:" >&5
19439 sed 's/^/| /' conftest.$ac_ext >&5
19441 ac_cv_header_stdc=no
19444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19446 if test $ac_cv_header_stdc = yes; then
19447 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19448 cat >conftest.$ac_ext <<_ACEOF
19451 cat confdefs.h >>conftest.$ac_ext
19452 cat >>conftest.$ac_ext <<_ACEOF
19453 /* end confdefs.h. */
19454 #include <string.h>
19457 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19458 $EGREP "memchr
" >/dev/null 2>&1; then
19461 ac_cv_header_stdc=no
19467 if test $ac_cv_header_stdc = yes; then
19468 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19469 cat >conftest.$ac_ext <<_ACEOF
19472 cat confdefs.h >>conftest.$ac_ext
19473 cat >>conftest.$ac_ext <<_ACEOF
19474 /* end confdefs.h. */
19475 #include <stdlib.h>
19478 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19479 $EGREP "free
" >/dev/null 2>&1; then
19482 ac_cv_header_stdc=no
19488 if test $ac_cv_header_stdc = yes; then
19489 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19490 if test "$cross_compiling" = yes; then
19493 cat >conftest.$ac_ext <<_ACEOF
19496 cat confdefs.h >>conftest.$ac_ext
19497 cat >>conftest.$ac_ext <<_ACEOF
19498 /* end confdefs.h. */
19500 #include <stdlib.h>
19501 #if ((' ' & 0x0FF) == 0x020)
19502 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19503 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19505 # define ISLOWER(c) \
19506 (('a' <= (c) && (c) <= 'i') \
19507 || ('j' <= (c) && (c) <= 'r') \
19508 || ('s' <= (c) && (c) <= 'z'))
19509 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19512 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19517 for (i = 0; i < 256; i++)
19518 if (XOR (islower (i), ISLOWER (i))
19519 || toupper (i) != TOUPPER (i))
19524 rm -f conftest$ac_exeext
19525 if { (ac_try="$ac_link"
19526 case "(($ac_try" in
19527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19528 *) ac_try_echo=$ac_try;;
19530 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19531 (eval "$ac_link") 2>&5
19533 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19534 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19535 { (case "(($ac_try" in
19536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19537 *) ac_try_echo=$ac_try;;
19539 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19540 (eval "$ac_try") 2>&5
19542 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19543 (exit $ac_status); }; }; then
19546 echo "$as_me: program exited with status
$ac_status" >&5
19547 echo "$as_me: failed program was
:" >&5
19548 sed 's/^/| /' conftest.$ac_ext >&5
19550 ( exit $ac_status )
19551 ac_cv_header_stdc=no
19553 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19559 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
19560 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19561 if test $ac_cv_header_stdc = yes; then
19563 cat >>confdefs.h <<\_ACEOF
19564 #define STDC_HEADERS 1
19569 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19579 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19580 inttypes.h stdint.h unistd.h
19582 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19583 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19584 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19585 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19586 echo $ECHO_N "(cached
) $ECHO_C" >&6
19588 cat >conftest.$ac_ext <<_ACEOF
19591 cat confdefs.h >>conftest.$ac_ext
19592 cat >>conftest.$ac_ext <<_ACEOF
19593 /* end confdefs.h. */
19594 $ac_includes_default
19596 #include <$ac_header>
19598 rm -f conftest.$ac_objext
19599 if { (ac_try="$ac_compile"
19600 case "(($ac_try" in
19601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19602 *) ac_try_echo=$ac_try;;
19604 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19605 (eval "$ac_compile") 2>conftest.er1
19607 grep -v '^ *+' conftest.er1 >conftest.err
19609 cat conftest.err >&5
19610 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19611 (exit $ac_status); } && {
19612 test -z "$ac_c_werror_flag" ||
19613 test ! -s conftest.err
19614 } && test -s conftest.$ac_objext; then
19615 eval "$as_ac_Header=yes"
19617 echo "$as_me: failed program was
:" >&5
19618 sed 's/^/| /' conftest.$ac_ext >&5
19620 eval "$as_ac_Header=no
"
19623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19625 ac_res=`eval echo '${'$as_ac_Header'}'`
19626 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19627 echo "${ECHO_T}$ac_res" >&6; }
19628 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19629 cat >>confdefs.h <<_ACEOF
19630 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19640 for ac_header in langinfo.h wchar.h
19642 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19643 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19644 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19645 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19646 echo $ECHO_N "(cached
) $ECHO_C" >&6
19648 cat >conftest.$ac_ext <<_ACEOF
19651 cat confdefs.h >>conftest.$ac_ext
19652 cat >>conftest.$ac_ext <<_ACEOF
19653 /* end confdefs.h. */
19654 $ac_includes_default
19656 #include <$ac_header>
19658 rm -f conftest.$ac_objext
19659 if { (ac_try="$ac_compile"
19660 case "(($ac_try" in
19661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19662 *) ac_try_echo=$ac_try;;
19664 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19665 (eval "$ac_compile") 2>conftest.er1
19667 grep -v '^ *+' conftest.er1 >conftest.err
19669 cat conftest.err >&5
19670 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19671 (exit $ac_status); } && {
19672 test -z "$ac_c_werror_flag" ||
19673 test ! -s conftest.err
19674 } && test -s conftest.$ac_objext; then
19675 eval "$as_ac_Header=yes"
19677 echo "$as_me: failed program was
:" >&5
19678 sed 's/^/| /' conftest.$ac_ext >&5
19680 eval "$as_ac_Header=no
"
19683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19685 ac_res=`eval echo '${'$as_ac_Header'}'`
19686 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19687 echo "${ECHO_T}$ac_res" >&6; }
19688 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19689 cat >>confdefs.h <<_ACEOF
19690 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19698 if test "$ac_cv_header_wchar_h" != "yes"; then
19700 for ac_header in wcstr.h
19702 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19703 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19704 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19705 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19706 echo $ECHO_N "(cached
) $ECHO_C" >&6
19708 cat >conftest.$ac_ext <<_ACEOF
19711 cat confdefs.h >>conftest.$ac_ext
19712 cat >>conftest.$ac_ext <<_ACEOF
19713 /* end confdefs.h. */
19714 $ac_includes_default
19716 #include <$ac_header>
19718 rm -f conftest.$ac_objext
19719 if { (ac_try="$ac_compile"
19720 case "(($ac_try" in
19721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19722 *) ac_try_echo=$ac_try;;
19724 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19725 (eval "$ac_compile") 2>conftest.er1
19727 grep -v '^ *+' conftest.er1 >conftest.err
19729 cat conftest.err >&5
19730 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19731 (exit $ac_status); } && {
19732 test -z "$ac_c_werror_flag" ||
19733 test ! -s conftest.err
19734 } && test -s conftest.$ac_objext; then
19735 eval "$as_ac_Header=yes"
19737 echo "$as_me: failed program was
:" >&5
19738 sed 's/^/| /' conftest.$ac_ext >&5
19740 eval "$as_ac_Header=no
"
19743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19745 ac_res=`eval echo '${'$as_ac_Header'}'`
19746 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19747 echo "${ECHO_T}$ac_res" >&6; }
19748 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19749 cat >>confdefs.h <<_ACEOF
19750 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19760 *-pc-os2_emx | *-pc-os2-emx )
19761 if test $ac_cv_header_langinfo_h = "yes" \
19762 -a \( "$wx_cv_gccversion" = "EMX2
" \
19763 -o "$wx_cv_gccversion" = "EMX3
" \
19764 -o "$wx_cv_gccversion" = "Innotek5
" \); then
19765 LIBS="$LIBS -lintl"
19770 if test "$USE_UNIX" = 1 ; then
19772 for ac_header in sys/select.h
19774 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19775 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19776 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19777 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19778 echo $ECHO_N "(cached
) $ECHO_C" >&6
19780 cat >conftest.$ac_ext <<_ACEOF
19783 cat confdefs.h >>conftest.$ac_ext
19784 cat >>conftest.$ac_ext <<_ACEOF
19785 /* end confdefs.h. */
19786 $ac_includes_default
19788 #include <$ac_header>
19790 rm -f conftest.$ac_objext
19791 if { (ac_try="$ac_compile"
19792 case "(($ac_try" in
19793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19794 *) ac_try_echo=$ac_try;;
19796 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19797 (eval "$ac_compile") 2>conftest.er1
19799 grep -v '^ *+' conftest.er1 >conftest.err
19801 cat conftest.err >&5
19802 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19803 (exit $ac_status); } && {
19804 test -z "$ac_c_werror_flag" ||
19805 test ! -s conftest.err
19806 } && test -s conftest.$ac_objext; then
19807 eval "$as_ac_Header=yes"
19809 echo "$as_me: failed program was
:" >&5
19810 sed 's/^/| /' conftest.$ac_ext >&5
19812 eval "$as_ac_Header=no
"
19815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19817 ac_res=`eval echo '${'$as_ac_Header'}'`
19818 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19819 echo "${ECHO_T}$ac_res" >&6; }
19820 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19821 cat >>confdefs.h <<_ACEOF
19822 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19832 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
19833 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
19834 if test "${ac_cv_c_const+set}" = set; then
19835 echo $ECHO_N "(cached
) $ECHO_C" >&6
19837 cat >conftest.$ac_ext <<_ACEOF
19840 cat confdefs.h >>conftest.$ac_ext
19841 cat >>conftest.$ac_ext <<_ACEOF
19842 /* end confdefs.h. */
19847 /* FIXME: Include the comments suggested by Paul. */
19848 #ifndef __cplusplus
19849 /* Ultrix mips cc rejects this. */
19850 typedef int charset[2];
19852 /* SunOS 4.1.1 cc rejects this. */
19853 char const *const *pcpcc;
19855 /* NEC SVR4.0.2 mips cc rejects this. */
19856 struct point {int x, y;};
19857 static struct point const zero = {0,0};
19858 /* AIX XL C 1.02.0.0 rejects this.
19859 It does not let you subtract one const X* pointer from another in
19860 an arm of an if-expression whose if-part is not a constant
19862 const char *g = "string
";
19863 pcpcc = &g + (g ? g-g : 0);
19864 /* HPUX 7.0 cc rejects these. */
19866 ppc = (char**) pcpcc;
19867 pcpcc = (char const *const *) ppc;
19868 { /* SCO 3.2v4 cc rejects this. */
19870 char const *s = 0 ? (char *) 0 : (char const *) 0;
19875 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19876 int x[] = {25, 17};
19877 const int *foo = &x[0];
19880 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19881 typedef const int *iptr;
19885 { /* AIX XL C 1.02.0.0 rejects this saying
19886 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19887 struct s { int j; const int *ap[3]; };
19888 struct s *b; b->j = 5;
19890 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19891 const int foo = 10;
19892 if (!foo) return 0;
19894 return !cs[0] && !zero.x;
19901 rm -f conftest.$ac_objext
19902 if { (ac_try="$ac_compile"
19903 case "(($ac_try" in
19904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19905 *) ac_try_echo=$ac_try;;
19907 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19908 (eval "$ac_compile") 2>conftest.er1
19910 grep -v '^ *+' conftest.er1 >conftest.err
19912 cat conftest.err >&5
19913 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19914 (exit $ac_status); } && {
19915 test -z "$ac_c_werror_flag" ||
19916 test ! -s conftest.err
19917 } && test -s conftest.$ac_objext; then
19920 echo "$as_me: failed program was
:" >&5
19921 sed 's/^/| /' conftest.$ac_ext >&5
19926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19928 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19929 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19930 if test $ac_cv_c_const = no; then
19932 cat >>confdefs.h <<\_ACEOF
19938 { echo "$as_me:$LINENO: checking
for inline
" >&5
19939 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19940 if test "${ac_cv_c_inline+set}" = set; then
19941 echo $ECHO_N "(cached
) $ECHO_C" >&6
19944 for ac_kw in inline __inline__ __inline; do
19945 cat >conftest.$ac_ext <<_ACEOF
19948 cat confdefs.h >>conftest.$ac_ext
19949 cat >>conftest.$ac_ext <<_ACEOF
19950 /* end confdefs.h. */
19951 #ifndef __cplusplus
19953 static $ac_kw foo_t static_foo () {return 0; }
19954 $ac_kw foo_t foo () {return 0; }
19958 rm -f conftest.$ac_objext
19959 if { (ac_try="$ac_compile"
19960 case "(($ac_try" in
19961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19962 *) ac_try_echo=$ac_try;;
19964 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19965 (eval "$ac_compile") 2>conftest.er1
19967 grep -v '^ *+' conftest.er1 >conftest.err
19969 cat conftest.err >&5
19970 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19971 (exit $ac_status); } && {
19972 test -z "$ac_c_werror_flag" ||
19973 test ! -s conftest.err
19974 } && test -s conftest.$ac_objext; then
19975 ac_cv_c_inline=$ac_kw
19977 echo "$as_me: failed program was
:" >&5
19978 sed 's/^/| /' conftest.$ac_ext >&5
19983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19984 test "$ac_cv_c_inline" != no && break
19988 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19989 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19992 case $ac_cv_c_inline in
19995 case $ac_cv_c_inline in
19997 *) ac_val=$ac_cv_c_inline;;
19999 cat >>confdefs.h <<_ACEOF
20000 #ifndef __cplusplus
20001 #define inline $ac_val
20008 { echo "$as_me:$LINENO: checking
for short
" >&5
20009 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
20010 if test "${ac_cv_type_short+set}" = set; then
20011 echo $ECHO_N "(cached
) $ECHO_C" >&6
20013 cat >conftest.$ac_ext <<_ACEOF
20016 cat confdefs.h >>conftest.$ac_ext
20017 cat >>conftest.$ac_ext <<_ACEOF
20018 /* end confdefs.h. */
20019 $ac_includes_default
20020 typedef short ac__type_new_;
20024 if ((ac__type_new_ *) 0)
20026 if (sizeof (ac__type_new_))
20032 rm -f conftest.$ac_objext
20033 if { (ac_try="$ac_compile"
20034 case "(($ac_try" in
20035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20036 *) ac_try_echo=$ac_try;;
20038 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20039 (eval "$ac_compile") 2>conftest.er1
20041 grep -v '^ *+' conftest.er1 >conftest.err
20043 cat conftest.err >&5
20044 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20045 (exit $ac_status); } && {
20046 test -z "$ac_c_werror_flag" ||
20047 test ! -s conftest.err
20048 } && test -s conftest.$ac_objext; then
20049 ac_cv_type_short=yes
20051 echo "$as_me: failed program was
:" >&5
20052 sed 's/^/| /' conftest.$ac_ext >&5
20054 ac_cv_type_short=no
20057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20059 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
20060 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20062 # The cast to long int works around a bug in the HP C Compiler
20063 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20064 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20065 # This bug is HP SR number 8606223364.
20066 { echo "$as_me:$LINENO: checking size of short
" >&5
20067 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
20068 if test "${ac_cv_sizeof_short+set}" = set; then
20069 echo $ECHO_N "(cached
) $ECHO_C" >&6
20071 if test "$cross_compiling" = yes; then
20072 # Depending upon the size, compute the lo and hi bounds.
20073 cat >conftest.$ac_ext <<_ACEOF
20076 cat confdefs.h >>conftest.$ac_ext
20077 cat >>conftest.$ac_ext <<_ACEOF
20078 /* end confdefs.h. */
20079 $ac_includes_default
20080 typedef short ac__type_sizeof_;
20084 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20091 rm -f conftest.$ac_objext
20092 if { (ac_try="$ac_compile"
20093 case "(($ac_try" in
20094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20095 *) ac_try_echo=$ac_try;;
20097 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20098 (eval "$ac_compile") 2>conftest.er1
20100 grep -v '^ *+' conftest.er1 >conftest.err
20102 cat conftest.err >&5
20103 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20104 (exit $ac_status); } && {
20105 test -z "$ac_c_werror_flag" ||
20106 test ! -s conftest.err
20107 } && test -s conftest.$ac_objext; then
20110 cat >conftest.$ac_ext <<_ACEOF
20113 cat confdefs.h >>conftest.$ac_ext
20114 cat >>conftest.$ac_ext <<_ACEOF
20115 /* end confdefs.h. */
20116 $ac_includes_default
20117 typedef short ac__type_sizeof_;
20121 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20128 rm -f conftest.$ac_objext
20129 if { (ac_try="$ac_compile"
20130 case "(($ac_try" in
20131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20132 *) ac_try_echo=$ac_try;;
20134 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20135 (eval "$ac_compile") 2>conftest.er1
20137 grep -v '^ *+' conftest.er1 >conftest.err
20139 cat conftest.err >&5
20140 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20141 (exit $ac_status); } && {
20142 test -z "$ac_c_werror_flag" ||
20143 test ! -s conftest.err
20144 } && test -s conftest.$ac_objext; then
20145 ac_hi=$ac_mid; break
20147 echo "$as_me: failed program was
:" >&5
20148 sed 's/^/| /' conftest.$ac_ext >&5
20150 ac_lo=`expr $ac_mid + 1`
20151 if test $ac_lo -le $ac_mid; then
20155 ac_mid=`expr 2 '*' $ac_mid + 1`
20158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20161 echo "$as_me: failed program was
:" >&5
20162 sed 's/^/| /' conftest.$ac_ext >&5
20164 cat >conftest.$ac_ext <<_ACEOF
20167 cat confdefs.h >>conftest.$ac_ext
20168 cat >>conftest.$ac_ext <<_ACEOF
20169 /* end confdefs.h. */
20170 $ac_includes_default
20171 typedef short ac__type_sizeof_;
20175 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20182 rm -f conftest.$ac_objext
20183 if { (ac_try="$ac_compile"
20184 case "(($ac_try" in
20185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20186 *) ac_try_echo=$ac_try;;
20188 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20189 (eval "$ac_compile") 2>conftest.er1
20191 grep -v '^ *+' conftest.er1 >conftest.err
20193 cat conftest.err >&5
20194 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20195 (exit $ac_status); } && {
20196 test -z "$ac_c_werror_flag" ||
20197 test ! -s conftest.err
20198 } && test -s conftest.$ac_objext; then
20201 cat >conftest.$ac_ext <<_ACEOF
20204 cat confdefs.h >>conftest.$ac_ext
20205 cat >>conftest.$ac_ext <<_ACEOF
20206 /* end confdefs.h. */
20207 $ac_includes_default
20208 typedef short ac__type_sizeof_;
20212 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20219 rm -f conftest.$ac_objext
20220 if { (ac_try="$ac_compile"
20221 case "(($ac_try" in
20222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20223 *) ac_try_echo=$ac_try;;
20225 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20226 (eval "$ac_compile") 2>conftest.er1
20228 grep -v '^ *+' conftest.er1 >conftest.err
20230 cat conftest.err >&5
20231 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20232 (exit $ac_status); } && {
20233 test -z "$ac_c_werror_flag" ||
20234 test ! -s conftest.err
20235 } && test -s conftest.$ac_objext; then
20236 ac_lo=$ac_mid; break
20238 echo "$as_me: failed program was
:" >&5
20239 sed 's/^/| /' conftest.$ac_ext >&5
20241 ac_hi=`expr '(' $ac_mid ')' - 1`
20242 if test $ac_mid -le $ac_hi; then
20246 ac_mid=`expr 2 '*' $ac_mid`
20249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20252 echo "$as_me: failed program was
:" >&5
20253 sed 's/^/| /' conftest.$ac_ext >&5
20258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20262 # Binary search between lo and hi bounds.
20263 while test "x
$ac_lo" != "x
$ac_hi"; do
20264 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20265 cat >conftest.$ac_ext <<_ACEOF
20268 cat confdefs.h >>conftest.$ac_ext
20269 cat >>conftest.$ac_ext <<_ACEOF
20270 /* end confdefs.h. */
20271 $ac_includes_default
20272 typedef short ac__type_sizeof_;
20276 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20283 rm -f conftest.$ac_objext
20284 if { (ac_try="$ac_compile"
20285 case "(($ac_try" in
20286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20287 *) ac_try_echo=$ac_try;;
20289 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20290 (eval "$ac_compile") 2>conftest.er1
20292 grep -v '^ *+' conftest.er1 >conftest.err
20294 cat conftest.err >&5
20295 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20296 (exit $ac_status); } && {
20297 test -z "$ac_c_werror_flag" ||
20298 test ! -s conftest.err
20299 } && test -s conftest.$ac_objext; then
20302 echo "$as_me: failed program was
:" >&5
20303 sed 's/^/| /' conftest.$ac_ext >&5
20305 ac_lo=`expr '(' $ac_mid ')' + 1`
20308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20311 ?*) ac_cv_sizeof_short=$ac_lo;;
20312 '') if test "$ac_cv_type_short" = yes; then
20313 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
20314 See \
`config.log' for more details." >&5
20315 echo "$as_me: error: cannot compute sizeof (short)
20316 See \`config.log
' for more details." >&2;}
20317 { (exit 77); exit 77; }; }
20319 ac_cv_sizeof_short=0
20323 cat >conftest.$ac_ext <<_ACEOF
20326 cat confdefs.h >>conftest.$ac_ext
20327 cat >>conftest.$ac_ext <<_ACEOF
20328 /* end confdefs.h. */
20329 $ac_includes_default
20330 typedef short ac__type_sizeof_;
20331 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20332 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20334 #include <stdlib.h>
20339 FILE *f = fopen ("conftest.val", "w");
20342 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20344 long int i = longval ();
20345 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20347 fprintf (f, "%ld\n", i);
20351 unsigned long int i = ulongval ();
20352 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20354 fprintf (f, "%lu\n", i);
20356 return ferror (f) || fclose (f) != 0;
20362 rm -f conftest$ac_exeext
20363 if { (ac_try="$ac_link"
20364 case "(($ac_try" in
20365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20366 *) ac_try_echo=$ac_try;;
20368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20369 (eval "$ac_link") 2>&5
20371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20372 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
20373 { (case "(($ac_try" in
20374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20375 *) ac_try_echo=$ac_try;;
20377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20378 (eval "$ac_try") 2>&5
20380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381 (exit $ac_status); }; }; then
20382 ac_cv_sizeof_short=`cat conftest.val`
20384 echo "$as_me: program exited with status $ac_status" >&5
20385 echo "$as_me: failed program was:" >&5
20386 sed 's
/^
/| /' conftest.$ac_ext >&5
20388 ( exit $ac_status )
20389 if test "$ac_cv_type_short" = yes; then
20390 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20391 See \`config.log' for more details.
" >&5
20392 echo "$as_me: error
: cannot compute sizeof
(short
)
20393 See \
`config.log' for more details." >&2;}
20394 { (exit 77); exit 77; }; }
20396 ac_cv_sizeof_short=0
20399 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20403 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20404 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20408 cat >>confdefs.h <<_ACEOF
20409 #define SIZEOF_SHORT $ac_cv_sizeof_short
20413 { echo "$as_me:$LINENO: checking for void *" >&5
20414 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20415 if test "${ac_cv_type_void_p+set}" = set; then
20416 echo $ECHO_N "(cached) $ECHO_C" >&6
20418 cat >conftest.$ac_ext <<_ACEOF
20421 cat confdefs.h >>conftest.$ac_ext
20422 cat >>conftest.$ac_ext <<_ACEOF
20423 /* end confdefs.h. */
20424 $ac_includes_default
20425 typedef void * ac__type_new_;
20429 if ((ac__type_new_ *) 0)
20431 if (sizeof (ac__type_new_))
20437 rm -f conftest.$ac_objext
20438 if { (ac_try="$ac_compile"
20439 case "(($ac_try" in
20440 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20441 *) ac_try_echo
=$ac_try;;
20443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20444 (eval "$ac_compile") 2>conftest.er1
20446 grep -v '^ *+' conftest.er1
>conftest.err
20448 cat conftest.err
>&5
20449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20450 (exit $ac_status); } && {
20451 test -z "$ac_c_werror_flag" ||
20452 test ! -s conftest.err
20453 } && test -s conftest.
$ac_objext; then
20454 ac_cv_type_void_p
=yes
20456 echo "$as_me: failed program was:" >&5
20457 sed 's/^/| /' conftest.
$ac_ext >&5
20459 ac_cv_type_void_p
=no
20462 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20464 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20465 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20467 # The cast to long int works around a bug in the HP C Compiler
20468 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20469 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20470 # This bug is HP SR number 8606223364.
20471 { echo "$as_me:$LINENO: checking size of void *" >&5
20472 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20473 if test "${ac_cv_sizeof_void_p+set}" = set; then
20474 echo $ECHO_N "(cached) $ECHO_C" >&6
20476 if test "$cross_compiling" = yes; then
20477 # Depending upon the size, compute the lo and hi bounds.
20478 cat >conftest.
$ac_ext <<_ACEOF
20481 cat confdefs.h
>>conftest.
$ac_ext
20482 cat >>conftest.
$ac_ext <<_ACEOF
20483 /* end confdefs.h. */
20484 $ac_includes_default
20485 typedef void * ac__type_sizeof_;
20489 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20496 rm -f conftest.
$ac_objext
20497 if { (ac_try
="$ac_compile"
20498 case "(($ac_try" in
20499 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20500 *) ac_try_echo=$ac_try;;
20502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20503 (eval "$ac_compile") 2>conftest.er1
20505 grep -v '^ *+' conftest.er1 >conftest.err
20507 cat conftest.err >&5
20508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509 (exit $ac_status); } && {
20510 test -z "$ac_c_werror_flag" ||
20511 test ! -s conftest.err
20512 } && test -s conftest.$ac_objext; then
20515 cat >conftest.$ac_ext <<_ACEOF
20518 cat confdefs.h >>conftest.$ac_ext
20519 cat >>conftest.$ac_ext <<_ACEOF
20520 /* end confdefs.h. */
20521 $ac_includes_default
20522 typedef void * ac__type_sizeof_;
20526 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20533 rm -f conftest.$ac_objext
20534 if { (ac_try="$ac_compile"
20535 case "(($ac_try" in
20536 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20537 *) ac_try_echo
=$ac_try;;
20539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20540 (eval "$ac_compile") 2>conftest.er1
20542 grep -v '^ *+' conftest.er1
>conftest.err
20544 cat conftest.err
>&5
20545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20546 (exit $ac_status); } && {
20547 test -z "$ac_c_werror_flag" ||
20548 test ! -s conftest.err
20549 } && test -s conftest.
$ac_objext; then
20550 ac_hi
=$ac_mid; break
20552 echo "$as_me: failed program was:" >&5
20553 sed 's/^/| /' conftest.
$ac_ext >&5
20555 ac_lo
=`expr $ac_mid + 1`
20556 if test $ac_lo -le $ac_mid; then
20560 ac_mid
=`expr 2 '*' $ac_mid + 1`
20563 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20566 echo "$as_me: failed program was:" >&5
20567 sed 's/^/| /' conftest.
$ac_ext >&5
20569 cat >conftest.
$ac_ext <<_ACEOF
20572 cat confdefs.h
>>conftest.
$ac_ext
20573 cat >>conftest.
$ac_ext <<_ACEOF
20574 /* end confdefs.h. */
20575 $ac_includes_default
20576 typedef void * ac__type_sizeof_;
20580 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20587 rm -f conftest.
$ac_objext
20588 if { (ac_try
="$ac_compile"
20589 case "(($ac_try" in
20590 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20591 *) ac_try_echo=$ac_try;;
20593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20594 (eval "$ac_compile") 2>conftest.er1
20596 grep -v '^ *+' conftest.er1 >conftest.err
20598 cat conftest.err >&5
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); } && {
20601 test -z "$ac_c_werror_flag" ||
20602 test ! -s conftest.err
20603 } && test -s conftest.$ac_objext; then
20606 cat >conftest.$ac_ext <<_ACEOF
20609 cat confdefs.h >>conftest.$ac_ext
20610 cat >>conftest.$ac_ext <<_ACEOF
20611 /* end confdefs.h. */
20612 $ac_includes_default
20613 typedef void * ac__type_sizeof_;
20617 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20624 rm -f conftest.$ac_objext
20625 if { (ac_try="$ac_compile"
20626 case "(($ac_try" in
20627 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20628 *) ac_try_echo
=$ac_try;;
20630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20631 (eval "$ac_compile") 2>conftest.er1
20633 grep -v '^ *+' conftest.er1
>conftest.err
20635 cat conftest.err
>&5
20636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20637 (exit $ac_status); } && {
20638 test -z "$ac_c_werror_flag" ||
20639 test ! -s conftest.err
20640 } && test -s conftest.
$ac_objext; then
20641 ac_lo
=$ac_mid; break
20643 echo "$as_me: failed program was:" >&5
20644 sed 's/^/| /' conftest.
$ac_ext >&5
20646 ac_hi
=`expr '(' $ac_mid ')' - 1`
20647 if test $ac_mid -le $ac_hi; then
20651 ac_mid
=`expr 2 '*' $ac_mid`
20654 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20657 echo "$as_me: failed program was:" >&5
20658 sed 's/^/| /' conftest.
$ac_ext >&5
20663 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20667 # Binary search between lo and hi bounds.
20668 while test "x$ac_lo" != "x$ac_hi"; do
20669 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20670 cat >conftest.
$ac_ext <<_ACEOF
20673 cat confdefs.h
>>conftest.
$ac_ext
20674 cat >>conftest.
$ac_ext <<_ACEOF
20675 /* end confdefs.h. */
20676 $ac_includes_default
20677 typedef void * ac__type_sizeof_;
20681 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20688 rm -f conftest.
$ac_objext
20689 if { (ac_try
="$ac_compile"
20690 case "(($ac_try" in
20691 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20692 *) ac_try_echo=$ac_try;;
20694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20695 (eval "$ac_compile") 2>conftest.er1
20697 grep -v '^ *+' conftest.er1 >conftest.err
20699 cat conftest.err >&5
20700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20701 (exit $ac_status); } && {
20702 test -z "$ac_c_werror_flag" ||
20703 test ! -s conftest.err
20704 } && test -s conftest.$ac_objext; then
20707 echo "$as_me: failed program was:" >&5
20708 sed 's/^/| /' conftest.$ac_ext >&5
20710 ac_lo=`expr '(' $ac_mid ')' + 1`
20713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20716 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20717 '') if test "$ac_cv_type_void_p" = yes; then
20718 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20719 See \`config.log
' for more details." >&5
20720 echo "$as_me: error: cannot compute sizeof (void *)
20721 See \`config.log' for more details.
" >&2;}
20722 { (exit 77); exit 77; }; }
20724 ac_cv_sizeof_void_p=0
20728 cat >conftest.$ac_ext <<_ACEOF
20731 cat confdefs.h >>conftest.$ac_ext
20732 cat >>conftest.$ac_ext <<_ACEOF
20733 /* end confdefs.h. */
20734 $ac_includes_default
20735 typedef void * ac__type_sizeof_;
20736 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20737 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20739 #include <stdlib.h>
20744 FILE *f = fopen ("conftest.val
", "w
");
20747 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20749 long int i = longval ();
20750 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20752 fprintf (f, "%ld
\n", i);
20756 unsigned long int i = ulongval ();
20757 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20759 fprintf (f, "%lu
\n", i);
20761 return ferror (f) || fclose (f) != 0;
20767 rm -f conftest$ac_exeext
20768 if { (ac_try="$ac_link"
20769 case "(($ac_try" in
20770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20771 *) ac_try_echo=$ac_try;;
20773 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20774 (eval "$ac_link") 2>&5
20776 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20777 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20778 { (case "(($ac_try" in
20779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20780 *) ac_try_echo=$ac_try;;
20782 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20783 (eval "$ac_try") 2>&5
20785 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20786 (exit $ac_status); }; }; then
20787 ac_cv_sizeof_void_p=`cat conftest.val`
20789 echo "$as_me: program exited with status
$ac_status" >&5
20790 echo "$as_me: failed program was
:" >&5
20791 sed 's/^/| /' conftest.$ac_ext >&5
20793 ( exit $ac_status )
20794 if test "$ac_cv_type_void_p" = yes; then
20795 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
20796 See \
`config.log' for more details." >&5
20797 echo "$as_me: error: cannot compute sizeof (void *)
20798 See \`config.log
' for more details." >&2;}
20799 { (exit 77); exit 77; }; }
20801 ac_cv_sizeof_void_p=0
20804 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20808 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20809 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20813 cat >>confdefs.h <<_ACEOF
20814 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20818 { echo "$as_me:$LINENO: checking for int" >&5
20819 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20820 if test "${ac_cv_type_int+set}" = set; then
20821 echo $ECHO_N "(cached) $ECHO_C" >&6
20823 cat >conftest.$ac_ext <<_ACEOF
20826 cat confdefs.h >>conftest.$ac_ext
20827 cat >>conftest.$ac_ext <<_ACEOF
20828 /* end confdefs.h. */
20829 $ac_includes_default
20830 typedef int ac__type_new_;
20834 if ((ac__type_new_ *) 0)
20836 if (sizeof (ac__type_new_))
20842 rm -f conftest.$ac_objext
20843 if { (ac_try="$ac_compile"
20844 case "(($ac_try" in
20845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20846 *) ac_try_echo=$ac_try;;
20848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20849 (eval "$ac_compile") 2>conftest.er1
20851 grep -v '^
*+' conftest.er1 >conftest.err
20853 cat conftest.err >&5
20854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20855 (exit $ac_status); } && {
20856 test -z "$ac_c_werror_flag" ||
20857 test ! -s conftest.err
20858 } && test -s conftest.$ac_objext; then
20861 echo "$as_me: failed program was:" >&5
20862 sed 's
/^
/| /' conftest.$ac_ext >&5
20867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20869 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20870 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20872 # The cast to long int works around a bug in the HP C Compiler
20873 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20874 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20875 # This bug is HP SR number 8606223364.
20876 { echo "$as_me:$LINENO: checking size of int" >&5
20877 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20878 if test "${ac_cv_sizeof_int+set}" = set; then
20879 echo $ECHO_N "(cached) $ECHO_C" >&6
20881 if test "$cross_compiling" = yes; then
20882 # Depending upon the size, compute the lo and hi bounds.
20883 cat >conftest.
$ac_ext <<_ACEOF
20886 cat confdefs.h
>>conftest.
$ac_ext
20887 cat >>conftest.
$ac_ext <<_ACEOF
20888 /* end confdefs.h. */
20889 $ac_includes_default
20890 typedef int ac__type_sizeof_;
20894 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20901 rm -f conftest.
$ac_objext
20902 if { (ac_try
="$ac_compile"
20903 case "(($ac_try" in
20904 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20905 *) ac_try_echo=$ac_try;;
20907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20908 (eval "$ac_compile") 2>conftest.er1
20910 grep -v '^ *+' conftest.er1 >conftest.err
20912 cat conftest.err >&5
20913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20914 (exit $ac_status); } && {
20915 test -z "$ac_c_werror_flag" ||
20916 test ! -s conftest.err
20917 } && test -s conftest.$ac_objext; then
20920 cat >conftest.$ac_ext <<_ACEOF
20923 cat confdefs.h >>conftest.$ac_ext
20924 cat >>conftest.$ac_ext <<_ACEOF
20925 /* end confdefs.h. */
20926 $ac_includes_default
20927 typedef int ac__type_sizeof_;
20931 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20938 rm -f conftest.$ac_objext
20939 if { (ac_try="$ac_compile"
20940 case "(($ac_try" in
20941 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20942 *) ac_try_echo
=$ac_try;;
20944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20945 (eval "$ac_compile") 2>conftest.er1
20947 grep -v '^ *+' conftest.er1
>conftest.err
20949 cat conftest.err
>&5
20950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20951 (exit $ac_status); } && {
20952 test -z "$ac_c_werror_flag" ||
20953 test ! -s conftest.err
20954 } && test -s conftest.
$ac_objext; then
20955 ac_hi
=$ac_mid; break
20957 echo "$as_me: failed program was:" >&5
20958 sed 's/^/| /' conftest.
$ac_ext >&5
20960 ac_lo
=`expr $ac_mid + 1`
20961 if test $ac_lo -le $ac_mid; then
20965 ac_mid
=`expr 2 '*' $ac_mid + 1`
20968 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20971 echo "$as_me: failed program was:" >&5
20972 sed 's/^/| /' conftest.
$ac_ext >&5
20974 cat >conftest.
$ac_ext <<_ACEOF
20977 cat confdefs.h
>>conftest.
$ac_ext
20978 cat >>conftest.
$ac_ext <<_ACEOF
20979 /* end confdefs.h. */
20980 $ac_includes_default
20981 typedef int ac__type_sizeof_;
20985 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20992 rm -f conftest.
$ac_objext
20993 if { (ac_try
="$ac_compile"
20994 case "(($ac_try" in
20995 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20996 *) ac_try_echo=$ac_try;;
20998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20999 (eval "$ac_compile") 2>conftest.er1
21001 grep -v '^ *+' conftest.er1 >conftest.err
21003 cat conftest.err >&5
21004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21005 (exit $ac_status); } && {
21006 test -z "$ac_c_werror_flag" ||
21007 test ! -s conftest.err
21008 } && test -s conftest.$ac_objext; then
21011 cat >conftest.$ac_ext <<_ACEOF
21014 cat confdefs.h >>conftest.$ac_ext
21015 cat >>conftest.$ac_ext <<_ACEOF
21016 /* end confdefs.h. */
21017 $ac_includes_default
21018 typedef int ac__type_sizeof_;
21022 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21029 rm -f conftest.$ac_objext
21030 if { (ac_try="$ac_compile"
21031 case "(($ac_try" in
21032 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21033 *) ac_try_echo
=$ac_try;;
21035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21036 (eval "$ac_compile") 2>conftest.er1
21038 grep -v '^ *+' conftest.er1
>conftest.err
21040 cat conftest.err
>&5
21041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21042 (exit $ac_status); } && {
21043 test -z "$ac_c_werror_flag" ||
21044 test ! -s conftest.err
21045 } && test -s conftest.
$ac_objext; then
21046 ac_lo
=$ac_mid; break
21048 echo "$as_me: failed program was:" >&5
21049 sed 's/^/| /' conftest.
$ac_ext >&5
21051 ac_hi
=`expr '(' $ac_mid ')' - 1`
21052 if test $ac_mid -le $ac_hi; then
21056 ac_mid
=`expr 2 '*' $ac_mid`
21059 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21062 echo "$as_me: failed program was:" >&5
21063 sed 's/^/| /' conftest.
$ac_ext >&5
21068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21072 # Binary search between lo and hi bounds.
21073 while test "x$ac_lo" != "x$ac_hi"; do
21074 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21075 cat >conftest.
$ac_ext <<_ACEOF
21078 cat confdefs.h
>>conftest.
$ac_ext
21079 cat >>conftest.
$ac_ext <<_ACEOF
21080 /* end confdefs.h. */
21081 $ac_includes_default
21082 typedef int ac__type_sizeof_;
21086 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21093 rm -f conftest.
$ac_objext
21094 if { (ac_try
="$ac_compile"
21095 case "(($ac_try" in
21096 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21097 *) ac_try_echo=$ac_try;;
21099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21100 (eval "$ac_compile") 2>conftest.er1
21102 grep -v '^ *+' conftest.er1 >conftest.err
21104 cat conftest.err >&5
21105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21106 (exit $ac_status); } && {
21107 test -z "$ac_c_werror_flag" ||
21108 test ! -s conftest.err
21109 } && test -s conftest.$ac_objext; then
21112 echo "$as_me: failed program was:" >&5
21113 sed 's/^/| /' conftest.$ac_ext >&5
21115 ac_lo=`expr '(' $ac_mid ')' + 1`
21118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21121 ?*) ac_cv_sizeof_int=$ac_lo;;
21122 '') if test "$ac_cv_type_int" = yes; then
21123 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21124 See \`config.log
' for more details." >&5
21125 echo "$as_me: error: cannot compute sizeof (int)
21126 See \`config.log' for more details.
" >&2;}
21127 { (exit 77); exit 77; }; }
21133 cat >conftest.$ac_ext <<_ACEOF
21136 cat confdefs.h >>conftest.$ac_ext
21137 cat >>conftest.$ac_ext <<_ACEOF
21138 /* end confdefs.h. */
21139 $ac_includes_default
21140 typedef int ac__type_sizeof_;
21141 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21142 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21144 #include <stdlib.h>
21149 FILE *f = fopen ("conftest.val
", "w
");
21152 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21154 long int i = longval ();
21155 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21157 fprintf (f, "%ld
\n", i);
21161 unsigned long int i = ulongval ();
21162 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21164 fprintf (f, "%lu
\n", i);
21166 return ferror (f) || fclose (f) != 0;
21172 rm -f conftest$ac_exeext
21173 if { (ac_try="$ac_link"
21174 case "(($ac_try" in
21175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21176 *) ac_try_echo=$ac_try;;
21178 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21179 (eval "$ac_link") 2>&5
21181 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21182 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21183 { (case "(($ac_try" in
21184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21185 *) ac_try_echo=$ac_try;;
21187 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21188 (eval "$ac_try") 2>&5
21190 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21191 (exit $ac_status); }; }; then
21192 ac_cv_sizeof_int=`cat conftest.val`
21194 echo "$as_me: program exited with status
$ac_status" >&5
21195 echo "$as_me: failed program was
:" >&5
21196 sed 's/^/| /' conftest.$ac_ext >&5
21198 ( exit $ac_status )
21199 if test "$ac_cv_type_int" = yes; then
21200 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
21201 See \
`config.log' for more details." >&5
21202 echo "$as_me: error: cannot compute sizeof (int)
21203 See \`config.log
' for more details." >&2;}
21204 { (exit 77); exit 77; }; }
21209 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21213 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21214 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21218 cat >>confdefs.h <<_ACEOF
21219 #define SIZEOF_INT $ac_cv_sizeof_int
21223 { echo "$as_me:$LINENO: checking for long" >&5
21224 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21225 if test "${ac_cv_type_long+set}" = set; then
21226 echo $ECHO_N "(cached) $ECHO_C" >&6
21228 cat >conftest.$ac_ext <<_ACEOF
21231 cat confdefs.h >>conftest.$ac_ext
21232 cat >>conftest.$ac_ext <<_ACEOF
21233 /* end confdefs.h. */
21234 $ac_includes_default
21235 typedef long ac__type_new_;
21239 if ((ac__type_new_ *) 0)
21241 if (sizeof (ac__type_new_))
21247 rm -f conftest.$ac_objext
21248 if { (ac_try="$ac_compile"
21249 case "(($ac_try" in
21250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21251 *) ac_try_echo=$ac_try;;
21253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21254 (eval "$ac_compile") 2>conftest.er1
21256 grep -v '^
*+' conftest.er1 >conftest.err
21258 cat conftest.err >&5
21259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21260 (exit $ac_status); } && {
21261 test -z "$ac_c_werror_flag" ||
21262 test ! -s conftest.err
21263 } && test -s conftest.$ac_objext; then
21264 ac_cv_type_long=yes
21266 echo "$as_me: failed program was:" >&5
21267 sed 's
/^
/| /' conftest.$ac_ext >&5
21272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21274 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21275 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21277 # The cast to long int works around a bug in the HP C Compiler
21278 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21279 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21280 # This bug is HP SR number 8606223364.
21281 { echo "$as_me:$LINENO: checking size of long" >&5
21282 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21283 if test "${ac_cv_sizeof_long+set}" = set; then
21284 echo $ECHO_N "(cached) $ECHO_C" >&6
21286 if test "$cross_compiling" = yes; then
21287 # Depending upon the size, compute the lo and hi bounds.
21288 cat >conftest.
$ac_ext <<_ACEOF
21291 cat confdefs.h
>>conftest.
$ac_ext
21292 cat >>conftest.
$ac_ext <<_ACEOF
21293 /* end confdefs.h. */
21294 $ac_includes_default
21295 typedef long ac__type_sizeof_;
21299 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21306 rm -f conftest.
$ac_objext
21307 if { (ac_try
="$ac_compile"
21308 case "(($ac_try" in
21309 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21310 *) ac_try_echo=$ac_try;;
21312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21313 (eval "$ac_compile") 2>conftest.er1
21315 grep -v '^ *+' conftest.er1 >conftest.err
21317 cat conftest.err >&5
21318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21319 (exit $ac_status); } && {
21320 test -z "$ac_c_werror_flag" ||
21321 test ! -s conftest.err
21322 } && test -s conftest.$ac_objext; then
21325 cat >conftest.$ac_ext <<_ACEOF
21328 cat confdefs.h >>conftest.$ac_ext
21329 cat >>conftest.$ac_ext <<_ACEOF
21330 /* end confdefs.h. */
21331 $ac_includes_default
21332 typedef long ac__type_sizeof_;
21336 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21343 rm -f conftest.$ac_objext
21344 if { (ac_try="$ac_compile"
21345 case "(($ac_try" in
21346 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21347 *) ac_try_echo
=$ac_try;;
21349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21350 (eval "$ac_compile") 2>conftest.er1
21352 grep -v '^ *+' conftest.er1
>conftest.err
21354 cat conftest.err
>&5
21355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21356 (exit $ac_status); } && {
21357 test -z "$ac_c_werror_flag" ||
21358 test ! -s conftest.err
21359 } && test -s conftest.
$ac_objext; then
21360 ac_hi
=$ac_mid; break
21362 echo "$as_me: failed program was:" >&5
21363 sed 's/^/| /' conftest.
$ac_ext >&5
21365 ac_lo
=`expr $ac_mid + 1`
21366 if test $ac_lo -le $ac_mid; then
21370 ac_mid
=`expr 2 '*' $ac_mid + 1`
21373 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21376 echo "$as_me: failed program was:" >&5
21377 sed 's/^/| /' conftest.
$ac_ext >&5
21379 cat >conftest.
$ac_ext <<_ACEOF
21382 cat confdefs.h
>>conftest.
$ac_ext
21383 cat >>conftest.
$ac_ext <<_ACEOF
21384 /* end confdefs.h. */
21385 $ac_includes_default
21386 typedef long ac__type_sizeof_;
21390 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21397 rm -f conftest.
$ac_objext
21398 if { (ac_try
="$ac_compile"
21399 case "(($ac_try" in
21400 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21401 *) ac_try_echo=$ac_try;;
21403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21404 (eval "$ac_compile") 2>conftest.er1
21406 grep -v '^ *+' conftest.er1 >conftest.err
21408 cat conftest.err >&5
21409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21410 (exit $ac_status); } && {
21411 test -z "$ac_c_werror_flag" ||
21412 test ! -s conftest.err
21413 } && test -s conftest.$ac_objext; then
21416 cat >conftest.$ac_ext <<_ACEOF
21419 cat confdefs.h >>conftest.$ac_ext
21420 cat >>conftest.$ac_ext <<_ACEOF
21421 /* end confdefs.h. */
21422 $ac_includes_default
21423 typedef long ac__type_sizeof_;
21427 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21434 rm -f conftest.$ac_objext
21435 if { (ac_try="$ac_compile"
21436 case "(($ac_try" in
21437 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21438 *) ac_try_echo
=$ac_try;;
21440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21441 (eval "$ac_compile") 2>conftest.er1
21443 grep -v '^ *+' conftest.er1
>conftest.err
21445 cat conftest.err
>&5
21446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21447 (exit $ac_status); } && {
21448 test -z "$ac_c_werror_flag" ||
21449 test ! -s conftest.err
21450 } && test -s conftest.
$ac_objext; then
21451 ac_lo
=$ac_mid; break
21453 echo "$as_me: failed program was:" >&5
21454 sed 's/^/| /' conftest.
$ac_ext >&5
21456 ac_hi
=`expr '(' $ac_mid ')' - 1`
21457 if test $ac_mid -le $ac_hi; then
21461 ac_mid
=`expr 2 '*' $ac_mid`
21464 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21467 echo "$as_me: failed program was:" >&5
21468 sed 's/^/| /' conftest.
$ac_ext >&5
21473 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21476 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21477 # Binary search between lo and hi bounds.
21478 while test "x$ac_lo" != "x$ac_hi"; do
21479 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21480 cat >conftest.
$ac_ext <<_ACEOF
21483 cat confdefs.h
>>conftest.
$ac_ext
21484 cat >>conftest.
$ac_ext <<_ACEOF
21485 /* end confdefs.h. */
21486 $ac_includes_default
21487 typedef long ac__type_sizeof_;
21491 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21498 rm -f conftest.
$ac_objext
21499 if { (ac_try
="$ac_compile"
21500 case "(($ac_try" in
21501 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21502 *) ac_try_echo=$ac_try;;
21504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21505 (eval "$ac_compile") 2>conftest.er1
21507 grep -v '^ *+' conftest.er1 >conftest.err
21509 cat conftest.err >&5
21510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21511 (exit $ac_status); } && {
21512 test -z "$ac_c_werror_flag" ||
21513 test ! -s conftest.err
21514 } && test -s conftest.$ac_objext; then
21517 echo "$as_me: failed program was:" >&5
21518 sed 's/^/| /' conftest.$ac_ext >&5
21520 ac_lo=`expr '(' $ac_mid ')' + 1`
21523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21526 ?*) ac_cv_sizeof_long=$ac_lo;;
21527 '') if test "$ac_cv_type_long" = yes; then
21528 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21529 See \`config.log
' for more details." >&5
21530 echo "$as_me: error: cannot compute sizeof (long)
21531 See \`config.log' for more details.
" >&2;}
21532 { (exit 77); exit 77; }; }
21534 ac_cv_sizeof_long=0
21538 cat >conftest.$ac_ext <<_ACEOF
21541 cat confdefs.h >>conftest.$ac_ext
21542 cat >>conftest.$ac_ext <<_ACEOF
21543 /* end confdefs.h. */
21544 $ac_includes_default
21545 typedef long ac__type_sizeof_;
21546 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21547 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21549 #include <stdlib.h>
21554 FILE *f = fopen ("conftest.val
", "w
");
21557 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21559 long int i = longval ();
21560 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21562 fprintf (f, "%ld
\n", i);
21566 unsigned long int i = ulongval ();
21567 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21569 fprintf (f, "%lu
\n", i);
21571 return ferror (f) || fclose (f) != 0;
21577 rm -f conftest$ac_exeext
21578 if { (ac_try="$ac_link"
21579 case "(($ac_try" in
21580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21581 *) ac_try_echo=$ac_try;;
21583 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21584 (eval "$ac_link") 2>&5
21586 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21587 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21588 { (case "(($ac_try" in
21589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21590 *) ac_try_echo=$ac_try;;
21592 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21593 (eval "$ac_try") 2>&5
21595 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21596 (exit $ac_status); }; }; then
21597 ac_cv_sizeof_long=`cat conftest.val`
21599 echo "$as_me: program exited with status
$ac_status" >&5
21600 echo "$as_me: failed program was
:" >&5
21601 sed 's/^/| /' conftest.$ac_ext >&5
21603 ( exit $ac_status )
21604 if test "$ac_cv_type_long" = yes; then
21605 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
21606 See \
`config.log' for more details." >&5
21607 echo "$as_me: error: cannot compute sizeof (long)
21608 See \`config.log
' for more details." >&2;}
21609 { (exit 77); exit 77; }; }
21611 ac_cv_sizeof_long=0
21614 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21618 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21619 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21623 cat >>confdefs.h <<_ACEOF
21624 #define SIZEOF_LONG $ac_cv_sizeof_long
21628 { echo "$as_me:$LINENO: checking for size_t" >&5
21629 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21630 if test "${ac_cv_type_size_t+set}" = set; then
21631 echo $ECHO_N "(cached) $ECHO_C" >&6
21633 cat >conftest.$ac_ext <<_ACEOF
21636 cat confdefs.h >>conftest.$ac_ext
21637 cat >>conftest.$ac_ext <<_ACEOF
21638 /* end confdefs.h. */
21639 $ac_includes_default
21640 typedef size_t ac__type_new_;
21644 if ((ac__type_new_ *) 0)
21646 if (sizeof (ac__type_new_))
21652 rm -f conftest.$ac_objext
21653 if { (ac_try="$ac_compile"
21654 case "(($ac_try" in
21655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21656 *) ac_try_echo=$ac_try;;
21658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21659 (eval "$ac_compile") 2>conftest.er1
21661 grep -v '^
*+' conftest.er1 >conftest.err
21663 cat conftest.err >&5
21664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21665 (exit $ac_status); } && {
21666 test -z "$ac_c_werror_flag" ||
21667 test ! -s conftest.err
21668 } && test -s conftest.$ac_objext; then
21669 ac_cv_type_size_t=yes
21671 echo "$as_me: failed program was:" >&5
21672 sed 's
/^
/| /' conftest.$ac_ext >&5
21674 ac_cv_type_size_t=no
21677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21679 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21680 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21682 # The cast to long int works around a bug in the HP C Compiler
21683 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21684 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21685 # This bug is HP SR number 8606223364.
21686 { echo "$as_me:$LINENO: checking size of size_t" >&5
21687 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21688 if test "${ac_cv_sizeof_size_t+set}" = set; then
21689 echo $ECHO_N "(cached) $ECHO_C" >&6
21691 if test "$cross_compiling" = yes; then
21692 # Depending upon the size, compute the lo and hi bounds.
21693 cat >conftest.
$ac_ext <<_ACEOF
21696 cat confdefs.h
>>conftest.
$ac_ext
21697 cat >>conftest.
$ac_ext <<_ACEOF
21698 /* end confdefs.h. */
21699 $ac_includes_default
21700 typedef size_t ac__type_sizeof_;
21704 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21711 rm -f conftest.
$ac_objext
21712 if { (ac_try
="$ac_compile"
21713 case "(($ac_try" in
21714 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21715 *) ac_try_echo=$ac_try;;
21717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21718 (eval "$ac_compile") 2>conftest.er1
21720 grep -v '^ *+' conftest.er1 >conftest.err
21722 cat conftest.err >&5
21723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21724 (exit $ac_status); } && {
21725 test -z "$ac_c_werror_flag" ||
21726 test ! -s conftest.err
21727 } && test -s conftest.$ac_objext; then
21730 cat >conftest.$ac_ext <<_ACEOF
21733 cat confdefs.h >>conftest.$ac_ext
21734 cat >>conftest.$ac_ext <<_ACEOF
21735 /* end confdefs.h. */
21736 $ac_includes_default
21737 typedef size_t ac__type_sizeof_;
21741 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21748 rm -f conftest.$ac_objext
21749 if { (ac_try="$ac_compile"
21750 case "(($ac_try" in
21751 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21752 *) ac_try_echo
=$ac_try;;
21754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21755 (eval "$ac_compile") 2>conftest.er1
21757 grep -v '^ *+' conftest.er1
>conftest.err
21759 cat conftest.err
>&5
21760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21761 (exit $ac_status); } && {
21762 test -z "$ac_c_werror_flag" ||
21763 test ! -s conftest.err
21764 } && test -s conftest.
$ac_objext; then
21765 ac_hi
=$ac_mid; break
21767 echo "$as_me: failed program was:" >&5
21768 sed 's/^/| /' conftest.
$ac_ext >&5
21770 ac_lo
=`expr $ac_mid + 1`
21771 if test $ac_lo -le $ac_mid; then
21775 ac_mid
=`expr 2 '*' $ac_mid + 1`
21778 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21781 echo "$as_me: failed program was:" >&5
21782 sed 's/^/| /' conftest.
$ac_ext >&5
21784 cat >conftest.
$ac_ext <<_ACEOF
21787 cat confdefs.h
>>conftest.
$ac_ext
21788 cat >>conftest.
$ac_ext <<_ACEOF
21789 /* end confdefs.h. */
21790 $ac_includes_default
21791 typedef size_t ac__type_sizeof_;
21795 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21802 rm -f conftest.
$ac_objext
21803 if { (ac_try
="$ac_compile"
21804 case "(($ac_try" in
21805 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21806 *) ac_try_echo=$ac_try;;
21808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21809 (eval "$ac_compile") 2>conftest.er1
21811 grep -v '^ *+' conftest.er1 >conftest.err
21813 cat conftest.err >&5
21814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21815 (exit $ac_status); } && {
21816 test -z "$ac_c_werror_flag" ||
21817 test ! -s conftest.err
21818 } && test -s conftest.$ac_objext; then
21821 cat >conftest.$ac_ext <<_ACEOF
21824 cat confdefs.h >>conftest.$ac_ext
21825 cat >>conftest.$ac_ext <<_ACEOF
21826 /* end confdefs.h. */
21827 $ac_includes_default
21828 typedef size_t ac__type_sizeof_;
21832 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21839 rm -f conftest.$ac_objext
21840 if { (ac_try="$ac_compile"
21841 case "(($ac_try" in
21842 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21843 *) ac_try_echo
=$ac_try;;
21845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21846 (eval "$ac_compile") 2>conftest.er1
21848 grep -v '^ *+' conftest.er1
>conftest.err
21850 cat conftest.err
>&5
21851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21852 (exit $ac_status); } && {
21853 test -z "$ac_c_werror_flag" ||
21854 test ! -s conftest.err
21855 } && test -s conftest.
$ac_objext; then
21856 ac_lo
=$ac_mid; break
21858 echo "$as_me: failed program was:" >&5
21859 sed 's/^/| /' conftest.
$ac_ext >&5
21861 ac_hi
=`expr '(' $ac_mid ')' - 1`
21862 if test $ac_mid -le $ac_hi; then
21866 ac_mid
=`expr 2 '*' $ac_mid`
21869 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21872 echo "$as_me: failed program was:" >&5
21873 sed 's/^/| /' conftest.
$ac_ext >&5
21878 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21881 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21882 # Binary search between lo and hi bounds.
21883 while test "x$ac_lo" != "x$ac_hi"; do
21884 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21885 cat >conftest.
$ac_ext <<_ACEOF
21888 cat confdefs.h
>>conftest.
$ac_ext
21889 cat >>conftest.
$ac_ext <<_ACEOF
21890 /* end confdefs.h. */
21891 $ac_includes_default
21892 typedef size_t ac__type_sizeof_;
21896 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21903 rm -f conftest.
$ac_objext
21904 if { (ac_try
="$ac_compile"
21905 case "(($ac_try" in
21906 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21907 *) ac_try_echo=$ac_try;;
21909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21910 (eval "$ac_compile") 2>conftest.er1
21912 grep -v '^ *+' conftest.er1 >conftest.err
21914 cat conftest.err >&5
21915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21916 (exit $ac_status); } && {
21917 test -z "$ac_c_werror_flag" ||
21918 test ! -s conftest.err
21919 } && test -s conftest.$ac_objext; then
21922 echo "$as_me: failed program was:" >&5
21923 sed 's/^/| /' conftest.$ac_ext >&5
21925 ac_lo=`expr '(' $ac_mid ')' + 1`
21928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21931 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21932 '') if test "$ac_cv_type_size_t" = yes; then
21933 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21934 See \`config.log
' for more details." >&5
21935 echo "$as_me: error: cannot compute sizeof (size_t)
21936 See \`config.log' for more details.
" >&2;}
21937 { (exit 77); exit 77; }; }
21939 ac_cv_sizeof_size_t=0
21943 cat >conftest.$ac_ext <<_ACEOF
21946 cat confdefs.h >>conftest.$ac_ext
21947 cat >>conftest.$ac_ext <<_ACEOF
21948 /* end confdefs.h. */
21949 $ac_includes_default
21950 typedef size_t ac__type_sizeof_;
21951 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21952 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21954 #include <stdlib.h>
21959 FILE *f = fopen ("conftest.val
", "w
");
21962 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21964 long int i = longval ();
21965 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21967 fprintf (f, "%ld
\n", i);
21971 unsigned long int i = ulongval ();
21972 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21974 fprintf (f, "%lu
\n", i);
21976 return ferror (f) || fclose (f) != 0;
21982 rm -f conftest$ac_exeext
21983 if { (ac_try="$ac_link"
21984 case "(($ac_try" in
21985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21986 *) ac_try_echo=$ac_try;;
21988 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21989 (eval "$ac_link") 2>&5
21991 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21992 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21993 { (case "(($ac_try" in
21994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21995 *) ac_try_echo=$ac_try;;
21997 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21998 (eval "$ac_try") 2>&5
22000 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22001 (exit $ac_status); }; }; then
22002 ac_cv_sizeof_size_t=`cat conftest.val`
22004 echo "$as_me: program exited with status
$ac_status" >&5
22005 echo "$as_me: failed program was
:" >&5
22006 sed 's/^/| /' conftest.$ac_ext >&5
22008 ( exit $ac_status )
22009 if test "$ac_cv_type_size_t" = yes; then
22010 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
22011 See \
`config.log' for more details." >&5
22012 echo "$as_me: error: cannot compute sizeof (size_t)
22013 See \`config.log
' for more details." >&2;}
22014 { (exit 77); exit 77; }; }
22016 ac_cv_sizeof_size_t=0
22019 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22023 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22024 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22028 cat >>confdefs.h <<_ACEOF
22029 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22036 { echo "$as_me:$LINENO: checking for long long" >&5
22037 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22038 if test "${ac_cv_type_long_long+set}" = set; then
22039 echo $ECHO_N "(cached) $ECHO_C" >&6
22041 cat >conftest.$ac_ext <<_ACEOF
22044 cat confdefs.h >>conftest.$ac_ext
22045 cat >>conftest.$ac_ext <<_ACEOF
22046 /* end confdefs.h. */
22047 $ac_includes_default
22048 typedef long long ac__type_new_;
22052 if ((ac__type_new_ *) 0)
22054 if (sizeof (ac__type_new_))
22060 rm -f conftest.$ac_objext
22061 if { (ac_try="$ac_compile"
22062 case "(($ac_try" in
22063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22064 *) ac_try_echo=$ac_try;;
22066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22067 (eval "$ac_compile") 2>conftest.er1
22069 grep -v '^
*+' conftest.er1 >conftest.err
22071 cat conftest.err >&5
22072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22073 (exit $ac_status); } && {
22074 test -z "$ac_c_werror_flag" ||
22075 test ! -s conftest.err
22076 } && test -s conftest.$ac_objext; then
22077 ac_cv_type_long_long=yes
22079 echo "$as_me: failed program was:" >&5
22080 sed 's
/^
/| /' conftest.$ac_ext >&5
22082 ac_cv_type_long_long=no
22085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22087 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22088 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22090 # The cast to long int works around a bug in the HP C Compiler
22091 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22092 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22093 # This bug is HP SR number 8606223364.
22094 { echo "$as_me:$LINENO: checking size of long long" >&5
22095 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22096 if test "${ac_cv_sizeof_long_long+set}" = set; then
22097 echo $ECHO_N "(cached) $ECHO_C" >&6
22099 if test "$cross_compiling" = yes; then
22100 # Depending upon the size, compute the lo and hi bounds.
22101 cat >conftest.
$ac_ext <<_ACEOF
22104 cat confdefs.h
>>conftest.
$ac_ext
22105 cat >>conftest.
$ac_ext <<_ACEOF
22106 /* end confdefs.h. */
22107 $ac_includes_default
22108 typedef long long ac__type_sizeof_;
22112 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22119 rm -f conftest.
$ac_objext
22120 if { (ac_try
="$ac_compile"
22121 case "(($ac_try" in
22122 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22123 *) ac_try_echo=$ac_try;;
22125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22126 (eval "$ac_compile") 2>conftest.er1
22128 grep -v '^ *+' conftest.er1 >conftest.err
22130 cat conftest.err >&5
22131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22132 (exit $ac_status); } && {
22133 test -z "$ac_c_werror_flag" ||
22134 test ! -s conftest.err
22135 } && test -s conftest.$ac_objext; then
22138 cat >conftest.$ac_ext <<_ACEOF
22141 cat confdefs.h >>conftest.$ac_ext
22142 cat >>conftest.$ac_ext <<_ACEOF
22143 /* end confdefs.h. */
22144 $ac_includes_default
22145 typedef long long ac__type_sizeof_;
22149 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22156 rm -f conftest.$ac_objext
22157 if { (ac_try="$ac_compile"
22158 case "(($ac_try" in
22159 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22160 *) ac_try_echo
=$ac_try;;
22162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22163 (eval "$ac_compile") 2>conftest.er1
22165 grep -v '^ *+' conftest.er1
>conftest.err
22167 cat conftest.err
>&5
22168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22169 (exit $ac_status); } && {
22170 test -z "$ac_c_werror_flag" ||
22171 test ! -s conftest.err
22172 } && test -s conftest.
$ac_objext; then
22173 ac_hi
=$ac_mid; break
22175 echo "$as_me: failed program was:" >&5
22176 sed 's/^/| /' conftest.
$ac_ext >&5
22178 ac_lo
=`expr $ac_mid + 1`
22179 if test $ac_lo -le $ac_mid; then
22183 ac_mid
=`expr 2 '*' $ac_mid + 1`
22186 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22189 echo "$as_me: failed program was:" >&5
22190 sed 's/^/| /' conftest.
$ac_ext >&5
22192 cat >conftest.
$ac_ext <<_ACEOF
22195 cat confdefs.h
>>conftest.
$ac_ext
22196 cat >>conftest.
$ac_ext <<_ACEOF
22197 /* end confdefs.h. */
22198 $ac_includes_default
22199 typedef long long ac__type_sizeof_;
22203 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22210 rm -f conftest.
$ac_objext
22211 if { (ac_try
="$ac_compile"
22212 case "(($ac_try" in
22213 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22214 *) ac_try_echo=$ac_try;;
22216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22217 (eval "$ac_compile") 2>conftest.er1
22219 grep -v '^ *+' conftest.er1 >conftest.err
22221 cat conftest.err >&5
22222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22223 (exit $ac_status); } && {
22224 test -z "$ac_c_werror_flag" ||
22225 test ! -s conftest.err
22226 } && test -s conftest.$ac_objext; then
22229 cat >conftest.$ac_ext <<_ACEOF
22232 cat confdefs.h >>conftest.$ac_ext
22233 cat >>conftest.$ac_ext <<_ACEOF
22234 /* end confdefs.h. */
22235 $ac_includes_default
22236 typedef long long ac__type_sizeof_;
22240 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22247 rm -f conftest.$ac_objext
22248 if { (ac_try="$ac_compile"
22249 case "(($ac_try" in
22250 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22251 *) ac_try_echo
=$ac_try;;
22253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22254 (eval "$ac_compile") 2>conftest.er1
22256 grep -v '^ *+' conftest.er1
>conftest.err
22258 cat conftest.err
>&5
22259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22260 (exit $ac_status); } && {
22261 test -z "$ac_c_werror_flag" ||
22262 test ! -s conftest.err
22263 } && test -s conftest.
$ac_objext; then
22264 ac_lo
=$ac_mid; break
22266 echo "$as_me: failed program was:" >&5
22267 sed 's/^/| /' conftest.
$ac_ext >&5
22269 ac_hi
=`expr '(' $ac_mid ')' - 1`
22270 if test $ac_mid -le $ac_hi; then
22274 ac_mid
=`expr 2 '*' $ac_mid`
22277 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22280 echo "$as_me: failed program was:" >&5
22281 sed 's/^/| /' conftest.
$ac_ext >&5
22286 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22289 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22290 # Binary search between lo and hi bounds.
22291 while test "x$ac_lo" != "x$ac_hi"; do
22292 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22293 cat >conftest.
$ac_ext <<_ACEOF
22296 cat confdefs.h
>>conftest.
$ac_ext
22297 cat >>conftest.
$ac_ext <<_ACEOF
22298 /* end confdefs.h. */
22299 $ac_includes_default
22300 typedef long long ac__type_sizeof_;
22304 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22311 rm -f conftest.
$ac_objext
22312 if { (ac_try
="$ac_compile"
22313 case "(($ac_try" in
22314 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22315 *) ac_try_echo=$ac_try;;
22317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22318 (eval "$ac_compile") 2>conftest.er1
22320 grep -v '^ *+' conftest.er1 >conftest.err
22322 cat conftest.err >&5
22323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22324 (exit $ac_status); } && {
22325 test -z "$ac_c_werror_flag" ||
22326 test ! -s conftest.err
22327 } && test -s conftest.$ac_objext; then
22330 echo "$as_me: failed program was:" >&5
22331 sed 's/^/| /' conftest.$ac_ext >&5
22333 ac_lo=`expr '(' $ac_mid ')' + 1`
22336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22339 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22340 '') if test "$ac_cv_type_long_long" = yes; then
22341 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22342 See \`config.log
' for more details." >&5
22343 echo "$as_me: error: cannot compute sizeof (long long)
22344 See \`config.log' for more details.
" >&2;}
22345 { (exit 77); exit 77; }; }
22347 ac_cv_sizeof_long_long=0
22351 cat >conftest.$ac_ext <<_ACEOF
22354 cat confdefs.h >>conftest.$ac_ext
22355 cat >>conftest.$ac_ext <<_ACEOF
22356 /* end confdefs.h. */
22357 $ac_includes_default
22358 typedef long long ac__type_sizeof_;
22359 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22360 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22362 #include <stdlib.h>
22367 FILE *f = fopen ("conftest.val
", "w
");
22370 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22372 long int i = longval ();
22373 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22375 fprintf (f, "%ld
\n", i);
22379 unsigned long int i = ulongval ();
22380 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22382 fprintf (f, "%lu
\n", i);
22384 return ferror (f) || fclose (f) != 0;
22390 rm -f conftest$ac_exeext
22391 if { (ac_try="$ac_link"
22392 case "(($ac_try" in
22393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22394 *) ac_try_echo=$ac_try;;
22396 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22397 (eval "$ac_link") 2>&5
22399 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22400 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22401 { (case "(($ac_try" in
22402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22403 *) ac_try_echo=$ac_try;;
22405 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22406 (eval "$ac_try") 2>&5
22408 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22409 (exit $ac_status); }; }; then
22410 ac_cv_sizeof_long_long=`cat conftest.val`
22412 echo "$as_me: program exited with status
$ac_status" >&5
22413 echo "$as_me: failed program was
:" >&5
22414 sed 's/^/| /' conftest.$ac_ext >&5
22416 ( exit $ac_status )
22417 if test "$ac_cv_type_long_long" = yes; then
22418 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22419 See \
`config.log' for more details." >&5
22420 echo "$as_me: error: cannot compute sizeof (long long)
22421 See \`config.log
' for more details." >&2;}
22422 { (exit 77); exit 77; }; }
22424 ac_cv_sizeof_long_long=0
22427 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22431 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22432 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22436 cat >>confdefs.h <<_ACEOF
22437 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22443 { echo "$as_me:$LINENO: checking for long long" >&5
22444 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22445 if test "${ac_cv_type_long_long+set}" = set; then
22446 echo $ECHO_N "(cached) $ECHO_C" >&6
22448 cat >conftest.$ac_ext <<_ACEOF
22451 cat confdefs.h >>conftest.$ac_ext
22452 cat >>conftest.$ac_ext <<_ACEOF
22453 /* end confdefs.h. */
22454 $ac_includes_default
22455 typedef long long ac__type_new_;
22459 if ((ac__type_new_ *) 0)
22461 if (sizeof (ac__type_new_))
22467 rm -f conftest.$ac_objext
22468 if { (ac_try="$ac_compile"
22469 case "(($ac_try" in
22470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22471 *) ac_try_echo=$ac_try;;
22473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22474 (eval "$ac_compile") 2>conftest.er1
22476 grep -v '^
*+' conftest.er1 >conftest.err
22478 cat conftest.err >&5
22479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22480 (exit $ac_status); } && {
22481 test -z "$ac_c_werror_flag" ||
22482 test ! -s conftest.err
22483 } && test -s conftest.$ac_objext; then
22484 ac_cv_type_long_long=yes
22486 echo "$as_me: failed program was:" >&5
22487 sed 's
/^
/| /' conftest.$ac_ext >&5
22489 ac_cv_type_long_long=no
22492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22494 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22495 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22497 # The cast to long int works around a bug in the HP C Compiler
22498 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22499 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22500 # This bug is HP SR number 8606223364.
22501 { echo "$as_me:$LINENO: checking size of long long" >&5
22502 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22503 if test "${ac_cv_sizeof_long_long+set}" = set; then
22504 echo $ECHO_N "(cached) $ECHO_C" >&6
22506 if test "$cross_compiling" = yes; then
22507 # Depending upon the size, compute the lo and hi bounds.
22508 cat >conftest.
$ac_ext <<_ACEOF
22511 cat confdefs.h
>>conftest.
$ac_ext
22512 cat >>conftest.
$ac_ext <<_ACEOF
22513 /* end confdefs.h. */
22514 $ac_includes_default
22515 typedef long long ac__type_sizeof_;
22519 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22526 rm -f conftest.
$ac_objext
22527 if { (ac_try
="$ac_compile"
22528 case "(($ac_try" in
22529 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22530 *) ac_try_echo=$ac_try;;
22532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22533 (eval "$ac_compile") 2>conftest.er1
22535 grep -v '^ *+' conftest.er1 >conftest.err
22537 cat conftest.err >&5
22538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22539 (exit $ac_status); } && {
22540 test -z "$ac_c_werror_flag" ||
22541 test ! -s conftest.err
22542 } && test -s conftest.$ac_objext; then
22545 cat >conftest.$ac_ext <<_ACEOF
22548 cat confdefs.h >>conftest.$ac_ext
22549 cat >>conftest.$ac_ext <<_ACEOF
22550 /* end confdefs.h. */
22551 $ac_includes_default
22552 typedef long long ac__type_sizeof_;
22556 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22563 rm -f conftest.$ac_objext
22564 if { (ac_try="$ac_compile"
22565 case "(($ac_try" in
22566 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22567 *) ac_try_echo
=$ac_try;;
22569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22570 (eval "$ac_compile") 2>conftest.er1
22572 grep -v '^ *+' conftest.er1
>conftest.err
22574 cat conftest.err
>&5
22575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22576 (exit $ac_status); } && {
22577 test -z "$ac_c_werror_flag" ||
22578 test ! -s conftest.err
22579 } && test -s conftest.
$ac_objext; then
22580 ac_hi
=$ac_mid; break
22582 echo "$as_me: failed program was:" >&5
22583 sed 's/^/| /' conftest.
$ac_ext >&5
22585 ac_lo
=`expr $ac_mid + 1`
22586 if test $ac_lo -le $ac_mid; then
22590 ac_mid
=`expr 2 '*' $ac_mid + 1`
22593 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22596 echo "$as_me: failed program was:" >&5
22597 sed 's/^/| /' conftest.
$ac_ext >&5
22599 cat >conftest.
$ac_ext <<_ACEOF
22602 cat confdefs.h
>>conftest.
$ac_ext
22603 cat >>conftest.
$ac_ext <<_ACEOF
22604 /* end confdefs.h. */
22605 $ac_includes_default
22606 typedef long long ac__type_sizeof_;
22610 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22617 rm -f conftest.
$ac_objext
22618 if { (ac_try
="$ac_compile"
22619 case "(($ac_try" in
22620 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22621 *) ac_try_echo=$ac_try;;
22623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22624 (eval "$ac_compile") 2>conftest.er1
22626 grep -v '^ *+' conftest.er1 >conftest.err
22628 cat conftest.err >&5
22629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22630 (exit $ac_status); } && {
22631 test -z "$ac_c_werror_flag" ||
22632 test ! -s conftest.err
22633 } && test -s conftest.$ac_objext; then
22636 cat >conftest.$ac_ext <<_ACEOF
22639 cat confdefs.h >>conftest.$ac_ext
22640 cat >>conftest.$ac_ext <<_ACEOF
22641 /* end confdefs.h. */
22642 $ac_includes_default
22643 typedef long long ac__type_sizeof_;
22647 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22654 rm -f conftest.$ac_objext
22655 if { (ac_try="$ac_compile"
22656 case "(($ac_try" in
22657 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22658 *) ac_try_echo
=$ac_try;;
22660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22661 (eval "$ac_compile") 2>conftest.er1
22663 grep -v '^ *+' conftest.er1
>conftest.err
22665 cat conftest.err
>&5
22666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22667 (exit $ac_status); } && {
22668 test -z "$ac_c_werror_flag" ||
22669 test ! -s conftest.err
22670 } && test -s conftest.
$ac_objext; then
22671 ac_lo
=$ac_mid; break
22673 echo "$as_me: failed program was:" >&5
22674 sed 's/^/| /' conftest.
$ac_ext >&5
22676 ac_hi
=`expr '(' $ac_mid ')' - 1`
22677 if test $ac_mid -le $ac_hi; then
22681 ac_mid
=`expr 2 '*' $ac_mid`
22684 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22687 echo "$as_me: failed program was:" >&5
22688 sed 's/^/| /' conftest.
$ac_ext >&5
22693 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22696 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22697 # Binary search between lo and hi bounds.
22698 while test "x$ac_lo" != "x$ac_hi"; do
22699 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22700 cat >conftest.
$ac_ext <<_ACEOF
22703 cat confdefs.h
>>conftest.
$ac_ext
22704 cat >>conftest.
$ac_ext <<_ACEOF
22705 /* end confdefs.h. */
22706 $ac_includes_default
22707 typedef long long ac__type_sizeof_;
22711 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22718 rm -f conftest.
$ac_objext
22719 if { (ac_try
="$ac_compile"
22720 case "(($ac_try" in
22721 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22722 *) ac_try_echo=$ac_try;;
22724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22725 (eval "$ac_compile") 2>conftest.er1
22727 grep -v '^ *+' conftest.er1 >conftest.err
22729 cat conftest.err >&5
22730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22731 (exit $ac_status); } && {
22732 test -z "$ac_c_werror_flag" ||
22733 test ! -s conftest.err
22734 } && test -s conftest.$ac_objext; then
22737 echo "$as_me: failed program was:" >&5
22738 sed 's/^/| /' conftest.$ac_ext >&5
22740 ac_lo=`expr '(' $ac_mid ')' + 1`
22743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22746 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22747 '') if test "$ac_cv_type_long_long" = yes; then
22748 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22749 See \`config.log
' for more details." >&5
22750 echo "$as_me: error: cannot compute sizeof (long long)
22751 See \`config.log' for more details.
" >&2;}
22752 { (exit 77); exit 77; }; }
22754 ac_cv_sizeof_long_long=0
22758 cat >conftest.$ac_ext <<_ACEOF
22761 cat confdefs.h >>conftest.$ac_ext
22762 cat >>conftest.$ac_ext <<_ACEOF
22763 /* end confdefs.h. */
22764 $ac_includes_default
22765 typedef long long ac__type_sizeof_;
22766 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22767 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22769 #include <stdlib.h>
22774 FILE *f = fopen ("conftest.val
", "w
");
22777 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22779 long int i = longval ();
22780 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22782 fprintf (f, "%ld
\n", i);
22786 unsigned long int i = ulongval ();
22787 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22789 fprintf (f, "%lu
\n", i);
22791 return ferror (f) || fclose (f) != 0;
22797 rm -f conftest$ac_exeext
22798 if { (ac_try="$ac_link"
22799 case "(($ac_try" in
22800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22801 *) ac_try_echo=$ac_try;;
22803 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22804 (eval "$ac_link") 2>&5
22806 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22807 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22808 { (case "(($ac_try" in
22809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22810 *) ac_try_echo=$ac_try;;
22812 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22813 (eval "$ac_try") 2>&5
22815 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22816 (exit $ac_status); }; }; then
22817 ac_cv_sizeof_long_long=`cat conftest.val`
22819 echo "$as_me: program exited with status
$ac_status" >&5
22820 echo "$as_me: failed program was
:" >&5
22821 sed 's/^/| /' conftest.$ac_ext >&5
22823 ( exit $ac_status )
22824 if test "$ac_cv_type_long_long" = yes; then
22825 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22826 See \
`config.log' for more details." >&5
22827 echo "$as_me: error: cannot compute sizeof (long long)
22828 See \`config.log
' for more details." >&2;}
22829 { (exit 77); exit 77; }; }
22831 ac_cv_sizeof_long_long=0
22834 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22838 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22839 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22843 cat >>confdefs.h <<_ACEOF
22844 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22848 if test "$ac_cv_sizeof_long_long" != 0; then
22849 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22853 { echo "$as_me:$LINENO: checking for long long" >&5
22854 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22855 if test "${ac_cv_type_long_long+set}" = set; then
22856 echo $ECHO_N "(cached) $ECHO_C" >&6
22858 cat >conftest.$ac_ext <<_ACEOF
22861 cat confdefs.h >>conftest.$ac_ext
22862 cat >>conftest.$ac_ext <<_ACEOF
22863 /* end confdefs.h. */
22864 $ac_includes_default
22865 typedef long long ac__type_new_;
22869 if ((ac__type_new_ *) 0)
22871 if (sizeof (ac__type_new_))
22877 rm -f conftest.$ac_objext
22878 if { (ac_try="$ac_compile"
22879 case "(($ac_try" in
22880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22881 *) ac_try_echo=$ac_try;;
22883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22884 (eval "$ac_compile") 2>conftest.er1
22886 grep -v '^
*+' conftest.er1 >conftest.err
22888 cat conftest.err >&5
22889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22890 (exit $ac_status); } && {
22891 test -z "$ac_c_werror_flag" ||
22892 test ! -s conftest.err
22893 } && test -s conftest.$ac_objext; then
22894 ac_cv_type_long_long=yes
22896 echo "$as_me: failed program was:" >&5
22897 sed 's
/^
/| /' conftest.$ac_ext >&5
22899 ac_cv_type_long_long=no
22902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22904 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22905 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22907 # The cast to long int works around a bug in the HP C Compiler
22908 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22909 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22910 # This bug is HP SR number 8606223364.
22911 { echo "$as_me:$LINENO: checking size of long long" >&5
22912 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22913 if test "${ac_cv_sizeof_long_long+set}" = set; then
22914 echo $ECHO_N "(cached) $ECHO_C" >&6
22916 if test "$cross_compiling" = yes; then
22917 # Depending upon the size, compute the lo and hi bounds.
22918 cat >conftest.
$ac_ext <<_ACEOF
22921 cat confdefs.h
>>conftest.
$ac_ext
22922 cat >>conftest.
$ac_ext <<_ACEOF
22923 /* end confdefs.h. */
22924 $ac_includes_default
22925 typedef long long ac__type_sizeof_;
22929 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22936 rm -f conftest.
$ac_objext
22937 if { (ac_try
="$ac_compile"
22938 case "(($ac_try" in
22939 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22940 *) ac_try_echo=$ac_try;;
22942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22943 (eval "$ac_compile") 2>conftest.er1
22945 grep -v '^ *+' conftest.er1 >conftest.err
22947 cat conftest.err >&5
22948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22949 (exit $ac_status); } && {
22950 test -z "$ac_c_werror_flag" ||
22951 test ! -s conftest.err
22952 } && test -s conftest.$ac_objext; then
22955 cat >conftest.$ac_ext <<_ACEOF
22958 cat confdefs.h >>conftest.$ac_ext
22959 cat >>conftest.$ac_ext <<_ACEOF
22960 /* end confdefs.h. */
22961 $ac_includes_default
22962 typedef long long ac__type_sizeof_;
22966 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22973 rm -f conftest.$ac_objext
22974 if { (ac_try="$ac_compile"
22975 case "(($ac_try" in
22976 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22977 *) ac_try_echo
=$ac_try;;
22979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22980 (eval "$ac_compile") 2>conftest.er1
22982 grep -v '^ *+' conftest.er1
>conftest.err
22984 cat conftest.err
>&5
22985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22986 (exit $ac_status); } && {
22987 test -z "$ac_c_werror_flag" ||
22988 test ! -s conftest.err
22989 } && test -s conftest.
$ac_objext; then
22990 ac_hi
=$ac_mid; break
22992 echo "$as_me: failed program was:" >&5
22993 sed 's/^/| /' conftest.
$ac_ext >&5
22995 ac_lo
=`expr $ac_mid + 1`
22996 if test $ac_lo -le $ac_mid; then
23000 ac_mid
=`expr 2 '*' $ac_mid + 1`
23003 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23006 echo "$as_me: failed program was:" >&5
23007 sed 's/^/| /' conftest.
$ac_ext >&5
23009 cat >conftest.
$ac_ext <<_ACEOF
23012 cat confdefs.h
>>conftest.
$ac_ext
23013 cat >>conftest.
$ac_ext <<_ACEOF
23014 /* end confdefs.h. */
23015 $ac_includes_default
23016 typedef long long 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. */
23052 $ac_includes_default
23053 typedef long long ac__type_sizeof_;
23057 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23064 rm -f conftest.$ac_objext
23065 if { (ac_try="$ac_compile"
23066 case "(($ac_try" in
23067 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23068 *) ac_try_echo
=$ac_try;;
23070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23071 (eval "$ac_compile") 2>conftest.er1
23073 grep -v '^ *+' conftest.er1
>conftest.err
23075 cat conftest.err
>&5
23076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23077 (exit $ac_status); } && {
23078 test -z "$ac_c_werror_flag" ||
23079 test ! -s conftest.err
23080 } && test -s conftest.
$ac_objext; then
23081 ac_lo
=$ac_mid; break
23083 echo "$as_me: failed program was:" >&5
23084 sed 's/^/| /' conftest.
$ac_ext >&5
23086 ac_hi
=`expr '(' $ac_mid ')' - 1`
23087 if test $ac_mid -le $ac_hi; then
23091 ac_mid
=`expr 2 '*' $ac_mid`
23094 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23097 echo "$as_me: failed program was:" >&5
23098 sed 's/^/| /' conftest.
$ac_ext >&5
23103 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23107 # Binary search between lo and hi bounds.
23108 while test "x$ac_lo" != "x$ac_hi"; do
23109 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23110 cat >conftest.
$ac_ext <<_ACEOF
23113 cat confdefs.h
>>conftest.
$ac_ext
23114 cat >>conftest.
$ac_ext <<_ACEOF
23115 /* end confdefs.h. */
23116 $ac_includes_default
23117 typedef long long ac__type_sizeof_;
23121 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23128 rm -f conftest.
$ac_objext
23129 if { (ac_try
="$ac_compile"
23130 case "(($ac_try" in
23131 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23132 *) ac_try_echo=$ac_try;;
23134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23135 (eval "$ac_compile") 2>conftest.er1
23137 grep -v '^ *+' conftest.er1 >conftest.err
23139 cat conftest.err >&5
23140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23141 (exit $ac_status); } && {
23142 test -z "$ac_c_werror_flag" ||
23143 test ! -s conftest.err
23144 } && test -s conftest.$ac_objext; then
23147 echo "$as_me: failed program was:" >&5
23148 sed 's/^/| /' conftest.$ac_ext >&5
23150 ac_lo=`expr '(' $ac_mid ')' + 1`
23153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23156 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23157 '') if test "$ac_cv_type_long_long" = yes; then
23158 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23159 See \`config.log
' for more details." >&5
23160 echo "$as_me: error: cannot compute sizeof (long long)
23161 See \`config.log' for more details.
" >&2;}
23162 { (exit 77); exit 77; }; }
23164 ac_cv_sizeof_long_long=0
23168 cat >conftest.$ac_ext <<_ACEOF
23171 cat confdefs.h >>conftest.$ac_ext
23172 cat >>conftest.$ac_ext <<_ACEOF
23173 /* end confdefs.h. */
23174 $ac_includes_default
23175 typedef long long ac__type_sizeof_;
23176 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23177 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23179 #include <stdlib.h>
23184 FILE *f = fopen ("conftest.val
", "w
");
23187 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23189 long int i = longval ();
23190 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23192 fprintf (f, "%ld
\n", i);
23196 unsigned long int i = ulongval ();
23197 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23199 fprintf (f, "%lu
\n", i);
23201 return ferror (f) || fclose (f) != 0;
23207 rm -f conftest$ac_exeext
23208 if { (ac_try="$ac_link"
23209 case "(($ac_try" in
23210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23211 *) ac_try_echo=$ac_try;;
23213 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23214 (eval "$ac_link") 2>&5
23216 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23217 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23218 { (case "(($ac_try" in
23219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23220 *) ac_try_echo=$ac_try;;
23222 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23223 (eval "$ac_try") 2>&5
23225 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23226 (exit $ac_status); }; }; then
23227 ac_cv_sizeof_long_long=`cat conftest.val`
23229 echo "$as_me: program exited with status
$ac_status" >&5
23230 echo "$as_me: failed program was
:" >&5
23231 sed 's/^/| /' conftest.$ac_ext >&5
23233 ( exit $ac_status )
23234 if test "$ac_cv_type_long_long" = yes; then
23235 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23236 See \
`config.log' for more details." >&5
23237 echo "$as_me: error: cannot compute sizeof (long long)
23238 See \`config.log
' for more details." >&2;}
23239 { (exit 77); exit 77; }; }
23241 ac_cv_sizeof_long_long=0
23244 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23248 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23249 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23253 cat >>confdefs.h <<_ACEOF
23254 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23260 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23261 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23262 if test "${ac_cv_type_wchar_t+set}" = set; then
23263 echo $ECHO_N "(cached) $ECHO_C" >&6
23265 cat >conftest.$ac_ext <<_ACEOF
23268 cat confdefs.h >>conftest.$ac_ext
23269 cat >>conftest.$ac_ext <<_ACEOF
23270 /* end confdefs.h. */
23272 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23273 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23274 # error "fake wchar_t"
23276 #ifdef HAVE_WCHAR_H
23278 # include <stddef.h>
23280 # include <wchar.h>
23282 #ifdef HAVE_STDLIB_H
23283 # include <stdlib.h>
23289 typedef wchar_t ac__type_new_
;
23293 if ((ac__type_new_
*) 0)
23295 if (sizeof
(ac__type_new_
))
23301 rm -f conftest.
$ac_objext
23302 if { (ac_try
="$ac_compile"
23303 case "(($ac_try" in
23304 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23305 *) ac_try_echo=$ac_try;;
23307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23308 (eval "$ac_compile") 2>conftest.er1
23310 grep -v '^ *+' conftest.er1 >conftest.err
23312 cat conftest.err >&5
23313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23314 (exit $ac_status); } && {
23315 test -z "$ac_c_werror_flag" ||
23316 test ! -s conftest.err
23317 } && test -s conftest.$ac_objext; then
23318 ac_cv_type_wchar_t=yes
23320 echo "$as_me: failed program was:" >&5
23321 sed 's/^/| /' conftest.$ac_ext >&5
23323 ac_cv_type_wchar_t=no
23326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23328 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23329 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23331 # The cast to long int works around a bug in the HP C Compiler
23332 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23333 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
23334 # This bug is HP SR number 8606223364.
23335 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23336 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23337 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23338 echo $ECHO_N "(cached) $ECHO_C" >&6
23340 if test "$cross_compiling" = yes; then
23341 # Depending upon the size, compute the lo and hi bounds.
23342 cat >conftest.$ac_ext <<_ACEOF
23345 cat confdefs.h >>conftest.$ac_ext
23346 cat >>conftest.$ac_ext <<_ACEOF
23347 /* end confdefs.h. */
23349 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23350 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23351 # error "fake wchar_t"
23353 #ifdef HAVE_WCHAR_H
23355 # include <stddef.h>
23357 # include <wchar.h>
23359 #ifdef HAVE_STDLIB_H
23360 # include <stdlib.h>
23366 typedef wchar_t ac__type_sizeof_
;
23370 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
23377 rm -f conftest.
$ac_objext
23378 if { (ac_try
="$ac_compile"
23379 case "(($ac_try" in
23380 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23381 *) ac_try_echo=$ac_try;;
23383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23384 (eval "$ac_compile") 2>conftest.er1
23386 grep -v '^ *+' conftest.er1 >conftest.err
23388 cat conftest.err >&5
23389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23390 (exit $ac_status); } && {
23391 test -z "$ac_c_werror_flag" ||
23392 test ! -s conftest.err
23393 } && test -s conftest.$ac_objext; then
23396 cat >conftest.$ac_ext <<_ACEOF
23399 cat confdefs.h >>conftest.$ac_ext
23400 cat >>conftest.$ac_ext <<_ACEOF
23401 /* end confdefs.h. */
23403 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23404 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23405 # error "fake wchar_t"
23407 #ifdef HAVE_WCHAR_H
23409 # include <stddef.h>
23411 # include <wchar.h>
23413 #ifdef HAVE_STDLIB_H
23414 # include <stdlib.h>
23420 typedef wchar_t ac__type_sizeof_;
23424 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23431 rm -f conftest.$ac_objext
23432 if { (ac_try="$ac_compile"
23433 case "(($ac_try" in
23434 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23435 *) ac_try_echo
=$ac_try;;
23437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23438 (eval "$ac_compile") 2>conftest.er1
23440 grep -v '^ *+' conftest.er1
>conftest.err
23442 cat conftest.err
>&5
23443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23444 (exit $ac_status); } && {
23445 test -z "$ac_c_werror_flag" ||
23446 test ! -s conftest.err
23447 } && test -s conftest.
$ac_objext; then
23448 ac_hi
=$ac_mid; break
23450 echo "$as_me: failed program was:" >&5
23451 sed 's/^/| /' conftest.
$ac_ext >&5
23453 ac_lo
=`expr $ac_mid + 1`
23454 if test $ac_lo -le $ac_mid; then
23458 ac_mid
=`expr 2 '*' $ac_mid + 1`
23461 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23464 echo "$as_me: failed program was:" >&5
23465 sed 's/^/| /' conftest.
$ac_ext >&5
23467 cat >conftest.
$ac_ext <<_ACEOF
23470 cat confdefs.h
>>conftest.
$ac_ext
23471 cat >>conftest.
$ac_ext <<_ACEOF
23472 /* end confdefs.h. */
23474 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23475 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23476 # error "fake wchar_t"
23478 #ifdef HAVE_WCHAR_H
23480 # include <stddef.h>
23482 # include <wchar.h>
23484 #ifdef HAVE_STDLIB_H
23485 # include <stdlib.h>
23491 typedef wchar_t ac__type_sizeof_;
23495 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 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_c_werror_flag" ||
23517 test ! -s conftest.err
23518 } && test -s conftest.$ac_objext; then
23521 cat >conftest.$ac_ext <<_ACEOF
23524 cat confdefs.h >>conftest.$ac_ext
23525 cat >>conftest.$ac_ext <<_ACEOF
23526 /* end confdefs.h. */
23528 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23529 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23530 # error "fake wchar_t"
23532 #ifdef HAVE_WCHAR_H
23534 # include <stddef.h>
23536 # include <wchar.h>
23538 #ifdef HAVE_STDLIB_H
23539 # include <stdlib.h>
23545 typedef wchar_t ac__type_sizeof_;
23549 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23556 rm -f conftest.$ac_objext
23557 if { (ac_try="$ac_compile"
23558 case "(($ac_try" in
23559 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23560 *) ac_try_echo
=$ac_try;;
23562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23563 (eval "$ac_compile") 2>conftest.er1
23565 grep -v '^ *+' conftest.er1
>conftest.err
23567 cat conftest.err
>&5
23568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23569 (exit $ac_status); } && {
23570 test -z "$ac_c_werror_flag" ||
23571 test ! -s conftest.err
23572 } && test -s conftest.
$ac_objext; then
23573 ac_lo
=$ac_mid; break
23575 echo "$as_me: failed program was:" >&5
23576 sed 's/^/| /' conftest.
$ac_ext >&5
23578 ac_hi
=`expr '(' $ac_mid ')' - 1`
23579 if test $ac_mid -le $ac_hi; then
23583 ac_mid
=`expr 2 '*' $ac_mid`
23586 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23589 echo "$as_me: failed program was:" >&5
23590 sed 's/^/| /' conftest.
$ac_ext >&5
23595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23598 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23599 # Binary search between lo and hi bounds.
23600 while test "x$ac_lo" != "x$ac_hi"; do
23601 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23602 cat >conftest.
$ac_ext <<_ACEOF
23605 cat confdefs.h
>>conftest.
$ac_ext
23606 cat >>conftest.
$ac_ext <<_ACEOF
23607 /* end confdefs.h. */
23609 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23610 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23611 # error "fake wchar_t"
23613 #ifdef HAVE_WCHAR_H
23615 # include <stddef.h>
23617 # include <wchar.h>
23619 #ifdef HAVE_STDLIB_H
23620 # include <stdlib.h>
23626 typedef wchar_t ac__type_sizeof_;
23630 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23637 rm -f conftest.
$ac_objext
23638 if { (ac_try
="$ac_compile"
23639 case "(($ac_try" in
23640 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23641 *) ac_try_echo=$ac_try;;
23643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23644 (eval "$ac_compile") 2>conftest.er1
23646 grep -v '^ *+' conftest.er1 >conftest.err
23648 cat conftest.err >&5
23649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23650 (exit $ac_status); } && {
23651 test -z "$ac_c_werror_flag" ||
23652 test ! -s conftest.err
23653 } && test -s conftest.$ac_objext; then
23656 echo "$as_me: failed program was:" >&5
23657 sed 's/^/| /' conftest.$ac_ext >&5
23659 ac_lo=`expr '(' $ac_mid ')' + 1`
23662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23665 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23666 '') if test "$ac_cv_type_wchar_t" = yes; then
23667 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23668 See \`config.log
' for more details." >&5
23669 echo "$as_me: error: cannot compute sizeof (wchar_t)
23670 See \`config.log' for more details.
" >&2;}
23671 { (exit 77); exit 77; }; }
23673 ac_cv_sizeof_wchar_t=0
23677 cat >conftest.$ac_ext <<_ACEOF
23680 cat confdefs.h >>conftest.$ac_ext
23681 cat >>conftest.$ac_ext <<_ACEOF
23682 /* end confdefs.h. */
23684 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23685 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23686 # error "fake wchar_t
"
23688 #ifdef HAVE_WCHAR_H
23690 # include <stddef.h>
23692 # include <wchar.h>
23694 #ifdef HAVE_STDLIB_H
23695 # include <stdlib.h>
23701 typedef wchar_t ac__type_sizeof_;
23702 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23703 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23705 #include <stdlib.h>
23710 FILE *f = fopen ("conftest.val
", "w
");
23713 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23715 long int i = longval ();
23716 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23718 fprintf (f, "%ld
\n", i);
23722 unsigned long int i = ulongval ();
23723 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23725 fprintf (f, "%lu
\n", i);
23727 return ferror (f) || fclose (f) != 0;
23733 rm -f conftest$ac_exeext
23734 if { (ac_try="$ac_link"
23735 case "(($ac_try" in
23736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23737 *) ac_try_echo=$ac_try;;
23739 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23740 (eval "$ac_link") 2>&5
23742 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23743 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23744 { (case "(($ac_try" in
23745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23746 *) ac_try_echo=$ac_try;;
23748 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23749 (eval "$ac_try") 2>&5
23751 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23752 (exit $ac_status); }; }; then
23753 ac_cv_sizeof_wchar_t=`cat conftest.val`
23755 echo "$as_me: program exited with status
$ac_status" >&5
23756 echo "$as_me: failed program was
:" >&5
23757 sed 's/^/| /' conftest.$ac_ext >&5
23759 ( exit $ac_status )
23760 if test "$ac_cv_type_wchar_t" = yes; then
23761 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
23762 See \
`config.log' for more details." >&5
23763 echo "$as_me: error: cannot compute sizeof (wchar_t)
23764 See \`config.log
' for more details." >&2;}
23765 { (exit 77); exit 77; }; }
23767 ac_cv_sizeof_wchar_t=0
23770 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23774 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23775 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23779 cat >>confdefs.h <<_ACEOF
23780 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23784 if test "$ac_cv_sizeof_wchar_t" != 0; then
23790 { echo "$as_me:$LINENO: checking for va_copy" >&5
23791 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23792 if test "${wx_cv_func_va_copy+set}" = set; then
23793 echo $ECHO_N "(cached) $ECHO_C" >&6
23797 ac_cpp='$CXXCPP $CPPFLAGS'
23798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23799 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23802 cat >conftest.$ac_ext <<_ACEOF
23804 #include <stdarg.h>
23805 void foo(char *f, ...)
23819 rm -f conftest.$ac_objext conftest$ac_exeext
23820 if { (ac_try="$ac_link"
23821 case "(($ac_try" in
23822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23823 *) ac_try_echo=$ac_try;;
23825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23826 (eval "$ac_link") 2>conftest.er1
23828 grep -v '^
*+' conftest.er1 >conftest.err
23830 cat conftest.err >&5
23831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23832 (exit $ac_status); } && {
23833 test -z "$ac_cxx_werror_flag" ||
23834 test ! -s conftest.err
23835 } && test -s conftest$ac_exeext &&
23836 $as_test_x conftest$ac_exeext; then
23837 wx_cv_func_va_copy=yes
23839 echo "$as_me: failed program was:" >&5
23840 sed 's
/^
/| /' conftest.$ac_ext >&5
23842 wx_cv_func_va_copy=no
23846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23847 conftest$ac_exeext conftest.$ac_ext
23849 ac_cpp='$CPP $CPPFLAGS'
23850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23851 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23857 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23858 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23860 if test $wx_cv_func_va_copy = "yes"; then
23861 cat >>confdefs.h <<\_ACEOF
23862 #define HAVE_VA_COPY 1
23866 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23867 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23868 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23869 echo $ECHO_N "(cached) $ECHO_C" >&6
23872 if test "$cross_compiling" = yes; then
23873 wx_cv_type_va_list_lvalue=yes
23876 cat >conftest.$ac_ext <<_ACEOF
23878 #include <stdarg.h>
23879 int foo(char *f, ...)
23884 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23892 return foo("hi", 17);
23895 rm -f conftest$ac_exeext
23896 if { (ac_try="$ac_link"
23897 case "(($ac_try" in
23898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23899 *) ac_try_echo=$ac_try;;
23901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23902 (eval "$ac_link") 2>&5
23904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23905 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23906 { (case "(($ac_try" in
23907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23908 *) ac_try_echo=$ac_try;;
23910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23911 (eval "$ac_try") 2>&5
23913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23914 (exit $ac_status); }; }; then
23915 wx_cv_type_va_list_lvalue=yes
23917 echo "$as_me: program exited with status $ac_status" >&5
23918 echo "$as_me: failed program was:" >&5
23919 sed 's
/^
/| /' conftest.$ac_ext >&5
23921 ( exit $ac_status )
23922 wx_cv_type_va_list_lvalue=no
23924 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23931 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23932 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23934 if test $wx_cv_type_va_list_lvalue != "yes"; then
23935 cat >>confdefs.h <<\_ACEOF
23936 #define VA_LIST_IS_ARRAY 1
23942 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23944 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23945 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23946 if test "${wx_cv_have_variadic_macros+set}" = set; then
23947 echo $ECHO_N "(cached) $ECHO_C" >&6
23951 ac_cpp='$CXXCPP $CPPFLAGS'
23952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23953 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23956 cat >conftest.$ac_ext <<_ACEOF
23959 cat confdefs.h >>conftest.$ac_ext
23960 cat >>conftest.$ac_ext <<_ACEOF
23961 /* end confdefs.h. */
23964 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23970 test("%s %d %p", "test", 1, 0);
23977 rm -f conftest.$ac_objext
23978 if { (ac_try="$ac_compile"
23979 case "(($ac_try" in
23980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23981 *) ac_try_echo=$ac_try;;
23983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23984 (eval "$ac_compile") 2>conftest.er1
23986 grep -v '^
*+' conftest.er1 >conftest.err
23988 cat conftest.err >&5
23989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23990 (exit $ac_status); } && {
23991 test -z "$ac_cxx_werror_flag" ||
23992 test ! -s conftest.err
23993 } && test -s conftest.$ac_objext; then
23994 wx_cv_have_variadic_macros=yes
23996 echo "$as_me: failed program was:" >&5
23997 sed 's
/^
/| /' conftest.$ac_ext >&5
23999 wx_cv_have_variadic_macros=no
24003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24005 ac_cpp='$CPP $CPPFLAGS'
24006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24007 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24013 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24014 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24016 if test $wx_cv_have_variadic_macros = "yes"; then
24017 cat >>confdefs.h <<\_ACEOF
24018 #define HAVE_VARIADIC_MACROS 1
24025 LARGEFILE_CPPFLAGS=
24026 # Check whether --enable-largefile was given.
24027 if test "${enable_largefile+set}" = set; then
24028 enableval=$enable_largefile;
24031 if test "$enable_largefile" != no; then
24034 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24035 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24036 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24037 echo $ECHO_N "(cached) $ECHO_C" >&6
24040 cat >conftest.$ac_ext <<_ACEOF
24043 cat confdefs.h >>conftest.$ac_ext
24044 cat >>conftest.$ac_ext <<_ACEOF
24045 /* end confdefs.h. */
24046 #define _FILE_OFFSET_BITS 64
24047 #include <sys/types.h>
24052 unsigned int field: sizeof(off_t) == 8;
24059 rm -f conftest.$ac_objext
24060 if { (ac_try="$ac_compile"
24061 case "(($ac_try" in
24062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24063 *) ac_try_echo=$ac_try;;
24065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24066 (eval "$ac_compile") 2>conftest.er1
24068 grep -v '^
*+' conftest.er1 >conftest.err
24070 cat conftest.err >&5
24071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24072 (exit $ac_status); } && {
24073 test -z "$ac_c_werror_flag" ||
24074 test ! -s conftest.err
24075 } && test -s conftest.$ac_objext; then
24076 ac_cv_sys_file_offset_bits=64
24078 echo "$as_me: failed program was:" >&5
24079 sed 's
/^
/| /' conftest.$ac_ext >&5
24081 ac_cv_sys_file_offset_bits=no
24084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24088 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24089 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24091 if test "$ac_cv_sys_file_offset_bits" != no; then
24093 cat >>confdefs.h <<_ACEOF
24094 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24099 if test "x$wx_largefile" != "xyes"; then
24101 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24102 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24103 if test "${ac_cv_sys_large_files+set}" = set; then
24104 echo $ECHO_N "(cached) $ECHO_C" >&6
24107 cat >conftest.$ac_ext <<_ACEOF
24110 cat confdefs.h >>conftest.$ac_ext
24111 cat >>conftest.$ac_ext <<_ACEOF
24112 /* end confdefs.h. */
24113 #define _LARGE_FILES 1
24114 #include <sys/types.h>
24119 unsigned int field: sizeof(off_t) == 8;
24126 rm -f conftest.$ac_objext
24127 if { (ac_try="$ac_compile"
24128 case "(($ac_try" in
24129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24130 *) ac_try_echo=$ac_try;;
24132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24133 (eval "$ac_compile") 2>conftest.er1
24135 grep -v '^
*+' conftest.er1 >conftest.err
24137 cat conftest.err >&5
24138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24139 (exit $ac_status); } && {
24140 test -z "$ac_c_werror_flag" ||
24141 test ! -s conftest.err
24142 } && test -s conftest.$ac_objext; then
24143 ac_cv_sys_large_files=1
24145 echo "$as_me: failed program was:" >&5
24146 sed 's
/^
/| /' conftest.$ac_ext >&5
24148 ac_cv_sys_large_files=no
24151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24155 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24156 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24158 if test "$ac_cv_sys_large_files" != no; then
24160 cat >>confdefs.h <<_ACEOF
24161 #define _LARGE_FILES $ac_cv_sys_large_files
24168 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24169 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24170 if test "x$wx_largefile" = "xyes"; then
24171 cat >>confdefs.h <<\_ACEOF
24172 #define HAVE_LARGEFILE_SUPPORT 1
24176 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24177 echo "${ECHO_T}$wx_largefile" >&6; }
24180 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24181 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24182 elif test "$ac_cv_sys_large_files" = 1; then
24183 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24186 if test -n "$LARGEFILE_CPPFLAGS"; then
24187 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24189 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24190 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24191 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24192 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24193 echo $ECHO_N "(cached) $ECHO_C" >&6
24197 ac_cpp='$CXXCPP $CPPFLAGS'
24198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24199 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24202 cat >conftest.$ac_ext <<_ACEOF
24205 cat confdefs.h >>conftest.$ac_ext
24206 cat >>conftest.$ac_ext <<_ACEOF
24207 /* end confdefs.h. */
24213 #ifndef __STDC_EXT__
24221 rm -f conftest.$ac_objext
24222 if { (ac_try="$ac_compile"
24223 case "(($ac_try" in
24224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24225 *) ac_try_echo=$ac_try;;
24227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24228 (eval "$ac_compile") 2>conftest.er1
24230 grep -v '^
*+' conftest.er1 >conftest.err
24232 cat conftest.err >&5
24233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24234 (exit $ac_status); } && {
24235 test -z "$ac_cxx_werror_flag" ||
24236 test ! -s conftest.err
24237 } && test -s conftest.$ac_objext; then
24238 wx_cv_STDC_EXT_required=no
24240 echo "$as_me: failed program was:" >&5
24241 sed 's
/^
/| /' conftest.$ac_ext >&5
24243 wx_cv_STDC_EXT_required=yes
24247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24249 ac_cpp='$CPP $CPPFLAGS'
24250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24251 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24257 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24258 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24259 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24260 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24266 ac_cpp='$CXXCPP $CPPFLAGS'
24267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24268 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24271 old_CPPFLAGS="$CPPFLAGS"
24272 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24273 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24274 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24275 if test "${ac_cv_sys_largefile_source+set}" = set; then
24276 echo $ECHO_N "(cached) $ECHO_C" >&6
24279 cat >conftest.$ac_ext <<_ACEOF
24282 cat confdefs.h >>conftest.$ac_ext
24283 cat >>conftest.$ac_ext <<_ACEOF
24284 /* end confdefs.h. */
24285 #include <sys/types.h> /* for off_t */
24290 int (*fp) (FILE *, off_t, int) = fseeko;
24291 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24296 rm -f conftest.$ac_objext conftest$ac_exeext
24297 if { (ac_try="$ac_link"
24298 case "(($ac_try" in
24299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24300 *) ac_try_echo=$ac_try;;
24302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24303 (eval "$ac_link") 2>conftest.er1
24305 grep -v '^
*+' conftest.er1 >conftest.err
24307 cat conftest.err >&5
24308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24309 (exit $ac_status); } && {
24310 test -z "$ac_cxx_werror_flag" ||
24311 test ! -s conftest.err
24312 } && test -s conftest$ac_exeext &&
24313 $as_test_x conftest$ac_exeext; then
24314 ac_cv_sys_largefile_source=no; break
24316 echo "$as_me: failed program was:" >&5
24317 sed 's
/^
/| /' conftest.$ac_ext >&5
24322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24323 conftest$ac_exeext conftest.$ac_ext
24324 cat >conftest.$ac_ext <<_ACEOF
24327 cat confdefs.h >>conftest.$ac_ext
24328 cat >>conftest.$ac_ext <<_ACEOF
24329 /* end confdefs.h. */
24330 #define _LARGEFILE_SOURCE 1
24331 #include <sys/types.h> /* for off_t */
24336 int (*fp) (FILE *, off_t, int) = fseeko;
24337 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24342 rm -f conftest.$ac_objext conftest$ac_exeext
24343 if { (ac_try="$ac_link"
24344 case "(($ac_try" in
24345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24346 *) ac_try_echo=$ac_try;;
24348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24349 (eval "$ac_link") 2>conftest.er1
24351 grep -v '^
*+' conftest.er1 >conftest.err
24353 cat conftest.err >&5
24354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24355 (exit $ac_status); } && {
24356 test -z "$ac_cxx_werror_flag" ||
24357 test ! -s conftest.err
24358 } && test -s conftest$ac_exeext &&
24359 $as_test_x conftest$ac_exeext; then
24360 ac_cv_sys_largefile_source=1; break
24362 echo "$as_me: failed program was:" >&5
24363 sed 's
/^
/| /' conftest.$ac_ext >&5
24368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24369 conftest$ac_exeext conftest.$ac_ext
24370 ac_cv_sys_largefile_source=unknown
24374 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24375 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24376 case $ac_cv_sys_largefile_source in #(
24379 cat >>confdefs.h <<_ACEOF
24380 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24386 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24387 # in glibc 2.1.3, but that breaks too many other things.
24388 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24389 if test $ac_cv_sys_largefile_source != unknown; then
24391 cat >>confdefs.h <<\_ACEOF
24392 #define HAVE_FSEEKO 1
24397 CPPFLAGS="$old_CPPFLAGS"
24399 ac_cpp='$CPP $CPPFLAGS'
24400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24401 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24404 if test "$ac_cv_sys_largefile_source" != no; then
24405 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24408 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24409 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24410 if test "${ac_cv_c_bigendian+set}" = set; then
24411 echo $ECHO_N "(cached) $ECHO_C" >&6
24413 ac_cv_c_bigendian=unknown
24414 # See if sys/param.h defines the BYTE_ORDER macro.
24415 cat >conftest.$ac_ext <<_ACEOF
24418 cat confdefs.h >>conftest.$ac_ext
24419 cat >>conftest.$ac_ext <<_ACEOF
24420 /* end confdefs.h. */
24421 #include <sys/types.h>
24422 #include <sys/param.h>
24427 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24428 bogus endian macros
24434 rm -f conftest.$ac_objext
24435 if { (ac_try="$ac_compile"
24436 case "(($ac_try" in
24437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24438 *) ac_try_echo=$ac_try;;
24440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24441 (eval "$ac_compile") 2>conftest.er1
24443 grep -v '^
*+' conftest.er1 >conftest.err
24445 cat conftest.err >&5
24446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24447 (exit $ac_status); } && {
24448 test -z "$ac_c_werror_flag" ||
24449 test ! -s conftest.err
24450 } && test -s conftest.$ac_objext; then
24451 # It does; now see whether it defined to BIG_ENDIAN or not.
24452 cat >conftest.$ac_ext <<_ACEOF
24455 cat confdefs.h >>conftest.$ac_ext
24456 cat >>conftest.$ac_ext <<_ACEOF
24457 /* end confdefs.h. */
24458 #include <sys/types.h>
24459 #include <sys/param.h>
24464 #if BYTE_ORDER != BIG_ENDIAN
24471 rm -f conftest.$ac_objext
24472 if { (ac_try="$ac_compile"
24473 case "(($ac_try" in
24474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24475 *) ac_try_echo=$ac_try;;
24477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24478 (eval "$ac_compile") 2>conftest.er1
24480 grep -v '^
*+' conftest.er1 >conftest.err
24482 cat conftest.err >&5
24483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24484 (exit $ac_status); } && {
24485 test -z "$ac_c_werror_flag" ||
24486 test ! -s conftest.err
24487 } && test -s conftest.$ac_objext; then
24488 ac_cv_c_bigendian=yes
24490 echo "$as_me: failed program was:" >&5
24491 sed 's
/^
/| /' conftest.$ac_ext >&5
24493 ac_cv_c_bigendian=no
24496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24498 echo "$as_me: failed program was:" >&5
24499 sed 's
/^
/| /' conftest.$ac_ext >&5
24504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24505 if test $ac_cv_c_bigendian = unknown; then
24506 if test "$cross_compiling" = yes; then
24507 ac_cv_c_bigendian=unknown
24509 cat >conftest.$ac_ext <<_ACEOF
24512 cat confdefs.h >>conftest.$ac_ext
24513 cat >>conftest.$ac_ext <<_ACEOF
24514 /* end confdefs.h. */
24516 /* Are we little or big endian? From Harbison&Steele. */
24520 char c[sizeof (long)];
24523 exit (u.c[sizeof (long) - 1] == 1);
24526 rm -f conftest$ac_exeext
24527 if { (ac_try="$ac_link"
24528 case "(($ac_try" in
24529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24530 *) ac_try_echo=$ac_try;;
24532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24533 (eval "$ac_link") 2>&5
24535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24536 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24537 { (case "(($ac_try" in
24538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24539 *) ac_try_echo=$ac_try;;
24541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24542 (eval "$ac_try") 2>&5
24544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24545 (exit $ac_status); }; }; then
24546 ac_cv_c_bigendian=no
24548 echo "$as_me: program exited with status $ac_status" >&5
24549 echo "$as_me: failed program was:" >&5
24550 sed 's
/^
/| /' conftest.$ac_ext >&5
24552 ( exit $ac_status )
24553 ac_cv_c_bigendian=yes
24555 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24561 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24562 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24563 if test $ac_cv_c_bigendian = unknown; then
24564 { 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
24565 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;}
24567 if test $ac_cv_c_bigendian = yes; then
24568 cat >>confdefs.h <<\_ACEOF
24569 #define WORDS_BIGENDIAN 1
24578 ac_cpp='$CXXCPP $CPPFLAGS'
24579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24580 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24585 for ac_header in iostream
24587 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24588 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24589 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24590 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24591 echo $ECHO_N "(cached) $ECHO_C" >&6
24593 cat >conftest.$ac_ext <<_ACEOF
24596 cat confdefs.h >>conftest.$ac_ext
24597 cat >>conftest.$ac_ext <<_ACEOF
24598 /* end confdefs.h. */
24601 #include <$ac_header>
24603 rm -f conftest.$ac_objext
24604 if { (ac_try="$ac_compile"
24605 case "(($ac_try" in
24606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24607 *) ac_try_echo=$ac_try;;
24609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24610 (eval "$ac_compile") 2>conftest.er1
24612 grep -v '^
*+' conftest.er1 >conftest.err
24614 cat conftest.err >&5
24615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24616 (exit $ac_status); } && {
24617 test -z "$ac_cxx_werror_flag" ||
24618 test ! -s conftest.err
24619 } && test -s conftest.$ac_objext; then
24620 eval "$as_ac_Header=yes"
24622 echo "$as_me: failed program was:" >&5
24623 sed 's
/^
/| /' conftest.$ac_ext >&5
24625 eval "$as_ac_Header=no"
24628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24630 ac_res=`eval echo '${'$as_ac_Header'}'`
24631 { echo "$as_me:$LINENO: result: $ac_res" >&5
24632 echo "${ECHO_T}$ac_res" >&6; }
24633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24634 cat >>confdefs.h <<_ACEOF
24635 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24643 if test "$ac_cv_header_iostream" = "yes" ; then
24646 cat >>confdefs.h <<\_ACEOF
24647 #define wxUSE_IOSTREAMH 1
24653 ac_cpp='$CPP $CPPFLAGS'
24654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24655 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24661 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24662 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24663 if test "${wx_cv_explicit+set}" = set; then
24664 echo $ECHO_N "(cached) $ECHO_C" >&6
24669 ac_cpp='$CXXCPP $CPPFLAGS'
24670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24671 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24675 cat >conftest.$ac_ext <<_ACEOF
24678 cat confdefs.h >>conftest.$ac_ext
24679 cat >>conftest.$ac_ext <<_ACEOF
24680 /* end confdefs.h. */
24682 class Foo { public: explicit Foo(int) {} };
24694 rm -f conftest.$ac_objext
24695 if { (ac_try="$ac_compile"
24696 case "(($ac_try" in
24697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24698 *) ac_try_echo=$ac_try;;
24700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24701 (eval "$ac_compile") 2>conftest.er1
24703 grep -v '^
*+' conftest.er1 >conftest.err
24705 cat conftest.err >&5
24706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24707 (exit $ac_status); } && {
24708 test -z "$ac_cxx_werror_flag" ||
24709 test ! -s conftest.err
24710 } && test -s conftest.$ac_objext; then
24712 cat >conftest.$ac_ext <<_ACEOF
24715 cat confdefs.h >>conftest.$ac_ext
24716 cat >>conftest.$ac_ext <<_ACEOF
24717 /* end confdefs.h. */
24719 class Foo { public: explicit Foo(int) {} };
24720 static void TakeFoo(const Foo& foo) { }
24733 rm -f conftest.$ac_objext
24734 if { (ac_try="$ac_compile"
24735 case "(($ac_try" in
24736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24737 *) ac_try_echo=$ac_try;;
24739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24740 (eval "$ac_compile") 2>conftest.er1
24742 grep -v '^
*+' conftest.er1 >conftest.err
24744 cat conftest.err >&5
24745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24746 (exit $ac_status); } && {
24747 test -z "$ac_cxx_werror_flag" ||
24748 test ! -s conftest.err
24749 } && test -s conftest.$ac_objext; then
24752 echo "$as_me: failed program was:" >&5
24753 sed 's
/^
/| /' conftest.$ac_ext >&5
24759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24762 echo "$as_me: failed program was:" >&5
24763 sed 's
/^
/| /' conftest.$ac_ext >&5
24769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24772 ac_cpp='$CPP $CPPFLAGS'
24773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24774 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24779 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24780 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24782 if test "$wx_cv_explicit" = "yes"; then
24783 cat >>confdefs.h <<\_ACEOF
24784 #define HAVE_EXPLICIT 1
24790 if test "x$SUNCXX" = xyes; then
24791 CXXFLAGS="-features=tmplife $CXXFLAGS"
24794 if test "x$SUNCC" = xyes; then
24795 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24798 if test "x$SGICC" = "xyes"; then
24799 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
24800 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
24801 if test "${wx_cv_prog_sgicc744+set}" = set; then
24802 echo $ECHO_N "(cached) $ECHO_C" >&6
24805 cat >conftest.$ac_ext <<_ACEOF
24808 cat confdefs.h >>conftest.$ac_ext
24809 cat >>conftest.$ac_ext <<_ACEOF
24810 /* end confdefs.h. */
24816 #if _SGI_COMPILER_VERSION >= 744
24817 chock me: mipsPro is 7.4.4 or later
24824 rm -f conftest.$ac_objext
24825 if { (ac_try="$ac_compile"
24826 case "(($ac_try" in
24827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24828 *) ac_try_echo=$ac_try;;
24830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24831 (eval "$ac_compile") 2>conftest.er1
24833 grep -v '^
*+' conftest.er1 >conftest.err
24835 cat conftest.err >&5
24836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24837 (exit $ac_status); } && {
24838 test -z "$ac_c_werror_flag" ||
24839 test ! -s conftest.err
24840 } && test -s conftest.$ac_objext; then
24841 wx_cv_prog_sgicc744=no
24843 echo "$as_me: failed program was:" >&5
24844 sed 's
/^
/| /' conftest.$ac_ext >&5
24846 wx_cv_prog_sgicc744=yes
24850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24854 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
24855 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
24857 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
24858 CFLAGS="-woff 3970 $CFLAGS"
24861 if test "x$SGICXX" = "xyes"; then
24862 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
24863 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
24864 if test "${wx_cv_prog_sgicxx744+set}" = set; then
24865 echo $ECHO_N "(cached) $ECHO_C" >&6
24869 ac_cpp='$CXXCPP $CPPFLAGS'
24870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24871 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24874 cat >conftest.$ac_ext <<_ACEOF
24877 cat confdefs.h >>conftest.$ac_ext
24878 cat >>conftest.$ac_ext <<_ACEOF
24879 /* end confdefs.h. */
24885 #if _SGI_COMPILER_VERSION >= 744
24886 chock me: mipsPro is 7.4.4 or later
24893 rm -f conftest.$ac_objext
24894 if { (ac_try="$ac_compile"
24895 case "(($ac_try" in
24896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24897 *) ac_try_echo=$ac_try;;
24899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24900 (eval "$ac_compile") 2>conftest.er1
24902 grep -v '^
*+' conftest.er1 >conftest.err
24904 cat conftest.err >&5
24905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24906 (exit $ac_status); } && {
24907 test -z "$ac_cxx_werror_flag" ||
24908 test ! -s conftest.err
24909 } && test -s conftest.$ac_objext; then
24910 wx_cv_prog_sgicxx744=no
24912 echo "$as_me: failed program was:" >&5
24913 sed 's
/^
/| /' conftest.$ac_ext >&5
24915 wx_cv_prog_sgicxx744=yes
24919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24921 ac_cpp='$CPP $CPPFLAGS'
24922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24923 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24929 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
24930 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
24932 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
24933 CXXFLAGS="-woff 3970 $CXXFLAGS"
24937 if test "x$HPCC" = "xyes"; then
24938 CFLAGS="+W 2011,2450 $CFLAGS"
24940 if test "x$HPCXX" = "xyes"; then
24941 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24944 if test "x$COMPAQCXX" = "xyes"; then
24945 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24949 ac_cpp='$CXXCPP $CPPFLAGS'
24950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24951 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24955 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24956 if test "$wxUSE_UNICODE" = "yes"; then
24957 std_string="std::wstring"
24958 char_type="wchar_t"
24960 std_string="std::string"
24964 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24965 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24966 if test "${wx_cv_class_stdstring+set}" = set; then
24967 echo $ECHO_N "(cached) $ECHO_C" >&6
24970 cat >conftest.$ac_ext <<_ACEOF
24973 cat confdefs.h >>conftest.$ac_ext
24974 cat >>conftest.$ac_ext <<_ACEOF
24975 /* end confdefs.h. */
24985 rm -f conftest.$ac_objext
24986 if { (ac_try="$ac_compile"
24987 case "(($ac_try" in
24988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24989 *) ac_try_echo=$ac_try;;
24991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24992 (eval "$ac_compile") 2>conftest.er1
24994 grep -v '^
*+' conftest.er1 >conftest.err
24996 cat conftest.err >&5
24997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24998 (exit $ac_status); } && {
24999 test -z "$ac_cxx_werror_flag" ||
25000 test ! -s conftest.err
25001 } && test -s conftest.$ac_objext; then
25002 wx_cv_class_stdstring=yes
25004 echo "$as_me: failed program was:" >&5
25005 sed 's
/^
/| /' conftest.$ac_ext >&5
25007 wx_cv_class_stdstring=no
25011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25015 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25016 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25018 if test "$wx_cv_class_stdstring" = yes; then
25019 if test "$wxUSE_UNICODE" = "yes"; then
25020 cat >>confdefs.h <<\_ACEOF
25021 #define HAVE_STD_WSTRING 1
25026 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25027 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25028 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25029 echo $ECHO_N "(cached) $ECHO_C" >&6
25032 cat >conftest.$ac_ext <<_ACEOF
25035 cat confdefs.h >>conftest.$ac_ext
25036 cat >>conftest.$ac_ext <<_ACEOF
25037 /* end confdefs.h. */
25039 #ifdef HAVE_WCHAR_H
25041 # include <stddef.h>
25043 # include <wchar.h>
25045 #ifdef HAVE_STDLIB_H
25046 # include <stdlib.h>
25054 std::basic_string<$char_type> foo;
25055 const $char_type* dummy = foo.c_str();
25060 rm -f conftest.$ac_objext
25061 if { (ac_try="$ac_compile"
25062 case "(($ac_try" in
25063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25064 *) ac_try_echo=$ac_try;;
25066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25067 (eval "$ac_compile") 2>conftest.er1
25069 grep -v '^
*+' conftest.er1 >conftest.err
25071 cat conftest.err >&5
25072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25073 (exit $ac_status); } && {
25074 test -z "$ac_cxx_werror_flag" ||
25075 test ! -s conftest.err
25076 } && test -s conftest.$ac_objext; then
25077 wx_cv_class_stdbasicstring=yes
25079 echo "$as_me: failed program was:" >&5
25080 sed 's
/^
/| /' conftest.$ac_ext >&5
25082 wx_cv_class_stdbasicstring=no
25086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25090 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25091 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25093 if test "$wx_cv_class_stdbasicstring" != yes; then
25094 if test "$wxUSE_STL" = "yes"; then
25095 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
25096 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25097 { (exit 1); exit 1; }; }
25098 elif test "$wxUSE_STD_STRING" = "yes"; then
25099 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
25100 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25101 { (exit 1); exit 1; }; }
25103 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25104 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25105 wxUSE_STD_STRING=no
25111 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25112 { echo "$as_me:$LINENO: checking for std::istream" >&5
25113 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25114 if test "${ac_cv_type_std__istream+set}" = set; then
25115 echo $ECHO_N "(cached) $ECHO_C" >&6
25117 cat >conftest.$ac_ext <<_ACEOF
25120 cat confdefs.h >>conftest.$ac_ext
25121 cat >>conftest.$ac_ext <<_ACEOF
25122 /* end confdefs.h. */
25123 #include <iostream>
25125 typedef std::istream ac__type_new_;
25129 if ((ac__type_new_ *) 0)
25131 if (sizeof (ac__type_new_))
25137 rm -f conftest.$ac_objext
25138 if { (ac_try="$ac_compile"
25139 case "(($ac_try" in
25140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25141 *) ac_try_echo=$ac_try;;
25143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25144 (eval "$ac_compile") 2>conftest.er1
25146 grep -v '^
*+' conftest.er1 >conftest.err
25148 cat conftest.err >&5
25149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25150 (exit $ac_status); } && {
25151 test -z "$ac_cxx_werror_flag" ||
25152 test ! -s conftest.err
25153 } && test -s conftest.$ac_objext; then
25154 ac_cv_type_std__istream=yes
25156 echo "$as_me: failed program was:" >&5
25157 sed 's
/^
/| /' conftest.$ac_ext >&5
25159 ac_cv_type_std__istream=no
25162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25164 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25165 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25166 if test $ac_cv_type_std__istream = yes; then
25168 cat >>confdefs.h <<_ACEOF
25169 #define HAVE_STD__ISTREAM 1
25174 wxUSE_STD_IOSTREAM=no
25176 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25177 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25178 if test "${ac_cv_type_std__ostream+set}" = set; then
25179 echo $ECHO_N "(cached) $ECHO_C" >&6
25181 cat >conftest.$ac_ext <<_ACEOF
25184 cat confdefs.h >>conftest.$ac_ext
25185 cat >>conftest.$ac_ext <<_ACEOF
25186 /* end confdefs.h. */
25187 #include <iostream>
25189 typedef std::ostream ac__type_new_;
25193 if ((ac__type_new_ *) 0)
25195 if (sizeof (ac__type_new_))
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 ac_cv_type_std__ostream=yes
25220 echo "$as_me: failed program was:" >&5
25221 sed 's
/^
/| /' conftest.$ac_ext >&5
25223 ac_cv_type_std__ostream=no
25226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25228 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25229 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25230 if test $ac_cv_type_std__ostream = yes; then
25232 cat >>confdefs.h <<_ACEOF
25233 #define HAVE_STD__OSTREAM 1
25238 wxUSE_STD_IOSTREAM=no
25242 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25243 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25244 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
25245 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25246 { (exit 1); exit 1; }; }
25248 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25249 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25254 if test "$wxUSE_STL" = "yes"; then
25255 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25256 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25257 if test "${wx_cv_lib_stl+set}" = set; then
25258 echo $ECHO_N "(cached) $ECHO_C" >&6
25260 cat >conftest.$ac_ext <<_ACEOF
25263 cat confdefs.h >>conftest.$ac_ext
25264 cat >>conftest.$ac_ext <<_ACEOF
25265 /* end confdefs.h. */
25267 #include <functional>
25268 #include <algorithm>
25274 std::vector<int> moo;
25275 std::list<int> foo;
25276 std::vector<int>::iterator it =
25277 std::find_if(moo.begin(), moo.end(),
25278 std::bind2nd(std::less<int>(), 3));
25283 rm -f conftest.$ac_objext
25284 if { (ac_try="$ac_compile"
25285 case "(($ac_try" in
25286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25287 *) ac_try_echo=$ac_try;;
25289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25290 (eval "$ac_compile") 2>conftest.er1
25292 grep -v '^
*+' conftest.er1 >conftest.err
25294 cat conftest.err >&5
25295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25296 (exit $ac_status); } && {
25297 test -z "$ac_cxx_werror_flag" ||
25298 test ! -s conftest.err
25299 } && test -s conftest.$ac_objext; then
25302 echo "$as_me: failed program was:" >&5
25303 sed 's
/^
/| /' conftest.$ac_ext >&5
25309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25312 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25313 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25315 if test "$wx_cv_lib_stl" != yes; then
25316 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
25317 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
25318 { (exit 1); exit 1; }; }
25321 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25322 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25323 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25324 echo $ECHO_N "(cached) $ECHO_C" >&6
25326 cat >conftest.$ac_ext <<_ACEOF
25329 cat confdefs.h >>conftest.$ac_ext
25330 cat >>conftest.$ac_ext <<_ACEOF
25331 /* end confdefs.h. */
25336 std::string foo, bar;
25338 foo.compare(1, 1, bar);
25339 foo.compare(1, 1, bar, 1, 1);
25341 foo.compare(1, 1, "");
25342 foo.compare(1, 1, "", 2);
25347 rm -f conftest.$ac_objext
25348 if { (ac_try="$ac_compile"
25349 case "(($ac_try" in
25350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25351 *) ac_try_echo=$ac_try;;
25353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25354 (eval "$ac_compile") 2>conftest.er1
25356 grep -v '^
*+' conftest.er1 >conftest.err
25358 cat conftest.err >&5
25359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25360 (exit $ac_status); } && {
25361 test -z "$ac_cxx_werror_flag" ||
25362 test ! -s conftest.err
25363 } && test -s conftest.$ac_objext; then
25364 wx_cv_func_stdstring_compare=yes
25366 echo "$as_me: failed program was:" >&5
25367 sed 's
/^
/| /' conftest.$ac_ext >&5
25369 wx_cv_func_stdstring_compare=no
25373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25376 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25377 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25379 if test "$wx_cv_func_stdstring_compare" = yes; then
25380 cat >>confdefs.h <<\_ACEOF
25381 #define HAVE_STD_STRING_COMPARE 1
25386 if test "$wx_cv_class_gnuhashmapset" = yes; then
25387 cat >>confdefs.h <<\_ACEOF
25388 #define HAVE_EXT_HASH_MAP 1
25391 cat >>confdefs.h <<\_ACEOF
25392 #define HAVE_GNU_CXX_HASH_MAP 1
25397 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25398 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25399 if test "${ac_cv_header_unordered_map+set}" = set; then
25400 echo $ECHO_N "(cached) $ECHO_C" >&6
25402 cat >conftest.$ac_ext <<_ACEOF
25405 cat confdefs.h >>conftest.$ac_ext
25406 cat >>conftest.$ac_ext <<_ACEOF
25407 /* end confdefs.h. */
25411 #include <unordered_map>
25413 rm -f conftest.$ac_objext
25414 if { (ac_try="$ac_compile"
25415 case "(($ac_try" in
25416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25417 *) ac_try_echo=$ac_try;;
25419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25420 (eval "$ac_compile") 2>conftest.er1
25422 grep -v '^
*+' conftest.er1 >conftest.err
25424 cat conftest.err >&5
25425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25426 (exit $ac_status); } && {
25427 test -z "$ac_cxx_werror_flag" ||
25428 test ! -s conftest.err
25429 } && test -s conftest.$ac_objext; then
25430 ac_cv_header_unordered_map=yes
25432 echo "$as_me: failed program was:" >&5
25433 sed 's
/^
/| /' conftest.$ac_ext >&5
25435 ac_cv_header_unordered_map=no
25438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25440 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25441 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25442 if test $ac_cv_header_unordered_map = yes; then
25443 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25444 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25445 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25446 echo $ECHO_N "(cached) $ECHO_C" >&6
25448 cat >conftest.$ac_ext <<_ACEOF
25451 cat confdefs.h >>conftest.$ac_ext
25452 cat >>conftest.$ac_ext <<_ACEOF
25453 /* end confdefs.h. */
25454 #include <unordered_map>
25455 #include <unordered_set>
25459 std::unordered_map<double*, char*> test1;
25460 std::unordered_set<char*> test2;
25465 rm -f conftest.$ac_objext
25466 if { (ac_try="$ac_compile"
25467 case "(($ac_try" in
25468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25469 *) ac_try_echo=$ac_try;;
25471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25472 (eval "$ac_compile") 2>conftest.er1
25474 grep -v '^
*+' conftest.er1 >conftest.err
25476 cat conftest.err >&5
25477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25478 (exit $ac_status); } && {
25479 test -z "$ac_cxx_werror_flag" ||
25480 test ! -s conftest.err
25481 } && test -s conftest.$ac_objext; then
25482 wx_cv_class_stdunorderedmapset=yes
25484 echo "$as_me: failed program was:" >&5
25485 sed 's
/^
/| /' conftest.$ac_ext >&5
25487 wx_cv_class_stdunorderedmapset=no
25490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25494 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25495 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25500 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25501 cat >>confdefs.h <<\_ACEOF
25502 #define HAVE_STD_UNORDERED_MAP 1
25505 cat >>confdefs.h <<\_ACEOF
25506 #define HAVE_STD_UNORDERED_SET 1
25510 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25511 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25512 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25513 echo $ECHO_N "(cached) $ECHO_C" >&6
25515 cat >conftest.$ac_ext <<_ACEOF
25518 cat confdefs.h >>conftest.$ac_ext
25519 cat >>conftest.$ac_ext <<_ACEOF
25520 /* end confdefs.h. */
25524 #include <tr1/unordered_map>
25526 rm -f conftest.$ac_objext
25527 if { (ac_try="$ac_compile"
25528 case "(($ac_try" in
25529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25530 *) ac_try_echo=$ac_try;;
25532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25533 (eval "$ac_compile") 2>conftest.er1
25535 grep -v '^
*+' conftest.er1 >conftest.err
25537 cat conftest.err >&5
25538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25539 (exit $ac_status); } && {
25540 test -z "$ac_cxx_werror_flag" ||
25541 test ! -s conftest.err
25542 } && test -s conftest.$ac_objext; then
25543 ac_cv_header_tr1_unordered_map=yes
25545 echo "$as_me: failed program was:" >&5
25546 sed 's
/^
/| /' conftest.$ac_ext >&5
25548 ac_cv_header_tr1_unordered_map=no
25551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25553 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25554 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25555 if test $ac_cv_header_tr1_unordered_map = yes; then
25556 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25557 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25558 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25559 echo $ECHO_N "(cached) $ECHO_C" >&6
25561 cat >conftest.$ac_ext <<_ACEOF
25564 cat confdefs.h >>conftest.$ac_ext
25565 cat >>conftest.$ac_ext <<_ACEOF
25566 /* end confdefs.h. */
25567 #include <tr1/unordered_map>
25568 #include <tr1/unordered_set>
25572 std::tr1::unordered_map<double*, char*> test1;
25573 std::tr1::unordered_set<char*> test2;
25574 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25575 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
25581 rm -f conftest.
$ac_objext
25582 if { (ac_try
="$ac_compile"
25583 case "(($ac_try" in
25584 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25585 *) ac_try_echo=$ac_try;;
25587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25588 (eval "$ac_compile") 2>conftest.er1
25590 grep -v '^ *+' conftest.er1 >conftest.err
25592 cat conftest.err >&5
25593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25594 (exit $ac_status); } && {
25595 test -z "$ac_cxx_werror_flag" ||
25596 test ! -s conftest.err
25597 } && test -s conftest.$ac_objext; then
25598 wx_cv_class_tr1unorderedmapset=yes
25600 echo "$as_me: failed program was:" >&5
25601 sed 's/^/| /' conftest.$ac_ext >&5
25603 wx_cv_class_tr1unorderedmapset=no
25606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25610 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25611 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25616 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25617 cat >>confdefs.h <<\_ACEOF
25618 #define HAVE_TR1_UNORDERED_MAP 1
25621 cat >>confdefs.h <<\_ACEOF
25622 #define HAVE_TR1_UNORDERED_SET 1
25626 { echo "$as_me:$LINENO: checking for hash_map" >&5
25627 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25628 if test "${ac_cv_header_hash_map+set}" = set; then
25629 echo $ECHO_N "(cached) $ECHO_C" >&6
25631 cat >conftest.$ac_ext <<_ACEOF
25634 cat confdefs.h >>conftest.$ac_ext
25635 cat >>conftest.$ac_ext <<_ACEOF
25636 /* end confdefs.h. */
25640 #include <hash_map>
25642 rm -f conftest.$ac_objext
25643 if { (ac_try="$ac_compile"
25644 case "(($ac_try" in
25645 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25646 *) ac_try_echo
=$ac_try;;
25648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25649 (eval "$ac_compile") 2>conftest.er1
25651 grep -v '^ *+' conftest.er1
>conftest.err
25653 cat conftest.err
>&5
25654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25655 (exit $ac_status); } && {
25656 test -z "$ac_cxx_werror_flag" ||
25657 test ! -s conftest.err
25658 } && test -s conftest.
$ac_objext; then
25659 ac_cv_header_hash_map
=yes
25661 echo "$as_me: failed program was:" >&5
25662 sed 's/^/| /' conftest.
$ac_ext >&5
25664 ac_cv_header_hash_map
=no
25667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25669 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25670 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25671 if test $ac_cv_header_hash_map = yes; then
25672 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25673 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25674 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25675 echo $ECHO_N "(cached) $ECHO_C" >&6
25677 cat >conftest.
$ac_ext <<_ACEOF
25680 cat confdefs.h
>>conftest.
$ac_ext
25681 cat >>conftest.
$ac_ext <<_ACEOF
25682 /* end confdefs.h. */
25683 #include <hash_map>
25684 #include <hash_set>
25688 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25689 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25694 rm -f conftest.
$ac_objext
25695 if { (ac_try
="$ac_compile"
25696 case "(($ac_try" in
25697 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25698 *) ac_try_echo=$ac_try;;
25700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25701 (eval "$ac_compile") 2>conftest.er1
25703 grep -v '^ *+' conftest.er1 >conftest.err
25705 cat conftest.err >&5
25706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25707 (exit $ac_status); } && {
25708 test -z "$ac_cxx_werror_flag" ||
25709 test ! -s conftest.err
25710 } && test -s conftest.$ac_objext; then
25711 wx_cv_class_stdhashmapset=yes
25713 echo "$as_me: failed program was:" >&5
25714 sed 's/^/| /' conftest.$ac_ext >&5
25716 wx_cv_class_stdhashmapset=no
25719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25723 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25724 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25729 if test "$wx_cv_class_stdhashmapset" = yes; then
25730 cat >>confdefs.h <<\_ACEOF
25731 #define HAVE_HASH_MAP 1
25734 cat >>confdefs.h <<\_ACEOF
25735 #define HAVE_STD_HASH_MAP 1
25740 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25741 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25742 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25743 echo $ECHO_N "(cached) $ECHO_C" >&6
25745 cat >conftest.$ac_ext <<_ACEOF
25748 cat confdefs.h >>conftest.$ac_ext
25749 cat >>conftest.$ac_ext <<_ACEOF
25750 /* end confdefs.h. */
25754 #include <ext/hash_map>
25756 rm -f conftest.$ac_objext
25757 if { (ac_try="$ac_compile"
25758 case "(($ac_try" in
25759 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25760 *) ac_try_echo
=$ac_try;;
25762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25763 (eval "$ac_compile") 2>conftest.er1
25765 grep -v '^ *+' conftest.er1
>conftest.err
25767 cat conftest.err
>&5
25768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25769 (exit $ac_status); } && {
25770 test -z "$ac_cxx_werror_flag" ||
25771 test ! -s conftest.err
25772 } && test -s conftest.
$ac_objext; then
25773 ac_cv_header_ext_hash_map
=yes
25775 echo "$as_me: failed program was:" >&5
25776 sed 's/^/| /' conftest.
$ac_ext >&5
25778 ac_cv_header_ext_hash_map
=no
25781 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25783 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25784 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25785 if test $ac_cv_header_ext_hash_map = yes; then
25786 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25787 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25788 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25789 echo $ECHO_N "(cached) $ECHO_C" >&6
25791 cat >conftest.
$ac_ext <<_ACEOF
25794 cat confdefs.h
>>conftest.
$ac_ext
25795 cat >>conftest.
$ac_ext <<_ACEOF
25796 /* end confdefs.h. */
25797 #include <ext/hash_map>
25798 #include <ext/hash_set>
25802 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25803 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25808 rm -f conftest.
$ac_objext
25809 if { (ac_try
="$ac_compile"
25810 case "(($ac_try" in
25811 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25812 *) ac_try_echo=$ac_try;;
25814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25815 (eval "$ac_compile") 2>conftest.er1
25817 grep -v '^ *+' conftest.er1 >conftest.err
25819 cat conftest.err >&5
25820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25821 (exit $ac_status); } && {
25822 test -z "$ac_cxx_werror_flag" ||
25823 test ! -s conftest.err
25824 } && test -s conftest.$ac_objext; then
25825 wx_cv_class_gnuhashmapset=yes
25827 echo "$as_me: failed program was:" >&5
25828 sed 's/^/| /' conftest.$ac_ext >&5
25830 wx_cv_class_gnuhashmapset=no
25833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25837 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25838 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25849 if test -n "$GCC"; then
25850 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25851 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25852 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25853 echo $ECHO_N "(cached) $ECHO_C" >&6
25856 cat >conftest.$ac_ext <<_ACEOF
25859 cat confdefs.h >>conftest.$ac_ext
25860 cat >>conftest.$ac_ext <<_ACEOF
25861 /* end confdefs.h. */
25867 unsigned int value=0;
25868 /* wxAtomicInc doesn't use return value here */
25869 __sync_fetch_and_add(&value, 2);
25870 __sync_sub_and_fetch(&value, 1);
25871 /* but wxAtomicDec does, so mimic that: */
25872 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25878 rm -f conftest.$ac_objext conftest$ac_exeext
25879 if { (ac_try="$ac_link"
25880 case "(($ac_try" in
25881 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25882 *) ac_try_echo
=$ac_try;;
25884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25885 (eval "$ac_link") 2>conftest.er1
25887 grep -v '^ *+' conftest.er1
>conftest.err
25889 cat conftest.err
>&5
25890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25891 (exit $ac_status); } && {
25892 test -z "$ac_cxx_werror_flag" ||
25893 test ! -s conftest.err
25894 } && test -s conftest
$ac_exeext &&
25895 $as_test_x conftest
$ac_exeext; then
25896 wx_cv_cc_gcc_atomic_builtins
=yes
25898 echo "$as_me: failed program was:" >&5
25899 sed 's/^/| /' conftest.
$ac_ext >&5
25901 wx_cv_cc_gcc_atomic_builtins
=no
25904 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25905 conftest
$ac_exeext conftest.
$ac_ext
25909 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25910 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25911 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25912 cat >>confdefs.h
<<\_ACEOF
25913 #define HAVE_GCC_ATOMIC_BUILTINS 1
25921 ac_cpp
='$CPP $CPPFLAGS'
25922 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25923 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25924 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25929 /usr/local/include \
25930 /usr/local/X11/include \
25931 /usr/local/include/X11 \
25932 /usr/local/X11R7/include \
25933 /usr/local/X11R6/include \
25934 /usr/local/include/X11R7 \
25935 /usr/local/include/X11R6 \
25937 /usr/Motif-2.1/include \
25938 /usr/Motif-1.2/include \
25939 /usr/include/Motif1.2 \
25942 /usr/openwin/include \
25946 /usr/X11R7/include \
25947 /usr/X11R6/include \
25948 /usr/X11R6.4/include \
25950 /usr/include/X11R7 \
25951 /usr/include/X11R6 \
25956 /usr/XFree86/include/X11 \
25959 /usr/local/X1R5/include \
25960 /usr/local/include/X11R5 \
25961 /usr/X11R5/include \
25962 /usr/include/X11R5 \
25964 /usr/local/X11R4/include \
25965 /usr/local/include/X11R4 \
25966 /usr/X11R4/include \
25967 /usr/include/X11R4 \
25969 /usr/openwin/share/include"
25971 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25972 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25976 if test "${wx_cv_std_libpath+set}" = set; then
25977 echo $ECHO_N "(cached) $ECHO_C" >&6
25980 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
25981 for e
in a so sl dylib dll.a
; do
25983 if test -f $libc; then
25986 cat >conftest.
$ac_ext <<_ACEOF
25987 int main() { return 0; }
25989 rm -f conftest.
$ac_objext conftest
$ac_exeext
25990 if { (ac_try
="$ac_link"
25991 case "(($ac_try" in
25992 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25993 *) ac_try_echo=$ac_try;;
25995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25996 (eval "$ac_link") 2>conftest.er1
25998 grep -v '^ *+' conftest.er1 >conftest.err
26000 cat conftest.err >&5
26001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26002 (exit $ac_status); } && {
26003 test -z "$ac_c_werror_flag" ||
26004 test ! -s conftest.err
26005 } && test -s conftest$ac_exeext &&
26006 $as_test_x conftest$ac_exeext; then
26007 wx_cv_std_libpath=`echo $d | sed s@
/usr
/@@
`
26009 echo "$as_me: failed program was:" >&5
26010 sed 's/^/| /' conftest.$ac_ext >&5
26015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26016 conftest$ac_exeext conftest.$ac_ext
26018 if test "x$wx_cv_std_libpath" != "x"; then
26024 if test "x$wx_cv_std_libpath" = "x"; then
26025 wx_cv_std_libpath="lib"
26034 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26035 wx_cv_std_libpath="lib/64"
26037 wx_cv_std_libpath="lib"
26042 if test "$ac_cv_sizeof_void_p" = 8 -a \
26043 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26044 wx_cv_std_libpath="lib64"
26046 wx_cv_std_libpath="lib"
26051 wx_cv_std_libpath="lib";
26055 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26056 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26058 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@
$wx_cv_std_libpath@g
` /usr/$wx_cv_std_libpath"
26060 if test "$build" != "$host" -a "$GCC" = yes; then
26061 if cross_root=`$CC -print-prog-name=ld
2>/dev
/null
`; then
26062 cross_root=`dirname $cross_root`
26063 cross_root=`dirname $cross_root`
26065 SEARCH_LIB=`for x
in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26066 SEARCH_INCLUDE=`for x
in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26067 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26069 if test -z "$PKG_CONFIG_PATH"; then
26070 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26071 export PKG_CONFIG_PATH
26074 if test -z "$x_includes" -o "$x_includes" = NONE; then
26077 for ac_dir in $SEARCH_INCLUDE /usr/include;
26079 if test -f "$ac_dir/X11/Intrinsic.h"; then
26080 ac_find_includes=$ac_dir
26085 x_includes=$ac_find_includes
26087 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26090 for ac_dir in $SEARCH_LIB;
26092 for ac_extension in a so sl dylib dll.a; do
26093 if test -f "$ac_dir/libXt.$ac_extension"; then
26094 ac_find_libraries=$ac_dir
26100 x_libraries=$ac_find_libraries
26106 cat >confcache <<\_ACEOF
26107 # This file is a shell script that caches the results of configure
26108 # tests run on this system so they can be shared between configure
26109 # scripts and configure runs, see configure's option --config-cache.
26110 # It is not useful on other systems. If it contains results you don't
26111 # want to keep, you may remove or edit it.
26113 # config.status only pays attention to the cache file if you give it
26114 # the --recheck option to rerun configure.
26116 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
26117 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26118 # following values.
26122 # The following way of writing the cache mishandles newlines in values,
26123 # but we know of no workaround that is simple, portable, and efficient.
26124 # So, we kill variables containing newlines.
26125 # Ultrix sh set writes to stderr and can't be redirected directly,
26126 # and sets the high bit in the cache file unless we assign to the vars.
26128 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26129 eval ac_val
=\$
$ac_var
26133 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26134 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26137 _
| IFS
| as_nl
) ;; #(
26138 *) $as_unset $ac_var ;;
26144 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26145 *${as_nl}ac_space
=\
*)
26146 # `set' does not quote correctly, so add quotes (double-quote
26147 # substitution turns \\\\ into \\, and sed turns \\ into \).
26150 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26153 # `set' quotes correctly as required by POSIX, so do not add quotes.
26154 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26163 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26165 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26167 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26168 if test -w "$cache_file"; then
26169 test "x$cache_file" != "x/dev/null" &&
26170 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26171 echo "$as_me: updating cache $cache_file" >&6;}
26172 cat confcache
>$cache_file
26174 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26175 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26180 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26181 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26182 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26183 if test "${wx_cv_lib_glibc21+set}" = set; then
26184 echo $ECHO_N "(cached) $ECHO_C" >&6
26187 cat >conftest.
$ac_ext <<_ACEOF
26190 cat confdefs.h
>>conftest.
$ac_ext
26191 cat >>conftest.
$ac_ext <<_ACEOF
26192 /* end confdefs.h. */
26193 #include <features.h>
26198 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26206 rm -f conftest.
$ac_objext
26207 if { (ac_try
="$ac_compile"
26208 case "(($ac_try" in
26209 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26210 *) ac_try_echo=$ac_try;;
26212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26213 (eval "$ac_compile") 2>conftest.er1
26215 grep -v '^ *+' conftest.er1 >conftest.err
26217 cat conftest.err >&5
26218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26219 (exit $ac_status); } && {
26220 test -z "$ac_c_werror_flag" ||
26221 test ! -s conftest.err
26222 } && test -s conftest.$ac_objext; then
26224 wx_cv_lib_glibc21=yes
26227 echo "$as_me: failed program was:" >&5
26228 sed 's/^/| /' conftest.$ac_ext >&5
26231 wx_cv_lib_glibc21=no
26236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26239 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26240 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
26241 if test "$wx_cv_lib_glibc21" = "yes"; then
26242 cat >>confdefs.h <<\_ACEOF
26243 #define wxHAVE_GLIBC2 1
26249 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26250 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26251 cat >>confdefs.h <<\_ACEOF
26252 #define _GNU_SOURCE 1
26263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26264 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26266 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26267 echo $ECHO_N "(cached) $ECHO_C" >&6
26269 cat >conftest.$ac_ext <<_ACEOF
26272 cat confdefs.h >>conftest.$ac_ext
26273 cat >>conftest.$ac_ext <<_ACEOF
26274 /* end confdefs.h. */
26275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26277 #define $ac_func innocuous_$ac_func
26279 /* System header to define __stub macros and hopefully few prototypes,
26280 which can conflict with char $ac_func (); below.
26281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26282 <limits.h> exists even on freestanding compilers. */
26285 # include <limits.h>
26287 # include <assert.h>
26292 /* Override any GCC internal prototype to avoid an error.
26293 Use char because int might match the return type of a GCC
26294 builtin and then its argument prototype would still apply. */
26299 /* The GNU C library defines this for functions which it implements
26300 to always fail with ENOSYS. Some functions are actually named
26301 something starting with __ and the normal name is an alias. */
26302 #if defined __stub_$ac_func || defined __stub___$ac_func
26309 return $ac_func ();
26314 rm -f conftest.$ac_objext conftest$ac_exeext
26315 if { (ac_try="$ac_link"
26316 case "(($ac_try" in
26317 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26318 *) ac_try_echo
=$ac_try;;
26320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26321 (eval "$ac_link") 2>conftest.er1
26323 grep -v '^ *+' conftest.er1
>conftest.err
26325 cat conftest.err
>&5
26326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26327 (exit $ac_status); } && {
26328 test -z "$ac_c_werror_flag" ||
26329 test ! -s conftest.err
26330 } && test -s conftest
$ac_exeext &&
26331 $as_test_x conftest
$ac_exeext; then
26332 eval "$as_ac_var=yes"
26334 echo "$as_me: failed program was:" >&5
26335 sed 's/^/| /' conftest.
$ac_ext >&5
26337 eval "$as_ac_var=no"
26340 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26341 conftest
$ac_exeext conftest.
$ac_ext
26343 ac_res
=`eval echo '${'$as_ac_var'}'`
26344 { echo "$as_me:$LINENO: result: $ac_res" >&5
26345 echo "${ECHO_T}$ac_res" >&6; }
26346 if test `eval echo '${'$as_ac_var'}'` = yes; then
26347 cat >>confdefs.h
<<_ACEOF
26348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26355 for ac_func
in floor
26357 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26358 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26360 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26361 echo $ECHO_N "(cached) $ECHO_C" >&6
26363 cat >conftest.
$ac_ext <<_ACEOF
26366 cat confdefs.h
>>conftest.
$ac_ext
26367 cat >>conftest.
$ac_ext <<_ACEOF
26368 /* end confdefs.h. */
26369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26371 #define $ac_func innocuous_$ac_func
26373 /* System header to define __stub macros and hopefully few prototypes,
26374 which can conflict with char $ac_func (); below.
26375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26376 <limits.h> exists even on freestanding compilers. */
26379 # include <limits.h>
26381 # include <assert.h>
26386 /* Override any GCC internal prototype to avoid an error.
26387 Use char because int might match the return type of a GCC
26388 builtin and then its argument prototype would still apply. */
26393 /* The GNU C library defines this for functions which it implements
26394 to always fail with ENOSYS. Some functions are actually named
26395 something starting with __ and the normal name is an alias. */
26396 #if defined __stub_$ac_func || defined __stub___$ac_func
26403 return $ac_func ();
26408 rm -f conftest.
$ac_objext conftest
$ac_exeext
26409 if { (ac_try
="$ac_link"
26410 case "(($ac_try" in
26411 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26412 *) ac_try_echo=$ac_try;;
26414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26415 (eval "$ac_link") 2>conftest.er1
26417 grep -v '^ *+' conftest.er1 >conftest.err
26419 cat conftest.err >&5
26420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26421 (exit $ac_status); } && {
26422 test -z "$ac_c_werror_flag" ||
26423 test ! -s conftest.err
26424 } && test -s conftest$ac_exeext &&
26425 $as_test_x conftest$ac_exeext; then
26426 eval "$as_ac_var=yes"
26428 echo "$as_me: failed program was:" >&5
26429 sed 's/^/| /' conftest.$ac_ext >&5
26431 eval "$as_ac_var=no"
26434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26435 conftest$ac_exeext conftest.$ac_ext
26437 ac_res=`eval echo '${'$as_ac_var'}'`
26438 { echo "$as_me:$LINENO: result: $ac_res" >&5
26439 echo "${ECHO_T}$ac_res" >&6; }
26440 if test `eval echo '${'$as_ac_var'}'` = yes; then
26441 cat >>confdefs.h <<_ACEOF
26442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26448 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26449 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26450 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26451 { echo "$as_me:$LINENO: result: yes" >&5
26452 echo "${ECHO_T}yes" >&6; }
26454 { echo "$as_me:$LINENO: result: no" >&5
26455 echo "${ECHO_T}no" >&6; }
26457 # use different functions to avoid configure caching
26463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26464 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26466 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26467 echo $ECHO_N "(cached) $ECHO_C" >&6
26469 cat >conftest.$ac_ext <<_ACEOF
26472 cat confdefs.h >>conftest.$ac_ext
26473 cat >>conftest.$ac_ext <<_ACEOF
26474 /* end confdefs.h. */
26475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26477 #define $ac_func innocuous_$ac_func
26479 /* System header to define __stub macros and hopefully few prototypes,
26480 which can conflict with char $ac_func (); below.
26481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26482 <limits.h> exists even on freestanding compilers. */
26485 # include <limits.h>
26487 # include <assert.h>
26492 /* Override any GCC internal prototype to avoid an error.
26493 Use char because int might match the return type of a GCC
26494 builtin and then its argument prototype would still apply. */
26499 /* The GNU C library defines this for functions which it implements
26500 to always fail with ENOSYS. Some functions are actually named
26501 something starting with __ and the normal name is an alias. */
26502 #if defined __stub_$ac_func || defined __stub___$ac_func
26509 return $ac_func ();
26514 rm -f conftest.$ac_objext conftest$ac_exeext
26515 if { (ac_try="$ac_link"
26516 case "(($ac_try" in
26517 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26518 *) ac_try_echo
=$ac_try;;
26520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26521 (eval "$ac_link") 2>conftest.er1
26523 grep -v '^ *+' conftest.er1
>conftest.err
26525 cat conftest.err
>&5
26526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26527 (exit $ac_status); } && {
26528 test -z "$ac_c_werror_flag" ||
26529 test ! -s conftest.err
26530 } && test -s conftest
$ac_exeext &&
26531 $as_test_x conftest
$ac_exeext; then
26532 eval "$as_ac_var=yes"
26534 echo "$as_me: failed program was:" >&5
26535 sed 's/^/| /' conftest.
$ac_ext >&5
26537 eval "$as_ac_var=no"
26540 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26541 conftest
$ac_exeext conftest.
$ac_ext
26543 ac_res
=`eval echo '${'$as_ac_var'}'`
26544 { echo "$as_me:$LINENO: result: $ac_res" >&5
26545 echo "${ECHO_T}$ac_res" >&6; }
26546 if test `eval echo '${'$as_ac_var'}'` = yes; then
26547 cat >>confdefs.h
<<_ACEOF
26548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26555 for ac_func
in ceil
26557 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26558 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26560 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26561 echo $ECHO_N "(cached) $ECHO_C" >&6
26563 cat >conftest.
$ac_ext <<_ACEOF
26566 cat confdefs.h
>>conftest.
$ac_ext
26567 cat >>conftest.
$ac_ext <<_ACEOF
26568 /* end confdefs.h. */
26569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26571 #define $ac_func innocuous_$ac_func
26573 /* System header to define __stub macros and hopefully few prototypes,
26574 which can conflict with char $ac_func (); below.
26575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26576 <limits.h> exists even on freestanding compilers. */
26579 # include <limits.h>
26581 # include <assert.h>
26586 /* Override any GCC internal prototype to avoid an error.
26587 Use char because int might match the return type of a GCC
26588 builtin and then its argument prototype would still apply. */
26593 /* The GNU C library defines this for functions which it implements
26594 to always fail with ENOSYS. Some functions are actually named
26595 something starting with __ and the normal name is an alias. */
26596 #if defined __stub_$ac_func || defined __stub___$ac_func
26603 return $ac_func ();
26608 rm -f conftest.
$ac_objext conftest
$ac_exeext
26609 if { (ac_try
="$ac_link"
26610 case "(($ac_try" in
26611 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26612 *) ac_try_echo=$ac_try;;
26614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26615 (eval "$ac_link") 2>conftest.er1
26617 grep -v '^ *+' conftest.er1 >conftest.err
26619 cat conftest.err >&5
26620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26621 (exit $ac_status); } && {
26622 test -z "$ac_c_werror_flag" ||
26623 test ! -s conftest.err
26624 } && test -s conftest$ac_exeext &&
26625 $as_test_x conftest$ac_exeext; then
26626 eval "$as_ac_var=yes"
26628 echo "$as_me: failed program was:" >&5
26629 sed 's/^/| /' conftest.$ac_ext >&5
26631 eval "$as_ac_var=no"
26634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26635 conftest$ac_exeext conftest.$ac_ext
26637 ac_res=`eval echo '${'$as_ac_var'}'`
26638 { echo "$as_me:$LINENO: result: $ac_res" >&5
26639 echo "${ECHO_T}$ac_res" >&6; }
26640 if test `eval echo '${'$as_ac_var'}'` = yes; then
26641 cat >>confdefs.h <<_ACEOF
26642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26648 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26649 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26650 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26651 { echo "$as_me:$LINENO: result: yes" >&5
26652 echo "${ECHO_T}yes" >&6; }
26654 { echo "$as_me:$LINENO: result: no" >&5
26655 echo "${ECHO_T}no" >&6; }
26656 # not sure we should warn the user, crash, etc.
26661 ac_cpp='$CXXCPP $CPPFLAGS'
26662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26666 if test "wxUSE_UNICODE" = "yes"; then
26668 for wx_func in wcstoull
26670 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26671 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26672 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26673 echo $ECHO_N "(cached) $ECHO_C" >&6
26676 cat >conftest.$ac_ext <<_ACEOF
26680 cat confdefs.h >>conftest.$ac_ext
26681 cat >>conftest.$ac_ext <<_ACEOF
26682 /* end confdefs.h. */
26685 $ac_includes_default
26701 rm -f conftest.$ac_objext conftest$ac_exeext
26702 if { (ac_try="$ac_link"
26703 case "(($ac_try" in
26704 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26705 *) ac_try_echo
=$ac_try;;
26707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26708 (eval "$ac_link") 2>conftest.er1
26710 grep -v '^ *+' conftest.er1
>conftest.err
26712 cat conftest.err
>&5
26713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26714 (exit $ac_status); } && {
26715 test -z "$ac_cxx_werror_flag" ||
26716 test ! -s conftest.err
26717 } && test -s conftest
$ac_exeext &&
26718 $as_test_x conftest
$ac_exeext; then
26719 eval wx_cv_func_
$wx_func=yes
26721 echo "$as_me: failed program was:" >&5
26722 sed 's/^/| /' conftest.
$ac_ext >&5
26724 eval wx_cv_func_
$wx_func=no
26727 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26728 conftest
$ac_exeext conftest.
$ac_ext
26731 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
26732 { echo "$as_me:$LINENO: result: $ac_res" >&5
26733 echo "${ECHO_T}$ac_res" >&6; }
26735 if eval test \
$wx_cv_func_$wx_func = yes
26737 cat >>confdefs.h
<<_ACEOF
26738 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26750 for wx_func
in strtoull
26752 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26753 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26754 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26755 echo $ECHO_N "(cached) $ECHO_C" >&6
26758 cat >conftest.
$ac_ext <<_ACEOF
26762 cat confdefs.h
>>conftest.
$ac_ext
26763 cat >>conftest.
$ac_ext <<_ACEOF
26764 /* end confdefs.h. */
26767 $ac_includes_default
26783 rm -f conftest.
$ac_objext conftest
$ac_exeext
26784 if { (ac_try
="$ac_link"
26785 case "(($ac_try" in
26786 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26787 *) ac_try_echo=$ac_try;;
26789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26790 (eval "$ac_link") 2>conftest.er1
26792 grep -v '^ *+' conftest.er1 >conftest.err
26794 cat conftest.err >&5
26795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26796 (exit $ac_status); } && {
26797 test -z "$ac_cxx_werror_flag" ||
26798 test ! -s conftest.err
26799 } && test -s conftest$ac_exeext &&
26800 $as_test_x conftest$ac_exeext; then
26801 eval wx_cv_func_$wx_func=yes
26803 echo "$as_me: failed program was:" >&5
26804 sed 's/^/| /' conftest.$ac_ext >&5
26806 eval wx_cv_func_$wx_func=no
26809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26810 conftest$ac_exeext conftest.$ac_ext
26813 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26814 { echo "$as_me:$LINENO: result: $ac_res" >&5
26815 echo "${ECHO_T}$ac_res" >&6; }
26817 if eval test \$wx_cv_func_$wx_func = yes
26819 cat >>confdefs.h <<_ACEOF
26820 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26832 ac_cpp='$CPP $CPPFLAGS'
26833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26840 if test "$wxUSE_REGEX" != "no"; then
26841 cat >>confdefs.h <<\_ACEOF
26842 #define wxUSE_REGEX 1
26846 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26847 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26848 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26849 wxUSE_REGEX=builtin
26852 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26853 { echo "$as_me:$LINENO: checking for regex.h" >&5
26854 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26855 if test "${ac_cv_header_regex_h+set}" = set; then
26856 echo $ECHO_N "(cached) $ECHO_C" >&6
26858 cat >conftest.$ac_ext <<_ACEOF
26861 cat confdefs.h >>conftest.$ac_ext
26862 cat >>conftest.$ac_ext <<_ACEOF
26863 /* end confdefs.h. */
26868 rm -f conftest.$ac_objext
26869 if { (ac_try="$ac_compile"
26870 case "(($ac_try" in
26871 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26872 *) ac_try_echo
=$ac_try;;
26874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26875 (eval "$ac_compile") 2>conftest.er1
26877 grep -v '^ *+' conftest.er1
>conftest.err
26879 cat conftest.err
>&5
26880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26881 (exit $ac_status); } && {
26882 test -z "$ac_c_werror_flag" ||
26883 test ! -s conftest.err
26884 } && test -s conftest.
$ac_objext; then
26885 ac_cv_header_regex_h
=yes
26887 echo "$as_me: failed program was:" >&5
26888 sed 's/^/| /' conftest.
$ac_ext >&5
26890 ac_cv_header_regex_h
=no
26893 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26895 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26896 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26897 if test $ac_cv_header_regex_h = yes; then
26900 for ac_func
in regcomp re_search
26902 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26903 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26905 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26906 echo $ECHO_N "(cached) $ECHO_C" >&6
26908 cat >conftest.
$ac_ext <<_ACEOF
26911 cat confdefs.h
>>conftest.
$ac_ext
26912 cat >>conftest.
$ac_ext <<_ACEOF
26913 /* end confdefs.h. */
26914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26916 #define $ac_func innocuous_$ac_func
26918 /* System header to define __stub macros and hopefully few prototypes,
26919 which can conflict with char $ac_func (); below.
26920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26921 <limits.h> exists even on freestanding compilers. */
26924 # include <limits.h>
26926 # include <assert.h>
26931 /* Override any GCC internal prototype to avoid an error.
26932 Use char because int might match the return type of a GCC
26933 builtin and then its argument prototype would still apply. */
26938 /* The GNU C library defines this for functions which it implements
26939 to always fail with ENOSYS. Some functions are actually named
26940 something starting with __ and the normal name is an alias. */
26941 #if defined __stub_$ac_func || defined __stub___$ac_func
26948 return $ac_func ();
26953 rm -f conftest.
$ac_objext conftest
$ac_exeext
26954 if { (ac_try
="$ac_link"
26955 case "(($ac_try" in
26956 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26957 *) ac_try_echo=$ac_try;;
26959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26960 (eval "$ac_link") 2>conftest.er1
26962 grep -v '^ *+' conftest.er1 >conftest.err
26964 cat conftest.err >&5
26965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26966 (exit $ac_status); } && {
26967 test -z "$ac_c_werror_flag" ||
26968 test ! -s conftest.err
26969 } && test -s conftest$ac_exeext &&
26970 $as_test_x conftest$ac_exeext; then
26971 eval "$as_ac_var=yes"
26973 echo "$as_me: failed program was:" >&5
26974 sed 's/^/| /' conftest.$ac_ext >&5
26976 eval "$as_ac_var=no"
26979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26980 conftest$ac_exeext conftest.$ac_ext
26982 ac_res=`eval echo '${'$as_ac_var'}'`
26983 { echo "$as_me:$LINENO: result: $ac_res" >&5
26984 echo "${ECHO_T}$ac_res" >&6; }
26985 if test `eval echo '${'$as_ac_var'}'` = yes; then
26986 cat >>confdefs.h <<_ACEOF
26987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26997 if test "x$ac_cv_func_regcomp" != "xyes"; then
26998 if test "$wxUSE_REGEX" = "sys" ; then
26999 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27000 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27001 { (exit 1); exit 1; }; }
27003 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27004 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27005 wxUSE_REGEX=builtin
27009 cat >>confdefs.h <<\_ACEOF
27010 #define WX_NO_REGEX_ADVANCED 1
27019 if test "$wxUSE_ZLIB" != "no" ; then
27020 cat >>confdefs.h <<\_ACEOF
27021 #define wxUSE_ZLIB 1
27025 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27026 if test "$USE_DARWIN" = 1; then
27027 system_zlib_h_ok="yes"
27029 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27030 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27031 if test "${ac_cv_header_zlib_h+set}" = set; then
27032 echo $ECHO_N "(cached) $ECHO_C" >&6
27034 if test "$cross_compiling" = yes; then
27035 unset ac_cv_header_zlib_h
27038 cat >conftest.$ac_ext <<_ACEOF
27041 cat confdefs.h >>conftest.$ac_ext
27042 cat >>conftest.$ac_ext <<_ACEOF
27043 /* end confdefs.h. */
27050 FILE *f=fopen("conftestval", "w");
27053 ZLIB_VERSION[0] == '1' &&
27054 (ZLIB_VERSION[2] > '1' ||
27055 (ZLIB_VERSION[2] == '1' &&
27056 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27061 rm -f conftest$ac_exeext
27062 if { (ac_try="$ac_link"
27063 case "(($ac_try" in
27064 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27065 *) ac_try_echo
=$ac_try;;
27067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27068 (eval "$ac_link") 2>&5
27070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27071 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27072 { (case "(($ac_try" in
27073 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27074 *) ac_try_echo=$ac_try;;
27076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27077 (eval "$ac_try") 2>&5
27079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27080 (exit $ac_status); }; }; then
27081 ac_cv_header_zlib_h=`cat conftestval
`
27083 echo "$as_me: program exited with status $ac_status" >&5
27084 echo "$as_me: failed program was:" >&5
27085 sed 's/^/| /' conftest.$ac_ext >&5
27087 ( exit $ac_status )
27088 ac_cv_header_zlib_h=no
27090 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27096 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27097 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27098 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27099 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27100 if test "${ac_cv_header_zlib_h+set}" = set; then
27101 echo $ECHO_N "(cached) $ECHO_C" >&6
27103 cat >conftest.$ac_ext <<_ACEOF
27106 cat confdefs.h >>conftest.$ac_ext
27107 cat >>conftest.$ac_ext <<_ACEOF
27108 /* end confdefs.h. */
27113 rm -f conftest.$ac_objext
27114 if { (ac_try="$ac_compile"
27115 case "(($ac_try" in
27116 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27117 *) ac_try_echo
=$ac_try;;
27119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27120 (eval "$ac_compile") 2>conftest.er1
27122 grep -v '^ *+' conftest.er1
>conftest.err
27124 cat conftest.err
>&5
27125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27126 (exit $ac_status); } && {
27127 test -z "$ac_c_werror_flag" ||
27128 test ! -s conftest.err
27129 } && test -s conftest.
$ac_objext; then
27130 ac_cv_header_zlib_h
=yes
27132 echo "$as_me: failed program was:" >&5
27133 sed 's/^/| /' conftest.
$ac_ext >&5
27135 ac_cv_header_zlib_h
=no
27138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27140 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27141 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27145 system_zlib_h_ok
=$ac_cv_header_zlib_h
27148 if test "$system_zlib_h_ok" = "yes"; then
27149 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27150 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27151 if test "${ac_cv_lib_z_deflate+set}" = set; then
27152 echo $ECHO_N "(cached) $ECHO_C" >&6
27154 ac_check_lib_save_LIBS
=$LIBS
27156 cat >conftest.
$ac_ext <<_ACEOF
27159 cat confdefs.h
>>conftest.
$ac_ext
27160 cat >>conftest.
$ac_ext <<_ACEOF
27161 /* end confdefs.h. */
27163 /* Override any GCC internal prototype to avoid an error.
27164 Use char because int might match the return type of a GCC
27165 builtin and then its argument prototype would still apply. */
27178 rm -f conftest.
$ac_objext conftest
$ac_exeext
27179 if { (ac_try
="$ac_link"
27180 case "(($ac_try" in
27181 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27182 *) ac_try_echo=$ac_try;;
27184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27185 (eval "$ac_link") 2>conftest.er1
27187 grep -v '^ *+' conftest.er1 >conftest.err
27189 cat conftest.err >&5
27190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27191 (exit $ac_status); } && {
27192 test -z "$ac_c_werror_flag" ||
27193 test ! -s conftest.err
27194 } && test -s conftest$ac_exeext &&
27195 $as_test_x conftest$ac_exeext; then
27196 ac_cv_lib_z_deflate=yes
27198 echo "$as_me: failed program was:" >&5
27199 sed 's/^/| /' conftest.$ac_ext >&5
27201 ac_cv_lib_z_deflate=no
27204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27205 conftest$ac_exeext conftest.$ac_ext
27206 LIBS=$ac_check_lib_save_LIBS
27208 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27209 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
27210 if test $ac_cv_lib_z_deflate = yes; then
27216 if test "x$ZLIB_LINK" = "x" ; then
27217 if test "$wxUSE_ZLIB" = "sys" ; then
27218 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27219 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27220 { (exit 1); exit 1; }; }
27222 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27223 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27234 if test "$wxUSE_LIBPNG" != "no" ; then
27235 cat >>confdefs.h <<\_ACEOF
27236 #define wxUSE_LIBPNG 1
27240 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27241 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27242 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27246 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27247 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27248 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27249 wxUSE_LIBPNG=builtin
27252 if test "$wxUSE_MGL" != 1 ; then
27253 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27254 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27255 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
27256 if test "${ac_cv_header_png_h+set}" = set; then
27257 echo $ECHO_N "(cached) $ECHO_C" >&6
27259 if test "$cross_compiling" = yes; then
27260 unset ac_cv_header_png_h
27263 cat >conftest.$ac_ext <<_ACEOF
27266 cat confdefs.h >>conftest.$ac_ext
27267 cat >>conftest.$ac_ext <<_ACEOF
27268 /* end confdefs.h. */
27275 FILE *f=fopen("conftestval", "w");
27278 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27283 rm -f conftest$ac_exeext
27284 if { (ac_try="$ac_link"
27285 case "(($ac_try" in
27286 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27287 *) ac_try_echo
=$ac_try;;
27289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27290 (eval "$ac_link") 2>&5
27292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27293 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27294 { (case "(($ac_try" in
27295 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27296 *) ac_try_echo=$ac_try;;
27298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27299 (eval "$ac_try") 2>&5
27301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27302 (exit $ac_status); }; }; then
27303 ac_cv_header_png_h=`cat conftestval
`
27305 echo "$as_me: program exited with status $ac_status" >&5
27306 echo "$as_me: failed program was:" >&5
27307 sed 's/^/| /' conftest.$ac_ext >&5
27309 ( exit $ac_status )
27310 ac_cv_header_png_h=no
27312 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27318 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27319 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27320 { echo "$as_me:$LINENO: checking for png.h" >&5
27321 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
27322 if test "${ac_cv_header_png_h+set}" = set; then
27323 echo $ECHO_N "(cached) $ECHO_C" >&6
27325 cat >conftest.$ac_ext <<_ACEOF
27328 cat confdefs.h >>conftest.$ac_ext
27329 cat >>conftest.$ac_ext <<_ACEOF
27330 /* end confdefs.h. */
27335 rm -f conftest.$ac_objext
27336 if { (ac_try="$ac_compile"
27337 case "(($ac_try" in
27338 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27339 *) ac_try_echo
=$ac_try;;
27341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27342 (eval "$ac_compile") 2>conftest.er1
27344 grep -v '^ *+' conftest.er1
>conftest.err
27346 cat conftest.err
>&5
27347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27348 (exit $ac_status); } && {
27349 test -z "$ac_c_werror_flag" ||
27350 test ! -s conftest.err
27351 } && test -s conftest.
$ac_objext; then
27352 ac_cv_header_png_h
=yes
27354 echo "$as_me: failed program was:" >&5
27355 sed 's/^/| /' conftest.
$ac_ext >&5
27357 ac_cv_header_png_h
=no
27360 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27362 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27363 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27367 if test "$ac_cv_header_png_h" = "yes"; then
27368 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
27369 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
27370 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
27371 echo $ECHO_N "(cached) $ECHO_C" >&6
27373 ac_check_lib_save_LIBS
=$LIBS
27374 LIBS
="-lpng -lz -lm $LIBS"
27375 cat >conftest.
$ac_ext <<_ACEOF
27378 cat confdefs.h
>>conftest.
$ac_ext
27379 cat >>conftest.
$ac_ext <<_ACEOF
27380 /* end confdefs.h. */
27382 /* Override any GCC internal prototype to avoid an error.
27383 Use char because int might match the return type of a GCC
27384 builtin and then its argument prototype would still apply. */
27388 char png_sig_cmp ();
27392 return png_sig_cmp ();
27397 rm -f conftest.
$ac_objext conftest
$ac_exeext
27398 if { (ac_try
="$ac_link"
27399 case "(($ac_try" in
27400 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27401 *) ac_try_echo=$ac_try;;
27403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27404 (eval "$ac_link") 2>conftest.er1
27406 grep -v '^ *+' conftest.er1 >conftest.err
27408 cat conftest.err >&5
27409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27410 (exit $ac_status); } && {
27411 test -z "$ac_c_werror_flag" ||
27412 test ! -s conftest.err
27413 } && test -s conftest$ac_exeext &&
27414 $as_test_x conftest$ac_exeext; then
27415 ac_cv_lib_png_png_sig_cmp=yes
27417 echo "$as_me: failed program was:" >&5
27418 sed 's/^/| /' conftest.$ac_ext >&5
27420 ac_cv_lib_png_png_sig_cmp=no
27423 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27424 conftest$ac_exeext conftest.$ac_ext
27425 LIBS=$ac_check_lib_save_LIBS
27427 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
27428 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
27429 if test $ac_cv_lib_png_png_sig_cmp = yes; then
27430 PNG_LINK=" -lpng -lz"
27435 if test "x$PNG_LINK" = "x" ; then
27436 if test "$wxUSE_LIBPNG" = "sys" ; then
27437 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27438 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27439 { (exit 1); exit 1; }; }
27441 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27442 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27443 wxUSE_LIBPNG=builtin
27454 if test "$wxUSE_LIBJPEG" != "no" ; then
27455 cat >>confdefs.h <<\_ACEOF
27456 #define wxUSE_LIBJPEG 1
27460 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27461 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27462 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27466 if test "$wxUSE_MGL" != 1 ; then
27467 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27468 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27469 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27470 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27471 echo $ECHO_N "(cached) $ECHO_C" >&6
27473 cat >conftest.$ac_ext <<_ACEOF
27476 cat confdefs.h >>conftest.$ac_ext
27477 cat >>conftest.$ac_ext <<_ACEOF
27478 /* end confdefs.h. */
27480 #undef HAVE_STDLIB_H
27482 #include <jpeglib.h>
27493 rm -f conftest.$ac_objext
27494 if { (ac_try="$ac_compile"
27495 case "(($ac_try" in
27496 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27497 *) ac_try_echo
=$ac_try;;
27499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27500 (eval "$ac_compile") 2>conftest.er1
27502 grep -v '^ *+' conftest.er1
>conftest.err
27504 cat conftest.err
>&5
27505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27506 (exit $ac_status); } && {
27507 test -z "$ac_c_werror_flag" ||
27508 test ! -s conftest.err
27509 } && test -s conftest.
$ac_objext; then
27510 ac_cv_header_jpeglib_h
=yes
27512 echo "$as_me: failed program was:" >&5
27513 sed 's/^/| /' conftest.
$ac_ext >&5
27515 ac_cv_header_jpeglib_h
=no
27519 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27523 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27524 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27526 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27527 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27528 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27529 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27530 echo $ECHO_N "(cached) $ECHO_C" >&6
27532 ac_check_lib_save_LIBS
=$LIBS
27533 LIBS
="-ljpeg $LIBS"
27534 cat >conftest.
$ac_ext <<_ACEOF
27537 cat confdefs.h
>>conftest.
$ac_ext
27538 cat >>conftest.
$ac_ext <<_ACEOF
27539 /* end confdefs.h. */
27541 /* Override any GCC internal prototype to avoid an error.
27542 Use char because int might match the return type of a GCC
27543 builtin and then its argument prototype would still apply. */
27547 char jpeg_read_header ();
27551 return jpeg_read_header ();
27556 rm -f conftest.
$ac_objext conftest
$ac_exeext
27557 if { (ac_try
="$ac_link"
27558 case "(($ac_try" in
27559 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27560 *) ac_try_echo=$ac_try;;
27562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27563 (eval "$ac_link") 2>conftest.er1
27565 grep -v '^ *+' conftest.er1 >conftest.err
27567 cat conftest.err >&5
27568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27569 (exit $ac_status); } && {
27570 test -z "$ac_c_werror_flag" ||
27571 test ! -s conftest.err
27572 } && test -s conftest$ac_exeext &&
27573 $as_test_x conftest$ac_exeext; then
27574 ac_cv_lib_jpeg_jpeg_read_header=yes
27576 echo "$as_me: failed program was:" >&5
27577 sed 's/^/| /' conftest.$ac_ext >&5
27579 ac_cv_lib_jpeg_jpeg_read_header=no
27582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27583 conftest$ac_exeext conftest.$ac_ext
27584 LIBS=$ac_check_lib_save_LIBS
27586 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27587 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27588 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27589 JPEG_LINK=" -ljpeg"
27594 if test "x$JPEG_LINK" = "x" ; then
27595 if test "$wxUSE_LIBJPEG" = "sys" ; then
27596 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27597 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27598 { (exit 1); exit 1; }; }
27600 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27601 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27602 wxUSE_LIBJPEG=builtin
27607 if test "$wxUSE_MSW" = 1; then
27608 { echo "$as_me:$LINENO: checking for boolean" >&5
27609 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27610 if test "${ac_cv_type_boolean+set}" = set; then
27611 echo $ECHO_N "(cached) $ECHO_C" >&6
27613 cat >conftest.$ac_ext <<_ACEOF
27616 cat confdefs.h >>conftest.$ac_ext
27617 cat >>conftest.$ac_ext <<_ACEOF
27618 /* end confdefs.h. */
27619 #include <windows.h>
27621 typedef boolean ac__type_new_;
27625 if ((ac__type_new_ *) 0)
27627 if (sizeof (ac__type_new_))
27633 rm -f conftest.$ac_objext
27634 if { (ac_try="$ac_compile"
27635 case "(($ac_try" in
27636 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27637 *) ac_try_echo
=$ac_try;;
27639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27640 (eval "$ac_compile") 2>conftest.er1
27642 grep -v '^ *+' conftest.er1
>conftest.err
27644 cat conftest.err
>&5
27645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27646 (exit $ac_status); } && {
27647 test -z "$ac_c_werror_flag" ||
27648 test ! -s conftest.err
27649 } && test -s conftest.
$ac_objext; then
27650 ac_cv_type_boolean
=yes
27652 echo "$as_me: failed program was:" >&5
27653 sed 's/^/| /' conftest.
$ac_ext >&5
27655 ac_cv_type_boolean
=no
27658 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27660 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27661 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27662 if test $ac_cv_type_boolean = yes; then
27664 cat >>confdefs.h
<<_ACEOF
27665 #define HAVE_BOOLEAN 1
27669 { echo "$as_me:$LINENO: checking for boolean" >&5
27670 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27671 if test "${ac_cv_type_boolean+set}" = set; then
27672 echo $ECHO_N "(cached) $ECHO_C" >&6
27674 cat >conftest.
$ac_ext <<_ACEOF
27677 cat confdefs.h
>>conftest.
$ac_ext
27678 cat >>conftest.
$ac_ext <<_ACEOF
27679 /* end confdefs.h. */
27681 #undef HAVE_BOOLEAN
27683 #include <jpeglib.h>
27686 typedef boolean ac__type_new_;
27690 if ((ac__type_new_ *) 0)
27692 if (sizeof (ac__type_new_))
27698 rm -f conftest.
$ac_objext
27699 if { (ac_try
="$ac_compile"
27700 case "(($ac_try" in
27701 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27702 *) ac_try_echo=$ac_try;;
27704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27705 (eval "$ac_compile") 2>conftest.er1
27707 grep -v '^ *+' conftest.er1 >conftest.err
27709 cat conftest.err >&5
27710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27711 (exit $ac_status); } && {
27712 test -z "$ac_c_werror_flag" ||
27713 test ! -s conftest.err
27714 } && test -s conftest.$ac_objext; then
27715 ac_cv_type_boolean=yes
27717 echo "$as_me: failed program was:" >&5
27718 sed 's/^/| /' conftest.$ac_ext >&5
27720 ac_cv_type_boolean=no
27723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27725 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27726 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27728 # The cast to long int works around a bug in the HP C Compiler
27729 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27730 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
27731 # This bug is HP SR number 8606223364.
27732 { echo "$as_me:$LINENO: checking size of boolean" >&5
27733 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27734 if test "${ac_cv_sizeof_boolean+set}" = set; then
27735 echo $ECHO_N "(cached) $ECHO_C" >&6
27737 if test "$cross_compiling" = yes; then
27738 # Depending upon the size, compute the lo and hi bounds.
27739 cat >conftest.$ac_ext <<_ACEOF
27742 cat confdefs.h >>conftest.$ac_ext
27743 cat >>conftest.$ac_ext <<_ACEOF
27744 /* end confdefs.h. */
27746 #undef HAVE_BOOLEAN
27748 #include <jpeglib.h>
27751 typedef boolean ac__type_sizeof_;
27755 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27762 rm -f conftest.$ac_objext
27763 if { (ac_try="$ac_compile"
27764 case "(($ac_try" in
27765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27766 *) ac_try_echo=$ac_try;;
27768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27769 (eval "$ac_compile") 2>conftest.er1
27771 grep -v '^
*+' conftest.er1 >conftest.err
27773 cat conftest.err >&5
27774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27775 (exit $ac_status); } && {
27776 test -z "$ac_c_werror_flag" ||
27777 test ! -s conftest.err
27778 } && test -s conftest.$ac_objext; then
27781 cat >conftest.$ac_ext <<_ACEOF
27784 cat confdefs.h >>conftest.$ac_ext
27785 cat >>conftest.$ac_ext <<_ACEOF
27786 /* end confdefs.h. */
27788 #undef HAVE_BOOLEAN
27790 #include <jpeglib.h>
27793 typedef boolean ac__type_sizeof_;
27797 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27804 rm -f conftest.$ac_objext
27805 if { (ac_try="$ac_compile"
27806 case "(($ac_try" in
27807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27808 *) ac_try_echo=$ac_try;;
27810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27811 (eval "$ac_compile") 2>conftest.er1
27813 grep -v '^
*+' conftest.er1 >conftest.err
27815 cat conftest.err >&5
27816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27817 (exit $ac_status); } && {
27818 test -z "$ac_c_werror_flag" ||
27819 test ! -s conftest.err
27820 } && test -s conftest.$ac_objext; then
27821 ac_hi=$ac_mid; break
27823 echo "$as_me: failed program was:" >&5
27824 sed 's
/^
/| /' conftest.$ac_ext >&5
27826 ac_lo=`expr $ac_mid + 1`
27827 if test $ac_lo -le $ac_mid; then
27831 ac_mid=`expr 2 '*' $ac_mid + 1`
27834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27837 echo "$as_me: failed program was:" >&5
27838 sed 's
/^
/| /' conftest.$ac_ext >&5
27840 cat >conftest.$ac_ext <<_ACEOF
27843 cat confdefs.h >>conftest.$ac_ext
27844 cat >>conftest.$ac_ext <<_ACEOF
27845 /* end confdefs.h. */
27847 #undef HAVE_BOOLEAN
27849 #include <jpeglib.h>
27852 typedef boolean ac__type_sizeof_;
27856 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27863 rm -f conftest.$ac_objext
27864 if { (ac_try="$ac_compile"
27865 case "(($ac_try" in
27866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27867 *) ac_try_echo=$ac_try;;
27869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27870 (eval "$ac_compile") 2>conftest.er1
27872 grep -v '^
*+' conftest.er1 >conftest.err
27874 cat conftest.err >&5
27875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27876 (exit $ac_status); } && {
27877 test -z "$ac_c_werror_flag" ||
27878 test ! -s conftest.err
27879 } && test -s conftest.$ac_objext; then
27882 cat >conftest.$ac_ext <<_ACEOF
27885 cat confdefs.h >>conftest.$ac_ext
27886 cat >>conftest.$ac_ext <<_ACEOF
27887 /* end confdefs.h. */
27889 #undef HAVE_BOOLEAN
27891 #include <jpeglib.h>
27894 typedef boolean ac__type_sizeof_;
27898 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27905 rm -f conftest.$ac_objext
27906 if { (ac_try="$ac_compile"
27907 case "(($ac_try" in
27908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27909 *) ac_try_echo=$ac_try;;
27911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27912 (eval "$ac_compile") 2>conftest.er1
27914 grep -v '^
*+' conftest.er1 >conftest.err
27916 cat conftest.err >&5
27917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27918 (exit $ac_status); } && {
27919 test -z "$ac_c_werror_flag" ||
27920 test ! -s conftest.err
27921 } && test -s conftest.$ac_objext; then
27922 ac_lo=$ac_mid; break
27924 echo "$as_me: failed program was:" >&5
27925 sed 's
/^
/| /' conftest.$ac_ext >&5
27927 ac_hi=`expr '(' $ac_mid ')' - 1`
27928 if test $ac_mid -le $ac_hi; then
27932 ac_mid=`expr 2 '*' $ac_mid`
27935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27938 echo "$as_me: failed program was:" >&5
27939 sed 's
/^
/| /' conftest.$ac_ext >&5
27944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27948 # Binary search between lo and hi bounds.
27949 while test "x$ac_lo" != "x$ac_hi"; do
27950 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27951 cat >conftest.$ac_ext <<_ACEOF
27954 cat confdefs.h >>conftest.$ac_ext
27955 cat >>conftest.$ac_ext <<_ACEOF
27956 /* end confdefs.h. */
27958 #undef HAVE_BOOLEAN
27960 #include <jpeglib.h>
27963 typedef boolean ac__type_sizeof_;
27967 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27974 rm -f conftest.$ac_objext
27975 if { (ac_try="$ac_compile"
27976 case "(($ac_try" in
27977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27978 *) ac_try_echo=$ac_try;;
27980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27981 (eval "$ac_compile") 2>conftest.er1
27983 grep -v '^
*+' conftest.er1 >conftest.err
27985 cat conftest.err >&5
27986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27987 (exit $ac_status); } && {
27988 test -z "$ac_c_werror_flag" ||
27989 test ! -s conftest.err
27990 } && test -s conftest.$ac_objext; then
27993 echo "$as_me: failed program was:" >&5
27994 sed 's
/^
/| /' conftest.$ac_ext >&5
27996 ac_lo=`expr '(' $ac_mid ')' + 1`
27999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28002 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28003 '') if test "$ac_cv_type_boolean" = yes; then
28004 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28005 See \`config.log' for more details.
" >&5
28006 echo "$as_me: error
: cannot compute sizeof
(boolean
)
28007 See \
`config.log' for more details." >&2;}
28008 { (exit 77); exit 77; }; }
28010 ac_cv_sizeof_boolean=0
28014 cat >conftest.$ac_ext <<_ACEOF
28017 cat confdefs.h >>conftest.$ac_ext
28018 cat >>conftest.$ac_ext <<_ACEOF
28019 /* end confdefs.h. */
28021 #undef HAVE_BOOLEAN
28023 #include <jpeglib.h>
28026 typedef boolean ac__type_sizeof_;
28027 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28028 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28030 #include <stdlib.h>
28035 FILE *f = fopen ("conftest.val", "w");
28038 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28040 long int i = longval ();
28041 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28043 fprintf (f, "%ld\n", i);
28047 unsigned long int i = ulongval ();
28048 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28050 fprintf (f, "%lu\n", i);
28052 return ferror (f) || fclose (f) != 0;
28058 rm -f conftest$ac_exeext
28059 if { (ac_try="$ac_link"
28060 case "(($ac_try" in
28061 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28062 *) ac_try_echo
=$ac_try;;
28064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28065 (eval "$ac_link") 2>&5
28067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28068 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28069 { (case "(($ac_try" in
28070 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28071 *) ac_try_echo=$ac_try;;
28073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28074 (eval "$ac_try") 2>&5
28076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28077 (exit $ac_status); }; }; then
28078 ac_cv_sizeof_boolean=`cat conftest.val
`
28080 echo "$as_me: program exited with status $ac_status" >&5
28081 echo "$as_me: failed program was:" >&5
28082 sed 's/^/| /' conftest.$ac_ext >&5
28084 ( exit $ac_status )
28085 if test "$ac_cv_type_boolean" = yes; then
28086 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28087 See \`config.log
' for more details." >&5
28088 echo "$as_me: error: cannot compute sizeof (boolean)
28089 See \`config.log' for more details.
" >&2;}
28090 { (exit 77); exit 77; }; }
28092 ac_cv_sizeof_boolean=0
28095 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28099 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
28100 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28104 cat >>confdefs.h <<_ACEOF
28105 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28109 cat >>confdefs.h <<_ACEOF
28110 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28124 TIFF_PREREQ_LINKS=-lm
28125 if test "$wxUSE_LIBTIFF" != "no
" ; then
28126 cat >>confdefs.h <<\_ACEOF
28127 #define wxUSE_LIBTIFF 1
28131 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
28132 if test "$wxUSE_LIBJPEG" = "sys
"; then
28133 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28135 if test "$wxUSE_ZLIB" = "sys
"; then
28136 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28138 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
28139 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
28140 if test "${ac_cv_header_tiffio_h+set}" = set; then
28141 echo $ECHO_N "(cached
) $ECHO_C" >&6
28143 cat >conftest.$ac_ext <<_ACEOF
28146 cat confdefs.h >>conftest.$ac_ext
28147 cat >>conftest.$ac_ext <<_ACEOF
28148 /* end confdefs.h. */
28152 #include <tiffio.h>
28154 rm -f conftest.$ac_objext
28155 if { (ac_try="$ac_compile"
28156 case "(($ac_try" in
28157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28158 *) ac_try_echo=$ac_try;;
28160 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28161 (eval "$ac_compile") 2>conftest.er1
28163 grep -v '^ *+' conftest.er1 >conftest.err
28165 cat conftest.err >&5
28166 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28167 (exit $ac_status); } && {
28168 test -z "$ac_c_werror_flag" ||
28169 test ! -s conftest.err
28170 } && test -s conftest.$ac_objext; then
28171 ac_cv_header_tiffio_h=yes
28173 echo "$as_me: failed program was
:" >&5
28174 sed 's/^/| /' conftest.$ac_ext >&5
28176 ac_cv_header_tiffio_h=no
28179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28181 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
28182 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28183 if test $ac_cv_header_tiffio_h = yes; then
28185 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
28186 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
28187 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28188 echo $ECHO_N "(cached
) $ECHO_C" >&6
28190 ac_check_lib_save_LIBS=$LIBS
28191 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28192 cat >conftest.$ac_ext <<_ACEOF
28195 cat confdefs.h >>conftest.$ac_ext
28196 cat >>conftest.$ac_ext <<_ACEOF
28197 /* end confdefs.h. */
28199 /* Override any GCC internal prototype to avoid an error.
28200 Use char because int might match the return type of a GCC
28201 builtin and then its argument prototype would still apply. */
28209 return TIFFError ();
28214 rm -f conftest.$ac_objext conftest$ac_exeext
28215 if { (ac_try="$ac_link"
28216 case "(($ac_try" in
28217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28218 *) ac_try_echo=$ac_try;;
28220 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28221 (eval "$ac_link") 2>conftest.er1
28223 grep -v '^ *+' conftest.er1 >conftest.err
28225 cat conftest.err >&5
28226 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28227 (exit $ac_status); } && {
28228 test -z "$ac_c_werror_flag" ||
28229 test ! -s conftest.err
28230 } && test -s conftest$ac_exeext &&
28231 $as_test_x conftest$ac_exeext; then
28232 ac_cv_lib_tiff_TIFFError=yes
28234 echo "$as_me: failed program was
:" >&5
28235 sed 's/^/| /' conftest.$ac_ext >&5
28237 ac_cv_lib_tiff_TIFFError=no
28240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28241 conftest$ac_exeext conftest.$ac_ext
28242 LIBS=$ac_check_lib_save_LIBS
28244 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
28245 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
28246 if test $ac_cv_lib_tiff_TIFFError = yes; then
28247 TIFF_LINK=" -ltiff"
28255 if test "x
$TIFF_LINK" = "x
" ; then
28256 if test "$wxUSE_LIBTIFF" = "sys
" ; then
28257 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
28258 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
28259 { (exit 1); exit 1; }; }
28261 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
28262 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
28263 wxUSE_LIBTIFF=builtin
28269 if test "$wxUSE_LIBTIFF" = "builtin" ; then
28270 if test "$wxUSE_LIBJPEG" = "no
"; then
28271 ac_configure_args="$ac_configure_args --disable-jpeg"
28273 subdirs="$subdirs src
/tiff
"
28279 if test "$wxUSE_WCHAR_T" != "yes"; then
28280 if test "$wxUSE_EXPAT" != "no
"; then
28281 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
28282 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
28285 if test "$wxUSE_XML" != "no
"; then
28286 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
28287 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
28292 if test "$wxUSE_EXPAT" != "no
"; then
28294 cat >>confdefs.h <<\_ACEOF
28295 #define wxUSE_EXPAT 1
28298 cat >>confdefs.h <<\_ACEOF
28299 #define wxUSE_XML 1
28303 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
28304 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
28305 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
28306 if test "${ac_cv_header_expat_h+set}" = set; then
28307 echo $ECHO_N "(cached
) $ECHO_C" >&6
28309 cat >conftest.$ac_ext <<_ACEOF
28312 cat confdefs.h >>conftest.$ac_ext
28313 cat >>conftest.$ac_ext <<_ACEOF
28314 /* end confdefs.h. */
28319 rm -f conftest.$ac_objext
28320 if { (ac_try="$ac_compile"
28321 case "(($ac_try" in
28322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28323 *) ac_try_echo=$ac_try;;
28325 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28326 (eval "$ac_compile") 2>conftest.er1
28328 grep -v '^ *+' conftest.er1 >conftest.err
28330 cat conftest.err >&5
28331 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28332 (exit $ac_status); } && {
28333 test -z "$ac_c_werror_flag" ||
28334 test ! -s conftest.err
28335 } && test -s conftest.$ac_objext; then
28336 ac_cv_header_expat_h=yes
28338 echo "$as_me: failed program was
:" >&5
28339 sed 's/^/| /' conftest.$ac_ext >&5
28341 ac_cv_header_expat_h=no
28344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28346 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
28347 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
28348 if test $ac_cv_header_expat_h = yes; then
28353 if test "x
$found_expat_h" = "x1
"; then
28354 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
28355 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
28356 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28357 echo $ECHO_N "(cached
) $ECHO_C" >&6
28361 ac_cpp='$CXXCPP $CPPFLAGS'
28362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28366 cat >conftest.$ac_ext <<_ACEOF
28369 cat confdefs.h >>conftest.$ac_ext
28370 cat >>conftest.$ac_ext <<_ACEOF
28371 /* end confdefs.h. */
28381 rm -f conftest.$ac_objext
28382 if { (ac_try="$ac_compile"
28383 case "(($ac_try" in
28384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28385 *) ac_try_echo=$ac_try;;
28387 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28388 (eval "$ac_compile") 2>conftest.er1
28390 grep -v '^ *+' conftest.er1 >conftest.err
28392 cat conftest.err >&5
28393 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28394 (exit $ac_status); } && {
28395 test -z "$ac_cxx_werror_flag" ||
28396 test ! -s conftest.err
28397 } && test -s conftest.$ac_objext; then
28398 wx_cv_expat_is_not_broken=yes
28400 echo "$as_me: failed program was
:" >&5
28401 sed 's/^/| /' conftest.$ac_ext >&5
28403 wx_cv_expat_is_not_broken=no
28407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28409 ac_cpp='$CPP $CPPFLAGS'
28410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28417 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
28418 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28419 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28420 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
28421 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
28422 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28423 echo $ECHO_N "(cached
) $ECHO_C" >&6
28425 ac_check_lib_save_LIBS=$LIBS
28426 LIBS="-lexpat $LIBS"
28427 cat >conftest.$ac_ext <<_ACEOF
28430 cat confdefs.h >>conftest.$ac_ext
28431 cat >>conftest.$ac_ext <<_ACEOF
28432 /* end confdefs.h. */
28434 /* Override any GCC internal prototype to avoid an error.
28435 Use char because int might match the return type of a GCC
28436 builtin and then its argument prototype would still apply. */
28440 char XML_ParserCreate ();
28444 return XML_ParserCreate ();
28449 rm -f conftest.$ac_objext conftest$ac_exeext
28450 if { (ac_try="$ac_link"
28451 case "(($ac_try" in
28452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28453 *) ac_try_echo=$ac_try;;
28455 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28456 (eval "$ac_link") 2>conftest.er1
28458 grep -v '^ *+' conftest.er1 >conftest.err
28460 cat conftest.err >&5
28461 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28462 (exit $ac_status); } && {
28463 test -z "$ac_c_werror_flag" ||
28464 test ! -s conftest.err
28465 } && test -s conftest$ac_exeext &&
28466 $as_test_x conftest$ac_exeext; then
28467 ac_cv_lib_expat_XML_ParserCreate=yes
28469 echo "$as_me: failed program was
:" >&5
28470 sed 's/^/| /' conftest.$ac_ext >&5
28472 ac_cv_lib_expat_XML_ParserCreate=no
28475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28476 conftest$ac_exeext conftest.$ac_ext
28477 LIBS=$ac_check_lib_save_LIBS
28479 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
28480 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28481 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28482 EXPAT_LINK=" -lexpat"
28487 if test "x
$EXPAT_LINK" = "x
" ; then
28488 if test "$wxUSE_EXPAT" = "sys
" ; then
28489 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
28490 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
28491 { (exit 1); exit 1; }; }
28493 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
28494 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
28495 wxUSE_EXPAT=builtin
28501 if test "$wxUSE_EXPAT" = "builtin" ; then
28502 subdirs="$subdirs src
/expat
"
28509 if test "$wxUSE_LIBMSPACK" != "no
"; then
28510 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
28511 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
28512 if test "${ac_cv_header_mspack_h+set}" = set; then
28513 echo $ECHO_N "(cached
) $ECHO_C" >&6
28515 cat >conftest.$ac_ext <<_ACEOF
28518 cat confdefs.h >>conftest.$ac_ext
28519 cat >>conftest.$ac_ext <<_ACEOF
28520 /* end confdefs.h. */
28523 #include <mspack.h>
28525 rm -f conftest.$ac_objext
28526 if { (ac_try="$ac_compile"
28527 case "(($ac_try" in
28528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28529 *) ac_try_echo=$ac_try;;
28531 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28532 (eval "$ac_compile") 2>conftest.er1
28534 grep -v '^ *+' conftest.er1 >conftest.err
28536 cat conftest.err >&5
28537 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28538 (exit $ac_status); } && {
28539 test -z "$ac_c_werror_flag" ||
28540 test ! -s conftest.err
28541 } && test -s conftest.$ac_objext; then
28542 ac_cv_header_mspack_h=yes
28544 echo "$as_me: failed program was
:" >&5
28545 sed 's/^/| /' conftest.$ac_ext >&5
28547 ac_cv_header_mspack_h=no
28550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28552 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
28553 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28554 if test $ac_cv_header_mspack_h = yes; then
28559 if test "x
$found_mspack_h" = "x1
"; then
28560 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
28561 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
28562 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28563 echo $ECHO_N "(cached
) $ECHO_C" >&6
28565 ac_check_lib_save_LIBS=$LIBS
28566 LIBS="-lmspack $LIBS"
28567 cat >conftest.$ac_ext <<_ACEOF
28570 cat confdefs.h >>conftest.$ac_ext
28571 cat >>conftest.$ac_ext <<_ACEOF
28572 /* end confdefs.h. */
28574 /* Override any GCC internal prototype to avoid an error.
28575 Use char because int might match the return type of a GCC
28576 builtin and then its argument prototype would still apply. */
28580 char mspack_create_chm_decompressor ();
28584 return mspack_create_chm_decompressor ();
28589 rm -f conftest.$ac_objext conftest$ac_exeext
28590 if { (ac_try="$ac_link"
28591 case "(($ac_try" in
28592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28593 *) ac_try_echo=$ac_try;;
28595 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28596 (eval "$ac_link") 2>conftest.er1
28598 grep -v '^ *+' conftest.er1 >conftest.err
28600 cat conftest.err >&5
28601 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28602 (exit $ac_status); } && {
28603 test -z "$ac_c_werror_flag" ||
28604 test ! -s conftest.err
28605 } && test -s conftest$ac_exeext &&
28606 $as_test_x conftest$ac_exeext; then
28607 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28609 echo "$as_me: failed program was
:" >&5
28610 sed 's/^/| /' conftest.$ac_ext >&5
28612 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28616 conftest$ac_exeext conftest.$ac_ext
28617 LIBS=$ac_check_lib_save_LIBS
28619 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28620 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28621 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28622 MSPACK_LINK=" -lmspack"
28626 if test "x
$MSPACK_LINK" = "x
" ; then
28631 if test "$wxUSE_LIBMSPACK" != "no
"; then
28632 cat >>confdefs.h <<\_ACEOF
28633 #define wxUSE_LIBMSPACK 1
28647 if test "$USE_WIN32" = 1 ; then
28649 for ac_header in w32api.h
28651 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
28652 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
28653 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
28654 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
28655 echo $ECHO_N "(cached
) $ECHO_C" >&6
28657 cat >conftest.$ac_ext <<_ACEOF
28660 cat confdefs.h >>conftest.$ac_ext
28661 cat >>conftest.$ac_ext <<_ACEOF
28662 /* end confdefs.h. */
28665 #include <$ac_header>
28667 rm -f conftest.$ac_objext
28668 if { (ac_try="$ac_compile"
28669 case "(($ac_try" in
28670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28671 *) ac_try_echo=$ac_try;;
28673 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28674 (eval "$ac_compile") 2>conftest.er1
28676 grep -v '^ *+' conftest.er1 >conftest.err
28678 cat conftest.err >&5
28679 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28680 (exit $ac_status); } && {
28681 test -z "$ac_c_werror_flag" ||
28682 test ! -s conftest.err
28683 } && test -s conftest.$ac_objext; then
28684 eval "$as_ac_Header=yes"
28686 echo "$as_me: failed program was
:" >&5
28687 sed 's/^/| /' conftest.$ac_ext >&5
28689 eval "$as_ac_Header=no
"
28692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28694 ac_res=`eval echo '${'$as_ac_Header'}'`
28695 { echo "$as_me:$LINENO: result
: $ac_res" >&5
28696 echo "${ECHO_T}$ac_res" >&6; }
28697 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28698 cat >>confdefs.h <<_ACEOF
28699 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
28706 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
28707 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
28708 if test "${ac_cv_header_windows_h+set}" = set; then
28709 echo $ECHO_N "(cached
) $ECHO_C" >&6
28711 cat >conftest.$ac_ext <<_ACEOF
28714 cat confdefs.h >>conftest.$ac_ext
28715 cat >>conftest.$ac_ext <<_ACEOF
28716 /* end confdefs.h. */
28719 #include <windows.h>
28721 rm -f conftest.$ac_objext
28722 if { (ac_try="$ac_compile"
28723 case "(($ac_try" in
28724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28725 *) ac_try_echo=$ac_try;;
28727 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28728 (eval "$ac_compile") 2>conftest.er1
28730 grep -v '^ *+' conftest.er1 >conftest.err
28732 cat conftest.err >&5
28733 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28734 (exit $ac_status); } && {
28735 test -z "$ac_c_werror_flag" ||
28736 test ! -s conftest.err
28737 } && test -s conftest.$ac_objext; then
28738 ac_cv_header_windows_h=yes
28740 echo "$as_me: failed program was
:" >&5
28741 sed 's/^/| /' conftest.$ac_ext >&5
28743 ac_cv_header_windows_h=no
28746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28748 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
28749 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28750 if test $ac_cv_header_windows_h = yes; then
28754 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
28755 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
28756 { (exit 1); exit 1; }; }
28763 x86_64-*-mingw32* )
28764 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28766 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64
"
28769 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28772 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28773 LIBS="$LIBS -loleacc"
28778 LIBS="$LIBS -lkernel32 -luser32"
28781 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28782 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
28784 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28786 WIN32INSTALL=win32install
28788 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
28789 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
28790 if test "${ac_cv_header_pbt_h+set}" = set; then
28791 echo $ECHO_N "(cached
) $ECHO_C" >&6
28793 cat >conftest.$ac_ext <<_ACEOF
28796 cat confdefs.h >>conftest.$ac_ext
28797 cat >>conftest.$ac_ext <<_ACEOF
28798 /* end confdefs.h. */
28803 rm -f conftest.$ac_objext
28804 if { (ac_try="$ac_compile"
28805 case "(($ac_try" in
28806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28807 *) ac_try_echo=$ac_try;;
28809 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28810 (eval "$ac_compile") 2>conftest.er1
28812 grep -v '^ *+' conftest.er1 >conftest.err
28814 cat conftest.err >&5
28815 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28816 (exit $ac_status); } && {
28817 test -z "$ac_c_werror_flag" ||
28818 test ! -s conftest.err
28819 } && test -s conftest.$ac_objext; then
28820 ac_cv_header_pbt_h=yes
28822 echo "$as_me: failed program was
:" >&5
28823 sed 's/^/| /' conftest.$ac_ext >&5
28825 ac_cv_header_pbt_h=no
28828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28830 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
28831 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28832 if test $ac_cv_header_pbt_h = yes; then
28835 cat >>confdefs.h <<\_ACEOF
28836 #define NEED_PBT_H 1
28844 if test "$wxUSE_GUI" = "yes"; then
28854 if test "$wxUSE_OLD_COCOA" = 1 ; then
28855 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28856 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
28857 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
28858 wxUSE_PRINTING_ARCHITECTURE=no
28860 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28861 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
28862 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
28863 wxUSE_DRAG_AND_DROP=no
28865 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28866 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
28867 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
28872 if test "$wxUSE_MSW" = 1 ; then
28878 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
28882 if test "$wxUSE_GTK" = 1; then
28883 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
28884 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
28886 gtk_version_cached=1
28887 if test "${wx_cv_lib_gtk+set}" = set; then
28888 echo $ECHO_N "(cached
) $ECHO_C" >&6
28891 gtk_version_cached=0
28892 { echo "$as_me:$LINENO: result
: " >&5
28893 echo "${ECHO_T}" >&6; }
28896 if test "$wxUSE_THREADS" = "yes"; then
28897 GTK_MODULES=gthread
28901 if test "x
$wxGTK_VERSION" != "x1
"
28905 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28910 # Check whether --enable-gtktest was given.
28911 if test "${enable_gtktest+set}" = set; then
28912 enableval=$enable_gtktest;
28918 pkg_config_args=gtk+-2.0
28919 for module in . $GTK_MODULES
28923 pkg_config_args="$pkg_config_args gthread
-2.0
"
28930 # Extract the first word of "pkg
-config", so it can be a program name with args.
28931 set dummy pkg-config; ac_word=$2
28932 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28933 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28934 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28935 echo $ECHO_N "(cached
) $ECHO_C" >&6
28937 case $PKG_CONFIG in
28939 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28943 for as_dir in $PATH
28946 test -z "$as_dir" && as_dir=.
28947 for ac_exec_ext in '' $ac_executable_extensions; do
28948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28949 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28950 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28957 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
28961 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28962 if test -n "$PKG_CONFIG"; then
28963 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
28964 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28966 { echo "$as_me:$LINENO: result
: no
" >&5
28967 echo "${ECHO_T}no
" >&6; }
28972 if test x$PKG_CONFIG != xno ; then
28973 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28976 echo "*** pkg
-config too old
; version
0.7 or better required.
"
28984 min_gtk_version=2.4.0
28985 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
28986 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
28988 if test x$PKG_CONFIG != xno ; then
28989 ## don't try to run the test against uninstalled libtool libs
28990 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28991 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
28995 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29002 if test x"$no_gtk" = x ; then
29003 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29004 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29005 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29006 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29007 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29008 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29009 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29010 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29011 if test "x
$enable_gtktest" = "xyes
" ; then
29012 ac_save_CFLAGS="$CFLAGS"
29013 ac_save_LIBS="$LIBS"
29014 CFLAGS="$CFLAGS $GTK_CFLAGS"
29015 LIBS="$GTK_LIBS $LIBS"
29017 if test "$cross_compiling" = yes; then
29018 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29020 cat >conftest.$ac_ext <<_ACEOF
29023 cat confdefs.h >>conftest.$ac_ext
29024 cat >>conftest.$ac_ext <<_ACEOF
29025 /* end confdefs.h. */
29027 #include <gtk/gtk.h>
29029 #include <stdlib.h>
29034 int major, minor, micro;
29037 system ("touch conf.gtktest
");
29039 /* HP/UX 9 (%@#!) writes to sscanf strings */
29040 tmp_version = g_strdup("$min_gtk_version");
29041 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29042 printf("%s
, bad version string
\n", "$min_gtk_version");
29046 if ((gtk_major_version != $gtk_config_major_version) ||
29047 (gtk_minor_version != $gtk_config_minor_version) ||
29048 (gtk_micro_version != $gtk_config_micro_version))
29050 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29051 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29052 gtk_major_version, gtk_minor_version, gtk_micro_version);
29053 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
29054 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29055 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29056 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29057 printf("*** required on your system.
\n");
29058 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
29059 printf("*** to point to the correct configuration files
\n");
29061 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29062 (gtk_minor_version != GTK_MINOR_VERSION) ||
29063 (gtk_micro_version != GTK_MICRO_VERSION))
29065 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29066 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29067 printf("*** library
(version
%d.
%d.
%d
)\n",
29068 gtk_major_version, gtk_minor_version, gtk_micro_version);
29072 if ((gtk_major_version > major) ||
29073 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29074 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29080 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29081 gtk_major_version, gtk_minor_version, gtk_micro_version);
29082 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29083 major, minor, micro);
29084 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29086 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29087 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
29088 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29089 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
29090 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
29091 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29092 printf("*** so that the correct libraries are found
at run
-time))\n");
29099 rm -f conftest$ac_exeext
29100 if { (ac_try="$ac_link"
29101 case "(($ac_try" in
29102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29103 *) ac_try_echo=$ac_try;;
29105 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29106 (eval "$ac_link") 2>&5
29108 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29109 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29110 { (case "(($ac_try" in
29111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29112 *) ac_try_echo=$ac_try;;
29114 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29115 (eval "$ac_try") 2>&5
29117 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29118 (exit $ac_status); }; }; then
29121 echo "$as_me: program exited with status
$ac_status" >&5
29122 echo "$as_me: failed program was
:" >&5
29123 sed 's/^/| /' conftest.$ac_ext >&5
29125 ( exit $ac_status )
29128 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29132 CFLAGS="$ac_save_CFLAGS"
29133 LIBS="$ac_save_LIBS"
29136 if test "x
$no_gtk" = x ; then
29137 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
29138 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
29141 { echo "$as_me:$LINENO: result
: no
" >&5
29142 echo "${ECHO_T}no
" >&6; }
29143 if test "$PKG_CONFIG" = "no
" ; then
29144 echo "*** A new enough version of pkg
-config was not found.
"
29145 echo "*** See http
://pkgconfig.sourceforge.net
"
29147 if test -f conf.gtktest ; then
29150 echo "*** Could not run GTK
+ test program
, checking why...
"
29151 ac_save_CFLAGS="$CFLAGS"
29152 ac_save_LIBS="$LIBS"
29153 CFLAGS="$CFLAGS $GTK_CFLAGS"
29154 LIBS="$LIBS $GTK_LIBS"
29155 cat >conftest.$ac_ext <<_ACEOF
29158 cat confdefs.h >>conftest.$ac_ext
29159 cat >>conftest.$ac_ext <<_ACEOF
29160 /* end confdefs.h. */
29162 #include <gtk/gtk.h>
29168 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29173 rm -f conftest.$ac_objext conftest$ac_exeext
29174 if { (ac_try="$ac_link"
29175 case "(($ac_try" in
29176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29177 *) ac_try_echo=$ac_try;;
29179 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29180 (eval "$ac_link") 2>conftest.er1
29182 grep -v '^ *+' conftest.er1 >conftest.err
29184 cat conftest.err >&5
29185 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29186 (exit $ac_status); } && {
29187 test -z "$ac_c_werror_flag" ||
29188 test ! -s conftest.err
29189 } && test -s conftest$ac_exeext &&
29190 $as_test_x conftest$ac_exeext; then
29191 echo "*** The
test program compiled
, but did not run. This usually means
"
29192 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
29193 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
29194 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29195 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29196 echo "*** is required on your system"
29198 echo "*** If you have an old version installed, it is best to remove it, although"
29199 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29201 echo "$as_me: failed program was:" >&5
29202 sed 's
/^
/| /' conftest.$ac_ext >&5
29204 echo "*** The test program failed to compile or link. See the file config.log for the"
29205 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29209 conftest$ac_exeext conftest.$ac_ext
29210 CFLAGS="$ac_save_CFLAGS"
29211 LIBS="$ac_save_LIBS"
29225 if test "$wxUSE_SHARED" != "yes"; then
29226 GTK_LIBS="$GTK_LIBS -lX11"
29231 if test -z "$wx_cv_lib_gtk"; then
29232 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29234 # Check whether --with-gtk-prefix was given.
29235 if test "${with_gtk_prefix+set}" = set; then
29236 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29238 gtk_config_prefix=""
29242 # Check whether --with-gtk-exec-prefix was given.
29243 if test "${with_gtk_exec_prefix+set}" = set; then
29244 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29246 gtk_config_exec_prefix=""
29249 # Check whether --enable-gtktest was given.
29250 if test "${enable_gtktest+set}" = set; then
29251 enableval=$enable_gtktest;
29257 for module in . $GTK_MODULES
29261 gtk_config_args="$gtk_config_args gthread"
29266 if test x$gtk_config_exec_prefix != x ; then
29267 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29268 if test x${GTK_CONFIG+set} != xset ; then
29269 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29272 if test x$gtk_config_prefix != x ; then
29273 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29274 if test x${GTK_CONFIG+set} != xset ; then
29275 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29279 # Extract the first word of "gtk-config", so it can be a program name with args.
29280 set dummy gtk-config; ac_word=$2
29281 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29283 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29284 echo $ECHO_N "(cached) $ECHO_C" >&6
29286 case $GTK_CONFIG in
29288 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29292 for as_dir in $PATH
29295 test -z "$as_dir" && as_dir=.
29296 for ac_exec_ext in '' $ac_executable_extensions; do
29297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29298 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29306 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29310 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29311 if test -n "$GTK_CONFIG"; then
29312 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29313 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29315 { echo "$as_me:$LINENO: result: no" >&5
29316 echo "${ECHO_T}no" >&6; }
29320 min_gtk_version=1.2.7
29321 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29322 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29324 if test "$GTK_CONFIG" = "no" ; then
29327 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29328 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29329 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29330 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
29331 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29332 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
29333 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29334 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
29335 if test "x$enable_gtktest" = "xyes" ; then
29336 ac_save_CFLAGS="$CFLAGS"
29337 ac_save_LIBS="$LIBS"
29338 CFLAGS="$CFLAGS $GTK_CFLAGS"
29339 LIBS="$GTK_LIBS $LIBS"
29341 if test "$cross_compiling" = yes; then
29342 echo $ac_n "cross compiling; assumed OK... $ac_c"
29344 cat >conftest.$ac_ext <<_ACEOF
29347 cat confdefs.h >>conftest.$ac_ext
29348 cat >>conftest.$ac_ext <<_ACEOF
29349 /* end confdefs.h. */
29351 #include <gtk/gtk.h>
29353 #include <stdlib.h>
29358 int major, minor, micro;
29361 system ("touch conf.gtktest");
29363 /* HP/UX 9 (%@#!) writes to sscanf strings */
29364 tmp_version = g_strdup("$min_gtk_version");
29365 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29366 printf("%s, bad version string\n", "$min_gtk_version");
29370 if ((gtk_major_version != $gtk_config_major_version) ||
29371 (gtk_minor_version != $gtk_config_minor_version) ||
29372 (gtk_micro_version != $gtk_config_micro_version))
29374 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29375 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29376 gtk_major_version, gtk_minor_version, gtk_micro_version);
29377 printf ("*** was found! If gtk-config was correct, then it is best\n");
29378 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29379 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29380 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29381 printf("*** required on your system.\n");
29382 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29383 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29384 printf("*** before re-running configure\n");
29386 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29387 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29388 (gtk_minor_version != GTK_MINOR_VERSION) ||
29389 (gtk_micro_version != GTK_MICRO_VERSION))
29391 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29392 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29393 printf("*** library (version %d.%d.%d)\n",
29394 gtk_major_version, gtk_minor_version, gtk_micro_version);
29396 #endif /* defined (GTK_MAJOR_VERSION) ... */
29399 if ((gtk_major_version > major) ||
29400 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29401 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29407 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29408 gtk_major_version, gtk_minor_version, gtk_micro_version);
29409 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29410 major, minor, micro);
29411 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29413 printf("*** If you have already installed a sufficiently new version, this error\n");
29414 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29415 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29416 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29417 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29418 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29419 printf("*** so that the correct libraries are found at run-time))\n");
29426 rm -f conftest$ac_exeext
29427 if { (ac_try="$ac_link"
29428 case "(($ac_try" in
29429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29430 *) ac_try_echo=$ac_try;;
29432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29433 (eval "$ac_link") 2>&5
29435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29436 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
29437 { (case "(($ac_try" in
29438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29439 *) ac_try_echo=$ac_try;;
29441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29442 (eval "$ac_try") 2>&5
29444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29445 (exit $ac_status); }; }; then
29448 echo "$as_me: program exited with status $ac_status" >&5
29449 echo "$as_me: failed program was:" >&5
29450 sed 's
/^
/| /' conftest.$ac_ext >&5
29452 ( exit $ac_status )
29455 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29459 CFLAGS="$ac_save_CFLAGS"
29460 LIBS="$ac_save_LIBS"
29463 if test "x$no_gtk" = x ; then
29464 { echo "$as_me:$LINENO: result: yes" >&5
29465 echo "${ECHO_T}yes" >&6; }
29466 wx_cv_lib_gtk=1.2.7
29468 { echo "$as_me:$LINENO: result: no" >&5
29469 echo "${ECHO_T}no" >&6; }
29470 if test "$GTK_CONFIG" = "no" ; then
29471 echo "*** The gtk-config script installed by GTK could not be found"
29472 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29473 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29474 echo "*** full path to gtk-config."
29476 if test -f conf.gtktest ; then
29479 echo "*** Could not run GTK test program, checking why..."
29480 CFLAGS="$CFLAGS $GTK_CFLAGS"
29481 LIBS="$LIBS $GTK_LIBS"
29482 cat >conftest.$ac_ext <<_ACEOF
29485 cat confdefs.h >>conftest.$ac_ext
29486 cat >>conftest.$ac_ext <<_ACEOF
29487 /* end confdefs.h. */
29489 #include <gtk/gtk.h>
29495 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29500 rm -f conftest.$ac_objext conftest$ac_exeext
29501 if { (ac_try="$ac_link"
29502 case "(($ac_try" in
29503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29504 *) ac_try_echo=$ac_try;;
29506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29507 (eval "$ac_link") 2>conftest.er1
29509 grep -v '^
*+' conftest.er1 >conftest.err
29511 cat conftest.err >&5
29512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29513 (exit $ac_status); } && {
29514 test -z "$ac_c_werror_flag" ||
29515 test ! -s conftest.err
29516 } && test -s conftest$ac_exeext &&
29517 $as_test_x conftest$ac_exeext; then
29518 echo "*** The test program compiled, but did not run. This usually means"
29519 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29520 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
29521 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
29522 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
29523 echo "*** is required on your system
"
29525 echo "*** If you have an old version installed
, it is best to remove it
, although
"
29526 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
29528 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
29529 echo "*** came with the system with the
command"
29531 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
29533 echo "$as_me: failed program was
:" >&5
29534 sed 's/^/| /' conftest.$ac_ext >&5
29536 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
29537 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
29538 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
29539 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
29542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29543 conftest$ac_exeext conftest.$ac_ext
29544 CFLAGS="$ac_save_CFLAGS"
29545 LIBS="$ac_save_LIBS"
29557 if test -z "$wx_cv_lib_gtk"; then
29559 # Check whether --with-gtk-prefix was given.
29560 if test "${with_gtk_prefix+set}" = set; then
29561 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29563 gtk_config_prefix=""
29567 # Check whether --with-gtk-exec-prefix was given.
29568 if test "${with_gtk_exec_prefix+set}" = set; then
29569 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29571 gtk_config_exec_prefix=""
29574 # Check whether --enable-gtktest was given.
29575 if test "${enable_gtktest+set}" = set; then
29576 enableval=$enable_gtktest;
29582 for module in . $GTK_MODULES
29586 gtk_config_args="$gtk_config_args gthread
"
29591 if test x$gtk_config_exec_prefix != x ; then
29592 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29593 if test x${GTK_CONFIG+set} != xset ; then
29594 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29597 if test x$gtk_config_prefix != x ; then
29598 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29599 if test x${GTK_CONFIG+set} != xset ; then
29600 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29604 # Extract the first word of "gtk
-config", so it can be a program name with args.
29605 set dummy gtk-config; ac_word=$2
29606 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
29607 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
29608 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29609 echo $ECHO_N "(cached
) $ECHO_C" >&6
29611 case $GTK_CONFIG in
29613 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29617 for as_dir in $PATH
29620 test -z "$as_dir" && as_dir=.
29621 for ac_exec_ext in '' $ac_executable_extensions; do
29622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29623 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29624 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29631 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
29635 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29636 if test -n "$GTK_CONFIG"; then
29637 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
29638 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29640 { echo "$as_me:$LINENO: result
: no
" >&5
29641 echo "${ECHO_T}no
" >&6; }
29645 min_gtk_version=1.2.3
29646 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
29647 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
29649 if test "$GTK_CONFIG" = "no
" ; then
29652 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29653 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29654 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29655 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29656 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29657 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29658 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29659 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29660 if test "x
$enable_gtktest" = "xyes
" ; then
29661 ac_save_CFLAGS="$CFLAGS"
29662 ac_save_LIBS="$LIBS"
29663 CFLAGS="$CFLAGS $GTK_CFLAGS"
29664 LIBS="$GTK_LIBS $LIBS"
29666 if test "$cross_compiling" = yes; then
29667 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29669 cat >conftest.$ac_ext <<_ACEOF
29672 cat confdefs.h >>conftest.$ac_ext
29673 cat >>conftest.$ac_ext <<_ACEOF
29674 /* end confdefs.h. */
29676 #include <gtk/gtk.h>
29678 #include <stdlib.h>
29683 int major, minor, micro;
29686 system ("touch conf.gtktest
");
29688 /* HP/UX 9 (%@#!) writes to sscanf strings */
29689 tmp_version = g_strdup("$min_gtk_version");
29690 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29691 printf("%s
, bad version string
\n", "$min_gtk_version");
29695 if ((gtk_major_version != $gtk_config_major_version) ||
29696 (gtk_minor_version != $gtk_config_minor_version) ||
29697 (gtk_micro_version != $gtk_config_micro_version))
29699 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29700 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29701 gtk_major_version, gtk_minor_version, gtk_micro_version);
29702 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
29703 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29704 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29705 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29706 printf("*** required on your system.
\n");
29707 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
29708 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
29709 printf("*** before re
-running configure
\n");
29711 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29712 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29713 (gtk_minor_version != GTK_MINOR_VERSION) ||
29714 (gtk_micro_version != GTK_MICRO_VERSION))
29716 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29717 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29718 printf("*** library
(version
%d.
%d.
%d
)\n",
29719 gtk_major_version, gtk_minor_version, gtk_micro_version);
29721 #endif /* defined (GTK_MAJOR_VERSION) ... */
29724 if ((gtk_major_version > major) ||
29725 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29726 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29732 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29733 gtk_major_version, gtk_minor_version, gtk_micro_version);
29734 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29735 major, minor, micro);
29736 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29738 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29739 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
29740 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29741 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
29742 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
29743 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29744 printf("*** so that the correct libraries are found
at run
-time))\n");
29751 rm -f conftest$ac_exeext
29752 if { (ac_try="$ac_link"
29753 case "(($ac_try" in
29754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29755 *) ac_try_echo=$ac_try;;
29757 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29758 (eval "$ac_link") 2>&5
29760 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29761 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29762 { (case "(($ac_try" in
29763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29764 *) ac_try_echo=$ac_try;;
29766 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29767 (eval "$ac_try") 2>&5
29769 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29770 (exit $ac_status); }; }; then
29773 echo "$as_me: program exited with status
$ac_status" >&5
29774 echo "$as_me: failed program was
:" >&5
29775 sed 's/^/| /' conftest.$ac_ext >&5
29777 ( exit $ac_status )
29780 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29784 CFLAGS="$ac_save_CFLAGS"
29785 LIBS="$ac_save_LIBS"
29788 if test "x
$no_gtk" = x ; then
29789 { echo "$as_me:$LINENO: result
: yes" >&5
29790 echo "${ECHO_T}yes" >&6; }
29791 wx_cv_lib_gtk=1.2.3
29793 { echo "$as_me:$LINENO: result
: no
" >&5
29794 echo "${ECHO_T}no
" >&6; }
29795 if test "$GTK_CONFIG" = "no
" ; then
29796 echo "*** The gtk
-config script installed by GTK could not be found
"
29797 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
29798 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
29799 echo "*** full path to gtk
-config.
"
29801 if test -f conf.gtktest ; then
29804 echo "*** Could not run GTK
test program
, checking why...
"
29805 CFLAGS="$CFLAGS $GTK_CFLAGS"
29806 LIBS="$LIBS $GTK_LIBS"
29807 cat >conftest.$ac_ext <<_ACEOF
29810 cat confdefs.h >>conftest.$ac_ext
29811 cat >>conftest.$ac_ext <<_ACEOF
29812 /* end confdefs.h. */
29814 #include <gtk/gtk.h>
29820 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29825 rm -f conftest.$ac_objext conftest$ac_exeext
29826 if { (ac_try="$ac_link"
29827 case "(($ac_try" in
29828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29829 *) ac_try_echo=$ac_try;;
29831 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29832 (eval "$ac_link") 2>conftest.er1
29834 grep -v '^ *+' conftest.er1 >conftest.err
29836 cat conftest.err >&5
29837 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29838 (exit $ac_status); } && {
29839 test -z "$ac_c_werror_flag" ||
29840 test ! -s conftest.err
29841 } && test -s conftest$ac_exeext &&
29842 $as_test_x conftest$ac_exeext; then
29843 echo "*** The
test program compiled
, but did not run. This usually means
"
29844 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
29845 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
29846 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29847 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29848 echo "*** is required on your system"
29850 echo "*** If you have an old version installed, it is best to remove it, although"
29851 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29853 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29854 echo "*** came with the system with the command"
29856 echo "*** rpm --erase --nodeps gtk gtk-devel"
29858 echo "$as_me: failed program was:" >&5
29859 sed 's
/^
/| /' conftest.$ac_ext >&5
29861 echo "*** The test program failed to compile or link. See the file config.log for the"
29862 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29863 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29864 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29868 conftest$ac_exeext conftest.$ac_ext
29869 CFLAGS="$ac_save_CFLAGS"
29870 LIBS="$ac_save_LIBS"
29885 if test -z "$wx_cv_lib_gtk"; then
29888 wx_cv_cflags_gtk=$GTK_CFLAGS
29889 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
29896 if test "$gtk_version_cached" = 1; then
29897 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29898 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29901 case "$wx_cv_lib_gtk" in
29910 *) { { echo "$as_me:$LINENO: error:
29911 The development files for GTK+ were not found. For GTK+ 2, please
29912 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29913 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29914 and that the version is 1.2.3 or above. Also check that the
29915 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29916 --libs' are in the LD_LIBRARY_PATH or equivalent.
29918 echo "$as_me: error:
29919 The development files for GTK+ were not found. For GTK+ 2, please
29920 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29921 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29922 and that the version is 1.2.3 or above. Also check that the
29923 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29924 --libs' are in the LD_LIBRARY_PATH or equivalent.
29926 { (exit 1); exit 1; }; }
29930 if test "$WXGTK2" = 1; then
29931 save_CFLAGS="$CFLAGS"
29933 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29934 LIBS="$LIBS $wx_cv_libs_gtk"
29936 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
29937 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
29938 cat >conftest.$ac_ext <<_ACEOF
29941 cat confdefs.h >>conftest.$ac_ext
29942 cat >>conftest.$ac_ext <<_ACEOF
29943 /* end confdefs.h. */
29945 #include <gtk/gtk.h>
29951 #if !GTK_CHECK_VERSION(2,18,0)
29959 rm -f conftest.$ac_objext
29960 if { (ac_try="$ac_compile"
29961 case "(($ac_try" in
29962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29963 *) ac_try_echo=$ac_try;;
29965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29966 (eval "$ac_compile") 2>conftest.er1
29968 grep -v '^
*+' conftest.er1 >conftest.err
29970 cat conftest.err >&5
29971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29972 (exit $ac_status); } && {
29973 test -z "$ac_c_werror_flag" ||
29974 test ! -s conftest.err
29975 } && test -s conftest.$ac_objext; then
29977 cat >>confdefs.h <<\_ACEOF
29978 #define __WXGTK218__ 1
29981 cat >>confdefs.h <<\_ACEOF
29982 #define __WXGTK210__ 1
29985 cat >>confdefs.h <<\_ACEOF
29986 #define __WXGTK26__ 1
29989 { echo "$as_me:$LINENO: result: yes" >&5
29990 echo "${ECHO_T}yes" >&6; }
29994 echo "$as_me: failed program was:" >&5
29995 sed 's
/^
/| /' conftest.$ac_ext >&5
29998 { echo "$as_me:$LINENO: result: no" >&5
29999 echo "${ECHO_T}no" >&6; }
30004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30006 if test "$ac_wxgtk218" = 0; then
30007 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30008 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30009 cat >conftest.$ac_ext <<_ACEOF
30012 cat confdefs.h >>conftest.$ac_ext
30013 cat >>conftest.$ac_ext <<_ACEOF
30014 /* end confdefs.h. */
30016 #include <gtk/gtk.h>
30022 #if !GTK_CHECK_VERSION(2,10,0)
30030 rm -f conftest.$ac_objext
30031 if { (ac_try="$ac_compile"
30032 case "(($ac_try" in
30033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30034 *) ac_try_echo=$ac_try;;
30036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30037 (eval "$ac_compile") 2>conftest.er1
30039 grep -v '^
*+' conftest.er1 >conftest.err
30041 cat conftest.err >&5
30042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30043 (exit $ac_status); } && {
30044 test -z "$ac_c_werror_flag" ||
30045 test ! -s conftest.err
30046 } && test -s conftest.$ac_objext; then
30048 cat >>confdefs.h <<\_ACEOF
30049 #define __WXGTK210__ 1
30052 cat >>confdefs.h <<\_ACEOF
30053 #define __WXGTK26__ 1
30056 { echo "$as_me:$LINENO: result: yes" >&5
30057 echo "${ECHO_T}yes" >&6; }
30061 echo "$as_me: failed program was:" >&5
30062 sed 's
/^
/| /' conftest.$ac_ext >&5
30065 { echo "$as_me:$LINENO: result: no" >&5
30066 echo "${ECHO_T}no" >&6; }
30071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30073 if test "$ac_wxgtk210" = 0; then
30074 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30075 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30076 cat >conftest.$ac_ext <<_ACEOF
30079 cat confdefs.h >>conftest.$ac_ext
30080 cat >>conftest.$ac_ext <<_ACEOF
30081 /* end confdefs.h. */
30083 #include <gtk/gtk.h>
30089 #if !GTK_CHECK_VERSION(2,6,0)
30097 rm -f conftest.$ac_objext
30098 if { (ac_try="$ac_compile"
30099 case "(($ac_try" in
30100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30101 *) ac_try_echo=$ac_try;;
30103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30104 (eval "$ac_compile") 2>conftest.er1
30106 grep -v '^
*+' conftest.er1 >conftest.err
30108 cat conftest.err >&5
30109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30110 (exit $ac_status); } && {
30111 test -z "$ac_c_werror_flag" ||
30112 test ! -s conftest.err
30113 } && test -s conftest.$ac_objext; then
30115 cat >>confdefs.h <<\_ACEOF
30116 #define __WXGTK26__ 1
30119 { echo "$as_me:$LINENO: result: yes" >&5
30120 echo "${ECHO_T}yes" >&6; }
30124 echo "$as_me: failed program was:" >&5
30125 sed 's
/^
/| /' conftest.$ac_ext >&5
30128 { echo "$as_me:$LINENO: result: no" >&5
30129 echo "${ECHO_T}no" >&6; }
30134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30138 CFLAGS="$save_CFLAGS"
30141 if test "$wxUSE_UNICODE" = "yes"; then
30142 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30143 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30147 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30148 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30149 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30150 echo $ECHO_N "(cached) $ECHO_C" >&6
30152 ac_check_lib_save_LIBS=$LIBS
30154 cat >conftest.$ac_ext <<_ACEOF
30157 cat confdefs.h >>conftest.$ac_ext
30158 cat >>conftest.$ac_ext <<_ACEOF
30159 /* end confdefs.h. */
30161 /* Override any GCC internal prototype to avoid an error.
30162 Use char because int might match the return type of a GCC
30163 builtin and then its argument prototype would still apply. */
30167 char gdk_im_open ();
30171 return gdk_im_open ();
30176 rm -f conftest.$ac_objext conftest$ac_exeext
30177 if { (ac_try="$ac_link"
30178 case "(($ac_try" in
30179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30180 *) ac_try_echo=$ac_try;;
30182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30183 (eval "$ac_link") 2>conftest.er1
30185 grep -v '^
*+' conftest.er1 >conftest.err
30187 cat conftest.err >&5
30188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30189 (exit $ac_status); } && {
30190 test -z "$ac_c_werror_flag" ||
30191 test ! -s conftest.err
30192 } && test -s conftest$ac_exeext &&
30193 $as_test_x conftest$ac_exeext; then
30194 ac_cv_lib_gdk_gdk_im_open=yes
30196 echo "$as_me: failed program was:" >&5
30197 sed 's
/^
/| /' conftest.$ac_ext >&5
30199 ac_cv_lib_gdk_gdk_im_open=no
30202 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30203 conftest$ac_exeext conftest.$ac_ext
30204 LIBS=$ac_check_lib_save_LIBS
30206 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30207 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30208 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30209 cat >>confdefs.h <<\_ACEOF
30216 if test "$USE_DARWIN" != 1; then
30218 for ac_func in poll
30220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30221 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30223 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30224 echo $ECHO_N "(cached) $ECHO_C" >&6
30226 cat >conftest.$ac_ext <<_ACEOF
30229 cat confdefs.h >>conftest.$ac_ext
30230 cat >>conftest.$ac_ext <<_ACEOF
30231 /* end confdefs.h. */
30232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30234 #define $ac_func innocuous_$ac_func
30236 /* System header to define __stub macros and hopefully few prototypes,
30237 which can conflict with char $ac_func (); below.
30238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30239 <limits.h> exists even on freestanding compilers. */
30242 # include <limits.h>
30244 # include <assert.h>
30249 /* Override any GCC internal prototype to avoid an error.
30250 Use char because int might match the return type of a GCC
30251 builtin and then its argument prototype would still apply. */
30256 /* The GNU C library defines this for functions which it implements
30257 to always fail with ENOSYS. Some functions are actually named
30258 something starting with __ and the normal name is an alias. */
30259 #if defined __stub_$ac_func || defined __stub___$ac_func
30266 return $ac_func ();
30271 rm -f conftest.$ac_objext conftest$ac_exeext
30272 if { (ac_try="$ac_link"
30273 case "(($ac_try" in
30274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30275 *) ac_try_echo=$ac_try;;
30277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30278 (eval "$ac_link") 2>conftest.er1
30280 grep -v '^
*+' conftest.er1 >conftest.err
30282 cat conftest.err >&5
30283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30284 (exit $ac_status); } && {
30285 test -z "$ac_c_werror_flag" ||
30286 test ! -s conftest.err
30287 } && test -s conftest$ac_exeext &&
30288 $as_test_x conftest$ac_exeext; then
30289 eval "$as_ac_var=yes"
30291 echo "$as_me: failed program was:" >&5
30292 sed 's
/^
/| /' conftest.$ac_ext >&5
30294 eval "$as_ac_var=no"
30297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30298 conftest$ac_exeext conftest.$ac_ext
30300 ac_res=`eval echo '${'$as_ac_var'}'`
30301 { echo "$as_me:$LINENO: result: $ac_res" >&5
30302 echo "${ECHO_T}$ac_res" >&6; }
30303 if test `eval echo '${'$as_ac_var'}'` = yes; then
30304 cat >>confdefs.h <<_ACEOF
30305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30314 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
30315 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30317 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
30319 AFMINSTALL=afminstall
30323 if test "$wxUSE_GPE" = "yes"; then
30324 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
30325 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
30328 for ac_dir in $SEARCH_LIB;
30330 for ac_extension in a so sl dylib dll.a; do
30331 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30332 ac_find_libraries=$ac_dir
30338 if test "$ac_find_libraries" != "" ; then
30340 if test "$ac_find_libraries" = "default location"; then
30343 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30345 if test $result = 0; then
30348 ac_path_to_link=" -L$ac_find_libraries"
30352 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30354 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30355 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30357 { echo "$as_me:$LINENO: result: not found" >&5
30358 echo "${ECHO_T}not found" >&6; }
30364 if test "$wxUSE_MGL" = 1; then
30365 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30366 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30367 if test "x$MGL_ROOT" = x ; then
30368 { echo "$as_me:$LINENO: result: not found" >&5
30369 echo "${ECHO_T}not found" >&6; }
30370 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30371 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30372 { (exit 1); exit 1; }; }
30374 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30375 echo "${ECHO_T}$MGL_ROOT" >&6; }
30378 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30379 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30382 if test "x$wxUSE_SHARED" = xyes ; then
30383 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30385 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30389 mgl_os_candidates="dos32/dj2"
30392 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30393 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30394 { (exit 1); exit 1; }; }
30400 for mgl_os_i in $mgl_os_candidates ; do
30401 if test "x$mgl_os" = x ; then
30402 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30403 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30404 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30409 if test "x$mgl_lib_type" = x ; then
30410 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30411 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30412 mgl_lib_type=release
30419 if test "x$mgl_os" = x ; then
30420 { echo "$as_me:$LINENO: result: not found" >&5
30421 echo "${ECHO_T}not found" >&6; }
30422 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30423 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30424 { (exit 1); exit 1; }; }
30426 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30427 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30429 wxUSE_UNIVERSAL="yes"
30431 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30432 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30434 AFMINSTALL=afminstall
30439 if test "$wxUSE_DFB" = 1; then
30442 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30443 if test -n "$ac_tool_prefix"; then
30444 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30445 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30446 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30448 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30449 echo $ECHO_N "(cached) $ECHO_C" >&6
30451 case $PKG_CONFIG in
30453 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30457 for as_dir in $PATH
30460 test -z "$as_dir" && as_dir=.
30461 for ac_exec_ext in '' $ac_executable_extensions; do
30462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30463 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30474 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30475 if test -n "$PKG_CONFIG"; then
30476 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30477 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30479 { echo "$as_me:$LINENO: result: no" >&5
30480 echo "${ECHO_T}no" >&6; }
30485 if test -z "$ac_cv_path_PKG_CONFIG"; then
30486 ac_pt_PKG_CONFIG=$PKG_CONFIG
30487 # Extract the first word of "pkg-config", so it can be a program name with args.
30488 set dummy pkg-config; ac_word=$2
30489 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30491 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30492 echo $ECHO_N "(cached) $ECHO_C" >&6
30494 case $ac_pt_PKG_CONFIG in
30496 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30500 for as_dir in $PATH
30503 test -z "$as_dir" && as_dir=.
30504 for ac_exec_ext in '' $ac_executable_extensions; do
30505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30506 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30517 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30518 if test -n "$ac_pt_PKG_CONFIG"; then
30519 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30520 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30522 { echo "$as_me:$LINENO: result: no" >&5
30523 echo "${ECHO_T}no" >&6; }
30526 if test "x$ac_pt_PKG_CONFIG" = x; then
30529 case $cross_compiling:$ac_tool_warned in
30531 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30532 whose name does not start with the host triplet. If you think this
30533 configuration is useful to you, please write to autoconf@gnu.org." >&5
30534 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30535 whose name does not start with the host triplet. If you think this
30536 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30537 ac_tool_warned=yes ;;
30539 PKG_CONFIG=$ac_pt_PKG_CONFIG
30542 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30546 if test -n "$PKG_CONFIG"; then
30547 _pkg_min_version=0.9.0
30548 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30549 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30550 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30551 { echo "$as_me:$LINENO: result: yes" >&5
30552 echo "${ECHO_T}yes" >&6; }
30554 { echo "$as_me:$LINENO: result: no" >&5
30555 echo "${ECHO_T}no" >&6; }
30563 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30564 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
30566 if test -n "$PKG_CONFIG"; then
30567 if test -n "$DIRECTFB_CFLAGS"; then
30568 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30570 if test -n "$PKG_CONFIG" && \
30571 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30572 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30575 (exit $ac_status); }; then
30576 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30584 if test -n "$PKG_CONFIG"; then
30585 if test -n "$DIRECTFB_LIBS"; then
30586 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30588 if test -n "$PKG_CONFIG" && \
30589 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30590 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30593 (exit $ac_status); }; then
30594 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30605 if test $pkg_failed = yes; then
30607 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30608 _pkg_short_errors_supported=yes
30610 _pkg_short_errors_supported=no
30612 if test $_pkg_short_errors_supported = yes; then
30613 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30615 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30617 # Put the nasty error message in config.log where it belongs
30618 echo "$DIRECTFB_PKG_ERRORS" >&5
30621 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30622 echo "$as_me: error: DirectFB not found." >&2;}
30623 { (exit 1); exit 1; }; }
30626 elif test $pkg_failed = untried; then
30628 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30629 echo "$as_me: error: DirectFB not found." >&2;}
30630 { (exit 1); exit 1; }; }
30634 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30635 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30636 { echo "$as_me:$LINENO: result: yes" >&5
30637 echo "${ECHO_T}yes" >&6; }
30639 wxUSE_UNIVERSAL="yes"
30640 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30641 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30648 if test "$wxUSE_MICROWIN" = 1; then
30649 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30650 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30651 if test "x$MICROWINDOWS" = x ; then
30652 { echo "$as_me:$LINENO: result: not found" >&5
30653 echo "${ECHO_T}not found" >&6; }
30654 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30655 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30656 { (exit 1); exit 1; }; }
30658 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30659 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30662 if test -f $MICROWINDOWS/lib/libmwin.a; then
30663 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
30664 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
30666 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30667 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30668 { (exit 1); exit 1; }; }
30671 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30672 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30674 wxUSE_UNIVERSAL="yes"
30676 AFMINSTALL=afminstall
30678 GUIDIST=MICROWIN_DIST
30680 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30683 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30684 { echo "$as_me:$LINENO: checking for X" >&5
30685 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30688 # Check whether --with-x was given.
30689 if test "${with_x+set}" = set; then
30693 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
30694 if test "x$with_x" = xno; then
30695 # The user explicitly disabled X.
30698 case $x_includes,$x_libraries in #(
30699 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30700 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
30701 { (exit 1); exit 1; }; };; #(
30702 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30703 echo $ECHO_N "(cached) $ECHO_C" >&6
30705 # One or both of the vars are not set, and there is no cached value.
30706 ac_x_includes=no ac_x_libraries=no
30707 rm -f -r conftest.dir
30708 if mkdir conftest.dir; then
30710 cat >Imakefile <<'_ACEOF'
30712 @echo incroot='${INCROOT}'
30714 @echo usrlibdir='${USRLIBDIR}'
30716 @echo libdir='${LIBDIR}'
30718 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30719 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30720 for ac_var in incroot usrlibdir libdir; do
30721 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
30723 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30724 for ac_extension in a so sl; do
30725 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30726 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30727 ac_im_usrlibdir=$ac_im_libdir; break
30730 # Screen out bogus values from the imake configuration. They are
30731 # bogus both because they are the default anyway, and because
30732 # using them would break gcc on systems where it needs fixed includes.
30733 case $ac_im_incroot in
30734 /usr/include) ac_x_includes= ;;
30735 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30737 case $ac_im_usrlibdir in
30738 /usr/lib | /lib) ;;
30739 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30743 rm -f -r conftest.dir
30746 # Standard set of common directories for X headers.
30747 # Check X11 before X11Rn because it is often a symlink to the current release.
30759 /usr
/local
/X
11/include
30760 /usr
/local
/X
11R
6/include
30761 /usr
/local
/X
11R
5/include
30762 /usr
/local
/X
11R
4/include
30764 /usr
/local
/include
/X11
30765 /usr
/local
/include
/X11R6
30766 /usr
/local
/include
/X11R5
30767 /usr
/local
/include
/X11R4
30771 /usr
/XFree
86/include
/X11
30775 /usr
/unsupported
/include
30776 /usr
/athena
/include
30777 /usr
/local
/x
11r
5/include
30778 /usr
/lpp
/Xamples
/include
30780 /usr
/openwin
/include
30781 /usr
/openwin
/share
/include
'
30783 if test "$ac_x_includes" = no; then
30784 # Guess where to find include files, by looking for Xlib.h.
30785 # First, try using that file with no special directory specified.
30786 cat >conftest.$ac_ext <<_ACEOF
30789 cat confdefs.h >>conftest.$ac_ext
30790 cat >>conftest.$ac_ext <<_ACEOF
30791 /* end confdefs.h. */
30792 #include <X11/Xlib.h>
30794 if { (ac_try="$ac_cpp conftest.$ac_ext"
30795 case "(($ac_try" in
30796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30797 *) ac_try_echo=$ac_try;;
30799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30800 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30802 grep -v '^
*+' conftest.er1 >conftest.err
30804 cat conftest.err >&5
30805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30806 (exit $ac_status); } >/dev/null && {
30807 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30808 test ! -s conftest.err
30810 # We can compile using X headers with no special include directory.
30813 echo "$as_me: failed program was:" >&5
30814 sed 's
/^
/| /' conftest.$ac_ext >&5
30816 for ac_dir in $ac_x_header_dirs; do
30817 if test -r "$ac_dir/X11/Xlib.h"; then
30818 ac_x_includes=$ac_dir
30824 rm -f conftest.err conftest.$ac_ext
30825 fi # $ac_x_includes = no
30827 if test "$ac_x_libraries" = no; then
30828 # Check for the libraries.
30829 # See if we find them without any special options.
30830 # Don't add to
$LIBS permanently.
30833 cat >conftest.
$ac_ext <<_ACEOF
30836 cat confdefs.h
>>conftest.
$ac_ext
30837 cat >>conftest.
$ac_ext <<_ACEOF
30838 /* end confdefs.h. */
30839 #include <X11/Xlib.h>
30848 rm -f conftest.
$ac_objext conftest
$ac_exeext
30849 if { (ac_try
="$ac_link"
30850 case "(($ac_try" in
30851 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30852 *) ac_try_echo=$ac_try;;
30854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30855 (eval "$ac_link") 2>conftest.er1
30857 grep -v '^ *+' conftest.er1 >conftest.err
30859 cat conftest.err >&5
30860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30861 (exit $ac_status); } && {
30862 test -z "$ac_c_werror_flag" ||
30863 test ! -s conftest.err
30864 } && test -s conftest$ac_exeext &&
30865 $as_test_x conftest$ac_exeext; then
30867 # We can link X programs with no special library path.
30870 echo "$as_me: failed program was:" >&5
30871 sed 's/^/| /' conftest.$ac_ext >&5
30874 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
30876 # Don't even attempt the hair of trying to link an X program!
30877 for ac_extension in a so sl; do
30878 if test -r "$ac_dir/libX11.$ac_extension"; then
30879 ac_x_libraries=$ac_dir
30886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30887 conftest$ac_exeext conftest.$ac_ext
30888 fi # $ac_x_libraries = no
30890 case $ac_x_includes,$ac_x_libraries in #(
30891 no,* | *,no | *\'*)
30892 # Didn't find X, or a directory has "'" in its name.
30893 ac_cv_have_x="have_x=no";; #(
30895 # Record where we found X for the cache.
30896 ac_cv_have_x="have_x=yes\
30897 ac_x_includes='$ac_x_includes'\
30898 ac_x_libraries='$ac_x_libraries'"
30904 eval "$ac_cv_have_x"
30907 if test "$have_x" != yes; then
30908 { echo "$as_me:$LINENO: result: $have_x" >&5
30909 echo "${ECHO_T}$have_x" >&6; }
30912 # If each of the values was on the command line, it overrides each guess.
30913 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30914 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30915 # Update the cache value to reflect the command line values.
30916 ac_cv_have_x="have_x=yes\
30917 ac_x_includes='$x_includes'\
30918 ac_x_libraries='$x_libraries'"
30919 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30920 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30923 if test "$no_x" = yes; then
30924 # Not all programs may use this symbol, but it does not hurt to define it.
30926 cat >>confdefs.h <<\_ACEOF
30927 #define X_DISPLAY_MISSING 1
30930 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30932 if test -n "$x_includes"; then
30933 X_CFLAGS="$X_CFLAGS -I$x_includes"
30936 # It would also be nice to do this for all -L options, not just this one.
30937 if test -n "$x_libraries"; then
30938 X_LIBS="$X_LIBS -L$x_libraries"
30939 # For Solaris; some versions of Sun CC require a space after -R and
30940 # others require no space. Words are not sufficient . . . .
30941 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30942 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30943 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30944 ac_xsave_c_werror_flag=$ac_c_werror_flag
30945 ac_c_werror_flag=yes
30946 cat >conftest.$ac_ext <<_ACEOF
30949 cat confdefs.h >>conftest.$ac_ext
30950 cat >>conftest.$ac_ext <<_ACEOF
30951 /* end confdefs.h. */
30961 rm -f conftest.$ac_objext conftest$ac_exeext
30962 if { (ac_try="$ac_link"
30963 case "(($ac_try" in
30964 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30965 *) ac_try_echo
=$ac_try;;
30967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30968 (eval "$ac_link") 2>conftest.er1
30970 grep -v '^ *+' conftest.er1
>conftest.err
30972 cat conftest.err
>&5
30973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30974 (exit $ac_status); } && {
30975 test -z "$ac_c_werror_flag" ||
30976 test ! -s conftest.err
30977 } && test -s conftest
$ac_exeext &&
30978 $as_test_x conftest
$ac_exeext; then
30979 { echo "$as_me:$LINENO: result: no" >&5
30980 echo "${ECHO_T}no" >&6; }
30981 X_LIBS
="$X_LIBS -R$x_libraries"
30983 echo "$as_me: failed program was:" >&5
30984 sed 's/^/| /' conftest.
$ac_ext >&5
30986 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30987 cat >conftest.
$ac_ext <<_ACEOF
30990 cat confdefs.h
>>conftest.
$ac_ext
30991 cat >>conftest.
$ac_ext <<_ACEOF
30992 /* end confdefs.h. */
31002 rm -f conftest.
$ac_objext conftest
$ac_exeext
31003 if { (ac_try
="$ac_link"
31004 case "(($ac_try" in
31005 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31006 *) ac_try_echo=$ac_try;;
31008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31009 (eval "$ac_link") 2>conftest.er1
31011 grep -v '^ *+' conftest.er1 >conftest.err
31013 cat conftest.err >&5
31014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31015 (exit $ac_status); } && {
31016 test -z "$ac_c_werror_flag" ||
31017 test ! -s conftest.err
31018 } && test -s conftest$ac_exeext &&
31019 $as_test_x conftest$ac_exeext; then
31020 { echo "$as_me:$LINENO: result: yes" >&5
31021 echo "${ECHO_T}yes" >&6; }
31022 X_LIBS="$X_LIBS -R $x_libraries"
31024 echo "$as_me: failed program was:" >&5
31025 sed 's/^/| /' conftest.$ac_ext >&5
31027 { echo "$as_me:$LINENO: result: neither works" >&5
31028 echo "${ECHO_T}neither works" >&6; }
31031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31032 conftest$ac_exeext conftest.$ac_ext
31035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31036 conftest$ac_exeext conftest.$ac_ext
31037 ac_c_werror_flag=$ac_xsave_c_werror_flag
31038 LIBS=$ac_xsave_LIBS
31041 # Check for system-dependent libraries X programs must link with.
31042 # Do this before checking for the system-independent R6 libraries
31043 # (-lICE), since we may need -lsocket or whatever for X linking.
31045 if test "$ISC" = yes; then
31046 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31048 # Martyn Johnson says this is needed for Ultrix, if the X
31049 # libraries were built with DECnet support. And Karl Berry says
31050 # the Alpha needs dnet_stub (dnet does not exist).
31051 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31052 cat >conftest.$ac_ext <<_ACEOF
31055 cat confdefs.h >>conftest.$ac_ext
31056 cat >>conftest.$ac_ext <<_ACEOF
31057 /* end confdefs.h. */
31059 /* Override any GCC internal prototype to avoid an error.
31060 Use char because int might match the return type of a GCC
31061 builtin and then its argument prototype would still apply. */
31065 char XOpenDisplay ();
31069 return XOpenDisplay ();
31074 rm -f conftest.$ac_objext conftest$ac_exeext
31075 if { (ac_try="$ac_link"
31076 case "(($ac_try" in
31077 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31078 *) ac_try_echo
=$ac_try;;
31080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31081 (eval "$ac_link") 2>conftest.er1
31083 grep -v '^ *+' conftest.er1
>conftest.err
31085 cat conftest.err
>&5
31086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31087 (exit $ac_status); } && {
31088 test -z "$ac_c_werror_flag" ||
31089 test ! -s conftest.err
31090 } && test -s conftest
$ac_exeext &&
31091 $as_test_x conftest
$ac_exeext; then
31094 echo "$as_me: failed program was:" >&5
31095 sed 's/^/| /' conftest.
$ac_ext >&5
31097 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31098 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31099 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31100 echo $ECHO_N "(cached) $ECHO_C" >&6
31102 ac_check_lib_save_LIBS
=$LIBS
31103 LIBS
="-ldnet $LIBS"
31104 cat >conftest.
$ac_ext <<_ACEOF
31107 cat confdefs.h
>>conftest.
$ac_ext
31108 cat >>conftest.
$ac_ext <<_ACEOF
31109 /* end confdefs.h. */
31111 /* Override any GCC internal prototype to avoid an error.
31112 Use char because int might match the return type of a GCC
31113 builtin and then its argument prototype would still apply. */
31121 return dnet_ntoa ();
31126 rm -f conftest.
$ac_objext conftest
$ac_exeext
31127 if { (ac_try
="$ac_link"
31128 case "(($ac_try" in
31129 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31130 *) ac_try_echo=$ac_try;;
31132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31133 (eval "$ac_link") 2>conftest.er1
31135 grep -v '^ *+' conftest.er1 >conftest.err
31137 cat conftest.err >&5
31138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31139 (exit $ac_status); } && {
31140 test -z "$ac_c_werror_flag" ||
31141 test ! -s conftest.err
31142 } && test -s conftest$ac_exeext &&
31143 $as_test_x conftest$ac_exeext; then
31144 ac_cv_lib_dnet_dnet_ntoa=yes
31146 echo "$as_me: failed program was:" >&5
31147 sed 's/^/| /' conftest.$ac_ext >&5
31149 ac_cv_lib_dnet_dnet_ntoa=no
31152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31153 conftest$ac_exeext conftest.$ac_ext
31154 LIBS=$ac_check_lib_save_LIBS
31156 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31157 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31158 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31159 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31162 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31163 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31164 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31165 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31166 echo $ECHO_N "(cached) $ECHO_C" >&6
31168 ac_check_lib_save_LIBS=$LIBS
31169 LIBS="-ldnet_stub $LIBS"
31170 cat >conftest.$ac_ext <<_ACEOF
31173 cat confdefs.h >>conftest.$ac_ext
31174 cat >>conftest.$ac_ext <<_ACEOF
31175 /* end confdefs.h. */
31177 /* Override any GCC internal prototype to avoid an error.
31178 Use char because int might match the return type of a GCC
31179 builtin and then its argument prototype would still apply. */
31187 return dnet_ntoa ();
31192 rm -f conftest.$ac_objext conftest$ac_exeext
31193 if { (ac_try="$ac_link"
31194 case "(($ac_try" in
31195 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31196 *) ac_try_echo
=$ac_try;;
31198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31199 (eval "$ac_link") 2>conftest.er1
31201 grep -v '^ *+' conftest.er1
>conftest.err
31203 cat conftest.err
>&5
31204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31205 (exit $ac_status); } && {
31206 test -z "$ac_c_werror_flag" ||
31207 test ! -s conftest.err
31208 } && test -s conftest
$ac_exeext &&
31209 $as_test_x conftest
$ac_exeext; then
31210 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
31212 echo "$as_me: failed program was:" >&5
31213 sed 's/^/| /' conftest.
$ac_ext >&5
31215 ac_cv_lib_dnet_stub_dnet_ntoa
=no
31218 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31219 conftest
$ac_exeext conftest.
$ac_ext
31220 LIBS
=$ac_check_lib_save_LIBS
31222 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31223 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31224 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31225 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
31231 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31232 conftest
$ac_exeext conftest.
$ac_ext
31233 LIBS
="$ac_xsave_LIBS"
31235 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31236 # to get the SysV transport functions.
31237 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31239 # The nsl library prevents programs from opening the X display
31240 # on Irix 5.2, according to T.E. Dickey.
31241 # The functions gethostbyname, getservbyname, and inet_addr are
31242 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31243 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31244 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31245 if test "${ac_cv_func_gethostbyname+set}" = set; then
31246 echo $ECHO_N "(cached) $ECHO_C" >&6
31248 cat >conftest.
$ac_ext <<_ACEOF
31251 cat confdefs.h
>>conftest.
$ac_ext
31252 cat >>conftest.
$ac_ext <<_ACEOF
31253 /* end confdefs.h. */
31254 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31256 #define gethostbyname innocuous_gethostbyname
31258 /* System header to define __stub macros and hopefully few prototypes,
31259 which can conflict with char gethostbyname (); below.
31260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31261 <limits.h> exists even on freestanding compilers. */
31264 # include <limits.h>
31266 # include <assert.h>
31269 #undef gethostbyname
31271 /* Override any GCC internal prototype to avoid an error.
31272 Use char because int might match the return type of a GCC
31273 builtin and then its argument prototype would still apply. */
31277 char gethostbyname ();
31278 /* The GNU C library defines this for functions which it implements
31279 to always fail with ENOSYS. Some functions are actually named
31280 something starting with __ and the normal name is an alias. */
31281 #if defined __stub_gethostbyname || defined __stub___gethostbyname
31288 return gethostbyname ();
31293 rm -f conftest.
$ac_objext conftest
$ac_exeext
31294 if { (ac_try
="$ac_link"
31295 case "(($ac_try" in
31296 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31297 *) ac_try_echo=$ac_try;;
31299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31300 (eval "$ac_link") 2>conftest.er1
31302 grep -v '^ *+' conftest.er1 >conftest.err
31304 cat conftest.err >&5
31305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31306 (exit $ac_status); } && {
31307 test -z "$ac_c_werror_flag" ||
31308 test ! -s conftest.err
31309 } && test -s conftest$ac_exeext &&
31310 $as_test_x conftest$ac_exeext; then
31311 ac_cv_func_gethostbyname=yes
31313 echo "$as_me: failed program was:" >&5
31314 sed 's/^/| /' conftest.$ac_ext >&5
31316 ac_cv_func_gethostbyname=no
31319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31320 conftest$ac_exeext conftest.$ac_ext
31322 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31323 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
31325 if test $ac_cv_func_gethostbyname = no; then
31326 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31327 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
31328 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31329 echo $ECHO_N "(cached) $ECHO_C" >&6
31331 ac_check_lib_save_LIBS=$LIBS
31333 cat >conftest.$ac_ext <<_ACEOF
31336 cat confdefs.h >>conftest.$ac_ext
31337 cat >>conftest.$ac_ext <<_ACEOF
31338 /* end confdefs.h. */
31340 /* Override any GCC internal prototype to avoid an error.
31341 Use char because int might match the return type of a GCC
31342 builtin and then its argument prototype would still apply. */
31346 char gethostbyname ();
31350 return gethostbyname ();
31355 rm -f conftest.$ac_objext conftest$ac_exeext
31356 if { (ac_try="$ac_link"
31357 case "(($ac_try" in
31358 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31359 *) ac_try_echo
=$ac_try;;
31361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31362 (eval "$ac_link") 2>conftest.er1
31364 grep -v '^ *+' conftest.er1
>conftest.err
31366 cat conftest.err
>&5
31367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31368 (exit $ac_status); } && {
31369 test -z "$ac_c_werror_flag" ||
31370 test ! -s conftest.err
31371 } && test -s conftest
$ac_exeext &&
31372 $as_test_x conftest
$ac_exeext; then
31373 ac_cv_lib_nsl_gethostbyname
=yes
31375 echo "$as_me: failed program was:" >&5
31376 sed 's/^/| /' conftest.
$ac_ext >&5
31378 ac_cv_lib_nsl_gethostbyname
=no
31381 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31382 conftest
$ac_exeext conftest.
$ac_ext
31383 LIBS
=$ac_check_lib_save_LIBS
31385 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31386 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31387 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31388 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
31391 if test $ac_cv_lib_nsl_gethostbyname = no
; then
31392 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31393 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31394 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31395 echo $ECHO_N "(cached) $ECHO_C" >&6
31397 ac_check_lib_save_LIBS
=$LIBS
31399 cat >conftest.
$ac_ext <<_ACEOF
31402 cat confdefs.h
>>conftest.
$ac_ext
31403 cat >>conftest.
$ac_ext <<_ACEOF
31404 /* end confdefs.h. */
31406 /* Override any GCC internal prototype to avoid an error.
31407 Use char because int might match the return type of a GCC
31408 builtin and then its argument prototype would still apply. */
31412 char gethostbyname ();
31416 return gethostbyname ();
31421 rm -f conftest.
$ac_objext conftest
$ac_exeext
31422 if { (ac_try
="$ac_link"
31423 case "(($ac_try" in
31424 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31425 *) ac_try_echo=$ac_try;;
31427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31428 (eval "$ac_link") 2>conftest.er1
31430 grep -v '^ *+' conftest.er1 >conftest.err
31432 cat conftest.err >&5
31433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31434 (exit $ac_status); } && {
31435 test -z "$ac_c_werror_flag" ||
31436 test ! -s conftest.err
31437 } && test -s conftest$ac_exeext &&
31438 $as_test_x conftest$ac_exeext; then
31439 ac_cv_lib_bsd_gethostbyname=yes
31441 echo "$as_me: failed program was:" >&5
31442 sed 's/^/| /' conftest.$ac_ext >&5
31444 ac_cv_lib_bsd_gethostbyname=no
31447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31448 conftest$ac_exeext conftest.$ac_ext
31449 LIBS=$ac_check_lib_save_LIBS
31451 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31452 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31453 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31454 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31460 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31461 # socket/setsockopt and other routines are undefined under SCO ODT
31462 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31463 # on later versions), says Simon Leinen: it contains gethostby*
31464 # variants that don't use the name server (or something). -lsocket
31465 # must be given before -lnsl if both are needed. We assume that
31466 # if connect needs -lnsl, so does gethostbyname.
31467 { echo "$as_me:$LINENO: checking for connect" >&5
31468 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31469 if test "${ac_cv_func_connect+set}" = set; then
31470 echo $ECHO_N "(cached) $ECHO_C" >&6
31472 cat >conftest.$ac_ext <<_ACEOF
31475 cat confdefs.h >>conftest.$ac_ext
31476 cat >>conftest.$ac_ext <<_ACEOF
31477 /* end confdefs.h. */
31478 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31480 #define connect innocuous_connect
31482 /* System header to define __stub macros and hopefully few prototypes,
31483 which can conflict with char connect (); below.
31484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31485 <limits.h> exists even on freestanding compilers. */
31488 # include <limits.h>
31490 # include <assert.h>
31495 /* Override any GCC internal prototype to avoid an error.
31496 Use char because int might match the return type of a GCC
31497 builtin and then its argument prototype would still apply. */
31502 /* The GNU C library defines this for functions which it implements
31503 to always fail with ENOSYS. Some functions are actually named
31504 something starting with __ and the normal name is an alias. */
31505 #if defined __stub_connect || defined __stub___connect
31517 rm -f conftest.$ac_objext conftest$ac_exeext
31518 if { (ac_try="$ac_link"
31519 case "(($ac_try" in
31520 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31521 *) ac_try_echo
=$ac_try;;
31523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31524 (eval "$ac_link") 2>conftest.er1
31526 grep -v '^ *+' conftest.er1
>conftest.err
31528 cat conftest.err
>&5
31529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31530 (exit $ac_status); } && {
31531 test -z "$ac_c_werror_flag" ||
31532 test ! -s conftest.err
31533 } && test -s conftest
$ac_exeext &&
31534 $as_test_x conftest
$ac_exeext; then
31535 ac_cv_func_connect
=yes
31537 echo "$as_me: failed program was:" >&5
31538 sed 's/^/| /' conftest.
$ac_ext >&5
31540 ac_cv_func_connect
=no
31543 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31544 conftest
$ac_exeext conftest.
$ac_ext
31546 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31547 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
31549 if test $ac_cv_func_connect = no
; then
31550 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31551 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
31552 if test "${ac_cv_lib_socket_connect+set}" = set; then
31553 echo $ECHO_N "(cached) $ECHO_C" >&6
31555 ac_check_lib_save_LIBS
=$LIBS
31556 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
31557 cat >conftest.
$ac_ext <<_ACEOF
31560 cat confdefs.h
>>conftest.
$ac_ext
31561 cat >>conftest.
$ac_ext <<_ACEOF
31562 /* end confdefs.h. */
31564 /* Override any GCC internal prototype to avoid an error.
31565 Use char because int might match the return type of a GCC
31566 builtin and then its argument prototype would still apply. */
31579 rm -f conftest.
$ac_objext conftest
$ac_exeext
31580 if { (ac_try
="$ac_link"
31581 case "(($ac_try" in
31582 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31583 *) ac_try_echo=$ac_try;;
31585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31586 (eval "$ac_link") 2>conftest.er1
31588 grep -v '^ *+' conftest.er1 >conftest.err
31590 cat conftest.err >&5
31591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31592 (exit $ac_status); } && {
31593 test -z "$ac_c_werror_flag" ||
31594 test ! -s conftest.err
31595 } && test -s conftest$ac_exeext &&
31596 $as_test_x conftest$ac_exeext; then
31597 ac_cv_lib_socket_connect=yes
31599 echo "$as_me: failed program was:" >&5
31600 sed 's/^/| /' conftest.$ac_ext >&5
31602 ac_cv_lib_socket_connect=no
31605 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31606 conftest$ac_exeext conftest.$ac_ext
31607 LIBS=$ac_check_lib_save_LIBS
31609 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31610 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31611 if test $ac_cv_lib_socket_connect = yes; then
31612 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31617 # Guillermo Gomez says -lposix is necessary on A/UX.
31618 { echo "$as_me:$LINENO: checking for remove" >&5
31619 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31620 if test "${ac_cv_func_remove+set}" = set; then
31621 echo $ECHO_N "(cached) $ECHO_C" >&6
31623 cat >conftest.$ac_ext <<_ACEOF
31626 cat confdefs.h >>conftest.$ac_ext
31627 cat >>conftest.$ac_ext <<_ACEOF
31628 /* end confdefs.h. */
31629 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31631 #define remove innocuous_remove
31633 /* System header to define __stub macros and hopefully few prototypes,
31634 which can conflict with char remove (); below.
31635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31636 <limits.h> exists even on freestanding compilers. */
31639 # include <limits.h>
31641 # include <assert.h>
31646 /* Override any GCC internal prototype to avoid an error.
31647 Use char because int might match the return type of a GCC
31648 builtin and then its argument prototype would still apply. */
31653 /* The GNU C library defines this for functions which it implements
31654 to always fail with ENOSYS. Some functions are actually named
31655 something starting with __ and the normal name is an alias. */
31656 #if defined __stub_remove || defined __stub___remove
31668 rm -f conftest.$ac_objext conftest$ac_exeext
31669 if { (ac_try="$ac_link"
31670 case "(($ac_try" in
31671 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31672 *) ac_try_echo
=$ac_try;;
31674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31675 (eval "$ac_link") 2>conftest.er1
31677 grep -v '^ *+' conftest.er1
>conftest.err
31679 cat conftest.err
>&5
31680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31681 (exit $ac_status); } && {
31682 test -z "$ac_c_werror_flag" ||
31683 test ! -s conftest.err
31684 } && test -s conftest
$ac_exeext &&
31685 $as_test_x conftest
$ac_exeext; then
31686 ac_cv_func_remove
=yes
31688 echo "$as_me: failed program was:" >&5
31689 sed 's/^/| /' conftest.
$ac_ext >&5
31691 ac_cv_func_remove
=no
31694 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31695 conftest
$ac_exeext conftest.
$ac_ext
31697 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31698 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31700 if test $ac_cv_func_remove = no
; then
31701 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31702 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31703 if test "${ac_cv_lib_posix_remove+set}" = set; then
31704 echo $ECHO_N "(cached) $ECHO_C" >&6
31706 ac_check_lib_save_LIBS
=$LIBS
31707 LIBS
="-lposix $LIBS"
31708 cat >conftest.
$ac_ext <<_ACEOF
31711 cat confdefs.h
>>conftest.
$ac_ext
31712 cat >>conftest.
$ac_ext <<_ACEOF
31713 /* end confdefs.h. */
31715 /* Override any GCC internal prototype to avoid an error.
31716 Use char because int might match the return type of a GCC
31717 builtin and then its argument prototype would still apply. */
31730 rm -f conftest.
$ac_objext conftest
$ac_exeext
31731 if { (ac_try
="$ac_link"
31732 case "(($ac_try" in
31733 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31734 *) ac_try_echo=$ac_try;;
31736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31737 (eval "$ac_link") 2>conftest.er1
31739 grep -v '^ *+' conftest.er1 >conftest.err
31741 cat conftest.err >&5
31742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31743 (exit $ac_status); } && {
31744 test -z "$ac_c_werror_flag" ||
31745 test ! -s conftest.err
31746 } && test -s conftest$ac_exeext &&
31747 $as_test_x conftest$ac_exeext; then
31748 ac_cv_lib_posix_remove=yes
31750 echo "$as_me: failed program was:" >&5
31751 sed 's/^/| /' conftest.$ac_ext >&5
31753 ac_cv_lib_posix_remove=no
31756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31757 conftest$ac_exeext conftest.$ac_ext
31758 LIBS=$ac_check_lib_save_LIBS
31760 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31761 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31762 if test $ac_cv_lib_posix_remove = yes; then
31763 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31768 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31769 { echo "$as_me:$LINENO: checking for shmat" >&5
31770 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31771 if test "${ac_cv_func_shmat+set}" = set; then
31772 echo $ECHO_N "(cached) $ECHO_C" >&6
31774 cat >conftest.$ac_ext <<_ACEOF
31777 cat confdefs.h >>conftest.$ac_ext
31778 cat >>conftest.$ac_ext <<_ACEOF
31779 /* end confdefs.h. */
31780 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31782 #define shmat innocuous_shmat
31784 /* System header to define __stub macros and hopefully few prototypes,
31785 which can conflict with char shmat (); below.
31786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31787 <limits.h> exists even on freestanding compilers. */
31790 # include <limits.h>
31792 # include <assert.h>
31797 /* Override any GCC internal prototype to avoid an error.
31798 Use char because int might match the return type of a GCC
31799 builtin and then its argument prototype would still apply. */
31804 /* The GNU C library defines this for functions which it implements
31805 to always fail with ENOSYS. Some functions are actually named
31806 something starting with __ and the normal name is an alias. */
31807 #if defined __stub_shmat || defined __stub___shmat
31819 rm -f conftest.$ac_objext conftest$ac_exeext
31820 if { (ac_try="$ac_link"
31821 case "(($ac_try" in
31822 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31823 *) ac_try_echo
=$ac_try;;
31825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31826 (eval "$ac_link") 2>conftest.er1
31828 grep -v '^ *+' conftest.er1
>conftest.err
31830 cat conftest.err
>&5
31831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31832 (exit $ac_status); } && {
31833 test -z "$ac_c_werror_flag" ||
31834 test ! -s conftest.err
31835 } && test -s conftest
$ac_exeext &&
31836 $as_test_x conftest
$ac_exeext; then
31837 ac_cv_func_shmat
=yes
31839 echo "$as_me: failed program was:" >&5
31840 sed 's/^/| /' conftest.
$ac_ext >&5
31842 ac_cv_func_shmat
=no
31845 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31846 conftest
$ac_exeext conftest.
$ac_ext
31848 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31849 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31851 if test $ac_cv_func_shmat = no
; then
31852 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31853 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31854 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31855 echo $ECHO_N "(cached) $ECHO_C" >&6
31857 ac_check_lib_save_LIBS
=$LIBS
31859 cat >conftest.
$ac_ext <<_ACEOF
31862 cat confdefs.h
>>conftest.
$ac_ext
31863 cat >>conftest.
$ac_ext <<_ACEOF
31864 /* end confdefs.h. */
31866 /* Override any GCC internal prototype to avoid an error.
31867 Use char because int might match the return type of a GCC
31868 builtin and then its argument prototype would still apply. */
31881 rm -f conftest.
$ac_objext conftest
$ac_exeext
31882 if { (ac_try
="$ac_link"
31883 case "(($ac_try" in
31884 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31885 *) ac_try_echo=$ac_try;;
31887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31888 (eval "$ac_link") 2>conftest.er1
31890 grep -v '^ *+' conftest.er1 >conftest.err
31892 cat conftest.err >&5
31893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31894 (exit $ac_status); } && {
31895 test -z "$ac_c_werror_flag" ||
31896 test ! -s conftest.err
31897 } && test -s conftest$ac_exeext &&
31898 $as_test_x conftest$ac_exeext; then
31899 ac_cv_lib_ipc_shmat=yes
31901 echo "$as_me: failed program was:" >&5
31902 sed 's/^/| /' conftest.$ac_ext >&5
31904 ac_cv_lib_ipc_shmat=no
31907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31908 conftest$ac_exeext conftest.$ac_ext
31909 LIBS=$ac_check_lib_save_LIBS
31911 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31912 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31913 if test $ac_cv_lib_ipc_shmat = yes; then
31914 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31920 # Check for libraries that X11R6 Xt/Xaw programs need.
31921 ac_save_LDFLAGS=$LDFLAGS
31922 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31923 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31924 # check for ICE first), but we must link in the order -lSM -lICE or
31925 # we get undefined symbols. So assume we have SM if we have ICE.
31926 # These have to be linked with before -lX11, unlike the other
31927 # libraries we check for below, so use a different variable.
31928 # John Interrante, Karl Berry
31929 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31930 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31931 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31932 echo $ECHO_N "(cached) $ECHO_C" >&6
31934 ac_check_lib_save_LIBS=$LIBS
31935 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31936 cat >conftest.$ac_ext <<_ACEOF
31939 cat confdefs.h >>conftest.$ac_ext
31940 cat >>conftest.$ac_ext <<_ACEOF
31941 /* end confdefs.h. */
31943 /* Override any GCC internal prototype to avoid an error.
31944 Use char because int might match the return type of a GCC
31945 builtin and then its argument prototype would still apply. */
31949 char IceConnectionNumber ();
31953 return IceConnectionNumber ();
31958 rm -f conftest.$ac_objext conftest$ac_exeext
31959 if { (ac_try="$ac_link"
31960 case "(($ac_try" in
31961 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31962 *) ac_try_echo
=$ac_try;;
31964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31965 (eval "$ac_link") 2>conftest.er1
31967 grep -v '^ *+' conftest.er1
>conftest.err
31969 cat conftest.err
>&5
31970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31971 (exit $ac_status); } && {
31972 test -z "$ac_c_werror_flag" ||
31973 test ! -s conftest.err
31974 } && test -s conftest
$ac_exeext &&
31975 $as_test_x conftest
$ac_exeext; then
31976 ac_cv_lib_ICE_IceConnectionNumber
=yes
31978 echo "$as_me: failed program was:" >&5
31979 sed 's/^/| /' conftest.
$ac_ext >&5
31981 ac_cv_lib_ICE_IceConnectionNumber
=no
31984 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31985 conftest
$ac_exeext conftest.
$ac_ext
31986 LIBS
=$ac_check_lib_save_LIBS
31988 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31989 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31990 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31991 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31994 LDFLAGS
=$ac_save_LDFLAGS
31999 if test "$no_x" = "yes"; then
32000 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32001 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32002 { (exit 1); exit 1; }; }
32005 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32006 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
32007 AFMINSTALL
=afminstall
32008 COMPILED_X_PROGRAM
=0
32012 if test "$wxUSE_X11" = 1; then
32013 if test "$wxUSE_NANOX" = "yes"; then
32014 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32015 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32016 if test "x$MICROWIN" = x
; then
32017 { echo "$as_me:$LINENO: result: not found" >&5
32018 echo "${ECHO_T}not found" >&6; }
32019 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32020 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32021 { (exit 1); exit 1; }; }
32023 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32024 echo "${ECHO_T}$MICROWIN" >&6; }
32025 cat >>confdefs.h
<<\_ACEOF
32026 #define wxUSE_NANOX 1
32032 if test "$wxUSE_UNICODE" = "yes"; then
32035 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32036 if test -n "$ac_tool_prefix"; then
32037 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32038 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
32039 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32041 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32042 echo $ECHO_N "(cached) $ECHO_C" >&6
32044 case $PKG_CONFIG in
32046 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
32049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32050 for as_dir
in $PATH
32053 test -z "$as_dir" && as_dir
=.
32054 for ac_exec_ext
in '' $ac_executable_extensions; do
32055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32056 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32067 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
32068 if test -n "$PKG_CONFIG"; then
32069 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32070 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32072 { echo "$as_me:$LINENO: result: no" >&5
32073 echo "${ECHO_T}no" >&6; }
32078 if test -z "$ac_cv_path_PKG_CONFIG"; then
32079 ac_pt_PKG_CONFIG
=$PKG_CONFIG
32080 # Extract the first word of "pkg-config", so it can be a program name with args.
32081 set dummy pkg
-config; ac_word
=$2
32082 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32084 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32085 echo $ECHO_N "(cached) $ECHO_C" >&6
32087 case $ac_pt_PKG_CONFIG in
32089 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32093 for as_dir
in $PATH
32096 test -z "$as_dir" && as_dir
=.
32097 for ac_exec_ext
in '' $ac_executable_extensions; do
32098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32099 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32110 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
32111 if test -n "$ac_pt_PKG_CONFIG"; then
32112 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32113 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32115 { echo "$as_me:$LINENO: result: no" >&5
32116 echo "${ECHO_T}no" >&6; }
32119 if test "x$ac_pt_PKG_CONFIG" = x
; then
32122 case $cross_compiling:$ac_tool_warned in
32124 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32125 whose name does not start with the host triplet. If you think this
32126 configuration is useful to you, please write to autoconf@gnu.org." >&5
32127 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32128 whose name does not start with the host triplet. If you think this
32129 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32130 ac_tool_warned
=yes ;;
32132 PKG_CONFIG
=$ac_pt_PKG_CONFIG
32135 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
32139 if test -n "$PKG_CONFIG"; then
32140 _pkg_min_version
=0.9.0
32141 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32142 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32143 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32144 { echo "$as_me:$LINENO: result: yes" >&5
32145 echo "${ECHO_T}yes" >&6; }
32147 { echo "$as_me:$LINENO: result: no" >&5
32148 echo "${ECHO_T}no" >&6; }
32156 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32157 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32159 if test -n "$PKG_CONFIG"; then
32160 if test -n "$PANGOX_CFLAGS"; then
32161 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
32163 if test -n "$PKG_CONFIG" && \
32164 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32165 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32168 (exit $ac_status); }; then
32169 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32177 if test -n "$PKG_CONFIG"; then
32178 if test -n "$PANGOX_LIBS"; then
32179 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
32181 if test -n "$PKG_CONFIG" && \
32182 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32183 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32186 (exit $ac_status); }; then
32187 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32198 if test $pkg_failed = yes; then
32200 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32201 _pkg_short_errors_supported
=yes
32203 _pkg_short_errors_supported
=no
32205 if test $_pkg_short_errors_supported = yes; then
32206 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32208 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32210 # Put the nasty error message in config.log where it belongs
32211 echo "$PANGOX_PKG_ERRORS" >&5
32214 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32215 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32216 { (exit 1); exit 1; }; }
32219 elif test $pkg_failed = untried
; then
32221 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32222 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32223 { (exit 1); exit 1; }; }
32227 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
32228 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
32229 { echo "$as_me:$LINENO: result: yes" >&5
32230 echo "${ECHO_T}yes" >&6; }
32232 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
32233 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
32234 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
32239 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32240 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
32242 if test -n "$PKG_CONFIG"; then
32243 if test -n "$PANGOFT2_CFLAGS"; then
32244 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
32246 if test -n "$PKG_CONFIG" && \
32247 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32248 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32251 (exit $ac_status); }; then
32252 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32260 if test -n "$PKG_CONFIG"; then
32261 if test -n "$PANGOFT2_LIBS"; then
32262 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
32264 if test -n "$PKG_CONFIG" && \
32265 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32266 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32269 (exit $ac_status); }; then
32270 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32281 if test $pkg_failed = yes; then
32283 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32284 _pkg_short_errors_supported
=yes
32286 _pkg_short_errors_supported
=no
32288 if test $_pkg_short_errors_supported = yes; then
32289 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32291 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32293 # Put the nasty error message in config.log where it belongs
32294 echo "$PANGOFT2_PKG_ERRORS" >&5
32297 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32298 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32299 wxUSE_PRINTING_ARCHITECTURE
="no"
32302 elif test $pkg_failed = untried
; then
32304 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32305 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32306 wxUSE_PRINTING_ARCHITECTURE
="no"
32310 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
32311 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
32312 { echo "$as_me:$LINENO: result: yes" >&5
32313 echo "${ECHO_T}yes" >&6; }
32315 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
32316 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
32317 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32322 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32323 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
32325 if test -n "$PKG_CONFIG"; then
32326 if test -n "$PANGOXFT_CFLAGS"; then
32327 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
32329 if test -n "$PKG_CONFIG" && \
32330 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32331 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32334 (exit $ac_status); }; then
32335 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32343 if test -n "$PKG_CONFIG"; then
32344 if test -n "$PANGOXFT_LIBS"; then
32345 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
32347 if test -n "$PKG_CONFIG" && \
32348 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32349 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32352 (exit $ac_status); }; then
32353 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32364 if test $pkg_failed = yes; then
32366 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32367 _pkg_short_errors_supported
=yes
32369 _pkg_short_errors_supported
=no
32371 if test $_pkg_short_errors_supported = yes; then
32372 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32374 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32376 # Put the nasty error message in config.log where it belongs
32377 echo "$PANGOXFT_PKG_ERRORS" >&5
32380 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32381 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32384 elif test $pkg_failed = untried
; then
32386 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32387 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32391 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
32392 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
32393 { echo "$as_me:$LINENO: result: yes" >&5
32394 echo "${ECHO_T}yes" >&6; }
32396 cat >>confdefs.h
<<\_ACEOF
32397 #define HAVE_PANGO_XFT 1
32400 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
32401 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
32402 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32406 LIBS
="$LIBS $PANGOX_LIBS"
32408 for ac_func
in pango_font_family_is_monospace
32410 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32411 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32413 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32414 echo $ECHO_N "(cached) $ECHO_C" >&6
32416 cat >conftest.
$ac_ext <<_ACEOF
32419 cat confdefs.h
>>conftest.
$ac_ext
32420 cat >>conftest.
$ac_ext <<_ACEOF
32421 /* end confdefs.h. */
32422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32424 #define $ac_func innocuous_$ac_func
32426 /* System header to define __stub macros and hopefully few prototypes,
32427 which can conflict with char $ac_func (); below.
32428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32429 <limits.h> exists even on freestanding compilers. */
32432 # include <limits.h>
32434 # include <assert.h>
32439 /* Override any GCC internal prototype to avoid an error.
32440 Use char because int might match the return type of a GCC
32441 builtin and then its argument prototype would still apply. */
32446 /* The GNU C library defines this for functions which it implements
32447 to always fail with ENOSYS. Some functions are actually named
32448 something starting with __ and the normal name is an alias. */
32449 #if defined __stub_$ac_func || defined __stub___$ac_func
32456 return $ac_func ();
32461 rm -f conftest.
$ac_objext conftest
$ac_exeext
32462 if { (ac_try
="$ac_link"
32463 case "(($ac_try" in
32464 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32465 *) ac_try_echo=$ac_try;;
32467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32468 (eval "$ac_link") 2>conftest.er1
32470 grep -v '^ *+' conftest.er1 >conftest.err
32472 cat conftest.err >&5
32473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32474 (exit $ac_status); } && {
32475 test -z "$ac_c_werror_flag" ||
32476 test ! -s conftest.err
32477 } && test -s conftest$ac_exeext &&
32478 $as_test_x conftest$ac_exeext; then
32479 eval "$as_ac_var=yes"
32481 echo "$as_me: failed program was:" >&5
32482 sed 's/^/| /' conftest.$ac_ext >&5
32484 eval "$as_ac_var=no"
32487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32488 conftest$ac_exeext conftest.$ac_ext
32490 ac_res=`eval echo '${'$as_ac_var'}'`
32491 { echo "$as_me:$LINENO: result: $ac_res" >&5
32492 echo "${ECHO_T}$ac_res" >&6; }
32493 if test `eval echo '${'$as_ac_var'}'` = yes; then
32494 cat >>confdefs.h <<_ACEOF
32495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32504 wxUSE_UNIVERSAL="yes"
32506 if test "$wxUSE_NANOX" = "yes"; then
32507 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32508 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"
32509 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32511 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32518 if test "$wxUSE_MOTIF" = 1; then
32519 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32520 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32523 for ac_dir in $SEARCH_INCLUDE /usr/include;
32525 if test -f "$ac_dir/Xm/Xm.h"; then
32526 ac_find_includes=$ac_dir
32531 if test "$ac_find_includes" != "" ; then
32532 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32533 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32535 if test "x$ac_find_includes" = "x/usr/include"; then
32536 ac_path_to_include=""
32538 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32540 if test $result = 0; then
32541 ac_path_to_include=""
32543 ac_path_to_include=" -I$ac_find_includes"
32547 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32549 save_CFLAGS=$CFLAGS
32550 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32552 cat >conftest.$ac_ext <<_ACEOF
32555 cat confdefs.h >>conftest.$ac_ext
32556 cat >>conftest.$ac_ext <<_ACEOF
32557 /* end confdefs.h. */
32566 version = xmUseVersion;
32572 rm -f conftest.$ac_objext
32573 if { (ac_try="$ac_compile"
32574 case "(($ac_try" in
32575 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32576 *) ac_try_echo
=$ac_try;;
32578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32579 (eval "$ac_compile") 2>conftest.er1
32581 grep -v '^ *+' conftest.er1
>conftest.err
32583 cat conftest.err
>&5
32584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32585 (exit $ac_status); } && {
32586 test -z "$ac_c_werror_flag" ||
32587 test ! -s conftest.err
32588 } && test -s conftest.
$ac_objext; then
32590 { echo "$as_me:$LINENO: result: found in default search path" >&5
32591 echo "${ECHO_T}found in default search path" >&6; }
32592 COMPILED_X_PROGRAM
=1
32595 echo "$as_me: failed program was:" >&5
32596 sed 's/^/| /' conftest.
$ac_ext >&5
32599 { echo "$as_me:$LINENO: result: no" >&5
32600 echo "${ECHO_T}no" >&6; }
32601 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32602 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32603 { (exit 1); exit 1; }; }
32608 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32610 CFLAGS
=$save_CFLAGS
32614 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32615 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
32618 for ac_dir
in $SEARCH_LIB;
32620 for ac_extension
in a so sl dylib dll.a
; do
32621 if test -f "$ac_dir/libXm.$ac_extension"; then
32622 ac_find_libraries
=$ac_dir
32629 if test "x$ac_find_libraries" != "x" ; then
32630 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32631 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32634 if test "$ac_find_libraries" = "default location"; then
32637 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
32639 if test $result = 0; then
32642 ac_path_to_link
=" -L$ac_find_libraries"
32646 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
32648 save_CFLAGS
=$CFLAGS
32649 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
32651 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32653 cat >conftest.
$ac_ext <<_ACEOF
32656 cat confdefs.h
>>conftest.
$ac_ext
32657 cat >>conftest.
$ac_ext <<_ACEOF
32658 /* end confdefs.h. */
32667 version = xmUseVersion;
32673 rm -f conftest.
$ac_objext conftest
$ac_exeext
32674 if { (ac_try
="$ac_link"
32675 case "(($ac_try" in
32676 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32677 *) ac_try_echo=$ac_try;;
32679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32680 (eval "$ac_link") 2>conftest.er1
32682 grep -v '^ *+' conftest.er1 >conftest.err
32684 cat conftest.err >&5
32685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32686 (exit $ac_status); } && {
32687 test -z "$ac_c_werror_flag" ||
32688 test ! -s conftest.err
32689 } && test -s conftest$ac_exeext &&
32690 $as_test_x conftest$ac_exeext; then
32692 { echo "$as_me:$LINENO: result: found in default search path" >&5
32693 echo "${ECHO_T}found in default search path" >&6; }
32694 COMPILED_X_PROGRAM=1
32697 echo "$as_me: failed program was:" >&5
32698 sed 's/^/| /' conftest.$ac_ext >&5
32701 { echo "$as_me:$LINENO: result: no" >&5
32702 echo "${ECHO_T}no" >&6; }
32703 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32704 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32705 { (exit 1); exit 1; }; }
32710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32711 conftest$ac_exeext conftest.$ac_ext
32713 CFLAGS=$save_CFLAGS
32717 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32718 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32722 for libp in "" " -lXp"; do
32723 if test "$libs_found" = 0; then
32724 for libsm_ice in "" " -lSM -lICE"; do
32725 if test "$libs_found" = 0; then
32727 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32728 save_CFLAGS=$CFLAGS
32729 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32731 cat >conftest.$ac_ext <<_ACEOF
32734 cat confdefs.h >>conftest.$ac_ext
32735 cat >>conftest.$ac_ext <<_ACEOF
32736 /* end confdefs.h. */
32739 #include <Xm/List.h>
32745 XmString string = NULL;
32748 XmListAddItem(w, string, position);
32754 rm -f conftest.$ac_objext conftest$ac_exeext
32755 if { (ac_try="$ac_link"
32756 case "(($ac_try" in
32757 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32758 *) ac_try_echo
=$ac_try;;
32760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32761 (eval "$ac_link") 2>conftest.er1
32763 grep -v '^ *+' conftest.er1
>conftest.err
32765 cat conftest.err
>&5
32766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32767 (exit $ac_status); } && {
32768 test -z "$ac_c_werror_flag" ||
32769 test ! -s conftest.err
32770 } && test -s conftest
$ac_exeext &&
32771 $as_test_x conftest
$ac_exeext; then
32774 libsm_ice_link
="$libsm_ice"
32775 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32776 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32780 echo "$as_me: failed program was:" >&5
32781 sed 's/^/| /' conftest.
$ac_ext >&5
32787 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32788 conftest
$ac_exeext conftest.
$ac_ext
32791 CFLAGS
=$save_CFLAGS
32797 if test "$libs_found" = 0; then
32798 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32799 echo "${ECHO_T}can't find the right libraries" >&6; }
32800 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32801 echo "$as_me: error: can't link a simple motif program" >&2;}
32802 { (exit 1); exit 1; }; }
32805 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32806 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32807 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32808 echo $ECHO_N "(cached) $ECHO_C" >&6
32810 ac_check_lib_save_LIBS
=$LIBS
32812 cat >conftest.
$ac_ext <<_ACEOF
32815 cat confdefs.h
>>conftest.
$ac_ext
32816 cat >>conftest.
$ac_ext <<_ACEOF
32817 /* end confdefs.h. */
32819 /* Override any GCC internal prototype to avoid an error.
32820 Use char because int might match the return type of a GCC
32821 builtin and then its argument prototype would still apply. */
32825 char SgCreateList ();
32829 return SgCreateList ();
32834 rm -f conftest.
$ac_objext conftest
$ac_exeext
32835 if { (ac_try
="$ac_link"
32836 case "(($ac_try" in
32837 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32838 *) ac_try_echo=$ac_try;;
32840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32841 (eval "$ac_link") 2>conftest.er1
32843 grep -v '^ *+' conftest.er1 >conftest.err
32845 cat conftest.err >&5
32846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32847 (exit $ac_status); } && {
32848 test -z "$ac_c_werror_flag" ||
32849 test ! -s conftest.err
32850 } && test -s conftest$ac_exeext &&
32851 $as_test_x conftest$ac_exeext; then
32852 ac_cv_lib_Sgm_SgCreateList=yes
32854 echo "$as_me: failed program was:" >&5
32855 sed 's/^/| /' conftest.$ac_ext >&5
32857 ac_cv_lib_Sgm_SgCreateList=no
32860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32861 conftest$ac_exeext conftest.$ac_ext
32862 LIBS=$ac_check_lib_save_LIBS
32864 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32865 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32866 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32867 libsgm_link=" -lSgm"
32871 save_CFLAGS=$CFLAGS
32872 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32874 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32875 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32876 if test "${wx_cv_lib_motif2+set}" = set; then
32877 echo $ECHO_N "(cached) $ECHO_C" >&6
32879 cat >conftest.$ac_ext <<_ACEOF
32882 cat confdefs.h >>conftest.$ac_ext
32883 cat >>conftest.$ac_ext <<_ACEOF
32884 /* end confdefs.h. */
32892 #if XmVersion < 2000
32900 rm -f conftest.$ac_objext
32901 if { (ac_try="$ac_compile"
32902 case "(($ac_try" in
32903 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32904 *) ac_try_echo
=$ac_try;;
32906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32907 (eval "$ac_compile") 2>conftest.er1
32909 grep -v '^ *+' conftest.er1
>conftest.err
32911 cat conftest.err
>&5
32912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32913 (exit $ac_status); } && {
32914 test -z "$ac_c_werror_flag" ||
32915 test ! -s conftest.err
32916 } && test -s conftest.
$ac_objext; then
32917 wx_cv_lib_motif2
="yes"
32919 echo "$as_me: failed program was:" >&5
32920 sed 's/^/| /' conftest.
$ac_ext >&5
32922 wx_cv_lib_motif2
="no"
32925 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32927 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32928 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32929 if test "$wx_cv_lib_motif2" = "yes"; then
32930 cat >>confdefs.h
<<\_ACEOF
32931 #define __WXMOTIF20__ 1
32935 cat >>confdefs.h
<<\_ACEOF
32936 #define __WXMOTIF20__ 0
32941 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32942 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32943 if test "${wx_cv_lib_lesstif+set}" = set; then
32944 echo $ECHO_N "(cached) $ECHO_C" >&6
32946 cat >conftest.
$ac_ext <<_ACEOF
32949 cat confdefs.h
>>conftest.
$ac_ext
32950 cat >>conftest.
$ac_ext <<_ACEOF
32951 /* end confdefs.h. */
32959 #if !defined(LesstifVersion) || LesstifVersion <= 0
32967 rm -f conftest.
$ac_objext
32968 if { (ac_try
="$ac_compile"
32969 case "(($ac_try" in
32970 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32971 *) ac_try_echo=$ac_try;;
32973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32974 (eval "$ac_compile") 2>conftest.er1
32976 grep -v '^ *+' conftest.er1 >conftest.err
32978 cat conftest.err >&5
32979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32980 (exit $ac_status); } && {
32981 test -z "$ac_c_werror_flag" ||
32982 test ! -s conftest.err
32983 } && test -s conftest.$ac_objext; then
32984 wx_cv_lib_lesstif="yes"
32986 echo "$as_me: failed program was:" >&5
32987 sed 's/^/| /' conftest.$ac_ext >&5
32989 wx_cv_lib_lesstif="no"
32992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32995 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32996 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32997 if test "$wx_cv_lib_lesstif" = "yes"; then
32998 cat >>confdefs.h <<\_ACEOF
32999 #define __WXLESSTIF__ 1
33003 cat >>confdefs.h <<\_ACEOF
33004 #define __WXLESSTIF__ 0
33009 CFLAGS=$save_CFLAGS
33011 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33016 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33017 if test "$wxUSE_LIBXPM" = "sys"; then
33018 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33019 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33022 for ac_dir in $SEARCH_LIB;
33024 for ac_extension in a so sl dylib dll.a; do
33025 if test -f "$ac_dir/libXpm.$ac_extension"; then
33026 ac_find_libraries=$ac_dir
33032 if test "$ac_find_libraries" != "" ; then
33034 if test "$ac_find_libraries" = "default location"; then
33037 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33039 if test $result = 0; then
33042 ac_path_to_link=" -L$ac_find_libraries"
33046 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33047 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33048 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33050 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33051 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33052 if test "${wx_cv_x11_xpm_h+set}" = set; then
33053 echo $ECHO_N "(cached) $ECHO_C" >&6
33056 save_CFLAGS=$CFLAGS
33057 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33059 cat >conftest.$ac_ext <<_ACEOF
33062 cat confdefs.h >>conftest.$ac_ext
33063 cat >>conftest.$ac_ext <<_ACEOF
33064 /* end confdefs.h. */
33066 #include <X11/xpm.h>
33073 version = XpmLibraryVersion();
33079 rm -f conftest.$ac_objext
33080 if { (ac_try="$ac_compile"
33081 case "(($ac_try" in
33082 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33083 *) ac_try_echo
=$ac_try;;
33085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33086 (eval "$ac_compile") 2>conftest.er1
33088 grep -v '^ *+' conftest.er1
>conftest.err
33090 cat conftest.err
>&5
33091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33092 (exit $ac_status); } && {
33093 test -z "$ac_c_werror_flag" ||
33094 test ! -s conftest.err
33095 } && test -s conftest.
$ac_objext; then
33096 wx_cv_x11_xpm_h
=yes
33098 echo "$as_me: failed program was:" >&5
33099 sed 's/^/| /' conftest.
$ac_ext >&5
33105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33107 CFLAGS
=$save_CFLAGS
33111 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33112 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33114 if test $wx_cv_x11_xpm_h = "yes"; then
33115 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
33116 cat >>confdefs.h
<<\_ACEOF
33117 #define wxHAVE_LIB_XPM 1
33121 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33122 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33128 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33129 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33130 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33131 echo $ECHO_N "(cached) $ECHO_C" >&6
33133 ac_check_lib_save_LIBS
=$LIBS
33134 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33135 cat >conftest.
$ac_ext <<_ACEOF
33138 cat confdefs.h
>>conftest.
$ac_ext
33139 cat >>conftest.
$ac_ext <<_ACEOF
33140 /* end confdefs.h. */
33142 /* Override any GCC internal prototype to avoid an error.
33143 Use char because int might match the return type of a GCC
33144 builtin and then its argument prototype would still apply. */
33148 char XShapeQueryExtension ();
33152 return XShapeQueryExtension ();
33157 rm -f conftest.
$ac_objext conftest
$ac_exeext
33158 if { (ac_try
="$ac_link"
33159 case "(($ac_try" in
33160 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33161 *) ac_try_echo=$ac_try;;
33163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33164 (eval "$ac_link") 2>conftest.er1
33166 grep -v '^ *+' conftest.er1 >conftest.err
33168 cat conftest.err >&5
33169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33170 (exit $ac_status); } && {
33171 test -z "$ac_c_werror_flag" ||
33172 test ! -s conftest.err
33173 } && test -s conftest$ac_exeext &&
33174 $as_test_x conftest$ac_exeext; then
33175 ac_cv_lib_Xext_XShapeQueryExtension=yes
33177 echo "$as_me: failed program was:" >&5
33178 sed 's/^/| /' conftest.$ac_ext >&5
33180 ac_cv_lib_Xext_XShapeQueryExtension=no
33183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33184 conftest$ac_exeext conftest.$ac_ext
33185 LIBS=$ac_check_lib_save_LIBS
33187 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33188 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33189 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33191 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33197 if test "$wxHAVE_XEXT_LIB" = 1; then
33198 save_CFLAGS="$CFLAGS"
33199 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33201 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33202 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33203 cat >conftest.$ac_ext <<_ACEOF
33206 cat confdefs.h >>conftest.$ac_ext
33207 cat >>conftest.$ac_ext <<_ACEOF
33208 /* end confdefs.h. */
33210 #include <X11/Xlib.h>
33211 #include <X11/extensions/shape.h>
33217 int dummy1, dummy2;
33218 XShapeQueryExtension((Display*)NULL,
33219 (int*)NULL, (int*)NULL);
33225 rm -f conftest.$ac_objext
33226 if { (ac_try="$ac_compile"
33227 case "(($ac_try" in
33228 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33229 *) ac_try_echo
=$ac_try;;
33231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33232 (eval "$ac_compile") 2>conftest.er1
33234 grep -v '^ *+' conftest.er1
>conftest.err
33236 cat conftest.err
>&5
33237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33238 (exit $ac_status); } && {
33239 test -z "$ac_c_werror_flag" ||
33240 test ! -s conftest.err
33241 } && test -s conftest.
$ac_objext; then
33243 cat >>confdefs.h
<<\_ACEOF
33244 #define HAVE_XSHAPE 1
33247 { echo "$as_me:$LINENO: result: found" >&5
33248 echo "${ECHO_T}found" >&6; }
33251 echo "$as_me: failed program was:" >&5
33252 sed 's/^/| /' conftest.
$ac_ext >&5
33255 { echo "$as_me:$LINENO: result: not found" >&5
33256 echo "${ECHO_T}not found" >&6; }
33260 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33261 CFLAGS
="$save_CFLAGS"
33266 if test "$wxUSE_OSX_CARBON" = 1; then
33267 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33268 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33269 if test "$GCC" = yes; then
33270 { echo "$as_me:$LINENO: result: gcc" >&5
33271 echo "${ECHO_T}gcc" >&6; }
33272 CPPFLAGS_PASCAL
="-fpascal-strings"
33273 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33274 { echo "$as_me:$LINENO: result: xlc" >&5
33275 echo "${ECHO_T}xlc" >&6; }
33276 CPPFLAGS_PASCAL
="-qmacpstr"
33278 { echo "$as_me:$LINENO: result: none" >&5
33279 echo "${ECHO_T}none" >&6; }
33282 if test "x$wxUSE_UNIX" = "xyes"; then
33283 CPPFLAGS
="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33285 CPPFLAGS
="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
33289 GUIDIST
=OSX_CARBON_DIST
33290 WXBASEPORT
="_carbon"
33292 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33295 if test "$wxUSE_OSX_COCOA" = 1; then
33297 GUIDIST
=OSX_COCOA_DIST
33299 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33302 if test "$wxUSE_OSX_IPHONE" = 1; then
33306 if test "$wxUSE_OLD_COCOA" = 1; then
33311 if test "$wxUSE_PM" = 1; then
33314 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33315 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
33316 if test "${wx_cv_spbcdata+set}" = set; then
33317 echo $ECHO_N "(cached) $ECHO_C" >&6
33320 cat >conftest.
$ac_ext <<_ACEOF
33323 cat confdefs.h
>>conftest.
$ac_ext
33324 cat >>conftest.
$ac_ext <<_ACEOF
33325 /* end confdefs.h. */
33340 rm -f conftest.
$ac_objext
33341 if { (ac_try
="$ac_compile"
33342 case "(($ac_try" in
33343 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33344 *) ac_try_echo=$ac_try;;
33346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33347 (eval "$ac_compile") 2>conftest.er1
33349 grep -v '^ *+' conftest.er1 >conftest.err
33351 cat conftest.err >&5
33352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33353 (exit $ac_status); } && {
33354 test -z "$ac_c_werror_flag" ||
33355 test ! -s conftest.err
33356 } && test -s conftest.$ac_objext; then
33359 echo "$as_me: failed program was:" >&5
33360 sed 's/^/| /' conftest.$ac_ext >&5
33366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33370 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33371 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33373 if test $wx_cv_spbcdata = "yes"; then
33374 cat >>confdefs.h <<\_ACEOF
33375 #define HAVE_SPBCDATA 1
33381 if test "$TOOLKIT" = "PM" ; then
33384 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
33387 if test "$wxUSE_UNIVERSAL" = "yes"; then
33388 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33392 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33393 DISTDIR="wx\$(TOOLKIT)"
33399 if test "$USE_WIN32" = 1 ; then
33403 GUIDIST="BASE_DIST"
33409 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33410 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
33411 wxUSE_UNICODE_UTF8=yes
33412 elif test "$USE_OS2" = 1 ; then
33413 wxUSE_UNICODE_UTF8=yes
33415 wxUSE_UNICODE_UTF8=no
33420 if test "$wxUSE_GUI" = "yes"; then
33421 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33423 for ac_header in X11/Xlib.h
33425 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33426 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33427 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33428 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33429 echo $ECHO_N "(cached) $ECHO_C" >&6
33431 cat >conftest.$ac_ext <<_ACEOF
33434 cat confdefs.h >>conftest.$ac_ext
33435 cat >>conftest.$ac_ext <<_ACEOF
33436 /* end confdefs.h. */
33439 #include <$ac_header>
33441 rm -f conftest.$ac_objext
33442 if { (ac_try="$ac_compile"
33443 case "(($ac_try" in
33444 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33445 *) ac_try_echo
=$ac_try;;
33447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33448 (eval "$ac_compile") 2>conftest.er1
33450 grep -v '^ *+' conftest.er1
>conftest.err
33452 cat conftest.err
>&5
33453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33454 (exit $ac_status); } && {
33455 test -z "$ac_c_werror_flag" ||
33456 test ! -s conftest.err
33457 } && test -s conftest.
$ac_objext; then
33458 eval "$as_ac_Header=yes"
33460 echo "$as_me: failed program was:" >&5
33461 sed 's/^/| /' conftest.
$ac_ext >&5
33463 eval "$as_ac_Header=no"
33466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33468 ac_res
=`eval echo '${'$as_ac_Header'}'`
33469 { echo "$as_me:$LINENO: result: $ac_res" >&5
33470 echo "${ECHO_T}$ac_res" >&6; }
33471 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33472 cat >>confdefs.h
<<_ACEOF
33473 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33481 for ac_header
in X
11/XKBlib.h
33483 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33484 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33486 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33487 echo $ECHO_N "(cached) $ECHO_C" >&6
33489 cat >conftest.
$ac_ext <<_ACEOF
33492 cat confdefs.h
>>conftest.
$ac_ext
33493 cat >>conftest.
$ac_ext <<_ACEOF
33494 /* end confdefs.h. */
33496 #if HAVE_X11_XLIB_H
33497 #include <X11/Xlib.h>
33501 #include <$ac_header>
33503 rm -f conftest.
$ac_objext
33504 if { (ac_try
="$ac_compile"
33505 case "(($ac_try" in
33506 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33507 *) ac_try_echo=$ac_try;;
33509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33510 (eval "$ac_compile") 2>conftest.er1
33512 grep -v '^ *+' conftest.er1 >conftest.err
33514 cat conftest.err >&5
33515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33516 (exit $ac_status); } && {
33517 test -z "$ac_c_werror_flag" ||
33518 test ! -s conftest.err
33519 } && test -s conftest.$ac_objext; then
33520 eval "$as_ac_Header=yes"
33522 echo "$as_me: failed program was:" >&5
33523 sed 's/^/| /' conftest.$ac_ext >&5
33525 eval "$as_ac_Header=no"
33528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33530 ac_res=`eval echo '${'$as_ac_Header'}'`
33531 { echo "$as_me:$LINENO: result: $ac_res" >&5
33532 echo "${ECHO_T}$ac_res" >&6; }
33533 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33534 cat >>confdefs.h <<_ACEOF
33535 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33548 if test "$wxUSE_DISPLAY" = "yes"; then
33549 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
33550 { echo "$as_me:$LINENO: checking for Xinerama" >&5
33551 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
33554 for ac_dir in $SEARCH_LIB;
33556 for ac_extension in a so sl dylib dll.a; do
33557 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33558 ac_find_libraries=$ac_dir
33564 if test "$ac_find_libraries" != "" ; then
33566 if test "$ac_find_libraries" = "default location"; then
33569 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33571 if test $result = 0; then
33574 ac_path_to_link=" -L$ac_find_libraries"
33578 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33579 LDFLAGS="$LDFLAGS $ac_path_to_link"
33582 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33583 { echo "$as_me:$LINENO: result: yes" >&5
33584 echo "${ECHO_T}yes" >&6; }
33586 { echo "$as_me:$LINENO: result: no" >&5
33587 echo "${ECHO_T}no" >&6; }
33588 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33589 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33592 elif test "$wxUSE_MSW" = 1; then
33593 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33594 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33595 if test "${ac_cv_header_ddraw_h+set}" = set; then
33596 echo $ECHO_N "(cached) $ECHO_C" >&6
33598 cat >conftest.$ac_ext <<_ACEOF
33601 cat confdefs.h >>conftest.$ac_ext
33602 cat >>conftest.$ac_ext <<_ACEOF
33603 /* end confdefs.h. */
33604 #include <windows.h>
33608 rm -f conftest.$ac_objext
33609 if { (ac_try="$ac_compile"
33610 case "(($ac_try" in
33611 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33612 *) ac_try_echo
=$ac_try;;
33614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33615 (eval "$ac_compile") 2>conftest.er1
33617 grep -v '^ *+' conftest.er1
>conftest.err
33619 cat conftest.err
>&5
33620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33621 (exit $ac_status); } && {
33622 test -z "$ac_c_werror_flag" ||
33623 test ! -s conftest.err
33624 } && test -s conftest.
$ac_objext; then
33625 ac_cv_header_ddraw_h
=yes
33627 echo "$as_me: failed program was:" >&5
33628 sed 's/^/| /' conftest.
$ac_ext >&5
33630 ac_cv_header_ddraw_h
=no
33633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33635 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33636 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33642 if test "$wxUSE_DISPLAY" = "yes"; then
33643 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
33644 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33645 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
33648 for ac_dir
in $SEARCH_LIB;
33650 for ac_extension
in a so sl dylib dll.a
; do
33651 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33652 ac_find_libraries
=$ac_dir
33658 if test "$ac_find_libraries" != "" ; then
33659 { echo "$as_me:$LINENO: result: yes" >&5
33660 echo "${ECHO_T}yes" >&6; }
33662 for ac_header
in X
11/extensions
/xf86vmode.h
33664 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33665 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33666 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33667 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33668 echo $ECHO_N "(cached) $ECHO_C" >&6
33670 cat >conftest.
$ac_ext <<_ACEOF
33673 cat confdefs.h
>>conftest.
$ac_ext
33674 cat >>conftest.
$ac_ext <<_ACEOF
33675 /* end confdefs.h. */
33677 #if HAVE_X11_XLIB_H
33678 #include <X11/Xlib.h>
33682 #include <$ac_header>
33684 rm -f conftest.
$ac_objext
33685 if { (ac_try
="$ac_compile"
33686 case "(($ac_try" in
33687 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33688 *) ac_try_echo=$ac_try;;
33690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33691 (eval "$ac_compile") 2>conftest.er1
33693 grep -v '^ *+' conftest.er1 >conftest.err
33695 cat conftest.err >&5
33696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33697 (exit $ac_status); } && {
33698 test -z "$ac_c_werror_flag" ||
33699 test ! -s conftest.err
33700 } && test -s conftest.$ac_objext; then
33701 eval "$as_ac_Header=yes"
33703 echo "$as_me: failed program was:" >&5
33704 sed 's/^/| /' conftest.$ac_ext >&5
33706 eval "$as_ac_Header=no"
33709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33711 ac_res=`eval echo '${'$as_ac_Header'}'`
33712 { echo "$as_me:$LINENO: result: $ac_res" >&5
33713 echo "${ECHO_T}$ac_res" >&6; }
33714 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33715 cat >>confdefs.h <<_ACEOF
33716 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33719 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33726 { echo "$as_me:$LINENO: result: no" >&5
33727 echo "${ECHO_T}no" >&6; }
33732 if test "$wxUSE_DETECT_SM" = "yes"; then
33733 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
33734 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33735 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33738 for ac_dir in $SEARCH_LIB;
33740 for ac_extension in a so sl dylib dll.a; do
33741 if test -f "$ac_dir/libSM.$ac_extension"; then
33742 ac_find_libraries=$ac_dir
33748 if test "$ac_find_libraries" != "" ; then
33750 if test "$ac_find_libraries" = "default location"; then
33753 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33755 if test $result = 0; then
33758 ac_path_to_link=" -L$ac_find_libraries"
33762 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33763 LDFLAGS="$LDFLAGS $ac_path_to_link"
33765 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33766 { echo "$as_me:$LINENO: result: yes" >&5
33767 echo "${ECHO_T}yes" >&6; }
33769 { echo "$as_me:$LINENO: result: no" >&5
33770 echo "${ECHO_T}no" >&6; }
33771 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33772 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33773 wxUSE_DETECT_SM="no"
33776 wxUSE_DETECT_SM="no"
33783 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33786 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
33787 OPENGL_LIBS="-framework OpenGL -framework AGL"
33788 elif test "$wxUSE_MSW" = 1; then
33789 OPENGL_LIBS="-lopengl32 -lglu32"
33790 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33792 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33793 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33796 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33798 if test -f "$ac_dir/GL/gl.h"; then
33799 ac_find_includes=$ac_dir
33804 if test "$ac_find_includes" != "" ; then
33805 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33806 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33808 if test "x$ac_find_includes" = "x/usr/include"; then
33809 ac_path_to_include=""
33811 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33813 if test $result = 0; then
33814 ac_path_to_include=""
33816 ac_path_to_include=" -I$ac_find_includes"
33820 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33822 { echo "$as_me:$LINENO: result: not found" >&5
33823 echo "${ECHO_T}not found" >&6; }
33826 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33827 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33828 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33829 echo $ECHO_N "(cached) $ECHO_C" >&6
33831 cat >conftest.$ac_ext <<_ACEOF
33834 cat confdefs.h >>conftest.$ac_ext
33835 cat >>conftest.$ac_ext <<_ACEOF
33836 /* end confdefs.h. */
33841 rm -f conftest.$ac_objext
33842 if { (ac_try="$ac_compile"
33843 case "(($ac_try" in
33844 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33845 *) ac_try_echo
=$ac_try;;
33847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33848 (eval "$ac_compile") 2>conftest.er1
33850 grep -v '^ *+' conftest.er1
>conftest.err
33852 cat conftest.err
>&5
33853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33854 (exit $ac_status); } && {
33855 test -z "$ac_c_werror_flag" ||
33856 test ! -s conftest.err
33857 } && test -s conftest.
$ac_objext; then
33858 ac_cv_header_GL_gl_h
=yes
33860 echo "$as_me: failed program was:" >&5
33861 sed 's/^/| /' conftest.
$ac_ext >&5
33863 ac_cv_header_GL_gl_h
=no
33866 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33868 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33869 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33870 if test $ac_cv_header_GL_gl_h = yes; then
33872 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33873 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33874 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33875 echo $ECHO_N "(cached) $ECHO_C" >&6
33877 cat >conftest.
$ac_ext <<_ACEOF
33880 cat confdefs.h
>>conftest.
$ac_ext
33881 cat >>conftest.
$ac_ext <<_ACEOF
33882 /* end confdefs.h. */
33885 #include <GL/glu.h>
33887 rm -f conftest.
$ac_objext
33888 if { (ac_try
="$ac_compile"
33889 case "(($ac_try" in
33890 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33891 *) ac_try_echo=$ac_try;;
33893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33894 (eval "$ac_compile") 2>conftest.er1
33896 grep -v '^ *+' conftest.er1 >conftest.err
33898 cat conftest.err >&5
33899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33900 (exit $ac_status); } && {
33901 test -z "$ac_c_werror_flag" ||
33902 test ! -s conftest.err
33903 } && test -s conftest.$ac_objext; then
33904 ac_cv_header_GL_glu_h=yes
33906 echo "$as_me: failed program was:" >&5
33907 sed 's/^/| /' conftest.$ac_ext >&5
33909 ac_cv_header_GL_glu_h=no
33912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33914 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33915 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33916 if test $ac_cv_header_GL_glu_h = yes; then
33920 { echo "$as_me:$LINENO: checking for -lGL" >&5
33921 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33924 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33926 for ac_extension in a so sl dylib dll.a; do
33927 if test -f "$ac_dir/libGL.$ac_extension"; then
33928 ac_find_libraries=$ac_dir
33934 if test "$ac_find_libraries" != "" ; then
33935 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33936 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33939 if test "$ac_find_libraries" = "default location"; then
33942 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33944 if test $result = 0; then
33947 ac_path_to_link=" -L$ac_find_libraries"
33951 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33952 LDFLAGS_GL="$ac_path_to_link"
33955 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33956 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33959 for ac_dir in $SEARCH_LIB;
33961 for ac_extension in a so sl dylib dll.a; do
33962 if test -f "$ac_dir/libGLU.$ac_extension"; then
33963 ac_find_libraries=$ac_dir
33969 if test "$ac_find_libraries" != "" ; then
33971 if test "$ac_find_libraries" = "default location"; then
33974 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33976 if test $result = 0; then
33979 ac_path_to_link=" -L$ac_find_libraries"
33983 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33984 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33985 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33989 OPENGL_LIBS="-lGL -lGLU"
33990 { echo "$as_me:$LINENO: result: yes" >&5
33991 echo "${ECHO_T}yes" >&6; }
33993 { echo "$as_me:$LINENO: result: no" >&5
33994 echo "${ECHO_T}no" >&6; }
33997 { echo "$as_me:$LINENO: result: no" >&5
33998 echo "${ECHO_T}no" >&6; }
34001 if test "$found_gl" != 1; then
34002 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34003 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34006 for ac_dir in $SEARCH_LIB;
34008 for ac_extension in a so sl dylib dll.a; do
34009 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34010 ac_find_libraries=$ac_dir
34016 if test "$ac_find_libraries" != "" ; then
34018 if test "$ac_find_libraries" = "default location"; then
34021 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34023 if test $result = 0; then
34026 ac_path_to_link=" -L$ac_find_libraries"
34030 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34031 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34032 { echo "$as_me:$LINENO: result: yes" >&5
34033 echo "${ECHO_T}yes" >&6; }
34035 { echo "$as_me:$LINENO: result: no" >&5
34036 echo "${ECHO_T}no" >&6; }
34048 if test "x$OPENGL_LIBS" = "x"; then
34049 if test "$wxUSE_OPENGL" = "yes"; then
34050 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34051 echo "$as_me: error: OpenGL libraries not available" >&2;}
34052 { (exit 1); exit 1; }; }
34054 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34055 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34061 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34062 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34066 if test "$wxUSE_OPENGL" = "auto"; then
34070 if test "$wxUSE_OPENGL" = "yes"; then
34072 cat >>confdefs.h <<\_ACEOF
34073 #define wxUSE_OPENGL 1
34076 cat >>confdefs.h <<\_ACEOF
34077 #define wxUSE_GLCANVAS 1
34080 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34085 if test -n "$TOOLKIT" ; then
34086 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34091 if test "$wxUSE_SHARED" = "yes"; then
34095 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34096 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34101 if test "$wxUSE_SHARED" = "yes"; then
34105 *-*-cygwin* | *-*-mingw* )
34106 wx_cv_version_script=no
34110 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34111 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34112 if test "${wx_cv_version_script+set}" = set; then
34113 echo $ECHO_N "(cached) $ECHO_C" >&6
34116 echo "VER_1 { *; };" >conftest.sym
34117 echo "int main() { return 0; }" >conftest.cpp
34120 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34121 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34123 (eval $ac_try) 2>&5
34125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34126 (exit $ac_status); }; } ; then
34127 if test -s conftest.stderr ; then
34128 wx_cv_version_script=no
34130 wx_cv_version_script=yes
34133 wx_cv_version_script=no
34136 if test $wx_cv_version_script = yes
34138 echo "struct B { virtual ~B() { } }; \
34139 struct D : public B { }; \
34140 void F() { D d; }" > conftest.cpp
34143 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34144 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34146 (eval $ac_try) 2>&5
34148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34149 (exit $ac_status); }; } &&
34151 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34152 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34154 (eval $ac_try) 2>&5
34156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34157 (exit $ac_status); }; }
34160 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34161 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34163 (eval $ac_try) 2>&5
34165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34166 (exit $ac_status); }; }
34168 wx_cv_version_script=yes
34170 wx_cv_version_script=no
34175 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34176 rm -f conftest1.output conftest2.output conftest3.output
34179 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34180 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34182 if test $wx_cv_version_script = yes ; then
34183 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34189 if test "$wxUSE_VISIBILITY" != "no"; then
34192 if test -n "$GCC"; then
34193 CFLAGS_VISIBILITY="-fvisibility=hidden"
34194 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34195 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34196 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
34197 if test "${wx_cv_cc_visibility+set}" = set; then
34198 echo $ECHO_N "(cached) $ECHO_C" >&6
34201 wx_save_CXXFLAGS="$CXXFLAGS"
34202 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34204 ac_cpp='$CXXCPP $CPPFLAGS'
34205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34209 cat >conftest.$ac_ext <<_ACEOF
34212 cat confdefs.h >>conftest.$ac_ext
34213 cat >>conftest.$ac_ext <<_ACEOF
34214 /* end confdefs.h. */
34216 /* we need gcc >= 4.0, older versions with visibility support
34217 didn't have class visibility: */
34218 #if defined(__GNUC__) && __GNUC__ < 4
34219 error this gcc is too old;
34222 /* visibility only makes sense for ELF shared libs: */
34223 #if !defined(__ELF__) && !defined(__APPLE__)
34224 error this platform has no visibility;
34227 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34228 extern __attribute__((__visibility__("default"))) int exportedvar;
34229 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34230 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34231 class __attribute__((__visibility__("default"))) Foo {
34243 rm -f conftest.$ac_objext
34244 if { (ac_try="$ac_compile"
34245 case "(($ac_try" in
34246 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34247 *) ac_try_echo
=$ac_try;;
34249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34250 (eval "$ac_compile") 2>conftest.er1
34252 grep -v '^ *+' conftest.er1
>conftest.err
34254 cat conftest.err
>&5
34255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34256 (exit $ac_status); } && {
34257 test -z "$ac_cxx_werror_flag" ||
34258 test ! -s conftest.err
34259 } && test -s conftest.
$ac_objext; then
34260 wx_cv_cc_visibility
=yes
34262 echo "$as_me: failed program was:" >&5
34263 sed 's/^/| /' conftest.
$ac_ext >&5
34265 wx_cv_cc_visibility
=no
34268 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34270 ac_cpp
='$CPP $CPPFLAGS'
34271 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34272 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34273 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34275 CXXFLAGS
="$wx_save_CXXFLAGS"
34278 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
34279 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
34280 if test $wx_cv_cc_visibility = yes; then
34281 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
34282 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
34283 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
34284 echo $ECHO_N "(cached) $ECHO_C" >&6
34287 wx_save_CXXFLAGS
="$CXXFLAGS"
34288 wx_save_LDFLAGS
="$LDFLAGS"
34289 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34290 LDFLAGS
="$LDFLAGS -shared -fPIC"
34292 ac_cpp
='$CXXCPP $CPPFLAGS'
34293 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34294 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34295 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34297 cat >conftest.
$ac_ext <<_ACEOF
34300 cat confdefs.h
>>conftest.
$ac_ext
34301 cat >>conftest.
$ac_ext <<_ACEOF
34302 /* end confdefs.h. */
34310 std::string s("hello");
34317 rm -f conftest.
$ac_objext conftest
$ac_exeext
34318 if { (ac_try
="$ac_link"
34319 case "(($ac_try" in
34320 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34321 *) ac_try_echo=$ac_try;;
34323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34324 (eval "$ac_link") 2>conftest.er1
34326 grep -v '^ *+' conftest.er1 >conftest.err
34328 cat conftest.err >&5
34329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34330 (exit $ac_status); } && {
34331 test -z "$ac_cxx_werror_flag" ||
34332 test ! -s conftest.err
34333 } && test -s conftest$ac_exeext &&
34334 $as_test_x conftest$ac_exeext; then
34335 wx_cv_cc_broken_libstdcxx_visibility=no
34337 echo "$as_me: failed program was:" >&5
34338 sed 's/^/| /' conftest.$ac_ext >&5
34340 wx_cv_cc_broken_libstdcxx_visibility=yes
34343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34344 conftest$ac_exeext conftest.$ac_ext
34346 ac_cpp='$CPP $CPPFLAGS'
34347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34351 CXXFLAGS="$wx_save_CXXFLAGS"
34352 LDFLAGS="$wx_save_LDFLAGS"
34355 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
34356 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
34358 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34359 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
34360 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
34361 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
34362 echo $ECHO_N "(cached) $ECHO_C" >&6
34366 ac_cpp='$CXXCPP $CPPFLAGS'
34367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34371 cat >conftest.$ac_ext <<_ACEOF
34374 cat confdefs.h >>conftest.$ac_ext
34375 cat >>conftest.$ac_ext <<_ACEOF
34376 /* end confdefs.h. */
34378 #pragma GCC visibility push(default)
34380 #pragma GCC visibility pop
34386 std::string s("hello");
34393 rm -f conftest.$ac_objext conftest$ac_exeext
34394 if { (ac_try="$ac_link"
34395 case "(($ac_try" in
34396 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34397 *) ac_try_echo
=$ac_try;;
34399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34400 (eval "$ac_link") 2>conftest.er1
34402 grep -v '^ *+' conftest.er1
>conftest.err
34404 cat conftest.err
>&5
34405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34406 (exit $ac_status); } && {
34407 test -z "$ac_cxx_werror_flag" ||
34408 test ! -s conftest.err
34409 } && test -s conftest
$ac_exeext &&
34410 $as_test_x conftest
$ac_exeext; then
34411 wx_cv_cc_visibility_workaround
=no
34413 echo "$as_me: failed program was:" >&5
34414 sed 's/^/| /' conftest.
$ac_ext >&5
34416 wx_cv_cc_visibility_workaround
=yes
34419 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34420 conftest
$ac_exeext conftest.
$ac_ext
34422 ac_cpp
='$CPP $CPPFLAGS'
34423 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34424 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34425 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34430 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
34431 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
34433 if test $wx_cv_cc_visibility_workaround = no
; then
34434 wx_cv_cc_visibility
=no
34439 if test $wx_cv_cc_visibility = yes; then
34440 cat >>confdefs.h
<<\_ACEOF
34441 #define HAVE_VISIBILITY 1
34444 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34445 cat >>confdefs.h
<<\_ACEOF
34446 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
34451 CFLAGS_VISIBILITY
=""
34452 CXXFLAGS_VISIBILITY
=""
34460 if test "x$SUNCXX" = xyes
; then
34461 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
34462 WXCONFIG_RPATH
="-R\$libdir"
34465 *-*-linux* | *-*-gnu* )
34466 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
34467 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
34472 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
34474 saveLdflags
="$LDFLAGS"
34475 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
34476 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34477 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
34478 cat >conftest.
$ac_ext <<_ACEOF
34481 cat confdefs.h
>>conftest.
$ac_ext
34482 cat >>conftest.
$ac_ext <<_ACEOF
34483 /* end confdefs.h. */
34493 rm -f conftest.
$ac_objext conftest
$ac_exeext
34494 if { (ac_try
="$ac_link"
34495 case "(($ac_try" in
34496 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34497 *) ac_try_echo=$ac_try;;
34499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34500 (eval "$ac_link") 2>conftest.er1
34502 grep -v '^ *+' conftest.er1 >conftest.err
34504 cat conftest.err >&5
34505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34506 (exit $ac_status); } && {
34507 test -z "$ac_c_werror_flag" ||
34508 test ! -s conftest.err
34509 } && test -s conftest$ac_exeext &&
34510 $as_test_x conftest$ac_exeext; then
34512 { echo "$as_me:$LINENO: result: yes" >&5
34513 echo "${ECHO_T}yes" >&6; }
34514 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34515 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34518 echo "$as_me: failed program was:" >&5
34519 sed 's/^/| /' conftest.$ac_ext >&5
34522 { echo "$as_me:$LINENO: result: no" >&5
34523 echo "${ECHO_T}no" >&6; }
34524 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34525 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
34526 LDFLAGS="$saveLdflags -Wl,-R,/"
34527 cat >conftest.$ac_ext <<_ACEOF
34530 cat confdefs.h >>conftest.$ac_ext
34531 cat >>conftest.$ac_ext <<_ACEOF
34532 /* end confdefs.h. */
34542 rm -f conftest.$ac_objext conftest$ac_exeext
34543 if { (ac_try="$ac_link"
34544 case "(($ac_try" in
34545 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34546 *) ac_try_echo
=$ac_try;;
34548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34549 (eval "$ac_link") 2>conftest.er1
34551 grep -v '^ *+' conftest.er1
>conftest.err
34553 cat conftest.err
>&5
34554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34555 (exit $ac_status); } && {
34556 test -z "$ac_c_werror_flag" ||
34557 test ! -s conftest.err
34558 } && test -s conftest
$ac_exeext &&
34559 $as_test_x conftest
$ac_exeext; then
34561 { echo "$as_me:$LINENO: result: yes" >&5
34562 echo "${ECHO_T}yes" >&6; }
34563 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
34564 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
34567 echo "$as_me: failed program was:" >&5
34568 sed 's/^/| /' conftest.
$ac_ext >&5
34571 { echo "$as_me:$LINENO: result: no" >&5
34572 echo "${ECHO_T}no" >&6; }
34576 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34577 conftest
$ac_exeext conftest.
$ac_ext
34581 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34582 conftest
$ac_exeext conftest.
$ac_ext
34583 LDFLAGS
="$saveLdflags"
34587 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
34588 if test "$install_name_tool" -a -x "$install_name_tool"; then
34589 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
34590 cat <<EOF >change-install-names
34592 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34593 for i in \${libnames} ; do
34594 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
34595 for dep in \${libnames} ; do
34596 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
34600 chmod +x change
-install-names
34601 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
34604 HEADER_PAD_OPTION
="-headerpad_max_install_names"
34607 *-*-cygwin* | *-*-mingw32* )
34611 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
34612 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
34618 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34620 if test $wxUSE_RPATH = "no"; then
34621 SAMPLES_RPATH_FLAG
=''
34622 DYLIB_PATH_POSTLINK
=''
34630 config_linkage_component
="-static"
34637 lib_unicode_suffix
=
34639 if test "$wxUSE_UNICODE" = "yes"; then
34640 lib_unicode_suffix
=u
34641 WX_CHARTYPE
="unicode"
34645 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
34646 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
34649 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34653 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34655 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34657 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34660 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34661 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34663 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34665 if test "${TOOLKIT_DIR}" = "os2"; then
34666 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34668 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34673 if test "$wxUSE_OLD_COCOA" = 1; then
34676 ac_cpp
='$CPP $CPPFLAGS'
34677 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34678 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34679 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34683 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34684 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34685 cat >conftest.
$ac_ext <<_ACEOF
34688 cat confdefs.h
>>conftest.
$ac_ext
34689 cat >>conftest.
$ac_ext <<_ACEOF
34690 /* end confdefs.h. */
34691 #include <AppKit/NSEvent.h>
34692 #include <CoreFoundation/CoreFoundation.h>
34702 rm -f conftest.
$ac_objext
34703 if { (ac_try
="$ac_compile"
34704 case "(($ac_try" in
34705 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34706 *) ac_try_echo=$ac_try;;
34708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34709 (eval "$ac_compile") 2>conftest.er1
34711 grep -v '^ *+' conftest.er1 >conftest.err
34713 cat conftest.err >&5
34714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34715 (exit $ac_status); } && {
34716 test -z "$ac_c_werror_flag" ||
34717 test ! -s conftest.err
34718 } && test -s conftest.$ac_objext; then
34719 { echo "$as_me:$LINENO: result: no" >&5
34720 echo "${ECHO_T}no" >&6; }
34722 echo "$as_me: failed program was:" >&5
34723 sed 's/^/| /' conftest.$ac_ext >&5
34725 { echo "$as_me:$LINENO: result: yes" >&5
34726 echo "${ECHO_T}yes" >&6; }
34727 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34728 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34729 cat >conftest.$ac_ext <<_ACEOF
34732 cat confdefs.h >>conftest.$ac_ext
34733 cat >>conftest.$ac_ext <<_ACEOF
34734 /* end confdefs.h. */
34735 #define __Point__ 1
34736 #include <AppKit/NSEvent.h>
34737 #include <CoreFoundation/CoreFoundation.h>
34747 rm -f conftest.$ac_objext
34748 if { (ac_try="$ac_compile"
34749 case "(($ac_try" in
34750 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34751 *) ac_try_echo
=$ac_try;;
34753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34754 (eval "$ac_compile") 2>conftest.er1
34756 grep -v '^ *+' conftest.er1
>conftest.err
34758 cat conftest.err
>&5
34759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34760 (exit $ac_status); } && {
34761 test -z "$ac_c_werror_flag" ||
34762 test ! -s conftest.err
34763 } && test -s conftest.
$ac_objext; then
34764 { echo "$as_me:$LINENO: result: yes" >&5
34765 echo "${ECHO_T}yes" >&6; }
34766 cat >>confdefs.h
<<\_ACEOF
34767 #define __Point__ 1
34772 echo "$as_me: failed program was:" >&5
34773 sed 's/^/| /' conftest.
$ac_ext >&5
34775 { { echo "$as_me:$LINENO: error: no
34776 See \`config.log' for more details." >&5
34777 echo "$as_me: error: no
34778 See \`config.log' for more details." >&2;}
34779 { (exit 1); exit 1; }; }
34783 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34789 ac_cpp
='$CPP $CPPFLAGS'
34790 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34791 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34792 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34797 { echo "$as_me:$LINENO: checking for mode_t" >&5
34798 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34799 if test "${ac_cv_type_mode_t+set}" = set; then
34800 echo $ECHO_N "(cached) $ECHO_C" >&6
34802 cat >conftest.
$ac_ext <<_ACEOF
34805 cat confdefs.h
>>conftest.
$ac_ext
34806 cat >>conftest.
$ac_ext <<_ACEOF
34807 /* end confdefs.h. */
34808 $ac_includes_default
34809 typedef mode_t ac__type_new_;
34813 if ((ac__type_new_ *) 0)
34815 if (sizeof (ac__type_new_))
34821 rm -f conftest.
$ac_objext
34822 if { (ac_try
="$ac_compile"
34823 case "(($ac_try" in
34824 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34825 *) ac_try_echo=$ac_try;;
34827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34828 (eval "$ac_compile") 2>conftest.er1
34830 grep -v '^ *+' conftest.er1 >conftest.err
34832 cat conftest.err >&5
34833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34834 (exit $ac_status); } && {
34835 test -z "$ac_c_werror_flag" ||
34836 test ! -s conftest.err
34837 } && test -s conftest.$ac_objext; then
34838 ac_cv_type_mode_t=yes
34840 echo "$as_me: failed program was:" >&5
34841 sed 's/^/| /' conftest.$ac_ext >&5
34843 ac_cv_type_mode_t=no
34846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34848 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34849 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34850 if test $ac_cv_type_mode_t = yes; then
34854 cat >>confdefs.h <<_ACEOF
34860 { echo "$as_me:$LINENO: checking for off_t" >&5
34861 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34862 if test "${ac_cv_type_off_t+set}" = set; then
34863 echo $ECHO_N "(cached) $ECHO_C" >&6
34865 cat >conftest.$ac_ext <<_ACEOF
34868 cat confdefs.h >>conftest.$ac_ext
34869 cat >>conftest.$ac_ext <<_ACEOF
34870 /* end confdefs.h. */
34871 $ac_includes_default
34872 typedef off_t ac__type_new_;
34876 if ((ac__type_new_ *) 0)
34878 if (sizeof (ac__type_new_))
34884 rm -f conftest.$ac_objext
34885 if { (ac_try="$ac_compile"
34886 case "(($ac_try" in
34887 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34888 *) ac_try_echo
=$ac_try;;
34890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34891 (eval "$ac_compile") 2>conftest.er1
34893 grep -v '^ *+' conftest.er1
>conftest.err
34895 cat conftest.err
>&5
34896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34897 (exit $ac_status); } && {
34898 test -z "$ac_c_werror_flag" ||
34899 test ! -s conftest.err
34900 } && test -s conftest.
$ac_objext; then
34901 ac_cv_type_off_t
=yes
34903 echo "$as_me: failed program was:" >&5
34904 sed 's/^/| /' conftest.
$ac_ext >&5
34906 ac_cv_type_off_t
=no
34909 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34911 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34912 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34913 if test $ac_cv_type_off_t = yes; then
34917 cat >>confdefs.h
<<_ACEOF
34918 #define off_t long int
34923 { echo "$as_me:$LINENO: checking for pid_t" >&5
34924 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34925 if test "${ac_cv_type_pid_t+set}" = set; then
34926 echo $ECHO_N "(cached) $ECHO_C" >&6
34928 cat >conftest.
$ac_ext <<_ACEOF
34931 cat confdefs.h
>>conftest.
$ac_ext
34932 cat >>conftest.
$ac_ext <<_ACEOF
34933 /* end confdefs.h. */
34934 $ac_includes_default
34935 typedef pid_t ac__type_new_;
34939 if ((ac__type_new_ *) 0)
34941 if (sizeof (ac__type_new_))
34947 rm -f conftest.
$ac_objext
34948 if { (ac_try
="$ac_compile"
34949 case "(($ac_try" in
34950 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34951 *) ac_try_echo=$ac_try;;
34953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34954 (eval "$ac_compile") 2>conftest.er1
34956 grep -v '^ *+' conftest.er1 >conftest.err
34958 cat conftest.err >&5
34959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34960 (exit $ac_status); } && {
34961 test -z "$ac_c_werror_flag" ||
34962 test ! -s conftest.err
34963 } && test -s conftest.$ac_objext; then
34964 ac_cv_type_pid_t=yes
34966 echo "$as_me: failed program was:" >&5
34967 sed 's/^/| /' conftest.$ac_ext >&5
34969 ac_cv_type_pid_t=no
34972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34974 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34975 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34976 if test $ac_cv_type_pid_t = yes; then
34980 cat >>confdefs.h <<_ACEOF
34986 { echo "$as_me:$LINENO: checking for size_t" >&5
34987 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34988 if test "${ac_cv_type_size_t+set}" = set; then
34989 echo $ECHO_N "(cached) $ECHO_C" >&6
34991 cat >conftest.$ac_ext <<_ACEOF
34994 cat confdefs.h >>conftest.$ac_ext
34995 cat >>conftest.$ac_ext <<_ACEOF
34996 /* end confdefs.h. */
34997 $ac_includes_default
34998 typedef size_t ac__type_new_;
35002 if ((ac__type_new_ *) 0)
35004 if (sizeof (ac__type_new_))
35010 rm -f conftest.$ac_objext
35011 if { (ac_try="$ac_compile"
35012 case "(($ac_try" in
35013 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35014 *) ac_try_echo
=$ac_try;;
35016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35017 (eval "$ac_compile") 2>conftest.er1
35019 grep -v '^ *+' conftest.er1
>conftest.err
35021 cat conftest.err
>&5
35022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35023 (exit $ac_status); } && {
35024 test -z "$ac_c_werror_flag" ||
35025 test ! -s conftest.err
35026 } && test -s conftest.
$ac_objext; then
35027 ac_cv_type_size_t
=yes
35029 echo "$as_me: failed program was:" >&5
35030 sed 's/^/| /' conftest.
$ac_ext >&5
35032 ac_cv_type_size_t
=no
35035 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35037 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35038 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35039 if test $ac_cv_type_size_t = yes; then
35043 cat >>confdefs.h
<<_ACEOF
35044 #define size_t unsigned int
35050 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35051 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35052 if test "${ac_cv_type_ssize_t+set}" = set; then
35053 echo $ECHO_N "(cached) $ECHO_C" >&6
35055 cat >conftest.
$ac_ext <<_ACEOF
35058 cat confdefs.h
>>conftest.
$ac_ext
35059 cat >>conftest.
$ac_ext <<_ACEOF
35060 /* end confdefs.h. */
35061 $ac_includes_default
35062 typedef ssize_t ac__type_new_;
35066 if ((ac__type_new_ *) 0)
35068 if (sizeof (ac__type_new_))
35074 rm -f conftest.
$ac_objext
35075 if { (ac_try
="$ac_compile"
35076 case "(($ac_try" in
35077 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35078 *) ac_try_echo=$ac_try;;
35080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35081 (eval "$ac_compile") 2>conftest.er1
35083 grep -v '^ *+' conftest.er1 >conftest.err
35085 cat conftest.err >&5
35086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35087 (exit $ac_status); } && {
35088 test -z "$ac_c_werror_flag" ||
35089 test ! -s conftest.err
35090 } && test -s conftest.$ac_objext; then
35091 ac_cv_type_ssize_t=yes
35093 echo "$as_me: failed program was:" >&5
35094 sed 's/^/| /' conftest.$ac_ext >&5
35096 ac_cv_type_ssize_t=no
35099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35101 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35102 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35103 if test $ac_cv_type_ssize_t = yes; then
35105 cat >>confdefs.h <<_ACEOF
35106 #define HAVE_SSIZE_T 1
35114 ac_cpp='$CXXCPP $CPPFLAGS'
35115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35118 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35119 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35120 if test "${wx_cv_size_t_is_uint+set}" = set; then
35121 echo $ECHO_N "(cached) $ECHO_C" >&6
35124 cat >conftest.$ac_ext <<_ACEOF
35127 cat confdefs.h >>conftest.$ac_ext
35128 cat >>conftest.$ac_ext <<_ACEOF
35129 /* end confdefs.h. */
35130 #include <stddef.h>
35137 struct Foo { void foo(size_t); void foo(unsigned int); };
35145 rm -f conftest.$ac_objext
35146 if { (ac_try="$ac_compile"
35147 case "(($ac_try" in
35148 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35149 *) ac_try_echo
=$ac_try;;
35151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35152 (eval "$ac_compile") 2>conftest.er1
35154 grep -v '^ *+' conftest.er1
>conftest.err
35156 cat conftest.err
>&5
35157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35158 (exit $ac_status); } && {
35159 test -z "$ac_cxx_werror_flag" ||
35160 test ! -s conftest.err
35161 } && test -s conftest.
$ac_objext; then
35162 wx_cv_size_t_is_uint
=no
35164 echo "$as_me: failed program was:" >&5
35165 sed 's/^/| /' conftest.
$ac_ext >&5
35167 wx_cv_size_t_is_uint
=yes
35171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35175 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35176 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35178 if test "$wx_cv_size_t_is_uint" = "yes"; then
35179 cat >>confdefs.h
<<\_ACEOF
35180 #define wxSIZE_T_IS_UINT 1
35184 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35185 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35186 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35187 echo $ECHO_N "(cached) $ECHO_C" >&6
35189 cat >conftest.
$ac_ext <<_ACEOF
35192 cat confdefs.h
>>conftest.
$ac_ext
35193 cat >>conftest.
$ac_ext <<_ACEOF
35194 /* end confdefs.h. */
35195 #include <stddef.h>
35202 struct Foo { void foo(size_t); void foo(unsigned long); };
35210 rm -f conftest.
$ac_objext
35211 if { (ac_try
="$ac_compile"
35212 case "(($ac_try" in
35213 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35214 *) ac_try_echo=$ac_try;;
35216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35217 (eval "$ac_compile") 2>conftest.er1
35219 grep -v '^ *+' conftest.er1 >conftest.err
35221 cat conftest.err >&5
35222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35223 (exit $ac_status); } && {
35224 test -z "$ac_cxx_werror_flag" ||
35225 test ! -s conftest.err
35226 } && test -s conftest.$ac_objext; then
35227 wx_cv_size_t_is_ulong=no
35229 echo "$as_me: failed program was:" >&5
35230 sed 's/^/| /' conftest.$ac_ext >&5
35232 wx_cv_size_t_is_ulong=yes
35236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35239 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35240 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
35242 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35243 cat >>confdefs.h <<\_ACEOF
35244 #define wxSIZE_T_IS_ULONG 1
35250 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35251 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
35252 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35253 echo $ECHO_N "(cached) $ECHO_C" >&6
35255 cat >conftest.$ac_ext <<_ACEOF
35258 cat confdefs.h >>conftest.$ac_ext
35259 cat >>conftest.$ac_ext <<_ACEOF
35260 /* end confdefs.h. */
35268 struct Foo { void foo(wchar_t);
35269 void foo(unsigned short);
35270 void foo(unsigned int);
35271 void foo(unsigned long); };
35279 rm -f conftest.$ac_objext
35280 if { (ac_try="$ac_compile"
35281 case "(($ac_try" in
35282 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35283 *) ac_try_echo
=$ac_try;;
35285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35286 (eval "$ac_compile") 2>conftest.er1
35288 grep -v '^ *+' conftest.er1
>conftest.err
35290 cat conftest.err
>&5
35291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35292 (exit $ac_status); } && {
35293 test -z "$ac_cxx_werror_flag" ||
35294 test ! -s conftest.err
35295 } && test -s conftest.
$ac_objext; then
35296 wx_cv_wchar_t_is_separate_type
=yes
35298 echo "$as_me: failed program was:" >&5
35299 sed 's/^/| /' conftest.
$ac_ext >&5
35301 wx_cv_wchar_t_is_separate_type
=no
35305 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35308 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
35309 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
35311 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
35312 cat >>confdefs.h
<<\_ACEOF
35313 #define wxWCHAR_T_IS_REAL_TYPE 1
35317 cat >>confdefs.h
<<\_ACEOF
35318 #define wxWCHAR_T_IS_REAL_TYPE 0
35324 ac_cpp
='$CPP $CPPFLAGS'
35325 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35326 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35327 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35330 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35331 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
35332 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35333 echo $ECHO_N "(cached) $ECHO_C" >&6
35336 cat >conftest.
$ac_ext <<_ACEOF
35339 cat confdefs.h
>>conftest.
$ac_ext
35340 cat >>conftest.
$ac_ext <<_ACEOF
35341 /* end confdefs.h. */
35355 rm -f conftest.
$ac_objext
35356 if { (ac_try
="$ac_compile"
35357 case "(($ac_try" in
35358 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35359 *) ac_try_echo=$ac_try;;
35361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35362 (eval "$ac_compile") 2>conftest.er1
35364 grep -v '^ *+' conftest.er1 >conftest.err
35366 cat conftest.err >&5
35367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35368 (exit $ac_status); } && {
35369 test -z "$ac_c_werror_flag" ||
35370 test ! -s conftest.err
35371 } && test -s conftest.$ac_objext; then
35373 wx_cv_struct_pw_gecos=yes
35376 echo "$as_me: failed program was:" >&5
35377 sed 's/^/| /' conftest.$ac_ext >&5
35380 wx_cv_struct_pw_gecos=no
35385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35389 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35390 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35392 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35393 cat >>confdefs.h <<\_ACEOF
35394 #define HAVE_PW_GECOS 1
35400 if test "$wxUSE_WCHAR_T" = "yes"; then
35401 cat >>confdefs.h <<\_ACEOF
35402 #define wxUSE_WCHAR_T 1
35409 for ac_func in wcslen
35411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35412 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35414 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35415 echo $ECHO_N "(cached) $ECHO_C" >&6
35417 cat >conftest.$ac_ext <<_ACEOF
35420 cat confdefs.h >>conftest.$ac_ext
35421 cat >>conftest.$ac_ext <<_ACEOF
35422 /* end confdefs.h. */
35423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35424 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35425 #define $ac_func innocuous_$ac_func
35427 /* System header to define __stub macros and hopefully few prototypes,
35428 which can conflict with char $ac_func (); below.
35429 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35430 <limits.h> exists even on freestanding compilers. */
35433 # include <limits.h>
35435 # include <assert.h>
35440 /* Override any GCC internal prototype to avoid an error.
35441 Use char because int might match the return type of a GCC
35442 builtin and then its argument prototype would still apply. */
35447 /* The GNU C library defines this for functions which it implements
35448 to always fail with ENOSYS. Some functions are actually named
35449 something starting with __ and the normal name is an alias. */
35450 #if defined __stub_$ac_func || defined __stub___$ac_func
35457 return $ac_func ();
35462 rm -f conftest.$ac_objext conftest$ac_exeext
35463 if { (ac_try="$ac_link"
35464 case "(($ac_try" in
35465 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35466 *) ac_try_echo
=$ac_try;;
35468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35469 (eval "$ac_link") 2>conftest.er1
35471 grep -v '^ *+' conftest.er1
>conftest.err
35473 cat conftest.err
>&5
35474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35475 (exit $ac_status); } && {
35476 test -z "$ac_c_werror_flag" ||
35477 test ! -s conftest.err
35478 } && test -s conftest
$ac_exeext &&
35479 $as_test_x conftest
$ac_exeext; then
35480 eval "$as_ac_var=yes"
35482 echo "$as_me: failed program was:" >&5
35483 sed 's/^/| /' conftest.
$ac_ext >&5
35485 eval "$as_ac_var=no"
35488 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35489 conftest
$ac_exeext conftest.
$ac_ext
35491 ac_res
=`eval echo '${'$as_ac_var'}'`
35492 { echo "$as_me:$LINENO: result: $ac_res" >&5
35493 echo "${ECHO_T}$ac_res" >&6; }
35494 if test `eval echo '${'$as_ac_var'}'` = yes; then
35495 cat >>confdefs.h
<<_ACEOF
35496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35503 if test "$WCSLEN_FOUND" = 0; then
35504 if test "$TOOLKIT" = "MSW"; then
35505 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35506 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
35507 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35508 echo $ECHO_N "(cached) $ECHO_C" >&6
35510 ac_check_lib_save_LIBS
=$LIBS
35511 LIBS
="-lmsvcrt $LIBS"
35512 cat >conftest.
$ac_ext <<_ACEOF
35515 cat confdefs.h
>>conftest.
$ac_ext
35516 cat >>conftest.
$ac_ext <<_ACEOF
35517 /* end confdefs.h. */
35519 /* Override any GCC internal prototype to avoid an error.
35520 Use char because int might match the return type of a GCC
35521 builtin and then its argument prototype would still apply. */
35534 rm -f conftest.
$ac_objext conftest
$ac_exeext
35535 if { (ac_try
="$ac_link"
35536 case "(($ac_try" in
35537 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35538 *) ac_try_echo=$ac_try;;
35540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35541 (eval "$ac_link") 2>conftest.er1
35543 grep -v '^ *+' conftest.er1 >conftest.err
35545 cat conftest.err >&5
35546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35547 (exit $ac_status); } && {
35548 test -z "$ac_c_werror_flag" ||
35549 test ! -s conftest.err
35550 } && test -s conftest$ac_exeext &&
35551 $as_test_x conftest$ac_exeext; then
35552 ac_cv_lib_msvcrt_wcslen=yes
35554 echo "$as_me: failed program was:" >&5
35555 sed 's/^/| /' conftest.$ac_ext >&5
35557 ac_cv_lib_msvcrt_wcslen=no
35560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35561 conftest$ac_exeext conftest.$ac_ext
35562 LIBS=$ac_check_lib_save_LIBS
35564 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35565 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
35566 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35571 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35572 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
35573 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35574 echo $ECHO_N "(cached) $ECHO_C" >&6
35576 ac_check_lib_save_LIBS=$LIBS
35578 cat >conftest.$ac_ext <<_ACEOF
35581 cat confdefs.h >>conftest.$ac_ext
35582 cat >>conftest.$ac_ext <<_ACEOF
35583 /* end confdefs.h. */
35585 /* Override any GCC internal prototype to avoid an error.
35586 Use char because int might match the return type of a GCC
35587 builtin and then its argument prototype would still apply. */
35600 rm -f conftest.$ac_objext conftest$ac_exeext
35601 if { (ac_try="$ac_link"
35602 case "(($ac_try" in
35603 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35604 *) ac_try_echo
=$ac_try;;
35606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35607 (eval "$ac_link") 2>conftest.er1
35609 grep -v '^ *+' conftest.er1
>conftest.err
35611 cat conftest.err
>&5
35612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35613 (exit $ac_status); } && {
35614 test -z "$ac_c_werror_flag" ||
35615 test ! -s conftest.err
35616 } && test -s conftest
$ac_exeext &&
35617 $as_test_x conftest
$ac_exeext; then
35618 ac_cv_lib_w_wcslen
=yes
35620 echo "$as_me: failed program was:" >&5
35621 sed 's/^/| /' conftest.
$ac_ext >&5
35623 ac_cv_lib_w_wcslen
=no
35626 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35627 conftest
$ac_exeext conftest.
$ac_ext
35628 LIBS
=$ac_check_lib_save_LIBS
35630 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35631 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
35632 if test $ac_cv_lib_w_wcslen = yes; then
35642 if test "$WCSLEN_FOUND" = 1; then
35643 cat >>confdefs.h
<<\_ACEOF
35644 #define HAVE_WCSLEN 1
35654 for ac_func
in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35656 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35657 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35659 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35660 echo $ECHO_N "(cached) $ECHO_C" >&6
35662 cat >conftest.
$ac_ext <<_ACEOF
35665 cat confdefs.h
>>conftest.
$ac_ext
35666 cat >>conftest.
$ac_ext <<_ACEOF
35667 /* end confdefs.h. */
35668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35670 #define $ac_func innocuous_$ac_func
35672 /* System header to define __stub macros and hopefully few prototypes,
35673 which can conflict with char $ac_func (); below.
35674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35675 <limits.h> exists even on freestanding compilers. */
35678 # include <limits.h>
35680 # include <assert.h>
35685 /* Override any GCC internal prototype to avoid an error.
35686 Use char because int might match the return type of a GCC
35687 builtin and then its argument prototype would still apply. */
35692 /* The GNU C library defines this for functions which it implements
35693 to always fail with ENOSYS. Some functions are actually named
35694 something starting with __ and the normal name is an alias. */
35695 #if defined __stub_$ac_func || defined __stub___$ac_func
35702 return $ac_func ();
35707 rm -f conftest.
$ac_objext conftest
$ac_exeext
35708 if { (ac_try
="$ac_link"
35709 case "(($ac_try" in
35710 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35711 *) ac_try_echo=$ac_try;;
35713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35714 (eval "$ac_link") 2>conftest.er1
35716 grep -v '^ *+' conftest.er1 >conftest.err
35718 cat conftest.err >&5
35719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35720 (exit $ac_status); } && {
35721 test -z "$ac_c_werror_flag" ||
35722 test ! -s conftest.err
35723 } && test -s conftest$ac_exeext &&
35724 $as_test_x conftest$ac_exeext; then
35725 eval "$as_ac_var=yes"
35727 echo "$as_me: failed program was:" >&5
35728 sed 's/^/| /' conftest.$ac_ext >&5
35730 eval "$as_ac_var=no"
35733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35734 conftest$ac_exeext conftest.$ac_ext
35736 ac_res=`eval echo '${'$as_ac_var'}'`
35737 { echo "$as_me:$LINENO: result: $ac_res" >&5
35738 echo "${ECHO_T}$ac_res" >&6; }
35739 if test `eval echo '${'$as_ac_var'}'` = yes; then
35740 cat >>confdefs.h <<_ACEOF
35741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35748 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35749 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35752 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35753 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35754 if test "${ac_cv_type_mbstate_t+set}" = set; then
35755 echo $ECHO_N "(cached) $ECHO_C" >&6
35757 cat >conftest.$ac_ext <<_ACEOF
35760 cat confdefs.h >>conftest.$ac_ext
35761 cat >>conftest.$ac_ext <<_ACEOF
35762 /* end confdefs.h. */
35765 typedef mbstate_t ac__type_new_;
35769 if ((ac__type_new_ *) 0)
35771 if (sizeof (ac__type_new_))
35777 rm -f conftest.$ac_objext
35778 if { (ac_try="$ac_compile"
35779 case "(($ac_try" in
35780 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35781 *) ac_try_echo
=$ac_try;;
35783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35784 (eval "$ac_compile") 2>conftest.er1
35786 grep -v '^ *+' conftest.er1
>conftest.err
35788 cat conftest.err
>&5
35789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35790 (exit $ac_status); } && {
35791 test -z "$ac_c_werror_flag" ||
35792 test ! -s conftest.err
35793 } && test -s conftest.
$ac_objext; then
35794 ac_cv_type_mbstate_t
=yes
35796 echo "$as_me: failed program was:" >&5
35797 sed 's/^/| /' conftest.
$ac_ext >&5
35799 ac_cv_type_mbstate_t
=no
35802 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35804 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35805 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35806 if test $ac_cv_type_mbstate_t = yes; then
35808 cat >>confdefs.h
<<_ACEOF
35809 #define HAVE_MBSTATE_T 1
35813 for ac_func
in wcsrtombs
35815 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35816 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35818 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35819 echo $ECHO_N "(cached) $ECHO_C" >&6
35821 cat >conftest.
$ac_ext <<_ACEOF
35824 cat confdefs.h
>>conftest.
$ac_ext
35825 cat >>conftest.
$ac_ext <<_ACEOF
35826 /* end confdefs.h. */
35827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35829 #define $ac_func innocuous_$ac_func
35831 /* System header to define __stub macros and hopefully few prototypes,
35832 which can conflict with char $ac_func (); below.
35833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35834 <limits.h> exists even on freestanding compilers. */
35837 # include <limits.h>
35839 # include <assert.h>
35844 /* Override any GCC internal prototype to avoid an error.
35845 Use char because int might match the return type of a GCC
35846 builtin and then its argument prototype would still apply. */
35851 /* The GNU C library defines this for functions which it implements
35852 to always fail with ENOSYS. Some functions are actually named
35853 something starting with __ and the normal name is an alias. */
35854 #if defined __stub_$ac_func || defined __stub___$ac_func
35861 return $ac_func ();
35866 rm -f conftest.
$ac_objext conftest
$ac_exeext
35867 if { (ac_try
="$ac_link"
35868 case "(($ac_try" in
35869 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35870 *) ac_try_echo=$ac_try;;
35872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35873 (eval "$ac_link") 2>conftest.er1
35875 grep -v '^ *+' conftest.er1 >conftest.err
35877 cat conftest.err >&5
35878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35879 (exit $ac_status); } && {
35880 test -z "$ac_c_werror_flag" ||
35881 test ! -s conftest.err
35882 } && test -s conftest$ac_exeext &&
35883 $as_test_x conftest$ac_exeext; then
35884 eval "$as_ac_var=yes"
35886 echo "$as_me: failed program was:" >&5
35887 sed 's/^/| /' conftest.$ac_ext >&5
35889 eval "$as_ac_var=no"
35892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35893 conftest$ac_exeext conftest.$ac_ext
35895 ac_res=`eval echo '${'$as_ac_var'}'`
35896 { echo "$as_me:$LINENO: result: $ac_res" >&5
35897 echo "${ECHO_T}$ac_res" >&6; }
35898 if test `eval echo '${'$as_ac_var'}'` = yes; then
35899 cat >>confdefs.h <<_ACEOF
35900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35909 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35910 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35916 for ac_func in snprintf vsnprintf vsscanf
35918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35919 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35921 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35922 echo $ECHO_N "(cached) $ECHO_C" >&6
35924 cat >conftest.$ac_ext <<_ACEOF
35927 cat confdefs.h >>conftest.$ac_ext
35928 cat >>conftest.$ac_ext <<_ACEOF
35929 /* end confdefs.h. */
35930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35932 #define $ac_func innocuous_$ac_func
35934 /* System header to define __stub macros and hopefully few prototypes,
35935 which can conflict with char $ac_func (); below.
35936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35937 <limits.h> exists even on freestanding compilers. */
35940 # include <limits.h>
35942 # include <assert.h>
35947 /* Override any GCC internal prototype to avoid an error.
35948 Use char because int might match the return type of a GCC
35949 builtin and then its argument prototype would still apply. */
35954 /* The GNU C library defines this for functions which it implements
35955 to always fail with ENOSYS. Some functions are actually named
35956 something starting with __ and the normal name is an alias. */
35957 #if defined __stub_$ac_func || defined __stub___$ac_func
35964 return $ac_func ();
35969 rm -f conftest.$ac_objext conftest$ac_exeext
35970 if { (ac_try="$ac_link"
35971 case "(($ac_try" in
35972 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35973 *) ac_try_echo
=$ac_try;;
35975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35976 (eval "$ac_link") 2>conftest.er1
35978 grep -v '^ *+' conftest.er1
>conftest.err
35980 cat conftest.err
>&5
35981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35982 (exit $ac_status); } && {
35983 test -z "$ac_c_werror_flag" ||
35984 test ! -s conftest.err
35985 } && test -s conftest
$ac_exeext &&
35986 $as_test_x conftest
$ac_exeext; then
35987 eval "$as_ac_var=yes"
35989 echo "$as_me: failed program was:" >&5
35990 sed 's/^/| /' conftest.
$ac_ext >&5
35992 eval "$as_ac_var=no"
35995 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35996 conftest
$ac_exeext conftest.
$ac_ext
35998 ac_res
=`eval echo '${'$as_ac_var'}'`
35999 { echo "$as_me:$LINENO: result: $ac_res" >&5
36000 echo "${ECHO_T}$ac_res" >&6; }
36001 if test `eval echo '${'$as_ac_var'}'` = yes; then
36002 cat >>confdefs.h
<<_ACEOF
36003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36011 ac_cpp
='$CXXCPP $CPPFLAGS'
36012 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36013 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36014 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36016 if test "$ac_cv_func_vsnprintf" = "yes"; then
36017 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36018 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36019 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36020 echo $ECHO_N "(cached) $ECHO_C" >&6
36023 cat >conftest.
$ac_ext <<_ACEOF
36026 cat confdefs.h
>>conftest.
$ac_ext
36027 cat >>conftest.
$ac_ext <<_ACEOF
36028 /* end confdefs.h. */
36031 #include <stdarg.h>
36033 #if __MSL__ >= 0x6000
36035 using namespace std;
36045 vsnprintf(buf, 10u, "%s", ap);
36051 rm -f conftest.
$ac_objext
36052 if { (ac_try
="$ac_compile"
36053 case "(($ac_try" in
36054 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36055 *) ac_try_echo=$ac_try;;
36057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36058 (eval "$ac_compile") 2>conftest.er1
36060 grep -v '^ *+' conftest.er1 >conftest.err
36062 cat conftest.err >&5
36063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36064 (exit $ac_status); } && {
36065 test -z "$ac_cxx_werror_flag" ||
36066 test ! -s conftest.err
36067 } && test -s conftest.$ac_objext; then
36068 wx_cv_func_vsnprintf_decl=yes
36070 echo "$as_me: failed program was:" >&5
36071 sed 's/^/| /' conftest.$ac_ext >&5
36073 wx_cv_func_vsnprintf_decl=no
36077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36081 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36082 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36084 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36085 cat >>confdefs.h <<\_ACEOF
36086 #define HAVE_VSNPRINTF_DECL 1
36090 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36091 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36092 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36093 echo $ECHO_N "(cached) $ECHO_C" >&6
36096 cat >conftest.$ac_ext <<_ACEOF
36099 cat confdefs.h >>conftest.$ac_ext
36100 cat >>conftest.$ac_ext <<_ACEOF
36101 /* end confdefs.h. */
36104 #include <stdarg.h>
36106 #if __MSL__ >= 0x6000
36108 using namespace std;
36118 const char *fmt = "%s";
36119 vsnprintf(buf, 10u, fmt, ap);
36125 rm -f conftest.$ac_objext
36126 if { (ac_try="$ac_compile"
36127 case "(($ac_try" in
36128 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36129 *) ac_try_echo
=$ac_try;;
36131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36132 (eval "$ac_compile") 2>conftest.er1
36134 grep -v '^ *+' conftest.er1
>conftest.err
36136 cat conftest.err
>&5
36137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36138 (exit $ac_status); } && {
36139 test -z "$ac_cxx_werror_flag" ||
36140 test ! -s conftest.err
36141 } && test -s conftest.
$ac_objext; then
36142 wx_cv_func_broken_vsnprintf_decl
=no
36144 echo "$as_me: failed program was:" >&5
36145 sed 's/^/| /' conftest.
$ac_ext >&5
36147 wx_cv_func_broken_vsnprintf_decl
=yes
36151 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36155 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36156 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36158 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36159 cat >>confdefs.h
<<\_ACEOF
36160 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36167 if test "$ac_cv_func_snprintf" = "yes"; then
36168 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36169 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36170 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36171 echo $ECHO_N "(cached) $ECHO_C" >&6
36174 cat >conftest.
$ac_ext <<_ACEOF
36177 cat confdefs.h
>>conftest.
$ac_ext
36178 cat >>conftest.
$ac_ext <<_ACEOF
36179 /* end confdefs.h. */
36182 #include <stdarg.h>
36184 #if __MSL__ >= 0x6000
36186 using namespace std;
36195 snprintf(buf, 10u, "%s", "wx");
36201 rm -f conftest.
$ac_objext
36202 if { (ac_try
="$ac_compile"
36203 case "(($ac_try" in
36204 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36205 *) ac_try_echo=$ac_try;;
36207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36208 (eval "$ac_compile") 2>conftest.er1
36210 grep -v '^ *+' conftest.er1 >conftest.err
36212 cat conftest.err >&5
36213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36214 (exit $ac_status); } && {
36215 test -z "$ac_cxx_werror_flag" ||
36216 test ! -s conftest.err
36217 } && test -s conftest.$ac_objext; then
36218 wx_cv_func_snprintf_decl=yes
36220 echo "$as_me: failed program was:" >&5
36221 sed 's/^/| /' conftest.$ac_ext >&5
36223 wx_cv_func_snprintf_decl=no
36227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36231 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36232 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36234 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36235 cat >>confdefs.h <<\_ACEOF
36236 #define HAVE_SNPRINTF_DECL 1
36241 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36243 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36244 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
36245 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36246 echo $ECHO_N "(cached) $ECHO_C" >&6
36249 if test "$cross_compiling" = yes; then
36251 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36252 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36253 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36254 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36255 wx_cv_func_snprintf_pos_params=no
36259 cat >conftest.$ac_ext <<_ACEOF
36262 cat confdefs.h >>conftest.$ac_ext
36263 cat >>conftest.$ac_ext <<_ACEOF
36264 /* end confdefs.h. */
36271 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36272 if (strcmp ("2 3 1", buffer) == 0)
36278 rm -f conftest$ac_exeext
36279 if { (ac_try="$ac_link"
36280 case "(($ac_try" in
36281 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36282 *) ac_try_echo
=$ac_try;;
36284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36285 (eval "$ac_link") 2>&5
36287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36288 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
36289 { (case "(($ac_try" in
36290 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36291 *) ac_try_echo=$ac_try;;
36293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36294 (eval "$ac_try") 2>&5
36296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36297 (exit $ac_status); }; }; then
36298 wx_cv_func_snprintf_pos_params=no
36300 echo "$as_me: program exited with status $ac_status" >&5
36301 echo "$as_me: failed program was:" >&5
36302 sed 's/^/| /' conftest.$ac_ext >&5
36304 ( exit $ac_status )
36305 wx_cv_func_snprintf_pos_params=yes
36307 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36314 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36315 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
36317 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36318 cat >>confdefs.h <<\_ACEOF
36319 #define HAVE_UNIX98_PRINTF 1
36326 if test "$ac_cv_func_vsscanf" = "yes"; then
36327 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
36328 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
36329 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
36330 echo $ECHO_N "(cached) $ECHO_C" >&6
36333 cat >conftest.$ac_ext <<_ACEOF
36336 cat confdefs.h >>conftest.$ac_ext
36337 cat >>conftest.$ac_ext <<_ACEOF
36338 /* end confdefs.h. */
36341 #include <stdarg.h>
36343 #if __MSL__ >= 0x6000
36345 using namespace std;
36355 vsscanf(buf, "%s", args);
36361 rm -f conftest.$ac_objext
36362 if { (ac_try="$ac_compile"
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_compile") 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_cxx_werror_flag" ||
36376 test ! -s conftest.err
36377 } && test -s conftest.
$ac_objext; then
36378 wx_cv_func_vsscanf_decl
=yes
36380 echo "$as_me: failed program was:" >&5
36381 sed 's/^/| /' conftest.
$ac_ext >&5
36383 wx_cv_func_vsscanf_decl
=no
36387 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36391 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
36392 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
36394 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
36395 cat >>confdefs.h
<<\_ACEOF
36396 #define HAVE_VSSCANF_DECL 1
36402 ac_cpp
='$CPP $CPPFLAGS'
36403 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36404 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36405 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36408 if test "$wxUSE_UNICODE" = yes; then
36410 wchar_headers
="#include <stdio.h>
36411 #include <wchar.h>"
36415 for ac_header
in widec.h
36417 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36418 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36420 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36421 echo $ECHO_N "(cached) $ECHO_C" >&6
36423 cat >conftest.
$ac_ext <<_ACEOF
36426 cat confdefs.h
>>conftest.
$ac_ext
36427 cat >>conftest.
$ac_ext <<_ACEOF
36428 /* end confdefs.h. */
36429 $ac_includes_default
36431 #include <$ac_header>
36433 rm -f conftest.
$ac_objext
36434 if { (ac_try
="$ac_compile"
36435 case "(($ac_try" in
36436 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36437 *) ac_try_echo=$ac_try;;
36439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36440 (eval "$ac_compile") 2>conftest.er1
36442 grep -v '^ *+' conftest.er1 >conftest.err
36444 cat conftest.err >&5
36445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36446 (exit $ac_status); } && {
36447 test -z "$ac_c_werror_flag" ||
36448 test ! -s conftest.err
36449 } && test -s conftest.$ac_objext; then
36450 eval "$as_ac_Header=yes"
36452 echo "$as_me: failed program was:" >&5
36453 sed 's/^/| /' conftest.$ac_ext >&5
36455 eval "$as_ac_Header=no"
36458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36460 ac_res=`eval echo '${'$as_ac_Header'}'`
36461 { echo "$as_me:$LINENO: result: $ac_res" >&5
36462 echo "${ECHO_T}$ac_res" >&6; }
36463 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36464 cat >>confdefs.h <<_ACEOF
36465 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36472 if test "$ac_cv_header_widec_h" = "yes"; then
36473 wchar_headers="$wchar_headers
36474 #include <widec.h>"
36479 for wx_func in putws fputws wprintf vswprintf vswscanf
36481 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36482 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36483 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36484 echo $ECHO_N "(cached) $ECHO_C" >&6
36487 cat >conftest.$ac_ext <<_ACEOF
36491 cat confdefs.h >>conftest.$ac_ext
36492 cat >>conftest.$ac_ext <<_ACEOF
36493 /* end confdefs.h. */
36496 $ac_includes_default
36512 rm -f conftest.$ac_objext conftest$ac_exeext
36513 if { (ac_try="$ac_link"
36514 case "(($ac_try" in
36515 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36516 *) ac_try_echo
=$ac_try;;
36518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36519 (eval "$ac_link") 2>conftest.er1
36521 grep -v '^ *+' conftest.er1
>conftest.err
36523 cat conftest.err
>&5
36524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36525 (exit $ac_status); } && {
36526 test -z "$ac_c_werror_flag" ||
36527 test ! -s conftest.err
36528 } && test -s conftest
$ac_exeext &&
36529 $as_test_x conftest
$ac_exeext; then
36530 eval wx_cv_func_
$wx_func=yes
36532 echo "$as_me: failed program was:" >&5
36533 sed 's/^/| /' conftest.
$ac_ext >&5
36535 eval wx_cv_func_
$wx_func=no
36538 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36539 conftest
$ac_exeext conftest.
$ac_ext
36542 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36543 { echo "$as_me:$LINENO: result: $ac_res" >&5
36544 echo "${ECHO_T}$ac_res" >&6; }
36546 if eval test \
$wx_cv_func_$wx_func = yes
36548 cat >>confdefs.h
<<_ACEOF
36549 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36560 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36561 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
36562 cat >conftest.
$ac_ext <<_ACEOF
36565 cat confdefs.h
>>conftest.
$ac_ext
36566 cat >>conftest.
$ac_ext <<_ACEOF
36567 /* end confdefs.h. */
36577 rm -f conftest.
$ac_objext
36578 if { (ac_try
="$ac_compile"
36579 case "(($ac_try" in
36580 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36581 *) ac_try_echo=$ac_try;;
36583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36584 (eval "$ac_compile") 2>conftest.er1
36586 grep -v '^ *+' conftest.er1 >conftest.err
36588 cat conftest.err >&5
36589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36590 (exit $ac_status); } && {
36591 test -z "$ac_c_werror_flag" ||
36592 test ! -s conftest.err
36593 } && test -s conftest.$ac_objext; then
36594 { echo "$as_me:$LINENO: result: yes" >&5
36595 echo "${ECHO_T}yes" >&6; }
36596 cat >>confdefs.h <<\_ACEOF
36597 #define HAVE__VSNWPRINTF 1
36601 echo "$as_me: failed program was:" >&5
36602 sed 's/^/| /' conftest.$ac_ext >&5
36604 { echo "$as_me:$LINENO: result: no" >&5
36605 echo "${ECHO_T}no" >&6; }
36608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
36611 if test "$wxUSE_FILE" = "yes"; then
36613 for wx_func in fsync
36615 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36616 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36617 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36618 echo $ECHO_N "(cached) $ECHO_C" >&6
36621 cat >conftest.$ac_ext <<_ACEOF
36625 cat confdefs.h >>conftest.$ac_ext
36626 cat >>conftest.$ac_ext <<_ACEOF
36627 /* end confdefs.h. */
36630 $ac_includes_default
36646 rm -f conftest.$ac_objext conftest$ac_exeext
36647 if { (ac_try="$ac_link"
36648 case "(($ac_try" in
36649 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36650 *) ac_try_echo
=$ac_try;;
36652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36653 (eval "$ac_link") 2>conftest.er1
36655 grep -v '^ *+' conftest.er1
>conftest.err
36657 cat conftest.err
>&5
36658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36659 (exit $ac_status); } && {
36660 test -z "$ac_c_werror_flag" ||
36661 test ! -s conftest.err
36662 } && test -s conftest
$ac_exeext &&
36663 $as_test_x conftest
$ac_exeext; then
36664 eval wx_cv_func_
$wx_func=yes
36666 echo "$as_me: failed program was:" >&5
36667 sed 's/^/| /' conftest.
$ac_ext >&5
36669 eval wx_cv_func_
$wx_func=no
36672 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36673 conftest
$ac_exeext conftest.
$ac_ext
36676 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36677 { echo "$as_me:$LINENO: result: $ac_res" >&5
36678 echo "${ECHO_T}$ac_res" >&6; }
36680 if eval test \
$wx_cv_func_$wx_func = yes
36682 cat >>confdefs.h
<<_ACEOF
36683 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36696 ac_cpp
='$CXXCPP $CPPFLAGS'
36697 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36698 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36699 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36702 for wx_func
in round
36704 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36705 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36706 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36707 echo $ECHO_N "(cached) $ECHO_C" >&6
36710 cat >conftest.
$ac_ext <<_ACEOF
36714 cat confdefs.h
>>conftest.
$ac_ext
36715 cat >>conftest.
$ac_ext <<_ACEOF
36716 /* end confdefs.h. */
36719 $ac_includes_default
36735 rm -f conftest.
$ac_objext conftest
$ac_exeext
36736 if { (ac_try
="$ac_link"
36737 case "(($ac_try" in
36738 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36739 *) ac_try_echo=$ac_try;;
36741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36742 (eval "$ac_link") 2>conftest.er1
36744 grep -v '^ *+' conftest.er1 >conftest.err
36746 cat conftest.err >&5
36747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36748 (exit $ac_status); } && {
36749 test -z "$ac_cxx_werror_flag" ||
36750 test ! -s conftest.err
36751 } && test -s conftest$ac_exeext &&
36752 $as_test_x conftest$ac_exeext; then
36753 eval wx_cv_func_$wx_func=yes
36755 echo "$as_me: failed program was:" >&5
36756 sed 's/^/| /' conftest.$ac_ext >&5
36758 eval wx_cv_func_$wx_func=no
36761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36762 conftest$ac_exeext conftest.$ac_ext
36765 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36766 { echo "$as_me:$LINENO: result: $ac_res" >&5
36767 echo "${ECHO_T}$ac_res" >&6; }
36769 if eval test \$wx_cv_func_$wx_func = yes
36771 cat >>confdefs.h <<_ACEOF
36772 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36783 ac_cpp='$CPP $CPPFLAGS'
36784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36789 if test "$TOOLKIT" != "MSW"; then
36791 if test "$wxUSE_LIBICONV" != "no" ; then
36795 # Check whether --with-libiconv-prefix was given.
36796 if test "${with_libiconv_prefix+set}" = set; then
36797 withval=$with_libiconv_prefix;
36798 for dir in `echo "$withval" | tr : ' '`; do
36799 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36800 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36806 { echo "$as_me:$LINENO: checking for iconv" >&5
36807 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36808 if test "${am_cv_func_iconv+set}" = set; then
36809 echo $ECHO_N "(cached) $ECHO_C" >&6
36812 am_cv_func_iconv="no, consider installing GNU libiconv"
36814 cat >conftest.$ac_ext <<_ACEOF
36817 cat confdefs.h >>conftest.$ac_ext
36818 cat >>conftest.$ac_ext <<_ACEOF
36819 /* end confdefs.h. */
36820 #include <stdlib.h>
36825 iconv_t cd = iconv_open("","");
36826 iconv(cd,NULL,NULL,NULL,NULL);
36832 rm -f conftest.$ac_objext conftest$ac_exeext
36833 if { (ac_try="$ac_link"
36834 case "(($ac_try" in
36835 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36836 *) ac_try_echo
=$ac_try;;
36838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36839 (eval "$ac_link") 2>conftest.er1
36841 grep -v '^ *+' conftest.er1
>conftest.err
36843 cat conftest.err
>&5
36844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36845 (exit $ac_status); } && {
36846 test -z "$ac_c_werror_flag" ||
36847 test ! -s conftest.err
36848 } && test -s conftest
$ac_exeext &&
36849 $as_test_x conftest
$ac_exeext; then
36850 am_cv_func_iconv
=yes
36852 echo "$as_me: failed program was:" >&5
36853 sed 's/^/| /' conftest.
$ac_ext >&5
36858 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36859 conftest
$ac_exeext conftest.
$ac_ext
36860 if test "$am_cv_func_iconv" != yes; then
36861 am_save_LIBS
="$LIBS"
36862 LIBS
="$LIBS -liconv"
36863 cat >conftest.
$ac_ext <<_ACEOF
36866 cat confdefs.h
>>conftest.
$ac_ext
36867 cat >>conftest.
$ac_ext <<_ACEOF
36868 /* end confdefs.h. */
36869 #include <stdlib.h>
36874 iconv_t cd = iconv_open("","");
36875 iconv(cd,NULL,NULL,NULL,NULL);
36881 rm -f conftest.
$ac_objext conftest
$ac_exeext
36882 if { (ac_try
="$ac_link"
36883 case "(($ac_try" in
36884 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36885 *) ac_try_echo=$ac_try;;
36887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36888 (eval "$ac_link") 2>conftest.er1
36890 grep -v '^ *+' conftest.er1 >conftest.err
36892 cat conftest.err >&5
36893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36894 (exit $ac_status); } && {
36895 test -z "$ac_c_werror_flag" ||
36896 test ! -s conftest.err
36897 } && test -s conftest$ac_exeext &&
36898 $as_test_x conftest$ac_exeext; then
36899 am_cv_lib_iconv=yes
36900 am_cv_func_iconv=yes
36902 echo "$as_me: failed program was:" >&5
36903 sed 's/^/| /' conftest.$ac_ext >&5
36908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36909 conftest$ac_exeext conftest.$ac_ext
36910 LIBS="$am_save_LIBS"
36914 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36915 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36916 if test "$am_cv_func_iconv" = yes; then
36918 cat >>confdefs.h <<\_ACEOF
36919 #define HAVE_ICONV 1
36922 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36923 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36924 if test "${wx_cv_func_iconv_const+set}" = set; then
36925 echo $ECHO_N "(cached) $ECHO_C" >&6
36927 cat >conftest.$ac_ext <<_ACEOF
36930 cat confdefs.h >>conftest.$ac_ext
36931 cat >>conftest.$ac_ext <<_ACEOF
36932 /* end confdefs.h. */
36934 #include <stdlib.h>
36940 #if defined(__STDC__) || defined(__cplusplus)
36941 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36954 rm -f conftest.$ac_objext
36955 if { (ac_try="$ac_compile"
36956 case "(($ac_try" in
36957 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36958 *) ac_try_echo
=$ac_try;;
36960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36961 (eval "$ac_compile") 2>conftest.er1
36963 grep -v '^ *+' conftest.er1
>conftest.err
36965 cat conftest.err
>&5
36966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36967 (exit $ac_status); } && {
36968 test -z "$ac_c_werror_flag" ||
36969 test ! -s conftest.err
36970 } && test -s conftest.
$ac_objext; then
36971 wx_cv_func_iconv_const
="no"
36973 echo "$as_me: failed program was:" >&5
36974 sed 's/^/| /' conftest.
$ac_ext >&5
36976 wx_cv_func_iconv_const
="yes"
36980 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36983 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36984 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36987 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36988 iconv_const
="const"
36992 cat >>confdefs.h
<<_ACEOF
36993 #define ICONV_CONST $iconv_const
36998 if test "$am_cv_lib_iconv" = yes; then
37003 LIBS
="$LIBICONV $LIBS"
37006 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37008 for ac_func
in sigaction
37010 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37011 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37013 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37014 echo $ECHO_N "(cached) $ECHO_C" >&6
37016 cat >conftest.
$ac_ext <<_ACEOF
37019 cat confdefs.h
>>conftest.
$ac_ext
37020 cat >>conftest.
$ac_ext <<_ACEOF
37021 /* end confdefs.h. */
37022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37024 #define $ac_func innocuous_$ac_func
37026 /* System header to define __stub macros and hopefully few prototypes,
37027 which can conflict with char $ac_func (); below.
37028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37029 <limits.h> exists even on freestanding compilers. */
37032 # include <limits.h>
37034 # include <assert.h>
37039 /* Override any GCC internal prototype to avoid an error.
37040 Use char because int might match the return type of a GCC
37041 builtin and then its argument prototype would still apply. */
37046 /* The GNU C library defines this for functions which it implements
37047 to always fail with ENOSYS. Some functions are actually named
37048 something starting with __ and the normal name is an alias. */
37049 #if defined __stub_$ac_func || defined __stub___$ac_func
37056 return $ac_func ();
37061 rm -f conftest.
$ac_objext conftest
$ac_exeext
37062 if { (ac_try
="$ac_link"
37063 case "(($ac_try" in
37064 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37065 *) ac_try_echo=$ac_try;;
37067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37068 (eval "$ac_link") 2>conftest.er1
37070 grep -v '^ *+' conftest.er1 >conftest.err
37072 cat conftest.err >&5
37073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37074 (exit $ac_status); } && {
37075 test -z "$ac_c_werror_flag" ||
37076 test ! -s conftest.err
37077 } && test -s conftest$ac_exeext &&
37078 $as_test_x conftest$ac_exeext; then
37079 eval "$as_ac_var=yes"
37081 echo "$as_me: failed program was:" >&5
37082 sed 's/^/| /' conftest.$ac_ext >&5
37084 eval "$as_ac_var=no"
37087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37088 conftest$ac_exeext conftest.$ac_ext
37090 ac_res=`eval echo '${'$as_ac_var'}'`
37091 { echo "$as_me:$LINENO: result: $ac_res" >&5
37092 echo "${ECHO_T}$ac_res" >&6; }
37093 if test `eval echo '${'$as_ac_var'}'` = yes; then
37094 cat >>confdefs.h <<_ACEOF
37095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37102 if test "$ac_cv_func_sigaction" = "no"; then
37103 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37104 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37105 wxUSE_ON_FATAL_EXCEPTION=no
37108 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37109 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37110 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37111 if test "${wx_cv_type_sa_handler+set}" = set; then
37112 echo $ECHO_N "(cached) $ECHO_C" >&6
37116 ac_cpp='$CXXCPP $CPPFLAGS'
37117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37121 cat >conftest.$ac_ext <<_ACEOF
37124 cat confdefs.h >>conftest.$ac_ext
37125 cat >>conftest.$ac_ext <<_ACEOF
37126 /* end confdefs.h. */
37127 #include <signal.h>
37132 extern void testSigHandler(int);
37134 struct sigaction sa;
37135 sa.sa_handler = testSigHandler;
37141 rm -f conftest.$ac_objext
37142 if { (ac_try="$ac_compile"
37143 case "(($ac_try" in
37144 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37145 *) ac_try_echo
=$ac_try;;
37147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37148 (eval "$ac_compile") 2>conftest.er1
37150 grep -v '^ *+' conftest.er1
>conftest.err
37152 cat conftest.err
>&5
37153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37154 (exit $ac_status); } && {
37155 test -z "$ac_cxx_werror_flag" ||
37156 test ! -s conftest.err
37157 } && test -s conftest.
$ac_objext; then
37159 wx_cv_type_sa_handler
=int
37162 echo "$as_me: failed program was:" >&5
37163 sed 's/^/| /' conftest.
$ac_ext >&5
37166 wx_cv_type_sa_handler
=void
37170 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37172 ac_cpp
='$CPP $CPPFLAGS'
37173 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37174 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37175 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37179 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37180 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37182 cat >>confdefs.h
<<_ACEOF
37183 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37189 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37190 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37191 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37192 if test "${wx_cv_func_backtrace+set}" = set; then
37193 echo $ECHO_N "(cached) $ECHO_C" >&6
37197 ac_cpp
='$CXXCPP $CPPFLAGS'
37198 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37199 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37200 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37202 cat >conftest.
$ac_ext <<_ACEOF
37205 cat confdefs.h
>>conftest.
$ac_ext
37206 cat >>conftest.
$ac_ext <<_ACEOF
37207 /* end confdefs.h. */
37208 #include <execinfo.h>
37216 backtrace(trace, 1);
37217 messages = backtrace_symbols(trace, 1);
37223 rm -f conftest.
$ac_objext
37224 if { (ac_try
="$ac_compile"
37225 case "(($ac_try" in
37226 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37227 *) ac_try_echo=$ac_try;;
37229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37230 (eval "$ac_compile") 2>conftest.er1
37232 grep -v '^ *+' conftest.er1 >conftest.err
37234 cat conftest.err >&5
37235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37236 (exit $ac_status); } && {
37237 test -z "$ac_cxx_werror_flag" ||
37238 test ! -s conftest.err
37239 } && test -s conftest.$ac_objext; then
37240 wx_cv_func_backtrace=yes
37242 echo "$as_me: failed program was:" >&5
37243 sed 's/^/| /' conftest.$ac_ext >&5
37245 wx_cv_func_backtrace=no
37249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37251 ac_cpp='$CPP $CPPFLAGS'
37252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37259 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37260 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37263 if test "$wx_cv_func_backtrace" = "no"; then
37264 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37265 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37266 wxUSE_STACKWALKER=no
37268 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37269 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37270 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37271 echo $ECHO_N "(cached) $ECHO_C" >&6
37275 ac_cpp='$CXXCPP $CPPFLAGS'
37276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37280 cat >conftest.$ac_ext <<_ACEOF
37283 cat confdefs.h >>conftest.$ac_ext
37284 cat >>conftest.$ac_ext <<_ACEOF
37285 /* end confdefs.h. */
37286 #include <cxxabi.h>
37292 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37298 rm -f conftest.$ac_objext conftest$ac_exeext
37299 if { (ac_try="$ac_link"
37300 case "(($ac_try" in
37301 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37302 *) ac_try_echo
=$ac_try;;
37304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37305 (eval "$ac_link") 2>conftest.er1
37307 grep -v '^ *+' conftest.er1
>conftest.err
37309 cat conftest.err
>&5
37310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37311 (exit $ac_status); } && {
37312 test -z "$ac_cxx_werror_flag" ||
37313 test ! -s conftest.err
37314 } && test -s conftest
$ac_exeext &&
37315 $as_test_x conftest
$ac_exeext; then
37316 wx_cv_func_cxa_demangle
=yes
37318 echo "$as_me: failed program was:" >&5
37319 sed 's/^/| /' conftest.
$ac_ext >&5
37321 wx_cv_func_cxa_demangle
=no
37325 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37326 conftest
$ac_exeext conftest.
$ac_ext
37328 ac_cpp
='$CPP $CPPFLAGS'
37329 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37330 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37331 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37336 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37337 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
37339 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37340 cat >>confdefs.h
<<\_ACEOF
37341 #define HAVE_CXA_DEMANGLE 1
37348 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
37349 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37350 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37351 wxUSE_STACKWALKER
=no
37357 for ac_func
in mkstemp mktemp
37359 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37360 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37362 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37363 echo $ECHO_N "(cached) $ECHO_C" >&6
37365 cat >conftest.
$ac_ext <<_ACEOF
37368 cat confdefs.h
>>conftest.
$ac_ext
37369 cat >>conftest.
$ac_ext <<_ACEOF
37370 /* end confdefs.h. */
37371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37373 #define $ac_func innocuous_$ac_func
37375 /* System header to define __stub macros and hopefully few prototypes,
37376 which can conflict with char $ac_func (); below.
37377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37378 <limits.h> exists even on freestanding compilers. */
37381 # include <limits.h>
37383 # include <assert.h>
37388 /* Override any GCC internal prototype to avoid an error.
37389 Use char because int might match the return type of a GCC
37390 builtin and then its argument prototype would still apply. */
37395 /* The GNU C library defines this for functions which it implements
37396 to always fail with ENOSYS. Some functions are actually named
37397 something starting with __ and the normal name is an alias. */
37398 #if defined __stub_$ac_func || defined __stub___$ac_func
37405 return $ac_func ();
37410 rm -f conftest.
$ac_objext conftest
$ac_exeext
37411 if { (ac_try
="$ac_link"
37412 case "(($ac_try" in
37413 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37414 *) ac_try_echo=$ac_try;;
37416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37417 (eval "$ac_link") 2>conftest.er1
37419 grep -v '^ *+' conftest.er1 >conftest.err
37421 cat conftest.err >&5
37422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37423 (exit $ac_status); } && {
37424 test -z "$ac_c_werror_flag" ||
37425 test ! -s conftest.err
37426 } && test -s conftest$ac_exeext &&
37427 $as_test_x conftest$ac_exeext; then
37428 eval "$as_ac_var=yes"
37430 echo "$as_me: failed program was:" >&5
37431 sed 's/^/| /' conftest.$ac_ext >&5
37433 eval "$as_ac_var=no"
37436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37437 conftest$ac_exeext conftest.$ac_ext
37439 ac_res=`eval echo '${'$as_ac_var'}'`
37440 { echo "$as_me:$LINENO: result: $ac_res" >&5
37441 echo "${ECHO_T}$ac_res" >&6; }
37442 if test `eval echo '${'$as_ac_var'}'` = yes; then
37443 cat >>confdefs.h <<_ACEOF
37444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37451 { echo "$as_me:$LINENO: checking for statfs" >&5
37452 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
37453 if test "${wx_cv_func_statfs+set}" = set; then
37454 echo $ECHO_N "(cached) $ECHO_C" >&6
37456 cat >conftest.$ac_ext <<_ACEOF
37459 cat confdefs.h >>conftest.$ac_ext
37460 cat >>conftest.$ac_ext <<_ACEOF
37461 /* end confdefs.h. */
37463 #if defined(__BSD__)
37464 #include <sys/param.h>
37465 #include <sys/mount.h>
37467 #include <sys/vfs.h>
37485 rm -f conftest.$ac_objext
37486 if { (ac_try="$ac_compile"
37487 case "(($ac_try" in
37488 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37489 *) ac_try_echo
=$ac_try;;
37491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37492 (eval "$ac_compile") 2>conftest.er1
37494 grep -v '^ *+' conftest.er1
>conftest.err
37496 cat conftest.err
>&5
37497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37498 (exit $ac_status); } && {
37499 test -z "$ac_c_werror_flag" ||
37500 test ! -s conftest.err
37501 } && test -s conftest.
$ac_objext; then
37502 wx_cv_func_statfs
=yes
37504 echo "$as_me: failed program was:" >&5
37505 sed 's/^/| /' conftest.
$ac_ext >&5
37507 wx_cv_func_statfs
=no
37511 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37514 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37515 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
37517 if test "$wx_cv_func_statfs" = "yes"; then
37518 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
37519 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
37520 if test "${wx_cv_func_statfs_decl+set}" = set; then
37521 echo $ECHO_N "(cached) $ECHO_C" >&6
37524 ac_cpp
='$CXXCPP $CPPFLAGS'
37525 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37526 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37527 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37529 cat >conftest.
$ac_ext <<_ACEOF
37532 cat confdefs.h
>>conftest.
$ac_ext
37533 cat >>conftest.
$ac_ext <<_ACEOF
37534 /* end confdefs.h. */
37536 #if defined(__BSD__)
37537 #include <sys/param.h>
37538 #include <sys/mount.h>
37540 #include <sys/vfs.h>
37554 rm -f conftest.
$ac_objext
37555 if { (ac_try
="$ac_compile"
37556 case "(($ac_try" in
37557 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37558 *) ac_try_echo=$ac_try;;
37560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37561 (eval "$ac_compile") 2>conftest.er1
37563 grep -v '^ *+' conftest.er1 >conftest.err
37565 cat conftest.err >&5
37566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37567 (exit $ac_status); } && {
37568 test -z "$ac_cxx_werror_flag" ||
37569 test ! -s conftest.err
37570 } && test -s conftest.$ac_objext; then
37571 wx_cv_func_statfs_decl=yes
37573 echo "$as_me: failed program was:" >&5
37574 sed 's/^/| /' conftest.$ac_ext >&5
37576 wx_cv_func_statfs_decl=no
37580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37582 ac_cpp='$CPP $CPPFLAGS'
37583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37589 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37590 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
37592 if test "$wx_cv_func_statfs_decl" = "yes"; then
37593 cat >>confdefs.h <<\_ACEOF
37594 #define HAVE_STATFS_DECL 1
37599 wx_cv_type_statvfs_t="struct statfs"
37600 cat >>confdefs.h <<\_ACEOF
37601 #define HAVE_STATFS 1
37605 { echo "$as_me:$LINENO: checking for statvfs" >&5
37606 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
37607 if test "${wx_cv_func_statvfs+set}" = set; then
37608 echo $ECHO_N "(cached) $ECHO_C" >&6
37610 cat >conftest.$ac_ext <<_ACEOF
37613 cat confdefs.h >>conftest.$ac_ext
37614 cat >>conftest.$ac_ext <<_ACEOF
37615 /* end confdefs.h. */
37617 #include <stddef.h>
37618 #include <sys/statvfs.h>
37624 statvfs("/", NULL);
37630 rm -f conftest.$ac_objext
37631 if { (ac_try="$ac_compile"
37632 case "(($ac_try" in
37633 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37634 *) ac_try_echo
=$ac_try;;
37636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37637 (eval "$ac_compile") 2>conftest.er1
37639 grep -v '^ *+' conftest.er1
>conftest.err
37641 cat conftest.err
>&5
37642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37643 (exit $ac_status); } && {
37644 test -z "$ac_c_werror_flag" ||
37645 test ! -s conftest.err
37646 } && test -s conftest.
$ac_objext; then
37647 wx_cv_func_statvfs
=yes
37649 echo "$as_me: failed program was:" >&5
37650 sed 's/^/| /' conftest.
$ac_ext >&5
37652 wx_cv_func_statvfs
=no
37656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37659 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37660 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37662 if test "$wx_cv_func_statvfs" = "yes"; then
37663 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37664 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37665 if test "${wx_cv_type_statvfs_t+set}" = set; then
37666 echo $ECHO_N "(cached) $ECHO_C" >&6
37669 ac_cpp
='$CXXCPP $CPPFLAGS'
37670 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37671 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37672 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37674 cat >conftest.
$ac_ext <<_ACEOF
37677 cat confdefs.h
>>conftest.
$ac_ext
37678 cat >>conftest.
$ac_ext <<_ACEOF
37679 /* end confdefs.h. */
37681 #include <sys/statvfs.h>
37698 rm -f conftest.
$ac_objext
37699 if { (ac_try
="$ac_compile"
37700 case "(($ac_try" in
37701 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37702 *) ac_try_echo=$ac_try;;
37704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37705 (eval "$ac_compile") 2>conftest.er1
37707 grep -v '^ *+' conftest.er1 >conftest.err
37709 cat conftest.err >&5
37710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37711 (exit $ac_status); } && {
37712 test -z "$ac_cxx_werror_flag" ||
37713 test ! -s conftest.err
37714 } && test -s conftest.$ac_objext; then
37715 wx_cv_type_statvfs_t=statvfs_t
37717 echo "$as_me: failed program was:" >&5
37718 sed 's/^/| /' conftest.$ac_ext >&5
37721 cat >conftest.$ac_ext <<_ACEOF
37724 cat confdefs.h >>conftest.$ac_ext
37725 cat >>conftest.$ac_ext <<_ACEOF
37726 /* end confdefs.h. */
37728 #include <sys/statvfs.h>
37745 rm -f conftest.$ac_objext
37746 if { (ac_try="$ac_compile"
37747 case "(($ac_try" in
37748 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37749 *) ac_try_echo
=$ac_try;;
37751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37752 (eval "$ac_compile") 2>conftest.er1
37754 grep -v '^ *+' conftest.er1
>conftest.err
37756 cat conftest.err
>&5
37757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37758 (exit $ac_status); } && {
37759 test -z "$ac_cxx_werror_flag" ||
37760 test ! -s conftest.err
37761 } && test -s conftest.
$ac_objext; then
37762 wx_cv_type_statvfs_t
="struct statvfs"
37764 echo "$as_me: failed program was:" >&5
37765 sed 's/^/| /' conftest.
$ac_ext >&5
37767 wx_cv_type_statvfs_t
="unknown"
37771 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37776 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37778 ac_cpp
='$CPP $CPPFLAGS'
37779 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37780 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37781 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37785 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37786 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37788 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37789 cat >>confdefs.h
<<\_ACEOF
37790 #define HAVE_STATVFS 1
37795 wx_cv_type_statvfs_t
="unknown"
37799 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37800 cat >>confdefs.h
<<_ACEOF
37801 #define WX_STATFS_T $wx_cv_type_statvfs_t
37805 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37806 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37809 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37812 for ac_func
in fcntl flock
37814 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37815 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37817 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37818 echo $ECHO_N "(cached) $ECHO_C" >&6
37820 cat >conftest.
$ac_ext <<_ACEOF
37823 cat confdefs.h
>>conftest.
$ac_ext
37824 cat >>conftest.
$ac_ext <<_ACEOF
37825 /* end confdefs.h. */
37826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37828 #define $ac_func innocuous_$ac_func
37830 /* System header to define __stub macros and hopefully few prototypes,
37831 which can conflict with char $ac_func (); below.
37832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37833 <limits.h> exists even on freestanding compilers. */
37836 # include <limits.h>
37838 # include <assert.h>
37843 /* Override any GCC internal prototype to avoid an error.
37844 Use char because int might match the return type of a GCC
37845 builtin and then its argument prototype would still apply. */
37850 /* The GNU C library defines this for functions which it implements
37851 to always fail with ENOSYS. Some functions are actually named
37852 something starting with __ and the normal name is an alias. */
37853 #if defined __stub_$ac_func || defined __stub___$ac_func
37860 return $ac_func ();
37865 rm -f conftest.
$ac_objext conftest
$ac_exeext
37866 if { (ac_try
="$ac_link"
37867 case "(($ac_try" in
37868 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37869 *) ac_try_echo=$ac_try;;
37871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37872 (eval "$ac_link") 2>conftest.er1
37874 grep -v '^ *+' conftest.er1 >conftest.err
37876 cat conftest.err >&5
37877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37878 (exit $ac_status); } && {
37879 test -z "$ac_c_werror_flag" ||
37880 test ! -s conftest.err
37881 } && test -s conftest$ac_exeext &&
37882 $as_test_x conftest$ac_exeext; then
37883 eval "$as_ac_var=yes"
37885 echo "$as_me: failed program was:" >&5
37886 sed 's/^/| /' conftest.$ac_ext >&5
37888 eval "$as_ac_var=no"
37891 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37892 conftest$ac_exeext conftest.$ac_ext
37894 ac_res=`eval echo '${'$as_ac_var'}'`
37895 { echo "$as_me:$LINENO: result: $ac_res" >&5
37896 echo "${ECHO_T}$ac_res" >&6; }
37897 if test `eval echo '${'$as_ac_var'}'` = yes; then
37898 cat >>confdefs.h <<_ACEOF
37899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37906 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37907 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37908 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37909 wxUSE_SNGLINST_CHECKER=no
37915 for ac_func in setenv putenv
37917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37918 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37920 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37921 echo $ECHO_N "(cached) $ECHO_C" >&6
37923 cat >conftest.$ac_ext <<_ACEOF
37926 cat confdefs.h >>conftest.$ac_ext
37927 cat >>conftest.$ac_ext <<_ACEOF
37928 /* end confdefs.h. */
37929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37931 #define $ac_func innocuous_$ac_func
37933 /* System header to define __stub macros and hopefully few prototypes,
37934 which can conflict with char $ac_func (); below.
37935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37936 <limits.h> exists even on freestanding compilers. */
37939 # include <limits.h>
37941 # include <assert.h>
37946 /* Override any GCC internal prototype to avoid an error.
37947 Use char because int might match the return type of a GCC
37948 builtin and then its argument prototype would still apply. */
37953 /* The GNU C library defines this for functions which it implements
37954 to always fail with ENOSYS. Some functions are actually named
37955 something starting with __ and the normal name is an alias. */
37956 #if defined __stub_$ac_func || defined __stub___$ac_func
37963 return $ac_func ();
37968 rm -f conftest.$ac_objext conftest$ac_exeext
37969 if { (ac_try="$ac_link"
37970 case "(($ac_try" in
37971 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37972 *) ac_try_echo
=$ac_try;;
37974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37975 (eval "$ac_link") 2>conftest.er1
37977 grep -v '^ *+' conftest.er1
>conftest.err
37979 cat conftest.err
>&5
37980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37981 (exit $ac_status); } && {
37982 test -z "$ac_c_werror_flag" ||
37983 test ! -s conftest.err
37984 } && test -s conftest
$ac_exeext &&
37985 $as_test_x conftest
$ac_exeext; then
37986 eval "$as_ac_var=yes"
37988 echo "$as_me: failed program was:" >&5
37989 sed 's/^/| /' conftest.
$ac_ext >&5
37991 eval "$as_ac_var=no"
37994 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37995 conftest
$ac_exeext conftest.
$ac_ext
37997 ac_res
=`eval echo '${'$as_ac_var'}'`
37998 { echo "$as_me:$LINENO: result: $ac_res" >&5
37999 echo "${ECHO_T}$ac_res" >&6; }
38000 if test `eval echo '${'$as_ac_var'}'` = yes; then
38001 cat >>confdefs.h
<<_ACEOF
38002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38008 if test "$ac_cv_func_setenv" = "yes"; then
38010 for ac_func
in unsetenv
38012 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38013 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38015 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38016 echo $ECHO_N "(cached) $ECHO_C" >&6
38018 cat >conftest.
$ac_ext <<_ACEOF
38021 cat confdefs.h
>>conftest.
$ac_ext
38022 cat >>conftest.
$ac_ext <<_ACEOF
38023 /* end confdefs.h. */
38024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38026 #define $ac_func innocuous_$ac_func
38028 /* System header to define __stub macros and hopefully few prototypes,
38029 which can conflict with char $ac_func (); below.
38030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38031 <limits.h> exists even on freestanding compilers. */
38034 # include <limits.h>
38036 # include <assert.h>
38041 /* Override any GCC internal prototype to avoid an error.
38042 Use char because int might match the return type of a GCC
38043 builtin and then its argument prototype would still apply. */
38048 /* The GNU C library defines this for functions which it implements
38049 to always fail with ENOSYS. Some functions are actually named
38050 something starting with __ and the normal name is an alias. */
38051 #if defined __stub_$ac_func || defined __stub___$ac_func
38058 return $ac_func ();
38063 rm -f conftest.
$ac_objext conftest
$ac_exeext
38064 if { (ac_try
="$ac_link"
38065 case "(($ac_try" in
38066 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38067 *) ac_try_echo=$ac_try;;
38069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38070 (eval "$ac_link") 2>conftest.er1
38072 grep -v '^ *+' conftest.er1 >conftest.err
38074 cat conftest.err >&5
38075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38076 (exit $ac_status); } && {
38077 test -z "$ac_c_werror_flag" ||
38078 test ! -s conftest.err
38079 } && test -s conftest$ac_exeext &&
38080 $as_test_x conftest$ac_exeext; then
38081 eval "$as_ac_var=yes"
38083 echo "$as_me: failed program was:" >&5
38084 sed 's/^/| /' conftest.$ac_ext >&5
38086 eval "$as_ac_var=no"
38089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38090 conftest$ac_exeext conftest.$ac_ext
38092 ac_res=`eval echo '${'$as_ac_var'}'`
38093 { echo "$as_me:$LINENO: result: $ac_res" >&5
38094 echo "${ECHO_T}$ac_res" >&6; }
38095 if test `eval echo '${'$as_ac_var'}'` = yes; then
38096 cat >>confdefs.h <<_ACEOF
38097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38105 HAVE_SOME_SLEEP_FUNC=0
38106 if test "$USE_BEOS" = 1; then
38107 cat >>confdefs.h <<\_ACEOF
38108 #define HAVE_SLEEP 1
38111 HAVE_SOME_SLEEP_FUNC=1
38114 if test "$USE_DARWIN" = 1; then
38115 cat >>confdefs.h <<\_ACEOF
38116 #define HAVE_USLEEP 1
38119 HAVE_SOME_SLEEP_FUNC=1
38122 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38125 for ac_func in nanosleep
38127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38128 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38130 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38131 echo $ECHO_N "(cached) $ECHO_C" >&6
38133 cat >conftest.$ac_ext <<_ACEOF
38136 cat confdefs.h >>conftest.$ac_ext
38137 cat >>conftest.$ac_ext <<_ACEOF
38138 /* end confdefs.h. */
38139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38141 #define $ac_func innocuous_$ac_func
38143 /* System header to define __stub macros and hopefully few prototypes,
38144 which can conflict with char $ac_func (); below.
38145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38146 <limits.h> exists even on freestanding compilers. */
38149 # include <limits.h>
38151 # include <assert.h>
38156 /* Override any GCC internal prototype to avoid an error.
38157 Use char because int might match the return type of a GCC
38158 builtin and then its argument prototype would still apply. */
38163 /* The GNU C library defines this for functions which it implements
38164 to always fail with ENOSYS. Some functions are actually named
38165 something starting with __ and the normal name is an alias. */
38166 #if defined __stub_$ac_func || defined __stub___$ac_func
38173 return $ac_func ();
38178 rm -f conftest.$ac_objext conftest$ac_exeext
38179 if { (ac_try="$ac_link"
38180 case "(($ac_try" in
38181 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38182 *) ac_try_echo
=$ac_try;;
38184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38185 (eval "$ac_link") 2>conftest.er1
38187 grep -v '^ *+' conftest.er1
>conftest.err
38189 cat conftest.err
>&5
38190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38191 (exit $ac_status); } && {
38192 test -z "$ac_c_werror_flag" ||
38193 test ! -s conftest.err
38194 } && test -s conftest
$ac_exeext &&
38195 $as_test_x conftest
$ac_exeext; then
38196 eval "$as_ac_var=yes"
38198 echo "$as_me: failed program was:" >&5
38199 sed 's/^/| /' conftest.
$ac_ext >&5
38201 eval "$as_ac_var=no"
38204 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38205 conftest
$ac_exeext conftest.
$ac_ext
38207 ac_res
=`eval echo '${'$as_ac_var'}'`
38208 { echo "$as_me:$LINENO: result: $ac_res" >&5
38209 echo "${ECHO_T}$ac_res" >&6; }
38210 if test `eval echo '${'$as_ac_var'}'` = yes; then
38211 cat >>confdefs.h
<<_ACEOF
38212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38214 cat >>confdefs.h
<<\_ACEOF
38215 #define HAVE_NANOSLEEP 1
38220 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38221 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38222 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38223 echo $ECHO_N "(cached) $ECHO_C" >&6
38225 ac_check_lib_save_LIBS
=$LIBS
38226 LIBS
="-lposix4 $LIBS"
38227 cat >conftest.
$ac_ext <<_ACEOF
38230 cat confdefs.h
>>conftest.
$ac_ext
38231 cat >>conftest.
$ac_ext <<_ACEOF
38232 /* end confdefs.h. */
38234 /* Override any GCC internal prototype to avoid an error.
38235 Use char because int might match the return type of a GCC
38236 builtin and then its argument prototype would still apply. */
38244 return nanosleep ();
38249 rm -f conftest.
$ac_objext conftest
$ac_exeext
38250 if { (ac_try
="$ac_link"
38251 case "(($ac_try" in
38252 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38253 *) ac_try_echo=$ac_try;;
38255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38256 (eval "$ac_link") 2>conftest.er1
38258 grep -v '^ *+' conftest.er1 >conftest.err
38260 cat conftest.err >&5
38261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38262 (exit $ac_status); } && {
38263 test -z "$ac_c_werror_flag" ||
38264 test ! -s conftest.err
38265 } && test -s conftest$ac_exeext &&
38266 $as_test_x conftest$ac_exeext; then
38267 ac_cv_lib_posix4_nanosleep=yes
38269 echo "$as_me: failed program was:" >&5
38270 sed 's/^/| /' conftest.$ac_ext >&5
38272 ac_cv_lib_posix4_nanosleep=no
38275 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38276 conftest$ac_exeext conftest.$ac_ext
38277 LIBS=$ac_check_lib_save_LIBS
38279 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38280 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
38281 if test $ac_cv_lib_posix4_nanosleep = yes; then
38283 cat >>confdefs.h <<\_ACEOF
38284 #define HAVE_NANOSLEEP 1
38287 POSIX4_LINK=" -lposix4"
38292 for wx_func in usleep
38294 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38295 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38296 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38297 echo $ECHO_N "(cached) $ECHO_C" >&6
38300 cat >conftest.$ac_ext <<_ACEOF
38304 cat confdefs.h >>conftest.$ac_ext
38305 cat >>conftest.$ac_ext <<_ACEOF
38306 /* end confdefs.h. */
38309 $ac_includes_default
38325 rm -f conftest.$ac_objext conftest$ac_exeext
38326 if { (ac_try="$ac_link"
38327 case "(($ac_try" in
38328 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38329 *) ac_try_echo
=$ac_try;;
38331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38332 (eval "$ac_link") 2>conftest.er1
38334 grep -v '^ *+' conftest.er1
>conftest.err
38336 cat conftest.err
>&5
38337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38338 (exit $ac_status); } && {
38339 test -z "$ac_c_werror_flag" ||
38340 test ! -s conftest.err
38341 } && test -s conftest
$ac_exeext &&
38342 $as_test_x conftest
$ac_exeext; then
38343 eval wx_cv_func_
$wx_func=yes
38345 echo "$as_me: failed program was:" >&5
38346 sed 's/^/| /' conftest.
$ac_ext >&5
38348 eval wx_cv_func_
$wx_func=no
38351 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38352 conftest
$ac_exeext conftest.
$ac_ext
38355 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38356 { echo "$as_me:$LINENO: result: $ac_res" >&5
38357 echo "${ECHO_T}$ac_res" >&6; }
38359 if eval test \
$wx_cv_func_$wx_func = yes
38361 cat >>confdefs.h
<<_ACEOF
38362 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38368 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38369 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38386 for wx_func
in uname
38388 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38389 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38390 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38391 echo $ECHO_N "(cached) $ECHO_C" >&6
38394 cat >conftest.
$ac_ext <<_ACEOF
38398 cat confdefs.h
>>conftest.
$ac_ext
38399 cat >>conftest.
$ac_ext <<_ACEOF
38400 /* end confdefs.h. */
38402 #include <sys/utsname.h>
38403 $ac_includes_default
38419 rm -f conftest.
$ac_objext conftest
$ac_exeext
38420 if { (ac_try
="$ac_link"
38421 case "(($ac_try" in
38422 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38423 *) ac_try_echo=$ac_try;;
38425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38426 (eval "$ac_link") 2>conftest.er1
38428 grep -v '^ *+' conftest.er1 >conftest.err
38430 cat conftest.err >&5
38431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38432 (exit $ac_status); } && {
38433 test -z "$ac_c_werror_flag" ||
38434 test ! -s conftest.err
38435 } && test -s conftest$ac_exeext &&
38436 $as_test_x conftest$ac_exeext; then
38437 eval wx_cv_func_$wx_func=yes
38439 echo "$as_me: failed program was:" >&5
38440 sed 's/^/| /' conftest.$ac_ext >&5
38442 eval wx_cv_func_$wx_func=no
38445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38446 conftest$ac_exeext conftest.$ac_ext
38449 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38450 { echo "$as_me:$LINENO: result: $ac_res" >&5
38451 echo "${ECHO_T}$ac_res" >&6; }
38453 if eval test \$wx_cv_func_$wx_func = yes
38455 cat >>confdefs.h <<_ACEOF
38456 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38466 if test "$wx_cv_func_uname" != yes; then
38468 for wx_func in gethostname
38470 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38471 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38472 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38473 echo $ECHO_N "(cached) $ECHO_C" >&6
38476 cat >conftest.$ac_ext <<_ACEOF
38480 cat confdefs.h >>conftest.$ac_ext
38481 cat >>conftest.$ac_ext <<_ACEOF
38482 /* end confdefs.h. */
38485 $ac_includes_default
38501 rm -f conftest.$ac_objext conftest$ac_exeext
38502 if { (ac_try="$ac_link"
38503 case "(($ac_try" in
38504 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38505 *) ac_try_echo
=$ac_try;;
38507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38508 (eval "$ac_link") 2>conftest.er1
38510 grep -v '^ *+' conftest.er1
>conftest.err
38512 cat conftest.err
>&5
38513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38514 (exit $ac_status); } && {
38515 test -z "$ac_c_werror_flag" ||
38516 test ! -s conftest.err
38517 } && test -s conftest
$ac_exeext &&
38518 $as_test_x conftest
$ac_exeext; then
38519 eval wx_cv_func_
$wx_func=yes
38521 echo "$as_me: failed program was:" >&5
38522 sed 's/^/| /' conftest.
$ac_ext >&5
38524 eval wx_cv_func_
$wx_func=no
38527 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38528 conftest
$ac_exeext conftest.
$ac_ext
38531 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38532 { echo "$as_me:$LINENO: result: $ac_res" >&5
38533 echo "${ECHO_T}$ac_res" >&6; }
38535 if eval test \
$wx_cv_func_$wx_func = yes
38537 cat >>confdefs.h
<<_ACEOF
38538 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38551 for wx_func
in strtok_r
38553 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38554 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38555 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38556 echo $ECHO_N "(cached) $ECHO_C" >&6
38559 cat >conftest.
$ac_ext <<_ACEOF
38563 cat confdefs.h
>>conftest.
$ac_ext
38564 cat >>conftest.
$ac_ext <<_ACEOF
38565 /* end confdefs.h. */
38568 $ac_includes_default
38584 rm -f conftest.
$ac_objext conftest
$ac_exeext
38585 if { (ac_try
="$ac_link"
38586 case "(($ac_try" in
38587 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38588 *) ac_try_echo=$ac_try;;
38590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38591 (eval "$ac_link") 2>conftest.er1
38593 grep -v '^ *+' conftest.er1 >conftest.err
38595 cat conftest.err >&5
38596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38597 (exit $ac_status); } && {
38598 test -z "$ac_c_werror_flag" ||
38599 test ! -s conftest.err
38600 } && test -s conftest$ac_exeext &&
38601 $as_test_x conftest$ac_exeext; then
38602 eval wx_cv_func_$wx_func=yes
38604 echo "$as_me: failed program was:" >&5
38605 sed 's/^/| /' conftest.$ac_ext >&5
38607 eval wx_cv_func_$wx_func=no
38610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38611 conftest$ac_exeext conftest.$ac_ext
38614 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38615 { echo "$as_me:$LINENO: result: $ac_res" >&5
38616 echo "${ECHO_T}$ac_res" >&6; }
38618 if eval test \$wx_cv_func_$wx_func = yes
38620 cat >>confdefs.h <<_ACEOF
38621 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38634 for ac_func in inet_addr
38636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38637 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38639 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38640 echo $ECHO_N "(cached) $ECHO_C" >&6
38642 cat >conftest.$ac_ext <<_ACEOF
38645 cat confdefs.h >>conftest.$ac_ext
38646 cat >>conftest.$ac_ext <<_ACEOF
38647 /* end confdefs.h. */
38648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38650 #define $ac_func innocuous_$ac_func
38652 /* System header to define __stub macros and hopefully few prototypes,
38653 which can conflict with char $ac_func (); below.
38654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38655 <limits.h> exists even on freestanding compilers. */
38658 # include <limits.h>
38660 # include <assert.h>
38665 /* Override any GCC internal prototype to avoid an error.
38666 Use char because int might match the return type of a GCC
38667 builtin and then its argument prototype would still apply. */
38672 /* The GNU C library defines this for functions which it implements
38673 to always fail with ENOSYS. Some functions are actually named
38674 something starting with __ and the normal name is an alias. */
38675 #if defined __stub_$ac_func || defined __stub___$ac_func
38682 return $ac_func ();
38687 rm -f conftest.$ac_objext conftest$ac_exeext
38688 if { (ac_try="$ac_link"
38689 case "(($ac_try" in
38690 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38691 *) ac_try_echo
=$ac_try;;
38693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38694 (eval "$ac_link") 2>conftest.er1
38696 grep -v '^ *+' conftest.er1
>conftest.err
38698 cat conftest.err
>&5
38699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38700 (exit $ac_status); } && {
38701 test -z "$ac_c_werror_flag" ||
38702 test ! -s conftest.err
38703 } && test -s conftest
$ac_exeext &&
38704 $as_test_x conftest
$ac_exeext; then
38705 eval "$as_ac_var=yes"
38707 echo "$as_me: failed program was:" >&5
38708 sed 's/^/| /' conftest.
$ac_ext >&5
38710 eval "$as_ac_var=no"
38713 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38714 conftest
$ac_exeext conftest.
$ac_ext
38716 ac_res
=`eval echo '${'$as_ac_var'}'`
38717 { echo "$as_me:$LINENO: result: $ac_res" >&5
38718 echo "${ECHO_T}$ac_res" >&6; }
38719 if test `eval echo '${'$as_ac_var'}'` = yes; then
38720 cat >>confdefs.h
<<_ACEOF
38721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38723 cat >>confdefs.h
<<\_ACEOF
38724 #define HAVE_INET_ADDR 1
38729 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38730 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38731 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38732 echo $ECHO_N "(cached) $ECHO_C" >&6
38734 ac_check_lib_save_LIBS
=$LIBS
38736 cat >conftest.
$ac_ext <<_ACEOF
38739 cat confdefs.h
>>conftest.
$ac_ext
38740 cat >>conftest.
$ac_ext <<_ACEOF
38741 /* end confdefs.h. */
38743 /* Override any GCC internal prototype to avoid an error.
38744 Use char because int might match the return type of a GCC
38745 builtin and then its argument prototype would still apply. */
38753 return inet_addr ();
38758 rm -f conftest.
$ac_objext conftest
$ac_exeext
38759 if { (ac_try
="$ac_link"
38760 case "(($ac_try" in
38761 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38762 *) ac_try_echo=$ac_try;;
38764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38765 (eval "$ac_link") 2>conftest.er1
38767 grep -v '^ *+' conftest.er1 >conftest.err
38769 cat conftest.err >&5
38770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38771 (exit $ac_status); } && {
38772 test -z "$ac_c_werror_flag" ||
38773 test ! -s conftest.err
38774 } && test -s conftest$ac_exeext &&
38775 $as_test_x conftest$ac_exeext; then
38776 ac_cv_lib_nsl_inet_addr=yes
38778 echo "$as_me: failed program was:" >&5
38779 sed 's/^/| /' conftest.$ac_ext >&5
38781 ac_cv_lib_nsl_inet_addr=no
38784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38785 conftest$ac_exeext conftest.$ac_ext
38786 LIBS=$ac_check_lib_save_LIBS
38788 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38789 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38790 if test $ac_cv_lib_nsl_inet_addr = yes; then
38794 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38795 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38796 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38797 echo $ECHO_N "(cached) $ECHO_C" >&6
38799 ac_check_lib_save_LIBS=$LIBS
38800 LIBS="-lresolv $LIBS"
38801 cat >conftest.$ac_ext <<_ACEOF
38804 cat confdefs.h >>conftest.$ac_ext
38805 cat >>conftest.$ac_ext <<_ACEOF
38806 /* end confdefs.h. */
38808 /* Override any GCC internal prototype to avoid an error.
38809 Use char because int might match the return type of a GCC
38810 builtin and then its argument prototype would still apply. */
38818 return inet_addr ();
38823 rm -f conftest.$ac_objext conftest$ac_exeext
38824 if { (ac_try="$ac_link"
38825 case "(($ac_try" in
38826 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38827 *) ac_try_echo
=$ac_try;;
38829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38830 (eval "$ac_link") 2>conftest.er1
38832 grep -v '^ *+' conftest.er1
>conftest.err
38834 cat conftest.err
>&5
38835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38836 (exit $ac_status); } && {
38837 test -z "$ac_c_werror_flag" ||
38838 test ! -s conftest.err
38839 } && test -s conftest
$ac_exeext &&
38840 $as_test_x conftest
$ac_exeext; then
38841 ac_cv_lib_resolv_inet_addr
=yes
38843 echo "$as_me: failed program was:" >&5
38844 sed 's/^/| /' conftest.
$ac_ext >&5
38846 ac_cv_lib_resolv_inet_addr
=no
38849 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38850 conftest
$ac_exeext conftest.
$ac_ext
38851 LIBS
=$ac_check_lib_save_LIBS
38853 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38854 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38855 if test $ac_cv_lib_resolv_inet_addr = yes; then
38859 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38860 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38861 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38862 echo $ECHO_N "(cached) $ECHO_C" >&6
38864 ac_check_lib_save_LIBS
=$LIBS
38865 LIBS
="-lsocket $LIBS"
38866 cat >conftest.
$ac_ext <<_ACEOF
38869 cat confdefs.h
>>conftest.
$ac_ext
38870 cat >>conftest.
$ac_ext <<_ACEOF
38871 /* end confdefs.h. */
38873 /* Override any GCC internal prototype to avoid an error.
38874 Use char because int might match the return type of a GCC
38875 builtin and then its argument prototype would still apply. */
38883 return inet_addr ();
38888 rm -f conftest.
$ac_objext conftest
$ac_exeext
38889 if { (ac_try
="$ac_link"
38890 case "(($ac_try" in
38891 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38892 *) ac_try_echo=$ac_try;;
38894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38895 (eval "$ac_link") 2>conftest.er1
38897 grep -v '^ *+' conftest.er1 >conftest.err
38899 cat conftest.err >&5
38900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38901 (exit $ac_status); } && {
38902 test -z "$ac_c_werror_flag" ||
38903 test ! -s conftest.err
38904 } && test -s conftest$ac_exeext &&
38905 $as_test_x conftest$ac_exeext; then
38906 ac_cv_lib_socket_inet_addr=yes
38908 echo "$as_me: failed program was:" >&5
38909 sed 's/^/| /' conftest.$ac_ext >&5
38911 ac_cv_lib_socket_inet_addr=no
38914 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38915 conftest$ac_exeext conftest.$ac_ext
38916 LIBS=$ac_check_lib_save_LIBS
38918 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38919 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38920 if test $ac_cv_lib_socket_inet_addr = yes; then
38940 for ac_func in inet_aton
38942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38943 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38945 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38946 echo $ECHO_N "(cached) $ECHO_C" >&6
38948 cat >conftest.$ac_ext <<_ACEOF
38951 cat confdefs.h >>conftest.$ac_ext
38952 cat >>conftest.$ac_ext <<_ACEOF
38953 /* end confdefs.h. */
38954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38956 #define $ac_func innocuous_$ac_func
38958 /* System header to define __stub macros and hopefully few prototypes,
38959 which can conflict with char $ac_func (); below.
38960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38961 <limits.h> exists even on freestanding compilers. */
38964 # include <limits.h>
38966 # include <assert.h>
38971 /* Override any GCC internal prototype to avoid an error.
38972 Use char because int might match the return type of a GCC
38973 builtin and then its argument prototype would still apply. */
38978 /* The GNU C library defines this for functions which it implements
38979 to always fail with ENOSYS. Some functions are actually named
38980 something starting with __ and the normal name is an alias. */
38981 #if defined __stub_$ac_func || defined __stub___$ac_func
38988 return $ac_func ();
38993 rm -f conftest.$ac_objext conftest$ac_exeext
38994 if { (ac_try="$ac_link"
38995 case "(($ac_try" in
38996 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38997 *) ac_try_echo
=$ac_try;;
38999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39000 (eval "$ac_link") 2>conftest.er1
39002 grep -v '^ *+' conftest.er1
>conftest.err
39004 cat conftest.err
>&5
39005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39006 (exit $ac_status); } && {
39007 test -z "$ac_c_werror_flag" ||
39008 test ! -s conftest.err
39009 } && test -s conftest
$ac_exeext &&
39010 $as_test_x conftest
$ac_exeext; then
39011 eval "$as_ac_var=yes"
39013 echo "$as_me: failed program was:" >&5
39014 sed 's/^/| /' conftest.
$ac_ext >&5
39016 eval "$as_ac_var=no"
39019 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39020 conftest
$ac_exeext conftest.
$ac_ext
39022 ac_res
=`eval echo '${'$as_ac_var'}'`
39023 { echo "$as_me:$LINENO: result: $ac_res" >&5
39024 echo "${ECHO_T}$ac_res" >&6; }
39025 if test `eval echo '${'$as_ac_var'}'` = yes; then
39026 cat >>confdefs.h
<<_ACEOF
39027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39029 cat >>confdefs.h
<<\_ACEOF
39030 #define HAVE_INET_ATON 1
39035 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39036 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39037 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39038 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39039 echo $ECHO_N "(cached) $ECHO_C" >&6
39041 ac_check_lib_save_LIBS
=$LIBS
39042 LIBS
="-l$INET_LINK $LIBS"
39043 cat >conftest.
$ac_ext <<_ACEOF
39046 cat confdefs.h
>>conftest.
$ac_ext
39047 cat >>conftest.
$ac_ext <<_ACEOF
39048 /* end confdefs.h. */
39050 /* Override any GCC internal prototype to avoid an error.
39051 Use char because int might match the return type of a GCC
39052 builtin and then its argument prototype would still apply. */
39060 return inet_aton ();
39065 rm -f conftest.
$ac_objext conftest
$ac_exeext
39066 if { (ac_try
="$ac_link"
39067 case "(($ac_try" in
39068 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39069 *) ac_try_echo=$ac_try;;
39071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39072 (eval "$ac_link") 2>conftest.er1
39074 grep -v '^ *+' conftest.er1 >conftest.err
39076 cat conftest.err >&5
39077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39078 (exit $ac_status); } && {
39079 test -z "$ac_c_werror_flag" ||
39080 test ! -s conftest.err
39081 } && test -s conftest$ac_exeext &&
39082 $as_test_x conftest$ac_exeext; then
39083 eval "$as_ac_Lib=yes"
39085 echo "$as_me: failed program was:" >&5
39086 sed 's/^/| /' conftest.$ac_ext >&5
39088 eval "$as_ac_Lib=no"
39091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39092 conftest$ac_exeext conftest.$ac_ext
39093 LIBS=$ac_check_lib_save_LIBS
39095 ac_res=`eval echo '${'$as_ac_Lib'}'`
39096 { echo "$as_me:$LINENO: result: $ac_res" >&5
39097 echo "${ECHO_T}$ac_res" >&6; }
39098 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39099 cat >>confdefs.h <<\_ACEOF
39100 #define HAVE_INET_ATON 1
39110 if test "x$INET_LINK" != "x"; then
39111 cat >>confdefs.h <<\_ACEOF
39112 #define HAVE_INET_ADDR 1
39115 INET_LINK=" -l$INET_LINK"
39119 for wx_func in fdopen
39121 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39122 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39123 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39124 echo $ECHO_N "(cached) $ECHO_C" >&6
39127 cat >conftest.$ac_ext <<_ACEOF
39131 cat confdefs.h >>conftest.$ac_ext
39132 cat >>conftest.$ac_ext <<_ACEOF
39133 /* end confdefs.h. */
39136 $ac_includes_default
39152 rm -f conftest.$ac_objext conftest$ac_exeext
39153 if { (ac_try="$ac_link"
39154 case "(($ac_try" in
39155 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39156 *) ac_try_echo
=$ac_try;;
39158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39159 (eval "$ac_link") 2>conftest.er1
39161 grep -v '^ *+' conftest.er1
>conftest.err
39163 cat conftest.err
>&5
39164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39165 (exit $ac_status); } && {
39166 test -z "$ac_c_werror_flag" ||
39167 test ! -s conftest.err
39168 } && test -s conftest
$ac_exeext &&
39169 $as_test_x conftest
$ac_exeext; then
39170 eval wx_cv_func_
$wx_func=yes
39172 echo "$as_me: failed program was:" >&5
39173 sed 's/^/| /' conftest.
$ac_ext >&5
39175 eval wx_cv_func_
$wx_func=no
39178 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39179 conftest
$ac_exeext conftest.
$ac_ext
39182 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39183 { echo "$as_me:$LINENO: result: $ac_res" >&5
39184 echo "${ECHO_T}$ac_res" >&6; }
39186 if eval test \
$wx_cv_func_$wx_func = yes
39188 cat >>confdefs.h
<<_ACEOF
39189 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39200 if test "$wxUSE_TARSTREAM" = "yes"; then
39202 for wx_func
in sysconf
39204 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39205 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39206 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39207 echo $ECHO_N "(cached) $ECHO_C" >&6
39210 cat >conftest.
$ac_ext <<_ACEOF
39214 cat confdefs.h
>>conftest.
$ac_ext
39215 cat >>conftest.
$ac_ext <<_ACEOF
39216 /* end confdefs.h. */
39219 $ac_includes_default
39235 rm -f conftest.
$ac_objext conftest
$ac_exeext
39236 if { (ac_try
="$ac_link"
39237 case "(($ac_try" in
39238 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39239 *) ac_try_echo=$ac_try;;
39241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39242 (eval "$ac_link") 2>conftest.er1
39244 grep -v '^ *+' conftest.er1 >conftest.err
39246 cat conftest.err >&5
39247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39248 (exit $ac_status); } && {
39249 test -z "$ac_c_werror_flag" ||
39250 test ! -s conftest.err
39251 } && test -s conftest$ac_exeext &&
39252 $as_test_x conftest$ac_exeext; then
39253 eval wx_cv_func_$wx_func=yes
39255 echo "$as_me: failed program was:" >&5
39256 sed 's/^/| /' conftest.$ac_ext >&5
39258 eval wx_cv_func_$wx_func=no
39261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39262 conftest$ac_exeext conftest.$ac_ext
39265 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39266 { echo "$as_me:$LINENO: result: $ac_res" >&5
39267 echo "${ECHO_T}$ac_res" >&6; }
39269 if eval test \$wx_cv_func_$wx_func = yes
39271 cat >>confdefs.h <<_ACEOF
39272 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39284 for wx_func in getpwuid_r
39286 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39287 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39288 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39289 echo $ECHO_N "(cached) $ECHO_C" >&6
39292 cat >conftest.$ac_ext <<_ACEOF
39296 cat confdefs.h >>conftest.$ac_ext
39297 cat >>conftest.$ac_ext <<_ACEOF
39298 /* end confdefs.h. */
39304 $ac_includes_default
39314 struct passwd pw, *ppw;
39316 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
39324 rm -f conftest.$ac_objext conftest$ac_exeext
39325 if { (ac_try="$ac_link"
39326 case "(($ac_try" in
39327 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39328 *) ac_try_echo
=$ac_try;;
39330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39331 (eval "$ac_link") 2>conftest.er1
39333 grep -v '^ *+' conftest.er1
>conftest.err
39335 cat conftest.err
>&5
39336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39337 (exit $ac_status); } && {
39338 test -z "$ac_c_werror_flag" ||
39339 test ! -s conftest.err
39340 } && test -s conftest
$ac_exeext &&
39341 $as_test_x conftest
$ac_exeext; then
39342 eval wx_cv_func_
$wx_func=yes
39344 echo "$as_me: failed program was:" >&5
39345 sed 's/^/| /' conftest.
$ac_ext >&5
39347 eval wx_cv_func_
$wx_func=no
39350 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39351 conftest
$ac_exeext conftest.
$ac_ext
39354 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39355 { echo "$as_me:$LINENO: result: $ac_res" >&5
39356 echo "${ECHO_T}$ac_res" >&6; }
39358 if eval test \
$wx_cv_func_$wx_func = yes
39360 cat >>confdefs.h
<<_ACEOF
39361 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39373 for wx_func
in getgrgid_r
39375 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39376 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39377 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39378 echo $ECHO_N "(cached) $ECHO_C" >&6
39381 cat >conftest.
$ac_ext <<_ACEOF
39385 cat confdefs.h
>>conftest.
$ac_ext
39386 cat >>conftest.
$ac_ext <<_ACEOF
39387 /* end confdefs.h. */
39393 $ac_includes_default
39403 struct group grp, *pgrp;
39405 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
39413 rm -f conftest.
$ac_objext conftest
$ac_exeext
39414 if { (ac_try
="$ac_link"
39415 case "(($ac_try" in
39416 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39417 *) ac_try_echo=$ac_try;;
39419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39420 (eval "$ac_link") 2>conftest.er1
39422 grep -v '^ *+' conftest.er1 >conftest.err
39424 cat conftest.err >&5
39425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39426 (exit $ac_status); } && {
39427 test -z "$ac_c_werror_flag" ||
39428 test ! -s conftest.err
39429 } && test -s conftest$ac_exeext &&
39430 $as_test_x conftest$ac_exeext; then
39431 eval wx_cv_func_$wx_func=yes
39433 echo "$as_me: failed program was:" >&5
39434 sed 's/^/| /' conftest.$ac_ext >&5
39436 eval wx_cv_func_$wx_func=no
39439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39440 conftest$ac_exeext conftest.$ac_ext
39443 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39444 { echo "$as_me:$LINENO: result: $ac_res" >&5
39445 echo "${ECHO_T}$ac_res" >&6; }
39447 if eval test \$wx_cv_func_$wx_func = yes
39449 cat >>confdefs.h <<_ACEOF
39450 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39466 cat >confcache <<\_ACEOF
39467 # This file is a shell script that caches the results of configure
39468 # tests run on this system so they can be shared between configure
39469 # scripts and configure runs, see configure's option --config-cache.
39470 # It is not useful on other systems. If it contains results you don't
39471 # want to keep, you may remove or edit it.
39473 # config.status only pays attention to the cache file if you give it
39474 # the --recheck option to rerun configure.
39476 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
39477 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39478 # following values.
39482 # The following way of writing the cache mishandles newlines in values,
39483 # but we know of no workaround that is simple, portable, and efficient.
39484 # So, we kill variables containing newlines.
39485 # Ultrix sh set writes to stderr and can't be redirected directly,
39486 # and sets the high bit in the cache file unless we assign to the vars.
39488 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39489 eval ac_val
=\$
$ac_var
39493 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
39494 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
39497 _
| IFS
| as_nl
) ;; #(
39498 *) $as_unset $ac_var ;;
39504 case $as_nl`(ac_space=' '; set) 2>&1` in #(
39505 *${as_nl}ac_space
=\
*)
39506 # `set' does not quote correctly, so add quotes (double-quote
39507 # substitution turns \\\\ into \\, and sed turns \\ into \).
39510 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39513 # `set' quotes correctly as required by POSIX, so do not add quotes.
39514 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
39523 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39525 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39527 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
39528 if test -w "$cache_file"; then
39529 test "x$cache_file" != "x/dev/null" &&
39530 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
39531 echo "$as_me: updating cache $cache_file" >&6;}
39532 cat confcache
>$cache_file
39534 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
39535 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
39541 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39547 if test "$wxUSE_THREADS" = "yes" ; then
39548 if test "$USE_BEOS" = 1; then
39549 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39550 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39555 if test "$wxUSE_THREADS" = "yes" ; then
39558 THREAD_OPTS
="-pthread"
39559 if test "x$SUNCXX" = xyes
; then
39560 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
39564 *-*-solaris2* | *-*-sunos4* )
39565 if test "x$GCC" = "xyes"; then
39566 THREAD_OPTS
="-pthreads $THREAD_OPTS"
39570 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
39572 *-*-darwin* | *-*-cygwin* )
39576 THREAD_OPTS
="pthreads"
39579 if test "x$GCC" = "xyes"; then
39580 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
39588 if test "x$GCC" = "xyes"; then
39598 if test "x$GCC" != "xyes"; then
39599 THREAD_OPTS
="-Ethread"
39606 THREAD_OPTS
="none pthread"
39610 THREAD_OPTS
="$THREAD_OPTS pthread none"
39615 for flag
in $THREAD_OPTS; do
39618 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39619 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
39623 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39624 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
39625 THREADS_CFLAGS
="$flag"
39629 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39630 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
39631 THREADS_LINK
="-l$flag"
39636 save_CFLAGS
="$CFLAGS"
39637 LIBS
="$THREADS_LINK $LIBS"
39638 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
39640 cat >conftest.
$ac_ext <<_ACEOF
39643 cat confdefs.h
>>conftest.
$ac_ext
39644 cat >>conftest.
$ac_ext <<_ACEOF
39645 /* end confdefs.h. */
39646 #include <pthread.h>
39650 pthread_create(0,0,0,0);
39655 rm -f conftest.
$ac_objext conftest
$ac_exeext
39656 if { (ac_try
="$ac_link"
39657 case "(($ac_try" in
39658 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39659 *) ac_try_echo=$ac_try;;
39661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39662 (eval "$ac_link") 2>conftest.er1
39664 grep -v '^ *+' conftest.er1 >conftest.err
39666 cat conftest.err >&5
39667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39668 (exit $ac_status); } && {
39669 test -z "$ac_c_werror_flag" ||
39670 test ! -s conftest.err
39671 } && test -s conftest$ac_exeext &&
39672 $as_test_x conftest$ac_exeext; then
39675 echo "$as_me: failed program was:" >&5
39676 sed 's/^/| /' conftest.$ac_ext >&5
39681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39682 conftest$ac_exeext conftest.$ac_ext
39685 CFLAGS="$save_CFLAGS"
39687 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39688 echo "${ECHO_T}$THREADS_OK" >&6; }
39689 if test "x$THREADS_OK" = "xyes"; then
39697 if test "x$THREADS_OK" != "xyes"; then
39699 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39700 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39702 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39703 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
39704 LIBS="$THREADS_LINK $LIBS"
39706 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39707 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39711 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39712 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
39713 flag="-D_THREAD_SAFE"
39716 flag="-D_THREAD_SAFE"
39719 flag="-D_REENTRANT"
39720 if test "x$GCC" != "xyes"; then
39721 flag="$flag -D_RWSTD_MULTI_THREAD"
39724 *solaris* | alpha*-osf*)
39725 flag="-D_REENTRANT"
39728 { echo "$as_me:$LINENO: result: ${flag}" >&5
39729 echo "${ECHO_T}${flag}" >&6; }
39730 if test "x$flag" != xno; then
39731 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39734 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39738 if test "$wxUSE_THREADS" = "yes" ; then
39740 for ac_func in thr_setconcurrency
39742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39743 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39745 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39746 echo $ECHO_N "(cached) $ECHO_C" >&6
39748 cat >conftest.$ac_ext <<_ACEOF
39751 cat confdefs.h >>conftest.$ac_ext
39752 cat >>conftest.$ac_ext <<_ACEOF
39753 /* end confdefs.h. */
39754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39756 #define $ac_func innocuous_$ac_func
39758 /* System header to define __stub macros and hopefully few prototypes,
39759 which can conflict with char $ac_func (); below.
39760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39761 <limits.h> exists even on freestanding compilers. */
39764 # include <limits.h>
39766 # include <assert.h>
39771 /* Override any GCC internal prototype to avoid an error.
39772 Use char because int might match the return type of a GCC
39773 builtin and then its argument prototype would still apply. */
39778 /* The GNU C library defines this for functions which it implements
39779 to always fail with ENOSYS. Some functions are actually named
39780 something starting with __ and the normal name is an alias. */
39781 #if defined __stub_$ac_func || defined __stub___$ac_func
39788 return $ac_func ();
39793 rm -f conftest.$ac_objext conftest$ac_exeext
39794 if { (ac_try="$ac_link"
39795 case "(($ac_try" in
39796 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39797 *) ac_try_echo
=$ac_try;;
39799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39800 (eval "$ac_link") 2>conftest.er1
39802 grep -v '^ *+' conftest.er1
>conftest.err
39804 cat conftest.err
>&5
39805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39806 (exit $ac_status); } && {
39807 test -z "$ac_c_werror_flag" ||
39808 test ! -s conftest.err
39809 } && test -s conftest
$ac_exeext &&
39810 $as_test_x conftest
$ac_exeext; then
39811 eval "$as_ac_var=yes"
39813 echo "$as_me: failed program was:" >&5
39814 sed 's/^/| /' conftest.
$ac_ext >&5
39816 eval "$as_ac_var=no"
39819 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39820 conftest
$ac_exeext conftest.
$ac_ext
39822 ac_res
=`eval echo '${'$as_ac_var'}'`
39823 { echo "$as_me:$LINENO: result: $ac_res" >&5
39824 echo "${ECHO_T}$ac_res" >&6; }
39825 if test `eval echo '${'$as_ac_var'}'` = yes; then
39826 cat >>confdefs.h
<<_ACEOF
39827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39834 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39835 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39836 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39837 echo $ECHO_N "(cached) $ECHO_C" >&6
39841 ac_cpp
='$CXXCPP $CPPFLAGS'
39842 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39843 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39844 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39846 cat >conftest.
$ac_ext <<_ACEOF
39849 cat confdefs.h
>>conftest.
$ac_ext
39850 cat >>conftest.
$ac_ext <<_ACEOF
39851 /* end confdefs.h. */
39852 #include <pthread.h>
39853 void ThreadCleanupFunc(void *p);
39860 pthread_cleanup_push(ThreadCleanupFunc, p);
39861 pthread_cleanup_pop(0);
39867 rm -f conftest.
$ac_objext
39868 if { (ac_try
="$ac_compile"
39869 case "(($ac_try" in
39870 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39871 *) ac_try_echo=$ac_try;;
39873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39874 (eval "$ac_compile") 2>conftest.er1
39876 grep -v '^ *+' conftest.er1 >conftest.err
39878 cat conftest.err >&5
39879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39880 (exit $ac_status); } && {
39881 test -z "$ac_cxx_werror_flag" ||
39882 test ! -s conftest.err
39883 } && test -s conftest.$ac_objext; then
39885 wx_cv_func_pthread_cleanup=yes
39888 echo "$as_me: failed program was:" >&5
39889 sed 's/^/| /' conftest.$ac_ext >&5
39892 wx_cv_func_pthread_cleanup=no
39897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39899 ac_cpp='$CPP $CPPFLAGS'
39900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39906 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39907 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39908 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39909 cat >>confdefs.h <<\_ACEOF
39910 #define wxHAVE_PTHREAD_CLEANUP 1
39916 for ac_header in sched.h
39918 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39919 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39921 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39922 echo $ECHO_N "(cached) $ECHO_C" >&6
39924 cat >conftest.$ac_ext <<_ACEOF
39927 cat confdefs.h >>conftest.$ac_ext
39928 cat >>conftest.$ac_ext <<_ACEOF
39929 /* end confdefs.h. */
39930 $ac_includes_default
39932 #include <$ac_header>
39934 rm -f conftest.$ac_objext
39935 if { (ac_try="$ac_compile"
39936 case "(($ac_try" in
39937 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39938 *) ac_try_echo
=$ac_try;;
39940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39941 (eval "$ac_compile") 2>conftest.er1
39943 grep -v '^ *+' conftest.er1
>conftest.err
39945 cat conftest.err
>&5
39946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39947 (exit $ac_status); } && {
39948 test -z "$ac_c_werror_flag" ||
39949 test ! -s conftest.err
39950 } && test -s conftest.
$ac_objext; then
39951 eval "$as_ac_Header=yes"
39953 echo "$as_me: failed program was:" >&5
39954 sed 's/^/| /' conftest.
$ac_ext >&5
39956 eval "$as_ac_Header=no"
39959 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39961 ac_res
=`eval echo '${'$as_ac_Header'}'`
39962 { echo "$as_me:$LINENO: result: $ac_res" >&5
39963 echo "${ECHO_T}$ac_res" >&6; }
39964 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39965 cat >>confdefs.h
<<_ACEOF
39966 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39973 if test "$ac_cv_header_sched_h" = "yes"; then
39974 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39975 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39976 if test "${ac_cv_func_sched_yield+set}" = set; then
39977 echo $ECHO_N "(cached) $ECHO_C" >&6
39979 cat >conftest.
$ac_ext <<_ACEOF
39982 cat confdefs.h
>>conftest.
$ac_ext
39983 cat >>conftest.
$ac_ext <<_ACEOF
39984 /* end confdefs.h. */
39985 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39987 #define sched_yield innocuous_sched_yield
39989 /* System header to define __stub macros and hopefully few prototypes,
39990 which can conflict with char sched_yield (); below.
39991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39992 <limits.h> exists even on freestanding compilers. */
39995 # include <limits.h>
39997 # include <assert.h>
40002 /* Override any GCC internal prototype to avoid an error.
40003 Use char because int might match the return type of a GCC
40004 builtin and then its argument prototype would still apply. */
40008 char sched_yield ();
40009 /* The GNU C library defines this for functions which it implements
40010 to always fail with ENOSYS. Some functions are actually named
40011 something starting with __ and the normal name is an alias. */
40012 #if defined __stub_sched_yield || defined __stub___sched_yield
40019 return sched_yield ();
40024 rm -f conftest.
$ac_objext conftest
$ac_exeext
40025 if { (ac_try
="$ac_link"
40026 case "(($ac_try" in
40027 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40028 *) ac_try_echo=$ac_try;;
40030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40031 (eval "$ac_link") 2>conftest.er1
40033 grep -v '^ *+' conftest.er1 >conftest.err
40035 cat conftest.err >&5
40036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40037 (exit $ac_status); } && {
40038 test -z "$ac_c_werror_flag" ||
40039 test ! -s conftest.err
40040 } && test -s conftest$ac_exeext &&
40041 $as_test_x conftest$ac_exeext; then
40042 ac_cv_func_sched_yield=yes
40044 echo "$as_me: failed program was:" >&5
40045 sed 's/^/| /' conftest.$ac_ext >&5
40047 ac_cv_func_sched_yield=no
40050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40051 conftest$ac_exeext conftest.$ac_ext
40053 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40054 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40055 if test $ac_cv_func_sched_yield = yes; then
40056 cat >>confdefs.h <<\_ACEOF
40057 #define HAVE_SCHED_YIELD 1
40062 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40063 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40064 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40065 echo $ECHO_N "(cached) $ECHO_C" >&6
40067 ac_check_lib_save_LIBS=$LIBS
40068 LIBS="-lposix4 $LIBS"
40069 cat >conftest.$ac_ext <<_ACEOF
40072 cat confdefs.h >>conftest.$ac_ext
40073 cat >>conftest.$ac_ext <<_ACEOF
40074 /* end confdefs.h. */
40076 /* Override any GCC internal prototype to avoid an error.
40077 Use char because int might match the return type of a GCC
40078 builtin and then its argument prototype would still apply. */
40082 char sched_yield ();
40086 return sched_yield ();
40091 rm -f conftest.$ac_objext conftest$ac_exeext
40092 if { (ac_try="$ac_link"
40093 case "(($ac_try" in
40094 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40095 *) ac_try_echo
=$ac_try;;
40097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40098 (eval "$ac_link") 2>conftest.er1
40100 grep -v '^ *+' conftest.er1
>conftest.err
40102 cat conftest.err
>&5
40103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40104 (exit $ac_status); } && {
40105 test -z "$ac_c_werror_flag" ||
40106 test ! -s conftest.err
40107 } && test -s conftest
$ac_exeext &&
40108 $as_test_x conftest
$ac_exeext; then
40109 ac_cv_lib_posix4_sched_yield
=yes
40111 echo "$as_me: failed program was:" >&5
40112 sed 's/^/| /' conftest.
$ac_ext >&5
40114 ac_cv_lib_posix4_sched_yield
=no
40117 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40118 conftest
$ac_exeext conftest.
$ac_ext
40119 LIBS
=$ac_check_lib_save_LIBS
40121 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40122 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40123 if test $ac_cv_lib_posix4_sched_yield = yes; then
40124 cat >>confdefs.h
<<\_ACEOF
40125 #define HAVE_SCHED_YIELD 1
40127 POSIX4_LINK
=" -lposix4"
40129 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40130 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40141 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40142 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40143 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40144 echo $ECHO_N "(cached) $ECHO_C" >&6
40146 cat >conftest.
$ac_ext <<_ACEOF
40149 cat confdefs.h
>>conftest.
$ac_ext
40150 cat >>conftest.
$ac_ext <<_ACEOF
40151 /* end confdefs.h. */
40152 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40154 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40156 /* System header to define __stub macros and hopefully few prototypes,
40157 which can conflict with char pthread_attr_getschedpolicy (); below.
40158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40159 <limits.h> exists even on freestanding compilers. */
40162 # include <limits.h>
40164 # include <assert.h>
40167 #undef pthread_attr_getschedpolicy
40169 /* Override any GCC internal prototype to avoid an error.
40170 Use char because int might match the return type of a GCC
40171 builtin and then its argument prototype would still apply. */
40175 char pthread_attr_getschedpolicy ();
40176 /* The GNU C library defines this for functions which it implements
40177 to always fail with ENOSYS. Some functions are actually named
40178 something starting with __ and the normal name is an alias. */
40179 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40186 return pthread_attr_getschedpolicy ();
40191 rm -f conftest.
$ac_objext conftest
$ac_exeext
40192 if { (ac_try
="$ac_link"
40193 case "(($ac_try" in
40194 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40195 *) ac_try_echo=$ac_try;;
40197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40198 (eval "$ac_link") 2>conftest.er1
40200 grep -v '^ *+' conftest.er1 >conftest.err
40202 cat conftest.err >&5
40203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40204 (exit $ac_status); } && {
40205 test -z "$ac_c_werror_flag" ||
40206 test ! -s conftest.err
40207 } && test -s conftest$ac_exeext &&
40208 $as_test_x conftest$ac_exeext; then
40209 ac_cv_func_pthread_attr_getschedpolicy=yes
40211 echo "$as_me: failed program was:" >&5
40212 sed 's/^/| /' conftest.$ac_ext >&5
40214 ac_cv_func_pthread_attr_getschedpolicy=no
40217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40218 conftest$ac_exeext conftest.$ac_ext
40220 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40221 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40222 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40223 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40224 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40225 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40226 echo $ECHO_N "(cached) $ECHO_C" >&6
40228 cat >conftest.$ac_ext <<_ACEOF
40231 cat confdefs.h >>conftest.$ac_ext
40232 cat >>conftest.$ac_ext <<_ACEOF
40233 /* end confdefs.h. */
40234 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40236 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40238 /* System header to define __stub macros and hopefully few prototypes,
40239 which can conflict with char pthread_attr_setschedparam (); below.
40240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40241 <limits.h> exists even on freestanding compilers. */
40244 # include <limits.h>
40246 # include <assert.h>
40249 #undef pthread_attr_setschedparam
40251 /* Override any GCC internal prototype to avoid an error.
40252 Use char because int might match the return type of a GCC
40253 builtin and then its argument prototype would still apply. */
40257 char pthread_attr_setschedparam ();
40258 /* The GNU C library defines this for functions which it implements
40259 to always fail with ENOSYS. Some functions are actually named
40260 something starting with __ and the normal name is an alias. */
40261 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
40268 return pthread_attr_setschedparam ();
40273 rm -f conftest.$ac_objext conftest$ac_exeext
40274 if { (ac_try="$ac_link"
40275 case "(($ac_try" in
40276 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40277 *) ac_try_echo
=$ac_try;;
40279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40280 (eval "$ac_link") 2>conftest.er1
40282 grep -v '^ *+' conftest.er1
>conftest.err
40284 cat conftest.err
>&5
40285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40286 (exit $ac_status); } && {
40287 test -z "$ac_c_werror_flag" ||
40288 test ! -s conftest.err
40289 } && test -s conftest
$ac_exeext &&
40290 $as_test_x conftest
$ac_exeext; then
40291 ac_cv_func_pthread_attr_setschedparam
=yes
40293 echo "$as_me: failed program was:" >&5
40294 sed 's/^/| /' conftest.
$ac_ext >&5
40296 ac_cv_func_pthread_attr_setschedparam
=no
40299 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40300 conftest
$ac_exeext conftest.
$ac_ext
40302 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40303 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
40304 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40305 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40306 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
40307 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40308 echo $ECHO_N "(cached) $ECHO_C" >&6
40310 cat >conftest.
$ac_ext <<_ACEOF
40313 cat confdefs.h
>>conftest.
$ac_ext
40314 cat >>conftest.
$ac_ext <<_ACEOF
40315 /* end confdefs.h. */
40316 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40318 #define sched_get_priority_max innocuous_sched_get_priority_max
40320 /* System header to define __stub macros and hopefully few prototypes,
40321 which can conflict with char sched_get_priority_max (); below.
40322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40323 <limits.h> exists even on freestanding compilers. */
40326 # include <limits.h>
40328 # include <assert.h>
40331 #undef sched_get_priority_max
40333 /* Override any GCC internal prototype to avoid an error.
40334 Use char because int might match the return type of a GCC
40335 builtin and then its argument prototype would still apply. */
40339 char sched_get_priority_max ();
40340 /* The GNU C library defines this for functions which it implements
40341 to always fail with ENOSYS. Some functions are actually named
40342 something starting with __ and the normal name is an alias. */
40343 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
40350 return sched_get_priority_max ();
40355 rm -f conftest.
$ac_objext conftest
$ac_exeext
40356 if { (ac_try
="$ac_link"
40357 case "(($ac_try" in
40358 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40359 *) ac_try_echo=$ac_try;;
40361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40362 (eval "$ac_link") 2>conftest.er1
40364 grep -v '^ *+' conftest.er1 >conftest.err
40366 cat conftest.err >&5
40367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40368 (exit $ac_status); } && {
40369 test -z "$ac_c_werror_flag" ||
40370 test ! -s conftest.err
40371 } && test -s conftest$ac_exeext &&
40372 $as_test_x conftest$ac_exeext; then
40373 ac_cv_func_sched_get_priority_max=yes
40375 echo "$as_me: failed program was:" >&5
40376 sed 's/^/| /' conftest.$ac_ext >&5
40378 ac_cv_func_sched_get_priority_max=no
40381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40382 conftest$ac_exeext conftest.$ac_ext
40384 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40385 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
40386 if test $ac_cv_func_sched_get_priority_max = yes; then
40389 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40390 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
40391 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40392 echo $ECHO_N "(cached) $ECHO_C" >&6
40394 ac_check_lib_save_LIBS=$LIBS
40395 LIBS="-lposix4 $LIBS"
40396 cat >conftest.$ac_ext <<_ACEOF
40399 cat confdefs.h >>conftest.$ac_ext
40400 cat >>conftest.$ac_ext <<_ACEOF
40401 /* end confdefs.h. */
40403 /* Override any GCC internal prototype to avoid an error.
40404 Use char because int might match the return type of a GCC
40405 builtin and then its argument prototype would still apply. */
40409 char sched_get_priority_max ();
40413 return sched_get_priority_max ();
40418 rm -f conftest.$ac_objext conftest$ac_exeext
40419 if { (ac_try="$ac_link"
40420 case "(($ac_try" in
40421 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40422 *) ac_try_echo
=$ac_try;;
40424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40425 (eval "$ac_link") 2>conftest.er1
40427 grep -v '^ *+' conftest.er1
>conftest.err
40429 cat conftest.err
>&5
40430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40431 (exit $ac_status); } && {
40432 test -z "$ac_c_werror_flag" ||
40433 test ! -s conftest.err
40434 } && test -s conftest
$ac_exeext &&
40435 $as_test_x conftest
$ac_exeext; then
40436 ac_cv_lib_posix4_sched_get_priority_max
=yes
40438 echo "$as_me: failed program was:" >&5
40439 sed 's/^/| /' conftest.
$ac_ext >&5
40441 ac_cv_lib_posix4_sched_get_priority_max
=no
40444 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40445 conftest
$ac_exeext conftest.
$ac_ext
40446 LIBS
=$ac_check_lib_save_LIBS
40448 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40449 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
40450 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40453 POSIX4_LINK
=" -lposix4"
40467 if test "$HAVE_PRIOR_FUNCS" = 1; then
40468 cat >>confdefs.h
<<\_ACEOF
40469 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40473 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40474 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40477 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40478 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
40479 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40480 echo $ECHO_N "(cached) $ECHO_C" >&6
40482 cat >conftest.
$ac_ext <<_ACEOF
40485 cat confdefs.h
>>conftest.
$ac_ext
40486 cat >>conftest.
$ac_ext <<_ACEOF
40487 /* end confdefs.h. */
40488 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40490 #define pthread_cancel innocuous_pthread_cancel
40492 /* System header to define __stub macros and hopefully few prototypes,
40493 which can conflict with char pthread_cancel (); below.
40494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40495 <limits.h> exists even on freestanding compilers. */
40498 # include <limits.h>
40500 # include <assert.h>
40503 #undef pthread_cancel
40505 /* Override any GCC internal prototype to avoid an error.
40506 Use char because int might match the return type of a GCC
40507 builtin and then its argument prototype would still apply. */
40511 char pthread_cancel ();
40512 /* The GNU C library defines this for functions which it implements
40513 to always fail with ENOSYS. Some functions are actually named
40514 something starting with __ and the normal name is an alias. */
40515 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
40522 return pthread_cancel ();
40527 rm -f conftest.
$ac_objext conftest
$ac_exeext
40528 if { (ac_try
="$ac_link"
40529 case "(($ac_try" in
40530 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40531 *) ac_try_echo=$ac_try;;
40533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40534 (eval "$ac_link") 2>conftest.er1
40536 grep -v '^ *+' conftest.er1 >conftest.err
40538 cat conftest.err >&5
40539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40540 (exit $ac_status); } && {
40541 test -z "$ac_c_werror_flag" ||
40542 test ! -s conftest.err
40543 } && test -s conftest$ac_exeext &&
40544 $as_test_x conftest$ac_exeext; then
40545 ac_cv_func_pthread_cancel=yes
40547 echo "$as_me: failed program was:" >&5
40548 sed 's/^/| /' conftest.$ac_ext >&5
40550 ac_cv_func_pthread_cancel=no
40553 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40554 conftest$ac_exeext conftest.$ac_ext
40556 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40557 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
40558 if test $ac_cv_func_pthread_cancel = yes; then
40559 cat >>confdefs.h <<\_ACEOF
40560 #define HAVE_PTHREAD_CANCEL 1
40564 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40565 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40569 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
40570 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
40571 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
40572 echo $ECHO_N "(cached) $ECHO_C" >&6
40574 cat >conftest.$ac_ext <<_ACEOF
40577 cat confdefs.h >>conftest.$ac_ext
40578 cat >>conftest.$ac_ext <<_ACEOF
40579 /* end confdefs.h. */
40580 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
40581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40582 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
40584 /* System header to define __stub macros and hopefully few prototypes,
40585 which can conflict with char pthread_mutex_timedlock (); below.
40586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40587 <limits.h> exists even on freestanding compilers. */
40590 # include <limits.h>
40592 # include <assert.h>
40595 #undef pthread_mutex_timedlock
40597 /* Override any GCC internal prototype to avoid an error.
40598 Use char because int might match the return type of a GCC
40599 builtin and then its argument prototype would still apply. */
40603 char pthread_mutex_timedlock ();
40604 /* The GNU C library defines this for functions which it implements
40605 to always fail with ENOSYS. Some functions are actually named
40606 something starting with __ and the normal name is an alias. */
40607 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
40614 return pthread_mutex_timedlock ();
40619 rm -f conftest.$ac_objext conftest$ac_exeext
40620 if { (ac_try="$ac_link"
40621 case "(($ac_try" in
40622 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40623 *) ac_try_echo
=$ac_try;;
40625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40626 (eval "$ac_link") 2>conftest.er1
40628 grep -v '^ *+' conftest.er1
>conftest.err
40630 cat conftest.err
>&5
40631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40632 (exit $ac_status); } && {
40633 test -z "$ac_c_werror_flag" ||
40634 test ! -s conftest.err
40635 } && test -s conftest
$ac_exeext &&
40636 $as_test_x conftest
$ac_exeext; then
40637 ac_cv_func_pthread_mutex_timedlock
=yes
40639 echo "$as_me: failed program was:" >&5
40640 sed 's/^/| /' conftest.
$ac_ext >&5
40642 ac_cv_func_pthread_mutex_timedlock
=no
40645 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40646 conftest
$ac_exeext conftest.
$ac_ext
40648 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
40649 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
40650 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
40651 cat >>confdefs.h
<<\_ACEOF
40652 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
40656 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
40657 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
40661 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40662 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40663 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40664 echo $ECHO_N "(cached) $ECHO_C" >&6
40666 cat >conftest.
$ac_ext <<_ACEOF
40669 cat confdefs.h
>>conftest.
$ac_ext
40670 cat >>conftest.
$ac_ext <<_ACEOF
40671 /* end confdefs.h. */
40672 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40674 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40676 /* System header to define __stub macros and hopefully few prototypes,
40677 which can conflict with char pthread_attr_setstacksize (); below.
40678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40679 <limits.h> exists even on freestanding compilers. */
40682 # include <limits.h>
40684 # include <assert.h>
40687 #undef pthread_attr_setstacksize
40689 /* Override any GCC internal prototype to avoid an error.
40690 Use char because int might match the return type of a GCC
40691 builtin and then its argument prototype would still apply. */
40695 char pthread_attr_setstacksize ();
40696 /* The GNU C library defines this for functions which it implements
40697 to always fail with ENOSYS. Some functions are actually named
40698 something starting with __ and the normal name is an alias. */
40699 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40706 return pthread_attr_setstacksize ();
40711 rm -f conftest.
$ac_objext conftest
$ac_exeext
40712 if { (ac_try
="$ac_link"
40713 case "(($ac_try" in
40714 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40715 *) ac_try_echo=$ac_try;;
40717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40718 (eval "$ac_link") 2>conftest.er1
40720 grep -v '^ *+' conftest.er1 >conftest.err
40722 cat conftest.err >&5
40723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40724 (exit $ac_status); } && {
40725 test -z "$ac_c_werror_flag" ||
40726 test ! -s conftest.err
40727 } && test -s conftest$ac_exeext &&
40728 $as_test_x conftest$ac_exeext; then
40729 ac_cv_func_pthread_attr_setstacksize=yes
40731 echo "$as_me: failed program was:" >&5
40732 sed 's/^/| /' conftest.$ac_ext >&5
40734 ac_cv_func_pthread_attr_setstacksize=no
40737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40738 conftest$ac_exeext conftest.$ac_ext
40740 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40741 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40742 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40743 cat >>confdefs.h <<\_ACEOF
40744 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40751 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40752 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40753 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40754 echo $ECHO_N "(cached) $ECHO_C" >&6
40757 cat >conftest.$ac_ext <<_ACEOF
40760 cat confdefs.h >>conftest.$ac_ext
40761 cat >>conftest.$ac_ext <<_ACEOF
40762 /* end confdefs.h. */
40763 #include <pthread.h>
40768 pthread_mutexattr_t attr;
40769 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40775 rm -f conftest.$ac_objext
40776 if { (ac_try="$ac_compile"
40777 case "(($ac_try" in
40778 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40779 *) ac_try_echo
=$ac_try;;
40781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40782 (eval "$ac_compile") 2>conftest.er1
40784 grep -v '^ *+' conftest.er1
>conftest.err
40786 cat conftest.err
>&5
40787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40788 (exit $ac_status); } && {
40789 test -z "$ac_c_werror_flag" ||
40790 test ! -s conftest.err
40791 } && test -s conftest.
$ac_objext; then
40792 wx_cv_type_pthread_mutexattr_t
=yes
40794 echo "$as_me: failed program was:" >&5
40795 sed 's/^/| /' conftest.
$ac_ext >&5
40797 wx_cv_type_pthread_mutexattr_t
=no
40801 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40804 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40805 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40807 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40808 cat >>confdefs.h
<<\_ACEOF
40809 #define HAVE_PTHREAD_MUTEXATTR_T 1
40813 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40814 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40815 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40816 echo $ECHO_N "(cached) $ECHO_C" >&6
40819 cat >conftest.
$ac_ext <<_ACEOF
40822 cat confdefs.h
>>conftest.
$ac_ext
40823 cat >>conftest.
$ac_ext <<_ACEOF
40824 /* end confdefs.h. */
40825 #include <pthread.h>
40830 pthread_mutexattr_t attr;
40831 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40837 rm -f conftest.
$ac_objext
40838 if { (ac_try
="$ac_compile"
40839 case "(($ac_try" in
40840 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40841 *) ac_try_echo=$ac_try;;
40843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40844 (eval "$ac_compile") 2>conftest.er1
40846 grep -v '^ *+' conftest.er1 >conftest.err
40848 cat conftest.err >&5
40849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40850 (exit $ac_status); } && {
40851 test -z "$ac_c_werror_flag" ||
40852 test ! -s conftest.err
40853 } && test -s conftest.$ac_objext; then
40854 wx_cv_func_pthread_mutexattr_settype_decl=yes
40856 echo "$as_me: failed program was:" >&5
40857 sed 's/^/| /' conftest.$ac_ext >&5
40859 wx_cv_func_pthread_mutexattr_settype_decl=no
40863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40866 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40867 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40868 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40869 cat >>confdefs.h <<\_ACEOF
40870 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40875 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40876 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40877 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40878 echo $ECHO_N "(cached) $ECHO_C" >&6
40881 cat >conftest.$ac_ext <<_ACEOF
40884 cat confdefs.h >>conftest.$ac_ext
40885 cat >>conftest.$ac_ext <<_ACEOF
40886 /* end confdefs.h. */
40887 #include <pthread.h>
40892 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40898 rm -f conftest.$ac_objext
40899 if { (ac_try="$ac_compile"
40900 case "(($ac_try" in
40901 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40902 *) ac_try_echo
=$ac_try;;
40904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40905 (eval "$ac_compile") 2>conftest.er1
40907 grep -v '^ *+' conftest.er1
>conftest.err
40909 cat conftest.err
>&5
40910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40911 (exit $ac_status); } && {
40912 test -z "$ac_c_werror_flag" ||
40913 test ! -s conftest.err
40914 } && test -s conftest.
$ac_objext; then
40916 wx_cv_type_pthread_rec_mutex_init
=yes
40919 echo "$as_me: failed program was:" >&5
40920 sed 's/^/| /' conftest.
$ac_ext >&5
40923 wx_cv_type_pthread_rec_mutex_init
=no
40928 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40931 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40932 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40933 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40934 cat >>confdefs.h
<<\_ACEOF
40935 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40939 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40940 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40944 if test "$wxUSE_COMPILER_TLS" = "auto"; then
40945 if test "$USE_NETBSD" = 1; then
40946 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40947 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40948 wxUSE_COMPILER_TLS
=no
40950 wxUSE_COMPILER_TLS
=yes
40954 if test "$wxUSE_COMPILER_TLS" = "yes"; then
40955 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40956 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40957 if test "${wx_cv_cc___thread+set}" = set; then
40958 echo $ECHO_N "(cached) $ECHO_C" >&6
40961 cat >conftest.
$ac_ext <<_ACEOF
40964 cat confdefs.h
>>conftest.
$ac_ext
40965 cat >>conftest.
$ac_ext <<_ACEOF
40966 /* end confdefs.h. */
40967 #include <pthread.h>
40972 static __thread int n = 0;
40973 static __thread int *p = 0;
40979 rm -f conftest.
$ac_objext
40980 if { (ac_try
="$ac_compile"
40981 case "(($ac_try" in
40982 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40983 *) ac_try_echo=$ac_try;;
40985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40986 (eval "$ac_compile") 2>conftest.er1
40988 grep -v '^ *+' conftest.er1 >conftest.err
40990 cat conftest.err >&5
40991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40992 (exit $ac_status); } && {
40993 test -z "$ac_c_werror_flag" ||
40994 test ! -s conftest.err
40995 } && test -s conftest.$ac_objext; then
40996 wx_cv_cc___thread=yes
40998 echo "$as_me: failed program was:" >&5
40999 sed 's/^/| /' conftest.$ac_ext >&5
41001 wx_cv_cc___thread=no
41005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41009 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41010 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41012 if test "$wx_cv_cc___thread" = "yes"; then
41018 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41019 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41021 if test "x$GCC" = "xyes" ; then
41023 if test -z "" ; then
41025 ax_gcc_option_test="int main()
41032 ax_gcc_option_test=""
41037 # Dump the test program to file
41038 cat <<EOF > conftest.c
41039 $ax_gcc_option_test
41042 # Dump back the file to the log, useful for debugging purposes
41043 { ac_try='cat conftest.c 1>&5'
41044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41045 (eval $ac_try) 2>&5
41047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41048 (exit $ac_status); }; }
41050 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41052 (eval $ac_try) 2>&5
41054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41055 (exit $ac_status); }; } ; then
41057 { echo "$as_me:$LINENO: result: yes" >&5
41058 echo "${ECHO_T}yes" >&6; }
41060 ax_gcc_version_option=yes
41065 { echo "$as_me:$LINENO: result: no" >&5
41066 echo "${ECHO_T}no" >&6; }
41068 ax_gcc_version_option=no
41076 { echo "$as_me:$LINENO: result: no gcc available" >&5
41077 echo "${ECHO_T}no gcc available" >&6; }
41082 if test "x$GXX" = "xyes"; then
41084 if test "x$ax_gxx_version_option" != "no"; then
41086 { echo "$as_me:$LINENO: checking gxx version" >&5
41087 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41088 if test "${ax_cv_gxx_version+set}" = set; then
41089 echo $ECHO_N "(cached) $ECHO_C" >&6
41092 ax_cv_gxx_version="`$CXX -dumpversion`"
41093 if test "x$ax_cv_gxx_version" = "x"; then
41095 ax_cv_gxx_version=""
41101 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41102 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41103 GXX_VERSION=$ax_cv_gxx_version
41112 if test -n "$ax_cv_gxx_version"; then
41113 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41114 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41115 case "$ax_cv_gxx_version" in
41117 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41118 echo "${ECHO_T}no, it's broken" >&6; }
41119 wx_cv_cc___thread=no
41122 { echo "$as_me:$LINENO: result: yes, it works" >&5
41123 echo "${ECHO_T}yes, it works" >&6; }
41129 if test "$wx_cv_cc___thread" = "yes"; then
41130 cat >>confdefs.h <<\_ACEOF
41131 #define HAVE___THREAD_KEYWORD 1
41139 if test "$wxUSE_THREADS" = "yes" ; then
41141 x86_64-*-mingw32* )
41144 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41145 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41146 if test "${wx_cv_cflags_mthread+set}" = set; then
41147 echo $ECHO_N "(cached) $ECHO_C" >&6
41150 CFLAGS_OLD="$CFLAGS"
41151 CFLAGS="-mthreads $CFLAGS"
41152 cat >conftest.$ac_ext <<_ACEOF
41155 cat confdefs.h >>conftest.$ac_ext
41156 cat >>conftest.$ac_ext <<_ACEOF
41157 /* end confdefs.h. */
41167 rm -f conftest.$ac_objext
41168 if { (ac_try="$ac_compile"
41169 case "(($ac_try" in
41170 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41171 *) ac_try_echo
=$ac_try;;
41173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41174 (eval "$ac_compile") 2>conftest.er1
41176 grep -v '^ *+' conftest.er1
>conftest.err
41178 cat conftest.err
>&5
41179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41180 (exit $ac_status); } && {
41181 test -z "$ac_c_werror_flag" ||
41182 test ! -s conftest.err
41183 } && test -s conftest.
$ac_objext; then
41184 wx_cv_cflags_mthread
=yes
41186 echo "$as_me: failed program was:" >&5
41187 sed 's/^/| /' conftest.
$ac_ext >&5
41189 wx_cv_cflags_mthread
=no
41193 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41197 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41198 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41200 if test "$wx_cv_cflags_mthread" = "yes"; then
41201 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
41202 LDFLAGS
="$LDFLAGS -mthreads"
41204 CFLAGS
="$CFLAGS_OLD"
41208 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41209 LDFLAGS
="$LDFLAGS -Zmt"
41215 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41216 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41217 if test "${ac_cv_func_localtime_r+set}" = set; then
41218 echo $ECHO_N "(cached) $ECHO_C" >&6
41220 cat >conftest.
$ac_ext <<_ACEOF
41223 cat confdefs.h
>>conftest.
$ac_ext
41224 cat >>conftest.
$ac_ext <<_ACEOF
41225 /* end confdefs.h. */
41226 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41228 #define localtime_r innocuous_localtime_r
41230 /* System header to define __stub macros and hopefully few prototypes,
41231 which can conflict with char localtime_r (); below.
41232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41233 <limits.h> exists even on freestanding compilers. */
41236 # include <limits.h>
41238 # include <assert.h>
41243 /* Override any GCC internal prototype to avoid an error.
41244 Use char because int might match the return type of a GCC
41245 builtin and then its argument prototype would still apply. */
41249 char localtime_r ();
41250 /* The GNU C library defines this for functions which it implements
41251 to always fail with ENOSYS. Some functions are actually named
41252 something starting with __ and the normal name is an alias. */
41253 #if defined __stub_localtime_r || defined __stub___localtime_r
41260 return localtime_r ();
41265 rm -f conftest.
$ac_objext conftest
$ac_exeext
41266 if { (ac_try
="$ac_link"
41267 case "(($ac_try" in
41268 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41269 *) ac_try_echo=$ac_try;;
41271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41272 (eval "$ac_link") 2>conftest.er1
41274 grep -v '^ *+' conftest.er1 >conftest.err
41276 cat conftest.err >&5
41277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41278 (exit $ac_status); } && {
41279 test -z "$ac_c_werror_flag" ||
41280 test ! -s conftest.err
41281 } && test -s conftest$ac_exeext &&
41282 $as_test_x conftest$ac_exeext; then
41283 ac_cv_func_localtime_r=yes
41285 echo "$as_me: failed program was:" >&5
41286 sed 's/^/| /' conftest.$ac_ext >&5
41288 ac_cv_func_localtime_r=no
41291 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41292 conftest$ac_exeext conftest.$ac_ext
41294 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41295 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
41296 if test $ac_cv_func_localtime_r = yes; then
41297 cat >>confdefs.h <<\_ACEOF
41298 #define HAVE_LOCALTIME_R 1
41303 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
41304 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
41305 if test "${ac_cv_func_gmtime_r+set}" = set; then
41306 echo $ECHO_N "(cached) $ECHO_C" >&6
41308 cat >conftest.$ac_ext <<_ACEOF
41311 cat confdefs.h >>conftest.$ac_ext
41312 cat >>conftest.$ac_ext <<_ACEOF
41313 /* end confdefs.h. */
41314 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41316 #define gmtime_r innocuous_gmtime_r
41318 /* System header to define __stub macros and hopefully few prototypes,
41319 which can conflict with char gmtime_r (); below.
41320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41321 <limits.h> exists even on freestanding compilers. */
41324 # include <limits.h>
41326 # include <assert.h>
41331 /* Override any GCC internal prototype to avoid an error.
41332 Use char because int might match the return type of a GCC
41333 builtin and then its argument prototype would still apply. */
41338 /* The GNU C library defines this for functions which it implements
41339 to always fail with ENOSYS. Some functions are actually named
41340 something starting with __ and the normal name is an alias. */
41341 #if defined __stub_gmtime_r || defined __stub___gmtime_r
41348 return gmtime_r ();
41353 rm -f conftest.$ac_objext conftest$ac_exeext
41354 if { (ac_try="$ac_link"
41355 case "(($ac_try" in
41356 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41357 *) ac_try_echo
=$ac_try;;
41359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41360 (eval "$ac_link") 2>conftest.er1
41362 grep -v '^ *+' conftest.er1
>conftest.err
41364 cat conftest.err
>&5
41365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41366 (exit $ac_status); } && {
41367 test -z "$ac_c_werror_flag" ||
41368 test ! -s conftest.err
41369 } && test -s conftest
$ac_exeext &&
41370 $as_test_x conftest
$ac_exeext; then
41371 ac_cv_func_gmtime_r
=yes
41373 echo "$as_me: failed program was:" >&5
41374 sed 's/^/| /' conftest.
$ac_ext >&5
41376 ac_cv_func_gmtime_r
=no
41379 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41380 conftest
$ac_exeext conftest.
$ac_ext
41382 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41383 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41384 if test $ac_cv_func_gmtime_r = yes; then
41385 cat >>confdefs.h
<<\_ACEOF
41386 #define HAVE_GMTIME_R 1
41395 ac_cpp
='$CPP $CPPFLAGS'
41396 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41397 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41398 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41400 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41401 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41403 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41404 echo $ECHO_N "(cached) $ECHO_C" >&6
41408 ################################################################
41410 ac_cv_func_which_gethostbyname_r
=unknown
41413 # ONE ARGUMENT (sanity check)
41416 # This should fail, as there is no variant of gethostbyname_r() that takes
41417 # a single argument. If it actually compiles, then we can assume that
41418 # netdb.h is not declaring the function, and the compiler is thereby
41419 # assuming an implicit prototype. In which case, we're out of luck.
41421 cat >conftest.
$ac_ext <<_ACEOF
41424 cat confdefs.h
>>conftest.
$ac_ext
41425 cat >>conftest.
$ac_ext <<_ACEOF
41426 /* end confdefs.h. */
41432 char *name = "www.gnu.org";
41433 (void)gethostbyname_r(name) /* ; */
41439 rm -f conftest.
$ac_objext
41440 if { (ac_try
="$ac_compile"
41441 case "(($ac_try" in
41442 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41443 *) ac_try_echo=$ac_try;;
41445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41446 (eval "$ac_compile") 2>conftest.er1
41448 grep -v '^ *+' conftest.er1 >conftest.err
41450 cat conftest.err >&5
41451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41452 (exit $ac_status); } && {
41453 test -z "$ac_c_werror_flag" ||
41454 test ! -s conftest.err
41455 } && test -s conftest.$ac_objext; then
41456 ac_cv_func_which_gethostbyname_r=no
41458 echo "$as_me: failed program was:" >&5
41459 sed 's/^/| /' conftest.$ac_ext >&5
41464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41471 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41473 cat >conftest.$ac_ext <<_ACEOF
41476 cat confdefs.h >>conftest.$ac_ext
41477 cat >>conftest.$ac_ext <<_ACEOF
41478 /* end confdefs.h. */
41484 char *name = "www.gnu.org";
41485 struct hostent ret, *retp;
41489 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41495 rm -f conftest.$ac_objext
41496 if { (ac_try="$ac_compile"
41497 case "(($ac_try" in
41498 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41499 *) ac_try_echo
=$ac_try;;
41501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41502 (eval "$ac_compile") 2>conftest.er1
41504 grep -v '^ *+' conftest.er1
>conftest.err
41506 cat conftest.err
>&5
41507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41508 (exit $ac_status); } && {
41509 test -z "$ac_c_werror_flag" ||
41510 test ! -s conftest.err
41511 } && test -s conftest.
$ac_objext; then
41512 ac_cv_func_which_gethostbyname_r
=six
41514 echo "$as_me: failed program was:" >&5
41515 sed 's/^/| /' conftest.
$ac_ext >&5
41520 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41529 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41531 cat >conftest.
$ac_ext <<_ACEOF
41534 cat confdefs.h
>>conftest.
$ac_ext
41535 cat >>conftest.
$ac_ext <<_ACEOF
41536 /* end confdefs.h. */
41542 char *name = "www.gnu.org";
41543 struct hostent ret;
41547 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41553 rm -f conftest.
$ac_objext
41554 if { (ac_try
="$ac_compile"
41555 case "(($ac_try" in
41556 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41557 *) ac_try_echo=$ac_try;;
41559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41560 (eval "$ac_compile") 2>conftest.er1
41562 grep -v '^ *+' conftest.er1 >conftest.err
41564 cat conftest.err >&5
41565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41566 (exit $ac_status); } && {
41567 test -z "$ac_c_werror_flag" ||
41568 test ! -s conftest.err
41569 } && test -s conftest.$ac_objext; then
41570 ac_cv_func_which_gethostbyname_r=five
41572 echo "$as_me: failed program was:" >&5
41573 sed 's/^/| /' conftest.$ac_ext >&5
41578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41584 # (e.g. AIX, HP-UX, Tru64)
41587 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41589 cat >conftest.$ac_ext <<_ACEOF
41592 cat confdefs.h >>conftest.$ac_ext
41593 cat >>conftest.$ac_ext <<_ACEOF
41594 /* end confdefs.h. */
41600 char *name = "www.gnu.org";
41601 struct hostent ret;
41602 struct hostent_data data;
41603 (void)gethostbyname_r(name, &ret, &data) /* ; */
41609 rm -f conftest.$ac_objext
41610 if { (ac_try="$ac_compile"
41611 case "(($ac_try" in
41612 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41613 *) ac_try_echo
=$ac_try;;
41615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41616 (eval "$ac_compile") 2>conftest.er1
41618 grep -v '^ *+' conftest.er1
>conftest.err
41620 cat conftest.err
>&5
41621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41622 (exit $ac_status); } && {
41623 test -z "$ac_c_werror_flag" ||
41624 test ! -s conftest.err
41625 } && test -s conftest.
$ac_objext; then
41626 ac_cv_func_which_gethostbyname_r
=three
41628 echo "$as_me: failed program was:" >&5
41629 sed 's/^/| /' conftest.
$ac_ext >&5
41634 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41638 ################################################################
41643 case "$ac_cv_func_which_gethostbyname_r" in
41645 { echo "$as_me:$LINENO: result: three" >&5
41646 echo "${ECHO_T}three" >&6; }
41647 cat >>confdefs.h
<<\_ACEOF
41648 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41654 { echo "$as_me:$LINENO: result: five" >&5
41655 echo "${ECHO_T}five" >&6; }
41656 cat >>confdefs.h
<<\_ACEOF
41657 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41663 { echo "$as_me:$LINENO: result: six" >&5
41664 echo "${ECHO_T}six" >&6; }
41665 cat >>confdefs.h
<<\_ACEOF
41666 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41672 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41673 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41677 { echo "$as_me:$LINENO: result: can't tell" >&5
41678 echo "${ECHO_T}can't tell" >&6; }
41682 { { echo "$as_me:$LINENO: error: internal error" >&5
41683 echo "$as_me: error: internal error" >&2;}
41684 { (exit 1); exit 1; }; }
41689 ac_cpp
='$CPP $CPPFLAGS'
41690 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41691 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41692 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41696 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41697 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41698 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41699 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41700 if test "${ac_cv_func_gethostbyname+set}" = set; then
41701 echo $ECHO_N "(cached) $ECHO_C" >&6
41703 cat >conftest.
$ac_ext <<_ACEOF
41706 cat confdefs.h
>>conftest.
$ac_ext
41707 cat >>conftest.
$ac_ext <<_ACEOF
41708 /* end confdefs.h. */
41709 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41711 #define gethostbyname innocuous_gethostbyname
41713 /* System header to define __stub macros and hopefully few prototypes,
41714 which can conflict with char gethostbyname (); below.
41715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41716 <limits.h> exists even on freestanding compilers. */
41719 # include <limits.h>
41721 # include <assert.h>
41724 #undef gethostbyname
41726 /* Override any GCC internal prototype to avoid an error.
41727 Use char because int might match the return type of a GCC
41728 builtin and then its argument prototype would still apply. */
41732 char gethostbyname ();
41733 /* The GNU C library defines this for functions which it implements
41734 to always fail with ENOSYS. Some functions are actually named
41735 something starting with __ and the normal name is an alias. */
41736 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41743 return gethostbyname ();
41748 rm -f conftest.
$ac_objext conftest
$ac_exeext
41749 if { (ac_try
="$ac_link"
41750 case "(($ac_try" in
41751 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41752 *) ac_try_echo=$ac_try;;
41754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41755 (eval "$ac_link") 2>conftest.er1
41757 grep -v '^ *+' conftest.er1 >conftest.err
41759 cat conftest.err >&5
41760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41761 (exit $ac_status); } && {
41762 test -z "$ac_c_werror_flag" ||
41763 test ! -s conftest.err
41764 } && test -s conftest$ac_exeext &&
41765 $as_test_x conftest$ac_exeext; then
41766 ac_cv_func_gethostbyname=yes
41768 echo "$as_me: failed program was:" >&5
41769 sed 's/^/| /' conftest.$ac_ext >&5
41771 ac_cv_func_gethostbyname=no
41774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41775 conftest$ac_exeext conftest.$ac_ext
41777 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41778 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41779 if test $ac_cv_func_gethostbyname = yes; then
41780 cat >>confdefs.h <<\_ACEOF
41781 #define HAVE_GETHOSTBYNAME 1
41788 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41789 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41790 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41791 echo $ECHO_N "(cached) $ECHO_C" >&6
41795 ac_cpp='$CXXCPP $CPPFLAGS'
41796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41801 cat >conftest.$ac_ext <<_ACEOF
41804 cat confdefs.h >>conftest.$ac_ext
41805 cat >>conftest.$ac_ext <<_ACEOF
41806 /* end confdefs.h. */
41814 struct servent *se, *res;
41817 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41823 rm -f conftest.$ac_objext
41824 if { (ac_try="$ac_compile"
41825 case "(($ac_try" in
41826 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41827 *) ac_try_echo
=$ac_try;;
41829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41830 (eval "$ac_compile") 2>conftest.er1
41832 grep -v '^ *+' conftest.er1
>conftest.err
41834 cat conftest.err
>&5
41835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41836 (exit $ac_status); } && {
41837 test -z "$ac_cxx_werror_flag" ||
41838 test ! -s conftest.err
41839 } && test -s conftest.
$ac_objext; then
41840 ac_cv_func_which_getservbyname_r
=six
41842 echo "$as_me: failed program was:" >&5
41843 sed 's/^/| /' conftest.
$ac_ext >&5
41846 cat >conftest.
$ac_ext <<_ACEOF
41849 cat confdefs.h
>>conftest.
$ac_ext
41850 cat >>conftest.
$ac_ext <<_ACEOF
41851 /* end confdefs.h. */
41859 struct servent *se;
41862 (void) getservbyname_r(name, proto, se, buffer, buflen)
41868 rm -f conftest.
$ac_objext
41869 if { (ac_try
="$ac_compile"
41870 case "(($ac_try" in
41871 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41872 *) ac_try_echo=$ac_try;;
41874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41875 (eval "$ac_compile") 2>conftest.er1
41877 grep -v '^ *+' conftest.er1 >conftest.err
41879 cat conftest.err >&5
41880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41881 (exit $ac_status); } && {
41882 test -z "$ac_cxx_werror_flag" ||
41883 test ! -s conftest.err
41884 } && test -s conftest.$ac_objext; then
41885 ac_cv_func_which_getservbyname_r=five
41887 echo "$as_me: failed program was:" >&5
41888 sed 's/^/| /' conftest.$ac_ext >&5
41891 cat >conftest.$ac_ext <<_ACEOF
41894 cat confdefs.h >>conftest.$ac_ext
41895 cat >>conftest.$ac_ext <<_ACEOF
41896 /* end confdefs.h. */
41904 struct servent *se;
41905 struct servent_data data;
41906 (void) getservbyname_r(name, proto, se, &data);
41912 rm -f conftest.$ac_objext
41913 if { (ac_try="$ac_compile"
41914 case "(($ac_try" in
41915 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41916 *) ac_try_echo
=$ac_try;;
41918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41919 (eval "$ac_compile") 2>conftest.er1
41921 grep -v '^ *+' conftest.er1
>conftest.err
41923 cat conftest.err
>&5
41924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41925 (exit $ac_status); } && {
41926 test -z "$ac_cxx_werror_flag" ||
41927 test ! -s conftest.err
41928 } && test -s conftest.
$ac_objext; then
41929 ac_cv_func_which_getservbyname_r
=four
41931 echo "$as_me: failed program was:" >&5
41932 sed 's/^/| /' conftest.
$ac_ext >&5
41934 ac_cv_func_which_getservbyname_r
=no
41938 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41943 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41948 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41950 ac_cpp
='$CPP $CPPFLAGS'
41951 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41952 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41953 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41958 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41959 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41961 if test $ac_cv_func_which_getservbyname_r = six
; then
41962 cat >>confdefs.h
<<\_ACEOF
41963 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41966 elif test $ac_cv_func_which_getservbyname_r = five
; then
41967 cat >>confdefs.h
<<\_ACEOF
41968 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41971 elif test $ac_cv_func_which_getservbyname_r = four
; then
41972 cat >>confdefs.h
<<\_ACEOF
41973 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41979 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41980 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41982 for ac_func
in getservbyname
41984 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41985 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41987 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41988 echo $ECHO_N "(cached) $ECHO_C" >&6
41990 cat >conftest.
$ac_ext <<_ACEOF
41993 cat confdefs.h
>>conftest.
$ac_ext
41994 cat >>conftest.
$ac_ext <<_ACEOF
41995 /* end confdefs.h. */
41996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41998 #define $ac_func innocuous_$ac_func
42000 /* System header to define __stub macros and hopefully few prototypes,
42001 which can conflict with char $ac_func (); below.
42002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42003 <limits.h> exists even on freestanding compilers. */
42006 # include <limits.h>
42008 # include <assert.h>
42013 /* Override any GCC internal prototype to avoid an error.
42014 Use char because int might match the return type of a GCC
42015 builtin and then its argument prototype would still apply. */
42020 /* The GNU C library defines this for functions which it implements
42021 to always fail with ENOSYS. Some functions are actually named
42022 something starting with __ and the normal name is an alias. */
42023 #if defined __stub_$ac_func || defined __stub___$ac_func
42030 return $ac_func ();
42035 rm -f conftest.
$ac_objext conftest
$ac_exeext
42036 if { (ac_try
="$ac_link"
42037 case "(($ac_try" in
42038 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42039 *) ac_try_echo=$ac_try;;
42041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42042 (eval "$ac_link") 2>conftest.er1
42044 grep -v '^ *+' conftest.er1 >conftest.err
42046 cat conftest.err >&5
42047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42048 (exit $ac_status); } && {
42049 test -z "$ac_c_werror_flag" ||
42050 test ! -s conftest.err
42051 } && test -s conftest$ac_exeext &&
42052 $as_test_x conftest$ac_exeext; then
42053 eval "$as_ac_var=yes"
42055 echo "$as_me: failed program was:" >&5
42056 sed 's/^/| /' conftest.$ac_ext >&5
42058 eval "$as_ac_var=no"
42061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42062 conftest$ac_exeext conftest.$ac_ext
42064 ac_res=`eval echo '${'$as_ac_var'}'`
42065 { echo "$as_me:$LINENO: result: $ac_res" >&5
42066 echo "${ECHO_T}$ac_res" >&6; }
42067 if test `eval echo '${'$as_ac_var'}'` = yes; then
42068 cat >>confdefs.h <<_ACEOF
42069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42071 cat >>confdefs.h <<\_ACEOF
42072 #define HAVE_GETSERVBYNAME 1
42080 if test "$wxUSE_THREADS" = "yes"; then
42081 cat >>confdefs.h <<\_ACEOF
42082 #define wxUSE_THREADS 1
42086 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42088 if test "$wx_cv_func_strtok_r" = "yes"; then
42089 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42090 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42091 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42092 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42093 { echo "$as_me:$LINENO: result: yes" >&5
42094 echo "${ECHO_T}yes" >&6; }
42096 { echo "$as_me:$LINENO: result: no" >&5
42097 echo "${ECHO_T}no" >&6; }
42102 if test "$WXGTK2" = 1 ; then
42103 cat >>confdefs.h <<_ACEOF
42104 #define __WXGTK20__ $WXGTK2
42110 if test "$WXGTK12" = 1 ; then
42111 cat >>confdefs.h <<_ACEOF
42112 #define __WXGTK12__ $WXGTK12
42117 if test "$WXGTK127" = 1 ; then
42118 cat >>confdefs.h <<_ACEOF
42119 #define __WXGTK127__ $WXGTK127
42124 if test "$WXGPE" = 1 ; then
42125 cat >>confdefs.h <<_ACEOF
42126 #define __WXGPE__ $WXGPE
42132 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev
/null
`; then
42133 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42134 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42135 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42139 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42140 wxUSE_DEBUG_INFO=yes
42141 if test "$GCC" = yes; then
42142 DEBUG_CFLAGS="-ggdb"
42146 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42147 if test "$wxUSE_GTK" = 1 ; then
42148 if test "x$wxGTK_VERSION" = "x1" ; then
42149 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42154 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42155 cat >>confdefs.h <<\_ACEOF
42156 #define wxUSE_MEMORY_TRACING 1
42159 cat >>confdefs.h <<\_ACEOF
42160 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42163 cat >>confdefs.h <<\_ACEOF
42164 #define wxUSE_DEBUG_NEW_ALWAYS 1
42167 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42170 if test "$wxUSE_DMALLOC" = "yes" ; then
42171 DMALLOC_LIBS="-ldmallocthcxx"
42175 if test "$wxUSE_PROFILE" = "yes" ; then
42176 PROFILE_FLAGS=" -pg"
42179 if test "$GCC" = "yes" ; then
42180 if test "$wxUSE_NO_RTTI" = "yes" ; then
42181 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
42183 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42184 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42186 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42187 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42192 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42195 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42201 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev
/null
`; then
42202 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42203 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42205 if test "$wxUSE_OPTIMISE" = "no" ; then
42206 if test "$GCC" = yes ; then
42207 OPTIMISE_CFLAGS="-O0"
42210 if test "$GCC" = yes ; then
42212 *-pc-os2_emx | *-pc-os2-emx )
42213 OPTIMISE_CFLAGS="-O2"
42216 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42220 OPTIMISE_CFLAGS="-O"
42226 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42227 cat >>confdefs.h <<\_ACEOF
42228 #define WXWIN_COMPATIBILITY_2_6 1
42232 WXWIN_COMPATIBILITY_2_8="yes"
42235 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42236 cat >>confdefs.h <<\_ACEOF
42237 #define WXWIN_COMPATIBILITY_2_8 1
42243 if test "$wxUSE_GUI" = "yes"; then
42244 cat >>confdefs.h <<\_ACEOF
42245 #define wxUSE_GUI 1
42252 if test "$wxUSE_UNIX" = "yes"; then
42253 cat >>confdefs.h <<\_ACEOF
42254 #define wxUSE_UNIX 1
42260 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42264 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42265 if test "$USE_DOS" = 1; then
42269 for ac_func in dlopen
42271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42272 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42274 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42275 echo $ECHO_N "(cached) $ECHO_C" >&6
42277 cat >conftest.$ac_ext <<_ACEOF
42280 cat confdefs.h >>conftest.$ac_ext
42281 cat >>conftest.$ac_ext <<_ACEOF
42282 /* end confdefs.h. */
42283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42285 #define $ac_func innocuous_$ac_func
42287 /* System header to define __stub macros and hopefully few prototypes,
42288 which can conflict with char $ac_func (); below.
42289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42290 <limits.h> exists even on freestanding compilers. */
42293 # include <limits.h>
42295 # include <assert.h>
42300 /* Override any GCC internal prototype to avoid an error.
42301 Use char because int might match the return type of a GCC
42302 builtin and then its argument prototype would still apply. */
42307 /* The GNU C library defines this for functions which it implements
42308 to always fail with ENOSYS. Some functions are actually named
42309 something starting with __ and the normal name is an alias. */
42310 #if defined __stub_$ac_func || defined __stub___$ac_func
42317 return $ac_func ();
42322 rm -f conftest.$ac_objext conftest$ac_exeext
42323 if { (ac_try="$ac_link"
42324 case "(($ac_try" in
42325 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42326 *) ac_try_echo
=$ac_try;;
42328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42329 (eval "$ac_link") 2>conftest.er1
42331 grep -v '^ *+' conftest.er1
>conftest.err
42333 cat conftest.err
>&5
42334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42335 (exit $ac_status); } && {
42336 test -z "$ac_c_werror_flag" ||
42337 test ! -s conftest.err
42338 } && test -s conftest
$ac_exeext &&
42339 $as_test_x conftest
$ac_exeext; then
42340 eval "$as_ac_var=yes"
42342 echo "$as_me: failed program was:" >&5
42343 sed 's/^/| /' conftest.
$ac_ext >&5
42345 eval "$as_ac_var=no"
42348 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42349 conftest
$ac_exeext conftest.
$ac_ext
42351 ac_res
=`eval echo '${'$as_ac_var'}'`
42352 { echo "$as_me:$LINENO: result: $ac_res" >&5
42353 echo "${ECHO_T}$ac_res" >&6; }
42354 if test `eval echo '${'$as_ac_var'}'` = yes; then
42355 cat >>confdefs.h
<<_ACEOF
42356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42359 cat >>confdefs.h
<<\_ACEOF
42360 #define HAVE_DLOPEN 1
42367 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42368 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
42369 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42370 echo $ECHO_N "(cached) $ECHO_C" >&6
42372 ac_check_lib_save_LIBS
=$LIBS
42374 cat >conftest.
$ac_ext <<_ACEOF
42377 cat confdefs.h
>>conftest.
$ac_ext
42378 cat >>conftest.
$ac_ext <<_ACEOF
42379 /* end confdefs.h. */
42381 /* Override any GCC internal prototype to avoid an error.
42382 Use char because int might match the return type of a GCC
42383 builtin and then its argument prototype would still apply. */
42396 rm -f conftest.
$ac_objext conftest
$ac_exeext
42397 if { (ac_try
="$ac_link"
42398 case "(($ac_try" in
42399 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42400 *) ac_try_echo=$ac_try;;
42402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42403 (eval "$ac_link") 2>conftest.er1
42405 grep -v '^ *+' conftest.er1 >conftest.err
42407 cat conftest.err >&5
42408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42409 (exit $ac_status); } && {
42410 test -z "$ac_c_werror_flag" ||
42411 test ! -s conftest.err
42412 } && test -s conftest$ac_exeext &&
42413 $as_test_x conftest$ac_exeext; then
42414 ac_cv_lib_dl_dlopen=yes
42416 echo "$as_me: failed program was:" >&5
42417 sed 's/^/| /' conftest.$ac_ext >&5
42419 ac_cv_lib_dl_dlopen=no
42422 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42423 conftest$ac_exeext conftest.$ac_ext
42424 LIBS=$ac_check_lib_save_LIBS
42426 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42427 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42428 if test $ac_cv_lib_dl_dlopen = yes; then
42430 cat >>confdefs.h <<\_ACEOF
42431 #define HAVE_DLOPEN 1
42435 DL_LINK=" -ldl$DL_LINK"
42440 for ac_func in shl_load
42442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42443 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42445 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42446 echo $ECHO_N "(cached) $ECHO_C" >&6
42448 cat >conftest.$ac_ext <<_ACEOF
42451 cat confdefs.h >>conftest.$ac_ext
42452 cat >>conftest.$ac_ext <<_ACEOF
42453 /* end confdefs.h. */
42454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42456 #define $ac_func innocuous_$ac_func
42458 /* System header to define __stub macros and hopefully few prototypes,
42459 which can conflict with char $ac_func (); below.
42460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42461 <limits.h> exists even on freestanding compilers. */
42464 # include <limits.h>
42466 # include <assert.h>
42471 /* Override any GCC internal prototype to avoid an error.
42472 Use char because int might match the return type of a GCC
42473 builtin and then its argument prototype would still apply. */
42478 /* The GNU C library defines this for functions which it implements
42479 to always fail with ENOSYS. Some functions are actually named
42480 something starting with __ and the normal name is an alias. */
42481 #if defined __stub_$ac_func || defined __stub___$ac_func
42488 return $ac_func ();
42493 rm -f conftest.$ac_objext conftest$ac_exeext
42494 if { (ac_try="$ac_link"
42495 case "(($ac_try" in
42496 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42497 *) ac_try_echo
=$ac_try;;
42499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42500 (eval "$ac_link") 2>conftest.er1
42502 grep -v '^ *+' conftest.er1
>conftest.err
42504 cat conftest.err
>&5
42505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42506 (exit $ac_status); } && {
42507 test -z "$ac_c_werror_flag" ||
42508 test ! -s conftest.err
42509 } && test -s conftest
$ac_exeext &&
42510 $as_test_x conftest
$ac_exeext; then
42511 eval "$as_ac_var=yes"
42513 echo "$as_me: failed program was:" >&5
42514 sed 's/^/| /' conftest.
$ac_ext >&5
42516 eval "$as_ac_var=no"
42519 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42520 conftest
$ac_exeext conftest.
$ac_ext
42522 ac_res
=`eval echo '${'$as_ac_var'}'`
42523 { echo "$as_me:$LINENO: result: $ac_res" >&5
42524 echo "${ECHO_T}$ac_res" >&6; }
42525 if test `eval echo '${'$as_ac_var'}'` = yes; then
42526 cat >>confdefs.h
<<_ACEOF
42527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42530 cat >>confdefs.h
<<\_ACEOF
42531 #define HAVE_SHL_LOAD 1
42538 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42539 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
42540 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42541 echo $ECHO_N "(cached) $ECHO_C" >&6
42543 ac_check_lib_save_LIBS
=$LIBS
42544 LIBS
="-lshl_load $LIBS"
42545 cat >conftest.
$ac_ext <<_ACEOF
42548 cat confdefs.h
>>conftest.
$ac_ext
42549 cat >>conftest.
$ac_ext <<_ACEOF
42550 /* end confdefs.h. */
42552 /* Override any GCC internal prototype to avoid an error.
42553 Use char because int might match the return type of a GCC
42554 builtin and then its argument prototype would still apply. */
42567 rm -f conftest.
$ac_objext conftest
$ac_exeext
42568 if { (ac_try
="$ac_link"
42569 case "(($ac_try" in
42570 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42571 *) ac_try_echo=$ac_try;;
42573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42574 (eval "$ac_link") 2>conftest.er1
42576 grep -v '^ *+' conftest.er1 >conftest.err
42578 cat conftest.err >&5
42579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42580 (exit $ac_status); } && {
42581 test -z "$ac_c_werror_flag" ||
42582 test ! -s conftest.err
42583 } && test -s conftest$ac_exeext &&
42584 $as_test_x conftest$ac_exeext; then
42585 ac_cv_lib_shl_load_dld=yes
42587 echo "$as_me: failed program was:" >&5
42588 sed 's/^/| /' conftest.$ac_ext >&5
42590 ac_cv_lib_shl_load_dld=no
42593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42594 conftest$ac_exeext conftest.$ac_ext
42595 LIBS=$ac_check_lib_save_LIBS
42597 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42598 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
42599 if test $ac_cv_lib_shl_load_dld = yes; then
42602 DL_LINK=" -ldld$DL_LINK"
42618 if test "$HAVE_DL_FUNCS" = 1; then
42620 for ac_func in dlerror
42622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42623 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42625 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42626 echo $ECHO_N "(cached) $ECHO_C" >&6
42628 cat >conftest.$ac_ext <<_ACEOF
42631 cat confdefs.h >>conftest.$ac_ext
42632 cat >>conftest.$ac_ext <<_ACEOF
42633 /* end confdefs.h. */
42634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42636 #define $ac_func innocuous_$ac_func
42638 /* System header to define __stub macros and hopefully few prototypes,
42639 which can conflict with char $ac_func (); below.
42640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42641 <limits.h> exists even on freestanding compilers. */
42644 # include <limits.h>
42646 # include <assert.h>
42651 /* Override any GCC internal prototype to avoid an error.
42652 Use char because int might match the return type of a GCC
42653 builtin and then its argument prototype would still apply. */
42658 /* The GNU C library defines this for functions which it implements
42659 to always fail with ENOSYS. Some functions are actually named
42660 something starting with __ and the normal name is an alias. */
42661 #if defined __stub_$ac_func || defined __stub___$ac_func
42668 return $ac_func ();
42673 rm -f conftest.$ac_objext conftest$ac_exeext
42674 if { (ac_try="$ac_link"
42675 case "(($ac_try" in
42676 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42677 *) ac_try_echo
=$ac_try;;
42679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42680 (eval "$ac_link") 2>conftest.er1
42682 grep -v '^ *+' conftest.er1
>conftest.err
42684 cat conftest.err
>&5
42685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42686 (exit $ac_status); } && {
42687 test -z "$ac_c_werror_flag" ||
42688 test ! -s conftest.err
42689 } && test -s conftest
$ac_exeext &&
42690 $as_test_x conftest
$ac_exeext; then
42691 eval "$as_ac_var=yes"
42693 echo "$as_me: failed program was:" >&5
42694 sed 's/^/| /' conftest.
$ac_ext >&5
42696 eval "$as_ac_var=no"
42699 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42700 conftest
$ac_exeext conftest.
$ac_ext
42702 ac_res
=`eval echo '${'$as_ac_var'}'`
42703 { echo "$as_me:$LINENO: result: $ac_res" >&5
42704 echo "${ECHO_T}$ac_res" >&6; }
42705 if test `eval echo '${'$as_ac_var'}'` = yes; then
42706 cat >>confdefs.h
<<_ACEOF
42707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42709 cat >>confdefs.h
<<\_ACEOF
42710 #define HAVE_DLERROR 1
42715 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42716 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42717 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42718 echo $ECHO_N "(cached) $ECHO_C" >&6
42720 ac_check_lib_save_LIBS
=$LIBS
42722 cat >conftest.
$ac_ext <<_ACEOF
42725 cat confdefs.h
>>conftest.
$ac_ext
42726 cat >>conftest.
$ac_ext <<_ACEOF
42727 /* end confdefs.h. */
42729 /* Override any GCC internal prototype to avoid an error.
42730 Use char because int might match the return type of a GCC
42731 builtin and then its argument prototype would still apply. */
42744 rm -f conftest.
$ac_objext conftest
$ac_exeext
42745 if { (ac_try
="$ac_link"
42746 case "(($ac_try" in
42747 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42748 *) ac_try_echo=$ac_try;;
42750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42751 (eval "$ac_link") 2>conftest.er1
42753 grep -v '^ *+' conftest.er1 >conftest.err
42755 cat conftest.err >&5
42756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42757 (exit $ac_status); } && {
42758 test -z "$ac_c_werror_flag" ||
42759 test ! -s conftest.err
42760 } && test -s conftest$ac_exeext &&
42761 $as_test_x conftest$ac_exeext; then
42762 ac_cv_lib_dl_dlerror=yes
42764 echo "$as_me: failed program was:" >&5
42765 sed 's/^/| /' conftest.$ac_ext >&5
42767 ac_cv_lib_dl_dlerror=no
42770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42771 conftest$ac_exeext conftest.$ac_ext
42772 LIBS=$ac_check_lib_save_LIBS
42774 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42775 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42776 if test $ac_cv_lib_dl_dlerror = yes; then
42777 cat >>confdefs.h <<\_ACEOF
42778 #define HAVE_DLERROR 1
42791 if test "$USE_DARWIN" = 1; then
42795 if test "$HAVE_DL_FUNCS" = 0; then
42796 if test "$HAVE_SHL_FUNCS" = 0; then
42797 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42798 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42799 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42800 wxUSE_DYNAMIC_LOADER=no
42801 wxUSE_DYNLIB_CLASS=no
42803 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42804 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42811 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42812 cat >>confdefs.h <<\_ACEOF
42813 #define wxUSE_DYNAMIC_LOADER 1
42817 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42818 cat >>confdefs.h <<\_ACEOF
42819 #define wxUSE_DYNLIB_CLASS 1
42826 if test "$wxUSE_PLUGINS" = "yes" ; then
42827 if test "$wxUSE_SHARED" = "no" ; then
42828 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42829 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42832 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42833 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42834 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42837 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42838 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42839 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42842 if test "$wxUSE_PLUGINS" = "yes" ; then
42843 cat >>confdefs.h <<\_ACEOF
42844 #define wxUSE_PLUGINS 1
42851 if test "$wxUSE_FSWATCHER" = "yes"; then
42852 if test "$wxUSE_MSW" != "1"; then
42853 if test "$wxUSE_UNIX" = "yes"; then
42855 for ac_header in sys/inotify.h
42857 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42858 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42859 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42860 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42861 echo $ECHO_N "(cached) $ECHO_C" >&6
42863 cat >conftest.$ac_ext <<_ACEOF
42866 cat confdefs.h >>conftest.$ac_ext
42867 cat >>conftest.$ac_ext <<_ACEOF
42868 /* end confdefs.h. */
42869 $ac_includes_default
42871 #include <$ac_header>
42873 rm -f conftest.$ac_objext
42874 if { (ac_try="$ac_compile"
42875 case "(($ac_try" in
42876 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42877 *) ac_try_echo
=$ac_try;;
42879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42880 (eval "$ac_compile") 2>conftest.er1
42882 grep -v '^ *+' conftest.er1
>conftest.err
42884 cat conftest.err
>&5
42885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42886 (exit $ac_status); } && {
42887 test -z "$ac_c_werror_flag" ||
42888 test ! -s conftest.err
42889 } && test -s conftest.
$ac_objext; then
42890 eval "$as_ac_Header=yes"
42892 echo "$as_me: failed program was:" >&5
42893 sed 's/^/| /' conftest.
$ac_ext >&5
42895 eval "$as_ac_Header=no"
42898 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42900 ac_res
=`eval echo '${'$as_ac_Header'}'`
42901 { echo "$as_me:$LINENO: result: $ac_res" >&5
42902 echo "${ECHO_T}$ac_res" >&6; }
42903 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42904 cat >>confdefs.h
<<_ACEOF
42905 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42912 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
42913 cat >>confdefs.h
<<\_ACEOF
42914 #define wxHAS_INOTIFY 1
42919 for ac_header
in sys
/event.h
42921 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42922 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42924 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42925 echo $ECHO_N "(cached) $ECHO_C" >&6
42927 cat >conftest.
$ac_ext <<_ACEOF
42930 cat confdefs.h
>>conftest.
$ac_ext
42931 cat >>conftest.
$ac_ext <<_ACEOF
42932 /* end confdefs.h. */
42933 $ac_includes_default
42935 #include <$ac_header>
42937 rm -f conftest.
$ac_objext
42938 if { (ac_try
="$ac_compile"
42939 case "(($ac_try" in
42940 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42941 *) ac_try_echo=$ac_try;;
42943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42944 (eval "$ac_compile") 2>conftest.er1
42946 grep -v '^ *+' conftest.er1 >conftest.err
42948 cat conftest.err >&5
42949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42950 (exit $ac_status); } && {
42951 test -z "$ac_c_werror_flag" ||
42952 test ! -s conftest.err
42953 } && test -s conftest.$ac_objext; then
42954 eval "$as_ac_Header=yes"
42956 echo "$as_me: failed program was:" >&5
42957 sed 's/^/| /' conftest.$ac_ext >&5
42959 eval "$as_ac_Header=no"
42962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42964 ac_res=`eval echo '${'$as_ac_Header'}'`
42965 { echo "$as_me:$LINENO: result: $ac_res" >&5
42966 echo "${ECHO_T}$ac_res" >&6; }
42967 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42968 cat >>confdefs.h <<_ACEOF
42969 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42976 if test "$ac_cv_header_sys_event_h" = "yes"; then
42977 cat >>confdefs.h <<\_ACEOF
42978 #define wxHAS_KQUEUE 1
42990 if test "$wxUSE_FSWATCHER" = "yes"; then
42991 cat >>confdefs.h <<\_ACEOF
42992 #define wxUSE_FSWATCHER 1
42995 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
42997 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
42998 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43003 if test "$wxUSE_STL" = "yes"; then
43004 cat >>confdefs.h <<\_ACEOF
43005 #define wxUSE_STL 1
43010 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43011 cat >>confdefs.h <<\_ACEOF
43012 #define wxUSE_EXTENDED_RTTI 1
43017 if test "$wxUSE_ANY" = "yes"; then
43018 cat >>confdefs.h <<\_ACEOF
43019 #define wxUSE_ANY 1
43024 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43025 cat >>confdefs.h <<\_ACEOF
43026 #define wxUSE_APPLE_IEEE 1
43031 if test "$wxUSE_TIMER" = "yes"; then
43032 cat >>confdefs.h <<\_ACEOF
43033 #define wxUSE_TIMER 1
43038 if test "$USE_UNIX" = 1 ; then
43039 if test "$wxUSE_MGL" != 1; then
43040 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43041 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43042 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43043 echo $ECHO_N "(cached) $ECHO_C" >&6
43046 cat >conftest.$ac_ext <<_ACEOF
43049 cat confdefs.h >>conftest.$ac_ext
43050 cat >>conftest.$ac_ext <<_ACEOF
43051 /* end confdefs.h. */
43053 #include <sys/ioctl.h>
43054 #include <sys/soundcard.h>
43060 ioctl(0, SNDCTL_DSP_SPEED, 0);
43066 rm -f conftest.$ac_objext conftest$ac_exeext
43067 if { (ac_try="$ac_link"
43068 case "(($ac_try" in
43069 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43070 *) ac_try_echo
=$ac_try;;
43072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43073 (eval "$ac_link") 2>conftest.er1
43075 grep -v '^ *+' conftest.er1
>conftest.err
43077 cat conftest.err
>&5
43078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43079 (exit $ac_status); } && {
43080 test -z "$ac_c_werror_flag" ||
43081 test ! -s conftest.err
43082 } && test -s conftest
$ac_exeext &&
43083 $as_test_x conftest
$ac_exeext; then
43084 ac_cv_header_sys_soundcard
=yes
43086 echo "$as_me: failed program was:" >&5
43087 sed 's/^/| /' conftest.
$ac_ext >&5
43091 LIBS
="$saveLibs -lossaudio"
43092 cat >conftest.
$ac_ext <<_ACEOF
43095 cat confdefs.h
>>conftest.
$ac_ext
43096 cat >>conftest.
$ac_ext <<_ACEOF
43097 /* end confdefs.h. */
43099 #include <sys/ioctl.h>
43100 #include <sys/soundcard.h>
43106 ioctl(0, SNDCTL_DSP_SPEED, 0);
43112 rm -f conftest.
$ac_objext conftest
$ac_exeext
43113 if { (ac_try
="$ac_link"
43114 case "(($ac_try" in
43115 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43116 *) ac_try_echo=$ac_try;;
43118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43119 (eval "$ac_link") 2>conftest.er1
43121 grep -v '^ *+' conftest.er1 >conftest.err
43123 cat conftest.err >&5
43124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43125 (exit $ac_status); } && {
43126 test -z "$ac_c_werror_flag" ||
43127 test ! -s conftest.err
43128 } && test -s conftest$ac_exeext &&
43129 $as_test_x conftest$ac_exeext; then
43130 ac_cv_header_sys_soundcard=yes
43132 echo "$as_me: failed program was:" >&5
43133 sed 's/^/| /' conftest.$ac_ext >&5
43137 ac_cv_header_sys_soundcard=no
43142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43143 conftest$ac_exeext conftest.$ac_ext
43148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43149 conftest$ac_exeext conftest.$ac_ext
43152 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43153 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43156 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43157 cat >>confdefs.h <<\_ACEOF
43158 #define HAVE_SYS_SOUNDCARD_H 1
43165 if test "$wxUSE_SOUND" = "yes"; then
43166 if test "$USE_UNIX" = 1 ; then
43167 if test "$wxUSE_LIBSDL" != "no"; then
43169 # Check whether --with-sdl-prefix was given.
43170 if test "${with_sdl_prefix+set}" = set; then
43171 withval=$with_sdl_prefix; sdl_prefix="$withval"
43177 # Check whether --with-sdl-exec-prefix was given.
43178 if test "${with_sdl_exec_prefix+set}" = set; then
43179 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43184 # Check whether --enable-sdltest was given.
43185 if test "${enable_sdltest+set}" = set; then
43186 enableval=$enable_sdltest;
43192 if test x$sdl_exec_prefix != x ; then
43193 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43194 if test x${SDL_CONFIG+set} != xset ; then
43195 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43198 if test x$sdl_prefix != x ; then
43199 sdl_args="$sdl_args --prefix=$sdl_prefix"
43200 if test x${SDL_CONFIG+set} != xset ; then
43201 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43205 if test "x$prefix" != xNONE; then
43206 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43208 # Extract the first word of "sdl-config", so it can be a program name with args.
43209 set dummy sdl-config; ac_word=$2
43210 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43212 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43213 echo $ECHO_N "(cached) $ECHO_C" >&6
43215 case $SDL_CONFIG in
43217 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43221 for as_dir in $PATH
43224 test -z "$as_dir" && as_dir=.
43225 for ac_exec_ext in '' $ac_executable_extensions; do
43226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43227 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43235 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43239 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43240 if test -n "$SDL_CONFIG"; then
43241 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43242 echo "${ECHO_T}$SDL_CONFIG" >&6; }
43244 { echo "$as_me:$LINENO: result: no" >&5
43245 echo "${ECHO_T}no" >&6; }
43249 min_sdl_version=1.2.0
43250 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43251 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
43253 if test "$SDL_CONFIG" = "no" ; then
43256 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43257 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43259 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43260 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43261 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43262 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43263 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43264 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43265 if test "x$enable_sdltest" = "xyes" ; then
43266 ac_save_CFLAGS="$CFLAGS"
43267 ac_save_CXXFLAGS="$CXXFLAGS"
43268 ac_save_LIBS="$LIBS"
43269 CFLAGS="$CFLAGS $SDL_CFLAGS"
43270 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43271 LIBS="$LIBS $SDL_LIBS"
43273 if test "$cross_compiling" = yes; then
43274 echo $ac_n "cross compiling; assumed OK... $ac_c"
43276 cat >conftest.$ac_ext <<_ACEOF
43279 cat confdefs.h >>conftest.$ac_ext
43280 cat >>conftest.$ac_ext <<_ACEOF
43281 /* end confdefs.h. */
43284 #include <stdlib.h>
43285 #include <string.h>
43289 my_strdup (char *str)
43295 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43296 strcpy (new_str, str);
43304 int main (int argc, char *argv[])
43306 int major, minor, micro;
43309 /* This hangs on some systems (?)
43310 system ("touch conf.sdltest");
43312 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43314 /* HP/UX 9 (%@#!) writes to sscanf strings */
43315 tmp_version = my_strdup("$min_sdl_version");
43316 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
43317 printf("%s, bad version string\n", "$min_sdl_version");
43321 if (($sdl_major_version > major) ||
43322 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43323 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43329 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43330 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43331 printf("*** best to upgrade to the required version.\n");
43332 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43333 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43334 printf("*** config.cache before re-running configure\n");
43341 rm -f conftest$ac_exeext
43342 if { (ac_try="$ac_link"
43343 case "(($ac_try" in
43344 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43345 *) ac_try_echo
=$ac_try;;
43347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43348 (eval "$ac_link") 2>&5
43350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43351 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43352 { (case "(($ac_try" in
43353 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43354 *) ac_try_echo=$ac_try;;
43356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43357 (eval "$ac_try") 2>&5
43359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43360 (exit $ac_status); }; }; then
43363 echo "$as_me: program exited with status $ac_status" >&5
43364 echo "$as_me: failed program was:" >&5
43365 sed 's/^/| /' conftest.$ac_ext >&5
43367 ( exit $ac_status )
43370 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43374 CFLAGS="$ac_save_CFLAGS"
43375 CXXFLAGS="$ac_save_CXXFLAGS"
43376 LIBS="$ac_save_LIBS"
43379 if test "x$no_sdl" = x ; then
43380 { echo "$as_me:$LINENO: result: yes" >&5
43381 echo "${ECHO_T}yes" >&6; }
43383 EXTRALIBS_SDL="$SDL_LIBS"
43384 CFLAGS="$SDL_CFLAGS $CFLAGS"
43385 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43386 cat >>confdefs.h <<\_ACEOF
43387 #define wxUSE_LIBSDL 1
43392 { echo "$as_me:$LINENO: result: no" >&5
43393 echo "${ECHO_T}no" >&6; }
43394 if test "$SDL_CONFIG" = "no" ; then
43395 echo "*** The sdl-config script installed by SDL could not be found"
43396 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43397 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43398 echo "*** full path to sdl-config."
43400 if test -f conf.sdltest ; then
43403 echo "*** Could not run SDL test program, checking why..."
43404 CFLAGS="$CFLAGS $SDL_CFLAGS"
43405 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43406 LIBS="$LIBS $SDL_LIBS"
43407 cat >conftest.$ac_ext <<_ACEOF
43410 cat confdefs.h >>conftest.$ac_ext
43411 cat >>conftest.$ac_ext <<_ACEOF
43412 /* end confdefs.h. */
43417 int main(int argc, char *argv[])
43420 #define main K_and_R_C_main
43430 rm -f conftest.$ac_objext conftest$ac_exeext
43431 if { (ac_try="$ac_link"
43432 case "(($ac_try" in
43433 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43434 *) ac_try_echo
=$ac_try;;
43436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43437 (eval "$ac_link") 2>conftest.er1
43439 grep -v '^ *+' conftest.er1
>conftest.err
43441 cat conftest.err
>&5
43442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43443 (exit $ac_status); } && {
43444 test -z "$ac_c_werror_flag" ||
43445 test ! -s conftest.err
43446 } && test -s conftest
$ac_exeext &&
43447 $as_test_x conftest
$ac_exeext; then
43448 echo "*** The test program compiled, but did not run. This usually means"
43449 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43450 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43451 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43452 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43453 echo "*** is required on your system"
43455 echo "*** If you have an old version installed, it is best to remove it, although"
43456 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43458 echo "$as_me: failed program was:" >&5
43459 sed 's/^/| /' conftest.
$ac_ext >&5
43461 echo "*** The test program failed to compile or link. See the file config.log for the"
43462 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43463 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43464 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43467 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43468 conftest
$ac_exeext conftest.
$ac_ext
43469 CFLAGS
="$ac_save_CFLAGS"
43470 CXXFLAGS
="$ac_save_CXXFLAGS"
43471 LIBS
="$ac_save_LIBS"
43482 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43487 if test "$wxUSE_MGL" = 1; then
43488 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43489 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43495 if test "$wxUSE_SOUND" = "yes"; then
43496 cat >>confdefs.h
<<\_ACEOF
43497 #define wxUSE_SOUND 1
43500 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
43503 if test "$WXGTK2" = 1; then
43506 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43507 if test -n "$ac_tool_prefix"; then
43508 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43509 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
43510 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43512 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43513 echo $ECHO_N "(cached) $ECHO_C" >&6
43515 case $PKG_CONFIG in
43517 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
43520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43521 for as_dir
in $PATH
43524 test -z "$as_dir" && as_dir
=.
43525 for ac_exec_ext
in '' $ac_executable_extensions; do
43526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43527 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43538 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
43539 if test -n "$PKG_CONFIG"; then
43540 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43541 echo "${ECHO_T}$PKG_CONFIG" >&6; }
43543 { echo "$as_me:$LINENO: result: no" >&5
43544 echo "${ECHO_T}no" >&6; }
43549 if test -z "$ac_cv_path_PKG_CONFIG"; then
43550 ac_pt_PKG_CONFIG
=$PKG_CONFIG
43551 # Extract the first word of "pkg-config", so it can be a program name with args.
43552 set dummy pkg
-config; ac_word
=$2
43553 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43555 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43556 echo $ECHO_N "(cached) $ECHO_C" >&6
43558 case $ac_pt_PKG_CONFIG in
43560 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43564 for as_dir
in $PATH
43567 test -z "$as_dir" && as_dir
=.
43568 for ac_exec_ext
in '' $ac_executable_extensions; do
43569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43570 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43581 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
43582 if test -n "$ac_pt_PKG_CONFIG"; then
43583 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43584 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
43586 { echo "$as_me:$LINENO: result: no" >&5
43587 echo "${ECHO_T}no" >&6; }
43590 if test "x$ac_pt_PKG_CONFIG" = x
; then
43593 case $cross_compiling:$ac_tool_warned in
43595 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
43596 whose name does not start with the host triplet. If you think this
43597 configuration is useful to you, please write to autoconf@gnu.org." >&5
43598 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
43599 whose name does not start with the host triplet. If you think this
43600 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
43601 ac_tool_warned
=yes ;;
43603 PKG_CONFIG
=$ac_pt_PKG_CONFIG
43606 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
43610 if test -n "$PKG_CONFIG"; then
43611 _pkg_min_version
=0.9.0
43612 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43613 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
43614 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43615 { echo "$as_me:$LINENO: result: yes" >&5
43616 echo "${ECHO_T}yes" >&6; }
43618 { echo "$as_me:$LINENO: result: no" >&5
43619 echo "${ECHO_T}no" >&6; }
43625 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43627 if test "$wxUSE_GTKPRINT" = "yes" ; then
43631 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
43632 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
43634 if test -n "$PKG_CONFIG"; then
43635 if test -n "$GTKPRINT_CFLAGS"; then
43636 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
43638 if test -n "$PKG_CONFIG" && \
43639 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43640 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43643 (exit $ac_status); }; then
43644 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43652 if test -n "$PKG_CONFIG"; then
43653 if test -n "$GTKPRINT_LIBS"; then
43654 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
43656 if test -n "$PKG_CONFIG" && \
43657 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43658 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43661 (exit $ac_status); }; then
43662 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43673 if test $pkg_failed = yes; then
43675 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43676 _pkg_short_errors_supported
=yes
43678 _pkg_short_errors_supported
=no
43680 if test $_pkg_short_errors_supported = yes; then
43681 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43683 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43685 # Put the nasty error message in config.log where it belongs
43686 echo "$GTKPRINT_PKG_ERRORS" >&5
43689 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43690 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43691 wxUSE_GTKPRINT
="no"
43694 elif test $pkg_failed = untried
; then
43696 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43697 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43698 wxUSE_GTKPRINT
="no"
43702 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
43703 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
43704 { echo "$as_me:$LINENO: result: yes" >&5
43705 echo "${ECHO_T}yes" >&6; }
43707 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
43708 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
43709 cat >>confdefs.h
<<\_ACEOF
43710 #define wxUSE_GTKPRINT 1
43717 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43721 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43722 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
43724 if test -n "$PKG_CONFIG"; then
43725 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43726 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
43728 if test -n "$PKG_CONFIG" && \
43729 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43730 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43733 (exit $ac_status); }; then
43734 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43742 if test -n "$PKG_CONFIG"; then
43743 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43744 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
43746 if test -n "$PKG_CONFIG" && \
43747 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43748 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43751 (exit $ac_status); }; then
43752 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43763 if test $pkg_failed = yes; then
43765 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43766 _pkg_short_errors_supported
=yes
43768 _pkg_short_errors_supported
=no
43770 if test $_pkg_short_errors_supported = yes; then
43771 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43773 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43775 # Put the nasty error message in config.log where it belongs
43776 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43779 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43780 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43781 wxUSE_LIBGNOMEPRINT
="no"
43784 elif test $pkg_failed = untried
; then
43786 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43787 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43788 wxUSE_LIBGNOMEPRINT
="no"
43792 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43793 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43794 { echo "$as_me:$LINENO: result: yes" >&5
43795 echo "${ECHO_T}yes" >&6; }
43797 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43798 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43799 cat >>confdefs.h
<<\_ACEOF
43800 #define wxUSE_LIBGNOMEPRINT 1
43808 if test "$wxUSE_MIMETYPE" = "yes" ; then
43809 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43813 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43814 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43816 if test -n "$PKG_CONFIG"; then
43817 if test -n "$GNOMEVFS_CFLAGS"; then
43818 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
43820 if test -n "$PKG_CONFIG" && \
43821 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43822 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43825 (exit $ac_status); }; then
43826 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43834 if test -n "$PKG_CONFIG"; then
43835 if test -n "$GNOMEVFS_LIBS"; then
43836 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
43838 if test -n "$PKG_CONFIG" && \
43839 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43840 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43843 (exit $ac_status); }; then
43844 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43855 if test $pkg_failed = yes; then
43857 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43858 _pkg_short_errors_supported
=yes
43860 _pkg_short_errors_supported
=no
43862 if test $_pkg_short_errors_supported = yes; then
43863 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43865 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43867 # Put the nasty error message in config.log where it belongs
43868 echo "$GNOMEVFS_PKG_ERRORS" >&5
43871 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43872 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43873 wxUSE_LIBGNOMEVFS
="no"
43876 elif test $pkg_failed = untried
; then
43878 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43879 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43880 wxUSE_LIBGNOMEVFS
="no"
43884 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
43885 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
43886 { echo "$as_me:$LINENO: result: yes" >&5
43887 echo "${ECHO_T}yes" >&6; }
43889 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
43890 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
43891 cat >>confdefs.h
<<\_ACEOF
43892 #define wxUSE_LIBGNOMEVFS 1
43900 if test "$wxUSE_LIBHILDON" = "yes" ; then
43903 { echo "$as_me:$LINENO: checking for HILDON" >&5
43904 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43906 if test -n "$PKG_CONFIG"; then
43907 if test -n "$HILDON_CFLAGS"; then
43908 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
43910 if test -n "$PKG_CONFIG" && \
43911 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43912 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43915 (exit $ac_status); }; then
43916 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43924 if test -n "$PKG_CONFIG"; then
43925 if test -n "$HILDON_LIBS"; then
43926 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
43928 if test -n "$PKG_CONFIG" && \
43929 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43930 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43933 (exit $ac_status); }; then
43934 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43945 if test $pkg_failed = yes; then
43947 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43948 _pkg_short_errors_supported
=yes
43950 _pkg_short_errors_supported
=no
43952 if test $_pkg_short_errors_supported = yes; then
43953 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43955 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43957 # Put the nasty error message in config.log where it belongs
43958 echo "$HILDON_PKG_ERRORS" >&5
43961 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43962 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43963 wxUSE_LIBHILDON
="no"
43967 elif test $pkg_failed = untried
; then
43969 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43970 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43971 wxUSE_LIBHILDON
="no"
43976 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
43977 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
43978 { echo "$as_me:$LINENO: result: yes" >&5
43979 echo "${ECHO_T}yes" >&6; }
43981 EXTRALIBS_HILDON
="$HILDON_LIBS"
43982 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
43983 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
43984 cat >>confdefs.h
<<\_ACEOF
43985 #define wxUSE_LIBHILDON 1
43992 if test "$ac_hildon_lgpl" = 0 ; then
43995 { echo "$as_me:$LINENO: checking for HILDON2" >&5
43996 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
43998 if test -n "$PKG_CONFIG"; then
43999 if test -n "$HILDON2_CFLAGS"; then
44000 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
44002 if test -n "$PKG_CONFIG" && \
44003 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44004 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44007 (exit $ac_status); }; then
44008 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44016 if test -n "$PKG_CONFIG"; then
44017 if test -n "$HILDON2_LIBS"; then
44018 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
44020 if test -n "$PKG_CONFIG" && \
44021 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44022 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44025 (exit $ac_status); }; then
44026 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44037 if test $pkg_failed = yes; then
44039 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44040 _pkg_short_errors_supported
=yes
44042 _pkg_short_errors_supported
=no
44044 if test $_pkg_short_errors_supported = yes; then
44045 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44047 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44049 # Put the nasty error message in config.log where it belongs
44050 echo "$HILDON2_PKG_ERRORS" >&5
44053 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44054 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44055 wxUSE_LIBHILDON2
="no"
44058 elif test $pkg_failed = untried
; then
44060 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44061 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44062 wxUSE_LIBHILDON2
="no"
44066 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
44067 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
44068 { echo "$as_me:$LINENO: result: yes" >&5
44069 echo "${ECHO_T}yes" >&6; }
44071 EXTRALIBS_HILDON
="$HILDON2_LIBS"
44072 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
44073 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
44074 cat >>confdefs.h
<<\_ACEOF
44075 #define wxUSE_LIBHILDON2 1
44084 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44085 cat >>confdefs.h
<<\_ACEOF
44086 #define wxUSE_CMDLINE_PARSER 1
44091 if test "$wxUSE_STOPWATCH" = "yes"; then
44092 cat >>confdefs.h
<<\_ACEOF
44093 #define wxUSE_STOPWATCH 1
44098 if test "$wxUSE_DATETIME" = "yes"; then
44099 cat >>confdefs.h
<<\_ACEOF
44100 #define wxUSE_DATETIME 1
44105 if test "$wxUSE_FILE" = "yes"; then
44106 cat >>confdefs.h
<<\_ACEOF
44107 #define wxUSE_FILE 1
44112 if test "$wxUSE_FFILE" = "yes"; then
44113 cat >>confdefs.h
<<\_ACEOF
44114 #define wxUSE_FFILE 1
44119 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44120 if test "$wxUSE_STREAMS" != yes; then
44121 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44122 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44123 wxUSE_ARCHIVE_STREAMS
=no
44125 cat >>confdefs.h
<<\_ACEOF
44126 #define wxUSE_ARCHIVE_STREAMS 1
44132 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44133 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44134 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44135 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44136 elif test "$wxUSE_ZLIB" = "no"; then
44137 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44138 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44140 cat >>confdefs.h
<<\_ACEOF
44141 #define wxUSE_ZIPSTREAM 1
44147 if test "$wxUSE_TARSTREAM" = "yes"; then
44148 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44149 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44150 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44152 cat >>confdefs.h
<<\_ACEOF
44153 #define wxUSE_TARSTREAM 1
44159 if test "$wxUSE_FILE_HISTORY" = "yes"; then
44160 cat >>confdefs.h
<<\_ACEOF
44161 #define wxUSE_FILE_HISTORY 1
44166 if test "$wxUSE_FILESYSTEM" = "yes"; then
44167 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
44168 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44169 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44170 wxUSE_FILESYSTEM
=no
44172 cat >>confdefs.h
<<\_ACEOF
44173 #define wxUSE_FILESYSTEM 1
44179 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44180 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44181 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44182 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44184 cat >>confdefs.h
<<\_ACEOF
44185 #define wxUSE_FS_ARCHIVE 1
44191 if test "$wxUSE_FS_ZIP" = "yes"; then
44192 if test "$wxUSE_FS_ARCHIVE" != yes; then
44193 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44194 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44196 cat >>confdefs.h
<<\_ACEOF
44197 #define wxUSE_FS_ZIP 1
44203 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44204 if test "$USE_UNIX" != 1; then
44205 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44206 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44207 wxUSE_ON_FATAL_EXCEPTION
=no
44209 cat >>confdefs.h
<<\_ACEOF
44210 #define wxUSE_ON_FATAL_EXCEPTION 1
44216 if test "$wxUSE_STACKWALKER" = "yes"; then
44217 cat >>confdefs.h
<<\_ACEOF
44218 #define wxUSE_STACKWALKER 1
44223 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44224 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
44225 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44226 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44227 wxUSE_DEBUGREPORT
=no
44229 cat >>confdefs.h
<<\_ACEOF
44230 #define wxUSE_DEBUGREPORT 1
44233 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44234 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
44239 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44240 cat >>confdefs.h
<<\_ACEOF
44241 #define wxUSE_SNGLINST_CHECKER 1
44246 if test "$wxUSE_BUSYINFO" = "yes"; then
44247 cat >>confdefs.h
<<\_ACEOF
44248 #define wxUSE_BUSYINFO 1
44253 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44254 cat >>confdefs.h
<<\_ACEOF
44255 #define wxUSE_STD_IOSTREAM 1
44260 if test "$wxUSE_STD_STRING" = "yes"; then
44261 cat >>confdefs.h
<<\_ACEOF
44262 #define wxUSE_STD_STRING 1
44267 if test "$wxUSE_STDPATHS" = "yes"; then
44268 cat >>confdefs.h
<<\_ACEOF
44269 #define wxUSE_STDPATHS 1
44274 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44275 cat >>confdefs.h
<<\_ACEOF
44276 #define wxUSE_TEXTBUFFER 1
44281 if test "$wxUSE_TEXTFILE" = "yes"; then
44282 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44283 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44284 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44286 cat >>confdefs.h
<<\_ACEOF
44287 #define wxUSE_TEXTFILE 1
44293 if test "$wxUSE_CONFIG" = "yes" ; then
44294 if test "$wxUSE_TEXTFILE" != "yes"; then
44295 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44296 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44298 cat >>confdefs.h
<<\_ACEOF
44299 #define wxUSE_CONFIG 1
44302 cat >>confdefs.h
<<\_ACEOF
44303 #define wxUSE_CONFIG_NATIVE 1
44306 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
44310 if test "$wxUSE_INTL" = "yes" ; then
44311 if test "$wxUSE_FILE" != "yes"; then
44312 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44313 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44315 cat >>confdefs.h
<<\_ACEOF
44316 #define wxUSE_INTL 1
44319 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
44320 GUIDIST
="$GUIDIST INTL_DIST"
44324 if test "$wxUSE_XLOCALE" = "yes" ; then
44325 cat >>confdefs.h
<<\_ACEOF
44326 #define wxUSE_XLOCALE 1
44329 { echo "$as_me:$LINENO: checking for locale_t" >&5
44330 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
44331 if test "${ac_cv_type_locale_t+set}" = set; then
44332 echo $ECHO_N "(cached) $ECHO_C" >&6
44334 cat >conftest.
$ac_ext <<_ACEOF
44337 cat confdefs.h
>>conftest.
$ac_ext
44338 cat >>conftest.
$ac_ext <<_ACEOF
44339 /* end confdefs.h. */
44340 #include <xlocale.h>
44341 #include <locale.h>
44343 typedef locale_t ac__type_new_;
44347 if ((ac__type_new_ *) 0)
44349 if (sizeof (ac__type_new_))
44355 rm -f conftest.
$ac_objext
44356 if { (ac_try
="$ac_compile"
44357 case "(($ac_try" in
44358 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44359 *) ac_try_echo=$ac_try;;
44361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44362 (eval "$ac_compile") 2>conftest.er1
44364 grep -v '^ *+' conftest.er1 >conftest.err
44366 cat conftest.err >&5
44367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44368 (exit $ac_status); } && {
44369 test -z "$ac_c_werror_flag" ||
44370 test ! -s conftest.err
44371 } && test -s conftest.$ac_objext; then
44372 ac_cv_type_locale_t=yes
44374 echo "$as_me: failed program was:" >&5
44375 sed 's/^/| /' conftest.$ac_ext >&5
44377 ac_cv_type_locale_t=no
44380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44382 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
44383 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
44384 if test $ac_cv_type_locale_t = yes; then
44386 cat >>confdefs.h <<_ACEOF
44387 #define HAVE_LOCALE_T 1
44395 if test "$wxUSE_LOG" = "yes"; then
44396 cat >>confdefs.h <<\_ACEOF
44397 #define wxUSE_LOG 1
44401 if test "$wxUSE_LOGGUI" = "yes"; then
44402 cat >>confdefs.h <<\_ACEOF
44403 #define wxUSE_LOGGUI 1
44408 if test "$wxUSE_LOGWINDOW" = "yes"; then
44409 cat >>confdefs.h <<\_ACEOF
44410 #define wxUSE_LOGWINDOW 1
44415 if test "$wxUSE_LOGDIALOG" = "yes"; then
44416 cat >>confdefs.h <<\_ACEOF
44417 #define wxUSE_LOG_DIALOG 1
44422 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44425 if test "$wxUSE_LONGLONG" = "yes"; then
44426 cat >>confdefs.h <<\_ACEOF
44427 #define wxUSE_LONGLONG 1
44432 if test "$wxUSE_GEOMETRY" = "yes"; then
44433 cat >>confdefs.h <<\_ACEOF
44434 #define wxUSE_GEOMETRY 1
44439 if test "$wxUSE_BASE64" = "yes"; then
44440 cat >>confdefs.h <<\_ACEOF
44441 #define wxUSE_BASE64 1
44446 if test "$wxUSE_STREAMS" = "yes" ; then
44447 cat >>confdefs.h <<\_ACEOF
44448 #define wxUSE_STREAMS 1
44453 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44454 cat >>confdefs.h <<\_ACEOF
44455 #define wxUSE_PRINTF_POS_PARAMS 1
44460 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
44461 cat >>confdefs.h <<\_ACEOF
44462 #define wxUSE_OBJC_UNIQUIFYING 1
44468 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
44469 cat >>confdefs.h <<\_ACEOF
44470 #define wxUSE_CONSOLE_EVENTLOOP 1
44474 if test "$wxUSE_UNIX" = "yes"; then
44475 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
44476 cat >>confdefs.h <<\_ACEOF
44477 #define wxUSE_SELECT_DISPATCHER 1
44482 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
44484 for ac_header in sys/epoll.h
44486 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44487 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44489 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44490 echo $ECHO_N "(cached) $ECHO_C" >&6
44492 cat >conftest.$ac_ext <<_ACEOF
44495 cat confdefs.h >>conftest.$ac_ext
44496 cat >>conftest.$ac_ext <<_ACEOF
44497 /* end confdefs.h. */
44498 $ac_includes_default
44500 #include <$ac_header>
44502 rm -f conftest.$ac_objext
44503 if { (ac_try="$ac_compile"
44504 case "(($ac_try" in
44505 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44506 *) ac_try_echo
=$ac_try;;
44508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44509 (eval "$ac_compile") 2>conftest.er1
44511 grep -v '^ *+' conftest.er1
>conftest.err
44513 cat conftest.err
>&5
44514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44515 (exit $ac_status); } && {
44516 test -z "$ac_c_werror_flag" ||
44517 test ! -s conftest.err
44518 } && test -s conftest.
$ac_objext; then
44519 eval "$as_ac_Header=yes"
44521 echo "$as_me: failed program was:" >&5
44522 sed 's/^/| /' conftest.
$ac_ext >&5
44524 eval "$as_ac_Header=no"
44527 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44529 ac_res
=`eval echo '${'$as_ac_Header'}'`
44530 { echo "$as_me:$LINENO: result: $ac_res" >&5
44531 echo "${ECHO_T}$ac_res" >&6; }
44532 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44533 cat >>confdefs.h
<<_ACEOF
44534 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44541 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
44542 cat >>confdefs.h
<<\_ACEOF
44543 #define wxUSE_EPOLL_DISPATCHER 1
44547 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
44548 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
44557 for ac_func
in gettimeofday ftime
44559 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44560 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44562 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44563 echo $ECHO_N "(cached) $ECHO_C" >&6
44565 cat >conftest.
$ac_ext <<_ACEOF
44568 cat confdefs.h
>>conftest.
$ac_ext
44569 cat >>conftest.
$ac_ext <<_ACEOF
44570 /* end confdefs.h. */
44571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44573 #define $ac_func innocuous_$ac_func
44575 /* System header to define __stub macros and hopefully few prototypes,
44576 which can conflict with char $ac_func (); below.
44577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44578 <limits.h> exists even on freestanding compilers. */
44581 # include <limits.h>
44583 # include <assert.h>
44588 /* Override any GCC internal prototype to avoid an error.
44589 Use char because int might match the return type of a GCC
44590 builtin and then its argument prototype would still apply. */
44595 /* The GNU C library defines this for functions which it implements
44596 to always fail with ENOSYS. Some functions are actually named
44597 something starting with __ and the normal name is an alias. */
44598 #if defined __stub_$ac_func || defined __stub___$ac_func
44605 return $ac_func ();
44610 rm -f conftest.
$ac_objext conftest
$ac_exeext
44611 if { (ac_try
="$ac_link"
44612 case "(($ac_try" in
44613 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44614 *) ac_try_echo=$ac_try;;
44616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44617 (eval "$ac_link") 2>conftest.er1
44619 grep -v '^ *+' conftest.er1 >conftest.err
44621 cat conftest.err >&5
44622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44623 (exit $ac_status); } && {
44624 test -z "$ac_c_werror_flag" ||
44625 test ! -s conftest.err
44626 } && test -s conftest$ac_exeext &&
44627 $as_test_x conftest$ac_exeext; then
44628 eval "$as_ac_var=yes"
44630 echo "$as_me: failed program was:" >&5
44631 sed 's/^/| /' conftest.$ac_ext >&5
44633 eval "$as_ac_var=no"
44636 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44637 conftest$ac_exeext conftest.$ac_ext
44639 ac_res=`eval echo '${'$as_ac_var'}'`
44640 { echo "$as_me:$LINENO: result: $ac_res" >&5
44641 echo "${ECHO_T}$ac_res" >&6; }
44642 if test `eval echo '${'$as_ac_var'}'` = yes; then
44643 cat >>confdefs.h <<_ACEOF
44644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44651 if test "$ac_cv_func_gettimeofday" = "yes"; then
44652 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44653 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
44654 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44655 echo $ECHO_N "(cached) $ECHO_C" >&6
44658 cat >conftest.$ac_ext <<_ACEOF
44661 cat confdefs.h >>conftest.$ac_ext
44662 cat >>conftest.$ac_ext <<_ACEOF
44663 /* end confdefs.h. */
44665 #include <sys/time.h>
44666 #include <unistd.h>
44673 gettimeofday(&tv, NULL);
44679 rm -f conftest.$ac_objext
44680 if { (ac_try="$ac_compile"
44681 case "(($ac_try" in
44682 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44683 *) ac_try_echo
=$ac_try;;
44685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44686 (eval "$ac_compile") 2>conftest.er1
44688 grep -v '^ *+' conftest.er1
>conftest.err
44690 cat conftest.err
>&5
44691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44692 (exit $ac_status); } && {
44693 test -z "$ac_c_werror_flag" ||
44694 test ! -s conftest.err
44695 } && test -s conftest.
$ac_objext; then
44696 wx_cv_func_gettimeofday_has_2_args
=yes
44698 echo "$as_me: failed program was:" >&5
44699 sed 's/^/| /' conftest.
$ac_ext >&5
44701 cat >conftest.
$ac_ext <<_ACEOF
44704 cat confdefs.h
>>conftest.
$ac_ext
44705 cat >>conftest.
$ac_ext <<_ACEOF
44706 /* end confdefs.h. */
44708 #include <sys/time.h>
44709 #include <unistd.h>
44722 rm -f conftest.
$ac_objext
44723 if { (ac_try
="$ac_compile"
44724 case "(($ac_try" in
44725 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44726 *) ac_try_echo=$ac_try;;
44728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44729 (eval "$ac_compile") 2>conftest.er1
44731 grep -v '^ *+' conftest.er1 >conftest.err
44733 cat conftest.err >&5
44734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44735 (exit $ac_status); } && {
44736 test -z "$ac_c_werror_flag" ||
44737 test ! -s conftest.err
44738 } && test -s conftest.$ac_objext; then
44739 wx_cv_func_gettimeofday_has_2_args=no
44741 echo "$as_me: failed program was:" >&5
44742 sed 's/^/| /' conftest.$ac_ext >&5
44745 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44746 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44747 wx_cv_func_gettimeofday_has_2_args=unknown
44752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44759 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44760 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
44762 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44763 cat >>confdefs.h <<\_ACEOF
44764 #define WX_GETTIMEOFDAY_NO_TZ 1
44770 if test "$wxUSE_DATETIME" = "yes"; then
44771 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44772 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44773 if test "${wx_cv_var_timezone+set}" = set; then
44774 echo $ECHO_N "(cached) $ECHO_C" >&6
44778 ac_cpp='$CXXCPP $CPPFLAGS'
44779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44783 cat >conftest.$ac_ext <<_ACEOF
44786 cat confdefs.h >>conftest.$ac_ext
44787 cat >>conftest.$ac_ext <<_ACEOF
44788 /* end confdefs.h. */
44803 rm -f conftest.$ac_objext
44804 if { (ac_try="$ac_compile"
44805 case "(($ac_try" in
44806 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44807 *) ac_try_echo
=$ac_try;;
44809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44810 (eval "$ac_compile") 2>conftest.er1
44812 grep -v '^ *+' conftest.er1
>conftest.err
44814 cat conftest.err
>&5
44815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44816 (exit $ac_status); } && {
44817 test -z "$ac_cxx_werror_flag" ||
44818 test ! -s conftest.err
44819 } && test -s conftest.
$ac_objext; then
44821 wx_cv_var_timezone
=timezone
44824 echo "$as_me: failed program was:" >&5
44825 sed 's/^/| /' conftest.
$ac_ext >&5
44828 cat >conftest.
$ac_ext <<_ACEOF
44831 cat confdefs.h
>>conftest.
$ac_ext
44832 cat >>conftest.
$ac_ext <<_ACEOF
44833 /* end confdefs.h. */
44848 rm -f conftest.
$ac_objext
44849 if { (ac_try
="$ac_compile"
44850 case "(($ac_try" in
44851 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44852 *) ac_try_echo=$ac_try;;
44854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44855 (eval "$ac_compile") 2>conftest.er1
44857 grep -v '^ *+' conftest.er1 >conftest.err
44859 cat conftest.err >&5
44860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44861 (exit $ac_status); } && {
44862 test -z "$ac_cxx_werror_flag" ||
44863 test ! -s conftest.err
44864 } && test -s conftest.$ac_objext; then
44866 wx_cv_var_timezone=_timezone
44869 echo "$as_me: failed program was:" >&5
44870 sed 's/^/| /' conftest.$ac_ext >&5
44873 cat >conftest.$ac_ext <<_ACEOF
44876 cat confdefs.h >>conftest.$ac_ext
44877 cat >>conftest.$ac_ext <<_ACEOF
44878 /* end confdefs.h. */
44893 rm -f conftest.$ac_objext
44894 if { (ac_try="$ac_compile"
44895 case "(($ac_try" in
44896 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44897 *) ac_try_echo
=$ac_try;;
44899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44900 (eval "$ac_compile") 2>conftest.er1
44902 grep -v '^ *+' conftest.er1
>conftest.err
44904 cat conftest.err
>&5
44905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44906 (exit $ac_status); } && {
44907 test -z "$ac_cxx_werror_flag" ||
44908 test ! -s conftest.err
44909 } && test -s conftest.
$ac_objext; then
44911 wx_cv_var_timezone
=__timezone
44914 echo "$as_me: failed program was:" >&5
44915 sed 's/^/| /' conftest.
$ac_ext >&5
44918 if test "$USE_DOS" = 0 ; then
44919 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44920 echo "$as_me: WARNING: no timezone variable" >&2;}
44926 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44931 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44936 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44938 ac_cpp
='$CPP $CPPFLAGS'
44939 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44940 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44941 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44946 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44947 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44949 if test "x$wx_cv_var_timezone" != x
; then
44950 cat >>confdefs.h
<<_ACEOF
44951 #define WX_TIMEZONE $wx_cv_var_timezone
44957 for ac_func
in localtime
44959 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44960 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44962 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44963 echo $ECHO_N "(cached) $ECHO_C" >&6
44965 cat >conftest.
$ac_ext <<_ACEOF
44968 cat confdefs.h
>>conftest.
$ac_ext
44969 cat >>conftest.
$ac_ext <<_ACEOF
44970 /* end confdefs.h. */
44971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44973 #define $ac_func innocuous_$ac_func
44975 /* System header to define __stub macros and hopefully few prototypes,
44976 which can conflict with char $ac_func (); below.
44977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44978 <limits.h> exists even on freestanding compilers. */
44981 # include <limits.h>
44983 # include <assert.h>
44988 /* Override any GCC internal prototype to avoid an error.
44989 Use char because int might match the return type of a GCC
44990 builtin and then its argument prototype would still apply. */
44995 /* The GNU C library defines this for functions which it implements
44996 to always fail with ENOSYS. Some functions are actually named
44997 something starting with __ and the normal name is an alias. */
44998 #if defined __stub_$ac_func || defined __stub___$ac_func
45005 return $ac_func ();
45010 rm -f conftest.
$ac_objext conftest
$ac_exeext
45011 if { (ac_try
="$ac_link"
45012 case "(($ac_try" in
45013 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45014 *) ac_try_echo=$ac_try;;
45016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45017 (eval "$ac_link") 2>conftest.er1
45019 grep -v '^ *+' conftest.er1 >conftest.err
45021 cat conftest.err >&5
45022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45023 (exit $ac_status); } && {
45024 test -z "$ac_c_werror_flag" ||
45025 test ! -s conftest.err
45026 } && test -s conftest$ac_exeext &&
45027 $as_test_x conftest$ac_exeext; then
45028 eval "$as_ac_var=yes"
45030 echo "$as_me: failed program was:" >&5
45031 sed 's/^/| /' conftest.$ac_ext >&5
45033 eval "$as_ac_var=no"
45036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45037 conftest$ac_exeext conftest.$ac_ext
45039 ac_res=`eval echo '${'$as_ac_var'}'`
45040 { echo "$as_me:$LINENO: result: $ac_res" >&5
45041 echo "${ECHO_T}$ac_res" >&6; }
45042 if test `eval echo '${'$as_ac_var'}'` = yes; then
45043 cat >>confdefs.h <<_ACEOF
45044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45051 if test "$ac_cv_func_localtime" = "yes"; then
45052 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45053 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45054 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45055 echo $ECHO_N "(cached) $ECHO_C" >&6
45058 cat >conftest.$ac_ext <<_ACEOF
45061 cat confdefs.h >>conftest.$ac_ext
45062 cat >>conftest.$ac_ext <<_ACEOF
45063 /* end confdefs.h. */
45078 rm -f conftest.$ac_objext
45079 if { (ac_try="$ac_compile"
45080 case "(($ac_try" in
45081 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45082 *) ac_try_echo
=$ac_try;;
45084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45085 (eval "$ac_compile") 2>conftest.er1
45087 grep -v '^ *+' conftest.er1
>conftest.err
45089 cat conftest.err
>&5
45090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45091 (exit $ac_status); } && {
45092 test -z "$ac_c_werror_flag" ||
45093 test ! -s conftest.err
45094 } && test -s conftest.
$ac_objext; then
45096 wx_cv_struct_tm_has_gmtoff
=yes
45099 echo "$as_me: failed program was:" >&5
45100 sed 's/^/| /' conftest.
$ac_ext >&5
45102 wx_cv_struct_tm_has_gmtoff
=no
45106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45109 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45110 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45113 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45114 cat >>confdefs.h
<<\_ACEOF
45115 #define WX_GMTOFF_IN_TM 1
45120 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
45124 if test "$wxUSE_SOCKETS" = "yes"; then
45125 if test "$wxUSE_MGL" = 1; then
45126 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45127 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45132 if test "$wxUSE_SOCKETS" = "yes"; then
45133 if test "$TOOLKIT" != "MSW"; then
45134 { echo "$as_me:$LINENO: checking for socket" >&5
45135 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45136 if test "${ac_cv_func_socket+set}" = set; then
45137 echo $ECHO_N "(cached) $ECHO_C" >&6
45139 cat >conftest.
$ac_ext <<_ACEOF
45142 cat confdefs.h
>>conftest.
$ac_ext
45143 cat >>conftest.
$ac_ext <<_ACEOF
45144 /* end confdefs.h. */
45145 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45147 #define socket innocuous_socket
45149 /* System header to define __stub macros and hopefully few prototypes,
45150 which can conflict with char socket (); below.
45151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45152 <limits.h> exists even on freestanding compilers. */
45155 # include <limits.h>
45157 # include <assert.h>
45162 /* Override any GCC internal prototype to avoid an error.
45163 Use char because int might match the return type of a GCC
45164 builtin and then its argument prototype would still apply. */
45169 /* The GNU C library defines this for functions which it implements
45170 to always fail with ENOSYS. Some functions are actually named
45171 something starting with __ and the normal name is an alias. */
45172 #if defined __stub_socket || defined __stub___socket
45184 rm -f conftest.
$ac_objext conftest
$ac_exeext
45185 if { (ac_try
="$ac_link"
45186 case "(($ac_try" in
45187 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45188 *) ac_try_echo=$ac_try;;
45190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45191 (eval "$ac_link") 2>conftest.er1
45193 grep -v '^ *+' conftest.er1 >conftest.err
45195 cat conftest.err >&5
45196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45197 (exit $ac_status); } && {
45198 test -z "$ac_c_werror_flag" ||
45199 test ! -s conftest.err
45200 } && test -s conftest$ac_exeext &&
45201 $as_test_x conftest$ac_exeext; then
45202 ac_cv_func_socket=yes
45204 echo "$as_me: failed program was:" >&5
45205 sed 's/^/| /' conftest.$ac_ext >&5
45207 ac_cv_func_socket=no
45210 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45211 conftest$ac_exeext conftest.$ac_ext
45213 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45214 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45215 if test $ac_cv_func_socket = yes; then
45219 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45220 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45221 if test "${ac_cv_lib_socket_socket+set}" = set; then
45222 echo $ECHO_N "(cached) $ECHO_C" >&6
45224 ac_check_lib_save_LIBS=$LIBS
45225 LIBS="-lsocket $LIBS"
45226 cat >conftest.$ac_ext <<_ACEOF
45229 cat confdefs.h >>conftest.$ac_ext
45230 cat >>conftest.$ac_ext <<_ACEOF
45231 /* end confdefs.h. */
45233 /* Override any GCC internal prototype to avoid an error.
45234 Use char because int might match the return type of a GCC
45235 builtin and then its argument prototype would still apply. */
45248 rm -f conftest.$ac_objext conftest$ac_exeext
45249 if { (ac_try="$ac_link"
45250 case "(($ac_try" in
45251 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45252 *) ac_try_echo
=$ac_try;;
45254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45255 (eval "$ac_link") 2>conftest.er1
45257 grep -v '^ *+' conftest.er1
>conftest.err
45259 cat conftest.err
>&5
45260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45261 (exit $ac_status); } && {
45262 test -z "$ac_c_werror_flag" ||
45263 test ! -s conftest.err
45264 } && test -s conftest
$ac_exeext &&
45265 $as_test_x conftest
$ac_exeext; then
45266 ac_cv_lib_socket_socket
=yes
45268 echo "$as_me: failed program was:" >&5
45269 sed 's/^/| /' conftest.
$ac_ext >&5
45271 ac_cv_lib_socket_socket
=no
45274 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45275 conftest
$ac_exeext conftest.
$ac_ext
45276 LIBS
=$ac_check_lib_save_LIBS
45278 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45279 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
45280 if test $ac_cv_lib_socket_socket = yes; then
45281 if test "$INET_LINK" != " -lsocket"; then
45282 INET_LINK
="$INET_LINK -lsocket"
45286 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45287 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45300 if test "$wxUSE_SOCKETS" = "yes" ; then
45301 if test "$TOOLKIT" != "MSW"; then
45302 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45303 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
45304 if test "${wx_cv_type_getsockname3+set}" = set; then
45305 echo $ECHO_N "(cached) $ECHO_C" >&6
45309 ac_cpp
='$CXXCPP $CPPFLAGS'
45310 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45311 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45312 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45314 cat >conftest.
$ac_ext <<_ACEOF
45317 cat confdefs.h
>>conftest.
$ac_ext
45318 cat >>conftest.
$ac_ext <<_ACEOF
45319 /* end confdefs.h. */
45321 #include <sys/types.h>
45322 #include <sys/socket.h>
45329 getsockname(0, 0, &len);
45335 rm -f conftest.
$ac_objext
45336 if { (ac_try
="$ac_compile"
45337 case "(($ac_try" in
45338 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45339 *) ac_try_echo=$ac_try;;
45341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45342 (eval "$ac_compile") 2>conftest.er1
45344 grep -v '^ *+' conftest.er1 >conftest.err
45346 cat conftest.err >&5
45347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45348 (exit $ac_status); } && {
45349 test -z "$ac_cxx_werror_flag" ||
45350 test ! -s conftest.err
45351 } && test -s conftest.$ac_objext; then
45352 wx_cv_type_getsockname3=socklen_t
45354 echo "$as_me: failed program was:" >&5
45355 sed 's/^/| /' conftest.$ac_ext >&5
45358 CFLAGS_OLD="$CFLAGS"
45359 if test "$GCC" = yes ; then
45360 CFLAGS="-Werror $CFLAGS"
45363 cat >conftest.$ac_ext <<_ACEOF
45366 cat confdefs.h >>conftest.$ac_ext
45367 cat >>conftest.$ac_ext <<_ACEOF
45368 /* end confdefs.h. */
45370 #include <sys/types.h>
45371 #include <sys/socket.h>
45378 getsockname(0, 0, &len);
45384 rm -f conftest.$ac_objext
45385 if { (ac_try="$ac_compile"
45386 case "(($ac_try" in
45387 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45388 *) ac_try_echo
=$ac_try;;
45390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45391 (eval "$ac_compile") 2>conftest.er1
45393 grep -v '^ *+' conftest.er1
>conftest.err
45395 cat conftest.err
>&5
45396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45397 (exit $ac_status); } && {
45398 test -z "$ac_cxx_werror_flag" ||
45399 test ! -s conftest.err
45400 } && test -s conftest.
$ac_objext; then
45401 wx_cv_type_getsockname3
=size_t
45403 echo "$as_me: failed program was:" >&5
45404 sed 's/^/| /' conftest.
$ac_ext >&5
45406 cat >conftest.
$ac_ext <<_ACEOF
45409 cat confdefs.h
>>conftest.
$ac_ext
45410 cat >>conftest.
$ac_ext <<_ACEOF
45411 /* end confdefs.h. */
45413 #include <sys/types.h>
45414 #include <sys/socket.h>
45421 getsockname(0, 0, &len);
45427 rm -f conftest.
$ac_objext
45428 if { (ac_try
="$ac_compile"
45429 case "(($ac_try" in
45430 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45431 *) ac_try_echo=$ac_try;;
45433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45434 (eval "$ac_compile") 2>conftest.er1
45436 grep -v '^ *+' conftest.er1 >conftest.err
45438 cat conftest.err >&5
45439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45440 (exit $ac_status); } && {
45441 test -z "$ac_cxx_werror_flag" ||
45442 test ! -s conftest.err
45443 } && test -s conftest.$ac_objext; then
45444 wx_cv_type_getsockname3=int
45446 echo "$as_me: failed program was:" >&5
45447 sed 's/^/| /' conftest.$ac_ext >&5
45449 wx_cv_type_getsockname3=unknown
45453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45459 CFLAGS="$CFLAGS_OLD"
45464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45466 ac_cpp='$CPP $CPPFLAGS'
45467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45473 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45474 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
45476 if test "$wx_cv_type_getsockname3" = "unknown"; then
45478 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45479 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45481 cat >>confdefs.h <<_ACEOF
45482 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45486 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45487 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
45488 if test "${wx_cv_type_getsockopt5+set}" = set; then
45489 echo $ECHO_N "(cached) $ECHO_C" >&6
45493 ac_cpp='$CXXCPP $CPPFLAGS'
45494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45498 cat >conftest.$ac_ext <<_ACEOF
45501 cat confdefs.h >>conftest.$ac_ext
45502 cat >>conftest.$ac_ext <<_ACEOF
45503 /* end confdefs.h. */
45505 #include <sys/types.h>
45506 #include <sys/socket.h>
45513 getsockopt(0, 0, 0, 0, &len);
45519 rm -f conftest.$ac_objext
45520 if { (ac_try="$ac_compile"
45521 case "(($ac_try" in
45522 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45523 *) ac_try_echo
=$ac_try;;
45525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45526 (eval "$ac_compile") 2>conftest.er1
45528 grep -v '^ *+' conftest.er1
>conftest.err
45530 cat conftest.err
>&5
45531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45532 (exit $ac_status); } && {
45533 test -z "$ac_cxx_werror_flag" ||
45534 test ! -s conftest.err
45535 } && test -s conftest.
$ac_objext; then
45536 wx_cv_type_getsockopt5
=socklen_t
45538 echo "$as_me: failed program was:" >&5
45539 sed 's/^/| /' conftest.
$ac_ext >&5
45542 cat >conftest.
$ac_ext <<_ACEOF
45545 cat confdefs.h
>>conftest.
$ac_ext
45546 cat >>conftest.
$ac_ext <<_ACEOF
45547 /* end confdefs.h. */
45549 #include <sys/types.h>
45550 #include <sys/socket.h>
45557 getsockopt(0, 0, 0, 0, &len);
45563 rm -f conftest.
$ac_objext
45564 if { (ac_try
="$ac_compile"
45565 case "(($ac_try" in
45566 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45567 *) ac_try_echo=$ac_try;;
45569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45570 (eval "$ac_compile") 2>conftest.er1
45572 grep -v '^ *+' conftest.er1 >conftest.err
45574 cat conftest.err >&5
45575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45576 (exit $ac_status); } && {
45577 test -z "$ac_cxx_werror_flag" ||
45578 test ! -s conftest.err
45579 } && test -s conftest.$ac_objext; then
45580 wx_cv_type_getsockopt5=size_t
45582 echo "$as_me: failed program was:" >&5
45583 sed 's/^/| /' conftest.$ac_ext >&5
45585 cat >conftest.$ac_ext <<_ACEOF
45588 cat confdefs.h >>conftest.$ac_ext
45589 cat >>conftest.$ac_ext <<_ACEOF
45590 /* end confdefs.h. */
45592 #include <sys/types.h>
45593 #include <sys/socket.h>
45600 getsockopt(0, 0, 0, 0, &len);
45606 rm -f conftest.$ac_objext
45607 if { (ac_try="$ac_compile"
45608 case "(($ac_try" in
45609 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45610 *) ac_try_echo
=$ac_try;;
45612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45613 (eval "$ac_compile") 2>conftest.er1
45615 grep -v '^ *+' conftest.er1
>conftest.err
45617 cat conftest.err
>&5
45618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45619 (exit $ac_status); } && {
45620 test -z "$ac_cxx_werror_flag" ||
45621 test ! -s conftest.err
45622 } && test -s conftest.
$ac_objext; then
45623 wx_cv_type_getsockopt5
=int
45625 echo "$as_me: failed program was:" >&5
45626 sed 's/^/| /' conftest.
$ac_ext >&5
45628 wx_cv_type_getsockopt5
=unknown
45632 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45636 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45641 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45643 ac_cpp
='$CPP $CPPFLAGS'
45644 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45645 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45646 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45650 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45651 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
45653 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45655 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45656 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45658 cat >>confdefs.h
<<_ACEOF
45659 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45666 if test "$wxUSE_SOCKETS" = "yes" ; then
45667 if test "$wxUSE_IPV6" = "yes"; then
45668 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
45669 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
45670 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
45671 echo $ECHO_N "(cached) $ECHO_C" >&6
45674 cat >conftest.
$ac_ext <<_ACEOF
45677 cat confdefs.h
>>conftest.
$ac_ext
45678 cat >>conftest.
$ac_ext <<_ACEOF
45679 /* end confdefs.h. */
45681 #include <sys/types.h>
45682 #include <sys/socket.h>
45683 #include <netinet/in.h>
45689 struct sockaddr_in6 sa6;
45695 rm -f conftest.
$ac_objext
45696 if { (ac_try
="$ac_compile"
45697 case "(($ac_try" in
45698 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45699 *) ac_try_echo=$ac_try;;
45701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45702 (eval "$ac_compile") 2>conftest.er1
45704 grep -v '^ *+' conftest.er1 >conftest.err
45706 cat conftest.err >&5
45707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45708 (exit $ac_status); } && {
45709 test -z "$ac_c_werror_flag" ||
45710 test ! -s conftest.err
45711 } && test -s conftest.$ac_objext; then
45712 wx_cv_type_sockaddr_in6=yes
45714 echo "$as_me: failed program was:" >&5
45715 sed 's/^/| /' conftest.$ac_ext >&5
45717 wx_cv_type_sockaddr_in6=no
45721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45725 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
45726 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
45728 if test "$wx_cv_type_sockaddr_in6"="yes"; then
45729 cat >>confdefs.h <<\_ACEOF
45730 #define wxUSE_IPV6 1
45734 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
45735 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
45739 cat >>confdefs.h <<\_ACEOF
45740 #define wxUSE_SOCKETS 1
45743 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45746 if test "$wxUSE_PROTOCOL" = "yes"; then
45747 if test "$wxUSE_SOCKETS" != "yes"; then
45748 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45749 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45754 if test "$wxUSE_PROTOCOL" = "yes"; then
45755 cat >>confdefs.h <<\_ACEOF
45756 #define wxUSE_PROTOCOL 1
45760 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45761 cat >>confdefs.h <<\_ACEOF
45762 #define wxUSE_PROTOCOL_HTTP 1
45766 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45767 cat >>confdefs.h <<\_ACEOF
45768 #define wxUSE_PROTOCOL_FTP 1
45772 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45773 cat >>confdefs.h <<\_ACEOF
45774 #define wxUSE_PROTOCOL_FILE 1
45779 if test "$wxUSE_FS_INET" = "yes"; then
45780 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45781 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45786 if test "$wxUSE_URL" = "yes"; then
45787 if test "$wxUSE_PROTOCOL" != "yes"; then
45788 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45789 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45792 if test "$wxUSE_URL" = "yes"; then
45793 cat >>confdefs.h <<\_ACEOF
45794 #define wxUSE_URL 1
45800 if test "$wxUSE_VARIANT" = "yes"; then
45801 cat >>confdefs.h <<\_ACEOF
45802 #define wxUSE_VARIANT 1
45807 if test "$wxUSE_FS_INET" = "yes"; then
45808 cat >>confdefs.h <<\_ACEOF
45809 #define wxUSE_FS_INET 1
45815 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45818 if test "$TOOLKIT" = "MSW"; then
45821 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45822 if test "$USE_DARWIN" = 1; then
45823 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45824 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45826 ac_cpp='$CXXCPP $CPPFLAGS'
45827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45831 cat >conftest.$ac_ext <<_ACEOF
45834 cat confdefs.h >>conftest.$ac_ext
45835 cat >>conftest.$ac_ext <<_ACEOF
45836 /* end confdefs.h. */
45837 #include <IOKit/hid/IOHIDLib.h>
45841 IOHIDQueueInterface *qi = NULL;
45842 IOHIDCallbackFunction cb = NULL;
45843 qi->setEventCallout(NULL, cb, NULL, NULL);
45848 rm -f conftest.$ac_objext
45849 if { (ac_try="$ac_compile"
45850 case "(($ac_try" in
45851 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45852 *) ac_try_echo
=$ac_try;;
45854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45855 (eval "$ac_compile") 2>conftest.er1
45857 grep -v '^ *+' conftest.er1
>conftest.err
45859 cat conftest.err
>&5
45860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45861 (exit $ac_status); } && {
45862 test -z "$ac_cxx_werror_flag" ||
45863 test ! -s conftest.err
45864 } && test -s conftest.
$ac_objext; then
45868 echo "$as_me: failed program was:" >&5
45869 sed 's/^/| /' conftest.
$ac_ext >&5
45874 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45876 ac_cpp
='$CPP $CPPFLAGS'
45877 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45878 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45879 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45881 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45882 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45886 if test "$wxUSE_MGL" != 1; then
45888 for ac_header
in linux
/joystick.h
45890 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45891 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45893 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45894 echo $ECHO_N "(cached) $ECHO_C" >&6
45896 cat >conftest.
$ac_ext <<_ACEOF
45899 cat confdefs.h
>>conftest.
$ac_ext
45900 cat >>conftest.
$ac_ext <<_ACEOF
45901 /* end confdefs.h. */
45902 $ac_includes_default
45904 #include <$ac_header>
45906 rm -f conftest.
$ac_objext
45907 if { (ac_try
="$ac_compile"
45908 case "(($ac_try" in
45909 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45910 *) ac_try_echo=$ac_try;;
45912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45913 (eval "$ac_compile") 2>conftest.er1
45915 grep -v '^ *+' conftest.er1 >conftest.err
45917 cat conftest.err >&5
45918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45919 (exit $ac_status); } && {
45920 test -z "$ac_c_werror_flag" ||
45921 test ! -s conftest.err
45922 } && test -s conftest.$ac_objext; then
45923 eval "$as_ac_Header=yes"
45925 echo "$as_me: failed program was:" >&5
45926 sed 's/^/| /' conftest.$ac_ext >&5
45928 eval "$as_ac_Header=no"
45931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45933 ac_res=`eval echo '${'$as_ac_Header'}'`
45934 { echo "$as_me:$LINENO: result: $ac_res" >&5
45935 echo "${ECHO_T}$ac_res" >&6; }
45936 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45937 cat >>confdefs.h <<_ACEOF
45938 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45948 if test "$wxUSE_JOYSTICK" = "yes"; then
45949 cat >>confdefs.h <<\_ACEOF
45950 #define wxUSE_JOYSTICK 1
45953 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45955 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45956 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45962 if test "$wxUSE_FONTENUM" = "yes" ; then
45963 cat >>confdefs.h <<\_ACEOF
45964 #define wxUSE_FONTENUM 1
45969 if test "$wxUSE_FONTMAP" = "yes" ; then
45970 cat >>confdefs.h <<\_ACEOF
45971 #define wxUSE_FONTMAP 1
45976 if test "$wxUSE_UNICODE" = "yes" ; then
45977 cat >>confdefs.h <<\_ACEOF
45978 #define wxUSE_UNICODE 1
45982 if test "$USE_WIN32" != 1; then
45983 wxUSE_UNICODE_MSLU=no
45986 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45987 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45988 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45989 if test "${ac_cv_lib_unicows_main+set}" = set; then
45990 echo $ECHO_N "(cached) $ECHO_C" >&6
45992 ac_check_lib_save_LIBS=$LIBS
45993 LIBS="-lunicows $LIBS"
45994 cat >conftest.$ac_ext <<_ACEOF
45997 cat confdefs.h >>conftest.$ac_ext
45998 cat >>conftest.$ac_ext <<_ACEOF
45999 /* end confdefs.h. */
46010 rm -f conftest.$ac_objext conftest$ac_exeext
46011 if { (ac_try="$ac_link"
46012 case "(($ac_try" in
46013 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46014 *) ac_try_echo
=$ac_try;;
46016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46017 (eval "$ac_link") 2>conftest.er1
46019 grep -v '^ *+' conftest.er1
>conftest.err
46021 cat conftest.err
>&5
46022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46023 (exit $ac_status); } && {
46024 test -z "$ac_c_werror_flag" ||
46025 test ! -s conftest.err
46026 } && test -s conftest
$ac_exeext &&
46027 $as_test_x conftest
$ac_exeext; then
46028 ac_cv_lib_unicows_main
=yes
46030 echo "$as_me: failed program was:" >&5
46031 sed 's/^/| /' conftest.
$ac_ext >&5
46033 ac_cv_lib_unicows_main
=no
46036 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46037 conftest
$ac_exeext conftest.
$ac_ext
46038 LIBS
=$ac_check_lib_save_LIBS
46040 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46041 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46042 if test $ac_cv_lib_unicows_main = yes; then
46044 cat >>confdefs.h
<<\_ACEOF
46045 #define wxUSE_UNICODE_MSLU 1
46051 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46052 Applications will only run on Windows NT/2000/XP!" >&5
46053 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46054 Applications will only run on Windows NT/2000/XP!" >&2;}
46055 wxUSE_UNICODE_MSLU
=no
46062 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46063 cat >>confdefs.h
<<\_ACEOF
46064 #define wxUSE_UNICODE_UTF8 1
46068 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46069 cat >>confdefs.h
<<\_ACEOF
46070 #define wxUSE_UTF8_LOCALE_ONLY 1
46077 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46078 cat >>confdefs.h
<<\_ACEOF
46079 #define wxUSE_CONSTRAINTS 1
46082 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
46085 if test "$wxUSE_MDI" = "yes"; then
46086 cat >>confdefs.h
<<\_ACEOF
46087 #define wxUSE_MDI 1
46091 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46092 cat >>confdefs.h
<<\_ACEOF
46093 #define wxUSE_MDI_ARCHITECTURE 1
46096 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
46100 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46101 cat >>confdefs.h
<<\_ACEOF
46102 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46105 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
46108 if test "$wxUSE_HELP" = "yes"; then
46109 cat >>confdefs.h
<<\_ACEOF
46110 #define wxUSE_HELP 1
46113 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
46115 if test "$wxUSE_MSW" = 1; then
46116 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46117 cat >>confdefs.h
<<\_ACEOF
46118 #define wxUSE_MS_HTML_HELP 1
46124 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46125 if test "$wxUSE_HTML" = "yes"; then
46126 cat >>confdefs.h
<<\_ACEOF
46127 #define wxUSE_WXHTML_HELP 1
46131 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46132 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46133 wxUSE_WXHTML_HELP
=no
46138 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46139 cat >>confdefs.h
<<\_ACEOF
46140 #define wxUSE_PRINTING_ARCHITECTURE 1
46143 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
46146 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46147 cat >>confdefs.h
<<\_ACEOF
46148 #define wxUSE_POSTSCRIPT 1
46153 cat >>confdefs.h
<<\_ACEOF
46154 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46158 if test "$wxUSE_SVG" = "yes"; then
46159 cat >>confdefs.h
<<\_ACEOF
46160 #define wxUSE_SVG 1
46166 if test "$wxUSE_METAFILE" = "yes"; then
46167 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46168 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46169 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46175 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
46176 -o "$wxUSE_CLIPBOARD" = "yes" \
46177 -o "$wxUSE_OLE" = "yes" \
46178 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
46179 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46180 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46181 if test "${ac_cv_header_ole2_h+set}" = set; then
46182 echo $ECHO_N "(cached) $ECHO_C" >&6
46184 cat >conftest.
$ac_ext <<_ACEOF
46187 cat confdefs.h
>>conftest.
$ac_ext
46188 cat >>conftest.
$ac_ext <<_ACEOF
46189 /* end confdefs.h. */
46194 rm -f conftest.
$ac_objext
46195 if { (ac_try
="$ac_compile"
46196 case "(($ac_try" in
46197 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46198 *) ac_try_echo=$ac_try;;
46200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46201 (eval "$ac_compile") 2>conftest.er1
46203 grep -v '^ *+' conftest.er1 >conftest.err
46205 cat conftest.err >&5
46206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46207 (exit $ac_status); } && {
46208 test -z "$ac_c_werror_flag" ||
46209 test ! -s conftest.err
46210 } && test -s conftest.$ac_objext; then
46211 ac_cv_header_ole2_h=yes
46213 echo "$as_me: failed program was:" >&5
46214 sed 's/^/| /' conftest.$ac_ext >&5
46216 ac_cv_header_ole2_h=no
46219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46221 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46222 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
46226 if test "$ac_cv_header_ole2_h" = "yes" ; then
46227 if test "$GCC" = yes ; then
46228 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46229 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
46230 cat >conftest.$ac_ext <<_ACEOF
46233 cat confdefs.h >>conftest.$ac_ext
46234 cat >>conftest.$ac_ext <<_ACEOF
46235 /* end confdefs.h. */
46236 #include <windows.h>
46246 rm -f conftest.$ac_objext
46247 if { (ac_try="$ac_compile"
46248 case "(($ac_try" in
46249 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46250 *) ac_try_echo
=$ac_try;;
46252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46253 (eval "$ac_compile") 2>conftest.er1
46255 grep -v '^ *+' conftest.er1
>conftest.err
46257 cat conftest.err
>&5
46258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46259 (exit $ac_status); } && {
46260 test -z "$ac_c_werror_flag" ||
46261 test ! -s conftest.err
46262 } && test -s conftest.
$ac_objext; then
46263 { echo "$as_me:$LINENO: result: no" >&5
46264 echo "${ECHO_T}no" >&6; }
46266 echo "$as_me: failed program was:" >&5
46267 sed 's/^/| /' conftest.
$ac_ext >&5
46269 { echo "$as_me:$LINENO: result: yes" >&5
46270 echo "${ECHO_T}yes" >&6; }
46271 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46274 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46275 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46276 if test "$wxUSE_OLE" = "yes" ; then
46277 cat >>confdefs.h
<<\_ACEOF
46278 #define wxUSE_OLE 1
46281 cat >>confdefs.h
<<\_ACEOF
46282 #define wxUSE_OLE_AUTOMATION 1
46285 cat >>confdefs.h
<<\_ACEOF
46286 #define wxUSE_ACTIVEX 1
46289 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
46293 if test "$wxUSE_DATAOBJ" = "yes" ; then
46294 cat >>confdefs.h
<<\_ACEOF
46295 #define wxUSE_DATAOBJ 1
46300 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46301 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46304 wxUSE_DRAG_AND_DROP
=no
46309 if test "$wxUSE_METAFILE" = "yes"; then
46310 cat >>confdefs.h
<<\_ACEOF
46311 #define wxUSE_METAFILE 1
46315 cat >>confdefs.h
<<\_ACEOF
46316 #define wxUSE_ENH_METAFILE 1
46322 if test "$wxUSE_IPC" = "yes"; then
46323 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46324 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46325 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46329 if test "$wxUSE_IPC" = "yes"; then
46330 cat >>confdefs.h
<<\_ACEOF
46331 #define wxUSE_IPC 1
46334 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
46338 if test "$wxUSE_DATAOBJ" = "yes"; then
46339 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46340 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46341 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46344 cat >>confdefs.h
<<\_ACEOF
46345 #define wxUSE_DATAOBJ 1
46350 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46351 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46353 wxUSE_DRAG_AND_DROP
=no
46356 if test "$wxUSE_CLIPBOARD" = "yes"; then
46357 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46358 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46359 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46363 if test "$wxUSE_CLIPBOARD" = "yes"; then
46364 cat >>confdefs.h
<<\_ACEOF
46365 #define wxUSE_CLIPBOARD 1
46371 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46372 if test "$wxUSE_GTK" = 1; then
46373 if test "$WXGTK12" != 1; then
46374 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46375 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46376 wxUSE_DRAG_AND_DROP
=no
46380 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46381 "$wxUSE_DFB" = 1; then
46382 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46383 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46384 wxUSE_DRAG_AND_DROP
=no
46387 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46388 cat >>confdefs.h
<<\_ACEOF
46389 #define wxUSE_DRAG_AND_DROP 1
46396 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46397 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
46400 if test "$wxUSE_CLIPBOARD" = "yes"; then
46401 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
46404 if test "$wxUSE_SPLINES" = "yes" ; then
46405 cat >>confdefs.h
<<\_ACEOF
46406 #define wxUSE_SPLINES 1
46411 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46412 cat >>confdefs.h
<<\_ACEOF
46413 #define wxUSE_MOUSEWHEEL 1
46418 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
46419 cat >>confdefs.h
<<\_ACEOF
46420 #define wxUSE_UIACTIONSIMULATOR 1
46423 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS uiaction"
46428 if test "$wxUSE_CONTROLS" = "yes"; then
46432 if test "$wxUSE_ACCEL" = "yes"; then
46433 cat >>confdefs.h
<<\_ACEOF
46434 #define wxUSE_ACCEL 1
46440 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46441 cat >>confdefs.h
<<\_ACEOF
46442 #define wxUSE_ANIMATIONCTRL 1
46446 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
46449 if test "$wxUSE_BUTTON" = "yes"; then
46450 cat >>confdefs.h
<<\_ACEOF
46451 #define wxUSE_BUTTON 1
46457 if test "$wxUSE_BMPBUTTON" = "yes"; then
46458 cat >>confdefs.h
<<\_ACEOF
46459 #define wxUSE_BMPBUTTON 1
46465 if test "$wxUSE_CALCTRL" = "yes"; then
46466 cat >>confdefs.h
<<\_ACEOF
46467 #define wxUSE_CALENDARCTRL 1
46471 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
46474 if test "$wxUSE_CARET" = "yes"; then
46475 cat >>confdefs.h
<<\_ACEOF
46476 #define wxUSE_CARET 1
46480 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
46483 if test "$wxUSE_COLLPANE" = "yes"; then
46484 cat >>confdefs.h
<<\_ACEOF
46485 #define wxUSE_COLLPANE 1
46489 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
46492 if test "$wxUSE_COMBOBOX" = "yes"; then
46493 cat >>confdefs.h
<<\_ACEOF
46494 #define wxUSE_COMBOBOX 1
46500 if test "$wxUSE_COMBOCTRL" = "yes"; then
46501 cat >>confdefs.h
<<\_ACEOF
46502 #define wxUSE_COMBOCTRL 1
46508 if test "$wxUSE_CHOICE" = "yes"; then
46509 cat >>confdefs.h
<<\_ACEOF
46510 #define wxUSE_CHOICE 1
46516 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46517 cat >>confdefs.h
<<\_ACEOF
46518 #define wxUSE_CHOICEBOOK 1
46524 if test "$wxUSE_CHECKBOX" = "yes"; then
46525 cat >>confdefs.h
<<\_ACEOF
46526 #define wxUSE_CHECKBOX 1
46532 if test "$wxUSE_CHECKLST" = "yes"; then
46533 cat >>confdefs.h
<<\_ACEOF
46534 #define wxUSE_CHECKLISTBOX 1
46540 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46541 cat >>confdefs.h
<<\_ACEOF
46542 #define wxUSE_COLOURPICKERCTRL 1
46548 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46549 cat >>confdefs.h
<<\_ACEOF
46550 #define wxUSE_DATEPICKCTRL 1
46556 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46557 cat >>confdefs.h
<<\_ACEOF
46558 #define wxUSE_DIRPICKERCTRL 1
46564 if test "$wxUSE_FILECTRL" = "yes"; then
46565 cat >>confdefs.h
<<\_ACEOF
46566 #define wxUSE_FILECTRL 1
46572 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46573 cat >>confdefs.h
<<\_ACEOF
46574 #define wxUSE_FILEPICKERCTRL 1
46580 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46581 cat >>confdefs.h
<<\_ACEOF
46582 #define wxUSE_FONTPICKERCTRL 1
46588 if test "$wxUSE_DISPLAY" = "yes"; then
46589 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
46590 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
46591 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
46594 cat >>confdefs.h
<<\_ACEOF
46595 #define wxUSE_DISPLAY 1
46598 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
46602 if test "$wxUSE_DETECT_SM" = "yes"; then
46603 cat >>confdefs.h
<<\_ACEOF
46604 #define wxUSE_DETECT_SM 1
46609 if test "$wxUSE_GAUGE" = "yes"; then
46610 cat >>confdefs.h
<<\_ACEOF
46611 #define wxUSE_GAUGE 1
46617 if test "$wxUSE_GRID" = "yes"; then
46618 cat >>confdefs.h
<<\_ACEOF
46619 #define wxUSE_GRID 1
46623 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
46626 if test "$wxUSE_HEADERCTRL" = "yes"; then
46627 cat >>confdefs.h
<<\_ACEOF
46628 #define wxUSE_HEADERCTRL 1
46634 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46635 cat >>confdefs.h
<<\_ACEOF
46636 #define wxUSE_HYPERLINKCTRL 1
46642 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46643 cat >>confdefs.h
<<\_ACEOF
46644 #define wxUSE_BITMAPCOMBOBOX 1
46650 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46651 cat >>confdefs.h
<<\_ACEOF
46652 #define wxUSE_DATAVIEWCTRL 1
46656 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
46659 if test "$wxUSE_IMAGLIST" = "yes"; then
46660 cat >>confdefs.h
<<\_ACEOF
46661 #define wxUSE_IMAGLIST 1
46666 if test "$wxUSE_INFOBAR" = "yes"; then
46667 cat >>confdefs.h
<<\_ACEOF
46668 #define wxUSE_INFOBAR 1
46673 if test "$wxUSE_LISTBOOK" = "yes"; then
46674 cat >>confdefs.h
<<\_ACEOF
46675 #define wxUSE_LISTBOOK 1
46681 if test "$wxUSE_LISTBOX" = "yes"; then
46682 cat >>confdefs.h
<<\_ACEOF
46683 #define wxUSE_LISTBOX 1
46689 if test "$wxUSE_LISTCTRL" = "yes"; then
46690 if test "$wxUSE_IMAGLIST" = "yes"; then
46691 cat >>confdefs.h
<<\_ACEOF
46692 #define wxUSE_LISTCTRL 1
46696 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
46698 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46699 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46703 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
46704 cat >>confdefs.h
<<\_ACEOF
46705 #define wxUSE_EDITABLELISTBOX 1
46711 if test "$wxUSE_NOTEBOOK" = "yes"; then
46712 cat >>confdefs.h
<<\_ACEOF
46713 #define wxUSE_NOTEBOOK 1
46717 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
46720 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
46721 cat >>confdefs.h
<<\_ACEOF
46722 #define wxUSE_NOTIFICATION_MESSAGE 1
46727 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46728 cat >>confdefs.h
<<\_ACEOF
46729 #define wxUSE_ODCOMBOBOX 1
46733 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
46736 if test "$wxUSE_RADIOBOX" = "yes"; then
46737 cat >>confdefs.h
<<\_ACEOF
46738 #define wxUSE_RADIOBOX 1
46744 if test "$wxUSE_RADIOBTN" = "yes"; then
46745 cat >>confdefs.h
<<\_ACEOF
46746 #define wxUSE_RADIOBTN 1
46752 if test "$wxUSE_REARRANGECTRL" = "yes"; then
46753 cat >>confdefs.h
<<\_ACEOF
46754 #define wxUSE_REARRANGECTRL 1
46759 if test "$wxUSE_SASH" = "yes"; then
46760 cat >>confdefs.h
<<\_ACEOF
46761 #define wxUSE_SASH 1
46764 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
46767 if test "$wxUSE_SCROLLBAR" = "yes"; then
46768 cat >>confdefs.h
<<\_ACEOF
46769 #define wxUSE_SCROLLBAR 1
46773 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
46776 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46777 cat >>confdefs.h
<<\_ACEOF
46778 #define wxUSE_SEARCHCTRL 1
46784 if test "$wxUSE_SLIDER" = "yes"; then
46785 cat >>confdefs.h
<<\_ACEOF
46786 #define wxUSE_SLIDER 1
46792 if test "$wxUSE_SPINBTN" = "yes"; then
46793 cat >>confdefs.h
<<\_ACEOF
46794 #define wxUSE_SPINBTN 1
46800 if test "$wxUSE_SPINCTRL" = "yes"; then
46801 cat >>confdefs.h
<<\_ACEOF
46802 #define wxUSE_SPINCTRL 1
46808 if test "$wxUSE_SPLITTER" = "yes"; then
46809 cat >>confdefs.h
<<\_ACEOF
46810 #define wxUSE_SPLITTER 1
46813 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
46816 if test "$wxUSE_STATBMP" = "yes"; then
46817 cat >>confdefs.h
<<\_ACEOF
46818 #define wxUSE_STATBMP 1
46824 if test "$wxUSE_STATBOX" = "yes"; then
46825 cat >>confdefs.h
<<\_ACEOF
46826 #define wxUSE_STATBOX 1
46832 if test "$wxUSE_STATTEXT" = "yes"; then
46833 cat >>confdefs.h
<<\_ACEOF
46834 #define wxUSE_STATTEXT 1
46840 if test "$wxUSE_STATLINE" = "yes"; then
46841 cat >>confdefs.h
<<\_ACEOF
46842 #define wxUSE_STATLINE 1
46848 if test "$wxUSE_STATUSBAR" = "yes"; then
46849 cat >>confdefs.h
<<\_ACEOF
46850 #define wxUSE_NATIVE_STATUSBAR 1
46853 cat >>confdefs.h
<<\_ACEOF
46854 #define wxUSE_STATUSBAR 1
46859 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
46862 if test "$wxUSE_TEXTCTRL" = "yes"; then
46863 cat >>confdefs.h
<<\_ACEOF
46864 #define wxUSE_TEXTCTRL 1
46868 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
46870 cat >>confdefs.h
<<\_ACEOF
46871 #define wxUSE_RICHEDIT 1
46874 cat >>confdefs.h
<<\_ACEOF
46875 #define wxUSE_RICHEDIT2 1
46880 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46881 if test "$wxUSE_OLD_COCOA" = 1 ; then
46882 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46883 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46887 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46888 cat >>confdefs.h
<<\_ACEOF
46889 #define wxUSE_TOGGLEBTN 1
46896 if test "$wxUSE_TOOLBAR" = "yes"; then
46897 cat >>confdefs.h
<<\_ACEOF
46898 #define wxUSE_TOOLBAR 1
46903 if test "$wxUSE_UNIVERSAL" = "yes"; then
46904 wxUSE_TOOLBAR_NATIVE
="no"
46906 wxUSE_TOOLBAR_NATIVE
="yes"
46907 cat >>confdefs.h
<<\_ACEOF
46908 #define wxUSE_TOOLBAR_NATIVE 1
46913 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
46916 if test "$wxUSE_TOOLTIPS" = "yes"; then
46917 if test "$wxUSE_MOTIF" = 1; then
46918 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46919 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46921 if test "$wxUSE_UNIVERSAL" = "yes"; then
46922 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46923 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46925 cat >>confdefs.h
<<\_ACEOF
46926 #define wxUSE_TOOLTIPS 1
46933 if test "$wxUSE_TREEBOOK" = "yes"; then
46934 cat >>confdefs.h
<<\_ACEOF
46935 #define wxUSE_TREEBOOK 1
46941 if test "$wxUSE_TOOLBOOK" = "yes"; then
46942 cat >>confdefs.h
<<\_ACEOF
46943 #define wxUSE_TOOLBOOK 1
46949 if test "$wxUSE_TREECTRL" = "yes"; then
46950 if test "$wxUSE_IMAGLIST" = "yes"; then
46951 cat >>confdefs.h
<<\_ACEOF
46952 #define wxUSE_TREECTRL 1
46956 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
46958 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46959 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46963 if test "$wxUSE_POPUPWIN" = "yes"; then
46964 if test "$wxUSE_OLD_COCOA" = 1 ; then
46965 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46966 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46968 if test "$wxUSE_PM" = 1; then
46969 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46970 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46972 cat >>confdefs.h
<<\_ACEOF
46973 #define wxUSE_POPUPWIN 1
46976 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46983 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46984 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46985 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46986 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46988 cat >>confdefs.h
<<\_ACEOF
46989 #define wxUSE_DIALUP_MANAGER 1
46992 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46996 if test "$wxUSE_TIPWINDOW" = "yes"; then
46997 if test "$wxUSE_PM" = 1; then
46998 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46999 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47001 cat >>confdefs.h
<<\_ACEOF
47002 #define wxUSE_TIPWINDOW 1
47008 if test "$USES_CONTROLS" = 1; then
47009 cat >>confdefs.h
<<\_ACEOF
47010 #define wxUSE_CONTROLS 1
47016 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47017 cat >>confdefs.h
<<\_ACEOF
47018 #define wxUSE_ACCESSIBILITY 1
47021 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
47024 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47025 cat >>confdefs.h
<<\_ACEOF
47026 #define wxUSE_DRAGIMAGE 1
47029 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
47032 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47033 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47034 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47035 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47037 cat >>confdefs.h
<<\_ACEOF
47038 #define wxUSE_EXCEPTIONS 1
47041 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
47046 if test "$wxUSE_HTML" = "yes"; then
47047 cat >>confdefs.h
<<\_ACEOF
47048 #define wxUSE_HTML 1
47052 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47054 if test "$wxUSE_WEBKIT" = "yes"; then
47055 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47056 old_CPPFLAGS
="$CPPFLAGS"
47057 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
47058 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47059 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47060 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47061 echo $ECHO_N "(cached) $ECHO_C" >&6
47063 cat >conftest.
$ac_ext <<_ACEOF
47066 cat confdefs.h
>>conftest.
$ac_ext
47067 cat >>conftest.
$ac_ext <<_ACEOF
47068 /* end confdefs.h. */
47070 #include <Carbon/Carbon.h>
47071 #include <WebKit/WebKit.h>
47074 #include <WebKit/HIWebView.h>
47076 rm -f conftest.
$ac_objext
47077 if { (ac_try
="$ac_compile"
47078 case "(($ac_try" in
47079 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47080 *) ac_try_echo=$ac_try;;
47082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47083 (eval "$ac_compile") 2>conftest.er1
47085 grep -v '^ *+' conftest.er1 >conftest.err
47087 cat conftest.err >&5
47088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47089 (exit $ac_status); } && {
47090 test -z "$ac_c_werror_flag" ||
47091 test ! -s conftest.err
47092 } && test -s conftest.$ac_objext; then
47093 ac_cv_header_WebKit_HIWebView_h=yes
47095 echo "$as_me: failed program was:" >&5
47096 sed 's/^/| /' conftest.$ac_ext >&5
47098 ac_cv_header_WebKit_HIWebView_h=no
47101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47103 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47104 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47105 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47107 cat >>confdefs.h <<\_ACEOF
47108 #define wxUSE_WEBKIT 1
47111 WEBKIT_LINK="-framework WebKit"
47115 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47116 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47122 CPPFLAGS="$old_CPPFLAGS"
47123 elif test "$wxUSE_OLD_COCOA" = 1; then
47124 cat >>confdefs.h <<\_ACEOF
47125 #define wxUSE_WEBKIT 1
47131 if test "$wxUSE_WEBKIT" = "yes"; then
47132 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47137 if test "$wxUSE_XRC" = "yes"; then
47138 if test "$wxUSE_XML" != "yes"; then
47139 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47140 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47143 cat >>confdefs.h <<\_ACEOF
47144 #define wxUSE_XRC 1
47148 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47153 if test "$wxUSE_AUI" = "yes"; then
47154 cat >>confdefs.h <<\_ACEOF
47155 #define wxUSE_AUI 1
47159 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47163 if test "$wxUSE_PROPGRID" = "yes"; then
47164 cat >>confdefs.h <<\_ACEOF
47165 #define wxUSE_PROPGRID 1
47169 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
47173 if test "$wxUSE_RIBBON" = "yes"; then
47174 cat >>confdefs.h <<\_ACEOF
47175 #define wxUSE_RIBBON 1
47179 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
47183 if test "$wxUSE_STC" = "yes"; then
47184 cat >>confdefs.h <<\_ACEOF
47185 #define wxUSE_STC 1
47189 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
47191 # Extract the first word of "python", so it can be a program name with args.
47192 set dummy python; ac_word=$2
47193 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47195 if test "${ac_cv_path_PYTHON+set}" = set; then
47196 echo $ECHO_N "(cached) $ECHO_C" >&6
47200 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
47203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47204 for as_dir in $PATH
47207 test -z "$as_dir" && as_dir=.
47208 for ac_exec_ext in '' $ac_executable_extensions; do
47209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47210 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
47211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47221 PYTHON=$ac_cv_path_PYTHON
47222 if test -n "$PYTHON"; then
47223 { echo "$as_me:$LINENO: result: $PYTHON" >&5
47224 echo "${ECHO_T}$PYTHON" >&6; }
47226 { echo "$as_me:$LINENO: result: no" >&5
47227 echo "${ECHO_T}no" >&6; }
47231 if test "x$PYTHON" = "x"; then
47237 if test "$wxUSE_MENUS" = "yes"; then
47238 cat >>confdefs.h <<\_ACEOF
47239 #define wxUSE_MENUS 1
47242 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
47245 if test "$wxUSE_METAFILE" = "yes"; then
47246 cat >>confdefs.h <<\_ACEOF
47247 #define wxUSE_METAFILE 1
47252 if test "$wxUSE_MIMETYPE" = "yes"; then
47253 cat >>confdefs.h <<\_ACEOF
47254 #define wxUSE_MIMETYPE 1
47259 if test "$wxUSE_MINIFRAME" = "yes"; then
47260 cat >>confdefs.h <<\_ACEOF
47261 #define wxUSE_MINIFRAME 1
47266 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47267 cat >>confdefs.h <<\_ACEOF
47268 #define wxUSE_SYSTEM_OPTIONS 1
47273 if test "$wxUSE_TASKBARICON" = "yes"; then
47274 cat >>confdefs.h <<\_ACEOF
47275 #define wxUSE_TASKBARICON 1
47278 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
47282 if test "$wxUSE_VALIDATORS" = "yes"; then
47283 cat >>confdefs.h <<\_ACEOF
47284 #define wxUSE_VALIDATORS 1
47287 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47290 if test "$wxUSE_PALETTE" = "yes" ; then
47291 if test "$wxUSE_DFB" = 1; then
47292 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47293 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47296 cat >>confdefs.h <<\_ACEOF
47297 #define wxUSE_PALETTE 1
47303 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47304 LIBS=" -lunicows $LIBS"
47308 if test "$wxUSE_RICHTEXT" = "yes"; then
47309 cat >>confdefs.h <<\_ACEOF
47310 #define wxUSE_RICHTEXT 1
47314 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47318 if test "$wxUSE_IMAGE" = "yes" ; then
47319 cat >>confdefs.h <<\_ACEOF
47320 #define wxUSE_IMAGE 1
47324 if test "$wxUSE_GIF" = "yes" ; then
47325 cat >>confdefs.h <<\_ACEOF
47326 #define wxUSE_GIF 1
47331 if test "$wxUSE_PCX" = "yes" ; then
47332 cat >>confdefs.h <<\_ACEOF
47333 #define wxUSE_PCX 1
47338 if test "$wxUSE_TGA" = "yes" ; then
47339 cat >>confdefs.h <<\_ACEOF
47340 #define wxUSE_TGA 1
47345 if test "$wxUSE_IFF" = "yes" ; then
47346 cat >>confdefs.h <<\_ACEOF
47347 #define wxUSE_IFF 1
47352 if test "$wxUSE_PNM" = "yes" ; then
47353 cat >>confdefs.h <<\_ACEOF
47354 #define wxUSE_PNM 1
47359 if test "$wxUSE_XPM" = "yes" ; then
47360 cat >>confdefs.h <<\_ACEOF
47361 #define wxUSE_XPM 1
47366 if test "$wxUSE_ICO_CUR" = "yes" ; then
47367 cat >>confdefs.h <<\_ACEOF
47368 #define wxUSE_ICO_CUR 1
47375 if test "$wxUSE_ABOUTDLG" = "yes"; then
47376 cat >>confdefs.h <<\_ACEOF
47377 #define wxUSE_ABOUTDLG 1
47382 if test "$wxUSE_CHOICEDLG" = "yes"; then
47383 cat >>confdefs.h <<\_ACEOF
47384 #define wxUSE_CHOICEDLG 1
47389 if test "$wxUSE_COLOURDLG" = "yes"; then
47390 cat >>confdefs.h <<\_ACEOF
47391 #define wxUSE_COLOURDLG 1
47396 if test "$wxUSE_FILEDLG" = "yes"; then
47397 cat >>confdefs.h <<\_ACEOF
47398 #define wxUSE_FILEDLG 1
47403 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47404 cat >>confdefs.h <<\_ACEOF
47405 #define wxUSE_FINDREPLDLG 1
47410 if test "$wxUSE_FONTDLG" = "yes"; then
47411 cat >>confdefs.h <<\_ACEOF
47412 #define wxUSE_FONTDLG 1
47417 if test "$wxUSE_DIRDLG" = "yes"; then
47418 if test "$wxUSE_TREECTRL" != "yes"; then
47419 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47420 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47422 cat >>confdefs.h <<\_ACEOF
47423 #define wxUSE_DIRDLG 1
47429 if test "$wxUSE_MSGDLG" = "yes"; then
47430 cat >>confdefs.h <<\_ACEOF
47431 #define wxUSE_MSGDLG 1
47436 if test "$wxUSE_NUMBERDLG" = "yes"; then
47437 cat >>confdefs.h <<\_ACEOF
47438 #define wxUSE_NUMBERDLG 1
47443 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47444 cat >>confdefs.h <<\_ACEOF
47445 #define wxUSE_PROGRESSDLG 1
47450 if test "$wxUSE_SPLASH" = "yes"; then
47451 cat >>confdefs.h <<\_ACEOF
47452 #define wxUSE_SPLASH 1
47455 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47458 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47459 cat >>confdefs.h <<\_ACEOF
47460 #define wxUSE_STARTUP_TIPS 1
47465 if test "$wxUSE_TEXTDLG" = "yes"; then
47466 cat >>confdefs.h <<\_ACEOF
47467 #define wxUSE_TEXTDLG 1
47472 if test "$wxUSE_WIZARDDLG" = "yes"; then
47473 cat >>confdefs.h <<\_ACEOF
47474 #define wxUSE_WIZARDDLG 1
47477 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47481 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
47482 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
47483 cat >>confdefs.h <<\_ACEOF
47484 #define wxUSE_OWNER_DRAWN 1
47491 if test "$wxUSE_MSW" = 1 ; then
47493 if test "$wxUSE_DC_CACHEING" = "yes"; then
47494 cat >>confdefs.h <<\_ACEOF
47495 #define wxUSE_DC_CACHEING 1
47500 if test "$wxUSE_DIB" = "yes"; then
47501 cat >>confdefs.h <<\_ACEOF
47502 #define wxUSE_WXDIB 1
47507 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
47508 cat >>confdefs.h <<\_ACEOF
47509 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
47514 if test "$wxUSE_UXTHEME" = "yes"; then
47515 cat >>confdefs.h <<\_ACEOF
47516 #define wxUSE_UXTHEME 1
47523 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
47524 cat >>confdefs.h <<\_ACEOF
47525 #define wxUSE_AUTOID_MANAGEMENT 1
47530 if test "$USE_WIN32" = 1 ; then
47531 if test "$wxUSE_INICONF" = "yes"; then
47532 cat >>confdefs.h <<\_ACEOF
47533 #define wxUSE_INICONF 1
47538 if test "$wxUSE_REGKEY" = "yes"; then
47539 cat >>confdefs.h <<\_ACEOF
47540 #define wxUSE_REGKEY 1
47547 if test "$wxUSE_MAC" = 1; then
47548 wxUSE_GRAPHICS_CONTEXT="yes"
47551 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47553 if test "$wxUSE_MSW" = 1; then
47554 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
47555 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
47556 if test "${wx_cv_lib_gdiplus+set}" = set; then
47557 echo $ECHO_N "(cached) $ECHO_C" >&6
47561 ac_cpp='$CXXCPP $CPPFLAGS'
47562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47566 cat >conftest.$ac_ext <<_ACEOF
47569 cat confdefs.h >>conftest.$ac_ext
47570 cat >>conftest.$ac_ext <<_ACEOF
47571 /* end confdefs.h. */
47572 #include <windows.h>
47573 #include <gdiplus.h>
47578 using namespace Gdiplus;
47584 rm -f conftest.$ac_objext
47585 if { (ac_try="$ac_compile"
47586 case "(($ac_try" in
47587 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47588 *) ac_try_echo
=$ac_try;;
47590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47591 (eval "$ac_compile") 2>conftest.er1
47593 grep -v '^ *+' conftest.er1
>conftest.err
47595 cat conftest.err
>&5
47596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47597 (exit $ac_status); } && {
47598 test -z "$ac_cxx_werror_flag" ||
47599 test ! -s conftest.err
47600 } && test -s conftest.
$ac_objext; then
47601 wx_cv_lib_gdiplus
=yes
47603 echo "$as_me: failed program was:" >&5
47604 sed 's/^/| /' conftest.
$ac_ext >&5
47606 wx_cv_lib_gdiplus
=no
47610 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47612 ac_cpp
='$CPP $CPPFLAGS'
47613 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47614 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47615 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47620 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
47621 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
47622 if test "$wx_cv_lib_gdiplus" = "yes"; then
47625 elif test "$wxUSE_GTK" = 1; then
47628 { echo "$as_me:$LINENO: checking for CAIRO" >&5
47629 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
47631 if test -n "$PKG_CONFIG"; then
47632 if test -n "$CAIRO_CFLAGS"; then
47633 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
47635 if test -n "$PKG_CONFIG" && \
47636 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47637 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47640 (exit $ac_status); }; then
47641 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47649 if test -n "$PKG_CONFIG"; then
47650 if test -n "$CAIRO_LIBS"; then
47651 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
47653 if test -n "$PKG_CONFIG" && \
47654 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47655 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47658 (exit $ac_status); }; then
47659 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47670 if test $pkg_failed = yes; then
47672 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47673 _pkg_short_errors_supported
=yes
47675 _pkg_short_errors_supported
=no
47677 if test $_pkg_short_errors_supported = yes; then
47678 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47680 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47682 # Put the nasty error message in config.log where it belongs
47683 echo "$CAIRO_PKG_ERRORS" >&5
47685 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
47686 echo "$as_me: WARNING: Cairo library not found" >&2;}
47688 elif test $pkg_failed = untried
; then
47689 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
47690 echo "$as_me: WARNING: Cairo library not found" >&2;}
47693 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
47694 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
47695 { echo "$as_me:$LINENO: result: yes" >&5
47696 echo "${ECHO_T}yes" >&6; }
47703 if test "$wx_has_graphics" = 1; then
47704 cat >>confdefs.h
<<\_ACEOF
47705 #define wxUSE_GRAPHICS_CONTEXT 1
47709 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
47710 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
47717 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
47720 if test "$wxUSE_GTK" = 1; then
47721 wxUSE_GSTREAMER
="no"
47723 GST_VERSION_MAJOR
=0
47724 GST_VERSION_MINOR
=10
47725 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
47727 if test "$wxUSE_GSTREAMER8" = "no"; then
47730 { echo "$as_me:$LINENO: checking for GST" >&5
47731 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47733 if test -n "$PKG_CONFIG"; then
47734 if test -n "$GST_CFLAGS"; then
47735 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
47737 if test -n "$PKG_CONFIG" && \
47738 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47739 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47742 (exit $ac_status); }; then
47743 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47751 if test -n "$PKG_CONFIG"; then
47752 if test -n "$GST_LIBS"; then
47753 pkg_cv_GST_LIBS
="$GST_LIBS"
47755 if test -n "$PKG_CONFIG" && \
47756 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47757 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47760 (exit $ac_status); }; then
47761 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47772 if test $pkg_failed = yes; then
47774 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47775 _pkg_short_errors_supported
=yes
47777 _pkg_short_errors_supported
=no
47779 if test $_pkg_short_errors_supported = yes; then
47780 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47782 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47784 # Put the nasty error message in config.log where it belongs
47785 echo "$GST_PKG_ERRORS" >&5
47788 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47789 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47790 GST_VERSION_MINOR
=8
47793 elif test $pkg_failed = untried
; then
47795 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47796 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47797 GST_VERSION_MINOR
=8
47801 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
47802 GST_LIBS
=$pkg_cv_GST_LIBS
47803 { echo "$as_me:$LINENO: result: yes" >&5
47804 echo "${ECHO_T}yes" >&6; }
47806 wxUSE_GSTREAMER
="yes"
47807 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47811 GST_VERSION_MINOR
=8
47814 if test $GST_VERSION_MINOR = "8"; then
47815 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
47818 { echo "$as_me:$LINENO: checking for GST" >&5
47819 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47821 if test -n "$PKG_CONFIG"; then
47822 if test -n "$GST_CFLAGS"; then
47823 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
47825 if test -n "$PKG_CONFIG" && \
47826 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47827 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47830 (exit $ac_status); }; then
47831 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47839 if test -n "$PKG_CONFIG"; then
47840 if test -n "$GST_LIBS"; then
47841 pkg_cv_GST_LIBS
="$GST_LIBS"
47843 if test -n "$PKG_CONFIG" && \
47844 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47845 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47848 (exit $ac_status); }; then
47849 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47860 if test $pkg_failed = yes; then
47862 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47863 _pkg_short_errors_supported
=yes
47865 _pkg_short_errors_supported
=no
47867 if test $_pkg_short_errors_supported = yes; then
47868 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47870 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47872 # Put the nasty error message in config.log where it belongs
47873 echo "$GST_PKG_ERRORS" >&5
47876 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47877 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47879 elif test $pkg_failed = untried
; then
47881 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47882 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47885 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
47886 GST_LIBS
=$pkg_cv_GST_LIBS
47887 { echo "$as_me:$LINENO: result: yes" >&5
47888 echo "${ECHO_T}yes" >&6; }
47889 wxUSE_GSTREAMER
="yes"
47894 if test "$wxUSE_GSTREAMER" = "yes"; then
47895 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
47896 EXTRALIBS_MEDIA
="$GST_LIBS"
47898 cat >>confdefs.h
<<\_ACEOF
47899 #define wxUSE_GSTREAMER 1
47907 if test $USE_MEDIA = 1; then
47908 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
47909 cat >>confdefs.h
<<\_ACEOF
47910 #define wxUSE_MEDIACTRL 1
47914 if test "$wxUSE_MEDIACTRL" = "yes"; then
47915 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47916 echo "$as_me: error: GStreamer not available" >&2;}
47917 { (exit 1); exit 1; }; }
47919 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47920 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47926 if test "$cross_compiling" != "no"; then
47929 OSINFO
=`uname -s -r -m`
47930 OSINFO
="\"$OSINFO\""
47933 cat >>confdefs.h
<<_ACEOF
47934 #define WXWIN_OS_DESCRIPTION $OSINFO
47939 if test "x$prefix" != "xNONE"; then
47942 wxPREFIX
=$ac_default_prefix
47945 cat >>confdefs.h
<<_ACEOF
47946 #define wxINSTALL_PREFIX "$wxPREFIX"
47952 STD_BASE_LIBS
="base"
47954 BUILT_WX_LIBS
="base"
47955 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
47957 if test "$wxUSE_SOCKETS" = "yes" ; then
47958 STD_BASE_LIBS
="net $STD_BASE_LIBS"
47959 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
47961 if test "$wxUSE_XML" = "yes" ; then
47962 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
47963 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
47966 if test "$wxUSE_GUI" = "yes"; then
47967 STD_GUI_LIBS
="adv core"
47968 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
47970 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47971 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
47972 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
47974 if test "$wxUSE_HTML" = "yes" ; then
47975 STD_GUI_LIBS
="html $STD_GUI_LIBS"
47976 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
47978 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47979 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
47981 if test "$wxUSE_OPENGL" = "yes" ; then
47982 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
47984 if test "$wxUSE_AUI" = "yes" ; then
47985 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
47987 if test "$wxUSE_PROPGRID" = "yes" ; then
47988 BUILT_WX_LIBS
="propgrid $BUILT_WX_LIBS"
47990 if test "$wxUSE_RIBBON" = "yes" ; then
47991 BUILT_WX_LIBS
="ribbon $BUILT_WX_LIBS"
47993 if test "$wxUSE_RICHTEXT" = "yes" ; then
47994 BUILT_WX_LIBS
="richtext $BUILT_WX_LIBS"
47996 if test "$wxUSE_STC" = "yes" ; then
47997 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
47999 if test "$wxUSE_XRC" = "yes" ; then
48000 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
48001 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
48012 if test "$wxUSE_MAC" = 1 ; then
48013 if test "$USE_DARWIN" = 1; then
48014 EXTRA_FRAMEWORKS
="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
48017 if test "$wxUSE_OLD_COCOA" = 1 ; then
48018 EXTRA_FRAMEWORKS
="-framework IOKit -framework Cocoa"
48019 if test "$wxUSE_MEDIACTRL" = "yes"; then
48020 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
48023 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
48024 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48027 LDFLAGS
="$LDFLAGS $EXTRA_FRAMEWORKS"
48028 WXCONFIG_LDFLAGS
="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
48030 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48032 if test "$wxUSE_GUI" = "yes"; then
48035 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48036 erase event exec font image minimal render \
48037 shaped svg taborder vscroll widgets wrapsizer"
48039 if test "$wxUSE_MONOLITHIC" != "yes"; then
48040 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
48042 if test "$TOOLKIT" = "MSW"; then
48043 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
48044 if test "$wxUSE_UNIVERSAL" != "yes"; then
48045 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
48048 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48049 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
48052 SAMPLES_SUBDIRS
="console"
48053 if test "$wxUSE_SOCKETS" = "yes" ; then
48054 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
48056 if test "$wxUSE_IPC" = "yes" ; then
48057 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
48062 if test "x$INTELCC" = "xyes" ; then
48063 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684,2259"
48064 elif test "$GCC" = yes ; then
48065 CWARNINGS
="-Wall -Wundef"
48068 if test "x$INTELCXX" = "xyes" ; then
48069 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
48070 elif test "$GXX" = yes ; then
48071 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
48072 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
48073 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
48074 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
48075 echo $ECHO_N "(cached) $ECHO_C" >&6
48077 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
="no, unknown"
48080 ac_cpp
='$CXXCPP $CPPFLAGS'
48081 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48082 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48083 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48085 ac_save_CXXFLAGS
="$CXXFLAGS"
48086 for ac_arg
in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
48087 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
48088 cat >conftest.
$ac_ext <<_ACEOF
48091 cat confdefs.h
>>conftest.
$ac_ext
48092 cat >>conftest.
$ac_ext <<_ACEOF
48093 /* end confdefs.h. */
48103 rm -f conftest.
$ac_objext
48104 if { (ac_try
="$ac_compile"
48105 case "(($ac_try" in
48106 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48107 *) ac_try_echo=$ac_try;;
48109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48110 (eval "$ac_compile") 2>conftest.er1
48112 grep -v '^ *+' conftest.er1 >conftest.err
48114 cat conftest.err >&5
48115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48116 (exit $ac_status); } && {
48117 test -z "$ac_cxx_werror_flag" ||
48118 test ! -s conftest.err
48119 } && test -s conftest.$ac_objext; then
48120 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
48122 echo "$as_me: failed program was:" >&5
48123 sed 's/^/| /' conftest.$ac_ext >&5
48128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48130 CXXFLAGS="$ac_save_CXXFLAGS"
48132 ac_cpp='$CPP $CPPFLAGS'
48133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48139 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
48140 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
48141 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
48145 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
48146 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
48147 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
48149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48150 (exit $ac_status); }
48151 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
48152 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
48154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48155 (exit $ac_status); }
48156 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
48162 if test "$wxUSE_MAC" = 1 ; then
48163 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
48168 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48169 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48172 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48173 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
48174 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
48177 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48178 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48179 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48180 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
48181 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
48183 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48186 if test "x$MWCC" = "xyes"; then
48188 CC="$CC -cwd source -I-"
48189 CXX="$CXX -cwd source -I-"
48194 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48195 EXTRALIBS_XML="$EXPAT_LINK"
48196 EXTRALIBS_HTML="$MSPACK_LINK"
48197 EXTRALIBS_MEDIA="$GST_LIBS"
48198 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48199 if test "$wxUSE_GUI" = "yes"; then
48200 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48202 if test "$wxUSE_OPENGL" = "yes"; then
48203 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
48206 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
48208 WXCONFIG_LIBS="$LIBS"
48210 if test "$wxUSE_REGEX" = "builtin" ; then
48211 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48213 if test "$wxUSE_EXPAT" = "builtin" ; then
48214 wxconfig_3rdparty="expat $wxconfig_3rdparty"
48216 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48217 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
48219 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48220 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
48222 if test "$wxUSE_LIBPNG" = "builtin" ; then
48223 wxconfig_3rdparty="png $wxconfig_3rdparty"
48225 if test "$wxUSE_ZLIB" = "builtin" ; then
48226 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48229 for i in $wxconfig_3rdparty ; do
48230 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48234 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48237 case "$wxUNIV_THEMES" in
48239 cat >>confdefs.h <<\_ACEOF
48240 #define wxUSE_ALL_THEMES 1
48246 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
48247 cat >>confdefs.h <<_ACEOF
48248 #define wxUSE_THEME_$t 1
48264 if test $wxUSE_MONOLITHIC = "yes" ; then
48270 if test $wxUSE_PLUGINS = "yes" ; then
48276 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48282 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48314 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
48327 TOOLKIT_DESC="GTK+"
48328 if test "$WXGTK2" = 1; then
48329 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48330 if test "$wxUSE_GTKPRINT" = "yes" ; then
48331 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
48333 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48334 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48336 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48337 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48339 if test "$wxUSE_LIBHILDON" = "yes"; then
48340 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48342 if test "$wxUSE_LIBHILDON2" = "yes"; then
48343 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48346 if test "$TOOLKIT_EXTRA" != ""; then
48347 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48353 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
48357 TOOLKIT_DESC="base only"
48361 if test "$wxUSE_WINE" = "yes"; then
48362 BAKEFILE_FORCE_PLATFORM=win32
48365 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
48367 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
48368 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
48369 if test "${wx_cv_gcc_pch_bug+set}" = set; then
48370 echo $ECHO_N "(cached) $ECHO_C" >&6
48373 echo '#include <stdio.h>
48374 const wchar_t test_var[] = L"awidetest";' > conftest.h
48376 echo '#include "conftest.h"
48379 printf("%ls", test_var);
48383 wx_cv_gcc_pch_bug="pch not supported"
48385 if $CXX conftest.h >/dev/null 2>&1
48389 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48391 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48392 grep awidetest >/dev/null
48394 wx_cv_gcc_pch_bug=no
48396 wx_cv_gcc_pch_bug=yes
48401 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48404 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48405 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
48407 if test "$wx_cv_gcc_pch_bug" = yes; then
48418 if test "x$BAKEFILE_HOST" = "x"; then
48419 if test "x${host}" = "x" ; then
48420 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48421 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48422 { (exit 1); exit 1; }; }
48425 BAKEFILE_HOST="${host}"
48428 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48430 if test -n "$ac_tool_prefix"; then
48431 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48432 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48433 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48435 if test "${ac_cv_prog_RANLIB+set}" = set; then
48436 echo $ECHO_N "(cached) $ECHO_C" >&6
48438 if test -n "$RANLIB"; then
48439 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48442 for as_dir in $PATH
48445 test -z "$as_dir" && as_dir=.
48446 for ac_exec_ext in '' $ac_executable_extensions; do
48447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48448 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48458 RANLIB=$ac_cv_prog_RANLIB
48459 if test -n "$RANLIB"; then
48460 { echo "$as_me:$LINENO: result: $RANLIB" >&5
48461 echo "${ECHO_T}$RANLIB" >&6; }
48463 { echo "$as_me:$LINENO: result: no" >&5
48464 echo "${ECHO_T}no" >&6; }
48469 if test -z "$ac_cv_prog_RANLIB"; then
48470 ac_ct_RANLIB=$RANLIB
48471 # Extract the first word of "ranlib", so it can be a program name with args.
48472 set dummy ranlib; ac_word=$2
48473 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48475 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48476 echo $ECHO_N "(cached) $ECHO_C" >&6
48478 if test -n "$ac_ct_RANLIB"; then
48479 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
48481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48482 for as_dir in $PATH
48485 test -z "$as_dir" && as_dir=.
48486 for ac_exec_ext in '' $ac_executable_extensions; do
48487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48488 ac_cv_prog_ac_ct_RANLIB="ranlib"
48489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48498 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
48499 if test -n "$ac_ct_RANLIB"; then
48500 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48501 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
48503 { echo "$as_me:$LINENO: result: no" >&5
48504 echo "${ECHO_T}no" >&6; }
48507 if test "x$ac_ct_RANLIB" = x; then
48510 case $cross_compiling:$ac_tool_warned in
48512 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48513 whose name does not start with the host triplet. If you think this
48514 configuration is useful to you, please write to autoconf@gnu.org." >&5
48515 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48516 whose name does not start with the host triplet. If you think this
48517 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48518 ac_tool_warned=yes ;;
48520 RANLIB=$ac_ct_RANLIB
48523 RANLIB="$ac_cv_prog_RANLIB"
48526 # Find a good install program. We prefer a C program (faster),
48527 # so one script is as good as another. But avoid the broken or
48528 # incompatible versions:
48529 # SysV /etc/install, /usr/sbin/install
48530 # SunOS /usr/etc/install
48531 # IRIX /sbin/install
48533 # AmigaOS /C/install, which installs bootblocks on floppy discs
48534 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
48535 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
48536 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
48537 # OS/2's system install, which has a completely different semantic
48538 # ./install, which can be erroneously created by make from ./install.sh.
48539 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48540 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
48541 if test -z "$INSTALL"; then
48542 if test "${ac_cv_path_install+set}" = set; then
48543 echo $ECHO_N "(cached) $ECHO_C" >&6
48545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48546 for as_dir in $PATH
48549 test -z "$as_dir" && as_dir=.
48550 # Account for people who put trailing slashes in PATH elements.
48552 ./ | .// | /cC/* | \
48553 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
48554 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
48557 # OSF1 and SCO ODT 3.0 have their own names for install.
48558 # Don't use installbsd from OSF since it installs stuff as root
48560 for ac_prog in ginstall scoinst install; do
48561 for ac_exec_ext in '' $ac_executable_extensions; do
48562 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
48563 if test $ac_prog = install &&
48564 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48565 # AIX install. It has an incompatible calling convention.
48567 elif test $ac_prog = install &&
48568 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48569 # program-specific install script used by HP pwplus--don't use.
48572 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
48585 if test "${ac_cv_path_install+set}" = set; then
48586 INSTALL=$ac_cv_path_install
48588 # As a last resort, use the slow shell script. Don't cache a
48589 # value for INSTALL within a source directory, because that will
48590 # break other packages using the cache if that directory is
48591 # removed, or if the value is a relative name.
48592 INSTALL=$ac_install_sh
48595 { echo "$as_me:$LINENO: result: $INSTALL" >&5
48596 echo "${ECHO_T}$INSTALL" >&6; }
48598 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
48599 # It thinks the first close brace ends the variable substitution.
48600 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
48602 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
48604 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
48606 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
48607 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
48609 if test "$LN_S" = "ln -s"; then
48610 { echo "$as_me:$LINENO: result: yes" >&5
48611 echo "${ECHO_T}yes" >&6; }
48613 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
48614 echo "${ECHO_T}no, using $LN_S" >&6; }
48618 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48619 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48620 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48621 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48622 echo $ECHO_N "(cached) $ECHO_C" >&6
48624 cat >conftest.make <<\_ACEOF
48627 @echo '@@@%%%=$(MAKE)=@@@%%%'
48629 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48630 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
48631 *@@@%%%=?*=@@@%%%*)
48632 eval ac_cv_prog_make_${ac_make}_set=yes;;
48634 eval ac_cv_prog_make_${ac_make}_set=no;;
48636 rm -f conftest.make
48638 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48639 { echo "$as_me:$LINENO: result: yes" >&5
48640 echo "${ECHO_T}yes" >&6; }
48643 { echo "$as_me:$LINENO: result: no" >&5
48644 echo "${ECHO_T}no" >&6; }
48645 SET_MAKE="MAKE=${MAKE-make}"
48650 if test "x$SUNCXX" = "xyes"; then
48652 AROPTIONS="-xar -o"
48654 elif test "x$SGICC" = "xyes"; then
48659 if test -n "$ac_tool_prefix"; then
48660 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
48661 set dummy ${ac_tool_prefix}ar; ac_word=$2
48662 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48664 if test "${ac_cv_prog_AR+set}" = set; then
48665 echo $ECHO_N "(cached) $ECHO_C" >&6
48667 if test -n "$AR"; then
48668 ac_cv_prog_AR="$AR" # Let the user override the test.
48670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48671 for as_dir in $PATH
48674 test -z "$as_dir" && as_dir=.
48675 for ac_exec_ext in '' $ac_executable_extensions; do
48676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48677 ac_cv_prog_AR="${ac_tool_prefix}ar"
48678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48688 if test -n "$AR"; then
48689 { echo "$as_me:$LINENO: result: $AR" >&5
48690 echo "${ECHO_T}$AR" >&6; }
48692 { echo "$as_me:$LINENO: result: no" >&5
48693 echo "${ECHO_T}no" >&6; }
48698 if test -z "$ac_cv_prog_AR"; then
48700 # Extract the first word of "ar", so it can be a program name with args.
48701 set dummy ar; ac_word=$2
48702 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48704 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48705 echo $ECHO_N "(cached) $ECHO_C" >&6
48707 if test -n "$ac_ct_AR"; then
48708 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
48710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48711 for as_dir in $PATH
48714 test -z "$as_dir" && as_dir=.
48715 for ac_exec_ext in '' $ac_executable_extensions; do
48716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48717 ac_cv_prog_ac_ct_AR="ar"
48718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48727 ac_ct_AR=$ac_cv_prog_ac_ct_AR
48728 if test -n "$ac_ct_AR"; then
48729 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48730 echo "${ECHO_T}$ac_ct_AR" >&6; }
48732 { echo "$as_me:$LINENO: result: no" >&5
48733 echo "${ECHO_T}no" >&6; }
48736 if test "x$ac_ct_AR" = x; then
48739 case $cross_compiling:$ac_tool_warned in
48741 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48742 whose name does not start with the host triplet. If you think this
48743 configuration is useful to you, please write to autoconf@gnu.org." >&5
48744 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48745 whose name does not start with the host triplet. If you think this
48746 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48747 ac_tool_warned=yes ;;
48752 AR="$ac_cv_prog_AR"
48759 if test -n "$ac_tool_prefix"; then
48760 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48761 set dummy ${ac_tool_prefix}strip; ac_word=$2
48762 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48764 if test "${ac_cv_prog_STRIP+set}" = set; then
48765 echo $ECHO_N "(cached) $ECHO_C" >&6
48767 if test -n "$STRIP"; then
48768 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
48770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48771 for as_dir in $PATH
48774 test -z "$as_dir" && as_dir=.
48775 for ac_exec_ext in '' $ac_executable_extensions; do
48776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48777 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
48778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48787 STRIP=$ac_cv_prog_STRIP
48788 if test -n "$STRIP"; then
48789 { echo "$as_me:$LINENO: result: $STRIP" >&5
48790 echo "${ECHO_T}$STRIP" >&6; }
48792 { echo "$as_me:$LINENO: result: no" >&5
48793 echo "${ECHO_T}no" >&6; }
48798 if test -z "$ac_cv_prog_STRIP"; then
48800 # Extract the first word of "strip", so it can be a program name with args.
48801 set dummy strip; ac_word=$2
48802 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48804 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48805 echo $ECHO_N "(cached) $ECHO_C" >&6
48807 if test -n "$ac_ct_STRIP"; then
48808 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48811 for as_dir in $PATH
48814 test -z "$as_dir" && as_dir=.
48815 for ac_exec_ext in '' $ac_executable_extensions; do
48816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48817 ac_cv_prog_ac_ct_STRIP="strip"
48818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48827 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48828 if test -n "$ac_ct_STRIP"; then
48829 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48830 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
48832 { echo "$as_me:$LINENO: result: no" >&5
48833 echo "${ECHO_T}no" >&6; }
48836 if test "x$ac_ct_STRIP" = x; then
48839 case $cross_compiling:$ac_tool_warned in
48841 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48842 whose name does not start with the host triplet. If you think this
48843 configuration is useful to you, please write to autoconf@gnu.org." >&5
48844 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48845 whose name does not start with the host triplet. If you think this
48846 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48847 ac_tool_warned=yes ;;
48852 STRIP="$ac_cv_prog_STRIP"
48855 if test -n "$ac_tool_prefix"; then
48856 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48857 set dummy ${ac_tool_prefix}nm; ac_word=$2
48858 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48860 if test "${ac_cv_prog_NM+set}" = set; then
48861 echo $ECHO_N "(cached) $ECHO_C" >&6
48863 if test -n "$NM"; then
48864 ac_cv_prog_NM="$NM" # Let the user override the test.
48866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48867 for as_dir in $PATH
48870 test -z "$as_dir" && as_dir=.
48871 for ac_exec_ext in '' $ac_executable_extensions; do
48872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48873 ac_cv_prog_NM="${ac_tool_prefix}nm"
48874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48884 if test -n "$NM"; then
48885 { echo "$as_me:$LINENO: result: $NM" >&5
48886 echo "${ECHO_T}$NM" >&6; }
48888 { echo "$as_me:$LINENO: result: no" >&5
48889 echo "${ECHO_T}no" >&6; }
48894 if test -z "$ac_cv_prog_NM"; then
48896 # Extract the first word of "nm", so it can be a program name with args.
48897 set dummy nm; ac_word=$2
48898 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48900 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48901 echo $ECHO_N "(cached) $ECHO_C" >&6
48903 if test -n "$ac_ct_NM"; then
48904 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48907 for as_dir in $PATH
48910 test -z "$as_dir" && as_dir=.
48911 for ac_exec_ext in '' $ac_executable_extensions; do
48912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48913 ac_cv_prog_ac_ct_NM="nm"
48914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48923 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48924 if test -n "$ac_ct_NM"; then
48925 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48926 echo "${ECHO_T}$ac_ct_NM" >&6; }
48928 { echo "$as_me:$LINENO: result: no" >&5
48929 echo "${ECHO_T}no" >&6; }
48932 if test "x$ac_ct_NM" = x; then
48935 case $cross_compiling:$ac_tool_warned in
48937 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48938 whose name does not start with the host triplet. If you think this
48939 configuration is useful to you, please write to autoconf@gnu.org." >&5
48940 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48941 whose name does not start with the host triplet. If you think this
48942 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48943 ac_tool_warned=yes ;;
48948 NM="$ac_cv_prog_NM"
48952 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48953 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48954 INSTALL_TEST_DIR=acbftest$$
48955 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48956 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48957 rmdir $INSTALL_TEST_DIR
48958 INSTALL_DIR='$(INSTALL) -d'
48959 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48960 echo "${ECHO_T}$INSTALL -d" >&6; }
48962 INSTALL_DIR="mkdir -p"
48963 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48964 echo "${ECHO_T}mkdir -p" >&6; }
48969 case ${BAKEFILE_HOST} in
48970 *-*-cygwin* | *-*-mingw32* )
48971 LDFLAGS_GUI="-mwindows"
48977 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48978 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48979 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48980 echo $ECHO_N "(cached) $ECHO_C" >&6
48983 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48984 egrep -s GNU > /dev/null); then
48985 bakefile_cv_prog_makeisgnu="yes"
48987 bakefile_cv_prog_makeisgnu="no"
48991 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48992 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48994 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49011 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49012 case "${BAKEFILE_HOST}" in
49019 *-pc-os2_emx | *-pc-os2-emx )
49029 powerpc-apple-macos* )
49038 case "$BAKEFILE_FORCE_PLATFORM" in
49059 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
49060 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
49061 { (exit 1); exit 1; }; }
49076 # Check whether --enable-omf was given.
49077 if test "${enable_omf+set}" = set; then
49078 enableval=$enable_omf; bk_os2_use_omf="$enableval"
49082 case "${BAKEFILE_HOST}" in
49084 if test "x$GCC" = "xyes"; then
49085 CFLAGS="$CFLAGS -fno-common"
49086 CXXFLAGS="$CXXFLAGS -fno-common"
49088 if test "x$XLCC" = "xyes"; then
49089 CFLAGS="$CFLAGS -qnocommon"
49090 CXXFLAGS="$CXXFLAGS -qnocommon"
49094 *-pc-os2_emx | *-pc-os2-emx )
49095 if test "x$bk_os2_use_omf" = "xyes" ; then
49098 LDFLAGS="-Zomf $LDFLAGS"
49099 CFLAGS="-Zomf $CFLAGS"
49100 CXXFLAGS="-Zomf $CXXFLAGS"
49108 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
49114 SO_SUFFIX_MODULE="so"
49119 DLLPREFIX_MODULE=""
49123 case "${BAKEFILE_HOST}" in
49128 SO_SUFFIX_MODULE="sl"
49132 SO_SUFFIX_MODULE="a"
49136 SO_SUFFIX_MODULE="dll"
49137 DLLIMP_SUFFIX="dll.a"
49144 SO_SUFFIX_MODULE="dll"
49145 DLLIMP_SUFFIX="dll.a"
49155 *-pc-os2_emx | *-pc-os2-emx )
49157 SO_SUFFIX_MODULE="dll"
49158 DLLIMP_SUFFIX=$OS2_LIBEXT
49162 LIBEXT=".$OS2_LIBEXT"
49167 SO_SUFFIX_MODULE="bundle"
49171 if test "x$DLLIMP_SUFFIX" = "x" ; then
49172 DLLIMP_SUFFIX="$SO_SUFFIX"
49187 if test "x$GCC" = "xyes"; then
49191 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49192 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49195 case "${BAKEFILE_HOST}" in
49197 if test "x$GCC" != "xyes"; then
49198 LDFLAGS="$LDFLAGS -L/usr/lib"
49200 SHARED_LD_CC="${CC} -b -o"
49201 SHARED_LD_CXX="${CXX} -b -o"
49207 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
49209 elif test "x$SUNCXX" = "xyes"; then
49210 SHARED_LD_CC="${CC} -G -o"
49211 SHARED_LD_CXX="${CXX} -G -o"
49217 if test "x$SUNCXX" = xyes ; then
49218 SHARED_LD_CC="${CC} -G -o"
49219 SHARED_LD_CXX="${CXX} -G -o"
49227 cat <<EOF >shared-ld-sh
49229 #-----------------------------------------------------------------------------
49230 #-- Name: distrib/mac/shared-ld-sh
49231 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49232 #-- Author: Gilles Depeyrot
49233 #-- Copyright: (c) 2002 Gilles Depeyrot
49234 #-- Licence: any use permitted
49235 #-----------------------------------------------------------------------------
49240 linking_flag="-dynamiclib"
49241 ldargs="-r -keep_private_externs -nostdlib"
49243 if test "x${D}CXX" = "x"; then
49247 while test ${D}# -gt 0; do
49254 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49255 # collect these options and values
49256 args="${D}{args} ${D}1 ${D}2"
49261 # collect these options and values
49262 ldargs="${D}{ldargs} ${D}1 ${D}2"
49267 # collect these load args
49268 ldargs="${D}{ldargs} ${D}1"
49271 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49272 # collect these options
49273 args="${D}{args} ${D}1"
49276 -dynamiclib|-bundle)
49277 linking_flag="${D}1"
49281 echo "shared-ld: unhandled option '${D}1'"
49285 *.o | *.a | *.dylib)
49286 # collect object files
49287 objects="${D}{objects} ${D}1"
49291 echo "shared-ld: unhandled argument '${D}1'"
49302 # Link one module containing all the others
49304 if test ${D}{verbose} = 1; then
49305 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49307 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49311 # Link the shared library from the single module created, but only if the
49312 # previous command didn't fail:
49314 if test ${D}{status} = 0; then
49315 if test ${D}{verbose} = 1; then
49316 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49318 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49323 # Remove intermediate module
49325 rm -f master.${D}${D}.o
49330 chmod +x shared-ld-sh
49332 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49333 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
49336 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49337 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
49338 if test "${bakefile_cv_gcc31+set}" = set; then
49339 echo $ECHO_N "(cached) $ECHO_C" >&6
49342 cat >conftest.$ac_ext <<_ACEOF
49345 cat confdefs.h >>conftest.$ac_ext
49346 cat >>conftest.$ac_ext <<_ACEOF
49347 /* end confdefs.h. */
49353 #if (__GNUC__ < 3) || \
49354 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49362 rm -f conftest.$ac_objext
49363 if { (ac_try="$ac_compile"
49364 case "(($ac_try" in
49365 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49366 *) ac_try_echo
=$ac_try;;
49368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49369 (eval "$ac_compile") 2>conftest.er1
49371 grep -v '^ *+' conftest.er1
>conftest.err
49373 cat conftest.err
>&5
49374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49375 (exit $ac_status); } && {
49376 test -z "$ac_c_werror_flag" ||
49377 test ! -s conftest.err
49378 } && test -s conftest.
$ac_objext; then
49380 bakefile_cv_gcc31
=yes
49383 echo "$as_me: failed program was:" >&5
49384 sed 's/^/| /' conftest.
$ac_ext >&5
49387 bakefile_cv_gcc31
=no
49392 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49395 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49396 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
49397 if test "$bakefile_cv_gcc31" = "no"; then
49398 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49399 SHARED_LD_CXX
="$SHARED_LD_CC"
49401 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49402 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49405 if test "x$GCC" == "xyes"; then
49406 PIC_FLAG
="-dynamic -fPIC"
49408 if test "x$XLCC" = "xyes"; then
49409 PIC_FLAG
="-dynamic -DPIC"
49414 if test "x$GCC" = "xyes"; then
49417 case "${BAKEFILE_HOST}" in
49419 LD_EXPFULL
="-Wl,-bexpfull"
49423 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
49424 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
49426 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49427 set dummy makeC
++SharedLib
; ac_word
=$2
49428 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49430 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49431 echo $ECHO_N "(cached) $ECHO_C" >&6
49433 if test -n "$AIX_CXX_LD"; then
49434 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
49436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49437 for as_dir
in $PATH
49440 test -z "$as_dir" && as_dir
=.
49441 for ac_exec_ext
in '' $ac_executable_extensions; do
49442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49443 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
49444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49451 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
49454 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
49455 if test -n "$AIX_CXX_LD"; then
49456 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49457 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
49459 { echo "$as_me:$LINENO: result: no" >&5
49460 echo "${ECHO_T}no" >&6; }
49464 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
49465 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
49470 SHARED_LD_CC
="${LD} -nostart -o"
49471 SHARED_LD_CXX
="${LD} -nostart -o"
49475 if test "x$GCC" != "xyes"; then
49480 *-*-cygwin* | *-*-mingw32* )
49482 SHARED_LD_CC
="\$(CC) -shared -o"
49483 SHARED_LD_CXX
="\$(CXX) -shared -o"
49487 *-pc-os2_emx | *-pc-os2-emx )
49488 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49489 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49493 cat <<EOF >dllar.sh
49496 # dllar - a tool to build both a .dll and an .a file
49497 # from a set of object (.o) files for EMX/OS2.
49499 # Written by Andrew Zabolotny, bit@freya.etu.ru
49500 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49502 # This script will accept a set of files on the command line.
49503 # All the public symbols from the .o files will be exported into
49504 # a .DEF file, then linker will be run (through gcc) against them to
49505 # build a shared library consisting of all given .o files. All libraries
49506 # (.a) will be first decompressed into component .o files then act as
49507 # described above. You can optionally give a description (-d "description")
49508 # which will be put into .DLL. To see the list of accepted options (as well
49509 # as command-line format) simply run this program without options. The .DLL
49510 # is built to be imported by name (there is no guarantee that new versions
49511 # of the library you build will have same ordinals for same symbols).
49513 # dllar is free software; you can redistribute it and/or modify
49514 # it under the terms of the GNU General Public License as published by
49515 # the Free Software Foundation; either version 2, or (at your option)
49516 # any later version.
49518 # dllar is distributed in the hope that it will be useful,
49519 # but WITHOUT ANY WARRANTY; without even the implied warranty of
49520 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49521 # GNU General Public License for more details.
49523 # You should have received a copy of the GNU General Public License
49524 # along with dllar; see the file COPYING. If not, write to the Free
49525 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
49528 # To successfuly run this program you will need:
49529 # - Current drive should have LFN support (HPFS, ext2, network, etc)
49530 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
49532 # (used to build the .dll)
49534 # (used to create .def file from .o files)
49536 # (used to create .a file from .def file)
49537 # - GNU text utilites (cat, sort, uniq)
49538 # used to process emxexp output
49539 # - GNU file utilities (mv, rm)
49541 # - lxlite (optional, see flag below)
49542 # (used for general .dll cleanup)
49549 # basnam, variant of basename, which does _not_ remove the path, _iff_
49550 # second argument (suffix to remove) is given
49554 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
49557 echo ${D}1 | sed 's/'${D}2'${D}//'
49560 echo "error in basnam ${D}*"
49566 # Cleanup temporary files and output
49569 for i in ${D}inputFiles ; do
49572 rm -rf \`basnam ${D}i !\`
49579 # Kill result in case of failure as there is just to many stupid make/nmake
49580 # things out there which doesn't do this.
49581 if [ ${D}# -eq 0 ]; then
49582 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
49586 # Print usage and exit script with rc=1.
49588 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
49589 echo ' [-name-mangler-script script.sh]'
49590 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
49591 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
49592 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
49593 echo ' [*.o] [*.a]'
49594 echo '*> "output_file" should have no extension.'
49595 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
49596 echo ' The import library name is derived from this and is set to "name".a,'
49597 echo ' unless overridden by -import'
49598 echo '*> "importlib_name" should have no extension.'
49599 echo ' If it has the .o, or .a extension, it is automatically removed.'
49600 echo ' This name is used as the import library name and may be longer and'
49601 echo ' more descriptive than the DLL name which has to follow the old '
49602 echo ' 8.3 convention of FAT.'
49603 echo '*> "script.sh may be given to override the output_file name by a'
49604 echo ' different name. It is mainly useful if the regular make process'
49605 echo ' of some package does not take into account OS/2 restriction of'
49606 echo ' DLL name lengths. It takes the importlib name as input and is'
49607 echo ' supposed to procude a shorter name as output. The script should'
49608 echo ' expect to get importlib_name without extension and should produce'
49609 echo ' a (max.) 8 letter name without extension.'
49610 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
49611 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
49612 echo ' These flags will be put at the start of GCC command line.'
49613 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
49614 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
49615 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
49616 echo ' If the last character of a symbol is "*", all symbols beginning'
49617 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
49618 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
49619 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
49620 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
49621 echo ' C runtime DLLs.'
49622 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
49623 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
49624 echo ' unchanged to GCC at the end of command line.'
49625 echo '*> If you create a DLL from a library and you do not specify -o,'
49626 echo ' the basename for DLL and import library will be set to library name,'
49627 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
49628 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
49629 echo ' library will be renamed into gcc_s.a.'
49632 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
49633 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
49638 # Execute a command.
49639 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
49640 # @Uses Whatever CleanUp() uses.
49646 if [ ${D}rcCmd -ne 0 ]; then
49647 echo "command failed, exit code="${D}rcCmd
49662 CFLAGS="-s -Zcrtdll"
49664 EXPORT_BY_ORDINALS=0
49669 case ${D}curDirS in
49673 curDirS=${D}{curDirS}"/"
49676 # Parse commandline
49679 while [ ${D}1 ]; do
49682 EXPORT_BY_ORDINALS=1;
49692 -name-mangler-script)
49713 exclude_symbols=${D}{exclude_symbols}${D}1" "
49717 library_flags=${D}{library_flags}${D}1" "
49736 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49739 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49740 if [ ${D}omfLinking -eq 1 ]; then
49741 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49743 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49748 if [ ${D}libsToLink -ne 0 ]; then
49749 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49751 for file in ${D}1 ; do
49752 if [ -f ${D}file ]; then
49753 inputFiles="${D}{inputFiles} ${D}file"
49757 if [ ${D}found -eq 0 ]; then
49758 echo "ERROR: No file(s) found: "${D}1
49765 done # iterate cmdline words
49768 if [ -z "${D}inputFiles" ]; then
49769 echo "dllar: no input files"
49773 # Now extract all .o files from .a files
49775 for file in ${D}inputFiles ; do
49786 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49791 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49793 if [ ${D}? -ne 0 ]; then
49794 echo "Failed to create subdirectory ./${D}dirname"
49798 # Append '!' to indicate archive
49799 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49800 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49803 for subfile in ${D}dirname/*.o* ; do
49804 if [ -f ${D}subfile ]; then
49806 if [ -s ${D}subfile ]; then
49807 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49808 newInputFiles="${D}newInputFiles ${D}subfile"
49812 if [ ${D}found -eq 0 ]; then
49813 echo "WARNING: there are no files in archive \\'${D}file\\'"
49817 newInputFiles="${D}{newInputFiles} ${D}file"
49821 inputFiles="${D}newInputFiles"
49823 # Output filename(s).
49825 if [ -z ${D}outFile ]; then
49827 set outFile ${D}inputFiles; outFile=${D}2
49830 # If it is an archive, remove the '!' and the '_%' suffixes
49831 case ${D}outFile in
49833 outFile=\`basnam ${D}outFile _%!\`
49838 case ${D}outFile in
49840 outFile=\`basnam ${D}outFile .dll\`
49843 outFile=\`basnam ${D}outFile .DLL\`
49846 outFile=\`basnam ${D}outFile .o\`
49849 outFile=\`basnam ${D}outFile .obj\`
49852 outFile=\`basnam ${D}outFile .a\`
49855 outFile=\`basnam ${D}outFile .lib\`
49860 case ${D}outimpFile in
49862 outimpFile=\`basnam ${D}outimpFile .a\`
49865 outimpFile=\`basnam ${D}outimpFile .lib\`
49870 if [ -z ${D}outimpFile ]; then
49871 outimpFile=${D}outFile
49873 defFile="${D}{outFile}.def"
49874 arcFile="${D}{outimpFile}.a"
49875 arcFile2="${D}{outimpFile}.lib"
49877 #create ${D}dllFile as something matching 8.3 restrictions,
49878 if [ -z ${D}renameScript ] ; then
49879 dllFile="${D}outFile"
49881 dllFile=\`${D}renameScript ${D}outimpFile\`
49884 if [ ${D}do_backup -ne 0 ] ; then
49885 if [ -f ${D}arcFile ] ; then
49886 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49888 if [ -f ${D}arcFile2 ] ; then
49889 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49893 # Extract public symbols from all the object files.
49894 tmpdefFile=${D}{defFile}_%
49895 rm -f ${D}tmpdefFile
49896 for file in ${D}inputFiles ; do
49901 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49906 # Create the def file.
49908 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49909 dllFile="${D}{dllFile}.dll"
49910 if [ ! -z ${D}description ]; then
49911 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49913 echo "EXPORTS" >> ${D}defFile
49915 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49916 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49918 # Checks if the export is ok or not.
49919 for word in ${D}exclude_symbols; do
49920 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49921 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49925 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49926 sed "=" < ${D}tmpdefFile | \\
49930 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49932 ' > ${D}{tmpdefFile}%
49933 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49935 rm -f ${D}{tmpdefFile}%
49937 cat ${D}tmpdefFile >> ${D}defFile
49938 rm -f ${D}tmpdefFile
49940 # Do linking, create implib, and apply lxlite.
49942 for file in ${D}inputFiles ; do
49947 gccCmdl="${D}gccCmdl ${D}file"
49951 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49952 touch "${D}{outFile}.dll"
49954 doCommand "emximp -o ${D}arcFile ${D}defFile"
49955 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49957 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49960 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49962 doCommand "emxomf -s -l ${D}arcFile"
49972 powerpc
-apple-macos* | \
49973 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
49983 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49984 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49985 { (exit 1); exit 1; }; }
49988 if test "x$PIC_FLAG" != "x" ; then
49989 PIC_FLAG
="$PIC_FLAG -DPIC"
49992 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49993 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
49995 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49996 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
50011 USE_SOTWOSYMLINKS
=0
50015 case "${BAKEFILE_HOST}" in
50016 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
50017 *-*-k*bsd
*-gnu | *-*-mirbsd* )
50018 if test "x$SUNCXX" = "xyes"; then
50021 SONAME_FLAG
="-Wl,-soname,"
50025 USE_SOTWOSYMLINKS
=1
50037 USE_SOTWOSYMLINKS
=1
50055 # Check whether --enable-dependency-tracking was given.
50056 if test "${enable_dependency_tracking+set}" = set; then
50057 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
50061 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50062 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50065 if test "x$bk_use_trackdeps" = "xno" ; then
50067 { echo "$as_me:$LINENO: result: disabled" >&5
50068 echo "${ECHO_T}disabled" >&6; }
50072 if test "x$GCC" = "xyes"; then
50074 case "${BAKEFILE_HOST}" in
50076 DEPSFLAG
="-no-cpp-precomp -MMD"
50082 { echo "$as_me:$LINENO: result: gcc" >&5
50083 echo "${ECHO_T}gcc" >&6; }
50084 elif test "x$MWCC" = "xyes"; then
50087 { echo "$as_me:$LINENO: result: mwcc" >&5
50088 echo "${ECHO_T}mwcc" >&6; }
50089 elif test "x$SUNCC" = "xyes"; then
50092 { echo "$as_me:$LINENO: result: Sun cc" >&5
50093 echo "${ECHO_T}Sun cc" >&6; }
50094 elif test "x$SGICC" = "xyes"; then
50097 { echo "$as_me:$LINENO: result: SGI cc" >&5
50098 echo "${ECHO_T}SGI cc" >&6; }
50099 elif test "x$HPCC" = "xyes"; then
50102 { echo "$as_me:$LINENO: result: HP cc" >&5
50103 echo "${ECHO_T}HP cc" >&6; }
50104 elif test "x$COMPAQCC" = "xyes"; then
50107 { echo "$as_me:$LINENO: result: Compaq cc" >&5
50108 echo "${ECHO_T}Compaq cc" >&6; }
50111 { echo "$as_me:$LINENO: result: none" >&5
50112 echo "${ECHO_T}none" >&6; }
50115 if test $DEPS_TRACKING = 1 ; then
50121 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50122 # script. It is used to track C/C++ files dependencies in portable way.
50124 # Permission is given to use this file in any way.
50126 DEPSMODE=${DEPSMODE}
50127 DEPSFLAG="${DEPSFLAG}"
50130 if test ${D}DEPSMODE = gcc ; then
50131 ${D}* ${D}{DEPSFLAG}
50134 # determine location of created files:
50135 while test ${D}# -gt 0; do
50149 objfilebase=\`basename ${D}objfile\`
50150 builddir=\`dirname ${D}objfile\`
50151 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50152 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50153 depsdir=${D}builddir/${D}DEPSDIRBASE
50154 mkdir -p ${D}depsdir
50156 # if the compiler failed, we're done:
50157 if test ${D}{status} != 0 ; then
50162 # move created file to the location we want it in:
50163 if test -f ${D}depfile ; then
50164 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50167 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50168 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
50169 if test ! -f ${D}depfile ; then
50170 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50171 depfile="${D}objfile.d"
50173 if test -f ${D}depfile ; then
50174 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50180 elif test ${D}DEPSMODE = mwcc ; then
50181 ${D}* || exit ${D}?
50182 # Run mwcc again with -MM and redirect into the dep file we want
50183 # NOTE: We can't use shift here because we need ${D}* to be valid
50185 for arg in ${D}* ; do
50186 if test "${D}prevarg" = "-o"; then
50200 objfilebase=\`basename ${D}objfile\`
50201 builddir=\`dirname ${D}objfile\`
50202 depsdir=${D}builddir/${D}DEPSDIRBASE
50203 mkdir -p ${D}depsdir
50205 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
50208 elif test ${D}DEPSMODE = unixcc; then
50209 ${D}* || exit ${D}?
50210 # Run compiler again with deps flag and redirect into the dep file.
50211 # It doesn't work if the '-o FILE' option is used, but without it the
50212 # dependency file will contain the wrong name for the object. So it is
50213 # removed from the command line, and the dep file is fixed with sed.
50215 while test ${D}# -gt 0; do
50222 eval arg${D}#=\\${D}1
50223 cmd="${D}cmd \\${D}arg${D}#"
50229 objfilebase=\`basename ${D}objfile\`
50230 builddir=\`dirname ${D}objfile\`
50231 depsdir=${D}builddir/${D}DEPSDIRBASE
50232 mkdir -p ${D}depsdir
50234 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
50244 BK_DEPS
="`pwd`/bk-deps"
50252 case ${BAKEFILE_HOST} in
50253 *-*-cygwin* | *-*-mingw32* )
50254 if test -n "$ac_tool_prefix"; then
50255 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50256 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
50257 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50259 if test "${ac_cv_prog_WINDRES+set}" = set; then
50260 echo $ECHO_N "(cached) $ECHO_C" >&6
50262 if test -n "$WINDRES"; then
50263 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
50265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50266 for as_dir
in $PATH
50269 test -z "$as_dir" && as_dir
=.
50270 for ac_exec_ext
in '' $ac_executable_extensions; do
50271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50272 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
50273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50282 WINDRES
=$ac_cv_prog_WINDRES
50283 if test -n "$WINDRES"; then
50284 { echo "$as_me:$LINENO: result: $WINDRES" >&5
50285 echo "${ECHO_T}$WINDRES" >&6; }
50287 { echo "$as_me:$LINENO: result: no" >&5
50288 echo "${ECHO_T}no" >&6; }
50293 if test -z "$ac_cv_prog_WINDRES"; then
50294 ac_ct_WINDRES
=$WINDRES
50295 # Extract the first word of "windres", so it can be a program name with args.
50296 set dummy windres
; ac_word
=$2
50297 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50299 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50300 echo $ECHO_N "(cached) $ECHO_C" >&6
50302 if test -n "$ac_ct_WINDRES"; then
50303 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
50305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50306 for as_dir
in $PATH
50309 test -z "$as_dir" && as_dir
=.
50310 for ac_exec_ext
in '' $ac_executable_extensions; do
50311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50312 ac_cv_prog_ac_ct_WINDRES
="windres"
50313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50322 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
50323 if test -n "$ac_ct_WINDRES"; then
50324 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50325 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
50327 { echo "$as_me:$LINENO: result: no" >&5
50328 echo "${ECHO_T}no" >&6; }
50331 if test "x$ac_ct_WINDRES" = x
; then
50334 case $cross_compiling:$ac_tool_warned in
50336 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50337 whose name does not start with the host triplet. If you think this
50338 configuration is useful to you, please write to autoconf@gnu.org." >&5
50339 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50340 whose name does not start with the host triplet. If you think this
50341 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50342 ac_tool_warned
=yes ;;
50344 WINDRES
=$ac_ct_WINDRES
50347 WINDRES
="$ac_cv_prog_WINDRES"
50352 *-*-darwin* | powerpc
-apple-macos* )
50353 # Extract the first word of "Rez", so it can be a program name with args.
50354 set dummy Rez
; ac_word
=$2
50355 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50357 if test "${ac_cv_prog_REZ+set}" = set; then
50358 echo $ECHO_N "(cached) $ECHO_C" >&6
50360 if test -n "$REZ"; then
50361 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
50363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50364 for as_dir
in $PATH
50367 test -z "$as_dir" && as_dir
=.
50368 for ac_exec_ext
in '' $ac_executable_extensions; do
50369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50370 ac_cv_prog_REZ
="Rez"
50371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50378 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
50381 REZ
=$ac_cv_prog_REZ
50382 if test -n "$REZ"; then
50383 { echo "$as_me:$LINENO: result: $REZ" >&5
50384 echo "${ECHO_T}$REZ" >&6; }
50386 { echo "$as_me:$LINENO: result: no" >&5
50387 echo "${ECHO_T}no" >&6; }
50391 # Extract the first word of "SetFile", so it can be a program name with args.
50392 set dummy SetFile
; ac_word
=$2
50393 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50395 if test "${ac_cv_prog_SETFILE+set}" = set; then
50396 echo $ECHO_N "(cached) $ECHO_C" >&6
50398 if test -n "$SETFILE"; then
50399 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
50401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50402 for as_dir
in $PATH
50405 test -z "$as_dir" && as_dir
=.
50406 for ac_exec_ext
in '' $ac_executable_extensions; do
50407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50408 ac_cv_prog_SETFILE
="SetFile"
50409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50416 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
50419 SETFILE
=$ac_cv_prog_SETFILE
50420 if test -n "$SETFILE"; then
50421 { echo "$as_me:$LINENO: result: $SETFILE" >&5
50422 echo "${ECHO_T}$SETFILE" >&6; }
50424 { echo "$as_me:$LINENO: result: no" >&5
50425 echo "${ECHO_T}no" >&6; }
50440 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.8"
50443 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.8"
50447 # Check whether --enable-precomp-headers was given.
50448 if test "${enable_precomp_headers+set}" = set; then
50449 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
50458 case ${BAKEFILE_HOST} in
50464 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50465 if test "x$GCC" = "xyes"; then
50466 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50467 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
50468 cat >conftest.
$ac_ext <<_ACEOF
50471 cat confdefs.h
>>conftest.
$ac_ext
50472 cat >>conftest.
$ac_ext <<_ACEOF
50473 /* end confdefs.h. */
50479 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50480 There is no PCH support
50483 There is no PCH support
50485 #if (__GNUC__ == 3) && \
50486 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50487 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50488 ( defined(__INTEL_COMPILER) )
50489 There is no PCH support
50496 rm -f conftest.
$ac_objext
50497 if { (ac_try
="$ac_compile"
50498 case "(($ac_try" in
50499 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50500 *) ac_try_echo=$ac_try;;
50502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50503 (eval "$ac_compile") 2>conftest.er1
50505 grep -v '^ *+' conftest.er1 >conftest.err
50507 cat conftest.err >&5
50508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50509 (exit $ac_status); } && {
50510 test -z "$ac_c_werror_flag" ||
50511 test ! -s conftest.err
50512 } && test -s conftest.$ac_objext; then
50514 { echo "$as_me:$LINENO: result: yes" >&5
50515 echo "${ECHO_T}yes" >&6; }
50519 echo "$as_me: failed program was:" >&5
50520 sed 's/^/| /' conftest.$ac_ext >&5
50523 if test "$INTELCXX8" = "yes"; then
50524 { echo "$as_me:$LINENO: result: yes" >&5
50525 echo "${ECHO_T}yes" >&6; }
50527 if test "$INTELCXX10" = "yes"; then
50528 ICC_PCH_CREATE_SWITCH="-pch-create"
50529 ICC_PCH_USE_SWITCH="-pch-use"
50531 ICC_PCH_CREATE_SWITCH="-create-pch"
50532 ICC_PCH_USE_SWITCH="-use-pch"
50535 { echo "$as_me:$LINENO: result: no" >&5
50536 echo "${ECHO_T}no" >&6; }
50541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50542 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
50546 cat <<EOF >bk-make-pch
50549 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50550 # script. It is used to generated precompiled headers.
50552 # Permission is given to use this file in any way.
50559 builddir=\`echo ${D}outfile
| sed -e 's,/\\.pch/.*${D},,g'\
`
50564 while test ${D}{#} -gt 0; do
50568 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
50569 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
50570 headerfile="${D}{incdir}/${D}{header}"
50573 -use-pch|-use_pch|-pch-use )
50578 if test ${D}add_to_cmdline = 1 ; then
50579 compiler="${D}{compiler} ${D}{1}"
50584 if test "x${D}{headerfile}" = "x" ; then
50585 echo "error: can't find header ${D}{header} in include paths" >&2
50587 if test -f ${D}{outfile} ; then
50588 rm -f ${D}{outfile}
50590 mkdir -p \`dirname ${D}{outfile
}\
`
50592 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
50593 mkdir -p ${D}{builddir}/.deps
50594 if test "x${GCC_PCH}" = "x1" ; then
50595 # can do this because gcc is >= 3.4:
50596 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
50597 elif test "x${ICC_PCH}" = "x1" ; then
50598 filename=pch_gen-${D}${D}
50599 file=${D}{filename}.c
50600 dfile=${D}{filename}.d
50601 cat > ${D}file <<EOT
50602 #include "${D}header"
50604 # using -MF icc complains about differing command lines in creation/use
50605 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
50606 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
50607 rm -f ${D}file ${D}dfile ${D}{filename}.o
50613 chmod +x bk-make-pch
50614 BK_MAKE_PCH="`pwd`/bk-make-pch"
50625 COND_BUILD_DEBUG="#"
50626 if test "x$BUILD" = "xdebug" ; then
50627 COND_BUILD_DEBUG=""
50630 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
50631 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50632 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
50635 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
50636 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50637 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
50640 COND_BUILD_DEBUG_UNICODE_0="#"
50641 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50642 COND_BUILD_DEBUG_UNICODE_0=""
50645 COND_BUILD_DEBUG_UNICODE_1="#"
50646 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50647 COND_BUILD_DEBUG_UNICODE_1=""
50650 COND_BUILD_RELEASE="#"
50651 if test "x$BUILD" = "xrelease" ; then
50652 COND_BUILD_RELEASE=""
50655 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
50656 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50657 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
50660 COND_BUILD_RELEASE_UNICODE_0="#"
50661 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50662 COND_BUILD_RELEASE_UNICODE_0=""
50665 COND_BUILD_RELEASE_UNICODE_1="#"
50666 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50667 COND_BUILD_RELEASE_UNICODE_1=""
50670 COND_BUILD_debug="#"
50671 if test "x$BUILD" = "xdebug" ; then
50672 COND_BUILD_debug=""
50675 COND_BUILD_debug_DEBUG_FLAG_default="#"
50676 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50677 COND_BUILD_debug_DEBUG_FLAG_default=""
50680 COND_BUILD_debug_DEBUG_INFO_default="#"
50681 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50682 COND_BUILD_debug_DEBUG_INFO_default=""
50685 COND_BUILD_debug_UNICODE_0="#"
50686 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50687 COND_BUILD_debug_UNICODE_0=""
50690 COND_BUILD_debug_UNICODE_1="#"
50691 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50692 COND_BUILD_debug_UNICODE_1=""
50695 COND_BUILD_release="#"
50696 if test "x$BUILD" = "xrelease" ; then
50697 COND_BUILD_release=""
50700 COND_BUILD_release_DEBUG_INFO_default="#"
50701 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50702 COND_BUILD_release_DEBUG_INFO_default=""
50705 COND_BUILD_release_UNICODE_0="#"
50706 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50707 COND_BUILD_release_UNICODE_0=""
50710 COND_BUILD_release_UNICODE_1="#"
50711 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50712 COND_BUILD_release_UNICODE_1=""
50715 COND_DEBUG_FLAG_0="#"
50716 if test "x$DEBUG_FLAG" = "x0" ; then
50717 COND_DEBUG_FLAG_0=""
50720 COND_DEBUG_FLAG_1="#"
50721 if test "x$DEBUG_FLAG" = "x1" ; then
50722 COND_DEBUG_FLAG_1=""
50725 COND_DEBUG_INFO_0="#"
50726 if test "x$DEBUG_INFO" = "x0" ; then
50727 COND_DEBUG_INFO_0=""
50730 COND_DEBUG_INFO_1="#"
50731 if test "x$DEBUG_INFO" = "x1" ; then
50732 COND_DEBUG_INFO_1=""
50735 COND_DEPS_TRACKING_0="#"
50736 if test "x$DEPS_TRACKING" = "x0" ; then
50737 COND_DEPS_TRACKING_0=""
50740 COND_DEPS_TRACKING_1="#"
50741 if test "x$DEPS_TRACKING" = "x1" ; then
50742 COND_DEPS_TRACKING_1=""
50746 if test "x$GCC_PCH" = "x1" ; then
50751 if test "x$ICC_PCH" = "x1" ; then
50755 COND_MONOLITHIC_0="#"
50756 if test "x$MONOLITHIC" = "x0" ; then
50757 COND_MONOLITHIC_0=""
50760 COND_MONOLITHIC_0_SHARED_0="#"
50761 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50762 COND_MONOLITHIC_0_SHARED_0=""
50765 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
50766 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50767 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
50770 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
50771 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50772 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
50775 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
50776 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50777 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
50780 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
50781 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50782 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
50785 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
50786 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50787 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50790 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
50791 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50792 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
50795 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
50796 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50797 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
50800 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50801 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50802 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50805 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
50806 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50807 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
50810 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50811 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50812 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50815 COND_MONOLITHIC_0_SHARED_1="#"
50816 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50817 COND_MONOLITHIC_0_SHARED_1=""
50820 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50821 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50822 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50825 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50826 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50827 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50830 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50831 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50832 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50835 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50836 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50837 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50841 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50845 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
50846 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
50847 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
50850 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
50851 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
50852 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
50855 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50856 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50857 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50860 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
50861 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
50862 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
50865 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50866 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50867 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50870 COND_MONOLITHIC_0_USE_AUI_1="#"
50871 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
50872 COND_MONOLITHIC_0_USE_AUI_1=""
50875 COND_MONOLITHIC_0_USE_GUI_1="#"
50876 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
50877 COND_MONOLITHIC_0_USE_GUI_1=""
50880 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
50881 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50882 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
50885 COND_MONOLITHIC_0_USE_HTML_1="#"
50886 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
50887 COND_MONOLITHIC_0_USE_HTML_1=""
50890 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50891 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50892 COND_MONOLITHIC_0_USE_MEDIA_1=""
50895 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
50896 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50897 COND_MONOLITHIC_0_USE_PROPGRID_1=""
50900 COND_MONOLITHIC_0_USE_QA_1="#"
50901 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50902 COND_MONOLITHIC_0_USE_QA_1=""
50905 COND_MONOLITHIC_0_USE_RIBBON_1="#"
50906 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50907 COND_MONOLITHIC_0_USE_RIBBON_1=""
50910 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
50911 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50912 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
50915 COND_MONOLITHIC_0_USE_STC_1="#"
50916 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50917 COND_MONOLITHIC_0_USE_STC_1=""
50920 COND_MONOLITHIC_0_USE_XRC_1="#"
50921 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50922 COND_MONOLITHIC_0_USE_XRC_1=""
50925 COND_MONOLITHIC_1="#"
50926 if test "x$MONOLITHIC" = "x1" ; then
50927 COND_MONOLITHIC_1=""
50930 COND_MONOLITHIC_1_SHARED_0="#"
50931 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50932 COND_MONOLITHIC_1_SHARED_0=""
50935 COND_MONOLITHIC_1_SHARED_1="#"
50936 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50937 COND_MONOLITHIC_1_SHARED_1=""
50940 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50941 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50942 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50945 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50946 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50947 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50950 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50951 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50952 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50955 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50956 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50957 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50960 COND_PLATFORM_MACOSX_1="#"
50961 if test "x$PLATFORM_MACOSX" = "x1" ; then
50962 COND_PLATFORM_MACOSX_1=""
50965 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
50966 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50967 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50970 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
50971 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
50972 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
50975 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50976 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50977 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50980 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50981 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50982 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50985 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50986 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50987 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50990 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50991 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50992 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50995 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
50996 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
50997 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51000 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51001 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51002 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51005 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51006 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51007 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51010 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
51011 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51012 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
51015 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51016 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51017 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51020 COND_PLATFORM_MACOS_1="#"
51021 if test "x$PLATFORM_MACOS" = "x1" ; then
51022 COND_PLATFORM_MACOS_1=""
51025 COND_PLATFORM_MAC_0="#"
51026 if test "x$PLATFORM_MAC" = "x0" ; then
51027 COND_PLATFORM_MAC_0=""
51030 COND_PLATFORM_MAC_1="#"
51031 if test "x$PLATFORM_MAC" = "x1" ; then
51032 COND_PLATFORM_MAC_1=""
51035 COND_PLATFORM_MSDOS_0="#"
51036 if test "x$PLATFORM_MSDOS" = "x0" ; then
51037 COND_PLATFORM_MSDOS_0=""
51040 COND_PLATFORM_MSDOS_1="#"
51041 if test "x$PLATFORM_MSDOS" = "x1" ; then
51042 COND_PLATFORM_MSDOS_1=""
51045 COND_PLATFORM_OS2_1="#"
51046 if test "x$PLATFORM_OS2" = "x1" ; then
51047 COND_PLATFORM_OS2_1=""
51050 COND_PLATFORM_UNIX_0="#"
51051 if test "x$PLATFORM_UNIX" = "x0" ; then
51052 COND_PLATFORM_UNIX_0=""
51055 COND_PLATFORM_UNIX_1="#"
51056 if test "x$PLATFORM_UNIX" = "x1" ; then
51057 COND_PLATFORM_UNIX_1=""
51060 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51061 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51062 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51065 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51066 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51067 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51070 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51071 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51072 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51075 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51076 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51077 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51080 COND_PLATFORM_WIN32_0="#"
51081 if test "x$PLATFORM_WIN32" = "x0" ; then
51082 COND_PLATFORM_WIN32_0=""
51085 COND_PLATFORM_WIN32_1="#"
51086 if test "x$PLATFORM_WIN32" = "x1" ; then
51087 COND_PLATFORM_WIN32_1=""
51090 COND_PLATFORM_WIN32_1_SHARED_0="#"
51091 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51092 COND_PLATFORM_WIN32_1_SHARED_0=""
51096 if test "x$SHARED" = "x0" ; then
51100 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51101 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51102 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51105 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51106 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51107 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51110 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51111 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51112 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51115 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51116 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51117 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51120 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51121 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51122 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51125 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51126 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51127 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51130 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51131 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51132 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51135 COND_SHARED_0_USE_STC_1="#"
51136 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51137 COND_SHARED_0_USE_STC_1=""
51140 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
51141 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51142 COND_SHARED_0_wxUSE_EXPAT_builtin=""
51145 COND_SHARED_0_wxUSE_REGEX_builtin="#"
51146 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51147 COND_SHARED_0_wxUSE_REGEX_builtin=""
51150 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
51151 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51152 COND_SHARED_0_wxUSE_ZLIB_builtin=""
51156 if test "x$SHARED" = "x1" ; then
51160 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51161 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51162 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51166 if test "x$TOOLKIT" = "x" ; then
51170 COND_TOOLKIT_COCOA="#"
51171 if test "x$TOOLKIT" = "xCOCOA" ; then
51172 COND_TOOLKIT_COCOA=""
51175 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51176 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51177 COND_TOOLKIT_COCOA_USE_GUI_1=""
51180 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
51181 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51182 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
51185 COND_TOOLKIT_DFB="#"
51186 if test "x$TOOLKIT" = "xDFB" ; then
51187 COND_TOOLKIT_DFB=""
51190 COND_TOOLKIT_DFB_USE_GUI_1="#"
51191 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51192 COND_TOOLKIT_DFB_USE_GUI_1=""
51195 COND_TOOLKIT_GTK="#"
51196 if test "x$TOOLKIT" = "xGTK" ; then
51197 COND_TOOLKIT_GTK=""
51200 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51201 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51202 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
51205 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
51206 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51207 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
51210 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
51211 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51212 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
51215 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
51216 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51217 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
51220 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51221 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51222 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51225 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51226 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51227 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51230 COND_TOOLKIT_GTK_USE_GUI_1="#"
51231 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51232 COND_TOOLKIT_GTK_USE_GUI_1=""
51235 COND_TOOLKIT_MAC="#"
51236 if test "x$TOOLKIT" = "xMAC" ; then
51237 COND_TOOLKIT_MAC=""
51240 COND_TOOLKIT_MGL="#"
51241 if test "x$TOOLKIT" = "xMGL" ; then
51242 COND_TOOLKIT_MGL=""
51245 COND_TOOLKIT_MGL_USE_GUI_1="#"
51246 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51247 COND_TOOLKIT_MGL_USE_GUI_1=""
51250 COND_TOOLKIT_MOTIF="#"
51251 if test "x$TOOLKIT" = "xMOTIF" ; then
51252 COND_TOOLKIT_MOTIF=""
51255 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
51256 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51257 COND_TOOLKIT_MOTIF_USE_GUI_1=""
51260 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
51261 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51262 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
51265 COND_TOOLKIT_MSW="#"
51266 if test "x$TOOLKIT" = "xMSW" ; then
51267 COND_TOOLKIT_MSW=""
51270 COND_TOOLKIT_MSW_USE_GUI_1="#"
51271 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51272 COND_TOOLKIT_MSW_USE_GUI_1=""
51275 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
51276 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51277 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
51280 COND_TOOLKIT_MSW_WXUNIV_0="#"
51281 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51282 COND_TOOLKIT_MSW_WXUNIV_0=""
51285 COND_TOOLKIT_OSX_CARBON="#"
51286 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
51287 COND_TOOLKIT_OSX_CARBON=""
51290 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51291 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51292 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51295 COND_TOOLKIT_OSX_COCOA="#"
51296 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
51297 COND_TOOLKIT_OSX_COCOA=""
51300 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51301 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51302 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51305 COND_TOOLKIT_OSX_IPHONE="#"
51306 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
51307 COND_TOOLKIT_OSX_IPHONE=""
51310 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51311 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51312 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51315 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51316 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51317 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51320 COND_TOOLKIT_PM="#"
51321 if test "x$TOOLKIT" = "xPM" ; then
51325 COND_TOOLKIT_PM_USE_GUI_1="#"
51326 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51327 COND_TOOLKIT_PM_USE_GUI_1=""
51330 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51331 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51332 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51335 COND_TOOLKIT_WINCE="#"
51336 if test "x$TOOLKIT" = "xWINCE" ; then
51337 COND_TOOLKIT_WINCE=""
51340 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51341 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51342 COND_TOOLKIT_WINCE_USE_GUI_1=""
51345 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51346 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51347 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51350 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51351 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51352 COND_TOOLKIT_WINCE_WXUNIV_0=""
51355 COND_TOOLKIT_X11="#"
51356 if test "x$TOOLKIT" = "xX11" ; then
51357 COND_TOOLKIT_X11=""
51360 COND_TOOLKIT_X11_USE_GUI_1="#"
51361 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51362 COND_TOOLKIT_X11_USE_GUI_1=""
51366 if test "x$UNICODE" = "x1" ; then
51370 COND_USE_CAIRO_1="#"
51371 if test "x$USE_CAIRO" = "x1" ; then
51372 COND_USE_CAIRO_1=""
51375 COND_USE_EXCEPTIONS_0="#"
51376 if test "x$USE_EXCEPTIONS" = "x0" ; then
51377 COND_USE_EXCEPTIONS_0=""
51380 COND_USE_EXCEPTIONS_1="#"
51381 if test "x$USE_EXCEPTIONS" = "x1" ; then
51382 COND_USE_EXCEPTIONS_1=""
51386 if test "x$USE_GUI" = "x0" ; then
51391 if test "x$USE_GUI" = "x1" ; then
51395 COND_USE_GUI_1_USE_OPENGL_1="#"
51396 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51397 COND_USE_GUI_1_USE_OPENGL_1=""
51400 COND_USE_GUI_1_WXUNIV_0="#"
51401 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51402 COND_USE_GUI_1_WXUNIV_0=""
51405 COND_USE_GUI_1_WXUNIV_1="#"
51406 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51407 COND_USE_GUI_1_WXUNIV_1=""
51410 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51411 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51412 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51415 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51416 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51417 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51420 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51421 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51422 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51425 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51426 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51427 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51430 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51431 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51432 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51435 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51436 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51437 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51440 COND_USE_OPENGL_1="#"
51441 if test "x$USE_OPENGL" = "x1" ; then
51442 COND_USE_OPENGL_1=""
51446 if test "x$USE_PCH" = "x1" ; then
51450 COND_USE_PLUGINS_0="#"
51451 if test "x$USE_PLUGINS" = "x0" ; then
51452 COND_USE_PLUGINS_0=""
51455 COND_USE_RTTI_0="#"
51456 if test "x$USE_RTTI" = "x0" ; then
51460 COND_USE_RTTI_1="#"
51461 if test "x$USE_RTTI" = "x1" ; then
51465 COND_USE_SOTWOSYMLINKS_1="#"
51466 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
51467 COND_USE_SOTWOSYMLINKS_1=""
51470 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
51471 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51472 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
51475 COND_USE_SOVERLINUX_1="#"
51476 if test "x$USE_SOVERLINUX" = "x1" ; then
51477 COND_USE_SOVERLINUX_1=""
51480 COND_USE_SOVERSION_0="#"
51481 if test "x$USE_SOVERSION" = "x0" ; then
51482 COND_USE_SOVERSION_0=""
51485 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
51486 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
51487 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
51490 COND_USE_SOVERSOLARIS_1="#"
51491 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51492 COND_USE_SOVERSOLARIS_1=""
51496 if test "x$USE_STC" = "x1" ; then
51500 COND_USE_THREADS_0="#"
51501 if test "x$USE_THREADS" = "x0" ; then
51502 COND_USE_THREADS_0=""
51505 COND_USE_THREADS_1="#"
51506 if test "x$USE_THREADS" = "x1" ; then
51507 COND_USE_THREADS_1=""
51511 if test "x$USE_XRC" = "x1" ; then
51515 COND_WINDOWS_IMPLIB_1="#"
51516 if test "x$WINDOWS_IMPLIB" = "x1" ; then
51517 COND_WINDOWS_IMPLIB_1=""
51520 COND_WITH_PLUGIN_SDL_1="#"
51521 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
51522 COND_WITH_PLUGIN_SDL_1=""
51526 if test "x$WXUNIV" = "x0" ; then
51531 if test "x$WXUNIV" = "x1" ; then
51535 COND_WXUSE_EXPAT_BUILTIN="#"
51536 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51537 COND_WXUSE_EXPAT_BUILTIN=""
51540 COND_WXUSE_LIBJPEG_BUILTIN="#"
51541 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51542 COND_WXUSE_LIBJPEG_BUILTIN=""
51545 COND_WXUSE_LIBPNG_BUILTIN="#"
51546 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51547 COND_WXUSE_LIBPNG_BUILTIN=""
51550 COND_WXUSE_LIBTIFF_BUILTIN="#"
51551 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51552 COND_WXUSE_LIBTIFF_BUILTIN=""
51555 COND_WXUSE_REGEX_BUILTIN="#"
51556 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51557 COND_WXUSE_REGEX_BUILTIN=""
51560 COND_WXUSE_ZLIB_BUILTIN="#"
51561 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51562 COND_WXUSE_ZLIB_BUILTIN=""
51565 COND_wxUSE_EXPAT_builtin="#"
51566 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51567 COND_wxUSE_EXPAT_builtin=""
51570 COND_wxUSE_LIBJPEG_builtin="#"
51571 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51572 COND_wxUSE_LIBJPEG_builtin=""
51575 COND_wxUSE_LIBPNG_builtin="#"
51576 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51577 COND_wxUSE_LIBPNG_builtin=""
51580 COND_wxUSE_LIBTIFF_builtin="#"
51581 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51582 COND_wxUSE_LIBTIFF_builtin=""
51585 COND_wxUSE_REGEX_builtin="#"
51586 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51587 COND_wxUSE_REGEX_builtin=""
51590 COND_wxUSE_ZLIB_builtin="#"
51591 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51592 COND_wxUSE_ZLIB_builtin=""
51597 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
51598 { { 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
51599 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;}
51600 { (exit 1); exit 1; }; }
51603 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
51604 { { 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
51605 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;}
51606 { (exit 1); exit 1; }; }
51613 ?:* ) # Drive letter, considered as absolute.
51616 INSTALL=`pwd`/${INSTALL} ;;
51619 if test "$wxUSE_GUI" = "yes"; then
51621 if test "$wxUSE_MSW" = 1 ; then
51622 if test "x$WINDRES" = "x"; then
51623 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
51624 echo "$as_me: error: Required windres program not found" >&2;}
51625 { (exit 1); exit 1; }; }
51628 RESCOMP="$WINDRES $WINDRES_CPU_DEFINE"
51631 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
51632 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
51633 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
51635 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
51637 # Extract the first word of "DeRez", so it can be a program name with args.
51638 set dummy DeRez; ac_word=$2
51639 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51641 if test "${ac_cv_prog_DEREZ+set}" = set; then
51642 echo $ECHO_N "(cached) $ECHO_C" >&6
51644 if test -n "$DEREZ"; then
51645 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
51647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51648 for as_dir in $PATH
51651 test -z "$as_dir" && as_dir=.
51652 for ac_exec_ext in '' $ac_executable_extensions; do
51653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51654 ac_cv_prog_DEREZ="DeRez"
51655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51662 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
51665 DEREZ=$ac_cv_prog_DEREZ
51666 if test -n "$DEREZ"; then
51667 { echo "$as_me:$LINENO: result: $DEREZ" >&5
51668 echo "${ECHO_T}$DEREZ" >&6; }
51670 { echo "$as_me:$LINENO: result: no" >&5
51671 echo "${ECHO_T}no" >&6; }
51676 MACSETFILE="\$(SETFILE)"
51678 if test "$wxUSE_OSX_CARBON" = 1; then
51679 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
51681 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
51683 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
51684 RESCOMP="cat /dev/null \| $REZ"
51685 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
51691 if test "$wxUSE_PM" = 1; then
51693 WXCONFIG_RESFLAGS="-ep"
51695 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
51697 POSTLINK_COMMAND="@true"
51704 if test $GCC_PCH = 1
51706 if test "$wx_cv_gcc_pch_bug" = yes; then
51707 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
51708 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
51709 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
51710 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
51711 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
51712 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
51715 # Our WX_PRECOMP flag does not make sense for any language except C++ because
51716 # the headers that benefit from precompilation are mostly C++ headers.
51717 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51718 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
51719 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51723 if test "$wxUSE_MAC" = 1 ; then
51724 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
51725 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
51731 if test "$wxUSE_SHARED" = "yes"; then
51733 *-pc-os2_emx | *-pc-os2-emx )
51734 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51735 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51736 cp -p ${srcdir}/src/os2/dllnames.sh .
51737 cp -p ${srcdir}/src/os2/dllar.sh .
51741 if test "$wxUSE_OMF" = "yes"; then
51743 *-pc-os2_emx | *-pc-os2-emx )
51744 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
51745 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51746 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51751 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
51756 if test "$GCC" = yes; then
51757 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
51758 LIBS=`echo $LIBS | sed 's/-mt//'`
51759 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
51764 if test "x$SUNCXX" = xyes; then
51765 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
51766 LIBS=`echo $LIBS | sed 's/-pthread//'`
51767 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
51772 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
51773 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
51774 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
51775 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
51777 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
51838 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51839 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
51840 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
51841 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
51842 echo $ECHO_N "(cached) $ECHO_C" >&6
51844 cat >conftest.make <<\_ACEOF
51847 @echo '@@@%%%=$(MAKE)=@@@%%%'
51849 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51850 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
51851 *@@@%%%=?*=@@@%%%*)
51852 eval ac_cv_prog_make_${ac_make}_set=yes;;
51854 eval ac_cv_prog_make_${ac_make}_set=no;;
51856 rm -f conftest.make
51858 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
51859 { echo "$as_me:$LINENO: result: yes" >&5
51860 echo "${ECHO_T}yes" >&6; }
51863 { echo "$as_me:$LINENO: result: no" >&5
51864 echo "${ECHO_T}no" >&6; }
51865 SET_MAKE="MAKE=${MAKE-make}"
51870 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
51873 if test "$USE_WIN32" = 1; then
51874 ac_config_commands="$ac_config_commands rcdefs.h"
51878 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
51881 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
51884 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
51887 if test "$wx_cv_version_script" = "yes"; then
51888 ac_config_files="$ac_config_files version-script"
51891 ac_config_files="$ac_config_files Makefile"
51894 ac_config_commands="$ac_config_commands wx-config"
51898 if test "$wxWITH_SUBDIRS" != "no"; then
51899 if test "$wxUSE_GUI" = "yes"; then
51900 SUBDIRS="samples demos utils"
51902 SUBDIRS="samples utils"
51907 # Check whether --with-cppunit-prefix was given.
51908 if test "${with_cppunit_prefix+set}" = set; then
51909 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
51911 cppunit_config_prefix=""
51915 # Check whether --with-cppunit-exec-prefix was given.
51916 if test "${with_cppunit_exec_prefix+set}" = set; then
51917 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
51919 cppunit_config_exec_prefix=""
51923 if test x$cppunit_config_exec_prefix != x ; then
51924 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51925 if test x${CPPUNIT_CONFIG+set} != xset ; then
51926 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
51929 if test x$cppunit_config_prefix != x ; then
51930 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51931 if test x${CPPUNIT_CONFIG+set} != xset ; then
51932 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51936 # Extract the first word of "cppunit-config", so it can be a program name with args.
51937 set dummy cppunit-config; ac_word=$2
51938 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51940 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51941 echo $ECHO_N "(cached) $ECHO_C" >&6
51943 case $CPPUNIT_CONFIG in
51945 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51949 for as_dir in $PATH
51952 test -z "$as_dir" && as_dir=.
51953 for ac_exec_ext in '' $ac_executable_extensions; do
51954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51955 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51963 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51967 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51968 if test -n "$CPPUNIT_CONFIG"; then
51969 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51970 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51972 { echo "$as_me:$LINENO: result: no" >&5
51973 echo "${ECHO_T}no" >&6; }
51977 cppunit_version_min=1.8.0
51979 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51980 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51982 if test "$CPPUNIT_CONFIG" = "no" ; then
51983 { echo "$as_me:$LINENO: result: no" >&5
51984 echo "${ECHO_T}no" >&6; }
51987 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51988 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51989 cppunit_version=`$CPPUNIT_CONFIG --version`
51991 cppunit_major_version=`echo $cppunit_version | \
51992 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51993 cppunit_minor_version=`echo $cppunit_version | \
51994 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51995 cppunit_micro_version=`echo $cppunit_version | \
51996 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51998 cppunit_major_min=`echo $cppunit_version_min | \
51999 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52000 cppunit_minor_min=`echo $cppunit_version_min | \
52001 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52002 cppunit_micro_min=`echo $cppunit_version_min | \
52003 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52005 cppunit_version_proper=`expr \
52006 $cppunit_major_version \
> $cppunit_major_min \
| \
52007 $cppunit_major_version \
= $cppunit_major_min \
& \
52008 $cppunit_minor_version \
> $cppunit_minor_min \
| \
52009 $cppunit_major_version \
= $cppunit_major_min \
& \
52010 $cppunit_minor_version \
= $cppunit_minor_min \
& \
52011 $cppunit_micro_version \
>= $cppunit_micro_min `
52013 if test "$cppunit_version_proper" = "1" ; then
52014 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52015 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52017 { echo "$as_me:$LINENO: result: no" >&5
52018 echo "${ECHO_T}no" >&6; }
52023 if test "x$no_cppunit" = x ; then
52024 SUBDIRS="$SUBDIRS tests"
52035 for subdir in $SUBDIRS; do
52036 if test -d ${srcdir}/${subdir} ; then
52037 if test "$wxUSE_GUI" = "yes"; then
52038 if test ${subdir} = "samples"; then
52039 makefiles="samples/Makefile.in $makefiles"
52040 for sample in $SAMPLES_SUBDIRS; do
52041 if test -d $srcdir/samples/$sample; then
52042 makefiles="samples/$sample/Makefile.in $makefiles"
52046 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
52047 eval "disabled=\$$disabled_var"
52048 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
52049 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
52052 if test ${subdir} = "samples"; then
52053 makefiles="samples/Makefile.in $makefiles"
52054 for sample in `echo $SAMPLES_SUBDIRS`; do
52055 if test -d $srcdir/samples/$sample; then
52056 makefiles="samples/$sample/Makefile.in $makefiles"
52059 elif test ${subdir} = "utils"; then
52061 for util in ifacecheck ; do
52062 if test -d $srcdir/utils/$util ; then
52063 makefiles="utils/$util/src/Makefile.in \
52068 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
52072 for mkin in $makefiles ; do
52073 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52074 ac_config_files="$ac_config_files $mk"
52080 cat >confcache <<\_ACEOF
52081 # This file is a shell script that caches the results of configure
52082 # tests run on this system so they can be shared between configure
52083 # scripts and configure runs, see configure's option --config-cache.
52084 # It is not useful on other systems. If it contains results you don't
52085 # want to keep, you may remove or edit it.
52087 # config.status only pays attention to the cache file if you give it
52088 # the --recheck option to rerun configure.
52090 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
52091 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52092 # following values.
52096 # The following way of writing the cache mishandles newlines in values,
52097 # but we know of no workaround that is simple, portable, and efficient.
52098 # So, we kill variables containing newlines.
52099 # Ultrix sh set writes to stderr and can't be redirected directly,
52100 # and sets the high bit in the cache file unless we assign to the vars.
52102 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52103 eval ac_val
=\$
$ac_var
52107 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52108 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52111 _
| IFS
| as_nl
) ;; #(
52112 *) $as_unset $ac_var ;;
52118 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52119 *${as_nl}ac_space
=\
*)
52120 # `set' does not quote correctly, so add quotes (double-quote
52121 # substitution turns \\\\ into \\, and sed turns \\ into \).
52124 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52127 # `set' quotes correctly as required by POSIX, so do not add quotes.
52128 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52137 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52139 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52141 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
52142 if test -w "$cache_file"; then
52143 test "x$cache_file" != "x/dev/null" &&
52144 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52145 echo "$as_me: updating cache $cache_file" >&6;}
52146 cat confcache
>$cache_file
52148 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52149 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52154 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
52155 # Let make expand exec_prefix.
52156 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
52158 DEFS
=-DHAVE_CONFIG_H
52162 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
52163 # 1. Remove the extension, and $U if already installed.
52164 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
52165 ac_i
=`echo "$ac_i" | sed "$ac_script"`
52166 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52167 # will be set to the directory where LIBOBJS objects are built.
52168 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52169 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52171 LIBOBJS
=$ac_libobjs
52173 LTLIBOBJS
=$ac_ltlibobjs
52177 : ${CONFIG_STATUS=./config.status}
52178 ac_clean_files_save
=$ac_clean_files
52179 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
52180 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52181 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52182 cat >$CONFIG_STATUS <<_ACEOF
52184 # Generated by $as_me.
52185 # Run this file to recreate the current configuration.
52186 # Compiler output produced by configure, useful for debugging
52187 # configure, is in config.log if it exists.
52190 ac_cs_recheck=false
52192 SHELL=\${CONFIG_SHELL-$SHELL}
52195 cat >>$CONFIG_STATUS <<\_ACEOF
52196 ## --------------------- ##
52197 ## M4sh Initialization. ##
52198 ## --------------------- ##
52200 # Be more Bourne compatible
52201 DUALCASE
=1; export DUALCASE
# for MKS sh
52202 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
52205 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52206 # is contrary to our usage. Disable this feature.
52207 alias -g '${1+"$@"}'='"$@"'
52208 setopt NO_GLOB_SUBST
52210 case `(set -o) 2>/dev/null` in
52211 *posix
*) set -o posix
;;
52220 # Avoid depending upon Character Ranges.
52221 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
52222 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52223 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
52224 as_cr_digits
='0123456789'
52225 as_cr_alnum
=$as_cr_Letters$as_cr_digits
52227 # The user is always right.
52228 if test "${PATH_SEPARATOR+set}" != set; then
52229 echo "#! /bin/sh" >conf$$.sh
52230 echo "exit 0" >>conf$$.sh
52232 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
52240 # Support unset when possible.
52241 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
52249 # We need space, tab and new line, in precisely that order. Quoting is
52250 # there to prevent editors from complaining about space-tab.
52251 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52252 # splitting by setting IFS to empty value.)
52257 # Find who we are. Look in the path if we contain no directory separator.
52259 *[\\/]* ) as_myself
=$0 ;;
52260 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52261 for as_dir
in $PATH
52264 test -z "$as_dir" && as_dir
=.
52265 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
52271 # We did not find ourselves, most probably we were run as `sh COMMAND'
52272 # in which case we are not to be found in the path.
52273 if test "x$as_myself" = x
; then
52276 if test ! -f "$as_myself"; then
52277 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
52278 { (exit 1); exit 1; }
52281 # Work around bugs in pre-3.0 UWIN ksh.
52282 for as_var
in ENV MAIL MAILPATH
52283 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
52291 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
52292 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
52293 LC_TELEPHONE LC_TIME
52295 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52296 eval $as_var=C
; export $as_var
52298 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
52302 # Required to use basename.
52303 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
52304 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
52310 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
52311 as_basename
=basename
52317 # Name of the executable.
52318 as_me
=`$as_basename -- "$0" ||
52319 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52320 X"$0" : 'X\(//\)$' \| \
52321 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
52323 sed '/^.*\/\([^/][^/]*\)\/*$/{
52342 as_lineno_1
=$LINENO
52343 as_lineno_2
=$LINENO
52344 test "x$as_lineno_1" != "x$as_lineno_2" &&
52345 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
52347 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52348 # uniformly replaced by the line number. The first 'sed' inserts a
52349 # line-number line after each line using $LINENO; the second 'sed'
52350 # does the real work. The second script uses 'N' to pair each
52351 # line-number line with the line containing $LINENO, and appends
52352 # trailing '-' during substitution so that $LINENO is not a special
52353 # case at line end.
52354 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52355 # scripts with optimization help from Paolo Bonzini. Blame Lee
52356 # E. McMahon (1931-1989) for sed's syntax. :-)
52368 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
52371 ' >$as_me.lineno
&&
52372 chmod +x
"$as_me.lineno" ||
52373 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
52374 { (exit 1); exit 1; }; }
52376 # Don't try to exec as it changes $[0], causing all sort of problems
52377 # (the dirname of $[0] is not the place where we might find the
52378 # original and so on. Autoconf is especially sensitive to this).
52379 .
"./$as_me.lineno"
52380 # Exit status is that of the last command.
52385 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
52391 ECHO_C
= ECHO_N
= ECHO_T
=
52392 case `echo -n x` in
52394 case `echo 'x\c'` in
52395 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
52402 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
52403 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
52409 rm -f conf$$ conf$$.exe conf$$.
file
52410 if test -d conf$$.dir
; then
52411 rm -f conf$$.dir
/conf$$.
file
52417 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
52419 # ... but there are two gotchas:
52420 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
52421 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52422 # In both cases, we have to default to `cp -p'.
52423 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
52425 elif ln conf$$.
file conf$$
2>/dev
/null
; then
52430 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
52431 rmdir conf$$.dir
2>/dev
/null
52433 if mkdir -p .
2>/dev
/null
; then
52436 test -d .
/-p && rmdir .
/-p
52440 if test -x / >/dev
/null
2>&1; then
52441 as_test_x
='test -x'
52443 if ls -dL / >/dev
/null
2>&1; then
52450 if test -d "$1"; then
52456 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52457 ???[sx]*):;;*)false;;esac;fi
52461 as_executable_p
=$as_test_x
52463 # Sed expression to map a string onto a valid CPP name.
52464 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52466 # Sed expression to map a string onto a valid variable name.
52467 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52472 # Save the log message, to keep $[0] and so on meaningful, and to
52473 # report actual input values of CONFIG_FILES etc. instead of their
52474 # values after options handling.
52476 This file was extended by wxWidgets $as_me 2.9.1, which was
52477 generated by GNU Autoconf 2.61. Invocation command line was
52479 CONFIG_FILES = $CONFIG_FILES
52480 CONFIG_HEADERS = $CONFIG_HEADERS
52481 CONFIG_LINKS = $CONFIG_LINKS
52482 CONFIG_COMMANDS = $CONFIG_COMMANDS
52485 on `(hostname || uname -n) 2>/dev/null | sed 1q`
52490 cat >>$CONFIG_STATUS <<_ACEOF
52491 # Files that config.status was made for.
52492 config_files="$ac_config_files"
52493 config_headers="$ac_config_headers"
52494 config_commands="$ac_config_commands"
52498 cat >>$CONFIG_STATUS <<\_ACEOF
52500 \`$as_me' instantiates files from templates according to the
52501 current configuration.
52503 Usage: $0 [OPTIONS] [FILE]...
52505 -h, --help print this help, then exit
52506 -V, --version print version number and configuration settings, then exit
52507 -q, --quiet do not print progress messages
52508 -d, --debug don't remove temporary files
52509 --recheck update $as_me by reconfiguring in the same conditions
52510 --file=FILE[:TEMPLATE]
52511 instantiate the configuration file FILE
52512 --header=FILE[:TEMPLATE]
52513 instantiate the configuration header FILE
52515 Configuration files:
52518 Configuration headers:
52521 Configuration commands:
52524 Report bugs to <bug-autoconf@gnu.org>."
52527 cat >>$CONFIG_STATUS <<_ACEOF
52529 wxWidgets config.status 2.9.1
52530 configured by $0, generated by GNU Autoconf 2.61,
52531 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
52533 Copyright (C) 2006 Free Software Foundation, Inc.
52534 This config.status script is free software; the Free Software Foundation
52535 gives unlimited permission to copy, distribute and modify it."
52542 cat >>$CONFIG_STATUS <<\_ACEOF
52543 # If no file are specified by the user, then we need to provide default
52544 # value. By we need to know if files were specified by the user.
52550 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
52551 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
52562 # Handling of the options.
52563 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
52565 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
52566 echo "$ac_cs_version"; exit ;;
52567 --debug | --debu | --deb | --de | --d | -d )
52569 --file | --fil | --fi | --f )
52571 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
52572 ac_need_defaults
=false
;;
52573 --header | --heade | --head | --hea )
52575 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
52576 ac_need_defaults
=false
;;
52578 # Conflict between --help and --header
52579 { echo "$as_me: error: ambiguous option: $1
52580 Try \`$0 --help' for more information." >&2
52581 { (exit 1); exit 1; }; };;
52582 --help | --hel | -h )
52583 echo "$ac_cs_usage"; exit ;;
52584 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
52585 | -silent | --silent | --silen | --sile | --sil | --si | --s)
52588 # This is an error.
52589 -*) { echo "$as_me: error: unrecognized option: $1
52590 Try \`$0 --help' for more information." >&2
52591 { (exit 1); exit 1; }; } ;;
52593 *) ac_config_targets
="$ac_config_targets $1"
52594 ac_need_defaults
=false
;;
52600 ac_configure_extra_args
=
52602 if $ac_cs_silent; then
52604 ac_configure_extra_args
="$ac_configure_extra_args --silent"
52608 cat >>$CONFIG_STATUS <<_ACEOF
52609 if \$ac_cs_recheck; then
52610 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
52611 CONFIG_SHELL=$SHELL
52612 export CONFIG_SHELL
52613 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
52617 cat >>$CONFIG_STATUS <<\_ACEOF
52621 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
52622 ## Running $as_me. ##
52628 cat >>$CONFIG_STATUS <<_ACEOF
52634 infile="$srcdir/include/wx/msw/genrcdefs.h"
52635 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
52638 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52639 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52640 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52646 cat >>$CONFIG_STATUS <<\_ACEOF
52648 # Handling of arguments.
52649 for ac_config_target
in $ac_config_targets
52651 case $ac_config_target in
52652 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
52653 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
52654 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
52655 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
52656 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
52657 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
52658 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
52659 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
52660 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
52662 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
52663 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
52664 { (exit 1); exit 1; }; };;
52669 # If the user did not use the arguments to specify the items to instantiate,
52670 # then the envvar interface is used. Set only those that are not.
52671 # We use the long form for the default assignment because of an extremely
52672 # bizarre bug on SunOS 4.1.3.
52673 if $ac_need_defaults; then
52674 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
52675 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
52676 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
52679 # Have a temporary directory for convenience. Make it in the build tree
52680 # simply because there is no reason against having it here, and in addition,
52681 # creating and moving files from /tmp can sometimes cause problems.
52682 # Hook for its removal unless debugging.
52683 # Note that there is a small window in which the directory will not be cleaned:
52684 # after its creation but before its name has been assigned to `$tmp'.
52688 trap 'exit_status=$?
52689 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
52691 trap '{ (exit 1); exit 1; }' 1 2 13 15
52693 # Create a (secure) tmp directory for tmp files.
52696 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
52697 test -n "$tmp" && test -d "$tmp"
52700 tmp
=.
/conf$$
-$RANDOM
52701 (umask 077 && mkdir "$tmp")
52704 echo "$me: cannot create a temporary directory in ." >&2
52705 { (exit 1); exit 1; }
52709 # Set up the sed scripts for CONFIG_FILES section.
52712 # No need to generate the scripts if there are no CONFIG_FILES.
52713 # This happens for instance when ./config.status config.h
52714 if test -n "$CONFIG_FILES"; then
52721 for ac_last_try
in false false false false false
:; do
52722 cat >conf$
$subs.
sed <<_ACEOF
52723 SHELL!$SHELL$ac_delim
52724 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
52725 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
52726 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
52727 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
52728 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
52729 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
52730 exec_prefix!$exec_prefix$ac_delim
52731 prefix!$prefix$ac_delim
52732 program_transform_name!$program_transform_name$ac_delim
52733 bindir!$bindir$ac_delim
52734 sbindir!$sbindir$ac_delim
52735 libexecdir!$libexecdir$ac_delim
52736 datarootdir!$datarootdir$ac_delim
52737 datadir!$datadir$ac_delim
52738 sysconfdir!$sysconfdir$ac_delim
52739 sharedstatedir!$sharedstatedir$ac_delim
52740 localstatedir!$localstatedir$ac_delim
52741 includedir!$includedir$ac_delim
52742 oldincludedir!$oldincludedir$ac_delim
52743 docdir!$docdir$ac_delim
52744 infodir!$infodir$ac_delim
52745 htmldir!$htmldir$ac_delim
52746 dvidir!$dvidir$ac_delim
52747 pdfdir!$pdfdir$ac_delim
52748 psdir!$psdir$ac_delim
52749 libdir!$libdir$ac_delim
52750 localedir!$localedir$ac_delim
52751 mandir!$mandir$ac_delim
52752 DEFS!$DEFS$ac_delim
52753 ECHO_C!$ECHO_C$ac_delim
52754 ECHO_N!$ECHO_N$ac_delim
52755 ECHO_T!$ECHO_T$ac_delim
52756 LIBS!$LIBS$ac_delim
52757 build_alias!$build_alias$ac_delim
52758 host_alias!$host_alias$ac_delim
52759 target_alias!$target_alias$ac_delim
52760 build!$build$ac_delim
52761 build_cpu!$build_cpu$ac_delim
52762 build_vendor!$build_vendor$ac_delim
52763 build_os!$build_os$ac_delim
52764 host!$host$ac_delim
52765 host_cpu!$host_cpu$ac_delim
52766 host_vendor!$host_vendor$ac_delim
52767 host_os!$host_os$ac_delim
52768 wx_top_builddir!$wx_top_builddir$ac_delim
52770 CFLAGS!$CFLAGS$ac_delim
52771 LDFLAGS!$LDFLAGS$ac_delim
52772 CPPFLAGS!$CPPFLAGS$ac_delim
52773 ac_ct_CC!$ac_ct_CC$ac_delim
52774 EXEEXT!$EXEEXT$ac_delim
52775 OBJEXT!$OBJEXT$ac_delim
52777 GREP!$GREP$ac_delim
52778 EGREP!$EGREP$ac_delim
52780 CXXFLAGS!$CXXFLAGS$ac_delim
52781 ac_ct_CXX!$ac_ct_CXX$ac_delim
52783 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
52784 subdirs!$subdirs$ac_delim
52785 PKG_CONFIG!$PKG_CONFIG$ac_delim
52786 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
52787 GTK_LIBS!$GTK_LIBS$ac_delim
52788 GTK_CONFIG!$GTK_CONFIG$ac_delim
52789 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
52790 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
52791 XMKMF!$XMKMF$ac_delim
52792 X_CFLAGS!$X_CFLAGS$ac_delim
52793 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
52794 X_LIBS!$X_LIBS$ac_delim
52795 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
52796 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
52797 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
52798 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
52799 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
52800 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
52801 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
52802 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
52803 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
52804 LIBICONV!$LIBICONV$ac_delim
52805 GXX_VERSION!$GXX_VERSION$ac_delim
52806 SDL_CONFIG!$SDL_CONFIG$ac_delim
52807 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
52808 SDL_LIBS!$SDL_LIBS$ac_delim
52809 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
52810 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
52811 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
52812 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
52813 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
52814 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
52815 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
52816 HILDON_LIBS!$HILDON_LIBS$ac_delim
52817 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
52818 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
52819 PYTHON!$PYTHON$ac_delim
52822 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52824 elif $ac_last_try; then
52825 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52826 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52827 { (exit 1); exit 1; }; }
52829 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52833 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52834 if test -n "$ac_eof"; then
52835 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52836 ac_eof
=`expr $ac_eof + 1`
52839 cat >>$CONFIG_STATUS <<_ACEOF
52840 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
52841 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52844 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52845 s/^/s,@/; s/!/@,|#_!!_#|/
52848 s/'"$ac_delim"'$/,g/; t
52850 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52851 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52852 rm -f conf$
$subs.
sed
52853 cat >>$CONFIG_STATUS <<_ACEOF
52859 for ac_last_try
in false false false false false
:; do
52860 cat >conf$
$subs.
sed <<_ACEOF
52861 COND_PYTHON!$COND_PYTHON$ac_delim
52862 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
52863 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
52864 GST_CFLAGS!$GST_CFLAGS$ac_delim
52865 GST_LIBS!$GST_LIBS$ac_delim
52866 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
52867 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
52868 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
52869 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
52870 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
52871 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
52872 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
52873 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
52874 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
52875 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
52876 VENDOR!$VENDOR$ac_delim
52877 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
52878 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
52879 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
52880 WXUNIV!$WXUNIV$ac_delim
52881 MONOLITHIC!$MONOLITHIC$ac_delim
52882 USE_PLUGINS!$USE_PLUGINS$ac_delim
52883 CXXWARNINGS!$CXXWARNINGS$ac_delim
52884 EXTRALIBS!$EXTRALIBS$ac_delim
52885 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
52886 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
52887 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
52888 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
52889 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
52890 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
52891 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
52892 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
52893 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
52894 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
52895 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
52896 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
52897 UNICODE!$UNICODE$ac_delim
52898 DEBUG_INFO!$DEBUG_INFO$ac_delim
52899 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
52900 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
52901 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
52902 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
52903 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
52904 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
52905 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
52906 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
52907 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
52908 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
52909 RANLIB!$RANLIB$ac_delim
52910 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
52911 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
52912 INSTALL_DATA!$INSTALL_DATA$ac_delim
52913 LN_S!$LN_S$ac_delim
52914 SET_MAKE!$SET_MAKE$ac_delim
52915 MAKE_SET!$MAKE_SET$ac_delim
52916 AROPTIONS!$AROPTIONS$ac_delim
52917 STRIP!$STRIP$ac_delim
52919 INSTALL_DIR!$INSTALL_DIR$ac_delim
52920 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
52921 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
52922 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
52923 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
52924 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
52925 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
52926 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
52927 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
52928 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
52929 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
52930 SO_SUFFIX!$SO_SUFFIX$ac_delim
52931 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52932 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52933 LIBPREFIX!$LIBPREFIX$ac_delim
52934 LIBEXT!$LIBEXT$ac_delim
52935 DLLPREFIX!$DLLPREFIX$ac_delim
52936 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52937 dlldir!$dlldir$ac_delim
52938 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52939 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52940 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52941 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52942 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52943 PIC_FLAG!$PIC_FLAG$ac_delim
52944 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52945 USE_SOVERSION!$USE_SOVERSION$ac_delim
52946 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52947 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52948 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52949 USE_MACVERSION!$USE_MACVERSION$ac_delim
52950 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
52951 SONAME_FLAG!$SONAME_FLAG$ac_delim
52952 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52953 BK_DEPS!$BK_DEPS$ac_delim
52954 WINDRES!$WINDRES$ac_delim
52956 SETFILE!$SETFILE$ac_delim
52957 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52960 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52962 elif $ac_last_try; then
52963 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52964 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52965 { (exit 1); exit 1; }; }
52967 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52971 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52972 if test -n "$ac_eof"; then
52973 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52974 ac_eof
=`expr $ac_eof + 1`
52977 cat >>$CONFIG_STATUS <<_ACEOF
52978 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52979 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52982 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52983 s/^/s,@/; s/!/@,|#_!!_#|/
52986 s/'"$ac_delim"'$/,g/; t
52988 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52989 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52990 rm -f conf$
$subs.
sed
52991 cat >>$CONFIG_STATUS <<_ACEOF
52997 for ac_last_try
in false false false false false
:; do
52998 cat >conf$
$subs.
sed <<_ACEOF
52999 GCC_PCH!$GCC_PCH$ac_delim
53000 ICC_PCH!$ICC_PCH$ac_delim
53001 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
53002 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
53003 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53004 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53005 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53006 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53007 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53008 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53009 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53010 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53011 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53012 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53013 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
53014 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
53015 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
53016 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
53017 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
53018 COND_BUILD_release!$COND_BUILD_release$ac_delim
53019 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
53020 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
53021 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
53022 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
53023 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53024 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53025 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53026 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53027 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53028 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53029 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53030 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53031 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53032 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53033 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53034 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53035 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53036 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53037 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
53038 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
53039 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53040 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53041 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53042 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53043 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53044 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53045 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53046 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53047 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53048 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
53049 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
53050 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53051 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53052 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53053 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53054 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53055 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53056 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53057 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53058 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
53059 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53060 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
53061 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53062 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53063 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53064 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53065 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53066 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53067 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53068 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53069 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53070 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53071 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53072 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
53073 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
53074 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53075 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
53076 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53077 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
53078 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53079 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
53080 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53081 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
53082 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53083 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53084 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
53085 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53086 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53087 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53088 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53089 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53090 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53091 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53092 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53093 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53094 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53095 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53098 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53100 elif $ac_last_try; then
53101 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53102 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53103 { (exit 1); exit 1; }; }
53105 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53109 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53110 if test -n "$ac_eof"; then
53111 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53112 ac_eof
=`expr $ac_eof + 1`
53115 cat >>$CONFIG_STATUS <<_ACEOF
53116 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53117 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53120 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53121 s/^/s,@/; s/!/@,|#_!!_#|/
53124 s/'"$ac_delim"'$/,g/; t
53126 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53127 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53128 rm -f conf$
$subs.
sed
53129 cat >>$CONFIG_STATUS <<_ACEOF
53135 for ac_last_try
in false false false false false
:; do
53136 cat >conf$
$subs.
sed <<_ACEOF
53137 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53138 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
53139 COND_SHARED_0!$COND_SHARED_0$ac_delim
53140 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53141 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53142 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53143 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53144 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53145 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53146 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53147 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53148 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
53149 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
53150 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
53151 COND_SHARED_1!$COND_SHARED_1$ac_delim
53152 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53153 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53154 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53155 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53156 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53157 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53158 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53159 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53160 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53161 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53162 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53163 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53164 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53165 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53166 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53167 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53168 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53169 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53170 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53171 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53172 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53173 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53174 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53175 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53176 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53177 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
53178 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53179 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
53180 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53181 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
53182 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53183 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
53184 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53185 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53186 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53187 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53188 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53189 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53190 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53191 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53192 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53193 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53194 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
53195 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53196 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53197 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53198 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53199 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53200 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53201 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53202 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53203 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53204 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53205 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53206 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53207 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53208 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53209 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53210 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53211 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53212 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53213 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
53214 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53215 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53216 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53217 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
53218 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53219 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53220 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53221 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53222 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53223 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53224 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53225 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53226 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53227 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53228 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53229 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53230 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53231 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53232 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53233 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
53236 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53238 elif $ac_last_try; then
53239 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53240 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53241 { (exit 1); exit 1; }; }
53243 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53247 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53248 if test -n "$ac_eof"; then
53249 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53250 ac_eof
=`expr $ac_eof + 1`
53253 cat >>$CONFIG_STATUS <<_ACEOF
53254 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53255 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53258 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53259 s/^/s,@/; s/!/@,|#_!!_#|/
53262 s/'"$ac_delim"'$/,g/; t
53264 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53265 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53266 rm -f conf$
$subs.
sed
53267 cat >>$CONFIG_STATUS <<_ACEOF
53273 for ac_last_try
in false false false false false
:; do
53274 cat >conf$
$subs.
sed <<_ACEOF
53275 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
53276 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
53277 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
53278 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
53279 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
53280 DEREZ!$DEREZ$ac_delim
53281 SHARED!$SHARED$ac_delim
53282 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53283 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53284 USE_GUI!$USE_GUI$ac_delim
53285 AFMINSTALL!$AFMINSTALL$ac_delim
53286 WIN32INSTALL!$WIN32INSTALL$ac_delim
53287 TOOLKIT!$TOOLKIT$ac_delim
53288 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53289 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53290 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53291 cross_compiling!$cross_compiling$ac_delim
53292 WIDGET_SET!$WIDGET_SET$ac_delim
53293 WX_RELEASE!$WX_RELEASE$ac_delim
53294 WX_VERSION!$WX_VERSION$ac_delim
53295 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53296 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53297 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53298 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53299 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53300 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53301 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53302 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
53303 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53304 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53305 GUIDIST!$GUIDIST$ac_delim
53306 DISTDIR!$DISTDIR$ac_delim
53307 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53308 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53309 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53310 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53311 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53312 RESCOMP!$RESCOMP$ac_delim
53313 RESFLAGS!$RESFLAGS$ac_delim
53314 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53315 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53316 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53317 LIBWXMACRES!$LIBWXMACRES$ac_delim
53318 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53319 MACSETFILE!$MACSETFILE$ac_delim
53321 DLLTOOL!$DLLTOOL$ac_delim
53322 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
53323 LIBOBJS!$LIBOBJS$ac_delim
53324 LTLIBOBJS!$LTLIBOBJS$ac_delim
53327 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 50; then
53329 elif $ac_last_try; then
53330 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53331 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53332 { (exit 1); exit 1; }; }
53334 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53338 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53339 if test -n "$ac_eof"; then
53340 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53341 ac_eof
=`expr $ac_eof + 1`
53344 cat >>$CONFIG_STATUS <<_ACEOF
53345 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
53346 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
53349 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53350 s/^/s,@/; s/!/@,|#_!!_#|/
53353 s/'"$ac_delim"'$/,g/; t
53355 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53356 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53357 rm -f conf$
$subs.
sed
53358 cat >>$CONFIG_STATUS <<_ACEOF
53365 # VPATH may cause trouble with some makes, so we remove $(srcdir),
53366 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
53367 # trailing colons and then remove the whole line if VPATH becomes empty
53368 # (actually we leave an empty line to preserve line numbers).
53369 if test "x$srcdir" = x.
; then
53370 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
53371 s/:*\$(srcdir):*/:/
53372 s/:*\${srcdir}:*/:/
53374 s/^\([^=]*=[ ]*\):*/\1/
53380 cat >>$CONFIG_STATUS <<\_ACEOF
53381 fi # test -n "$CONFIG_FILES"
53384 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
53387 :[FHLC
]) ac_mode
=$ac_tag; continue;;
53389 case $ac_mode$ac_tag in
53391 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
53392 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
53393 { (exit 1); exit 1; }; };;
53394 :[FH
]-) ac_tag
=-:-;;
53395 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
53412 -) ac_f
="$tmp/stdin";;
53413 *) # Look for the file first in the build tree, then in the source tree
53414 # (if the path is not absolute). The absolute path cannot be DOS-style,
53415 # because $ac_f cannot contain `:'.
53419 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
53421 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
53422 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
53423 { (exit 1); exit 1; }; };;
53425 ac_file_inputs
="$ac_file_inputs $ac_f"
53428 # Let's still pretend it is `configure' which instantiates (i.e., don't
53429 # use $as_me), people would be surprised to read:
53430 # /* config.h. Generated by config.status. */
53431 configure_input
="Generated from "`IFS=:
53432 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
53433 if test x
"$ac_file" != x
-; then
53434 configure_input
="$ac_file. $configure_input"
53435 { echo "$as_me:$LINENO: creating $ac_file" >&5
53436 echo "$as_me: creating $ac_file" >&6;}
53440 *:-:* | *:-) cat >"$tmp/stdin";;
53445 ac_dir
=`$as_dirname -- "$ac_file" ||
53446 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53447 X"$ac_file" : 'X\(//\)[^/]' \| \
53448 X"$ac_file" : 'X\(//\)$' \| \
53449 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
53451 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53455 /^X\(\/\/\)[^/].*/{
53470 -*) as_dir
=.
/$as_dir;;
53472 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53476 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53477 *) as_qdir
=$as_dir;;
53479 as_dirs
="'$as_qdir' $as_dirs"
53480 as_dir
=`$as_dirname -- "$as_dir" ||
53481 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53482 X"$as_dir" : 'X\(//\)[^/]' \| \
53483 X"$as_dir" : 'X\(//\)$' \| \
53484 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53486 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53490 /^X\(\/\/\)[^/].*/{
53503 test -d "$as_dir" && break
53505 test -z "$as_dirs" || eval "mkdir $as_dirs"
53506 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53507 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53508 { (exit 1); exit 1; }; }; }
53512 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53514 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53515 # A ".." for each directory in $ac_dir_suffix.
53516 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53517 case $ac_top_builddir_sub in
53518 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53519 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
53522 ac_abs_top_builddir
=$ac_pwd
53523 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
53524 # for backward compatibility:
53525 ac_top_builddir
=$ac_top_build_prefix
53528 .
) # We are building in place.
53530 ac_top_srcdir
=$ac_top_builddir_sub
53531 ac_abs_top_srcdir
=$ac_pwd ;;
53532 [\\/]* | ?
:[\\/]* ) # Absolute name.
53533 ac_srcdir
=$srcdir$ac_dir_suffix;
53534 ac_top_srcdir
=$srcdir
53535 ac_abs_top_srcdir
=$srcdir ;;
53536 *) # Relative name.
53537 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
53538 ac_top_srcdir
=$ac_top_build_prefix$srcdir
53539 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
53541 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
53551 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
53552 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
53556 cat >>$CONFIG_STATUS <<\_ACEOF
53557 # If the template does not know about datarootdir, expand it.
53558 # FIXME: This hack should be removed a few years after 2.60.
53559 ac_datarootdir_hack
=; ac_datarootdir_seen
=
53561 case `sed -n '/datarootdir/ {
53570 ' $ac_file_inputs` in
53571 *datarootdir
*) ac_datarootdir_seen
=yes;;
53572 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
53573 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
53574 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
53576 cat >>$CONFIG_STATUS <<_ACEOF
53577 ac_datarootdir_hack='
53578 s&@datadir@&$datadir&g
53579 s&@docdir@&$docdir&g
53580 s&@infodir@&$infodir&g
53581 s&@localedir@&$localedir&g
53582 s&@mandir@&$mandir&g
53583 s&\\\${datarootdir}&$datarootdir&g' ;;
53587 # Neutralize VPATH when `$srcdir' = `.'.
53588 # Shell code in configure.ac might set extrasub.
53589 # FIXME: do we really want to maintain this feature?
53590 cat >>$CONFIG_STATUS <<_ACEOF
53594 cat >>$CONFIG_STATUS <<\_ACEOF
53596 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
53597 s
&@configure_input@
&$configure_input&;t t
53598 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
53599 s
&@srcdir@
&$ac_srcdir&;t t
53600 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
53601 s
&@top_srcdir@
&$ac_top_srcdir&;t t
53602 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
53603 s
&@builddir@
&$ac_builddir&;t t
53604 s
&@abs_builddir@
&$ac_abs_builddir&;t t
53605 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
53606 s
&@INSTALL@
&$ac_INSTALL&;t t
53607 $ac_datarootdir_hack
53608 " $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
53610 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
53611 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
53612 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
53613 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
53614 which seems to be undefined. Please make sure it is defined." >&5
53615 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
53616 which seems to be undefined. Please make sure it is defined." >&2;}
53620 -) cat "$tmp/out"; rm -f "$tmp/out";;
53621 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
53630 # Transform confdefs.h into a sed script `conftest.defines', that
53631 # substitutes the proper values into config.h.in to produce config.h.
53632 rm -f conftest.defines conftest.
tail
53633 # First, append a space to every undef/define line, to ease matching.
53634 echo 's/$/ /' >conftest.defines
53635 # Then, protect against being on the right side of a sed subst, or in
53636 # an unquoted here document, in config.status. If some macros were
53637 # called several times there might be several #defines for the same
53638 # symbol, which is useless. But do not sort them, since the last
53639 # AC_DEFINE must be honored.
53640 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
53641 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
53642 # NAME is the cpp macro being defined, VALUE is the value it is being given.
53643 # PARAMS is the parameter list in the macro definition--in most cases, it's
53644 # just an empty string.
53645 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
53646 ac_dB
='\\)[ (].*,\\1define\\2'
53654 s/^[ ]*#[ ]*define[ ][ ]*//
53659 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
53660 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
53661 ' >>conftest.defines
53663 # Remove the space that was appended to ease matching.
53664 # Then replace #undef with comments. This is necessary, for
53665 # example, in the case of _POSIX_SOURCE, which is predefined and required
53666 # on some systems where configure will not decide to define it.
53667 # (The regexp can be short, since the line contains either #define or #undef.)
53669 s,^[ #]*u.*,/* & */,' >>conftest.defines
53671 # Break up conftest.defines:
53672 ac_max_sed_lines
=50
53674 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
53675 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
53676 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
53678 ac_in
='$ac_file_inputs'
53679 ac_out
='"$tmp/out1"'
53680 ac_nxt
='"$tmp/out2"'
53684 # Write a here document:
53685 cat >>$CONFIG_STATUS <<_ACEOF
53686 # First, check the format of the line:
53687 cat >"\$tmp/defines.sed" <<\\CEOF
53688 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
53689 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
53693 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
53695 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
53696 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
53697 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
53698 grep . conftest.
tail >/dev
/null
|| break
53699 rm -f conftest.defines
53700 mv conftest.
tail conftest.defines
53702 rm -f conftest.defines conftest.
tail
53704 echo "ac_result=$ac_in" >>$CONFIG_STATUS
53705 cat >>$CONFIG_STATUS <<\_ACEOF
53706 if test x
"$ac_file" != x
-; then
53707 echo "/* $configure_input */" >"$tmp/config.h"
53708 cat "$ac_result" >>"$tmp/config.h"
53709 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
53710 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
53711 echo "$as_me: $ac_file is unchanged" >&6;}
53714 mv "$tmp/config.h" $ac_file
53717 echo "/* $configure_input */"
53723 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
53724 echo "$as_me: executing $ac_file commands" >&6;}
53729 case $ac_file$ac_mode in
53731 mkdir -p $outdir &&
53732 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
53734 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
53735 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
53736 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
53737 "wx-config":C
) rm -f wx
-config
53738 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
53745 { (exit 0); exit 0; }
53747 chmod +x
$CONFIG_STATUS
53748 ac_clean_files
=$ac_clean_files_save
53751 # configure is writing to config.log, and then calls config.status.
53752 # config.status does its own redirection, appending to config.log.
53753 # Unfortunately, on DOS this fails, as config.log is still kept open
53754 # by configure, so config.status won't be able to write to it; its
53755 # output is simply discarded. So we exec the FD to /dev/null,
53756 # effectively closing config.log, so it can be properly (re)opened and
53757 # appended to by config.status. When coming back to configure, we
53758 # need to make the FD available again.
53759 if test "$no_create" != yes; then
53761 ac_config_status_args
=
53762 test "$silent" = yes &&
53763 ac_config_status_args
="$ac_config_status_args --quiet"
53765 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
53767 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
53768 # would make configure fail if this is the last instruction.
53769 $ac_cs_success || { (exit 1); exit 1; }
53773 # CONFIG_SUBDIRS section.
53775 if test "$no_recursion" != yes; then
53777 # Remove --cache-file and --srcdir arguments so they do not pile up.
53778 ac_sub_configure_args
=
53780 eval "set x $ac_configure_args"
53784 if test -n "$ac_prev"; then
53789 -cache-file | --cache-file | --cache-fil | --cache-fi \
53790 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
53791 ac_prev
=cache_file
;;
53792 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
53793 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
53796 --config-cache | -C)
53798 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
53800 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
53802 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
53804 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
53808 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53810 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
53814 # Always prepend --prefix to ensure using the same prefix
53815 # in subdir configurations.
53816 ac_arg
="--prefix=$prefix"
53818 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53820 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
53823 if test "$silent" = yes; then
53824 ac_sub_configure_args
="--silent $ac_sub_configure_args"
53828 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
53830 # Do not complain, so a configure script can configure whichever
53831 # parts of a large source tree are present.
53832 test -d "$srcdir/$ac_dir" || continue
53834 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
53835 echo "$as_me:$LINENO: $ac_msg" >&5
53839 -*) as_dir
=.
/$as_dir;;
53841 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53845 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53846 *) as_qdir
=$as_dir;;
53848 as_dirs
="'$as_qdir' $as_dirs"
53849 as_dir
=`$as_dirname -- "$as_dir" ||
53850 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53851 X"$as_dir" : 'X\(//\)[^/]' \| \
53852 X"$as_dir" : 'X\(//\)$' \| \
53853 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53855 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53859 /^X\(\/\/\)[^/].*/{
53872 test -d "$as_dir" && break
53874 test -z "$as_dirs" || eval "mkdir $as_dirs"
53875 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53876 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53877 { (exit 1); exit 1; }; }; }
53881 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53883 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53884 # A ".." for each directory in $ac_dir_suffix.
53885 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53886 case $ac_top_builddir_sub in
53887 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53888 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
53891 ac_abs_top_builddir
=$ac_pwd
53892 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
53893 # for backward compatibility:
53894 ac_top_builddir
=$ac_top_build_prefix
53897 .
) # We are building in place.
53899 ac_top_srcdir
=$ac_top_builddir_sub
53900 ac_abs_top_srcdir
=$ac_pwd ;;
53901 [\\/]* | ?
:[\\/]* ) # Absolute name.
53902 ac_srcdir
=$srcdir$ac_dir_suffix;
53903 ac_top_srcdir
=$srcdir
53904 ac_abs_top_srcdir
=$srcdir ;;
53905 *) # Relative name.
53906 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
53907 ac_top_srcdir
=$ac_top_build_prefix$srcdir
53908 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
53910 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
53915 # Check for guested configure; otherwise get Cygnus style configure.
53916 if test -f "$ac_srcdir/configure.gnu"; then
53917 ac_sub_configure
=$ac_srcdir/configure.gnu
53918 elif test -f "$ac_srcdir/configure"; then
53919 ac_sub_configure
=$ac_srcdir/configure
53920 elif test -f "$ac_srcdir/configure.in"; then
53921 # This should be Cygnus configure.
53922 ac_sub_configure
=$ac_aux_dir/configure
53924 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53925 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53929 # The recursion is here.
53930 if test -n "$ac_sub_configure"; then
53931 # Make the cache file name correct relative to the subdirectory.
53932 case $cache_file in
53933 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
53934 *) # Relative name.
53935 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
53938 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53939 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53940 # The eval makes quoting arguments work.
53941 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53942 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53943 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53944 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53945 { (exit 1); exit 1; }; }
53954 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53956 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53957 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53958 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53959 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53960 if test "$wxUSE_UNICODE" = "yes"; then
53961 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53962 echo " (using UTF-8)"
53964 echo " (using wchar_t)"
53970 echo " What level of wxWidgets compatibility should be enabled?"
53971 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53972 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53974 echo " Which libraries should wxWidgets use?"
53975 echo " STL ${wxUSE_STL}"
53976 echo " jpeg ${wxUSE_LIBJPEG-none}"
53977 echo " png ${wxUSE_LIBPNG-none}"
53978 echo " regex ${wxUSE_REGEX}"
53979 echo " tiff ${wxUSE_LIBTIFF-none}"
53980 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53981 echo " xpm ${wxUSE_LIBXPM-none}"
53983 echo " zlib ${wxUSE_ZLIB}"
53984 echo " expat ${wxUSE_EXPAT}"
53985 echo " libmspack ${wxUSE_LIBMSPACK}"
53986 echo " sdl ${wxUSE_LIBSDL}"