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.2.
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.2'
579 PACKAGE_STRING
='wxWidgets 2.9.2'
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
708 LIBGNOMEPRINTUI_CFLAGS
816 ICC_PCH_CREATE_SWITCH
820 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
821 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
822 COND_BUILD_DEBUG_UNICODE_0
823 COND_BUILD_DEBUG_UNICODE_1
825 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
826 COND_BUILD_RELEASE_UNICODE_0
827 COND_BUILD_RELEASE_UNICODE_1
829 COND_BUILD_debug_DEBUG_FLAG_default
830 COND_BUILD_debug_DEBUG_INFO_default
831 COND_BUILD_debug_UNICODE_0
832 COND_BUILD_debug_UNICODE_1
834 COND_BUILD_release_DEBUG_INFO_default
835 COND_BUILD_release_UNICODE_0
836 COND_BUILD_release_UNICODE_1
846 COND_MONOLITHIC_0_SHARED_0
847 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
851 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
852 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
853 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
854 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
855 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
856 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
857 COND_MONOLITHIC_0_SHARED_1
858 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
862 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
863 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
864 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
865 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
866 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
867 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
868 COND_MONOLITHIC_0_USE_AUI_1
869 COND_MONOLITHIC_0_USE_GUI_1
870 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
871 COND_MONOLITHIC_0_USE_HTML_1
872 COND_MONOLITHIC_0_USE_MEDIA_1
873 COND_MONOLITHIC_0_USE_PROPGRID_1
874 COND_MONOLITHIC_0_USE_QA_1
875 COND_MONOLITHIC_0_USE_RIBBON_1
876 COND_MONOLITHIC_0_USE_RICHTEXT_1
877 COND_MONOLITHIC_0_USE_STC_1
878 COND_MONOLITHIC_0_USE_XRC_1
880 COND_MONOLITHIC_1_SHARED_0
881 COND_MONOLITHIC_1_SHARED_1
882 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
883 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
884 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
885 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
886 COND_PLATFORM_MACOSX_1
887 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
888 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
891 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
892 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
893 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
894 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
895 COND_PLATFORM_MACOSX_1_USE_GUI_1
896 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
897 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
898 COND_PLATFORM_MACOS_1
901 COND_PLATFORM_MSDOS_0
902 COND_PLATFORM_MSDOS_1
906 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
907 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
908 COND_PLATFORM_UNIX_1_USE_GUI_1
909 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
910 COND_PLATFORM_WIN32_0
911 COND_PLATFORM_WIN32_1
912 COND_PLATFORM_WIN32_1_SHARED_0
914 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
915 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
916 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
917 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
918 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
919 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
920 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
921 COND_SHARED_0_USE_STC_1
922 COND_SHARED_0_wxUSE_EXPAT_builtin
923 COND_SHARED_0_wxUSE_REGEX_builtin
924 COND_SHARED_0_wxUSE_ZLIB_builtin
926 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
929 COND_TOOLKIT_COCOA_USE_GUI_1
930 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_DFB_USE_GUI_1
934 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
935 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
936 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
937 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
939 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_GTK_USE_GUI_1
943 COND_TOOLKIT_MGL_USE_GUI_1
945 COND_TOOLKIT_MOTIF_USE_GUI_1
946 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
948 COND_TOOLKIT_MSW_USE_GUI_1
949 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
950 COND_TOOLKIT_MSW_WXUNIV_0
951 COND_TOOLKIT_OSX_CARBON
952 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
953 COND_TOOLKIT_OSX_COCOA
954 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
955 COND_TOOLKIT_OSX_IPHONE
956 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
957 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
959 COND_TOOLKIT_PM_USE_GUI_1
960 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
962 COND_TOOLKIT_WINCE_USE_GUI_1
963 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
964 COND_TOOLKIT_WINCE_WXUNIV_0
966 COND_TOOLKIT_X11_USE_GUI_1
969 COND_USE_EXCEPTIONS_0
970 COND_USE_EXCEPTIONS_1
973 COND_USE_GUI_1_USE_OPENGL_1
974 COND_USE_GUI_1_WXUNIV_0
975 COND_USE_GUI_1_WXUNIV_1
976 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
977 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
978 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
979 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
980 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
981 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
987 COND_USE_SOTWOSYMLINKS_1
988 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
989 COND_USE_SOVERLINUX_1
991 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
992 COND_USE_SOVERSOLARIS_1
997 COND_WINDOWS_IMPLIB_1
998 COND_WITH_PLUGIN_SDL_1
1001 COND_WXUSE_EXPAT_BUILTIN
1002 COND_WXUSE_LIBJPEG_BUILTIN
1003 COND_WXUSE_LIBPNG_BUILTIN
1004 COND_WXUSE_LIBTIFF_BUILTIN
1005 COND_WXUSE_REGEX_BUILTIN
1006 COND_WXUSE_ZLIB_BUILTIN
1007 COND_wxUSE_EXPAT_builtin
1008 COND_wxUSE_LIBJPEG_builtin
1009 COND_wxUSE_LIBPNG_builtin
1010 COND_wxUSE_LIBTIFF_builtin
1011 COND_wxUSE_REGEX_builtin
1012 COND_wxUSE_ZLIB_builtin
1015 WX_LIBRARY_BASENAME_NOGUI
1016 WX_LIBRARY_BASENAME_GUI
1036 WXCONFIG_LDFLAGS_GUI
1048 WX_RESOURCES_MACOSX_ASCII
1049 WX_RESOURCES_MACOSX_DATA
1059 ac_precious_vars
='build_alias
1084 LIBGNOMEPRINTUI_CFLAGS
1085 LIBGNOMEPRINTUI_LIBS
1096 ac_subdirs_all
='src/tiff
1099 # Initialize some variables set by options.
1101 ac_init_version
=false
1102 # The variables have the same names as the options, with
1103 # dashes changed to underlines.
1104 cache_file
=/dev
/null
1111 program_transform_name
=s
,x
,x
,
1119 # Installation directory options.
1120 # These are left unexpanded so users can "make install exec_prefix=/foo"
1121 # and all the variables that are supposed to be based on exec_prefix
1122 # by default will actually change.
1123 # Use braces instead of parens because sh, perl, etc. also accept them.
1124 # (The list follows the same order as the GNU Coding Standards.)
1125 bindir
='${exec_prefix}/bin'
1126 sbindir
='${exec_prefix}/sbin'
1127 libexecdir
='${exec_prefix}/libexec'
1128 datarootdir
='${prefix}/share'
1129 datadir
='${datarootdir}'
1130 sysconfdir
='${prefix}/etc'
1131 sharedstatedir
='${prefix}/com'
1132 localstatedir
='${prefix}/var'
1133 includedir
='${prefix}/include'
1134 oldincludedir
='/usr/include'
1135 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1136 infodir
='${datarootdir}/info'
1141 libdir
='${exec_prefix}/lib'
1142 localedir
='${datarootdir}/locale'
1143 mandir
='${datarootdir}/man'
1149 # If the previous option needs an argument, assign it.
1150 if test -n "$ac_prev"; then
1151 eval $ac_prev=\
$ac_option
1157 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1161 # Accept the important Cygnus configure options, so we can diagnose typos.
1163 case $ac_dashdash$ac_option in
1167 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1169 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1170 bindir
=$ac_optarg ;;
1172 -build | --build | --buil | --bui | --bu)
1173 ac_prev
=build_alias
;;
1174 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1175 build_alias
=$ac_optarg ;;
1177 -cache-file | --cache-file | --cache-fil | --cache-fi \
1178 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1179 ac_prev
=cache_file
;;
1180 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1181 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1182 cache_file
=$ac_optarg ;;
1184 --config-cache | -C)
1185 cache_file
=config.cache
;;
1187 -datadir | --datadir | --datadi | --datad)
1189 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1190 datadir
=$ac_optarg ;;
1192 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1193 | --dataroo | --dataro | --datar)
1194 ac_prev
=datarootdir
;;
1195 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1196 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1197 datarootdir
=$ac_optarg ;;
1199 -disable-* | --disable-*)
1200 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1203 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1204 { (exit 1); exit 1; }; }
1205 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1206 eval enable_
$ac_feature=no
;;
1208 -docdir | --docdir | --docdi | --doc | --do)
1210 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1211 docdir
=$ac_optarg ;;
1213 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1215 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1216 dvidir
=$ac_optarg ;;
1218 -enable-* | --enable-*)
1219 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1220 # Reject names that are not valid shell variable names.
1221 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1222 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1223 { (exit 1); exit 1; }; }
1224 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1225 eval enable_
$ac_feature=\
$ac_optarg ;;
1227 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1228 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1229 | --exec | --exe | --ex)
1230 ac_prev
=exec_prefix
;;
1231 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1232 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1233 | --exec=* | --exe=* | --ex=*)
1234 exec_prefix
=$ac_optarg ;;
1236 -gas | --gas | --ga | --g)
1237 # Obsolete; use --with-gas.
1240 -help | --help | --hel | --he | -h)
1241 ac_init_help
=long
;;
1242 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1243 ac_init_help
=recursive
;;
1244 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1245 ac_init_help
=short
;;
1247 -host | --host | --hos | --ho)
1248 ac_prev
=host_alias
;;
1249 -host=* | --host=* | --hos=* | --ho=*)
1250 host_alias
=$ac_optarg ;;
1252 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1254 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1256 htmldir
=$ac_optarg ;;
1258 -includedir | --includedir | --includedi | --included | --include \
1259 | --includ | --inclu | --incl | --inc)
1260 ac_prev
=includedir
;;
1261 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1262 | --includ=* | --inclu=* | --incl=* | --inc=*)
1263 includedir
=$ac_optarg ;;
1265 -infodir | --infodir | --infodi | --infod | --info | --inf)
1267 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1268 infodir
=$ac_optarg ;;
1270 -libdir | --libdir | --libdi | --libd)
1272 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1273 libdir
=$ac_optarg ;;
1275 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1276 | --libexe | --libex | --libe)
1277 ac_prev
=libexecdir
;;
1278 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1279 | --libexe=* | --libex=* | --libe=*)
1280 libexecdir
=$ac_optarg ;;
1282 -localedir | --localedir | --localedi | --localed | --locale)
1283 ac_prev
=localedir
;;
1284 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1285 localedir
=$ac_optarg ;;
1287 -localstatedir | --localstatedir | --localstatedi | --localstated \
1288 | --localstate | --localstat | --localsta | --localst | --locals)
1289 ac_prev
=localstatedir
;;
1290 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1291 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1292 localstatedir
=$ac_optarg ;;
1294 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1296 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1297 mandir
=$ac_optarg ;;
1299 -nfp | --nfp | --nf)
1300 # Obsolete; use --without-fp.
1303 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1304 | --no-cr | --no-c | -n)
1307 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1308 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1311 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1312 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1313 | --oldin | --oldi | --old | --ol | --o)
1314 ac_prev
=oldincludedir
;;
1315 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1316 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1317 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1318 oldincludedir
=$ac_optarg ;;
1320 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1322 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1323 prefix
=$ac_optarg ;;
1325 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1326 | --program-pre | --program-pr | --program-p)
1327 ac_prev
=program_prefix
;;
1328 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1329 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1330 program_prefix
=$ac_optarg ;;
1332 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1333 | --program-suf | --program-su | --program-s)
1334 ac_prev
=program_suffix
;;
1335 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1336 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1337 program_suffix
=$ac_optarg ;;
1339 -program-transform-name | --program-transform-name \
1340 | --program-transform-nam | --program-transform-na \
1341 | --program-transform-n | --program-transform- \
1342 | --program-transform | --program-transfor \
1343 | --program-transfo | --program-transf \
1344 | --program-trans | --program-tran \
1345 | --progr-tra | --program-tr | --program-t)
1346 ac_prev
=program_transform_name
;;
1347 -program-transform-name=* | --program-transform-name=* \
1348 | --program-transform-nam=* | --program-transform-na=* \
1349 | --program-transform-n=* | --program-transform-=* \
1350 | --program-transform=* | --program-transfor=* \
1351 | --program-transfo=* | --program-transf=* \
1352 | --program-trans=* | --program-tran=* \
1353 | --progr-tra=* | --program-tr=* | --program-t=*)
1354 program_transform_name
=$ac_optarg ;;
1356 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1358 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1359 pdfdir
=$ac_optarg ;;
1361 -psdir | --psdir | --psdi | --psd | --ps)
1363 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1366 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1367 | -silent | --silent | --silen | --sile | --sil)
1370 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1372 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1374 sbindir
=$ac_optarg ;;
1376 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1377 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1378 | --sharedst | --shareds | --shared | --share | --shar \
1380 ac_prev
=sharedstatedir
;;
1381 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1382 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1383 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1385 sharedstatedir
=$ac_optarg ;;
1387 -site | --site | --sit)
1389 -site=* | --site=* | --sit=*)
1392 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1394 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1395 srcdir
=$ac_optarg ;;
1397 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1398 | --syscon | --sysco | --sysc | --sys | --sy)
1399 ac_prev
=sysconfdir
;;
1400 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1401 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1402 sysconfdir
=$ac_optarg ;;
1404 -target | --target | --targe | --targ | --tar | --ta | --t)
1405 ac_prev
=target_alias
;;
1406 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1407 target_alias
=$ac_optarg ;;
1409 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1412 -version | --version | --versio | --versi | --vers | -V)
1413 ac_init_version
=: ;;
1416 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1417 # Reject names that are not valid shell variable names.
1418 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1419 { echo "$as_me: error: invalid package name: $ac_package" >&2
1420 { (exit 1); exit 1; }; }
1421 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1422 eval with_
$ac_package=\
$ac_optarg ;;
1424 -without-* | --without-*)
1425 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1426 # Reject names that are not valid shell variable names.
1427 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1428 { echo "$as_me: error: invalid package name: $ac_package" >&2
1429 { (exit 1); exit 1; }; }
1430 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1431 eval with_
$ac_package=no
;;
1434 # Obsolete; use --with-x.
1437 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1438 | --x-incl | --x-inc | --x-in | --x-i)
1439 ac_prev
=x_includes
;;
1440 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1441 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1442 x_includes
=$ac_optarg ;;
1444 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1445 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1446 ac_prev
=x_libraries
;;
1447 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1448 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1449 x_libraries
=$ac_optarg ;;
1451 -*) { echo "$as_me: error: unrecognized option: $ac_option
1452 Try \`$0 --help' for more information." >&2
1453 { (exit 1); exit 1; }; }
1457 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1458 # Reject names that are not valid shell variable names.
1459 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1460 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1461 { (exit 1); exit 1; }; }
1462 eval $ac_envvar=\
$ac_optarg
1463 export $ac_envvar ;;
1466 # FIXME: should be removed in autoconf 3.0.
1467 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1468 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1469 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1470 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1476 if test -n "$ac_prev"; then
1477 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1478 { echo "$as_me: error: missing argument to $ac_option" >&2
1479 { (exit 1); exit 1; }; }
1482 # Be sure to have absolute directory names.
1483 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1484 datadir sysconfdir sharedstatedir localstatedir includedir \
1485 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1486 libdir localedir mandir
1488 eval ac_val
=\$
$ac_var
1490 [\\/$
]* | ?
:[\\/]* ) continue;;
1491 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1493 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1494 { (exit 1); exit 1; }; }
1497 # There might be people who depend on the old broken behavior: `$host'
1498 # used to hold the argument of --host etc.
1499 # FIXME: To remove some day.
1502 target
=$target_alias
1504 # FIXME: To remove some day.
1505 if test "x$host_alias" != x
; then
1506 if test "x$build_alias" = x
; then
1507 cross_compiling
=maybe
1508 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1509 If a cross compiler is detected then cross compile mode will be used." >&2
1510 elif test "x$build_alias" != "x$host_alias"; then
1516 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1518 test "$silent" = yes && exec 6>/dev
/null
1521 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1522 ac_ls_di
=`ls -di .` &&
1523 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1524 { echo "$as_me: error: Working directory cannot be determined" >&2
1525 { (exit 1); exit 1; }; }
1526 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1527 { echo "$as_me: error: pwd does not report name of working directory" >&2
1528 { (exit 1); exit 1; }; }
1531 # Find the source files, if location was not specified.
1532 if test -z "$srcdir"; then
1533 ac_srcdir_defaulted
=yes
1534 # Try the directory containing this script, then the parent directory.
1535 ac_confdir
=`$as_dirname -- "$0" ||
1536 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1537 X"$0" : 'X\(//\)[^/]' \| \
1538 X"$0" : 'X\(//\)$' \| \
1539 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1559 if test ! -r "$srcdir/$ac_unique_file"; then
1563 ac_srcdir_defaulted
=no
1565 if test ! -r "$srcdir/$ac_unique_file"; then
1566 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1567 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1568 { (exit 1); exit 1; }; }
1570 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1572 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1573 { (exit 1); exit 1; }; }
1575 # When building in place, set srcdir=.
1576 if test "$ac_abs_confdir" = "$ac_pwd"; then
1579 # Remove unnecessary trailing slashes from srcdir.
1580 # Double slashes in file names in object file debugging info
1581 # mess up M-x gdb in Emacs.
1583 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1585 for ac_var
in $ac_precious_vars; do
1586 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1587 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1588 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1589 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1593 # Report the --help message.
1595 if test "$ac_init_help" = "long"; then
1596 # Omit some internal or obsolete options to make the list less imposing.
1597 # This message is too long to be a string in the A/UX 3.1 sh.
1599 \`configure' configures wxWidgets 2.9.2 to adapt to many kinds of systems.
1601 Usage: $0 [OPTION]... [VAR=VALUE]...
1603 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1604 VAR=VALUE. See below for descriptions of some of the useful variables.
1606 Defaults for the options are specified in brackets.
1609 -h, --help display this help and exit
1610 --help=short display options specific to this package
1611 --help=recursive display the short help of all the included packages
1612 -V, --version display version information and exit
1613 -q, --quiet, --silent do not print \`checking...' messages
1614 --cache-file=FILE cache test results in FILE [disabled]
1615 -C, --config-cache alias for \`--cache-file=config.cache'
1616 -n, --no-create do not create output files
1617 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1619 Installation directories:
1620 --prefix=PREFIX install architecture-independent files in PREFIX
1621 [$ac_default_prefix]
1622 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1625 By default, \`make install' will install all the files in
1626 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1627 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1628 for instance \`--prefix=\$HOME'.
1630 For better control, use the options below.
1632 Fine tuning of the installation directories:
1633 --bindir=DIR user executables [EPREFIX/bin]
1634 --sbindir=DIR system admin executables [EPREFIX/sbin]
1635 --libexecdir=DIR program executables [EPREFIX/libexec]
1636 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1637 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1638 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1639 --libdir=DIR object code libraries [EPREFIX/lib]
1640 --includedir=DIR C header files [PREFIX/include]
1641 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1642 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1643 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1644 --infodir=DIR info documentation [DATAROOTDIR/info]
1645 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1646 --mandir=DIR man documentation [DATAROOTDIR/man]
1647 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1648 --htmldir=DIR html documentation [DOCDIR]
1649 --dvidir=DIR dvi documentation [DOCDIR]
1650 --pdfdir=DIR pdf documentation [DOCDIR]
1651 --psdir=DIR ps documentation [DOCDIR]
1657 --x-includes=DIR X include files are
in DIR
1658 --x-libraries=DIR X library files are
in DIR
1661 --build=BUILD configure
for building on BUILD
[guessed
]
1662 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1666 if test -n "$ac_init_help"; then
1667 case $ac_init_help in
1668 short
| recursive
) echo "Configuration of wxWidgets 2.9.2:";;
1673 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1674 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1675 --disable-gui don
't build GUI parts of the library
1676 --enable-monolithic build wxWidgets as single library
1677 --enable-plugins build parts of wxWidgets as loadable components
1678 --enable-official_build official build of wxWidgets (win32 DLL only)
1679 --enable-vendor=VENDOR vendor name (win32 DLL only)
1680 --disable-all-features disable all optional features to build minimal library
1681 --enable-universal use wxWidgets GUI controls instead of native ones
1682 --enable-nanox use NanoX
1683 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1684 --enable-gpe use GNOME PDA Environment features if possible
1685 --enable-debug build library for debugging
1686 --disable-debug_flag disable all debugging support
1687 --enable-debug_info generate debug information
1688 --enable-debug_gdb create code with extra GDB debugging information
1689 --enable-debug_cntxt obsolete, don't use
: use wxDebugContext
1690 --enable-mem_tracing obsolete
, don
't use: create code with memory tracing
1691 --disable-shared create static library instead of shared
1692 --enable-stl use STL for containers
1693 --enable-std_iostreams use standard C++ stream classes
1694 --enable-std_string use standard C++ string classes
1695 --disable-unicode compile without Unicode support
1696 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1697 --enable-utf8 use UTF-8 representation for strings (Unix only)
1698 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1699 --enable-extended_rtti use extended RTTI (XTI)
1700 --enable-omf use OMF object format
1701 --disable-optimise compile without optimisations
1702 --enable-profile create code with profiling information
1703 --enable-no_rtti create code without RTTI information
1704 --enable-no_exceptions create code without C++ exceptions handling
1705 --enable-permissive compile code disregarding strict ANSI
1706 --enable-no_deps create code without dependency information
1707 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1708 --enable-universal_binary create universal binary with Mac PPC and i386
(and x86_64
if using Cocoa
) architectures
1709 --enable-macosx_arch=ARCH build
for just the specified architecture
1710 --enable-compat26 enable wxWidgets
2.6 compatibility
1711 --disable-compat28 disable wxWidgets
2.8 compatibility
1712 --disable-rpath disable use of rpath
for uninstalled builds
1713 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1714 --disable-visibility disable use of ELF symbols visibility even
if supported
1715 --disable-tls disable use of compiler TLS support
1716 --enable-intl use internationalization system
1717 --enable-xlocale use x
-locale support
(requires wxLocale
)
1718 --enable-config use wxConfig
(and derived
) classes
1719 --enable-protocols use wxProtocol and derived classes
1720 --enable-ftp use wxFTP
(requires wxProtocol
1721 --enable-http use wxHTTP
(requires wxProtocol
1722 --enable-fileproto use wxFileProto class
(requires wxProtocol
1723 --enable-sockets use socket
/network classes
1724 --enable-ipv6 enable IPv6 support
in wxSocket
1725 --enable-ole use OLE classes
(Win32 only
)
1726 --enable-dataobj use data object classes
1727 --enable-ipc use interprocess communication
(wxSocket etc.
)
1728 --enable-baseevtloop use event loop
in console programs too
1729 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1730 --enable-selectloop use wxSelectDispatcher class
1731 --enable-any use wxAny class
1732 --enable-apple_ieee use the Apple IEEE codec
1733 --enable-arcstream use wxArchive streams
1734 --enable-base64 use base64 encoding
/decoding functions
1735 --enable-backtrace use wxStackWalker class
for getting backtraces
1736 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1737 --enable-cmdline use wxCmdLineParser class
1738 --enable-datetime use wxDateTime class
1739 --enable-debugreport use wxDebugReport class
1740 --enable-dialupman use dialup network classes
1741 --enable-dynlib use wxLibrary class
for DLL loading
1742 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1743 --enable-exceptions build exception
-safe library
1744 --enable-ffile use wxFFile class
1745 --enable-file use wxFile class
1746 --enable-filehistory use wxFileHistory class
1747 --enable-filesystem use virtual
file systems classes
1748 --enable-fontenum use wxFontEnumerator class
1749 --enable-fontmap use font encodings conversion classes
1750 --enable-fs_archive use virtual archive filesystems
1751 --enable-fs_inet use virtual HTTP
/FTP filesystems
1752 --enable-fs_zip now replaced by fs_archive
1753 --enable-fswatcher use wxFileSystemWatcher class
1754 --enable-geometry use geometry class
1755 --enable-log use logging system
1756 --enable-longlong use wxLongLong class
1757 --enable-mimetype use wxMimeTypesManager
1758 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1759 --enable-snglinst use wxSingleInstanceChecker class
1760 --enable-sound use wxSound class
1761 --enable-stdpaths use wxStandardPaths class
1762 --enable-stopwatch use wxStopWatch class
1763 --enable-streams use wxStream etc classes
1764 --enable-sysoptions use wxSystemOptions
1765 --enable-tarstream use wxTar streams
1766 --enable-textbuf use wxTextBuffer class
1767 --enable-textfile use wxTextFile class
1768 --enable-timer use wxTimer class
1769 --enable-variant use wxVariant class
1770 --enable-zipstream use wxZip streams
1771 --enable-url use wxURL class
1772 --enable-protocol use wxProtocol class
1773 --enable-protocol-http HTTP support
in wxProtocol
1774 --enable-protocol-ftp FTP support
in wxProtocol
1775 --enable-protocol-file FILE support
in wxProtocol
1776 --enable-threads use threads
1777 --enable-iniconf use wxIniConfig
(Win32 only
)
1778 --enable-regkey use wxRegKey class
(Win32 only
)
1779 --enable-docview use document view architecture
1780 --enable-help use
help subsystem
1781 --enable-mshtmlhelp use MS HTML Help
(win32
)
1782 --enable-html use wxHTML sub
-library
1783 --enable-htmlhelp use wxHTML
-based help
1784 --enable-xrc use XRC resources sub
-library
1785 --enable-aui use AUI docking library
1786 --enable-propgrid use wxPropertyGrid library
1787 --enable-ribbon use wxRibbon library
1788 --enable-stc use wxStyledTextCtrl library
1789 --enable-constraints use layout
-constraints system
1790 --enable-loggui use standard GUI logger
1791 --enable-logwin use wxLogWindow
1792 --enable-logdialog use wxLogDialog
1793 --enable-mdi use multiple document interface architecture
1794 --enable-mdidoc use docview architecture with MDI
1795 --enable-mediactrl use wxMediaCtrl class
1796 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1797 --enable-webkit use wxWebKitCtrl
(Mac
)
1798 --enable-richtext use wxRichTextCtrl
1799 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1800 --enable-printarch use printing architecture
1801 --enable-svg use wxSVGFileDC device context
1802 --enable-graphics_ctx use graphics context
2D drawing API
1803 --enable-clipboard use wxClipboard class
1804 --enable-dnd use Drag
'n'Drop classes
1805 --enable-metafile use win32 metafiles
1806 --disable-controls disable compilation of all standard controls
1807 --enable-accel use accelerators
1808 --enable-animatectrl use wxAnimationCtrl class
1809 --enable-artstd use standard XPM icons
in wxArtProvider
1810 --enable-arttango use Tango icons
in wxArtProvider
1811 --enable-bmpbutton use wxBitmapButton class
1812 --enable-bmpcombobox use wxBitmapComboBox class
1813 --enable-button use wxButton class
1814 --enable-calendar use wxCalendarCtrl class
1815 --enable-caret use wxCaret class
1816 --enable-checkbox use wxCheckBox class
1817 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1818 --enable-choice use wxChoice class
1819 --enable-choicebook use wxChoicebook class
1820 --enable-collpane use wxCollapsiblePane class
1821 --enable-colourpicker use wxColourPickerCtrl class
1822 --enable-combobox use wxComboBox class
1823 --enable-comboctrl use wxComboCtrl class
1824 --enable-commandlinkbutton use wxCommmandLinkButton class
1825 --enable-dataviewctrl use wxDataViewCtrl class
1826 --enable-datepick use wxDatePickerCtrl class
1827 --enable-detect_sm use code to detect X11 session manager
1828 --enable-dirpicker use wxDirPickerCtrl class
1829 --enable-display use wxDisplay class
1830 --enable-editablebox use wxEditableListBox class
1831 --enable-filectrl use wxFileCtrl class
1832 --enable-filepicker use wxFilePickerCtrl class
1833 --enable-fontpicker use wxFontPickerCtrl class
1834 --enable-gauge use wxGauge class
1835 --enable-grid use wxGrid class
1836 --enable-headerctrl use wxHeaderCtrl class
1837 --enable-hyperlink use wxHyperlinkCtrl class
1838 --enable-imaglist use wxImageList class
1839 --enable-infobar use wxInfoBar class
1840 --enable-listbook use wxListbook class
1841 --enable-listbox use wxListBox class
1842 --enable-listctrl use wxListCtrl class
1843 --enable-notebook use wxNotebook class
1844 --enable-notifmsg use wxNotificationMessage class
1845 --enable-odcombobox use wxOwnerDrawnComboBox class
1846 --enable-popupwin use wxPopUpWindow class
1847 --enable-radiobox use wxRadioBox class
1848 --enable-radiobtn use wxRadioButton class
1849 --enable-richmsgdlg use wxRichMessageDialog class
1850 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
1851 --enable-sash use wxSashWindow class
1852 --enable-scrollbar use wxScrollBar class and scrollable windows
1853 --enable-searchctrl use wxSearchCtrl class
1854 --enable-slider use wxSlider class
1855 --enable-spinbtn use wxSpinButton class
1856 --enable-spinctrl use wxSpinCtrl class
1857 --enable-splitter use wxSplitterWindow class
1858 --enable-statbmp use wxStaticBitmap class
1859 --enable-statbox use wxStaticBox class
1860 --enable-statline use wxStaticLine class
1861 --enable-stattext use wxStaticText class
1862 --enable-statusbar use wxStatusBar class
1863 --enable-taskbaricon use wxTaskBarIcon class
1864 --enable-tbarnative use native wxToolBar class
1865 --enable-textctrl use wxTextCtrl class
1866 --enable-tipwindow use wxTipWindow class
1867 --enable-togglebtn use wxToggleButton class
1868 --enable-toolbar use wxToolBar class
1869 --enable-toolbook use wxToolbook class
1870 --enable-treebook use wxTreebook class
1871 --enable-treectrl use wxTreeCtrl class
1872 --enable-commondlg use all common dialogs
1873 --enable-aboutdlg use wxAboutBox
1874 --enable-choicedlg use wxChoiceDialog
1875 --enable-coldlg use wxColourDialog
1876 --enable-filedlg use wxFileDialog
1877 --enable-finddlg use wxFindReplaceDialog
1878 --enable-fontdlg use wxFontDialog
1879 --enable-dirdlg use wxDirDialog
1880 --enable-msgdlg use wxMessageDialog
1881 --enable-numberdlg use wxNumberEntryDialog
1882 --enable-splash use wxSplashScreen
1883 --enable-textdlg use wxTextDialog
1884 --enable-tipdlg use startup tips
1885 --enable-progressdlg use wxProgressDialog
1886 --enable-wizarddlg use wxWizard
1887 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1888 --enable-miniframe use wxMiniFrame class
1889 --enable-tooltips use wxToolTip class
1890 --enable-splines use spline drawing code
1891 --enable-mousewheel use mousewheel
1892 --enable-validators use wxValidator and derived classes
1893 --enable-busyinfo use wxBusyInfo
1894 --enable-joystick use wxJoystick
1895 --enable-metafiles use wxMetaFile
(Win32 only
)
1896 --enable-dragimage use wxDragImage
1897 --enable-accessibility enable accessibility support
1898 --enable-uiactionsim use wxUIActionSimulator
(experimental
)
1899 --enable-palette use wxPalette class
1900 --enable-image use wxImage class
1901 --enable-gif use gif images
(GIF
file format
)
1902 --enable-pcx use pcx images
(PCX
file format
)
1903 --enable-tga use tga images
(TGA
file format
)
1904 --enable-iff use iff images
(IFF
file format
)
1905 --enable-pnm use pnm images
(PNM
file format
)
1906 --enable-xpm use xpm images
(XPM
file format
)
1907 --enable-ico_cur use Windows ICO and CUR formats
1908 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1909 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1910 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1911 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1912 --enable-wxdib use wxDIB class
(Win32 only
)
1913 --enable-autoidman use automatic ids management
1914 --disable-largefile omit support
for large files
1915 --disable-gtktest do not try to compile and run a
test GTK
+ program
1916 --disable-gtktest Do not try to compile and run a
test GTK program
1917 --disable-sdltest Do not try to compile and run a
test SDL program
1918 --enable-omf use OMF object format
(OS
/2)
1919 --disable-dependency-tracking
1920 don
't use dependency tracking even if the compiler
1922 --disable-precomp-headers
1923 don't use precompiled headers even
if compiler can
1926 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1927 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1928 --without-subdirs don
't generate makefiles for samples/demos/...
1929 --with-flavour=NAME specify a name to identify this build
1930 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1931 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1932 --with-motif use Motif/Lesstif
1933 --with-osx_carbon use Mac OS X (Carbon)
1934 --with-osx_cocoa use Mac OS X (Cocoa)
1935 --with-osx_iphone use iPhone OS X port
1936 --with-osx use Mac OS X (default port, currently Carbon)
1937 --with-carbon same as --with-osx_carbon
1938 --with-cocoa same as --with-osx_cocoa
1939 --with-iphone same as --with-osx_iphone
1940 --with-mac same as --with-osx
1941 --with-old_cocoa use old, deprecated, Cocoa port
1942 --with-wine use Wine
1943 --with-msw use MS-Windows
1944 --with-pm use OS/2 Presentation Manager
1945 --with-mgl use SciTech MGL
1946 --with-directfb use DirectFB
1947 --with-microwin use MicroWindows
1949 --with-libpng use libpng (PNG image format)
1950 --with-libjpeg use libjpeg (JPEG file format)
1951 --with-libtiff use libtiff (TIFF file format)
1952 --with-libxpm use libxpm (XPM file format)
1953 --with-libiconv use libiconv (character conversion)
1954 --with-libmspack use libmspack (CHM help files loading)
1955 --without-gtkprint don't use GTK printing support
1956 --without-gnomeprint don
't use GNOME printing libraries
1957 --with-gnomevfs use GNOME VFS for associating MIME types
1958 --with-hildon use Hildon framework for Nokia 770/800/810
1959 --with-opengl use OpenGL (or Mesa)
1960 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1961 --with-sdl use SDL for audio on Unix
1962 --with-regex enable support for wxRegEx class
1963 --with-zlib use zlib for LZW compression
1964 --with-expat enable XML support using expat parser
1965 --with-macosx-sdk=PATH use an OS X SDK at PATH
1966 --with-macosx-version-min=VER build binaries which require at least this OS X version
1967 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1968 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1969 --with-x use the X Window System
1970 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1971 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1972 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1973 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1974 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1976 Some influential environment variables:
1977 CC C compiler command
1978 CFLAGS C compiler flags
1979 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1980 nonstandard directory <lib dir>
1981 LIBS libraries to pass to the linker, e.g. -l<library>
1982 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1983 you have headers in a nonstandard directory <include dir>
1985 CXX C++ compiler command
1986 CXXFLAGS C++ compiler flags
1987 CXXCPP C++ preprocessor
1988 PKG_CONFIG path to pkg-config utility
1990 C compiler flags for DIRECTFB, overriding pkg-config
1992 linker flags for DIRECTFB, overriding pkg-config
1993 XMKMF Path to xmkmf, Makefile generator for X Window System
1995 C compiler flags for PANGOX, overriding pkg-config
1996 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1998 C compiler flags for PANGOFT2, overriding pkg-config
2000 linker flags for PANGOFT2, overriding pkg-config
2002 C compiler flags for PANGOXFT, overriding pkg-config
2004 linker flags for PANGOXFT, overriding pkg-config
2006 C compiler flags for GTKPRINT, overriding pkg-config
2008 linker flags for GTKPRINT, overriding pkg-config
2009 LIBGNOMEPRINTUI_CFLAGS
2010 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2011 LIBGNOMEPRINTUI_LIBS
2012 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2014 C compiler flags for GNOMEVFS, overriding pkg-config
2016 linker flags for GNOMEVFS, overriding pkg-config
2018 C compiler flags for HILDON, overriding pkg-config
2019 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2021 C compiler flags for HILDON2, overriding pkg-config
2023 linker flags for HILDON2, overriding pkg-config
2025 C compiler flags for CAIRO, overriding pkg-config
2026 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2027 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2028 GST_LIBS linker flags for GST, overriding pkg-config
2030 Use these variables to override the choices made by `configure' or to
help
2031 it to
find libraries and programs with nonstandard names
/locations.
2033 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2038 if test "$ac_init_help" = "recursive"; then
2039 # If there are subdirs, report their specific --help.
2040 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2041 test -d "$ac_dir" || continue
2045 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2047 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2048 # A ".." for each directory in $ac_dir_suffix.
2049 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2050 case $ac_top_builddir_sub in
2051 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2052 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2055 ac_abs_top_builddir
=$ac_pwd
2056 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2057 # for backward compatibility:
2058 ac_top_builddir
=$ac_top_build_prefix
2061 .
) # We are building in place.
2063 ac_top_srcdir
=$ac_top_builddir_sub
2064 ac_abs_top_srcdir
=$ac_pwd ;;
2065 [\\/]* | ?
:[\\/]* ) # Absolute name.
2066 ac_srcdir
=$srcdir$ac_dir_suffix;
2067 ac_top_srcdir
=$srcdir
2068 ac_abs_top_srcdir
=$srcdir ;;
2070 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2071 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2072 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2074 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2076 cd "$ac_dir" || { ac_status
=$?
; continue; }
2077 # Check for guested configure.
2078 if test -f "$ac_srcdir/configure.gnu"; then
2080 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2081 elif test -f "$ac_srcdir/configure"; then
2083 $SHELL "$ac_srcdir/configure" --help=recursive
2085 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2087 cd "$ac_pwd" || { ac_status
=$?
; break; }
2091 test -n "$ac_init_help" && exit $ac_status
2092 if $ac_init_version; then
2094 wxWidgets configure
2.9.2
2095 generated by GNU Autoconf
2.61
2097 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2098 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2099 This configure
script is free software
; the Free Software Foundation
2100 gives unlimited permission to copy
, distribute and modify it.
2104 cat >config.log
<<_ACEOF
2105 This file contains any messages produced by compilers while
2106 running configure, to aid debugging if configure makes a mistake.
2108 It was created by wxWidgets $as_me 2.9.2, which was
2109 generated by GNU Autoconf 2.61. Invocation command line was
2121 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2122 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2123 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2124 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2125 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2127 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2128 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2130 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2131 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2132 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2133 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2134 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2135 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2136 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2144 test -z "$as_dir" && as_dir
=.
2145 echo "PATH: $as_dir"
2161 # Keep a trace of the command line.
2162 # Strip out --no-create and --no-recursion so they do not pile up.
2163 # Strip out --silent because we don't want to record it for future runs.
2164 # Also quote any args containing shell meta-characters.
2165 # Make two passes to allow for proper duplicate-argument suppression.
2169 ac_must_keep_next
=false
2175 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2176 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2177 | -silent | --silent | --silen | --sile | --sil)
2180 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2183 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2185 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2186 if test $ac_must_keep_next = true
; then
2187 ac_must_keep_next
=false
# Got value, back to normal.
2190 *=* | --config-cache | -C | -disable-* | --disable-* \
2191 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2192 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2193 | -with-* | --with-* | -without-* | --without-* | --x)
2194 case "$ac_configure_args0 " in
2195 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2198 -* ) ac_must_keep_next
=true
;;
2201 ac_configure_args
="$ac_configure_args '$ac_arg'"
2206 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2207 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2209 # When interrupted or exit'd, cleanup temporary files, and complete
2210 # config.log. We remove comments because anyway the quotes in there
2211 # would cause problems or look ugly.
2212 # WARNING: Use '\'' to represent an apostrophe within the trap.
2213 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2214 trap 'exit_status=$?
2215 # Save into config.log some information that might help in debugging.
2220 ## ---------------- ##
2221 ## Cache variables. ##
2222 ## ---------------- ##
2225 # The following way of writing the cache mishandles newlines in values,
2227 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2228 eval ac_val=\$$ac_var
2232 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2233 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2236 _ | IFS | as_nl) ;; #(
2237 *) $as_unset $ac_var ;;
2242 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2243 *${as_nl}ac_space=\ *)
2245 "s/'\''/'\''\\\\'\'''\''/g;
2246 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2249 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2257 ## ----------------- ##
2258 ## Output variables. ##
2259 ## ----------------- ##
2262 for ac_var in $ac_subst_vars
2264 eval ac_val=\$$ac_var
2266 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2268 echo "$ac_var='\''$ac_val'\''"
2272 if test -n "$ac_subst_files"; then
2274 ## ------------------- ##
2275 ## File substitutions. ##
2276 ## ------------------- ##
2279 for ac_var
in $ac_subst_files
2281 eval ac_val
=\$
$ac_var
2283 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2285 echo "$ac_var='\''$ac_val'\''"
2290 if test -s confdefs.h; then
2300 test "$ac_signal" != 0 &&
2301 echo "$as_me: caught signal $ac_signal"
2302 echo "$as_me: exit $exit_status"
2304 rm -f core *.core core.conftest.* &&
2305 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2308 for ac_signal
in 1 2 13 15; do
2309 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2313 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2314 rm -f -r conftest
* confdefs.h
2316 # Predefined preprocessor variables.
2318 cat >>confdefs.h
<<_ACEOF
2319 #define PACKAGE_NAME "$PACKAGE_NAME"
2323 cat >>confdefs.h
<<_ACEOF
2324 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2328 cat >>confdefs.h
<<_ACEOF
2329 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2333 cat >>confdefs.h
<<_ACEOF
2334 #define PACKAGE_STRING "$PACKAGE_STRING"
2338 cat >>confdefs.h
<<_ACEOF
2339 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2343 # Let the site file select an alternate cache file if it wants to.
2344 # Prefer explicitly selected file to automatically selected ones.
2345 if test -n "$CONFIG_SITE"; then
2346 set x
"$CONFIG_SITE"
2347 elif test "x$prefix" != xNONE
; then
2348 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2350 set x
"$ac_default_prefix/share/config.site" \
2351 "$ac_default_prefix/etc/config.site"
2356 if test -r "$ac_site_file"; then
2357 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2358 echo "$as_me: loading site script $ac_site_file" >&6;}
2359 sed 's/^/| /' "$ac_site_file" >&5
2364 if test -r "$cache_file"; then
2365 # Some versions of bash will fail to source /dev/null (special
2366 # files actually), so we avoid doing that.
2367 if test -f "$cache_file"; then
2368 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2369 echo "$as_me: loading cache $cache_file" >&6;}
2371 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2372 *) .
"./$cache_file";;
2376 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2377 echo "$as_me: creating cache $cache_file" >&6;}
2381 # Check that the precious variables saved in the cache have kept the same
2383 ac_cache_corrupted
=false
2384 for ac_var
in $ac_precious_vars; do
2385 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2386 eval ac_new_set
=\
$ac_env_${ac_var}_set
2387 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2388 eval ac_new_val
=\
$ac_env_${ac_var}_value
2389 case $ac_old_set,$ac_new_set in
2391 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2392 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2393 ac_cache_corrupted
=: ;;
2395 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2396 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2397 ac_cache_corrupted
=: ;;
2400 if test "x$ac_old_val" != "x$ac_new_val"; then
2401 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2402 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2403 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2404 echo "$as_me: former value: $ac_old_val" >&2;}
2405 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2406 echo "$as_me: current value: $ac_new_val" >&2;}
2407 ac_cache_corrupted
=:
2410 # Pass precious variables to config.status.
2411 if test "$ac_new_set" = set; then
2413 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2414 *) ac_arg
=$ac_var=$ac_new_val ;;
2416 case " $ac_configure_args " in
2417 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2418 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2422 if $ac_cache_corrupted; then
2423 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2424 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2425 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2426 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2427 { (exit 1); exit 1; }; }
2455 ac_cpp
='$CPP $CPPFLAGS'
2456 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2457 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2458 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2465 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2466 if test -f "$ac_dir/install-sh"; then
2468 ac_install_sh
="$ac_aux_dir/install-sh -c"
2470 elif test -f "$ac_dir/install.sh"; then
2472 ac_install_sh
="$ac_aux_dir/install.sh -c"
2474 elif test -f "$ac_dir/shtool"; then
2476 ac_install_sh
="$ac_aux_dir/shtool install -c"
2480 if test -z "$ac_aux_dir"; then
2481 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2482 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2483 { (exit 1); exit 1; }; }
2486 # These three variables are undocumented and unsupported,
2487 # and are intended to be withdrawn in a future Autoconf release.
2488 # They can cause serious problems if a builder's source tree is in a directory
2489 # whose full name contains unusual characters.
2490 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2491 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2492 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2495 # Make sure we can run config.sub.
2496 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2497 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2498 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2499 { (exit 1); exit 1; }; }
2501 { echo "$as_me:$LINENO: checking build system type" >&5
2502 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2503 if test "${ac_cv_build+set}" = set; then
2504 echo $ECHO_N "(cached) $ECHO_C" >&6
2506 ac_build_alias
=$build_alias
2507 test "x$ac_build_alias" = x
&&
2508 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2509 test "x$ac_build_alias" = x
&&
2510 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2511 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2512 { (exit 1); exit 1; }; }
2513 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2514 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2515 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2516 { (exit 1); exit 1; }; }
2519 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2520 echo "${ECHO_T}$ac_cv_build" >&6; }
2521 case $ac_cv_build in
2523 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2524 echo "$as_me: error: invalid value of canonical build" >&2;}
2525 { (exit 1); exit 1; }; };;
2528 ac_save_IFS
=$IFS; IFS
='-'
2534 # Remember, the first character of IFS is used to create $*,
2535 # except with old shells:
2538 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2541 { echo "$as_me:$LINENO: checking host system type" >&5
2542 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2543 if test "${ac_cv_host+set}" = set; then
2544 echo $ECHO_N "(cached) $ECHO_C" >&6
2546 if test "x$host_alias" = x
; then
2547 ac_cv_host
=$ac_cv_build
2549 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2550 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2551 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2552 { (exit 1); exit 1; }; }
2556 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2557 echo "${ECHO_T}$ac_cv_host" >&6; }
2560 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2561 echo "$as_me: error: invalid value of canonical host" >&2;}
2562 { (exit 1); exit 1; }; };;
2565 ac_save_IFS
=$IFS; IFS
='-'
2571 # Remember, the first character of IFS is used to create $*,
2572 # except with old shells:
2575 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2579 if test "$cross_compiling" != "no"; then
2580 HOST_PREFIX
="${host_alias}-"
2581 HOST_SUFFIX
="-$host_alias"
2588 wx_major_version_number
=2
2589 wx_minor_version_number
=9
2591 wx_subrelease_number
=0
2593 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2594 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2595 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2597 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2600 wx_top_builddir
="`pwd`"
2613 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2619 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2625 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2627 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2629 DEFAULT_wxUSE_OLD_COCOA
=0
2631 DEFAULT_wxUSE_OSX_CARBON
=0
2632 DEFAULT_wxUSE_OSX_COCOA
=0
2633 DEFAULT_wxUSE_OSX_IPHONE
=0
2635 DEFAULT_wxUSE_MICROWIN
=0
2636 DEFAULT_wxUSE_MOTIF
=0
2642 DEFAULT_DEFAULT_wxUSE_OLD_COCOA
=0
2643 DEFAULT_DEFAULT_wxUSE_GTK
=0
2644 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2645 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2646 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=0
2647 DEFAULT_DEFAULT_wxUSE_MGL
=0
2648 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2649 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2650 DEFAULT_DEFAULT_wxUSE_MSW
=0
2651 DEFAULT_DEFAULT_wxUSE_PM
=0
2652 DEFAULT_DEFAULT_wxUSE_X11
=0
2653 DEFAULT_DEFAULT_wxUSE_DFB
=0
2657 DYLIB_RPATH_INSTALL
=
2658 DYLIB_RPATH_POSTLINK
=
2660 DEFAULT_STD_FLAG
=yes
2665 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2666 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2667 cat >>confdefs.h
<<\_ACEOF
2672 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2676 cat >>confdefs.h
<<\_ACEOF
2681 if test "x$TMP" = "xalpha"; then
2683 cat >>confdefs.h
<<\_ACEOF
2688 DEFAULT_DEFAULT_wxUSE_GTK
=1
2690 *-*-gnu* | *-*-k*bsd
*-gnu )
2693 if test "x$TMP" = "xalpha"; then
2695 cat >>confdefs.h
<<\_ACEOF
2700 DEFAULT_DEFAULT_wxUSE_GTK
=1
2702 *-*-irix5* | *-*-irix6* )
2705 cat >>confdefs.h
<<\_ACEOF
2709 cat >>confdefs.h
<<\_ACEOF
2713 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2717 cat >>confdefs.h
<<\_ACEOF
2721 DEFAULT_DEFAULT_wxUSE_X11
=1
2727 cat >>confdefs.h
<<\_ACEOF
2731 cat >>confdefs.h
<<\_ACEOF
2732 #define __SOLARIS__ 1
2735 cat >>confdefs.h
<<\_ACEOF
2739 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2740 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2746 cat >>confdefs.h
<<\_ACEOF
2750 cat >>confdefs.h
<<\_ACEOF
2754 cat >>confdefs.h
<<\_ACEOF
2758 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2763 cat >>confdefs.h
<<\_ACEOF
2764 #define __FREEBSD__ 1
2767 cat >>confdefs.h
<<\_ACEOF
2771 DEFAULT_DEFAULT_wxUSE_GTK
=1
2773 *-*-openbsd*|*-*-mirbsd*)
2776 cat >>confdefs.h
<<\_ACEOF
2777 #define __OPENBSD__ 1
2780 cat >>confdefs.h
<<\_ACEOF
2784 DEFAULT_DEFAULT_wxUSE_GTK
=1
2789 cat >>confdefs.h
<<\_ACEOF
2790 #define __NETBSD__ 1
2793 cat >>confdefs.h
<<\_ACEOF
2797 DEFAULT_DEFAULT_wxUSE_GTK
=1
2798 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2800 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2805 cat >>confdefs.h
<<\_ACEOF
2809 cat >>confdefs.h
<<\_ACEOF
2813 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2814 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2819 cat >>confdefs.h
<<\_ACEOF
2823 cat >>confdefs.h
<<\_ACEOF
2827 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2832 cat >>confdefs.h
<<\_ACEOF
2836 cat >>confdefs.h
<<\_ACEOF
2840 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2846 cat >>confdefs.h
<<\_ACEOF
2850 cat >>confdefs.h
<<\_ACEOF
2854 cat >>confdefs.h
<<\_ACEOF
2858 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2865 cat >>confdefs.h
<<\_ACEOF
2866 #define __UNIXWARE__ 1
2871 *-*-cygwin* | *-*-mingw32* )
2873 DEFAULT_DEFAULT_wxUSE_MSW
=1
2879 cat >>confdefs.h
<<\_ACEOF
2884 DEFAULT_DEFAULT_wxUSE_MGL
=1
2887 *-pc-os2_emx | *-pc-os2-emx )
2888 cat >>confdefs.h
<<\_ACEOF
2893 cat >>confdefs.h
<<\_ACEOF
2898 DEFAULT_DEFAULT_wxUSE_PM
=1
2900 LDFLAGS
="$LDFLAGS -Zcrtdll"
2901 ac_executable_extensions
=".exe"
2902 export ac_executable_extensions
2906 for ac_dir
in $PATH; do
2908 if test -z "$ac_TEMP_PATH"; then
2909 ac_TEMP_PATH
="$ac_dir"
2911 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2914 export PATH
="$ac_TEMP_PATH"
2922 cat >>confdefs.h
<<\_ACEOF
2926 cat >>confdefs.h
<<\_ACEOF
2927 #define __DARWIN__ 1
2930 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=1
2936 cat >>confdefs.h
<<\_ACEOF
2940 cat >>confdefs.h
<<\_ACEOF
2941 #define __DARWIN__ 1
2944 cat >>confdefs.h
<<\_ACEOF
2945 #define TARGET_CARBON 1
2948 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2953 cat >>confdefs.h
<<\_ACEOF
2960 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2961 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2962 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2963 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2965 DEFAULT_DEFAULT_wxUSE_X11
=1
2966 DEFAULT_wxUSE_SHARED
=no
2971 DEFAULT_wxUSE_ALL_FEATURES
=yes
2973 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2974 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2976 DEFAULT_wxUSE_DMALLOC
=no
2977 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2978 DEFAULT_wxUSE_LIBHILDON
=no
2979 DEFAULT_wxUSE_LIBHILDON2
=no
2980 DEFAULT_wxUSE_LIBMSPACK
=no
2981 DEFAULT_wxUSE_LIBSDL
=no
2983 DEFAULT_wxUSE_ACCESSIBILITY
=no
2984 DEFAULT_wxUSE_IPV6
=no
2985 DEFAULT_wxUSE_GSTREAMER8
=no
2987 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=auto
2988 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2989 DEFAULT_wxUSE_OPENGL
=auto
2990 DEFAULT_wxUSE_MEDIACTRL
=auto
2991 DEFAULT_wxUSE_COMPILER_TLS
=auto
2993 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2995 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2996 DEFAULT_wxUSE_MAC_ARCH
=no
2998 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
3000 DEFAULT_wxUSE_GTK2
=yes
3002 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
3008 enablestring
=disable
3010 if test -z "$defaultval"; then
3011 if test x
"$enablestring" = xdisable
; then
3018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3019 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3020 # Check whether --enable-gui was given.
3021 if test "${enable_gui+set}" = set; then
3022 enableval
=$enable_gui;
3023 if test "$enableval" = yes; then
3024 wx_cv_use_gui
='wxUSE_GUI=yes'
3026 wx_cv_use_gui
='wxUSE_GUI=no'
3031 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3036 eval "$wx_cv_use_gui"
3038 if test x"$enablestring" = xdisable; then
3039 if test $wxUSE_GUI = no; then
3048 { echo "$as_me:$LINENO: result: $result" >&5
3049 echo "${ECHO_T}$result" >&6; }
3054 if test -z "$defaultval"; then
3055 if test x"$enablestring" = xdisable; then
3062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3063 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3064 # Check whether --enable-monolithic was given.
3065 if test "${enable_monolithic+set}" = set; then
3066 enableval=$enable_monolithic;
3067 if test "$enableval" = yes; then
3068 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3070 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3075 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3080 eval "$wx_cv_use_monolithic"
3082 if test x"$enablestring" = xdisable; then
3083 if test $wxUSE_MONOLITHIC = no; then
3089 result=$wxUSE_MONOLITHIC
3092 { echo "$as_me:$LINENO: result
: $result" >&5
3093 echo "${ECHO_T}$result" >&6; }
3098 if test -z "$defaultval"; then
3099 if test x"$enablestring" = xdisable; then
3106 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3107 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3108 # Check whether --enable-plugins was given.
3109 if test "${enable_plugins+set}" = set; then
3110 enableval=$enable_plugins;
3111 if test "$enableval" = yes; then
3112 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3114 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3119 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3124 eval "$wx_cv_use_plugins"
3126 if test x
"$enablestring" = xdisable
; then
3127 if test $wxUSE_PLUGINS = no
; then
3133 result
=$wxUSE_PLUGINS
3136 { echo "$as_me:$LINENO: result: $result" >&5
3137 echo "${ECHO_T}$result" >&6; }
3141 defaultval
=$wxUSE_ALL_FEATURES
3142 if test -z "$defaultval"; then
3143 if test x
"$withstring" = xwithout
; then
3149 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3150 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3152 # Check whether --with-subdirs was given.
3153 if test "${with_subdirs+set}" = set; then
3154 withval
=$with_subdirs;
3155 if test "$withval" = yes; then
3156 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3158 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3163 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3168 eval "$wx_cv_use_subdirs"
3170 if test x"$withstring" = xwithout; then
3171 if test $wxWITH_SUBDIRS = yes; then
3177 result=$wxWITH_SUBDIRS
3180 { echo "$as_me:$LINENO: result: $result" >&5
3181 echo "${ECHO_T}$result" >&6; }
3184 # Check whether --with-flavour was given.
3185 if test "${with_flavour+set}" = set; then
3186 withval=$with_flavour; WX_FLAVOUR="$withval"
3192 if test -z "$defaultval"; then
3193 if test x"$enablestring" = xdisable; then
3200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3201 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3202 # Check whether --enable-official_build was given.
3203 if test "${enable_official_build+set}" = set; then
3204 enableval=$enable_official_build;
3205 if test "$enableval" = yes; then
3206 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3208 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3213 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3218 eval "$wx_cv_use_official_build"
3220 if test x"$enablestring" = xdisable; then
3221 if test $wxUSE_OFFICIAL_BUILD = no; then
3227 result=$wxUSE_OFFICIAL_BUILD
3230 { echo "$as_me:$LINENO: result
: $result" >&5
3231 echo "${ECHO_T}$result" >&6; }
3233 # Check whether --enable-vendor was given.
3234 if test "${enable_vendor+set}" = set; then
3235 enableval=$enable_vendor; VENDOR="$enableval"
3238 if test "x
$VENDOR" = "x
"; then
3243 enablestring=disable
3245 if test -z "$defaultval"; then
3246 if test x"$enablestring" = xdisable; then
3253 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3254 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3255 # Check whether --enable-all-features was given.
3256 if test "${enable_all_features+set}" = set; then
3257 enableval=$enable_all_features;
3258 if test "$enableval" = yes; then
3259 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3261 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3266 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3271 eval "$wx_cv_use_all_features"
3273 if test x
"$enablestring" = xdisable
; then
3274 if test $wxUSE_ALL_FEATURES = no
; then
3280 result
=$wxUSE_ALL_FEATURES
3283 { echo "$as_me:$LINENO: result: $result" >&5
3284 echo "${ECHO_T}$result" >&6; }
3287 if test "$wxUSE_ALL_FEATURES" = "no"; then
3288 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=no
3289 DEFAULT_wxUSE_MEDIACTRL
=no
3293 if test "$wxUSE_GUI" = "yes"; then
3298 if test -z "$defaultval"; then
3299 if test x
"$enablestring" = xdisable
; then
3306 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3307 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3308 # Check whether --enable-universal was given.
3309 if test "${enable_universal+set}" = set; then
3310 enableval
=$enable_universal;
3311 if test "$enableval" = yes; then
3312 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3314 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3319 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3324 eval "$wx_cv_use_universal"
3326 if test x"$enablestring" = xdisable; then
3327 if test $wxUSE_UNIVERSAL = no; then
3333 result=$wxUSE_UNIVERSAL
3336 { echo "$as_me:$LINENO: result: $result" >&5
3337 echo "${ECHO_T}$result" >&6; }
3339 if test "$wxUSE_UNIVERSAL" = "yes"; then
3341 # Check whether --with-themes was given.
3342 if test "${with_themes+set}" = set; then
3343 withval=$with_themes; wxUNIV_THEMES="$withval"
3349 # Check whether --with-gtk was given.
3350 if test "${with_gtk+set}" = set; then
3351 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3355 # Check whether --with-motif was given.
3356 if test "${with_motif+set}" = set; then
3357 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3361 # Check whether --with-osx_carbon was given.
3362 if test "${with_osx_carbon+set}" = set; then
3363 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3367 # Check whether --with-osx_cocoa was given.
3368 if test "${with_osx_cocoa+set}" = set; then
3369 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3373 # Check whether --with-osx_iphone was given.
3374 if test "${with_osx_iphone+set}" = set; then
3375 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3379 # Check whether --with-osx was given.
3380 if test "${with_osx+set}" = set; then
3381 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3385 # Check whether --with-carbon was given.
3386 if test "${with_carbon+set}" = set; then
3387 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3391 # Check whether --with-cocoa was given.
3392 if test "${with_cocoa+set}" = set; then
3393 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3397 # Check whether --with-iphone was given.
3398 if test "${with_iphone+set}" = set; then
3399 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3403 # Check whether --with-mac was given.
3404 if test "${with_mac+set}" = set; then
3405 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3409 # Check whether --with-old_cocoa was given.
3410 if test "${with_old_cocoa+set}" = set; then
3411 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3415 # Check whether --with-wine was given.
3416 if test "${with_wine+set}" = set; then
3417 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3421 # Check whether --with-msw was given.
3422 if test "${with_msw+set}" = set; then
3423 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3427 # Check whether --with-pm was given.
3428 if test "${with_pm+set}" = set; then
3429 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3433 # Check whether --with-mgl was given.
3434 if test "${with_mgl+set}" = set; then
3435 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3439 # Check whether --with-directfb was given.
3440 if test "${with_directfb+set}" = set; then
3441 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3445 # Check whether --with-microwin was given.
3446 if test "${with_microwin+set}" = set; then
3447 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3451 # Check whether --with-x11 was given.
3452 if test "${with_x11+set}" = set; then
3453 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3459 if test -z "$defaultval"; then
3460 if test x"$enablestring" = xdisable; then
3467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3468 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3469 # Check whether --enable-nanox was given.
3470 if test "${enable_nanox+set}" = set; then
3471 enableval=$enable_nanox;
3472 if test "$enableval" = yes; then
3473 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3475 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3480 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3485 eval "$wx_cv_use_nanox"
3487 if test x"$enablestring" = xdisable; then
3488 if test $wxUSE_NANOX = no; then
3497 { echo "$as_me:$LINENO: result
: $result" >&5
3498 echo "${ECHO_T}$result" >&6; }
3501 # Check whether --enable-gtk2 was given.
3502 if test "${enable_gtk2+set}" = set; then
3503 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3509 if test -z "$defaultval"; then
3510 if test x"$enablestring" = xdisable; then
3517 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3518 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3519 # Check whether --enable-gpe was given.
3520 if test "${enable_gpe+set}" = set; then
3521 enableval=$enable_gpe;
3522 if test "$enableval" = yes; then
3523 wx_cv_use_gpe='wxUSE_GPE=yes'
3525 wx_cv_use_gpe='wxUSE_GPE=no'
3530 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3535 eval "$wx_cv_use_gpe"
3537 if test x
"$enablestring" = xdisable
; then
3538 if test $wxUSE_GPE = no
; then
3547 { echo "$as_me:$LINENO: result: $result" >&5
3548 echo "${ECHO_T}$result" >&6; }
3552 { echo "$as_me:$LINENO: checking for toolkit" >&5
3553 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3557 # In Wine, we need to default to MSW, not GTK or MOTIF
3558 if test "$wxUSE_WINE" = "yes"; then
3559 DEFAULT_DEFAULT_wxUSE_GTK
=0
3560 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3561 DEFAULT_DEFAULT_wxUSE_MSW
=1
3568 if test "$wxUSE_GUI" = "yes"; then
3570 if test "$USE_BEOS" = 1; then
3571 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3572 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3573 { (exit 1); exit 1; }; }
3576 if test "$TOOLKIT_GIVEN" = 1; then
3577 for toolkit
in $ALL_TOOLKITS; do
3579 eval "value=\$${var}"
3580 if test "x$value" = "xno"; then
3582 elif test "x$value" != "x"; then
3586 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3587 eval "wx${toolkit}_VERSION=$value"
3591 for toolkit
in $ALL_TOOLKITS; do
3592 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3593 eval "wxUSE_$toolkit=\$${var}"
3597 NUM_TOOLKITS
=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3598 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3599 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3602 *-pc-os2_emx | *-pc-os2-emx )
3603 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3606 case "$NUM_TOOLKITS" in
3610 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3611 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3612 { (exit 1); exit 1; }; }
3615 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3616 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3617 { (exit 1); exit 1; }; }
3620 # to be removed when --disable-gtk2 isn't needed
3621 if test "x$wxUSE_GTK2" = "xyes"; then
3624 elif test "x$wxUSE_GTK2" = "xno"; then
3629 for toolkit
in $ALL_TOOLKITS; do
3631 eval "value=\$${var}"
3632 if test "$value" = 1; then
3633 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3634 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3635 echo "${ECHO_T}$toolkit_echo" >&6; }
3639 if test "x$host_alias" != "x"; then
3640 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3641 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3643 { echo "$as_me:$LINENO: result: base only" >&5
3644 echo "${ECHO_T}base only" >&6; }
3649 if test "$wxUSE_OSX_CARBON" = 1 \
3650 -o "$wxUSE_OSX_COCOA" = 1 \
3651 -o "$wxUSE_OSX_IPHONE" = 1; then
3657 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3658 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3660 # Check whether --with-libpng was given.
3661 if test "${with_libpng+set}" = set; then
3662 withval
=$with_libpng;
3663 if test "$withval" = yes; then
3664 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3665 elif test "$withval" = no
; then
3666 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3667 elif test "$withval" = sys
; then
3668 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3669 elif test "$withval" = builtin; then
3670 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3672 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3673 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3674 { (exit 1); exit 1; }; }
3679 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3684 eval "$wx_cv_use_libpng"
3686 if test "$wxUSE_LIBPNG" = yes; then
3687 { echo "$as_me:$LINENO: result: yes" >&5
3688 echo "${ECHO_T}yes" >&6; }
3689 elif test "$wxUSE_LIBPNG" = no; then
3690 { echo "$as_me:$LINENO: result: no" >&5
3691 echo "${ECHO_T}no" >&6; }
3692 elif test "$wxUSE_LIBPNG" = sys; then
3693 { echo "$as_me:$LINENO: result: system version" >&5
3694 echo "${ECHO_T}system version" >&6; }
3695 elif test "$wxUSE_LIBPNG" = builtin; then
3696 { echo "$as_me:$LINENO: result: builtin version" >&5
3697 echo "${ECHO_T}builtin version" >&6; }
3699 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3700 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3701 { (exit 1); exit 1; }; }
3705 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3706 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3708 # Check whether --with-libjpeg was given.
3709 if test "${with_libjpeg+set}" = set; then
3710 withval=$with_libjpeg;
3711 if test "$withval" = yes; then
3712 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3713 elif test "$withval" = no; then
3714 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3715 elif test "$withval" = sys; then
3716 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3717 elif test "$withval" = builtin; then
3718 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3720 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3721 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3722 { (exit 1); exit 1; }; }
3727 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3732 eval "$wx_cv_use_libjpeg"
3734 if test "$wxUSE_LIBJPEG" = yes; then
3735 { echo "$as_me:$LINENO: result
: yes" >&5
3736 echo "${ECHO_T}yes" >&6; }
3737 elif test "$wxUSE_LIBJPEG" = no; then
3738 { echo "$as_me:$LINENO: result
: no
" >&5
3739 echo "${ECHO_T}no
" >&6; }
3740 elif test "$wxUSE_LIBJPEG" = sys; then
3741 { echo "$as_me:$LINENO: result
: system version
" >&5
3742 echo "${ECHO_T}system version
" >&6; }
3743 elif test "$wxUSE_LIBJPEG" = builtin; then
3744 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3745 echo "${ECHO_T}builtin version
" >&6; }
3747 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3748 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3749 { (exit 1); exit 1; }; }
3753 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3754 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3756 # Check whether --with-libtiff was given.
3757 if test "${with_libtiff+set}" = set; then
3758 withval=$with_libtiff;
3759 if test "$withval" = yes; then
3760 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3761 elif test "$withval" = no; then
3762 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3763 elif test "$withval" = sys; then
3764 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3765 elif test "$withval" = builtin; then
3766 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3768 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3769 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3770 { (exit 1); exit 1; }; }
3775 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3780 eval "$wx_cv_use_libtiff"
3782 if test "$wxUSE_LIBTIFF" = yes; then
3783 { echo "$as_me:$LINENO: result: yes" >&5
3784 echo "${ECHO_T}yes" >&6; }
3785 elif test "$wxUSE_LIBTIFF" = no
; then
3786 { echo "$as_me:$LINENO: result: no" >&5
3787 echo "${ECHO_T}no" >&6; }
3788 elif test "$wxUSE_LIBTIFF" = sys
; then
3789 { echo "$as_me:$LINENO: result: system version" >&5
3790 echo "${ECHO_T}system version" >&6; }
3791 elif test "$wxUSE_LIBTIFF" = builtin; then
3792 { echo "$as_me:$LINENO: result: builtin version" >&5
3793 echo "${ECHO_T}builtin version" >&6; }
3795 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3796 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3797 { (exit 1); exit 1; }; }
3801 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3802 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3804 # Check whether --with-libxpm was given.
3805 if test "${with_libxpm+set}" = set; then
3806 withval
=$with_libxpm;
3807 if test "$withval" = yes; then
3808 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3809 elif test "$withval" = no
; then
3810 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3811 elif test "$withval" = sys
; then
3812 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3813 elif test "$withval" = builtin; then
3814 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3816 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3817 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3818 { (exit 1); exit 1; }; }
3823 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3828 eval "$wx_cv_use_libxpm"
3830 if test "$wxUSE_LIBXPM" = yes; then
3831 { echo "$as_me:$LINENO: result: yes" >&5
3832 echo "${ECHO_T}yes" >&6; }
3833 elif test "$wxUSE_LIBXPM" = no; then
3834 { echo "$as_me:$LINENO: result: no" >&5
3835 echo "${ECHO_T}no" >&6; }
3836 elif test "$wxUSE_LIBXPM" = sys; then
3837 { echo "$as_me:$LINENO: result: system version" >&5
3838 echo "${ECHO_T}system version" >&6; }
3839 elif test "$wxUSE_LIBXPM" = builtin; then
3840 { echo "$as_me:$LINENO: result: builtin version" >&5
3841 echo "${ECHO_T}builtin version" >&6; }
3843 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3844 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3845 { (exit 1); exit 1; }; }
3850 defaultval=$wxUSE_ALL_FEATURES
3851 if test -z "$defaultval"; then
3852 if test x"$withstring" = xwithout; then
3858 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3859 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3861 # Check whether --with-libiconv was given.
3862 if test "${with_libiconv+set}" = set; then
3863 withval=$with_libiconv;
3864 if test "$withval" = yes; then
3865 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3867 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3872 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3877 eval "$wx_cv_use_libiconv"
3879 if test x"$withstring" = xwithout; then
3880 if test $wxUSE_LIBICONV = yes; then
3886 result=$wxUSE_LIBICONV
3889 { echo "$as_me:$LINENO: result
: $result" >&5
3890 echo "${ECHO_T}$result" >&6; }
3894 defaultval=$wxUSE_ALL_FEATURES
3895 if test -z "$defaultval"; then
3896 if test x"$withstring" = xwithout; then
3902 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3903 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3905 # Check whether --with-libmspack was given.
3906 if test "${with_libmspack+set}" = set; then
3907 withval=$with_libmspack;
3908 if test "$withval" = yes; then
3909 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3911 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3916 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3921 eval "$wx_cv_use_libmspack"
3923 if test x
"$withstring" = xwithout
; then
3924 if test $wxUSE_LIBMSPACK = yes; then
3930 result
=$wxUSE_LIBMSPACK
3933 { echo "$as_me:$LINENO: result: $result" >&5
3934 echo "${ECHO_T}$result" >&6; }
3938 defaultval
=$wxUSE_ALL_FEATURES
3939 if test -z "$defaultval"; then
3940 if test x
"$withstring" = xwithout
; then
3946 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3947 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3949 # Check whether --with-gtkprint was given.
3950 if test "${with_gtkprint+set}" = set; then
3951 withval
=$with_gtkprint;
3952 if test "$withval" = yes; then
3953 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3955 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3960 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3965 eval "$wx_cv_use_gtkprint"
3967 if test x"$withstring" = xwithout; then
3968 if test $wxUSE_GTKPRINT = yes; then
3974 result=$wxUSE_GTKPRINT
3977 { echo "$as_me:$LINENO: result: $result" >&5
3978 echo "${ECHO_T}$result" >&6; }
3982 defaultval=$wxUSE_ALL_FEATURES
3983 if test -z "$defaultval"; then
3984 if test x"$withstring" = xwithout; then
3990 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3991 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3993 # Check whether --with-gnomeprint was given.
3994 if test "${with_gnomeprint+set}" = set; then
3995 withval=$with_gnomeprint;
3996 if test "$withval" = yes; then
3997 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3999 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
4004 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4009 eval "$wx_cv_use_gnomeprint"
4011 if test x"$withstring" = xwithout; then
4012 if test $wxUSE_LIBGNOMEPRINT = yes; then
4018 result=$wxUSE_LIBGNOMEPRINT
4021 { echo "$as_me:$LINENO: result
: $result" >&5
4022 echo "${ECHO_T}$result" >&6; }
4026 defaultval=$wxUSE_ALL_FEATURES
4027 if test -z "$defaultval"; then
4028 if test x"$withstring" = xwithout; then
4034 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
4035 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
4037 # Check whether --with-gnomevfs was given.
4038 if test "${with_gnomevfs+set}" = set; then
4039 withval=$with_gnomevfs;
4040 if test "$withval" = yes; then
4041 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4043 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4048 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4053 eval "$wx_cv_use_gnomevfs"
4055 if test x
"$withstring" = xwithout
; then
4056 if test $wxUSE_LIBGNOMEVFS = yes; then
4062 result
=$wxUSE_LIBGNOMEVFS
4065 { echo "$as_me:$LINENO: result: $result" >&5
4066 echo "${ECHO_T}$result" >&6; }
4070 defaultval
=$wxUSE_ALL_FEATURES
4071 if test -z "$defaultval"; then
4072 if test x
"$withstring" = xwithout
; then
4078 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4079 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4081 # Check whether --with-hildon was given.
4082 if test "${with_hildon+set}" = set; then
4083 withval
=$with_hildon;
4084 if test "$withval" = yes; then
4085 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
4087 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
4092 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4097 eval "$wx_cv_use_hildon"
4099 if test x"$withstring" = xwithout; then
4100 if test $wxUSE_LIBHILDON = yes; then
4106 result=$wxUSE_LIBHILDON
4109 { echo "$as_me:$LINENO: result: $result" >&5
4110 echo "${ECHO_T}$result" >&6; }
4114 defaultval=$wxUSE_ALL_FEATURES
4115 if test -z "$defaultval"; then
4116 if test x"$withstring" = xwithout; then
4122 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4123 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4125 # Check whether --with-opengl was given.
4126 if test "${with_opengl+set}" = set; then
4127 withval=$with_opengl;
4128 if test "$withval" = yes; then
4129 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4131 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4136 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4141 eval "$wx_cv_use_opengl"
4143 if test x"$withstring" = xwithout; then
4144 if test $wxUSE_OPENGL = yes; then
4150 result=$wxUSE_OPENGL
4153 { echo "$as_me:$LINENO: result
: $result" >&5
4154 echo "${ECHO_T}$result" >&6; }
4161 defaultval=$wxUSE_ALL_FEATURES
4162 if test -z "$defaultval"; then
4163 if test x"$withstring" = xwithout; then
4169 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4170 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4172 # Check whether --with-dmalloc was given.
4173 if test "${with_dmalloc+set}" = set; then
4174 withval=$with_dmalloc;
4175 if test "$withval" = yes; then
4176 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4178 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4183 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4188 eval "$wx_cv_use_dmalloc"
4190 if test x
"$withstring" = xwithout
; then
4191 if test $wxUSE_DMALLOC = yes; then
4197 result
=$wxUSE_DMALLOC
4200 { echo "$as_me:$LINENO: result: $result" >&5
4201 echo "${ECHO_T}$result" >&6; }
4205 defaultval
=$wxUSE_ALL_FEATURES
4206 if test -z "$defaultval"; then
4207 if test x
"$withstring" = xwithout
; then
4213 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4214 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4216 # Check whether --with-sdl was given.
4217 if test "${with_sdl+set}" = set; then
4219 if test "$withval" = yes; then
4220 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4222 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4227 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4232 eval "$wx_cv_use_sdl"
4234 if test x"$withstring" = xwithout; then
4235 if test $wxUSE_LIBSDL = yes; then
4241 result=$wxUSE_LIBSDL
4244 { echo "$as_me:$LINENO: result: $result" >&5
4245 echo "${ECHO_T}$result" >&6; }
4248 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4249 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4251 # Check whether --with-regex was given.
4252 if test "${with_regex+set}" = set; then
4253 withval=$with_regex;
4254 if test "$withval" = yes; then
4255 wx_cv_use_regex='wxUSE_REGEX
=yes'
4256 elif test "$withval" = no; then
4257 wx_cv_use_regex='wxUSE_REGEX
=no
'
4258 elif test "$withval" = sys; then
4259 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4260 elif test "$withval" = builtin; then
4261 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4263 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4264 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4265 { (exit 1); exit 1; }; }
4270 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4275 eval "$wx_cv_use_regex"
4277 if test "$wxUSE_REGEX" = yes; then
4278 { echo "$as_me:$LINENO: result
: yes" >&5
4279 echo "${ECHO_T}yes" >&6; }
4280 elif test "$wxUSE_REGEX" = no; then
4281 { echo "$as_me:$LINENO: result
: no
" >&5
4282 echo "${ECHO_T}no
" >&6; }
4283 elif test "$wxUSE_REGEX" = sys; then
4284 { echo "$as_me:$LINENO: result
: system version
" >&5
4285 echo "${ECHO_T}system version
" >&6; }
4286 elif test "$wxUSE_REGEX" = builtin; then
4287 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4288 echo "${ECHO_T}builtin version
" >&6; }
4290 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4291 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4292 { (exit 1); exit 1; }; }
4296 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4297 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4299 # Check whether --with-zlib was given.
4300 if test "${with_zlib+set}" = set; then
4302 if test "$withval" = yes; then
4303 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4304 elif test "$withval" = no; then
4305 wx_cv_use_zlib='wxUSE_ZLIB=no'
4306 elif test "$withval" = sys; then
4307 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4308 elif test "$withval" = builtin; then
4309 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4311 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4312 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4313 { (exit 1); exit 1; }; }
4318 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4323 eval "$wx_cv_use_zlib"
4325 if test "$wxUSE_ZLIB" = yes; then
4326 { echo "$as_me:$LINENO: result: yes" >&5
4327 echo "${ECHO_T}yes" >&6; }
4328 elif test "$wxUSE_ZLIB" = no
; then
4329 { echo "$as_me:$LINENO: result: no" >&5
4330 echo "${ECHO_T}no" >&6; }
4331 elif test "$wxUSE_ZLIB" = sys
; then
4332 { echo "$as_me:$LINENO: result: system version" >&5
4333 echo "${ECHO_T}system version" >&6; }
4334 elif test "$wxUSE_ZLIB" = builtin; then
4335 { echo "$as_me:$LINENO: result: builtin version" >&5
4336 echo "${ECHO_T}builtin version" >&6; }
4338 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4339 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4340 { (exit 1); exit 1; }; }
4344 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4345 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4347 # Check whether --with-expat was given.
4348 if test "${with_expat+set}" = set; then
4349 withval
=$with_expat;
4350 if test "$withval" = yes; then
4351 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4352 elif test "$withval" = no
; then
4353 wx_cv_use_expat
='wxUSE_EXPAT=no'
4354 elif test "$withval" = sys
; then
4355 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4356 elif test "$withval" = builtin; then
4357 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4359 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4360 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4361 { (exit 1); exit 1; }; }
4366 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4371 eval "$wx_cv_use_expat"
4373 if test "$wxUSE_EXPAT" = yes; then
4374 { echo "$as_me:$LINENO: result: yes" >&5
4375 echo "${ECHO_T}yes" >&6; }
4376 elif test "$wxUSE_EXPAT" = no; then
4377 { echo "$as_me:$LINENO: result: no" >&5
4378 echo "${ECHO_T}no" >&6; }
4379 elif test "$wxUSE_EXPAT" = sys; then
4380 { echo "$as_me:$LINENO: result: system version" >&5
4381 echo "${ECHO_T}system version" >&6; }
4382 elif test "$wxUSE_EXPAT" = builtin; then
4383 { echo "$as_me:$LINENO: result: builtin version" >&5
4384 echo "${ECHO_T}builtin version" >&6; }
4386 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4387 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4388 { (exit 1); exit 1; }; }
4392 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4393 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4395 # Check whether --with-macosx-sdk was given.
4396 if test "${with_macosx_sdk+set}" = set; then
4397 withval=$with_macosx_sdk;
4398 wxUSE_MACOSX_SDK=$withval
4399 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4403 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4404 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4406 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4407 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4409 # Check whether --with-macosx-version-min was given.
4410 if test "${with_macosx_version_min+set}" = set; then
4411 withval=$with_macosx_version_min;
4412 wxUSE_MACOSX_VERSION_MIN=$withval
4413 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4417 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4418 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4421 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4422 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4423 # Check whether --enable-debug was given.
4424 if test "${enable_debug+set}" = set; then
4425 enableval=$enable_debug;
4426 if test "$enableval" = yes; then
4428 elif test "$enableval" = no; then
4430 elif test "$enableval" = max; then
4432 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4434 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4435 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4436 { (exit 1); exit 1; }; }
4445 case "$wxUSE_DEBUG" in
4447 DEFAULT_wxUSE_DEBUG_FLAG=yes
4448 DEFAULT_wxUSE_DEBUG_INFO=yes
4450 DEFAULT_wxUSE_OPTIMISE=no
4454 DEFAULT_wxUSE_DEBUG_FLAG=no
4455 DEFAULT_wxUSE_DEBUG_INFO=no
4459 DEFAULT_wxUSE_DEBUG_FLAG=yes
4460 DEFAULT_wxUSE_DEBUG_INFO=no
4465 enablestring=disable
4467 if test -z "$defaultval"; then
4468 if test x"$enablestring" = xdisable; then
4475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4476 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4477 # Check whether --enable-debug_flag was given.
4478 if test "${enable_debug_flag+set}" = set; then
4479 enableval=$enable_debug_flag;
4480 if test "$enableval" = yes; then
4481 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
4483 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
4488 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4493 eval "$wx_cv_use_debug_flag"
4495 if test x"$enablestring" = xdisable; then
4496 if test $wxUSE_DEBUG_FLAG = no; then
4502 result=$wxUSE_DEBUG_FLAG
4505 { echo "$as_me:$LINENO: result
: $result" >&5
4506 echo "${ECHO_T}$result" >&6; }
4511 if test -z "$defaultval"; then
4512 if test x"$enablestring" = xdisable; then
4519 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_info" >&5
4520 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_info...
$ECHO_C" >&6; }
4521 # Check whether --enable-debug_info was given.
4522 if test "${enable_debug_info+set}" = set; then
4523 enableval=$enable_debug_info;
4524 if test "$enableval" = yes; then
4525 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4527 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4532 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4537 eval "$wx_cv_use_debug_info"
4539 if test x
"$enablestring" = xdisable
; then
4540 if test $wxUSE_DEBUG_INFO = no
; then
4546 result
=$wxUSE_DEBUG_INFO
4549 { echo "$as_me:$LINENO: result: $result" >&5
4550 echo "${ECHO_T}$result" >&6; }
4557 if test -z "$defaultval"; then
4558 if test x
"$enablestring" = xdisable
; then
4565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4566 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4567 # Check whether --enable-debug_gdb was given.
4568 if test "${enable_debug_gdb+set}" = set; then
4569 enableval
=$enable_debug_gdb;
4570 if test "$enableval" = yes; then
4571 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4573 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4578 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4583 eval "$wx_cv_use_debug_gdb"
4585 if test x"$enablestring" = xdisable; then
4586 if test $wxUSE_DEBUG_GDB = no; then
4592 result=$wxUSE_DEBUG_GDB
4595 { echo "$as_me:$LINENO: result: $result" >&5
4596 echo "${ECHO_T}$result" >&6; }
4601 if test -z "$defaultval"; then
4602 if test x"$enablestring" = xdisable; then
4609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4610 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4611 # Check whether --enable-debug_cntxt was given.
4612 if test "${enable_debug_cntxt+set}" = set; then
4613 enableval=$enable_debug_cntxt;
4614 if test "$enableval" = yes; then
4615 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
4617 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
4622 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4627 eval "$wx_cv_use_debug_cntxt"
4629 if test x"$enablestring" = xdisable; then
4630 if test $wxUSE_DEBUG_CONTEXT = no; then
4636 result=$wxUSE_DEBUG_CONTEXT
4639 { echo "$as_me:$LINENO: result
: $result" >&5
4640 echo "${ECHO_T}$result" >&6; }
4645 if test -z "$defaultval"; then
4646 if test x"$enablestring" = xdisable; then
4653 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mem_tracing" >&5
4654 echo $ECHO_N "checking
for --${enablestring:-enable}-mem_tracing...
$ECHO_C" >&6; }
4655 # Check whether --enable-mem_tracing was given.
4656 if test "${enable_mem_tracing+set}" = set; then
4657 enableval=$enable_mem_tracing;
4658 if test "$enableval" = yes; then
4659 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4661 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4666 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4671 eval "$wx_cv_use_mem_tracing"
4673 if test x
"$enablestring" = xdisable
; then
4674 if test $wxUSE_MEM_TRACING = no
; then
4680 result
=$wxUSE_MEM_TRACING
4683 { echo "$as_me:$LINENO: result: $result" >&5
4684 echo "${ECHO_T}$result" >&6; }
4689 enablestring
=disable
4691 if test -z "$defaultval"; then
4692 if test x
"$enablestring" = xdisable
; then
4699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4700 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4701 # Check whether --enable-shared was given.
4702 if test "${enable_shared+set}" = set; then
4703 enableval
=$enable_shared;
4704 if test "$enableval" = yes; then
4705 wx_cv_use_shared
='wxUSE_SHARED=yes'
4707 wx_cv_use_shared
='wxUSE_SHARED=no'
4712 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4717 eval "$wx_cv_use_shared"
4719 if test x"$enablestring" = xdisable; then
4720 if test $wxUSE_SHARED = no; then
4726 result=$wxUSE_SHARED
4729 { echo "$as_me:$LINENO: result: $result" >&5
4730 echo "${ECHO_T}$result" >&6; }
4735 if test -z "$defaultval"; then
4736 if test x"$enablestring" = xdisable; then
4743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4744 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4745 # Check whether --enable-stl was given.
4746 if test "${enable_stl+set}" = set; then
4747 enableval=$enable_stl;
4748 if test "$enableval" = yes; then
4749 wx_cv_use_stl='wxUSE_STL
=yes'
4751 wx_cv_use_stl='wxUSE_STL
=no
'
4756 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
4761 eval "$wx_cv_use_stl"
4763 if test x"$enablestring" = xdisable; then
4764 if test $wxUSE_STL = no; then
4773 { echo "$as_me:$LINENO: result
: $result" >&5
4774 echo "${ECHO_T}$result" >&6; }
4779 if test -z "$defaultval"; then
4780 if test x"$enablestring" = xdisable; then
4787 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_iostreams" >&5
4788 echo $ECHO_N "checking
for --${enablestring:-enable}-std_iostreams...
$ECHO_C" >&6; }
4789 # Check whether --enable-std_iostreams was given.
4790 if test "${enable_std_iostreams+set}" = set; then
4791 enableval=$enable_std_iostreams;
4792 if test "$enableval" = yes; then
4793 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4795 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4800 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4805 eval "$wx_cv_use_std_iostreams"
4807 if test x
"$enablestring" = xdisable
; then
4808 if test $wxUSE_STD_IOSTREAM = no
; then
4814 result
=$wxUSE_STD_IOSTREAM
4817 { echo "$as_me:$LINENO: result: $result" >&5
4818 echo "${ECHO_T}$result" >&6; }
4823 if test -z "$defaultval"; then
4824 if test x
"$enablestring" = xdisable
; then
4831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4832 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4833 # Check whether --enable-std_string was given.
4834 if test "${enable_std_string+set}" = set; then
4835 enableval
=$enable_std_string;
4836 if test "$enableval" = yes; then
4837 wx_cv_use_std_string
='wxUSE_STD_STRING=yes'
4839 wx_cv_use_std_string
='wxUSE_STD_STRING=no'
4844 wx_cv_use_std_string
='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4849 eval "$wx_cv_use_std_string"
4851 if test x"$enablestring" = xdisable; then
4852 if test $wxUSE_STD_STRING = no; then
4858 result=$wxUSE_STD_STRING
4861 { echo "$as_me:$LINENO: result: $result" >&5
4862 echo "${ECHO_T}$result" >&6; }
4865 enablestring=disable
4867 if test -z "$defaultval"; then
4868 if test x"$enablestring" = xdisable; then
4875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4876 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4877 # Check whether --enable-unicode was given.
4878 if test "${enable_unicode+set}" = set; then
4879 enableval=$enable_unicode;
4880 if test "$enableval" = yes; then
4881 wx_cv_use_unicode='wxUSE_UNICODE
=yes'
4883 wx_cv_use_unicode='wxUSE_UNICODE
=no
'
4888 wx_cv_use_unicode='wxUSE_UNICODE
=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4893 eval "$wx_cv_use_unicode"
4895 if test x"$enablestring" = xdisable; then
4896 if test $wxUSE_UNICODE = no; then
4902 result=$wxUSE_UNICODE
4905 { echo "$as_me:$LINENO: result
: $result" >&5
4906 echo "${ECHO_T}$result" >&6; }
4911 if test -z "$defaultval"; then
4912 if test x"$enablestring" = xdisable; then
4919 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mslu" >&5
4920 echo $ECHO_N "checking
for --${enablestring:-enable}-mslu...
$ECHO_C" >&6; }
4921 # Check whether --enable-mslu was given.
4922 if test "${enable_mslu+set}" = set; then
4923 enableval=$enable_mslu;
4924 if test "$enableval" = yes; then
4925 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4927 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4932 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4937 eval "$wx_cv_use_mslu"
4939 if test x
"$enablestring" = xdisable
; then
4940 if test $wxUSE_UNICODE_MSLU = no
; then
4946 result
=$wxUSE_UNICODE_MSLU
4949 { echo "$as_me:$LINENO: result: $result" >&5
4950 echo "${ECHO_T}$result" >&6; }
4954 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4955 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4956 # Check whether --enable-utf8 was given.
4957 if test "${enable_utf8+set}" = set; then
4958 enableval
=$enable_utf8;
4959 wx_cv_use_utf8
="wxUSE_UNICODE_UTF8='$enableval'"
4963 wx_cv_use_utf8
='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4968 eval "$wx_cv_use_utf8"
4970 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4971 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4976 if test -z "$defaultval"; then
4977 if test x
"$enablestring" = xdisable
; then
4984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4985 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4986 # Check whether --enable-utf8only was given.
4987 if test "${enable_utf8only+set}" = set; then
4988 enableval
=$enable_utf8only;
4989 if test "$enableval" = yes; then
4990 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=yes'
4992 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=no'
4997 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5002 eval "$wx_cv_use_utf8only"
5004 if test x"$enablestring" = xdisable; then
5005 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5011 result=$wxUSE_UNICODE_UTF8_LOCALE
5014 { echo "$as_me:$LINENO: result: $result" >&5
5015 echo "${ECHO_T}$result" >&6; }
5020 if test -z "$defaultval"; then
5021 if test x"$enablestring" = xdisable; then
5028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5029 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5030 # Check whether --enable-extended_rtti was given.
5031 if test "${enable_extended_rtti+set}" = set; then
5032 enableval=$enable_extended_rtti;
5033 if test "$enableval" = yes; then
5034 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=yes'
5036 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=no
'
5041 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5046 eval "$wx_cv_use_extended_rtti"
5048 if test x"$enablestring" = xdisable; then
5049 if test $wxUSE_EXTENDED_RTTI = no; then
5055 result=$wxUSE_EXTENDED_RTTI
5058 { echo "$as_me:$LINENO: result
: $result" >&5
5059 echo "${ECHO_T}$result" >&6; }
5061 if test "$USE_OS2" = 1; then
5062 DEFAULT_wxUSE_OMF=no
5066 if test -z "$defaultval"; then
5067 if test x"$enablestring" = xdisable; then
5074 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-omf" >&5
5075 echo $ECHO_N "checking
for --${enablestring:-enable}-omf...
$ECHO_C" >&6; }
5076 # Check whether --enable-omf was given.
5077 if test "${enable_omf+set}" = set; then
5078 enableval=$enable_omf;
5079 if test "$enableval" = yes; then
5080 wx_cv_use_omf='wxUSE_OMF=yes'
5082 wx_cv_use_omf='wxUSE_OMF=no'
5087 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5092 eval "$wx_cv_use_omf"
5094 if test x
"$enablestring" = xdisable
; then
5095 if test $wxUSE_OMF = no
; then
5104 { echo "$as_me:$LINENO: result: $result" >&5
5105 echo "${ECHO_T}$result" >&6; }
5110 enablestring
=disable
5112 if test -z "$defaultval"; then
5113 if test x
"$enablestring" = xdisable
; then
5120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5121 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5122 # Check whether --enable-optimise was given.
5123 if test "${enable_optimise+set}" = set; then
5124 enableval
=$enable_optimise;
5125 if test "$enableval" = yes; then
5126 wx_cv_use_optimise
='wxUSE_OPTIMISE=yes'
5128 wx_cv_use_optimise
='wxUSE_OPTIMISE=no'
5133 wx_cv_use_optimise
='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5138 eval "$wx_cv_use_optimise"
5140 if test x"$enablestring" = xdisable; then
5141 if test $wxUSE_OPTIMISE = no; then
5147 result=$wxUSE_OPTIMISE
5150 { echo "$as_me:$LINENO: result: $result" >&5
5151 echo "${ECHO_T}$result" >&6; }
5157 if test -z "$defaultval"; then
5158 if test x"$enablestring" = xdisable; then
5165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5166 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5167 # Check whether --enable-profile was given.
5168 if test "${enable_profile+set}" = set; then
5169 enableval=$enable_profile;
5170 if test "$enableval" = yes; then
5171 wx_cv_use_profile='wxUSE_PROFILE
=yes'
5173 wx_cv_use_profile='wxUSE_PROFILE
=no
'
5178 wx_cv_use_profile='wxUSE_PROFILE
=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5183 eval "$wx_cv_use_profile"
5185 if test x"$enablestring" = xdisable; then
5186 if test $wxUSE_PROFILE = no; then
5192 result=$wxUSE_PROFILE
5195 { echo "$as_me:$LINENO: result
: $result" >&5
5196 echo "${ECHO_T}$result" >&6; }
5201 if test -z "$defaultval"; then
5202 if test x"$enablestring" = xdisable; then
5209 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_rtti" >&5
5210 echo $ECHO_N "checking
for --${enablestring:-enable}-no_rtti...
$ECHO_C" >&6; }
5211 # Check whether --enable-no_rtti was given.
5212 if test "${enable_no_rtti+set}" = set; then
5213 enableval=$enable_no_rtti;
5214 if test "$enableval" = yes; then
5215 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5217 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5222 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5227 eval "$wx_cv_use_no_rtti"
5229 if test x
"$enablestring" = xdisable
; then
5230 if test $wxUSE_NO_RTTI = no
; then
5236 result
=$wxUSE_NO_RTTI
5239 { echo "$as_me:$LINENO: result: $result" >&5
5240 echo "${ECHO_T}$result" >&6; }
5245 if test -z "$defaultval"; then
5246 if test x
"$enablestring" = xdisable
; then
5253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5254 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5255 # Check whether --enable-no_exceptions was given.
5256 if test "${enable_no_exceptions+set}" = set; then
5257 enableval
=$enable_no_exceptions;
5258 if test "$enableval" = yes; then
5259 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
5261 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
5266 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5271 eval "$wx_cv_use_no_exceptions"
5273 if test x"$enablestring" = xdisable; then
5274 if test $wxUSE_NO_EXCEPTIONS = no; then
5280 result=$wxUSE_NO_EXCEPTIONS
5283 { echo "$as_me:$LINENO: result: $result" >&5
5284 echo "${ECHO_T}$result" >&6; }
5289 if test -z "$defaultval"; then
5290 if test x"$enablestring" = xdisable; then
5297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5298 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5299 # Check whether --enable-permissive was given.
5300 if test "${enable_permissive+set}" = set; then
5301 enableval=$enable_permissive;
5302 if test "$enableval" = yes; then
5303 wx_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
5305 wx_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
5310 wx_cv_use_permissive='wxUSE_PERMISSIVE
=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5315 eval "$wx_cv_use_permissive"
5317 if test x"$enablestring" = xdisable; then
5318 if test $wxUSE_PERMISSIVE = no; then
5324 result=$wxUSE_PERMISSIVE
5327 { echo "$as_me:$LINENO: result
: $result" >&5
5328 echo "${ECHO_T}$result" >&6; }
5333 if test -z "$defaultval"; then
5334 if test x"$enablestring" = xdisable; then
5341 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_deps" >&5
5342 echo $ECHO_N "checking
for --${enablestring:-enable}-no_deps...
$ECHO_C" >&6; }
5343 # Check whether --enable-no_deps was given.
5344 if test "${enable_no_deps+set}" = set; then
5345 enableval=$enable_no_deps;
5346 if test "$enableval" = yes; then
5347 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5349 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5354 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5359 eval "$wx_cv_use_no_deps"
5361 if test x
"$enablestring" = xdisable
; then
5362 if test $wxUSE_NO_DEPS = no
; then
5368 result
=$wxUSE_NO_DEPS
5371 { echo "$as_me:$LINENO: result: $result" >&5
5372 echo "${ECHO_T}$result" >&6; }
5375 enablestring
=disable
5377 if test -z "$defaultval"; then
5378 if test x
"$enablestring" = xdisable
; then
5385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5386 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5387 # Check whether --enable-vararg_macros was given.
5388 if test "${enable_vararg_macros+set}" = set; then
5389 enableval
=$enable_vararg_macros;
5390 if test "$enableval" = yes; then
5391 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=yes'
5393 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=no'
5398 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5403 eval "$wx_cv_use_vararg_macros"
5405 if test x"$enablestring" = xdisable; then
5406 if test $wxUSE_VARARG_MACROS = no; then
5412 result=$wxUSE_VARARG_MACROS
5415 { echo "$as_me:$LINENO: result: $result" >&5
5416 echo "${ECHO_T}$result" >&6; }
5421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5422 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5423 # Check whether --enable-universal_binary was given.
5424 if test "${enable_universal_binary+set}" = set; then
5425 enableval=$enable_universal_binary;
5426 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5430 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5435 eval "$wx_cv_use_universal_binary"
5437 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5438 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5443 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5444 # Check whether --enable-macosx_arch was given.
5445 if test "${enable_macosx_arch+set}" = set; then
5446 enableval=$enable_macosx_arch;
5447 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
5451 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH
='$DEFAULT_wxUSE_MAC_ARCH
5456 eval "$wx_cv_use_macosx_arch"
5458 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5459 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5465 if test -z "$defaultval"; then
5466 if test x"$enablestring" = xdisable; then
5473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5474 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5475 # Check whether --enable-compat26 was given.
5476 if test "${enable_compat26+set}" = set; then
5477 enableval=$enable_compat26;
5478 if test "$enableval" = yes; then
5479 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
5481 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
5486 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5491 eval "$wx_cv_use_compat26"
5493 if test x"$enablestring" = xdisable; then
5494 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5500 result=$WXWIN_COMPATIBILITY_2_6
5503 { echo "$as_me:$LINENO: result
: $result" >&5
5504 echo "${ECHO_T}$result" >&6; }
5507 enablestring=disable
5509 if test -z "$defaultval"; then
5510 if test x"$enablestring" = xdisable; then
5517 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat28" >&5
5518 echo $ECHO_N "checking
for --${enablestring:-enable}-compat28...
$ECHO_C" >&6; }
5519 # Check whether --enable-compat28 was given.
5520 if test "${enable_compat28+set}" = set; then
5521 enableval=$enable_compat28;
5522 if test "$enableval" = yes; then
5523 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5525 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5530 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5535 eval "$wx_cv_use_compat28"
5537 if test x
"$enablestring" = xdisable
; then
5538 if test $WXWIN_COMPATIBILITY_2_8 = no
; then
5544 result
=$WXWIN_COMPATIBILITY_2_8
5547 { echo "$as_me:$LINENO: result: $result" >&5
5548 echo "${ECHO_T}$result" >&6; }
5552 enablestring
=disable
5554 if test -z "$defaultval"; then
5555 if test x
"$enablestring" = xdisable
; then
5562 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5563 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5564 # Check whether --enable-rpath was given.
5565 if test "${enable_rpath+set}" = set; then
5566 enableval
=$enable_rpath;
5567 if test "$enableval" = yes; then
5568 wx_cv_use_rpath
='wxUSE_RPATH=yes'
5570 wx_cv_use_rpath
='wxUSE_RPATH=no'
5575 wx_cv_use_rpath
='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5580 eval "$wx_cv_use_rpath"
5582 if test x"$enablestring" = xdisable; then
5583 if test $wxUSE_RPATH = no; then
5592 { echo "$as_me:$LINENO: result: $result" >&5
5593 echo "${ECHO_T}$result" >&6; }
5599 if test -z "$defaultval"; then
5600 if test x"$enablestring" = xdisable; then
5607 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5608 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5609 # Check whether --enable-objc_uniquifying was given.
5610 if test "${enable_objc_uniquifying+set}" = set; then
5611 enableval=$enable_objc_uniquifying;
5612 if test "$enableval" = yes; then
5613 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=yes'
5615 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=no
'
5620 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5625 eval "$wx_cv_use_objc_uniquifying"
5627 if test x"$enablestring" = xdisable; then
5628 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5634 result=$wxUSE_OBJC_UNIQUIFYING
5637 { echo "$as_me:$LINENO: result
: $result" >&5
5638 echo "${ECHO_T}$result" >&6; }
5642 enablestring=disable
5644 if test -z "$defaultval"; then
5645 if test x"$enablestring" = xdisable; then
5652 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-visibility" >&5
5653 echo $ECHO_N "checking
for --${enablestring:-enable}-visibility...
$ECHO_C" >&6; }
5654 # Check whether --enable-visibility was given.
5655 if test "${enable_visibility+set}" = set; then
5656 enableval=$enable_visibility;
5657 if test "$enableval" = yes; then
5658 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5660 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5665 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5670 eval "$wx_cv_use_visibility"
5672 if test x
"$enablestring" = xdisable
; then
5673 if test $wxUSE_VISIBILITY = no
; then
5679 result
=$wxUSE_VISIBILITY
5682 { echo "$as_me:$LINENO: result: $result" >&5
5683 echo "${ECHO_T}$result" >&6; }
5686 enablestring
=disable
5688 if test -z "$defaultval"; then
5689 if test x
"$enablestring" = xdisable
; then
5696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5697 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5698 # Check whether --enable-tls was given.
5699 if test "${enable_tls+set}" = set; then
5700 enableval
=$enable_tls;
5701 if test "$enableval" = yes; then
5702 wx_cv_use_tls
='wxUSE_COMPILER_TLS=yes'
5704 wx_cv_use_tls
='wxUSE_COMPILER_TLS=no'
5709 wx_cv_use_tls
='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5714 eval "$wx_cv_use_tls"
5716 if test x"$enablestring" = xdisable; then
5717 if test $wxUSE_COMPILER_TLS = no; then
5723 result=$wxUSE_COMPILER_TLS
5726 { echo "$as_me:$LINENO: result: $result" >&5
5727 echo "${ECHO_T}$result" >&6; }
5733 defaultval=$wxUSE_ALL_FEATURES
5734 if test -z "$defaultval"; then
5735 if test x"$enablestring" = xdisable; then
5742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5743 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5744 # Check whether --enable-intl was given.
5745 if test "${enable_intl+set}" = set; then
5746 enableval=$enable_intl;
5747 if test "$enableval" = yes; then
5748 wx_cv_use_intl='wxUSE_INTL
=yes'
5750 wx_cv_use_intl='wxUSE_INTL
=no
'
5755 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5760 eval "$wx_cv_use_intl"
5762 if test x"$enablestring" = xdisable; then
5763 if test $wxUSE_INTL = no; then
5772 { echo "$as_me:$LINENO: result
: $result" >&5
5773 echo "${ECHO_T}$result" >&6; }
5777 defaultval=$wxUSE_ALL_FEATURES
5778 if test -z "$defaultval"; then
5779 if test x"$enablestring" = xdisable; then
5786 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xlocale" >&5
5787 echo $ECHO_N "checking
for --${enablestring:-enable}-xlocale...
$ECHO_C" >&6; }
5788 # Check whether --enable-xlocale was given.
5789 if test "${enable_xlocale+set}" = set; then
5790 enableval=$enable_xlocale;
5791 if test "$enableval" = yes; then
5792 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5794 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5799 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5804 eval "$wx_cv_use_xlocale"
5806 if test x
"$enablestring" = xdisable
; then
5807 if test $wxUSE_XLOCALE = no
; then
5813 result
=$wxUSE_XLOCALE
5816 { echo "$as_me:$LINENO: result: $result" >&5
5817 echo "${ECHO_T}$result" >&6; }
5821 defaultval
=$wxUSE_ALL_FEATURES
5822 if test -z "$defaultval"; then
5823 if test x
"$enablestring" = xdisable
; then
5830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5831 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5832 # Check whether --enable-config was given.
5833 if test "${enable_config+set}" = set; then
5834 enableval
=$enable_config;
5835 if test "$enableval" = yes; then
5836 wx_cv_use_config
='wxUSE_CONFIG=yes'
5838 wx_cv_use_config
='wxUSE_CONFIG=no'
5843 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5848 eval "$wx_cv_use_config"
5850 if test x"$enablestring" = xdisable; then
5851 if test $wxUSE_CONFIG = no; then
5857 result=$wxUSE_CONFIG
5860 { echo "$as_me:$LINENO: result: $result" >&5
5861 echo "${ECHO_T}$result" >&6; }
5866 defaultval=$wxUSE_ALL_FEATURES
5867 if test -z "$defaultval"; then
5868 if test x"$enablestring" = xdisable; then
5875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5876 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5877 # Check whether --enable-protocols was given.
5878 if test "${enable_protocols+set}" = set; then
5879 enableval=$enable_protocols;
5880 if test "$enableval" = yes; then
5881 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
5883 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
5888 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5893 eval "$wx_cv_use_protocols"
5895 if test x"$enablestring" = xdisable; then
5896 if test $wxUSE_PROTOCOL = no; then
5902 result=$wxUSE_PROTOCOL
5905 { echo "$as_me:$LINENO: result
: $result" >&5
5906 echo "${ECHO_T}$result" >&6; }
5910 defaultval=$wxUSE_ALL_FEATURES
5911 if test -z "$defaultval"; then
5912 if test x"$enablestring" = xdisable; then
5919 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ftp" >&5
5920 echo $ECHO_N "checking
for --${enablestring:-enable}-ftp...
$ECHO_C" >&6; }
5921 # Check whether --enable-ftp was given.
5922 if test "${enable_ftp+set}" = set; then
5923 enableval=$enable_ftp;
5924 if test "$enableval" = yes; then
5925 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5927 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5932 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5937 eval "$wx_cv_use_ftp"
5939 if test x
"$enablestring" = xdisable
; then
5940 if test $wxUSE_PROTOCOL_FTP = no
; then
5946 result
=$wxUSE_PROTOCOL_FTP
5949 { echo "$as_me:$LINENO: result: $result" >&5
5950 echo "${ECHO_T}$result" >&6; }
5954 defaultval
=$wxUSE_ALL_FEATURES
5955 if test -z "$defaultval"; then
5956 if test x
"$enablestring" = xdisable
; then
5963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5964 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5965 # Check whether --enable-http was given.
5966 if test "${enable_http+set}" = set; then
5967 enableval
=$enable_http;
5968 if test "$enableval" = yes; then
5969 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
5971 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
5976 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5981 eval "$wx_cv_use_http"
5983 if test x"$enablestring" = xdisable; then
5984 if test $wxUSE_PROTOCOL_HTTP = no; then
5990 result=$wxUSE_PROTOCOL_HTTP
5993 { echo "$as_me:$LINENO: result: $result" >&5
5994 echo "${ECHO_T}$result" >&6; }
5998 defaultval=$wxUSE_ALL_FEATURES
5999 if test -z "$defaultval"; then
6000 if test x"$enablestring" = xdisable; then
6007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6008 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6009 # Check whether --enable-fileproto was given.
6010 if test "${enable_fileproto+set}" = set; then
6011 enableval=$enable_fileproto;
6012 if test "$enableval" = yes; then
6013 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
6015 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
6020 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6025 eval "$wx_cv_use_fileproto"
6027 if test x"$enablestring" = xdisable; then
6028 if test $wxUSE_PROTOCOL_FILE = no; then
6034 result=$wxUSE_PROTOCOL_FILE
6037 { echo "$as_me:$LINENO: result
: $result" >&5
6038 echo "${ECHO_T}$result" >&6; }
6042 defaultval=$wxUSE_ALL_FEATURES
6043 if test -z "$defaultval"; then
6044 if test x"$enablestring" = xdisable; then
6051 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sockets" >&5
6052 echo $ECHO_N "checking
for --${enablestring:-enable}-sockets...
$ECHO_C" >&6; }
6053 # Check whether --enable-sockets was given.
6054 if test "${enable_sockets+set}" = set; then
6055 enableval=$enable_sockets;
6056 if test "$enableval" = yes; then
6057 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6059 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6064 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6069 eval "$wx_cv_use_sockets"
6071 if test x
"$enablestring" = xdisable
; then
6072 if test $wxUSE_SOCKETS = no
; then
6078 result
=$wxUSE_SOCKETS
6081 { echo "$as_me:$LINENO: result: $result" >&5
6082 echo "${ECHO_T}$result" >&6; }
6086 defaultval
=$wxUSE_ALL_FEATURES
6087 if test -z "$defaultval"; then
6088 if test x
"$enablestring" = xdisable
; then
6095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6096 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6097 # Check whether --enable-ipv6 was given.
6098 if test "${enable_ipv6+set}" = set; then
6099 enableval
=$enable_ipv6;
6100 if test "$enableval" = yes; then
6101 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
6103 wx_cv_use_ipv6
='wxUSE_IPV6=no'
6108 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6113 eval "$wx_cv_use_ipv6"
6115 if test x"$enablestring" = xdisable; then
6116 if test $wxUSE_IPV6 = no; then
6125 { echo "$as_me:$LINENO: result: $result" >&5
6126 echo "${ECHO_T}$result" >&6; }
6130 defaultval=$wxUSE_ALL_FEATURES
6131 if test -z "$defaultval"; then
6132 if test x"$enablestring" = xdisable; then
6139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6140 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6141 # Check whether --enable-ole was given.
6142 if test "${enable_ole+set}" = set; then
6143 enableval=$enable_ole;
6144 if test "$enableval" = yes; then
6145 wx_cv_use_ole='wxUSE_OLE
=yes'
6147 wx_cv_use_ole='wxUSE_OLE
=no
'
6152 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6157 eval "$wx_cv_use_ole"
6159 if test x"$enablestring" = xdisable; then
6160 if test $wxUSE_OLE = no; then
6169 { echo "$as_me:$LINENO: result
: $result" >&5
6170 echo "${ECHO_T}$result" >&6; }
6174 defaultval=$wxUSE_ALL_FEATURES
6175 if test -z "$defaultval"; then
6176 if test x"$enablestring" = xdisable; then
6183 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6184 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6185 # Check whether --enable-dataobj was given.
6186 if test "${enable_dataobj+set}" = set; then
6187 enableval=$enable_dataobj;
6188 if test "$enableval" = yes; then
6189 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6191 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6196 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6201 eval "$wx_cv_use_dataobj"
6203 if test x
"$enablestring" = xdisable
; then
6204 if test $wxUSE_DATAOBJ = no
; then
6210 result
=$wxUSE_DATAOBJ
6213 { echo "$as_me:$LINENO: result: $result" >&5
6214 echo "${ECHO_T}$result" >&6; }
6219 defaultval
=$wxUSE_ALL_FEATURES
6220 if test -z "$defaultval"; then
6221 if test x
"$enablestring" = xdisable
; then
6228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6229 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6230 # Check whether --enable-ipc was given.
6231 if test "${enable_ipc+set}" = set; then
6232 enableval
=$enable_ipc;
6233 if test "$enableval" = yes; then
6234 wx_cv_use_ipc
='wxUSE_IPC=yes'
6236 wx_cv_use_ipc
='wxUSE_IPC=no'
6241 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6246 eval "$wx_cv_use_ipc"
6248 if test x"$enablestring" = xdisable; then
6249 if test $wxUSE_IPC = no; then
6258 { echo "$as_me:$LINENO: result: $result" >&5
6259 echo "${ECHO_T}$result" >&6; }
6264 defaultval=$wxUSE_ALL_FEATURES
6265 if test -z "$defaultval"; then
6266 if test x"$enablestring" = xdisable; then
6273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6274 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6275 # Check whether --enable-baseevtloop was given.
6276 if test "${enable_baseevtloop+set}" = set; then
6277 enableval=$enable_baseevtloop;
6278 if test "$enableval" = yes; then
6279 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6281 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6286 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6291 eval "$wx_cv_use_baseevtloop"
6293 if test x"$enablestring" = xdisable; then
6294 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6300 result=$wxUSE_CONSOLE_EVENTLOOP
6303 { echo "$as_me:$LINENO: result
: $result" >&5
6304 echo "${ECHO_T}$result" >&6; }
6308 defaultval=$wxUSE_ALL_FEATURES
6309 if test -z "$defaultval"; then
6310 if test x"$enablestring" = xdisable; then
6317 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6318 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6319 # Check whether --enable-epollloop was given.
6320 if test "${enable_epollloop+set}" = set; then
6321 enableval=$enable_epollloop;
6322 if test "$enableval" = yes; then
6323 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6325 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6330 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6335 eval "$wx_cv_use_epollloop"
6337 if test x
"$enablestring" = xdisable
; then
6338 if test $wxUSE_EPOLL_DISPATCHER = no
; then
6344 result
=$wxUSE_EPOLL_DISPATCHER
6347 { echo "$as_me:$LINENO: result: $result" >&5
6348 echo "${ECHO_T}$result" >&6; }
6352 defaultval
=$wxUSE_ALL_FEATURES
6353 if test -z "$defaultval"; then
6354 if test x
"$enablestring" = xdisable
; then
6361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6362 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6363 # Check whether --enable-selectloop was given.
6364 if test "${enable_selectloop+set}" = set; then
6365 enableval
=$enable_selectloop;
6366 if test "$enableval" = yes; then
6367 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6369 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6374 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6379 eval "$wx_cv_use_selectloop"
6381 if test x"$enablestring" = xdisable; then
6382 if test $wxUSE_SELECT_DISPATCHER = no; then
6388 result=$wxUSE_SELECT_DISPATCHER
6391 { echo "$as_me:$LINENO: result: $result" >&5
6392 echo "${ECHO_T}$result" >&6; }
6397 defaultval=$wxUSE_ALL_FEATURES
6398 if test -z "$defaultval"; then
6399 if test x"$enablestring" = xdisable; then
6406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6407 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6408 # Check whether --enable-any was given.
6409 if test "${enable_any+set}" = set; then
6410 enableval=$enable_any;
6411 if test "$enableval" = yes; then
6412 wx_cv_use_any='wxUSE_ANY
=yes'
6414 wx_cv_use_any='wxUSE_ANY
=no
'
6419 wx_cv_use_any='wxUSE_ANY
=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6424 eval "$wx_cv_use_any"
6426 if test x"$enablestring" = xdisable; then
6427 if test $wxUSE_ANY = no; then
6436 { echo "$as_me:$LINENO: result
: $result" >&5
6437 echo "${ECHO_T}$result" >&6; }
6441 defaultval=$wxUSE_ALL_FEATURES
6442 if test -z "$defaultval"; then
6443 if test x"$enablestring" = xdisable; then
6450 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-apple_ieee" >&5
6451 echo $ECHO_N "checking
for --${enablestring:-enable}-apple_ieee...
$ECHO_C" >&6; }
6452 # Check whether --enable-apple_ieee was given.
6453 if test "${enable_apple_ieee+set}" = set; then
6454 enableval=$enable_apple_ieee;
6455 if test "$enableval" = yes; then
6456 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6458 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6463 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6468 eval "$wx_cv_use_apple_ieee"
6470 if test x
"$enablestring" = xdisable
; then
6471 if test $wxUSE_APPLE_IEEE = no
; then
6477 result
=$wxUSE_APPLE_IEEE
6480 { echo "$as_me:$LINENO: result: $result" >&5
6481 echo "${ECHO_T}$result" >&6; }
6485 defaultval
=$wxUSE_ALL_FEATURES
6486 if test -z "$defaultval"; then
6487 if test x
"$enablestring" = xdisable
; then
6494 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6495 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6496 # Check whether --enable-arcstream was given.
6497 if test "${enable_arcstream+set}" = set; then
6498 enableval
=$enable_arcstream;
6499 if test "$enableval" = yes; then
6500 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
6502 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
6507 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6512 eval "$wx_cv_use_arcstream"
6514 if test x"$enablestring" = xdisable; then
6515 if test $wxUSE_ARCHIVE_STREAMS = no; then
6521 result=$wxUSE_ARCHIVE_STREAMS
6524 { echo "$as_me:$LINENO: result: $result" >&5
6525 echo "${ECHO_T}$result" >&6; }
6529 defaultval=$wxUSE_ALL_FEATURES
6530 if test -z "$defaultval"; then
6531 if test x"$enablestring" = xdisable; then
6538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6539 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6540 # Check whether --enable-base64 was given.
6541 if test "${enable_base64+set}" = set; then
6542 enableval=$enable_base64;
6543 if test "$enableval" = yes; then
6544 wx_cv_use_base64='wxUSE_BASE64
=yes'
6546 wx_cv_use_base64='wxUSE_BASE64
=no
'
6551 wx_cv_use_base64='wxUSE_BASE64
=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6556 eval "$wx_cv_use_base64"
6558 if test x"$enablestring" = xdisable; then
6559 if test $wxUSE_BASE64 = no; then
6565 result=$wxUSE_BASE64
6568 { echo "$as_me:$LINENO: result
: $result" >&5
6569 echo "${ECHO_T}$result" >&6; }
6573 defaultval=$wxUSE_ALL_FEATURES
6574 if test -z "$defaultval"; then
6575 if test x"$enablestring" = xdisable; then
6582 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-backtrace" >&5
6583 echo $ECHO_N "checking
for --${enablestring:-enable}-backtrace...
$ECHO_C" >&6; }
6584 # Check whether --enable-backtrace was given.
6585 if test "${enable_backtrace+set}" = set; then
6586 enableval=$enable_backtrace;
6587 if test "$enableval" = yes; then
6588 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6590 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6595 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6600 eval "$wx_cv_use_backtrace"
6602 if test x
"$enablestring" = xdisable
; then
6603 if test $wxUSE_STACKWALKER = no
; then
6609 result
=$wxUSE_STACKWALKER
6612 { echo "$as_me:$LINENO: result: $result" >&5
6613 echo "${ECHO_T}$result" >&6; }
6617 defaultval
=$wxUSE_ALL_FEATURES
6618 if test -z "$defaultval"; then
6619 if test x
"$enablestring" = xdisable
; then
6626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6627 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6628 # Check whether --enable-catch_segvs was given.
6629 if test "${enable_catch_segvs+set}" = set; then
6630 enableval
=$enable_catch_segvs;
6631 if test "$enableval" = yes; then
6632 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
6634 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
6639 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6644 eval "$wx_cv_use_catch_segvs"
6646 if test x"$enablestring" = xdisable; then
6647 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6653 result=$wxUSE_ON_FATAL_EXCEPTION
6656 { echo "$as_me:$LINENO: result: $result" >&5
6657 echo "${ECHO_T}$result" >&6; }
6661 defaultval=$wxUSE_ALL_FEATURES
6662 if test -z "$defaultval"; then
6663 if test x"$enablestring" = xdisable; then
6670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6671 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6672 # Check whether --enable-cmdline was given.
6673 if test "${enable_cmdline+set}" = set; then
6674 enableval=$enable_cmdline;
6675 if test "$enableval" = yes; then
6676 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
6678 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
6683 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6688 eval "$wx_cv_use_cmdline"
6690 if test x"$enablestring" = xdisable; then
6691 if test $wxUSE_CMDLINE_PARSER = no; then
6697 result=$wxUSE_CMDLINE_PARSER
6700 { echo "$as_me:$LINENO: result
: $result" >&5
6701 echo "${ECHO_T}$result" >&6; }
6705 defaultval=$wxUSE_ALL_FEATURES
6706 if test -z "$defaultval"; then
6707 if test x"$enablestring" = xdisable; then
6714 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datetime" >&5
6715 echo $ECHO_N "checking
for --${enablestring:-enable}-datetime...
$ECHO_C" >&6; }
6716 # Check whether --enable-datetime was given.
6717 if test "${enable_datetime+set}" = set; then
6718 enableval=$enable_datetime;
6719 if test "$enableval" = yes; then
6720 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6722 wx_cv_use_datetime='wxUSE_DATETIME=no'
6727 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6732 eval "$wx_cv_use_datetime"
6734 if test x
"$enablestring" = xdisable
; then
6735 if test $wxUSE_DATETIME = no
; then
6741 result
=$wxUSE_DATETIME
6744 { echo "$as_me:$LINENO: result: $result" >&5
6745 echo "${ECHO_T}$result" >&6; }
6749 defaultval
=$wxUSE_ALL_FEATURES
6750 if test -z "$defaultval"; then
6751 if test x
"$enablestring" = xdisable
; then
6758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6759 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6760 # Check whether --enable-debugreport was given.
6761 if test "${enable_debugreport+set}" = set; then
6762 enableval
=$enable_debugreport;
6763 if test "$enableval" = yes; then
6764 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
6766 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
6771 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6776 eval "$wx_cv_use_debugreport"
6778 if test x"$enablestring" = xdisable; then
6779 if test $wxUSE_DEBUGREPORT = no; then
6785 result=$wxUSE_DEBUGREPORT
6788 { echo "$as_me:$LINENO: result: $result" >&5
6789 echo "${ECHO_T}$result" >&6; }
6793 defaultval=$wxUSE_ALL_FEATURES
6794 if test -z "$defaultval"; then
6795 if test x"$enablestring" = xdisable; then
6802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6803 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6804 # Check whether --enable-dialupman was given.
6805 if test "${enable_dialupman+set}" = set; then
6806 enableval=$enable_dialupman;
6807 if test "$enableval" = yes; then
6808 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
6810 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
6815 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6820 eval "$wx_cv_use_dialupman"
6822 if test x"$enablestring" = xdisable; then
6823 if test $wxUSE_DIALUP_MANAGER = no; then
6829 result=$wxUSE_DIALUP_MANAGER
6832 { echo "$as_me:$LINENO: result
: $result" >&5
6833 echo "${ECHO_T}$result" >&6; }
6837 defaultval=$wxUSE_ALL_FEATURES
6838 if test -z "$defaultval"; then
6839 if test x"$enablestring" = xdisable; then
6846 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynlib" >&5
6847 echo $ECHO_N "checking
for --${enablestring:-enable}-dynlib...
$ECHO_C" >&6; }
6848 # Check whether --enable-dynlib was given.
6849 if test "${enable_dynlib+set}" = set; then
6850 enableval=$enable_dynlib;
6851 if test "$enableval" = yes; then
6852 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6854 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6859 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6864 eval "$wx_cv_use_dynlib"
6866 if test x
"$enablestring" = xdisable
; then
6867 if test $wxUSE_DYNLIB_CLASS = no
; then
6873 result
=$wxUSE_DYNLIB_CLASS
6876 { echo "$as_me:$LINENO: result: $result" >&5
6877 echo "${ECHO_T}$result" >&6; }
6881 defaultval
=$wxUSE_ALL_FEATURES
6882 if test -z "$defaultval"; then
6883 if test x
"$enablestring" = xdisable
; then
6890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6891 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6892 # Check whether --enable-dynamicloader was given.
6893 if test "${enable_dynamicloader+set}" = set; then
6894 enableval
=$enable_dynamicloader;
6895 if test "$enableval" = yes; then
6896 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
6898 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
6903 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6908 eval "$wx_cv_use_dynamicloader"
6910 if test x"$enablestring" = xdisable; then
6911 if test $wxUSE_DYNAMIC_LOADER = no; then
6917 result=$wxUSE_DYNAMIC_LOADER
6920 { echo "$as_me:$LINENO: result: $result" >&5
6921 echo "${ECHO_T}$result" >&6; }
6925 defaultval=$wxUSE_ALL_FEATURES
6926 if test -z "$defaultval"; then
6927 if test x"$enablestring" = xdisable; then
6934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6935 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6936 # Check whether --enable-exceptions was given.
6937 if test "${enable_exceptions+set}" = set; then
6938 enableval=$enable_exceptions;
6939 if test "$enableval" = yes; then
6940 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
6942 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
6947 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6952 eval "$wx_cv_use_exceptions"
6954 if test x"$enablestring" = xdisable; then
6955 if test $wxUSE_EXCEPTIONS = no; then
6961 result=$wxUSE_EXCEPTIONS
6964 { echo "$as_me:$LINENO: result
: $result" >&5
6965 echo "${ECHO_T}$result" >&6; }
6969 defaultval=$wxUSE_ALL_FEATURES
6970 if test -z "$defaultval"; then
6971 if test x"$enablestring" = xdisable; then
6978 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ffile" >&5
6979 echo $ECHO_N "checking
for --${enablestring:-enable}-ffile...
$ECHO_C" >&6; }
6980 # Check whether --enable-ffile was given.
6981 if test "${enable_ffile+set}" = set; then
6982 enableval=$enable_ffile;
6983 if test "$enableval" = yes; then
6984 wx_cv_use_ffile='wxUSE_FFILE=yes'
6986 wx_cv_use_ffile='wxUSE_FFILE=no'
6991 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6996 eval "$wx_cv_use_ffile"
6998 if test x
"$enablestring" = xdisable
; then
6999 if test $wxUSE_FFILE = no
; then
7008 { echo "$as_me:$LINENO: result: $result" >&5
7009 echo "${ECHO_T}$result" >&6; }
7013 defaultval
=$wxUSE_ALL_FEATURES
7014 if test -z "$defaultval"; then
7015 if test x
"$enablestring" = xdisable
; then
7022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7023 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7024 # Check whether --enable-file was given.
7025 if test "${enable_file+set}" = set; then
7026 enableval
=$enable_file;
7027 if test "$enableval" = yes; then
7028 wx_cv_use_file
='wxUSE_FILE=yes'
7030 wx_cv_use_file
='wxUSE_FILE=no'
7035 wx_cv_use_file
='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7040 eval "$wx_cv_use_file"
7042 if test x"$enablestring" = xdisable; then
7043 if test $wxUSE_FILE = no; then
7052 { echo "$as_me:$LINENO: result: $result" >&5
7053 echo "${ECHO_T}$result" >&6; }
7057 defaultval=$wxUSE_ALL_FEATURES
7058 if test -z "$defaultval"; then
7059 if test x"$enablestring" = xdisable; then
7066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7067 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7068 # Check whether --enable-filehistory was given.
7069 if test "${enable_filehistory+set}" = set; then
7070 enableval=$enable_filehistory;
7071 if test "$enableval" = yes; then
7072 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=yes'
7074 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=no
'
7079 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7084 eval "$wx_cv_use_filehistory"
7086 if test x"$enablestring" = xdisable; then
7087 if test $wxUSE_FILE_HISTORY = no; then
7093 result=$wxUSE_FILE_HISTORY
7096 { echo "$as_me:$LINENO: result
: $result" >&5
7097 echo "${ECHO_T}$result" >&6; }
7101 defaultval=$wxUSE_ALL_FEATURES
7102 if test -z "$defaultval"; then
7103 if test x"$enablestring" = xdisable; then
7110 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filesystem" >&5
7111 echo $ECHO_N "checking
for --${enablestring:-enable}-filesystem...
$ECHO_C" >&6; }
7112 # Check whether --enable-filesystem was given.
7113 if test "${enable_filesystem+set}" = set; then
7114 enableval=$enable_filesystem;
7115 if test "$enableval" = yes; then
7116 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7118 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7123 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7128 eval "$wx_cv_use_filesystem"
7130 if test x
"$enablestring" = xdisable
; then
7131 if test $wxUSE_FILESYSTEM = no
; then
7137 result
=$wxUSE_FILESYSTEM
7140 { echo "$as_me:$LINENO: result: $result" >&5
7141 echo "${ECHO_T}$result" >&6; }
7145 defaultval
=$wxUSE_ALL_FEATURES
7146 if test -z "$defaultval"; then
7147 if test x
"$enablestring" = xdisable
; then
7154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7155 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7156 # Check whether --enable-fontenum was given.
7157 if test "${enable_fontenum+set}" = set; then
7158 enableval
=$enable_fontenum;
7159 if test "$enableval" = yes; then
7160 wx_cv_use_fontenum
='wxUSE_FONTENUM=yes'
7162 wx_cv_use_fontenum
='wxUSE_FONTENUM=no'
7167 wx_cv_use_fontenum
='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7172 eval "$wx_cv_use_fontenum"
7174 if test x"$enablestring" = xdisable; then
7175 if test $wxUSE_FONTENUM = no; then
7181 result=$wxUSE_FONTENUM
7184 { echo "$as_me:$LINENO: result: $result" >&5
7185 echo "${ECHO_T}$result" >&6; }
7189 defaultval=$wxUSE_ALL_FEATURES
7190 if test -z "$defaultval"; then
7191 if test x"$enablestring" = xdisable; then
7198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7199 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7200 # Check whether --enable-fontmap was given.
7201 if test "${enable_fontmap+set}" = set; then
7202 enableval=$enable_fontmap;
7203 if test "$enableval" = yes; then
7204 wx_cv_use_fontmap='wxUSE_FONTMAP
=yes'
7206 wx_cv_use_fontmap='wxUSE_FONTMAP
=no
'
7211 wx_cv_use_fontmap='wxUSE_FONTMAP
=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7216 eval "$wx_cv_use_fontmap"
7218 if test x"$enablestring" = xdisable; then
7219 if test $wxUSE_FONTMAP = no; then
7225 result=$wxUSE_FONTMAP
7228 { echo "$as_me:$LINENO: result
: $result" >&5
7229 echo "${ECHO_T}$result" >&6; }
7233 defaultval=$wxUSE_ALL_FEATURES
7234 if test -z "$defaultval"; then
7235 if test x"$enablestring" = xdisable; then
7242 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_archive" >&5
7243 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_archive...
$ECHO_C" >&6; }
7244 # Check whether --enable-fs_archive was given.
7245 if test "${enable_fs_archive+set}" = set; then
7246 enableval=$enable_fs_archive;
7247 if test "$enableval" = yes; then
7248 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7250 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7255 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7260 eval "$wx_cv_use_fs_archive"
7262 if test x
"$enablestring" = xdisable
; then
7263 if test $wxUSE_FS_ARCHIVE = no
; then
7269 result
=$wxUSE_FS_ARCHIVE
7272 { echo "$as_me:$LINENO: result: $result" >&5
7273 echo "${ECHO_T}$result" >&6; }
7277 defaultval
=$wxUSE_ALL_FEATURES
7278 if test -z "$defaultval"; then
7279 if test x
"$enablestring" = xdisable
; then
7286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7287 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7288 # Check whether --enable-fs_inet was given.
7289 if test "${enable_fs_inet+set}" = set; then
7290 enableval
=$enable_fs_inet;
7291 if test "$enableval" = yes; then
7292 wx_cv_use_fs_inet
='wxUSE_FS_INET=yes'
7294 wx_cv_use_fs_inet
='wxUSE_FS_INET=no'
7299 wx_cv_use_fs_inet
='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7304 eval "$wx_cv_use_fs_inet"
7306 if test x"$enablestring" = xdisable; then
7307 if test $wxUSE_FS_INET = no; then
7313 result=$wxUSE_FS_INET
7316 { echo "$as_me:$LINENO: result: $result" >&5
7317 echo "${ECHO_T}$result" >&6; }
7321 defaultval=$wxUSE_ALL_FEATURES
7322 if test -z "$defaultval"; then
7323 if test x"$enablestring" = xdisable; then
7330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7331 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7332 # Check whether --enable-fs_zip was given.
7333 if test "${enable_fs_zip+set}" = set; then
7334 enableval=$enable_fs_zip;
7335 if test "$enableval" = yes; then
7336 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
7338 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
7343 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7348 eval "$wx_cv_use_fs_zip"
7350 if test x"$enablestring" = xdisable; then
7351 if test $wxUSE_FS_ZIP = no; then
7357 result=$wxUSE_FS_ZIP
7360 { echo "$as_me:$LINENO: result
: $result" >&5
7361 echo "${ECHO_T}$result" >&6; }
7365 defaultval=$wxUSE_ALL_FEATURES
7366 if test -z "$defaultval"; then
7367 if test x"$enablestring" = xdisable; then
7374 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fswatcher" >&5
7375 echo $ECHO_N "checking
for --${enablestring:-enable}-fswatcher...
$ECHO_C" >&6; }
7376 # Check whether --enable-fswatcher was given.
7377 if test "${enable_fswatcher+set}" = set; then
7378 enableval=$enable_fswatcher;
7379 if test "$enableval" = yes; then
7380 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7382 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7387 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7392 eval "$wx_cv_use_fswatcher"
7394 if test x
"$enablestring" = xdisable
; then
7395 if test $wxUSE_FSWATCHER = no
; then
7401 result
=$wxUSE_FSWATCHER
7404 { echo "$as_me:$LINENO: result: $result" >&5
7405 echo "${ECHO_T}$result" >&6; }
7409 defaultval
=$wxUSE_ALL_FEATURES
7410 if test -z "$defaultval"; then
7411 if test x
"$enablestring" = xdisable
; then
7418 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7419 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7420 # Check whether --enable-geometry was given.
7421 if test "${enable_geometry+set}" = set; then
7422 enableval
=$enable_geometry;
7423 if test "$enableval" = yes; then
7424 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
7426 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
7431 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7436 eval "$wx_cv_use_geometry"
7438 if test x"$enablestring" = xdisable; then
7439 if test $wxUSE_GEOMETRY = no; then
7445 result=$wxUSE_GEOMETRY
7448 { echo "$as_me:$LINENO: result: $result" >&5
7449 echo "${ECHO_T}$result" >&6; }
7453 defaultval=$wxUSE_ALL_FEATURES
7454 if test -z "$defaultval"; then
7455 if test x"$enablestring" = xdisable; then
7462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7463 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7464 # Check whether --enable-log was given.
7465 if test "${enable_log+set}" = set; then
7466 enableval=$enable_log;
7467 if test "$enableval" = yes; then
7468 wx_cv_use_log='wxUSE_LOG
=yes'
7470 wx_cv_use_log='wxUSE_LOG
=no
'
7475 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7480 eval "$wx_cv_use_log"
7482 if test x"$enablestring" = xdisable; then
7483 if test $wxUSE_LOG = no; then
7492 { echo "$as_me:$LINENO: result
: $result" >&5
7493 echo "${ECHO_T}$result" >&6; }
7497 defaultval=$wxUSE_ALL_FEATURES
7498 if test -z "$defaultval"; then
7499 if test x"$enablestring" = xdisable; then
7506 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-longlong" >&5
7507 echo $ECHO_N "checking
for --${enablestring:-enable}-longlong...
$ECHO_C" >&6; }
7508 # Check whether --enable-longlong was given.
7509 if test "${enable_longlong+set}" = set; then
7510 enableval=$enable_longlong;
7511 if test "$enableval" = yes; then
7512 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7514 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7519 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7524 eval "$wx_cv_use_longlong"
7526 if test x
"$enablestring" = xdisable
; then
7527 if test $wxUSE_LONGLONG = no
; then
7533 result
=$wxUSE_LONGLONG
7536 { echo "$as_me:$LINENO: result: $result" >&5
7537 echo "${ECHO_T}$result" >&6; }
7541 defaultval
=$wxUSE_ALL_FEATURES
7542 if test -z "$defaultval"; then
7543 if test x
"$enablestring" = xdisable
; then
7550 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7551 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7552 # Check whether --enable-mimetype was given.
7553 if test "${enable_mimetype+set}" = set; then
7554 enableval
=$enable_mimetype;
7555 if test "$enableval" = yes; then
7556 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
7558 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
7563 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7568 eval "$wx_cv_use_mimetype"
7570 if test x"$enablestring" = xdisable; then
7571 if test $wxUSE_MIMETYPE = no; then
7577 result=$wxUSE_MIMETYPE
7580 { echo "$as_me:$LINENO: result: $result" >&5
7581 echo "${ECHO_T}$result" >&6; }
7585 defaultval=$wxUSE_ALL_FEATURES
7586 if test -z "$defaultval"; then
7587 if test x"$enablestring" = xdisable; then
7594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7595 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7596 # Check whether --enable-printfposparam was given.
7597 if test "${enable_printfposparam+set}" = set; then
7598 enableval=$enable_printfposparam;
7599 if test "$enableval" = yes; then
7600 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
7602 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
7607 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7612 eval "$wx_cv_use_printfposparam"
7614 if test x"$enablestring" = xdisable; then
7615 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7621 result=$wxUSE_PRINTF_POS_PARAMS
7624 { echo "$as_me:$LINENO: result
: $result" >&5
7625 echo "${ECHO_T}$result" >&6; }
7629 defaultval=$wxUSE_ALL_FEATURES
7630 if test -z "$defaultval"; then
7631 if test x"$enablestring" = xdisable; then
7638 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-snglinst" >&5
7639 echo $ECHO_N "checking
for --${enablestring:-enable}-snglinst...
$ECHO_C" >&6; }
7640 # Check whether --enable-snglinst was given.
7641 if test "${enable_snglinst+set}" = set; then
7642 enableval=$enable_snglinst;
7643 if test "$enableval" = yes; then
7644 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7646 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7651 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7656 eval "$wx_cv_use_snglinst"
7658 if test x
"$enablestring" = xdisable
; then
7659 if test $wxUSE_SNGLINST_CHECKER = no
; then
7665 result
=$wxUSE_SNGLINST_CHECKER
7668 { echo "$as_me:$LINENO: result: $result" >&5
7669 echo "${ECHO_T}$result" >&6; }
7673 defaultval
=$wxUSE_ALL_FEATURES
7674 if test -z "$defaultval"; then
7675 if test x
"$enablestring" = xdisable
; then
7682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7683 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7684 # Check whether --enable-sound was given.
7685 if test "${enable_sound+set}" = set; then
7686 enableval
=$enable_sound;
7687 if test "$enableval" = yes; then
7688 wx_cv_use_sound
='wxUSE_SOUND=yes'
7690 wx_cv_use_sound
='wxUSE_SOUND=no'
7695 wx_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7700 eval "$wx_cv_use_sound"
7702 if test x"$enablestring" = xdisable; then
7703 if test $wxUSE_SOUND = no; then
7712 { echo "$as_me:$LINENO: result: $result" >&5
7713 echo "${ECHO_T}$result" >&6; }
7717 defaultval=$wxUSE_ALL_FEATURES
7718 if test -z "$defaultval"; then
7719 if test x"$enablestring" = xdisable; then
7726 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7727 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7728 # Check whether --enable-stdpaths was given.
7729 if test "${enable_stdpaths+set}" = set; then
7730 enableval=$enable_stdpaths;
7731 if test "$enableval" = yes; then
7732 wx_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
7734 wx_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
7739 wx_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7744 eval "$wx_cv_use_stdpaths"
7746 if test x"$enablestring" = xdisable; then
7747 if test $wxUSE_STDPATHS = no; then
7753 result=$wxUSE_STDPATHS
7756 { echo "$as_me:$LINENO: result
: $result" >&5
7757 echo "${ECHO_T}$result" >&6; }
7761 defaultval=$wxUSE_ALL_FEATURES
7762 if test -z "$defaultval"; then
7763 if test x"$enablestring" = xdisable; then
7770 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stopwatch" >&5
7771 echo $ECHO_N "checking
for --${enablestring:-enable}-stopwatch...
$ECHO_C" >&6; }
7772 # Check whether --enable-stopwatch was given.
7773 if test "${enable_stopwatch+set}" = set; then
7774 enableval=$enable_stopwatch;
7775 if test "$enableval" = yes; then
7776 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7778 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7783 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7788 eval "$wx_cv_use_stopwatch"
7790 if test x
"$enablestring" = xdisable
; then
7791 if test $wxUSE_STOPWATCH = no
; then
7797 result
=$wxUSE_STOPWATCH
7800 { echo "$as_me:$LINENO: result: $result" >&5
7801 echo "${ECHO_T}$result" >&6; }
7805 defaultval
=$wxUSE_ALL_FEATURES
7806 if test -z "$defaultval"; then
7807 if test x
"$enablestring" = xdisable
; then
7814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7815 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7816 # Check whether --enable-streams was given.
7817 if test "${enable_streams+set}" = set; then
7818 enableval
=$enable_streams;
7819 if test "$enableval" = yes; then
7820 wx_cv_use_streams
='wxUSE_STREAMS=yes'
7822 wx_cv_use_streams
='wxUSE_STREAMS=no'
7827 wx_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7832 eval "$wx_cv_use_streams"
7834 if test x"$enablestring" = xdisable; then
7835 if test $wxUSE_STREAMS = no; then
7841 result=$wxUSE_STREAMS
7844 { echo "$as_me:$LINENO: result: $result" >&5
7845 echo "${ECHO_T}$result" >&6; }
7849 defaultval=$wxUSE_ALL_FEATURES
7850 if test -z "$defaultval"; then
7851 if test x"$enablestring" = xdisable; then
7858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7859 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7860 # Check whether --enable-sysoptions was given.
7861 if test "${enable_sysoptions+set}" = set; then
7862 enableval=$enable_sysoptions;
7863 if test "$enableval" = yes; then
7864 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=yes'
7866 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=no
'
7871 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7876 eval "$wx_cv_use_sysoptions"
7878 if test x"$enablestring" = xdisable; then
7879 if test $wxUSE_SYSTEM_OPTIONS = no; then
7885 result=$wxUSE_SYSTEM_OPTIONS
7888 { echo "$as_me:$LINENO: result
: $result" >&5
7889 echo "${ECHO_T}$result" >&6; }
7893 defaultval=$wxUSE_ALL_FEATURES
7894 if test -z "$defaultval"; then
7895 if test x"$enablestring" = xdisable; then
7902 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tarstream" >&5
7903 echo $ECHO_N "checking
for --${enablestring:-enable}-tarstream...
$ECHO_C" >&6; }
7904 # Check whether --enable-tarstream was given.
7905 if test "${enable_tarstream+set}" = set; then
7906 enableval=$enable_tarstream;
7907 if test "$enableval" = yes; then
7908 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7910 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7915 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7920 eval "$wx_cv_use_tarstream"
7922 if test x
"$enablestring" = xdisable
; then
7923 if test $wxUSE_TARSTREAM = no
; then
7929 result
=$wxUSE_TARSTREAM
7932 { echo "$as_me:$LINENO: result: $result" >&5
7933 echo "${ECHO_T}$result" >&6; }
7937 defaultval
=$wxUSE_ALL_FEATURES
7938 if test -z "$defaultval"; then
7939 if test x
"$enablestring" = xdisable
; then
7946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7947 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7948 # Check whether --enable-textbuf was given.
7949 if test "${enable_textbuf+set}" = set; then
7950 enableval
=$enable_textbuf;
7951 if test "$enableval" = yes; then
7952 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
7954 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
7959 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7964 eval "$wx_cv_use_textbuf"
7966 if test x"$enablestring" = xdisable; then
7967 if test $wxUSE_TEXTBUFFER = no; then
7973 result=$wxUSE_TEXTBUFFER
7976 { echo "$as_me:$LINENO: result: $result" >&5
7977 echo "${ECHO_T}$result" >&6; }
7981 defaultval=$wxUSE_ALL_FEATURES
7982 if test -z "$defaultval"; then
7983 if test x"$enablestring" = xdisable; then
7990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7991 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7992 # Check whether --enable-textfile was given.
7993 if test "${enable_textfile+set}" = set; then
7994 enableval=$enable_textfile;
7995 if test "$enableval" = yes; then
7996 wx_cv_use_textfile='wxUSE_TEXTFILE
=yes'
7998 wx_cv_use_textfile='wxUSE_TEXTFILE
=no
'
8003 wx_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8008 eval "$wx_cv_use_textfile"
8010 if test x"$enablestring" = xdisable; then
8011 if test $wxUSE_TEXTFILE = no; then
8017 result=$wxUSE_TEXTFILE
8020 { echo "$as_me:$LINENO: result
: $result" >&5
8021 echo "${ECHO_T}$result" >&6; }
8025 defaultval=$wxUSE_ALL_FEATURES
8026 if test -z "$defaultval"; then
8027 if test x"$enablestring" = xdisable; then
8034 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-timer" >&5
8035 echo $ECHO_N "checking
for --${enablestring:-enable}-timer...
$ECHO_C" >&6; }
8036 # Check whether --enable-timer was given.
8037 if test "${enable_timer+set}" = set; then
8038 enableval=$enable_timer;
8039 if test "$enableval" = yes; then
8040 wx_cv_use_timer='wxUSE_TIMER=yes'
8042 wx_cv_use_timer='wxUSE_TIMER=no'
8047 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8052 eval "$wx_cv_use_timer"
8054 if test x
"$enablestring" = xdisable
; then
8055 if test $wxUSE_TIMER = no
; then
8064 { echo "$as_me:$LINENO: result: $result" >&5
8065 echo "${ECHO_T}$result" >&6; }
8069 defaultval
=$wxUSE_ALL_FEATURES
8070 if test -z "$defaultval"; then
8071 if test x
"$enablestring" = xdisable
; then
8078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8079 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8080 # Check whether --enable-variant was given.
8081 if test "${enable_variant+set}" = set; then
8082 enableval
=$enable_variant;
8083 if test "$enableval" = yes; then
8084 wx_cv_use_variant
='wxUSE_VARIANT=yes'
8086 wx_cv_use_variant
='wxUSE_VARIANT=no'
8091 wx_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8096 eval "$wx_cv_use_variant"
8098 if test x"$enablestring" = xdisable; then
8099 if test $wxUSE_VARIANT = no; then
8105 result=$wxUSE_VARIANT
8108 { echo "$as_me:$LINENO: result: $result" >&5
8109 echo "${ECHO_T}$result" >&6; }
8113 defaultval=$wxUSE_ALL_FEATURES
8114 if test -z "$defaultval"; then
8115 if test x"$enablestring" = xdisable; then
8122 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8123 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8124 # Check whether --enable-zipstream was given.
8125 if test "${enable_zipstream+set}" = set; then
8126 enableval=$enable_zipstream;
8127 if test "$enableval" = yes; then
8128 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
8130 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
8135 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8140 eval "$wx_cv_use_zipstream"
8142 if test x"$enablestring" = xdisable; then
8143 if test $wxUSE_ZIPSTREAM = no; then
8149 result=$wxUSE_ZIPSTREAM
8152 { echo "$as_me:$LINENO: result
: $result" >&5
8153 echo "${ECHO_T}$result" >&6; }
8158 defaultval=$wxUSE_ALL_FEATURES
8159 if test -z "$defaultval"; then
8160 if test x"$enablestring" = xdisable; then
8167 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-url" >&5
8168 echo $ECHO_N "checking
for --${enablestring:-enable}-url...
$ECHO_C" >&6; }
8169 # Check whether --enable-url was given.
8170 if test "${enable_url+set}" = set; then
8171 enableval=$enable_url;
8172 if test "$enableval" = yes; then
8173 wx_cv_use_url='wxUSE_URL=yes'
8175 wx_cv_use_url='wxUSE_URL=no'
8180 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8185 eval "$wx_cv_use_url"
8187 if test x
"$enablestring" = xdisable
; then
8188 if test $wxUSE_URL = no
; then
8197 { echo "$as_me:$LINENO: result: $result" >&5
8198 echo "${ECHO_T}$result" >&6; }
8202 defaultval
=$wxUSE_ALL_FEATURES
8203 if test -z "$defaultval"; then
8204 if test x
"$enablestring" = xdisable
; then
8211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8212 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8213 # Check whether --enable-protocol was given.
8214 if test "${enable_protocol+set}" = set; then
8215 enableval
=$enable_protocol;
8216 if test "$enableval" = yes; then
8217 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
8219 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
8224 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8229 eval "$wx_cv_use_protocol"
8231 if test x"$enablestring" = xdisable; then
8232 if test $wxUSE_PROTOCOL = no; then
8238 result=$wxUSE_PROTOCOL
8241 { echo "$as_me:$LINENO: result: $result" >&5
8242 echo "${ECHO_T}$result" >&6; }
8246 defaultval=$wxUSE_ALL_FEATURES
8247 if test -z "$defaultval"; then
8248 if test x"$enablestring" = xdisable; then
8255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8256 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8257 # Check whether --enable-protocol_http was given.
8258 if test "${enable_protocol_http+set}" = set; then
8259 enableval=$enable_protocol_http;
8260 if test "$enableval" = yes; then
8261 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
8263 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
8268 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8273 eval "$wx_cv_use_protocol_http"
8275 if test x"$enablestring" = xdisable; then
8276 if test $wxUSE_PROTOCOL_HTTP = no; then
8282 result=$wxUSE_PROTOCOL_HTTP
8285 { echo "$as_me:$LINENO: result
: $result" >&5
8286 echo "${ECHO_T}$result" >&6; }
8290 defaultval=$wxUSE_ALL_FEATURES
8291 if test -z "$defaultval"; then
8292 if test x"$enablestring" = xdisable; then
8299 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_ftp" >&5
8300 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_ftp...
$ECHO_C" >&6; }
8301 # Check whether --enable-protocol_ftp was given.
8302 if test "${enable_protocol_ftp+set}" = set; then
8303 enableval=$enable_protocol_ftp;
8304 if test "$enableval" = yes; then
8305 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8307 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8312 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8317 eval "$wx_cv_use_protocol_ftp"
8319 if test x
"$enablestring" = xdisable
; then
8320 if test $wxUSE_PROTOCOL_FTP = no
; then
8326 result
=$wxUSE_PROTOCOL_FTP
8329 { echo "$as_me:$LINENO: result: $result" >&5
8330 echo "${ECHO_T}$result" >&6; }
8334 defaultval
=$wxUSE_ALL_FEATURES
8335 if test -z "$defaultval"; then
8336 if test x
"$enablestring" = xdisable
; then
8343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8344 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8345 # Check whether --enable-protocol_file was given.
8346 if test "${enable_protocol_file+set}" = set; then
8347 enableval
=$enable_protocol_file;
8348 if test "$enableval" = yes; then
8349 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
8351 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
8356 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8361 eval "$wx_cv_use_protocol_file"
8363 if test x"$enablestring" = xdisable; then
8364 if test $wxUSE_PROTOCOL_FILE = no; then
8370 result=$wxUSE_PROTOCOL_FILE
8373 { echo "$as_me:$LINENO: result: $result" >&5
8374 echo "${ECHO_T}$result" >&6; }
8379 defaultval=$wxUSE_ALL_FEATURES
8380 if test -z "$defaultval"; then
8381 if test x"$enablestring" = xdisable; then
8388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8389 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8390 # Check whether --enable-threads was given.
8391 if test "${enable_threads+set}" = set; then
8392 enableval=$enable_threads;
8393 if test "$enableval" = yes; then
8394 wx_cv_use_threads='wxUSE_THREADS
=yes'
8396 wx_cv_use_threads='wxUSE_THREADS
=no
'
8401 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8406 eval "$wx_cv_use_threads"
8408 if test x"$enablestring" = xdisable; then
8409 if test $wxUSE_THREADS = no; then
8415 result=$wxUSE_THREADS
8418 { echo "$as_me:$LINENO: result
: $result" >&5
8419 echo "${ECHO_T}$result" >&6; }
8425 if test -z "$defaultval"; then
8426 if test x"$enablestring" = xdisable; then
8433 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iniconf" >&5
8434 echo $ECHO_N "checking
for --${enablestring:-enable}-iniconf...
$ECHO_C" >&6; }
8435 # Check whether --enable-iniconf was given.
8436 if test "${enable_iniconf+set}" = set; then
8437 enableval=$enable_iniconf;
8438 if test "$enableval" = yes; then
8439 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8441 wx_cv_use_iniconf='wxUSE_INICONF=no'
8446 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8451 eval "$wx_cv_use_iniconf"
8453 if test x
"$enablestring" = xdisable
; then
8454 if test $wxUSE_INICONF = no
; then
8460 result
=$wxUSE_INICONF
8463 { echo "$as_me:$LINENO: result: $result" >&5
8464 echo "${ECHO_T}$result" >&6; }
8468 defaultval
=$wxUSE_ALL_FEATURES
8469 if test -z "$defaultval"; then
8470 if test x
"$enablestring" = xdisable
; then
8477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8478 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8479 # Check whether --enable-regkey was given.
8480 if test "${enable_regkey+set}" = set; then
8481 enableval
=$enable_regkey;
8482 if test "$enableval" = yes; then
8483 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
8485 wx_cv_use_regkey
='wxUSE_REGKEY=no'
8490 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8495 eval "$wx_cv_use_regkey"
8497 if test x"$enablestring" = xdisable; then
8498 if test $wxUSE_REGKEY = no; then
8504 result=$wxUSE_REGKEY
8507 { echo "$as_me:$LINENO: result: $result" >&5
8508 echo "${ECHO_T}$result" >&6; }
8511 if test "$wxUSE_GUI" = "yes"; then
8516 defaultval=$wxUSE_ALL_FEATURES
8517 if test -z "$defaultval"; then
8518 if test x"$enablestring" = xdisable; then
8525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8526 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8527 # Check whether --enable-docview was given.
8528 if test "${enable_docview+set}" = set; then
8529 enableval=$enable_docview;
8530 if test "$enableval" = yes; then
8531 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
8533 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
8538 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8543 eval "$wx_cv_use_docview"
8545 if test x"$enablestring" = xdisable; then
8546 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8552 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8555 { echo "$as_me:$LINENO: result
: $result" >&5
8556 echo "${ECHO_T}$result" >&6; }
8560 defaultval=$wxUSE_ALL_FEATURES
8561 if test -z "$defaultval"; then
8562 if test x"$enablestring" = xdisable; then
8569 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-help" >&5
8570 echo $ECHO_N "checking
for --${enablestring:-enable}-help...
$ECHO_C" >&6; }
8571 # Check whether --enable-help was given.
8572 if test "${enable_help+set}" = set; then
8573 enableval=$enable_help;
8574 if test "$enableval" = yes; then
8575 wx_cv_use_help='wxUSE_HELP=yes'
8577 wx_cv_use_help='wxUSE_HELP=no'
8582 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8587 eval "$wx_cv_use_help"
8589 if test x
"$enablestring" = xdisable
; then
8590 if test $wxUSE_HELP = no
; then
8599 { echo "$as_me:$LINENO: result: $result" >&5
8600 echo "${ECHO_T}$result" >&6; }
8604 defaultval
=$wxUSE_ALL_FEATURES
8605 if test -z "$defaultval"; then
8606 if test x
"$enablestring" = xdisable
; then
8613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8614 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8615 # Check whether --enable-mshtmlhelp was given.
8616 if test "${enable_mshtmlhelp+set}" = set; then
8617 enableval
=$enable_mshtmlhelp;
8618 if test "$enableval" = yes; then
8619 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
8621 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
8626 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8631 eval "$wx_cv_use_mshtmlhelp"
8633 if test x"$enablestring" = xdisable; then
8634 if test $wxUSE_MS_HTML_HELP = no; then
8640 result=$wxUSE_MS_HTML_HELP
8643 { echo "$as_me:$LINENO: result: $result" >&5
8644 echo "${ECHO_T}$result" >&6; }
8648 defaultval=$wxUSE_ALL_FEATURES
8649 if test -z "$defaultval"; then
8650 if test x"$enablestring" = xdisable; then
8657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8658 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8659 # Check whether --enable-html was given.
8660 if test "${enable_html+set}" = set; then
8661 enableval=$enable_html;
8662 if test "$enableval" = yes; then
8663 wx_cv_use_html='wxUSE_HTML
=yes'
8665 wx_cv_use_html='wxUSE_HTML
=no
'
8670 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8675 eval "$wx_cv_use_html"
8677 if test x"$enablestring" = xdisable; then
8678 if test $wxUSE_HTML = no; then
8687 { echo "$as_me:$LINENO: result
: $result" >&5
8688 echo "${ECHO_T}$result" >&6; }
8692 defaultval=$wxUSE_ALL_FEATURES
8693 if test -z "$defaultval"; then
8694 if test x"$enablestring" = xdisable; then
8701 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-htmlhelp" >&5
8702 echo $ECHO_N "checking
for --${enablestring:-enable}-htmlhelp...
$ECHO_C" >&6; }
8703 # Check whether --enable-htmlhelp was given.
8704 if test "${enable_htmlhelp+set}" = set; then
8705 enableval=$enable_htmlhelp;
8706 if test "$enableval" = yes; then
8707 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8709 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8714 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8719 eval "$wx_cv_use_htmlhelp"
8721 if test x
"$enablestring" = xdisable
; then
8722 if test $wxUSE_WXHTML_HELP = no
; then
8728 result
=$wxUSE_WXHTML_HELP
8731 { echo "$as_me:$LINENO: result: $result" >&5
8732 echo "${ECHO_T}$result" >&6; }
8736 defaultval
=$wxUSE_ALL_FEATURES
8737 if test -z "$defaultval"; then
8738 if test x
"$enablestring" = xdisable
; then
8745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8746 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8747 # Check whether --enable-xrc was given.
8748 if test "${enable_xrc+set}" = set; then
8749 enableval
=$enable_xrc;
8750 if test "$enableval" = yes; then
8751 wx_cv_use_xrc
='wxUSE_XRC=yes'
8753 wx_cv_use_xrc
='wxUSE_XRC=no'
8758 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8763 eval "$wx_cv_use_xrc"
8765 if test x"$enablestring" = xdisable; then
8766 if test $wxUSE_XRC = no; then
8775 { echo "$as_me:$LINENO: result: $result" >&5
8776 echo "${ECHO_T}$result" >&6; }
8780 defaultval=$wxUSE_ALL_FEATURES
8781 if test -z "$defaultval"; then
8782 if test x"$enablestring" = xdisable; then
8789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8790 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8791 # Check whether --enable-aui was given.
8792 if test "${enable_aui+set}" = set; then
8793 enableval=$enable_aui;
8794 if test "$enableval" = yes; then
8795 wx_cv_use_aui='wxUSE_AUI
=yes'
8797 wx_cv_use_aui='wxUSE_AUI
=no
'
8802 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8807 eval "$wx_cv_use_aui"
8809 if test x"$enablestring" = xdisable; then
8810 if test $wxUSE_AUI = no; then
8819 { echo "$as_me:$LINENO: result
: $result" >&5
8820 echo "${ECHO_T}$result" >&6; }
8824 defaultval=$wxUSE_ALL_FEATURES
8825 if test -z "$defaultval"; then
8826 if test x"$enablestring" = xdisable; then
8833 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-propgrid" >&5
8834 echo $ECHO_N "checking
for --${enablestring:-enable}-propgrid...
$ECHO_C" >&6; }
8835 # Check whether --enable-propgrid was given.
8836 if test "${enable_propgrid+set}" = set; then
8837 enableval=$enable_propgrid;
8838 if test "$enableval" = yes; then
8839 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8841 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8846 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8851 eval "$wx_cv_use_propgrid"
8853 if test x
"$enablestring" = xdisable
; then
8854 if test $wxUSE_PROPGRID = no
; then
8860 result
=$wxUSE_PROPGRID
8863 { echo "$as_me:$LINENO: result: $result" >&5
8864 echo "${ECHO_T}$result" >&6; }
8868 defaultval
=$wxUSE_ALL_FEATURES
8869 if test -z "$defaultval"; then
8870 if test x
"$enablestring" = xdisable
; then
8877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8878 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8879 # Check whether --enable-ribbon was given.
8880 if test "${enable_ribbon+set}" = set; then
8881 enableval
=$enable_ribbon;
8882 if test "$enableval" = yes; then
8883 wx_cv_use_ribbon
='wxUSE_RIBBON=yes'
8885 wx_cv_use_ribbon
='wxUSE_RIBBON=no'
8890 wx_cv_use_ribbon
='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8895 eval "$wx_cv_use_ribbon"
8897 if test x"$enablestring" = xdisable; then
8898 if test $wxUSE_RIBBON = no; then
8904 result=$wxUSE_RIBBON
8907 { echo "$as_me:$LINENO: result: $result" >&5
8908 echo "${ECHO_T}$result" >&6; }
8912 defaultval=$wxUSE_ALL_FEATURES
8913 if test -z "$defaultval"; then
8914 if test x"$enablestring" = xdisable; then
8921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8922 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8923 # Check whether --enable-stc was given.
8924 if test "${enable_stc+set}" = set; then
8925 enableval=$enable_stc;
8926 if test "$enableval" = yes; then
8927 wx_cv_use_stc='wxUSE_STC
=yes'
8929 wx_cv_use_stc='wxUSE_STC
=no
'
8934 wx_cv_use_stc='wxUSE_STC
=${'DEFAULT_wxUSE_STC":-$defaultval}"
8939 eval "$wx_cv_use_stc"
8941 if test x"$enablestring" = xdisable; then
8942 if test $wxUSE_STC = no; then
8951 { echo "$as_me:$LINENO: result
: $result" >&5
8952 echo "${ECHO_T}$result" >&6; }
8956 defaultval=$wxUSE_ALL_FEATURES
8957 if test -z "$defaultval"; then
8958 if test x"$enablestring" = xdisable; then
8965 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-constraints" >&5
8966 echo $ECHO_N "checking
for --${enablestring:-enable}-constraints...
$ECHO_C" >&6; }
8967 # Check whether --enable-constraints was given.
8968 if test "${enable_constraints+set}" = set; then
8969 enableval=$enable_constraints;
8970 if test "$enableval" = yes; then
8971 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8973 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8978 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8983 eval "$wx_cv_use_constraints"
8985 if test x
"$enablestring" = xdisable
; then
8986 if test $wxUSE_CONSTRAINTS = no
; then
8992 result
=$wxUSE_CONSTRAINTS
8995 { echo "$as_me:$LINENO: result: $result" >&5
8996 echo "${ECHO_T}$result" >&6; }
9000 defaultval
=$wxUSE_ALL_FEATURES
9001 if test -z "$defaultval"; then
9002 if test x
"$enablestring" = xdisable
; then
9009 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9010 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9011 # Check whether --enable-loggui was given.
9012 if test "${enable_loggui+set}" = set; then
9013 enableval
=$enable_loggui;
9014 if test "$enableval" = yes; then
9015 wx_cv_use_loggui
='wxUSE_LOGGUI=yes'
9017 wx_cv_use_loggui
='wxUSE_LOGGUI=no'
9022 wx_cv_use_loggui
='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9027 eval "$wx_cv_use_loggui"
9029 if test x"$enablestring" = xdisable; then
9030 if test $wxUSE_LOGGUI = no; then
9036 result=$wxUSE_LOGGUI
9039 { echo "$as_me:$LINENO: result: $result" >&5
9040 echo "${ECHO_T}$result" >&6; }
9044 defaultval=$wxUSE_ALL_FEATURES
9045 if test -z "$defaultval"; then
9046 if test x"$enablestring" = xdisable; then
9053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9054 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9055 # Check whether --enable-logwin was given.
9056 if test "${enable_logwin+set}" = set; then
9057 enableval=$enable_logwin;
9058 if test "$enableval" = yes; then
9059 wx_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
9061 wx_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
9066 wx_cv_use_logwin='wxUSE_LOGWINDOW
=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9071 eval "$wx_cv_use_logwin"
9073 if test x"$enablestring" = xdisable; then
9074 if test $wxUSE_LOGWINDOW = no; then
9080 result=$wxUSE_LOGWINDOW
9083 { echo "$as_me:$LINENO: result
: $result" >&5
9084 echo "${ECHO_T}$result" >&6; }
9088 defaultval=$wxUSE_ALL_FEATURES
9089 if test -z "$defaultval"; then
9090 if test x"$enablestring" = xdisable; then
9097 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-logdialog" >&5
9098 echo $ECHO_N "checking
for --${enablestring:-enable}-logdialog...
$ECHO_C" >&6; }
9099 # Check whether --enable-logdialog was given.
9100 if test "${enable_logdialog+set}" = set; then
9101 enableval=$enable_logdialog;
9102 if test "$enableval" = yes; then
9103 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9105 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9110 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9115 eval "$wx_cv_use_logdialog"
9117 if test x
"$enablestring" = xdisable
; then
9118 if test $wxUSE_LOGDIALOG = no
; then
9124 result
=$wxUSE_LOGDIALOG
9127 { echo "$as_me:$LINENO: result: $result" >&5
9128 echo "${ECHO_T}$result" >&6; }
9132 defaultval
=$wxUSE_ALL_FEATURES
9133 if test -z "$defaultval"; then
9134 if test x
"$enablestring" = xdisable
; then
9141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9142 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9143 # Check whether --enable-mdi was given.
9144 if test "${enable_mdi+set}" = set; then
9145 enableval
=$enable_mdi;
9146 if test "$enableval" = yes; then
9147 wx_cv_use_mdi
='wxUSE_MDI=yes'
9149 wx_cv_use_mdi
='wxUSE_MDI=no'
9154 wx_cv_use_mdi
='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9159 eval "$wx_cv_use_mdi"
9161 if test x"$enablestring" = xdisable; then
9162 if test $wxUSE_MDI = no; then
9171 { echo "$as_me:$LINENO: result: $result" >&5
9172 echo "${ECHO_T}$result" >&6; }
9176 defaultval=$wxUSE_ALL_FEATURES
9177 if test -z "$defaultval"; then
9178 if test x"$enablestring" = xdisable; then
9185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9186 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9187 # Check whether --enable-mdidoc was given.
9188 if test "${enable_mdidoc+set}" = set; then
9189 enableval=$enable_mdidoc;
9190 if test "$enableval" = yes; then
9191 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
9193 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
9198 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9203 eval "$wx_cv_use_mdidoc"
9205 if test x"$enablestring" = xdisable; then
9206 if test $wxUSE_MDI_ARCHITECTURE = no; then
9212 result=$wxUSE_MDI_ARCHITECTURE
9215 { echo "$as_me:$LINENO: result
: $result" >&5
9216 echo "${ECHO_T}$result" >&6; }
9220 defaultval=$wxUSE_ALL_FEATURES
9221 if test -z "$defaultval"; then
9222 if test x"$enablestring" = xdisable; then
9229 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mediactrl" >&5
9230 echo $ECHO_N "checking
for --${enablestring:-enable}-mediactrl...
$ECHO_C" >&6; }
9231 # Check whether --enable-mediactrl was given.
9232 if test "${enable_mediactrl+set}" = set; then
9233 enableval=$enable_mediactrl;
9234 if test "$enableval" = yes; then
9235 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9237 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9242 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9247 eval "$wx_cv_use_mediactrl"
9249 if test x
"$enablestring" = xdisable
; then
9250 if test $wxUSE_MEDIACTRL = no
; then
9256 result
=$wxUSE_MEDIACTRL
9259 { echo "$as_me:$LINENO: result: $result" >&5
9260 echo "${ECHO_T}$result" >&6; }
9264 defaultval
=$wxUSE_ALL_FEATURES
9265 if test -z "$defaultval"; then
9266 if test x
"$enablestring" = xdisable
; then
9273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9274 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9275 # Check whether --enable-gstreamer8 was given.
9276 if test "${enable_gstreamer8+set}" = set; then
9277 enableval
=$enable_gstreamer8;
9278 if test "$enableval" = yes; then
9279 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
9281 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
9286 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9291 eval "$wx_cv_use_gstreamer8"
9293 if test x"$enablestring" = xdisable; then
9294 if test $wxUSE_GSTREAMER8 = no; then
9300 result=$wxUSE_GSTREAMER8
9303 { echo "$as_me:$LINENO: result: $result" >&5
9304 echo "${ECHO_T}$result" >&6; }
9308 defaultval=$wxUSE_ALL_FEATURES
9309 if test -z "$defaultval"; then
9310 if test x"$enablestring" = xdisable; then
9317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9318 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9319 # Check whether --enable-webkit was given.
9320 if test "${enable_webkit+set}" = set; then
9321 enableval=$enable_webkit;
9322 if test "$enableval" = yes; then
9323 wx_cv_use_webkit='wxUSE_WEBKIT
=yes'
9325 wx_cv_use_webkit='wxUSE_WEBKIT
=no
'
9330 wx_cv_use_webkit='wxUSE_WEBKIT
=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9335 eval "$wx_cv_use_webkit"
9337 if test x"$enablestring" = xdisable; then
9338 if test $wxUSE_WEBKIT = no; then
9344 result=$wxUSE_WEBKIT
9347 { echo "$as_me:$LINENO: result
: $result" >&5
9348 echo "${ECHO_T}$result" >&6; }
9352 defaultval=$wxUSE_ALL_FEATURES
9353 if test -z "$defaultval"; then
9354 if test x"$enablestring" = xdisable; then
9361 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-richtext" >&5
9362 echo $ECHO_N "checking
for --${enablestring:-enable}-richtext...
$ECHO_C" >&6; }
9363 # Check whether --enable-richtext was given.
9364 if test "${enable_richtext+set}" = set; then
9365 enableval=$enable_richtext;
9366 if test "$enableval" = yes; then
9367 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9369 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9374 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9379 eval "$wx_cv_use_richtext"
9381 if test x
"$enablestring" = xdisable
; then
9382 if test $wxUSE_RICHTEXT = no
; then
9388 result
=$wxUSE_RICHTEXT
9391 { echo "$as_me:$LINENO: result: $result" >&5
9392 echo "${ECHO_T}$result" >&6; }
9396 defaultval
=$wxUSE_ALL_FEATURES
9397 if test -z "$defaultval"; then
9398 if test x
"$enablestring" = xdisable
; then
9405 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9406 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9407 # Check whether --enable-postscript was given.
9408 if test "${enable_postscript+set}" = set; then
9409 enableval
=$enable_postscript;
9410 if test "$enableval" = yes; then
9411 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
9413 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
9418 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9423 eval "$wx_cv_use_postscript"
9425 if test x"$enablestring" = xdisable; then
9426 if test $wxUSE_POSTSCRIPT = no; then
9432 result=$wxUSE_POSTSCRIPT
9435 { echo "$as_me:$LINENO: result: $result" >&5
9436 echo "${ECHO_T}$result" >&6; }
9440 defaultval=$wxUSE_ALL_FEATURES
9441 if test -z "$defaultval"; then
9442 if test x"$enablestring" = xdisable; then
9449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9450 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9451 # Check whether --enable-printarch was given.
9452 if test "${enable_printarch+set}" = set; then
9453 enableval=$enable_printarch;
9454 if test "$enableval" = yes; then
9455 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
9457 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
9462 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9467 eval "$wx_cv_use_printarch"
9469 if test x"$enablestring" = xdisable; then
9470 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9476 result=$wxUSE_PRINTING_ARCHITECTURE
9479 { echo "$as_me:$LINENO: result
: $result" >&5
9480 echo "${ECHO_T}$result" >&6; }
9484 defaultval=$wxUSE_ALL_FEATURES
9485 if test -z "$defaultval"; then
9486 if test x"$enablestring" = xdisable; then
9493 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-svg" >&5
9494 echo $ECHO_N "checking
for --${enablestring:-enable}-svg...
$ECHO_C" >&6; }
9495 # Check whether --enable-svg was given.
9496 if test "${enable_svg+set}" = set; then
9497 enableval=$enable_svg;
9498 if test "$enableval" = yes; then
9499 wx_cv_use_svg='wxUSE_SVG=yes'
9501 wx_cv_use_svg='wxUSE_SVG=no'
9506 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9511 eval "$wx_cv_use_svg"
9513 if test x
"$enablestring" = xdisable
; then
9514 if test $wxUSE_SVG = no
; then
9523 { echo "$as_me:$LINENO: result: $result" >&5
9524 echo "${ECHO_T}$result" >&6; }
9527 if test "$wxUSE_MAC" != 1; then
9530 defaultval
=$wxUSE_ALL_FEATURES
9531 if test -z "$defaultval"; then
9532 if test x
"$enablestring" = xdisable
; then
9539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9540 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9541 # Check whether --enable-graphics_ctx was given.
9542 if test "${enable_graphics_ctx+set}" = set; then
9543 enableval
=$enable_graphics_ctx;
9544 if test "$enableval" = yes; then
9545 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
9547 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
9552 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9557 eval "$wx_cv_use_graphics_ctx"
9559 if test x"$enablestring" = xdisable; then
9560 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9566 result=$wxUSE_GRAPHICS_CONTEXT
9569 { echo "$as_me:$LINENO: result: $result" >&5
9570 echo "${ECHO_T}$result" >&6; }
9577 defaultval=$wxUSE_ALL_FEATURES
9578 if test -z "$defaultval"; then
9579 if test x"$enablestring" = xdisable; then
9586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9587 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9588 # Check whether --enable-clipboard was given.
9589 if test "${enable_clipboard+set}" = set; then
9590 enableval=$enable_clipboard;
9591 if test "$enableval" = yes; then
9592 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
9594 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
9599 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9604 eval "$wx_cv_use_clipboard"
9606 if test x"$enablestring" = xdisable; then
9607 if test $wxUSE_CLIPBOARD = no; then
9613 result=$wxUSE_CLIPBOARD
9616 { echo "$as_me:$LINENO: result
: $result" >&5
9617 echo "${ECHO_T}$result" >&6; }
9621 defaultval=$wxUSE_ALL_FEATURES
9622 if test -z "$defaultval"; then
9623 if test x"$enablestring" = xdisable; then
9630 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dnd" >&5
9631 echo $ECHO_N "checking
for --${enablestring:-enable}-dnd...
$ECHO_C" >&6; }
9632 # Check whether --enable-dnd was given.
9633 if test "${enable_dnd+set}" = set; then
9634 enableval=$enable_dnd;
9635 if test "$enableval" = yes; then
9636 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9638 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9643 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9648 eval "$wx_cv_use_dnd"
9650 if test x
"$enablestring" = xdisable
; then
9651 if test $wxUSE_DRAG_AND_DROP = no
; then
9657 result
=$wxUSE_DRAG_AND_DROP
9660 { echo "$as_me:$LINENO: result: $result" >&5
9661 echo "${ECHO_T}$result" >&6; }
9665 defaultval
=$wxUSE_ALL_FEATURES
9666 if test -z "$defaultval"; then
9667 if test x
"$enablestring" = xdisable
; then
9674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9675 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9676 # Check whether --enable-metafile was given.
9677 if test "${enable_metafile+set}" = set; then
9678 enableval
=$enable_metafile;
9679 if test "$enableval" = yes; then
9680 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
9682 wx_cv_use_metafile
='wxUSE_METAFILE=no'
9687 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9692 eval "$wx_cv_use_metafile"
9694 if test x"$enablestring" = xdisable; then
9695 if test $wxUSE_METAFILE = no; then
9701 result=$wxUSE_METAFILE
9704 { echo "$as_me:$LINENO: result: $result" >&5
9705 echo "${ECHO_T}$result" >&6; }
9709 DEFAULT_wxUSE_CONTROLS=none
9711 enablestring=disable
9713 if test -z "$defaultval"; then
9714 if test x"$enablestring" = xdisable; then
9721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9722 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9723 # Check whether --enable-controls was given.
9724 if test "${enable_controls+set}" = set; then
9725 enableval=$enable_controls;
9726 if test "$enableval" = yes; then
9727 wx_cv_use_controls='wxUSE_CONTROLS
=yes'
9729 wx_cv_use_controls='wxUSE_CONTROLS
=no
'
9734 wx_cv_use_controls='wxUSE_CONTROLS
=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9739 eval "$wx_cv_use_controls"
9741 if test x"$enablestring" = xdisable; then
9742 if test $wxUSE_CONTROLS = no; then
9748 result=$wxUSE_CONTROLS
9751 { echo "$as_me:$LINENO: result
: $result" >&5
9752 echo "${ECHO_T}$result" >&6; }
9755 if test "$wxUSE_CONTROLS" = "no
"; then
9756 DEFAULT_wxUSE_ACCEL=no
9757 DEFAULT_wxUSE_ANIMATIONCTRL=no
9758 DEFAULT_wxUSE_BMPBUTTON=no
9759 DEFAULT_wxUSE_BUTTON=no
9760 DEFAULT_wxUSE_CALCTRL=no
9761 DEFAULT_wxUSE_CARET=no
9762 DEFAULT_wxUSE_CHECKBOX=no
9763 DEFAULT_wxUSE_CHECKLISTBOX=no
9764 DEFAULT_wxUSE_CHOICE=no
9765 DEFAULT_wxUSE_CHOICEBOOK=no
9766 DEFAULT_wxUSE_COLLPANE=no
9767 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9768 DEFAULT_wxUSE_COMBOBOX=no
9769 DEFAULT_wxUSE_COMBOBOX=no
9770 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9771 DEFAULT_wxUSE_DATAVIEWCTRL=no
9772 DEFAULT_wxUSE_DATEPICKCTRL=no
9773 DEFAULT_wxUSE_DETECT_SM=no
9774 DEFAULT_wxUSE_DIRPICKERCTRL=no
9775 DEFAULT_wxUSE_DISPLAY=no
9776 DEFAULT_wxUSE_FILECTRL=no
9777 DEFAULT_wxUSE_FILEPICKERCTRL=no
9778 DEFAULT_wxUSE_FONTPICKERCTRL=no
9779 DEFAULT_wxUSE_GAUGE=no
9780 DEFAULT_wxUSE_GRID=no
9781 DEFAULT_wxUSE_HEADERCTRL=no
9782 DEFAULT_wxUSE_HYPERLINKCTRL=no
9783 DEFAULT_wxUSE_IMAGLIST=no
9784 DEFAULT_wxUSE_LISTBOOK=no
9785 DEFAULT_wxUSE_LISTBOX=no
9786 DEFAULT_wxUSE_LISTCTRL=no
9787 DEFAULT_wxUSE_NOTEBOOK=no
9788 DEFAULT_wxUSE_POPUPWIN=no
9789 DEFAULT_wxUSE_RADIOBOX=no
9790 DEFAULT_wxUSE_RADIOBTN=no
9791 DEFAULT_wxUSE_RICHMSGDLG=no
9792 DEFAULT_wxUSE_REARRANGECTRL=no
9793 DEFAULT_wxUSE_SASH=no
9794 DEFAULT_wxUSE_SCROLLBAR=no
9795 DEFAULT_wxUSE_SEARCHCTRL=no
9796 DEFAULT_wxUSE_SLIDER=no
9797 DEFAULT_wxUSE_SPINBTN=no
9798 DEFAULT_wxUSE_SPINCTRL=no
9799 DEFAULT_wxUSE_SPLITTER=no
9800 DEFAULT_wxUSE_STATBMP=no
9801 DEFAULT_wxUSE_STATBOX=no
9802 DEFAULT_wxUSE_STATLINE=no
9803 DEFAULT_wxUSE_STATUSBAR=no
9804 DEFAULT_wxUSE_TIPWINDOW=no
9805 DEFAULT_wxUSE_TOGGLEBTN=no
9806 DEFAULT_wxUSE_TOOLBAR=no
9807 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9808 DEFAULT_wxUSE_TOOLBOOK=no
9809 DEFAULT_wxUSE_TOOLTIPS=no
9810 DEFAULT_wxUSE_TREEBOOK=no
9811 DEFAULT_wxUSE_TREECTRL=no
9816 defaultval=$wxUSE_ALL_FEATURES
9817 if test -z "$defaultval"; then
9818 if test x"$enablestring" = xdisable; then
9825 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accel" >&5
9826 echo $ECHO_N "checking
for --${enablestring:-enable}-accel...
$ECHO_C" >&6; }
9827 # Check whether --enable-accel was given.
9828 if test "${enable_accel+set}" = set; then
9829 enableval=$enable_accel;
9830 if test "$enableval" = yes; then
9831 wx_cv_use_accel='wxUSE_ACCEL=yes'
9833 wx_cv_use_accel='wxUSE_ACCEL=no'
9838 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9843 eval "$wx_cv_use_accel"
9845 if test x
"$enablestring" = xdisable
; then
9846 if test $wxUSE_ACCEL = no
; then
9855 { echo "$as_me:$LINENO: result: $result" >&5
9856 echo "${ECHO_T}$result" >&6; }
9860 defaultval
=$wxUSE_ALL_FEATURES
9861 if test -z "$defaultval"; then
9862 if test x
"$enablestring" = xdisable
; then
9869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9870 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9871 # Check whether --enable-animatectrl was given.
9872 if test "${enable_animatectrl+set}" = set; then
9873 enableval
=$enable_animatectrl;
9874 if test "$enableval" = yes; then
9875 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
9877 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
9882 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9887 eval "$wx_cv_use_animatectrl"
9889 if test x"$enablestring" = xdisable; then
9890 if test $wxUSE_ANIMATIONCTRL = no; then
9896 result=$wxUSE_ANIMATIONCTRL
9899 { echo "$as_me:$LINENO: result: $result" >&5
9900 echo "${ECHO_T}$result" >&6; }
9904 defaultval=$wxUSE_ALL_FEATURES
9905 if test -z "$defaultval"; then
9906 if test x"$enablestring" = xdisable; then
9913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-artstd" >&5
9914 echo $ECHO_N "checking for --${enablestring:-enable}-artstd... $ECHO_C" >&6; }
9915 # Check whether --enable-artstd was given.
9916 if test "${enable_artstd+set}" = set; then
9917 enableval=$enable_artstd;
9918 if test "$enableval" = yes; then
9919 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD
=yes'
9921 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD
=no
'
9926 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD
=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
9931 eval "$wx_cv_use_artstd"
9933 if test x"$enablestring" = xdisable; then
9934 if test $wxUSE_ARTPROVIDER_STD = no; then
9940 result=$wxUSE_ARTPROVIDER_STD
9943 { echo "$as_me:$LINENO: result
: $result" >&5
9944 echo "${ECHO_T}$result" >&6; }
9948 defaultval=$wxUSE_ALL_FEATURES
9949 if test -z "$defaultval"; then
9950 if test x"$enablestring" = xdisable; then
9957 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arttango" >&5
9958 echo $ECHO_N "checking
for --${enablestring:-enable}-arttango...
$ECHO_C" >&6; }
9959 # Check whether --enable-arttango was given.
9960 if test "${enable_arttango+set}" = set; then
9961 enableval=$enable_arttango;
9962 if test "$enableval" = yes; then
9963 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
9965 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
9970 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
9975 eval "$wx_cv_use_arttango"
9977 if test x
"$enablestring" = xdisable
; then
9978 if test $wxUSE_ARTPROVIDER_TANGO = no
; then
9984 result
=$wxUSE_ARTPROVIDER_TANGO
9987 { echo "$as_me:$LINENO: result: $result" >&5
9988 echo "${ECHO_T}$result" >&6; }
9992 defaultval
=$wxUSE_ALL_FEATURES
9993 if test -z "$defaultval"; then
9994 if test x
"$enablestring" = xdisable
; then
10001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10002 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10003 # Check whether --enable-bmpbutton was given.
10004 if test "${enable_bmpbutton+set}" = set; then
10005 enableval
=$enable_bmpbutton;
10006 if test "$enableval" = yes; then
10007 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
10009 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
10014 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10019 eval "$wx_cv_use_bmpbutton"
10021 if test x"$enablestring" = xdisable; then
10022 if test $wxUSE_BMPBUTTON = no; then
10028 result=$wxUSE_BMPBUTTON
10031 { echo "$as_me:$LINENO: result: $result" >&5
10032 echo "${ECHO_T}$result" >&6; }
10036 defaultval=$wxUSE_ALL_FEATURES
10037 if test -z "$defaultval"; then
10038 if test x"$enablestring" = xdisable; then
10045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10046 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10047 # Check whether --enable-bmpcombobox was given.
10048 if test "${enable_bmpcombobox+set}" = set; then
10049 enableval=$enable_bmpcombobox;
10050 if test "$enableval" = yes; then
10051 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=yes'
10053 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=no
'
10058 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10063 eval "$wx_cv_use_bmpcombobox"
10065 if test x"$enablestring" = xdisable; then
10066 if test $wxUSE_BITMAPCOMBOBOX = no; then
10072 result=$wxUSE_BITMAPCOMBOBOX
10075 { echo "$as_me:$LINENO: result
: $result" >&5
10076 echo "${ECHO_T}$result" >&6; }
10080 defaultval=$wxUSE_ALL_FEATURES
10081 if test -z "$defaultval"; then
10082 if test x"$enablestring" = xdisable; then
10089 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-button" >&5
10090 echo $ECHO_N "checking
for --${enablestring:-enable}-button...
$ECHO_C" >&6; }
10091 # Check whether --enable-button was given.
10092 if test "${enable_button+set}" = set; then
10093 enableval=$enable_button;
10094 if test "$enableval" = yes; then
10095 wx_cv_use_button='wxUSE_BUTTON=yes'
10097 wx_cv_use_button='wxUSE_BUTTON=no'
10102 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10107 eval "$wx_cv_use_button"
10109 if test x
"$enablestring" = xdisable
; then
10110 if test $wxUSE_BUTTON = no
; then
10116 result
=$wxUSE_BUTTON
10119 { echo "$as_me:$LINENO: result: $result" >&5
10120 echo "${ECHO_T}$result" >&6; }
10124 defaultval
=$wxUSE_ALL_FEATURES
10125 if test -z "$defaultval"; then
10126 if test x
"$enablestring" = xdisable
; then
10133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10134 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10135 # Check whether --enable-calendar was given.
10136 if test "${enable_calendar+set}" = set; then
10137 enableval
=$enable_calendar;
10138 if test "$enableval" = yes; then
10139 wx_cv_use_calendar
='wxUSE_CALCTRL=yes'
10141 wx_cv_use_calendar
='wxUSE_CALCTRL=no'
10146 wx_cv_use_calendar
='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10151 eval "$wx_cv_use_calendar"
10153 if test x"$enablestring" = xdisable; then
10154 if test $wxUSE_CALCTRL = no; then
10160 result=$wxUSE_CALCTRL
10163 { echo "$as_me:$LINENO: result: $result" >&5
10164 echo "${ECHO_T}$result" >&6; }
10168 defaultval=$wxUSE_ALL_FEATURES
10169 if test -z "$defaultval"; then
10170 if test x"$enablestring" = xdisable; then
10177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10178 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10179 # Check whether --enable-caret was given.
10180 if test "${enable_caret+set}" = set; then
10181 enableval=$enable_caret;
10182 if test "$enableval" = yes; then
10183 wx_cv_use_caret='wxUSE_CARET
=yes'
10185 wx_cv_use_caret='wxUSE_CARET
=no
'
10190 wx_cv_use_caret='wxUSE_CARET
=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10195 eval "$wx_cv_use_caret"
10197 if test x"$enablestring" = xdisable; then
10198 if test $wxUSE_CARET = no; then
10204 result=$wxUSE_CARET
10207 { echo "$as_me:$LINENO: result
: $result" >&5
10208 echo "${ECHO_T}$result" >&6; }
10212 defaultval=$wxUSE_ALL_FEATURES
10213 if test -z "$defaultval"; then
10214 if test x"$enablestring" = xdisable; then
10221 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checkbox" >&5
10222 echo $ECHO_N "checking
for --${enablestring:-enable}-checkbox...
$ECHO_C" >&6; }
10223 # Check whether --enable-checkbox was given.
10224 if test "${enable_checkbox+set}" = set; then
10225 enableval=$enable_checkbox;
10226 if test "$enableval" = yes; then
10227 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10229 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10234 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10239 eval "$wx_cv_use_checkbox"
10241 if test x
"$enablestring" = xdisable
; then
10242 if test $wxUSE_CHECKBOX = no
; then
10248 result
=$wxUSE_CHECKBOX
10251 { echo "$as_me:$LINENO: result: $result" >&5
10252 echo "${ECHO_T}$result" >&6; }
10256 defaultval
=$wxUSE_ALL_FEATURES
10257 if test -z "$defaultval"; then
10258 if test x
"$enablestring" = xdisable
; then
10265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10266 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10267 # Check whether --enable-checklst was given.
10268 if test "${enable_checklst+set}" = set; then
10269 enableval
=$enable_checklst;
10270 if test "$enableval" = yes; then
10271 wx_cv_use_checklst
='wxUSE_CHECKLST=yes'
10273 wx_cv_use_checklst
='wxUSE_CHECKLST=no'
10278 wx_cv_use_checklst
='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10283 eval "$wx_cv_use_checklst"
10285 if test x"$enablestring" = xdisable; then
10286 if test $wxUSE_CHECKLST = no; then
10292 result=$wxUSE_CHECKLST
10295 { echo "$as_me:$LINENO: result: $result" >&5
10296 echo "${ECHO_T}$result" >&6; }
10300 defaultval=$wxUSE_ALL_FEATURES
10301 if test -z "$defaultval"; then
10302 if test x"$enablestring" = xdisable; then
10309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10310 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10311 # Check whether --enable-choice was given.
10312 if test "${enable_choice+set}" = set; then
10313 enableval=$enable_choice;
10314 if test "$enableval" = yes; then
10315 wx_cv_use_choice='wxUSE_CHOICE
=yes'
10317 wx_cv_use_choice='wxUSE_CHOICE
=no
'
10322 wx_cv_use_choice='wxUSE_CHOICE
=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10327 eval "$wx_cv_use_choice"
10329 if test x"$enablestring" = xdisable; then
10330 if test $wxUSE_CHOICE = no; then
10336 result=$wxUSE_CHOICE
10339 { echo "$as_me:$LINENO: result
: $result" >&5
10340 echo "${ECHO_T}$result" >&6; }
10344 defaultval=$wxUSE_ALL_FEATURES
10345 if test -z "$defaultval"; then
10346 if test x"$enablestring" = xdisable; then
10353 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicebook" >&5
10354 echo $ECHO_N "checking
for --${enablestring:-enable}-choicebook...
$ECHO_C" >&6; }
10355 # Check whether --enable-choicebook was given.
10356 if test "${enable_choicebook+set}" = set; then
10357 enableval=$enable_choicebook;
10358 if test "$enableval" = yes; then
10359 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10361 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10366 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10371 eval "$wx_cv_use_choicebook"
10373 if test x
"$enablestring" = xdisable
; then
10374 if test $wxUSE_CHOICEBOOK = no
; then
10380 result
=$wxUSE_CHOICEBOOK
10383 { echo "$as_me:$LINENO: result: $result" >&5
10384 echo "${ECHO_T}$result" >&6; }
10388 defaultval
=$wxUSE_ALL_FEATURES
10389 if test -z "$defaultval"; then
10390 if test x
"$enablestring" = xdisable
; then
10397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10398 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10399 # Check whether --enable-collpane was given.
10400 if test "${enable_collpane+set}" = set; then
10401 enableval
=$enable_collpane;
10402 if test "$enableval" = yes; then
10403 wx_cv_use_collpane
='wxUSE_COLLPANE=yes'
10405 wx_cv_use_collpane
='wxUSE_COLLPANE=no'
10410 wx_cv_use_collpane
='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10415 eval "$wx_cv_use_collpane"
10417 if test x"$enablestring" = xdisable; then
10418 if test $wxUSE_COLLPANE = no; then
10424 result=$wxUSE_COLLPANE
10427 { echo "$as_me:$LINENO: result: $result" >&5
10428 echo "${ECHO_T}$result" >&6; }
10432 defaultval=$wxUSE_ALL_FEATURES
10433 if test -z "$defaultval"; then
10434 if test x"$enablestring" = xdisable; then
10441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10442 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10443 # Check whether --enable-colourpicker was given.
10444 if test "${enable_colourpicker+set}" = set; then
10445 enableval=$enable_colourpicker;
10446 if test "$enableval" = yes; then
10447 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
10449 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
10454 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10459 eval "$wx_cv_use_colourpicker"
10461 if test x"$enablestring" = xdisable; then
10462 if test $wxUSE_COLOURPICKERCTRL = no; then
10468 result=$wxUSE_COLOURPICKERCTRL
10471 { echo "$as_me:$LINENO: result
: $result" >&5
10472 echo "${ECHO_T}$result" >&6; }
10476 defaultval=$wxUSE_ALL_FEATURES
10477 if test -z "$defaultval"; then
10478 if test x"$enablestring" = xdisable; then
10485 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-combobox" >&5
10486 echo $ECHO_N "checking
for --${enablestring:-enable}-combobox...
$ECHO_C" >&6; }
10487 # Check whether --enable-combobox was given.
10488 if test "${enable_combobox+set}" = set; then
10489 enableval=$enable_combobox;
10490 if test "$enableval" = yes; then
10491 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10493 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10498 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10503 eval "$wx_cv_use_combobox"
10505 if test x
"$enablestring" = xdisable
; then
10506 if test $wxUSE_COMBOBOX = no
; then
10512 result
=$wxUSE_COMBOBOX
10515 { echo "$as_me:$LINENO: result: $result" >&5
10516 echo "${ECHO_T}$result" >&6; }
10520 defaultval
=$wxUSE_ALL_FEATURES
10521 if test -z "$defaultval"; then
10522 if test x
"$enablestring" = xdisable
; then
10529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10530 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10531 # Check whether --enable-comboctrl was given.
10532 if test "${enable_comboctrl+set}" = set; then
10533 enableval
=$enable_comboctrl;
10534 if test "$enableval" = yes; then
10535 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
10537 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
10542 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10547 eval "$wx_cv_use_comboctrl"
10549 if test x"$enablestring" = xdisable; then
10550 if test $wxUSE_COMBOCTRL = no; then
10556 result=$wxUSE_COMBOCTRL
10559 { echo "$as_me:$LINENO: result: $result" >&5
10560 echo "${ECHO_T}$result" >&6; }
10564 defaultval=$wxUSE_ALL_FEATURES
10565 if test -z "$defaultval"; then
10566 if test x"$enablestring" = xdisable; then
10573 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commandlinkbutton" >&5
10574 echo $ECHO_N "checking for --${enablestring:-enable}-commandlinkbutton... $ECHO_C" >&6; }
10575 # Check whether --enable-commandlinkbutton was given.
10576 if test "${enable_commandlinkbutton+set}" = set; then
10577 enableval=$enable_commandlinkbutton;
10578 if test "$enableval" = yes; then
10579 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON
=yes'
10581 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON
=no
'
10586 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON
=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10591 eval "$wx_cv_use_commandlinkbutton"
10593 if test x"$enablestring" = xdisable; then
10594 if test $wxUSE_COMMANDLINKBUTTON = no; then
10600 result=$wxUSE_COMMANDLINKBUTTON
10603 { echo "$as_me:$LINENO: result
: $result" >&5
10604 echo "${ECHO_T}$result" >&6; }
10608 defaultval=$wxUSE_ALL_FEATURES
10609 if test -z "$defaultval"; then
10610 if test x"$enablestring" = xdisable; then
10617 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataviewctrl" >&5
10618 echo $ECHO_N "checking
for --${enablestring:-enable}-dataviewctrl...
$ECHO_C" >&6; }
10619 # Check whether --enable-dataviewctrl was given.
10620 if test "${enable_dataviewctrl+set}" = set; then
10621 enableval=$enable_dataviewctrl;
10622 if test "$enableval" = yes; then
10623 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10625 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10630 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10635 eval "$wx_cv_use_dataviewctrl"
10637 if test x
"$enablestring" = xdisable
; then
10638 if test $wxUSE_DATAVIEWCTRL = no
; then
10644 result
=$wxUSE_DATAVIEWCTRL
10647 { echo "$as_me:$LINENO: result: $result" >&5
10648 echo "${ECHO_T}$result" >&6; }
10652 defaultval
=$wxUSE_ALL_FEATURES
10653 if test -z "$defaultval"; then
10654 if test x
"$enablestring" = xdisable
; then
10661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10662 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10663 # Check whether --enable-datepick was given.
10664 if test "${enable_datepick+set}" = set; then
10665 enableval
=$enable_datepick;
10666 if test "$enableval" = yes; then
10667 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
10669 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
10674 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10679 eval "$wx_cv_use_datepick"
10681 if test x"$enablestring" = xdisable; then
10682 if test $wxUSE_DATEPICKCTRL = no; then
10688 result=$wxUSE_DATEPICKCTRL
10691 { echo "$as_me:$LINENO: result: $result" >&5
10692 echo "${ECHO_T}$result" >&6; }
10696 defaultval=$wxUSE_ALL_FEATURES
10697 if test -z "$defaultval"; then
10698 if test x"$enablestring" = xdisable; then
10705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10706 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10707 # Check whether --enable-detect_sm was given.
10708 if test "${enable_detect_sm+set}" = set; then
10709 enableval=$enable_detect_sm;
10710 if test "$enableval" = yes; then
10711 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=yes'
10713 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=no
'
10718 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10723 eval "$wx_cv_use_detect_sm"
10725 if test x"$enablestring" = xdisable; then
10726 if test $wxUSE_DETECT_SM = no; then
10732 result=$wxUSE_DETECT_SM
10735 { echo "$as_me:$LINENO: result
: $result" >&5
10736 echo "${ECHO_T}$result" >&6; }
10740 defaultval=$wxUSE_ALL_FEATURES
10741 if test -z "$defaultval"; then
10742 if test x"$enablestring" = xdisable; then
10749 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirpicker" >&5
10750 echo $ECHO_N "checking
for --${enablestring:-enable}-dirpicker...
$ECHO_C" >&6; }
10751 # Check whether --enable-dirpicker was given.
10752 if test "${enable_dirpicker+set}" = set; then
10753 enableval=$enable_dirpicker;
10754 if test "$enableval" = yes; then
10755 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10757 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10762 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10767 eval "$wx_cv_use_dirpicker"
10769 if test x
"$enablestring" = xdisable
; then
10770 if test $wxUSE_DIRPICKERCTRL = no
; then
10776 result
=$wxUSE_DIRPICKERCTRL
10779 { echo "$as_me:$LINENO: result: $result" >&5
10780 echo "${ECHO_T}$result" >&6; }
10784 defaultval
=$wxUSE_ALL_FEATURES
10785 if test -z "$defaultval"; then
10786 if test x
"$enablestring" = xdisable
; then
10793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10794 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10795 # Check whether --enable-display was given.
10796 if test "${enable_display+set}" = set; then
10797 enableval
=$enable_display;
10798 if test "$enableval" = yes; then
10799 wx_cv_use_display
='wxUSE_DISPLAY=yes'
10801 wx_cv_use_display
='wxUSE_DISPLAY=no'
10806 wx_cv_use_display
='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10811 eval "$wx_cv_use_display"
10813 if test x"$enablestring" = xdisable; then
10814 if test $wxUSE_DISPLAY = no; then
10820 result=$wxUSE_DISPLAY
10823 { echo "$as_me:$LINENO: result: $result" >&5
10824 echo "${ECHO_T}$result" >&6; }
10828 defaultval=$wxUSE_ALL_FEATURES
10829 if test -z "$defaultval"; then
10830 if test x"$enablestring" = xdisable; then
10837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10838 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10839 # Check whether --enable-editablebox was given.
10840 if test "${enable_editablebox+set}" = set; then
10841 enableval=$enable_editablebox;
10842 if test "$enableval" = yes; then
10843 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=yes'
10845 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=no
'
10850 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10855 eval "$wx_cv_use_editablebox"
10857 if test x"$enablestring" = xdisable; then
10858 if test $wxUSE_EDITABLELISTBOX = no; then
10864 result=$wxUSE_EDITABLELISTBOX
10867 { echo "$as_me:$LINENO: result
: $result" >&5
10868 echo "${ECHO_T}$result" >&6; }
10872 defaultval=$wxUSE_ALL_FEATURES
10873 if test -z "$defaultval"; then
10874 if test x"$enablestring" = xdisable; then
10881 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filectrl" >&5
10882 echo $ECHO_N "checking
for --${enablestring:-enable}-filectrl...
$ECHO_C" >&6; }
10883 # Check whether --enable-filectrl was given.
10884 if test "${enable_filectrl+set}" = set; then
10885 enableval=$enable_filectrl;
10886 if test "$enableval" = yes; then
10887 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10889 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10894 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10899 eval "$wx_cv_use_filectrl"
10901 if test x
"$enablestring" = xdisable
; then
10902 if test $wxUSE_FILECTRL = no
; then
10908 result
=$wxUSE_FILECTRL
10911 { echo "$as_me:$LINENO: result: $result" >&5
10912 echo "${ECHO_T}$result" >&6; }
10916 defaultval
=$wxUSE_ALL_FEATURES
10917 if test -z "$defaultval"; then
10918 if test x
"$enablestring" = xdisable
; then
10925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10926 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10927 # Check whether --enable-filepicker was given.
10928 if test "${enable_filepicker+set}" = set; then
10929 enableval
=$enable_filepicker;
10930 if test "$enableval" = yes; then
10931 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
10933 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
10938 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10943 eval "$wx_cv_use_filepicker"
10945 if test x"$enablestring" = xdisable; then
10946 if test $wxUSE_FILEPICKERCTRL = no; then
10952 result=$wxUSE_FILEPICKERCTRL
10955 { echo "$as_me:$LINENO: result: $result" >&5
10956 echo "${ECHO_T}$result" >&6; }
10960 defaultval=$wxUSE_ALL_FEATURES
10961 if test -z "$defaultval"; then
10962 if test x"$enablestring" = xdisable; then
10969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10970 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10971 # Check whether --enable-fontpicker was given.
10972 if test "${enable_fontpicker+set}" = set; then
10973 enableval=$enable_fontpicker;
10974 if test "$enableval" = yes; then
10975 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=yes'
10977 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=no
'
10982 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10987 eval "$wx_cv_use_fontpicker"
10989 if test x"$enablestring" = xdisable; then
10990 if test $wxUSE_FONTPICKERCTRL = no; then
10996 result=$wxUSE_FONTPICKERCTRL
10999 { echo "$as_me:$LINENO: result
: $result" >&5
11000 echo "${ECHO_T}$result" >&6; }
11004 defaultval=$wxUSE_ALL_FEATURES
11005 if test -z "$defaultval"; then
11006 if test x"$enablestring" = xdisable; then
11013 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gauge" >&5
11014 echo $ECHO_N "checking
for --${enablestring:-enable}-gauge...
$ECHO_C" >&6; }
11015 # Check whether --enable-gauge was given.
11016 if test "${enable_gauge+set}" = set; then
11017 enableval=$enable_gauge;
11018 if test "$enableval" = yes; then
11019 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11021 wx_cv_use_gauge='wxUSE_GAUGE=no'
11026 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11031 eval "$wx_cv_use_gauge"
11033 if test x
"$enablestring" = xdisable
; then
11034 if test $wxUSE_GAUGE = no
; then
11040 result
=$wxUSE_GAUGE
11043 { echo "$as_me:$LINENO: result: $result" >&5
11044 echo "${ECHO_T}$result" >&6; }
11048 defaultval
=$wxUSE_ALL_FEATURES
11049 if test -z "$defaultval"; then
11050 if test x
"$enablestring" = xdisable
; then
11057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11058 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11059 # Check whether --enable-grid was given.
11060 if test "${enable_grid+set}" = set; then
11061 enableval
=$enable_grid;
11062 if test "$enableval" = yes; then
11063 wx_cv_use_grid
='wxUSE_GRID=yes'
11065 wx_cv_use_grid
='wxUSE_GRID=no'
11070 wx_cv_use_grid
='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11075 eval "$wx_cv_use_grid"
11077 if test x"$enablestring" = xdisable; then
11078 if test $wxUSE_GRID = no; then
11087 { echo "$as_me:$LINENO: result: $result" >&5
11088 echo "${ECHO_T}$result" >&6; }
11092 defaultval=$wxUSE_ALL_FEATURES
11093 if test -z "$defaultval"; then
11094 if test x"$enablestring" = xdisable; then
11101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
11102 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
11103 # Check whether --enable-headerctrl was given.
11104 if test "${enable_headerctrl+set}" = set; then
11105 enableval=$enable_headerctrl;
11106 if test "$enableval" = yes; then
11107 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=yes'
11109 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=no
'
11114 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11119 eval "$wx_cv_use_headerctrl"
11121 if test x"$enablestring" = xdisable; then
11122 if test $wxUSE_HEADERCTRL = no; then
11128 result=$wxUSE_HEADERCTRL
11131 { echo "$as_me:$LINENO: result
: $result" >&5
11132 echo "${ECHO_T}$result" >&6; }
11136 defaultval=$wxUSE_ALL_FEATURES
11137 if test -z "$defaultval"; then
11138 if test x"$enablestring" = xdisable; then
11145 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-hyperlink" >&5
11146 echo $ECHO_N "checking
for --${enablestring:-enable}-hyperlink...
$ECHO_C" >&6; }
11147 # Check whether --enable-hyperlink was given.
11148 if test "${enable_hyperlink+set}" = set; then
11149 enableval=$enable_hyperlink;
11150 if test "$enableval" = yes; then
11151 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11153 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11158 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11163 eval "$wx_cv_use_hyperlink"
11165 if test x
"$enablestring" = xdisable
; then
11166 if test $wxUSE_HYPERLINKCTRL = no
; then
11172 result
=$wxUSE_HYPERLINKCTRL
11175 { echo "$as_me:$LINENO: result: $result" >&5
11176 echo "${ECHO_T}$result" >&6; }
11180 defaultval
=$wxUSE_ALL_FEATURES
11181 if test -z "$defaultval"; then
11182 if test x
"$enablestring" = xdisable
; then
11189 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11190 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11191 # Check whether --enable-imaglist was given.
11192 if test "${enable_imaglist+set}" = set; then
11193 enableval
=$enable_imaglist;
11194 if test "$enableval" = yes; then
11195 wx_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
11197 wx_cv_use_imaglist
='wxUSE_IMAGLIST=no'
11202 wx_cv_use_imaglist
='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11207 eval "$wx_cv_use_imaglist"
11209 if test x"$enablestring" = xdisable; then
11210 if test $wxUSE_IMAGLIST = no; then
11216 result=$wxUSE_IMAGLIST
11219 { echo "$as_me:$LINENO: result: $result" >&5
11220 echo "${ECHO_T}$result" >&6; }
11224 defaultval=$wxUSE_ALL_FEATURES
11225 if test -z "$defaultval"; then
11226 if test x"$enablestring" = xdisable; then
11233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11234 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11235 # Check whether --enable-infobar was given.
11236 if test "${enable_infobar+set}" = set; then
11237 enableval=$enable_infobar;
11238 if test "$enableval" = yes; then
11239 wx_cv_use_infobar='wxUSE_INFOBAR
=yes'
11241 wx_cv_use_infobar='wxUSE_INFOBAR
=no
'
11246 wx_cv_use_infobar='wxUSE_INFOBAR
=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11251 eval "$wx_cv_use_infobar"
11253 if test x"$enablestring" = xdisable; then
11254 if test $wxUSE_INFOBAR = no; then
11260 result=$wxUSE_INFOBAR
11263 { echo "$as_me:$LINENO: result
: $result" >&5
11264 echo "${ECHO_T}$result" >&6; }
11268 defaultval=$wxUSE_ALL_FEATURES
11269 if test -z "$defaultval"; then
11270 if test x"$enablestring" = xdisable; then
11277 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbook" >&5
11278 echo $ECHO_N "checking
for --${enablestring:-enable}-listbook...
$ECHO_C" >&6; }
11279 # Check whether --enable-listbook was given.
11280 if test "${enable_listbook+set}" = set; then
11281 enableval=$enable_listbook;
11282 if test "$enableval" = yes; then
11283 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11285 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11290 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11295 eval "$wx_cv_use_listbook"
11297 if test x
"$enablestring" = xdisable
; then
11298 if test $wxUSE_LISTBOOK = no
; then
11304 result
=$wxUSE_LISTBOOK
11307 { echo "$as_me:$LINENO: result: $result" >&5
11308 echo "${ECHO_T}$result" >&6; }
11312 defaultval
=$wxUSE_ALL_FEATURES
11313 if test -z "$defaultval"; then
11314 if test x
"$enablestring" = xdisable
; then
11321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11322 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11323 # Check whether --enable-listbox was given.
11324 if test "${enable_listbox+set}" = set; then
11325 enableval
=$enable_listbox;
11326 if test "$enableval" = yes; then
11327 wx_cv_use_listbox
='wxUSE_LISTBOX=yes'
11329 wx_cv_use_listbox
='wxUSE_LISTBOX=no'
11334 wx_cv_use_listbox
='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11339 eval "$wx_cv_use_listbox"
11341 if test x"$enablestring" = xdisable; then
11342 if test $wxUSE_LISTBOX = no; then
11348 result=$wxUSE_LISTBOX
11351 { echo "$as_me:$LINENO: result: $result" >&5
11352 echo "${ECHO_T}$result" >&6; }
11356 defaultval=$wxUSE_ALL_FEATURES
11357 if test -z "$defaultval"; then
11358 if test x"$enablestring" = xdisable; then
11365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11366 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11367 # Check whether --enable-listctrl was given.
11368 if test "${enable_listctrl+set}" = set; then
11369 enableval=$enable_listctrl;
11370 if test "$enableval" = yes; then
11371 wx_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
11373 wx_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
11378 wx_cv_use_listctrl='wxUSE_LISTCTRL
=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11383 eval "$wx_cv_use_listctrl"
11385 if test x"$enablestring" = xdisable; then
11386 if test $wxUSE_LISTCTRL = no; then
11392 result=$wxUSE_LISTCTRL
11395 { echo "$as_me:$LINENO: result
: $result" >&5
11396 echo "${ECHO_T}$result" >&6; }
11400 defaultval=$wxUSE_ALL_FEATURES
11401 if test -z "$defaultval"; then
11402 if test x"$enablestring" = xdisable; then
11409 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-notebook" >&5
11410 echo $ECHO_N "checking
for --${enablestring:-enable}-notebook...
$ECHO_C" >&6; }
11411 # Check whether --enable-notebook was given.
11412 if test "${enable_notebook+set}" = set; then
11413 enableval=$enable_notebook;
11414 if test "$enableval" = yes; then
11415 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11417 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11422 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11427 eval "$wx_cv_use_notebook"
11429 if test x
"$enablestring" = xdisable
; then
11430 if test $wxUSE_NOTEBOOK = no
; then
11436 result
=$wxUSE_NOTEBOOK
11439 { echo "$as_me:$LINENO: result: $result" >&5
11440 echo "${ECHO_T}$result" >&6; }
11444 defaultval
=$wxUSE_ALL_FEATURES
11445 if test -z "$defaultval"; then
11446 if test x
"$enablestring" = xdisable
; then
11453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11454 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11455 # Check whether --enable-notifmsg was given.
11456 if test "${enable_notifmsg+set}" = set; then
11457 enableval
=$enable_notifmsg;
11458 if test "$enableval" = yes; then
11459 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=yes'
11461 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=no'
11466 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11471 eval "$wx_cv_use_notifmsg"
11473 if test x"$enablestring" = xdisable; then
11474 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11480 result=$wxUSE_NOTIFICATION_MESSAGE
11483 { echo "$as_me:$LINENO: result: $result" >&5
11484 echo "${ECHO_T}$result" >&6; }
11488 defaultval=$wxUSE_ALL_FEATURES
11489 if test -z "$defaultval"; then
11490 if test x"$enablestring" = xdisable; then
11497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11498 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11499 # Check whether --enable-odcombobox was given.
11500 if test "${enable_odcombobox+set}" = set; then
11501 enableval=$enable_odcombobox;
11502 if test "$enableval" = yes; then
11503 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=yes'
11505 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=no
'
11510 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11515 eval "$wx_cv_use_odcombobox"
11517 if test x"$enablestring" = xdisable; then
11518 if test $wxUSE_ODCOMBOBOX = no; then
11524 result=$wxUSE_ODCOMBOBOX
11527 { echo "$as_me:$LINENO: result
: $result" >&5
11528 echo "${ECHO_T}$result" >&6; }
11532 defaultval=$wxUSE_ALL_FEATURES
11533 if test -z "$defaultval"; then
11534 if test x"$enablestring" = xdisable; then
11541 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-popupwin" >&5
11542 echo $ECHO_N "checking
for --${enablestring:-enable}-popupwin...
$ECHO_C" >&6; }
11543 # Check whether --enable-popupwin was given.
11544 if test "${enable_popupwin+set}" = set; then
11545 enableval=$enable_popupwin;
11546 if test "$enableval" = yes; then
11547 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11549 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11554 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11559 eval "$wx_cv_use_popupwin"
11561 if test x
"$enablestring" = xdisable
; then
11562 if test $wxUSE_POPUPWIN = no
; then
11568 result
=$wxUSE_POPUPWIN
11571 { echo "$as_me:$LINENO: result: $result" >&5
11572 echo "${ECHO_T}$result" >&6; }
11576 defaultval
=$wxUSE_ALL_FEATURES
11577 if test -z "$defaultval"; then
11578 if test x
"$enablestring" = xdisable
; then
11585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11586 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11587 # Check whether --enable-radiobox was given.
11588 if test "${enable_radiobox+set}" = set; then
11589 enableval
=$enable_radiobox;
11590 if test "$enableval" = yes; then
11591 wx_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
11593 wx_cv_use_radiobox
='wxUSE_RADIOBOX=no'
11598 wx_cv_use_radiobox
='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11603 eval "$wx_cv_use_radiobox"
11605 if test x"$enablestring" = xdisable; then
11606 if test $wxUSE_RADIOBOX = no; then
11612 result=$wxUSE_RADIOBOX
11615 { echo "$as_me:$LINENO: result: $result" >&5
11616 echo "${ECHO_T}$result" >&6; }
11620 defaultval=$wxUSE_ALL_FEATURES
11621 if test -z "$defaultval"; then
11622 if test x"$enablestring" = xdisable; then
11629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11630 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11631 # Check whether --enable-radiobtn was given.
11632 if test "${enable_radiobtn+set}" = set; then
11633 enableval=$enable_radiobtn;
11634 if test "$enableval" = yes; then
11635 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
11637 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
11642 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11647 eval "$wx_cv_use_radiobtn"
11649 if test x"$enablestring" = xdisable; then
11650 if test $wxUSE_RADIOBTN = no; then
11656 result=$wxUSE_RADIOBTN
11659 { echo "$as_me:$LINENO: result
: $result" >&5
11660 echo "${ECHO_T}$result" >&6; }
11664 defaultval=$wxUSE_ALL_FEATURES
11665 if test -z "$defaultval"; then
11666 if test x"$enablestring" = xdisable; then
11673 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-richmsgdlg" >&5
11674 echo $ECHO_N "checking
for --${enablestring:-enable}-richmsgdlg...
$ECHO_C" >&6; }
11675 # Check whether --enable-richmsgdlg was given.
11676 if test "${enable_richmsgdlg+set}" = set; then
11677 enableval=$enable_richmsgdlg;
11678 if test "$enableval" = yes; then
11679 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
11681 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
11686 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11691 eval "$wx_cv_use_richmsgdlg"
11693 if test x
"$enablestring" = xdisable
; then
11694 if test $wxUSE_RICHMSGDLG = no
; then
11700 result
=$wxUSE_RICHMSGDLG
11703 { echo "$as_me:$LINENO: result: $result" >&5
11704 echo "${ECHO_T}$result" >&6; }
11708 defaultval
=$wxUSE_ALL_FEATURES
11709 if test -z "$defaultval"; then
11710 if test x
"$enablestring" = xdisable
; then
11717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11718 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11719 # Check whether --enable-rearrangectrl was given.
11720 if test "${enable_rearrangectrl+set}" = set; then
11721 enableval
=$enable_rearrangectrl;
11722 if test "$enableval" = yes; then
11723 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=yes'
11725 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=no'
11730 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11735 eval "$wx_cv_use_rearrangectrl"
11737 if test x"$enablestring" = xdisable; then
11738 if test $wxUSE_REARRANGECTRL = no; then
11744 result=$wxUSE_REARRANGECTRL
11747 { echo "$as_me:$LINENO: result: $result" >&5
11748 echo "${ECHO_T}$result" >&6; }
11752 defaultval=$wxUSE_ALL_FEATURES
11753 if test -z "$defaultval"; then
11754 if test x"$enablestring" = xdisable; then
11761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11762 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11763 # Check whether --enable-sash was given.
11764 if test "${enable_sash+set}" = set; then
11765 enableval=$enable_sash;
11766 if test "$enableval" = yes; then
11767 wx_cv_use_sash='wxUSE_SASH
=yes'
11769 wx_cv_use_sash='wxUSE_SASH
=no
'
11774 wx_cv_use_sash='wxUSE_SASH
=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11779 eval "$wx_cv_use_sash"
11781 if test x"$enablestring" = xdisable; then
11782 if test $wxUSE_SASH = no; then
11791 { echo "$as_me:$LINENO: result
: $result" >&5
11792 echo "${ECHO_T}$result" >&6; }
11796 defaultval=$wxUSE_ALL_FEATURES
11797 if test -z "$defaultval"; then
11798 if test x"$enablestring" = xdisable; then
11805 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-scrollbar" >&5
11806 echo $ECHO_N "checking
for --${enablestring:-enable}-scrollbar...
$ECHO_C" >&6; }
11807 # Check whether --enable-scrollbar was given.
11808 if test "${enable_scrollbar+set}" = set; then
11809 enableval=$enable_scrollbar;
11810 if test "$enableval" = yes; then
11811 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11813 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11818 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11823 eval "$wx_cv_use_scrollbar"
11825 if test x
"$enablestring" = xdisable
; then
11826 if test $wxUSE_SCROLLBAR = no
; then
11832 result
=$wxUSE_SCROLLBAR
11835 { echo "$as_me:$LINENO: result: $result" >&5
11836 echo "${ECHO_T}$result" >&6; }
11840 defaultval
=$wxUSE_ALL_FEATURES
11841 if test -z "$defaultval"; then
11842 if test x
"$enablestring" = xdisable
; then
11849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11850 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11851 # Check whether --enable-searchctrl was given.
11852 if test "${enable_searchctrl+set}" = set; then
11853 enableval
=$enable_searchctrl;
11854 if test "$enableval" = yes; then
11855 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=yes'
11857 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=no'
11862 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11867 eval "$wx_cv_use_searchctrl"
11869 if test x"$enablestring" = xdisable; then
11870 if test $wxUSE_SEARCHCTRL = no; then
11876 result=$wxUSE_SEARCHCTRL
11879 { echo "$as_me:$LINENO: result: $result" >&5
11880 echo "${ECHO_T}$result" >&6; }
11884 defaultval=$wxUSE_ALL_FEATURES
11885 if test -z "$defaultval"; then
11886 if test x"$enablestring" = xdisable; then
11893 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11894 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11895 # Check whether --enable-slider was given.
11896 if test "${enable_slider+set}" = set; then
11897 enableval=$enable_slider;
11898 if test "$enableval" = yes; then
11899 wx_cv_use_slider='wxUSE_SLIDER
=yes'
11901 wx_cv_use_slider='wxUSE_SLIDER
=no
'
11906 wx_cv_use_slider='wxUSE_SLIDER
=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11911 eval "$wx_cv_use_slider"
11913 if test x"$enablestring" = xdisable; then
11914 if test $wxUSE_SLIDER = no; then
11920 result=$wxUSE_SLIDER
11923 { echo "$as_me:$LINENO: result
: $result" >&5
11924 echo "${ECHO_T}$result" >&6; }
11928 defaultval=$wxUSE_ALL_FEATURES
11929 if test -z "$defaultval"; then
11930 if test x"$enablestring" = xdisable; then
11937 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinbtn" >&5
11938 echo $ECHO_N "checking
for --${enablestring:-enable}-spinbtn...
$ECHO_C" >&6; }
11939 # Check whether --enable-spinbtn was given.
11940 if test "${enable_spinbtn+set}" = set; then
11941 enableval=$enable_spinbtn;
11942 if test "$enableval" = yes; then
11943 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11945 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11950 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11955 eval "$wx_cv_use_spinbtn"
11957 if test x
"$enablestring" = xdisable
; then
11958 if test $wxUSE_SPINBTN = no
; then
11964 result
=$wxUSE_SPINBTN
11967 { echo "$as_me:$LINENO: result: $result" >&5
11968 echo "${ECHO_T}$result" >&6; }
11972 defaultval
=$wxUSE_ALL_FEATURES
11973 if test -z "$defaultval"; then
11974 if test x
"$enablestring" = xdisable
; then
11981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11982 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11983 # Check whether --enable-spinctrl was given.
11984 if test "${enable_spinctrl+set}" = set; then
11985 enableval
=$enable_spinctrl;
11986 if test "$enableval" = yes; then
11987 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
11989 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
11994 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11999 eval "$wx_cv_use_spinctrl"
12001 if test x"$enablestring" = xdisable; then
12002 if test $wxUSE_SPINCTRL = no; then
12008 result=$wxUSE_SPINCTRL
12011 { echo "$as_me:$LINENO: result: $result" >&5
12012 echo "${ECHO_T}$result" >&6; }
12016 defaultval=$wxUSE_ALL_FEATURES
12017 if test -z "$defaultval"; then
12018 if test x"$enablestring" = xdisable; then
12025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12026 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12027 # Check whether --enable-splitter was given.
12028 if test "${enable_splitter+set}" = set; then
12029 enableval=$enable_splitter;
12030 if test "$enableval" = yes; then
12031 wx_cv_use_splitter='wxUSE_SPLITTER
=yes'
12033 wx_cv_use_splitter='wxUSE_SPLITTER
=no
'
12038 wx_cv_use_splitter='wxUSE_SPLITTER
=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12043 eval "$wx_cv_use_splitter"
12045 if test x"$enablestring" = xdisable; then
12046 if test $wxUSE_SPLITTER = no; then
12052 result=$wxUSE_SPLITTER
12055 { echo "$as_me:$LINENO: result
: $result" >&5
12056 echo "${ECHO_T}$result" >&6; }
12060 defaultval=$wxUSE_ALL_FEATURES
12061 if test -z "$defaultval"; then
12062 if test x"$enablestring" = xdisable; then
12069 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbmp" >&5
12070 echo $ECHO_N "checking
for --${enablestring:-enable}-statbmp...
$ECHO_C" >&6; }
12071 # Check whether --enable-statbmp was given.
12072 if test "${enable_statbmp+set}" = set; then
12073 enableval=$enable_statbmp;
12074 if test "$enableval" = yes; then
12075 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12077 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12082 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12087 eval "$wx_cv_use_statbmp"
12089 if test x
"$enablestring" = xdisable
; then
12090 if test $wxUSE_STATBMP = no
; then
12096 result
=$wxUSE_STATBMP
12099 { echo "$as_me:$LINENO: result: $result" >&5
12100 echo "${ECHO_T}$result" >&6; }
12104 defaultval
=$wxUSE_ALL_FEATURES
12105 if test -z "$defaultval"; then
12106 if test x
"$enablestring" = xdisable
; then
12113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12114 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12115 # Check whether --enable-statbox was given.
12116 if test "${enable_statbox+set}" = set; then
12117 enableval
=$enable_statbox;
12118 if test "$enableval" = yes; then
12119 wx_cv_use_statbox
='wxUSE_STATBOX=yes'
12121 wx_cv_use_statbox
='wxUSE_STATBOX=no'
12126 wx_cv_use_statbox
='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12131 eval "$wx_cv_use_statbox"
12133 if test x"$enablestring" = xdisable; then
12134 if test $wxUSE_STATBOX = no; then
12140 result=$wxUSE_STATBOX
12143 { echo "$as_me:$LINENO: result: $result" >&5
12144 echo "${ECHO_T}$result" >&6; }
12148 defaultval=$wxUSE_ALL_FEATURES
12149 if test -z "$defaultval"; then
12150 if test x"$enablestring" = xdisable; then
12157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12158 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12159 # Check whether --enable-statline was given.
12160 if test "${enable_statline+set}" = set; then
12161 enableval=$enable_statline;
12162 if test "$enableval" = yes; then
12163 wx_cv_use_statline='wxUSE_STATLINE
=yes'
12165 wx_cv_use_statline='wxUSE_STATLINE
=no
'
12170 wx_cv_use_statline='wxUSE_STATLINE
=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12175 eval "$wx_cv_use_statline"
12177 if test x"$enablestring" = xdisable; then
12178 if test $wxUSE_STATLINE = no; then
12184 result=$wxUSE_STATLINE
12187 { echo "$as_me:$LINENO: result
: $result" >&5
12188 echo "${ECHO_T}$result" >&6; }
12192 defaultval=$wxUSE_ALL_FEATURES
12193 if test -z "$defaultval"; then
12194 if test x"$enablestring" = xdisable; then
12201 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stattext" >&5
12202 echo $ECHO_N "checking
for --${enablestring:-enable}-stattext...
$ECHO_C" >&6; }
12203 # Check whether --enable-stattext was given.
12204 if test "${enable_stattext+set}" = set; then
12205 enableval=$enable_stattext;
12206 if test "$enableval" = yes; then
12207 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12209 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12214 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12219 eval "$wx_cv_use_stattext"
12221 if test x
"$enablestring" = xdisable
; then
12222 if test $wxUSE_STATTEXT = no
; then
12228 result
=$wxUSE_STATTEXT
12231 { echo "$as_me:$LINENO: result: $result" >&5
12232 echo "${ECHO_T}$result" >&6; }
12236 defaultval
=$wxUSE_ALL_FEATURES
12237 if test -z "$defaultval"; then
12238 if test x
"$enablestring" = xdisable
; then
12245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12246 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12247 # Check whether --enable-statusbar was given.
12248 if test "${enable_statusbar+set}" = set; then
12249 enableval
=$enable_statusbar;
12250 if test "$enableval" = yes; then
12251 wx_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
12253 wx_cv_use_statusbar
='wxUSE_STATUSBAR=no'
12258 wx_cv_use_statusbar
='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12263 eval "$wx_cv_use_statusbar"
12265 if test x"$enablestring" = xdisable; then
12266 if test $wxUSE_STATUSBAR = no; then
12272 result=$wxUSE_STATUSBAR
12275 { echo "$as_me:$LINENO: result: $result" >&5
12276 echo "${ECHO_T}$result" >&6; }
12280 defaultval=$wxUSE_ALL_FEATURES
12281 if test -z "$defaultval"; then
12282 if test x"$enablestring" = xdisable; then
12289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12290 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12291 # Check whether --enable-taskbaricon was given.
12292 if test "${enable_taskbaricon+set}" = set; then
12293 enableval=$enable_taskbaricon;
12294 if test "$enableval" = yes; then
12295 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=yes'
12297 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=no
'
12302 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12307 eval "$wx_cv_use_taskbaricon"
12309 if test x"$enablestring" = xdisable; then
12310 if test $wxUSE_TASKBARICON = no; then
12316 result=$wxUSE_TASKBARICON
12319 { echo "$as_me:$LINENO: result
: $result" >&5
12320 echo "${ECHO_T}$result" >&6; }
12324 defaultval=$wxUSE_ALL_FEATURES
12325 if test -z "$defaultval"; then
12326 if test x"$enablestring" = xdisable; then
12333 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tbarnative" >&5
12334 echo $ECHO_N "checking
for --${enablestring:-enable}-tbarnative...
$ECHO_C" >&6; }
12335 # Check whether --enable-tbarnative was given.
12336 if test "${enable_tbarnative+set}" = set; then
12337 enableval=$enable_tbarnative;
12338 if test "$enableval" = yes; then
12339 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12341 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12346 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12351 eval "$wx_cv_use_tbarnative"
12353 if test x
"$enablestring" = xdisable
; then
12354 if test $wxUSE_TOOLBAR_NATIVE = no
; then
12360 result
=$wxUSE_TOOLBAR_NATIVE
12363 { echo "$as_me:$LINENO: result: $result" >&5
12364 echo "${ECHO_T}$result" >&6; }
12368 defaultval
=$wxUSE_ALL_FEATURES
12369 if test -z "$defaultval"; then
12370 if test x
"$enablestring" = xdisable
; then
12377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12378 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12379 # Check whether --enable-textctrl was given.
12380 if test "${enable_textctrl+set}" = set; then
12381 enableval
=$enable_textctrl;
12382 if test "$enableval" = yes; then
12383 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
12385 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
12390 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12395 eval "$wx_cv_use_textctrl"
12397 if test x"$enablestring" = xdisable; then
12398 if test $wxUSE_TEXTCTRL = no; then
12404 result=$wxUSE_TEXTCTRL
12407 { echo "$as_me:$LINENO: result: $result" >&5
12408 echo "${ECHO_T}$result" >&6; }
12412 defaultval=$wxUSE_ALL_FEATURES
12413 if test -z "$defaultval"; then
12414 if test x"$enablestring" = xdisable; then
12421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12422 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12423 # Check whether --enable-tipwindow was given.
12424 if test "${enable_tipwindow+set}" = set; then
12425 enableval=$enable_tipwindow;
12426 if test "$enableval" = yes; then
12427 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
12429 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
12434 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12439 eval "$wx_cv_use_tipwindow"
12441 if test x"$enablestring" = xdisable; then
12442 if test $wxUSE_TIPWINDOW = no; then
12448 result=$wxUSE_TIPWINDOW
12451 { echo "$as_me:$LINENO: result
: $result" >&5
12452 echo "${ECHO_T}$result" >&6; }
12456 defaultval=$wxUSE_ALL_FEATURES
12457 if test -z "$defaultval"; then
12458 if test x"$enablestring" = xdisable; then
12465 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-togglebtn" >&5
12466 echo $ECHO_N "checking
for --${enablestring:-enable}-togglebtn...
$ECHO_C" >&6; }
12467 # Check whether --enable-togglebtn was given.
12468 if test "${enable_togglebtn+set}" = set; then
12469 enableval=$enable_togglebtn;
12470 if test "$enableval" = yes; then
12471 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12473 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12478 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12483 eval "$wx_cv_use_togglebtn"
12485 if test x
"$enablestring" = xdisable
; then
12486 if test $wxUSE_TOGGLEBTN = no
; then
12492 result
=$wxUSE_TOGGLEBTN
12495 { echo "$as_me:$LINENO: result: $result" >&5
12496 echo "${ECHO_T}$result" >&6; }
12500 defaultval
=$wxUSE_ALL_FEATURES
12501 if test -z "$defaultval"; then
12502 if test x
"$enablestring" = xdisable
; then
12509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12510 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12511 # Check whether --enable-toolbar was given.
12512 if test "${enable_toolbar+set}" = set; then
12513 enableval
=$enable_toolbar;
12514 if test "$enableval" = yes; then
12515 wx_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
12517 wx_cv_use_toolbar
='wxUSE_TOOLBAR=no'
12522 wx_cv_use_toolbar
='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12527 eval "$wx_cv_use_toolbar"
12529 if test x"$enablestring" = xdisable; then
12530 if test $wxUSE_TOOLBAR = no; then
12536 result=$wxUSE_TOOLBAR
12539 { echo "$as_me:$LINENO: result: $result" >&5
12540 echo "${ECHO_T}$result" >&6; }
12544 defaultval=$wxUSE_ALL_FEATURES
12545 if test -z "$defaultval"; then
12546 if test x"$enablestring" = xdisable; then
12553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12554 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12555 # Check whether --enable-toolbook was given.
12556 if test "${enable_toolbook+set}" = set; then
12557 enableval=$enable_toolbook;
12558 if test "$enableval" = yes; then
12559 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=yes'
12561 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=no
'
12566 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12571 eval "$wx_cv_use_toolbook"
12573 if test x"$enablestring" = xdisable; then
12574 if test $wxUSE_TOOLBOOK = no; then
12580 result=$wxUSE_TOOLBOOK
12583 { echo "$as_me:$LINENO: result
: $result" >&5
12584 echo "${ECHO_T}$result" >&6; }
12588 defaultval=$wxUSE_ALL_FEATURES
12589 if test -z "$defaultval"; then
12590 if test x"$enablestring" = xdisable; then
12597 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treebook" >&5
12598 echo $ECHO_N "checking
for --${enablestring:-enable}-treebook...
$ECHO_C" >&6; }
12599 # Check whether --enable-treebook was given.
12600 if test "${enable_treebook+set}" = set; then
12601 enableval=$enable_treebook;
12602 if test "$enableval" = yes; then
12603 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12605 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12610 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12615 eval "$wx_cv_use_treebook"
12617 if test x
"$enablestring" = xdisable
; then
12618 if test $wxUSE_TREEBOOK = no
; then
12624 result
=$wxUSE_TREEBOOK
12627 { echo "$as_me:$LINENO: result: $result" >&5
12628 echo "${ECHO_T}$result" >&6; }
12632 defaultval
=$wxUSE_ALL_FEATURES
12633 if test -z "$defaultval"; then
12634 if test x
"$enablestring" = xdisable
; then
12641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12642 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12643 # Check whether --enable-treectrl was given.
12644 if test "${enable_treectrl+set}" = set; then
12645 enableval
=$enable_treectrl;
12646 if test "$enableval" = yes; then
12647 wx_cv_use_treectrl
='wxUSE_TREECTRL=yes'
12649 wx_cv_use_treectrl
='wxUSE_TREECTRL=no'
12654 wx_cv_use_treectrl
='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12659 eval "$wx_cv_use_treectrl"
12661 if test x"$enablestring" = xdisable; then
12662 if test $wxUSE_TREECTRL = no; then
12668 result=$wxUSE_TREECTRL
12671 { echo "$as_me:$LINENO: result: $result" >&5
12672 echo "${ECHO_T}$result" >&6; }
12678 defaultval=$wxUSE_ALL_FEATURES
12679 if test -z "$defaultval"; then
12680 if test x"$enablestring" = xdisable; then
12687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12688 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12689 # Check whether --enable-commondlg was given.
12690 if test "${enable_commondlg+set}" = set; then
12691 enableval=$enable_commondlg;
12692 if test "$enableval" = yes; then
12693 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
12695 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
12700 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12705 eval "$wx_cv_use_commondlg"
12707 if test x"$enablestring" = xdisable; then
12708 if test $wxUSE_COMMONDLGS = no; then
12714 result=$wxUSE_COMMONDLGS
12717 { echo "$as_me:$LINENO: result
: $result" >&5
12718 echo "${ECHO_T}$result" >&6; }
12722 defaultval=$wxUSE_ALL_FEATURES
12723 if test -z "$defaultval"; then
12724 if test x"$enablestring" = xdisable; then
12731 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-aboutdlg" >&5
12732 echo $ECHO_N "checking
for --${enablestring:-enable}-aboutdlg...
$ECHO_C" >&6; }
12733 # Check whether --enable-aboutdlg was given.
12734 if test "${enable_aboutdlg+set}" = set; then
12735 enableval=$enable_aboutdlg;
12736 if test "$enableval" = yes; then
12737 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12739 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12744 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12749 eval "$wx_cv_use_aboutdlg"
12751 if test x
"$enablestring" = xdisable
; then
12752 if test $wxUSE_ABOUTDLG = no
; then
12758 result
=$wxUSE_ABOUTDLG
12761 { echo "$as_me:$LINENO: result: $result" >&5
12762 echo "${ECHO_T}$result" >&6; }
12766 defaultval
=$wxUSE_ALL_FEATURES
12767 if test -z "$defaultval"; then
12768 if test x
"$enablestring" = xdisable
; then
12775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12776 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12777 # Check whether --enable-choicedlg was given.
12778 if test "${enable_choicedlg+set}" = set; then
12779 enableval
=$enable_choicedlg;
12780 if test "$enableval" = yes; then
12781 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
12783 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
12788 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12793 eval "$wx_cv_use_choicedlg"
12795 if test x"$enablestring" = xdisable; then
12796 if test $wxUSE_CHOICEDLG = no; then
12802 result=$wxUSE_CHOICEDLG
12805 { echo "$as_me:$LINENO: result: $result" >&5
12806 echo "${ECHO_T}$result" >&6; }
12810 defaultval=$wxUSE_ALL_FEATURES
12811 if test -z "$defaultval"; then
12812 if test x"$enablestring" = xdisable; then
12819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12820 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12821 # Check whether --enable-coldlg was given.
12822 if test "${enable_coldlg+set}" = set; then
12823 enableval=$enable_coldlg;
12824 if test "$enableval" = yes; then
12825 wx_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
12827 wx_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
12832 wx_cv_use_coldlg='wxUSE_COLOURDLG
=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12837 eval "$wx_cv_use_coldlg"
12839 if test x"$enablestring" = xdisable; then
12840 if test $wxUSE_COLOURDLG = no; then
12846 result=$wxUSE_COLOURDLG
12849 { echo "$as_me:$LINENO: result
: $result" >&5
12850 echo "${ECHO_T}$result" >&6; }
12854 defaultval=$wxUSE_ALL_FEATURES
12855 if test -z "$defaultval"; then
12856 if test x"$enablestring" = xdisable; then
12863 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filedlg" >&5
12864 echo $ECHO_N "checking
for --${enablestring:-enable}-filedlg...
$ECHO_C" >&6; }
12865 # Check whether --enable-filedlg was given.
12866 if test "${enable_filedlg+set}" = set; then
12867 enableval=$enable_filedlg;
12868 if test "$enableval" = yes; then
12869 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12871 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12876 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12881 eval "$wx_cv_use_filedlg"
12883 if test x
"$enablestring" = xdisable
; then
12884 if test $wxUSE_FILEDLG = no
; then
12890 result
=$wxUSE_FILEDLG
12893 { echo "$as_me:$LINENO: result: $result" >&5
12894 echo "${ECHO_T}$result" >&6; }
12898 defaultval
=$wxUSE_ALL_FEATURES
12899 if test -z "$defaultval"; then
12900 if test x
"$enablestring" = xdisable
; then
12907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12908 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12909 # Check whether --enable-finddlg was given.
12910 if test "${enable_finddlg+set}" = set; then
12911 enableval
=$enable_finddlg;
12912 if test "$enableval" = yes; then
12913 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
12915 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
12920 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12925 eval "$wx_cv_use_finddlg"
12927 if test x"$enablestring" = xdisable; then
12928 if test $wxUSE_FINDREPLDLG = no; then
12934 result=$wxUSE_FINDREPLDLG
12937 { echo "$as_me:$LINENO: result: $result" >&5
12938 echo "${ECHO_T}$result" >&6; }
12942 defaultval=$wxUSE_ALL_FEATURES
12943 if test -z "$defaultval"; then
12944 if test x"$enablestring" = xdisable; then
12951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12952 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12953 # Check whether --enable-fontdlg was given.
12954 if test "${enable_fontdlg+set}" = set; then
12955 enableval=$enable_fontdlg;
12956 if test "$enableval" = yes; then
12957 wx_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
12959 wx_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
12964 wx_cv_use_fontdlg='wxUSE_FONTDLG
=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12969 eval "$wx_cv_use_fontdlg"
12971 if test x"$enablestring" = xdisable; then
12972 if test $wxUSE_FONTDLG = no; then
12978 result=$wxUSE_FONTDLG
12981 { echo "$as_me:$LINENO: result
: $result" >&5
12982 echo "${ECHO_T}$result" >&6; }
12986 defaultval=$wxUSE_ALL_FEATURES
12987 if test -z "$defaultval"; then
12988 if test x"$enablestring" = xdisable; then
12995 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirdlg" >&5
12996 echo $ECHO_N "checking
for --${enablestring:-enable}-dirdlg...
$ECHO_C" >&6; }
12997 # Check whether --enable-dirdlg was given.
12998 if test "${enable_dirdlg+set}" = set; then
12999 enableval=$enable_dirdlg;
13000 if test "$enableval" = yes; then
13001 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13003 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13008 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13013 eval "$wx_cv_use_dirdlg"
13015 if test x
"$enablestring" = xdisable
; then
13016 if test $wxUSE_DIRDLG = no
; then
13022 result
=$wxUSE_DIRDLG
13025 { echo "$as_me:$LINENO: result: $result" >&5
13026 echo "${ECHO_T}$result" >&6; }
13030 defaultval
=$wxUSE_ALL_FEATURES
13031 if test -z "$defaultval"; then
13032 if test x
"$enablestring" = xdisable
; then
13039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13040 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13041 # Check whether --enable-msgdlg was given.
13042 if test "${enable_msgdlg+set}" = set; then
13043 enableval
=$enable_msgdlg;
13044 if test "$enableval" = yes; then
13045 wx_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
13047 wx_cv_use_msgdlg
='wxUSE_MSGDLG=no'
13052 wx_cv_use_msgdlg
='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13057 eval "$wx_cv_use_msgdlg"
13059 if test x"$enablestring" = xdisable; then
13060 if test $wxUSE_MSGDLG = no; then
13066 result=$wxUSE_MSGDLG
13069 { echo "$as_me:$LINENO: result: $result" >&5
13070 echo "${ECHO_T}$result" >&6; }
13074 defaultval=$wxUSE_ALL_FEATURES
13075 if test -z "$defaultval"; then
13076 if test x"$enablestring" = xdisable; then
13083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13084 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13085 # Check whether --enable-numberdlg was given.
13086 if test "${enable_numberdlg+set}" = set; then
13087 enableval=$enable_numberdlg;
13088 if test "$enableval" = yes; then
13089 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
13091 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
13096 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13101 eval "$wx_cv_use_numberdlg"
13103 if test x"$enablestring" = xdisable; then
13104 if test $wxUSE_NUMBERDLG = no; then
13110 result=$wxUSE_NUMBERDLG
13113 { echo "$as_me:$LINENO: result
: $result" >&5
13114 echo "${ECHO_T}$result" >&6; }
13118 defaultval=$wxUSE_ALL_FEATURES
13119 if test -z "$defaultval"; then
13120 if test x"$enablestring" = xdisable; then
13127 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splash" >&5
13128 echo $ECHO_N "checking
for --${enablestring:-enable}-splash...
$ECHO_C" >&6; }
13129 # Check whether --enable-splash was given.
13130 if test "${enable_splash+set}" = set; then
13131 enableval=$enable_splash;
13132 if test "$enableval" = yes; then
13133 wx_cv_use_splash='wxUSE_SPLASH=yes'
13135 wx_cv_use_splash='wxUSE_SPLASH=no'
13140 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13145 eval "$wx_cv_use_splash"
13147 if test x
"$enablestring" = xdisable
; then
13148 if test $wxUSE_SPLASH = no
; then
13154 result
=$wxUSE_SPLASH
13157 { echo "$as_me:$LINENO: result: $result" >&5
13158 echo "${ECHO_T}$result" >&6; }
13162 defaultval
=$wxUSE_ALL_FEATURES
13163 if test -z "$defaultval"; then
13164 if test x
"$enablestring" = xdisable
; then
13171 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13172 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13173 # Check whether --enable-textdlg was given.
13174 if test "${enable_textdlg+set}" = set; then
13175 enableval
=$enable_textdlg;
13176 if test "$enableval" = yes; then
13177 wx_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
13179 wx_cv_use_textdlg
='wxUSE_TEXTDLG=no'
13184 wx_cv_use_textdlg
='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13189 eval "$wx_cv_use_textdlg"
13191 if test x"$enablestring" = xdisable; then
13192 if test $wxUSE_TEXTDLG = no; then
13198 result=$wxUSE_TEXTDLG
13201 { echo "$as_me:$LINENO: result: $result" >&5
13202 echo "${ECHO_T}$result" >&6; }
13206 defaultval=$wxUSE_ALL_FEATURES
13207 if test -z "$defaultval"; then
13208 if test x"$enablestring" = xdisable; then
13215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13216 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13217 # Check whether --enable-tipdlg was given.
13218 if test "${enable_tipdlg+set}" = set; then
13219 enableval=$enable_tipdlg;
13220 if test "$enableval" = yes; then
13221 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
13223 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
13228 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13233 eval "$wx_cv_use_tipdlg"
13235 if test x"$enablestring" = xdisable; then
13236 if test $wxUSE_STARTUP_TIPS = no; then
13242 result=$wxUSE_STARTUP_TIPS
13245 { echo "$as_me:$LINENO: result
: $result" >&5
13246 echo "${ECHO_T}$result" >&6; }
13250 defaultval=$wxUSE_ALL_FEATURES
13251 if test -z "$defaultval"; then
13252 if test x"$enablestring" = xdisable; then
13259 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-progressdlg" >&5
13260 echo $ECHO_N "checking
for --${enablestring:-enable}-progressdlg...
$ECHO_C" >&6; }
13261 # Check whether --enable-progressdlg was given.
13262 if test "${enable_progressdlg+set}" = set; then
13263 enableval=$enable_progressdlg;
13264 if test "$enableval" = yes; then
13265 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13267 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13272 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13277 eval "$wx_cv_use_progressdlg"
13279 if test x
"$enablestring" = xdisable
; then
13280 if test $wxUSE_PROGRESSDLG = no
; then
13286 result
=$wxUSE_PROGRESSDLG
13289 { echo "$as_me:$LINENO: result: $result" >&5
13290 echo "${ECHO_T}$result" >&6; }
13294 defaultval
=$wxUSE_ALL_FEATURES
13295 if test -z "$defaultval"; then
13296 if test x
"$enablestring" = xdisable
; then
13303 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13304 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13305 # Check whether --enable-wizarddlg was given.
13306 if test "${enable_wizarddlg+set}" = set; then
13307 enableval
=$enable_wizarddlg;
13308 if test "$enableval" = yes; then
13309 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
13311 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
13316 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13321 eval "$wx_cv_use_wizarddlg"
13323 if test x"$enablestring" = xdisable; then
13324 if test $wxUSE_WIZARDDLG = no; then
13330 result=$wxUSE_WIZARDDLG
13333 { echo "$as_me:$LINENO: result: $result" >&5
13334 echo "${ECHO_T}$result" >&6; }
13340 defaultval=$wxUSE_ALL_FEATURES
13341 if test -z "$defaultval"; then
13342 if test x"$enablestring" = xdisable; then
13349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13350 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13351 # Check whether --enable-menus was given.
13352 if test "${enable_menus+set}" = set; then
13353 enableval=$enable_menus;
13354 if test "$enableval" = yes; then
13355 wx_cv_use_menus='wxUSE_MENUS
=yes'
13357 wx_cv_use_menus='wxUSE_MENUS
=no
'
13362 wx_cv_use_menus='wxUSE_MENUS
=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13367 eval "$wx_cv_use_menus"
13369 if test x"$enablestring" = xdisable; then
13370 if test $wxUSE_MENUS = no; then
13376 result=$wxUSE_MENUS
13379 { echo "$as_me:$LINENO: result
: $result" >&5
13380 echo "${ECHO_T}$result" >&6; }
13384 defaultval=$wxUSE_ALL_FEATURES
13385 if test -z "$defaultval"; then
13386 if test x"$enablestring" = xdisable; then
13393 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-miniframe" >&5
13394 echo $ECHO_N "checking
for --${enablestring:-enable}-miniframe...
$ECHO_C" >&6; }
13395 # Check whether --enable-miniframe was given.
13396 if test "${enable_miniframe+set}" = set; then
13397 enableval=$enable_miniframe;
13398 if test "$enableval" = yes; then
13399 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13401 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13406 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13411 eval "$wx_cv_use_miniframe"
13413 if test x
"$enablestring" = xdisable
; then
13414 if test $wxUSE_MINIFRAME = no
; then
13420 result
=$wxUSE_MINIFRAME
13423 { echo "$as_me:$LINENO: result: $result" >&5
13424 echo "${ECHO_T}$result" >&6; }
13428 defaultval
=$wxUSE_ALL_FEATURES
13429 if test -z "$defaultval"; then
13430 if test x
"$enablestring" = xdisable
; then
13437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13438 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13439 # Check whether --enable-tooltips was given.
13440 if test "${enable_tooltips+set}" = set; then
13441 enableval
=$enable_tooltips;
13442 if test "$enableval" = yes; then
13443 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
13445 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
13450 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13455 eval "$wx_cv_use_tooltips"
13457 if test x"$enablestring" = xdisable; then
13458 if test $wxUSE_TOOLTIPS = no; then
13464 result=$wxUSE_TOOLTIPS
13467 { echo "$as_me:$LINENO: result: $result" >&5
13468 echo "${ECHO_T}$result" >&6; }
13472 defaultval=$wxUSE_ALL_FEATURES
13473 if test -z "$defaultval"; then
13474 if test x"$enablestring" = xdisable; then
13481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13482 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13483 # Check whether --enable-splines was given.
13484 if test "${enable_splines+set}" = set; then
13485 enableval=$enable_splines;
13486 if test "$enableval" = yes; then
13487 wx_cv_use_splines='wxUSE_SPLINES
=yes'
13489 wx_cv_use_splines='wxUSE_SPLINES
=no
'
13494 wx_cv_use_splines='wxUSE_SPLINES
=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13499 eval "$wx_cv_use_splines"
13501 if test x"$enablestring" = xdisable; then
13502 if test $wxUSE_SPLINES = no; then
13508 result=$wxUSE_SPLINES
13511 { echo "$as_me:$LINENO: result
: $result" >&5
13512 echo "${ECHO_T}$result" >&6; }
13516 defaultval=$wxUSE_ALL_FEATURES
13517 if test -z "$defaultval"; then
13518 if test x"$enablestring" = xdisable; then
13525 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mousewheel" >&5
13526 echo $ECHO_N "checking
for --${enablestring:-enable}-mousewheel...
$ECHO_C" >&6; }
13527 # Check whether --enable-mousewheel was given.
13528 if test "${enable_mousewheel+set}" = set; then
13529 enableval=$enable_mousewheel;
13530 if test "$enableval" = yes; then
13531 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13533 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13538 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13543 eval "$wx_cv_use_mousewheel"
13545 if test x
"$enablestring" = xdisable
; then
13546 if test $wxUSE_MOUSEWHEEL = no
; then
13552 result
=$wxUSE_MOUSEWHEEL
13555 { echo "$as_me:$LINENO: result: $result" >&5
13556 echo "${ECHO_T}$result" >&6; }
13560 defaultval
=$wxUSE_ALL_FEATURES
13561 if test -z "$defaultval"; then
13562 if test x
"$enablestring" = xdisable
; then
13569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13570 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13571 # Check whether --enable-validators was given.
13572 if test "${enable_validators+set}" = set; then
13573 enableval
=$enable_validators;
13574 if test "$enableval" = yes; then
13575 wx_cv_use_validators
='wxUSE_VALIDATORS=yes'
13577 wx_cv_use_validators
='wxUSE_VALIDATORS=no'
13582 wx_cv_use_validators
='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13587 eval "$wx_cv_use_validators"
13589 if test x"$enablestring" = xdisable; then
13590 if test $wxUSE_VALIDATORS = no; then
13596 result=$wxUSE_VALIDATORS
13599 { echo "$as_me:$LINENO: result: $result" >&5
13600 echo "${ECHO_T}$result" >&6; }
13604 defaultval=$wxUSE_ALL_FEATURES
13605 if test -z "$defaultval"; then
13606 if test x"$enablestring" = xdisable; then
13613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13614 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13615 # Check whether --enable-busyinfo was given.
13616 if test "${enable_busyinfo+set}" = set; then
13617 enableval=$enable_busyinfo;
13618 if test "$enableval" = yes; then
13619 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
13621 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
13626 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13631 eval "$wx_cv_use_busyinfo"
13633 if test x"$enablestring" = xdisable; then
13634 if test $wxUSE_BUSYINFO = no; then
13640 result=$wxUSE_BUSYINFO
13643 { echo "$as_me:$LINENO: result
: $result" >&5
13644 echo "${ECHO_T}$result" >&6; }
13648 defaultval=$wxUSE_ALL_FEATURES
13649 if test -z "$defaultval"; then
13650 if test x"$enablestring" = xdisable; then
13657 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-joystick" >&5
13658 echo $ECHO_N "checking
for --${enablestring:-enable}-joystick...
$ECHO_C" >&6; }
13659 # Check whether --enable-joystick was given.
13660 if test "${enable_joystick+set}" = set; then
13661 enableval=$enable_joystick;
13662 if test "$enableval" = yes; then
13663 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13665 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13670 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13675 eval "$wx_cv_use_joystick"
13677 if test x
"$enablestring" = xdisable
; then
13678 if test $wxUSE_JOYSTICK = no
; then
13684 result
=$wxUSE_JOYSTICK
13687 { echo "$as_me:$LINENO: result: $result" >&5
13688 echo "${ECHO_T}$result" >&6; }
13692 defaultval
=$wxUSE_ALL_FEATURES
13693 if test -z "$defaultval"; then
13694 if test x
"$enablestring" = xdisable
; then
13701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13702 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13703 # Check whether --enable-metafile was given.
13704 if test "${enable_metafile+set}" = set; then
13705 enableval
=$enable_metafile;
13706 if test "$enableval" = yes; then
13707 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
13709 wx_cv_use_metafile
='wxUSE_METAFILE=no'
13714 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13719 eval "$wx_cv_use_metafile"
13721 if test x"$enablestring" = xdisable; then
13722 if test $wxUSE_METAFILE = no; then
13728 result=$wxUSE_METAFILE
13731 { echo "$as_me:$LINENO: result: $result" >&5
13732 echo "${ECHO_T}$result" >&6; }
13736 defaultval=$wxUSE_ALL_FEATURES
13737 if test -z "$defaultval"; then
13738 if test x"$enablestring" = xdisable; then
13745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13746 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13747 # Check whether --enable-dragimage was given.
13748 if test "${enable_dragimage+set}" = set; then
13749 enableval=$enable_dragimage;
13750 if test "$enableval" = yes; then
13751 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
13753 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
13758 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13763 eval "$wx_cv_use_dragimage"
13765 if test x"$enablestring" = xdisable; then
13766 if test $wxUSE_DRAGIMAGE = no; then
13772 result=$wxUSE_DRAGIMAGE
13775 { echo "$as_me:$LINENO: result
: $result" >&5
13776 echo "${ECHO_T}$result" >&6; }
13780 defaultval=$wxUSE_ALL_FEATURES
13781 if test -z "$defaultval"; then
13782 if test x"$enablestring" = xdisable; then
13789 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accessibility" >&5
13790 echo $ECHO_N "checking
for --${enablestring:-enable}-accessibility...
$ECHO_C" >&6; }
13791 # Check whether --enable-accessibility was given.
13792 if test "${enable_accessibility+set}" = set; then
13793 enableval=$enable_accessibility;
13794 if test "$enableval" = yes; then
13795 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13797 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13802 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13807 eval "$wx_cv_use_accessibility"
13809 if test x
"$enablestring" = xdisable
; then
13810 if test $wxUSE_ACCESSIBILITY = no
; then
13816 result
=$wxUSE_ACCESSIBILITY
13819 { echo "$as_me:$LINENO: result: $result" >&5
13820 echo "${ECHO_T}$result" >&6; }
13824 defaultval
=$wxUSE_ALL_FEATURES
13825 if test -z "$defaultval"; then
13826 if test x
"$enablestring" = xdisable
; then
13833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
13834 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
13835 # Check whether --enable-uiactionsim was given.
13836 if test "${enable_uiactionsim+set}" = set; then
13837 enableval
=$enable_uiactionsim;
13838 if test "$enableval" = yes; then
13839 wx_cv_use_uiactionsim
='wxUSE_UIACTIONSIMULATOR=yes'
13841 wx_cv_use_uiactionsim
='wxUSE_UIACTIONSIMULATOR=no'
13846 wx_cv_use_uiactionsim
='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
13851 eval "$wx_cv_use_uiactionsim"
13853 if test x"$enablestring" = xdisable; then
13854 if test $wxUSE_UIACTIONSIMULATOR = no; then
13860 result=$wxUSE_UIACTIONSIMULATOR
13863 { echo "$as_me:$LINENO: result: $result" >&5
13864 echo "${ECHO_T}$result" >&6; }
13870 defaultval=$wxUSE_ALL_FEATURES
13871 if test -z "$defaultval"; then
13872 if test x"$enablestring" = xdisable; then
13879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13880 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13881 # Check whether --enable-palette was given.
13882 if test "${enable_palette+set}" = set; then
13883 enableval=$enable_palette;
13884 if test "$enableval" = yes; then
13885 wx_cv_use_palette='wxUSE_PALETTE
=yes'
13887 wx_cv_use_palette='wxUSE_PALETTE
=no
'
13892 wx_cv_use_palette='wxUSE_PALETTE
=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13897 eval "$wx_cv_use_palette"
13899 if test x"$enablestring" = xdisable; then
13900 if test $wxUSE_PALETTE = no; then
13906 result=$wxUSE_PALETTE
13909 { echo "$as_me:$LINENO: result
: $result" >&5
13910 echo "${ECHO_T}$result" >&6; }
13914 defaultval=$wxUSE_ALL_FEATURES
13915 if test -z "$defaultval"; then
13916 if test x"$enablestring" = xdisable; then
13923 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-image" >&5
13924 echo $ECHO_N "checking
for --${enablestring:-enable}-image...
$ECHO_C" >&6; }
13925 # Check whether --enable-image was given.
13926 if test "${enable_image+set}" = set; then
13927 enableval=$enable_image;
13928 if test "$enableval" = yes; then
13929 wx_cv_use_image='wxUSE_IMAGE=yes'
13931 wx_cv_use_image='wxUSE_IMAGE=no'
13936 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13941 eval "$wx_cv_use_image"
13943 if test x
"$enablestring" = xdisable
; then
13944 if test $wxUSE_IMAGE = no
; then
13950 result
=$wxUSE_IMAGE
13953 { echo "$as_me:$LINENO: result: $result" >&5
13954 echo "${ECHO_T}$result" >&6; }
13958 defaultval
=$wxUSE_ALL_FEATURES
13959 if test -z "$defaultval"; then
13960 if test x
"$enablestring" = xdisable
; then
13967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13968 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13969 # Check whether --enable-gif was given.
13970 if test "${enable_gif+set}" = set; then
13971 enableval
=$enable_gif;
13972 if test "$enableval" = yes; then
13973 wx_cv_use_gif
='wxUSE_GIF=yes'
13975 wx_cv_use_gif
='wxUSE_GIF=no'
13980 wx_cv_use_gif
='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13985 eval "$wx_cv_use_gif"
13987 if test x"$enablestring" = xdisable; then
13988 if test $wxUSE_GIF = no; then
13997 { echo "$as_me:$LINENO: result: $result" >&5
13998 echo "${ECHO_T}$result" >&6; }
14002 defaultval=$wxUSE_ALL_FEATURES
14003 if test -z "$defaultval"; then
14004 if test x"$enablestring" = xdisable; then
14011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14012 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14013 # Check whether --enable-pcx was given.
14014 if test "${enable_pcx+set}" = set; then
14015 enableval=$enable_pcx;
14016 if test "$enableval" = yes; then
14017 wx_cv_use_pcx='wxUSE_PCX
=yes'
14019 wx_cv_use_pcx='wxUSE_PCX
=no
'
14024 wx_cv_use_pcx='wxUSE_PCX
=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14029 eval "$wx_cv_use_pcx"
14031 if test x"$enablestring" = xdisable; then
14032 if test $wxUSE_PCX = no; then
14041 { echo "$as_me:$LINENO: result
: $result" >&5
14042 echo "${ECHO_T}$result" >&6; }
14046 defaultval=$wxUSE_ALL_FEATURES
14047 if test -z "$defaultval"; then
14048 if test x"$enablestring" = xdisable; then
14055 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tga" >&5
14056 echo $ECHO_N "checking
for --${enablestring:-enable}-tga...
$ECHO_C" >&6; }
14057 # Check whether --enable-tga was given.
14058 if test "${enable_tga+set}" = set; then
14059 enableval=$enable_tga;
14060 if test "$enableval" = yes; then
14061 wx_cv_use_tga='wxUSE_TGA=yes'
14063 wx_cv_use_tga='wxUSE_TGA=no'
14068 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14073 eval "$wx_cv_use_tga"
14075 if test x
"$enablestring" = xdisable
; then
14076 if test $wxUSE_TGA = no
; then
14085 { echo "$as_me:$LINENO: result: $result" >&5
14086 echo "${ECHO_T}$result" >&6; }
14090 defaultval
=$wxUSE_ALL_FEATURES
14091 if test -z "$defaultval"; then
14092 if test x
"$enablestring" = xdisable
; then
14099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14100 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14101 # Check whether --enable-iff was given.
14102 if test "${enable_iff+set}" = set; then
14103 enableval
=$enable_iff;
14104 if test "$enableval" = yes; then
14105 wx_cv_use_iff
='wxUSE_IFF=yes'
14107 wx_cv_use_iff
='wxUSE_IFF=no'
14112 wx_cv_use_iff
='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14117 eval "$wx_cv_use_iff"
14119 if test x"$enablestring" = xdisable; then
14120 if test $wxUSE_IFF = no; then
14129 { echo "$as_me:$LINENO: result: $result" >&5
14130 echo "${ECHO_T}$result" >&6; }
14134 defaultval=$wxUSE_ALL_FEATURES
14135 if test -z "$defaultval"; then
14136 if test x"$enablestring" = xdisable; then
14143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14144 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
14145 # Check whether --enable-pnm was given.
14146 if test "${enable_pnm+set}" = set; then
14147 enableval=$enable_pnm;
14148 if test "$enableval" = yes; then
14149 wx_cv_use_pnm='wxUSE_PNM
=yes'
14151 wx_cv_use_pnm='wxUSE_PNM
=no
'
14156 wx_cv_use_pnm='wxUSE_PNM
=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14161 eval "$wx_cv_use_pnm"
14163 if test x"$enablestring" = xdisable; then
14164 if test $wxUSE_PNM = no; then
14173 { echo "$as_me:$LINENO: result
: $result" >&5
14174 echo "${ECHO_T}$result" >&6; }
14178 defaultval=$wxUSE_ALL_FEATURES
14179 if test -z "$defaultval"; then
14180 if test x"$enablestring" = xdisable; then
14187 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xpm" >&5
14188 echo $ECHO_N "checking
for --${enablestring:-enable}-xpm...
$ECHO_C" >&6; }
14189 # Check whether --enable-xpm was given.
14190 if test "${enable_xpm+set}" = set; then
14191 enableval=$enable_xpm;
14192 if test "$enableval" = yes; then
14193 wx_cv_use_xpm='wxUSE_XPM=yes'
14195 wx_cv_use_xpm='wxUSE_XPM=no'
14200 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14205 eval "$wx_cv_use_xpm"
14207 if test x
"$enablestring" = xdisable
; then
14208 if test $wxUSE_XPM = no
; then
14217 { echo "$as_me:$LINENO: result: $result" >&5
14218 echo "${ECHO_T}$result" >&6; }
14222 defaultval
=$wxUSE_ALL_FEATURES
14223 if test -z "$defaultval"; then
14224 if test x
"$enablestring" = xdisable
; then
14231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14232 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14233 # Check whether --enable-ico_cur was given.
14234 if test "${enable_ico_cur+set}" = set; then
14235 enableval
=$enable_ico_cur;
14236 if test "$enableval" = yes; then
14237 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
14239 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
14244 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14249 eval "$wx_cv_use_ico_cur"
14251 if test x"$enablestring" = xdisable; then
14252 if test $wxUSE_ICO_CUR = no; then
14258 result=$wxUSE_ICO_CUR
14261 { echo "$as_me:$LINENO: result: $result" >&5
14262 echo "${ECHO_T}$result" >&6; }
14268 defaultval=$wxUSE_ALL_FEATURES
14269 if test -z "$defaultval"; then
14270 if test x"$enablestring" = xdisable; then
14277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14278 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14279 # Check whether --enable-dccache was given.
14280 if test "${enable_dccache+set}" = set; then
14281 enableval=$enable_dccache;
14282 if test "$enableval" = yes; then
14283 wx_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
14285 wx_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
14290 wx_cv_use_dccache='wxUSE_DC_CACHEING
=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14295 eval "$wx_cv_use_dccache"
14297 if test x"$enablestring" = xdisable; then
14298 if test $wxUSE_DC_CACHEING = no; then
14304 result=$wxUSE_DC_CACHEING
14307 { echo "$as_me:$LINENO: result
: $result" >&5
14308 echo "${ECHO_T}$result" >&6; }
14312 defaultval=$wxUSE_ALL_FEATURES
14313 if test -z "$defaultval"; then
14314 if test x"$enablestring" = xdisable; then
14321 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ps-in-msw" >&5
14322 echo $ECHO_N "checking
for --${enablestring:-enable}-ps-in-msw...
$ECHO_C" >&6; }
14323 # Check whether --enable-ps-in-msw was given.
14324 if test "${enable_ps_in_msw+set}" = set; then
14325 enableval=$enable_ps_in_msw;
14326 if test "$enableval" = yes; then
14327 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14329 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14334 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14339 eval "$wx_cv_use_ps_in_msw"
14341 if test x
"$enablestring" = xdisable
; then
14342 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no
; then
14348 result
=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14351 { echo "$as_me:$LINENO: result: $result" >&5
14352 echo "${ECHO_T}$result" >&6; }
14356 defaultval
=$wxUSE_ALL_FEATURES
14357 if test -z "$defaultval"; then
14358 if test x
"$enablestring" = xdisable
; then
14365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14366 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14367 # Check whether --enable-ownerdrawn was given.
14368 if test "${enable_ownerdrawn+set}" = set; then
14369 enableval
=$enable_ownerdrawn;
14370 if test "$enableval" = yes; then
14371 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=yes'
14373 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=no'
14378 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14383 eval "$wx_cv_use_ownerdrawn"
14385 if test x"$enablestring" = xdisable; then
14386 if test $wxUSE_OWNER_DRAWN = no; then
14392 result=$wxUSE_OWNER_DRAWN
14395 { echo "$as_me:$LINENO: result: $result" >&5
14396 echo "${ECHO_T}$result" >&6; }
14400 defaultval=$wxUSE_ALL_FEATURES
14401 if test -z "$defaultval"; then
14402 if test x"$enablestring" = xdisable; then
14409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14410 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14411 # Check whether --enable-uxtheme was given.
14412 if test "${enable_uxtheme+set}" = set; then
14413 enableval=$enable_uxtheme;
14414 if test "$enableval" = yes; then
14415 wx_cv_use_uxtheme='wxUSE_UXTHEME
=yes'
14417 wx_cv_use_uxtheme='wxUSE_UXTHEME
=no
'
14422 wx_cv_use_uxtheme='wxUSE_UXTHEME
=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14427 eval "$wx_cv_use_uxtheme"
14429 if test x"$enablestring" = xdisable; then
14430 if test $wxUSE_UXTHEME = no; then
14436 result=$wxUSE_UXTHEME
14439 { echo "$as_me:$LINENO: result
: $result" >&5
14440 echo "${ECHO_T}$result" >&6; }
14444 defaultval=$wxUSE_ALL_FEATURES
14445 if test -z "$defaultval"; then
14446 if test x"$enablestring" = xdisable; then
14453 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wxdib" >&5
14454 echo $ECHO_N "checking
for --${enablestring:-enable}-wxdib...
$ECHO_C" >&6; }
14455 # Check whether --enable-wxdib was given.
14456 if test "${enable_wxdib+set}" = set; then
14457 enableval=$enable_wxdib;
14458 if test "$enableval" = yes; then
14459 wx_cv_use_wxdib='wxUSE_DIB=yes'
14461 wx_cv_use_wxdib='wxUSE_DIB=no'
14466 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14471 eval "$wx_cv_use_wxdib"
14473 if test x
"$enablestring" = xdisable
; then
14474 if test $wxUSE_DIB = no
; then
14483 { echo "$as_me:$LINENO: result: $result" >&5
14484 echo "${ECHO_T}$result" >&6; }
14487 if test "$wxUSE_MSW" != 1; then
14488 DEFAULT_wxUSE_AUTOID_MANAGEMENT
=no
14493 defaultval
=$wxUSE_ALL_FEATURES
14494 if test -z "$defaultval"; then
14495 if test x
"$enablestring" = xdisable
; then
14502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14503 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14504 # Check whether --enable-autoidman was given.
14505 if test "${enable_autoidman+set}" = set; then
14506 enableval
=$enable_autoidman;
14507 if test "$enableval" = yes; then
14508 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=yes'
14510 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=no'
14515 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14520 eval "$wx_cv_use_autoidman"
14522 if test x"$enablestring" = xdisable; then
14523 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14529 result=$wxUSE_AUTOID_MANAGEMENT
14532 { echo "$as_me:$LINENO: result: $result" >&5
14533 echo "${ECHO_T}$result" >&6; }
14539 cat >confcache <<\_ACEOF
14540 # This file is a shell script that caches the results of configure
14541 # tests run on this system so they can be shared between configure
14542 # scripts and configure runs, see configure's option
--config-cache.
14543 # It is not useful on other systems. If it contains results you don't
14544 # want to keep, you may remove or edit it.
14546 # config.status only pays attention to the cache file if you give it
14547 # the --recheck option to rerun configure.
14549 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14550 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14551 # following values.
14555 # The following way of writing the cache mishandles newlines in values,
14556 # but we know of no workaround that is simple, portable, and efficient.
14557 # So, we kill variables containing newlines.
14558 # Ultrix sh set writes to stderr and can't be redirected directly,
14559 # and sets the high bit in the cache file unless we assign to the vars.
14561 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14562 eval ac_val
=\$
$ac_var
14566 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14567 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14570 _
| IFS
| as_nl
) ;; #(
14571 *) $as_unset $ac_var ;;
14577 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14578 *${as_nl}ac_space
=\
*)
14579 # `set' does not quote correctly, so add quotes (double-quote
14580 # substitution turns \\\\ into \\, and sed turns \\ into \).
14583 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14586 # `set' quotes correctly as required by POSIX, so do not add quotes.
14587 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14596 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14598 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14600 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14601 if test -w "$cache_file"; then
14602 test "x$cache_file" != "x/dev/null" &&
14603 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14604 echo "$as_me: updating cache $cache_file" >&6;}
14605 cat confcache
>$cache_file
14607 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14608 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14615 ac_cpp
='$CPP $CPPFLAGS'
14616 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14617 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14618 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14619 if test -n "$ac_tool_prefix"; then
14620 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14621 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
14622 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14624 if test "${ac_cv_prog_CC+set}" = set; then
14625 echo $ECHO_N "(cached) $ECHO_C" >&6
14627 if test -n "$CC"; then
14628 ac_cv_prog_CC
="$CC" # Let the user override the test.
14630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14631 for as_dir
in $PATH
14634 test -z "$as_dir" && as_dir
=.
14635 for ac_exec_ext
in '' $ac_executable_extensions; do
14636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14637 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
14638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14648 if test -n "$CC"; then
14649 { echo "$as_me:$LINENO: result: $CC" >&5
14650 echo "${ECHO_T}$CC" >&6; }
14652 { echo "$as_me:$LINENO: result: no" >&5
14653 echo "${ECHO_T}no" >&6; }
14658 if test -z "$ac_cv_prog_CC"; then
14660 # Extract the first word of "gcc", so it can be a program name with args.
14661 set dummy gcc
; ac_word
=$2
14662 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14664 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14665 echo $ECHO_N "(cached) $ECHO_C" >&6
14667 if test -n "$ac_ct_CC"; then
14668 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14671 for as_dir
in $PATH
14674 test -z "$as_dir" && as_dir
=.
14675 for ac_exec_ext
in '' $ac_executable_extensions; do
14676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14677 ac_cv_prog_ac_ct_CC
="gcc"
14678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14687 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14688 if test -n "$ac_ct_CC"; then
14689 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14690 echo "${ECHO_T}$ac_ct_CC" >&6; }
14692 { echo "$as_me:$LINENO: result: no" >&5
14693 echo "${ECHO_T}no" >&6; }
14696 if test "x$ac_ct_CC" = x
; then
14699 case $cross_compiling:$ac_tool_warned in
14701 { echo "$as_me:$LINENO: 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." >&5
14704 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14705 whose name does not start with the host triplet. If you think this
14706 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14707 ac_tool_warned
=yes ;;
14712 CC
="$ac_cv_prog_CC"
14715 if test -z "$CC"; then
14716 if test -n "$ac_tool_prefix"; then
14717 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14718 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
14719 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14721 if test "${ac_cv_prog_CC+set}" = set; then
14722 echo $ECHO_N "(cached) $ECHO_C" >&6
14724 if test -n "$CC"; then
14725 ac_cv_prog_CC
="$CC" # Let the user override the test.
14727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14728 for as_dir
in $PATH
14731 test -z "$as_dir" && as_dir
=.
14732 for ac_exec_ext
in '' $ac_executable_extensions; do
14733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14734 ac_cv_prog_CC
="${ac_tool_prefix}cc"
14735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14745 if test -n "$CC"; then
14746 { echo "$as_me:$LINENO: result: $CC" >&5
14747 echo "${ECHO_T}$CC" >&6; }
14749 { echo "$as_me:$LINENO: result: no" >&5
14750 echo "${ECHO_T}no" >&6; }
14756 if test -z "$CC"; then
14757 # Extract the first word of "cc", so it can be a program name with args.
14758 set dummy cc
; ac_word
=$2
14759 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14761 if test "${ac_cv_prog_CC+set}" = set; then
14762 echo $ECHO_N "(cached) $ECHO_C" >&6
14764 if test -n "$CC"; then
14765 ac_cv_prog_CC
="$CC" # Let the user override the test.
14767 ac_prog_rejected
=no
14768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14769 for as_dir
in $PATH
14772 test -z "$as_dir" && as_dir
=.
14773 for ac_exec_ext
in '' $ac_executable_extensions; do
14774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14775 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14776 ac_prog_rejected
=yes
14780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14787 if test $ac_prog_rejected = yes; then
14788 # We found a bogon in the path, so make sure we never use it.
14789 set dummy
$ac_cv_prog_CC
14791 if test $# != 0; then
14792 # We chose a different compiler from the bogus one.
14793 # However, it has the same basename, so the bogon will be chosen
14794 # first if we set CC to just the basename; use the full file name.
14796 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
14802 if test -n "$CC"; then
14803 { echo "$as_me:$LINENO: result: $CC" >&5
14804 echo "${ECHO_T}$CC" >&6; }
14806 { echo "$as_me:$LINENO: result: no" >&5
14807 echo "${ECHO_T}no" >&6; }
14812 if test -z "$CC"; then
14813 if test -n "$ac_tool_prefix"; then
14814 for ac_prog
in cl.exe
14816 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14817 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14818 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14820 if test "${ac_cv_prog_CC+set}" = set; then
14821 echo $ECHO_N "(cached) $ECHO_C" >&6
14823 if test -n "$CC"; then
14824 ac_cv_prog_CC
="$CC" # Let the user override the test.
14826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14827 for as_dir
in $PATH
14830 test -z "$as_dir" && as_dir
=.
14831 for ac_exec_ext
in '' $ac_executable_extensions; do
14832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14833 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
14834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14844 if test -n "$CC"; then
14845 { echo "$as_me:$LINENO: result: $CC" >&5
14846 echo "${ECHO_T}$CC" >&6; }
14848 { echo "$as_me:$LINENO: result: no" >&5
14849 echo "${ECHO_T}no" >&6; }
14853 test -n "$CC" && break
14856 if test -z "$CC"; then
14858 for ac_prog
in cl.exe
14860 # Extract the first word of "$ac_prog", so it can be a program name with args.
14861 set dummy
$ac_prog; ac_word
=$2
14862 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14864 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14865 echo $ECHO_N "(cached) $ECHO_C" >&6
14867 if test -n "$ac_ct_CC"; then
14868 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14871 for as_dir
in $PATH
14874 test -z "$as_dir" && as_dir
=.
14875 for ac_exec_ext
in '' $ac_executable_extensions; do
14876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14877 ac_cv_prog_ac_ct_CC
="$ac_prog"
14878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14887 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14888 if test -n "$ac_ct_CC"; then
14889 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14890 echo "${ECHO_T}$ac_ct_CC" >&6; }
14892 { echo "$as_me:$LINENO: result: no" >&5
14893 echo "${ECHO_T}no" >&6; }
14897 test -n "$ac_ct_CC" && break
14900 if test "x$ac_ct_CC" = x
; then
14903 case $cross_compiling:$ac_tool_warned in
14905 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14906 whose name does not start with the host triplet. If you think this
14907 configuration is useful to you, please write to autoconf@gnu.org." >&5
14908 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14909 whose name does not start with the host triplet. If you think this
14910 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14911 ac_tool_warned
=yes ;;
14920 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14921 See \`config.log' for more details." >&5
14922 echo "$as_me: error: no acceptable C compiler found in \$PATH
14923 See \`config.log' for more details." >&2;}
14924 { (exit 1); exit 1; }; }
14926 # Provide some information about the compiler.
14927 echo "$as_me:$LINENO: checking for C compiler version" >&5
14928 ac_compiler
=`set X $ac_compile; echo $2`
14929 { (ac_try
="$ac_compiler --version >&5"
14930 case "(($ac_try" in
14931 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14932 *) ac_try_echo=$ac_try;;
14934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14935 (eval "$ac_compiler --version >&5") 2>&5
14937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938 (exit $ac_status); }
14939 { (ac_try="$ac_compiler -v >&5"
14940 case "(($ac_try" in
14941 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14942 *) ac_try_echo
=$ac_try;;
14944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14945 (eval "$ac_compiler -v >&5") 2>&5
14947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948 (exit $ac_status); }
14949 { (ac_try
="$ac_compiler -V >&5"
14950 case "(($ac_try" in
14951 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14952 *) ac_try_echo=$ac_try;;
14954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14955 (eval "$ac_compiler -V >&5") 2>&5
14957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14958 (exit $ac_status); }
14960 cat >conftest.$ac_ext <<_ACEOF
14963 cat confdefs.h >>conftest.$ac_ext
14964 cat >>conftest.$ac_ext <<_ACEOF
14965 /* end confdefs.h. */
14975 ac_clean_files_save=$ac_clean_files
14976 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14977 # Try to create an executable without -o first, disregard a.out.
14978 # It will help us diagnose broken compilers, and finding out an intuition
14980 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14981 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14982 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14984 # List of possible output files, starting from the most likely.
14985 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
14986 # only as a last resort. b.out is created by i960 compilers.
14987 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
14989 # The IRIX 6 linker writes into existing files which may not be
14990 # executable, retaining their permissions. Remove them first so a
14991 # subsequent execution test works.
14993 for ac_file in $ac_files
14996 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14997 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15002 if { (ac_try="$ac_link_default"
15003 case "(($ac_try" in
15004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15005 *) ac_try_echo=$ac_try;;
15007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15008 (eval "$ac_link_default") 2>&5
15010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15011 (exit $ac_status); }; then
15012 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
15013 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
15014 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15015 # so that the user can short-circuit this test for compilers unknown to
15017 for ac_file
in $ac_files ''
15019 test -f "$ac_file" || continue
15021 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
15024 # We found the default executable, but exeext='' is most
15028 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
15030 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
15032 # We set ac_cv_exeext here because the later test for it is not
15033 # safe: cross compilers may not add the suffix if given an `-o'
15034 # argument, so we may need to know it at that point already.
15035 # Even if this section looks crufty: it has the advantage of
15036 # actually working.
15042 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
15048 { echo "$as_me:$LINENO: result: $ac_file" >&5
15049 echo "${ECHO_T}$ac_file" >&6; }
15050 if test -z "$ac_file"; then
15051 echo "$as_me: failed program was:" >&5
15052 sed 's/^/| /' conftest.
$ac_ext >&5
15054 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15055 See \`config.log' for more details." >&5
15056 echo "$as_me: error: C compiler cannot create executables
15057 See \`config.log' for more details." >&2;}
15058 { (exit 77); exit 77; }; }
15061 ac_exeext
=$ac_cv_exeext
15063 # Check that the compiler produces executables we can run. If not, either
15064 # the compiler is broken, or we cross compile.
15065 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15066 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15067 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15068 # If not cross compiling, check that we can run a simple program.
15069 if test "$cross_compiling" != yes; then
15070 if { ac_try
='./$ac_file'
15071 { (case "(($ac_try" in
15072 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15073 *) ac_try_echo=$ac_try;;
15075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15076 (eval "$ac_try") 2>&5
15078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15079 (exit $ac_status); }; }; then
15082 if test "$cross_compiling" = maybe; then
15083 cross_compiling=yes
15085 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15086 If you meant to cross compile, use \`--host'.
15087 See \`config.log' for more details.
" >&5
15088 echo "$as_me: error
: cannot run C compiled programs.
15089 If you meant to cross compile
, use \
`--host'.
15090 See \`config.log
' for more details." >&2;}
15091 { (exit 1); exit 1; }; }
15095 { echo "$as_me:$LINENO: result: yes" >&5
15096 echo "${ECHO_T}yes" >&6; }
15098 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15099 ac_clean_files=$ac_clean_files_save
15100 # Check that the compiler produces executables we can run. If not, either
15101 # the compiler is broken, or we cross compile.
15102 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15103 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15104 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15105 echo "${ECHO_T}$cross_compiling" >&6; }
15107 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15108 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15109 if { (ac_try="$ac_link"
15110 case "(($ac_try" in
15111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15112 *) ac_try_echo=$ac_try;;
15114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15115 (eval "$ac_link") 2>&5
15117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15118 (exit $ac_status); }; then
15119 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
15120 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
15121 # work properly (i.e., refer to `conftest.exe
'), while it won't with
15123 for ac_file
in conftest.exe conftest conftest.
*; do
15124 test -f "$ac_file" || continue
15126 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
15127 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
15133 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15134 See \`config.log' for more details." >&5
15135 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15136 See \`config.log' for more details." >&2;}
15137 { (exit 1); exit 1; }; }
15140 rm -f conftest
$ac_cv_exeext
15141 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15142 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15144 rm -f conftest.
$ac_ext
15145 EXEEXT
=$ac_cv_exeext
15147 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15148 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15149 if test "${ac_cv_objext+set}" = set; then
15150 echo $ECHO_N "(cached) $ECHO_C" >&6
15152 cat >conftest.
$ac_ext <<_ACEOF
15155 cat confdefs.h
>>conftest.
$ac_ext
15156 cat >>conftest.
$ac_ext <<_ACEOF
15157 /* end confdefs.h. */
15167 rm -f conftest.o conftest.obj
15168 if { (ac_try
="$ac_compile"
15169 case "(($ac_try" in
15170 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15171 *) ac_try_echo=$ac_try;;
15173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15174 (eval "$ac_compile") 2>&5
15176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15177 (exit $ac_status); }; then
15178 for ac_file in conftest.o conftest.obj conftest.*; do
15179 test -f "$ac_file" || continue;
15181 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15182 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15187 echo "$as_me: failed program was:" >&5
15188 sed 's/^/| /' conftest.$ac_ext >&5
15190 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15191 See \`config.log
' for more details." >&5
15192 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15193 See \`config.log' for more details.
" >&2;}
15194 { (exit 1); exit 1; }; }
15197 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15199 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
15200 echo "${ECHO_T}$ac_cv_objext" >&6; }
15201 OBJEXT=$ac_cv_objext
15203 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
15204 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
15205 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15206 echo $ECHO_N "(cached
) $ECHO_C" >&6
15208 cat >conftest.$ac_ext <<_ACEOF
15211 cat confdefs.h >>conftest.$ac_ext
15212 cat >>conftest.$ac_ext <<_ACEOF
15213 /* end confdefs.h. */
15226 rm -f conftest.$ac_objext
15227 if { (ac_try="$ac_compile"
15228 case "(($ac_try" in
15229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15230 *) ac_try_echo=$ac_try;;
15232 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15233 (eval "$ac_compile") 2>conftest.er1
15235 grep -v '^ *+' conftest.er1 >conftest.err
15237 cat conftest.err >&5
15238 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15239 (exit $ac_status); } && {
15240 test -z "$ac_c_werror_flag" ||
15241 test ! -s conftest.err
15242 } && test -s conftest.$ac_objext; then
15243 ac_compiler_gnu=yes
15245 echo "$as_me: failed program was
:" >&5
15246 sed 's/^/| /' conftest.$ac_ext >&5
15251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15252 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15255 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
15256 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15257 GCC=`test $ac_compiler_gnu = yes && echo yes`
15258 ac_test_CFLAGS=${CFLAGS+set}
15259 ac_save_CFLAGS=$CFLAGS
15260 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
15261 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
15262 if test "${ac_cv_prog_cc_g+set}" = set; then
15263 echo $ECHO_N "(cached
) $ECHO_C" >&6
15265 ac_save_c_werror_flag=$ac_c_werror_flag
15266 ac_c_werror_flag=yes
15269 cat >conftest.$ac_ext <<_ACEOF
15272 cat confdefs.h >>conftest.$ac_ext
15273 cat >>conftest.$ac_ext <<_ACEOF
15274 /* end confdefs.h. */
15284 rm -f conftest.$ac_objext
15285 if { (ac_try="$ac_compile"
15286 case "(($ac_try" in
15287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15288 *) ac_try_echo=$ac_try;;
15290 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15291 (eval "$ac_compile") 2>conftest.er1
15293 grep -v '^ *+' conftest.er1 >conftest.err
15295 cat conftest.err >&5
15296 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15297 (exit $ac_status); } && {
15298 test -z "$ac_c_werror_flag" ||
15299 test ! -s conftest.err
15300 } && test -s conftest.$ac_objext; then
15301 ac_cv_prog_cc_g=yes
15303 echo "$as_me: failed program was
:" >&5
15304 sed 's/^/| /' conftest.$ac_ext >&5
15307 cat >conftest.$ac_ext <<_ACEOF
15310 cat confdefs.h >>conftest.$ac_ext
15311 cat >>conftest.$ac_ext <<_ACEOF
15312 /* end confdefs.h. */
15322 rm -f conftest.$ac_objext
15323 if { (ac_try="$ac_compile"
15324 case "(($ac_try" in
15325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15326 *) ac_try_echo=$ac_try;;
15328 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15329 (eval "$ac_compile") 2>conftest.er1
15331 grep -v '^ *+' conftest.er1 >conftest.err
15333 cat conftest.err >&5
15334 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15335 (exit $ac_status); } && {
15336 test -z "$ac_c_werror_flag" ||
15337 test ! -s conftest.err
15338 } && test -s conftest.$ac_objext; then
15341 echo "$as_me: failed program was
:" >&5
15342 sed 's/^/| /' conftest.$ac_ext >&5
15344 ac_c_werror_flag=$ac_save_c_werror_flag
15346 cat >conftest.$ac_ext <<_ACEOF
15349 cat confdefs.h >>conftest.$ac_ext
15350 cat >>conftest.$ac_ext <<_ACEOF
15351 /* end confdefs.h. */
15361 rm -f conftest.$ac_objext
15362 if { (ac_try="$ac_compile"
15363 case "(($ac_try" in
15364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15365 *) ac_try_echo=$ac_try;;
15367 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15368 (eval "$ac_compile") 2>conftest.er1
15370 grep -v '^ *+' conftest.er1 >conftest.err
15372 cat conftest.err >&5
15373 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15374 (exit $ac_status); } && {
15375 test -z "$ac_c_werror_flag" ||
15376 test ! -s conftest.err
15377 } && test -s conftest.$ac_objext; then
15378 ac_cv_prog_cc_g=yes
15380 echo "$as_me: failed program was
:" >&5
15381 sed 's/^/| /' conftest.$ac_ext >&5
15386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15393 ac_c_werror_flag=$ac_save_c_werror_flag
15395 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
15396 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15397 if test "$ac_test_CFLAGS" = set; then
15398 CFLAGS=$ac_save_CFLAGS
15399 elif test $ac_cv_prog_cc_g = yes; then
15400 if test "$GCC" = yes; then
15406 if test "$GCC" = yes; then
15412 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
15413 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
15414 if test "${ac_cv_prog_cc_c89+set}" = set; then
15415 echo $ECHO_N "(cached
) $ECHO_C" >&6
15417 ac_cv_prog_cc_c89=no
15419 cat >conftest.$ac_ext <<_ACEOF
15422 cat confdefs.h >>conftest.$ac_ext
15423 cat >>conftest.$ac_ext <<_ACEOF
15424 /* end confdefs.h. */
15425 #include <stdarg.h>
15427 #include <sys/types.h>
15428 #include <sys/stat.h>
15429 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15430 struct buf { int x; };
15431 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15432 static char *e (p, i)
15438 static char *f (char * (*g) (char **, int), char **p, ...)
15443 s = g (p, va_arg (v,int));
15448 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15449 function prototypes and stuff, but not '\xHH' hex character constants.
15450 These don't provoke an error unfortunately, instead are silently treated
15451 as 'x'. The following induces an error, until -std is added to get
15452 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15453 array size at least. It's necessary to write '\x00'==0 to get something
15454 that's true only with -std. */
15455 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15457 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15458 inside strings and character constants. */
15460 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15462 int test (int i, double x);
15463 struct s1 {int (*f) (int a);};
15464 struct s2 {int (*f) (double a);};
15465 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15471 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15476 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15477 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15479 CC="$ac_save_CC $ac_arg"
15480 rm -f conftest.$ac_objext
15481 if { (ac_try="$ac_compile"
15482 case "(($ac_try" in
15483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15484 *) ac_try_echo=$ac_try;;
15486 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15487 (eval "$ac_compile") 2>conftest.er1
15489 grep -v '^ *+' conftest.er1 >conftest.err
15491 cat conftest.err >&5
15492 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15493 (exit $ac_status); } && {
15494 test -z "$ac_c_werror_flag" ||
15495 test ! -s conftest.err
15496 } && test -s conftest.$ac_objext; then
15497 ac_cv_prog_cc_c89=$ac_arg
15499 echo "$as_me: failed program was
:" >&5
15500 sed 's/^/| /' conftest.$ac_ext >&5
15505 rm -f core conftest.err conftest.$ac_objext
15506 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
15508 rm -f conftest.$ac_ext
15513 case "x
$ac_cv_prog_cc_c89" in
15515 { echo "$as_me:$LINENO: result
: none needed
" >&5
15516 echo "${ECHO_T}none needed
" >&6; } ;;
15518 { echo "$as_me:$LINENO: result
: unsupported
" >&5
15519 echo "${ECHO_T}unsupported
" >&6; } ;;
15521 CC="$CC $ac_cv_prog_cc_c89"
15522 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
15523 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15528 ac_cpp='$CPP $CPPFLAGS'
15529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15541 ac_cpp='$CPP $CPPFLAGS'
15542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15546 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
15547 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
15548 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15549 echo $ECHO_N "(cached
) $ECHO_C" >&6
15551 cat >conftest.$ac_ext <<_ACEOF
15554 cat confdefs.h >>conftest.$ac_ext
15555 cat >>conftest.$ac_ext <<_ACEOF
15556 /* end confdefs.h. */
15562 #ifndef __INTEL_COMPILER
15570 rm -f conftest.$ac_objext
15571 if { (ac_try="$ac_compile"
15572 case "(($ac_try" in
15573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15574 *) ac_try_echo=$ac_try;;
15576 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15577 (eval "$ac_compile") 2>conftest.er1
15579 grep -v '^ *+' conftest.er1 >conftest.err
15581 cat conftest.err >&5
15582 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15583 (exit $ac_status); } && {
15584 test -z "$ac_c_werror_flag" ||
15585 test ! -s conftest.err
15586 } && test -s conftest.$ac_objext; then
15587 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15589 echo "$as_me: failed program was
:" >&5
15590 sed 's/^/| /' conftest.$ac_ext >&5
15592 bakefile_cv_c_compiler___INTEL_COMPILER=no
15596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15600 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15601 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15602 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
15608 ac_cpp='$CPP $CPPFLAGS'
15609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15616 if test "$INTELCC" = "yes"; then
15620 ac_cpp='$CPP $CPPFLAGS'
15621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15625 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
15626 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
15627 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15628 echo $ECHO_N "(cached
) $ECHO_C" >&6
15630 cat >conftest.$ac_ext <<_ACEOF
15633 cat confdefs.h >>conftest.$ac_ext
15634 cat >>conftest.$ac_ext <<_ACEOF
15635 /* end confdefs.h. */
15641 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15649 rm -f conftest.$ac_objext
15650 if { (ac_try="$ac_compile"
15651 case "(($ac_try" in
15652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15653 *) ac_try_echo=$ac_try;;
15655 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15656 (eval "$ac_compile") 2>conftest.er1
15658 grep -v '^ *+' conftest.er1 >conftest.err
15660 cat conftest.err >&5
15661 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15662 (exit $ac_status); } && {
15663 test -z "$ac_c_werror_flag" ||
15664 test ! -s conftest.err
15665 } && test -s conftest.$ac_objext; then
15666 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15668 echo "$as_me: failed program was
:" >&5
15669 sed 's/^/| /' conftest.$ac_ext >&5
15671 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15679 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15680 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15681 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
15687 ac_cpp='$CPP $CPPFLAGS'
15688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15697 ac_cpp='$CPP $CPPFLAGS'
15698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15702 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
15703 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
15704 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15705 echo $ECHO_N "(cached
) $ECHO_C" >&6
15707 cat >conftest.$ac_ext <<_ACEOF
15710 cat confdefs.h >>conftest.$ac_ext
15711 cat >>conftest.$ac_ext <<_ACEOF
15712 /* end confdefs.h. */
15718 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15726 rm -f conftest.$ac_objext
15727 if { (ac_try="$ac_compile"
15728 case "(($ac_try" in
15729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15730 *) ac_try_echo=$ac_try;;
15732 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15733 (eval "$ac_compile") 2>conftest.er1
15735 grep -v '^ *+' conftest.er1 >conftest.err
15737 cat conftest.err >&5
15738 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15739 (exit $ac_status); } && {
15740 test -z "$ac_c_werror_flag" ||
15741 test ! -s conftest.err
15742 } && test -s conftest.$ac_objext; then
15743 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15745 echo "$as_me: failed program was
:" >&5
15746 sed 's/^/| /' conftest.$ac_ext >&5
15748 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15756 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15757 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15758 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
15764 ac_cpp='$CPP $CPPFLAGS'
15765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15773 if test "x
$GCC" != "xyes
"; then
15774 if test "xCC
" = "xC
"; then
15775 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
15776 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
15777 if test "${bakefile_cv_c_exto+set}" = set; then
15778 echo $ECHO_N "(cached
) $ECHO_C" >&6
15780 cat >conftest.$ac_ext <<_ACEOF
15783 cat confdefs.h >>conftest.$ac_ext
15784 cat >>conftest.$ac_ext <<_ACEOF
15785 /* end confdefs.h. */
15795 rm -f conftest.$ac_objext conftest.$ac_ext.o
15796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15797 (eval $ac_compile) 2>&5
15799 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15800 (exit $ac_status); }; then
15801 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15803 conftest.$ac_ext.o)
15804 bakefile_cv_c_exto="-ext o
"
15811 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15812 See \
`config.log' for more details." >&5
15813 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15814 See \`config.log
' for more details." >&2;}
15815 { (exit 1); exit 1; }; }
15819 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15822 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15823 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15824 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15825 if test "c" = "c"; then
15826 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15828 if test "c" = "cxx"; then
15829 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15833 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15834 unset ac_cv_prog_cc_g
15835 ac_test_CFLAGS=${CFLAGS+set}
15836 ac_save_CFLAGS=$CFLAGS
15837 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15838 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15839 if test "${ac_cv_prog_cc_g+set}" = set; then
15840 echo $ECHO_N "(cached) $ECHO_C" >&6
15842 ac_save_c_werror_flag=$ac_c_werror_flag
15843 ac_c_werror_flag=yes
15846 cat >conftest.$ac_ext <<_ACEOF
15849 cat confdefs.h >>conftest.$ac_ext
15850 cat >>conftest.$ac_ext <<_ACEOF
15851 /* end confdefs.h. */
15861 rm -f conftest.$ac_objext
15862 if { (ac_try="$ac_compile"
15863 case "(($ac_try" in
15864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15865 *) ac_try_echo=$ac_try;;
15867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15868 (eval "$ac_compile") 2>conftest.er1
15870 grep -v '^
*+' conftest.er1 >conftest.err
15872 cat conftest.err >&5
15873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15874 (exit $ac_status); } && {
15875 test -z "$ac_c_werror_flag" ||
15876 test ! -s conftest.err
15877 } && test -s conftest.$ac_objext; then
15878 ac_cv_prog_cc_g=yes
15880 echo "$as_me: failed program was:" >&5
15881 sed 's
/^
/| /' conftest.$ac_ext >&5
15884 cat >conftest.$ac_ext <<_ACEOF
15887 cat confdefs.h >>conftest.$ac_ext
15888 cat >>conftest.$ac_ext <<_ACEOF
15889 /* end confdefs.h. */
15899 rm -f conftest.$ac_objext
15900 if { (ac_try="$ac_compile"
15901 case "(($ac_try" in
15902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15903 *) ac_try_echo=$ac_try;;
15905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15906 (eval "$ac_compile") 2>conftest.er1
15908 grep -v '^
*+' conftest.er1 >conftest.err
15910 cat conftest.err >&5
15911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15912 (exit $ac_status); } && {
15913 test -z "$ac_c_werror_flag" ||
15914 test ! -s conftest.err
15915 } && test -s conftest.$ac_objext; then
15918 echo "$as_me: failed program was:" >&5
15919 sed 's
/^
/| /' conftest.$ac_ext >&5
15921 ac_c_werror_flag=$ac_save_c_werror_flag
15923 cat >conftest.$ac_ext <<_ACEOF
15926 cat confdefs.h >>conftest.$ac_ext
15927 cat >>conftest.$ac_ext <<_ACEOF
15928 /* end confdefs.h. */
15938 rm -f conftest.$ac_objext
15939 if { (ac_try="$ac_compile"
15940 case "(($ac_try" in
15941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15942 *) ac_try_echo=$ac_try;;
15944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15945 (eval "$ac_compile") 2>conftest.er1
15947 grep -v '^
*+' conftest.er1 >conftest.err
15949 cat conftest.err >&5
15950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15951 (exit $ac_status); } && {
15952 test -z "$ac_c_werror_flag" ||
15953 test ! -s conftest.err
15954 } && test -s conftest.$ac_objext; then
15955 ac_cv_prog_cc_g=yes
15957 echo "$as_me: failed program was:" >&5
15958 sed 's
/^
/| /' conftest.$ac_ext >&5
15963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15970 ac_c_werror_flag=$ac_save_c_werror_flag
15972 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15973 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15974 if test "$ac_test_CFLAGS" = set; then
15975 CFLAGS=$ac_save_CFLAGS
15976 elif test $ac_cv_prog_cc_g = yes; then
15977 if test "$GCC" = yes; then
15983 if test "$GCC" = yes; then
15997 ac_cpp='$CPP $CPPFLAGS'
15998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15999 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16002 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16003 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16004 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16005 echo $ECHO_N "(cached) $ECHO_C" >&6
16007 cat >conftest.$ac_ext <<_ACEOF
16010 cat confdefs.h >>conftest.$ac_ext
16011 cat >>conftest.$ac_ext <<_ACEOF
16012 /* end confdefs.h. */
16026 rm -f conftest.$ac_objext
16027 if { (ac_try="$ac_compile"
16028 case "(($ac_try" in
16029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16030 *) ac_try_echo=$ac_try;;
16032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16033 (eval "$ac_compile") 2>conftest.er1
16035 grep -v '^
*+' conftest.er1 >conftest.err
16037 cat conftest.err >&5
16038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16039 (exit $ac_status); } && {
16040 test -z "$ac_c_werror_flag" ||
16041 test ! -s conftest.err
16042 } && test -s conftest.$ac_objext; then
16043 bakefile_cv_c_compiler___xlC__=yes
16045 echo "$as_me: failed program was:" >&5
16046 sed 's
/^
/| /' conftest.$ac_ext >&5
16048 bakefile_cv_c_compiler___xlC__=no
16052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16056 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16057 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16058 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16064 ac_cpp='$CPP $CPPFLAGS'
16065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16066 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16077 ac_cpp='$CPP $CPPFLAGS'
16078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16079 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16082 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16083 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16084 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16085 echo $ECHO_N "(cached) $ECHO_C" >&6
16087 cat >conftest.$ac_ext <<_ACEOF
16090 cat confdefs.h >>conftest.$ac_ext
16091 cat >>conftest.$ac_ext <<_ACEOF
16092 /* end confdefs.h. */
16106 rm -f conftest.$ac_objext
16107 if { (ac_try="$ac_compile"
16108 case "(($ac_try" in
16109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16110 *) ac_try_echo=$ac_try;;
16112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16113 (eval "$ac_compile") 2>conftest.er1
16115 grep -v '^
*+' conftest.er1 >conftest.err
16117 cat conftest.err >&5
16118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16119 (exit $ac_status); } && {
16120 test -z "$ac_c_werror_flag" ||
16121 test ! -s conftest.err
16122 } && test -s conftest.$ac_objext; then
16123 bakefile_cv_c_compiler___MWERKS__=yes
16125 echo "$as_me: failed program was:" >&5
16126 sed 's
/^
/| /' conftest.$ac_ext >&5
16128 bakefile_cv_c_compiler___MWERKS__=no
16132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16136 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16137 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16138 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16144 ac_cpp='$CPP $CPPFLAGS'
16145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16146 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16151 if test "$MWCC" != "yes"; then
16155 ac_cpp='$CPP $CPPFLAGS'
16156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16157 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16160 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16161 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16162 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16163 echo $ECHO_N "(cached) $ECHO_C" >&6
16165 cat >conftest.$ac_ext <<_ACEOF
16168 cat confdefs.h >>conftest.$ac_ext
16169 cat >>conftest.$ac_ext <<_ACEOF
16170 /* end confdefs.h. */
16184 rm -f conftest.$ac_objext
16185 if { (ac_try="$ac_compile"
16186 case "(($ac_try" in
16187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16188 *) ac_try_echo=$ac_try;;
16190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16191 (eval "$ac_compile") 2>conftest.er1
16193 grep -v '^
*+' conftest.er1 >conftest.err
16195 cat conftest.err >&5
16196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16197 (exit $ac_status); } && {
16198 test -z "$ac_c_werror_flag" ||
16199 test ! -s conftest.err
16200 } && test -s conftest.$ac_objext; then
16201 bakefile_cv_c_compiler___xlC__=yes
16203 echo "$as_me: failed program was:" >&5
16204 sed 's
/^
/| /' conftest.$ac_ext >&5
16206 bakefile_cv_c_compiler___xlC__=no
16210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16214 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16215 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16216 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16222 ac_cpp='$CPP $CPPFLAGS'
16223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16224 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16236 ac_cpp='$CPP $CPPFLAGS'
16237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16238 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16241 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16242 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16243 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16244 echo $ECHO_N "(cached) $ECHO_C" >&6
16246 cat >conftest.$ac_ext <<_ACEOF
16249 cat confdefs.h >>conftest.$ac_ext
16250 cat >>conftest.$ac_ext <<_ACEOF
16251 /* end confdefs.h. */
16257 #ifndef _SGI_COMPILER_VERSION
16265 rm -f conftest.$ac_objext
16266 if { (ac_try="$ac_compile"
16267 case "(($ac_try" in
16268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16269 *) ac_try_echo=$ac_try;;
16271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16272 (eval "$ac_compile") 2>conftest.er1
16274 grep -v '^
*+' conftest.er1 >conftest.err
16276 cat conftest.err >&5
16277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16278 (exit $ac_status); } && {
16279 test -z "$ac_c_werror_flag" ||
16280 test ! -s conftest.err
16281 } && test -s conftest.$ac_objext; then
16282 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16284 echo "$as_me: failed program was:" >&5
16285 sed 's
/^
/| /' conftest.$ac_ext >&5
16287 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16295 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16296 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16297 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16303 ac_cpp='$CPP $CPPFLAGS'
16304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16305 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16313 if test "$INTELCC" != "yes"; then
16317 ac_cpp='$CPP $CPPFLAGS'
16318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16319 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16322 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16323 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16324 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16325 echo $ECHO_N "(cached) $ECHO_C" >&6
16327 cat >conftest.$ac_ext <<_ACEOF
16330 cat confdefs.h >>conftest.$ac_ext
16331 cat >>conftest.$ac_ext <<_ACEOF
16332 /* end confdefs.h. */
16346 rm -f conftest.$ac_objext
16347 if { (ac_try="$ac_compile"
16348 case "(($ac_try" in
16349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16350 *) ac_try_echo=$ac_try;;
16352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16353 (eval "$ac_compile") 2>conftest.er1
16355 grep -v '^
*+' conftest.er1 >conftest.err
16357 cat conftest.err >&5
16358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16359 (exit $ac_status); } && {
16360 test -z "$ac_c_werror_flag" ||
16361 test ! -s conftest.err
16362 } && test -s conftest.$ac_objext; then
16363 bakefile_cv_c_compiler___SUNPRO_C=yes
16365 echo "$as_me: failed program was:" >&5
16366 sed 's
/^
/| /' conftest.$ac_ext >&5
16368 bakefile_cv_c_compiler___SUNPRO_C=no
16372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16376 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16377 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16378 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16384 ac_cpp='$CPP $CPPFLAGS'
16385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16386 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16398 ac_cpp='$CPP $CPPFLAGS'
16399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16400 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16403 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16404 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16405 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16406 echo $ECHO_N "(cached) $ECHO_C" >&6
16408 cat >conftest.$ac_ext <<_ACEOF
16411 cat confdefs.h >>conftest.$ac_ext
16412 cat >>conftest.$ac_ext <<_ACEOF
16413 /* end confdefs.h. */
16427 rm -f conftest.$ac_objext
16428 if { (ac_try="$ac_compile"
16429 case "(($ac_try" in
16430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16431 *) ac_try_echo=$ac_try;;
16433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16434 (eval "$ac_compile") 2>conftest.er1
16436 grep -v '^
*+' conftest.er1 >conftest.err
16438 cat conftest.err >&5
16439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440 (exit $ac_status); } && {
16441 test -z "$ac_c_werror_flag" ||
16442 test ! -s conftest.err
16443 } && test -s conftest.$ac_objext; then
16444 bakefile_cv_c_compiler___HP_cc=yes
16446 echo "$as_me: failed program was:" >&5
16447 sed 's
/^
/| /' conftest.$ac_ext >&5
16449 bakefile_cv_c_compiler___HP_cc=no
16453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16457 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16458 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16459 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16465 ac_cpp='$CPP $CPPFLAGS'
16466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16467 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16478 ac_cpp='$CPP $CPPFLAGS'
16479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16480 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16483 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16484 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16485 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16486 echo $ECHO_N "(cached) $ECHO_C" >&6
16488 cat >conftest.$ac_ext <<_ACEOF
16491 cat confdefs.h >>conftest.$ac_ext
16492 cat >>conftest.$ac_ext <<_ACEOF
16493 /* end confdefs.h. */
16507 rm -f conftest.$ac_objext
16508 if { (ac_try="$ac_compile"
16509 case "(($ac_try" in
16510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16511 *) ac_try_echo=$ac_try;;
16513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16514 (eval "$ac_compile") 2>conftest.er1
16516 grep -v '^
*+' conftest.er1 >conftest.err
16518 cat conftest.err >&5
16519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16520 (exit $ac_status); } && {
16521 test -z "$ac_c_werror_flag" ||
16522 test ! -s conftest.err
16523 } && test -s conftest.$ac_objext; then
16524 bakefile_cv_c_compiler___DECC=yes
16526 echo "$as_me: failed program was:" >&5
16527 sed 's
/^
/| /' conftest.$ac_ext >&5
16529 bakefile_cv_c_compiler___DECC=no
16533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16537 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16538 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16539 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16545 ac_cpp='$CPP $CPPFLAGS'
16546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16547 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16558 ac_cpp='$CPP $CPPFLAGS'
16559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16560 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16563 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16564 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16565 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16566 echo $ECHO_N "(cached) $ECHO_C" >&6
16568 cat >conftest.$ac_ext <<_ACEOF
16571 cat confdefs.h >>conftest.$ac_ext
16572 cat >>conftest.$ac_ext <<_ACEOF
16573 /* end confdefs.h. */
16587 rm -f conftest.$ac_objext
16588 if { (ac_try="$ac_compile"
16589 case "(($ac_try" in
16590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16591 *) ac_try_echo=$ac_try;;
16593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16594 (eval "$ac_compile") 2>conftest.er1
16596 grep -v '^
*+' conftest.er1 >conftest.err
16598 cat conftest.err >&5
16599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16600 (exit $ac_status); } && {
16601 test -z "$ac_c_werror_flag" ||
16602 test ! -s conftest.err
16603 } && test -s conftest.$ac_objext; then
16604 bakefile_cv_c_compiler___SUNPRO_C=yes
16606 echo "$as_me: failed program was:" >&5
16607 sed 's
/^
/| /' conftest.$ac_ext >&5
16609 bakefile_cv_c_compiler___SUNPRO_C=no
16613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16617 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16618 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16619 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16625 ac_cpp='$CPP $CPPFLAGS'
16626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16627 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16639 ac_cpp='$CPP $CPPFLAGS'
16640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16641 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16643 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16644 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16645 # On Suns, sometimes $CPP names a directory.
16646 if test -n "$CPP" && test -d "$CPP"; then
16649 if test -z "$CPP"; then
16650 if test "${ac_cv_prog_CPP+set}" = set; then
16651 echo $ECHO_N "(cached) $ECHO_C" >&6
16653 # Double quotes because CPP needs to be expanded
16654 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16656 ac_preproc_ok=false
16657 for ac_c_preproc_warn_flag in '' yes
16659 # Use a header file that comes with gcc, so configuring glibc
16660 # with a fresh cross-compiler works.
16661 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16662 # <limits.h> exists even on freestanding compilers.
16663 # On the NeXT, cc -E runs the code through the compiler's parser
,
16664 # not just through cpp. "Syntax error" is here to catch this case.
16665 cat >conftest.
$ac_ext <<_ACEOF
16668 cat confdefs.h
>>conftest.
$ac_ext
16669 cat >>conftest.
$ac_ext <<_ACEOF
16670 /* end confdefs.h. */
16672 # include <limits.h>
16674 # include <assert.h>
16678 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16679 case "(($ac_try" in
16680 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16681 *) ac_try_echo=$ac_try;;
16683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16684 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16686 grep -v '^ *+' conftest.er1 >conftest.err
16688 cat conftest.err >&5
16689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16690 (exit $ac_status); } >/dev/null && {
16691 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16692 test ! -s conftest.err
16696 echo "$as_me: failed program was:" >&5
16697 sed 's/^/| /' conftest.$ac_ext >&5
16699 # Broken: fails on valid input.
16703 rm -f conftest.err conftest.$ac_ext
16705 # OK, works on sane cases. Now check whether nonexistent headers
16706 # can be detected and how.
16707 cat >conftest.$ac_ext <<_ACEOF
16710 cat confdefs.h >>conftest.$ac_ext
16711 cat >>conftest.$ac_ext <<_ACEOF
16712 /* end confdefs.h. */
16713 #include <ac_nonexistent.h>
16715 if { (ac_try="$ac_cpp conftest.$ac_ext"
16716 case "(($ac_try" in
16717 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16718 *) ac_try_echo
=$ac_try;;
16720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16721 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16723 grep -v '^ *+' conftest.er1
>conftest.err
16725 cat conftest.err
>&5
16726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16727 (exit $ac_status); } >/dev
/null
&& {
16728 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16729 test ! -s conftest.err
16731 # Broken: success on invalid input.
16734 echo "$as_me: failed program was:" >&5
16735 sed 's/^/| /' conftest.
$ac_ext >&5
16737 # Passes both tests.
16742 rm -f conftest.err conftest.
$ac_ext
16745 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16746 rm -f conftest.err conftest.
$ac_ext
16747 if $ac_preproc_ok; then
16752 ac_cv_prog_CPP
=$CPP
16755 CPP
=$ac_cv_prog_CPP
16757 ac_cv_prog_CPP
=$CPP
16759 { echo "$as_me:$LINENO: result: $CPP" >&5
16760 echo "${ECHO_T}$CPP" >&6; }
16761 ac_preproc_ok
=false
16762 for ac_c_preproc_warn_flag
in '' yes
16764 # Use a header file that comes with gcc, so configuring glibc
16765 # with a fresh cross-compiler works.
16766 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16767 # <limits.h> exists even on freestanding compilers.
16768 # On the NeXT, cc -E runs the code through the compiler's parser,
16769 # not just through cpp. "Syntax error" is here to catch this case.
16770 cat >conftest.
$ac_ext <<_ACEOF
16773 cat confdefs.h
>>conftest.
$ac_ext
16774 cat >>conftest.
$ac_ext <<_ACEOF
16775 /* end confdefs.h. */
16777 # include <limits.h>
16779 # include <assert.h>
16783 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16784 case "(($ac_try" in
16785 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16786 *) ac_try_echo=$ac_try;;
16788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16789 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16791 grep -v '^ *+' conftest.er1 >conftest.err
16793 cat conftest.err >&5
16794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16795 (exit $ac_status); } >/dev/null && {
16796 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16797 test ! -s conftest.err
16801 echo "$as_me: failed program was:" >&5
16802 sed 's/^/| /' conftest.$ac_ext >&5
16804 # Broken: fails on valid input.
16808 rm -f conftest.err conftest.$ac_ext
16810 # OK, works on sane cases. Now check whether nonexistent headers
16811 # can be detected and how.
16812 cat >conftest.$ac_ext <<_ACEOF
16815 cat confdefs.h >>conftest.$ac_ext
16816 cat >>conftest.$ac_ext <<_ACEOF
16817 /* end confdefs.h. */
16818 #include <ac_nonexistent.h>
16820 if { (ac_try="$ac_cpp conftest.$ac_ext"
16821 case "(($ac_try" in
16822 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16823 *) ac_try_echo
=$ac_try;;
16825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16826 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16828 grep -v '^ *+' conftest.er1
>conftest.err
16830 cat conftest.err
>&5
16831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16832 (exit $ac_status); } >/dev
/null
&& {
16833 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16834 test ! -s conftest.err
16836 # Broken: success on invalid input.
16839 echo "$as_me: failed program was:" >&5
16840 sed 's/^/| /' conftest.
$ac_ext >&5
16842 # Passes both tests.
16847 rm -f conftest.err conftest.
$ac_ext
16850 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16851 rm -f conftest.err conftest.
$ac_ext
16852 if $ac_preproc_ok; then
16855 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16856 See \`config.log' for more details." >&5
16857 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16858 See \`config.log' for more details." >&2;}
16859 { (exit 1); exit 1; }; }
16863 ac_cpp
='$CPP $CPPFLAGS'
16864 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16865 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16866 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16869 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16870 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16871 if test "${ac_cv_path_GREP+set}" = set; then
16872 echo $ECHO_N "(cached) $ECHO_C" >&6
16874 # Extract the first word of "grep ggrep" to use in msg output
16875 if test -z "$GREP"; then
16876 set dummy
grep ggrep
; ac_prog_name
=$2
16877 if test "${ac_cv_path_GREP+set}" = set; then
16878 echo $ECHO_N "(cached) $ECHO_C" >&6
16880 ac_path_GREP_found
=false
16881 # Loop through the user's path and test for each of PROGNAME-LIST
16882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16883 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16886 test -z "$as_dir" && as_dir
=.
16887 for ac_prog
in grep ggrep
; do
16888 for ac_exec_ext
in '' $ac_executable_extensions; do
16889 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16890 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16891 # Check for GNU ac_path_GREP and select it if it is found.
16892 # Check for GNU $ac_path_GREP
16893 case `"$ac_path_GREP" --version 2>&1` in
16895 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16898 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16901 cat "conftest.in" "conftest.in" >"conftest.tmp"
16902 mv "conftest.tmp" "conftest.in"
16903 cp "conftest.in" "conftest.nl"
16904 echo 'GREP' >> "conftest.nl"
16905 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16906 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16907 ac_count
=`expr $ac_count + 1`
16908 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16909 # Best one so far, save it but keep looking for a better one
16910 ac_cv_path_GREP
="$ac_path_GREP"
16911 ac_path_GREP_max
=$ac_count
16913 # 10*(2^10) chars as input seems more than enough
16914 test $ac_count -gt 10 && break
16916 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16920 $ac_path_GREP_found && break 3
16930 GREP
="$ac_cv_path_GREP"
16931 if test -z "$GREP"; then
16932 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16933 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16934 { (exit 1); exit 1; }; }
16938 ac_cv_path_GREP
=$GREP
16943 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16944 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16945 GREP
="$ac_cv_path_GREP"
16948 { echo "$as_me:$LINENO: checking for egrep" >&5
16949 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16950 if test "${ac_cv_path_EGREP+set}" = set; then
16951 echo $ECHO_N "(cached) $ECHO_C" >&6
16953 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16954 then ac_cv_path_EGREP
="$GREP -E"
16956 # Extract the first word of "egrep" to use in msg output
16957 if test -z "$EGREP"; then
16958 set dummy
egrep; ac_prog_name
=$2
16959 if test "${ac_cv_path_EGREP+set}" = set; then
16960 echo $ECHO_N "(cached) $ECHO_C" >&6
16962 ac_path_EGREP_found
=false
16963 # Loop through the user's path and test for each of PROGNAME-LIST
16964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16965 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16968 test -z "$as_dir" && as_dir
=.
16969 for ac_prog
in egrep; do
16970 for ac_exec_ext
in '' $ac_executable_extensions; do
16971 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16972 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16973 # Check for GNU ac_path_EGREP and select it if it is found.
16974 # Check for GNU $ac_path_EGREP
16975 case `"$ac_path_EGREP" --version 2>&1` in
16977 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16980 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16983 cat "conftest.in" "conftest.in" >"conftest.tmp"
16984 mv "conftest.tmp" "conftest.in"
16985 cp "conftest.in" "conftest.nl"
16986 echo 'EGREP' >> "conftest.nl"
16987 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16988 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16989 ac_count
=`expr $ac_count + 1`
16990 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16991 # Best one so far, save it but keep looking for a better one
16992 ac_cv_path_EGREP
="$ac_path_EGREP"
16993 ac_path_EGREP_max
=$ac_count
16995 # 10*(2^10) chars as input seems more than enough
16996 test $ac_count -gt 10 && break
16998 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
17002 $ac_path_EGREP_found && break 3
17012 EGREP
="$ac_cv_path_EGREP"
17013 if test -z "$EGREP"; then
17014 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17015 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17016 { (exit 1); exit 1; }; }
17020 ac_cv_path_EGREP
=$EGREP
17026 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17027 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17028 EGREP
="$ac_cv_path_EGREP"
17031 if test $ac_cv_c_compiler_gnu = yes; then
17032 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17033 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17034 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17035 echo $ECHO_N "(cached) $ECHO_C" >&6
17037 ac_pattern
="Autoconf.*'x'"
17038 cat >conftest.
$ac_ext <<_ACEOF
17041 cat confdefs.h
>>conftest.
$ac_ext
17042 cat >>conftest.
$ac_ext <<_ACEOF
17043 /* end confdefs.h. */
17047 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17048 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
17049 ac_cv_prog_gcc_traditional
=yes
17051 ac_cv_prog_gcc_traditional
=no
17056 if test $ac_cv_prog_gcc_traditional = no
; then
17057 cat >conftest.
$ac_ext <<_ACEOF
17060 cat confdefs.h
>>conftest.
$ac_ext
17061 cat >>conftest.
$ac_ext <<_ACEOF
17062 /* end confdefs.h. */
17063 #include <termio.h>
17066 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17067 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
17068 ac_cv_prog_gcc_traditional
=yes
17074 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17075 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17076 if test $ac_cv_prog_gcc_traditional = yes; then
17077 CC
="$CC -traditional"
17082 CXXFLAGS
=${CXXFLAGS:=}
17084 ac_cpp
='$CXXCPP $CPPFLAGS'
17085 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17086 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17087 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17088 if test -z "$CXX"; then
17089 if test -n "$CCC"; then
17092 if test -n "$ac_tool_prefix"; then
17093 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
17095 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17096 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
17097 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17099 if test "${ac_cv_prog_CXX+set}" = set; then
17100 echo $ECHO_N "(cached) $ECHO_C" >&6
17102 if test -n "$CXX"; then
17103 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
17105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17106 for as_dir
in $PATH
17109 test -z "$as_dir" && as_dir
=.
17110 for ac_exec_ext
in '' $ac_executable_extensions; do
17111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17112 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
17113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17122 CXX
=$ac_cv_prog_CXX
17123 if test -n "$CXX"; then
17124 { echo "$as_me:$LINENO: result: $CXX" >&5
17125 echo "${ECHO_T}$CXX" >&6; }
17127 { echo "$as_me:$LINENO: result: no" >&5
17128 echo "${ECHO_T}no" >&6; }
17132 test -n "$CXX" && break
17135 if test -z "$CXX"; then
17137 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
17139 # Extract the first word of "$ac_prog", so it can be a program name with args.
17140 set dummy
$ac_prog; ac_word
=$2
17141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17143 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17144 echo $ECHO_N "(cached) $ECHO_C" >&6
17146 if test -n "$ac_ct_CXX"; then
17147 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
17149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17150 for as_dir
in $PATH
17153 test -z "$as_dir" && as_dir
=.
17154 for ac_exec_ext
in '' $ac_executable_extensions; do
17155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17156 ac_cv_prog_ac_ct_CXX
="$ac_prog"
17157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17166 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
17167 if test -n "$ac_ct_CXX"; then
17168 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17169 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17171 { echo "$as_me:$LINENO: result: no" >&5
17172 echo "${ECHO_T}no" >&6; }
17176 test -n "$ac_ct_CXX" && break
17179 if test "x$ac_ct_CXX" = x
; then
17182 case $cross_compiling:$ac_tool_warned in
17184 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17185 whose name does not start with the host triplet. If you think this
17186 configuration is useful to you, please write to autoconf@gnu.org." >&5
17187 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17188 whose name does not start with the host triplet. If you think this
17189 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17190 ac_tool_warned
=yes ;;
17198 # Provide some information about the compiler.
17199 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17200 ac_compiler
=`set X $ac_compile; echo $2`
17201 { (ac_try
="$ac_compiler --version >&5"
17202 case "(($ac_try" in
17203 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17204 *) ac_try_echo=$ac_try;;
17206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17207 (eval "$ac_compiler --version >&5") 2>&5
17209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17210 (exit $ac_status); }
17211 { (ac_try="$ac_compiler -v >&5"
17212 case "(($ac_try" in
17213 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17214 *) ac_try_echo
=$ac_try;;
17216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17217 (eval "$ac_compiler -v >&5") 2>&5
17219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17220 (exit $ac_status); }
17221 { (ac_try
="$ac_compiler -V >&5"
17222 case "(($ac_try" in
17223 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17224 *) ac_try_echo=$ac_try;;
17226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17227 (eval "$ac_compiler -V >&5") 2>&5
17229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17230 (exit $ac_status); }
17232 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17233 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17234 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17235 echo $ECHO_N "(cached) $ECHO_C" >&6
17237 cat >conftest.$ac_ext <<_ACEOF
17240 cat confdefs.h >>conftest.$ac_ext
17241 cat >>conftest.$ac_ext <<_ACEOF
17242 /* end confdefs.h. */
17255 rm -f conftest.$ac_objext
17256 if { (ac_try="$ac_compile"
17257 case "(($ac_try" in
17258 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17259 *) ac_try_echo
=$ac_try;;
17261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17262 (eval "$ac_compile") 2>conftest.er1
17264 grep -v '^ *+' conftest.er1
>conftest.err
17266 cat conftest.err
>&5
17267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17268 (exit $ac_status); } && {
17269 test -z "$ac_cxx_werror_flag" ||
17270 test ! -s conftest.err
17271 } && test -s conftest.
$ac_objext; then
17272 ac_compiler_gnu
=yes
17274 echo "$as_me: failed program was:" >&5
17275 sed 's/^/| /' conftest.
$ac_ext >&5
17280 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17281 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
17284 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17285 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17286 GXX
=`test $ac_compiler_gnu = yes && echo yes`
17287 ac_test_CXXFLAGS
=${CXXFLAGS+set}
17288 ac_save_CXXFLAGS
=$CXXFLAGS
17289 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17290 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17291 if test "${ac_cv_prog_cxx_g+set}" = set; then
17292 echo $ECHO_N "(cached) $ECHO_C" >&6
17294 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
17295 ac_cxx_werror_flag
=yes
17296 ac_cv_prog_cxx_g
=no
17298 cat >conftest.
$ac_ext <<_ACEOF
17301 cat confdefs.h
>>conftest.
$ac_ext
17302 cat >>conftest.
$ac_ext <<_ACEOF
17303 /* end confdefs.h. */
17313 rm -f conftest.
$ac_objext
17314 if { (ac_try
="$ac_compile"
17315 case "(($ac_try" in
17316 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17317 *) ac_try_echo=$ac_try;;
17319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17320 (eval "$ac_compile") 2>conftest.er1
17322 grep -v '^ *+' conftest.er1 >conftest.err
17324 cat conftest.err >&5
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); } && {
17327 test -z "$ac_cxx_werror_flag" ||
17328 test ! -s conftest.err
17329 } && test -s conftest.$ac_objext; then
17330 ac_cv_prog_cxx_g=yes
17332 echo "$as_me: failed program was:" >&5
17333 sed 's/^/| /' conftest.$ac_ext >&5
17336 cat >conftest.$ac_ext <<_ACEOF
17339 cat confdefs.h >>conftest.$ac_ext
17340 cat >>conftest.$ac_ext <<_ACEOF
17341 /* end confdefs.h. */
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
17370 echo "$as_me: failed program was:" >&5
17371 sed 's/^/| /' conftest.
$ac_ext >&5
17373 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
17375 cat >conftest.
$ac_ext <<_ACEOF
17378 cat confdefs.h
>>conftest.
$ac_ext
17379 cat >>conftest.
$ac_ext <<_ACEOF
17380 /* end confdefs.h. */
17390 rm -f conftest.
$ac_objext
17391 if { (ac_try
="$ac_compile"
17392 case "(($ac_try" in
17393 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17394 *) ac_try_echo=$ac_try;;
17396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17397 (eval "$ac_compile") 2>conftest.er1
17399 grep -v '^ *+' conftest.er1 >conftest.err
17401 cat conftest.err >&5
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); } && {
17404 test -z "$ac_cxx_werror_flag" ||
17405 test ! -s conftest.err
17406 } && test -s conftest.$ac_objext; then
17407 ac_cv_prog_cxx_g=yes
17409 echo "$as_me: failed program was:" >&5
17410 sed 's/^/| /' conftest.$ac_ext >&5
17415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17422 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17424 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17425 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17426 if test "$ac_test_CXXFLAGS" = set; then
17427 CXXFLAGS=$ac_save_CXXFLAGS
17428 elif test $ac_cv_prog_cxx_g = yes; then
17429 if test "$GXX" = yes; then
17435 if test "$GXX" = yes; then
17442 ac_cpp='$CPP $CPPFLAGS'
17443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17455 ac_cpp='$CXXCPP $CPPFLAGS'
17456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17460 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17461 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17462 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17463 echo $ECHO_N "(cached) $ECHO_C" >&6
17465 cat >conftest.$ac_ext <<_ACEOF
17468 cat confdefs.h >>conftest.$ac_ext
17469 cat >>conftest.$ac_ext <<_ACEOF
17470 /* end confdefs.h. */
17476 #ifndef __INTEL_COMPILER
17484 rm -f conftest.$ac_objext
17485 if { (ac_try="$ac_compile"
17486 case "(($ac_try" in
17487 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17488 *) ac_try_echo
=$ac_try;;
17490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17491 (eval "$ac_compile") 2>conftest.er1
17493 grep -v '^ *+' conftest.er1
>conftest.err
17495 cat conftest.err
>&5
17496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17497 (exit $ac_status); } && {
17498 test -z "$ac_cxx_werror_flag" ||
17499 test ! -s conftest.err
17500 } && test -s conftest.
$ac_objext; then
17501 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
17503 echo "$as_me: failed program was:" >&5
17504 sed 's/^/| /' conftest.
$ac_ext >&5
17506 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
17510 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17514 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17515 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17516 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17522 ac_cpp
='$CPP $CPPFLAGS'
17523 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17524 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17525 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17530 if test "$INTELCXX" = "yes"; then
17534 ac_cpp
='$CXXCPP $CPPFLAGS'
17535 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17536 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17537 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17539 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17540 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17541 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17542 echo $ECHO_N "(cached) $ECHO_C" >&6
17544 cat >conftest.
$ac_ext <<_ACEOF
17547 cat confdefs.h
>>conftest.
$ac_ext
17548 cat >>conftest.
$ac_ext <<_ACEOF
17549 /* end confdefs.h. */
17555 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
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_cxx_werror_flag" ||
17578 test ! -s conftest.err
17579 } && test -s conftest.$ac_objext; then
17580 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17582 echo "$as_me: failed program was:" >&5
17583 sed 's/^/| /' conftest.$ac_ext >&5
17585 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17593 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17594 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17595 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17601 ac_cpp='$CPP $CPPFLAGS'
17602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17611 ac_cpp='$CXXCPP $CPPFLAGS'
17612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17616 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17617 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17618 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17619 echo $ECHO_N "(cached) $ECHO_C" >&6
17621 cat >conftest.$ac_ext <<_ACEOF
17624 cat confdefs.h >>conftest.$ac_ext
17625 cat >>conftest.$ac_ext <<_ACEOF
17626 /* end confdefs.h. */
17632 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
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_cxx_werror_flag" ||
17655 test ! -s conftest.err
17656 } && test -s conftest.
$ac_objext; then
17657 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
17659 echo "$as_me: failed program was:" >&5
17660 sed 's/^/| /' conftest.
$ac_ext >&5
17662 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
17666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17670 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17671 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17672 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17678 ac_cpp
='$CPP $CPPFLAGS'
17679 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17680 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17681 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17687 if test "x$GCXX" != "xyes"; then
17688 if test "xCXX" = "xC"; then
17689 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17690 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17691 if test "${bakefile_cv_c_exto+set}" = set; then
17692 echo $ECHO_N "(cached) $ECHO_C" >&6
17694 cat >conftest.
$ac_ext <<_ACEOF
17697 cat confdefs.h
>>conftest.
$ac_ext
17698 cat >>conftest.
$ac_ext <<_ACEOF
17699 /* end confdefs.h. */
17709 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17711 (eval $ac_compile) 2>&5
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); }; then
17715 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17717 conftest.
$ac_ext.o
)
17718 bakefile_cv_c_exto
="-ext o"
17725 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17726 See \`config.log' for more details." >&5
17727 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17728 See \`config.log' for more details." >&2;}
17729 { (exit 1); exit 1; }; }
17733 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17736 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17737 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17738 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17739 if test "c" = "c"; then
17740 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17742 if test "c" = "cxx"; then
17743 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17747 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17748 unset ac_cv_prog_cc_g
17749 ac_test_CFLAGS
=${CFLAGS+set}
17750 ac_save_CFLAGS
=$CFLAGS
17751 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17752 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17753 if test "${ac_cv_prog_cc_g+set}" = set; then
17754 echo $ECHO_N "(cached) $ECHO_C" >&6
17756 ac_save_c_werror_flag
=$ac_c_werror_flag
17757 ac_c_werror_flag
=yes
17760 cat >conftest.
$ac_ext <<_ACEOF
17763 cat confdefs.h
>>conftest.
$ac_ext
17764 cat >>conftest.
$ac_ext <<_ACEOF
17765 /* end confdefs.h. */
17775 rm -f conftest.
$ac_objext
17776 if { (ac_try
="$ac_compile"
17777 case "(($ac_try" in
17778 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17779 *) ac_try_echo=$ac_try;;
17781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17782 (eval "$ac_compile") 2>conftest.er1
17784 grep -v '^ *+' conftest.er1 >conftest.err
17786 cat conftest.err >&5
17787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17788 (exit $ac_status); } && {
17789 test -z "$ac_c_werror_flag" ||
17790 test ! -s conftest.err
17791 } && test -s conftest.$ac_objext; then
17792 ac_cv_prog_cc_g=yes
17794 echo "$as_me: failed program was:" >&5
17795 sed 's/^/| /' conftest.$ac_ext >&5
17798 cat >conftest.$ac_ext <<_ACEOF
17801 cat confdefs.h >>conftest.$ac_ext
17802 cat >>conftest.$ac_ext <<_ACEOF
17803 /* end confdefs.h. */
17813 rm -f conftest.$ac_objext
17814 if { (ac_try="$ac_compile"
17815 case "(($ac_try" in
17816 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17817 *) ac_try_echo
=$ac_try;;
17819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17820 (eval "$ac_compile") 2>conftest.er1
17822 grep -v '^ *+' conftest.er1
>conftest.err
17824 cat conftest.err
>&5
17825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17826 (exit $ac_status); } && {
17827 test -z "$ac_c_werror_flag" ||
17828 test ! -s conftest.err
17829 } && test -s conftest.
$ac_objext; then
17832 echo "$as_me: failed program was:" >&5
17833 sed 's/^/| /' conftest.
$ac_ext >&5
17835 ac_c_werror_flag
=$ac_save_c_werror_flag
17837 cat >conftest.
$ac_ext <<_ACEOF
17840 cat confdefs.h
>>conftest.
$ac_ext
17841 cat >>conftest.
$ac_ext <<_ACEOF
17842 /* end confdefs.h. */
17852 rm -f conftest.
$ac_objext
17853 if { (ac_try
="$ac_compile"
17854 case "(($ac_try" in
17855 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17856 *) ac_try_echo=$ac_try;;
17858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17859 (eval "$ac_compile") 2>conftest.er1
17861 grep -v '^ *+' conftest.er1 >conftest.err
17863 cat conftest.err >&5
17864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17865 (exit $ac_status); } && {
17866 test -z "$ac_c_werror_flag" ||
17867 test ! -s conftest.err
17868 } && test -s conftest.$ac_objext; then
17869 ac_cv_prog_cc_g=yes
17871 echo "$as_me: failed program was:" >&5
17872 sed 's/^/| /' conftest.$ac_ext >&5
17877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17884 ac_c_werror_flag=$ac_save_c_werror_flag
17886 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17887 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17888 if test "$ac_test_CFLAGS" = set; then
17889 CFLAGS=$ac_save_CFLAGS
17890 elif test $ac_cv_prog_cc_g = yes; then
17891 if test "$GCC" = yes; then
17897 if test "$GCC" = yes; then
17911 ac_cpp='$CXXCPP $CPPFLAGS'
17912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17916 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17917 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17918 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17919 echo $ECHO_N "(cached) $ECHO_C" >&6
17921 cat >conftest.$ac_ext <<_ACEOF
17924 cat confdefs.h >>conftest.$ac_ext
17925 cat >>conftest.$ac_ext <<_ACEOF
17926 /* end confdefs.h. */
17940 rm -f conftest.$ac_objext
17941 if { (ac_try="$ac_compile"
17942 case "(($ac_try" in
17943 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17944 *) ac_try_echo
=$ac_try;;
17946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17947 (eval "$ac_compile") 2>conftest.er1
17949 grep -v '^ *+' conftest.er1
>conftest.err
17951 cat conftest.err
>&5
17952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17953 (exit $ac_status); } && {
17954 test -z "$ac_cxx_werror_flag" ||
17955 test ! -s conftest.err
17956 } && test -s conftest.
$ac_objext; then
17957 bakefile_cv_cxx_compiler___xlC__
=yes
17959 echo "$as_me: failed program was:" >&5
17960 sed 's/^/| /' conftest.
$ac_ext >&5
17962 bakefile_cv_cxx_compiler___xlC__
=no
17966 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17970 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17971 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17972 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17978 ac_cpp
='$CPP $CPPFLAGS'
17979 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17980 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17981 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17991 ac_cpp
='$CXXCPP $CPPFLAGS'
17992 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17993 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17994 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17996 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17997 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17998 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17999 echo $ECHO_N "(cached) $ECHO_C" >&6
18001 cat >conftest.
$ac_ext <<_ACEOF
18004 cat confdefs.h
>>conftest.
$ac_ext
18005 cat >>conftest.
$ac_ext <<_ACEOF
18006 /* end confdefs.h. */
18020 rm -f conftest.
$ac_objext
18021 if { (ac_try
="$ac_compile"
18022 case "(($ac_try" in
18023 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18024 *) ac_try_echo=$ac_try;;
18026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18027 (eval "$ac_compile") 2>conftest.er1
18029 grep -v '^ *+' conftest.er1 >conftest.err
18031 cat conftest.err >&5
18032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18033 (exit $ac_status); } && {
18034 test -z "$ac_cxx_werror_flag" ||
18035 test ! -s conftest.err
18036 } && test -s conftest.$ac_objext; then
18037 bakefile_cv_cxx_compiler___MWERKS__=yes
18039 echo "$as_me: failed program was:" >&5
18040 sed 's/^/| /' conftest.$ac_ext >&5
18042 bakefile_cv_cxx_compiler___MWERKS__=no
18046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18050 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18051 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18052 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18058 ac_cpp='$CPP $CPPFLAGS'
18059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18065 if test "$MWCXX" != "yes"; then
18069 ac_cpp='$CXXCPP $CPPFLAGS'
18070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18074 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18075 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18076 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18077 echo $ECHO_N "(cached) $ECHO_C" >&6
18079 cat >conftest.$ac_ext <<_ACEOF
18082 cat confdefs.h >>conftest.$ac_ext
18083 cat >>conftest.$ac_ext <<_ACEOF
18084 /* end confdefs.h. */
18098 rm -f conftest.$ac_objext
18099 if { (ac_try="$ac_compile"
18100 case "(($ac_try" in
18101 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18102 *) ac_try_echo
=$ac_try;;
18104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18105 (eval "$ac_compile") 2>conftest.er1
18107 grep -v '^ *+' conftest.er1
>conftest.err
18109 cat conftest.err
>&5
18110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18111 (exit $ac_status); } && {
18112 test -z "$ac_cxx_werror_flag" ||
18113 test ! -s conftest.err
18114 } && test -s conftest.
$ac_objext; then
18115 bakefile_cv_cxx_compiler___xlC__
=yes
18117 echo "$as_me: failed program was:" >&5
18118 sed 's/^/| /' conftest.
$ac_ext >&5
18120 bakefile_cv_cxx_compiler___xlC__
=no
18124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18128 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18129 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18130 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18136 ac_cpp
='$CPP $CPPFLAGS'
18137 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18138 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18139 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18150 ac_cpp
='$CXXCPP $CPPFLAGS'
18151 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18152 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18153 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18155 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18156 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18157 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18158 echo $ECHO_N "(cached) $ECHO_C" >&6
18160 cat >conftest.
$ac_ext <<_ACEOF
18163 cat confdefs.h
>>conftest.
$ac_ext
18164 cat >>conftest.
$ac_ext <<_ACEOF
18165 /* end confdefs.h. */
18171 #ifndef _SGI_COMPILER_VERSION
18179 rm -f conftest.
$ac_objext
18180 if { (ac_try
="$ac_compile"
18181 case "(($ac_try" in
18182 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18183 *) ac_try_echo=$ac_try;;
18185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18186 (eval "$ac_compile") 2>conftest.er1
18188 grep -v '^ *+' conftest.er1 >conftest.err
18190 cat conftest.err >&5
18191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18192 (exit $ac_status); } && {
18193 test -z "$ac_cxx_werror_flag" ||
18194 test ! -s conftest.err
18195 } && test -s conftest.$ac_objext; then
18196 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18198 echo "$as_me: failed program was:" >&5
18199 sed 's/^/| /' conftest.$ac_ext >&5
18201 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18209 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18210 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18211 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18217 ac_cpp='$CPP $CPPFLAGS'
18218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18227 if test "$INTELCXX" != "yes"; then
18231 ac_cpp='$CXXCPP $CPPFLAGS'
18232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18236 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18237 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18238 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18239 echo $ECHO_N "(cached) $ECHO_C" >&6
18241 cat >conftest.$ac_ext <<_ACEOF
18244 cat confdefs.h >>conftest.$ac_ext
18245 cat >>conftest.$ac_ext <<_ACEOF
18246 /* end confdefs.h. */
18252 #ifndef __SUNPRO_CC
18260 rm -f conftest.$ac_objext
18261 if { (ac_try="$ac_compile"
18262 case "(($ac_try" in
18263 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18264 *) ac_try_echo
=$ac_try;;
18266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18267 (eval "$ac_compile") 2>conftest.er1
18269 grep -v '^ *+' conftest.er1
>conftest.err
18271 cat conftest.err
>&5
18272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18273 (exit $ac_status); } && {
18274 test -z "$ac_cxx_werror_flag" ||
18275 test ! -s conftest.err
18276 } && test -s conftest.
$ac_objext; then
18277 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
18279 echo "$as_me: failed program was:" >&5
18280 sed 's/^/| /' conftest.
$ac_ext >&5
18282 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
18286 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18290 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18291 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18292 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18298 ac_cpp
='$CPP $CPPFLAGS'
18299 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18300 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18301 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18312 ac_cpp
='$CXXCPP $CPPFLAGS'
18313 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18314 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18315 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18317 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18318 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18319 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18320 echo $ECHO_N "(cached) $ECHO_C" >&6
18322 cat >conftest.
$ac_ext <<_ACEOF
18325 cat confdefs.h
>>conftest.
$ac_ext
18326 cat >>conftest.
$ac_ext <<_ACEOF
18327 /* end confdefs.h. */
18341 rm -f conftest.
$ac_objext
18342 if { (ac_try
="$ac_compile"
18343 case "(($ac_try" in
18344 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18345 *) ac_try_echo=$ac_try;;
18347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18348 (eval "$ac_compile") 2>conftest.er1
18350 grep -v '^ *+' conftest.er1 >conftest.err
18352 cat conftest.err >&5
18353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354 (exit $ac_status); } && {
18355 test -z "$ac_cxx_werror_flag" ||
18356 test ! -s conftest.err
18357 } && test -s conftest.$ac_objext; then
18358 bakefile_cv_cxx_compiler___HP_aCC=yes
18360 echo "$as_me: failed program was:" >&5
18361 sed 's/^/| /' conftest.$ac_ext >&5
18363 bakefile_cv_cxx_compiler___HP_aCC=no
18367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18371 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18372 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18373 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18379 ac_cpp='$CPP $CPPFLAGS'
18380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18392 ac_cpp='$CXXCPP $CPPFLAGS'
18393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18397 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18398 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18399 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18400 echo $ECHO_N "(cached) $ECHO_C" >&6
18402 cat >conftest.$ac_ext <<_ACEOF
18405 cat confdefs.h >>conftest.$ac_ext
18406 cat >>conftest.$ac_ext <<_ACEOF
18407 /* end confdefs.h. */
18421 rm -f conftest.$ac_objext
18422 if { (ac_try="$ac_compile"
18423 case "(($ac_try" in
18424 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18425 *) ac_try_echo
=$ac_try;;
18427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18428 (eval "$ac_compile") 2>conftest.er1
18430 grep -v '^ *+' conftest.er1
>conftest.err
18432 cat conftest.err
>&5
18433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18434 (exit $ac_status); } && {
18435 test -z "$ac_cxx_werror_flag" ||
18436 test ! -s conftest.err
18437 } && test -s conftest.
$ac_objext; then
18438 bakefile_cv_cxx_compiler___DECCXX
=yes
18440 echo "$as_me: failed program was:" >&5
18441 sed 's/^/| /' conftest.
$ac_ext >&5
18443 bakefile_cv_cxx_compiler___DECCXX
=no
18447 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18451 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18452 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18453 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18459 ac_cpp
='$CPP $CPPFLAGS'
18460 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18461 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18462 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18472 ac_cpp
='$CXXCPP $CPPFLAGS'
18473 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18474 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18475 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18477 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18478 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18479 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18480 echo $ECHO_N "(cached) $ECHO_C" >&6
18482 cat >conftest.
$ac_ext <<_ACEOF
18485 cat confdefs.h
>>conftest.
$ac_ext
18486 cat >>conftest.
$ac_ext <<_ACEOF
18487 /* end confdefs.h. */
18493 #ifndef __SUNPRO_CC
18501 rm -f conftest.
$ac_objext
18502 if { (ac_try
="$ac_compile"
18503 case "(($ac_try" in
18504 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18505 *) ac_try_echo=$ac_try;;
18507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18508 (eval "$ac_compile") 2>conftest.er1
18510 grep -v '^ *+' conftest.er1 >conftest.err
18512 cat conftest.err >&5
18513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18514 (exit $ac_status); } && {
18515 test -z "$ac_cxx_werror_flag" ||
18516 test ! -s conftest.err
18517 } && test -s conftest.$ac_objext; then
18518 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18520 echo "$as_me: failed program was:" >&5
18521 sed 's/^/| /' conftest.$ac_ext >&5
18523 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18531 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18532 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18533 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18539 ac_cpp='$CPP $CPPFLAGS'
18540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18552 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18553 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18554 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18555 { (exit 1); exit 1; }; }
18558 if test "x$SUNCXX" != xyes; then
18559 if test -n "$ac_tool_prefix"; then
18560 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18561 set dummy ${ac_tool_prefix}ar; ac_word=$2
18562 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18564 if test "${ac_cv_prog_AR+set}" = set; then
18565 echo $ECHO_N "(cached) $ECHO_C" >&6
18567 if test -n "$AR"; then
18568 ac_cv_prog_AR="$AR" # Let the user override the test.
18570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18571 for as_dir in $PATH
18574 test -z "$as_dir" && as_dir=.
18575 for ac_exec_ext in '' $ac_executable_extensions; do
18576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18577 ac_cv_prog_AR="${ac_tool_prefix}ar"
18578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18588 if test -n "$AR"; then
18589 { echo "$as_me:$LINENO: result: $AR" >&5
18590 echo "${ECHO_T}$AR" >&6; }
18592 { echo "$as_me:$LINENO: result: no" >&5
18593 echo "${ECHO_T}no" >&6; }
18598 if test -z "$ac_cv_prog_AR"; then
18600 # Extract the first word of "ar", so it can be a program name with args.
18601 set dummy ar; ac_word=$2
18602 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18604 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18605 echo $ECHO_N "(cached) $ECHO_C" >&6
18607 if test -n "$ac_ct_AR"; then
18608 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18611 for as_dir in $PATH
18614 test -z "$as_dir" && as_dir=.
18615 for ac_exec_ext in '' $ac_executable_extensions; do
18616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18617 ac_cv_prog_ac_ct_AR="ar"
18618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18627 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18628 if test -n "$ac_ct_AR"; then
18629 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18630 echo "${ECHO_T}$ac_ct_AR" >&6; }
18632 { echo "$as_me:$LINENO: result: no" >&5
18633 echo "${ECHO_T}no" >&6; }
18636 if test "x$ac_ct_AR" = x; then
18639 case $cross_compiling:$ac_tool_warned in
18641 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18642 whose name does not start with the host triplet. If you think this
18643 configuration is useful to you, please write to autoconf@gnu.org." >&5
18644 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18645 whose name does not start with the host triplet. If you think this
18646 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18647 ac_tool_warned=yes ;;
18652 AR="$ac_cv_prog_AR"
18655 if test "x$AR" = "x" ; then
18656 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18657 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18658 { (exit 1); exit 1; }; }
18663 if test "$wxUSE_MAC" = 1; then
18665 retest_macosx_linking=no
18668 if test "x$wxUSE_MAC_ARCH" != xno; then
18669 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
18672 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18673 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18674 # Implicitly turn on the new --with-macosx-sdk using the default
18675 # SDK which provides the behavior this option has always had.
18676 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18677 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18678 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18679 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18680 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18681 wxUSE_MACOSX_SDK=yes
18684 # Complain to user if he specified an argument to --enable-universal_binary
18685 # and also 1) specified --with-macosx-sdk using the default (yes) or
18686 # 2) specified --with-macosx-sdk using a path or 3) specified
18687 # --without-macosx-sdk (no).
18688 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18689 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18690 See \`config.log
' for more details." >&5
18691 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18692 See \`config.log' for more details.
" >&2;}
18693 { (exit 1); exit 1; }; }
18695 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18696 # special-case the empty string because the below test simply
18697 # converts "no
" to the empty string anyway.
18698 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18699 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
18700 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
18703 OSX_ARCH_OPTS="-arch ppc
-arch i386
"
18704 if test "$wxUSE_OSX_COCOA" = 1; then
18705 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64
"
18707 { echo "$as_me:$LINENO: checking
for universal binary architectures
" >&5
18708 echo $ECHO_N "checking
for universal binary architectures...
$ECHO_C" >&6; }
18709 { echo "$as_me:$LINENO: result
: $OSX_ARCH_OPTS" >&5
18710 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
18712 retest_macosx_linking=yes
18714 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
18715 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
18719 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
18720 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
18721 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
18722 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
18723 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
18725 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
18727 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
18728 # TODO: Search for most recent SDK and use it.
18729 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
18733 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
18734 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
18735 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
18736 if ! test -d "$wxUSE_MACOSX_SDK"; then
18737 { { echo "$as_me:$LINENO: error
: not found
18738 See \
`config.log' for more details." >&5
18739 echo "$as_me: error: not found
18740 See \`config.log
' for more details." >&2;}
18741 { (exit 1); exit 1; }; }
18743 { echo "$as_me:$LINENO: result: exists" >&5
18744 echo "${ECHO_T}exists" >&6; }
18746 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18747 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18748 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18749 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18750 retest_macosx_linking=yes
18753 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18754 wxUSE_MACOSX_VERSION_MIN=
18755 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18756 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18757 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18758 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18760 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/'`
18762 # If that failed, try again with the new key
18763 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18765 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/'`
18769 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18770 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18771 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18772 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18774 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18775 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18776 wxUSE_MACOSX_VERSION_MIN=
18779 wxUSE_MACOSX_VERSION_MIN=
18781 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18782 for ac_prog in sw_vers
18784 # Extract the first word of "$ac_prog", so it can be a program name with args.
18785 set dummy $ac_prog; ac_word=$2
18786 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18788 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18789 echo $ECHO_N "(cached) $ECHO_C" >&6
18791 if test -n "$OSX_SW_VERS"; then
18792 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18795 for as_dir in $PATH
18798 test -z "$as_dir" && as_dir=.
18799 for ac_exec_ext in '' $ac_executable_extensions; do
18800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18801 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18811 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18812 if test -n "$OSX_SW_VERS"; then
18813 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18814 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
18816 { echo "$as_me:$LINENO: result: no" >&5
18817 echo "${ECHO_T}no" >&6; }
18821 test -n "$OSX_SW_VERS" && break
18824 if test "$OSX_SW_VERS" != ""; then
18825 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18827 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
18828 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
18832 case "$OSX_VERSION" in
18834 wxUSE_MACOSX_VERSION_MIN=10.4
18838 if test "$wxUSE_OSX_CARBON" = 1; then
18839 # otherwise configure stops on leopard for universal_binary
18840 wxUSE_MACOSX_VERSION_MIN=10.4
18842 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
18843 wxUSE_MACOSX_VERSION_MIN=10.5
18850 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18854 if test "$wxUSE_OSX_CARBON" = 1; then
18858 if test "x$NEEDS_GCC40" == "xyes"; then
18859 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18860 # and wants 10.4 compatible code, then 'downgrade
' to 4.0
18861 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18862 if test "x$CC" = "xgcc"; then
18863 CCVERSION=`$CC --version | grep 4.[2-9].`
18864 if test "x$CCVERSION" != "x"; then
18865 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18866 CC="/usr/bin/gcc-4.0"
18870 if test "x$CXX" = "xg++"; then
18871 CCVERSION=`$CXX --version | grep 4.[2-9].`
18872 if test "x$CCVERSION" != "x"; then
18873 CXX="/usr/bin/g++-4.0"
18878 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18879 if test "$wxUSE_OSX_IPHONE" = 1; then
18880 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
18882 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18884 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18885 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18886 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18887 retest_macosx_linking=yes
18890 if test "x$retest_macosx_linking" = "xyes"; then
18892 ac_cpp='$CPP $CPPFLAGS'
18893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18894 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18897 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18898 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18899 cat >conftest.$ac_ext <<_ACEOF
18902 cat confdefs.h >>conftest.$ac_ext
18903 cat >>conftest.$ac_ext <<_ACEOF
18904 /* end confdefs.h. */
18914 rm -f conftest.$ac_objext conftest$ac_exeext
18915 if { (ac_try="$ac_link"
18916 case "(($ac_try" in
18917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18918 *) ac_try_echo=$ac_try;;
18920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18921 (eval "$ac_link") 2>conftest.er1
18923 grep -v '^
*+' conftest.er1 >conftest.err
18925 cat conftest.err >&5
18926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18927 (exit $ac_status); } && {
18928 test -z "$ac_c_werror_flag" ||
18929 test ! -s conftest.err
18930 } && test -s conftest$ac_exeext &&
18931 $as_test_x conftest$ac_exeext; then
18932 { echo "$as_me:$LINENO: result: yes" >&5
18933 echo "${ECHO_T}yes" >&6; }
18935 echo "$as_me: failed program was:" >&5
18936 sed 's
/^
/| /' conftest.$ac_ext >&5
18938 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18939 See \`config.log' for more details.
" >&5
18940 echo "$as_me: error
: no. Try a different SDK
18941 See \
`config.log' for more details." >&2;}
18942 { (exit 1); exit 1; }; }; exit 1
18945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18946 conftest$ac_exeext conftest.$ac_ext
18948 ac_cpp='$CPP $CPPFLAGS'
18949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18955 ac_cpp='$CXXCPP $CPPFLAGS'
18956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18960 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18961 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18962 cat >conftest.$ac_ext <<_ACEOF
18965 cat confdefs.h >>conftest.$ac_ext
18966 cat >>conftest.$ac_ext <<_ACEOF
18967 /* end confdefs.h. */
18977 rm -f conftest.$ac_objext conftest$ac_exeext
18978 if { (ac_try="$ac_link"
18979 case "(($ac_try" in
18980 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18981 *) ac_try_echo
=$ac_try;;
18983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18984 (eval "$ac_link") 2>conftest.er1
18986 grep -v '^ *+' conftest.er1
>conftest.err
18988 cat conftest.err
>&5
18989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18990 (exit $ac_status); } && {
18991 test -z "$ac_cxx_werror_flag" ||
18992 test ! -s conftest.err
18993 } && test -s conftest
$ac_exeext &&
18994 $as_test_x conftest
$ac_exeext; then
18995 { echo "$as_me:$LINENO: result: yes" >&5
18996 echo "${ECHO_T}yes" >&6; }
18998 echo "$as_me: failed program was:" >&5
18999 sed 's/^/| /' conftest.
$ac_ext >&5
19001 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19002 See \`config.log' for more details." >&5
19003 echo "$as_me: error: no. Try a different SDK
19004 See \`config.log' for more details." >&2;}
19005 { (exit 1); exit 1; }; }; exit 1
19008 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19009 conftest
$ac_exeext conftest.
$ac_ext
19011 ac_cpp
='$CPP $CPPFLAGS'
19012 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19013 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19014 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19022 INSTALL_PROGRAM
="cp -fp"
19023 INSTALL_DATA
="cp -fp"
19030 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
19031 CXXFLAGS
="-qunique $CXXFLAGS"
19035 powerpc
-*-darwin* )
19036 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19037 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19038 cat >conftest.
$ac_ext <<_ACEOF
19041 cat confdefs.h
>>conftest.
$ac_ext
19042 cat >>conftest.
$ac_ext <<_ACEOF
19043 /* end confdefs.h. */
19048 #ifndef __POWERPC__
19049 choke me for lack of PowerPC
19056 rm -f conftest.
$ac_objext
19057 if { (ac_try
="$ac_compile"
19058 case "(($ac_try" in
19059 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19060 *) ac_try_echo=$ac_try;;
19062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19063 (eval "$ac_compile") 2>conftest.er1
19065 grep -v '^ *+' conftest.er1 >conftest.err
19067 cat conftest.err >&5
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); } && {
19070 test -z "$ac_c_werror_flag" ||
19071 test ! -s conftest.err
19072 } && test -s conftest.$ac_objext; then
19073 { echo "$as_me:$LINENO: result: yes" >&5
19074 echo "${ECHO_T}yes" >&6; }
19076 echo "$as_me: failed program was:" >&5
19077 sed 's/^/| /' conftest.$ac_ext >&5
19079 { echo "$as_me:$LINENO: result: no" >&5
19080 echo "${ECHO_T}no" >&6; }
19081 cat >>confdefs.h <<\_ACEOF
19082 #define __POWERPC__ 1
19088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19094 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19095 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19096 cat >conftest.$ac_ext <<_ACEOF
19099 cat confdefs.h >>conftest.$ac_ext
19100 cat >>conftest.$ac_ext <<_ACEOF
19101 /* end confdefs.h. */
19102 #include <CoreFoundation/CFBase.h>
19112 rm -f conftest.$ac_objext
19113 if { (ac_try="$ac_compile"
19114 case "(($ac_try" in
19115 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19116 *) ac_try_echo
=$ac_try;;
19118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19119 (eval "$ac_compile") 2>conftest.er1
19121 grep -v '^ *+' conftest.er1
>conftest.err
19123 cat conftest.err
>&5
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); } && {
19126 test -z "$ac_c_werror_flag" ||
19127 test ! -s conftest.err
19128 } && test -s conftest.
$ac_objext; then
19129 { echo "$as_me:$LINENO: result: yes" >&5
19130 echo "${ECHO_T}yes" >&6; }
19132 echo "$as_me: failed program was:" >&5
19133 sed 's/^/| /' conftest.
$ac_ext >&5
19135 { echo "$as_me:$LINENO: result: no" >&5
19136 echo "${ECHO_T}no" >&6; }
19137 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19138 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19139 cat >conftest.
$ac_ext <<_ACEOF
19142 cat confdefs.h
>>conftest.
$ac_ext
19143 cat >>conftest.
$ac_ext <<_ACEOF
19144 /* end confdefs.h. */
19145 #define __CF_USE_FRAMEWORK_INCLUDES__
19146 #include <CoreFoundation/CFBase.h>
19156 rm -f conftest.
$ac_objext
19157 if { (ac_try
="$ac_compile"
19158 case "(($ac_try" in
19159 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19160 *) ac_try_echo=$ac_try;;
19162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19163 (eval "$ac_compile") 2>conftest.er1
19165 grep -v '^ *+' conftest.er1 >conftest.err
19167 cat conftest.err >&5
19168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169 (exit $ac_status); } && {
19170 test -z "$ac_c_werror_flag" ||
19171 test ! -s conftest.err
19172 } && test -s conftest.$ac_objext; then
19173 { echo "$as_me:$LINENO: result: yes" >&5
19174 echo "${ECHO_T}yes" >&6; }
19175 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19177 echo "$as_me: failed program was:" >&5
19178 sed 's/^/| /' conftest.$ac_ext >&5
19180 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19181 See \`config.log
' for more details." >&5
19182 echo "$as_me: error: no. CoreFoundation not available.
19183 See \`config.log' for more details.
" >&2;}
19184 { (exit 1); exit 1; }; }
19188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19198 doesnt_want_win32=0
19201 if test "$wxUSE_MSW" = 1 ; then
19204 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
19205 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
19206 if test "${wx_cv_nocygwin+set}" = set; then
19207 echo $ECHO_N "(cached
) $ECHO_C" >&6
19210 cat >conftest.$ac_ext <<_ACEOF
19213 cat confdefs.h >>conftest.$ac_ext
19214 cat >>conftest.$ac_ext <<_ACEOF
19215 /* end confdefs.h. */
19229 rm -f conftest.$ac_objext
19230 if { (ac_try="$ac_compile"
19231 case "(($ac_try" in
19232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19233 *) ac_try_echo=$ac_try;;
19235 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19236 (eval "$ac_compile") 2>conftest.er1
19238 grep -v '^ *+' conftest.er1 >conftest.err
19240 cat conftest.err >&5
19241 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19242 (exit $ac_status); } && {
19243 test -z "$ac_c_werror_flag" ||
19244 test ! -s conftest.err
19245 } && test -s conftest.$ac_objext; then
19248 echo "$as_me: failed program was
:" >&5
19249 sed 's/^/| /' conftest.$ac_ext >&5
19255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19259 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
19260 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19262 if test "$wx_cv_nocygwin" = "yes"; then
19265 doesnt_want_win32=1
19268 if test "$wants_win32" = 1 ; then
19269 BAKEFILE_FORCE_PLATFORM=win32
19277 if test "$wxUSE_WINE" = "yes"; then
19279 LDFLAGS_GUI="-mwindows"
19282 if test "$wants_win32" = 1 ; then
19285 cat >>confdefs.h <<\_ACEOF
19286 #define __WIN32__ 1
19289 cat >>confdefs.h <<\_ACEOF
19290 #define __WIN95__ 1
19293 cat >>confdefs.h <<\_ACEOF
19294 #define __WINDOWS__ 1
19297 cat >>confdefs.h <<\_ACEOF
19298 #define __GNUWIN32__ 1
19301 cat >>confdefs.h <<\_ACEOF
19306 if test "$doesnt_want_win32" = 1 ; then
19311 if test "$USE_UNIX" = 1 ; then
19313 cat >>confdefs.h <<\_ACEOF
19320 *-pc-os2_emx | *-pc-os2-emx )
19321 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19322 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
19323 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
19324 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19325 echo $ECHO_N "(cached
) $ECHO_C" >&6
19327 ac_check_lib_save_LIBS=$LIBS
19328 LIBS="-lcExt $LIBS"
19329 cat >conftest.$ac_ext <<_ACEOF
19332 cat confdefs.h >>conftest.$ac_ext
19333 cat >>conftest.$ac_ext <<_ACEOF
19334 /* end confdefs.h. */
19336 /* Override any GCC internal prototype to avoid an error.
19337 Use char because int might match the return type of a GCC
19338 builtin and then its argument prototype would still apply. */
19351 rm -f conftest.$ac_objext conftest$ac_exeext
19352 if { (ac_try="$ac_link"
19353 case "(($ac_try" in
19354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19355 *) ac_try_echo=$ac_try;;
19357 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19358 (eval "$ac_link") 2>conftest.er1
19360 grep -v '^ *+' conftest.er1 >conftest.err
19362 cat conftest.err >&5
19363 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19364 (exit $ac_status); } && {
19365 test -z "$ac_c_werror_flag" ||
19366 test ! -s conftest.err
19367 } && test -s conftest$ac_exeext &&
19368 $as_test_x conftest$ac_exeext; then
19369 ac_cv_lib_cExt_drand48=yes
19371 echo "$as_me: failed program was
:" >&5
19372 sed 's/^/| /' conftest.$ac_ext >&5
19374 ac_cv_lib_cExt_drand48=no
19377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19378 conftest$ac_exeext conftest.$ac_ext
19379 LIBS=$ac_check_lib_save_LIBS
19381 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
19382 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19383 if test $ac_cv_lib_cExt_drand48 = yes; then
19384 LIBS="$LIBS -lcExt"
19388 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
19390 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
19391 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
19392 if test "${wx_cv_gccversion+set}" = set; then
19393 echo $ECHO_N "(cached
) $ECHO_C" >&6
19396 if test "$cross_compiling" = yes; then
19397 wx_cv_gccversion="EMX2
"
19400 cat >conftest.$ac_ext <<_ACEOF
19403 cat confdefs.h >>conftest.$ac_ext
19404 cat >>conftest.$ac_ext <<_ACEOF
19405 /* end confdefs.h. */
19411 FILE *f=fopen("conftestval
", "w
");
19416 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19418 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19428 rm -f conftest$ac_exeext
19429 if { (ac_try="$ac_link"
19430 case "(($ac_try" in
19431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19432 *) ac_try_echo=$ac_try;;
19434 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19435 (eval "$ac_link") 2>&5
19437 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19438 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19439 { (case "(($ac_try" in
19440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19441 *) ac_try_echo=$ac_try;;
19443 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19444 (eval "$ac_try") 2>&5
19446 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19447 (exit $ac_status); }; }; then
19448 wx_cv_gccversion=`cat conftestval`
19450 echo "$as_me: program exited with status
$ac_status" >&5
19451 echo "$as_me: failed program was
:" >&5
19452 sed 's/^/| /' conftest.$ac_ext >&5
19454 ( exit $ac_status )
19455 wx_cv_gccversion="EMX2
"
19457 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19463 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
19464 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19465 if test "$wx_cv_gccversion" = "EMX2
"; then
19466 LIBS="$LIBS -lstdcpp"
19467 LDFLAGS="$LDFLAGS -Zsysv-signals"
19469 if test "$wx_cv_gccversion" = "EMX3
"; then
19470 LIBS="$LIBS -lstdcxx -lgcc"
19471 LDFLAGS="$LDFLAGS -Zsysv-signals"
19473 LIBS="$LIBS -lstdc++"
19476 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
19477 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
19478 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
19485 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
19486 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
19487 if test "${ac_cv_string_strcasecmp+set}" = set; then
19488 echo $ECHO_N "(cached
) $ECHO_C" >&6
19491 cat >conftest.$ac_ext <<_ACEOF
19494 cat confdefs.h >>conftest.$ac_ext
19495 cat >>conftest.$ac_ext <<_ACEOF
19496 /* end confdefs.h. */
19498 #include <string.h>
19504 strcasecmp("foo
", "bar
");
19510 rm -f conftest.$ac_objext conftest$ac_exeext
19511 if { (ac_try="$ac_link"
19512 case "(($ac_try" in
19513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19514 *) ac_try_echo=$ac_try;;
19516 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19517 (eval "$ac_link") 2>conftest.er1
19519 grep -v '^ *+' conftest.er1 >conftest.err
19521 cat conftest.err >&5
19522 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19523 (exit $ac_status); } && {
19524 test -z "$ac_c_werror_flag" ||
19525 test ! -s conftest.err
19526 } && test -s conftest$ac_exeext &&
19527 $as_test_x conftest$ac_exeext; then
19528 ac_cv_string_strcasecmp=yes
19530 echo "$as_me: failed program was
:" >&5
19531 sed 's/^/| /' conftest.$ac_ext >&5
19533 ac_cv_string_strcasecmp=no
19537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19538 conftest$ac_exeext conftest.$ac_ext
19541 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
19542 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19544 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
19545 cat >>confdefs.h <<\_ACEOF
19546 #define HAVE_STRCASECMP_IN_STRING_H 1
19550 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
19551 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
19552 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19553 echo $ECHO_N "(cached
) $ECHO_C" >&6
19556 cat >conftest.$ac_ext <<_ACEOF
19559 cat confdefs.h >>conftest.$ac_ext
19560 cat >>conftest.$ac_ext <<_ACEOF
19561 /* end confdefs.h. */
19563 #include <strings.h>
19569 strcasecmp("foo
", "bar
");
19575 rm -f conftest.$ac_objext conftest$ac_exeext
19576 if { (ac_try="$ac_link"
19577 case "(($ac_try" in
19578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19579 *) ac_try_echo=$ac_try;;
19581 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19582 (eval "$ac_link") 2>conftest.er1
19584 grep -v '^ *+' conftest.er1 >conftest.err
19586 cat conftest.err >&5
19587 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19588 (exit $ac_status); } && {
19589 test -z "$ac_c_werror_flag" ||
19590 test ! -s conftest.err
19591 } && test -s conftest$ac_exeext &&
19592 $as_test_x conftest$ac_exeext; then
19593 ac_cv_strings_strcasecmp=yes
19595 echo "$as_me: failed program was
:" >&5
19596 sed 's/^/| /' conftest.$ac_ext >&5
19598 ac_cv_strings_strcasecmp=no
19602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19603 conftest$ac_exeext conftest.$ac_ext
19606 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
19607 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19609 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
19610 cat >>confdefs.h <<\_ACEOF
19611 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19615 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
19616 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
19617 { (exit 1); exit 1; }; }
19625 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
19626 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
19627 if test "${ac_cv_header_stdc+set}" = set; then
19628 echo $ECHO_N "(cached
) $ECHO_C" >&6
19630 cat >conftest.$ac_ext <<_ACEOF
19633 cat confdefs.h >>conftest.$ac_ext
19634 cat >>conftest.$ac_ext <<_ACEOF
19635 /* end confdefs.h. */
19636 #include <stdlib.h>
19637 #include <stdarg.h>
19638 #include <string.h>
19649 rm -f conftest.$ac_objext
19650 if { (ac_try="$ac_compile"
19651 case "(($ac_try" in
19652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19653 *) ac_try_echo=$ac_try;;
19655 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19656 (eval "$ac_compile") 2>conftest.er1
19658 grep -v '^ *+' conftest.er1 >conftest.err
19660 cat conftest.err >&5
19661 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19662 (exit $ac_status); } && {
19663 test -z "$ac_c_werror_flag" ||
19664 test ! -s conftest.err
19665 } && test -s conftest.$ac_objext; then
19666 ac_cv_header_stdc=yes
19668 echo "$as_me: failed program was
:" >&5
19669 sed 's/^/| /' conftest.$ac_ext >&5
19671 ac_cv_header_stdc=no
19674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19676 if test $ac_cv_header_stdc = yes; then
19677 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19678 cat >conftest.$ac_ext <<_ACEOF
19681 cat confdefs.h >>conftest.$ac_ext
19682 cat >>conftest.$ac_ext <<_ACEOF
19683 /* end confdefs.h. */
19684 #include <string.h>
19687 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19688 $EGREP "memchr
" >/dev/null 2>&1; then
19691 ac_cv_header_stdc=no
19697 if test $ac_cv_header_stdc = yes; then
19698 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19699 cat >conftest.$ac_ext <<_ACEOF
19702 cat confdefs.h >>conftest.$ac_ext
19703 cat >>conftest.$ac_ext <<_ACEOF
19704 /* end confdefs.h. */
19705 #include <stdlib.h>
19708 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19709 $EGREP "free
" >/dev/null 2>&1; then
19712 ac_cv_header_stdc=no
19718 if test $ac_cv_header_stdc = yes; then
19719 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19720 if test "$cross_compiling" = yes; then
19723 cat >conftest.$ac_ext <<_ACEOF
19726 cat confdefs.h >>conftest.$ac_ext
19727 cat >>conftest.$ac_ext <<_ACEOF
19728 /* end confdefs.h. */
19730 #include <stdlib.h>
19731 #if ((' ' & 0x0FF) == 0x020)
19732 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19733 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19735 # define ISLOWER(c) \
19736 (('a' <= (c) && (c) <= 'i') \
19737 || ('j' <= (c) && (c) <= 'r') \
19738 || ('s' <= (c) && (c) <= 'z'))
19739 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19742 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19747 for (i = 0; i < 256; i++)
19748 if (XOR (islower (i), ISLOWER (i))
19749 || toupper (i) != TOUPPER (i))
19754 rm -f conftest$ac_exeext
19755 if { (ac_try="$ac_link"
19756 case "(($ac_try" in
19757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19758 *) ac_try_echo=$ac_try;;
19760 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19761 (eval "$ac_link") 2>&5
19763 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19764 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19765 { (case "(($ac_try" in
19766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19767 *) ac_try_echo=$ac_try;;
19769 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19770 (eval "$ac_try") 2>&5
19772 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19773 (exit $ac_status); }; }; then
19776 echo "$as_me: program exited with status
$ac_status" >&5
19777 echo "$as_me: failed program was
:" >&5
19778 sed 's/^/| /' conftest.$ac_ext >&5
19780 ( exit $ac_status )
19781 ac_cv_header_stdc=no
19783 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19789 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
19790 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19791 if test $ac_cv_header_stdc = yes; then
19793 cat >>confdefs.h <<\_ACEOF
19794 #define STDC_HEADERS 1
19799 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19809 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19810 inttypes.h stdint.h unistd.h
19812 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19813 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19814 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19815 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19816 echo $ECHO_N "(cached
) $ECHO_C" >&6
19818 cat >conftest.$ac_ext <<_ACEOF
19821 cat confdefs.h >>conftest.$ac_ext
19822 cat >>conftest.$ac_ext <<_ACEOF
19823 /* end confdefs.h. */
19824 $ac_includes_default
19826 #include <$ac_header>
19828 rm -f conftest.$ac_objext
19829 if { (ac_try="$ac_compile"
19830 case "(($ac_try" in
19831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19832 *) ac_try_echo=$ac_try;;
19834 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19835 (eval "$ac_compile") 2>conftest.er1
19837 grep -v '^ *+' conftest.er1 >conftest.err
19839 cat conftest.err >&5
19840 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19841 (exit $ac_status); } && {
19842 test -z "$ac_c_werror_flag" ||
19843 test ! -s conftest.err
19844 } && test -s conftest.$ac_objext; then
19845 eval "$as_ac_Header=yes"
19847 echo "$as_me: failed program was
:" >&5
19848 sed 's/^/| /' conftest.$ac_ext >&5
19850 eval "$as_ac_Header=no
"
19853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19855 ac_res=`eval echo '${'$as_ac_Header'}'`
19856 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19857 echo "${ECHO_T}$ac_res" >&6; }
19858 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19859 cat >>confdefs.h <<_ACEOF
19860 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19870 for ac_header in langinfo.h wchar.h
19872 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19873 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19874 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19875 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19876 echo $ECHO_N "(cached
) $ECHO_C" >&6
19878 cat >conftest.$ac_ext <<_ACEOF
19881 cat confdefs.h >>conftest.$ac_ext
19882 cat >>conftest.$ac_ext <<_ACEOF
19883 /* end confdefs.h. */
19884 $ac_includes_default
19886 #include <$ac_header>
19888 rm -f conftest.$ac_objext
19889 if { (ac_try="$ac_compile"
19890 case "(($ac_try" in
19891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19892 *) ac_try_echo=$ac_try;;
19894 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19895 (eval "$ac_compile") 2>conftest.er1
19897 grep -v '^ *+' conftest.er1 >conftest.err
19899 cat conftest.err >&5
19900 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19901 (exit $ac_status); } && {
19902 test -z "$ac_c_werror_flag" ||
19903 test ! -s conftest.err
19904 } && test -s conftest.$ac_objext; then
19905 eval "$as_ac_Header=yes"
19907 echo "$as_me: failed program was
:" >&5
19908 sed 's/^/| /' conftest.$ac_ext >&5
19910 eval "$as_ac_Header=no
"
19913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19915 ac_res=`eval echo '${'$as_ac_Header'}'`
19916 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19917 echo "${ECHO_T}$ac_res" >&6; }
19918 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19919 cat >>confdefs.h <<_ACEOF
19920 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19928 if test "$ac_cv_header_wchar_h" != "yes"; then
19930 for ac_header in wcstr.h
19932 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19933 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19934 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19935 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19936 echo $ECHO_N "(cached
) $ECHO_C" >&6
19938 cat >conftest.$ac_ext <<_ACEOF
19941 cat confdefs.h >>conftest.$ac_ext
19942 cat >>conftest.$ac_ext <<_ACEOF
19943 /* end confdefs.h. */
19944 $ac_includes_default
19946 #include <$ac_header>
19948 rm -f conftest.$ac_objext
19949 if { (ac_try="$ac_compile"
19950 case "(($ac_try" in
19951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19952 *) ac_try_echo=$ac_try;;
19954 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19955 (eval "$ac_compile") 2>conftest.er1
19957 grep -v '^ *+' conftest.er1 >conftest.err
19959 cat conftest.err >&5
19960 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19961 (exit $ac_status); } && {
19962 test -z "$ac_c_werror_flag" ||
19963 test ! -s conftest.err
19964 } && test -s conftest.$ac_objext; then
19965 eval "$as_ac_Header=yes"
19967 echo "$as_me: failed program was
:" >&5
19968 sed 's/^/| /' conftest.$ac_ext >&5
19970 eval "$as_ac_Header=no
"
19973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19975 ac_res=`eval echo '${'$as_ac_Header'}'`
19976 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19977 echo "${ECHO_T}$ac_res" >&6; }
19978 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19979 cat >>confdefs.h <<_ACEOF
19980 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19990 *-pc-os2_emx | *-pc-os2-emx )
19991 if test $ac_cv_header_langinfo_h = "yes" \
19992 -a \( "$wx_cv_gccversion" = "EMX2
" \
19993 -o "$wx_cv_gccversion" = "EMX3
" \
19994 -o "$wx_cv_gccversion" = "Innotek5
" \); then
19995 LIBS="$LIBS -lintl"
20000 if test "$USE_UNIX" = 1 ; then
20002 for ac_header in sys/select.h
20004 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20005 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20006 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20007 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20008 echo $ECHO_N "(cached
) $ECHO_C" >&6
20010 cat >conftest.$ac_ext <<_ACEOF
20013 cat confdefs.h >>conftest.$ac_ext
20014 cat >>conftest.$ac_ext <<_ACEOF
20015 /* end confdefs.h. */
20016 $ac_includes_default
20018 #include <$ac_header>
20020 rm -f conftest.$ac_objext
20021 if { (ac_try="$ac_compile"
20022 case "(($ac_try" in
20023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20024 *) ac_try_echo=$ac_try;;
20026 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20027 (eval "$ac_compile") 2>conftest.er1
20029 grep -v '^ *+' conftest.er1 >conftest.err
20031 cat conftest.err >&5
20032 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20033 (exit $ac_status); } && {
20034 test -z "$ac_c_werror_flag" ||
20035 test ! -s conftest.err
20036 } && test -s conftest.$ac_objext; then
20037 eval "$as_ac_Header=yes"
20039 echo "$as_me: failed program was
:" >&5
20040 sed 's/^/| /' conftest.$ac_ext >&5
20042 eval "$as_ac_Header=no
"
20045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20047 ac_res=`eval echo '${'$as_ac_Header'}'`
20048 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20049 echo "${ECHO_T}$ac_res" >&6; }
20050 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20051 cat >>confdefs.h <<_ACEOF
20052 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20062 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
20063 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
20064 if test "${ac_cv_c_const+set}" = set; then
20065 echo $ECHO_N "(cached
) $ECHO_C" >&6
20067 cat >conftest.$ac_ext <<_ACEOF
20070 cat confdefs.h >>conftest.$ac_ext
20071 cat >>conftest.$ac_ext <<_ACEOF
20072 /* end confdefs.h. */
20077 /* FIXME: Include the comments suggested by Paul. */
20078 #ifndef __cplusplus
20079 /* Ultrix mips cc rejects this. */
20080 typedef int charset[2];
20082 /* SunOS 4.1.1 cc rejects this. */
20083 char const *const *pcpcc;
20085 /* NEC SVR4.0.2 mips cc rejects this. */
20086 struct point {int x, y;};
20087 static struct point const zero = {0,0};
20088 /* AIX XL C 1.02.0.0 rejects this.
20089 It does not let you subtract one const X* pointer from another in
20090 an arm of an if-expression whose if-part is not a constant
20092 const char *g = "string
";
20093 pcpcc = &g + (g ? g-g : 0);
20094 /* HPUX 7.0 cc rejects these. */
20096 ppc = (char**) pcpcc;
20097 pcpcc = (char const *const *) ppc;
20098 { /* SCO 3.2v4 cc rejects this. */
20100 char const *s = 0 ? (char *) 0 : (char const *) 0;
20105 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20106 int x[] = {25, 17};
20107 const int *foo = &x[0];
20110 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20111 typedef const int *iptr;
20115 { /* AIX XL C 1.02.0.0 rejects this saying
20116 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20117 struct s { int j; const int *ap[3]; };
20118 struct s *b; b->j = 5;
20120 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20121 const int foo = 10;
20122 if (!foo) return 0;
20124 return !cs[0] && !zero.x;
20131 rm -f conftest.$ac_objext
20132 if { (ac_try="$ac_compile"
20133 case "(($ac_try" in
20134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20135 *) ac_try_echo=$ac_try;;
20137 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20138 (eval "$ac_compile") 2>conftest.er1
20140 grep -v '^ *+' conftest.er1 >conftest.err
20142 cat conftest.err >&5
20143 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20144 (exit $ac_status); } && {
20145 test -z "$ac_c_werror_flag" ||
20146 test ! -s conftest.err
20147 } && test -s conftest.$ac_objext; then
20150 echo "$as_me: failed program was
:" >&5
20151 sed 's/^/| /' conftest.$ac_ext >&5
20156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20158 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
20159 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20160 if test $ac_cv_c_const = no; then
20162 cat >>confdefs.h <<\_ACEOF
20168 { echo "$as_me:$LINENO: checking
for inline
" >&5
20169 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
20170 if test "${ac_cv_c_inline+set}" = set; then
20171 echo $ECHO_N "(cached
) $ECHO_C" >&6
20174 for ac_kw in inline __inline__ __inline; do
20175 cat >conftest.$ac_ext <<_ACEOF
20178 cat confdefs.h >>conftest.$ac_ext
20179 cat >>conftest.$ac_ext <<_ACEOF
20180 /* end confdefs.h. */
20181 #ifndef __cplusplus
20183 static $ac_kw foo_t static_foo () {return 0; }
20184 $ac_kw foo_t foo () {return 0; }
20188 rm -f conftest.$ac_objext
20189 if { (ac_try="$ac_compile"
20190 case "(($ac_try" in
20191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20192 *) ac_try_echo=$ac_try;;
20194 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20195 (eval "$ac_compile") 2>conftest.er1
20197 grep -v '^ *+' conftest.er1 >conftest.err
20199 cat conftest.err >&5
20200 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20201 (exit $ac_status); } && {
20202 test -z "$ac_c_werror_flag" ||
20203 test ! -s conftest.err
20204 } && test -s conftest.$ac_objext; then
20205 ac_cv_c_inline=$ac_kw
20207 echo "$as_me: failed program was
:" >&5
20208 sed 's/^/| /' conftest.$ac_ext >&5
20213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20214 test "$ac_cv_c_inline" != no && break
20218 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
20219 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20222 case $ac_cv_c_inline in
20225 case $ac_cv_c_inline in
20227 *) ac_val=$ac_cv_c_inline;;
20229 cat >>confdefs.h <<_ACEOF
20230 #ifndef __cplusplus
20231 #define inline $ac_val
20238 { echo "$as_me:$LINENO: checking
for short
" >&5
20239 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
20240 if test "${ac_cv_type_short+set}" = set; then
20241 echo $ECHO_N "(cached
) $ECHO_C" >&6
20243 cat >conftest.$ac_ext <<_ACEOF
20246 cat confdefs.h >>conftest.$ac_ext
20247 cat >>conftest.$ac_ext <<_ACEOF
20248 /* end confdefs.h. */
20249 $ac_includes_default
20250 typedef short ac__type_new_;
20254 if ((ac__type_new_ *) 0)
20256 if (sizeof (ac__type_new_))
20262 rm -f conftest.$ac_objext
20263 if { (ac_try="$ac_compile"
20264 case "(($ac_try" in
20265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20266 *) ac_try_echo=$ac_try;;
20268 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20269 (eval "$ac_compile") 2>conftest.er1
20271 grep -v '^ *+' conftest.er1 >conftest.err
20273 cat conftest.err >&5
20274 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20275 (exit $ac_status); } && {
20276 test -z "$ac_c_werror_flag" ||
20277 test ! -s conftest.err
20278 } && test -s conftest.$ac_objext; then
20279 ac_cv_type_short=yes
20281 echo "$as_me: failed program was
:" >&5
20282 sed 's/^/| /' conftest.$ac_ext >&5
20284 ac_cv_type_short=no
20287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20289 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
20290 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20292 # The cast to long int works around a bug in the HP C Compiler
20293 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20294 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20295 # This bug is HP SR number 8606223364.
20296 { echo "$as_me:$LINENO: checking size of short
" >&5
20297 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
20298 if test "${ac_cv_sizeof_short+set}" = set; then
20299 echo $ECHO_N "(cached
) $ECHO_C" >&6
20301 if test "$cross_compiling" = yes; then
20302 # Depending upon the size, compute the lo and hi bounds.
20303 cat >conftest.$ac_ext <<_ACEOF
20306 cat confdefs.h >>conftest.$ac_ext
20307 cat >>conftest.$ac_ext <<_ACEOF
20308 /* end confdefs.h. */
20309 $ac_includes_default
20310 typedef short ac__type_sizeof_;
20314 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20321 rm -f conftest.$ac_objext
20322 if { (ac_try="$ac_compile"
20323 case "(($ac_try" in
20324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20325 *) ac_try_echo=$ac_try;;
20327 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20328 (eval "$ac_compile") 2>conftest.er1
20330 grep -v '^ *+' conftest.er1 >conftest.err
20332 cat conftest.err >&5
20333 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20334 (exit $ac_status); } && {
20335 test -z "$ac_c_werror_flag" ||
20336 test ! -s conftest.err
20337 } && test -s conftest.$ac_objext; then
20340 cat >conftest.$ac_ext <<_ACEOF
20343 cat confdefs.h >>conftest.$ac_ext
20344 cat >>conftest.$ac_ext <<_ACEOF
20345 /* end confdefs.h. */
20346 $ac_includes_default
20347 typedef short ac__type_sizeof_;
20351 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20358 rm -f conftest.$ac_objext
20359 if { (ac_try="$ac_compile"
20360 case "(($ac_try" in
20361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20362 *) ac_try_echo=$ac_try;;
20364 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20365 (eval "$ac_compile") 2>conftest.er1
20367 grep -v '^ *+' conftest.er1 >conftest.err
20369 cat conftest.err >&5
20370 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20371 (exit $ac_status); } && {
20372 test -z "$ac_c_werror_flag" ||
20373 test ! -s conftest.err
20374 } && test -s conftest.$ac_objext; then
20375 ac_hi=$ac_mid; break
20377 echo "$as_me: failed program was
:" >&5
20378 sed 's/^/| /' conftest.$ac_ext >&5
20380 ac_lo=`expr $ac_mid + 1`
20381 if test $ac_lo -le $ac_mid; then
20385 ac_mid=`expr 2 '*' $ac_mid + 1`
20388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20391 echo "$as_me: failed program was
:" >&5
20392 sed 's/^/| /' conftest.$ac_ext >&5
20394 cat >conftest.$ac_ext <<_ACEOF
20397 cat confdefs.h >>conftest.$ac_ext
20398 cat >>conftest.$ac_ext <<_ACEOF
20399 /* end confdefs.h. */
20400 $ac_includes_default
20401 typedef short ac__type_sizeof_;
20405 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20412 rm -f conftest.$ac_objext
20413 if { (ac_try="$ac_compile"
20414 case "(($ac_try" in
20415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20416 *) ac_try_echo=$ac_try;;
20418 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20419 (eval "$ac_compile") 2>conftest.er1
20421 grep -v '^ *+' conftest.er1 >conftest.err
20423 cat conftest.err >&5
20424 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20425 (exit $ac_status); } && {
20426 test -z "$ac_c_werror_flag" ||
20427 test ! -s conftest.err
20428 } && test -s conftest.$ac_objext; then
20431 cat >conftest.$ac_ext <<_ACEOF
20434 cat confdefs.h >>conftest.$ac_ext
20435 cat >>conftest.$ac_ext <<_ACEOF
20436 /* end confdefs.h. */
20437 $ac_includes_default
20438 typedef short ac__type_sizeof_;
20442 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20449 rm -f conftest.$ac_objext
20450 if { (ac_try="$ac_compile"
20451 case "(($ac_try" in
20452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20453 *) ac_try_echo=$ac_try;;
20455 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20456 (eval "$ac_compile") 2>conftest.er1
20458 grep -v '^ *+' conftest.er1 >conftest.err
20460 cat conftest.err >&5
20461 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20462 (exit $ac_status); } && {
20463 test -z "$ac_c_werror_flag" ||
20464 test ! -s conftest.err
20465 } && test -s conftest.$ac_objext; then
20466 ac_lo=$ac_mid; break
20468 echo "$as_me: failed program was
:" >&5
20469 sed 's/^/| /' conftest.$ac_ext >&5
20471 ac_hi=`expr '(' $ac_mid ')' - 1`
20472 if test $ac_mid -le $ac_hi; then
20476 ac_mid=`expr 2 '*' $ac_mid`
20479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20482 echo "$as_me: failed program was
:" >&5
20483 sed 's/^/| /' conftest.$ac_ext >&5
20488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20492 # Binary search between lo and hi bounds.
20493 while test "x
$ac_lo" != "x
$ac_hi"; do
20494 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20495 cat >conftest.$ac_ext <<_ACEOF
20498 cat confdefs.h >>conftest.$ac_ext
20499 cat >>conftest.$ac_ext <<_ACEOF
20500 /* end confdefs.h. */
20501 $ac_includes_default
20502 typedef short ac__type_sizeof_;
20506 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20513 rm -f conftest.$ac_objext
20514 if { (ac_try="$ac_compile"
20515 case "(($ac_try" in
20516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20517 *) ac_try_echo=$ac_try;;
20519 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20520 (eval "$ac_compile") 2>conftest.er1
20522 grep -v '^ *+' conftest.er1 >conftest.err
20524 cat conftest.err >&5
20525 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20526 (exit $ac_status); } && {
20527 test -z "$ac_c_werror_flag" ||
20528 test ! -s conftest.err
20529 } && test -s conftest.$ac_objext; then
20532 echo "$as_me: failed program was
:" >&5
20533 sed 's/^/| /' conftest.$ac_ext >&5
20535 ac_lo=`expr '(' $ac_mid ')' + 1`
20538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20541 ?*) ac_cv_sizeof_short=$ac_lo;;
20542 '') if test "$ac_cv_type_short" = yes; then
20543 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
20544 See \
`config.log' for more details." >&5
20545 echo "$as_me: error: cannot compute sizeof (short)
20546 See \`config.log
' for more details." >&2;}
20547 { (exit 77); exit 77; }; }
20549 ac_cv_sizeof_short=0
20553 cat >conftest.$ac_ext <<_ACEOF
20556 cat confdefs.h >>conftest.$ac_ext
20557 cat >>conftest.$ac_ext <<_ACEOF
20558 /* end confdefs.h. */
20559 $ac_includes_default
20560 typedef short ac__type_sizeof_;
20561 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20562 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20564 #include <stdlib.h>
20569 FILE *f = fopen ("conftest.val", "w");
20572 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20574 long int i = longval ();
20575 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20577 fprintf (f, "%ld\n", i);
20581 unsigned long int i = ulongval ();
20582 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20584 fprintf (f, "%lu\n", i);
20586 return ferror (f) || fclose (f) != 0;
20592 rm -f conftest$ac_exeext
20593 if { (ac_try="$ac_link"
20594 case "(($ac_try" in
20595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20596 *) ac_try_echo=$ac_try;;
20598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20599 (eval "$ac_link") 2>&5
20601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20602 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
20603 { (case "(($ac_try" in
20604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20605 *) ac_try_echo=$ac_try;;
20607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20608 (eval "$ac_try") 2>&5
20610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20611 (exit $ac_status); }; }; then
20612 ac_cv_sizeof_short=`cat conftest.val`
20614 echo "$as_me: program exited with status $ac_status" >&5
20615 echo "$as_me: failed program was:" >&5
20616 sed 's
/^
/| /' conftest.$ac_ext >&5
20618 ( exit $ac_status )
20619 if test "$ac_cv_type_short" = yes; then
20620 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20621 See \`config.log' for more details.
" >&5
20622 echo "$as_me: error
: cannot compute sizeof
(short
)
20623 See \
`config.log' for more details." >&2;}
20624 { (exit 77); exit 77; }; }
20626 ac_cv_sizeof_short=0
20629 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20633 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20634 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20638 cat >>confdefs.h <<_ACEOF
20639 #define SIZEOF_SHORT $ac_cv_sizeof_short
20643 { echo "$as_me:$LINENO: checking for void *" >&5
20644 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20645 if test "${ac_cv_type_void_p+set}" = set; then
20646 echo $ECHO_N "(cached) $ECHO_C" >&6
20648 cat >conftest.$ac_ext <<_ACEOF
20651 cat confdefs.h >>conftest.$ac_ext
20652 cat >>conftest.$ac_ext <<_ACEOF
20653 /* end confdefs.h. */
20654 $ac_includes_default
20655 typedef void * ac__type_new_;
20659 if ((ac__type_new_ *) 0)
20661 if (sizeof (ac__type_new_))
20667 rm -f conftest.$ac_objext
20668 if { (ac_try="$ac_compile"
20669 case "(($ac_try" in
20670 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20671 *) ac_try_echo
=$ac_try;;
20673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20674 (eval "$ac_compile") 2>conftest.er1
20676 grep -v '^ *+' conftest.er1
>conftest.err
20678 cat conftest.err
>&5
20679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20680 (exit $ac_status); } && {
20681 test -z "$ac_c_werror_flag" ||
20682 test ! -s conftest.err
20683 } && test -s conftest.
$ac_objext; then
20684 ac_cv_type_void_p
=yes
20686 echo "$as_me: failed program was:" >&5
20687 sed 's/^/| /' conftest.
$ac_ext >&5
20689 ac_cv_type_void_p
=no
20692 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20694 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20695 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20697 # The cast to long int works around a bug in the HP C Compiler
20698 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20699 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20700 # This bug is HP SR number 8606223364.
20701 { echo "$as_me:$LINENO: checking size of void *" >&5
20702 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20703 if test "${ac_cv_sizeof_void_p+set}" = set; then
20704 echo $ECHO_N "(cached) $ECHO_C" >&6
20706 if test "$cross_compiling" = yes; then
20707 # Depending upon the size, compute the lo and hi bounds.
20708 cat >conftest.
$ac_ext <<_ACEOF
20711 cat confdefs.h
>>conftest.
$ac_ext
20712 cat >>conftest.
$ac_ext <<_ACEOF
20713 /* end confdefs.h. */
20714 $ac_includes_default
20715 typedef void * ac__type_sizeof_;
20719 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20726 rm -f conftest.
$ac_objext
20727 if { (ac_try
="$ac_compile"
20728 case "(($ac_try" in
20729 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20730 *) ac_try_echo=$ac_try;;
20732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20733 (eval "$ac_compile") 2>conftest.er1
20735 grep -v '^ *+' conftest.er1 >conftest.err
20737 cat conftest.err >&5
20738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20739 (exit $ac_status); } && {
20740 test -z "$ac_c_werror_flag" ||
20741 test ! -s conftest.err
20742 } && test -s conftest.$ac_objext; then
20745 cat >conftest.$ac_ext <<_ACEOF
20748 cat confdefs.h >>conftest.$ac_ext
20749 cat >>conftest.$ac_ext <<_ACEOF
20750 /* end confdefs.h. */
20751 $ac_includes_default
20752 typedef void * ac__type_sizeof_;
20756 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20763 rm -f conftest.$ac_objext
20764 if { (ac_try="$ac_compile"
20765 case "(($ac_try" in
20766 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20767 *) ac_try_echo
=$ac_try;;
20769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20770 (eval "$ac_compile") 2>conftest.er1
20772 grep -v '^ *+' conftest.er1
>conftest.err
20774 cat conftest.err
>&5
20775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20776 (exit $ac_status); } && {
20777 test -z "$ac_c_werror_flag" ||
20778 test ! -s conftest.err
20779 } && test -s conftest.
$ac_objext; then
20780 ac_hi
=$ac_mid; break
20782 echo "$as_me: failed program was:" >&5
20783 sed 's/^/| /' conftest.
$ac_ext >&5
20785 ac_lo
=`expr $ac_mid + 1`
20786 if test $ac_lo -le $ac_mid; then
20790 ac_mid
=`expr 2 '*' $ac_mid + 1`
20793 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20796 echo "$as_me: failed program was:" >&5
20797 sed 's/^/| /' conftest.
$ac_ext >&5
20799 cat >conftest.
$ac_ext <<_ACEOF
20802 cat confdefs.h
>>conftest.
$ac_ext
20803 cat >>conftest.
$ac_ext <<_ACEOF
20804 /* end confdefs.h. */
20805 $ac_includes_default
20806 typedef void * ac__type_sizeof_;
20810 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20817 rm -f conftest.
$ac_objext
20818 if { (ac_try
="$ac_compile"
20819 case "(($ac_try" in
20820 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20821 *) ac_try_echo=$ac_try;;
20823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20824 (eval "$ac_compile") 2>conftest.er1
20826 grep -v '^ *+' conftest.er1 >conftest.err
20828 cat conftest.err >&5
20829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20830 (exit $ac_status); } && {
20831 test -z "$ac_c_werror_flag" ||
20832 test ! -s conftest.err
20833 } && test -s conftest.$ac_objext; then
20836 cat >conftest.$ac_ext <<_ACEOF
20839 cat confdefs.h >>conftest.$ac_ext
20840 cat >>conftest.$ac_ext <<_ACEOF
20841 /* end confdefs.h. */
20842 $ac_includes_default
20843 typedef void * ac__type_sizeof_;
20847 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20854 rm -f conftest.$ac_objext
20855 if { (ac_try="$ac_compile"
20856 case "(($ac_try" in
20857 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20858 *) ac_try_echo
=$ac_try;;
20860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20861 (eval "$ac_compile") 2>conftest.er1
20863 grep -v '^ *+' conftest.er1
>conftest.err
20865 cat conftest.err
>&5
20866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20867 (exit $ac_status); } && {
20868 test -z "$ac_c_werror_flag" ||
20869 test ! -s conftest.err
20870 } && test -s conftest.
$ac_objext; then
20871 ac_lo
=$ac_mid; break
20873 echo "$as_me: failed program was:" >&5
20874 sed 's/^/| /' conftest.
$ac_ext >&5
20876 ac_hi
=`expr '(' $ac_mid ')' - 1`
20877 if test $ac_mid -le $ac_hi; then
20881 ac_mid
=`expr 2 '*' $ac_mid`
20884 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20887 echo "$as_me: failed program was:" >&5
20888 sed 's/^/| /' conftest.
$ac_ext >&5
20893 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20896 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20897 # Binary search between lo and hi bounds.
20898 while test "x$ac_lo" != "x$ac_hi"; do
20899 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20900 cat >conftest.
$ac_ext <<_ACEOF
20903 cat confdefs.h
>>conftest.
$ac_ext
20904 cat >>conftest.
$ac_ext <<_ACEOF
20905 /* end confdefs.h. */
20906 $ac_includes_default
20907 typedef void * ac__type_sizeof_;
20911 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20918 rm -f conftest.
$ac_objext
20919 if { (ac_try
="$ac_compile"
20920 case "(($ac_try" in
20921 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20922 *) ac_try_echo=$ac_try;;
20924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20925 (eval "$ac_compile") 2>conftest.er1
20927 grep -v '^ *+' conftest.er1 >conftest.err
20929 cat conftest.err >&5
20930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20931 (exit $ac_status); } && {
20932 test -z "$ac_c_werror_flag" ||
20933 test ! -s conftest.err
20934 } && test -s conftest.$ac_objext; then
20937 echo "$as_me: failed program was:" >&5
20938 sed 's/^/| /' conftest.$ac_ext >&5
20940 ac_lo=`expr '(' $ac_mid ')' + 1`
20943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20946 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20947 '') if test "$ac_cv_type_void_p" = yes; then
20948 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20949 See \`config.log
' for more details." >&5
20950 echo "$as_me: error: cannot compute sizeof (void *)
20951 See \`config.log' for more details.
" >&2;}
20952 { (exit 77); exit 77; }; }
20954 ac_cv_sizeof_void_p=0
20958 cat >conftest.$ac_ext <<_ACEOF
20961 cat confdefs.h >>conftest.$ac_ext
20962 cat >>conftest.$ac_ext <<_ACEOF
20963 /* end confdefs.h. */
20964 $ac_includes_default
20965 typedef void * ac__type_sizeof_;
20966 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20967 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20969 #include <stdlib.h>
20974 FILE *f = fopen ("conftest.val
", "w
");
20977 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20979 long int i = longval ();
20980 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20982 fprintf (f, "%ld
\n", i);
20986 unsigned long int i = ulongval ();
20987 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20989 fprintf (f, "%lu
\n", i);
20991 return ferror (f) || fclose (f) != 0;
20997 rm -f conftest$ac_exeext
20998 if { (ac_try="$ac_link"
20999 case "(($ac_try" in
21000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21001 *) ac_try_echo=$ac_try;;
21003 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21004 (eval "$ac_link") 2>&5
21006 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21007 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21008 { (case "(($ac_try" in
21009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21010 *) ac_try_echo=$ac_try;;
21012 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21013 (eval "$ac_try") 2>&5
21015 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21016 (exit $ac_status); }; }; then
21017 ac_cv_sizeof_void_p=`cat conftest.val`
21019 echo "$as_me: program exited with status
$ac_status" >&5
21020 echo "$as_me: failed program was
:" >&5
21021 sed 's/^/| /' conftest.$ac_ext >&5
21023 ( exit $ac_status )
21024 if test "$ac_cv_type_void_p" = yes; then
21025 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
21026 See \
`config.log' for more details." >&5
21027 echo "$as_me: error: cannot compute sizeof (void *)
21028 See \`config.log
' for more details." >&2;}
21029 { (exit 77); exit 77; }; }
21031 ac_cv_sizeof_void_p=0
21034 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21038 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21039 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21043 cat >>confdefs.h <<_ACEOF
21044 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21048 { echo "$as_me:$LINENO: checking for int" >&5
21049 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21050 if test "${ac_cv_type_int+set}" = set; then
21051 echo $ECHO_N "(cached) $ECHO_C" >&6
21053 cat >conftest.$ac_ext <<_ACEOF
21056 cat confdefs.h >>conftest.$ac_ext
21057 cat >>conftest.$ac_ext <<_ACEOF
21058 /* end confdefs.h. */
21059 $ac_includes_default
21060 typedef int ac__type_new_;
21064 if ((ac__type_new_ *) 0)
21066 if (sizeof (ac__type_new_))
21072 rm -f conftest.$ac_objext
21073 if { (ac_try="$ac_compile"
21074 case "(($ac_try" in
21075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21076 *) ac_try_echo=$ac_try;;
21078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21079 (eval "$ac_compile") 2>conftest.er1
21081 grep -v '^
*+' conftest.er1 >conftest.err
21083 cat conftest.err >&5
21084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21085 (exit $ac_status); } && {
21086 test -z "$ac_c_werror_flag" ||
21087 test ! -s conftest.err
21088 } && test -s conftest.$ac_objext; then
21091 echo "$as_me: failed program was:" >&5
21092 sed 's
/^
/| /' conftest.$ac_ext >&5
21097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21099 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21100 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21102 # The cast to long int works around a bug in the HP C Compiler
21103 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21104 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21105 # This bug is HP SR number 8606223364.
21106 { echo "$as_me:$LINENO: checking size of int" >&5
21107 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21108 if test "${ac_cv_sizeof_int+set}" = set; then
21109 echo $ECHO_N "(cached) $ECHO_C" >&6
21111 if test "$cross_compiling" = yes; then
21112 # Depending upon the size, compute the lo and hi bounds.
21113 cat >conftest.
$ac_ext <<_ACEOF
21116 cat confdefs.h
>>conftest.
$ac_ext
21117 cat >>conftest.
$ac_ext <<_ACEOF
21118 /* end confdefs.h. */
21119 $ac_includes_default
21120 typedef int ac__type_sizeof_;
21124 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21131 rm -f conftest.
$ac_objext
21132 if { (ac_try
="$ac_compile"
21133 case "(($ac_try" in
21134 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21135 *) ac_try_echo=$ac_try;;
21137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21138 (eval "$ac_compile") 2>conftest.er1
21140 grep -v '^ *+' conftest.er1 >conftest.err
21142 cat conftest.err >&5
21143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21144 (exit $ac_status); } && {
21145 test -z "$ac_c_werror_flag" ||
21146 test ! -s conftest.err
21147 } && test -s conftest.$ac_objext; then
21150 cat >conftest.$ac_ext <<_ACEOF
21153 cat confdefs.h >>conftest.$ac_ext
21154 cat >>conftest.$ac_ext <<_ACEOF
21155 /* end confdefs.h. */
21156 $ac_includes_default
21157 typedef int ac__type_sizeof_;
21161 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21168 rm -f conftest.$ac_objext
21169 if { (ac_try="$ac_compile"
21170 case "(($ac_try" in
21171 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21172 *) ac_try_echo
=$ac_try;;
21174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21175 (eval "$ac_compile") 2>conftest.er1
21177 grep -v '^ *+' conftest.er1
>conftest.err
21179 cat conftest.err
>&5
21180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21181 (exit $ac_status); } && {
21182 test -z "$ac_c_werror_flag" ||
21183 test ! -s conftest.err
21184 } && test -s conftest.
$ac_objext; then
21185 ac_hi
=$ac_mid; break
21187 echo "$as_me: failed program was:" >&5
21188 sed 's/^/| /' conftest.
$ac_ext >&5
21190 ac_lo
=`expr $ac_mid + 1`
21191 if test $ac_lo -le $ac_mid; then
21195 ac_mid
=`expr 2 '*' $ac_mid + 1`
21198 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21201 echo "$as_me: failed program was:" >&5
21202 sed 's/^/| /' conftest.
$ac_ext >&5
21204 cat >conftest.
$ac_ext <<_ACEOF
21207 cat confdefs.h
>>conftest.
$ac_ext
21208 cat >>conftest.
$ac_ext <<_ACEOF
21209 /* end confdefs.h. */
21210 $ac_includes_default
21211 typedef int ac__type_sizeof_;
21215 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21222 rm -f conftest.
$ac_objext
21223 if { (ac_try
="$ac_compile"
21224 case "(($ac_try" in
21225 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21226 *) ac_try_echo=$ac_try;;
21228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21229 (eval "$ac_compile") 2>conftest.er1
21231 grep -v '^ *+' conftest.er1 >conftest.err
21233 cat conftest.err >&5
21234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21235 (exit $ac_status); } && {
21236 test -z "$ac_c_werror_flag" ||
21237 test ! -s conftest.err
21238 } && test -s conftest.$ac_objext; then
21241 cat >conftest.$ac_ext <<_ACEOF
21244 cat confdefs.h >>conftest.$ac_ext
21245 cat >>conftest.$ac_ext <<_ACEOF
21246 /* end confdefs.h. */
21247 $ac_includes_default
21248 typedef int ac__type_sizeof_;
21252 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21259 rm -f conftest.$ac_objext
21260 if { (ac_try="$ac_compile"
21261 case "(($ac_try" in
21262 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21263 *) ac_try_echo
=$ac_try;;
21265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21266 (eval "$ac_compile") 2>conftest.er1
21268 grep -v '^ *+' conftest.er1
>conftest.err
21270 cat conftest.err
>&5
21271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21272 (exit $ac_status); } && {
21273 test -z "$ac_c_werror_flag" ||
21274 test ! -s conftest.err
21275 } && test -s conftest.
$ac_objext; then
21276 ac_lo
=$ac_mid; break
21278 echo "$as_me: failed program was:" >&5
21279 sed 's/^/| /' conftest.
$ac_ext >&5
21281 ac_hi
=`expr '(' $ac_mid ')' - 1`
21282 if test $ac_mid -le $ac_hi; then
21286 ac_mid
=`expr 2 '*' $ac_mid`
21289 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21292 echo "$as_me: failed program was:" >&5
21293 sed 's/^/| /' conftest.
$ac_ext >&5
21298 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21301 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21302 # Binary search between lo and hi bounds.
21303 while test "x$ac_lo" != "x$ac_hi"; do
21304 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21305 cat >conftest.
$ac_ext <<_ACEOF
21308 cat confdefs.h
>>conftest.
$ac_ext
21309 cat >>conftest.
$ac_ext <<_ACEOF
21310 /* end confdefs.h. */
21311 $ac_includes_default
21312 typedef int ac__type_sizeof_;
21316 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21323 rm -f conftest.
$ac_objext
21324 if { (ac_try
="$ac_compile"
21325 case "(($ac_try" in
21326 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21327 *) ac_try_echo=$ac_try;;
21329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21330 (eval "$ac_compile") 2>conftest.er1
21332 grep -v '^ *+' conftest.er1 >conftest.err
21334 cat conftest.err >&5
21335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21336 (exit $ac_status); } && {
21337 test -z "$ac_c_werror_flag" ||
21338 test ! -s conftest.err
21339 } && test -s conftest.$ac_objext; then
21342 echo "$as_me: failed program was:" >&5
21343 sed 's/^/| /' conftest.$ac_ext >&5
21345 ac_lo=`expr '(' $ac_mid ')' + 1`
21348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21351 ?*) ac_cv_sizeof_int=$ac_lo;;
21352 '') if test "$ac_cv_type_int" = yes; then
21353 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21354 See \`config.log
' for more details." >&5
21355 echo "$as_me: error: cannot compute sizeof (int)
21356 See \`config.log' for more details.
" >&2;}
21357 { (exit 77); exit 77; }; }
21363 cat >conftest.$ac_ext <<_ACEOF
21366 cat confdefs.h >>conftest.$ac_ext
21367 cat >>conftest.$ac_ext <<_ACEOF
21368 /* end confdefs.h. */
21369 $ac_includes_default
21370 typedef int ac__type_sizeof_;
21371 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21372 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21374 #include <stdlib.h>
21379 FILE *f = fopen ("conftest.val
", "w
");
21382 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21384 long int i = longval ();
21385 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21387 fprintf (f, "%ld
\n", i);
21391 unsigned long int i = ulongval ();
21392 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21394 fprintf (f, "%lu
\n", i);
21396 return ferror (f) || fclose (f) != 0;
21402 rm -f conftest$ac_exeext
21403 if { (ac_try="$ac_link"
21404 case "(($ac_try" in
21405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21406 *) ac_try_echo=$ac_try;;
21408 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21409 (eval "$ac_link") 2>&5
21411 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21412 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21413 { (case "(($ac_try" in
21414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21415 *) ac_try_echo=$ac_try;;
21417 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21418 (eval "$ac_try") 2>&5
21420 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21421 (exit $ac_status); }; }; then
21422 ac_cv_sizeof_int=`cat conftest.val`
21424 echo "$as_me: program exited with status
$ac_status" >&5
21425 echo "$as_me: failed program was
:" >&5
21426 sed 's/^/| /' conftest.$ac_ext >&5
21428 ( exit $ac_status )
21429 if test "$ac_cv_type_int" = yes; then
21430 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
21431 See \
`config.log' for more details." >&5
21432 echo "$as_me: error: cannot compute sizeof (int)
21433 See \`config.log
' for more details." >&2;}
21434 { (exit 77); exit 77; }; }
21439 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21443 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21444 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21448 cat >>confdefs.h <<_ACEOF
21449 #define SIZEOF_INT $ac_cv_sizeof_int
21453 { echo "$as_me:$LINENO: checking for long" >&5
21454 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21455 if test "${ac_cv_type_long+set}" = set; then
21456 echo $ECHO_N "(cached) $ECHO_C" >&6
21458 cat >conftest.$ac_ext <<_ACEOF
21461 cat confdefs.h >>conftest.$ac_ext
21462 cat >>conftest.$ac_ext <<_ACEOF
21463 /* end confdefs.h. */
21464 $ac_includes_default
21465 typedef long ac__type_new_;
21469 if ((ac__type_new_ *) 0)
21471 if (sizeof (ac__type_new_))
21477 rm -f conftest.$ac_objext
21478 if { (ac_try="$ac_compile"
21479 case "(($ac_try" in
21480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21481 *) ac_try_echo=$ac_try;;
21483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21484 (eval "$ac_compile") 2>conftest.er1
21486 grep -v '^
*+' conftest.er1 >conftest.err
21488 cat conftest.err >&5
21489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21490 (exit $ac_status); } && {
21491 test -z "$ac_c_werror_flag" ||
21492 test ! -s conftest.err
21493 } && test -s conftest.$ac_objext; then
21494 ac_cv_type_long=yes
21496 echo "$as_me: failed program was:" >&5
21497 sed 's
/^
/| /' conftest.$ac_ext >&5
21502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21504 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21505 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21507 # The cast to long int works around a bug in the HP C Compiler
21508 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21509 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21510 # This bug is HP SR number 8606223364.
21511 { echo "$as_me:$LINENO: checking size of long" >&5
21512 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21513 if test "${ac_cv_sizeof_long+set}" = set; then
21514 echo $ECHO_N "(cached) $ECHO_C" >&6
21516 if test "$cross_compiling" = yes; then
21517 # Depending upon the size, compute the lo and hi bounds.
21518 cat >conftest.
$ac_ext <<_ACEOF
21521 cat confdefs.h
>>conftest.
$ac_ext
21522 cat >>conftest.
$ac_ext <<_ACEOF
21523 /* end confdefs.h. */
21524 $ac_includes_default
21525 typedef long ac__type_sizeof_;
21529 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21536 rm -f conftest.
$ac_objext
21537 if { (ac_try
="$ac_compile"
21538 case "(($ac_try" in
21539 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21540 *) ac_try_echo=$ac_try;;
21542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21543 (eval "$ac_compile") 2>conftest.er1
21545 grep -v '^ *+' conftest.er1 >conftest.err
21547 cat conftest.err >&5
21548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21549 (exit $ac_status); } && {
21550 test -z "$ac_c_werror_flag" ||
21551 test ! -s conftest.err
21552 } && test -s conftest.$ac_objext; then
21555 cat >conftest.$ac_ext <<_ACEOF
21558 cat confdefs.h >>conftest.$ac_ext
21559 cat >>conftest.$ac_ext <<_ACEOF
21560 /* end confdefs.h. */
21561 $ac_includes_default
21562 typedef long ac__type_sizeof_;
21566 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21573 rm -f conftest.$ac_objext
21574 if { (ac_try="$ac_compile"
21575 case "(($ac_try" in
21576 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21577 *) ac_try_echo
=$ac_try;;
21579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21580 (eval "$ac_compile") 2>conftest.er1
21582 grep -v '^ *+' conftest.er1
>conftest.err
21584 cat conftest.err
>&5
21585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21586 (exit $ac_status); } && {
21587 test -z "$ac_c_werror_flag" ||
21588 test ! -s conftest.err
21589 } && test -s conftest.
$ac_objext; then
21590 ac_hi
=$ac_mid; break
21592 echo "$as_me: failed program was:" >&5
21593 sed 's/^/| /' conftest.
$ac_ext >&5
21595 ac_lo
=`expr $ac_mid + 1`
21596 if test $ac_lo -le $ac_mid; then
21600 ac_mid
=`expr 2 '*' $ac_mid + 1`
21603 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21606 echo "$as_me: failed program was:" >&5
21607 sed 's/^/| /' conftest.
$ac_ext >&5
21609 cat >conftest.
$ac_ext <<_ACEOF
21612 cat confdefs.h
>>conftest.
$ac_ext
21613 cat >>conftest.
$ac_ext <<_ACEOF
21614 /* end confdefs.h. */
21615 $ac_includes_default
21616 typedef long ac__type_sizeof_;
21620 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21627 rm -f conftest.
$ac_objext
21628 if { (ac_try
="$ac_compile"
21629 case "(($ac_try" in
21630 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21631 *) ac_try_echo=$ac_try;;
21633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21634 (eval "$ac_compile") 2>conftest.er1
21636 grep -v '^ *+' conftest.er1 >conftest.err
21638 cat conftest.err >&5
21639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21640 (exit $ac_status); } && {
21641 test -z "$ac_c_werror_flag" ||
21642 test ! -s conftest.err
21643 } && test -s conftest.$ac_objext; then
21646 cat >conftest.$ac_ext <<_ACEOF
21649 cat confdefs.h >>conftest.$ac_ext
21650 cat >>conftest.$ac_ext <<_ACEOF
21651 /* end confdefs.h. */
21652 $ac_includes_default
21653 typedef long ac__type_sizeof_;
21657 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21664 rm -f conftest.$ac_objext
21665 if { (ac_try="$ac_compile"
21666 case "(($ac_try" in
21667 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21668 *) ac_try_echo
=$ac_try;;
21670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21671 (eval "$ac_compile") 2>conftest.er1
21673 grep -v '^ *+' conftest.er1
>conftest.err
21675 cat conftest.err
>&5
21676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21677 (exit $ac_status); } && {
21678 test -z "$ac_c_werror_flag" ||
21679 test ! -s conftest.err
21680 } && test -s conftest.
$ac_objext; then
21681 ac_lo
=$ac_mid; break
21683 echo "$as_me: failed program was:" >&5
21684 sed 's/^/| /' conftest.
$ac_ext >&5
21686 ac_hi
=`expr '(' $ac_mid ')' - 1`
21687 if test $ac_mid -le $ac_hi; then
21691 ac_mid
=`expr 2 '*' $ac_mid`
21694 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21697 echo "$as_me: failed program was:" >&5
21698 sed 's/^/| /' conftest.
$ac_ext >&5
21703 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21706 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21707 # Binary search between lo and hi bounds.
21708 while test "x$ac_lo" != "x$ac_hi"; do
21709 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21710 cat >conftest.
$ac_ext <<_ACEOF
21713 cat confdefs.h
>>conftest.
$ac_ext
21714 cat >>conftest.
$ac_ext <<_ACEOF
21715 /* end confdefs.h. */
21716 $ac_includes_default
21717 typedef long ac__type_sizeof_;
21721 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21728 rm -f conftest.
$ac_objext
21729 if { (ac_try
="$ac_compile"
21730 case "(($ac_try" in
21731 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21732 *) ac_try_echo=$ac_try;;
21734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21735 (eval "$ac_compile") 2>conftest.er1
21737 grep -v '^ *+' conftest.er1 >conftest.err
21739 cat conftest.err >&5
21740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21741 (exit $ac_status); } && {
21742 test -z "$ac_c_werror_flag" ||
21743 test ! -s conftest.err
21744 } && test -s conftest.$ac_objext; then
21747 echo "$as_me: failed program was:" >&5
21748 sed 's/^/| /' conftest.$ac_ext >&5
21750 ac_lo=`expr '(' $ac_mid ')' + 1`
21753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21756 ?*) ac_cv_sizeof_long=$ac_lo;;
21757 '') if test "$ac_cv_type_long" = yes; then
21758 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21759 See \`config.log
' for more details." >&5
21760 echo "$as_me: error: cannot compute sizeof (long)
21761 See \`config.log' for more details.
" >&2;}
21762 { (exit 77); exit 77; }; }
21764 ac_cv_sizeof_long=0
21768 cat >conftest.$ac_ext <<_ACEOF
21771 cat confdefs.h >>conftest.$ac_ext
21772 cat >>conftest.$ac_ext <<_ACEOF
21773 /* end confdefs.h. */
21774 $ac_includes_default
21775 typedef long ac__type_sizeof_;
21776 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21777 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21779 #include <stdlib.h>
21784 FILE *f = fopen ("conftest.val
", "w
");
21787 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21789 long int i = longval ();
21790 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21792 fprintf (f, "%ld
\n", i);
21796 unsigned long int i = ulongval ();
21797 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21799 fprintf (f, "%lu
\n", i);
21801 return ferror (f) || fclose (f) != 0;
21807 rm -f conftest$ac_exeext
21808 if { (ac_try="$ac_link"
21809 case "(($ac_try" in
21810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21811 *) ac_try_echo=$ac_try;;
21813 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21814 (eval "$ac_link") 2>&5
21816 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21817 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21818 { (case "(($ac_try" in
21819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21820 *) ac_try_echo=$ac_try;;
21822 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21823 (eval "$ac_try") 2>&5
21825 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21826 (exit $ac_status); }; }; then
21827 ac_cv_sizeof_long=`cat conftest.val`
21829 echo "$as_me: program exited with status
$ac_status" >&5
21830 echo "$as_me: failed program was
:" >&5
21831 sed 's/^/| /' conftest.$ac_ext >&5
21833 ( exit $ac_status )
21834 if test "$ac_cv_type_long" = yes; then
21835 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
21836 See \
`config.log' for more details." >&5
21837 echo "$as_me: error: cannot compute sizeof (long)
21838 See \`config.log
' for more details." >&2;}
21839 { (exit 77); exit 77; }; }
21841 ac_cv_sizeof_long=0
21844 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21848 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21849 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21853 cat >>confdefs.h <<_ACEOF
21854 #define SIZEOF_LONG $ac_cv_sizeof_long
21858 { echo "$as_me:$LINENO: checking for size_t" >&5
21859 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21860 if test "${ac_cv_type_size_t+set}" = set; then
21861 echo $ECHO_N "(cached) $ECHO_C" >&6
21863 cat >conftest.$ac_ext <<_ACEOF
21866 cat confdefs.h >>conftest.$ac_ext
21867 cat >>conftest.$ac_ext <<_ACEOF
21868 /* end confdefs.h. */
21869 $ac_includes_default
21870 typedef size_t ac__type_new_;
21874 if ((ac__type_new_ *) 0)
21876 if (sizeof (ac__type_new_))
21882 rm -f conftest.$ac_objext
21883 if { (ac_try="$ac_compile"
21884 case "(($ac_try" in
21885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21886 *) ac_try_echo=$ac_try;;
21888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21889 (eval "$ac_compile") 2>conftest.er1
21891 grep -v '^
*+' conftest.er1 >conftest.err
21893 cat conftest.err >&5
21894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21895 (exit $ac_status); } && {
21896 test -z "$ac_c_werror_flag" ||
21897 test ! -s conftest.err
21898 } && test -s conftest.$ac_objext; then
21899 ac_cv_type_size_t=yes
21901 echo "$as_me: failed program was:" >&5
21902 sed 's
/^
/| /' conftest.$ac_ext >&5
21904 ac_cv_type_size_t=no
21907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21909 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21910 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21912 # The cast to long int works around a bug in the HP C Compiler
21913 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21914 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21915 # This bug is HP SR number 8606223364.
21916 { echo "$as_me:$LINENO: checking size of size_t" >&5
21917 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21918 if test "${ac_cv_sizeof_size_t+set}" = set; then
21919 echo $ECHO_N "(cached) $ECHO_C" >&6
21921 if test "$cross_compiling" = yes; then
21922 # Depending upon the size, compute the lo and hi bounds.
21923 cat >conftest.
$ac_ext <<_ACEOF
21926 cat confdefs.h
>>conftest.
$ac_ext
21927 cat >>conftest.
$ac_ext <<_ACEOF
21928 /* end confdefs.h. */
21929 $ac_includes_default
21930 typedef size_t ac__type_sizeof_;
21934 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21941 rm -f conftest.
$ac_objext
21942 if { (ac_try
="$ac_compile"
21943 case "(($ac_try" in
21944 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21945 *) ac_try_echo=$ac_try;;
21947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21948 (eval "$ac_compile") 2>conftest.er1
21950 grep -v '^ *+' conftest.er1 >conftest.err
21952 cat conftest.err >&5
21953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21954 (exit $ac_status); } && {
21955 test -z "$ac_c_werror_flag" ||
21956 test ! -s conftest.err
21957 } && test -s conftest.$ac_objext; then
21960 cat >conftest.$ac_ext <<_ACEOF
21963 cat confdefs.h >>conftest.$ac_ext
21964 cat >>conftest.$ac_ext <<_ACEOF
21965 /* end confdefs.h. */
21966 $ac_includes_default
21967 typedef size_t ac__type_sizeof_;
21971 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21978 rm -f conftest.$ac_objext
21979 if { (ac_try="$ac_compile"
21980 case "(($ac_try" in
21981 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21982 *) ac_try_echo
=$ac_try;;
21984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21985 (eval "$ac_compile") 2>conftest.er1
21987 grep -v '^ *+' conftest.er1
>conftest.err
21989 cat conftest.err
>&5
21990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21991 (exit $ac_status); } && {
21992 test -z "$ac_c_werror_flag" ||
21993 test ! -s conftest.err
21994 } && test -s conftest.
$ac_objext; then
21995 ac_hi
=$ac_mid; break
21997 echo "$as_me: failed program was:" >&5
21998 sed 's/^/| /' conftest.
$ac_ext >&5
22000 ac_lo
=`expr $ac_mid + 1`
22001 if test $ac_lo -le $ac_mid; then
22005 ac_mid
=`expr 2 '*' $ac_mid + 1`
22008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22011 echo "$as_me: failed program was:" >&5
22012 sed 's/^/| /' conftest.
$ac_ext >&5
22014 cat >conftest.
$ac_ext <<_ACEOF
22017 cat confdefs.h
>>conftest.
$ac_ext
22018 cat >>conftest.
$ac_ext <<_ACEOF
22019 /* end confdefs.h. */
22020 $ac_includes_default
22021 typedef size_t ac__type_sizeof_;
22025 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22032 rm -f conftest.
$ac_objext
22033 if { (ac_try
="$ac_compile"
22034 case "(($ac_try" in
22035 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22036 *) ac_try_echo=$ac_try;;
22038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22039 (eval "$ac_compile") 2>conftest.er1
22041 grep -v '^ *+' conftest.er1 >conftest.err
22043 cat conftest.err >&5
22044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22045 (exit $ac_status); } && {
22046 test -z "$ac_c_werror_flag" ||
22047 test ! -s conftest.err
22048 } && test -s conftest.$ac_objext; then
22051 cat >conftest.$ac_ext <<_ACEOF
22054 cat confdefs.h >>conftest.$ac_ext
22055 cat >>conftest.$ac_ext <<_ACEOF
22056 /* end confdefs.h. */
22057 $ac_includes_default
22058 typedef size_t ac__type_sizeof_;
22062 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22069 rm -f conftest.$ac_objext
22070 if { (ac_try="$ac_compile"
22071 case "(($ac_try" in
22072 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22073 *) ac_try_echo
=$ac_try;;
22075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22076 (eval "$ac_compile") 2>conftest.er1
22078 grep -v '^ *+' conftest.er1
>conftest.err
22080 cat conftest.err
>&5
22081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22082 (exit $ac_status); } && {
22083 test -z "$ac_c_werror_flag" ||
22084 test ! -s conftest.err
22085 } && test -s conftest.
$ac_objext; then
22086 ac_lo
=$ac_mid; break
22088 echo "$as_me: failed program was:" >&5
22089 sed 's/^/| /' conftest.
$ac_ext >&5
22091 ac_hi
=`expr '(' $ac_mid ')' - 1`
22092 if test $ac_mid -le $ac_hi; then
22096 ac_mid
=`expr 2 '*' $ac_mid`
22099 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22102 echo "$as_me: failed program was:" >&5
22103 sed 's/^/| /' conftest.
$ac_ext >&5
22108 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22111 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22112 # Binary search between lo and hi bounds.
22113 while test "x$ac_lo" != "x$ac_hi"; do
22114 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22115 cat >conftest.
$ac_ext <<_ACEOF
22118 cat confdefs.h
>>conftest.
$ac_ext
22119 cat >>conftest.
$ac_ext <<_ACEOF
22120 /* end confdefs.h. */
22121 $ac_includes_default
22122 typedef size_t ac__type_sizeof_;
22126 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22133 rm -f conftest.
$ac_objext
22134 if { (ac_try
="$ac_compile"
22135 case "(($ac_try" in
22136 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22137 *) ac_try_echo=$ac_try;;
22139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22140 (eval "$ac_compile") 2>conftest.er1
22142 grep -v '^ *+' conftest.er1 >conftest.err
22144 cat conftest.err >&5
22145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22146 (exit $ac_status); } && {
22147 test -z "$ac_c_werror_flag" ||
22148 test ! -s conftest.err
22149 } && test -s conftest.$ac_objext; then
22152 echo "$as_me: failed program was:" >&5
22153 sed 's/^/| /' conftest.$ac_ext >&5
22155 ac_lo=`expr '(' $ac_mid ')' + 1`
22158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22161 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22162 '') if test "$ac_cv_type_size_t" = yes; then
22163 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22164 See \`config.log
' for more details." >&5
22165 echo "$as_me: error: cannot compute sizeof (size_t)
22166 See \`config.log' for more details.
" >&2;}
22167 { (exit 77); exit 77; }; }
22169 ac_cv_sizeof_size_t=0
22173 cat >conftest.$ac_ext <<_ACEOF
22176 cat confdefs.h >>conftest.$ac_ext
22177 cat >>conftest.$ac_ext <<_ACEOF
22178 /* end confdefs.h. */
22179 $ac_includes_default
22180 typedef size_t ac__type_sizeof_;
22181 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22182 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22184 #include <stdlib.h>
22189 FILE *f = fopen ("conftest.val
", "w
");
22192 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22194 long int i = longval ();
22195 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22197 fprintf (f, "%ld
\n", i);
22201 unsigned long int i = ulongval ();
22202 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22204 fprintf (f, "%lu
\n", i);
22206 return ferror (f) || fclose (f) != 0;
22212 rm -f conftest$ac_exeext
22213 if { (ac_try="$ac_link"
22214 case "(($ac_try" in
22215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22216 *) ac_try_echo=$ac_try;;
22218 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22219 (eval "$ac_link") 2>&5
22221 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22222 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22223 { (case "(($ac_try" in
22224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22225 *) ac_try_echo=$ac_try;;
22227 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22228 (eval "$ac_try") 2>&5
22230 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22231 (exit $ac_status); }; }; then
22232 ac_cv_sizeof_size_t=`cat conftest.val`
22234 echo "$as_me: program exited with status
$ac_status" >&5
22235 echo "$as_me: failed program was
:" >&5
22236 sed 's/^/| /' conftest.$ac_ext >&5
22238 ( exit $ac_status )
22239 if test "$ac_cv_type_size_t" = yes; then
22240 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
22241 See \
`config.log' for more details." >&5
22242 echo "$as_me: error: cannot compute sizeof (size_t)
22243 See \`config.log
' for more details." >&2;}
22244 { (exit 77); exit 77; }; }
22246 ac_cv_sizeof_size_t=0
22249 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22253 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22254 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22258 cat >>confdefs.h <<_ACEOF
22259 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22266 { echo "$as_me:$LINENO: checking for long long" >&5
22267 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22268 if test "${ac_cv_type_long_long+set}" = set; then
22269 echo $ECHO_N "(cached) $ECHO_C" >&6
22271 cat >conftest.$ac_ext <<_ACEOF
22274 cat confdefs.h >>conftest.$ac_ext
22275 cat >>conftest.$ac_ext <<_ACEOF
22276 /* end confdefs.h. */
22277 $ac_includes_default
22278 typedef long long ac__type_new_;
22282 if ((ac__type_new_ *) 0)
22284 if (sizeof (ac__type_new_))
22290 rm -f conftest.$ac_objext
22291 if { (ac_try="$ac_compile"
22292 case "(($ac_try" in
22293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22294 *) ac_try_echo=$ac_try;;
22296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22297 (eval "$ac_compile") 2>conftest.er1
22299 grep -v '^
*+' conftest.er1 >conftest.err
22301 cat conftest.err >&5
22302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22303 (exit $ac_status); } && {
22304 test -z "$ac_c_werror_flag" ||
22305 test ! -s conftest.err
22306 } && test -s conftest.$ac_objext; then
22307 ac_cv_type_long_long=yes
22309 echo "$as_me: failed program was:" >&5
22310 sed 's
/^
/| /' conftest.$ac_ext >&5
22312 ac_cv_type_long_long=no
22315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22317 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22318 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22320 # The cast to long int works around a bug in the HP C Compiler
22321 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22322 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22323 # This bug is HP SR number 8606223364.
22324 { echo "$as_me:$LINENO: checking size of long long" >&5
22325 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22326 if test "${ac_cv_sizeof_long_long+set}" = set; then
22327 echo $ECHO_N "(cached) $ECHO_C" >&6
22329 if test "$cross_compiling" = yes; then
22330 # Depending upon the size, compute the lo and hi bounds.
22331 cat >conftest.
$ac_ext <<_ACEOF
22334 cat confdefs.h
>>conftest.
$ac_ext
22335 cat >>conftest.
$ac_ext <<_ACEOF
22336 /* end confdefs.h. */
22337 $ac_includes_default
22338 typedef long long ac__type_sizeof_;
22342 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22349 rm -f conftest.
$ac_objext
22350 if { (ac_try
="$ac_compile"
22351 case "(($ac_try" in
22352 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22353 *) ac_try_echo=$ac_try;;
22355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22356 (eval "$ac_compile") 2>conftest.er1
22358 grep -v '^ *+' conftest.er1 >conftest.err
22360 cat conftest.err >&5
22361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22362 (exit $ac_status); } && {
22363 test -z "$ac_c_werror_flag" ||
22364 test ! -s conftest.err
22365 } && test -s conftest.$ac_objext; then
22368 cat >conftest.$ac_ext <<_ACEOF
22371 cat confdefs.h >>conftest.$ac_ext
22372 cat >>conftest.$ac_ext <<_ACEOF
22373 /* end confdefs.h. */
22374 $ac_includes_default
22375 typedef long long ac__type_sizeof_;
22379 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22386 rm -f conftest.$ac_objext
22387 if { (ac_try="$ac_compile"
22388 case "(($ac_try" in
22389 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22390 *) ac_try_echo
=$ac_try;;
22392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22393 (eval "$ac_compile") 2>conftest.er1
22395 grep -v '^ *+' conftest.er1
>conftest.err
22397 cat conftest.err
>&5
22398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22399 (exit $ac_status); } && {
22400 test -z "$ac_c_werror_flag" ||
22401 test ! -s conftest.err
22402 } && test -s conftest.
$ac_objext; then
22403 ac_hi
=$ac_mid; break
22405 echo "$as_me: failed program was:" >&5
22406 sed 's/^/| /' conftest.
$ac_ext >&5
22408 ac_lo
=`expr $ac_mid + 1`
22409 if test $ac_lo -le $ac_mid; then
22413 ac_mid
=`expr 2 '*' $ac_mid + 1`
22416 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22419 echo "$as_me: failed program was:" >&5
22420 sed 's/^/| /' conftest.
$ac_ext >&5
22422 cat >conftest.
$ac_ext <<_ACEOF
22425 cat confdefs.h
>>conftest.
$ac_ext
22426 cat >>conftest.
$ac_ext <<_ACEOF
22427 /* end confdefs.h. */
22428 $ac_includes_default
22429 typedef long long ac__type_sizeof_;
22433 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22440 rm -f conftest.
$ac_objext
22441 if { (ac_try
="$ac_compile"
22442 case "(($ac_try" in
22443 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22444 *) ac_try_echo=$ac_try;;
22446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22447 (eval "$ac_compile") 2>conftest.er1
22449 grep -v '^ *+' conftest.er1 >conftest.err
22451 cat conftest.err >&5
22452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22453 (exit $ac_status); } && {
22454 test -z "$ac_c_werror_flag" ||
22455 test ! -s conftest.err
22456 } && test -s conftest.$ac_objext; then
22459 cat >conftest.$ac_ext <<_ACEOF
22462 cat confdefs.h >>conftest.$ac_ext
22463 cat >>conftest.$ac_ext <<_ACEOF
22464 /* end confdefs.h. */
22465 $ac_includes_default
22466 typedef long long ac__type_sizeof_;
22470 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22477 rm -f conftest.$ac_objext
22478 if { (ac_try="$ac_compile"
22479 case "(($ac_try" in
22480 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22481 *) ac_try_echo
=$ac_try;;
22483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22484 (eval "$ac_compile") 2>conftest.er1
22486 grep -v '^ *+' conftest.er1
>conftest.err
22488 cat conftest.err
>&5
22489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22490 (exit $ac_status); } && {
22491 test -z "$ac_c_werror_flag" ||
22492 test ! -s conftest.err
22493 } && test -s conftest.
$ac_objext; then
22494 ac_lo
=$ac_mid; break
22496 echo "$as_me: failed program was:" >&5
22497 sed 's/^/| /' conftest.
$ac_ext >&5
22499 ac_hi
=`expr '(' $ac_mid ')' - 1`
22500 if test $ac_mid -le $ac_hi; then
22504 ac_mid
=`expr 2 '*' $ac_mid`
22507 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22510 echo "$as_me: failed program was:" >&5
22511 sed 's/^/| /' conftest.
$ac_ext >&5
22516 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22519 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22520 # Binary search between lo and hi bounds.
22521 while test "x$ac_lo" != "x$ac_hi"; do
22522 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22523 cat >conftest.
$ac_ext <<_ACEOF
22526 cat confdefs.h
>>conftest.
$ac_ext
22527 cat >>conftest.
$ac_ext <<_ACEOF
22528 /* end confdefs.h. */
22529 $ac_includes_default
22530 typedef long long ac__type_sizeof_;
22534 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22541 rm -f conftest.
$ac_objext
22542 if { (ac_try
="$ac_compile"
22543 case "(($ac_try" in
22544 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22545 *) ac_try_echo=$ac_try;;
22547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22548 (eval "$ac_compile") 2>conftest.er1
22550 grep -v '^ *+' conftest.er1 >conftest.err
22552 cat conftest.err >&5
22553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22554 (exit $ac_status); } && {
22555 test -z "$ac_c_werror_flag" ||
22556 test ! -s conftest.err
22557 } && test -s conftest.$ac_objext; then
22560 echo "$as_me: failed program was:" >&5
22561 sed 's/^/| /' conftest.$ac_ext >&5
22563 ac_lo=`expr '(' $ac_mid ')' + 1`
22566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22569 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22570 '') if test "$ac_cv_type_long_long" = yes; then
22571 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22572 See \`config.log
' for more details." >&5
22573 echo "$as_me: error: cannot compute sizeof (long long)
22574 See \`config.log' for more details.
" >&2;}
22575 { (exit 77); exit 77; }; }
22577 ac_cv_sizeof_long_long=0
22581 cat >conftest.$ac_ext <<_ACEOF
22584 cat confdefs.h >>conftest.$ac_ext
22585 cat >>conftest.$ac_ext <<_ACEOF
22586 /* end confdefs.h. */
22587 $ac_includes_default
22588 typedef long long ac__type_sizeof_;
22589 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22590 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22592 #include <stdlib.h>
22597 FILE *f = fopen ("conftest.val
", "w
");
22600 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22602 long int i = longval ();
22603 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22605 fprintf (f, "%ld
\n", i);
22609 unsigned long int i = ulongval ();
22610 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22612 fprintf (f, "%lu
\n", i);
22614 return ferror (f) || fclose (f) != 0;
22620 rm -f conftest$ac_exeext
22621 if { (ac_try="$ac_link"
22622 case "(($ac_try" in
22623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22624 *) ac_try_echo=$ac_try;;
22626 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22627 (eval "$ac_link") 2>&5
22629 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22630 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22631 { (case "(($ac_try" in
22632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22633 *) ac_try_echo=$ac_try;;
22635 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22636 (eval "$ac_try") 2>&5
22638 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22639 (exit $ac_status); }; }; then
22640 ac_cv_sizeof_long_long=`cat conftest.val`
22642 echo "$as_me: program exited with status
$ac_status" >&5
22643 echo "$as_me: failed program was
:" >&5
22644 sed 's/^/| /' conftest.$ac_ext >&5
22646 ( exit $ac_status )
22647 if test "$ac_cv_type_long_long" = yes; then
22648 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22649 See \
`config.log' for more details." >&5
22650 echo "$as_me: error: cannot compute sizeof (long long)
22651 See \`config.log
' for more details." >&2;}
22652 { (exit 77); exit 77; }; }
22654 ac_cv_sizeof_long_long=0
22657 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22661 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22662 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22666 cat >>confdefs.h <<_ACEOF
22667 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22673 { echo "$as_me:$LINENO: checking for long long" >&5
22674 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22675 if test "${ac_cv_type_long_long+set}" = set; then
22676 echo $ECHO_N "(cached) $ECHO_C" >&6
22678 cat >conftest.$ac_ext <<_ACEOF
22681 cat confdefs.h >>conftest.$ac_ext
22682 cat >>conftest.$ac_ext <<_ACEOF
22683 /* end confdefs.h. */
22684 $ac_includes_default
22685 typedef long long ac__type_new_;
22689 if ((ac__type_new_ *) 0)
22691 if (sizeof (ac__type_new_))
22697 rm -f conftest.$ac_objext
22698 if { (ac_try="$ac_compile"
22699 case "(($ac_try" in
22700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22701 *) ac_try_echo=$ac_try;;
22703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22704 (eval "$ac_compile") 2>conftest.er1
22706 grep -v '^
*+' conftest.er1 >conftest.err
22708 cat conftest.err >&5
22709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22710 (exit $ac_status); } && {
22711 test -z "$ac_c_werror_flag" ||
22712 test ! -s conftest.err
22713 } && test -s conftest.$ac_objext; then
22714 ac_cv_type_long_long=yes
22716 echo "$as_me: failed program was:" >&5
22717 sed 's
/^
/| /' conftest.$ac_ext >&5
22719 ac_cv_type_long_long=no
22722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22724 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22725 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22727 # The cast to long int works around a bug in the HP C Compiler
22728 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22729 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22730 # This bug is HP SR number 8606223364.
22731 { echo "$as_me:$LINENO: checking size of long long" >&5
22732 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22733 if test "${ac_cv_sizeof_long_long+set}" = set; then
22734 echo $ECHO_N "(cached) $ECHO_C" >&6
22736 if test "$cross_compiling" = yes; then
22737 # Depending upon the size, compute the lo and hi bounds.
22738 cat >conftest.
$ac_ext <<_ACEOF
22741 cat confdefs.h
>>conftest.
$ac_ext
22742 cat >>conftest.
$ac_ext <<_ACEOF
22743 /* end confdefs.h. */
22744 $ac_includes_default
22745 typedef long long ac__type_sizeof_;
22749 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22756 rm -f conftest.
$ac_objext
22757 if { (ac_try
="$ac_compile"
22758 case "(($ac_try" in
22759 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22760 *) ac_try_echo=$ac_try;;
22762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22763 (eval "$ac_compile") 2>conftest.er1
22765 grep -v '^ *+' conftest.er1 >conftest.err
22767 cat conftest.err >&5
22768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22769 (exit $ac_status); } && {
22770 test -z "$ac_c_werror_flag" ||
22771 test ! -s conftest.err
22772 } && test -s conftest.$ac_objext; then
22775 cat >conftest.$ac_ext <<_ACEOF
22778 cat confdefs.h >>conftest.$ac_ext
22779 cat >>conftest.$ac_ext <<_ACEOF
22780 /* end confdefs.h. */
22781 $ac_includes_default
22782 typedef long long ac__type_sizeof_;
22786 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22793 rm -f conftest.$ac_objext
22794 if { (ac_try="$ac_compile"
22795 case "(($ac_try" in
22796 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22797 *) ac_try_echo
=$ac_try;;
22799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22800 (eval "$ac_compile") 2>conftest.er1
22802 grep -v '^ *+' conftest.er1
>conftest.err
22804 cat conftest.err
>&5
22805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22806 (exit $ac_status); } && {
22807 test -z "$ac_c_werror_flag" ||
22808 test ! -s conftest.err
22809 } && test -s conftest.
$ac_objext; then
22810 ac_hi
=$ac_mid; break
22812 echo "$as_me: failed program was:" >&5
22813 sed 's/^/| /' conftest.
$ac_ext >&5
22815 ac_lo
=`expr $ac_mid + 1`
22816 if test $ac_lo -le $ac_mid; then
22820 ac_mid
=`expr 2 '*' $ac_mid + 1`
22823 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22826 echo "$as_me: failed program was:" >&5
22827 sed 's/^/| /' conftest.
$ac_ext >&5
22829 cat >conftest.
$ac_ext <<_ACEOF
22832 cat confdefs.h
>>conftest.
$ac_ext
22833 cat >>conftest.
$ac_ext <<_ACEOF
22834 /* end confdefs.h. */
22835 $ac_includes_default
22836 typedef long long ac__type_sizeof_;
22840 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22847 rm -f conftest.
$ac_objext
22848 if { (ac_try
="$ac_compile"
22849 case "(($ac_try" in
22850 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22851 *) ac_try_echo=$ac_try;;
22853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22854 (eval "$ac_compile") 2>conftest.er1
22856 grep -v '^ *+' conftest.er1 >conftest.err
22858 cat conftest.err >&5
22859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22860 (exit $ac_status); } && {
22861 test -z "$ac_c_werror_flag" ||
22862 test ! -s conftest.err
22863 } && test -s conftest.$ac_objext; then
22866 cat >conftest.$ac_ext <<_ACEOF
22869 cat confdefs.h >>conftest.$ac_ext
22870 cat >>conftest.$ac_ext <<_ACEOF
22871 /* end confdefs.h. */
22872 $ac_includes_default
22873 typedef long long ac__type_sizeof_;
22877 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22884 rm -f conftest.$ac_objext
22885 if { (ac_try="$ac_compile"
22886 case "(($ac_try" in
22887 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22888 *) ac_try_echo
=$ac_try;;
22890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22891 (eval "$ac_compile") 2>conftest.er1
22893 grep -v '^ *+' conftest.er1
>conftest.err
22895 cat conftest.err
>&5
22896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22897 (exit $ac_status); } && {
22898 test -z "$ac_c_werror_flag" ||
22899 test ! -s conftest.err
22900 } && test -s conftest.
$ac_objext; then
22901 ac_lo
=$ac_mid; break
22903 echo "$as_me: failed program was:" >&5
22904 sed 's/^/| /' conftest.
$ac_ext >&5
22906 ac_hi
=`expr '(' $ac_mid ')' - 1`
22907 if test $ac_mid -le $ac_hi; then
22911 ac_mid
=`expr 2 '*' $ac_mid`
22914 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22917 echo "$as_me: failed program was:" >&5
22918 sed 's/^/| /' conftest.
$ac_ext >&5
22923 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22926 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22927 # Binary search between lo and hi bounds.
22928 while test "x$ac_lo" != "x$ac_hi"; do
22929 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22930 cat >conftest.
$ac_ext <<_ACEOF
22933 cat confdefs.h
>>conftest.
$ac_ext
22934 cat >>conftest.
$ac_ext <<_ACEOF
22935 /* end confdefs.h. */
22936 $ac_includes_default
22937 typedef long long ac__type_sizeof_;
22941 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22948 rm -f conftest.
$ac_objext
22949 if { (ac_try
="$ac_compile"
22950 case "(($ac_try" in
22951 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22952 *) ac_try_echo=$ac_try;;
22954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22955 (eval "$ac_compile") 2>conftest.er1
22957 grep -v '^ *+' conftest.er1 >conftest.err
22959 cat conftest.err >&5
22960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22961 (exit $ac_status); } && {
22962 test -z "$ac_c_werror_flag" ||
22963 test ! -s conftest.err
22964 } && test -s conftest.$ac_objext; then
22967 echo "$as_me: failed program was:" >&5
22968 sed 's/^/| /' conftest.$ac_ext >&5
22970 ac_lo=`expr '(' $ac_mid ')' + 1`
22973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22976 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22977 '') if test "$ac_cv_type_long_long" = yes; then
22978 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22979 See \`config.log
' for more details." >&5
22980 echo "$as_me: error: cannot compute sizeof (long long)
22981 See \`config.log' for more details.
" >&2;}
22982 { (exit 77); exit 77; }; }
22984 ac_cv_sizeof_long_long=0
22988 cat >conftest.$ac_ext <<_ACEOF
22991 cat confdefs.h >>conftest.$ac_ext
22992 cat >>conftest.$ac_ext <<_ACEOF
22993 /* end confdefs.h. */
22994 $ac_includes_default
22995 typedef long long ac__type_sizeof_;
22996 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22997 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22999 #include <stdlib.h>
23004 FILE *f = fopen ("conftest.val
", "w
");
23007 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23009 long int i = longval ();
23010 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23012 fprintf (f, "%ld
\n", i);
23016 unsigned long int i = ulongval ();
23017 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23019 fprintf (f, "%lu
\n", i);
23021 return ferror (f) || fclose (f) != 0;
23027 rm -f conftest$ac_exeext
23028 if { (ac_try="$ac_link"
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_link") 2>&5
23036 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23037 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23038 { (case "(($ac_try" in
23039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23040 *) ac_try_echo=$ac_try;;
23042 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23043 (eval "$ac_try") 2>&5
23045 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23046 (exit $ac_status); }; }; then
23047 ac_cv_sizeof_long_long=`cat conftest.val`
23049 echo "$as_me: program exited with status
$ac_status" >&5
23050 echo "$as_me: failed program was
:" >&5
23051 sed 's/^/| /' conftest.$ac_ext >&5
23053 ( exit $ac_status )
23054 if test "$ac_cv_type_long_long" = yes; then
23055 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23056 See \
`config.log' for more details." >&5
23057 echo "$as_me: error: cannot compute sizeof (long long)
23058 See \`config.log
' for more details." >&2;}
23059 { (exit 77); exit 77; }; }
23061 ac_cv_sizeof_long_long=0
23064 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23068 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23069 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23073 cat >>confdefs.h <<_ACEOF
23074 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23078 if test "$ac_cv_sizeof_long_long" != 0; then
23079 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23083 { echo "$as_me:$LINENO: checking for long long" >&5
23084 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23085 if test "${ac_cv_type_long_long+set}" = set; then
23086 echo $ECHO_N "(cached) $ECHO_C" >&6
23088 cat >conftest.$ac_ext <<_ACEOF
23091 cat confdefs.h >>conftest.$ac_ext
23092 cat >>conftest.$ac_ext <<_ACEOF
23093 /* end confdefs.h. */
23094 $ac_includes_default
23095 typedef long long ac__type_new_;
23099 if ((ac__type_new_ *) 0)
23101 if (sizeof (ac__type_new_))
23107 rm -f conftest.$ac_objext
23108 if { (ac_try="$ac_compile"
23109 case "(($ac_try" in
23110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23111 *) ac_try_echo=$ac_try;;
23113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23114 (eval "$ac_compile") 2>conftest.er1
23116 grep -v '^
*+' conftest.er1 >conftest.err
23118 cat conftest.err >&5
23119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23120 (exit $ac_status); } && {
23121 test -z "$ac_c_werror_flag" ||
23122 test ! -s conftest.err
23123 } && test -s conftest.$ac_objext; then
23124 ac_cv_type_long_long=yes
23126 echo "$as_me: failed program was:" >&5
23127 sed 's
/^
/| /' conftest.$ac_ext >&5
23129 ac_cv_type_long_long=no
23132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23134 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23135 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23137 # The cast to long int works around a bug in the HP C Compiler
23138 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23139 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23140 # This bug is HP SR number 8606223364.
23141 { echo "$as_me:$LINENO: checking size of long long" >&5
23142 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23143 if test "${ac_cv_sizeof_long_long+set}" = set; then
23144 echo $ECHO_N "(cached) $ECHO_C" >&6
23146 if test "$cross_compiling" = yes; then
23147 # Depending upon the size, compute the lo and hi bounds.
23148 cat >conftest.
$ac_ext <<_ACEOF
23151 cat confdefs.h
>>conftest.
$ac_ext
23152 cat >>conftest.
$ac_ext <<_ACEOF
23153 /* end confdefs.h. */
23154 $ac_includes_default
23155 typedef long long ac__type_sizeof_;
23159 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23166 rm -f conftest.
$ac_objext
23167 if { (ac_try
="$ac_compile"
23168 case "(($ac_try" in
23169 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23170 *) ac_try_echo=$ac_try;;
23172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23173 (eval "$ac_compile") 2>conftest.er1
23175 grep -v '^ *+' conftest.er1 >conftest.err
23177 cat conftest.err >&5
23178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23179 (exit $ac_status); } && {
23180 test -z "$ac_c_werror_flag" ||
23181 test ! -s conftest.err
23182 } && test -s conftest.$ac_objext; then
23185 cat >conftest.$ac_ext <<_ACEOF
23188 cat confdefs.h >>conftest.$ac_ext
23189 cat >>conftest.$ac_ext <<_ACEOF
23190 /* end confdefs.h. */
23191 $ac_includes_default
23192 typedef long long ac__type_sizeof_;
23196 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23203 rm -f conftest.$ac_objext
23204 if { (ac_try="$ac_compile"
23205 case "(($ac_try" in
23206 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23207 *) ac_try_echo
=$ac_try;;
23209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23210 (eval "$ac_compile") 2>conftest.er1
23212 grep -v '^ *+' conftest.er1
>conftest.err
23214 cat conftest.err
>&5
23215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23216 (exit $ac_status); } && {
23217 test -z "$ac_c_werror_flag" ||
23218 test ! -s conftest.err
23219 } && test -s conftest.
$ac_objext; then
23220 ac_hi
=$ac_mid; break
23222 echo "$as_me: failed program was:" >&5
23223 sed 's/^/| /' conftest.
$ac_ext >&5
23225 ac_lo
=`expr $ac_mid + 1`
23226 if test $ac_lo -le $ac_mid; then
23230 ac_mid
=`expr 2 '*' $ac_mid + 1`
23233 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23236 echo "$as_me: failed program was:" >&5
23237 sed 's/^/| /' conftest.
$ac_ext >&5
23239 cat >conftest.
$ac_ext <<_ACEOF
23242 cat confdefs.h
>>conftest.
$ac_ext
23243 cat >>conftest.
$ac_ext <<_ACEOF
23244 /* end confdefs.h. */
23245 $ac_includes_default
23246 typedef long long ac__type_sizeof_;
23250 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23257 rm -f conftest.
$ac_objext
23258 if { (ac_try
="$ac_compile"
23259 case "(($ac_try" in
23260 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23261 *) ac_try_echo=$ac_try;;
23263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23264 (eval "$ac_compile") 2>conftest.er1
23266 grep -v '^ *+' conftest.er1 >conftest.err
23268 cat conftest.err >&5
23269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23270 (exit $ac_status); } && {
23271 test -z "$ac_c_werror_flag" ||
23272 test ! -s conftest.err
23273 } && test -s conftest.$ac_objext; then
23276 cat >conftest.$ac_ext <<_ACEOF
23279 cat confdefs.h >>conftest.$ac_ext
23280 cat >>conftest.$ac_ext <<_ACEOF
23281 /* end confdefs.h. */
23282 $ac_includes_default
23283 typedef long long ac__type_sizeof_;
23287 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23294 rm -f conftest.$ac_objext
23295 if { (ac_try="$ac_compile"
23296 case "(($ac_try" in
23297 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23298 *) ac_try_echo
=$ac_try;;
23300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23301 (eval "$ac_compile") 2>conftest.er1
23303 grep -v '^ *+' conftest.er1
>conftest.err
23305 cat conftest.err
>&5
23306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23307 (exit $ac_status); } && {
23308 test -z "$ac_c_werror_flag" ||
23309 test ! -s conftest.err
23310 } && test -s conftest.
$ac_objext; then
23311 ac_lo
=$ac_mid; break
23313 echo "$as_me: failed program was:" >&5
23314 sed 's/^/| /' conftest.
$ac_ext >&5
23316 ac_hi
=`expr '(' $ac_mid ')' - 1`
23317 if test $ac_mid -le $ac_hi; then
23321 ac_mid
=`expr 2 '*' $ac_mid`
23324 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23327 echo "$as_me: failed program was:" >&5
23328 sed 's/^/| /' conftest.
$ac_ext >&5
23333 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23336 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23337 # Binary search between lo and hi bounds.
23338 while test "x$ac_lo" != "x$ac_hi"; do
23339 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23340 cat >conftest.
$ac_ext <<_ACEOF
23343 cat confdefs.h
>>conftest.
$ac_ext
23344 cat >>conftest.
$ac_ext <<_ACEOF
23345 /* end confdefs.h. */
23346 $ac_includes_default
23347 typedef long long ac__type_sizeof_;
23351 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23358 rm -f conftest.
$ac_objext
23359 if { (ac_try
="$ac_compile"
23360 case "(($ac_try" in
23361 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23362 *) ac_try_echo=$ac_try;;
23364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23365 (eval "$ac_compile") 2>conftest.er1
23367 grep -v '^ *+' conftest.er1 >conftest.err
23369 cat conftest.err >&5
23370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23371 (exit $ac_status); } && {
23372 test -z "$ac_c_werror_flag" ||
23373 test ! -s conftest.err
23374 } && test -s conftest.$ac_objext; then
23377 echo "$as_me: failed program was:" >&5
23378 sed 's/^/| /' conftest.$ac_ext >&5
23380 ac_lo=`expr '(' $ac_mid ')' + 1`
23383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23386 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23387 '') if test "$ac_cv_type_long_long" = yes; then
23388 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23389 See \`config.log
' for more details." >&5
23390 echo "$as_me: error: cannot compute sizeof (long long)
23391 See \`config.log' for more details.
" >&2;}
23392 { (exit 77); exit 77; }; }
23394 ac_cv_sizeof_long_long=0
23398 cat >conftest.$ac_ext <<_ACEOF
23401 cat confdefs.h >>conftest.$ac_ext
23402 cat >>conftest.$ac_ext <<_ACEOF
23403 /* end confdefs.h. */
23404 $ac_includes_default
23405 typedef long long ac__type_sizeof_;
23406 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23407 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23409 #include <stdlib.h>
23414 FILE *f = fopen ("conftest.val
", "w
");
23417 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23419 long int i = longval ();
23420 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23422 fprintf (f, "%ld
\n", i);
23426 unsigned long int i = ulongval ();
23427 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23429 fprintf (f, "%lu
\n", i);
23431 return ferror (f) || fclose (f) != 0;
23437 rm -f conftest$ac_exeext
23438 if { (ac_try="$ac_link"
23439 case "(($ac_try" in
23440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23441 *) ac_try_echo=$ac_try;;
23443 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23444 (eval "$ac_link") 2>&5
23446 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23447 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23448 { (case "(($ac_try" in
23449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23450 *) ac_try_echo=$ac_try;;
23452 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23453 (eval "$ac_try") 2>&5
23455 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23456 (exit $ac_status); }; }; then
23457 ac_cv_sizeof_long_long=`cat conftest.val`
23459 echo "$as_me: program exited with status
$ac_status" >&5
23460 echo "$as_me: failed program was
:" >&5
23461 sed 's/^/| /' conftest.$ac_ext >&5
23463 ( exit $ac_status )
23464 if test "$ac_cv_type_long_long" = yes; then
23465 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23466 See \
`config.log' for more details." >&5
23467 echo "$as_me: error: cannot compute sizeof (long long)
23468 See \`config.log
' for more details." >&2;}
23469 { (exit 77); exit 77; }; }
23471 ac_cv_sizeof_long_long=0
23474 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23478 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23479 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23483 cat >>confdefs.h <<_ACEOF
23484 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23490 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23491 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23492 if test "${ac_cv_type_wchar_t+set}" = set; then
23493 echo $ECHO_N "(cached) $ECHO_C" >&6
23495 cat >conftest.$ac_ext <<_ACEOF
23498 cat confdefs.h >>conftest.$ac_ext
23499 cat >>conftest.$ac_ext <<_ACEOF
23500 /* end confdefs.h. */
23502 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23503 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23504 # error "fake wchar_t"
23506 #ifdef HAVE_WCHAR_H
23508 # include <stddef.h>
23510 # include <wchar.h>
23512 #ifdef HAVE_STDLIB_H
23513 # include <stdlib.h>
23519 typedef wchar_t ac__type_new_
;
23523 if ((ac__type_new_
*) 0)
23525 if (sizeof
(ac__type_new_
))
23531 rm -f conftest.
$ac_objext
23532 if { (ac_try
="$ac_compile"
23533 case "(($ac_try" in
23534 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23535 *) ac_try_echo=$ac_try;;
23537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23538 (eval "$ac_compile") 2>conftest.er1
23540 grep -v '^ *+' conftest.er1 >conftest.err
23542 cat conftest.err >&5
23543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23544 (exit $ac_status); } && {
23545 test -z "$ac_c_werror_flag" ||
23546 test ! -s conftest.err
23547 } && test -s conftest.$ac_objext; then
23548 ac_cv_type_wchar_t=yes
23550 echo "$as_me: failed program was:" >&5
23551 sed 's/^/| /' conftest.$ac_ext >&5
23553 ac_cv_type_wchar_t=no
23556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23558 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23559 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23561 # The cast to long int works around a bug in the HP C Compiler
23562 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23563 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
23564 # This bug is HP SR number 8606223364.
23565 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23566 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23567 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23568 echo $ECHO_N "(cached) $ECHO_C" >&6
23570 if test "$cross_compiling" = yes; then
23571 # Depending upon the size, compute the lo and hi bounds.
23572 cat >conftest.$ac_ext <<_ACEOF
23575 cat confdefs.h >>conftest.$ac_ext
23576 cat >>conftest.$ac_ext <<_ACEOF
23577 /* end confdefs.h. */
23579 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23580 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23581 # error "fake wchar_t"
23583 #ifdef HAVE_WCHAR_H
23585 # include <stddef.h>
23587 # include <wchar.h>
23589 #ifdef HAVE_STDLIB_H
23590 # include <stdlib.h>
23596 typedef wchar_t ac__type_sizeof_
;
23600 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
23607 rm -f conftest.
$ac_objext
23608 if { (ac_try
="$ac_compile"
23609 case "(($ac_try" in
23610 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23611 *) ac_try_echo=$ac_try;;
23613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23614 (eval "$ac_compile") 2>conftest.er1
23616 grep -v '^ *+' conftest.er1 >conftest.err
23618 cat conftest.err >&5
23619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23620 (exit $ac_status); } && {
23621 test -z "$ac_c_werror_flag" ||
23622 test ! -s conftest.err
23623 } && test -s conftest.$ac_objext; then
23626 cat >conftest.$ac_ext <<_ACEOF
23629 cat confdefs.h >>conftest.$ac_ext
23630 cat >>conftest.$ac_ext <<_ACEOF
23631 /* end confdefs.h. */
23633 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23634 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23635 # error "fake wchar_t"
23637 #ifdef HAVE_WCHAR_H
23639 # include <stddef.h>
23641 # include <wchar.h>
23643 #ifdef HAVE_STDLIB_H
23644 # include <stdlib.h>
23650 typedef wchar_t ac__type_sizeof_;
23654 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23661 rm -f conftest.$ac_objext
23662 if { (ac_try="$ac_compile"
23663 case "(($ac_try" in
23664 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23665 *) ac_try_echo
=$ac_try;;
23667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23668 (eval "$ac_compile") 2>conftest.er1
23670 grep -v '^ *+' conftest.er1
>conftest.err
23672 cat conftest.err
>&5
23673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23674 (exit $ac_status); } && {
23675 test -z "$ac_c_werror_flag" ||
23676 test ! -s conftest.err
23677 } && test -s conftest.
$ac_objext; then
23678 ac_hi
=$ac_mid; break
23680 echo "$as_me: failed program was:" >&5
23681 sed 's/^/| /' conftest.
$ac_ext >&5
23683 ac_lo
=`expr $ac_mid + 1`
23684 if test $ac_lo -le $ac_mid; then
23688 ac_mid
=`expr 2 '*' $ac_mid + 1`
23691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23694 echo "$as_me: failed program was:" >&5
23695 sed 's/^/| /' conftest.
$ac_ext >&5
23697 cat >conftest.
$ac_ext <<_ACEOF
23700 cat confdefs.h
>>conftest.
$ac_ext
23701 cat >>conftest.
$ac_ext <<_ACEOF
23702 /* end confdefs.h. */
23704 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23705 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23706 # error "fake wchar_t"
23708 #ifdef HAVE_WCHAR_H
23710 # include <stddef.h>
23712 # include <wchar.h>
23714 #ifdef HAVE_STDLIB_H
23715 # include <stdlib.h>
23721 typedef wchar_t ac__type_sizeof_;
23725 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23732 rm -f conftest.
$ac_objext
23733 if { (ac_try
="$ac_compile"
23734 case "(($ac_try" in
23735 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23736 *) ac_try_echo=$ac_try;;
23738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23739 (eval "$ac_compile") 2>conftest.er1
23741 grep -v '^ *+' conftest.er1 >conftest.err
23743 cat conftest.err >&5
23744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23745 (exit $ac_status); } && {
23746 test -z "$ac_c_werror_flag" ||
23747 test ! -s conftest.err
23748 } && test -s conftest.$ac_objext; then
23751 cat >conftest.$ac_ext <<_ACEOF
23754 cat confdefs.h >>conftest.$ac_ext
23755 cat >>conftest.$ac_ext <<_ACEOF
23756 /* end confdefs.h. */
23758 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23759 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23760 # error "fake wchar_t"
23762 #ifdef HAVE_WCHAR_H
23764 # include <stddef.h>
23766 # include <wchar.h>
23768 #ifdef HAVE_STDLIB_H
23769 # include <stdlib.h>
23775 typedef wchar_t ac__type_sizeof_;
23779 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23786 rm -f conftest.$ac_objext
23787 if { (ac_try="$ac_compile"
23788 case "(($ac_try" in
23789 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23790 *) ac_try_echo
=$ac_try;;
23792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23793 (eval "$ac_compile") 2>conftest.er1
23795 grep -v '^ *+' conftest.er1
>conftest.err
23797 cat conftest.err
>&5
23798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23799 (exit $ac_status); } && {
23800 test -z "$ac_c_werror_flag" ||
23801 test ! -s conftest.err
23802 } && test -s conftest.
$ac_objext; then
23803 ac_lo
=$ac_mid; break
23805 echo "$as_me: failed program was:" >&5
23806 sed 's/^/| /' conftest.
$ac_ext >&5
23808 ac_hi
=`expr '(' $ac_mid ')' - 1`
23809 if test $ac_mid -le $ac_hi; then
23813 ac_mid
=`expr 2 '*' $ac_mid`
23816 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23819 echo "$as_me: failed program was:" >&5
23820 sed 's/^/| /' conftest.
$ac_ext >&5
23825 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23828 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23829 # Binary search between lo and hi bounds.
23830 while test "x$ac_lo" != "x$ac_hi"; do
23831 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23832 cat >conftest.
$ac_ext <<_ACEOF
23835 cat confdefs.h
>>conftest.
$ac_ext
23836 cat >>conftest.
$ac_ext <<_ACEOF
23837 /* end confdefs.h. */
23839 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23840 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23841 # error "fake wchar_t"
23843 #ifdef HAVE_WCHAR_H
23845 # include <stddef.h>
23847 # include <wchar.h>
23849 #ifdef HAVE_STDLIB_H
23850 # include <stdlib.h>
23856 typedef wchar_t ac__type_sizeof_;
23860 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23867 rm -f conftest.
$ac_objext
23868 if { (ac_try
="$ac_compile"
23869 case "(($ac_try" in
23870 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23871 *) ac_try_echo=$ac_try;;
23873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23874 (eval "$ac_compile") 2>conftest.er1
23876 grep -v '^ *+' conftest.er1 >conftest.err
23878 cat conftest.err >&5
23879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23880 (exit $ac_status); } && {
23881 test -z "$ac_c_werror_flag" ||
23882 test ! -s conftest.err
23883 } && test -s conftest.$ac_objext; then
23886 echo "$as_me: failed program was:" >&5
23887 sed 's/^/| /' conftest.$ac_ext >&5
23889 ac_lo=`expr '(' $ac_mid ')' + 1`
23892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23895 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23896 '') if test "$ac_cv_type_wchar_t" = yes; then
23897 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23898 See \`config.log
' for more details." >&5
23899 echo "$as_me: error: cannot compute sizeof (wchar_t)
23900 See \`config.log' for more details.
" >&2;}
23901 { (exit 77); exit 77; }; }
23903 ac_cv_sizeof_wchar_t=0
23907 cat >conftest.$ac_ext <<_ACEOF
23910 cat confdefs.h >>conftest.$ac_ext
23911 cat >>conftest.$ac_ext <<_ACEOF
23912 /* end confdefs.h. */
23914 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23915 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23916 # error "fake wchar_t
"
23918 #ifdef HAVE_WCHAR_H
23920 # include <stddef.h>
23922 # include <wchar.h>
23924 #ifdef HAVE_STDLIB_H
23925 # include <stdlib.h>
23931 typedef wchar_t ac__type_sizeof_;
23932 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23933 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23935 #include <stdlib.h>
23940 FILE *f = fopen ("conftest.val
", "w
");
23943 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23945 long int i = longval ();
23946 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23948 fprintf (f, "%ld
\n", i);
23952 unsigned long int i = ulongval ();
23953 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23955 fprintf (f, "%lu
\n", i);
23957 return ferror (f) || fclose (f) != 0;
23963 rm -f conftest$ac_exeext
23964 if { (ac_try="$ac_link"
23965 case "(($ac_try" in
23966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23967 *) ac_try_echo=$ac_try;;
23969 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23970 (eval "$ac_link") 2>&5
23972 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23973 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23974 { (case "(($ac_try" in
23975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23976 *) ac_try_echo=$ac_try;;
23978 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23979 (eval "$ac_try") 2>&5
23981 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23982 (exit $ac_status); }; }; then
23983 ac_cv_sizeof_wchar_t=`cat conftest.val`
23985 echo "$as_me: program exited with status
$ac_status" >&5
23986 echo "$as_me: failed program was
:" >&5
23987 sed 's/^/| /' conftest.$ac_ext >&5
23989 ( exit $ac_status )
23990 if test "$ac_cv_type_wchar_t" = yes; then
23991 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
23992 See \
`config.log' for more details." >&5
23993 echo "$as_me: error: cannot compute sizeof (wchar_t)
23994 See \`config.log
' for more details." >&2;}
23995 { (exit 77); exit 77; }; }
23997 ac_cv_sizeof_wchar_t=0
24000 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24004 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24005 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24009 cat >>confdefs.h <<_ACEOF
24010 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24014 if test "$ac_cv_sizeof_wchar_t" = 0; then
24015 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24016 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24017 { (exit 1); exit 1; }; }
24019 cat >>confdefs.h <<\_ACEOF
24020 #define wxUSE_WCHAR_T 1
24024 { echo "$as_me:$LINENO: checking for va_copy" >&5
24025 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24026 if test "${wx_cv_func_va_copy+set}" = set; then
24027 echo $ECHO_N "(cached) $ECHO_C" >&6
24031 ac_cpp='$CXXCPP $CPPFLAGS'
24032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24033 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24036 cat >conftest.$ac_ext <<_ACEOF
24038 #include <stdarg.h>
24039 void foo(char *f, ...)
24053 rm -f conftest.$ac_objext conftest$ac_exeext
24054 if { (ac_try="$ac_link"
24055 case "(($ac_try" in
24056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24057 *) ac_try_echo=$ac_try;;
24059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24060 (eval "$ac_link") 2>conftest.er1
24062 grep -v '^
*+' conftest.er1 >conftest.err
24064 cat conftest.err >&5
24065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24066 (exit $ac_status); } && {
24067 test -z "$ac_cxx_werror_flag" ||
24068 test ! -s conftest.err
24069 } && test -s conftest$ac_exeext &&
24070 $as_test_x conftest$ac_exeext; then
24071 wx_cv_func_va_copy=yes
24073 echo "$as_me: failed program was:" >&5
24074 sed 's
/^
/| /' conftest.$ac_ext >&5
24076 wx_cv_func_va_copy=no
24080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24081 conftest$ac_exeext conftest.$ac_ext
24083 ac_cpp='$CPP $CPPFLAGS'
24084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24085 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24091 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24092 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24094 if test $wx_cv_func_va_copy = "yes"; then
24095 cat >>confdefs.h <<\_ACEOF
24096 #define HAVE_VA_COPY 1
24100 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24101 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24102 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24103 echo $ECHO_N "(cached) $ECHO_C" >&6
24106 if test "$cross_compiling" = yes; then
24107 wx_cv_type_va_list_lvalue=yes
24110 cat >conftest.$ac_ext <<_ACEOF
24112 #include <stdarg.h>
24113 int foo(char *f, ...)
24118 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24126 return foo("hi", 17);
24129 rm -f conftest$ac_exeext
24130 if { (ac_try="$ac_link"
24131 case "(($ac_try" in
24132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24133 *) ac_try_echo=$ac_try;;
24135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24136 (eval "$ac_link") 2>&5
24138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24139 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24140 { (case "(($ac_try" in
24141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24142 *) ac_try_echo=$ac_try;;
24144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24145 (eval "$ac_try") 2>&5
24147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24148 (exit $ac_status); }; }; then
24149 wx_cv_type_va_list_lvalue=yes
24151 echo "$as_me: program exited with status $ac_status" >&5
24152 echo "$as_me: failed program was:" >&5
24153 sed 's
/^
/| /' conftest.$ac_ext >&5
24155 ( exit $ac_status )
24156 wx_cv_type_va_list_lvalue=no
24158 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24165 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24166 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24168 if test $wx_cv_type_va_list_lvalue != "yes"; then
24169 cat >>confdefs.h <<\_ACEOF
24170 #define VA_LIST_IS_ARRAY 1
24176 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24178 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24179 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24180 if test "${wx_cv_have_variadic_macros+set}" = set; then
24181 echo $ECHO_N "(cached) $ECHO_C" >&6
24185 ac_cpp='$CXXCPP $CPPFLAGS'
24186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24187 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24190 cat >conftest.$ac_ext <<_ACEOF
24193 cat confdefs.h >>conftest.$ac_ext
24194 cat >>conftest.$ac_ext <<_ACEOF
24195 /* end confdefs.h. */
24198 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24204 test("%s %d %p", "test", 1, 0);
24211 rm -f conftest.$ac_objext
24212 if { (ac_try="$ac_compile"
24213 case "(($ac_try" in
24214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24215 *) ac_try_echo=$ac_try;;
24217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24218 (eval "$ac_compile") 2>conftest.er1
24220 grep -v '^
*+' conftest.er1 >conftest.err
24222 cat conftest.err >&5
24223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24224 (exit $ac_status); } && {
24225 test -z "$ac_cxx_werror_flag" ||
24226 test ! -s conftest.err
24227 } && test -s conftest.$ac_objext; then
24228 wx_cv_have_variadic_macros=yes
24230 echo "$as_me: failed program was:" >&5
24231 sed 's
/^
/| /' conftest.$ac_ext >&5
24233 wx_cv_have_variadic_macros=no
24237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24239 ac_cpp='$CPP $CPPFLAGS'
24240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24241 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24247 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24248 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24250 if test $wx_cv_have_variadic_macros = "yes"; then
24251 cat >>confdefs.h <<\_ACEOF
24252 #define HAVE_VARIADIC_MACROS 1
24259 LARGEFILE_CPPFLAGS=
24260 # Check whether --enable-largefile was given.
24261 if test "${enable_largefile+set}" = set; then
24262 enableval=$enable_largefile;
24265 if test "$enable_largefile" != no; then
24268 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24269 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24270 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24271 echo $ECHO_N "(cached) $ECHO_C" >&6
24274 cat >conftest.$ac_ext <<_ACEOF
24277 cat confdefs.h >>conftest.$ac_ext
24278 cat >>conftest.$ac_ext <<_ACEOF
24279 /* end confdefs.h. */
24280 #define _FILE_OFFSET_BITS 64
24281 #include <sys/types.h>
24286 unsigned int field: sizeof(off_t) == 8;
24293 rm -f conftest.$ac_objext
24294 if { (ac_try="$ac_compile"
24295 case "(($ac_try" in
24296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24297 *) ac_try_echo=$ac_try;;
24299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24300 (eval "$ac_compile") 2>conftest.er1
24302 grep -v '^
*+' conftest.er1 >conftest.err
24304 cat conftest.err >&5
24305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24306 (exit $ac_status); } && {
24307 test -z "$ac_c_werror_flag" ||
24308 test ! -s conftest.err
24309 } && test -s conftest.$ac_objext; then
24310 ac_cv_sys_file_offset_bits=64
24312 echo "$as_me: failed program was:" >&5
24313 sed 's
/^
/| /' conftest.$ac_ext >&5
24315 ac_cv_sys_file_offset_bits=no
24318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24322 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24323 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24325 if test "$ac_cv_sys_file_offset_bits" != no; then
24327 cat >>confdefs.h <<_ACEOF
24328 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24333 if test "x$wx_largefile" != "xyes"; then
24335 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24336 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24337 if test "${ac_cv_sys_large_files+set}" = set; then
24338 echo $ECHO_N "(cached) $ECHO_C" >&6
24341 cat >conftest.$ac_ext <<_ACEOF
24344 cat confdefs.h >>conftest.$ac_ext
24345 cat >>conftest.$ac_ext <<_ACEOF
24346 /* end confdefs.h. */
24347 #define _LARGE_FILES 1
24348 #include <sys/types.h>
24353 unsigned int field: sizeof(off_t) == 8;
24360 rm -f conftest.$ac_objext
24361 if { (ac_try="$ac_compile"
24362 case "(($ac_try" in
24363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24364 *) ac_try_echo=$ac_try;;
24366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24367 (eval "$ac_compile") 2>conftest.er1
24369 grep -v '^
*+' conftest.er1 >conftest.err
24371 cat conftest.err >&5
24372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24373 (exit $ac_status); } && {
24374 test -z "$ac_c_werror_flag" ||
24375 test ! -s conftest.err
24376 } && test -s conftest.$ac_objext; then
24377 ac_cv_sys_large_files=1
24379 echo "$as_me: failed program was:" >&5
24380 sed 's
/^
/| /' conftest.$ac_ext >&5
24382 ac_cv_sys_large_files=no
24385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24389 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24390 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24392 if test "$ac_cv_sys_large_files" != no; then
24394 cat >>confdefs.h <<_ACEOF
24395 #define _LARGE_FILES $ac_cv_sys_large_files
24402 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24403 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24404 if test "x$wx_largefile" = "xyes"; then
24405 cat >>confdefs.h <<\_ACEOF
24406 #define HAVE_LARGEFILE_SUPPORT 1
24410 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24411 echo "${ECHO_T}$wx_largefile" >&6; }
24414 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24415 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24416 elif test "$ac_cv_sys_large_files" = 1; then
24417 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24420 if test -n "$LARGEFILE_CPPFLAGS"; then
24421 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24423 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24424 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24425 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24426 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24427 echo $ECHO_N "(cached) $ECHO_C" >&6
24431 ac_cpp='$CXXCPP $CPPFLAGS'
24432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24433 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24436 cat >conftest.$ac_ext <<_ACEOF
24439 cat confdefs.h >>conftest.$ac_ext
24440 cat >>conftest.$ac_ext <<_ACEOF
24441 /* end confdefs.h. */
24447 #ifndef __STDC_EXT__
24455 rm -f conftest.$ac_objext
24456 if { (ac_try="$ac_compile"
24457 case "(($ac_try" in
24458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24459 *) ac_try_echo=$ac_try;;
24461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24462 (eval "$ac_compile") 2>conftest.er1
24464 grep -v '^
*+' conftest.er1 >conftest.err
24466 cat conftest.err >&5
24467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24468 (exit $ac_status); } && {
24469 test -z "$ac_cxx_werror_flag" ||
24470 test ! -s conftest.err
24471 } && test -s conftest.$ac_objext; then
24472 wx_cv_STDC_EXT_required=no
24474 echo "$as_me: failed program was:" >&5
24475 sed 's
/^
/| /' conftest.$ac_ext >&5
24477 wx_cv_STDC_EXT_required=yes
24481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24483 ac_cpp='$CPP $CPPFLAGS'
24484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24485 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24491 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24492 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24493 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24494 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24500 ac_cpp='$CXXCPP $CPPFLAGS'
24501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24502 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24505 old_CPPFLAGS="$CPPFLAGS"
24506 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24507 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24508 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24509 if test "${ac_cv_sys_largefile_source+set}" = set; then
24510 echo $ECHO_N "(cached) $ECHO_C" >&6
24513 cat >conftest.$ac_ext <<_ACEOF
24516 cat confdefs.h >>conftest.$ac_ext
24517 cat >>conftest.$ac_ext <<_ACEOF
24518 /* end confdefs.h. */
24519 #include <sys/types.h> /* for off_t */
24524 int (*fp) (FILE *, off_t, int) = fseeko;
24525 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24530 rm -f conftest.$ac_objext conftest$ac_exeext
24531 if { (ac_try="$ac_link"
24532 case "(($ac_try" in
24533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24534 *) ac_try_echo=$ac_try;;
24536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24537 (eval "$ac_link") 2>conftest.er1
24539 grep -v '^
*+' conftest.er1 >conftest.err
24541 cat conftest.err >&5
24542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24543 (exit $ac_status); } && {
24544 test -z "$ac_cxx_werror_flag" ||
24545 test ! -s conftest.err
24546 } && test -s conftest$ac_exeext &&
24547 $as_test_x conftest$ac_exeext; then
24548 ac_cv_sys_largefile_source=no; break
24550 echo "$as_me: failed program was:" >&5
24551 sed 's
/^
/| /' conftest.$ac_ext >&5
24556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24557 conftest$ac_exeext conftest.$ac_ext
24558 cat >conftest.$ac_ext <<_ACEOF
24561 cat confdefs.h >>conftest.$ac_ext
24562 cat >>conftest.$ac_ext <<_ACEOF
24563 /* end confdefs.h. */
24564 #define _LARGEFILE_SOURCE 1
24565 #include <sys/types.h> /* for off_t */
24570 int (*fp) (FILE *, off_t, int) = fseeko;
24571 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24576 rm -f conftest.$ac_objext conftest$ac_exeext
24577 if { (ac_try="$ac_link"
24578 case "(($ac_try" in
24579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24580 *) ac_try_echo=$ac_try;;
24582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24583 (eval "$ac_link") 2>conftest.er1
24585 grep -v '^
*+' conftest.er1 >conftest.err
24587 cat conftest.err >&5
24588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24589 (exit $ac_status); } && {
24590 test -z "$ac_cxx_werror_flag" ||
24591 test ! -s conftest.err
24592 } && test -s conftest$ac_exeext &&
24593 $as_test_x conftest$ac_exeext; then
24594 ac_cv_sys_largefile_source=1; break
24596 echo "$as_me: failed program was:" >&5
24597 sed 's
/^
/| /' conftest.$ac_ext >&5
24602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24603 conftest$ac_exeext conftest.$ac_ext
24604 ac_cv_sys_largefile_source=unknown
24608 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24609 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24610 case $ac_cv_sys_largefile_source in #(
24613 cat >>confdefs.h <<_ACEOF
24614 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24620 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24621 # in glibc 2.1.3, but that breaks too many other things.
24622 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24623 if test $ac_cv_sys_largefile_source != unknown; then
24625 cat >>confdefs.h <<\_ACEOF
24626 #define HAVE_FSEEKO 1
24631 CPPFLAGS="$old_CPPFLAGS"
24633 ac_cpp='$CPP $CPPFLAGS'
24634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24635 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24638 if test "$ac_cv_sys_largefile_source" != no; then
24639 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24642 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24643 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24644 if test "${ac_cv_c_bigendian+set}" = set; then
24645 echo $ECHO_N "(cached) $ECHO_C" >&6
24647 ac_cv_c_bigendian=unknown
24648 # See if sys/param.h defines the BYTE_ORDER macro.
24649 cat >conftest.$ac_ext <<_ACEOF
24652 cat confdefs.h >>conftest.$ac_ext
24653 cat >>conftest.$ac_ext <<_ACEOF
24654 /* end confdefs.h. */
24655 #include <sys/types.h>
24656 #include <sys/param.h>
24661 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24662 bogus endian macros
24668 rm -f conftest.$ac_objext
24669 if { (ac_try="$ac_compile"
24670 case "(($ac_try" in
24671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24672 *) ac_try_echo=$ac_try;;
24674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24675 (eval "$ac_compile") 2>conftest.er1
24677 grep -v '^
*+' conftest.er1 >conftest.err
24679 cat conftest.err >&5
24680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24681 (exit $ac_status); } && {
24682 test -z "$ac_c_werror_flag" ||
24683 test ! -s conftest.err
24684 } && test -s conftest.$ac_objext; then
24685 # It does; now see whether it defined to BIG_ENDIAN or not.
24686 cat >conftest.$ac_ext <<_ACEOF
24689 cat confdefs.h >>conftest.$ac_ext
24690 cat >>conftest.$ac_ext <<_ACEOF
24691 /* end confdefs.h. */
24692 #include <sys/types.h>
24693 #include <sys/param.h>
24698 #if BYTE_ORDER != BIG_ENDIAN
24705 rm -f conftest.$ac_objext
24706 if { (ac_try="$ac_compile"
24707 case "(($ac_try" in
24708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24709 *) ac_try_echo=$ac_try;;
24711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24712 (eval "$ac_compile") 2>conftest.er1
24714 grep -v '^
*+' conftest.er1 >conftest.err
24716 cat conftest.err >&5
24717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24718 (exit $ac_status); } && {
24719 test -z "$ac_c_werror_flag" ||
24720 test ! -s conftest.err
24721 } && test -s conftest.$ac_objext; then
24722 ac_cv_c_bigendian=yes
24724 echo "$as_me: failed program was:" >&5
24725 sed 's
/^
/| /' conftest.$ac_ext >&5
24727 ac_cv_c_bigendian=no
24730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24732 echo "$as_me: failed program was:" >&5
24733 sed 's
/^
/| /' conftest.$ac_ext >&5
24738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24739 if test $ac_cv_c_bigendian = unknown; then
24740 if test "$cross_compiling" = yes; then
24741 ac_cv_c_bigendian=unknown
24743 cat >conftest.$ac_ext <<_ACEOF
24746 cat confdefs.h >>conftest.$ac_ext
24747 cat >>conftest.$ac_ext <<_ACEOF
24748 /* end confdefs.h. */
24750 /* Are we little or big endian? From Harbison&Steele. */
24754 char c[sizeof (long)];
24757 exit (u.c[sizeof (long) - 1] == 1);
24760 rm -f conftest$ac_exeext
24761 if { (ac_try="$ac_link"
24762 case "(($ac_try" in
24763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24764 *) ac_try_echo=$ac_try;;
24766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24767 (eval "$ac_link") 2>&5
24769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24770 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24771 { (case "(($ac_try" in
24772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24773 *) ac_try_echo=$ac_try;;
24775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24776 (eval "$ac_try") 2>&5
24778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24779 (exit $ac_status); }; }; then
24780 ac_cv_c_bigendian=no
24782 echo "$as_me: program exited with status $ac_status" >&5
24783 echo "$as_me: failed program was:" >&5
24784 sed 's
/^
/| /' conftest.$ac_ext >&5
24786 ( exit $ac_status )
24787 ac_cv_c_bigendian=yes
24789 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24795 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24796 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24797 if test $ac_cv_c_bigendian = unknown; then
24798 { 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
24799 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;}
24801 if test $ac_cv_c_bigendian = yes; then
24802 cat >>confdefs.h <<\_ACEOF
24803 #define WORDS_BIGENDIAN 1
24812 ac_cpp='$CXXCPP $CPPFLAGS'
24813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24814 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24819 for ac_header in iostream
24821 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24822 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24824 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24825 echo $ECHO_N "(cached) $ECHO_C" >&6
24827 cat >conftest.$ac_ext <<_ACEOF
24830 cat confdefs.h >>conftest.$ac_ext
24831 cat >>conftest.$ac_ext <<_ACEOF
24832 /* end confdefs.h. */
24835 #include <$ac_header>
24837 rm -f conftest.$ac_objext
24838 if { (ac_try="$ac_compile"
24839 case "(($ac_try" in
24840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24841 *) ac_try_echo=$ac_try;;
24843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24844 (eval "$ac_compile") 2>conftest.er1
24846 grep -v '^
*+' conftest.er1 >conftest.err
24848 cat conftest.err >&5
24849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24850 (exit $ac_status); } && {
24851 test -z "$ac_cxx_werror_flag" ||
24852 test ! -s conftest.err
24853 } && test -s conftest.$ac_objext; then
24854 eval "$as_ac_Header=yes"
24856 echo "$as_me: failed program was:" >&5
24857 sed 's
/^
/| /' conftest.$ac_ext >&5
24859 eval "$as_ac_Header=no"
24862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24864 ac_res=`eval echo '${'$as_ac_Header'}'`
24865 { echo "$as_me:$LINENO: result: $ac_res" >&5
24866 echo "${ECHO_T}$ac_res" >&6; }
24867 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24868 cat >>confdefs.h <<_ACEOF
24869 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24877 if test "$ac_cv_header_iostream" = "yes" ; then
24880 cat >>confdefs.h <<\_ACEOF
24881 #define wxUSE_IOSTREAMH 1
24887 ac_cpp='$CPP $CPPFLAGS'
24888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24889 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24895 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24896 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24897 if test "${wx_cv_explicit+set}" = set; then
24898 echo $ECHO_N "(cached) $ECHO_C" >&6
24903 ac_cpp='$CXXCPP $CPPFLAGS'
24904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24905 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24909 cat >conftest.$ac_ext <<_ACEOF
24912 cat confdefs.h >>conftest.$ac_ext
24913 cat >>conftest.$ac_ext <<_ACEOF
24914 /* end confdefs.h. */
24916 class Foo { public: explicit Foo(int) {} };
24928 rm -f conftest.$ac_objext
24929 if { (ac_try="$ac_compile"
24930 case "(($ac_try" in
24931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24932 *) ac_try_echo=$ac_try;;
24934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24935 (eval "$ac_compile") 2>conftest.er1
24937 grep -v '^
*+' conftest.er1 >conftest.err
24939 cat conftest.err >&5
24940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24941 (exit $ac_status); } && {
24942 test -z "$ac_cxx_werror_flag" ||
24943 test ! -s conftest.err
24944 } && test -s conftest.$ac_objext; then
24946 cat >conftest.$ac_ext <<_ACEOF
24949 cat confdefs.h >>conftest.$ac_ext
24950 cat >>conftest.$ac_ext <<_ACEOF
24951 /* end confdefs.h. */
24953 class Foo { public: explicit Foo(int) {} };
24954 static void TakeFoo(const Foo& foo) { }
24967 rm -f conftest.$ac_objext
24968 if { (ac_try="$ac_compile"
24969 case "(($ac_try" in
24970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24971 *) ac_try_echo=$ac_try;;
24973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24974 (eval "$ac_compile") 2>conftest.er1
24976 grep -v '^
*+' conftest.er1 >conftest.err
24978 cat conftest.err >&5
24979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24980 (exit $ac_status); } && {
24981 test -z "$ac_cxx_werror_flag" ||
24982 test ! -s conftest.err
24983 } && test -s conftest.$ac_objext; then
24986 echo "$as_me: failed program was:" >&5
24987 sed 's
/^
/| /' conftest.$ac_ext >&5
24993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24996 echo "$as_me: failed program was:" >&5
24997 sed 's
/^
/| /' conftest.$ac_ext >&5
25003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25006 ac_cpp='$CPP $CPPFLAGS'
25007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25008 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25013 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25014 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25016 if test "$wx_cv_explicit" = "yes"; then
25017 cat >>confdefs.h <<\_ACEOF
25018 #define HAVE_EXPLICIT 1
25024 if test "x$SUNCXX" = xyes; then
25025 CXXFLAGS="-features=tmplife $CXXFLAGS"
25028 if test "x$SUNCC" = xyes; then
25029 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25032 if test "x$SGICC" = "xyes"; then
25033 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25034 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25035 if test "${wx_cv_prog_sgicc744+set}" = set; then
25036 echo $ECHO_N "(cached) $ECHO_C" >&6
25039 cat >conftest.$ac_ext <<_ACEOF
25042 cat confdefs.h >>conftest.$ac_ext
25043 cat >>conftest.$ac_ext <<_ACEOF
25044 /* end confdefs.h. */
25050 #if _SGI_COMPILER_VERSION >= 744
25051 chock me: mipsPro is 7.4.4 or later
25058 rm -f conftest.$ac_objext
25059 if { (ac_try="$ac_compile"
25060 case "(($ac_try" in
25061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25062 *) ac_try_echo=$ac_try;;
25064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25065 (eval "$ac_compile") 2>conftest.er1
25067 grep -v '^
*+' conftest.er1 >conftest.err
25069 cat conftest.err >&5
25070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25071 (exit $ac_status); } && {
25072 test -z "$ac_c_werror_flag" ||
25073 test ! -s conftest.err
25074 } && test -s conftest.$ac_objext; then
25075 wx_cv_prog_sgicc744=no
25077 echo "$as_me: failed program was:" >&5
25078 sed 's
/^
/| /' conftest.$ac_ext >&5
25080 wx_cv_prog_sgicc744=yes
25084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25088 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25089 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25091 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25092 CFLAGS="-woff 3970 $CFLAGS"
25095 if test "x$SGICXX" = "xyes"; then
25096 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25097 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25098 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25099 echo $ECHO_N "(cached) $ECHO_C" >&6
25103 ac_cpp='$CXXCPP $CPPFLAGS'
25104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25105 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25108 cat >conftest.$ac_ext <<_ACEOF
25111 cat confdefs.h >>conftest.$ac_ext
25112 cat >>conftest.$ac_ext <<_ACEOF
25113 /* end confdefs.h. */
25119 #if _SGI_COMPILER_VERSION >= 744
25120 chock me: mipsPro is 7.4.4 or later
25127 rm -f conftest.$ac_objext
25128 if { (ac_try="$ac_compile"
25129 case "(($ac_try" in
25130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25131 *) ac_try_echo=$ac_try;;
25133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25134 (eval "$ac_compile") 2>conftest.er1
25136 grep -v '^
*+' conftest.er1 >conftest.err
25138 cat conftest.err >&5
25139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25140 (exit $ac_status); } && {
25141 test -z "$ac_cxx_werror_flag" ||
25142 test ! -s conftest.err
25143 } && test -s conftest.$ac_objext; then
25144 wx_cv_prog_sgicxx744=no
25146 echo "$as_me: failed program was:" >&5
25147 sed 's
/^
/| /' conftest.$ac_ext >&5
25149 wx_cv_prog_sgicxx744=yes
25153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25155 ac_cpp='$CPP $CPPFLAGS'
25156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25157 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25163 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25164 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25166 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25167 CXXFLAGS="-woff 3970 $CXXFLAGS"
25171 if test "x$HPCC" = "xyes"; then
25172 CFLAGS="+W 2011,2450 $CFLAGS"
25174 if test "x$HPCXX" = "xyes"; then
25175 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25178 if test "x$COMPAQCXX" = "xyes"; then
25179 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25183 ac_cpp='$CXXCPP $CPPFLAGS'
25184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25185 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25189 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25190 if test "$wxUSE_UNICODE" = "yes"; then
25191 std_string="std::wstring"
25192 char_type="wchar_t"
25194 std_string="std::string"
25198 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25199 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25200 if test "${wx_cv_class_stdstring+set}" = set; then
25201 echo $ECHO_N "(cached) $ECHO_C" >&6
25204 cat >conftest.$ac_ext <<_ACEOF
25207 cat confdefs.h >>conftest.$ac_ext
25208 cat >>conftest.$ac_ext <<_ACEOF
25209 /* end confdefs.h. */
25219 rm -f conftest.$ac_objext
25220 if { (ac_try="$ac_compile"
25221 case "(($ac_try" in
25222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25223 *) ac_try_echo=$ac_try;;
25225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25226 (eval "$ac_compile") 2>conftest.er1
25228 grep -v '^
*+' conftest.er1 >conftest.err
25230 cat conftest.err >&5
25231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25232 (exit $ac_status); } && {
25233 test -z "$ac_cxx_werror_flag" ||
25234 test ! -s conftest.err
25235 } && test -s conftest.$ac_objext; then
25236 wx_cv_class_stdstring=yes
25238 echo "$as_me: failed program was:" >&5
25239 sed 's
/^
/| /' conftest.$ac_ext >&5
25241 wx_cv_class_stdstring=no
25245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25249 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25250 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25252 if test "$wx_cv_class_stdstring" = yes; then
25253 if test "$wxUSE_UNICODE" = "yes"; then
25254 cat >>confdefs.h <<\_ACEOF
25255 #define HAVE_STD_WSTRING 1
25260 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25261 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25262 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25263 echo $ECHO_N "(cached) $ECHO_C" >&6
25266 cat >conftest.$ac_ext <<_ACEOF
25269 cat confdefs.h >>conftest.$ac_ext
25270 cat >>conftest.$ac_ext <<_ACEOF
25271 /* end confdefs.h. */
25273 #ifdef HAVE_WCHAR_H
25275 # include <stddef.h>
25277 # include <wchar.h>
25279 #ifdef HAVE_STDLIB_H
25280 # include <stdlib.h>
25288 std::basic_string<$char_type> foo;
25289 const $char_type* dummy = foo.c_str();
25294 rm -f conftest.$ac_objext
25295 if { (ac_try="$ac_compile"
25296 case "(($ac_try" in
25297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25298 *) ac_try_echo=$ac_try;;
25300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25301 (eval "$ac_compile") 2>conftest.er1
25303 grep -v '^
*+' conftest.er1 >conftest.err
25305 cat conftest.err >&5
25306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25307 (exit $ac_status); } && {
25308 test -z "$ac_cxx_werror_flag" ||
25309 test ! -s conftest.err
25310 } && test -s conftest.$ac_objext; then
25311 wx_cv_class_stdbasicstring=yes
25313 echo "$as_me: failed program was:" >&5
25314 sed 's
/^
/| /' conftest.$ac_ext >&5
25316 wx_cv_class_stdbasicstring=no
25320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25324 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25325 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25327 if test "$wx_cv_class_stdbasicstring" != yes; then
25328 if test "$wxUSE_STL" = "yes"; then
25329 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
25330 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25331 { (exit 1); exit 1; }; }
25332 elif test "$wxUSE_STD_STRING" = "yes"; then
25333 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
25334 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25335 { (exit 1); exit 1; }; }
25337 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25338 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25339 wxUSE_STD_STRING=no
25345 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25346 { echo "$as_me:$LINENO: checking for std::istream" >&5
25347 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25348 if test "${ac_cv_type_std__istream+set}" = set; then
25349 echo $ECHO_N "(cached) $ECHO_C" >&6
25351 cat >conftest.$ac_ext <<_ACEOF
25354 cat confdefs.h >>conftest.$ac_ext
25355 cat >>conftest.$ac_ext <<_ACEOF
25356 /* end confdefs.h. */
25357 #include <iostream>
25359 typedef std::istream ac__type_new_;
25363 if ((ac__type_new_ *) 0)
25365 if (sizeof (ac__type_new_))
25371 rm -f conftest.$ac_objext
25372 if { (ac_try="$ac_compile"
25373 case "(($ac_try" in
25374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25375 *) ac_try_echo=$ac_try;;
25377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25378 (eval "$ac_compile") 2>conftest.er1
25380 grep -v '^
*+' conftest.er1 >conftest.err
25382 cat conftest.err >&5
25383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25384 (exit $ac_status); } && {
25385 test -z "$ac_cxx_werror_flag" ||
25386 test ! -s conftest.err
25387 } && test -s conftest.$ac_objext; then
25388 ac_cv_type_std__istream=yes
25390 echo "$as_me: failed program was:" >&5
25391 sed 's
/^
/| /' conftest.$ac_ext >&5
25393 ac_cv_type_std__istream=no
25396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25398 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25399 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25400 if test $ac_cv_type_std__istream = yes; then
25402 cat >>confdefs.h <<_ACEOF
25403 #define HAVE_STD__ISTREAM 1
25408 wxUSE_STD_IOSTREAM=no
25410 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25411 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25412 if test "${ac_cv_type_std__ostream+set}" = set; then
25413 echo $ECHO_N "(cached) $ECHO_C" >&6
25415 cat >conftest.$ac_ext <<_ACEOF
25418 cat confdefs.h >>conftest.$ac_ext
25419 cat >>conftest.$ac_ext <<_ACEOF
25420 /* end confdefs.h. */
25421 #include <iostream>
25423 typedef std::ostream ac__type_new_;
25427 if ((ac__type_new_ *) 0)
25429 if (sizeof (ac__type_new_))
25435 rm -f conftest.$ac_objext
25436 if { (ac_try="$ac_compile"
25437 case "(($ac_try" in
25438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25439 *) ac_try_echo=$ac_try;;
25441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25442 (eval "$ac_compile") 2>conftest.er1
25444 grep -v '^
*+' conftest.er1 >conftest.err
25446 cat conftest.err >&5
25447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25448 (exit $ac_status); } && {
25449 test -z "$ac_cxx_werror_flag" ||
25450 test ! -s conftest.err
25451 } && test -s conftest.$ac_objext; then
25452 ac_cv_type_std__ostream=yes
25454 echo "$as_me: failed program was:" >&5
25455 sed 's
/^
/| /' conftest.$ac_ext >&5
25457 ac_cv_type_std__ostream=no
25460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25462 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25463 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25464 if test $ac_cv_type_std__ostream = yes; then
25466 cat >>confdefs.h <<_ACEOF
25467 #define HAVE_STD__OSTREAM 1
25472 wxUSE_STD_IOSTREAM=no
25476 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25477 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25478 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
25479 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25480 { (exit 1); exit 1; }; }
25482 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25483 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25488 if test "$wxUSE_STL" = "yes"; then
25489 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25490 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25491 if test "${wx_cv_lib_stl+set}" = set; then
25492 echo $ECHO_N "(cached) $ECHO_C" >&6
25494 cat >conftest.$ac_ext <<_ACEOF
25497 cat confdefs.h >>conftest.$ac_ext
25498 cat >>conftest.$ac_ext <<_ACEOF
25499 /* end confdefs.h. */
25501 #include <functional>
25502 #include <algorithm>
25508 std::vector<int> moo;
25509 std::list<int> foo;
25510 std::vector<int>::iterator it =
25511 std::find_if(moo.begin(), moo.end(),
25512 std::bind2nd(std::less<int>(), 3));
25517 rm -f conftest.$ac_objext
25518 if { (ac_try="$ac_compile"
25519 case "(($ac_try" in
25520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25521 *) ac_try_echo=$ac_try;;
25523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25524 (eval "$ac_compile") 2>conftest.er1
25526 grep -v '^
*+' conftest.er1 >conftest.err
25528 cat conftest.err >&5
25529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25530 (exit $ac_status); } && {
25531 test -z "$ac_cxx_werror_flag" ||
25532 test ! -s conftest.err
25533 } && test -s conftest.$ac_objext; then
25536 echo "$as_me: failed program was:" >&5
25537 sed 's
/^
/| /' conftest.$ac_ext >&5
25543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25546 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25547 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25549 if test "$wx_cv_lib_stl" != yes; then
25550 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
25551 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
25552 { (exit 1); exit 1; }; }
25555 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25556 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25557 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25558 echo $ECHO_N "(cached) $ECHO_C" >&6
25560 cat >conftest.$ac_ext <<_ACEOF
25563 cat confdefs.h >>conftest.$ac_ext
25564 cat >>conftest.$ac_ext <<_ACEOF
25565 /* end confdefs.h. */
25570 std::string foo, bar;
25572 foo.compare(1, 1, bar);
25573 foo.compare(1, 1, bar, 1, 1);
25575 foo.compare(1, 1, "");
25576 foo.compare(1, 1, "", 2);
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_func_stdstring_compare=yes
25600 echo "$as_me: failed program was:" >&5
25601 sed 's
/^
/| /' conftest.$ac_ext >&5
25603 wx_cv_func_stdstring_compare=no
25607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25610 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25611 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25613 if test "$wx_cv_func_stdstring_compare" = yes; then
25614 cat >>confdefs.h <<\_ACEOF
25615 #define HAVE_STD_STRING_COMPARE 1
25620 if test "$wx_cv_class_gnuhashmapset" = yes; then
25621 cat >>confdefs.h <<\_ACEOF
25622 #define HAVE_EXT_HASH_MAP 1
25625 cat >>confdefs.h <<\_ACEOF
25626 #define HAVE_GNU_CXX_HASH_MAP 1
25631 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25632 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25633 if test "${ac_cv_header_unordered_map+set}" = set; then
25634 echo $ECHO_N "(cached) $ECHO_C" >&6
25636 cat >conftest.$ac_ext <<_ACEOF
25639 cat confdefs.h >>conftest.$ac_ext
25640 cat >>conftest.$ac_ext <<_ACEOF
25641 /* end confdefs.h. */
25645 #include <unordered_map>
25647 rm -f conftest.$ac_objext
25648 if { (ac_try="$ac_compile"
25649 case "(($ac_try" in
25650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25651 *) ac_try_echo=$ac_try;;
25653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25654 (eval "$ac_compile") 2>conftest.er1
25656 grep -v '^
*+' conftest.er1 >conftest.err
25658 cat conftest.err >&5
25659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25660 (exit $ac_status); } && {
25661 test -z "$ac_cxx_werror_flag" ||
25662 test ! -s conftest.err
25663 } && test -s conftest.$ac_objext; then
25664 ac_cv_header_unordered_map=yes
25666 echo "$as_me: failed program was:" >&5
25667 sed 's
/^
/| /' conftest.$ac_ext >&5
25669 ac_cv_header_unordered_map=no
25672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25674 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25675 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25676 if test $ac_cv_header_unordered_map = yes; then
25677 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25678 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25679 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25680 echo $ECHO_N "(cached) $ECHO_C" >&6
25682 cat >conftest.$ac_ext <<_ACEOF
25685 cat confdefs.h >>conftest.$ac_ext
25686 cat >>conftest.$ac_ext <<_ACEOF
25687 /* end confdefs.h. */
25688 #include <unordered_map>
25689 #include <unordered_set>
25693 std::unordered_map<double*, char*> test1;
25694 std::unordered_set<char*> test2;
25699 rm -f conftest.$ac_objext
25700 if { (ac_try="$ac_compile"
25701 case "(($ac_try" in
25702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25703 *) ac_try_echo=$ac_try;;
25705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25706 (eval "$ac_compile") 2>conftest.er1
25708 grep -v '^
*+' conftest.er1 >conftest.err
25710 cat conftest.err >&5
25711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25712 (exit $ac_status); } && {
25713 test -z "$ac_cxx_werror_flag" ||
25714 test ! -s conftest.err
25715 } && test -s conftest.$ac_objext; then
25716 wx_cv_class_stdunorderedmapset=yes
25718 echo "$as_me: failed program was:" >&5
25719 sed 's
/^
/| /' conftest.$ac_ext >&5
25721 wx_cv_class_stdunorderedmapset=no
25724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25728 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25729 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25734 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25735 cat >>confdefs.h <<\_ACEOF
25736 #define HAVE_STD_UNORDERED_MAP 1
25739 cat >>confdefs.h <<\_ACEOF
25740 #define HAVE_STD_UNORDERED_SET 1
25744 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25745 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25746 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25747 echo $ECHO_N "(cached) $ECHO_C" >&6
25749 cat >conftest.$ac_ext <<_ACEOF
25752 cat confdefs.h >>conftest.$ac_ext
25753 cat >>conftest.$ac_ext <<_ACEOF
25754 /* end confdefs.h. */
25758 #include <tr1/unordered_map>
25760 rm -f conftest.$ac_objext
25761 if { (ac_try="$ac_compile"
25762 case "(($ac_try" in
25763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25764 *) ac_try_echo=$ac_try;;
25766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25767 (eval "$ac_compile") 2>conftest.er1
25769 grep -v '^
*+' conftest.er1 >conftest.err
25771 cat conftest.err >&5
25772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25773 (exit $ac_status); } && {
25774 test -z "$ac_cxx_werror_flag" ||
25775 test ! -s conftest.err
25776 } && test -s conftest.$ac_objext; then
25777 ac_cv_header_tr1_unordered_map=yes
25779 echo "$as_me: failed program was:" >&5
25780 sed 's
/^
/| /' conftest.$ac_ext >&5
25782 ac_cv_header_tr1_unordered_map=no
25785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25787 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25788 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25789 if test $ac_cv_header_tr1_unordered_map = yes; then
25790 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25791 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25792 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25793 echo $ECHO_N "(cached) $ECHO_C" >&6
25795 cat >conftest.$ac_ext <<_ACEOF
25798 cat confdefs.h >>conftest.$ac_ext
25799 cat >>conftest.$ac_ext <<_ACEOF
25800 /* end confdefs.h. */
25801 #include <tr1/unordered_map>
25802 #include <tr1/unordered_set>
25806 std::tr1::unordered_map<double*, char*> test1;
25807 std::tr1::unordered_set<char*> test2;
25808 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25809 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
25815 rm -f conftest.
$ac_objext
25816 if { (ac_try
="$ac_compile"
25817 case "(($ac_try" in
25818 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25819 *) ac_try_echo=$ac_try;;
25821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25822 (eval "$ac_compile") 2>conftest.er1
25824 grep -v '^ *+' conftest.er1 >conftest.err
25826 cat conftest.err >&5
25827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25828 (exit $ac_status); } && {
25829 test -z "$ac_cxx_werror_flag" ||
25830 test ! -s conftest.err
25831 } && test -s conftest.$ac_objext; then
25832 wx_cv_class_tr1unorderedmapset=yes
25834 echo "$as_me: failed program was:" >&5
25835 sed 's/^/| /' conftest.$ac_ext >&5
25837 wx_cv_class_tr1unorderedmapset=no
25840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25844 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25845 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25850 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25851 cat >>confdefs.h <<\_ACEOF
25852 #define HAVE_TR1_UNORDERED_MAP 1
25855 cat >>confdefs.h <<\_ACEOF
25856 #define HAVE_TR1_UNORDERED_SET 1
25860 { echo "$as_me:$LINENO: checking for hash_map" >&5
25861 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25862 if test "${ac_cv_header_hash_map+set}" = set; then
25863 echo $ECHO_N "(cached) $ECHO_C" >&6
25865 cat >conftest.$ac_ext <<_ACEOF
25868 cat confdefs.h >>conftest.$ac_ext
25869 cat >>conftest.$ac_ext <<_ACEOF
25870 /* end confdefs.h. */
25874 #include <hash_map>
25876 rm -f conftest.$ac_objext
25877 if { (ac_try="$ac_compile"
25878 case "(($ac_try" in
25879 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25880 *) ac_try_echo
=$ac_try;;
25882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25883 (eval "$ac_compile") 2>conftest.er1
25885 grep -v '^ *+' conftest.er1
>conftest.err
25887 cat conftest.err
>&5
25888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25889 (exit $ac_status); } && {
25890 test -z "$ac_cxx_werror_flag" ||
25891 test ! -s conftest.err
25892 } && test -s conftest.
$ac_objext; then
25893 ac_cv_header_hash_map
=yes
25895 echo "$as_me: failed program was:" >&5
25896 sed 's/^/| /' conftest.
$ac_ext >&5
25898 ac_cv_header_hash_map
=no
25901 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25903 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25904 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25905 if test $ac_cv_header_hash_map = yes; then
25906 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25907 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25908 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25909 echo $ECHO_N "(cached) $ECHO_C" >&6
25911 cat >conftest.
$ac_ext <<_ACEOF
25914 cat confdefs.h
>>conftest.
$ac_ext
25915 cat >>conftest.
$ac_ext <<_ACEOF
25916 /* end confdefs.h. */
25917 #include <hash_map>
25918 #include <hash_set>
25922 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25923 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25928 rm -f conftest.
$ac_objext
25929 if { (ac_try
="$ac_compile"
25930 case "(($ac_try" in
25931 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25932 *) ac_try_echo=$ac_try;;
25934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25935 (eval "$ac_compile") 2>conftest.er1
25937 grep -v '^ *+' conftest.er1 >conftest.err
25939 cat conftest.err >&5
25940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25941 (exit $ac_status); } && {
25942 test -z "$ac_cxx_werror_flag" ||
25943 test ! -s conftest.err
25944 } && test -s conftest.$ac_objext; then
25945 wx_cv_class_stdhashmapset=yes
25947 echo "$as_me: failed program was:" >&5
25948 sed 's/^/| /' conftest.$ac_ext >&5
25950 wx_cv_class_stdhashmapset=no
25953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25957 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25958 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25963 if test "$wx_cv_class_stdhashmapset" = yes; then
25964 cat >>confdefs.h <<\_ACEOF
25965 #define HAVE_HASH_MAP 1
25968 cat >>confdefs.h <<\_ACEOF
25969 #define HAVE_STD_HASH_MAP 1
25974 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25975 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25976 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25977 echo $ECHO_N "(cached) $ECHO_C" >&6
25979 cat >conftest.$ac_ext <<_ACEOF
25982 cat confdefs.h >>conftest.$ac_ext
25983 cat >>conftest.$ac_ext <<_ACEOF
25984 /* end confdefs.h. */
25988 #include <ext/hash_map>
25990 rm -f conftest.$ac_objext
25991 if { (ac_try="$ac_compile"
25992 case "(($ac_try" in
25993 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25994 *) ac_try_echo
=$ac_try;;
25996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25997 (eval "$ac_compile") 2>conftest.er1
25999 grep -v '^ *+' conftest.er1
>conftest.err
26001 cat conftest.err
>&5
26002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26003 (exit $ac_status); } && {
26004 test -z "$ac_cxx_werror_flag" ||
26005 test ! -s conftest.err
26006 } && test -s conftest.
$ac_objext; then
26007 ac_cv_header_ext_hash_map
=yes
26009 echo "$as_me: failed program was:" >&5
26010 sed 's/^/| /' conftest.
$ac_ext >&5
26012 ac_cv_header_ext_hash_map
=no
26015 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26017 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26018 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26019 if test $ac_cv_header_ext_hash_map = yes; then
26020 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26021 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26022 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26023 echo $ECHO_N "(cached) $ECHO_C" >&6
26025 cat >conftest.
$ac_ext <<_ACEOF
26028 cat confdefs.h
>>conftest.
$ac_ext
26029 cat >>conftest.
$ac_ext <<_ACEOF
26030 /* end confdefs.h. */
26031 #include <ext/hash_map>
26032 #include <ext/hash_set>
26036 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26037 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26042 rm -f conftest.
$ac_objext
26043 if { (ac_try
="$ac_compile"
26044 case "(($ac_try" in
26045 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26046 *) ac_try_echo=$ac_try;;
26048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26049 (eval "$ac_compile") 2>conftest.er1
26051 grep -v '^ *+' conftest.er1 >conftest.err
26053 cat conftest.err >&5
26054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26055 (exit $ac_status); } && {
26056 test -z "$ac_cxx_werror_flag" ||
26057 test ! -s conftest.err
26058 } && test -s conftest.$ac_objext; then
26059 wx_cv_class_gnuhashmapset=yes
26061 echo "$as_me: failed program was:" >&5
26062 sed 's/^/| /' conftest.$ac_ext >&5
26064 wx_cv_class_gnuhashmapset=no
26067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26071 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26072 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26082 ac_cpp='$CXXCPP $CPPFLAGS'
26083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26086 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26087 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26088 if test -z "$CXXCPP"; then
26089 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26090 echo $ECHO_N "(cached) $ECHO_C" >&6
26092 # Double quotes because CXXCPP needs to be expanded
26093 for CXXCPP in "$CXX -E" "/lib/cpp"
26095 ac_preproc_ok=false
26096 for ac_cxx_preproc_warn_flag in '' yes
26098 # Use a header file that comes with gcc, so configuring glibc
26099 # with a fresh cross-compiler works.
26100 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26101 # <limits.h> exists even on freestanding compilers.
26102 # On the NeXT, cc -E runs the code through the compiler's parser,
26103 # not just through cpp. "Syntax error" is here to catch this case.
26104 cat >conftest.$ac_ext <<_ACEOF
26107 cat confdefs.h >>conftest.$ac_ext
26108 cat >>conftest.$ac_ext <<_ACEOF
26109 /* end confdefs.h. */
26111 # include <limits.h>
26113 # include <assert.h>
26117 if { (ac_try="$ac_cpp conftest.$ac_ext"
26118 case "(($ac_try" in
26119 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26120 *) ac_try_echo
=$ac_try;;
26122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26123 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26125 grep -v '^ *+' conftest.er1
>conftest.err
26127 cat conftest.err
>&5
26128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26129 (exit $ac_status); } >/dev
/null
&& {
26130 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26131 test ! -s conftest.err
26135 echo "$as_me: failed program was:" >&5
26136 sed 's/^/| /' conftest.
$ac_ext >&5
26138 # Broken: fails on valid input.
26142 rm -f conftest.err conftest.
$ac_ext
26144 # OK, works on sane cases. Now check whether nonexistent headers
26145 # can be detected and how.
26146 cat >conftest.
$ac_ext <<_ACEOF
26149 cat confdefs.h
>>conftest.
$ac_ext
26150 cat >>conftest.
$ac_ext <<_ACEOF
26151 /* end confdefs.h. */
26152 #include <ac_nonexistent.h>
26154 if { (ac_try
="$ac_cpp conftest.$ac_ext"
26155 case "(($ac_try" in
26156 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26157 *) ac_try_echo=$ac_try;;
26159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26160 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26162 grep -v '^ *+' conftest.er1 >conftest.err
26164 cat conftest.err >&5
26165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26166 (exit $ac_status); } >/dev/null && {
26167 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26168 test ! -s conftest.err
26170 # Broken: success on invalid input.
26173 echo "$as_me: failed program was:" >&5
26174 sed 's/^/| /' conftest.$ac_ext >&5
26176 # Passes both tests.
26181 rm -f conftest.err conftest.$ac_ext
26184 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26185 rm -f conftest.err conftest.
$ac_ext
26186 if $ac_preproc_ok; then
26191 ac_cv_prog_CXXCPP
=$CXXCPP
26194 CXXCPP
=$ac_cv_prog_CXXCPP
26196 ac_cv_prog_CXXCPP
=$CXXCPP
26198 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26199 echo "${ECHO_T}$CXXCPP" >&6; }
26200 ac_preproc_ok
=false
26201 for ac_cxx_preproc_warn_flag
in '' yes
26203 # Use a header file that comes with gcc, so configuring glibc
26204 # with a fresh cross-compiler works.
26205 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26206 # <limits.h> exists even on freestanding compilers.
26207 # On the NeXT, cc -E runs the code through the compiler's parser,
26208 # not just through cpp. "Syntax error" is here to catch this case.
26209 cat >conftest.
$ac_ext <<_ACEOF
26212 cat confdefs.h
>>conftest.
$ac_ext
26213 cat >>conftest.
$ac_ext <<_ACEOF
26214 /* end confdefs.h. */
26216 # include <limits.h>
26218 # include <assert.h>
26222 if { (ac_try
="$ac_cpp conftest.$ac_ext"
26223 case "(($ac_try" in
26224 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26225 *) ac_try_echo=$ac_try;;
26227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26228 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26230 grep -v '^ *+' conftest.er1 >conftest.err
26232 cat conftest.err >&5
26233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26234 (exit $ac_status); } >/dev/null && {
26235 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26236 test ! -s conftest.err
26240 echo "$as_me: failed program was:" >&5
26241 sed 's/^/| /' conftest.$ac_ext >&5
26243 # Broken: fails on valid input.
26247 rm -f conftest.err conftest.$ac_ext
26249 # OK, works on sane cases. Now check whether nonexistent headers
26250 # can be detected and how.
26251 cat >conftest.$ac_ext <<_ACEOF
26254 cat confdefs.h >>conftest.$ac_ext
26255 cat >>conftest.$ac_ext <<_ACEOF
26256 /* end confdefs.h. */
26257 #include <ac_nonexistent.h>
26259 if { (ac_try="$ac_cpp conftest.$ac_ext"
26260 case "(($ac_try" in
26261 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26262 *) ac_try_echo
=$ac_try;;
26264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26265 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26267 grep -v '^ *+' conftest.er1
>conftest.err
26269 cat conftest.err
>&5
26270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26271 (exit $ac_status); } >/dev
/null
&& {
26272 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26273 test ! -s conftest.err
26275 # Broken: success on invalid input.
26278 echo "$as_me: failed program was:" >&5
26279 sed 's/^/| /' conftest.
$ac_ext >&5
26281 # Passes both tests.
26286 rm -f conftest.err conftest.
$ac_ext
26289 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26290 rm -f conftest.err conftest.
$ac_ext
26291 if $ac_preproc_ok; then
26294 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26295 See \`config.log' for more details." >&5
26296 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26297 See \`config.log' for more details." >&2;}
26298 { (exit 1); exit 1; }; }
26302 ac_cpp
='$CXXCPP $CPPFLAGS'
26303 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26304 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26305 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26310 for ac_header
in type_traits tr
1/type_traits
26312 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26313 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26314 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26315 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26316 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26317 echo $ECHO_N "(cached) $ECHO_C" >&6
26319 ac_res
=`eval echo '${'$as_ac_Header'}'`
26320 { echo "$as_me:$LINENO: result: $ac_res" >&5
26321 echo "${ECHO_T}$ac_res" >&6; }
26323 # Is the header compilable?
26324 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26325 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26326 cat >conftest.
$ac_ext <<_ACEOF
26329 cat confdefs.h
>>conftest.
$ac_ext
26330 cat >>conftest.
$ac_ext <<_ACEOF
26331 /* end confdefs.h. */
26332 $ac_includes_default
26333 #include <$ac_header>
26335 rm -f conftest.
$ac_objext
26336 if { (ac_try
="$ac_compile"
26337 case "(($ac_try" in
26338 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26339 *) ac_try_echo=$ac_try;;
26341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26342 (eval "$ac_compile") 2>conftest.er1
26344 grep -v '^ *+' conftest.er1 >conftest.err
26346 cat conftest.err >&5
26347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26348 (exit $ac_status); } && {
26349 test -z "$ac_cxx_werror_flag" ||
26350 test ! -s conftest.err
26351 } && test -s conftest.$ac_objext; then
26352 ac_header_compiler=yes
26354 echo "$as_me: failed program was:" >&5
26355 sed 's/^/| /' conftest.$ac_ext >&5
26357 ac_header_compiler=no
26360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26361 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26362 echo "${ECHO_T}$ac_header_compiler" >&6; }
26364 # Is the header present?
26365 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26366 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26367 cat >conftest.$ac_ext <<_ACEOF
26370 cat confdefs.h >>conftest.$ac_ext
26371 cat >>conftest.$ac_ext <<_ACEOF
26372 /* end confdefs.h. */
26373 #include <$ac_header>
26375 if { (ac_try="$ac_cpp conftest.$ac_ext"
26376 case "(($ac_try" in
26377 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26378 *) ac_try_echo
=$ac_try;;
26380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26381 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26383 grep -v '^ *+' conftest.er1
>conftest.err
26385 cat conftest.err
>&5
26386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26387 (exit $ac_status); } >/dev
/null
&& {
26388 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26389 test ! -s conftest.err
26391 ac_header_preproc
=yes
26393 echo "$as_me: failed program was:" >&5
26394 sed 's/^/| /' conftest.
$ac_ext >&5
26396 ac_header_preproc
=no
26399 rm -f conftest.err conftest.
$ac_ext
26400 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26401 echo "${ECHO_T}$ac_header_preproc" >&6; }
26403 # So? What about this header?
26404 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26406 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26407 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26408 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26409 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26410 ac_header_preproc
=yes
26413 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26414 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26415 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26416 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26417 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26418 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26419 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26420 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26421 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26422 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26423 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26424 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26426 ## ----------------------------------------- ##
26427 ## Report this to wx-dev@lists.wxwidgets.org ##
26428 ## ----------------------------------------- ##
26430 ) | sed "s/^/$as_me: WARNING: /" >&2
26433 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26434 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26435 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26436 echo $ECHO_N "(cached) $ECHO_C" >&6
26438 eval "$as_ac_Header=\$ac_header_preproc"
26440 ac_res
=`eval echo '${'$as_ac_Header'}'`
26441 { echo "$as_me:$LINENO: result: $ac_res" >&5
26442 echo "${ECHO_T}$ac_res" >&6; }
26445 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26446 cat >>confdefs.h
<<_ACEOF
26447 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26457 if test -n "$GCC"; then
26458 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26459 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26460 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26461 echo $ECHO_N "(cached) $ECHO_C" >&6
26464 cat >conftest.
$ac_ext <<_ACEOF
26467 cat confdefs.h
>>conftest.
$ac_ext
26468 cat >>conftest.
$ac_ext <<_ACEOF
26469 /* end confdefs.h. */
26475 unsigned int value=0;
26476 /* wxAtomicInc doesn't use return value here */
26477 __sync_fetch_and_add(&value, 2);
26478 __sync_sub_and_fetch(&value, 1);
26479 /* but wxAtomicDec does, so mimic that: */
26480 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26486 rm -f conftest.
$ac_objext conftest
$ac_exeext
26487 if { (ac_try
="$ac_link"
26488 case "(($ac_try" in
26489 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26490 *) ac_try_echo=$ac_try;;
26492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26493 (eval "$ac_link") 2>conftest.er1
26495 grep -v '^ *+' conftest.er1 >conftest.err
26497 cat conftest.err >&5
26498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26499 (exit $ac_status); } && {
26500 test -z "$ac_cxx_werror_flag" ||
26501 test ! -s conftest.err
26502 } && test -s conftest$ac_exeext &&
26503 $as_test_x conftest$ac_exeext; then
26504 wx_cv_cc_gcc_atomic_builtins=yes
26506 echo "$as_me: failed program was:" >&5
26507 sed 's/^/| /' conftest.$ac_ext >&5
26509 wx_cv_cc_gcc_atomic_builtins=no
26512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26513 conftest$ac_exeext conftest.$ac_ext
26517 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26518 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26519 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26520 cat >>confdefs.h <<\_ACEOF
26521 #define HAVE_GCC_ATOMIC_BUILTINS 1
26529 ac_cpp='$CPP $CPPFLAGS'
26530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26537 /usr/local/include \
26538 /usr/local/X11/include \
26539 /usr/local/include/X11 \
26540 /usr/local/X11R7/include \
26541 /usr/local/X11R6/include \
26542 /usr/local/include/X11R7 \
26543 /usr/local/include/X11R6 \
26545 /usr/Motif-2.1/include \
26546 /usr/Motif-1.2/include \
26547 /usr/include/Motif1.2 \
26550 /usr/openwin/include \
26554 /usr/X11R7/include \
26555 /usr/X11R6/include \
26556 /usr/X11R6.4/include \
26558 /usr/include/X11R7 \
26559 /usr/include/X11R6 \
26564 /usr/XFree86/include/X11 \
26567 /usr/local/X1R5/include \
26568 /usr/local/include/X11R5 \
26569 /usr/X11R5/include \
26570 /usr/include/X11R5 \
26572 /usr/local/X11R4/include \
26573 /usr/local/include/X11R4 \
26574 /usr/X11R4/include \
26575 /usr/include/X11R4 \
26577 /usr/openwin/share/include"
26579 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26580 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26584 if test "${wx_cv_std_libpath+set}" = set; then
26585 echo $ECHO_N "(cached) $ECHO_C" >&6
26588 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26589 for e in a so sl dylib dll.a; do
26591 if test -f $libc; then
26594 cat >conftest.$ac_ext <<_ACEOF
26595 int main() { return 0; }
26597 rm -f conftest.$ac_objext conftest$ac_exeext
26598 if { (ac_try="$ac_link"
26599 case "(($ac_try" in
26600 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26601 *) ac_try_echo
=$ac_try;;
26603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26604 (eval "$ac_link") 2>conftest.er1
26606 grep -v '^ *+' conftest.er1
>conftest.err
26608 cat conftest.err
>&5
26609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26610 (exit $ac_status); } && {
26611 test -z "$ac_c_werror_flag" ||
26612 test ! -s conftest.err
26613 } && test -s conftest
$ac_exeext &&
26614 $as_test_x conftest
$ac_exeext; then
26615 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
26617 echo "$as_me: failed program was:" >&5
26618 sed 's/^/| /' conftest.
$ac_ext >&5
26623 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26624 conftest
$ac_exeext conftest.
$ac_ext
26626 if test "x$wx_cv_std_libpath" != "x"; then
26632 if test "x$wx_cv_std_libpath" = "x"; then
26633 wx_cv_std_libpath
="lib"
26642 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26643 wx_cv_std_libpath
="lib/64"
26645 wx_cv_std_libpath
="lib"
26650 if test "$ac_cv_sizeof_void_p" = 8 -a \
26651 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26652 wx_cv_std_libpath
="lib64"
26654 wx_cv_std_libpath
="lib"
26659 wx_cv_std_libpath
="lib";
26663 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26664 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26666 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26668 if test "$build" != "$host" -a "$GCC" = yes; then
26669 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
26670 cross_root
=`dirname $cross_root`
26671 cross_root
=`dirname $cross_root`
26673 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26674 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26675 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
26677 if test -z "$PKG_CONFIG_PATH"; then
26678 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26679 export PKG_CONFIG_PATH
26682 if test -z "$x_includes" -o "$x_includes" = NONE
; then
26685 for ac_dir
in $SEARCH_INCLUDE /usr
/include
26687 if test -f "$ac_dir/X11/Intrinsic.h"; then
26688 ac_find_includes
=$ac_dir
26693 x_includes
=$ac_find_includes
26695 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
26698 for ac_dir
in $SEARCH_LIB
26700 for ac_extension
in a so sl dylib dll.a
; do
26701 if test -f "$ac_dir/libXt.$ac_extension"; then
26702 ac_find_libraries
=$ac_dir
26708 x_libraries
=$ac_find_libraries
26714 cat >confcache
<<\_ACEOF
26715 # This file is a shell script that caches the results of configure
26716 # tests run on this system so they can be shared between configure
26717 # scripts and configure runs, see configure's option --config-cache.
26718 # It is not useful on other systems. If it contains results you don't
26719 # want to keep, you may remove or edit it.
26721 # config.status only pays attention to the cache file if you give it
26722 # the --recheck option to rerun configure.
26724 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26725 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26726 # following values.
26730 # The following way of writing the cache mishandles newlines in values,
26731 # but we know of no workaround that is simple, portable, and efficient.
26732 # So, we kill variables containing newlines.
26733 # Ultrix sh set writes to stderr and can't be redirected directly,
26734 # and sets the high bit in the cache file unless we assign to the vars.
26736 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26737 eval ac_val
=\$
$ac_var
26741 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26742 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26745 _
| IFS
| as_nl
) ;; #(
26746 *) $as_unset $ac_var ;;
26752 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26753 *${as_nl}ac_space
=\
*)
26754 # `set' does not quote correctly, so add quotes (double-quote
26755 # substitution turns \\\\ into \\, and sed turns \\ into \).
26758 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26761 # `set' quotes correctly as required by POSIX, so do not add quotes.
26762 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26771 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26773 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26775 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26776 if test -w "$cache_file"; then
26777 test "x$cache_file" != "x/dev/null" &&
26778 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26779 echo "$as_me: updating cache $cache_file" >&6;}
26780 cat confcache
>$cache_file
26782 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26783 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26788 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26789 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26790 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26791 if test "${wx_cv_lib_glibc21+set}" = set; then
26792 echo $ECHO_N "(cached) $ECHO_C" >&6
26795 cat >conftest.
$ac_ext <<_ACEOF
26798 cat confdefs.h
>>conftest.
$ac_ext
26799 cat >>conftest.
$ac_ext <<_ACEOF
26800 /* end confdefs.h. */
26801 #include <features.h>
26806 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26814 rm -f conftest.
$ac_objext
26815 if { (ac_try
="$ac_compile"
26816 case "(($ac_try" in
26817 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26818 *) ac_try_echo=$ac_try;;
26820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26821 (eval "$ac_compile") 2>conftest.er1
26823 grep -v '^ *+' conftest.er1 >conftest.err
26825 cat conftest.err >&5
26826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26827 (exit $ac_status); } && {
26828 test -z "$ac_c_werror_flag" ||
26829 test ! -s conftest.err
26830 } && test -s conftest.$ac_objext; then
26832 wx_cv_lib_glibc21=yes
26835 echo "$as_me: failed program was:" >&5
26836 sed 's/^/| /' conftest.$ac_ext >&5
26839 wx_cv_lib_glibc21=no
26844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26847 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26848 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
26849 if test "$wx_cv_lib_glibc21" = "yes"; then
26850 cat >>confdefs.h <<\_ACEOF
26851 #define wxHAVE_GLIBC2 1
26857 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26858 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26859 cat >>confdefs.h <<\_ACEOF
26860 #define _GNU_SOURCE 1
26871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26872 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26874 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26875 echo $ECHO_N "(cached) $ECHO_C" >&6
26877 cat >conftest.$ac_ext <<_ACEOF
26880 cat confdefs.h >>conftest.$ac_ext
26881 cat >>conftest.$ac_ext <<_ACEOF
26882 /* end confdefs.h. */
26883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26885 #define $ac_func innocuous_$ac_func
26887 /* System header to define __stub macros and hopefully few prototypes,
26888 which can conflict with char $ac_func (); below.
26889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26890 <limits.h> exists even on freestanding compilers. */
26893 # include <limits.h>
26895 # include <assert.h>
26900 /* Override any GCC internal prototype to avoid an error.
26901 Use char because int might match the return type of a GCC
26902 builtin and then its argument prototype would still apply. */
26907 /* The GNU C library defines this for functions which it implements
26908 to always fail with ENOSYS. Some functions are actually named
26909 something starting with __ and the normal name is an alias. */
26910 #if defined __stub_$ac_func || defined __stub___$ac_func
26917 return $ac_func ();
26922 rm -f conftest.$ac_objext conftest$ac_exeext
26923 if { (ac_try="$ac_link"
26924 case "(($ac_try" in
26925 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26926 *) ac_try_echo
=$ac_try;;
26928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26929 (eval "$ac_link") 2>conftest.er1
26931 grep -v '^ *+' conftest.er1
>conftest.err
26933 cat conftest.err
>&5
26934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26935 (exit $ac_status); } && {
26936 test -z "$ac_c_werror_flag" ||
26937 test ! -s conftest.err
26938 } && test -s conftest
$ac_exeext &&
26939 $as_test_x conftest
$ac_exeext; then
26940 eval "$as_ac_var=yes"
26942 echo "$as_me: failed program was:" >&5
26943 sed 's/^/| /' conftest.
$ac_ext >&5
26945 eval "$as_ac_var=no"
26948 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26949 conftest
$ac_exeext conftest.
$ac_ext
26951 ac_res
=`eval echo '${'$as_ac_var'}'`
26952 { echo "$as_me:$LINENO: result: $ac_res" >&5
26953 echo "${ECHO_T}$ac_res" >&6; }
26954 if test `eval echo '${'$as_ac_var'}'` = yes; then
26955 cat >>confdefs.h
<<_ACEOF
26956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26963 for ac_func
in floor
26965 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26966 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26968 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26969 echo $ECHO_N "(cached) $ECHO_C" >&6
26971 cat >conftest.
$ac_ext <<_ACEOF
26974 cat confdefs.h
>>conftest.
$ac_ext
26975 cat >>conftest.
$ac_ext <<_ACEOF
26976 /* end confdefs.h. */
26977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26979 #define $ac_func innocuous_$ac_func
26981 /* System header to define __stub macros and hopefully few prototypes,
26982 which can conflict with char $ac_func (); below.
26983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26984 <limits.h> exists even on freestanding compilers. */
26987 # include <limits.h>
26989 # include <assert.h>
26994 /* Override any GCC internal prototype to avoid an error.
26995 Use char because int might match the return type of a GCC
26996 builtin and then its argument prototype would still apply. */
27001 /* The GNU C library defines this for functions which it implements
27002 to always fail with ENOSYS. Some functions are actually named
27003 something starting with __ and the normal name is an alias. */
27004 #if defined __stub_$ac_func || defined __stub___$ac_func
27011 return $ac_func ();
27016 rm -f conftest.
$ac_objext conftest
$ac_exeext
27017 if { (ac_try
="$ac_link"
27018 case "(($ac_try" in
27019 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27020 *) ac_try_echo=$ac_try;;
27022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27023 (eval "$ac_link") 2>conftest.er1
27025 grep -v '^ *+' conftest.er1 >conftest.err
27027 cat conftest.err >&5
27028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27029 (exit $ac_status); } && {
27030 test -z "$ac_c_werror_flag" ||
27031 test ! -s conftest.err
27032 } && test -s conftest$ac_exeext &&
27033 $as_test_x conftest$ac_exeext; then
27034 eval "$as_ac_var=yes"
27036 echo "$as_me: failed program was:" >&5
27037 sed 's/^/| /' conftest.$ac_ext >&5
27039 eval "$as_ac_var=no"
27042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27043 conftest$ac_exeext conftest.$ac_ext
27045 ac_res=`eval echo '${'$as_ac_var'}'`
27046 { echo "$as_me:$LINENO: result: $ac_res" >&5
27047 echo "${ECHO_T}$ac_res" >&6; }
27048 if test `eval echo '${'$as_ac_var'}'` = yes; then
27049 cat >>confdefs.h <<_ACEOF
27050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27056 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27057 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27058 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27059 { echo "$as_me:$LINENO: result: yes" >&5
27060 echo "${ECHO_T}yes" >&6; }
27062 { echo "$as_me:$LINENO: result: no" >&5
27063 echo "${ECHO_T}no" >&6; }
27065 # use different functions to avoid configure caching
27071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27072 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27074 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27075 echo $ECHO_N "(cached) $ECHO_C" >&6
27077 cat >conftest.$ac_ext <<_ACEOF
27080 cat confdefs.h >>conftest.$ac_ext
27081 cat >>conftest.$ac_ext <<_ACEOF
27082 /* end confdefs.h. */
27083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27085 #define $ac_func innocuous_$ac_func
27087 /* System header to define __stub macros and hopefully few prototypes,
27088 which can conflict with char $ac_func (); below.
27089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27090 <limits.h> exists even on freestanding compilers. */
27093 # include <limits.h>
27095 # include <assert.h>
27100 /* Override any GCC internal prototype to avoid an error.
27101 Use char because int might match the return type of a GCC
27102 builtin and then its argument prototype would still apply. */
27107 /* The GNU C library defines this for functions which it implements
27108 to always fail with ENOSYS. Some functions are actually named
27109 something starting with __ and the normal name is an alias. */
27110 #if defined __stub_$ac_func || defined __stub___$ac_func
27117 return $ac_func ();
27122 rm -f conftest.$ac_objext conftest$ac_exeext
27123 if { (ac_try="$ac_link"
27124 case "(($ac_try" in
27125 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27126 *) ac_try_echo
=$ac_try;;
27128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27129 (eval "$ac_link") 2>conftest.er1
27131 grep -v '^ *+' conftest.er1
>conftest.err
27133 cat conftest.err
>&5
27134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27135 (exit $ac_status); } && {
27136 test -z "$ac_c_werror_flag" ||
27137 test ! -s conftest.err
27138 } && test -s conftest
$ac_exeext &&
27139 $as_test_x conftest
$ac_exeext; then
27140 eval "$as_ac_var=yes"
27142 echo "$as_me: failed program was:" >&5
27143 sed 's/^/| /' conftest.
$ac_ext >&5
27145 eval "$as_ac_var=no"
27148 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27149 conftest
$ac_exeext conftest.
$ac_ext
27151 ac_res
=`eval echo '${'$as_ac_var'}'`
27152 { echo "$as_me:$LINENO: result: $ac_res" >&5
27153 echo "${ECHO_T}$ac_res" >&6; }
27154 if test `eval echo '${'$as_ac_var'}'` = yes; then
27155 cat >>confdefs.h
<<_ACEOF
27156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27163 for ac_func
in ceil
27165 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27166 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27168 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27169 echo $ECHO_N "(cached) $ECHO_C" >&6
27171 cat >conftest.
$ac_ext <<_ACEOF
27174 cat confdefs.h
>>conftest.
$ac_ext
27175 cat >>conftest.
$ac_ext <<_ACEOF
27176 /* end confdefs.h. */
27177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27179 #define $ac_func innocuous_$ac_func
27181 /* System header to define __stub macros and hopefully few prototypes,
27182 which can conflict with char $ac_func (); below.
27183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27184 <limits.h> exists even on freestanding compilers. */
27187 # include <limits.h>
27189 # include <assert.h>
27194 /* Override any GCC internal prototype to avoid an error.
27195 Use char because int might match the return type of a GCC
27196 builtin and then its argument prototype would still apply. */
27201 /* The GNU C library defines this for functions which it implements
27202 to always fail with ENOSYS. Some functions are actually named
27203 something starting with __ and the normal name is an alias. */
27204 #if defined __stub_$ac_func || defined __stub___$ac_func
27211 return $ac_func ();
27216 rm -f conftest.
$ac_objext conftest
$ac_exeext
27217 if { (ac_try
="$ac_link"
27218 case "(($ac_try" in
27219 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27220 *) ac_try_echo=$ac_try;;
27222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27223 (eval "$ac_link") 2>conftest.er1
27225 grep -v '^ *+' conftest.er1 >conftest.err
27227 cat conftest.err >&5
27228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27229 (exit $ac_status); } && {
27230 test -z "$ac_c_werror_flag" ||
27231 test ! -s conftest.err
27232 } && test -s conftest$ac_exeext &&
27233 $as_test_x conftest$ac_exeext; then
27234 eval "$as_ac_var=yes"
27236 echo "$as_me: failed program was:" >&5
27237 sed 's/^/| /' conftest.$ac_ext >&5
27239 eval "$as_ac_var=no"
27242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27243 conftest$ac_exeext conftest.$ac_ext
27245 ac_res=`eval echo '${'$as_ac_var'}'`
27246 { echo "$as_me:$LINENO: result: $ac_res" >&5
27247 echo "${ECHO_T}$ac_res" >&6; }
27248 if test `eval echo '${'$as_ac_var'}'` = yes; then
27249 cat >>confdefs.h <<_ACEOF
27250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27256 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27257 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27258 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27259 { echo "$as_me:$LINENO: result: yes" >&5
27260 echo "${ECHO_T}yes" >&6; }
27262 { echo "$as_me:$LINENO: result: no" >&5
27263 echo "${ECHO_T}no" >&6; }
27264 # not sure we should warn the user, crash, etc.
27269 ac_cpp='$CXXCPP $CPPFLAGS'
27270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27274 if test "wxUSE_UNICODE" = "yes"; then
27276 for wx_func in wcstoull
27278 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27279 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27280 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27281 echo $ECHO_N "(cached) $ECHO_C" >&6
27284 cat >conftest.$ac_ext <<_ACEOF
27288 cat confdefs.h >>conftest.$ac_ext
27289 cat >>conftest.$ac_ext <<_ACEOF
27290 /* end confdefs.h. */
27293 $ac_includes_default
27309 rm -f conftest.$ac_objext conftest$ac_exeext
27310 if { (ac_try="$ac_link"
27311 case "(($ac_try" in
27312 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27313 *) ac_try_echo
=$ac_try;;
27315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27316 (eval "$ac_link") 2>conftest.er1
27318 grep -v '^ *+' conftest.er1
>conftest.err
27320 cat conftest.err
>&5
27321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27322 (exit $ac_status); } && {
27323 test -z "$ac_cxx_werror_flag" ||
27324 test ! -s conftest.err
27325 } && test -s conftest
$ac_exeext &&
27326 $as_test_x conftest
$ac_exeext; then
27327 eval wx_cv_func_
$wx_func=yes
27329 echo "$as_me: failed program was:" >&5
27330 sed 's/^/| /' conftest.
$ac_ext >&5
27332 eval wx_cv_func_
$wx_func=no
27335 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27336 conftest
$ac_exeext conftest.
$ac_ext
27339 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
27340 { echo "$as_me:$LINENO: result: $ac_res" >&5
27341 echo "${ECHO_T}$ac_res" >&6; }
27343 if eval test \
$wx_cv_func_$wx_func = yes
27345 cat >>confdefs.h
<<_ACEOF
27346 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27358 for wx_func
in strtoull
27360 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27361 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27362 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27363 echo $ECHO_N "(cached) $ECHO_C" >&6
27366 cat >conftest.
$ac_ext <<_ACEOF
27370 cat confdefs.h
>>conftest.
$ac_ext
27371 cat >>conftest.
$ac_ext <<_ACEOF
27372 /* end confdefs.h. */
27375 $ac_includes_default
27391 rm -f conftest.
$ac_objext conftest
$ac_exeext
27392 if { (ac_try
="$ac_link"
27393 case "(($ac_try" in
27394 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27395 *) ac_try_echo=$ac_try;;
27397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27398 (eval "$ac_link") 2>conftest.er1
27400 grep -v '^ *+' conftest.er1 >conftest.err
27402 cat conftest.err >&5
27403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27404 (exit $ac_status); } && {
27405 test -z "$ac_cxx_werror_flag" ||
27406 test ! -s conftest.err
27407 } && test -s conftest$ac_exeext &&
27408 $as_test_x conftest$ac_exeext; then
27409 eval wx_cv_func_$wx_func=yes
27411 echo "$as_me: failed program was:" >&5
27412 sed 's/^/| /' conftest.$ac_ext >&5
27414 eval wx_cv_func_$wx_func=no
27417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27418 conftest$ac_exeext conftest.$ac_ext
27421 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27422 { echo "$as_me:$LINENO: result: $ac_res" >&5
27423 echo "${ECHO_T}$ac_res" >&6; }
27425 if eval test \$wx_cv_func_$wx_func = yes
27427 cat >>confdefs.h <<_ACEOF
27428 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27440 ac_cpp='$CPP $CPPFLAGS'
27441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27448 if test "$wxUSE_REGEX" != "no"; then
27449 cat >>confdefs.h <<\_ACEOF
27450 #define wxUSE_REGEX 1
27454 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27455 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27456 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27457 wxUSE_REGEX=builtin
27460 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27461 { echo "$as_me:$LINENO: checking for regex.h" >&5
27462 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27463 if test "${ac_cv_header_regex_h+set}" = set; then
27464 echo $ECHO_N "(cached) $ECHO_C" >&6
27466 cat >conftest.$ac_ext <<_ACEOF
27469 cat confdefs.h >>conftest.$ac_ext
27470 cat >>conftest.$ac_ext <<_ACEOF
27471 /* end confdefs.h. */
27476 rm -f conftest.$ac_objext
27477 if { (ac_try="$ac_compile"
27478 case "(($ac_try" in
27479 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27480 *) ac_try_echo
=$ac_try;;
27482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27483 (eval "$ac_compile") 2>conftest.er1
27485 grep -v '^ *+' conftest.er1
>conftest.err
27487 cat conftest.err
>&5
27488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27489 (exit $ac_status); } && {
27490 test -z "$ac_c_werror_flag" ||
27491 test ! -s conftest.err
27492 } && test -s conftest.
$ac_objext; then
27493 ac_cv_header_regex_h
=yes
27495 echo "$as_me: failed program was:" >&5
27496 sed 's/^/| /' conftest.
$ac_ext >&5
27498 ac_cv_header_regex_h
=no
27501 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27503 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27504 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27505 if test $ac_cv_header_regex_h = yes; then
27508 for ac_func
in regcomp re_search
27510 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27511 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27513 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27514 echo $ECHO_N "(cached) $ECHO_C" >&6
27516 cat >conftest.
$ac_ext <<_ACEOF
27519 cat confdefs.h
>>conftest.
$ac_ext
27520 cat >>conftest.
$ac_ext <<_ACEOF
27521 /* end confdefs.h. */
27522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27524 #define $ac_func innocuous_$ac_func
27526 /* System header to define __stub macros and hopefully few prototypes,
27527 which can conflict with char $ac_func (); below.
27528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27529 <limits.h> exists even on freestanding compilers. */
27532 # include <limits.h>
27534 # include <assert.h>
27539 /* Override any GCC internal prototype to avoid an error.
27540 Use char because int might match the return type of a GCC
27541 builtin and then its argument prototype would still apply. */
27546 /* The GNU C library defines this for functions which it implements
27547 to always fail with ENOSYS. Some functions are actually named
27548 something starting with __ and the normal name is an alias. */
27549 #if defined __stub_$ac_func || defined __stub___$ac_func
27556 return $ac_func ();
27561 rm -f conftest.
$ac_objext conftest
$ac_exeext
27562 if { (ac_try
="$ac_link"
27563 case "(($ac_try" in
27564 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27565 *) ac_try_echo=$ac_try;;
27567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27568 (eval "$ac_link") 2>conftest.er1
27570 grep -v '^ *+' conftest.er1 >conftest.err
27572 cat conftest.err >&5
27573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27574 (exit $ac_status); } && {
27575 test -z "$ac_c_werror_flag" ||
27576 test ! -s conftest.err
27577 } && test -s conftest$ac_exeext &&
27578 $as_test_x conftest$ac_exeext; then
27579 eval "$as_ac_var=yes"
27581 echo "$as_me: failed program was:" >&5
27582 sed 's/^/| /' conftest.$ac_ext >&5
27584 eval "$as_ac_var=no"
27587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27588 conftest$ac_exeext conftest.$ac_ext
27590 ac_res=`eval echo '${'$as_ac_var'}'`
27591 { echo "$as_me:$LINENO: result: $ac_res" >&5
27592 echo "${ECHO_T}$ac_res" >&6; }
27593 if test `eval echo '${'$as_ac_var'}'` = yes; then
27594 cat >>confdefs.h <<_ACEOF
27595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27605 if test "x$ac_cv_func_regcomp" != "xyes"; then
27606 if test "$wxUSE_REGEX" = "sys" ; then
27607 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27608 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27609 { (exit 1); exit 1; }; }
27611 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27612 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27613 wxUSE_REGEX=builtin
27617 cat >>confdefs.h <<\_ACEOF
27618 #define WX_NO_REGEX_ADVANCED 1
27627 if test "$wxUSE_ZLIB" != "no" ; then
27628 cat >>confdefs.h <<\_ACEOF
27629 #define wxUSE_ZLIB 1
27633 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27634 if test "$USE_DARWIN" = 1; then
27635 system_zlib_h_ok="yes"
27637 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27638 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27639 if test "${ac_cv_header_zlib_h+set}" = set; then
27640 echo $ECHO_N "(cached) $ECHO_C" >&6
27642 if test "$cross_compiling" = yes; then
27643 unset ac_cv_header_zlib_h
27646 cat >conftest.$ac_ext <<_ACEOF
27649 cat confdefs.h >>conftest.$ac_ext
27650 cat >>conftest.$ac_ext <<_ACEOF
27651 /* end confdefs.h. */
27658 FILE *f=fopen("conftestval", "w");
27661 ZLIB_VERSION[0] == '1' &&
27662 (ZLIB_VERSION[2] > '1' ||
27663 (ZLIB_VERSION[2] == '1' &&
27664 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27669 rm -f conftest$ac_exeext
27670 if { (ac_try="$ac_link"
27671 case "(($ac_try" in
27672 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27673 *) ac_try_echo
=$ac_try;;
27675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27676 (eval "$ac_link") 2>&5
27678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27679 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27680 { (case "(($ac_try" in
27681 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27682 *) ac_try_echo=$ac_try;;
27684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27685 (eval "$ac_try") 2>&5
27687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27688 (exit $ac_status); }; }; then
27689 ac_cv_header_zlib_h=`cat conftestval
`
27691 echo "$as_me: program exited with status $ac_status" >&5
27692 echo "$as_me: failed program was:" >&5
27693 sed 's/^/| /' conftest.$ac_ext >&5
27695 ( exit $ac_status )
27696 ac_cv_header_zlib_h=no
27698 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27704 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27705 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27706 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27707 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27708 if test "${ac_cv_header_zlib_h+set}" = set; then
27709 echo $ECHO_N "(cached) $ECHO_C" >&6
27711 cat >conftest.$ac_ext <<_ACEOF
27714 cat confdefs.h >>conftest.$ac_ext
27715 cat >>conftest.$ac_ext <<_ACEOF
27716 /* end confdefs.h. */
27721 rm -f conftest.$ac_objext
27722 if { (ac_try="$ac_compile"
27723 case "(($ac_try" in
27724 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27725 *) ac_try_echo
=$ac_try;;
27727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27728 (eval "$ac_compile") 2>conftest.er1
27730 grep -v '^ *+' conftest.er1
>conftest.err
27732 cat conftest.err
>&5
27733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27734 (exit $ac_status); } && {
27735 test -z "$ac_c_werror_flag" ||
27736 test ! -s conftest.err
27737 } && test -s conftest.
$ac_objext; then
27738 ac_cv_header_zlib_h
=yes
27740 echo "$as_me: failed program was:" >&5
27741 sed 's/^/| /' conftest.
$ac_ext >&5
27743 ac_cv_header_zlib_h
=no
27746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27748 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27749 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27753 system_zlib_h_ok
=$ac_cv_header_zlib_h
27756 if test "$system_zlib_h_ok" = "yes"; then
27757 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27758 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27759 if test "${ac_cv_lib_z_deflate+set}" = set; then
27760 echo $ECHO_N "(cached) $ECHO_C" >&6
27762 ac_check_lib_save_LIBS
=$LIBS
27764 cat >conftest.
$ac_ext <<_ACEOF
27767 cat confdefs.h
>>conftest.
$ac_ext
27768 cat >>conftest.
$ac_ext <<_ACEOF
27769 /* end confdefs.h. */
27771 /* Override any GCC internal prototype to avoid an error.
27772 Use char because int might match the return type of a GCC
27773 builtin and then its argument prototype would still apply. */
27786 rm -f conftest.
$ac_objext conftest
$ac_exeext
27787 if { (ac_try
="$ac_link"
27788 case "(($ac_try" in
27789 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27790 *) ac_try_echo=$ac_try;;
27792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27793 (eval "$ac_link") 2>conftest.er1
27795 grep -v '^ *+' conftest.er1 >conftest.err
27797 cat conftest.err >&5
27798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27799 (exit $ac_status); } && {
27800 test -z "$ac_c_werror_flag" ||
27801 test ! -s conftest.err
27802 } && test -s conftest$ac_exeext &&
27803 $as_test_x conftest$ac_exeext; then
27804 ac_cv_lib_z_deflate=yes
27806 echo "$as_me: failed program was:" >&5
27807 sed 's/^/| /' conftest.$ac_ext >&5
27809 ac_cv_lib_z_deflate=no
27812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27813 conftest$ac_exeext conftest.$ac_ext
27814 LIBS=$ac_check_lib_save_LIBS
27816 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27817 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
27818 if test $ac_cv_lib_z_deflate = yes; then
27824 if test "x$ZLIB_LINK" = "x" ; then
27825 if test "$wxUSE_ZLIB" = "sys" ; then
27826 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27827 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27828 { (exit 1); exit 1; }; }
27830 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27831 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27842 if test "$wxUSE_LIBPNG" != "no" ; then
27843 cat >>confdefs.h <<\_ACEOF
27844 #define wxUSE_LIBPNG 1
27848 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27849 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27850 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27854 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27855 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27856 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27857 wxUSE_LIBPNG=builtin
27860 if test "$wxUSE_MGL" != 1 ; then
27861 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27862 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27863 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
27864 if test "${ac_cv_header_png_h+set}" = set; then
27865 echo $ECHO_N "(cached) $ECHO_C" >&6
27867 if test "$cross_compiling" = yes; then
27868 unset ac_cv_header_png_h
27871 cat >conftest.$ac_ext <<_ACEOF
27874 cat confdefs.h >>conftest.$ac_ext
27875 cat >>conftest.$ac_ext <<_ACEOF
27876 /* end confdefs.h. */
27883 FILE *f=fopen("conftestval", "w");
27886 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27891 rm -f conftest$ac_exeext
27892 if { (ac_try="$ac_link"
27893 case "(($ac_try" in
27894 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27895 *) ac_try_echo
=$ac_try;;
27897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27898 (eval "$ac_link") 2>&5
27900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27901 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27902 { (case "(($ac_try" in
27903 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27904 *) ac_try_echo=$ac_try;;
27906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27907 (eval "$ac_try") 2>&5
27909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27910 (exit $ac_status); }; }; then
27911 ac_cv_header_png_h=`cat conftestval
`
27913 echo "$as_me: program exited with status $ac_status" >&5
27914 echo "$as_me: failed program was:" >&5
27915 sed 's/^/| /' conftest.$ac_ext >&5
27917 ( exit $ac_status )
27918 ac_cv_header_png_h=no
27920 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27926 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27927 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27928 { echo "$as_me:$LINENO: checking for png.h" >&5
27929 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
27930 if test "${ac_cv_header_png_h+set}" = set; then
27931 echo $ECHO_N "(cached) $ECHO_C" >&6
27933 cat >conftest.$ac_ext <<_ACEOF
27936 cat confdefs.h >>conftest.$ac_ext
27937 cat >>conftest.$ac_ext <<_ACEOF
27938 /* end confdefs.h. */
27943 rm -f conftest.$ac_objext
27944 if { (ac_try="$ac_compile"
27945 case "(($ac_try" in
27946 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27947 *) ac_try_echo
=$ac_try;;
27949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27950 (eval "$ac_compile") 2>conftest.er1
27952 grep -v '^ *+' conftest.er1
>conftest.err
27954 cat conftest.err
>&5
27955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27956 (exit $ac_status); } && {
27957 test -z "$ac_c_werror_flag" ||
27958 test ! -s conftest.err
27959 } && test -s conftest.
$ac_objext; then
27960 ac_cv_header_png_h
=yes
27962 echo "$as_me: failed program was:" >&5
27963 sed 's/^/| /' conftest.
$ac_ext >&5
27965 ac_cv_header_png_h
=no
27968 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27970 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27971 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27975 if test "$ac_cv_header_png_h" = "yes"; then
27976 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
27977 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
27978 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
27979 echo $ECHO_N "(cached) $ECHO_C" >&6
27981 ac_check_lib_save_LIBS
=$LIBS
27982 LIBS
="-lpng -lz -lm $LIBS"
27983 cat >conftest.
$ac_ext <<_ACEOF
27986 cat confdefs.h
>>conftest.
$ac_ext
27987 cat >>conftest.
$ac_ext <<_ACEOF
27988 /* end confdefs.h. */
27990 /* Override any GCC internal prototype to avoid an error.
27991 Use char because int might match the return type of a GCC
27992 builtin and then its argument prototype would still apply. */
27996 char png_sig_cmp ();
28000 return png_sig_cmp ();
28005 rm -f conftest.
$ac_objext conftest
$ac_exeext
28006 if { (ac_try
="$ac_link"
28007 case "(($ac_try" in
28008 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28009 *) ac_try_echo=$ac_try;;
28011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28012 (eval "$ac_link") 2>conftest.er1
28014 grep -v '^ *+' conftest.er1 >conftest.err
28016 cat conftest.err >&5
28017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28018 (exit $ac_status); } && {
28019 test -z "$ac_c_werror_flag" ||
28020 test ! -s conftest.err
28021 } && test -s conftest$ac_exeext &&
28022 $as_test_x conftest$ac_exeext; then
28023 ac_cv_lib_png_png_sig_cmp=yes
28025 echo "$as_me: failed program was:" >&5
28026 sed 's/^/| /' conftest.$ac_ext >&5
28028 ac_cv_lib_png_png_sig_cmp=no
28031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28032 conftest$ac_exeext conftest.$ac_ext
28033 LIBS=$ac_check_lib_save_LIBS
28035 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28036 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28037 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28038 PNG_LINK=" -lpng -lz"
28043 if test "x$PNG_LINK" = "x" ; then
28044 if test "$wxUSE_LIBPNG" = "sys" ; then
28045 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28046 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28047 { (exit 1); exit 1; }; }
28049 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28050 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28051 wxUSE_LIBPNG=builtin
28062 if test "$wxUSE_LIBJPEG" != "no" ; then
28063 cat >>confdefs.h <<\_ACEOF
28064 #define wxUSE_LIBJPEG 1
28068 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28069 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28070 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28074 if test "$wxUSE_MGL" != 1 ; then
28075 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28076 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28077 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28078 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28079 echo $ECHO_N "(cached) $ECHO_C" >&6
28081 cat >conftest.$ac_ext <<_ACEOF
28084 cat confdefs.h >>conftest.$ac_ext
28085 cat >>conftest.$ac_ext <<_ACEOF
28086 /* end confdefs.h. */
28088 #undef HAVE_STDLIB_H
28090 #include <jpeglib.h>
28101 rm -f conftest.$ac_objext
28102 if { (ac_try="$ac_compile"
28103 case "(($ac_try" in
28104 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28105 *) ac_try_echo
=$ac_try;;
28107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28108 (eval "$ac_compile") 2>conftest.er1
28110 grep -v '^ *+' conftest.er1
>conftest.err
28112 cat conftest.err
>&5
28113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28114 (exit $ac_status); } && {
28115 test -z "$ac_c_werror_flag" ||
28116 test ! -s conftest.err
28117 } && test -s conftest.
$ac_objext; then
28118 ac_cv_header_jpeglib_h
=yes
28120 echo "$as_me: failed program was:" >&5
28121 sed 's/^/| /' conftest.
$ac_ext >&5
28123 ac_cv_header_jpeglib_h
=no
28127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28131 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28132 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28134 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28135 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28136 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28137 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28138 echo $ECHO_N "(cached) $ECHO_C" >&6
28140 ac_check_lib_save_LIBS
=$LIBS
28141 LIBS
="-ljpeg $LIBS"
28142 cat >conftest.
$ac_ext <<_ACEOF
28145 cat confdefs.h
>>conftest.
$ac_ext
28146 cat >>conftest.
$ac_ext <<_ACEOF
28147 /* end confdefs.h. */
28149 /* Override any GCC internal prototype to avoid an error.
28150 Use char because int might match the return type of a GCC
28151 builtin and then its argument prototype would still apply. */
28155 char jpeg_read_header ();
28159 return jpeg_read_header ();
28164 rm -f conftest.
$ac_objext conftest
$ac_exeext
28165 if { (ac_try
="$ac_link"
28166 case "(($ac_try" in
28167 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28168 *) ac_try_echo=$ac_try;;
28170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28171 (eval "$ac_link") 2>conftest.er1
28173 grep -v '^ *+' conftest.er1 >conftest.err
28175 cat conftest.err >&5
28176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28177 (exit $ac_status); } && {
28178 test -z "$ac_c_werror_flag" ||
28179 test ! -s conftest.err
28180 } && test -s conftest$ac_exeext &&
28181 $as_test_x conftest$ac_exeext; then
28182 ac_cv_lib_jpeg_jpeg_read_header=yes
28184 echo "$as_me: failed program was:" >&5
28185 sed 's/^/| /' conftest.$ac_ext >&5
28187 ac_cv_lib_jpeg_jpeg_read_header=no
28190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28191 conftest$ac_exeext conftest.$ac_ext
28192 LIBS=$ac_check_lib_save_LIBS
28194 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28195 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28196 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28197 JPEG_LINK=" -ljpeg"
28202 if test "x$JPEG_LINK" = "x" ; then
28203 if test "$wxUSE_LIBJPEG" = "sys" ; then
28204 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28205 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28206 { (exit 1); exit 1; }; }
28208 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28209 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28210 wxUSE_LIBJPEG=builtin
28215 if test "$wxUSE_MSW" = 1; then
28216 { echo "$as_me:$LINENO: checking for boolean" >&5
28217 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28218 if test "${ac_cv_type_boolean+set}" = set; then
28219 echo $ECHO_N "(cached) $ECHO_C" >&6
28221 cat >conftest.$ac_ext <<_ACEOF
28224 cat confdefs.h >>conftest.$ac_ext
28225 cat >>conftest.$ac_ext <<_ACEOF
28226 /* end confdefs.h. */
28227 #include <windows.h>
28229 typedef boolean ac__type_new_;
28233 if ((ac__type_new_ *) 0)
28235 if (sizeof (ac__type_new_))
28241 rm -f conftest.$ac_objext
28242 if { (ac_try="$ac_compile"
28243 case "(($ac_try" in
28244 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28245 *) ac_try_echo
=$ac_try;;
28247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28248 (eval "$ac_compile") 2>conftest.er1
28250 grep -v '^ *+' conftest.er1
>conftest.err
28252 cat conftest.err
>&5
28253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28254 (exit $ac_status); } && {
28255 test -z "$ac_c_werror_flag" ||
28256 test ! -s conftest.err
28257 } && test -s conftest.
$ac_objext; then
28258 ac_cv_type_boolean
=yes
28260 echo "$as_me: failed program was:" >&5
28261 sed 's/^/| /' conftest.
$ac_ext >&5
28263 ac_cv_type_boolean
=no
28266 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28268 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28269 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28270 if test $ac_cv_type_boolean = yes; then
28272 cat >>confdefs.h
<<_ACEOF
28273 #define HAVE_BOOLEAN 1
28277 { echo "$as_me:$LINENO: checking for boolean" >&5
28278 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28279 if test "${ac_cv_type_boolean+set}" = set; then
28280 echo $ECHO_N "(cached) $ECHO_C" >&6
28282 cat >conftest.
$ac_ext <<_ACEOF
28285 cat confdefs.h
>>conftest.
$ac_ext
28286 cat >>conftest.
$ac_ext <<_ACEOF
28287 /* end confdefs.h. */
28289 #undef HAVE_BOOLEAN
28291 #include <jpeglib.h>
28294 typedef boolean ac__type_new_;
28298 if ((ac__type_new_ *) 0)
28300 if (sizeof (ac__type_new_))
28306 rm -f conftest.
$ac_objext
28307 if { (ac_try
="$ac_compile"
28308 case "(($ac_try" in
28309 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28310 *) ac_try_echo=$ac_try;;
28312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28313 (eval "$ac_compile") 2>conftest.er1
28315 grep -v '^ *+' conftest.er1 >conftest.err
28317 cat conftest.err >&5
28318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28319 (exit $ac_status); } && {
28320 test -z "$ac_c_werror_flag" ||
28321 test ! -s conftest.err
28322 } && test -s conftest.$ac_objext; then
28323 ac_cv_type_boolean=yes
28325 echo "$as_me: failed program was:" >&5
28326 sed 's/^/| /' conftest.$ac_ext >&5
28328 ac_cv_type_boolean=no
28331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28333 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28334 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28336 # The cast to long int works around a bug in the HP C Compiler
28337 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28338 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
28339 # This bug is HP SR number 8606223364.
28340 { echo "$as_me:$LINENO: checking size of boolean" >&5
28341 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28342 if test "${ac_cv_sizeof_boolean+set}" = set; then
28343 echo $ECHO_N "(cached) $ECHO_C" >&6
28345 if test "$cross_compiling" = yes; then
28346 # Depending upon the size, compute the lo and hi bounds.
28347 cat >conftest.$ac_ext <<_ACEOF
28350 cat confdefs.h >>conftest.$ac_ext
28351 cat >>conftest.$ac_ext <<_ACEOF
28352 /* end confdefs.h. */
28354 #undef HAVE_BOOLEAN
28356 #include <jpeglib.h>
28359 typedef boolean ac__type_sizeof_;
28363 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28370 rm -f conftest.$ac_objext
28371 if { (ac_try="$ac_compile"
28372 case "(($ac_try" in
28373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28374 *) ac_try_echo=$ac_try;;
28376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28377 (eval "$ac_compile") 2>conftest.er1
28379 grep -v '^
*+' conftest.er1 >conftest.err
28381 cat conftest.err >&5
28382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28383 (exit $ac_status); } && {
28384 test -z "$ac_c_werror_flag" ||
28385 test ! -s conftest.err
28386 } && test -s conftest.$ac_objext; then
28389 cat >conftest.$ac_ext <<_ACEOF
28392 cat confdefs.h >>conftest.$ac_ext
28393 cat >>conftest.$ac_ext <<_ACEOF
28394 /* end confdefs.h. */
28396 #undef HAVE_BOOLEAN
28398 #include <jpeglib.h>
28401 typedef boolean ac__type_sizeof_;
28405 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28412 rm -f conftest.$ac_objext
28413 if { (ac_try="$ac_compile"
28414 case "(($ac_try" in
28415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28416 *) ac_try_echo=$ac_try;;
28418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28419 (eval "$ac_compile") 2>conftest.er1
28421 grep -v '^
*+' conftest.er1 >conftest.err
28423 cat conftest.err >&5
28424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28425 (exit $ac_status); } && {
28426 test -z "$ac_c_werror_flag" ||
28427 test ! -s conftest.err
28428 } && test -s conftest.$ac_objext; then
28429 ac_hi=$ac_mid; break
28431 echo "$as_me: failed program was:" >&5
28432 sed 's
/^
/| /' conftest.$ac_ext >&5
28434 ac_lo=`expr $ac_mid + 1`
28435 if test $ac_lo -le $ac_mid; then
28439 ac_mid=`expr 2 '*' $ac_mid + 1`
28442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28445 echo "$as_me: failed program was:" >&5
28446 sed 's
/^
/| /' conftest.$ac_ext >&5
28448 cat >conftest.$ac_ext <<_ACEOF
28451 cat confdefs.h >>conftest.$ac_ext
28452 cat >>conftest.$ac_ext <<_ACEOF
28453 /* end confdefs.h. */
28455 #undef HAVE_BOOLEAN
28457 #include <jpeglib.h>
28460 typedef boolean ac__type_sizeof_;
28464 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28471 rm -f conftest.$ac_objext
28472 if { (ac_try="$ac_compile"
28473 case "(($ac_try" in
28474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28475 *) ac_try_echo=$ac_try;;
28477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28478 (eval "$ac_compile") 2>conftest.er1
28480 grep -v '^
*+' conftest.er1 >conftest.err
28482 cat conftest.err >&5
28483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28484 (exit $ac_status); } && {
28485 test -z "$ac_c_werror_flag" ||
28486 test ! -s conftest.err
28487 } && test -s conftest.$ac_objext; then
28490 cat >conftest.$ac_ext <<_ACEOF
28493 cat confdefs.h >>conftest.$ac_ext
28494 cat >>conftest.$ac_ext <<_ACEOF
28495 /* end confdefs.h. */
28497 #undef HAVE_BOOLEAN
28499 #include <jpeglib.h>
28502 typedef boolean ac__type_sizeof_;
28506 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28513 rm -f conftest.$ac_objext
28514 if { (ac_try="$ac_compile"
28515 case "(($ac_try" in
28516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28517 *) ac_try_echo=$ac_try;;
28519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28520 (eval "$ac_compile") 2>conftest.er1
28522 grep -v '^
*+' conftest.er1 >conftest.err
28524 cat conftest.err >&5
28525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28526 (exit $ac_status); } && {
28527 test -z "$ac_c_werror_flag" ||
28528 test ! -s conftest.err
28529 } && test -s conftest.$ac_objext; then
28530 ac_lo=$ac_mid; break
28532 echo "$as_me: failed program was:" >&5
28533 sed 's
/^
/| /' conftest.$ac_ext >&5
28535 ac_hi=`expr '(' $ac_mid ')' - 1`
28536 if test $ac_mid -le $ac_hi; then
28540 ac_mid=`expr 2 '*' $ac_mid`
28543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28546 echo "$as_me: failed program was:" >&5
28547 sed 's
/^
/| /' conftest.$ac_ext >&5
28552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28556 # Binary search between lo and hi bounds.
28557 while test "x$ac_lo" != "x$ac_hi"; do
28558 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28559 cat >conftest.$ac_ext <<_ACEOF
28562 cat confdefs.h >>conftest.$ac_ext
28563 cat >>conftest.$ac_ext <<_ACEOF
28564 /* end confdefs.h. */
28566 #undef HAVE_BOOLEAN
28568 #include <jpeglib.h>
28571 typedef boolean ac__type_sizeof_;
28575 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28582 rm -f conftest.$ac_objext
28583 if { (ac_try="$ac_compile"
28584 case "(($ac_try" in
28585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28586 *) ac_try_echo=$ac_try;;
28588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28589 (eval "$ac_compile") 2>conftest.er1
28591 grep -v '^
*+' conftest.er1 >conftest.err
28593 cat conftest.err >&5
28594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28595 (exit $ac_status); } && {
28596 test -z "$ac_c_werror_flag" ||
28597 test ! -s conftest.err
28598 } && test -s conftest.$ac_objext; then
28601 echo "$as_me: failed program was:" >&5
28602 sed 's
/^
/| /' conftest.$ac_ext >&5
28604 ac_lo=`expr '(' $ac_mid ')' + 1`
28607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28610 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28611 '') if test "$ac_cv_type_boolean" = yes; then
28612 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28613 See \`config.log' for more details.
" >&5
28614 echo "$as_me: error
: cannot compute sizeof
(boolean
)
28615 See \
`config.log' for more details." >&2;}
28616 { (exit 77); exit 77; }; }
28618 ac_cv_sizeof_boolean=0
28622 cat >conftest.$ac_ext <<_ACEOF
28625 cat confdefs.h >>conftest.$ac_ext
28626 cat >>conftest.$ac_ext <<_ACEOF
28627 /* end confdefs.h. */
28629 #undef HAVE_BOOLEAN
28631 #include <jpeglib.h>
28634 typedef boolean ac__type_sizeof_;
28635 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28636 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28638 #include <stdlib.h>
28643 FILE *f = fopen ("conftest.val", "w");
28646 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28648 long int i = longval ();
28649 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28651 fprintf (f, "%ld\n", i);
28655 unsigned long int i = ulongval ();
28656 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28658 fprintf (f, "%lu\n", i);
28660 return ferror (f) || fclose (f) != 0;
28666 rm -f conftest$ac_exeext
28667 if { (ac_try="$ac_link"
28668 case "(($ac_try" in
28669 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28670 *) ac_try_echo
=$ac_try;;
28672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28673 (eval "$ac_link") 2>&5
28675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28676 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28677 { (case "(($ac_try" in
28678 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28679 *) ac_try_echo=$ac_try;;
28681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28682 (eval "$ac_try") 2>&5
28684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28685 (exit $ac_status); }; }; then
28686 ac_cv_sizeof_boolean=`cat conftest.val
`
28688 echo "$as_me: program exited with status $ac_status" >&5
28689 echo "$as_me: failed program was:" >&5
28690 sed 's/^/| /' conftest.$ac_ext >&5
28692 ( exit $ac_status )
28693 if test "$ac_cv_type_boolean" = yes; then
28694 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28695 See \`config.log
' for more details." >&5
28696 echo "$as_me: error: cannot compute sizeof (boolean)
28697 See \`config.log' for more details.
" >&2;}
28698 { (exit 77); exit 77; }; }
28700 ac_cv_sizeof_boolean=0
28703 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28707 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
28708 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28712 cat >>confdefs.h <<_ACEOF
28713 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28717 cat >>confdefs.h <<_ACEOF
28718 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28732 TIFF_PREREQ_LINKS=-lm
28733 if test "$wxUSE_LIBTIFF" != "no
" ; then
28734 cat >>confdefs.h <<\_ACEOF
28735 #define wxUSE_LIBTIFF 1
28739 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
28740 if test "$wxUSE_LIBJPEG" = "sys
"; then
28741 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28743 if test "$wxUSE_ZLIB" = "sys
"; then
28744 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28746 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
28747 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
28748 if test "${ac_cv_header_tiffio_h+set}" = set; then
28749 echo $ECHO_N "(cached
) $ECHO_C" >&6
28751 cat >conftest.$ac_ext <<_ACEOF
28754 cat confdefs.h >>conftest.$ac_ext
28755 cat >>conftest.$ac_ext <<_ACEOF
28756 /* end confdefs.h. */
28760 #include <tiffio.h>
28762 rm -f conftest.$ac_objext
28763 if { (ac_try="$ac_compile"
28764 case "(($ac_try" in
28765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28766 *) ac_try_echo=$ac_try;;
28768 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28769 (eval "$ac_compile") 2>conftest.er1
28771 grep -v '^ *+' conftest.er1 >conftest.err
28773 cat conftest.err >&5
28774 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28775 (exit $ac_status); } && {
28776 test -z "$ac_c_werror_flag" ||
28777 test ! -s conftest.err
28778 } && test -s conftest.$ac_objext; then
28779 ac_cv_header_tiffio_h=yes
28781 echo "$as_me: failed program was
:" >&5
28782 sed 's/^/| /' conftest.$ac_ext >&5
28784 ac_cv_header_tiffio_h=no
28787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28789 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
28790 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28791 if test $ac_cv_header_tiffio_h = yes; then
28793 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
28794 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
28795 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28796 echo $ECHO_N "(cached
) $ECHO_C" >&6
28798 ac_check_lib_save_LIBS=$LIBS
28799 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28800 cat >conftest.$ac_ext <<_ACEOF
28803 cat confdefs.h >>conftest.$ac_ext
28804 cat >>conftest.$ac_ext <<_ACEOF
28805 /* end confdefs.h. */
28807 /* Override any GCC internal prototype to avoid an error.
28808 Use char because int might match the return type of a GCC
28809 builtin and then its argument prototype would still apply. */
28817 return TIFFError ();
28822 rm -f conftest.$ac_objext conftest$ac_exeext
28823 if { (ac_try="$ac_link"
28824 case "(($ac_try" in
28825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28826 *) ac_try_echo=$ac_try;;
28828 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28829 (eval "$ac_link") 2>conftest.er1
28831 grep -v '^ *+' conftest.er1 >conftest.err
28833 cat conftest.err >&5
28834 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28835 (exit $ac_status); } && {
28836 test -z "$ac_c_werror_flag" ||
28837 test ! -s conftest.err
28838 } && test -s conftest$ac_exeext &&
28839 $as_test_x conftest$ac_exeext; then
28840 ac_cv_lib_tiff_TIFFError=yes
28842 echo "$as_me: failed program was
:" >&5
28843 sed 's/^/| /' conftest.$ac_ext >&5
28845 ac_cv_lib_tiff_TIFFError=no
28848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28849 conftest$ac_exeext conftest.$ac_ext
28850 LIBS=$ac_check_lib_save_LIBS
28852 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
28853 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
28854 if test $ac_cv_lib_tiff_TIFFError = yes; then
28855 TIFF_LINK=" -ltiff"
28863 if test "x
$TIFF_LINK" = "x
" ; then
28864 if test "$wxUSE_LIBTIFF" = "sys
" ; then
28865 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
28866 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
28867 { (exit 1); exit 1; }; }
28869 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
28870 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
28871 wxUSE_LIBTIFF=builtin
28877 if test "$wxUSE_LIBTIFF" = "builtin" ; then
28878 if test "$wxUSE_LIBJPEG" = "no
"; then
28879 ac_configure_args="$ac_configure_args --disable-jpeg"
28881 subdirs="$subdirs src
/tiff
"
28887 if test "$wxUSE_EXPAT" != "no
"; then
28889 cat >>confdefs.h <<\_ACEOF
28890 #define wxUSE_EXPAT 1
28893 cat >>confdefs.h <<\_ACEOF
28894 #define wxUSE_XML 1
28898 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
28899 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
28900 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
28901 if test "${ac_cv_header_expat_h+set}" = set; then
28902 echo $ECHO_N "(cached
) $ECHO_C" >&6
28904 cat >conftest.$ac_ext <<_ACEOF
28907 cat confdefs.h >>conftest.$ac_ext
28908 cat >>conftest.$ac_ext <<_ACEOF
28909 /* end confdefs.h. */
28914 rm -f conftest.$ac_objext
28915 if { (ac_try="$ac_compile"
28916 case "(($ac_try" in
28917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28918 *) ac_try_echo=$ac_try;;
28920 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28921 (eval "$ac_compile") 2>conftest.er1
28923 grep -v '^ *+' conftest.er1 >conftest.err
28925 cat conftest.err >&5
28926 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28927 (exit $ac_status); } && {
28928 test -z "$ac_c_werror_flag" ||
28929 test ! -s conftest.err
28930 } && test -s conftest.$ac_objext; then
28931 ac_cv_header_expat_h=yes
28933 echo "$as_me: failed program was
:" >&5
28934 sed 's/^/| /' conftest.$ac_ext >&5
28936 ac_cv_header_expat_h=no
28939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28941 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
28942 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
28943 if test $ac_cv_header_expat_h = yes; then
28948 if test "x
$found_expat_h" = "x1
"; then
28949 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
28950 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
28951 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28952 echo $ECHO_N "(cached
) $ECHO_C" >&6
28956 ac_cpp='$CXXCPP $CPPFLAGS'
28957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28961 cat >conftest.$ac_ext <<_ACEOF
28964 cat confdefs.h >>conftest.$ac_ext
28965 cat >>conftest.$ac_ext <<_ACEOF
28966 /* end confdefs.h. */
28976 rm -f conftest.$ac_objext
28977 if { (ac_try="$ac_compile"
28978 case "(($ac_try" in
28979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28980 *) ac_try_echo=$ac_try;;
28982 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28983 (eval "$ac_compile") 2>conftest.er1
28985 grep -v '^ *+' conftest.er1 >conftest.err
28987 cat conftest.err >&5
28988 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28989 (exit $ac_status); } && {
28990 test -z "$ac_cxx_werror_flag" ||
28991 test ! -s conftest.err
28992 } && test -s conftest.$ac_objext; then
28993 wx_cv_expat_is_not_broken=yes
28995 echo "$as_me: failed program was
:" >&5
28996 sed 's/^/| /' conftest.$ac_ext >&5
28998 wx_cv_expat_is_not_broken=no
29002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29004 ac_cpp='$CPP $CPPFLAGS'
29005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29012 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
29013 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29014 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29015 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
29016 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
29017 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29018 echo $ECHO_N "(cached
) $ECHO_C" >&6
29020 ac_check_lib_save_LIBS=$LIBS
29021 LIBS="-lexpat $LIBS"
29022 cat >conftest.$ac_ext <<_ACEOF
29025 cat confdefs.h >>conftest.$ac_ext
29026 cat >>conftest.$ac_ext <<_ACEOF
29027 /* end confdefs.h. */
29029 /* Override any GCC internal prototype to avoid an error.
29030 Use char because int might match the return type of a GCC
29031 builtin and then its argument prototype would still apply. */
29035 char XML_ParserCreate ();
29039 return XML_ParserCreate ();
29044 rm -f conftest.$ac_objext conftest$ac_exeext
29045 if { (ac_try="$ac_link"
29046 case "(($ac_try" in
29047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29048 *) ac_try_echo=$ac_try;;
29050 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29051 (eval "$ac_link") 2>conftest.er1
29053 grep -v '^ *+' conftest.er1 >conftest.err
29055 cat conftest.err >&5
29056 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29057 (exit $ac_status); } && {
29058 test -z "$ac_c_werror_flag" ||
29059 test ! -s conftest.err
29060 } && test -s conftest$ac_exeext &&
29061 $as_test_x conftest$ac_exeext; then
29062 ac_cv_lib_expat_XML_ParserCreate=yes
29064 echo "$as_me: failed program was
:" >&5
29065 sed 's/^/| /' conftest.$ac_ext >&5
29067 ac_cv_lib_expat_XML_ParserCreate=no
29070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29071 conftest$ac_exeext conftest.$ac_ext
29072 LIBS=$ac_check_lib_save_LIBS
29074 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
29075 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29076 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29077 EXPAT_LINK=" -lexpat"
29082 if test "x
$EXPAT_LINK" = "x
" ; then
29083 if test "$wxUSE_EXPAT" = "sys
" ; then
29084 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
29085 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
29086 { (exit 1); exit 1; }; }
29088 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
29089 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
29090 wxUSE_EXPAT=builtin
29096 if test "$wxUSE_EXPAT" = "builtin" ; then
29097 subdirs="$subdirs src
/expat
"
29104 if test "$wxUSE_LIBMSPACK" != "no
"; then
29105 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
29106 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
29107 if test "${ac_cv_header_mspack_h+set}" = set; then
29108 echo $ECHO_N "(cached
) $ECHO_C" >&6
29110 cat >conftest.$ac_ext <<_ACEOF
29113 cat confdefs.h >>conftest.$ac_ext
29114 cat >>conftest.$ac_ext <<_ACEOF
29115 /* end confdefs.h. */
29118 #include <mspack.h>
29120 rm -f conftest.$ac_objext
29121 if { (ac_try="$ac_compile"
29122 case "(($ac_try" in
29123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29124 *) ac_try_echo=$ac_try;;
29126 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29127 (eval "$ac_compile") 2>conftest.er1
29129 grep -v '^ *+' conftest.er1 >conftest.err
29131 cat conftest.err >&5
29132 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29133 (exit $ac_status); } && {
29134 test -z "$ac_c_werror_flag" ||
29135 test ! -s conftest.err
29136 } && test -s conftest.$ac_objext; then
29137 ac_cv_header_mspack_h=yes
29139 echo "$as_me: failed program was
:" >&5
29140 sed 's/^/| /' conftest.$ac_ext >&5
29142 ac_cv_header_mspack_h=no
29145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29147 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
29148 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29149 if test $ac_cv_header_mspack_h = yes; then
29154 if test "x
$found_mspack_h" = "x1
"; then
29155 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
29156 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
29157 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29158 echo $ECHO_N "(cached
) $ECHO_C" >&6
29160 ac_check_lib_save_LIBS=$LIBS
29161 LIBS="-lmspack $LIBS"
29162 cat >conftest.$ac_ext <<_ACEOF
29165 cat confdefs.h >>conftest.$ac_ext
29166 cat >>conftest.$ac_ext <<_ACEOF
29167 /* end confdefs.h. */
29169 /* Override any GCC internal prototype to avoid an error.
29170 Use char because int might match the return type of a GCC
29171 builtin and then its argument prototype would still apply. */
29175 char mspack_create_chm_decompressor ();
29179 return mspack_create_chm_decompressor ();
29184 rm -f conftest.$ac_objext conftest$ac_exeext
29185 if { (ac_try="$ac_link"
29186 case "(($ac_try" in
29187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29188 *) ac_try_echo=$ac_try;;
29190 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29191 (eval "$ac_link") 2>conftest.er1
29193 grep -v '^ *+' conftest.er1 >conftest.err
29195 cat conftest.err >&5
29196 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29197 (exit $ac_status); } && {
29198 test -z "$ac_c_werror_flag" ||
29199 test ! -s conftest.err
29200 } && test -s conftest$ac_exeext &&
29201 $as_test_x conftest$ac_exeext; then
29202 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29204 echo "$as_me: failed program was
:" >&5
29205 sed 's/^/| /' conftest.$ac_ext >&5
29207 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29210 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29211 conftest$ac_exeext conftest.$ac_ext
29212 LIBS=$ac_check_lib_save_LIBS
29214 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29215 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29216 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29217 MSPACK_LINK=" -lmspack"
29221 if test "x
$MSPACK_LINK" = "x
" ; then
29226 if test "$wxUSE_LIBMSPACK" != "no
"; then
29227 cat >>confdefs.h <<\_ACEOF
29228 #define wxUSE_LIBMSPACK 1
29242 if test "$USE_WIN32" = 1 ; then
29244 for ac_header in w32api.h
29246 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
29247 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
29248 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
29249 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
29250 echo $ECHO_N "(cached
) $ECHO_C" >&6
29252 cat >conftest.$ac_ext <<_ACEOF
29255 cat confdefs.h >>conftest.$ac_ext
29256 cat >>conftest.$ac_ext <<_ACEOF
29257 /* end confdefs.h. */
29260 #include <$ac_header>
29262 rm -f conftest.$ac_objext
29263 if { (ac_try="$ac_compile"
29264 case "(($ac_try" in
29265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29266 *) ac_try_echo=$ac_try;;
29268 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29269 (eval "$ac_compile") 2>conftest.er1
29271 grep -v '^ *+' conftest.er1 >conftest.err
29273 cat conftest.err >&5
29274 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29275 (exit $ac_status); } && {
29276 test -z "$ac_c_werror_flag" ||
29277 test ! -s conftest.err
29278 } && test -s conftest.$ac_objext; then
29279 eval "$as_ac_Header=yes"
29281 echo "$as_me: failed program was
:" >&5
29282 sed 's/^/| /' conftest.$ac_ext >&5
29284 eval "$as_ac_Header=no
"
29287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29289 ac_res=`eval echo '${'$as_ac_Header'}'`
29290 { echo "$as_me:$LINENO: result
: $ac_res" >&5
29291 echo "${ECHO_T}$ac_res" >&6; }
29292 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29293 cat >>confdefs.h <<_ACEOF
29294 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
29301 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
29302 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
29303 if test "${ac_cv_header_windows_h+set}" = set; then
29304 echo $ECHO_N "(cached
) $ECHO_C" >&6
29306 cat >conftest.$ac_ext <<_ACEOF
29309 cat confdefs.h >>conftest.$ac_ext
29310 cat >>conftest.$ac_ext <<_ACEOF
29311 /* end confdefs.h. */
29314 #include <windows.h>
29316 rm -f conftest.$ac_objext
29317 if { (ac_try="$ac_compile"
29318 case "(($ac_try" in
29319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29320 *) ac_try_echo=$ac_try;;
29322 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29323 (eval "$ac_compile") 2>conftest.er1
29325 grep -v '^ *+' conftest.er1 >conftest.err
29327 cat conftest.err >&5
29328 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29329 (exit $ac_status); } && {
29330 test -z "$ac_c_werror_flag" ||
29331 test ! -s conftest.err
29332 } && test -s conftest.$ac_objext; then
29333 ac_cv_header_windows_h=yes
29335 echo "$as_me: failed program was
:" >&5
29336 sed 's/^/| /' conftest.$ac_ext >&5
29338 ac_cv_header_windows_h=no
29341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29343 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
29344 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29345 if test $ac_cv_header_windows_h = yes; then
29349 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
29350 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
29351 { (exit 1); exit 1; }; }
29357 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29359 x86_64-*-mingw32* )
29360 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64
"
29363 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29364 LIBS="$LIBS -loleacc"
29369 LIBS="$LIBS -lkernel32 -luser32"
29372 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
$WINDRES_CPU_DEFINE"
29373 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
29375 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
$WINDRES_CPU_DEFINE"
29377 WIN32INSTALL=win32install
29379 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
29380 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
29381 if test "${ac_cv_header_pbt_h+set}" = set; then
29382 echo $ECHO_N "(cached
) $ECHO_C" >&6
29384 cat >conftest.$ac_ext <<_ACEOF
29387 cat confdefs.h >>conftest.$ac_ext
29388 cat >>conftest.$ac_ext <<_ACEOF
29389 /* end confdefs.h. */
29394 rm -f conftest.$ac_objext
29395 if { (ac_try="$ac_compile"
29396 case "(($ac_try" in
29397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29398 *) ac_try_echo=$ac_try;;
29400 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29401 (eval "$ac_compile") 2>conftest.er1
29403 grep -v '^ *+' conftest.er1 >conftest.err
29405 cat conftest.err >&5
29406 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29407 (exit $ac_status); } && {
29408 test -z "$ac_c_werror_flag" ||
29409 test ! -s conftest.err
29410 } && test -s conftest.$ac_objext; then
29411 ac_cv_header_pbt_h=yes
29413 echo "$as_me: failed program was
:" >&5
29414 sed 's/^/| /' conftest.$ac_ext >&5
29416 ac_cv_header_pbt_h=no
29419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29421 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
29422 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29423 if test $ac_cv_header_pbt_h = yes; then
29426 cat >>confdefs.h <<\_ACEOF
29427 #define NEED_PBT_H 1
29435 if test "$wxUSE_GUI" = "yes"; then
29445 if test "$wxUSE_OLD_COCOA" = 1 ; then
29446 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29447 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
29448 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
29449 wxUSE_PRINTING_ARCHITECTURE=no
29451 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29452 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
29453 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
29454 wxUSE_DRAG_AND_DROP=no
29456 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29457 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
29458 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
29463 if test "$wxUSE_MSW" = 1 ; then
29469 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
29473 if test "$wxUSE_GTK" = 1; then
29474 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
29475 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
29477 gtk_version_cached=1
29478 if test "${wx_cv_lib_gtk+set}" = set; then
29479 echo $ECHO_N "(cached
) $ECHO_C" >&6
29482 gtk_version_cached=0
29483 { echo "$as_me:$LINENO: result
: " >&5
29484 echo "${ECHO_T}" >&6; }
29487 if test "$wxUSE_THREADS" = "yes"; then
29488 GTK_MODULES=gthread
29492 if test "x
$wxGTK_VERSION" != "x1
"
29496 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29501 # Check whether --enable-gtktest was given.
29502 if test "${enable_gtktest+set}" = set; then
29503 enableval=$enable_gtktest;
29509 pkg_config_args=gtk+-2.0
29510 for module in . $GTK_MODULES
29514 pkg_config_args="$pkg_config_args gthread
-2.0
"
29521 # Extract the first word of "pkg
-config", so it can be a program name with args.
29522 set dummy pkg-config; ac_word=$2
29523 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
29524 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
29525 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29526 echo $ECHO_N "(cached
) $ECHO_C" >&6
29528 case $PKG_CONFIG in
29530 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29534 for as_dir in $PATH
29537 test -z "$as_dir" && as_dir=.
29538 for ac_exec_ext in '' $ac_executable_extensions; do
29539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29540 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29541 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29548 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
29552 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29553 if test -n "$PKG_CONFIG"; then
29554 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
29555 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29557 { echo "$as_me:$LINENO: result
: no
" >&5
29558 echo "${ECHO_T}no
" >&6; }
29563 if test x$PKG_CONFIG != xno ; then
29564 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29567 echo "*** pkg
-config too old
; version
0.7 or better required.
"
29575 min_gtk_version=2.4.0
29576 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
29577 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
29579 if test x$PKG_CONFIG != xno ; then
29580 ## don't try to run the test against uninstalled libtool libs
29581 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29582 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
29586 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29593 if test x"$no_gtk" = x ; then
29594 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29595 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29596 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29597 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29598 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29599 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29600 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29601 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29602 if test "x
$enable_gtktest" = "xyes
" ; then
29603 ac_save_CFLAGS="$CFLAGS"
29604 ac_save_LIBS="$LIBS"
29605 CFLAGS="$CFLAGS $GTK_CFLAGS"
29606 LIBS="$GTK_LIBS $LIBS"
29608 if test "$cross_compiling" = yes; then
29609 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29611 cat >conftest.$ac_ext <<_ACEOF
29614 cat confdefs.h >>conftest.$ac_ext
29615 cat >>conftest.$ac_ext <<_ACEOF
29616 /* end confdefs.h. */
29618 #include <gtk/gtk.h>
29620 #include <stdlib.h>
29625 int major, minor, micro;
29628 system ("touch conf.gtktest
");
29630 /* HP/UX 9 (%@#!) writes to sscanf strings */
29631 tmp_version = g_strdup("$min_gtk_version");
29632 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29633 printf("%s
, bad version string
\n", "$min_gtk_version");
29637 if ((gtk_major_version != $gtk_config_major_version) ||
29638 (gtk_minor_version != $gtk_config_minor_version) ||
29639 (gtk_micro_version != $gtk_config_micro_version))
29641 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29642 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29643 gtk_major_version, gtk_minor_version, gtk_micro_version);
29644 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
29645 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29646 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29647 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29648 printf("*** required on your system.
\n");
29649 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
29650 printf("*** to point to the correct configuration files
\n");
29652 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29653 (gtk_minor_version != GTK_MINOR_VERSION) ||
29654 (gtk_micro_version != GTK_MICRO_VERSION))
29656 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29657 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29658 printf("*** library
(version
%d.
%d.
%d
)\n",
29659 gtk_major_version, gtk_minor_version, gtk_micro_version);
29663 if ((gtk_major_version > major) ||
29664 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29665 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29671 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29672 gtk_major_version, gtk_minor_version, gtk_micro_version);
29673 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29674 major, minor, micro);
29675 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29677 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29678 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
29679 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29680 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
29681 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
29682 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29683 printf("*** so that the correct libraries are found
at run
-time))\n");
29690 rm -f conftest$ac_exeext
29691 if { (ac_try="$ac_link"
29692 case "(($ac_try" in
29693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29694 *) ac_try_echo=$ac_try;;
29696 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29697 (eval "$ac_link") 2>&5
29699 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29700 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29701 { (case "(($ac_try" in
29702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29703 *) ac_try_echo=$ac_try;;
29705 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29706 (eval "$ac_try") 2>&5
29708 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29709 (exit $ac_status); }; }; then
29712 echo "$as_me: program exited with status
$ac_status" >&5
29713 echo "$as_me: failed program was
:" >&5
29714 sed 's/^/| /' conftest.$ac_ext >&5
29716 ( exit $ac_status )
29719 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29723 CFLAGS="$ac_save_CFLAGS"
29724 LIBS="$ac_save_LIBS"
29727 if test "x
$no_gtk" = x ; then
29728 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
29729 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
29732 { echo "$as_me:$LINENO: result
: no
" >&5
29733 echo "${ECHO_T}no
" >&6; }
29734 if test "$PKG_CONFIG" = "no
" ; then
29735 echo "*** A new enough version of pkg
-config was not found.
"
29736 echo "*** See http
://pkgconfig.sourceforge.net
"
29738 if test -f conf.gtktest ; then
29741 echo "*** Could not run GTK
+ test program
, checking why...
"
29742 ac_save_CFLAGS="$CFLAGS"
29743 ac_save_LIBS="$LIBS"
29744 CFLAGS="$CFLAGS $GTK_CFLAGS"
29745 LIBS="$LIBS $GTK_LIBS"
29746 cat >conftest.$ac_ext <<_ACEOF
29749 cat confdefs.h >>conftest.$ac_ext
29750 cat >>conftest.$ac_ext <<_ACEOF
29751 /* end confdefs.h. */
29753 #include <gtk/gtk.h>
29759 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29764 rm -f conftest.$ac_objext conftest$ac_exeext
29765 if { (ac_try="$ac_link"
29766 case "(($ac_try" in
29767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29768 *) ac_try_echo=$ac_try;;
29770 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29771 (eval "$ac_link") 2>conftest.er1
29773 grep -v '^ *+' conftest.er1 >conftest.err
29775 cat conftest.err >&5
29776 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29777 (exit $ac_status); } && {
29778 test -z "$ac_c_werror_flag" ||
29779 test ! -s conftest.err
29780 } && test -s conftest$ac_exeext &&
29781 $as_test_x conftest$ac_exeext; then
29782 echo "*** The
test program compiled
, but did not run. This usually means
"
29783 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
29784 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
29785 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29786 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29787 echo "*** is required on your system"
29789 echo "*** If you have an old version installed, it is best to remove it, although"
29790 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29792 echo "$as_me: failed program was:" >&5
29793 sed 's
/^
/| /' conftest.$ac_ext >&5
29795 echo "*** The test program failed to compile or link. See the file config.log for the"
29796 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29800 conftest$ac_exeext conftest.$ac_ext
29801 CFLAGS="$ac_save_CFLAGS"
29802 LIBS="$ac_save_LIBS"
29816 if test "$wxUSE_SHARED" != "yes"; then
29817 GTK_LIBS="$GTK_LIBS -lX11"
29822 if test -z "$wx_cv_lib_gtk"; then
29823 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29825 # Check whether --with-gtk-prefix was given.
29826 if test "${with_gtk_prefix+set}" = set; then
29827 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29829 gtk_config_prefix=""
29833 # Check whether --with-gtk-exec-prefix was given.
29834 if test "${with_gtk_exec_prefix+set}" = set; then
29835 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29837 gtk_config_exec_prefix=""
29840 # Check whether --enable-gtktest was given.
29841 if test "${enable_gtktest+set}" = set; then
29842 enableval=$enable_gtktest;
29848 for module in . $GTK_MODULES
29852 gtk_config_args="$gtk_config_args gthread"
29857 if test x$gtk_config_exec_prefix != x ; then
29858 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29859 if test x${GTK_CONFIG+set} != xset ; then
29860 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29863 if test x$gtk_config_prefix != x ; then
29864 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29865 if test x${GTK_CONFIG+set} != xset ; then
29866 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29870 # Extract the first word of "gtk-config", so it can be a program name with args.
29871 set dummy gtk-config; ac_word=$2
29872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29874 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29875 echo $ECHO_N "(cached) $ECHO_C" >&6
29877 case $GTK_CONFIG in
29879 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29883 for as_dir in $PATH
29886 test -z "$as_dir" && as_dir=.
29887 for ac_exec_ext in '' $ac_executable_extensions; do
29888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29889 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29897 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29901 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29902 if test -n "$GTK_CONFIG"; then
29903 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29904 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29906 { echo "$as_me:$LINENO: result: no" >&5
29907 echo "${ECHO_T}no" >&6; }
29911 min_gtk_version=1.2.7
29912 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29913 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29915 if test "$GTK_CONFIG" = "no" ; then
29918 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29919 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29920 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29921 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
29922 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29923 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
29924 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29925 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
29926 if test "x$enable_gtktest" = "xyes" ; then
29927 ac_save_CFLAGS="$CFLAGS"
29928 ac_save_LIBS="$LIBS"
29929 CFLAGS="$CFLAGS $GTK_CFLAGS"
29930 LIBS="$GTK_LIBS $LIBS"
29932 if test "$cross_compiling" = yes; then
29933 echo $ac_n "cross compiling; assumed OK... $ac_c"
29935 cat >conftest.$ac_ext <<_ACEOF
29938 cat confdefs.h >>conftest.$ac_ext
29939 cat >>conftest.$ac_ext <<_ACEOF
29940 /* end confdefs.h. */
29942 #include <gtk/gtk.h>
29944 #include <stdlib.h>
29949 int major, minor, micro;
29952 system ("touch conf.gtktest");
29954 /* HP/UX 9 (%@#!) writes to sscanf strings */
29955 tmp_version = g_strdup("$min_gtk_version");
29956 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29957 printf("%s, bad version string\n", "$min_gtk_version");
29961 if ((gtk_major_version != $gtk_config_major_version) ||
29962 (gtk_minor_version != $gtk_config_minor_version) ||
29963 (gtk_micro_version != $gtk_config_micro_version))
29965 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29966 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29967 gtk_major_version, gtk_minor_version, gtk_micro_version);
29968 printf ("*** was found! If gtk-config was correct, then it is best\n");
29969 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29970 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29971 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29972 printf("*** required on your system.\n");
29973 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29974 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29975 printf("*** before re-running configure\n");
29977 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29978 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29979 (gtk_minor_version != GTK_MINOR_VERSION) ||
29980 (gtk_micro_version != GTK_MICRO_VERSION))
29982 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29983 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29984 printf("*** library (version %d.%d.%d)\n",
29985 gtk_major_version, gtk_minor_version, gtk_micro_version);
29987 #endif /* defined (GTK_MAJOR_VERSION) ... */
29990 if ((gtk_major_version > major) ||
29991 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29992 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29998 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29999 gtk_major_version, gtk_minor_version, gtk_micro_version);
30000 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30001 major, minor, micro);
30002 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30004 printf("*** If you have already installed a sufficiently new version, this error\n");
30005 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30006 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30007 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30008 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30009 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30010 printf("*** so that the correct libraries are found at run-time))\n");
30017 rm -f conftest$ac_exeext
30018 if { (ac_try="$ac_link"
30019 case "(($ac_try" in
30020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30021 *) ac_try_echo=$ac_try;;
30023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30024 (eval "$ac_link") 2>&5
30026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30027 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
30028 { (case "(($ac_try" in
30029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30030 *) ac_try_echo=$ac_try;;
30032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30033 (eval "$ac_try") 2>&5
30035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30036 (exit $ac_status); }; }; then
30039 echo "$as_me: program exited with status $ac_status" >&5
30040 echo "$as_me: failed program was:" >&5
30041 sed 's
/^
/| /' conftest.$ac_ext >&5
30043 ( exit $ac_status )
30046 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30050 CFLAGS="$ac_save_CFLAGS"
30051 LIBS="$ac_save_LIBS"
30054 if test "x$no_gtk" = x ; then
30055 { echo "$as_me:$LINENO: result: yes" >&5
30056 echo "${ECHO_T}yes" >&6; }
30057 wx_cv_lib_gtk=1.2.7
30059 { echo "$as_me:$LINENO: result: no" >&5
30060 echo "${ECHO_T}no" >&6; }
30061 if test "$GTK_CONFIG" = "no" ; then
30062 echo "*** The gtk-config script installed by GTK could not be found"
30063 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30064 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30065 echo "*** full path to gtk-config."
30067 if test -f conf.gtktest ; then
30070 echo "*** Could not run GTK test program, checking why..."
30071 CFLAGS="$CFLAGS $GTK_CFLAGS"
30072 LIBS="$LIBS $GTK_LIBS"
30073 cat >conftest.$ac_ext <<_ACEOF
30076 cat confdefs.h >>conftest.$ac_ext
30077 cat >>conftest.$ac_ext <<_ACEOF
30078 /* end confdefs.h. */
30080 #include <gtk/gtk.h>
30086 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30091 rm -f conftest.$ac_objext conftest$ac_exeext
30092 if { (ac_try="$ac_link"
30093 case "(($ac_try" in
30094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30095 *) ac_try_echo=$ac_try;;
30097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30098 (eval "$ac_link") 2>conftest.er1
30100 grep -v '^
*+' conftest.er1 >conftest.err
30102 cat conftest.err >&5
30103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30104 (exit $ac_status); } && {
30105 test -z "$ac_c_werror_flag" ||
30106 test ! -s conftest.err
30107 } && test -s conftest$ac_exeext &&
30108 $as_test_x conftest$ac_exeext; then
30109 echo "*** The test program compiled, but did not run. This usually means"
30110 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30111 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
30112 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
30113 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
30114 echo "*** is required on your system
"
30116 echo "*** If you have an old version installed
, it is best to remove it
, although
"
30117 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
30119 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
30120 echo "*** came with the system with the
command"
30122 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
30124 echo "$as_me: failed program was
:" >&5
30125 sed 's/^/| /' conftest.$ac_ext >&5
30127 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
30128 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
30129 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
30130 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
30133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30134 conftest$ac_exeext conftest.$ac_ext
30135 CFLAGS="$ac_save_CFLAGS"
30136 LIBS="$ac_save_LIBS"
30148 if test -z "$wx_cv_lib_gtk"; then
30150 # Check whether --with-gtk-prefix was given.
30151 if test "${with_gtk_prefix+set}" = set; then
30152 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30154 gtk_config_prefix=""
30158 # Check whether --with-gtk-exec-prefix was given.
30159 if test "${with_gtk_exec_prefix+set}" = set; then
30160 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30162 gtk_config_exec_prefix=""
30165 # Check whether --enable-gtktest was given.
30166 if test "${enable_gtktest+set}" = set; then
30167 enableval=$enable_gtktest;
30173 for module in . $GTK_MODULES
30177 gtk_config_args="$gtk_config_args gthread
"
30182 if test x$gtk_config_exec_prefix != x ; then
30183 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30184 if test x${GTK_CONFIG+set} != xset ; then
30185 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30188 if test x$gtk_config_prefix != x ; then
30189 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30190 if test x${GTK_CONFIG+set} != xset ; then
30191 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30195 # Extract the first word of "gtk
-config", so it can be a program name with args.
30196 set dummy gtk-config; ac_word=$2
30197 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
30198 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
30199 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30200 echo $ECHO_N "(cached
) $ECHO_C" >&6
30202 case $GTK_CONFIG in
30204 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30208 for as_dir in $PATH
30211 test -z "$as_dir" && as_dir=.
30212 for ac_exec_ext in '' $ac_executable_extensions; do
30213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30214 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30215 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
30222 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
30226 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30227 if test -n "$GTK_CONFIG"; then
30228 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
30229 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30231 { echo "$as_me:$LINENO: result
: no
" >&5
30232 echo "${ECHO_T}no
" >&6; }
30236 min_gtk_version=1.2.3
30237 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
30238 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
30240 if test "$GTK_CONFIG" = "no
" ; then
30243 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30244 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30245 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30246 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30247 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30248 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30249 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30250 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30251 if test "x
$enable_gtktest" = "xyes
" ; then
30252 ac_save_CFLAGS="$CFLAGS"
30253 ac_save_LIBS="$LIBS"
30254 CFLAGS="$CFLAGS $GTK_CFLAGS"
30255 LIBS="$GTK_LIBS $LIBS"
30257 if test "$cross_compiling" = yes; then
30258 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
30260 cat >conftest.$ac_ext <<_ACEOF
30263 cat confdefs.h >>conftest.$ac_ext
30264 cat >>conftest.$ac_ext <<_ACEOF
30265 /* end confdefs.h. */
30267 #include <gtk/gtk.h>
30269 #include <stdlib.h>
30274 int major, minor, micro;
30277 system ("touch conf.gtktest
");
30279 /* HP/UX 9 (%@#!) writes to sscanf strings */
30280 tmp_version = g_strdup("$min_gtk_version");
30281 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
30282 printf("%s
, bad version string
\n", "$min_gtk_version");
30286 if ((gtk_major_version != $gtk_config_major_version) ||
30287 (gtk_minor_version != $gtk_config_minor_version) ||
30288 (gtk_micro_version != $gtk_config_micro_version))
30290 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
30291 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30292 gtk_major_version, gtk_minor_version, gtk_micro_version);
30293 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
30294 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
30295 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
30296 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
30297 printf("*** required on your system.
\n");
30298 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
30299 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
30300 printf("*** before re
-running configure
\n");
30302 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30303 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30304 (gtk_minor_version != GTK_MINOR_VERSION) ||
30305 (gtk_micro_version != GTK_MICRO_VERSION))
30307 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
30308 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30309 printf("*** library
(version
%d.
%d.
%d
)\n",
30310 gtk_major_version, gtk_minor_version, gtk_micro_version);
30312 #endif /* defined (GTK_MAJOR_VERSION) ... */
30315 if ((gtk_major_version > major) ||
30316 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30317 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30323 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
30324 gtk_major_version, gtk_minor_version, gtk_micro_version);
30325 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
30326 major, minor, micro);
30327 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
30329 printf("*** If you have already installed a sufficiently new version
, this error
\n");
30330 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
30331 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
30332 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
30333 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
30334 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
30335 printf("*** so that the correct libraries are found
at run
-time))\n");
30342 rm -f conftest$ac_exeext
30343 if { (ac_try="$ac_link"
30344 case "(($ac_try" in
30345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30346 *) ac_try_echo=$ac_try;;
30348 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30349 (eval "$ac_link") 2>&5
30351 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30352 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30353 { (case "(($ac_try" in
30354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30355 *) ac_try_echo=$ac_try;;
30357 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30358 (eval "$ac_try") 2>&5
30360 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30361 (exit $ac_status); }; }; then
30364 echo "$as_me: program exited with status
$ac_status" >&5
30365 echo "$as_me: failed program was
:" >&5
30366 sed 's/^/| /' conftest.$ac_ext >&5
30368 ( exit $ac_status )
30371 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30375 CFLAGS="$ac_save_CFLAGS"
30376 LIBS="$ac_save_LIBS"
30379 if test "x
$no_gtk" = x ; then
30380 { echo "$as_me:$LINENO: result
: yes" >&5
30381 echo "${ECHO_T}yes" >&6; }
30382 wx_cv_lib_gtk=1.2.3
30384 { echo "$as_me:$LINENO: result
: no
" >&5
30385 echo "${ECHO_T}no
" >&6; }
30386 if test "$GTK_CONFIG" = "no
" ; then
30387 echo "*** The gtk
-config script installed by GTK could not be found
"
30388 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
30389 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
30390 echo "*** full path to gtk
-config.
"
30392 if test -f conf.gtktest ; then
30395 echo "*** Could not run GTK
test program
, checking why...
"
30396 CFLAGS="$CFLAGS $GTK_CFLAGS"
30397 LIBS="$LIBS $GTK_LIBS"
30398 cat >conftest.$ac_ext <<_ACEOF
30401 cat confdefs.h >>conftest.$ac_ext
30402 cat >>conftest.$ac_ext <<_ACEOF
30403 /* end confdefs.h. */
30405 #include <gtk/gtk.h>
30411 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30416 rm -f conftest.$ac_objext conftest$ac_exeext
30417 if { (ac_try="$ac_link"
30418 case "(($ac_try" in
30419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30420 *) ac_try_echo=$ac_try;;
30422 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30423 (eval "$ac_link") 2>conftest.er1
30425 grep -v '^ *+' conftest.er1 >conftest.err
30427 cat conftest.err >&5
30428 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30429 (exit $ac_status); } && {
30430 test -z "$ac_c_werror_flag" ||
30431 test ! -s conftest.err
30432 } && test -s conftest$ac_exeext &&
30433 $as_test_x conftest$ac_exeext; then
30434 echo "*** The
test program compiled
, but did not run. This usually means
"
30435 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
30436 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
30437 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30438 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30439 echo "*** is required on your system"
30441 echo "*** If you have an old version installed, it is best to remove it, although"
30442 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30444 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30445 echo "*** came with the system with the command"
30447 echo "*** rpm --erase --nodeps gtk gtk-devel"
30449 echo "$as_me: failed program was:" >&5
30450 sed 's
/^
/| /' conftest.$ac_ext >&5
30452 echo "*** The test program failed to compile or link. See the file config.log for the"
30453 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30454 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30455 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30459 conftest$ac_exeext conftest.$ac_ext
30460 CFLAGS="$ac_save_CFLAGS"
30461 LIBS="$ac_save_LIBS"
30476 if test -z "$wx_cv_lib_gtk"; then
30479 wx_cv_cflags_gtk=$GTK_CFLAGS
30480 wx_cv_libs_gtk=$GTK_LIBS
30487 if test "$gtk_version_cached" = 1; then
30488 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30489 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30492 case "$wx_cv_lib_gtk" in
30501 *) { { echo "$as_me:$LINENO: error:
30502 The development files for GTK+ were not found. For GTK+ 2, please
30503 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30504 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30505 and that the version is 1.2.3 or above. Also check that the
30506 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
30507 --libs' are in the LD_LIBRARY_PATH or equivalent.
30509 echo "$as_me: error:
30510 The development files for GTK+ were not found. For GTK+ 2, please
30511 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30512 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30513 and that the version is 1.2.3 or above. Also check that the
30514 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
30515 --libs' are in the LD_LIBRARY_PATH or equivalent.
30517 { (exit 1); exit 1; }; }
30521 if test "$WXGTK2" = 1; then
30522 save_CFLAGS="$CFLAGS"
30524 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30525 LIBS="$LIBS $wx_cv_libs_gtk"
30527 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30528 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30529 cat >conftest.$ac_ext <<_ACEOF
30532 cat confdefs.h >>conftest.$ac_ext
30533 cat >>conftest.$ac_ext <<_ACEOF
30534 /* end confdefs.h. */
30536 #include <gtk/gtk.h>
30542 #if !GTK_CHECK_VERSION(2,18,0)
30550 rm -f conftest.$ac_objext
30551 if { (ac_try="$ac_compile"
30552 case "(($ac_try" in
30553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30554 *) ac_try_echo=$ac_try;;
30556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30557 (eval "$ac_compile") 2>conftest.er1
30559 grep -v '^
*+' conftest.er1 >conftest.err
30561 cat conftest.err >&5
30562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30563 (exit $ac_status); } && {
30564 test -z "$ac_c_werror_flag" ||
30565 test ! -s conftest.err
30566 } && test -s conftest.$ac_objext; then
30568 cat >>confdefs.h <<\_ACEOF
30569 #define __WXGTK218__ 1
30572 cat >>confdefs.h <<\_ACEOF
30573 #define __WXGTK210__ 1
30576 cat >>confdefs.h <<\_ACEOF
30577 #define __WXGTK26__ 1
30580 { echo "$as_me:$LINENO: result: yes" >&5
30581 echo "${ECHO_T}yes" >&6; }
30585 echo "$as_me: failed program was:" >&5
30586 sed 's
/^
/| /' conftest.$ac_ext >&5
30589 { echo "$as_me:$LINENO: result: no" >&5
30590 echo "${ECHO_T}no" >&6; }
30595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30597 if test "$ac_wxgtk218" = 0; then
30598 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30599 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30600 cat >conftest.$ac_ext <<_ACEOF
30603 cat confdefs.h >>conftest.$ac_ext
30604 cat >>conftest.$ac_ext <<_ACEOF
30605 /* end confdefs.h. */
30607 #include <gtk/gtk.h>
30613 #if !GTK_CHECK_VERSION(2,10,0)
30621 rm -f conftest.$ac_objext
30622 if { (ac_try="$ac_compile"
30623 case "(($ac_try" in
30624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30625 *) ac_try_echo=$ac_try;;
30627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30628 (eval "$ac_compile") 2>conftest.er1
30630 grep -v '^
*+' conftest.er1 >conftest.err
30632 cat conftest.err >&5
30633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30634 (exit $ac_status); } && {
30635 test -z "$ac_c_werror_flag" ||
30636 test ! -s conftest.err
30637 } && test -s conftest.$ac_objext; then
30639 cat >>confdefs.h <<\_ACEOF
30640 #define __WXGTK210__ 1
30643 cat >>confdefs.h <<\_ACEOF
30644 #define __WXGTK26__ 1
30647 { echo "$as_me:$LINENO: result: yes" >&5
30648 echo "${ECHO_T}yes" >&6; }
30652 echo "$as_me: failed program was:" >&5
30653 sed 's
/^
/| /' conftest.$ac_ext >&5
30656 { echo "$as_me:$LINENO: result: no" >&5
30657 echo "${ECHO_T}no" >&6; }
30662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30664 if test "$ac_wxgtk210" = 0; then
30665 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30666 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30667 cat >conftest.$ac_ext <<_ACEOF
30670 cat confdefs.h >>conftest.$ac_ext
30671 cat >>conftest.$ac_ext <<_ACEOF
30672 /* end confdefs.h. */
30674 #include <gtk/gtk.h>
30680 #if !GTK_CHECK_VERSION(2,6,0)
30688 rm -f conftest.$ac_objext
30689 if { (ac_try="$ac_compile"
30690 case "(($ac_try" in
30691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30692 *) ac_try_echo=$ac_try;;
30694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30695 (eval "$ac_compile") 2>conftest.er1
30697 grep -v '^
*+' conftest.er1 >conftest.err
30699 cat conftest.err >&5
30700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30701 (exit $ac_status); } && {
30702 test -z "$ac_c_werror_flag" ||
30703 test ! -s conftest.err
30704 } && test -s conftest.$ac_objext; then
30706 cat >>confdefs.h <<\_ACEOF
30707 #define __WXGTK26__ 1
30710 { echo "$as_me:$LINENO: result: yes" >&5
30711 echo "${ECHO_T}yes" >&6; }
30715 echo "$as_me: failed program was:" >&5
30716 sed 's
/^
/| /' conftest.$ac_ext >&5
30719 { echo "$as_me:$LINENO: result: no" >&5
30720 echo "${ECHO_T}no" >&6; }
30725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30729 CFLAGS="$save_CFLAGS"
30732 if test "$wxUSE_UNICODE" = "yes"; then
30733 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30734 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30738 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30739 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30740 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30741 echo $ECHO_N "(cached) $ECHO_C" >&6
30743 ac_check_lib_save_LIBS=$LIBS
30745 cat >conftest.$ac_ext <<_ACEOF
30748 cat confdefs.h >>conftest.$ac_ext
30749 cat >>conftest.$ac_ext <<_ACEOF
30750 /* end confdefs.h. */
30752 /* Override any GCC internal prototype to avoid an error.
30753 Use char because int might match the return type of a GCC
30754 builtin and then its argument prototype would still apply. */
30758 char gdk_im_open ();
30762 return gdk_im_open ();
30767 rm -f conftest.$ac_objext conftest$ac_exeext
30768 if { (ac_try="$ac_link"
30769 case "(($ac_try" in
30770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30771 *) ac_try_echo=$ac_try;;
30773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30774 (eval "$ac_link") 2>conftest.er1
30776 grep -v '^
*+' conftest.er1 >conftest.err
30778 cat conftest.err >&5
30779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30780 (exit $ac_status); } && {
30781 test -z "$ac_c_werror_flag" ||
30782 test ! -s conftest.err
30783 } && test -s conftest$ac_exeext &&
30784 $as_test_x conftest$ac_exeext; then
30785 ac_cv_lib_gdk_gdk_im_open=yes
30787 echo "$as_me: failed program was:" >&5
30788 sed 's
/^
/| /' conftest.$ac_ext >&5
30790 ac_cv_lib_gdk_gdk_im_open=no
30793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30794 conftest$ac_exeext conftest.$ac_ext
30795 LIBS=$ac_check_lib_save_LIBS
30797 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30798 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30799 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30800 cat >>confdefs.h <<\_ACEOF
30807 if test "$USE_DARWIN" != 1; then
30809 for ac_func in poll
30811 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30812 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30814 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30815 echo $ECHO_N "(cached) $ECHO_C" >&6
30817 cat >conftest.$ac_ext <<_ACEOF
30820 cat confdefs.h >>conftest.$ac_ext
30821 cat >>conftest.$ac_ext <<_ACEOF
30822 /* end confdefs.h. */
30823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30825 #define $ac_func innocuous_$ac_func
30827 /* System header to define __stub macros and hopefully few prototypes,
30828 which can conflict with char $ac_func (); below.
30829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30830 <limits.h> exists even on freestanding compilers. */
30833 # include <limits.h>
30835 # include <assert.h>
30840 /* Override any GCC internal prototype to avoid an error.
30841 Use char because int might match the return type of a GCC
30842 builtin and then its argument prototype would still apply. */
30847 /* The GNU C library defines this for functions which it implements
30848 to always fail with ENOSYS. Some functions are actually named
30849 something starting with __ and the normal name is an alias. */
30850 #if defined __stub_$ac_func || defined __stub___$ac_func
30857 return $ac_func ();
30862 rm -f conftest.$ac_objext conftest$ac_exeext
30863 if { (ac_try="$ac_link"
30864 case "(($ac_try" in
30865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30866 *) ac_try_echo=$ac_try;;
30868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30869 (eval "$ac_link") 2>conftest.er1
30871 grep -v '^
*+' conftest.er1 >conftest.err
30873 cat conftest.err >&5
30874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30875 (exit $ac_status); } && {
30876 test -z "$ac_c_werror_flag" ||
30877 test ! -s conftest.err
30878 } && test -s conftest$ac_exeext &&
30879 $as_test_x conftest$ac_exeext; then
30880 eval "$as_ac_var=yes"
30882 echo "$as_me: failed program was:" >&5
30883 sed 's
/^
/| /' conftest.$ac_ext >&5
30885 eval "$as_ac_var=no"
30888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30889 conftest$ac_exeext conftest.$ac_ext
30891 ac_res=`eval echo '${'$as_ac_var'}'`
30892 { echo "$as_me:$LINENO: result: $ac_res" >&5
30893 echo "${ECHO_T}$ac_res" >&6; }
30894 if test `eval echo '${'$as_ac_var'}'` = yes; then
30895 cat >>confdefs.h <<_ACEOF
30896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30905 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
30906 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30908 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
30910 AFMINSTALL=afminstall
30914 if test "$wxUSE_GPE" = "yes"; then
30915 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
30916 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
30919 for ac_dir in $SEARCH_LIB
30921 for ac_extension in a so sl dylib dll.a; do
30922 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30923 ac_find_libraries=$ac_dir
30929 if test "$ac_find_libraries" != "" ; then
30931 if test "$ac_find_libraries" = "default location"; then
30934 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30936 if test $result = 0; then
30939 ac_path_to_link=" -L$ac_find_libraries"
30943 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30945 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30946 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30948 { echo "$as_me:$LINENO: result: not found" >&5
30949 echo "${ECHO_T}not found" >&6; }
30955 if test "$wxUSE_MGL" = 1; then
30956 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30957 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30958 if test "x$MGL_ROOT" = x ; then
30959 { echo "$as_me:$LINENO: result: not found" >&5
30960 echo "${ECHO_T}not found" >&6; }
30961 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30962 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30963 { (exit 1); exit 1; }; }
30965 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30966 echo "${ECHO_T}$MGL_ROOT" >&6; }
30969 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30970 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30973 if test "x$wxUSE_SHARED" = xyes ; then
30974 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30976 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30980 mgl_os_candidates="dos32/dj2"
30983 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30984 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30985 { (exit 1); exit 1; }; }
30991 for mgl_os_i in $mgl_os_candidates ; do
30992 if test "x$mgl_os" = x ; then
30993 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30994 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30995 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31000 if test "x$mgl_lib_type" = x ; then
31001 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31002 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31003 mgl_lib_type=release
31010 if test "x$mgl_os" = x ; then
31011 { echo "$as_me:$LINENO: result: not found" >&5
31012 echo "${ECHO_T}not found" >&6; }
31013 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31014 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31015 { (exit 1); exit 1; }; }
31017 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31018 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31020 wxUSE_UNIVERSAL="yes"
31022 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31023 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31025 AFMINSTALL=afminstall
31030 if test "$wxUSE_DFB" = 1; then
31033 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31034 if test -n "$ac_tool_prefix"; then
31035 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31036 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31037 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31039 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31040 echo $ECHO_N "(cached) $ECHO_C" >&6
31042 case $PKG_CONFIG in
31044 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31048 for as_dir in $PATH
31051 test -z "$as_dir" && as_dir=.
31052 for ac_exec_ext in '' $ac_executable_extensions; do
31053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31054 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31065 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31066 if test -n "$PKG_CONFIG"; then
31067 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31068 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31070 { echo "$as_me:$LINENO: result: no" >&5
31071 echo "${ECHO_T}no" >&6; }
31076 if test -z "$ac_cv_path_PKG_CONFIG"; then
31077 ac_pt_PKG_CONFIG=$PKG_CONFIG
31078 # Extract the first word of "pkg-config", so it can be a program name with args.
31079 set dummy pkg-config; ac_word=$2
31080 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31082 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31083 echo $ECHO_N "(cached) $ECHO_C" >&6
31085 case $ac_pt_PKG_CONFIG in
31087 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31091 for as_dir in $PATH
31094 test -z "$as_dir" && as_dir=.
31095 for ac_exec_ext in '' $ac_executable_extensions; do
31096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31097 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31108 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31109 if test -n "$ac_pt_PKG_CONFIG"; then
31110 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31111 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31113 { echo "$as_me:$LINENO: result: no" >&5
31114 echo "${ECHO_T}no" >&6; }
31117 if test "x$ac_pt_PKG_CONFIG" = x; then
31120 case $cross_compiling:$ac_tool_warned in
31122 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31123 whose name does not start with the host triplet. If you think this
31124 configuration is useful to you, please write to autoconf@gnu.org." >&5
31125 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31126 whose name does not start with the host triplet. If you think this
31127 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31128 ac_tool_warned=yes ;;
31130 PKG_CONFIG=$ac_pt_PKG_CONFIG
31133 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31137 if test -n "$PKG_CONFIG"; then
31138 _pkg_min_version=0.9.0
31139 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31140 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31141 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31142 { echo "$as_me:$LINENO: result: yes" >&5
31143 echo "${ECHO_T}yes" >&6; }
31145 { echo "$as_me:$LINENO: result: no" >&5
31146 echo "${ECHO_T}no" >&6; }
31154 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31155 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31157 if test -n "$PKG_CONFIG"; then
31158 if test -n "$DIRECTFB_CFLAGS"; then
31159 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31161 if test -n "$PKG_CONFIG" && \
31162 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31163 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31166 (exit $ac_status); }; then
31167 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31175 if test -n "$PKG_CONFIG"; then
31176 if test -n "$DIRECTFB_LIBS"; then
31177 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31179 if test -n "$PKG_CONFIG" && \
31180 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31181 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31184 (exit $ac_status); }; then
31185 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31196 if test $pkg_failed = yes; then
31198 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31199 _pkg_short_errors_supported=yes
31201 _pkg_short_errors_supported=no
31203 if test $_pkg_short_errors_supported = yes; then
31204 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31206 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31208 # Put the nasty error message in config.log where it belongs
31209 echo "$DIRECTFB_PKG_ERRORS" >&5
31212 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31213 echo "$as_me: error: DirectFB not found." >&2;}
31214 { (exit 1); exit 1; }; }
31217 elif test $pkg_failed = untried; then
31219 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31220 echo "$as_me: error: DirectFB not found." >&2;}
31221 { (exit 1); exit 1; }; }
31225 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31226 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31227 { echo "$as_me:$LINENO: result: yes" >&5
31228 echo "${ECHO_T}yes" >&6; }
31230 wxUSE_UNIVERSAL="yes"
31231 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31232 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31239 if test "$wxUSE_MICROWIN" = 1; then
31240 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31241 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31242 if test "x$MICROWINDOWS" = x ; then
31243 { echo "$as_me:$LINENO: result: not found" >&5
31244 echo "${ECHO_T}not found" >&6; }
31245 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31246 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31247 { (exit 1); exit 1; }; }
31249 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31250 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31253 if test -f $MICROWINDOWS/lib/libmwin.a; then
31254 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
31255 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
31257 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31258 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31259 { (exit 1); exit 1; }; }
31262 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31263 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31265 wxUSE_UNIVERSAL="yes"
31267 AFMINSTALL=afminstall
31269 GUIDIST=MICROWIN_DIST
31271 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31274 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31275 { echo "$as_me:$LINENO: checking for X" >&5
31276 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31279 # Check whether --with-x was given.
31280 if test "${with_x+set}" = set; then
31284 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
31285 if test "x$with_x" = xno; then
31286 # The user explicitly disabled X.
31289 case $x_includes,$x_libraries in #(
31290 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31291 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
31292 { (exit 1); exit 1; }; };; #(
31293 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31294 echo $ECHO_N "(cached) $ECHO_C" >&6
31296 # One or both of the vars are not set, and there is no cached value.
31297 ac_x_includes=no ac_x_libraries=no
31298 rm -f -r conftest.dir
31299 if mkdir conftest.dir; then
31301 cat >Imakefile <<'_ACEOF'
31303 @echo incroot='${INCROOT}'
31305 @echo usrlibdir='${USRLIBDIR}'
31307 @echo libdir='${LIBDIR}'
31309 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31310 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31311 for ac_var in incroot usrlibdir libdir; do
31312 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
31314 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31315 for ac_extension in a so sl; do
31316 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31317 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31318 ac_im_usrlibdir=$ac_im_libdir; break
31321 # Screen out bogus values from the imake configuration. They are
31322 # bogus both because they are the default anyway, and because
31323 # using them would break gcc on systems where it needs fixed includes.
31324 case $ac_im_incroot in
31325 /usr/include) ac_x_includes= ;;
31326 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31328 case $ac_im_usrlibdir in
31329 /usr/lib | /lib) ;;
31330 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31334 rm -f -r conftest.dir
31337 # Standard set of common directories for X headers.
31338 # Check X11 before X11Rn because it is often a symlink to the current release.
31350 /usr
/local
/X
11/include
31351 /usr
/local
/X
11R
6/include
31352 /usr
/local
/X
11R
5/include
31353 /usr
/local
/X
11R
4/include
31355 /usr
/local
/include
/X11
31356 /usr
/local
/include
/X11R6
31357 /usr
/local
/include
/X11R5
31358 /usr
/local
/include
/X11R4
31362 /usr
/XFree
86/include
/X11
31366 /usr
/unsupported
/include
31367 /usr
/athena
/include
31368 /usr
/local
/x
11r
5/include
31369 /usr
/lpp
/Xamples
/include
31371 /usr
/openwin
/include
31372 /usr
/openwin
/share
/include
'
31374 if test "$ac_x_includes" = no; then
31375 # Guess where to find include files, by looking for Xlib.h.
31376 # First, try using that file with no special directory specified.
31377 cat >conftest.$ac_ext <<_ACEOF
31380 cat confdefs.h >>conftest.$ac_ext
31381 cat >>conftest.$ac_ext <<_ACEOF
31382 /* end confdefs.h. */
31383 #include <X11/Xlib.h>
31385 if { (ac_try="$ac_cpp conftest.$ac_ext"
31386 case "(($ac_try" in
31387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31388 *) ac_try_echo=$ac_try;;
31390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31391 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31393 grep -v '^
*+' conftest.er1 >conftest.err
31395 cat conftest.err >&5
31396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31397 (exit $ac_status); } >/dev/null && {
31398 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31399 test ! -s conftest.err
31401 # We can compile using X headers with no special include directory.
31404 echo "$as_me: failed program was:" >&5
31405 sed 's
/^
/| /' conftest.$ac_ext >&5
31407 for ac_dir in $ac_x_header_dirs; do
31408 if test -r "$ac_dir/X11/Xlib.h"; then
31409 ac_x_includes=$ac_dir
31415 rm -f conftest.err conftest.$ac_ext
31416 fi # $ac_x_includes = no
31418 if test "$ac_x_libraries" = no; then
31419 # Check for the libraries.
31420 # See if we find them without any special options.
31421 # Don't add to
$LIBS permanently.
31424 cat >conftest.
$ac_ext <<_ACEOF
31427 cat confdefs.h
>>conftest.
$ac_ext
31428 cat >>conftest.
$ac_ext <<_ACEOF
31429 /* end confdefs.h. */
31430 #include <X11/Xlib.h>
31439 rm -f conftest.
$ac_objext conftest
$ac_exeext
31440 if { (ac_try
="$ac_link"
31441 case "(($ac_try" in
31442 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31443 *) ac_try_echo=$ac_try;;
31445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31446 (eval "$ac_link") 2>conftest.er1
31448 grep -v '^ *+' conftest.er1 >conftest.err
31450 cat conftest.err >&5
31451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31452 (exit $ac_status); } && {
31453 test -z "$ac_c_werror_flag" ||
31454 test ! -s conftest.err
31455 } && test -s conftest$ac_exeext &&
31456 $as_test_x conftest$ac_exeext; then
31458 # We can link X programs with no special library path.
31461 echo "$as_me: failed program was:" >&5
31462 sed 's/^/| /' conftest.$ac_ext >&5
31465 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
31467 # Don't even attempt the hair of trying to link an X program!
31468 for ac_extension in a so sl; do
31469 if test -r "$ac_dir/libX11.$ac_extension"; then
31470 ac_x_libraries=$ac_dir
31477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31478 conftest$ac_exeext conftest.$ac_ext
31479 fi # $ac_x_libraries = no
31481 case $ac_x_includes,$ac_x_libraries in #(
31482 no,* | *,no | *\'*)
31483 # Didn't find X, or a directory has "'" in its name.
31484 ac_cv_have_x="have_x=no";; #(
31486 # Record where we found X for the cache.
31487 ac_cv_have_x="have_x=yes\
31488 ac_x_includes='$ac_x_includes'\
31489 ac_x_libraries='$ac_x_libraries'"
31495 eval "$ac_cv_have_x"
31498 if test "$have_x" != yes; then
31499 { echo "$as_me:$LINENO: result: $have_x" >&5
31500 echo "${ECHO_T}$have_x" >&6; }
31503 # If each of the values was on the command line, it overrides each guess.
31504 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31505 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31506 # Update the cache value to reflect the command line values.
31507 ac_cv_have_x="have_x=yes\
31508 ac_x_includes='$x_includes'\
31509 ac_x_libraries='$x_libraries'"
31510 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31511 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31514 if test "$no_x" = yes; then
31515 # Not all programs may use this symbol, but it does not hurt to define it.
31517 cat >>confdefs.h <<\_ACEOF
31518 #define X_DISPLAY_MISSING 1
31521 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31523 if test -n "$x_includes"; then
31524 X_CFLAGS="$X_CFLAGS -I$x_includes"
31527 # It would also be nice to do this for all -L options, not just this one.
31528 if test -n "$x_libraries"; then
31529 X_LIBS="$X_LIBS -L$x_libraries"
31530 # For Solaris; some versions of Sun CC require a space after -R and
31531 # others require no space. Words are not sufficient . . . .
31532 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31533 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31534 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31535 ac_xsave_c_werror_flag=$ac_c_werror_flag
31536 ac_c_werror_flag=yes
31537 cat >conftest.$ac_ext <<_ACEOF
31540 cat confdefs.h >>conftest.$ac_ext
31541 cat >>conftest.$ac_ext <<_ACEOF
31542 /* end confdefs.h. */
31552 rm -f conftest.$ac_objext conftest$ac_exeext
31553 if { (ac_try="$ac_link"
31554 case "(($ac_try" in
31555 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31556 *) ac_try_echo
=$ac_try;;
31558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31559 (eval "$ac_link") 2>conftest.er1
31561 grep -v '^ *+' conftest.er1
>conftest.err
31563 cat conftest.err
>&5
31564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31565 (exit $ac_status); } && {
31566 test -z "$ac_c_werror_flag" ||
31567 test ! -s conftest.err
31568 } && test -s conftest
$ac_exeext &&
31569 $as_test_x conftest
$ac_exeext; then
31570 { echo "$as_me:$LINENO: result: no" >&5
31571 echo "${ECHO_T}no" >&6; }
31572 X_LIBS
="$X_LIBS -R$x_libraries"
31574 echo "$as_me: failed program was:" >&5
31575 sed 's/^/| /' conftest.
$ac_ext >&5
31577 LIBS
="$ac_xsave_LIBS -R $x_libraries"
31578 cat >conftest.
$ac_ext <<_ACEOF
31581 cat confdefs.h
>>conftest.
$ac_ext
31582 cat >>conftest.
$ac_ext <<_ACEOF
31583 /* end confdefs.h. */
31593 rm -f conftest.
$ac_objext conftest
$ac_exeext
31594 if { (ac_try
="$ac_link"
31595 case "(($ac_try" in
31596 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31597 *) ac_try_echo=$ac_try;;
31599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31600 (eval "$ac_link") 2>conftest.er1
31602 grep -v '^ *+' conftest.er1 >conftest.err
31604 cat conftest.err >&5
31605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31606 (exit $ac_status); } && {
31607 test -z "$ac_c_werror_flag" ||
31608 test ! -s conftest.err
31609 } && test -s conftest$ac_exeext &&
31610 $as_test_x conftest$ac_exeext; then
31611 { echo "$as_me:$LINENO: result: yes" >&5
31612 echo "${ECHO_T}yes" >&6; }
31613 X_LIBS="$X_LIBS -R $x_libraries"
31615 echo "$as_me: failed program was:" >&5
31616 sed 's/^/| /' conftest.$ac_ext >&5
31618 { echo "$as_me:$LINENO: result: neither works" >&5
31619 echo "${ECHO_T}neither works" >&6; }
31622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31623 conftest$ac_exeext conftest.$ac_ext
31626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31627 conftest$ac_exeext conftest.$ac_ext
31628 ac_c_werror_flag=$ac_xsave_c_werror_flag
31629 LIBS=$ac_xsave_LIBS
31632 # Check for system-dependent libraries X programs must link with.
31633 # Do this before checking for the system-independent R6 libraries
31634 # (-lICE), since we may need -lsocket or whatever for X linking.
31636 if test "$ISC" = yes; then
31637 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31639 # Martyn Johnson says this is needed for Ultrix, if the X
31640 # libraries were built with DECnet support. And Karl Berry says
31641 # the Alpha needs dnet_stub (dnet does not exist).
31642 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31643 cat >conftest.$ac_ext <<_ACEOF
31646 cat confdefs.h >>conftest.$ac_ext
31647 cat >>conftest.$ac_ext <<_ACEOF
31648 /* end confdefs.h. */
31650 /* Override any GCC internal prototype to avoid an error.
31651 Use char because int might match the return type of a GCC
31652 builtin and then its argument prototype would still apply. */
31656 char XOpenDisplay ();
31660 return XOpenDisplay ();
31665 rm -f conftest.$ac_objext conftest$ac_exeext
31666 if { (ac_try="$ac_link"
31667 case "(($ac_try" in
31668 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31669 *) ac_try_echo
=$ac_try;;
31671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31672 (eval "$ac_link") 2>conftest.er1
31674 grep -v '^ *+' conftest.er1
>conftest.err
31676 cat conftest.err
>&5
31677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31678 (exit $ac_status); } && {
31679 test -z "$ac_c_werror_flag" ||
31680 test ! -s conftest.err
31681 } && test -s conftest
$ac_exeext &&
31682 $as_test_x conftest
$ac_exeext; then
31685 echo "$as_me: failed program was:" >&5
31686 sed 's/^/| /' conftest.
$ac_ext >&5
31688 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31689 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31690 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31691 echo $ECHO_N "(cached) $ECHO_C" >&6
31693 ac_check_lib_save_LIBS
=$LIBS
31694 LIBS
="-ldnet $LIBS"
31695 cat >conftest.
$ac_ext <<_ACEOF
31698 cat confdefs.h
>>conftest.
$ac_ext
31699 cat >>conftest.
$ac_ext <<_ACEOF
31700 /* end confdefs.h. */
31702 /* Override any GCC internal prototype to avoid an error.
31703 Use char because int might match the return type of a GCC
31704 builtin and then its argument prototype would still apply. */
31712 return dnet_ntoa ();
31717 rm -f conftest.
$ac_objext conftest
$ac_exeext
31718 if { (ac_try
="$ac_link"
31719 case "(($ac_try" in
31720 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31721 *) ac_try_echo=$ac_try;;
31723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31724 (eval "$ac_link") 2>conftest.er1
31726 grep -v '^ *+' conftest.er1 >conftest.err
31728 cat conftest.err >&5
31729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31730 (exit $ac_status); } && {
31731 test -z "$ac_c_werror_flag" ||
31732 test ! -s conftest.err
31733 } && test -s conftest$ac_exeext &&
31734 $as_test_x conftest$ac_exeext; then
31735 ac_cv_lib_dnet_dnet_ntoa=yes
31737 echo "$as_me: failed program was:" >&5
31738 sed 's/^/| /' conftest.$ac_ext >&5
31740 ac_cv_lib_dnet_dnet_ntoa=no
31743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31744 conftest$ac_exeext conftest.$ac_ext
31745 LIBS=$ac_check_lib_save_LIBS
31747 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31748 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31749 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31750 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31753 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31754 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31755 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31756 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31757 echo $ECHO_N "(cached) $ECHO_C" >&6
31759 ac_check_lib_save_LIBS=$LIBS
31760 LIBS="-ldnet_stub $LIBS"
31761 cat >conftest.$ac_ext <<_ACEOF
31764 cat confdefs.h >>conftest.$ac_ext
31765 cat >>conftest.$ac_ext <<_ACEOF
31766 /* end confdefs.h. */
31768 /* Override any GCC internal prototype to avoid an error.
31769 Use char because int might match the return type of a GCC
31770 builtin and then its argument prototype would still apply. */
31778 return dnet_ntoa ();
31783 rm -f conftest.$ac_objext conftest$ac_exeext
31784 if { (ac_try="$ac_link"
31785 case "(($ac_try" in
31786 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31787 *) ac_try_echo
=$ac_try;;
31789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31790 (eval "$ac_link") 2>conftest.er1
31792 grep -v '^ *+' conftest.er1
>conftest.err
31794 cat conftest.err
>&5
31795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31796 (exit $ac_status); } && {
31797 test -z "$ac_c_werror_flag" ||
31798 test ! -s conftest.err
31799 } && test -s conftest
$ac_exeext &&
31800 $as_test_x conftest
$ac_exeext; then
31801 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
31803 echo "$as_me: failed program was:" >&5
31804 sed 's/^/| /' conftest.
$ac_ext >&5
31806 ac_cv_lib_dnet_stub_dnet_ntoa
=no
31809 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31810 conftest
$ac_exeext conftest.
$ac_ext
31811 LIBS
=$ac_check_lib_save_LIBS
31813 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31814 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31815 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31816 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
31822 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31823 conftest
$ac_exeext conftest.
$ac_ext
31824 LIBS
="$ac_xsave_LIBS"
31826 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31827 # to get the SysV transport functions.
31828 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31830 # The nsl library prevents programs from opening the X display
31831 # on Irix 5.2, according to T.E. Dickey.
31832 # The functions gethostbyname, getservbyname, and inet_addr are
31833 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31834 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31835 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31836 if test "${ac_cv_func_gethostbyname+set}" = set; then
31837 echo $ECHO_N "(cached) $ECHO_C" >&6
31839 cat >conftest.
$ac_ext <<_ACEOF
31842 cat confdefs.h
>>conftest.
$ac_ext
31843 cat >>conftest.
$ac_ext <<_ACEOF
31844 /* end confdefs.h. */
31845 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31847 #define gethostbyname innocuous_gethostbyname
31849 /* System header to define __stub macros and hopefully few prototypes,
31850 which can conflict with char gethostbyname (); below.
31851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31852 <limits.h> exists even on freestanding compilers. */
31855 # include <limits.h>
31857 # include <assert.h>
31860 #undef gethostbyname
31862 /* Override any GCC internal prototype to avoid an error.
31863 Use char because int might match the return type of a GCC
31864 builtin and then its argument prototype would still apply. */
31868 char gethostbyname ();
31869 /* The GNU C library defines this for functions which it implements
31870 to always fail with ENOSYS. Some functions are actually named
31871 something starting with __ and the normal name is an alias. */
31872 #if defined __stub_gethostbyname || defined __stub___gethostbyname
31879 return gethostbyname ();
31884 rm -f conftest.
$ac_objext conftest
$ac_exeext
31885 if { (ac_try
="$ac_link"
31886 case "(($ac_try" in
31887 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31888 *) ac_try_echo=$ac_try;;
31890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31891 (eval "$ac_link") 2>conftest.er1
31893 grep -v '^ *+' conftest.er1 >conftest.err
31895 cat conftest.err >&5
31896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31897 (exit $ac_status); } && {
31898 test -z "$ac_c_werror_flag" ||
31899 test ! -s conftest.err
31900 } && test -s conftest$ac_exeext &&
31901 $as_test_x conftest$ac_exeext; then
31902 ac_cv_func_gethostbyname=yes
31904 echo "$as_me: failed program was:" >&5
31905 sed 's/^/| /' conftest.$ac_ext >&5
31907 ac_cv_func_gethostbyname=no
31910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31911 conftest$ac_exeext conftest.$ac_ext
31913 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31914 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
31916 if test $ac_cv_func_gethostbyname = no; then
31917 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31918 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
31919 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31920 echo $ECHO_N "(cached) $ECHO_C" >&6
31922 ac_check_lib_save_LIBS=$LIBS
31924 cat >conftest.$ac_ext <<_ACEOF
31927 cat confdefs.h >>conftest.$ac_ext
31928 cat >>conftest.$ac_ext <<_ACEOF
31929 /* end confdefs.h. */
31931 /* Override any GCC internal prototype to avoid an error.
31932 Use char because int might match the return type of a GCC
31933 builtin and then its argument prototype would still apply. */
31937 char gethostbyname ();
31941 return gethostbyname ();
31946 rm -f conftest.$ac_objext conftest$ac_exeext
31947 if { (ac_try="$ac_link"
31948 case "(($ac_try" in
31949 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31950 *) ac_try_echo
=$ac_try;;
31952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31953 (eval "$ac_link") 2>conftest.er1
31955 grep -v '^ *+' conftest.er1
>conftest.err
31957 cat conftest.err
>&5
31958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31959 (exit $ac_status); } && {
31960 test -z "$ac_c_werror_flag" ||
31961 test ! -s conftest.err
31962 } && test -s conftest
$ac_exeext &&
31963 $as_test_x conftest
$ac_exeext; then
31964 ac_cv_lib_nsl_gethostbyname
=yes
31966 echo "$as_me: failed program was:" >&5
31967 sed 's/^/| /' conftest.
$ac_ext >&5
31969 ac_cv_lib_nsl_gethostbyname
=no
31972 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31973 conftest
$ac_exeext conftest.
$ac_ext
31974 LIBS
=$ac_check_lib_save_LIBS
31976 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31977 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31978 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31979 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
31982 if test $ac_cv_lib_nsl_gethostbyname = no
; then
31983 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31984 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31985 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31986 echo $ECHO_N "(cached) $ECHO_C" >&6
31988 ac_check_lib_save_LIBS
=$LIBS
31990 cat >conftest.
$ac_ext <<_ACEOF
31993 cat confdefs.h
>>conftest.
$ac_ext
31994 cat >>conftest.
$ac_ext <<_ACEOF
31995 /* end confdefs.h. */
31997 /* Override any GCC internal prototype to avoid an error.
31998 Use char because int might match the return type of a GCC
31999 builtin and then its argument prototype would still apply. */
32003 char gethostbyname ();
32007 return gethostbyname ();
32012 rm -f conftest.
$ac_objext conftest
$ac_exeext
32013 if { (ac_try
="$ac_link"
32014 case "(($ac_try" in
32015 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32016 *) ac_try_echo=$ac_try;;
32018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32019 (eval "$ac_link") 2>conftest.er1
32021 grep -v '^ *+' conftest.er1 >conftest.err
32023 cat conftest.err >&5
32024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32025 (exit $ac_status); } && {
32026 test -z "$ac_c_werror_flag" ||
32027 test ! -s conftest.err
32028 } && test -s conftest$ac_exeext &&
32029 $as_test_x conftest$ac_exeext; then
32030 ac_cv_lib_bsd_gethostbyname=yes
32032 echo "$as_me: failed program was:" >&5
32033 sed 's/^/| /' conftest.$ac_ext >&5
32035 ac_cv_lib_bsd_gethostbyname=no
32038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32039 conftest$ac_exeext conftest.$ac_ext
32040 LIBS=$ac_check_lib_save_LIBS
32042 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32043 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32044 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32045 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32051 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32052 # socket/setsockopt and other routines are undefined under SCO ODT
32053 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32054 # on later versions), says Simon Leinen: it contains gethostby*
32055 # variants that don't use the name server (or something). -lsocket
32056 # must be given before -lnsl if both are needed. We assume that
32057 # if connect needs -lnsl, so does gethostbyname.
32058 { echo "$as_me:$LINENO: checking for connect" >&5
32059 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32060 if test "${ac_cv_func_connect+set}" = set; then
32061 echo $ECHO_N "(cached) $ECHO_C" >&6
32063 cat >conftest.$ac_ext <<_ACEOF
32066 cat confdefs.h >>conftest.$ac_ext
32067 cat >>conftest.$ac_ext <<_ACEOF
32068 /* end confdefs.h. */
32069 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32071 #define connect innocuous_connect
32073 /* System header to define __stub macros and hopefully few prototypes,
32074 which can conflict with char connect (); below.
32075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32076 <limits.h> exists even on freestanding compilers. */
32079 # include <limits.h>
32081 # include <assert.h>
32086 /* Override any GCC internal prototype to avoid an error.
32087 Use char because int might match the return type of a GCC
32088 builtin and then its argument prototype would still apply. */
32093 /* The GNU C library defines this for functions which it implements
32094 to always fail with ENOSYS. Some functions are actually named
32095 something starting with __ and the normal name is an alias. */
32096 #if defined __stub_connect || defined __stub___connect
32108 rm -f conftest.$ac_objext conftest$ac_exeext
32109 if { (ac_try="$ac_link"
32110 case "(($ac_try" in
32111 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32112 *) ac_try_echo
=$ac_try;;
32114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32115 (eval "$ac_link") 2>conftest.er1
32117 grep -v '^ *+' conftest.er1
>conftest.err
32119 cat conftest.err
>&5
32120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32121 (exit $ac_status); } && {
32122 test -z "$ac_c_werror_flag" ||
32123 test ! -s conftest.err
32124 } && test -s conftest
$ac_exeext &&
32125 $as_test_x conftest
$ac_exeext; then
32126 ac_cv_func_connect
=yes
32128 echo "$as_me: failed program was:" >&5
32129 sed 's/^/| /' conftest.
$ac_ext >&5
32131 ac_cv_func_connect
=no
32134 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32135 conftest
$ac_exeext conftest.
$ac_ext
32137 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32138 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32140 if test $ac_cv_func_connect = no
; then
32141 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32142 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32143 if test "${ac_cv_lib_socket_connect+set}" = set; then
32144 echo $ECHO_N "(cached) $ECHO_C" >&6
32146 ac_check_lib_save_LIBS
=$LIBS
32147 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
32148 cat >conftest.
$ac_ext <<_ACEOF
32151 cat confdefs.h
>>conftest.
$ac_ext
32152 cat >>conftest.
$ac_ext <<_ACEOF
32153 /* end confdefs.h. */
32155 /* Override any GCC internal prototype to avoid an error.
32156 Use char because int might match the return type of a GCC
32157 builtin and then its argument prototype would still apply. */
32170 rm -f conftest.
$ac_objext conftest
$ac_exeext
32171 if { (ac_try
="$ac_link"
32172 case "(($ac_try" in
32173 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32174 *) ac_try_echo=$ac_try;;
32176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32177 (eval "$ac_link") 2>conftest.er1
32179 grep -v '^ *+' conftest.er1 >conftest.err
32181 cat conftest.err >&5
32182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32183 (exit $ac_status); } && {
32184 test -z "$ac_c_werror_flag" ||
32185 test ! -s conftest.err
32186 } && test -s conftest$ac_exeext &&
32187 $as_test_x conftest$ac_exeext; then
32188 ac_cv_lib_socket_connect=yes
32190 echo "$as_me: failed program was:" >&5
32191 sed 's/^/| /' conftest.$ac_ext >&5
32193 ac_cv_lib_socket_connect=no
32196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32197 conftest$ac_exeext conftest.$ac_ext
32198 LIBS=$ac_check_lib_save_LIBS
32200 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32201 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32202 if test $ac_cv_lib_socket_connect = yes; then
32203 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32208 # Guillermo Gomez says -lposix is necessary on A/UX.
32209 { echo "$as_me:$LINENO: checking for remove" >&5
32210 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32211 if test "${ac_cv_func_remove+set}" = set; then
32212 echo $ECHO_N "(cached) $ECHO_C" >&6
32214 cat >conftest.$ac_ext <<_ACEOF
32217 cat confdefs.h >>conftest.$ac_ext
32218 cat >>conftest.$ac_ext <<_ACEOF
32219 /* end confdefs.h. */
32220 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32222 #define remove innocuous_remove
32224 /* System header to define __stub macros and hopefully few prototypes,
32225 which can conflict with char remove (); below.
32226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32227 <limits.h> exists even on freestanding compilers. */
32230 # include <limits.h>
32232 # include <assert.h>
32237 /* Override any GCC internal prototype to avoid an error.
32238 Use char because int might match the return type of a GCC
32239 builtin and then its argument prototype would still apply. */
32244 /* The GNU C library defines this for functions which it implements
32245 to always fail with ENOSYS. Some functions are actually named
32246 something starting with __ and the normal name is an alias. */
32247 #if defined __stub_remove || defined __stub___remove
32259 rm -f conftest.$ac_objext conftest$ac_exeext
32260 if { (ac_try="$ac_link"
32261 case "(($ac_try" in
32262 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32263 *) ac_try_echo
=$ac_try;;
32265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32266 (eval "$ac_link") 2>conftest.er1
32268 grep -v '^ *+' conftest.er1
>conftest.err
32270 cat conftest.err
>&5
32271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32272 (exit $ac_status); } && {
32273 test -z "$ac_c_werror_flag" ||
32274 test ! -s conftest.err
32275 } && test -s conftest
$ac_exeext &&
32276 $as_test_x conftest
$ac_exeext; then
32277 ac_cv_func_remove
=yes
32279 echo "$as_me: failed program was:" >&5
32280 sed 's/^/| /' conftest.
$ac_ext >&5
32282 ac_cv_func_remove
=no
32285 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32286 conftest
$ac_exeext conftest.
$ac_ext
32288 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32289 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32291 if test $ac_cv_func_remove = no
; then
32292 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32293 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32294 if test "${ac_cv_lib_posix_remove+set}" = set; then
32295 echo $ECHO_N "(cached) $ECHO_C" >&6
32297 ac_check_lib_save_LIBS
=$LIBS
32298 LIBS
="-lposix $LIBS"
32299 cat >conftest.
$ac_ext <<_ACEOF
32302 cat confdefs.h
>>conftest.
$ac_ext
32303 cat >>conftest.
$ac_ext <<_ACEOF
32304 /* end confdefs.h. */
32306 /* Override any GCC internal prototype to avoid an error.
32307 Use char because int might match the return type of a GCC
32308 builtin and then its argument prototype would still apply. */
32321 rm -f conftest.
$ac_objext conftest
$ac_exeext
32322 if { (ac_try
="$ac_link"
32323 case "(($ac_try" in
32324 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32325 *) ac_try_echo=$ac_try;;
32327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32328 (eval "$ac_link") 2>conftest.er1
32330 grep -v '^ *+' conftest.er1 >conftest.err
32332 cat conftest.err >&5
32333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32334 (exit $ac_status); } && {
32335 test -z "$ac_c_werror_flag" ||
32336 test ! -s conftest.err
32337 } && test -s conftest$ac_exeext &&
32338 $as_test_x conftest$ac_exeext; then
32339 ac_cv_lib_posix_remove=yes
32341 echo "$as_me: failed program was:" >&5
32342 sed 's/^/| /' conftest.$ac_ext >&5
32344 ac_cv_lib_posix_remove=no
32347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32348 conftest$ac_exeext conftest.$ac_ext
32349 LIBS=$ac_check_lib_save_LIBS
32351 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32352 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32353 if test $ac_cv_lib_posix_remove = yes; then
32354 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32359 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32360 { echo "$as_me:$LINENO: checking for shmat" >&5
32361 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32362 if test "${ac_cv_func_shmat+set}" = set; then
32363 echo $ECHO_N "(cached) $ECHO_C" >&6
32365 cat >conftest.$ac_ext <<_ACEOF
32368 cat confdefs.h >>conftest.$ac_ext
32369 cat >>conftest.$ac_ext <<_ACEOF
32370 /* end confdefs.h. */
32371 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32373 #define shmat innocuous_shmat
32375 /* System header to define __stub macros and hopefully few prototypes,
32376 which can conflict with char shmat (); below.
32377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32378 <limits.h> exists even on freestanding compilers. */
32381 # include <limits.h>
32383 # include <assert.h>
32388 /* Override any GCC internal prototype to avoid an error.
32389 Use char because int might match the return type of a GCC
32390 builtin and then its argument prototype would still apply. */
32395 /* The GNU C library defines this for functions which it implements
32396 to always fail with ENOSYS. Some functions are actually named
32397 something starting with __ and the normal name is an alias. */
32398 #if defined __stub_shmat || defined __stub___shmat
32410 rm -f conftest.$ac_objext conftest$ac_exeext
32411 if { (ac_try="$ac_link"
32412 case "(($ac_try" in
32413 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32414 *) ac_try_echo
=$ac_try;;
32416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32417 (eval "$ac_link") 2>conftest.er1
32419 grep -v '^ *+' conftest.er1
>conftest.err
32421 cat conftest.err
>&5
32422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32423 (exit $ac_status); } && {
32424 test -z "$ac_c_werror_flag" ||
32425 test ! -s conftest.err
32426 } && test -s conftest
$ac_exeext &&
32427 $as_test_x conftest
$ac_exeext; then
32428 ac_cv_func_shmat
=yes
32430 echo "$as_me: failed program was:" >&5
32431 sed 's/^/| /' conftest.
$ac_ext >&5
32433 ac_cv_func_shmat
=no
32436 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32437 conftest
$ac_exeext conftest.
$ac_ext
32439 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32440 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32442 if test $ac_cv_func_shmat = no
; then
32443 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32444 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32445 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32446 echo $ECHO_N "(cached) $ECHO_C" >&6
32448 ac_check_lib_save_LIBS
=$LIBS
32450 cat >conftest.
$ac_ext <<_ACEOF
32453 cat confdefs.h
>>conftest.
$ac_ext
32454 cat >>conftest.
$ac_ext <<_ACEOF
32455 /* end confdefs.h. */
32457 /* Override any GCC internal prototype to avoid an error.
32458 Use char because int might match the return type of a GCC
32459 builtin and then its argument prototype would still apply. */
32472 rm -f conftest.
$ac_objext conftest
$ac_exeext
32473 if { (ac_try
="$ac_link"
32474 case "(($ac_try" in
32475 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32476 *) ac_try_echo=$ac_try;;
32478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32479 (eval "$ac_link") 2>conftest.er1
32481 grep -v '^ *+' conftest.er1 >conftest.err
32483 cat conftest.err >&5
32484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32485 (exit $ac_status); } && {
32486 test -z "$ac_c_werror_flag" ||
32487 test ! -s conftest.err
32488 } && test -s conftest$ac_exeext &&
32489 $as_test_x conftest$ac_exeext; then
32490 ac_cv_lib_ipc_shmat=yes
32492 echo "$as_me: failed program was:" >&5
32493 sed 's/^/| /' conftest.$ac_ext >&5
32495 ac_cv_lib_ipc_shmat=no
32498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32499 conftest$ac_exeext conftest.$ac_ext
32500 LIBS=$ac_check_lib_save_LIBS
32502 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32503 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32504 if test $ac_cv_lib_ipc_shmat = yes; then
32505 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32511 # Check for libraries that X11R6 Xt/Xaw programs need.
32512 ac_save_LDFLAGS=$LDFLAGS
32513 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32514 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32515 # check for ICE first), but we must link in the order -lSM -lICE or
32516 # we get undefined symbols. So assume we have SM if we have ICE.
32517 # These have to be linked with before -lX11, unlike the other
32518 # libraries we check for below, so use a different variable.
32519 # John Interrante, Karl Berry
32520 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32521 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32522 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32523 echo $ECHO_N "(cached) $ECHO_C" >&6
32525 ac_check_lib_save_LIBS=$LIBS
32526 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32527 cat >conftest.$ac_ext <<_ACEOF
32530 cat confdefs.h >>conftest.$ac_ext
32531 cat >>conftest.$ac_ext <<_ACEOF
32532 /* end confdefs.h. */
32534 /* Override any GCC internal prototype to avoid an error.
32535 Use char because int might match the return type of a GCC
32536 builtin and then its argument prototype would still apply. */
32540 char IceConnectionNumber ();
32544 return IceConnectionNumber ();
32549 rm -f conftest.$ac_objext conftest$ac_exeext
32550 if { (ac_try="$ac_link"
32551 case "(($ac_try" in
32552 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32553 *) ac_try_echo
=$ac_try;;
32555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32556 (eval "$ac_link") 2>conftest.er1
32558 grep -v '^ *+' conftest.er1
>conftest.err
32560 cat conftest.err
>&5
32561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32562 (exit $ac_status); } && {
32563 test -z "$ac_c_werror_flag" ||
32564 test ! -s conftest.err
32565 } && test -s conftest
$ac_exeext &&
32566 $as_test_x conftest
$ac_exeext; then
32567 ac_cv_lib_ICE_IceConnectionNumber
=yes
32569 echo "$as_me: failed program was:" >&5
32570 sed 's/^/| /' conftest.
$ac_ext >&5
32572 ac_cv_lib_ICE_IceConnectionNumber
=no
32575 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32576 conftest
$ac_exeext conftest.
$ac_ext
32577 LIBS
=$ac_check_lib_save_LIBS
32579 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32580 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32581 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32582 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
32585 LDFLAGS
=$ac_save_LDFLAGS
32590 if test "$no_x" = "yes"; then
32591 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32592 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32593 { (exit 1); exit 1; }; }
32596 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32597 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
32598 AFMINSTALL
=afminstall
32599 COMPILED_X_PROGRAM
=0
32603 if test "$wxUSE_X11" = 1; then
32604 if test "$wxUSE_NANOX" = "yes"; then
32605 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32606 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32607 if test "x$MICROWIN" = x
; then
32608 { echo "$as_me:$LINENO: result: not found" >&5
32609 echo "${ECHO_T}not found" >&6; }
32610 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32611 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32612 { (exit 1); exit 1; }; }
32614 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32615 echo "${ECHO_T}$MICROWIN" >&6; }
32616 cat >>confdefs.h
<<\_ACEOF
32617 #define wxUSE_NANOX 1
32623 if test "$wxUSE_UNICODE" = "yes"; then
32626 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32627 if test -n "$ac_tool_prefix"; then
32628 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32629 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
32630 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32632 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32633 echo $ECHO_N "(cached) $ECHO_C" >&6
32635 case $PKG_CONFIG in
32637 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
32640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32641 for as_dir
in $PATH
32644 test -z "$as_dir" && as_dir
=.
32645 for ac_exec_ext
in '' $ac_executable_extensions; do
32646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32647 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32658 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
32659 if test -n "$PKG_CONFIG"; then
32660 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32661 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32663 { echo "$as_me:$LINENO: result: no" >&5
32664 echo "${ECHO_T}no" >&6; }
32669 if test -z "$ac_cv_path_PKG_CONFIG"; then
32670 ac_pt_PKG_CONFIG
=$PKG_CONFIG
32671 # Extract the first word of "pkg-config", so it can be a program name with args.
32672 set dummy pkg
-config; ac_word
=$2
32673 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32675 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32676 echo $ECHO_N "(cached) $ECHO_C" >&6
32678 case $ac_pt_PKG_CONFIG in
32680 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32684 for as_dir
in $PATH
32687 test -z "$as_dir" && as_dir
=.
32688 for ac_exec_ext
in '' $ac_executable_extensions; do
32689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32690 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32701 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
32702 if test -n "$ac_pt_PKG_CONFIG"; then
32703 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32704 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32706 { echo "$as_me:$LINENO: result: no" >&5
32707 echo "${ECHO_T}no" >&6; }
32710 if test "x$ac_pt_PKG_CONFIG" = x
; then
32713 case $cross_compiling:$ac_tool_warned in
32715 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32716 whose name does not start with the host triplet. If you think this
32717 configuration is useful to you, please write to autoconf@gnu.org." >&5
32718 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32719 whose name does not start with the host triplet. If you think this
32720 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32721 ac_tool_warned
=yes ;;
32723 PKG_CONFIG
=$ac_pt_PKG_CONFIG
32726 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
32730 if test -n "$PKG_CONFIG"; then
32731 _pkg_min_version
=0.9.0
32732 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32733 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32734 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32735 { echo "$as_me:$LINENO: result: yes" >&5
32736 echo "${ECHO_T}yes" >&6; }
32738 { echo "$as_me:$LINENO: result: no" >&5
32739 echo "${ECHO_T}no" >&6; }
32747 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32748 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32750 if test -n "$PKG_CONFIG"; then
32751 if test -n "$PANGOX_CFLAGS"; then
32752 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
32754 if test -n "$PKG_CONFIG" && \
32755 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32756 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32759 (exit $ac_status); }; then
32760 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32768 if test -n "$PKG_CONFIG"; then
32769 if test -n "$PANGOX_LIBS"; then
32770 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
32772 if test -n "$PKG_CONFIG" && \
32773 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32774 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32777 (exit $ac_status); }; then
32778 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32789 if test $pkg_failed = yes; then
32791 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32792 _pkg_short_errors_supported
=yes
32794 _pkg_short_errors_supported
=no
32796 if test $_pkg_short_errors_supported = yes; then
32797 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32799 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32801 # Put the nasty error message in config.log where it belongs
32802 echo "$PANGOX_PKG_ERRORS" >&5
32805 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32806 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32807 { (exit 1); exit 1; }; }
32810 elif test $pkg_failed = untried
; then
32812 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32813 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32814 { (exit 1); exit 1; }; }
32818 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
32819 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
32820 { echo "$as_me:$LINENO: result: yes" >&5
32821 echo "${ECHO_T}yes" >&6; }
32823 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
32824 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
32825 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
32830 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32831 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
32833 if test -n "$PKG_CONFIG"; then
32834 if test -n "$PANGOFT2_CFLAGS"; then
32835 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
32837 if test -n "$PKG_CONFIG" && \
32838 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32839 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32842 (exit $ac_status); }; then
32843 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32851 if test -n "$PKG_CONFIG"; then
32852 if test -n "$PANGOFT2_LIBS"; then
32853 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
32855 if test -n "$PKG_CONFIG" && \
32856 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32857 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32860 (exit $ac_status); }; then
32861 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32872 if test $pkg_failed = yes; then
32874 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32875 _pkg_short_errors_supported
=yes
32877 _pkg_short_errors_supported
=no
32879 if test $_pkg_short_errors_supported = yes; then
32880 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32882 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32884 # Put the nasty error message in config.log where it belongs
32885 echo "$PANGOFT2_PKG_ERRORS" >&5
32888 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32889 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32890 wxUSE_PRINTING_ARCHITECTURE
="no"
32893 elif test $pkg_failed = untried
; then
32895 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32896 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32897 wxUSE_PRINTING_ARCHITECTURE
="no"
32901 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
32902 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
32903 { echo "$as_me:$LINENO: result: yes" >&5
32904 echo "${ECHO_T}yes" >&6; }
32906 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
32907 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
32908 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32913 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32914 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
32916 if test -n "$PKG_CONFIG"; then
32917 if test -n "$PANGOXFT_CFLAGS"; then
32918 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
32920 if test -n "$PKG_CONFIG" && \
32921 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32922 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32925 (exit $ac_status); }; then
32926 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32934 if test -n "$PKG_CONFIG"; then
32935 if test -n "$PANGOXFT_LIBS"; then
32936 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
32938 if test -n "$PKG_CONFIG" && \
32939 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32940 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32943 (exit $ac_status); }; then
32944 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32955 if test $pkg_failed = yes; then
32957 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32958 _pkg_short_errors_supported
=yes
32960 _pkg_short_errors_supported
=no
32962 if test $_pkg_short_errors_supported = yes; then
32963 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32965 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32967 # Put the nasty error message in config.log where it belongs
32968 echo "$PANGOXFT_PKG_ERRORS" >&5
32971 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32972 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32975 elif test $pkg_failed = untried
; then
32977 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32978 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32982 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
32983 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
32984 { echo "$as_me:$LINENO: result: yes" >&5
32985 echo "${ECHO_T}yes" >&6; }
32987 cat >>confdefs.h
<<\_ACEOF
32988 #define HAVE_PANGO_XFT 1
32991 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
32992 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
32993 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32997 LIBS
="$LIBS $PANGOX_LIBS"
32999 for ac_func
in pango_font_family_is_monospace
33001 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33002 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33004 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33005 echo $ECHO_N "(cached) $ECHO_C" >&6
33007 cat >conftest.
$ac_ext <<_ACEOF
33010 cat confdefs.h
>>conftest.
$ac_ext
33011 cat >>conftest.
$ac_ext <<_ACEOF
33012 /* end confdefs.h. */
33013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33015 #define $ac_func innocuous_$ac_func
33017 /* System header to define __stub macros and hopefully few prototypes,
33018 which can conflict with char $ac_func (); below.
33019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33020 <limits.h> exists even on freestanding compilers. */
33023 # include <limits.h>
33025 # include <assert.h>
33030 /* Override any GCC internal prototype to avoid an error.
33031 Use char because int might match the return type of a GCC
33032 builtin and then its argument prototype would still apply. */
33037 /* The GNU C library defines this for functions which it implements
33038 to always fail with ENOSYS. Some functions are actually named
33039 something starting with __ and the normal name is an alias. */
33040 #if defined __stub_$ac_func || defined __stub___$ac_func
33047 return $ac_func ();
33052 rm -f conftest.
$ac_objext conftest
$ac_exeext
33053 if { (ac_try
="$ac_link"
33054 case "(($ac_try" in
33055 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33056 *) ac_try_echo=$ac_try;;
33058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33059 (eval "$ac_link") 2>conftest.er1
33061 grep -v '^ *+' conftest.er1 >conftest.err
33063 cat conftest.err >&5
33064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33065 (exit $ac_status); } && {
33066 test -z "$ac_c_werror_flag" ||
33067 test ! -s conftest.err
33068 } && test -s conftest$ac_exeext &&
33069 $as_test_x conftest$ac_exeext; then
33070 eval "$as_ac_var=yes"
33072 echo "$as_me: failed program was:" >&5
33073 sed 's/^/| /' conftest.$ac_ext >&5
33075 eval "$as_ac_var=no"
33078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33079 conftest$ac_exeext conftest.$ac_ext
33081 ac_res=`eval echo '${'$as_ac_var'}'`
33082 { echo "$as_me:$LINENO: result: $ac_res" >&5
33083 echo "${ECHO_T}$ac_res" >&6; }
33084 if test `eval echo '${'$as_ac_var'}'` = yes; then
33085 cat >>confdefs.h <<_ACEOF
33086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33095 wxUSE_UNIVERSAL="yes"
33097 if test "$wxUSE_NANOX" = "yes"; then
33098 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33099 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"
33100 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33102 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33109 if test "$wxUSE_MOTIF" = 1; then
33110 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33111 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33114 for ac_dir in $SEARCH_INCLUDE /usr/include
33116 if test -f "$ac_dir/Xm/Xm.h"; then
33117 ac_find_includes=$ac_dir
33122 if test "$ac_find_includes" != "" ; then
33123 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33124 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33126 if test "x$ac_find_includes" = "x/usr/include"; then
33127 ac_path_to_include=""
33129 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33131 if test $result = 0; then
33132 ac_path_to_include=""
33134 ac_path_to_include=" -I$ac_find_includes"
33138 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33140 save_CFLAGS=$CFLAGS
33141 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33143 cat >conftest.$ac_ext <<_ACEOF
33146 cat confdefs.h >>conftest.$ac_ext
33147 cat >>conftest.$ac_ext <<_ACEOF
33148 /* end confdefs.h. */
33157 version = xmUseVersion;
33163 rm -f conftest.$ac_objext
33164 if { (ac_try="$ac_compile"
33165 case "(($ac_try" in
33166 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33167 *) ac_try_echo
=$ac_try;;
33169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33170 (eval "$ac_compile") 2>conftest.er1
33172 grep -v '^ *+' conftest.er1
>conftest.err
33174 cat conftest.err
>&5
33175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33176 (exit $ac_status); } && {
33177 test -z "$ac_c_werror_flag" ||
33178 test ! -s conftest.err
33179 } && test -s conftest.
$ac_objext; then
33181 { echo "$as_me:$LINENO: result: found in default search path" >&5
33182 echo "${ECHO_T}found in default search path" >&6; }
33183 COMPILED_X_PROGRAM
=1
33186 echo "$as_me: failed program was:" >&5
33187 sed 's/^/| /' conftest.
$ac_ext >&5
33190 { echo "$as_me:$LINENO: result: no" >&5
33191 echo "${ECHO_T}no" >&6; }
33192 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33193 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33194 { (exit 1); exit 1; }; }
33199 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33201 CFLAGS
=$save_CFLAGS
33205 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33206 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33209 for ac_dir
in $SEARCH_LIB
33211 for ac_extension
in a so sl dylib dll.a
; do
33212 if test -f "$ac_dir/libXm.$ac_extension"; then
33213 ac_find_libraries
=$ac_dir
33220 if test "x$ac_find_libraries" != "x" ; then
33221 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33222 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33225 if test "$ac_find_libraries" = "default location"; then
33228 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
33230 if test $result = 0; then
33233 ac_path_to_link
=" -L$ac_find_libraries"
33237 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
33239 save_CFLAGS
=$CFLAGS
33240 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33242 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33244 cat >conftest.
$ac_ext <<_ACEOF
33247 cat confdefs.h
>>conftest.
$ac_ext
33248 cat >>conftest.
$ac_ext <<_ACEOF
33249 /* end confdefs.h. */
33258 version = xmUseVersion;
33264 rm -f conftest.
$ac_objext conftest
$ac_exeext
33265 if { (ac_try
="$ac_link"
33266 case "(($ac_try" in
33267 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33268 *) ac_try_echo=$ac_try;;
33270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33271 (eval "$ac_link") 2>conftest.er1
33273 grep -v '^ *+' conftest.er1 >conftest.err
33275 cat conftest.err >&5
33276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33277 (exit $ac_status); } && {
33278 test -z "$ac_c_werror_flag" ||
33279 test ! -s conftest.err
33280 } && test -s conftest$ac_exeext &&
33281 $as_test_x conftest$ac_exeext; then
33283 { echo "$as_me:$LINENO: result: found in default search path" >&5
33284 echo "${ECHO_T}found in default search path" >&6; }
33285 COMPILED_X_PROGRAM=1
33288 echo "$as_me: failed program was:" >&5
33289 sed 's/^/| /' conftest.$ac_ext >&5
33292 { echo "$as_me:$LINENO: result: no" >&5
33293 echo "${ECHO_T}no" >&6; }
33294 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33295 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33296 { (exit 1); exit 1; }; }
33301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33302 conftest$ac_exeext conftest.$ac_ext
33304 CFLAGS=$save_CFLAGS
33308 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33309 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33313 for libp in "" " -lXp"; do
33314 if test "$libs_found" = 0; then
33315 for libsm_ice in "" " -lSM -lICE"; do
33316 if test "$libs_found" = 0; then
33318 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33319 save_CFLAGS=$CFLAGS
33320 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33322 cat >conftest.$ac_ext <<_ACEOF
33325 cat confdefs.h >>conftest.$ac_ext
33326 cat >>conftest.$ac_ext <<_ACEOF
33327 /* end confdefs.h. */
33330 #include <Xm/List.h>
33336 XmString string = NULL;
33339 XmListAddItem(w, string, position);
33345 rm -f conftest.$ac_objext conftest$ac_exeext
33346 if { (ac_try="$ac_link"
33347 case "(($ac_try" in
33348 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33349 *) ac_try_echo
=$ac_try;;
33351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33352 (eval "$ac_link") 2>conftest.er1
33354 grep -v '^ *+' conftest.er1
>conftest.err
33356 cat conftest.err
>&5
33357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33358 (exit $ac_status); } && {
33359 test -z "$ac_c_werror_flag" ||
33360 test ! -s conftest.err
33361 } && test -s conftest
$ac_exeext &&
33362 $as_test_x conftest
$ac_exeext; then
33365 libsm_ice_link
="$libsm_ice"
33366 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33367 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33371 echo "$as_me: failed program was:" >&5
33372 sed 's/^/| /' conftest.
$ac_ext >&5
33378 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33379 conftest
$ac_exeext conftest.
$ac_ext
33382 CFLAGS
=$save_CFLAGS
33388 if test "$libs_found" = 0; then
33389 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33390 echo "${ECHO_T}can't find the right libraries" >&6; }
33391 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33392 echo "$as_me: error: can't link a simple motif program" >&2;}
33393 { (exit 1); exit 1; }; }
33396 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33397 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33398 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33399 echo $ECHO_N "(cached) $ECHO_C" >&6
33401 ac_check_lib_save_LIBS
=$LIBS
33403 cat >conftest.
$ac_ext <<_ACEOF
33406 cat confdefs.h
>>conftest.
$ac_ext
33407 cat >>conftest.
$ac_ext <<_ACEOF
33408 /* end confdefs.h. */
33410 /* Override any GCC internal prototype to avoid an error.
33411 Use char because int might match the return type of a GCC
33412 builtin and then its argument prototype would still apply. */
33416 char SgCreateList ();
33420 return SgCreateList ();
33425 rm -f conftest.
$ac_objext conftest
$ac_exeext
33426 if { (ac_try
="$ac_link"
33427 case "(($ac_try" in
33428 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33429 *) ac_try_echo=$ac_try;;
33431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33432 (eval "$ac_link") 2>conftest.er1
33434 grep -v '^ *+' conftest.er1 >conftest.err
33436 cat conftest.err >&5
33437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33438 (exit $ac_status); } && {
33439 test -z "$ac_c_werror_flag" ||
33440 test ! -s conftest.err
33441 } && test -s conftest$ac_exeext &&
33442 $as_test_x conftest$ac_exeext; then
33443 ac_cv_lib_Sgm_SgCreateList=yes
33445 echo "$as_me: failed program was:" >&5
33446 sed 's/^/| /' conftest.$ac_ext >&5
33448 ac_cv_lib_Sgm_SgCreateList=no
33451 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33452 conftest$ac_exeext conftest.$ac_ext
33453 LIBS=$ac_check_lib_save_LIBS
33455 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33456 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33457 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33458 libsgm_link=" -lSgm"
33462 save_CFLAGS=$CFLAGS
33463 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33465 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33466 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33467 if test "${wx_cv_lib_motif2+set}" = set; then
33468 echo $ECHO_N "(cached) $ECHO_C" >&6
33470 cat >conftest.$ac_ext <<_ACEOF
33473 cat confdefs.h >>conftest.$ac_ext
33474 cat >>conftest.$ac_ext <<_ACEOF
33475 /* end confdefs.h. */
33483 #if XmVersion < 2000
33491 rm -f conftest.$ac_objext
33492 if { (ac_try="$ac_compile"
33493 case "(($ac_try" in
33494 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33495 *) ac_try_echo
=$ac_try;;
33497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33498 (eval "$ac_compile") 2>conftest.er1
33500 grep -v '^ *+' conftest.er1
>conftest.err
33502 cat conftest.err
>&5
33503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33504 (exit $ac_status); } && {
33505 test -z "$ac_c_werror_flag" ||
33506 test ! -s conftest.err
33507 } && test -s conftest.
$ac_objext; then
33508 wx_cv_lib_motif2
="yes"
33510 echo "$as_me: failed program was:" >&5
33511 sed 's/^/| /' conftest.
$ac_ext >&5
33513 wx_cv_lib_motif2
="no"
33516 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33518 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33519 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33520 if test "$wx_cv_lib_motif2" = "yes"; then
33521 cat >>confdefs.h
<<\_ACEOF
33522 #define __WXMOTIF20__ 1
33526 cat >>confdefs.h
<<\_ACEOF
33527 #define __WXMOTIF20__ 0
33532 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33533 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33534 if test "${wx_cv_lib_lesstif+set}" = set; then
33535 echo $ECHO_N "(cached) $ECHO_C" >&6
33537 cat >conftest.
$ac_ext <<_ACEOF
33540 cat confdefs.h
>>conftest.
$ac_ext
33541 cat >>conftest.
$ac_ext <<_ACEOF
33542 /* end confdefs.h. */
33550 #if !defined(LesstifVersion) || LesstifVersion <= 0
33558 rm -f conftest.
$ac_objext
33559 if { (ac_try
="$ac_compile"
33560 case "(($ac_try" in
33561 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33562 *) ac_try_echo=$ac_try;;
33564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33565 (eval "$ac_compile") 2>conftest.er1
33567 grep -v '^ *+' conftest.er1 >conftest.err
33569 cat conftest.err >&5
33570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33571 (exit $ac_status); } && {
33572 test -z "$ac_c_werror_flag" ||
33573 test ! -s conftest.err
33574 } && test -s conftest.$ac_objext; then
33575 wx_cv_lib_lesstif="yes"
33577 echo "$as_me: failed program was:" >&5
33578 sed 's/^/| /' conftest.$ac_ext >&5
33580 wx_cv_lib_lesstif="no"
33583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33586 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33587 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33588 if test "$wx_cv_lib_lesstif" = "yes"; then
33589 cat >>confdefs.h <<\_ACEOF
33590 #define __WXLESSTIF__ 1
33594 cat >>confdefs.h <<\_ACEOF
33595 #define __WXLESSTIF__ 0
33600 CFLAGS=$save_CFLAGS
33602 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33607 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33608 if test "$wxUSE_LIBXPM" = "sys"; then
33609 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33610 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33613 for ac_dir in $SEARCH_LIB
33615 for ac_extension in a so sl dylib dll.a; do
33616 if test -f "$ac_dir/libXpm.$ac_extension"; then
33617 ac_find_libraries=$ac_dir
33623 if test "$ac_find_libraries" != "" ; then
33625 if test "$ac_find_libraries" = "default location"; then
33628 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33630 if test $result = 0; then
33633 ac_path_to_link=" -L$ac_find_libraries"
33637 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33638 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33639 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33641 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33642 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33643 if test "${wx_cv_x11_xpm_h+set}" = set; then
33644 echo $ECHO_N "(cached) $ECHO_C" >&6
33647 save_CFLAGS=$CFLAGS
33648 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33650 cat >conftest.$ac_ext <<_ACEOF
33653 cat confdefs.h >>conftest.$ac_ext
33654 cat >>conftest.$ac_ext <<_ACEOF
33655 /* end confdefs.h. */
33657 #include <X11/xpm.h>
33664 version = XpmLibraryVersion();
33670 rm -f conftest.$ac_objext
33671 if { (ac_try="$ac_compile"
33672 case "(($ac_try" in
33673 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33674 *) ac_try_echo
=$ac_try;;
33676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33677 (eval "$ac_compile") 2>conftest.er1
33679 grep -v '^ *+' conftest.er1
>conftest.err
33681 cat conftest.err
>&5
33682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33683 (exit $ac_status); } && {
33684 test -z "$ac_c_werror_flag" ||
33685 test ! -s conftest.err
33686 } && test -s conftest.
$ac_objext; then
33687 wx_cv_x11_xpm_h
=yes
33689 echo "$as_me: failed program was:" >&5
33690 sed 's/^/| /' conftest.
$ac_ext >&5
33696 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33698 CFLAGS
=$save_CFLAGS
33702 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33703 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33705 if test $wx_cv_x11_xpm_h = "yes"; then
33706 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
33707 cat >>confdefs.h
<<\_ACEOF
33708 #define wxHAVE_LIB_XPM 1
33712 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33713 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33719 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33720 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33721 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33722 echo $ECHO_N "(cached) $ECHO_C" >&6
33724 ac_check_lib_save_LIBS
=$LIBS
33725 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33726 cat >conftest.
$ac_ext <<_ACEOF
33729 cat confdefs.h
>>conftest.
$ac_ext
33730 cat >>conftest.
$ac_ext <<_ACEOF
33731 /* end confdefs.h. */
33733 /* Override any GCC internal prototype to avoid an error.
33734 Use char because int might match the return type of a GCC
33735 builtin and then its argument prototype would still apply. */
33739 char XShapeQueryExtension ();
33743 return XShapeQueryExtension ();
33748 rm -f conftest.
$ac_objext conftest
$ac_exeext
33749 if { (ac_try
="$ac_link"
33750 case "(($ac_try" in
33751 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33752 *) ac_try_echo=$ac_try;;
33754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33755 (eval "$ac_link") 2>conftest.er1
33757 grep -v '^ *+' conftest.er1 >conftest.err
33759 cat conftest.err >&5
33760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33761 (exit $ac_status); } && {
33762 test -z "$ac_c_werror_flag" ||
33763 test ! -s conftest.err
33764 } && test -s conftest$ac_exeext &&
33765 $as_test_x conftest$ac_exeext; then
33766 ac_cv_lib_Xext_XShapeQueryExtension=yes
33768 echo "$as_me: failed program was:" >&5
33769 sed 's/^/| /' conftest.$ac_ext >&5
33771 ac_cv_lib_Xext_XShapeQueryExtension=no
33774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33775 conftest$ac_exeext conftest.$ac_ext
33776 LIBS=$ac_check_lib_save_LIBS
33778 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33779 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33780 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33782 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33788 if test "$wxHAVE_XEXT_LIB" = 1; then
33789 save_CFLAGS="$CFLAGS"
33790 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33792 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33793 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33794 cat >conftest.$ac_ext <<_ACEOF
33797 cat confdefs.h >>conftest.$ac_ext
33798 cat >>conftest.$ac_ext <<_ACEOF
33799 /* end confdefs.h. */
33801 #include <X11/Xlib.h>
33802 #include <X11/extensions/shape.h>
33808 int dummy1, dummy2;
33809 XShapeQueryExtension((Display*)NULL,
33810 (int*)NULL, (int*)NULL);
33816 rm -f conftest.$ac_objext
33817 if { (ac_try="$ac_compile"
33818 case "(($ac_try" in
33819 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33820 *) ac_try_echo
=$ac_try;;
33822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33823 (eval "$ac_compile") 2>conftest.er1
33825 grep -v '^ *+' conftest.er1
>conftest.err
33827 cat conftest.err
>&5
33828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33829 (exit $ac_status); } && {
33830 test -z "$ac_c_werror_flag" ||
33831 test ! -s conftest.err
33832 } && test -s conftest.
$ac_objext; then
33834 cat >>confdefs.h
<<\_ACEOF
33835 #define HAVE_XSHAPE 1
33838 { echo "$as_me:$LINENO: result: found" >&5
33839 echo "${ECHO_T}found" >&6; }
33842 echo "$as_me: failed program was:" >&5
33843 sed 's/^/| /' conftest.
$ac_ext >&5
33846 { echo "$as_me:$LINENO: result: not found" >&5
33847 echo "${ECHO_T}not found" >&6; }
33851 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33852 CFLAGS
="$save_CFLAGS"
33857 if test "$wxUSE_OSX_CARBON" = 1; then
33858 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33859 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33860 if test "$GCC" = yes; then
33861 { echo "$as_me:$LINENO: result: gcc" >&5
33862 echo "${ECHO_T}gcc" >&6; }
33863 CPPFLAGS_PASCAL
="-fpascal-strings"
33864 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33865 { echo "$as_me:$LINENO: result: xlc" >&5
33866 echo "${ECHO_T}xlc" >&6; }
33867 CPPFLAGS_PASCAL
="-qmacpstr"
33869 { echo "$as_me:$LINENO: result: none" >&5
33870 echo "${ECHO_T}none" >&6; }
33873 if test "x$wxUSE_UNIX" = "xyes"; then
33874 CPPFLAGS
="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33876 CPPFLAGS
="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
33880 GUIDIST
=OSX_CARBON_DIST
33881 WXBASEPORT
="_carbon"
33883 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33886 if test "$wxUSE_OSX_COCOA" = 1; then
33888 GUIDIST
=OSX_COCOA_DIST
33890 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33893 if test "$wxUSE_OSX_IPHONE" = 1; then
33897 if test "$wxUSE_OLD_COCOA" = 1; then
33902 if test "$wxUSE_PM" = 1; then
33905 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33906 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
33907 if test "${wx_cv_spbcdata+set}" = set; then
33908 echo $ECHO_N "(cached) $ECHO_C" >&6
33911 cat >conftest.
$ac_ext <<_ACEOF
33914 cat confdefs.h
>>conftest.
$ac_ext
33915 cat >>conftest.
$ac_ext <<_ACEOF
33916 /* end confdefs.h. */
33931 rm -f conftest.
$ac_objext
33932 if { (ac_try
="$ac_compile"
33933 case "(($ac_try" in
33934 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33935 *) ac_try_echo=$ac_try;;
33937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33938 (eval "$ac_compile") 2>conftest.er1
33940 grep -v '^ *+' conftest.er1 >conftest.err
33942 cat conftest.err >&5
33943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33944 (exit $ac_status); } && {
33945 test -z "$ac_c_werror_flag" ||
33946 test ! -s conftest.err
33947 } && test -s conftest.$ac_objext; then
33950 echo "$as_me: failed program was:" >&5
33951 sed 's/^/| /' conftest.$ac_ext >&5
33957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33961 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33962 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33964 if test $wx_cv_spbcdata = "yes"; then
33965 cat >>confdefs.h <<\_ACEOF
33966 #define HAVE_SPBCDATA 1
33972 if test "$TOOLKIT" = "PM" ; then
33975 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
33978 if test "$wxUSE_UNIVERSAL" = "yes"; then
33979 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33983 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33984 DISTDIR="wx\$(TOOLKIT)"
33990 if test "$USE_WIN32" = 1 ; then
33994 GUIDIST="BASE_DIST"
34000 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34001 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34002 wxUSE_UNICODE_UTF8=yes
34003 elif test "$USE_OS2" = 1 ; then
34004 wxUSE_UNICODE_UTF8=yes
34006 wxUSE_UNICODE_UTF8=no
34011 if test "$wxUSE_GUI" = "yes"; then
34012 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34014 for ac_header in X11/Xlib.h
34016 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34017 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34018 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34019 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34020 echo $ECHO_N "(cached) $ECHO_C" >&6
34022 cat >conftest.$ac_ext <<_ACEOF
34025 cat confdefs.h >>conftest.$ac_ext
34026 cat >>conftest.$ac_ext <<_ACEOF
34027 /* end confdefs.h. */
34030 #include <$ac_header>
34032 rm -f conftest.$ac_objext
34033 if { (ac_try="$ac_compile"
34034 case "(($ac_try" in
34035 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34036 *) ac_try_echo
=$ac_try;;
34038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34039 (eval "$ac_compile") 2>conftest.er1
34041 grep -v '^ *+' conftest.er1
>conftest.err
34043 cat conftest.err
>&5
34044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34045 (exit $ac_status); } && {
34046 test -z "$ac_c_werror_flag" ||
34047 test ! -s conftest.err
34048 } && test -s conftest.
$ac_objext; then
34049 eval "$as_ac_Header=yes"
34051 echo "$as_me: failed program was:" >&5
34052 sed 's/^/| /' conftest.
$ac_ext >&5
34054 eval "$as_ac_Header=no"
34057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34059 ac_res
=`eval echo '${'$as_ac_Header'}'`
34060 { echo "$as_me:$LINENO: result: $ac_res" >&5
34061 echo "${ECHO_T}$ac_res" >&6; }
34062 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34063 cat >>confdefs.h
<<_ACEOF
34064 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34072 for ac_header
in X
11/XKBlib.h
34074 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34075 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34076 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34077 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34078 echo $ECHO_N "(cached) $ECHO_C" >&6
34080 cat >conftest.
$ac_ext <<_ACEOF
34083 cat confdefs.h
>>conftest.
$ac_ext
34084 cat >>conftest.
$ac_ext <<_ACEOF
34085 /* end confdefs.h. */
34087 #if HAVE_X11_XLIB_H
34088 #include <X11/Xlib.h>
34092 #include <$ac_header>
34094 rm -f conftest.
$ac_objext
34095 if { (ac_try
="$ac_compile"
34096 case "(($ac_try" in
34097 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34098 *) ac_try_echo=$ac_try;;
34100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34101 (eval "$ac_compile") 2>conftest.er1
34103 grep -v '^ *+' conftest.er1 >conftest.err
34105 cat conftest.err >&5
34106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34107 (exit $ac_status); } && {
34108 test -z "$ac_c_werror_flag" ||
34109 test ! -s conftest.err
34110 } && test -s conftest.$ac_objext; then
34111 eval "$as_ac_Header=yes"
34113 echo "$as_me: failed program was:" >&5
34114 sed 's/^/| /' conftest.$ac_ext >&5
34116 eval "$as_ac_Header=no"
34119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34121 ac_res=`eval echo '${'$as_ac_Header'}'`
34122 { echo "$as_me:$LINENO: result: $ac_res" >&5
34123 echo "${ECHO_T}$ac_res" >&6; }
34124 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34125 cat >>confdefs.h <<_ACEOF
34126 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34139 if test "$wxUSE_DISPLAY" = "yes"; then
34140 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34141 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34142 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34145 for ac_dir in $SEARCH_LIB
34147 for ac_extension in a so sl dylib dll.a; do
34148 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34149 ac_find_libraries=$ac_dir
34155 if test "$ac_find_libraries" != "" ; then
34157 if test "$ac_find_libraries" = "default location"; then
34160 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34162 if test $result = 0; then
34165 ac_path_to_link=" -L$ac_find_libraries"
34169 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34170 LDFLAGS="$LDFLAGS $ac_path_to_link"
34173 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34174 { echo "$as_me:$LINENO: result: yes" >&5
34175 echo "${ECHO_T}yes" >&6; }
34177 { echo "$as_me:$LINENO: result: no" >&5
34178 echo "${ECHO_T}no" >&6; }
34179 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34180 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34183 elif test "$wxUSE_MSW" = 1; then
34184 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34185 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34186 if test "${ac_cv_header_ddraw_h+set}" = set; then
34187 echo $ECHO_N "(cached) $ECHO_C" >&6
34189 cat >conftest.$ac_ext <<_ACEOF
34192 cat confdefs.h >>conftest.$ac_ext
34193 cat >>conftest.$ac_ext <<_ACEOF
34194 /* end confdefs.h. */
34195 #include <windows.h>
34199 rm -f conftest.$ac_objext
34200 if { (ac_try="$ac_compile"
34201 case "(($ac_try" in
34202 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34203 *) ac_try_echo
=$ac_try;;
34205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34206 (eval "$ac_compile") 2>conftest.er1
34208 grep -v '^ *+' conftest.er1
>conftest.err
34210 cat conftest.err
>&5
34211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34212 (exit $ac_status); } && {
34213 test -z "$ac_c_werror_flag" ||
34214 test ! -s conftest.err
34215 } && test -s conftest.
$ac_objext; then
34216 ac_cv_header_ddraw_h
=yes
34218 echo "$as_me: failed program was:" >&5
34219 sed 's/^/| /' conftest.
$ac_ext >&5
34221 ac_cv_header_ddraw_h
=no
34224 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34226 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34227 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34233 if test "$wxUSE_DISPLAY" = "yes"; then
34234 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34235 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34236 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34239 for ac_dir
in $SEARCH_LIB
34241 for ac_extension
in a so sl dylib dll.a
; do
34242 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34243 ac_find_libraries
=$ac_dir
34249 if test "$ac_find_libraries" != "" ; then
34250 { echo "$as_me:$LINENO: result: yes" >&5
34251 echo "${ECHO_T}yes" >&6; }
34253 for ac_header
in X
11/extensions
/xf86vmode.h
34255 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34256 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34258 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34259 echo $ECHO_N "(cached) $ECHO_C" >&6
34261 cat >conftest.
$ac_ext <<_ACEOF
34264 cat confdefs.h
>>conftest.
$ac_ext
34265 cat >>conftest.
$ac_ext <<_ACEOF
34266 /* end confdefs.h. */
34268 #if HAVE_X11_XLIB_H
34269 #include <X11/Xlib.h>
34273 #include <$ac_header>
34275 rm -f conftest.
$ac_objext
34276 if { (ac_try
="$ac_compile"
34277 case "(($ac_try" in
34278 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34279 *) ac_try_echo=$ac_try;;
34281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34282 (eval "$ac_compile") 2>conftest.er1
34284 grep -v '^ *+' conftest.er1 >conftest.err
34286 cat conftest.err >&5
34287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34288 (exit $ac_status); } && {
34289 test -z "$ac_c_werror_flag" ||
34290 test ! -s conftest.err
34291 } && test -s conftest.$ac_objext; then
34292 eval "$as_ac_Header=yes"
34294 echo "$as_me: failed program was:" >&5
34295 sed 's/^/| /' conftest.$ac_ext >&5
34297 eval "$as_ac_Header=no"
34300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34302 ac_res=`eval echo '${'$as_ac_Header'}'`
34303 { echo "$as_me:$LINENO: result: $ac_res" >&5
34304 echo "${ECHO_T}$ac_res" >&6; }
34305 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34306 cat >>confdefs.h <<_ACEOF
34307 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34310 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34317 { echo "$as_me:$LINENO: result: no" >&5
34318 echo "${ECHO_T}no" >&6; }
34323 if test "$wxUSE_DETECT_SM" = "yes"; then
34324 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34325 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34326 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34329 for ac_dir in $SEARCH_LIB
34331 for ac_extension in a so sl dylib dll.a; do
34332 if test -f "$ac_dir/libSM.$ac_extension"; then
34333 ac_find_libraries=$ac_dir
34339 if test "$ac_find_libraries" != "" ; then
34341 if test "$ac_find_libraries" = "default location"; then
34344 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34346 if test $result = 0; then
34349 ac_path_to_link=" -L$ac_find_libraries"
34353 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34354 LDFLAGS="$LDFLAGS $ac_path_to_link"
34356 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34357 { echo "$as_me:$LINENO: result: yes" >&5
34358 echo "${ECHO_T}yes" >&6; }
34360 { echo "$as_me:$LINENO: result: no" >&5
34361 echo "${ECHO_T}no" >&6; }
34362 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34363 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34364 wxUSE_DETECT_SM="no"
34367 wxUSE_DETECT_SM="no"
34374 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34377 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34378 OPENGL_LIBS="-framework OpenGL -framework AGL"
34379 elif test "$wxUSE_MSW" = 1; then
34380 OPENGL_LIBS="-lopengl32 -lglu32"
34381 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34383 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34384 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34387 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
34389 if test -f "$ac_dir/GL/gl.h"; then
34390 ac_find_includes=$ac_dir
34395 if test "$ac_find_includes" != "" ; then
34396 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34397 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34399 if test "x$ac_find_includes" = "x/usr/include"; then
34400 ac_path_to_include=""
34402 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34404 if test $result = 0; then
34405 ac_path_to_include=""
34407 ac_path_to_include=" -I$ac_find_includes"
34411 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34413 { echo "$as_me:$LINENO: result: not found" >&5
34414 echo "${ECHO_T}not found" >&6; }
34417 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34418 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34419 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34420 echo $ECHO_N "(cached) $ECHO_C" >&6
34422 cat >conftest.$ac_ext <<_ACEOF
34425 cat confdefs.h >>conftest.$ac_ext
34426 cat >>conftest.$ac_ext <<_ACEOF
34427 /* end confdefs.h. */
34432 rm -f conftest.$ac_objext
34433 if { (ac_try="$ac_compile"
34434 case "(($ac_try" in
34435 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34436 *) ac_try_echo
=$ac_try;;
34438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34439 (eval "$ac_compile") 2>conftest.er1
34441 grep -v '^ *+' conftest.er1
>conftest.err
34443 cat conftest.err
>&5
34444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34445 (exit $ac_status); } && {
34446 test -z "$ac_c_werror_flag" ||
34447 test ! -s conftest.err
34448 } && test -s conftest.
$ac_objext; then
34449 ac_cv_header_GL_gl_h
=yes
34451 echo "$as_me: failed program was:" >&5
34452 sed 's/^/| /' conftest.
$ac_ext >&5
34454 ac_cv_header_GL_gl_h
=no
34457 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34459 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34460 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34461 if test $ac_cv_header_GL_gl_h = yes; then
34463 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34464 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34465 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34466 echo $ECHO_N "(cached) $ECHO_C" >&6
34468 cat >conftest.
$ac_ext <<_ACEOF
34471 cat confdefs.h
>>conftest.
$ac_ext
34472 cat >>conftest.
$ac_ext <<_ACEOF
34473 /* end confdefs.h. */
34476 #include <GL/glu.h>
34478 rm -f conftest.
$ac_objext
34479 if { (ac_try
="$ac_compile"
34480 case "(($ac_try" in
34481 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34482 *) ac_try_echo=$ac_try;;
34484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34485 (eval "$ac_compile") 2>conftest.er1
34487 grep -v '^ *+' conftest.er1 >conftest.err
34489 cat conftest.err >&5
34490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34491 (exit $ac_status); } && {
34492 test -z "$ac_c_werror_flag" ||
34493 test ! -s conftest.err
34494 } && test -s conftest.$ac_objext; then
34495 ac_cv_header_GL_glu_h=yes
34497 echo "$as_me: failed program was:" >&5
34498 sed 's/^/| /' conftest.$ac_ext >&5
34500 ac_cv_header_GL_glu_h=no
34503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34505 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34506 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34507 if test $ac_cv_header_GL_glu_h = yes; then
34511 { echo "$as_me:$LINENO: checking for -lGL" >&5
34512 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34515 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib
34517 for ac_extension in a so sl dylib dll.a; do
34518 if test -f "$ac_dir/libGL.$ac_extension"; then
34519 ac_find_libraries=$ac_dir
34525 if test "$ac_find_libraries" != "" ; then
34526 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34527 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34530 if test "$ac_find_libraries" = "default location"; then
34533 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34535 if test $result = 0; then
34538 ac_path_to_link=" -L$ac_find_libraries"
34542 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34543 LDFLAGS_GL="$ac_path_to_link"
34546 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34547 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34550 for ac_dir in $SEARCH_LIB
34552 for ac_extension in a so sl dylib dll.a; do
34553 if test -f "$ac_dir/libGLU.$ac_extension"; then
34554 ac_find_libraries=$ac_dir
34560 if test "$ac_find_libraries" != "" ; then
34562 if test "$ac_find_libraries" = "default location"; then
34565 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34567 if test $result = 0; then
34570 ac_path_to_link=" -L$ac_find_libraries"
34574 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34575 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34576 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34580 OPENGL_LIBS="-lGL -lGLU"
34581 { echo "$as_me:$LINENO: result: yes" >&5
34582 echo "${ECHO_T}yes" >&6; }
34584 { echo "$as_me:$LINENO: result: no" >&5
34585 echo "${ECHO_T}no" >&6; }
34588 { echo "$as_me:$LINENO: result: no" >&5
34589 echo "${ECHO_T}no" >&6; }
34592 if test "$found_gl" != 1; then
34593 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34594 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34597 for ac_dir in $SEARCH_LIB
34599 for ac_extension in a so sl dylib dll.a; do
34600 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34601 ac_find_libraries=$ac_dir
34607 if test "$ac_find_libraries" != "" ; then
34609 if test "$ac_find_libraries" = "default location"; then
34612 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34614 if test $result = 0; then
34617 ac_path_to_link=" -L$ac_find_libraries"
34621 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34622 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34623 { echo "$as_me:$LINENO: result: yes" >&5
34624 echo "${ECHO_T}yes" >&6; }
34626 { echo "$as_me:$LINENO: result: no" >&5
34627 echo "${ECHO_T}no" >&6; }
34639 if test "x$OPENGL_LIBS" = "x"; then
34640 if test "$wxUSE_OPENGL" = "yes"; then
34641 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34642 echo "$as_me: error: OpenGL libraries not available" >&2;}
34643 { (exit 1); exit 1; }; }
34645 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34646 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34652 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34653 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34657 if test "$wxUSE_OPENGL" = "auto"; then
34661 if test "$wxUSE_OPENGL" = "yes"; then
34663 cat >>confdefs.h <<\_ACEOF
34664 #define wxUSE_OPENGL 1
34667 cat >>confdefs.h <<\_ACEOF
34668 #define wxUSE_GLCANVAS 1
34671 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34676 if test -n "$TOOLKIT" ; then
34677 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34682 if test "$wxUSE_SHARED" = "yes"; then
34686 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34687 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34692 if test "$wxUSE_SHARED" = "yes"; then
34696 *-*-cygwin* | *-*-mingw* )
34697 wx_cv_version_script=no
34701 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34702 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34703 if test "${wx_cv_version_script+set}" = set; then
34704 echo $ECHO_N "(cached) $ECHO_C" >&6
34707 echo "VER_1 { *; };" >conftest.sym
34708 echo "int main() { return 0; }" >conftest.cpp
34711 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34712 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34714 (eval $ac_try) 2>&5
34716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34717 (exit $ac_status); }; } ; then
34718 if test -s conftest.stderr ; then
34719 wx_cv_version_script=no
34721 wx_cv_version_script=yes
34724 wx_cv_version_script=no
34727 if test $wx_cv_version_script = yes
34729 echo "struct B { virtual ~B() { } }; \
34730 struct D : public B { }; \
34731 void F() { D d; }" > conftest.cpp
34734 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34735 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34737 (eval $ac_try) 2>&5
34739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34740 (exit $ac_status); }; } &&
34742 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34743 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34745 (eval $ac_try) 2>&5
34747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34748 (exit $ac_status); }; }
34751 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34752 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34754 (eval $ac_try) 2>&5
34756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34757 (exit $ac_status); }; }
34759 wx_cv_version_script=yes
34761 wx_cv_version_script=no
34766 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34767 rm -f conftest1.output conftest2.output conftest3.output
34770 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34771 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34773 if test $wx_cv_version_script = yes ; then
34774 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34780 if test "$wxUSE_VISIBILITY" != "no"; then
34783 if test -n "$GCC"; then
34784 CFLAGS_VISIBILITY="-fvisibility=hidden"
34785 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34786 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34787 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
34788 if test "${wx_cv_cc_visibility+set}" = set; then
34789 echo $ECHO_N "(cached) $ECHO_C" >&6
34792 wx_save_CXXFLAGS="$CXXFLAGS"
34793 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34795 ac_cpp='$CXXCPP $CPPFLAGS'
34796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34800 cat >conftest.$ac_ext <<_ACEOF
34803 cat confdefs.h >>conftest.$ac_ext
34804 cat >>conftest.$ac_ext <<_ACEOF
34805 /* end confdefs.h. */
34807 /* we need gcc >= 4.0, older versions with visibility support
34808 didn't have class visibility: */
34809 #if defined(__GNUC__) && __GNUC__ < 4
34810 error this gcc is too old;
34813 /* visibility only makes sense for ELF shared libs: */
34814 #if !defined(__ELF__) && !defined(__APPLE__)
34815 error this platform has no visibility;
34818 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34819 extern __attribute__((__visibility__("default"))) int exportedvar;
34820 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34821 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34822 class __attribute__((__visibility__("default"))) Foo {
34834 rm -f conftest.$ac_objext
34835 if { (ac_try="$ac_compile"
34836 case "(($ac_try" in
34837 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34838 *) ac_try_echo
=$ac_try;;
34840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34841 (eval "$ac_compile") 2>conftest.er1
34843 grep -v '^ *+' conftest.er1
>conftest.err
34845 cat conftest.err
>&5
34846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34847 (exit $ac_status); } && {
34848 test -z "$ac_cxx_werror_flag" ||
34849 test ! -s conftest.err
34850 } && test -s conftest.
$ac_objext; then
34851 wx_cv_cc_visibility
=yes
34853 echo "$as_me: failed program was:" >&5
34854 sed 's/^/| /' conftest.
$ac_ext >&5
34856 wx_cv_cc_visibility
=no
34859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34861 ac_cpp
='$CPP $CPPFLAGS'
34862 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34863 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34864 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34866 CXXFLAGS
="$wx_save_CXXFLAGS"
34869 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
34870 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
34871 if test $wx_cv_cc_visibility = yes; then
34872 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
34873 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
34874 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
34875 echo $ECHO_N "(cached) $ECHO_C" >&6
34878 wx_save_CXXFLAGS
="$CXXFLAGS"
34879 wx_save_LDFLAGS
="$LDFLAGS"
34880 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34881 LDFLAGS
="$LDFLAGS -shared -fPIC"
34883 ac_cpp
='$CXXCPP $CPPFLAGS'
34884 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34885 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34886 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34888 cat >conftest.
$ac_ext <<_ACEOF
34891 cat confdefs.h
>>conftest.
$ac_ext
34892 cat >>conftest.
$ac_ext <<_ACEOF
34893 /* end confdefs.h. */
34901 std::string s("hello");
34908 rm -f conftest.
$ac_objext conftest
$ac_exeext
34909 if { (ac_try
="$ac_link"
34910 case "(($ac_try" in
34911 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34912 *) ac_try_echo=$ac_try;;
34914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34915 (eval "$ac_link") 2>conftest.er1
34917 grep -v '^ *+' conftest.er1 >conftest.err
34919 cat conftest.err >&5
34920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34921 (exit $ac_status); } && {
34922 test -z "$ac_cxx_werror_flag" ||
34923 test ! -s conftest.err
34924 } && test -s conftest$ac_exeext &&
34925 $as_test_x conftest$ac_exeext; then
34926 wx_cv_cc_broken_libstdcxx_visibility=no
34928 echo "$as_me: failed program was:" >&5
34929 sed 's/^/| /' conftest.$ac_ext >&5
34931 wx_cv_cc_broken_libstdcxx_visibility=yes
34934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34935 conftest$ac_exeext conftest.$ac_ext
34937 ac_cpp='$CPP $CPPFLAGS'
34938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34942 CXXFLAGS="$wx_save_CXXFLAGS"
34943 LDFLAGS="$wx_save_LDFLAGS"
34946 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
34947 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
34949 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34950 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
34951 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
34952 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
34953 echo $ECHO_N "(cached) $ECHO_C" >&6
34957 ac_cpp='$CXXCPP $CPPFLAGS'
34958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34962 cat >conftest.$ac_ext <<_ACEOF
34965 cat confdefs.h >>conftest.$ac_ext
34966 cat >>conftest.$ac_ext <<_ACEOF
34967 /* end confdefs.h. */
34969 #pragma GCC visibility push(default)
34971 #pragma GCC visibility pop
34977 std::string s("hello");
34984 rm -f conftest.$ac_objext conftest$ac_exeext
34985 if { (ac_try="$ac_link"
34986 case "(($ac_try" in
34987 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34988 *) ac_try_echo
=$ac_try;;
34990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34991 (eval "$ac_link") 2>conftest.er1
34993 grep -v '^ *+' conftest.er1
>conftest.err
34995 cat conftest.err
>&5
34996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34997 (exit $ac_status); } && {
34998 test -z "$ac_cxx_werror_flag" ||
34999 test ! -s conftest.err
35000 } && test -s conftest
$ac_exeext &&
35001 $as_test_x conftest
$ac_exeext; then
35002 wx_cv_cc_visibility_workaround
=no
35004 echo "$as_me: failed program was:" >&5
35005 sed 's/^/| /' conftest.
$ac_ext >&5
35007 wx_cv_cc_visibility_workaround
=yes
35010 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35011 conftest
$ac_exeext conftest.
$ac_ext
35013 ac_cpp
='$CPP $CPPFLAGS'
35014 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35015 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35016 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35021 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
35022 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
35024 if test $wx_cv_cc_visibility_workaround = no
; then
35025 wx_cv_cc_visibility
=no
35030 if test $wx_cv_cc_visibility = yes; then
35031 cat >>confdefs.h
<<\_ACEOF
35032 #define HAVE_VISIBILITY 1
35035 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35036 cat >>confdefs.h
<<\_ACEOF
35037 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
35042 CFLAGS_VISIBILITY
=""
35043 CXXFLAGS_VISIBILITY
=""
35051 if test "x$SUNCXX" = xyes
; then
35052 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
35053 WXCONFIG_RPATH
="-R\$libdir"
35056 *-*-linux* | *-*-gnu* )
35057 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
35058 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
35063 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
35065 saveLdflags
="$LDFLAGS"
35066 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
35067 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35068 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35069 cat >conftest.
$ac_ext <<_ACEOF
35072 cat confdefs.h
>>conftest.
$ac_ext
35073 cat >>conftest.
$ac_ext <<_ACEOF
35074 /* end confdefs.h. */
35084 rm -f conftest.
$ac_objext conftest
$ac_exeext
35085 if { (ac_try
="$ac_link"
35086 case "(($ac_try" in
35087 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35088 *) ac_try_echo=$ac_try;;
35090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35091 (eval "$ac_link") 2>conftest.er1
35093 grep -v '^ *+' conftest.er1 >conftest.err
35095 cat conftest.err >&5
35096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35097 (exit $ac_status); } && {
35098 test -z "$ac_c_werror_flag" ||
35099 test ! -s conftest.err
35100 } && test -s conftest$ac_exeext &&
35101 $as_test_x conftest$ac_exeext; then
35103 { echo "$as_me:$LINENO: result: yes" >&5
35104 echo "${ECHO_T}yes" >&6; }
35105 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35106 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35109 echo "$as_me: failed program was:" >&5
35110 sed 's/^/| /' conftest.$ac_ext >&5
35113 { echo "$as_me:$LINENO: result: no" >&5
35114 echo "${ECHO_T}no" >&6; }
35115 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35116 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35117 LDFLAGS="$saveLdflags -Wl,-R,/"
35118 cat >conftest.$ac_ext <<_ACEOF
35121 cat confdefs.h >>conftest.$ac_ext
35122 cat >>conftest.$ac_ext <<_ACEOF
35123 /* end confdefs.h. */
35133 rm -f conftest.$ac_objext conftest$ac_exeext
35134 if { (ac_try="$ac_link"
35135 case "(($ac_try" in
35136 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35137 *) ac_try_echo
=$ac_try;;
35139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35140 (eval "$ac_link") 2>conftest.er1
35142 grep -v '^ *+' conftest.er1
>conftest.err
35144 cat conftest.err
>&5
35145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35146 (exit $ac_status); } && {
35147 test -z "$ac_c_werror_flag" ||
35148 test ! -s conftest.err
35149 } && test -s conftest
$ac_exeext &&
35150 $as_test_x conftest
$ac_exeext; then
35152 { echo "$as_me:$LINENO: result: yes" >&5
35153 echo "${ECHO_T}yes" >&6; }
35154 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
35155 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
35158 echo "$as_me: failed program was:" >&5
35159 sed 's/^/| /' conftest.
$ac_ext >&5
35162 { echo "$as_me:$LINENO: result: no" >&5
35163 echo "${ECHO_T}no" >&6; }
35167 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35168 conftest
$ac_exeext conftest.
$ac_ext
35172 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35173 conftest
$ac_exeext conftest.
$ac_ext
35174 LDFLAGS
="$saveLdflags"
35178 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
35179 if test "$install_name_tool" -a -x "$install_name_tool"; then
35180 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35181 cat <<EOF >change-install-names
35183 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35184 for i in \${libnames} ; do
35185 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
35186 for dep in \${libnames} ; do
35187 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
35191 chmod +x change
-install-names
35192 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
35195 HEADER_PAD_OPTION
="-headerpad_max_install_names"
35198 *-*-cygwin* | *-*-mingw32* )
35202 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
35203 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
35209 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35211 if test $wxUSE_RPATH = "no"; then
35212 SAMPLES_RPATH_FLAG
=''
35213 DYLIB_PATH_POSTLINK
=''
35221 config_linkage_component
="-static"
35228 lib_unicode_suffix
=
35230 if test "$wxUSE_UNICODE" = "yes"; then
35231 lib_unicode_suffix
=u
35232 WX_CHARTYPE
="unicode"
35236 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
35237 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
35240 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35244 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35246 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35248 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35251 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35252 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35254 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35256 if test "${TOOLKIT_DIR}" = "os2"; then
35257 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35259 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35264 if test "$wxUSE_OLD_COCOA" = 1; then
35267 ac_cpp
='$CPP $CPPFLAGS'
35268 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35269 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35270 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35274 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35275 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35276 cat >conftest.
$ac_ext <<_ACEOF
35279 cat confdefs.h
>>conftest.
$ac_ext
35280 cat >>conftest.
$ac_ext <<_ACEOF
35281 /* end confdefs.h. */
35282 #include <AppKit/NSEvent.h>
35283 #include <CoreFoundation/CoreFoundation.h>
35293 rm -f conftest.
$ac_objext
35294 if { (ac_try
="$ac_compile"
35295 case "(($ac_try" in
35296 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35297 *) ac_try_echo=$ac_try;;
35299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35300 (eval "$ac_compile") 2>conftest.er1
35302 grep -v '^ *+' conftest.er1 >conftest.err
35304 cat conftest.err >&5
35305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35306 (exit $ac_status); } && {
35307 test -z "$ac_c_werror_flag" ||
35308 test ! -s conftest.err
35309 } && test -s conftest.$ac_objext; then
35310 { echo "$as_me:$LINENO: result: no" >&5
35311 echo "${ECHO_T}no" >&6; }
35313 echo "$as_me: failed program was:" >&5
35314 sed 's/^/| /' conftest.$ac_ext >&5
35316 { echo "$as_me:$LINENO: result: yes" >&5
35317 echo "${ECHO_T}yes" >&6; }
35318 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35319 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35320 cat >conftest.$ac_ext <<_ACEOF
35323 cat confdefs.h >>conftest.$ac_ext
35324 cat >>conftest.$ac_ext <<_ACEOF
35325 /* end confdefs.h. */
35326 #define __Point__ 1
35327 #include <AppKit/NSEvent.h>
35328 #include <CoreFoundation/CoreFoundation.h>
35338 rm -f conftest.$ac_objext
35339 if { (ac_try="$ac_compile"
35340 case "(($ac_try" in
35341 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35342 *) ac_try_echo
=$ac_try;;
35344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35345 (eval "$ac_compile") 2>conftest.er1
35347 grep -v '^ *+' conftest.er1
>conftest.err
35349 cat conftest.err
>&5
35350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35351 (exit $ac_status); } && {
35352 test -z "$ac_c_werror_flag" ||
35353 test ! -s conftest.err
35354 } && test -s conftest.
$ac_objext; then
35355 { echo "$as_me:$LINENO: result: yes" >&5
35356 echo "${ECHO_T}yes" >&6; }
35357 cat >>confdefs.h
<<\_ACEOF
35358 #define __Point__ 1
35363 echo "$as_me: failed program was:" >&5
35364 sed 's/^/| /' conftest.
$ac_ext >&5
35366 { { echo "$as_me:$LINENO: error: no
35367 See \`config.log' for more details." >&5
35368 echo "$as_me: error: no
35369 See \`config.log' for more details." >&2;}
35370 { (exit 1); exit 1; }; }
35374 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35378 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35380 ac_cpp
='$CPP $CPPFLAGS'
35381 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35382 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35383 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35388 { echo "$as_me:$LINENO: checking for mode_t" >&5
35389 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35390 if test "${ac_cv_type_mode_t+set}" = set; then
35391 echo $ECHO_N "(cached) $ECHO_C" >&6
35393 cat >conftest.
$ac_ext <<_ACEOF
35396 cat confdefs.h
>>conftest.
$ac_ext
35397 cat >>conftest.
$ac_ext <<_ACEOF
35398 /* end confdefs.h. */
35399 $ac_includes_default
35400 typedef mode_t ac__type_new_;
35404 if ((ac__type_new_ *) 0)
35406 if (sizeof (ac__type_new_))
35412 rm -f conftest.
$ac_objext
35413 if { (ac_try
="$ac_compile"
35414 case "(($ac_try" in
35415 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35416 *) ac_try_echo=$ac_try;;
35418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35419 (eval "$ac_compile") 2>conftest.er1
35421 grep -v '^ *+' conftest.er1 >conftest.err
35423 cat conftest.err >&5
35424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35425 (exit $ac_status); } && {
35426 test -z "$ac_c_werror_flag" ||
35427 test ! -s conftest.err
35428 } && test -s conftest.$ac_objext; then
35429 ac_cv_type_mode_t=yes
35431 echo "$as_me: failed program was:" >&5
35432 sed 's/^/| /' conftest.$ac_ext >&5
35434 ac_cv_type_mode_t=no
35437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35439 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35440 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35441 if test $ac_cv_type_mode_t = yes; then
35445 cat >>confdefs.h <<_ACEOF
35451 { echo "$as_me:$LINENO: checking for off_t" >&5
35452 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35453 if test "${ac_cv_type_off_t+set}" = set; then
35454 echo $ECHO_N "(cached) $ECHO_C" >&6
35456 cat >conftest.$ac_ext <<_ACEOF
35459 cat confdefs.h >>conftest.$ac_ext
35460 cat >>conftest.$ac_ext <<_ACEOF
35461 /* end confdefs.h. */
35462 $ac_includes_default
35463 typedef off_t ac__type_new_;
35467 if ((ac__type_new_ *) 0)
35469 if (sizeof (ac__type_new_))
35475 rm -f conftest.$ac_objext
35476 if { (ac_try="$ac_compile"
35477 case "(($ac_try" in
35478 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35479 *) ac_try_echo
=$ac_try;;
35481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35482 (eval "$ac_compile") 2>conftest.er1
35484 grep -v '^ *+' conftest.er1
>conftest.err
35486 cat conftest.err
>&5
35487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35488 (exit $ac_status); } && {
35489 test -z "$ac_c_werror_flag" ||
35490 test ! -s conftest.err
35491 } && test -s conftest.
$ac_objext; then
35492 ac_cv_type_off_t
=yes
35494 echo "$as_me: failed program was:" >&5
35495 sed 's/^/| /' conftest.
$ac_ext >&5
35497 ac_cv_type_off_t
=no
35500 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35502 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35503 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35504 if test $ac_cv_type_off_t = yes; then
35508 cat >>confdefs.h
<<_ACEOF
35509 #define off_t long int
35514 { echo "$as_me:$LINENO: checking for pid_t" >&5
35515 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35516 if test "${ac_cv_type_pid_t+set}" = set; then
35517 echo $ECHO_N "(cached) $ECHO_C" >&6
35519 cat >conftest.
$ac_ext <<_ACEOF
35522 cat confdefs.h
>>conftest.
$ac_ext
35523 cat >>conftest.
$ac_ext <<_ACEOF
35524 /* end confdefs.h. */
35525 $ac_includes_default
35526 typedef pid_t ac__type_new_;
35530 if ((ac__type_new_ *) 0)
35532 if (sizeof (ac__type_new_))
35538 rm -f conftest.
$ac_objext
35539 if { (ac_try
="$ac_compile"
35540 case "(($ac_try" in
35541 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35542 *) ac_try_echo=$ac_try;;
35544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35545 (eval "$ac_compile") 2>conftest.er1
35547 grep -v '^ *+' conftest.er1 >conftest.err
35549 cat conftest.err >&5
35550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35551 (exit $ac_status); } && {
35552 test -z "$ac_c_werror_flag" ||
35553 test ! -s conftest.err
35554 } && test -s conftest.$ac_objext; then
35555 ac_cv_type_pid_t=yes
35557 echo "$as_me: failed program was:" >&5
35558 sed 's/^/| /' conftest.$ac_ext >&5
35560 ac_cv_type_pid_t=no
35563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35565 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35566 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35567 if test $ac_cv_type_pid_t = yes; then
35571 cat >>confdefs.h <<_ACEOF
35577 { echo "$as_me:$LINENO: checking for size_t" >&5
35578 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35579 if test "${ac_cv_type_size_t+set}" = set; then
35580 echo $ECHO_N "(cached) $ECHO_C" >&6
35582 cat >conftest.$ac_ext <<_ACEOF
35585 cat confdefs.h >>conftest.$ac_ext
35586 cat >>conftest.$ac_ext <<_ACEOF
35587 /* end confdefs.h. */
35588 $ac_includes_default
35589 typedef size_t ac__type_new_;
35593 if ((ac__type_new_ *) 0)
35595 if (sizeof (ac__type_new_))
35601 rm -f conftest.$ac_objext
35602 if { (ac_try="$ac_compile"
35603 case "(($ac_try" in
35604 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35605 *) ac_try_echo
=$ac_try;;
35607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35608 (eval "$ac_compile") 2>conftest.er1
35610 grep -v '^ *+' conftest.er1
>conftest.err
35612 cat conftest.err
>&5
35613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35614 (exit $ac_status); } && {
35615 test -z "$ac_c_werror_flag" ||
35616 test ! -s conftest.err
35617 } && test -s conftest.
$ac_objext; then
35618 ac_cv_type_size_t
=yes
35620 echo "$as_me: failed program was:" >&5
35621 sed 's/^/| /' conftest.
$ac_ext >&5
35623 ac_cv_type_size_t
=no
35626 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35628 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35629 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35630 if test $ac_cv_type_size_t = yes; then
35634 cat >>confdefs.h
<<_ACEOF
35635 #define size_t unsigned int
35641 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35642 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35643 if test "${ac_cv_type_ssize_t+set}" = set; then
35644 echo $ECHO_N "(cached) $ECHO_C" >&6
35646 cat >conftest.
$ac_ext <<_ACEOF
35649 cat confdefs.h
>>conftest.
$ac_ext
35650 cat >>conftest.
$ac_ext <<_ACEOF
35651 /* end confdefs.h. */
35652 $ac_includes_default
35653 typedef ssize_t ac__type_new_;
35657 if ((ac__type_new_ *) 0)
35659 if (sizeof (ac__type_new_))
35665 rm -f conftest.
$ac_objext
35666 if { (ac_try
="$ac_compile"
35667 case "(($ac_try" in
35668 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35669 *) ac_try_echo=$ac_try;;
35671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35672 (eval "$ac_compile") 2>conftest.er1
35674 grep -v '^ *+' conftest.er1 >conftest.err
35676 cat conftest.err >&5
35677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35678 (exit $ac_status); } && {
35679 test -z "$ac_c_werror_flag" ||
35680 test ! -s conftest.err
35681 } && test -s conftest.$ac_objext; then
35682 ac_cv_type_ssize_t=yes
35684 echo "$as_me: failed program was:" >&5
35685 sed 's/^/| /' conftest.$ac_ext >&5
35687 ac_cv_type_ssize_t=no
35690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35692 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35693 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35694 if test $ac_cv_type_ssize_t = yes; then
35696 cat >>confdefs.h <<_ACEOF
35697 #define HAVE_SSIZE_T 1
35705 ac_cpp='$CXXCPP $CPPFLAGS'
35706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35709 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35710 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35711 if test "${wx_cv_size_t_is_uint+set}" = set; then
35712 echo $ECHO_N "(cached) $ECHO_C" >&6
35715 cat >conftest.$ac_ext <<_ACEOF
35718 cat confdefs.h >>conftest.$ac_ext
35719 cat >>conftest.$ac_ext <<_ACEOF
35720 /* end confdefs.h. */
35721 #include <stddef.h>
35728 struct Foo { void foo(size_t); void foo(unsigned int); };
35736 rm -f conftest.$ac_objext
35737 if { (ac_try="$ac_compile"
35738 case "(($ac_try" in
35739 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35740 *) ac_try_echo
=$ac_try;;
35742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35743 (eval "$ac_compile") 2>conftest.er1
35745 grep -v '^ *+' conftest.er1
>conftest.err
35747 cat conftest.err
>&5
35748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35749 (exit $ac_status); } && {
35750 test -z "$ac_cxx_werror_flag" ||
35751 test ! -s conftest.err
35752 } && test -s conftest.
$ac_objext; then
35753 wx_cv_size_t_is_uint
=no
35755 echo "$as_me: failed program was:" >&5
35756 sed 's/^/| /' conftest.
$ac_ext >&5
35758 wx_cv_size_t_is_uint
=yes
35762 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35766 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35767 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35769 if test "$wx_cv_size_t_is_uint" = "yes"; then
35770 cat >>confdefs.h
<<\_ACEOF
35771 #define wxSIZE_T_IS_UINT 1
35775 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35776 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35777 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35778 echo $ECHO_N "(cached) $ECHO_C" >&6
35780 cat >conftest.
$ac_ext <<_ACEOF
35783 cat confdefs.h
>>conftest.
$ac_ext
35784 cat >>conftest.
$ac_ext <<_ACEOF
35785 /* end confdefs.h. */
35786 #include <stddef.h>
35793 struct Foo { void foo(size_t); void foo(unsigned long); };
35801 rm -f conftest.
$ac_objext
35802 if { (ac_try
="$ac_compile"
35803 case "(($ac_try" in
35804 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35805 *) ac_try_echo=$ac_try;;
35807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35808 (eval "$ac_compile") 2>conftest.er1
35810 grep -v '^ *+' conftest.er1 >conftest.err
35812 cat conftest.err >&5
35813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35814 (exit $ac_status); } && {
35815 test -z "$ac_cxx_werror_flag" ||
35816 test ! -s conftest.err
35817 } && test -s conftest.$ac_objext; then
35818 wx_cv_size_t_is_ulong=no
35820 echo "$as_me: failed program was:" >&5
35821 sed 's/^/| /' conftest.$ac_ext >&5
35823 wx_cv_size_t_is_ulong=yes
35827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35830 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35831 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
35833 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35834 cat >>confdefs.h <<\_ACEOF
35835 #define wxSIZE_T_IS_ULONG 1
35841 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35842 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
35843 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35844 echo $ECHO_N "(cached) $ECHO_C" >&6
35846 cat >conftest.$ac_ext <<_ACEOF
35849 cat confdefs.h >>conftest.$ac_ext
35850 cat >>conftest.$ac_ext <<_ACEOF
35851 /* end confdefs.h. */
35859 struct Foo { void foo(wchar_t);
35860 void foo(unsigned short);
35861 void foo(unsigned int);
35862 void foo(unsigned long); };
35870 rm -f conftest.$ac_objext
35871 if { (ac_try="$ac_compile"
35872 case "(($ac_try" in
35873 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35874 *) ac_try_echo
=$ac_try;;
35876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35877 (eval "$ac_compile") 2>conftest.er1
35879 grep -v '^ *+' conftest.er1
>conftest.err
35881 cat conftest.err
>&5
35882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35883 (exit $ac_status); } && {
35884 test -z "$ac_cxx_werror_flag" ||
35885 test ! -s conftest.err
35886 } && test -s conftest.
$ac_objext; then
35887 wx_cv_wchar_t_is_separate_type
=yes
35889 echo "$as_me: failed program was:" >&5
35890 sed 's/^/| /' conftest.
$ac_ext >&5
35892 wx_cv_wchar_t_is_separate_type
=no
35896 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35899 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
35900 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
35902 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
35903 cat >>confdefs.h
<<\_ACEOF
35904 #define wxWCHAR_T_IS_REAL_TYPE 1
35908 cat >>confdefs.h
<<\_ACEOF
35909 #define wxWCHAR_T_IS_REAL_TYPE 0
35915 ac_cpp
='$CPP $CPPFLAGS'
35916 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35917 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35918 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35921 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35922 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
35923 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35924 echo $ECHO_N "(cached) $ECHO_C" >&6
35927 cat >conftest.
$ac_ext <<_ACEOF
35930 cat confdefs.h
>>conftest.
$ac_ext
35931 cat >>conftest.
$ac_ext <<_ACEOF
35932 /* end confdefs.h. */
35946 rm -f conftest.
$ac_objext
35947 if { (ac_try
="$ac_compile"
35948 case "(($ac_try" in
35949 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35950 *) ac_try_echo=$ac_try;;
35952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35953 (eval "$ac_compile") 2>conftest.er1
35955 grep -v '^ *+' conftest.er1 >conftest.err
35957 cat conftest.err >&5
35958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35959 (exit $ac_status); } && {
35960 test -z "$ac_c_werror_flag" ||
35961 test ! -s conftest.err
35962 } && test -s conftest.$ac_objext; then
35964 wx_cv_struct_pw_gecos=yes
35967 echo "$as_me: failed program was:" >&5
35968 sed 's/^/| /' conftest.$ac_ext >&5
35971 wx_cv_struct_pw_gecos=no
35976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35980 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35981 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35983 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35984 cat >>confdefs.h <<\_ACEOF
35985 #define HAVE_PW_GECOS 1
35994 for ac_func in wcslen
35996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35997 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35999 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36000 echo $ECHO_N "(cached) $ECHO_C" >&6
36002 cat >conftest.$ac_ext <<_ACEOF
36005 cat confdefs.h >>conftest.$ac_ext
36006 cat >>conftest.$ac_ext <<_ACEOF
36007 /* end confdefs.h. */
36008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36010 #define $ac_func innocuous_$ac_func
36012 /* System header to define __stub macros and hopefully few prototypes,
36013 which can conflict with char $ac_func (); below.
36014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36015 <limits.h> exists even on freestanding compilers. */
36018 # include <limits.h>
36020 # include <assert.h>
36025 /* Override any GCC internal prototype to avoid an error.
36026 Use char because int might match the return type of a GCC
36027 builtin and then its argument prototype would still apply. */
36032 /* The GNU C library defines this for functions which it implements
36033 to always fail with ENOSYS. Some functions are actually named
36034 something starting with __ and the normal name is an alias. */
36035 #if defined __stub_$ac_func || defined __stub___$ac_func
36042 return $ac_func ();
36047 rm -f conftest.$ac_objext conftest$ac_exeext
36048 if { (ac_try="$ac_link"
36049 case "(($ac_try" in
36050 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36051 *) ac_try_echo
=$ac_try;;
36053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36054 (eval "$ac_link") 2>conftest.er1
36056 grep -v '^ *+' conftest.er1
>conftest.err
36058 cat conftest.err
>&5
36059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36060 (exit $ac_status); } && {
36061 test -z "$ac_c_werror_flag" ||
36062 test ! -s conftest.err
36063 } && test -s conftest
$ac_exeext &&
36064 $as_test_x conftest
$ac_exeext; then
36065 eval "$as_ac_var=yes"
36067 echo "$as_me: failed program was:" >&5
36068 sed 's/^/| /' conftest.
$ac_ext >&5
36070 eval "$as_ac_var=no"
36073 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36074 conftest
$ac_exeext conftest.
$ac_ext
36076 ac_res
=`eval echo '${'$as_ac_var'}'`
36077 { echo "$as_me:$LINENO: result: $ac_res" >&5
36078 echo "${ECHO_T}$ac_res" >&6; }
36079 if test `eval echo '${'$as_ac_var'}'` = yes; then
36080 cat >>confdefs.h
<<_ACEOF
36081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36088 if test "$WCSLEN_FOUND" = 0; then
36089 if test "$TOOLKIT" = "MSW"; then
36090 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36091 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
36092 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36093 echo $ECHO_N "(cached) $ECHO_C" >&6
36095 ac_check_lib_save_LIBS
=$LIBS
36096 LIBS
="-lmsvcrt $LIBS"
36097 cat >conftest.
$ac_ext <<_ACEOF
36100 cat confdefs.h
>>conftest.
$ac_ext
36101 cat >>conftest.
$ac_ext <<_ACEOF
36102 /* end confdefs.h. */
36104 /* Override any GCC internal prototype to avoid an error.
36105 Use char because int might match the return type of a GCC
36106 builtin and then its argument prototype would still apply. */
36119 rm -f conftest.
$ac_objext conftest
$ac_exeext
36120 if { (ac_try
="$ac_link"
36121 case "(($ac_try" in
36122 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36123 *) ac_try_echo=$ac_try;;
36125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36126 (eval "$ac_link") 2>conftest.er1
36128 grep -v '^ *+' conftest.er1 >conftest.err
36130 cat conftest.err >&5
36131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36132 (exit $ac_status); } && {
36133 test -z "$ac_c_werror_flag" ||
36134 test ! -s conftest.err
36135 } && test -s conftest$ac_exeext &&
36136 $as_test_x conftest$ac_exeext; then
36137 ac_cv_lib_msvcrt_wcslen=yes
36139 echo "$as_me: failed program was:" >&5
36140 sed 's/^/| /' conftest.$ac_ext >&5
36142 ac_cv_lib_msvcrt_wcslen=no
36145 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36146 conftest$ac_exeext conftest.$ac_ext
36147 LIBS=$ac_check_lib_save_LIBS
36149 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36150 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36151 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36156 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36157 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36158 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36159 echo $ECHO_N "(cached) $ECHO_C" >&6
36161 ac_check_lib_save_LIBS=$LIBS
36163 cat >conftest.$ac_ext <<_ACEOF
36166 cat confdefs.h >>conftest.$ac_ext
36167 cat >>conftest.$ac_ext <<_ACEOF
36168 /* end confdefs.h. */
36170 /* Override any GCC internal prototype to avoid an error.
36171 Use char because int might match the return type of a GCC
36172 builtin and then its argument prototype would still apply. */
36185 rm -f conftest.$ac_objext conftest$ac_exeext
36186 if { (ac_try="$ac_link"
36187 case "(($ac_try" in
36188 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36189 *) ac_try_echo
=$ac_try;;
36191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36192 (eval "$ac_link") 2>conftest.er1
36194 grep -v '^ *+' conftest.er1
>conftest.err
36196 cat conftest.err
>&5
36197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36198 (exit $ac_status); } && {
36199 test -z "$ac_c_werror_flag" ||
36200 test ! -s conftest.err
36201 } && test -s conftest
$ac_exeext &&
36202 $as_test_x conftest
$ac_exeext; then
36203 ac_cv_lib_w_wcslen
=yes
36205 echo "$as_me: failed program was:" >&5
36206 sed 's/^/| /' conftest.
$ac_ext >&5
36208 ac_cv_lib_w_wcslen
=no
36211 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36212 conftest
$ac_exeext conftest.
$ac_ext
36213 LIBS
=$ac_check_lib_save_LIBS
36215 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36216 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36217 if test $ac_cv_lib_w_wcslen = yes; then
36227 if test "$WCSLEN_FOUND" = 1; then
36228 cat >>confdefs.h
<<\_ACEOF
36229 #define HAVE_WCSLEN 1
36240 for ac_func
in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
36242 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36243 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36245 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36246 echo $ECHO_N "(cached) $ECHO_C" >&6
36248 cat >conftest.
$ac_ext <<_ACEOF
36251 cat confdefs.h
>>conftest.
$ac_ext
36252 cat >>conftest.
$ac_ext <<_ACEOF
36253 /* end confdefs.h. */
36254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36256 #define $ac_func innocuous_$ac_func
36258 /* System header to define __stub macros and hopefully few prototypes,
36259 which can conflict with char $ac_func (); below.
36260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36261 <limits.h> exists even on freestanding compilers. */
36264 # include <limits.h>
36266 # include <assert.h>
36271 /* Override any GCC internal prototype to avoid an error.
36272 Use char because int might match the return type of a GCC
36273 builtin and then its argument prototype would still apply. */
36278 /* The GNU C library defines this for functions which it implements
36279 to always fail with ENOSYS. Some functions are actually named
36280 something starting with __ and the normal name is an alias. */
36281 #if defined __stub_$ac_func || defined __stub___$ac_func
36288 return $ac_func ();
36293 rm -f conftest.
$ac_objext conftest
$ac_exeext
36294 if { (ac_try
="$ac_link"
36295 case "(($ac_try" in
36296 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36297 *) ac_try_echo=$ac_try;;
36299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36300 (eval "$ac_link") 2>conftest.er1
36302 grep -v '^ *+' conftest.er1 >conftest.err
36304 cat conftest.err >&5
36305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36306 (exit $ac_status); } && {
36307 test -z "$ac_c_werror_flag" ||
36308 test ! -s conftest.err
36309 } && test -s conftest$ac_exeext &&
36310 $as_test_x conftest$ac_exeext; then
36311 eval "$as_ac_var=yes"
36313 echo "$as_me: failed program was:" >&5
36314 sed 's/^/| /' conftest.$ac_ext >&5
36316 eval "$as_ac_var=no"
36319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36320 conftest$ac_exeext conftest.$ac_ext
36322 ac_res=`eval echo '${'$as_ac_var'}'`
36323 { echo "$as_me:$LINENO: result: $ac_res" >&5
36324 echo "${ECHO_T}$ac_res" >&6; }
36325 if test `eval echo '${'$as_ac_var'}'` = yes; then
36326 cat >>confdefs.h <<_ACEOF
36327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36334 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36335 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36338 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36339 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36340 if test "${ac_cv_type_mbstate_t+set}" = set; then
36341 echo $ECHO_N "(cached) $ECHO_C" >&6
36343 cat >conftest.$ac_ext <<_ACEOF
36346 cat confdefs.h >>conftest.$ac_ext
36347 cat >>conftest.$ac_ext <<_ACEOF
36348 /* end confdefs.h. */
36351 typedef mbstate_t ac__type_new_;
36355 if ((ac__type_new_ *) 0)
36357 if (sizeof (ac__type_new_))
36363 rm -f conftest.$ac_objext
36364 if { (ac_try="$ac_compile"
36365 case "(($ac_try" in
36366 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36367 *) ac_try_echo
=$ac_try;;
36369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36370 (eval "$ac_compile") 2>conftest.er1
36372 grep -v '^ *+' conftest.er1
>conftest.err
36374 cat conftest.err
>&5
36375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36376 (exit $ac_status); } && {
36377 test -z "$ac_c_werror_flag" ||
36378 test ! -s conftest.err
36379 } && test -s conftest.
$ac_objext; then
36380 ac_cv_type_mbstate_t
=yes
36382 echo "$as_me: failed program was:" >&5
36383 sed 's/^/| /' conftest.
$ac_ext >&5
36385 ac_cv_type_mbstate_t
=no
36388 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36390 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36391 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36392 if test $ac_cv_type_mbstate_t = yes; then
36394 cat >>confdefs.h
<<_ACEOF
36395 #define HAVE_MBSTATE_T 1
36399 for ac_func
in wcsrtombs
36401 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36402 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36404 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36405 echo $ECHO_N "(cached) $ECHO_C" >&6
36407 cat >conftest.
$ac_ext <<_ACEOF
36410 cat confdefs.h
>>conftest.
$ac_ext
36411 cat >>conftest.
$ac_ext <<_ACEOF
36412 /* end confdefs.h. */
36413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36415 #define $ac_func innocuous_$ac_func
36417 /* System header to define __stub macros and hopefully few prototypes,
36418 which can conflict with char $ac_func (); below.
36419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36420 <limits.h> exists even on freestanding compilers. */
36423 # include <limits.h>
36425 # include <assert.h>
36430 /* Override any GCC internal prototype to avoid an error.
36431 Use char because int might match the return type of a GCC
36432 builtin and then its argument prototype would still apply. */
36437 /* The GNU C library defines this for functions which it implements
36438 to always fail with ENOSYS. Some functions are actually named
36439 something starting with __ and the normal name is an alias. */
36440 #if defined __stub_$ac_func || defined __stub___$ac_func
36447 return $ac_func ();
36452 rm -f conftest.
$ac_objext conftest
$ac_exeext
36453 if { (ac_try
="$ac_link"
36454 case "(($ac_try" in
36455 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36456 *) ac_try_echo=$ac_try;;
36458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36459 (eval "$ac_link") 2>conftest.er1
36461 grep -v '^ *+' conftest.er1 >conftest.err
36463 cat conftest.err >&5
36464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36465 (exit $ac_status); } && {
36466 test -z "$ac_c_werror_flag" ||
36467 test ! -s conftest.err
36468 } && test -s conftest$ac_exeext &&
36469 $as_test_x conftest$ac_exeext; then
36470 eval "$as_ac_var=yes"
36472 echo "$as_me: failed program was:" >&5
36473 sed 's/^/| /' conftest.$ac_ext >&5
36475 eval "$as_ac_var=no"
36478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36479 conftest$ac_exeext conftest.$ac_ext
36481 ac_res=`eval echo '${'$as_ac_var'}'`
36482 { echo "$as_me:$LINENO: result: $ac_res" >&5
36483 echo "${ECHO_T}$ac_res" >&6; }
36484 if test `eval echo '${'$as_ac_var'}'` = yes; then
36485 cat >>confdefs.h <<_ACEOF
36486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36498 for ac_func in snprintf vsnprintf vsscanf
36500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36501 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36503 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36504 echo $ECHO_N "(cached) $ECHO_C" >&6
36506 cat >conftest.$ac_ext <<_ACEOF
36509 cat confdefs.h >>conftest.$ac_ext
36510 cat >>conftest.$ac_ext <<_ACEOF
36511 /* end confdefs.h. */
36512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36514 #define $ac_func innocuous_$ac_func
36516 /* System header to define __stub macros and hopefully few prototypes,
36517 which can conflict with char $ac_func (); below.
36518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36519 <limits.h> exists even on freestanding compilers. */
36522 # include <limits.h>
36524 # include <assert.h>
36529 /* Override any GCC internal prototype to avoid an error.
36530 Use char because int might match the return type of a GCC
36531 builtin and then its argument prototype would still apply. */
36536 /* The GNU C library defines this for functions which it implements
36537 to always fail with ENOSYS. Some functions are actually named
36538 something starting with __ and the normal name is an alias. */
36539 #if defined __stub_$ac_func || defined __stub___$ac_func
36546 return $ac_func ();
36551 rm -f conftest.$ac_objext conftest$ac_exeext
36552 if { (ac_try="$ac_link"
36553 case "(($ac_try" in
36554 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36555 *) ac_try_echo
=$ac_try;;
36557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36558 (eval "$ac_link") 2>conftest.er1
36560 grep -v '^ *+' conftest.er1
>conftest.err
36562 cat conftest.err
>&5
36563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36564 (exit $ac_status); } && {
36565 test -z "$ac_c_werror_flag" ||
36566 test ! -s conftest.err
36567 } && test -s conftest
$ac_exeext &&
36568 $as_test_x conftest
$ac_exeext; then
36569 eval "$as_ac_var=yes"
36571 echo "$as_me: failed program was:" >&5
36572 sed 's/^/| /' conftest.
$ac_ext >&5
36574 eval "$as_ac_var=no"
36577 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36578 conftest
$ac_exeext conftest.
$ac_ext
36580 ac_res
=`eval echo '${'$as_ac_var'}'`
36581 { echo "$as_me:$LINENO: result: $ac_res" >&5
36582 echo "${ECHO_T}$ac_res" >&6; }
36583 if test `eval echo '${'$as_ac_var'}'` = yes; then
36584 cat >>confdefs.h
<<_ACEOF
36585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36593 ac_cpp
='$CXXCPP $CPPFLAGS'
36594 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36595 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36596 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36598 if test "$ac_cv_func_vsnprintf" = "yes"; then
36599 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36600 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36601 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36602 echo $ECHO_N "(cached) $ECHO_C" >&6
36605 cat >conftest.
$ac_ext <<_ACEOF
36608 cat confdefs.h
>>conftest.
$ac_ext
36609 cat >>conftest.
$ac_ext <<_ACEOF
36610 /* end confdefs.h. */
36613 #include <stdarg.h>
36615 #if __MSL__ >= 0x6000
36617 using namespace std;
36627 vsnprintf(buf, 10u, "%s", ap);
36633 rm -f conftest.
$ac_objext
36634 if { (ac_try
="$ac_compile"
36635 case "(($ac_try" in
36636 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36637 *) ac_try_echo=$ac_try;;
36639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36640 (eval "$ac_compile") 2>conftest.er1
36642 grep -v '^ *+' conftest.er1 >conftest.err
36644 cat conftest.err >&5
36645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36646 (exit $ac_status); } && {
36647 test -z "$ac_cxx_werror_flag" ||
36648 test ! -s conftest.err
36649 } && test -s conftest.$ac_objext; then
36650 wx_cv_func_vsnprintf_decl=yes
36652 echo "$as_me: failed program was:" >&5
36653 sed 's/^/| /' conftest.$ac_ext >&5
36655 wx_cv_func_vsnprintf_decl=no
36659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36663 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36664 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36666 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36667 cat >>confdefs.h <<\_ACEOF
36668 #define HAVE_VSNPRINTF_DECL 1
36672 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36673 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36674 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36675 echo $ECHO_N "(cached) $ECHO_C" >&6
36678 cat >conftest.$ac_ext <<_ACEOF
36681 cat confdefs.h >>conftest.$ac_ext
36682 cat >>conftest.$ac_ext <<_ACEOF
36683 /* end confdefs.h. */
36686 #include <stdarg.h>
36688 #if __MSL__ >= 0x6000
36690 using namespace std;
36700 const char *fmt = "%s";
36701 vsnprintf(buf, 10u, fmt, ap);
36707 rm -f conftest.$ac_objext
36708 if { (ac_try="$ac_compile"
36709 case "(($ac_try" in
36710 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36711 *) ac_try_echo
=$ac_try;;
36713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36714 (eval "$ac_compile") 2>conftest.er1
36716 grep -v '^ *+' conftest.er1
>conftest.err
36718 cat conftest.err
>&5
36719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36720 (exit $ac_status); } && {
36721 test -z "$ac_cxx_werror_flag" ||
36722 test ! -s conftest.err
36723 } && test -s conftest.
$ac_objext; then
36724 wx_cv_func_broken_vsnprintf_decl
=no
36726 echo "$as_me: failed program was:" >&5
36727 sed 's/^/| /' conftest.
$ac_ext >&5
36729 wx_cv_func_broken_vsnprintf_decl
=yes
36733 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36737 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36738 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36740 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36741 cat >>confdefs.h
<<\_ACEOF
36742 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36749 if test "$ac_cv_func_snprintf" = "yes"; then
36750 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36751 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36752 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36753 echo $ECHO_N "(cached) $ECHO_C" >&6
36756 cat >conftest.
$ac_ext <<_ACEOF
36759 cat confdefs.h
>>conftest.
$ac_ext
36760 cat >>conftest.
$ac_ext <<_ACEOF
36761 /* end confdefs.h. */
36764 #include <stdarg.h>
36766 #if __MSL__ >= 0x6000
36768 using namespace std;
36777 snprintf(buf, 10u, "%s", "wx");
36783 rm -f conftest.
$ac_objext
36784 if { (ac_try
="$ac_compile"
36785 case "(($ac_try" in
36786 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36787 *) ac_try_echo=$ac_try;;
36789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36790 (eval "$ac_compile") 2>conftest.er1
36792 grep -v '^ *+' conftest.er1 >conftest.err
36794 cat conftest.err >&5
36795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36796 (exit $ac_status); } && {
36797 test -z "$ac_cxx_werror_flag" ||
36798 test ! -s conftest.err
36799 } && test -s conftest.$ac_objext; then
36800 wx_cv_func_snprintf_decl=yes
36802 echo "$as_me: failed program was:" >&5
36803 sed 's/^/| /' conftest.$ac_ext >&5
36805 wx_cv_func_snprintf_decl=no
36809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36813 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36814 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36816 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36817 cat >>confdefs.h <<\_ACEOF
36818 #define HAVE_SNPRINTF_DECL 1
36823 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36825 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36826 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
36827 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36828 echo $ECHO_N "(cached) $ECHO_C" >&6
36831 if test "$cross_compiling" = yes; then
36833 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36834 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36835 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36836 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36837 wx_cv_func_snprintf_pos_params=no
36841 cat >conftest.$ac_ext <<_ACEOF
36844 cat confdefs.h >>conftest.$ac_ext
36845 cat >>conftest.$ac_ext <<_ACEOF
36846 /* end confdefs.h. */
36853 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36854 if (strcmp ("2 3 1", buffer) == 0)
36860 rm -f conftest$ac_exeext
36861 if { (ac_try="$ac_link"
36862 case "(($ac_try" in
36863 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36864 *) ac_try_echo
=$ac_try;;
36866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36867 (eval "$ac_link") 2>&5
36869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36870 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
36871 { (case "(($ac_try" in
36872 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36873 *) ac_try_echo=$ac_try;;
36875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36876 (eval "$ac_try") 2>&5
36878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36879 (exit $ac_status); }; }; then
36880 wx_cv_func_snprintf_pos_params=no
36882 echo "$as_me: program exited with status $ac_status" >&5
36883 echo "$as_me: failed program was:" >&5
36884 sed 's/^/| /' conftest.$ac_ext >&5
36886 ( exit $ac_status )
36887 wx_cv_func_snprintf_pos_params=yes
36889 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36896 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36897 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
36899 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36900 cat >>confdefs.h <<\_ACEOF
36901 #define HAVE_UNIX98_PRINTF 1
36908 if test "$ac_cv_func_vsscanf" = "yes"; then
36909 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
36910 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
36911 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
36912 echo $ECHO_N "(cached) $ECHO_C" >&6
36915 cat >conftest.$ac_ext <<_ACEOF
36918 cat confdefs.h >>conftest.$ac_ext
36919 cat >>conftest.$ac_ext <<_ACEOF
36920 /* end confdefs.h. */
36923 #include <stdarg.h>
36925 #if __MSL__ >= 0x6000
36927 using namespace std;
36937 vsscanf(buf, "%s", args);
36943 rm -f conftest.$ac_objext
36944 if { (ac_try="$ac_compile"
36945 case "(($ac_try" in
36946 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36947 *) ac_try_echo
=$ac_try;;
36949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36950 (eval "$ac_compile") 2>conftest.er1
36952 grep -v '^ *+' conftest.er1
>conftest.err
36954 cat conftest.err
>&5
36955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36956 (exit $ac_status); } && {
36957 test -z "$ac_cxx_werror_flag" ||
36958 test ! -s conftest.err
36959 } && test -s conftest.
$ac_objext; then
36960 wx_cv_func_vsscanf_decl
=yes
36962 echo "$as_me: failed program was:" >&5
36963 sed 's/^/| /' conftest.
$ac_ext >&5
36965 wx_cv_func_vsscanf_decl
=no
36969 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36973 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
36974 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
36976 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
36977 cat >>confdefs.h
<<\_ACEOF
36978 #define HAVE_VSSCANF_DECL 1
36984 ac_cpp
='$CPP $CPPFLAGS'
36985 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36986 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36987 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36990 if test "$wxUSE_UNICODE" = yes; then
36992 wchar_headers
="#include <stdio.h>
36993 #include <wchar.h>"
36997 for ac_header
in widec.h
36999 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37000 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37001 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37002 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37003 echo $ECHO_N "(cached) $ECHO_C" >&6
37005 cat >conftest.
$ac_ext <<_ACEOF
37008 cat confdefs.h
>>conftest.
$ac_ext
37009 cat >>conftest.
$ac_ext <<_ACEOF
37010 /* end confdefs.h. */
37011 $ac_includes_default
37013 #include <$ac_header>
37015 rm -f conftest.
$ac_objext
37016 if { (ac_try
="$ac_compile"
37017 case "(($ac_try" in
37018 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37019 *) ac_try_echo=$ac_try;;
37021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37022 (eval "$ac_compile") 2>conftest.er1
37024 grep -v '^ *+' conftest.er1 >conftest.err
37026 cat conftest.err >&5
37027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37028 (exit $ac_status); } && {
37029 test -z "$ac_c_werror_flag" ||
37030 test ! -s conftest.err
37031 } && test -s conftest.$ac_objext; then
37032 eval "$as_ac_Header=yes"
37034 echo "$as_me: failed program was:" >&5
37035 sed 's/^/| /' conftest.$ac_ext >&5
37037 eval "$as_ac_Header=no"
37040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37042 ac_res=`eval echo '${'$as_ac_Header'}'`
37043 { echo "$as_me:$LINENO: result: $ac_res" >&5
37044 echo "${ECHO_T}$ac_res" >&6; }
37045 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37046 cat >>confdefs.h <<_ACEOF
37047 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37054 if test "$ac_cv_header_widec_h" = "yes"; then
37055 wchar_headers="$wchar_headers
37056 #include <widec.h>"
37061 for wx_func in putws fputws wprintf vswprintf vswscanf
37063 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37064 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37065 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37066 echo $ECHO_N "(cached) $ECHO_C" >&6
37069 cat >conftest.$ac_ext <<_ACEOF
37073 cat confdefs.h >>conftest.$ac_ext
37074 cat >>conftest.$ac_ext <<_ACEOF
37075 /* end confdefs.h. */
37078 $ac_includes_default
37094 rm -f conftest.$ac_objext conftest$ac_exeext
37095 if { (ac_try="$ac_link"
37096 case "(($ac_try" in
37097 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37098 *) ac_try_echo
=$ac_try;;
37100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37101 (eval "$ac_link") 2>conftest.er1
37103 grep -v '^ *+' conftest.er1
>conftest.err
37105 cat conftest.err
>&5
37106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37107 (exit $ac_status); } && {
37108 test -z "$ac_c_werror_flag" ||
37109 test ! -s conftest.err
37110 } && test -s conftest
$ac_exeext &&
37111 $as_test_x conftest
$ac_exeext; then
37112 eval wx_cv_func_
$wx_func=yes
37114 echo "$as_me: failed program was:" >&5
37115 sed 's/^/| /' conftest.
$ac_ext >&5
37117 eval wx_cv_func_
$wx_func=no
37120 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37121 conftest
$ac_exeext conftest.
$ac_ext
37124 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37125 { echo "$as_me:$LINENO: result: $ac_res" >&5
37126 echo "${ECHO_T}$ac_res" >&6; }
37128 if eval test \
$wx_cv_func_$wx_func = yes
37130 cat >>confdefs.h
<<_ACEOF
37131 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37142 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37143 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37144 cat >conftest.
$ac_ext <<_ACEOF
37147 cat confdefs.h
>>conftest.
$ac_ext
37148 cat >>conftest.
$ac_ext <<_ACEOF
37149 /* end confdefs.h. */
37159 rm -f conftest.
$ac_objext
37160 if { (ac_try
="$ac_compile"
37161 case "(($ac_try" in
37162 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37163 *) ac_try_echo=$ac_try;;
37165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37166 (eval "$ac_compile") 2>conftest.er1
37168 grep -v '^ *+' conftest.er1 >conftest.err
37170 cat conftest.err >&5
37171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37172 (exit $ac_status); } && {
37173 test -z "$ac_c_werror_flag" ||
37174 test ! -s conftest.err
37175 } && test -s conftest.$ac_objext; then
37176 { echo "$as_me:$LINENO: result: yes" >&5
37177 echo "${ECHO_T}yes" >&6; }
37178 cat >>confdefs.h <<\_ACEOF
37179 #define HAVE__VSNWPRINTF 1
37183 echo "$as_me: failed program was:" >&5
37184 sed 's/^/| /' conftest.$ac_ext >&5
37186 { echo "$as_me:$LINENO: result: no" >&5
37187 echo "${ECHO_T}no" >&6; }
37190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37193 if test "$wxUSE_FILE" = "yes"; then
37195 for wx_func in fsync
37197 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37198 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37199 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37200 echo $ECHO_N "(cached) $ECHO_C" >&6
37203 cat >conftest.$ac_ext <<_ACEOF
37207 cat confdefs.h >>conftest.$ac_ext
37208 cat >>conftest.$ac_ext <<_ACEOF
37209 /* end confdefs.h. */
37212 $ac_includes_default
37228 rm -f conftest.$ac_objext conftest$ac_exeext
37229 if { (ac_try="$ac_link"
37230 case "(($ac_try" in
37231 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37232 *) ac_try_echo
=$ac_try;;
37234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37235 (eval "$ac_link") 2>conftest.er1
37237 grep -v '^ *+' conftest.er1
>conftest.err
37239 cat conftest.err
>&5
37240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37241 (exit $ac_status); } && {
37242 test -z "$ac_c_werror_flag" ||
37243 test ! -s conftest.err
37244 } && test -s conftest
$ac_exeext &&
37245 $as_test_x conftest
$ac_exeext; then
37246 eval wx_cv_func_
$wx_func=yes
37248 echo "$as_me: failed program was:" >&5
37249 sed 's/^/| /' conftest.
$ac_ext >&5
37251 eval wx_cv_func_
$wx_func=no
37254 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37255 conftest
$ac_exeext conftest.
$ac_ext
37258 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37259 { echo "$as_me:$LINENO: result: $ac_res" >&5
37260 echo "${ECHO_T}$ac_res" >&6; }
37262 if eval test \
$wx_cv_func_$wx_func = yes
37264 cat >>confdefs.h
<<_ACEOF
37265 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37278 ac_cpp
='$CXXCPP $CPPFLAGS'
37279 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37280 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37281 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37284 for wx_func
in round
37286 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37287 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37288 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37289 echo $ECHO_N "(cached) $ECHO_C" >&6
37292 cat >conftest.
$ac_ext <<_ACEOF
37296 cat confdefs.h
>>conftest.
$ac_ext
37297 cat >>conftest.
$ac_ext <<_ACEOF
37298 /* end confdefs.h. */
37301 $ac_includes_default
37317 rm -f conftest.
$ac_objext conftest
$ac_exeext
37318 if { (ac_try
="$ac_link"
37319 case "(($ac_try" in
37320 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37321 *) ac_try_echo=$ac_try;;
37323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37324 (eval "$ac_link") 2>conftest.er1
37326 grep -v '^ *+' conftest.er1 >conftest.err
37328 cat conftest.err >&5
37329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37330 (exit $ac_status); } && {
37331 test -z "$ac_cxx_werror_flag" ||
37332 test ! -s conftest.err
37333 } && test -s conftest$ac_exeext &&
37334 $as_test_x conftest$ac_exeext; then
37335 eval wx_cv_func_$wx_func=yes
37337 echo "$as_me: failed program was:" >&5
37338 sed 's/^/| /' conftest.$ac_ext >&5
37340 eval wx_cv_func_$wx_func=no
37343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37344 conftest$ac_exeext conftest.$ac_ext
37347 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37348 { echo "$as_me:$LINENO: result: $ac_res" >&5
37349 echo "${ECHO_T}$ac_res" >&6; }
37351 if eval test \$wx_cv_func_$wx_func = yes
37353 cat >>confdefs.h <<_ACEOF
37354 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37365 ac_cpp='$CPP $CPPFLAGS'
37366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37371 if test "$TOOLKIT" != "MSW"; then
37373 if test "$wxUSE_LIBICONV" != "no" ; then
37377 # Check whether --with-libiconv-prefix was given.
37378 if test "${with_libiconv_prefix+set}" = set; then
37379 withval=$with_libiconv_prefix;
37380 for dir in `echo "$withval" | tr : ' '`; do
37381 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37382 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37388 { echo "$as_me:$LINENO: checking for iconv" >&5
37389 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37390 if test "${am_cv_func_iconv+set}" = set; then
37391 echo $ECHO_N "(cached) $ECHO_C" >&6
37394 am_cv_func_iconv="no, consider installing GNU libiconv"
37396 cat >conftest.$ac_ext <<_ACEOF
37399 cat confdefs.h >>conftest.$ac_ext
37400 cat >>conftest.$ac_ext <<_ACEOF
37401 /* end confdefs.h. */
37402 #include <stdlib.h>
37407 iconv_t cd = iconv_open("","");
37408 iconv(cd,NULL,NULL,NULL,NULL);
37414 rm -f conftest.$ac_objext conftest$ac_exeext
37415 if { (ac_try="$ac_link"
37416 case "(($ac_try" in
37417 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37418 *) ac_try_echo
=$ac_try;;
37420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37421 (eval "$ac_link") 2>conftest.er1
37423 grep -v '^ *+' conftest.er1
>conftest.err
37425 cat conftest.err
>&5
37426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37427 (exit $ac_status); } && {
37428 test -z "$ac_c_werror_flag" ||
37429 test ! -s conftest.err
37430 } && test -s conftest
$ac_exeext &&
37431 $as_test_x conftest
$ac_exeext; then
37432 am_cv_func_iconv
=yes
37434 echo "$as_me: failed program was:" >&5
37435 sed 's/^/| /' conftest.
$ac_ext >&5
37440 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37441 conftest
$ac_exeext conftest.
$ac_ext
37442 if test "$am_cv_func_iconv" != yes; then
37443 am_save_LIBS
="$LIBS"
37444 LIBS
="$LIBS -liconv"
37445 cat >conftest.
$ac_ext <<_ACEOF
37448 cat confdefs.h
>>conftest.
$ac_ext
37449 cat >>conftest.
$ac_ext <<_ACEOF
37450 /* end confdefs.h. */
37451 #include <stdlib.h>
37456 iconv_t cd = iconv_open("","");
37457 iconv(cd,NULL,NULL,NULL,NULL);
37463 rm -f conftest.
$ac_objext conftest
$ac_exeext
37464 if { (ac_try
="$ac_link"
37465 case "(($ac_try" in
37466 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37467 *) ac_try_echo=$ac_try;;
37469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37470 (eval "$ac_link") 2>conftest.er1
37472 grep -v '^ *+' conftest.er1 >conftest.err
37474 cat conftest.err >&5
37475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37476 (exit $ac_status); } && {
37477 test -z "$ac_c_werror_flag" ||
37478 test ! -s conftest.err
37479 } && test -s conftest$ac_exeext &&
37480 $as_test_x conftest$ac_exeext; then
37481 am_cv_lib_iconv=yes
37482 am_cv_func_iconv=yes
37484 echo "$as_me: failed program was:" >&5
37485 sed 's/^/| /' conftest.$ac_ext >&5
37490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37491 conftest$ac_exeext conftest.$ac_ext
37492 LIBS="$am_save_LIBS"
37496 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37497 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37498 if test "$am_cv_func_iconv" = yes; then
37500 cat >>confdefs.h <<\_ACEOF
37501 #define HAVE_ICONV 1
37504 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37505 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37506 if test "${wx_cv_func_iconv_const+set}" = set; then
37507 echo $ECHO_N "(cached) $ECHO_C" >&6
37509 cat >conftest.$ac_ext <<_ACEOF
37512 cat confdefs.h >>conftest.$ac_ext
37513 cat >>conftest.$ac_ext <<_ACEOF
37514 /* end confdefs.h. */
37516 #include <stdlib.h>
37522 #if defined(__STDC__) || defined(__cplusplus)
37523 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37536 rm -f conftest.$ac_objext
37537 if { (ac_try="$ac_compile"
37538 case "(($ac_try" in
37539 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37540 *) ac_try_echo
=$ac_try;;
37542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37543 (eval "$ac_compile") 2>conftest.er1
37545 grep -v '^ *+' conftest.er1
>conftest.err
37547 cat conftest.err
>&5
37548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37549 (exit $ac_status); } && {
37550 test -z "$ac_c_werror_flag" ||
37551 test ! -s conftest.err
37552 } && test -s conftest.
$ac_objext; then
37553 wx_cv_func_iconv_const
="no"
37555 echo "$as_me: failed program was:" >&5
37556 sed 's/^/| /' conftest.
$ac_ext >&5
37558 wx_cv_func_iconv_const
="yes"
37562 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37565 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37566 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37569 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37570 iconv_const
="const"
37574 cat >>confdefs.h
<<_ACEOF
37575 #define ICONV_CONST $iconv_const
37580 if test "$am_cv_lib_iconv" = yes; then
37585 LIBS
="$LIBICONV $LIBS"
37588 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37590 for ac_func
in sigaction
37592 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37593 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37595 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37596 echo $ECHO_N "(cached) $ECHO_C" >&6
37598 cat >conftest.
$ac_ext <<_ACEOF
37601 cat confdefs.h
>>conftest.
$ac_ext
37602 cat >>conftest.
$ac_ext <<_ACEOF
37603 /* end confdefs.h. */
37604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37606 #define $ac_func innocuous_$ac_func
37608 /* System header to define __stub macros and hopefully few prototypes,
37609 which can conflict with char $ac_func (); below.
37610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37611 <limits.h> exists even on freestanding compilers. */
37614 # include <limits.h>
37616 # include <assert.h>
37621 /* Override any GCC internal prototype to avoid an error.
37622 Use char because int might match the return type of a GCC
37623 builtin and then its argument prototype would still apply. */
37628 /* The GNU C library defines this for functions which it implements
37629 to always fail with ENOSYS. Some functions are actually named
37630 something starting with __ and the normal name is an alias. */
37631 #if defined __stub_$ac_func || defined __stub___$ac_func
37638 return $ac_func ();
37643 rm -f conftest.
$ac_objext conftest
$ac_exeext
37644 if { (ac_try
="$ac_link"
37645 case "(($ac_try" in
37646 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37647 *) ac_try_echo=$ac_try;;
37649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37650 (eval "$ac_link") 2>conftest.er1
37652 grep -v '^ *+' conftest.er1 >conftest.err
37654 cat conftest.err >&5
37655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37656 (exit $ac_status); } && {
37657 test -z "$ac_c_werror_flag" ||
37658 test ! -s conftest.err
37659 } && test -s conftest$ac_exeext &&
37660 $as_test_x conftest$ac_exeext; then
37661 eval "$as_ac_var=yes"
37663 echo "$as_me: failed program was:" >&5
37664 sed 's/^/| /' conftest.$ac_ext >&5
37666 eval "$as_ac_var=no"
37669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37670 conftest$ac_exeext conftest.$ac_ext
37672 ac_res=`eval echo '${'$as_ac_var'}'`
37673 { echo "$as_me:$LINENO: result: $ac_res" >&5
37674 echo "${ECHO_T}$ac_res" >&6; }
37675 if test `eval echo '${'$as_ac_var'}'` = yes; then
37676 cat >>confdefs.h <<_ACEOF
37677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37684 if test "$ac_cv_func_sigaction" = "no"; then
37685 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37686 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37687 wxUSE_ON_FATAL_EXCEPTION=no
37690 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37691 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37692 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37693 if test "${wx_cv_type_sa_handler+set}" = set; then
37694 echo $ECHO_N "(cached) $ECHO_C" >&6
37698 ac_cpp='$CXXCPP $CPPFLAGS'
37699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37703 cat >conftest.$ac_ext <<_ACEOF
37706 cat confdefs.h >>conftest.$ac_ext
37707 cat >>conftest.$ac_ext <<_ACEOF
37708 /* end confdefs.h. */
37709 #include <signal.h>
37714 extern void testSigHandler(int);
37716 struct sigaction sa;
37717 sa.sa_handler = testSigHandler;
37723 rm -f conftest.$ac_objext
37724 if { (ac_try="$ac_compile"
37725 case "(($ac_try" in
37726 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37727 *) ac_try_echo
=$ac_try;;
37729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37730 (eval "$ac_compile") 2>conftest.er1
37732 grep -v '^ *+' conftest.er1
>conftest.err
37734 cat conftest.err
>&5
37735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37736 (exit $ac_status); } && {
37737 test -z "$ac_cxx_werror_flag" ||
37738 test ! -s conftest.err
37739 } && test -s conftest.
$ac_objext; then
37741 wx_cv_type_sa_handler
=int
37744 echo "$as_me: failed program was:" >&5
37745 sed 's/^/| /' conftest.
$ac_ext >&5
37748 wx_cv_type_sa_handler
=void
37752 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37754 ac_cpp
='$CPP $CPPFLAGS'
37755 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37756 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37757 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37761 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37762 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37764 cat >>confdefs.h
<<_ACEOF
37765 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37771 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37772 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37773 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37774 if test "${wx_cv_func_backtrace+set}" = set; then
37775 echo $ECHO_N "(cached) $ECHO_C" >&6
37779 ac_cpp
='$CXXCPP $CPPFLAGS'
37780 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37781 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37782 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37784 cat >conftest.
$ac_ext <<_ACEOF
37787 cat confdefs.h
>>conftest.
$ac_ext
37788 cat >>conftest.
$ac_ext <<_ACEOF
37789 /* end confdefs.h. */
37790 #include <execinfo.h>
37798 backtrace(trace, 1);
37799 messages = backtrace_symbols(trace, 1);
37805 rm -f conftest.
$ac_objext
37806 if { (ac_try
="$ac_compile"
37807 case "(($ac_try" in
37808 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37809 *) ac_try_echo=$ac_try;;
37811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37812 (eval "$ac_compile") 2>conftest.er1
37814 grep -v '^ *+' conftest.er1 >conftest.err
37816 cat conftest.err >&5
37817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37818 (exit $ac_status); } && {
37819 test -z "$ac_cxx_werror_flag" ||
37820 test ! -s conftest.err
37821 } && test -s conftest.$ac_objext; then
37822 wx_cv_func_backtrace=yes
37824 echo "$as_me: failed program was:" >&5
37825 sed 's/^/| /' conftest.$ac_ext >&5
37827 wx_cv_func_backtrace=no
37831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37833 ac_cpp='$CPP $CPPFLAGS'
37834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37841 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37842 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37845 if test "$wx_cv_func_backtrace" = "no"; then
37846 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37847 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37848 wxUSE_STACKWALKER=no
37850 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37851 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37852 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37853 echo $ECHO_N "(cached) $ECHO_C" >&6
37857 ac_cpp='$CXXCPP $CPPFLAGS'
37858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37862 cat >conftest.$ac_ext <<_ACEOF
37865 cat confdefs.h >>conftest.$ac_ext
37866 cat >>conftest.$ac_ext <<_ACEOF
37867 /* end confdefs.h. */
37868 #include <cxxabi.h>
37874 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37880 rm -f conftest.$ac_objext conftest$ac_exeext
37881 if { (ac_try="$ac_link"
37882 case "(($ac_try" in
37883 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37884 *) ac_try_echo
=$ac_try;;
37886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37887 (eval "$ac_link") 2>conftest.er1
37889 grep -v '^ *+' conftest.er1
>conftest.err
37891 cat conftest.err
>&5
37892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37893 (exit $ac_status); } && {
37894 test -z "$ac_cxx_werror_flag" ||
37895 test ! -s conftest.err
37896 } && test -s conftest
$ac_exeext &&
37897 $as_test_x conftest
$ac_exeext; then
37898 wx_cv_func_cxa_demangle
=yes
37900 echo "$as_me: failed program was:" >&5
37901 sed 's/^/| /' conftest.
$ac_ext >&5
37903 wx_cv_func_cxa_demangle
=no
37907 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37908 conftest
$ac_exeext conftest.
$ac_ext
37910 ac_cpp
='$CPP $CPPFLAGS'
37911 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37912 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37913 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37918 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37919 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
37921 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37922 cat >>confdefs.h
<<\_ACEOF
37923 #define HAVE_CXA_DEMANGLE 1
37930 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
37931 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37932 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37933 wxUSE_STACKWALKER
=no
37939 for ac_func
in mkstemp mktemp
37941 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37942 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37944 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37945 echo $ECHO_N "(cached) $ECHO_C" >&6
37947 cat >conftest.
$ac_ext <<_ACEOF
37950 cat confdefs.h
>>conftest.
$ac_ext
37951 cat >>conftest.
$ac_ext <<_ACEOF
37952 /* end confdefs.h. */
37953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37955 #define $ac_func innocuous_$ac_func
37957 /* System header to define __stub macros and hopefully few prototypes,
37958 which can conflict with char $ac_func (); below.
37959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37960 <limits.h> exists even on freestanding compilers. */
37963 # include <limits.h>
37965 # include <assert.h>
37970 /* Override any GCC internal prototype to avoid an error.
37971 Use char because int might match the return type of a GCC
37972 builtin and then its argument prototype would still apply. */
37977 /* The GNU C library defines this for functions which it implements
37978 to always fail with ENOSYS. Some functions are actually named
37979 something starting with __ and the normal name is an alias. */
37980 #if defined __stub_$ac_func || defined __stub___$ac_func
37987 return $ac_func ();
37992 rm -f conftest.
$ac_objext conftest
$ac_exeext
37993 if { (ac_try
="$ac_link"
37994 case "(($ac_try" in
37995 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37996 *) ac_try_echo=$ac_try;;
37998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37999 (eval "$ac_link") 2>conftest.er1
38001 grep -v '^ *+' conftest.er1 >conftest.err
38003 cat conftest.err >&5
38004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38005 (exit $ac_status); } && {
38006 test -z "$ac_c_werror_flag" ||
38007 test ! -s conftest.err
38008 } && test -s conftest$ac_exeext &&
38009 $as_test_x conftest$ac_exeext; then
38010 eval "$as_ac_var=yes"
38012 echo "$as_me: failed program was:" >&5
38013 sed 's/^/| /' conftest.$ac_ext >&5
38015 eval "$as_ac_var=no"
38018 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38019 conftest$ac_exeext conftest.$ac_ext
38021 ac_res=`eval echo '${'$as_ac_var'}'`
38022 { echo "$as_me:$LINENO: result: $ac_res" >&5
38023 echo "${ECHO_T}$ac_res" >&6; }
38024 if test `eval echo '${'$as_ac_var'}'` = yes; then
38025 cat >>confdefs.h <<_ACEOF
38026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38033 { echo "$as_me:$LINENO: checking for statfs" >&5
38034 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
38035 if test "${wx_cv_func_statfs+set}" = set; then
38036 echo $ECHO_N "(cached) $ECHO_C" >&6
38038 cat >conftest.$ac_ext <<_ACEOF
38041 cat confdefs.h >>conftest.$ac_ext
38042 cat >>conftest.$ac_ext <<_ACEOF
38043 /* end confdefs.h. */
38045 #if defined(__BSD__)
38046 #include <sys/param.h>
38047 #include <sys/mount.h>
38049 #include <sys/vfs.h>
38067 rm -f conftest.$ac_objext
38068 if { (ac_try="$ac_compile"
38069 case "(($ac_try" in
38070 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38071 *) ac_try_echo
=$ac_try;;
38073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38074 (eval "$ac_compile") 2>conftest.er1
38076 grep -v '^ *+' conftest.er1
>conftest.err
38078 cat conftest.err
>&5
38079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38080 (exit $ac_status); } && {
38081 test -z "$ac_c_werror_flag" ||
38082 test ! -s conftest.err
38083 } && test -s conftest.
$ac_objext; then
38084 wx_cv_func_statfs
=yes
38086 echo "$as_me: failed program was:" >&5
38087 sed 's/^/| /' conftest.
$ac_ext >&5
38089 wx_cv_func_statfs
=no
38093 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38096 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38097 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
38099 if test "$wx_cv_func_statfs" = "yes"; then
38100 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
38101 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
38102 if test "${wx_cv_func_statfs_decl+set}" = set; then
38103 echo $ECHO_N "(cached) $ECHO_C" >&6
38106 ac_cpp
='$CXXCPP $CPPFLAGS'
38107 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38108 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38109 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38111 cat >conftest.
$ac_ext <<_ACEOF
38114 cat confdefs.h
>>conftest.
$ac_ext
38115 cat >>conftest.
$ac_ext <<_ACEOF
38116 /* end confdefs.h. */
38118 #if defined(__BSD__)
38119 #include <sys/param.h>
38120 #include <sys/mount.h>
38122 #include <sys/vfs.h>
38136 rm -f conftest.
$ac_objext
38137 if { (ac_try
="$ac_compile"
38138 case "(($ac_try" in
38139 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38140 *) ac_try_echo=$ac_try;;
38142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38143 (eval "$ac_compile") 2>conftest.er1
38145 grep -v '^ *+' conftest.er1 >conftest.err
38147 cat conftest.err >&5
38148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38149 (exit $ac_status); } && {
38150 test -z "$ac_cxx_werror_flag" ||
38151 test ! -s conftest.err
38152 } && test -s conftest.$ac_objext; then
38153 wx_cv_func_statfs_decl=yes
38155 echo "$as_me: failed program was:" >&5
38156 sed 's/^/| /' conftest.$ac_ext >&5
38158 wx_cv_func_statfs_decl=no
38162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38164 ac_cpp='$CPP $CPPFLAGS'
38165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38171 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38172 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38174 if test "$wx_cv_func_statfs_decl" = "yes"; then
38175 cat >>confdefs.h <<\_ACEOF
38176 #define HAVE_STATFS_DECL 1
38181 wx_cv_type_statvfs_t="struct statfs"
38182 cat >>confdefs.h <<\_ACEOF
38183 #define HAVE_STATFS 1
38187 { echo "$as_me:$LINENO: checking for statvfs" >&5
38188 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38189 if test "${wx_cv_func_statvfs+set}" = set; then
38190 echo $ECHO_N "(cached) $ECHO_C" >&6
38192 cat >conftest.$ac_ext <<_ACEOF
38195 cat confdefs.h >>conftest.$ac_ext
38196 cat >>conftest.$ac_ext <<_ACEOF
38197 /* end confdefs.h. */
38199 #include <stddef.h>
38200 #include <sys/statvfs.h>
38206 statvfs("/", NULL);
38212 rm -f conftest.$ac_objext
38213 if { (ac_try="$ac_compile"
38214 case "(($ac_try" in
38215 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38216 *) ac_try_echo
=$ac_try;;
38218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38219 (eval "$ac_compile") 2>conftest.er1
38221 grep -v '^ *+' conftest.er1
>conftest.err
38223 cat conftest.err
>&5
38224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38225 (exit $ac_status); } && {
38226 test -z "$ac_c_werror_flag" ||
38227 test ! -s conftest.err
38228 } && test -s conftest.
$ac_objext; then
38229 wx_cv_func_statvfs
=yes
38231 echo "$as_me: failed program was:" >&5
38232 sed 's/^/| /' conftest.
$ac_ext >&5
38234 wx_cv_func_statvfs
=no
38238 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38241 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38242 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38244 if test "$wx_cv_func_statvfs" = "yes"; then
38245 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38246 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38247 if test "${wx_cv_type_statvfs_t+set}" = set; then
38248 echo $ECHO_N "(cached) $ECHO_C" >&6
38251 ac_cpp
='$CXXCPP $CPPFLAGS'
38252 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38253 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38254 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38256 cat >conftest.
$ac_ext <<_ACEOF
38259 cat confdefs.h
>>conftest.
$ac_ext
38260 cat >>conftest.
$ac_ext <<_ACEOF
38261 /* end confdefs.h. */
38263 #include <sys/statvfs.h>
38280 rm -f conftest.
$ac_objext
38281 if { (ac_try
="$ac_compile"
38282 case "(($ac_try" in
38283 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38284 *) ac_try_echo=$ac_try;;
38286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38287 (eval "$ac_compile") 2>conftest.er1
38289 grep -v '^ *+' conftest.er1 >conftest.err
38291 cat conftest.err >&5
38292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38293 (exit $ac_status); } && {
38294 test -z "$ac_cxx_werror_flag" ||
38295 test ! -s conftest.err
38296 } && test -s conftest.$ac_objext; then
38297 wx_cv_type_statvfs_t=statvfs_t
38299 echo "$as_me: failed program was:" >&5
38300 sed 's/^/| /' conftest.$ac_ext >&5
38303 cat >conftest.$ac_ext <<_ACEOF
38306 cat confdefs.h >>conftest.$ac_ext
38307 cat >>conftest.$ac_ext <<_ACEOF
38308 /* end confdefs.h. */
38310 #include <sys/statvfs.h>
38327 rm -f conftest.$ac_objext
38328 if { (ac_try="$ac_compile"
38329 case "(($ac_try" in
38330 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38331 *) ac_try_echo
=$ac_try;;
38333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38334 (eval "$ac_compile") 2>conftest.er1
38336 grep -v '^ *+' conftest.er1
>conftest.err
38338 cat conftest.err
>&5
38339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38340 (exit $ac_status); } && {
38341 test -z "$ac_cxx_werror_flag" ||
38342 test ! -s conftest.err
38343 } && test -s conftest.
$ac_objext; then
38344 wx_cv_type_statvfs_t
="struct statvfs"
38346 echo "$as_me: failed program was:" >&5
38347 sed 's/^/| /' conftest.
$ac_ext >&5
38349 wx_cv_type_statvfs_t
="unknown"
38353 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38358 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38360 ac_cpp
='$CPP $CPPFLAGS'
38361 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38362 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38363 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38367 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38368 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38370 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38371 cat >>confdefs.h
<<\_ACEOF
38372 #define HAVE_STATVFS 1
38377 wx_cv_type_statvfs_t
="unknown"
38381 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38382 cat >>confdefs.h
<<_ACEOF
38383 #define WX_STATFS_T $wx_cv_type_statvfs_t
38387 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38388 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38391 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38394 for ac_func
in fcntl flock
38396 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38397 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38399 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38400 echo $ECHO_N "(cached) $ECHO_C" >&6
38402 cat >conftest.
$ac_ext <<_ACEOF
38405 cat confdefs.h
>>conftest.
$ac_ext
38406 cat >>conftest.
$ac_ext <<_ACEOF
38407 /* end confdefs.h. */
38408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38410 #define $ac_func innocuous_$ac_func
38412 /* System header to define __stub macros and hopefully few prototypes,
38413 which can conflict with char $ac_func (); below.
38414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38415 <limits.h> exists even on freestanding compilers. */
38418 # include <limits.h>
38420 # include <assert.h>
38425 /* Override any GCC internal prototype to avoid an error.
38426 Use char because int might match the return type of a GCC
38427 builtin and then its argument prototype would still apply. */
38432 /* The GNU C library defines this for functions which it implements
38433 to always fail with ENOSYS. Some functions are actually named
38434 something starting with __ and the normal name is an alias. */
38435 #if defined __stub_$ac_func || defined __stub___$ac_func
38442 return $ac_func ();
38447 rm -f conftest.
$ac_objext conftest
$ac_exeext
38448 if { (ac_try
="$ac_link"
38449 case "(($ac_try" in
38450 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38451 *) ac_try_echo=$ac_try;;
38453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38454 (eval "$ac_link") 2>conftest.er1
38456 grep -v '^ *+' conftest.er1 >conftest.err
38458 cat conftest.err >&5
38459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38460 (exit $ac_status); } && {
38461 test -z "$ac_c_werror_flag" ||
38462 test ! -s conftest.err
38463 } && test -s conftest$ac_exeext &&
38464 $as_test_x conftest$ac_exeext; then
38465 eval "$as_ac_var=yes"
38467 echo "$as_me: failed program was:" >&5
38468 sed 's/^/| /' conftest.$ac_ext >&5
38470 eval "$as_ac_var=no"
38473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38474 conftest$ac_exeext conftest.$ac_ext
38476 ac_res=`eval echo '${'$as_ac_var'}'`
38477 { echo "$as_me:$LINENO: result: $ac_res" >&5
38478 echo "${ECHO_T}$ac_res" >&6; }
38479 if test `eval echo '${'$as_ac_var'}'` = yes; then
38480 cat >>confdefs.h <<_ACEOF
38481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38488 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38489 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38490 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38491 wxUSE_SNGLINST_CHECKER=no
38497 for ac_func in setenv putenv
38499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38500 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38502 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38503 echo $ECHO_N "(cached) $ECHO_C" >&6
38505 cat >conftest.$ac_ext <<_ACEOF
38508 cat confdefs.h >>conftest.$ac_ext
38509 cat >>conftest.$ac_ext <<_ACEOF
38510 /* end confdefs.h. */
38511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38513 #define $ac_func innocuous_$ac_func
38515 /* System header to define __stub macros and hopefully few prototypes,
38516 which can conflict with char $ac_func (); below.
38517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38518 <limits.h> exists even on freestanding compilers. */
38521 # include <limits.h>
38523 # include <assert.h>
38528 /* Override any GCC internal prototype to avoid an error.
38529 Use char because int might match the return type of a GCC
38530 builtin and then its argument prototype would still apply. */
38535 /* The GNU C library defines this for functions which it implements
38536 to always fail with ENOSYS. Some functions are actually named
38537 something starting with __ and the normal name is an alias. */
38538 #if defined __stub_$ac_func || defined __stub___$ac_func
38545 return $ac_func ();
38550 rm -f conftest.$ac_objext conftest$ac_exeext
38551 if { (ac_try="$ac_link"
38552 case "(($ac_try" in
38553 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38554 *) ac_try_echo
=$ac_try;;
38556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38557 (eval "$ac_link") 2>conftest.er1
38559 grep -v '^ *+' conftest.er1
>conftest.err
38561 cat conftest.err
>&5
38562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38563 (exit $ac_status); } && {
38564 test -z "$ac_c_werror_flag" ||
38565 test ! -s conftest.err
38566 } && test -s conftest
$ac_exeext &&
38567 $as_test_x conftest
$ac_exeext; then
38568 eval "$as_ac_var=yes"
38570 echo "$as_me: failed program was:" >&5
38571 sed 's/^/| /' conftest.
$ac_ext >&5
38573 eval "$as_ac_var=no"
38576 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38577 conftest
$ac_exeext conftest.
$ac_ext
38579 ac_res
=`eval echo '${'$as_ac_var'}'`
38580 { echo "$as_me:$LINENO: result: $ac_res" >&5
38581 echo "${ECHO_T}$ac_res" >&6; }
38582 if test `eval echo '${'$as_ac_var'}'` = yes; then
38583 cat >>confdefs.h
<<_ACEOF
38584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38590 if test "$ac_cv_func_setenv" = "yes"; then
38592 for ac_func
in unsetenv
38594 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38595 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38597 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38598 echo $ECHO_N "(cached) $ECHO_C" >&6
38600 cat >conftest.
$ac_ext <<_ACEOF
38603 cat confdefs.h
>>conftest.
$ac_ext
38604 cat >>conftest.
$ac_ext <<_ACEOF
38605 /* end confdefs.h. */
38606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38608 #define $ac_func innocuous_$ac_func
38610 /* System header to define __stub macros and hopefully few prototypes,
38611 which can conflict with char $ac_func (); below.
38612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38613 <limits.h> exists even on freestanding compilers. */
38616 # include <limits.h>
38618 # include <assert.h>
38623 /* Override any GCC internal prototype to avoid an error.
38624 Use char because int might match the return type of a GCC
38625 builtin and then its argument prototype would still apply. */
38630 /* The GNU C library defines this for functions which it implements
38631 to always fail with ENOSYS. Some functions are actually named
38632 something starting with __ and the normal name is an alias. */
38633 #if defined __stub_$ac_func || defined __stub___$ac_func
38640 return $ac_func ();
38645 rm -f conftest.
$ac_objext conftest
$ac_exeext
38646 if { (ac_try
="$ac_link"
38647 case "(($ac_try" in
38648 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38649 *) ac_try_echo=$ac_try;;
38651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38652 (eval "$ac_link") 2>conftest.er1
38654 grep -v '^ *+' conftest.er1 >conftest.err
38656 cat conftest.err >&5
38657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38658 (exit $ac_status); } && {
38659 test -z "$ac_c_werror_flag" ||
38660 test ! -s conftest.err
38661 } && test -s conftest$ac_exeext &&
38662 $as_test_x conftest$ac_exeext; then
38663 eval "$as_ac_var=yes"
38665 echo "$as_me: failed program was:" >&5
38666 sed 's/^/| /' conftest.$ac_ext >&5
38668 eval "$as_ac_var=no"
38671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38672 conftest$ac_exeext conftest.$ac_ext
38674 ac_res=`eval echo '${'$as_ac_var'}'`
38675 { echo "$as_me:$LINENO: result: $ac_res" >&5
38676 echo "${ECHO_T}$ac_res" >&6; }
38677 if test `eval echo '${'$as_ac_var'}'` = yes; then
38678 cat >>confdefs.h <<_ACEOF
38679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38687 HAVE_SOME_SLEEP_FUNC=0
38688 if test "$USE_BEOS" = 1; then
38689 cat >>confdefs.h <<\_ACEOF
38690 #define HAVE_SLEEP 1
38693 HAVE_SOME_SLEEP_FUNC=1
38696 if test "$USE_DARWIN" = 1; then
38697 cat >>confdefs.h <<\_ACEOF
38698 #define HAVE_USLEEP 1
38701 HAVE_SOME_SLEEP_FUNC=1
38704 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38707 for ac_func in nanosleep
38709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38710 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38712 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38713 echo $ECHO_N "(cached) $ECHO_C" >&6
38715 cat >conftest.$ac_ext <<_ACEOF
38718 cat confdefs.h >>conftest.$ac_ext
38719 cat >>conftest.$ac_ext <<_ACEOF
38720 /* end confdefs.h. */
38721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38723 #define $ac_func innocuous_$ac_func
38725 /* System header to define __stub macros and hopefully few prototypes,
38726 which can conflict with char $ac_func (); below.
38727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38728 <limits.h> exists even on freestanding compilers. */
38731 # include <limits.h>
38733 # include <assert.h>
38738 /* Override any GCC internal prototype to avoid an error.
38739 Use char because int might match the return type of a GCC
38740 builtin and then its argument prototype would still apply. */
38745 /* The GNU C library defines this for functions which it implements
38746 to always fail with ENOSYS. Some functions are actually named
38747 something starting with __ and the normal name is an alias. */
38748 #if defined __stub_$ac_func || defined __stub___$ac_func
38755 return $ac_func ();
38760 rm -f conftest.$ac_objext conftest$ac_exeext
38761 if { (ac_try="$ac_link"
38762 case "(($ac_try" in
38763 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38764 *) ac_try_echo
=$ac_try;;
38766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38767 (eval "$ac_link") 2>conftest.er1
38769 grep -v '^ *+' conftest.er1
>conftest.err
38771 cat conftest.err
>&5
38772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38773 (exit $ac_status); } && {
38774 test -z "$ac_c_werror_flag" ||
38775 test ! -s conftest.err
38776 } && test -s conftest
$ac_exeext &&
38777 $as_test_x conftest
$ac_exeext; then
38778 eval "$as_ac_var=yes"
38780 echo "$as_me: failed program was:" >&5
38781 sed 's/^/| /' conftest.
$ac_ext >&5
38783 eval "$as_ac_var=no"
38786 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38787 conftest
$ac_exeext conftest.
$ac_ext
38789 ac_res
=`eval echo '${'$as_ac_var'}'`
38790 { echo "$as_me:$LINENO: result: $ac_res" >&5
38791 echo "${ECHO_T}$ac_res" >&6; }
38792 if test `eval echo '${'$as_ac_var'}'` = yes; then
38793 cat >>confdefs.h
<<_ACEOF
38794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38796 cat >>confdefs.h
<<\_ACEOF
38797 #define HAVE_NANOSLEEP 1
38802 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38803 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38804 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38805 echo $ECHO_N "(cached) $ECHO_C" >&6
38807 ac_check_lib_save_LIBS
=$LIBS
38808 LIBS
="-lposix4 $LIBS"
38809 cat >conftest.
$ac_ext <<_ACEOF
38812 cat confdefs.h
>>conftest.
$ac_ext
38813 cat >>conftest.
$ac_ext <<_ACEOF
38814 /* end confdefs.h. */
38816 /* Override any GCC internal prototype to avoid an error.
38817 Use char because int might match the return type of a GCC
38818 builtin and then its argument prototype would still apply. */
38826 return nanosleep ();
38831 rm -f conftest.
$ac_objext conftest
$ac_exeext
38832 if { (ac_try
="$ac_link"
38833 case "(($ac_try" in
38834 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38835 *) ac_try_echo=$ac_try;;
38837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38838 (eval "$ac_link") 2>conftest.er1
38840 grep -v '^ *+' conftest.er1 >conftest.err
38842 cat conftest.err >&5
38843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38844 (exit $ac_status); } && {
38845 test -z "$ac_c_werror_flag" ||
38846 test ! -s conftest.err
38847 } && test -s conftest$ac_exeext &&
38848 $as_test_x conftest$ac_exeext; then
38849 ac_cv_lib_posix4_nanosleep=yes
38851 echo "$as_me: failed program was:" >&5
38852 sed 's/^/| /' conftest.$ac_ext >&5
38854 ac_cv_lib_posix4_nanosleep=no
38857 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38858 conftest$ac_exeext conftest.$ac_ext
38859 LIBS=$ac_check_lib_save_LIBS
38861 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38862 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
38863 if test $ac_cv_lib_posix4_nanosleep = yes; then
38865 cat >>confdefs.h <<\_ACEOF
38866 #define HAVE_NANOSLEEP 1
38869 POSIX4_LINK=" -lposix4"
38874 for wx_func in usleep
38876 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38877 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38878 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38879 echo $ECHO_N "(cached) $ECHO_C" >&6
38882 cat >conftest.$ac_ext <<_ACEOF
38886 cat confdefs.h >>conftest.$ac_ext
38887 cat >>conftest.$ac_ext <<_ACEOF
38888 /* end confdefs.h. */
38891 $ac_includes_default
38907 rm -f conftest.$ac_objext conftest$ac_exeext
38908 if { (ac_try="$ac_link"
38909 case "(($ac_try" in
38910 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38911 *) ac_try_echo
=$ac_try;;
38913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38914 (eval "$ac_link") 2>conftest.er1
38916 grep -v '^ *+' conftest.er1
>conftest.err
38918 cat conftest.err
>&5
38919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38920 (exit $ac_status); } && {
38921 test -z "$ac_c_werror_flag" ||
38922 test ! -s conftest.err
38923 } && test -s conftest
$ac_exeext &&
38924 $as_test_x conftest
$ac_exeext; then
38925 eval wx_cv_func_
$wx_func=yes
38927 echo "$as_me: failed program was:" >&5
38928 sed 's/^/| /' conftest.
$ac_ext >&5
38930 eval wx_cv_func_
$wx_func=no
38933 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38934 conftest
$ac_exeext conftest.
$ac_ext
38937 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38938 { echo "$as_me:$LINENO: result: $ac_res" >&5
38939 echo "${ECHO_T}$ac_res" >&6; }
38941 if eval test \
$wx_cv_func_$wx_func = yes
38943 cat >>confdefs.h
<<_ACEOF
38944 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38950 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38951 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38968 for wx_func
in uname
38970 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38971 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38972 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38973 echo $ECHO_N "(cached) $ECHO_C" >&6
38976 cat >conftest.
$ac_ext <<_ACEOF
38980 cat confdefs.h
>>conftest.
$ac_ext
38981 cat >>conftest.
$ac_ext <<_ACEOF
38982 /* end confdefs.h. */
38984 #include <sys/utsname.h>
38985 $ac_includes_default
39001 rm -f conftest.
$ac_objext conftest
$ac_exeext
39002 if { (ac_try
="$ac_link"
39003 case "(($ac_try" in
39004 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39005 *) ac_try_echo=$ac_try;;
39007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39008 (eval "$ac_link") 2>conftest.er1
39010 grep -v '^ *+' conftest.er1 >conftest.err
39012 cat conftest.err >&5
39013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39014 (exit $ac_status); } && {
39015 test -z "$ac_c_werror_flag" ||
39016 test ! -s conftest.err
39017 } && test -s conftest$ac_exeext &&
39018 $as_test_x conftest$ac_exeext; then
39019 eval wx_cv_func_$wx_func=yes
39021 echo "$as_me: failed program was:" >&5
39022 sed 's/^/| /' conftest.$ac_ext >&5
39024 eval wx_cv_func_$wx_func=no
39027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39028 conftest$ac_exeext conftest.$ac_ext
39031 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39032 { echo "$as_me:$LINENO: result: $ac_res" >&5
39033 echo "${ECHO_T}$ac_res" >&6; }
39035 if eval test \$wx_cv_func_$wx_func = yes
39037 cat >>confdefs.h <<_ACEOF
39038 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39048 if test "$wx_cv_func_uname" != yes; then
39050 for wx_func in gethostname
39052 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39053 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39054 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39055 echo $ECHO_N "(cached) $ECHO_C" >&6
39058 cat >conftest.$ac_ext <<_ACEOF
39062 cat confdefs.h >>conftest.$ac_ext
39063 cat >>conftest.$ac_ext <<_ACEOF
39064 /* end confdefs.h. */
39067 $ac_includes_default
39083 rm -f conftest.$ac_objext conftest$ac_exeext
39084 if { (ac_try="$ac_link"
39085 case "(($ac_try" in
39086 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39087 *) ac_try_echo
=$ac_try;;
39089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39090 (eval "$ac_link") 2>conftest.er1
39092 grep -v '^ *+' conftest.er1
>conftest.err
39094 cat conftest.err
>&5
39095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39096 (exit $ac_status); } && {
39097 test -z "$ac_c_werror_flag" ||
39098 test ! -s conftest.err
39099 } && test -s conftest
$ac_exeext &&
39100 $as_test_x conftest
$ac_exeext; then
39101 eval wx_cv_func_
$wx_func=yes
39103 echo "$as_me: failed program was:" >&5
39104 sed 's/^/| /' conftest.
$ac_ext >&5
39106 eval wx_cv_func_
$wx_func=no
39109 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39110 conftest
$ac_exeext conftest.
$ac_ext
39113 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39114 { echo "$as_me:$LINENO: result: $ac_res" >&5
39115 echo "${ECHO_T}$ac_res" >&6; }
39117 if eval test \
$wx_cv_func_$wx_func = yes
39119 cat >>confdefs.h
<<_ACEOF
39120 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39133 for wx_func
in strtok_r
39135 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39136 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39137 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39138 echo $ECHO_N "(cached) $ECHO_C" >&6
39141 cat >conftest.
$ac_ext <<_ACEOF
39145 cat confdefs.h
>>conftest.
$ac_ext
39146 cat >>conftest.
$ac_ext <<_ACEOF
39147 /* end confdefs.h. */
39150 $ac_includes_default
39166 rm -f conftest.
$ac_objext conftest
$ac_exeext
39167 if { (ac_try
="$ac_link"
39168 case "(($ac_try" in
39169 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39170 *) ac_try_echo=$ac_try;;
39172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39173 (eval "$ac_link") 2>conftest.er1
39175 grep -v '^ *+' conftest.er1 >conftest.err
39177 cat conftest.err >&5
39178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39179 (exit $ac_status); } && {
39180 test -z "$ac_c_werror_flag" ||
39181 test ! -s conftest.err
39182 } && test -s conftest$ac_exeext &&
39183 $as_test_x conftest$ac_exeext; then
39184 eval wx_cv_func_$wx_func=yes
39186 echo "$as_me: failed program was:" >&5
39187 sed 's/^/| /' conftest.$ac_ext >&5
39189 eval wx_cv_func_$wx_func=no
39192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39193 conftest$ac_exeext conftest.$ac_ext
39196 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39197 { echo "$as_me:$LINENO: result: $ac_res" >&5
39198 echo "${ECHO_T}$ac_res" >&6; }
39200 if eval test \$wx_cv_func_$wx_func = yes
39202 cat >>confdefs.h <<_ACEOF
39203 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39216 for ac_func in inet_addr
39218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39219 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39221 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39222 echo $ECHO_N "(cached) $ECHO_C" >&6
39224 cat >conftest.$ac_ext <<_ACEOF
39227 cat confdefs.h >>conftest.$ac_ext
39228 cat >>conftest.$ac_ext <<_ACEOF
39229 /* end confdefs.h. */
39230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39232 #define $ac_func innocuous_$ac_func
39234 /* System header to define __stub macros and hopefully few prototypes,
39235 which can conflict with char $ac_func (); below.
39236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39237 <limits.h> exists even on freestanding compilers. */
39240 # include <limits.h>
39242 # include <assert.h>
39247 /* Override any GCC internal prototype to avoid an error.
39248 Use char because int might match the return type of a GCC
39249 builtin and then its argument prototype would still apply. */
39254 /* The GNU C library defines this for functions which it implements
39255 to always fail with ENOSYS. Some functions are actually named
39256 something starting with __ and the normal name is an alias. */
39257 #if defined __stub_$ac_func || defined __stub___$ac_func
39264 return $ac_func ();
39269 rm -f conftest.$ac_objext conftest$ac_exeext
39270 if { (ac_try="$ac_link"
39271 case "(($ac_try" in
39272 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39273 *) ac_try_echo
=$ac_try;;
39275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39276 (eval "$ac_link") 2>conftest.er1
39278 grep -v '^ *+' conftest.er1
>conftest.err
39280 cat conftest.err
>&5
39281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39282 (exit $ac_status); } && {
39283 test -z "$ac_c_werror_flag" ||
39284 test ! -s conftest.err
39285 } && test -s conftest
$ac_exeext &&
39286 $as_test_x conftest
$ac_exeext; then
39287 eval "$as_ac_var=yes"
39289 echo "$as_me: failed program was:" >&5
39290 sed 's/^/| /' conftest.
$ac_ext >&5
39292 eval "$as_ac_var=no"
39295 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39296 conftest
$ac_exeext conftest.
$ac_ext
39298 ac_res
=`eval echo '${'$as_ac_var'}'`
39299 { echo "$as_me:$LINENO: result: $ac_res" >&5
39300 echo "${ECHO_T}$ac_res" >&6; }
39301 if test `eval echo '${'$as_ac_var'}'` = yes; then
39302 cat >>confdefs.h
<<_ACEOF
39303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39305 cat >>confdefs.h
<<\_ACEOF
39306 #define HAVE_INET_ADDR 1
39311 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39312 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39313 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39314 echo $ECHO_N "(cached) $ECHO_C" >&6
39316 ac_check_lib_save_LIBS
=$LIBS
39318 cat >conftest.
$ac_ext <<_ACEOF
39321 cat confdefs.h
>>conftest.
$ac_ext
39322 cat >>conftest.
$ac_ext <<_ACEOF
39323 /* end confdefs.h. */
39325 /* Override any GCC internal prototype to avoid an error.
39326 Use char because int might match the return type of a GCC
39327 builtin and then its argument prototype would still apply. */
39335 return inet_addr ();
39340 rm -f conftest.
$ac_objext conftest
$ac_exeext
39341 if { (ac_try
="$ac_link"
39342 case "(($ac_try" in
39343 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39344 *) ac_try_echo=$ac_try;;
39346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39347 (eval "$ac_link") 2>conftest.er1
39349 grep -v '^ *+' conftest.er1 >conftest.err
39351 cat conftest.err >&5
39352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39353 (exit $ac_status); } && {
39354 test -z "$ac_c_werror_flag" ||
39355 test ! -s conftest.err
39356 } && test -s conftest$ac_exeext &&
39357 $as_test_x conftest$ac_exeext; then
39358 ac_cv_lib_nsl_inet_addr=yes
39360 echo "$as_me: failed program was:" >&5
39361 sed 's/^/| /' conftest.$ac_ext >&5
39363 ac_cv_lib_nsl_inet_addr=no
39366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39367 conftest$ac_exeext conftest.$ac_ext
39368 LIBS=$ac_check_lib_save_LIBS
39370 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39371 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39372 if test $ac_cv_lib_nsl_inet_addr = yes; then
39376 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39377 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39378 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39379 echo $ECHO_N "(cached) $ECHO_C" >&6
39381 ac_check_lib_save_LIBS=$LIBS
39382 LIBS="-lresolv $LIBS"
39383 cat >conftest.$ac_ext <<_ACEOF
39386 cat confdefs.h >>conftest.$ac_ext
39387 cat >>conftest.$ac_ext <<_ACEOF
39388 /* end confdefs.h. */
39390 /* Override any GCC internal prototype to avoid an error.
39391 Use char because int might match the return type of a GCC
39392 builtin and then its argument prototype would still apply. */
39400 return inet_addr ();
39405 rm -f conftest.$ac_objext conftest$ac_exeext
39406 if { (ac_try="$ac_link"
39407 case "(($ac_try" in
39408 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39409 *) ac_try_echo
=$ac_try;;
39411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39412 (eval "$ac_link") 2>conftest.er1
39414 grep -v '^ *+' conftest.er1
>conftest.err
39416 cat conftest.err
>&5
39417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39418 (exit $ac_status); } && {
39419 test -z "$ac_c_werror_flag" ||
39420 test ! -s conftest.err
39421 } && test -s conftest
$ac_exeext &&
39422 $as_test_x conftest
$ac_exeext; then
39423 ac_cv_lib_resolv_inet_addr
=yes
39425 echo "$as_me: failed program was:" >&5
39426 sed 's/^/| /' conftest.
$ac_ext >&5
39428 ac_cv_lib_resolv_inet_addr
=no
39431 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39432 conftest
$ac_exeext conftest.
$ac_ext
39433 LIBS
=$ac_check_lib_save_LIBS
39435 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39436 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39437 if test $ac_cv_lib_resolv_inet_addr = yes; then
39441 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39442 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39443 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39444 echo $ECHO_N "(cached) $ECHO_C" >&6
39446 ac_check_lib_save_LIBS
=$LIBS
39447 LIBS
="-lsocket $LIBS"
39448 cat >conftest.
$ac_ext <<_ACEOF
39451 cat confdefs.h
>>conftest.
$ac_ext
39452 cat >>conftest.
$ac_ext <<_ACEOF
39453 /* end confdefs.h. */
39455 /* Override any GCC internal prototype to avoid an error.
39456 Use char because int might match the return type of a GCC
39457 builtin and then its argument prototype would still apply. */
39465 return inet_addr ();
39470 rm -f conftest.
$ac_objext conftest
$ac_exeext
39471 if { (ac_try
="$ac_link"
39472 case "(($ac_try" in
39473 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39474 *) ac_try_echo=$ac_try;;
39476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39477 (eval "$ac_link") 2>conftest.er1
39479 grep -v '^ *+' conftest.er1 >conftest.err
39481 cat conftest.err >&5
39482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39483 (exit $ac_status); } && {
39484 test -z "$ac_c_werror_flag" ||
39485 test ! -s conftest.err
39486 } && test -s conftest$ac_exeext &&
39487 $as_test_x conftest$ac_exeext; then
39488 ac_cv_lib_socket_inet_addr=yes
39490 echo "$as_me: failed program was:" >&5
39491 sed 's/^/| /' conftest.$ac_ext >&5
39493 ac_cv_lib_socket_inet_addr=no
39496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39497 conftest$ac_exeext conftest.$ac_ext
39498 LIBS=$ac_check_lib_save_LIBS
39500 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39501 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39502 if test $ac_cv_lib_socket_inet_addr = yes; then
39522 for ac_func in inet_aton
39524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39525 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39527 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39528 echo $ECHO_N "(cached) $ECHO_C" >&6
39530 cat >conftest.$ac_ext <<_ACEOF
39533 cat confdefs.h >>conftest.$ac_ext
39534 cat >>conftest.$ac_ext <<_ACEOF
39535 /* end confdefs.h. */
39536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39538 #define $ac_func innocuous_$ac_func
39540 /* System header to define __stub macros and hopefully few prototypes,
39541 which can conflict with char $ac_func (); below.
39542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39543 <limits.h> exists even on freestanding compilers. */
39546 # include <limits.h>
39548 # include <assert.h>
39553 /* Override any GCC internal prototype to avoid an error.
39554 Use char because int might match the return type of a GCC
39555 builtin and then its argument prototype would still apply. */
39560 /* The GNU C library defines this for functions which it implements
39561 to always fail with ENOSYS. Some functions are actually named
39562 something starting with __ and the normal name is an alias. */
39563 #if defined __stub_$ac_func || defined __stub___$ac_func
39570 return $ac_func ();
39575 rm -f conftest.$ac_objext conftest$ac_exeext
39576 if { (ac_try="$ac_link"
39577 case "(($ac_try" in
39578 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39579 *) ac_try_echo
=$ac_try;;
39581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39582 (eval "$ac_link") 2>conftest.er1
39584 grep -v '^ *+' conftest.er1
>conftest.err
39586 cat conftest.err
>&5
39587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39588 (exit $ac_status); } && {
39589 test -z "$ac_c_werror_flag" ||
39590 test ! -s conftest.err
39591 } && test -s conftest
$ac_exeext &&
39592 $as_test_x conftest
$ac_exeext; then
39593 eval "$as_ac_var=yes"
39595 echo "$as_me: failed program was:" >&5
39596 sed 's/^/| /' conftest.
$ac_ext >&5
39598 eval "$as_ac_var=no"
39601 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39602 conftest
$ac_exeext conftest.
$ac_ext
39604 ac_res
=`eval echo '${'$as_ac_var'}'`
39605 { echo "$as_me:$LINENO: result: $ac_res" >&5
39606 echo "${ECHO_T}$ac_res" >&6; }
39607 if test `eval echo '${'$as_ac_var'}'` = yes; then
39608 cat >>confdefs.h
<<_ACEOF
39609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39611 cat >>confdefs.h
<<\_ACEOF
39612 #define HAVE_INET_ATON 1
39617 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39618 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39619 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39620 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39621 echo $ECHO_N "(cached) $ECHO_C" >&6
39623 ac_check_lib_save_LIBS
=$LIBS
39624 LIBS
="-l$INET_LINK $LIBS"
39625 cat >conftest.
$ac_ext <<_ACEOF
39628 cat confdefs.h
>>conftest.
$ac_ext
39629 cat >>conftest.
$ac_ext <<_ACEOF
39630 /* end confdefs.h. */
39632 /* Override any GCC internal prototype to avoid an error.
39633 Use char because int might match the return type of a GCC
39634 builtin and then its argument prototype would still apply. */
39642 return inet_aton ();
39647 rm -f conftest.
$ac_objext conftest
$ac_exeext
39648 if { (ac_try
="$ac_link"
39649 case "(($ac_try" in
39650 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39651 *) ac_try_echo=$ac_try;;
39653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39654 (eval "$ac_link") 2>conftest.er1
39656 grep -v '^ *+' conftest.er1 >conftest.err
39658 cat conftest.err >&5
39659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39660 (exit $ac_status); } && {
39661 test -z "$ac_c_werror_flag" ||
39662 test ! -s conftest.err
39663 } && test -s conftest$ac_exeext &&
39664 $as_test_x conftest$ac_exeext; then
39665 eval "$as_ac_Lib=yes"
39667 echo "$as_me: failed program was:" >&5
39668 sed 's/^/| /' conftest.$ac_ext >&5
39670 eval "$as_ac_Lib=no"
39673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39674 conftest$ac_exeext conftest.$ac_ext
39675 LIBS=$ac_check_lib_save_LIBS
39677 ac_res=`eval echo '${'$as_ac_Lib'}'`
39678 { echo "$as_me:$LINENO: result: $ac_res" >&5
39679 echo "${ECHO_T}$ac_res" >&6; }
39680 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39681 cat >>confdefs.h <<\_ACEOF
39682 #define HAVE_INET_ATON 1
39692 if test "x$INET_LINK" != "x"; then
39693 cat >>confdefs.h <<\_ACEOF
39694 #define HAVE_INET_ADDR 1
39697 INET_LINK=" -l$INET_LINK"
39701 for wx_func in fdopen
39703 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39704 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39705 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39706 echo $ECHO_N "(cached) $ECHO_C" >&6
39709 cat >conftest.$ac_ext <<_ACEOF
39713 cat confdefs.h >>conftest.$ac_ext
39714 cat >>conftest.$ac_ext <<_ACEOF
39715 /* end confdefs.h. */
39718 $ac_includes_default
39734 rm -f conftest.$ac_objext conftest$ac_exeext
39735 if { (ac_try="$ac_link"
39736 case "(($ac_try" in
39737 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39738 *) ac_try_echo
=$ac_try;;
39740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39741 (eval "$ac_link") 2>conftest.er1
39743 grep -v '^ *+' conftest.er1
>conftest.err
39745 cat conftest.err
>&5
39746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39747 (exit $ac_status); } && {
39748 test -z "$ac_c_werror_flag" ||
39749 test ! -s conftest.err
39750 } && test -s conftest
$ac_exeext &&
39751 $as_test_x conftest
$ac_exeext; then
39752 eval wx_cv_func_
$wx_func=yes
39754 echo "$as_me: failed program was:" >&5
39755 sed 's/^/| /' conftest.
$ac_ext >&5
39757 eval wx_cv_func_
$wx_func=no
39760 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39761 conftest
$ac_exeext conftest.
$ac_ext
39764 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39765 { echo "$as_me:$LINENO: result: $ac_res" >&5
39766 echo "${ECHO_T}$ac_res" >&6; }
39768 if eval test \
$wx_cv_func_$wx_func = yes
39770 cat >>confdefs.h
<<_ACEOF
39771 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39782 if test "$wxUSE_TARSTREAM" = "yes"; then
39784 for wx_func
in sysconf
39786 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39787 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39788 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39789 echo $ECHO_N "(cached) $ECHO_C" >&6
39792 cat >conftest.
$ac_ext <<_ACEOF
39796 cat confdefs.h
>>conftest.
$ac_ext
39797 cat >>conftest.
$ac_ext <<_ACEOF
39798 /* end confdefs.h. */
39801 $ac_includes_default
39817 rm -f conftest.
$ac_objext conftest
$ac_exeext
39818 if { (ac_try
="$ac_link"
39819 case "(($ac_try" in
39820 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39821 *) ac_try_echo=$ac_try;;
39823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39824 (eval "$ac_link") 2>conftest.er1
39826 grep -v '^ *+' conftest.er1 >conftest.err
39828 cat conftest.err >&5
39829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39830 (exit $ac_status); } && {
39831 test -z "$ac_c_werror_flag" ||
39832 test ! -s conftest.err
39833 } && test -s conftest$ac_exeext &&
39834 $as_test_x conftest$ac_exeext; then
39835 eval wx_cv_func_$wx_func=yes
39837 echo "$as_me: failed program was:" >&5
39838 sed 's/^/| /' conftest.$ac_ext >&5
39840 eval wx_cv_func_$wx_func=no
39843 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39844 conftest$ac_exeext conftest.$ac_ext
39847 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39848 { echo "$as_me:$LINENO: result: $ac_res" >&5
39849 echo "${ECHO_T}$ac_res" >&6; }
39851 if eval test \$wx_cv_func_$wx_func = yes
39853 cat >>confdefs.h <<_ACEOF
39854 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39866 for wx_func in getpwuid_r
39868 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39869 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39870 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39871 echo $ECHO_N "(cached) $ECHO_C" >&6
39874 cat >conftest.$ac_ext <<_ACEOF
39878 cat confdefs.h >>conftest.$ac_ext
39879 cat >>conftest.$ac_ext <<_ACEOF
39880 /* end confdefs.h. */
39886 $ac_includes_default
39896 struct passwd pw, *ppw;
39898 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
39906 rm -f conftest.$ac_objext conftest$ac_exeext
39907 if { (ac_try="$ac_link"
39908 case "(($ac_try" in
39909 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39910 *) ac_try_echo
=$ac_try;;
39912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39913 (eval "$ac_link") 2>conftest.er1
39915 grep -v '^ *+' conftest.er1
>conftest.err
39917 cat conftest.err
>&5
39918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39919 (exit $ac_status); } && {
39920 test -z "$ac_c_werror_flag" ||
39921 test ! -s conftest.err
39922 } && test -s conftest
$ac_exeext &&
39923 $as_test_x conftest
$ac_exeext; then
39924 eval wx_cv_func_
$wx_func=yes
39926 echo "$as_me: failed program was:" >&5
39927 sed 's/^/| /' conftest.
$ac_ext >&5
39929 eval wx_cv_func_
$wx_func=no
39932 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39933 conftest
$ac_exeext conftest.
$ac_ext
39936 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39937 { echo "$as_me:$LINENO: result: $ac_res" >&5
39938 echo "${ECHO_T}$ac_res" >&6; }
39940 if eval test \
$wx_cv_func_$wx_func = yes
39942 cat >>confdefs.h
<<_ACEOF
39943 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39955 for wx_func
in getgrgid_r
39957 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39958 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39959 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39960 echo $ECHO_N "(cached) $ECHO_C" >&6
39963 cat >conftest.
$ac_ext <<_ACEOF
39967 cat confdefs.h
>>conftest.
$ac_ext
39968 cat >>conftest.
$ac_ext <<_ACEOF
39969 /* end confdefs.h. */
39975 $ac_includes_default
39985 struct group grp, *pgrp;
39987 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
39995 rm -f conftest.
$ac_objext conftest
$ac_exeext
39996 if { (ac_try
="$ac_link"
39997 case "(($ac_try" in
39998 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39999 *) ac_try_echo=$ac_try;;
40001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40002 (eval "$ac_link") 2>conftest.er1
40004 grep -v '^ *+' conftest.er1 >conftest.err
40006 cat conftest.err >&5
40007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40008 (exit $ac_status); } && {
40009 test -z "$ac_c_werror_flag" ||
40010 test ! -s conftest.err
40011 } && test -s conftest$ac_exeext &&
40012 $as_test_x conftest$ac_exeext; then
40013 eval wx_cv_func_$wx_func=yes
40015 echo "$as_me: failed program was:" >&5
40016 sed 's/^/| /' conftest.$ac_ext >&5
40018 eval wx_cv_func_$wx_func=no
40021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40022 conftest$ac_exeext conftest.$ac_ext
40025 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40026 { echo "$as_me:$LINENO: result: $ac_res" >&5
40027 echo "${ECHO_T}$ac_res" >&6; }
40029 if eval test \$wx_cv_func_$wx_func = yes
40031 cat >>confdefs.h <<_ACEOF
40032 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40048 cat >confcache <<\_ACEOF
40049 # This file is a shell script that caches the results of configure
40050 # tests run on this system so they can be shared between configure
40051 # scripts and configure runs, see configure's option --config-cache.
40052 # It is not useful on other systems. If it contains results you don't
40053 # want to keep, you may remove or edit it.
40055 # config.status only pays attention to the cache file if you give it
40056 # the --recheck option to rerun configure.
40058 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
40059 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40060 # following values.
40064 # The following way of writing the cache mishandles newlines in values,
40065 # but we know of no workaround that is simple, portable, and efficient.
40066 # So, we kill variables containing newlines.
40067 # Ultrix sh set writes to stderr and can't be redirected directly,
40068 # and sets the high bit in the cache file unless we assign to the vars.
40070 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40071 eval ac_val
=\$
$ac_var
40075 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40076 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40079 _
| IFS
| as_nl
) ;; #(
40080 *) $as_unset $ac_var ;;
40086 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40087 *${as_nl}ac_space
=\
*)
40088 # `set' does not quote correctly, so add quotes (double-quote
40089 # substitution turns \\\\ into \\, and sed turns \\ into \).
40092 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40095 # `set' quotes correctly as required by POSIX, so do not add quotes.
40096 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40105 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40107 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40109 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
40110 if test -w "$cache_file"; then
40111 test "x$cache_file" != "x/dev/null" &&
40112 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40113 echo "$as_me: updating cache $cache_file" >&6;}
40114 cat confcache
>$cache_file
40116 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40117 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40123 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40129 if test "$wxUSE_THREADS" = "yes" ; then
40130 if test "$USE_BEOS" = 1; then
40131 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40132 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40137 if test "$wxUSE_THREADS" = "yes" ; then
40140 THREAD_OPTS
="-pthread"
40141 if test "x$SUNCXX" = xyes
; then
40142 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
40146 *-*-solaris2* | *-*-sunos4* )
40147 if test "x$GCC" = "xyes"; then
40148 THREAD_OPTS
="-pthreads $THREAD_OPTS"
40152 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
40154 *-*-darwin* | *-*-cygwin* )
40158 THREAD_OPTS
="pthreads"
40161 if test "x$GCC" = "xyes"; then
40162 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
40170 if test "x$GCC" = "xyes"; then
40180 if test "x$GCC" != "xyes"; then
40181 THREAD_OPTS
="-Ethread"
40188 THREAD_OPTS
="none pthread"
40192 THREAD_OPTS
="$THREAD_OPTS pthread none"
40197 for flag
in $THREAD_OPTS; do
40200 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40201 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40205 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40206 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40207 THREADS_CFLAGS
="$flag"
40211 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40212 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40213 THREADS_LINK
="-l$flag"
40218 save_CFLAGS
="$CFLAGS"
40219 LIBS
="$THREADS_LINK $LIBS"
40220 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
40222 cat >conftest.
$ac_ext <<_ACEOF
40225 cat confdefs.h
>>conftest.
$ac_ext
40226 cat >>conftest.
$ac_ext <<_ACEOF
40227 /* end confdefs.h. */
40228 #include <pthread.h>
40232 pthread_create(0,0,0,0);
40237 rm -f conftest.
$ac_objext conftest
$ac_exeext
40238 if { (ac_try
="$ac_link"
40239 case "(($ac_try" in
40240 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40241 *) ac_try_echo=$ac_try;;
40243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40244 (eval "$ac_link") 2>conftest.er1
40246 grep -v '^ *+' conftest.er1 >conftest.err
40248 cat conftest.err >&5
40249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40250 (exit $ac_status); } && {
40251 test -z "$ac_c_werror_flag" ||
40252 test ! -s conftest.err
40253 } && test -s conftest$ac_exeext &&
40254 $as_test_x conftest$ac_exeext; then
40257 echo "$as_me: failed program was:" >&5
40258 sed 's/^/| /' conftest.$ac_ext >&5
40263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40264 conftest$ac_exeext conftest.$ac_ext
40267 CFLAGS="$save_CFLAGS"
40269 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40270 echo "${ECHO_T}$THREADS_OK" >&6; }
40271 if test "x$THREADS_OK" = "xyes"; then
40279 if test "x$THREADS_OK" != "xyes"; then
40281 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40282 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40284 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40285 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40286 LIBS="$THREADS_LINK $LIBS"
40288 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40289 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40293 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40294 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40295 flag="-D_THREAD_SAFE"
40298 flag="-D_THREAD_SAFE"
40301 flag="-D_REENTRANT"
40302 if test "x$GCC" != "xyes"; then
40303 flag="$flag -D_RWSTD_MULTI_THREAD"
40306 *solaris* | alpha*-osf*)
40307 flag="-D_REENTRANT"
40310 { echo "$as_me:$LINENO: result: ${flag}" >&5
40311 echo "${ECHO_T}${flag}" >&6; }
40312 if test "x$flag" != xno; then
40313 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40316 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40320 if test "$wxUSE_THREADS" = "yes" ; then
40322 for ac_func in thr_setconcurrency
40324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40325 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40327 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40328 echo $ECHO_N "(cached) $ECHO_C" >&6
40330 cat >conftest.$ac_ext <<_ACEOF
40333 cat confdefs.h >>conftest.$ac_ext
40334 cat >>conftest.$ac_ext <<_ACEOF
40335 /* end confdefs.h. */
40336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40338 #define $ac_func innocuous_$ac_func
40340 /* System header to define __stub macros and hopefully few prototypes,
40341 which can conflict with char $ac_func (); below.
40342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40343 <limits.h> exists even on freestanding compilers. */
40346 # include <limits.h>
40348 # include <assert.h>
40353 /* Override any GCC internal prototype to avoid an error.
40354 Use char because int might match the return type of a GCC
40355 builtin and then its argument prototype would still apply. */
40360 /* The GNU C library defines this for functions which it implements
40361 to always fail with ENOSYS. Some functions are actually named
40362 something starting with __ and the normal name is an alias. */
40363 #if defined __stub_$ac_func || defined __stub___$ac_func
40370 return $ac_func ();
40375 rm -f conftest.$ac_objext conftest$ac_exeext
40376 if { (ac_try="$ac_link"
40377 case "(($ac_try" in
40378 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40379 *) ac_try_echo
=$ac_try;;
40381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40382 (eval "$ac_link") 2>conftest.er1
40384 grep -v '^ *+' conftest.er1
>conftest.err
40386 cat conftest.err
>&5
40387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40388 (exit $ac_status); } && {
40389 test -z "$ac_c_werror_flag" ||
40390 test ! -s conftest.err
40391 } && test -s conftest
$ac_exeext &&
40392 $as_test_x conftest
$ac_exeext; then
40393 eval "$as_ac_var=yes"
40395 echo "$as_me: failed program was:" >&5
40396 sed 's/^/| /' conftest.
$ac_ext >&5
40398 eval "$as_ac_var=no"
40401 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40402 conftest
$ac_exeext conftest.
$ac_ext
40404 ac_res
=`eval echo '${'$as_ac_var'}'`
40405 { echo "$as_me:$LINENO: result: $ac_res" >&5
40406 echo "${ECHO_T}$ac_res" >&6; }
40407 if test `eval echo '${'$as_ac_var'}'` = yes; then
40408 cat >>confdefs.h
<<_ACEOF
40409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40416 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40417 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40418 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40419 echo $ECHO_N "(cached) $ECHO_C" >&6
40423 ac_cpp
='$CXXCPP $CPPFLAGS'
40424 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40425 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40426 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40428 cat >conftest.
$ac_ext <<_ACEOF
40431 cat confdefs.h
>>conftest.
$ac_ext
40432 cat >>conftest.
$ac_ext <<_ACEOF
40433 /* end confdefs.h. */
40434 #include <pthread.h>
40435 void ThreadCleanupFunc(void *p);
40442 pthread_cleanup_push(ThreadCleanupFunc, p);
40443 pthread_cleanup_pop(0);
40449 rm -f conftest.
$ac_objext
40450 if { (ac_try
="$ac_compile"
40451 case "(($ac_try" in
40452 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40453 *) ac_try_echo=$ac_try;;
40455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40456 (eval "$ac_compile") 2>conftest.er1
40458 grep -v '^ *+' conftest.er1 >conftest.err
40460 cat conftest.err >&5
40461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40462 (exit $ac_status); } && {
40463 test -z "$ac_cxx_werror_flag" ||
40464 test ! -s conftest.err
40465 } && test -s conftest.$ac_objext; then
40467 wx_cv_func_pthread_cleanup=yes
40470 echo "$as_me: failed program was:" >&5
40471 sed 's/^/| /' conftest.$ac_ext >&5
40474 wx_cv_func_pthread_cleanup=no
40479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40481 ac_cpp='$CPP $CPPFLAGS'
40482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40488 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40489 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40490 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40491 cat >>confdefs.h <<\_ACEOF
40492 #define wxHAVE_PTHREAD_CLEANUP 1
40498 for ac_header in sched.h
40500 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40501 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40503 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40504 echo $ECHO_N "(cached) $ECHO_C" >&6
40506 cat >conftest.$ac_ext <<_ACEOF
40509 cat confdefs.h >>conftest.$ac_ext
40510 cat >>conftest.$ac_ext <<_ACEOF
40511 /* end confdefs.h. */
40512 $ac_includes_default
40514 #include <$ac_header>
40516 rm -f conftest.$ac_objext
40517 if { (ac_try="$ac_compile"
40518 case "(($ac_try" in
40519 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40520 *) ac_try_echo
=$ac_try;;
40522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40523 (eval "$ac_compile") 2>conftest.er1
40525 grep -v '^ *+' conftest.er1
>conftest.err
40527 cat conftest.err
>&5
40528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40529 (exit $ac_status); } && {
40530 test -z "$ac_c_werror_flag" ||
40531 test ! -s conftest.err
40532 } && test -s conftest.
$ac_objext; then
40533 eval "$as_ac_Header=yes"
40535 echo "$as_me: failed program was:" >&5
40536 sed 's/^/| /' conftest.
$ac_ext >&5
40538 eval "$as_ac_Header=no"
40541 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40543 ac_res
=`eval echo '${'$as_ac_Header'}'`
40544 { echo "$as_me:$LINENO: result: $ac_res" >&5
40545 echo "${ECHO_T}$ac_res" >&6; }
40546 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40547 cat >>confdefs.h
<<_ACEOF
40548 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40555 if test "$ac_cv_header_sched_h" = "yes"; then
40556 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40557 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40558 if test "${ac_cv_func_sched_yield+set}" = set; then
40559 echo $ECHO_N "(cached) $ECHO_C" >&6
40561 cat >conftest.
$ac_ext <<_ACEOF
40564 cat confdefs.h
>>conftest.
$ac_ext
40565 cat >>conftest.
$ac_ext <<_ACEOF
40566 /* end confdefs.h. */
40567 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40569 #define sched_yield innocuous_sched_yield
40571 /* System header to define __stub macros and hopefully few prototypes,
40572 which can conflict with char sched_yield (); below.
40573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40574 <limits.h> exists even on freestanding compilers. */
40577 # include <limits.h>
40579 # include <assert.h>
40584 /* Override any GCC internal prototype to avoid an error.
40585 Use char because int might match the return type of a GCC
40586 builtin and then its argument prototype would still apply. */
40590 char sched_yield ();
40591 /* The GNU C library defines this for functions which it implements
40592 to always fail with ENOSYS. Some functions are actually named
40593 something starting with __ and the normal name is an alias. */
40594 #if defined __stub_sched_yield || defined __stub___sched_yield
40601 return sched_yield ();
40606 rm -f conftest.
$ac_objext conftest
$ac_exeext
40607 if { (ac_try
="$ac_link"
40608 case "(($ac_try" in
40609 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40610 *) ac_try_echo=$ac_try;;
40612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40613 (eval "$ac_link") 2>conftest.er1
40615 grep -v '^ *+' conftest.er1 >conftest.err
40617 cat conftest.err >&5
40618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40619 (exit $ac_status); } && {
40620 test -z "$ac_c_werror_flag" ||
40621 test ! -s conftest.err
40622 } && test -s conftest$ac_exeext &&
40623 $as_test_x conftest$ac_exeext; then
40624 ac_cv_func_sched_yield=yes
40626 echo "$as_me: failed program was:" >&5
40627 sed 's/^/| /' conftest.$ac_ext >&5
40629 ac_cv_func_sched_yield=no
40632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40633 conftest$ac_exeext conftest.$ac_ext
40635 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40636 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40637 if test $ac_cv_func_sched_yield = yes; then
40638 cat >>confdefs.h <<\_ACEOF
40639 #define HAVE_SCHED_YIELD 1
40644 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40645 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40646 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40647 echo $ECHO_N "(cached) $ECHO_C" >&6
40649 ac_check_lib_save_LIBS=$LIBS
40650 LIBS="-lposix4 $LIBS"
40651 cat >conftest.$ac_ext <<_ACEOF
40654 cat confdefs.h >>conftest.$ac_ext
40655 cat >>conftest.$ac_ext <<_ACEOF
40656 /* end confdefs.h. */
40658 /* Override any GCC internal prototype to avoid an error.
40659 Use char because int might match the return type of a GCC
40660 builtin and then its argument prototype would still apply. */
40664 char sched_yield ();
40668 return sched_yield ();
40673 rm -f conftest.$ac_objext conftest$ac_exeext
40674 if { (ac_try="$ac_link"
40675 case "(($ac_try" in
40676 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40677 *) ac_try_echo
=$ac_try;;
40679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40680 (eval "$ac_link") 2>conftest.er1
40682 grep -v '^ *+' conftest.er1
>conftest.err
40684 cat conftest.err
>&5
40685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40686 (exit $ac_status); } && {
40687 test -z "$ac_c_werror_flag" ||
40688 test ! -s conftest.err
40689 } && test -s conftest
$ac_exeext &&
40690 $as_test_x conftest
$ac_exeext; then
40691 ac_cv_lib_posix4_sched_yield
=yes
40693 echo "$as_me: failed program was:" >&5
40694 sed 's/^/| /' conftest.
$ac_ext >&5
40696 ac_cv_lib_posix4_sched_yield
=no
40699 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40700 conftest
$ac_exeext conftest.
$ac_ext
40701 LIBS
=$ac_check_lib_save_LIBS
40703 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40704 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40705 if test $ac_cv_lib_posix4_sched_yield = yes; then
40706 cat >>confdefs.h
<<\_ACEOF
40707 #define HAVE_SCHED_YIELD 1
40709 POSIX4_LINK
=" -lposix4"
40711 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40712 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40723 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40724 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40725 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40726 echo $ECHO_N "(cached) $ECHO_C" >&6
40728 cat >conftest.
$ac_ext <<_ACEOF
40731 cat confdefs.h
>>conftest.
$ac_ext
40732 cat >>conftest.
$ac_ext <<_ACEOF
40733 /* end confdefs.h. */
40734 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40736 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40738 /* System header to define __stub macros and hopefully few prototypes,
40739 which can conflict with char pthread_attr_getschedpolicy (); below.
40740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40741 <limits.h> exists even on freestanding compilers. */
40744 # include <limits.h>
40746 # include <assert.h>
40749 #undef pthread_attr_getschedpolicy
40751 /* Override any GCC internal prototype to avoid an error.
40752 Use char because int might match the return type of a GCC
40753 builtin and then its argument prototype would still apply. */
40757 char pthread_attr_getschedpolicy ();
40758 /* The GNU C library defines this for functions which it implements
40759 to always fail with ENOSYS. Some functions are actually named
40760 something starting with __ and the normal name is an alias. */
40761 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40768 return pthread_attr_getschedpolicy ();
40773 rm -f conftest.
$ac_objext conftest
$ac_exeext
40774 if { (ac_try
="$ac_link"
40775 case "(($ac_try" in
40776 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40777 *) ac_try_echo=$ac_try;;
40779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40780 (eval "$ac_link") 2>conftest.er1
40782 grep -v '^ *+' conftest.er1 >conftest.err
40784 cat conftest.err >&5
40785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40786 (exit $ac_status); } && {
40787 test -z "$ac_c_werror_flag" ||
40788 test ! -s conftest.err
40789 } && test -s conftest$ac_exeext &&
40790 $as_test_x conftest$ac_exeext; then
40791 ac_cv_func_pthread_attr_getschedpolicy=yes
40793 echo "$as_me: failed program was:" >&5
40794 sed 's/^/| /' conftest.$ac_ext >&5
40796 ac_cv_func_pthread_attr_getschedpolicy=no
40799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40800 conftest$ac_exeext conftest.$ac_ext
40802 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40803 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40804 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40805 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40806 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40807 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40808 echo $ECHO_N "(cached) $ECHO_C" >&6
40810 cat >conftest.$ac_ext <<_ACEOF
40813 cat confdefs.h >>conftest.$ac_ext
40814 cat >>conftest.$ac_ext <<_ACEOF
40815 /* end confdefs.h. */
40816 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40818 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40820 /* System header to define __stub macros and hopefully few prototypes,
40821 which can conflict with char pthread_attr_setschedparam (); below.
40822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40823 <limits.h> exists even on freestanding compilers. */
40826 # include <limits.h>
40828 # include <assert.h>
40831 #undef pthread_attr_setschedparam
40833 /* Override any GCC internal prototype to avoid an error.
40834 Use char because int might match the return type of a GCC
40835 builtin and then its argument prototype would still apply. */
40839 char pthread_attr_setschedparam ();
40840 /* The GNU C library defines this for functions which it implements
40841 to always fail with ENOSYS. Some functions are actually named
40842 something starting with __ and the normal name is an alias. */
40843 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
40850 return pthread_attr_setschedparam ();
40855 rm -f conftest.$ac_objext conftest$ac_exeext
40856 if { (ac_try="$ac_link"
40857 case "(($ac_try" in
40858 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40859 *) ac_try_echo
=$ac_try;;
40861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40862 (eval "$ac_link") 2>conftest.er1
40864 grep -v '^ *+' conftest.er1
>conftest.err
40866 cat conftest.err
>&5
40867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40868 (exit $ac_status); } && {
40869 test -z "$ac_c_werror_flag" ||
40870 test ! -s conftest.err
40871 } && test -s conftest
$ac_exeext &&
40872 $as_test_x conftest
$ac_exeext; then
40873 ac_cv_func_pthread_attr_setschedparam
=yes
40875 echo "$as_me: failed program was:" >&5
40876 sed 's/^/| /' conftest.
$ac_ext >&5
40878 ac_cv_func_pthread_attr_setschedparam
=no
40881 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40882 conftest
$ac_exeext conftest.
$ac_ext
40884 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40885 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
40886 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40887 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40888 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
40889 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40890 echo $ECHO_N "(cached) $ECHO_C" >&6
40892 cat >conftest.
$ac_ext <<_ACEOF
40895 cat confdefs.h
>>conftest.
$ac_ext
40896 cat >>conftest.
$ac_ext <<_ACEOF
40897 /* end confdefs.h. */
40898 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40900 #define sched_get_priority_max innocuous_sched_get_priority_max
40902 /* System header to define __stub macros and hopefully few prototypes,
40903 which can conflict with char sched_get_priority_max (); below.
40904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40905 <limits.h> exists even on freestanding compilers. */
40908 # include <limits.h>
40910 # include <assert.h>
40913 #undef sched_get_priority_max
40915 /* Override any GCC internal prototype to avoid an error.
40916 Use char because int might match the return type of a GCC
40917 builtin and then its argument prototype would still apply. */
40921 char sched_get_priority_max ();
40922 /* The GNU C library defines this for functions which it implements
40923 to always fail with ENOSYS. Some functions are actually named
40924 something starting with __ and the normal name is an alias. */
40925 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
40932 return sched_get_priority_max ();
40937 rm -f conftest.
$ac_objext conftest
$ac_exeext
40938 if { (ac_try
="$ac_link"
40939 case "(($ac_try" in
40940 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40941 *) ac_try_echo=$ac_try;;
40943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40944 (eval "$ac_link") 2>conftest.er1
40946 grep -v '^ *+' conftest.er1 >conftest.err
40948 cat conftest.err >&5
40949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40950 (exit $ac_status); } && {
40951 test -z "$ac_c_werror_flag" ||
40952 test ! -s conftest.err
40953 } && test -s conftest$ac_exeext &&
40954 $as_test_x conftest$ac_exeext; then
40955 ac_cv_func_sched_get_priority_max=yes
40957 echo "$as_me: failed program was:" >&5
40958 sed 's/^/| /' conftest.$ac_ext >&5
40960 ac_cv_func_sched_get_priority_max=no
40963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40964 conftest$ac_exeext conftest.$ac_ext
40966 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40967 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
40968 if test $ac_cv_func_sched_get_priority_max = yes; then
40971 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40972 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
40973 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40974 echo $ECHO_N "(cached) $ECHO_C" >&6
40976 ac_check_lib_save_LIBS=$LIBS
40977 LIBS="-lposix4 $LIBS"
40978 cat >conftest.$ac_ext <<_ACEOF
40981 cat confdefs.h >>conftest.$ac_ext
40982 cat >>conftest.$ac_ext <<_ACEOF
40983 /* end confdefs.h. */
40985 /* Override any GCC internal prototype to avoid an error.
40986 Use char because int might match the return type of a GCC
40987 builtin and then its argument prototype would still apply. */
40991 char sched_get_priority_max ();
40995 return sched_get_priority_max ();
41000 rm -f conftest.$ac_objext conftest$ac_exeext
41001 if { (ac_try="$ac_link"
41002 case "(($ac_try" in
41003 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41004 *) ac_try_echo
=$ac_try;;
41006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41007 (eval "$ac_link") 2>conftest.er1
41009 grep -v '^ *+' conftest.er1
>conftest.err
41011 cat conftest.err
>&5
41012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41013 (exit $ac_status); } && {
41014 test -z "$ac_c_werror_flag" ||
41015 test ! -s conftest.err
41016 } && test -s conftest
$ac_exeext &&
41017 $as_test_x conftest
$ac_exeext; then
41018 ac_cv_lib_posix4_sched_get_priority_max
=yes
41020 echo "$as_me: failed program was:" >&5
41021 sed 's/^/| /' conftest.
$ac_ext >&5
41023 ac_cv_lib_posix4_sched_get_priority_max
=no
41026 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41027 conftest
$ac_exeext conftest.
$ac_ext
41028 LIBS
=$ac_check_lib_save_LIBS
41030 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41031 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41032 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41035 POSIX4_LINK
=" -lposix4"
41049 if test "$HAVE_PRIOR_FUNCS" = 1; then
41050 cat >>confdefs.h
<<\_ACEOF
41051 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41055 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41056 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41059 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41060 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41061 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41062 echo $ECHO_N "(cached) $ECHO_C" >&6
41064 cat >conftest.
$ac_ext <<_ACEOF
41067 cat confdefs.h
>>conftest.
$ac_ext
41068 cat >>conftest.
$ac_ext <<_ACEOF
41069 /* end confdefs.h. */
41070 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41072 #define pthread_cancel innocuous_pthread_cancel
41074 /* System header to define __stub macros and hopefully few prototypes,
41075 which can conflict with char pthread_cancel (); below.
41076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41077 <limits.h> exists even on freestanding compilers. */
41080 # include <limits.h>
41082 # include <assert.h>
41085 #undef pthread_cancel
41087 /* Override any GCC internal prototype to avoid an error.
41088 Use char because int might match the return type of a GCC
41089 builtin and then its argument prototype would still apply. */
41093 char pthread_cancel ();
41094 /* The GNU C library defines this for functions which it implements
41095 to always fail with ENOSYS. Some functions are actually named
41096 something starting with __ and the normal name is an alias. */
41097 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41104 return pthread_cancel ();
41109 rm -f conftest.
$ac_objext conftest
$ac_exeext
41110 if { (ac_try
="$ac_link"
41111 case "(($ac_try" in
41112 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41113 *) ac_try_echo=$ac_try;;
41115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41116 (eval "$ac_link") 2>conftest.er1
41118 grep -v '^ *+' conftest.er1 >conftest.err
41120 cat conftest.err >&5
41121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41122 (exit $ac_status); } && {
41123 test -z "$ac_c_werror_flag" ||
41124 test ! -s conftest.err
41125 } && test -s conftest$ac_exeext &&
41126 $as_test_x conftest$ac_exeext; then
41127 ac_cv_func_pthread_cancel=yes
41129 echo "$as_me: failed program was:" >&5
41130 sed 's/^/| /' conftest.$ac_ext >&5
41132 ac_cv_func_pthread_cancel=no
41135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41136 conftest$ac_exeext conftest.$ac_ext
41138 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41139 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41140 if test $ac_cv_func_pthread_cancel = yes; then
41141 cat >>confdefs.h <<\_ACEOF
41142 #define HAVE_PTHREAD_CANCEL 1
41146 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41147 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41151 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41152 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41153 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41154 echo $ECHO_N "(cached) $ECHO_C" >&6
41156 cat >conftest.$ac_ext <<_ACEOF
41159 cat confdefs.h >>conftest.$ac_ext
41160 cat >>conftest.$ac_ext <<_ACEOF
41161 /* end confdefs.h. */
41162 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41164 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41166 /* System header to define __stub macros and hopefully few prototypes,
41167 which can conflict with char pthread_mutex_timedlock (); below.
41168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41169 <limits.h> exists even on freestanding compilers. */
41172 # include <limits.h>
41174 # include <assert.h>
41177 #undef pthread_mutex_timedlock
41179 /* Override any GCC internal prototype to avoid an error.
41180 Use char because int might match the return type of a GCC
41181 builtin and then its argument prototype would still apply. */
41185 char pthread_mutex_timedlock ();
41186 /* The GNU C library defines this for functions which it implements
41187 to always fail with ENOSYS. Some functions are actually named
41188 something starting with __ and the normal name is an alias. */
41189 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41196 return pthread_mutex_timedlock ();
41201 rm -f conftest.$ac_objext conftest$ac_exeext
41202 if { (ac_try="$ac_link"
41203 case "(($ac_try" in
41204 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41205 *) ac_try_echo
=$ac_try;;
41207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41208 (eval "$ac_link") 2>conftest.er1
41210 grep -v '^ *+' conftest.er1
>conftest.err
41212 cat conftest.err
>&5
41213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41214 (exit $ac_status); } && {
41215 test -z "$ac_c_werror_flag" ||
41216 test ! -s conftest.err
41217 } && test -s conftest
$ac_exeext &&
41218 $as_test_x conftest
$ac_exeext; then
41219 ac_cv_func_pthread_mutex_timedlock
=yes
41221 echo "$as_me: failed program was:" >&5
41222 sed 's/^/| /' conftest.
$ac_ext >&5
41224 ac_cv_func_pthread_mutex_timedlock
=no
41227 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41228 conftest
$ac_exeext conftest.
$ac_ext
41230 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41231 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41232 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41233 cat >>confdefs.h
<<\_ACEOF
41234 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41238 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41239 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41243 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41244 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41245 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41246 echo $ECHO_N "(cached) $ECHO_C" >&6
41248 cat >conftest.
$ac_ext <<_ACEOF
41251 cat confdefs.h
>>conftest.
$ac_ext
41252 cat >>conftest.
$ac_ext <<_ACEOF
41253 /* end confdefs.h. */
41254 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41256 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41258 /* System header to define __stub macros and hopefully few prototypes,
41259 which can conflict with char pthread_attr_setstacksize (); below.
41260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41261 <limits.h> exists even on freestanding compilers. */
41264 # include <limits.h>
41266 # include <assert.h>
41269 #undef pthread_attr_setstacksize
41271 /* Override any GCC internal prototype to avoid an error.
41272 Use char because int might match the return type of a GCC
41273 builtin and then its argument prototype would still apply. */
41277 char pthread_attr_setstacksize ();
41278 /* The GNU C library defines this for functions which it implements
41279 to always fail with ENOSYS. Some functions are actually named
41280 something starting with __ and the normal name is an alias. */
41281 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41288 return pthread_attr_setstacksize ();
41293 rm -f conftest.
$ac_objext conftest
$ac_exeext
41294 if { (ac_try
="$ac_link"
41295 case "(($ac_try" in
41296 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41297 *) ac_try_echo=$ac_try;;
41299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41300 (eval "$ac_link") 2>conftest.er1
41302 grep -v '^ *+' conftest.er1 >conftest.err
41304 cat conftest.err >&5
41305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41306 (exit $ac_status); } && {
41307 test -z "$ac_c_werror_flag" ||
41308 test ! -s conftest.err
41309 } && test -s conftest$ac_exeext &&
41310 $as_test_x conftest$ac_exeext; then
41311 ac_cv_func_pthread_attr_setstacksize=yes
41313 echo "$as_me: failed program was:" >&5
41314 sed 's/^/| /' conftest.$ac_ext >&5
41316 ac_cv_func_pthread_attr_setstacksize=no
41319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41320 conftest$ac_exeext conftest.$ac_ext
41322 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41323 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41324 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41325 cat >>confdefs.h <<\_ACEOF
41326 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41333 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41334 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41335 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41336 echo $ECHO_N "(cached) $ECHO_C" >&6
41339 cat >conftest.$ac_ext <<_ACEOF
41342 cat confdefs.h >>conftest.$ac_ext
41343 cat >>conftest.$ac_ext <<_ACEOF
41344 /* end confdefs.h. */
41345 #include <pthread.h>
41350 pthread_mutexattr_t attr;
41351 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41357 rm -f conftest.$ac_objext
41358 if { (ac_try="$ac_compile"
41359 case "(($ac_try" in
41360 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41361 *) ac_try_echo
=$ac_try;;
41363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41364 (eval "$ac_compile") 2>conftest.er1
41366 grep -v '^ *+' conftest.er1
>conftest.err
41368 cat conftest.err
>&5
41369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41370 (exit $ac_status); } && {
41371 test -z "$ac_c_werror_flag" ||
41372 test ! -s conftest.err
41373 } && test -s conftest.
$ac_objext; then
41374 wx_cv_type_pthread_mutexattr_t
=yes
41376 echo "$as_me: failed program was:" >&5
41377 sed 's/^/| /' conftest.
$ac_ext >&5
41379 wx_cv_type_pthread_mutexattr_t
=no
41383 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41386 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41387 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41389 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41390 cat >>confdefs.h
<<\_ACEOF
41391 #define HAVE_PTHREAD_MUTEXATTR_T 1
41395 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41396 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41397 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41398 echo $ECHO_N "(cached) $ECHO_C" >&6
41401 cat >conftest.
$ac_ext <<_ACEOF
41404 cat confdefs.h
>>conftest.
$ac_ext
41405 cat >>conftest.
$ac_ext <<_ACEOF
41406 /* end confdefs.h. */
41407 #include <pthread.h>
41412 pthread_mutexattr_t attr;
41413 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41419 rm -f conftest.
$ac_objext
41420 if { (ac_try
="$ac_compile"
41421 case "(($ac_try" in
41422 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41423 *) ac_try_echo=$ac_try;;
41425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41426 (eval "$ac_compile") 2>conftest.er1
41428 grep -v '^ *+' conftest.er1 >conftest.err
41430 cat conftest.err >&5
41431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41432 (exit $ac_status); } && {
41433 test -z "$ac_c_werror_flag" ||
41434 test ! -s conftest.err
41435 } && test -s conftest.$ac_objext; then
41436 wx_cv_func_pthread_mutexattr_settype_decl=yes
41438 echo "$as_me: failed program was:" >&5
41439 sed 's/^/| /' conftest.$ac_ext >&5
41441 wx_cv_func_pthread_mutexattr_settype_decl=no
41445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41448 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41449 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41450 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41451 cat >>confdefs.h <<\_ACEOF
41452 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41457 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41458 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41459 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41460 echo $ECHO_N "(cached) $ECHO_C" >&6
41463 cat >conftest.$ac_ext <<_ACEOF
41466 cat confdefs.h >>conftest.$ac_ext
41467 cat >>conftest.$ac_ext <<_ACEOF
41468 /* end confdefs.h. */
41469 #include <pthread.h>
41474 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41480 rm -f conftest.$ac_objext
41481 if { (ac_try="$ac_compile"
41482 case "(($ac_try" in
41483 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41484 *) ac_try_echo
=$ac_try;;
41486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41487 (eval "$ac_compile") 2>conftest.er1
41489 grep -v '^ *+' conftest.er1
>conftest.err
41491 cat conftest.err
>&5
41492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41493 (exit $ac_status); } && {
41494 test -z "$ac_c_werror_flag" ||
41495 test ! -s conftest.err
41496 } && test -s conftest.
$ac_objext; then
41498 wx_cv_type_pthread_rec_mutex_init
=yes
41501 echo "$as_me: failed program was:" >&5
41502 sed 's/^/| /' conftest.
$ac_ext >&5
41505 wx_cv_type_pthread_rec_mutex_init
=no
41510 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41513 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41514 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41515 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41516 cat >>confdefs.h
<<\_ACEOF
41517 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41521 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41522 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41526 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41527 if test "$USE_NETBSD" = 1; then
41528 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41529 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41530 wxUSE_COMPILER_TLS
=no
41532 wxUSE_COMPILER_TLS
=yes
41536 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41537 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41538 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41539 if test "${wx_cv_cc___thread+set}" = set; then
41540 echo $ECHO_N "(cached) $ECHO_C" >&6
41543 cat >conftest.
$ac_ext <<_ACEOF
41546 cat confdefs.h
>>conftest.
$ac_ext
41547 cat >>conftest.
$ac_ext <<_ACEOF
41548 /* end confdefs.h. */
41549 #include <pthread.h>
41554 static __thread int n = 0;
41555 static __thread int *p = 0;
41561 rm -f conftest.
$ac_objext
41562 if { (ac_try
="$ac_compile"
41563 case "(($ac_try" in
41564 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41565 *) ac_try_echo=$ac_try;;
41567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41568 (eval "$ac_compile") 2>conftest.er1
41570 grep -v '^ *+' conftest.er1 >conftest.err
41572 cat conftest.err >&5
41573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41574 (exit $ac_status); } && {
41575 test -z "$ac_c_werror_flag" ||
41576 test ! -s conftest.err
41577 } && test -s conftest.$ac_objext; then
41578 wx_cv_cc___thread=yes
41580 echo "$as_me: failed program was:" >&5
41581 sed 's/^/| /' conftest.$ac_ext >&5
41583 wx_cv_cc___thread=no
41587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41591 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41592 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41594 if test "$wx_cv_cc___thread" = "yes"; then
41600 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41601 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41603 if test "x$GCC" = "xyes" ; then
41605 if test -z "" ; then
41607 ax_gcc_option_test="int main()
41614 ax_gcc_option_test=""
41619 # Dump the test program to file
41620 cat <<EOF > conftest.c
41621 $ax_gcc_option_test
41624 # Dump back the file to the log, useful for debugging purposes
41625 { ac_try='cat conftest.c 1>&5'
41626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41627 (eval $ac_try) 2>&5
41629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41630 (exit $ac_status); }; }
41632 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41634 (eval $ac_try) 2>&5
41636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41637 (exit $ac_status); }; } ; then
41639 { echo "$as_me:$LINENO: result: yes" >&5
41640 echo "${ECHO_T}yes" >&6; }
41642 ax_gcc_version_option=yes
41647 { echo "$as_me:$LINENO: result: no" >&5
41648 echo "${ECHO_T}no" >&6; }
41650 ax_gcc_version_option=no
41658 { echo "$as_me:$LINENO: result: no gcc available" >&5
41659 echo "${ECHO_T}no gcc available" >&6; }
41664 if test "x$GXX" = "xyes"; then
41666 if test "x$ax_gxx_version_option" != "no"; then
41668 { echo "$as_me:$LINENO: checking gxx version" >&5
41669 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41670 if test "${ax_cv_gxx_version+set}" = set; then
41671 echo $ECHO_N "(cached) $ECHO_C" >&6
41674 ax_cv_gxx_version="`$CXX -dumpversion`"
41675 if test "x$ax_cv_gxx_version" = "x"; then
41677 ax_cv_gxx_version=""
41683 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41684 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41685 GXX_VERSION=$ax_cv_gxx_version
41694 if test -n "$ax_cv_gxx_version"; then
41695 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41696 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41697 case "$ax_cv_gxx_version" in
41699 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41700 echo "${ECHO_T}no, it's broken" >&6; }
41701 wx_cv_cc___thread=no
41704 { echo "$as_me:$LINENO: result: yes, it works" >&5
41705 echo "${ECHO_T}yes, it works" >&6; }
41711 if test "$wx_cv_cc___thread" = "yes"; then
41712 cat >>confdefs.h <<\_ACEOF
41713 #define HAVE___THREAD_KEYWORD 1
41721 if test "$wxUSE_THREADS" = "yes" ; then
41723 x86_64-*-mingw32* )
41726 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41727 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41728 if test "${wx_cv_cflags_mthread+set}" = set; then
41729 echo $ECHO_N "(cached) $ECHO_C" >&6
41732 CFLAGS_OLD="$CFLAGS"
41733 CFLAGS="-mthreads $CFLAGS"
41734 cat >conftest.$ac_ext <<_ACEOF
41737 cat confdefs.h >>conftest.$ac_ext
41738 cat >>conftest.$ac_ext <<_ACEOF
41739 /* end confdefs.h. */
41749 rm -f conftest.$ac_objext
41750 if { (ac_try="$ac_compile"
41751 case "(($ac_try" in
41752 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41753 *) ac_try_echo
=$ac_try;;
41755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41756 (eval "$ac_compile") 2>conftest.er1
41758 grep -v '^ *+' conftest.er1
>conftest.err
41760 cat conftest.err
>&5
41761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41762 (exit $ac_status); } && {
41763 test -z "$ac_c_werror_flag" ||
41764 test ! -s conftest.err
41765 } && test -s conftest.
$ac_objext; then
41766 wx_cv_cflags_mthread
=yes
41768 echo "$as_me: failed program was:" >&5
41769 sed 's/^/| /' conftest.
$ac_ext >&5
41771 wx_cv_cflags_mthread
=no
41775 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41779 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41780 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41782 if test "$wx_cv_cflags_mthread" = "yes"; then
41783 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
41784 LDFLAGS
="$LDFLAGS -mthreads"
41786 CFLAGS
="$CFLAGS_OLD"
41790 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41791 LDFLAGS
="$LDFLAGS -Zmt"
41797 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41798 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41799 if test "${ac_cv_func_localtime_r+set}" = set; then
41800 echo $ECHO_N "(cached) $ECHO_C" >&6
41802 cat >conftest.
$ac_ext <<_ACEOF
41805 cat confdefs.h
>>conftest.
$ac_ext
41806 cat >>conftest.
$ac_ext <<_ACEOF
41807 /* end confdefs.h. */
41808 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41810 #define localtime_r innocuous_localtime_r
41812 /* System header to define __stub macros and hopefully few prototypes,
41813 which can conflict with char localtime_r (); below.
41814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41815 <limits.h> exists even on freestanding compilers. */
41818 # include <limits.h>
41820 # include <assert.h>
41825 /* Override any GCC internal prototype to avoid an error.
41826 Use char because int might match the return type of a GCC
41827 builtin and then its argument prototype would still apply. */
41831 char localtime_r ();
41832 /* The GNU C library defines this for functions which it implements
41833 to always fail with ENOSYS. Some functions are actually named
41834 something starting with __ and the normal name is an alias. */
41835 #if defined __stub_localtime_r || defined __stub___localtime_r
41842 return localtime_r ();
41847 rm -f conftest.
$ac_objext conftest
$ac_exeext
41848 if { (ac_try
="$ac_link"
41849 case "(($ac_try" in
41850 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41851 *) ac_try_echo=$ac_try;;
41853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41854 (eval "$ac_link") 2>conftest.er1
41856 grep -v '^ *+' conftest.er1 >conftest.err
41858 cat conftest.err >&5
41859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41860 (exit $ac_status); } && {
41861 test -z "$ac_c_werror_flag" ||
41862 test ! -s conftest.err
41863 } && test -s conftest$ac_exeext &&
41864 $as_test_x conftest$ac_exeext; then
41865 ac_cv_func_localtime_r=yes
41867 echo "$as_me: failed program was:" >&5
41868 sed 's/^/| /' conftest.$ac_ext >&5
41870 ac_cv_func_localtime_r=no
41873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41874 conftest$ac_exeext conftest.$ac_ext
41876 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41877 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
41878 if test $ac_cv_func_localtime_r = yes; then
41879 cat >>confdefs.h <<\_ACEOF
41880 #define HAVE_LOCALTIME_R 1
41885 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
41886 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
41887 if test "${ac_cv_func_gmtime_r+set}" = set; then
41888 echo $ECHO_N "(cached) $ECHO_C" >&6
41890 cat >conftest.$ac_ext <<_ACEOF
41893 cat confdefs.h >>conftest.$ac_ext
41894 cat >>conftest.$ac_ext <<_ACEOF
41895 /* end confdefs.h. */
41896 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41898 #define gmtime_r innocuous_gmtime_r
41900 /* System header to define __stub macros and hopefully few prototypes,
41901 which can conflict with char gmtime_r (); below.
41902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41903 <limits.h> exists even on freestanding compilers. */
41906 # include <limits.h>
41908 # include <assert.h>
41913 /* Override any GCC internal prototype to avoid an error.
41914 Use char because int might match the return type of a GCC
41915 builtin and then its argument prototype would still apply. */
41920 /* The GNU C library defines this for functions which it implements
41921 to always fail with ENOSYS. Some functions are actually named
41922 something starting with __ and the normal name is an alias. */
41923 #if defined __stub_gmtime_r || defined __stub___gmtime_r
41930 return gmtime_r ();
41935 rm -f conftest.$ac_objext conftest$ac_exeext
41936 if { (ac_try="$ac_link"
41937 case "(($ac_try" in
41938 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41939 *) ac_try_echo
=$ac_try;;
41941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41942 (eval "$ac_link") 2>conftest.er1
41944 grep -v '^ *+' conftest.er1
>conftest.err
41946 cat conftest.err
>&5
41947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41948 (exit $ac_status); } && {
41949 test -z "$ac_c_werror_flag" ||
41950 test ! -s conftest.err
41951 } && test -s conftest
$ac_exeext &&
41952 $as_test_x conftest
$ac_exeext; then
41953 ac_cv_func_gmtime_r
=yes
41955 echo "$as_me: failed program was:" >&5
41956 sed 's/^/| /' conftest.
$ac_ext >&5
41958 ac_cv_func_gmtime_r
=no
41961 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41962 conftest
$ac_exeext conftest.
$ac_ext
41964 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41965 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41966 if test $ac_cv_func_gmtime_r = yes; then
41967 cat >>confdefs.h
<<\_ACEOF
41968 #define HAVE_GMTIME_R 1
41977 ac_cpp
='$CPP $CPPFLAGS'
41978 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41979 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41980 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41982 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41983 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41985 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41986 echo $ECHO_N "(cached) $ECHO_C" >&6
41990 ################################################################
41992 ac_cv_func_which_gethostbyname_r
=unknown
41995 # ONE ARGUMENT (sanity check)
41998 # This should fail, as there is no variant of gethostbyname_r() that takes
41999 # a single argument. If it actually compiles, then we can assume that
42000 # netdb.h is not declaring the function, and the compiler is thereby
42001 # assuming an implicit prototype. In which case, we're out of luck.
42003 cat >conftest.
$ac_ext <<_ACEOF
42006 cat confdefs.h
>>conftest.
$ac_ext
42007 cat >>conftest.
$ac_ext <<_ACEOF
42008 /* end confdefs.h. */
42014 char *name = "www.gnu.org";
42015 (void)gethostbyname_r(name) /* ; */
42021 rm -f conftest.
$ac_objext
42022 if { (ac_try
="$ac_compile"
42023 case "(($ac_try" in
42024 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42025 *) ac_try_echo=$ac_try;;
42027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42028 (eval "$ac_compile") 2>conftest.er1
42030 grep -v '^ *+' conftest.er1 >conftest.err
42032 cat conftest.err >&5
42033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42034 (exit $ac_status); } && {
42035 test -z "$ac_c_werror_flag" ||
42036 test ! -s conftest.err
42037 } && test -s conftest.$ac_objext; then
42038 ac_cv_func_which_gethostbyname_r=no
42040 echo "$as_me: failed program was:" >&5
42041 sed 's/^/| /' conftest.$ac_ext >&5
42046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42053 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42055 cat >conftest.$ac_ext <<_ACEOF
42058 cat confdefs.h >>conftest.$ac_ext
42059 cat >>conftest.$ac_ext <<_ACEOF
42060 /* end confdefs.h. */
42066 char *name = "www.gnu.org";
42067 struct hostent ret, *retp;
42071 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42077 rm -f conftest.$ac_objext
42078 if { (ac_try="$ac_compile"
42079 case "(($ac_try" in
42080 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42081 *) ac_try_echo
=$ac_try;;
42083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42084 (eval "$ac_compile") 2>conftest.er1
42086 grep -v '^ *+' conftest.er1
>conftest.err
42088 cat conftest.err
>&5
42089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42090 (exit $ac_status); } && {
42091 test -z "$ac_c_werror_flag" ||
42092 test ! -s conftest.err
42093 } && test -s conftest.
$ac_objext; then
42094 ac_cv_func_which_gethostbyname_r
=six
42096 echo "$as_me: failed program was:" >&5
42097 sed 's/^/| /' conftest.
$ac_ext >&5
42102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42111 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42113 cat >conftest.
$ac_ext <<_ACEOF
42116 cat confdefs.h
>>conftest.
$ac_ext
42117 cat >>conftest.
$ac_ext <<_ACEOF
42118 /* end confdefs.h. */
42124 char *name = "www.gnu.org";
42125 struct hostent ret;
42129 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42135 rm -f conftest.
$ac_objext
42136 if { (ac_try
="$ac_compile"
42137 case "(($ac_try" in
42138 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42139 *) ac_try_echo=$ac_try;;
42141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42142 (eval "$ac_compile") 2>conftest.er1
42144 grep -v '^ *+' conftest.er1 >conftest.err
42146 cat conftest.err >&5
42147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42148 (exit $ac_status); } && {
42149 test -z "$ac_c_werror_flag" ||
42150 test ! -s conftest.err
42151 } && test -s conftest.$ac_objext; then
42152 ac_cv_func_which_gethostbyname_r=five
42154 echo "$as_me: failed program was:" >&5
42155 sed 's/^/| /' conftest.$ac_ext >&5
42160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42166 # (e.g. AIX, HP-UX, Tru64)
42169 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42171 cat >conftest.$ac_ext <<_ACEOF
42174 cat confdefs.h >>conftest.$ac_ext
42175 cat >>conftest.$ac_ext <<_ACEOF
42176 /* end confdefs.h. */
42182 char *name = "www.gnu.org";
42183 struct hostent ret;
42184 struct hostent_data data;
42185 (void)gethostbyname_r(name, &ret, &data) /* ; */
42191 rm -f conftest.$ac_objext
42192 if { (ac_try="$ac_compile"
42193 case "(($ac_try" in
42194 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42195 *) ac_try_echo
=$ac_try;;
42197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42198 (eval "$ac_compile") 2>conftest.er1
42200 grep -v '^ *+' conftest.er1
>conftest.err
42202 cat conftest.err
>&5
42203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42204 (exit $ac_status); } && {
42205 test -z "$ac_c_werror_flag" ||
42206 test ! -s conftest.err
42207 } && test -s conftest.
$ac_objext; then
42208 ac_cv_func_which_gethostbyname_r
=three
42210 echo "$as_me: failed program was:" >&5
42211 sed 's/^/| /' conftest.
$ac_ext >&5
42216 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42220 ################################################################
42225 case "$ac_cv_func_which_gethostbyname_r" in
42227 { echo "$as_me:$LINENO: result: three" >&5
42228 echo "${ECHO_T}three" >&6; }
42229 cat >>confdefs.h
<<\_ACEOF
42230 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42236 { echo "$as_me:$LINENO: result: five" >&5
42237 echo "${ECHO_T}five" >&6; }
42238 cat >>confdefs.h
<<\_ACEOF
42239 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42245 { echo "$as_me:$LINENO: result: six" >&5
42246 echo "${ECHO_T}six" >&6; }
42247 cat >>confdefs.h
<<\_ACEOF
42248 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42254 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42255 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42259 { echo "$as_me:$LINENO: result: can't tell" >&5
42260 echo "${ECHO_T}can't tell" >&6; }
42264 { { echo "$as_me:$LINENO: error: internal error" >&5
42265 echo "$as_me: error: internal error" >&2;}
42266 { (exit 1); exit 1; }; }
42271 ac_cpp
='$CPP $CPPFLAGS'
42272 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42273 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42274 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42278 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42279 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42280 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42281 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42282 if test "${ac_cv_func_gethostbyname+set}" = set; then
42283 echo $ECHO_N "(cached) $ECHO_C" >&6
42285 cat >conftest.
$ac_ext <<_ACEOF
42288 cat confdefs.h
>>conftest.
$ac_ext
42289 cat >>conftest.
$ac_ext <<_ACEOF
42290 /* end confdefs.h. */
42291 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42293 #define gethostbyname innocuous_gethostbyname
42295 /* System header to define __stub macros and hopefully few prototypes,
42296 which can conflict with char gethostbyname (); below.
42297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42298 <limits.h> exists even on freestanding compilers. */
42301 # include <limits.h>
42303 # include <assert.h>
42306 #undef gethostbyname
42308 /* Override any GCC internal prototype to avoid an error.
42309 Use char because int might match the return type of a GCC
42310 builtin and then its argument prototype would still apply. */
42314 char gethostbyname ();
42315 /* The GNU C library defines this for functions which it implements
42316 to always fail with ENOSYS. Some functions are actually named
42317 something starting with __ and the normal name is an alias. */
42318 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42325 return gethostbyname ();
42330 rm -f conftest.
$ac_objext conftest
$ac_exeext
42331 if { (ac_try
="$ac_link"
42332 case "(($ac_try" in
42333 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42334 *) ac_try_echo=$ac_try;;
42336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42337 (eval "$ac_link") 2>conftest.er1
42339 grep -v '^ *+' conftest.er1 >conftest.err
42341 cat conftest.err >&5
42342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42343 (exit $ac_status); } && {
42344 test -z "$ac_c_werror_flag" ||
42345 test ! -s conftest.err
42346 } && test -s conftest$ac_exeext &&
42347 $as_test_x conftest$ac_exeext; then
42348 ac_cv_func_gethostbyname=yes
42350 echo "$as_me: failed program was:" >&5
42351 sed 's/^/| /' conftest.$ac_ext >&5
42353 ac_cv_func_gethostbyname=no
42356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42357 conftest$ac_exeext conftest.$ac_ext
42359 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42360 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42361 if test $ac_cv_func_gethostbyname = yes; then
42362 cat >>confdefs.h <<\_ACEOF
42363 #define HAVE_GETHOSTBYNAME 1
42370 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42371 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42372 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42373 echo $ECHO_N "(cached) $ECHO_C" >&6
42377 ac_cpp='$CXXCPP $CPPFLAGS'
42378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42383 cat >conftest.$ac_ext <<_ACEOF
42386 cat confdefs.h >>conftest.$ac_ext
42387 cat >>conftest.$ac_ext <<_ACEOF
42388 /* end confdefs.h. */
42396 struct servent *se, *res;
42399 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42405 rm -f conftest.$ac_objext
42406 if { (ac_try="$ac_compile"
42407 case "(($ac_try" in
42408 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42409 *) ac_try_echo
=$ac_try;;
42411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42412 (eval "$ac_compile") 2>conftest.er1
42414 grep -v '^ *+' conftest.er1
>conftest.err
42416 cat conftest.err
>&5
42417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42418 (exit $ac_status); } && {
42419 test -z "$ac_cxx_werror_flag" ||
42420 test ! -s conftest.err
42421 } && test -s conftest.
$ac_objext; then
42422 ac_cv_func_which_getservbyname_r
=six
42424 echo "$as_me: failed program was:" >&5
42425 sed 's/^/| /' conftest.
$ac_ext >&5
42428 cat >conftest.
$ac_ext <<_ACEOF
42431 cat confdefs.h
>>conftest.
$ac_ext
42432 cat >>conftest.
$ac_ext <<_ACEOF
42433 /* end confdefs.h. */
42441 struct servent *se;
42444 (void) getservbyname_r(name, proto, se, buffer, buflen)
42450 rm -f conftest.
$ac_objext
42451 if { (ac_try
="$ac_compile"
42452 case "(($ac_try" in
42453 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42454 *) ac_try_echo=$ac_try;;
42456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42457 (eval "$ac_compile") 2>conftest.er1
42459 grep -v '^ *+' conftest.er1 >conftest.err
42461 cat conftest.err >&5
42462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42463 (exit $ac_status); } && {
42464 test -z "$ac_cxx_werror_flag" ||
42465 test ! -s conftest.err
42466 } && test -s conftest.$ac_objext; then
42467 ac_cv_func_which_getservbyname_r=five
42469 echo "$as_me: failed program was:" >&5
42470 sed 's/^/| /' conftest.$ac_ext >&5
42473 cat >conftest.$ac_ext <<_ACEOF
42476 cat confdefs.h >>conftest.$ac_ext
42477 cat >>conftest.$ac_ext <<_ACEOF
42478 /* end confdefs.h. */
42486 struct servent *se;
42487 struct servent_data data;
42488 (void) getservbyname_r(name, proto, se, &data);
42494 rm -f conftest.$ac_objext
42495 if { (ac_try="$ac_compile"
42496 case "(($ac_try" in
42497 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42498 *) ac_try_echo
=$ac_try;;
42500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42501 (eval "$ac_compile") 2>conftest.er1
42503 grep -v '^ *+' conftest.er1
>conftest.err
42505 cat conftest.err
>&5
42506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42507 (exit $ac_status); } && {
42508 test -z "$ac_cxx_werror_flag" ||
42509 test ! -s conftest.err
42510 } && test -s conftest.
$ac_objext; then
42511 ac_cv_func_which_getservbyname_r
=four
42513 echo "$as_me: failed program was:" >&5
42514 sed 's/^/| /' conftest.
$ac_ext >&5
42516 ac_cv_func_which_getservbyname_r
=no
42520 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42525 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42530 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42532 ac_cpp
='$CPP $CPPFLAGS'
42533 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42534 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42535 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42540 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42541 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42543 if test $ac_cv_func_which_getservbyname_r = six
; then
42544 cat >>confdefs.h
<<\_ACEOF
42545 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42548 elif test $ac_cv_func_which_getservbyname_r = five
; then
42549 cat >>confdefs.h
<<\_ACEOF
42550 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42553 elif test $ac_cv_func_which_getservbyname_r = four
; then
42554 cat >>confdefs.h
<<\_ACEOF
42555 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42561 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42562 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42564 for ac_func
in getservbyname
42566 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42567 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42569 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42570 echo $ECHO_N "(cached) $ECHO_C" >&6
42572 cat >conftest.
$ac_ext <<_ACEOF
42575 cat confdefs.h
>>conftest.
$ac_ext
42576 cat >>conftest.
$ac_ext <<_ACEOF
42577 /* end confdefs.h. */
42578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42580 #define $ac_func innocuous_$ac_func
42582 /* System header to define __stub macros and hopefully few prototypes,
42583 which can conflict with char $ac_func (); below.
42584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42585 <limits.h> exists even on freestanding compilers. */
42588 # include <limits.h>
42590 # include <assert.h>
42595 /* Override any GCC internal prototype to avoid an error.
42596 Use char because int might match the return type of a GCC
42597 builtin and then its argument prototype would still apply. */
42602 /* The GNU C library defines this for functions which it implements
42603 to always fail with ENOSYS. Some functions are actually named
42604 something starting with __ and the normal name is an alias. */
42605 #if defined __stub_$ac_func || defined __stub___$ac_func
42612 return $ac_func ();
42617 rm -f conftest.
$ac_objext conftest
$ac_exeext
42618 if { (ac_try
="$ac_link"
42619 case "(($ac_try" in
42620 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42621 *) ac_try_echo=$ac_try;;
42623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42624 (eval "$ac_link") 2>conftest.er1
42626 grep -v '^ *+' conftest.er1 >conftest.err
42628 cat conftest.err >&5
42629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42630 (exit $ac_status); } && {
42631 test -z "$ac_c_werror_flag" ||
42632 test ! -s conftest.err
42633 } && test -s conftest$ac_exeext &&
42634 $as_test_x conftest$ac_exeext; then
42635 eval "$as_ac_var=yes"
42637 echo "$as_me: failed program was:" >&5
42638 sed 's/^/| /' conftest.$ac_ext >&5
42640 eval "$as_ac_var=no"
42643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42644 conftest$ac_exeext conftest.$ac_ext
42646 ac_res=`eval echo '${'$as_ac_var'}'`
42647 { echo "$as_me:$LINENO: result: $ac_res" >&5
42648 echo "${ECHO_T}$ac_res" >&6; }
42649 if test `eval echo '${'$as_ac_var'}'` = yes; then
42650 cat >>confdefs.h <<_ACEOF
42651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42653 cat >>confdefs.h <<\_ACEOF
42654 #define HAVE_GETSERVBYNAME 1
42662 if test "$wxUSE_THREADS" = "yes"; then
42663 cat >>confdefs.h <<\_ACEOF
42664 #define wxUSE_THREADS 1
42668 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42670 if test "$wx_cv_func_strtok_r" = "yes"; then
42671 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42672 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42673 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42674 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42675 { echo "$as_me:$LINENO: result: yes" >&5
42676 echo "${ECHO_T}yes" >&6; }
42678 { echo "$as_me:$LINENO: result: no" >&5
42679 echo "${ECHO_T}no" >&6; }
42684 if test "$WXGTK2" = 1 ; then
42685 cat >>confdefs.h <<_ACEOF
42686 #define __WXGTK20__ $WXGTK2
42692 if test "$WXGTK12" = 1 ; then
42693 cat >>confdefs.h <<_ACEOF
42694 #define __WXGTK12__ $WXGTK12
42699 if test "$WXGTK127" = 1 ; then
42700 cat >>confdefs.h <<_ACEOF
42701 #define __WXGTK127__ $WXGTK127
42706 if test "$WXGPE" = 1 ; then
42707 cat >>confdefs.h <<_ACEOF
42708 #define __WXGPE__ $WXGPE
42714 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev
/null
`; then
42715 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42716 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42717 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42721 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42722 wxUSE_DEBUG_INFO=yes
42723 if test "$GCC" = yes; then
42724 DEBUG_CFLAGS="-ggdb"
42728 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42729 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
42731 if test "$wxUSE_GTK" = 1 ; then
42732 if test "x$wxGTK_VERSION" = "x1" ; then
42733 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42738 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42739 cat >>confdefs.h <<\_ACEOF
42740 #define wxUSE_MEMORY_TRACING 1
42743 cat >>confdefs.h <<\_ACEOF
42744 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42747 cat >>confdefs.h <<\_ACEOF
42748 #define wxUSE_DEBUG_NEW_ALWAYS 1
42751 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42754 if test "$wxUSE_DMALLOC" = "yes" ; then
42755 DMALLOC_LIBS="-ldmallocthcxx"
42759 if test "$wxUSE_PROFILE" = "yes" ; then
42760 PROFILE_FLAGS=" -pg"
42763 if test "$GCC" = "yes" ; then
42764 if test "$wxUSE_NO_RTTI" = "yes" ; then
42765 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
42767 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42768 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42770 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42771 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42776 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42779 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42785 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev
/null
`; then
42786 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42787 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42789 if test "$wxUSE_OPTIMISE" = "no" ; then
42790 if test "$GCC" = yes ; then
42791 OPTIMISE_CFLAGS="-O0"
42794 if test "$GCC" = yes ; then
42796 *-pc-os2_emx | *-pc-os2-emx )
42797 OPTIMISE_CFLAGS="-O2"
42800 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42804 OPTIMISE_CFLAGS="-O"
42810 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42811 cat >>confdefs.h <<\_ACEOF
42812 #define WXWIN_COMPATIBILITY_2_6 1
42816 WXWIN_COMPATIBILITY_2_8="yes"
42819 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42820 cat >>confdefs.h <<\_ACEOF
42821 #define WXWIN_COMPATIBILITY_2_8 1
42827 if test "$wxUSE_GUI" = "yes"; then
42828 cat >>confdefs.h <<\_ACEOF
42829 #define wxUSE_GUI 1
42836 if test "$wxUSE_UNIX" = "yes"; then
42837 cat >>confdefs.h <<\_ACEOF
42838 #define wxUSE_UNIX 1
42844 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42848 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42849 if test "$USE_DOS" = 1; then
42853 for ac_func in dlopen
42855 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42856 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42858 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42859 echo $ECHO_N "(cached) $ECHO_C" >&6
42861 cat >conftest.$ac_ext <<_ACEOF
42864 cat confdefs.h >>conftest.$ac_ext
42865 cat >>conftest.$ac_ext <<_ACEOF
42866 /* end confdefs.h. */
42867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42869 #define $ac_func innocuous_$ac_func
42871 /* System header to define __stub macros and hopefully few prototypes,
42872 which can conflict with char $ac_func (); below.
42873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42874 <limits.h> exists even on freestanding compilers. */
42877 # include <limits.h>
42879 # include <assert.h>
42884 /* Override any GCC internal prototype to avoid an error.
42885 Use char because int might match the return type of a GCC
42886 builtin and then its argument prototype would still apply. */
42891 /* The GNU C library defines this for functions which it implements
42892 to always fail with ENOSYS. Some functions are actually named
42893 something starting with __ and the normal name is an alias. */
42894 #if defined __stub_$ac_func || defined __stub___$ac_func
42901 return $ac_func ();
42906 rm -f conftest.$ac_objext conftest$ac_exeext
42907 if { (ac_try="$ac_link"
42908 case "(($ac_try" in
42909 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42910 *) ac_try_echo
=$ac_try;;
42912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42913 (eval "$ac_link") 2>conftest.er1
42915 grep -v '^ *+' conftest.er1
>conftest.err
42917 cat conftest.err
>&5
42918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42919 (exit $ac_status); } && {
42920 test -z "$ac_c_werror_flag" ||
42921 test ! -s conftest.err
42922 } && test -s conftest
$ac_exeext &&
42923 $as_test_x conftest
$ac_exeext; then
42924 eval "$as_ac_var=yes"
42926 echo "$as_me: failed program was:" >&5
42927 sed 's/^/| /' conftest.
$ac_ext >&5
42929 eval "$as_ac_var=no"
42932 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42933 conftest
$ac_exeext conftest.
$ac_ext
42935 ac_res
=`eval echo '${'$as_ac_var'}'`
42936 { echo "$as_me:$LINENO: result: $ac_res" >&5
42937 echo "${ECHO_T}$ac_res" >&6; }
42938 if test `eval echo '${'$as_ac_var'}'` = yes; then
42939 cat >>confdefs.h
<<_ACEOF
42940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42943 cat >>confdefs.h
<<\_ACEOF
42944 #define HAVE_DLOPEN 1
42951 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42952 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
42953 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42954 echo $ECHO_N "(cached) $ECHO_C" >&6
42956 ac_check_lib_save_LIBS
=$LIBS
42958 cat >conftest.
$ac_ext <<_ACEOF
42961 cat confdefs.h
>>conftest.
$ac_ext
42962 cat >>conftest.
$ac_ext <<_ACEOF
42963 /* end confdefs.h. */
42965 /* Override any GCC internal prototype to avoid an error.
42966 Use char because int might match the return type of a GCC
42967 builtin and then its argument prototype would still apply. */
42980 rm -f conftest.
$ac_objext conftest
$ac_exeext
42981 if { (ac_try
="$ac_link"
42982 case "(($ac_try" in
42983 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42984 *) ac_try_echo=$ac_try;;
42986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42987 (eval "$ac_link") 2>conftest.er1
42989 grep -v '^ *+' conftest.er1 >conftest.err
42991 cat conftest.err >&5
42992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42993 (exit $ac_status); } && {
42994 test -z "$ac_c_werror_flag" ||
42995 test ! -s conftest.err
42996 } && test -s conftest$ac_exeext &&
42997 $as_test_x conftest$ac_exeext; then
42998 ac_cv_lib_dl_dlopen=yes
43000 echo "$as_me: failed program was:" >&5
43001 sed 's/^/| /' conftest.$ac_ext >&5
43003 ac_cv_lib_dl_dlopen=no
43006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43007 conftest$ac_exeext conftest.$ac_ext
43008 LIBS=$ac_check_lib_save_LIBS
43010 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43011 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43012 if test $ac_cv_lib_dl_dlopen = yes; then
43014 cat >>confdefs.h <<\_ACEOF
43015 #define HAVE_DLOPEN 1
43019 DL_LINK=" -ldl$DL_LINK"
43024 for ac_func in shl_load
43026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43027 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43029 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43030 echo $ECHO_N "(cached) $ECHO_C" >&6
43032 cat >conftest.$ac_ext <<_ACEOF
43035 cat confdefs.h >>conftest.$ac_ext
43036 cat >>conftest.$ac_ext <<_ACEOF
43037 /* end confdefs.h. */
43038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43040 #define $ac_func innocuous_$ac_func
43042 /* System header to define __stub macros and hopefully few prototypes,
43043 which can conflict with char $ac_func (); below.
43044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43045 <limits.h> exists even on freestanding compilers. */
43048 # include <limits.h>
43050 # include <assert.h>
43055 /* Override any GCC internal prototype to avoid an error.
43056 Use char because int might match the return type of a GCC
43057 builtin and then its argument prototype would still apply. */
43062 /* The GNU C library defines this for functions which it implements
43063 to always fail with ENOSYS. Some functions are actually named
43064 something starting with __ and the normal name is an alias. */
43065 #if defined __stub_$ac_func || defined __stub___$ac_func
43072 return $ac_func ();
43077 rm -f conftest.$ac_objext conftest$ac_exeext
43078 if { (ac_try="$ac_link"
43079 case "(($ac_try" in
43080 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43081 *) ac_try_echo
=$ac_try;;
43083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43084 (eval "$ac_link") 2>conftest.er1
43086 grep -v '^ *+' conftest.er1
>conftest.err
43088 cat conftest.err
>&5
43089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43090 (exit $ac_status); } && {
43091 test -z "$ac_c_werror_flag" ||
43092 test ! -s conftest.err
43093 } && test -s conftest
$ac_exeext &&
43094 $as_test_x conftest
$ac_exeext; then
43095 eval "$as_ac_var=yes"
43097 echo "$as_me: failed program was:" >&5
43098 sed 's/^/| /' conftest.
$ac_ext >&5
43100 eval "$as_ac_var=no"
43103 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43104 conftest
$ac_exeext conftest.
$ac_ext
43106 ac_res
=`eval echo '${'$as_ac_var'}'`
43107 { echo "$as_me:$LINENO: result: $ac_res" >&5
43108 echo "${ECHO_T}$ac_res" >&6; }
43109 if test `eval echo '${'$as_ac_var'}'` = yes; then
43110 cat >>confdefs.h
<<_ACEOF
43111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43114 cat >>confdefs.h
<<\_ACEOF
43115 #define HAVE_SHL_LOAD 1
43122 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43123 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43124 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43125 echo $ECHO_N "(cached) $ECHO_C" >&6
43127 ac_check_lib_save_LIBS
=$LIBS
43128 LIBS
="-lshl_load $LIBS"
43129 cat >conftest.
$ac_ext <<_ACEOF
43132 cat confdefs.h
>>conftest.
$ac_ext
43133 cat >>conftest.
$ac_ext <<_ACEOF
43134 /* end confdefs.h. */
43136 /* Override any GCC internal prototype to avoid an error.
43137 Use char because int might match the return type of a GCC
43138 builtin and then its argument prototype would still apply. */
43151 rm -f conftest.
$ac_objext conftest
$ac_exeext
43152 if { (ac_try
="$ac_link"
43153 case "(($ac_try" in
43154 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43155 *) ac_try_echo=$ac_try;;
43157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43158 (eval "$ac_link") 2>conftest.er1
43160 grep -v '^ *+' conftest.er1 >conftest.err
43162 cat conftest.err >&5
43163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43164 (exit $ac_status); } && {
43165 test -z "$ac_c_werror_flag" ||
43166 test ! -s conftest.err
43167 } && test -s conftest$ac_exeext &&
43168 $as_test_x conftest$ac_exeext; then
43169 ac_cv_lib_shl_load_dld=yes
43171 echo "$as_me: failed program was:" >&5
43172 sed 's/^/| /' conftest.$ac_ext >&5
43174 ac_cv_lib_shl_load_dld=no
43177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43178 conftest$ac_exeext conftest.$ac_ext
43179 LIBS=$ac_check_lib_save_LIBS
43181 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43182 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43183 if test $ac_cv_lib_shl_load_dld = yes; then
43186 DL_LINK=" -ldld$DL_LINK"
43202 if test "$HAVE_DL_FUNCS" = 1; then
43204 for ac_func in dlerror
43206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43207 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43209 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43210 echo $ECHO_N "(cached) $ECHO_C" >&6
43212 cat >conftest.$ac_ext <<_ACEOF
43215 cat confdefs.h >>conftest.$ac_ext
43216 cat >>conftest.$ac_ext <<_ACEOF
43217 /* end confdefs.h. */
43218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43220 #define $ac_func innocuous_$ac_func
43222 /* System header to define __stub macros and hopefully few prototypes,
43223 which can conflict with char $ac_func (); below.
43224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43225 <limits.h> exists even on freestanding compilers. */
43228 # include <limits.h>
43230 # include <assert.h>
43235 /* Override any GCC internal prototype to avoid an error.
43236 Use char because int might match the return type of a GCC
43237 builtin and then its argument prototype would still apply. */
43242 /* The GNU C library defines this for functions which it implements
43243 to always fail with ENOSYS. Some functions are actually named
43244 something starting with __ and the normal name is an alias. */
43245 #if defined __stub_$ac_func || defined __stub___$ac_func
43252 return $ac_func ();
43257 rm -f conftest.$ac_objext conftest$ac_exeext
43258 if { (ac_try="$ac_link"
43259 case "(($ac_try" in
43260 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43261 *) ac_try_echo
=$ac_try;;
43263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43264 (eval "$ac_link") 2>conftest.er1
43266 grep -v '^ *+' conftest.er1
>conftest.err
43268 cat conftest.err
>&5
43269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43270 (exit $ac_status); } && {
43271 test -z "$ac_c_werror_flag" ||
43272 test ! -s conftest.err
43273 } && test -s conftest
$ac_exeext &&
43274 $as_test_x conftest
$ac_exeext; then
43275 eval "$as_ac_var=yes"
43277 echo "$as_me: failed program was:" >&5
43278 sed 's/^/| /' conftest.
$ac_ext >&5
43280 eval "$as_ac_var=no"
43283 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43284 conftest
$ac_exeext conftest.
$ac_ext
43286 ac_res
=`eval echo '${'$as_ac_var'}'`
43287 { echo "$as_me:$LINENO: result: $ac_res" >&5
43288 echo "${ECHO_T}$ac_res" >&6; }
43289 if test `eval echo '${'$as_ac_var'}'` = yes; then
43290 cat >>confdefs.h
<<_ACEOF
43291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43293 cat >>confdefs.h
<<\_ACEOF
43294 #define HAVE_DLERROR 1
43299 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43300 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43301 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43302 echo $ECHO_N "(cached) $ECHO_C" >&6
43304 ac_check_lib_save_LIBS
=$LIBS
43306 cat >conftest.
$ac_ext <<_ACEOF
43309 cat confdefs.h
>>conftest.
$ac_ext
43310 cat >>conftest.
$ac_ext <<_ACEOF
43311 /* end confdefs.h. */
43313 /* Override any GCC internal prototype to avoid an error.
43314 Use char because int might match the return type of a GCC
43315 builtin and then its argument prototype would still apply. */
43328 rm -f conftest.
$ac_objext conftest
$ac_exeext
43329 if { (ac_try
="$ac_link"
43330 case "(($ac_try" in
43331 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43332 *) ac_try_echo=$ac_try;;
43334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43335 (eval "$ac_link") 2>conftest.er1
43337 grep -v '^ *+' conftest.er1 >conftest.err
43339 cat conftest.err >&5
43340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43341 (exit $ac_status); } && {
43342 test -z "$ac_c_werror_flag" ||
43343 test ! -s conftest.err
43344 } && test -s conftest$ac_exeext &&
43345 $as_test_x conftest$ac_exeext; then
43346 ac_cv_lib_dl_dlerror=yes
43348 echo "$as_me: failed program was:" >&5
43349 sed 's/^/| /' conftest.$ac_ext >&5
43351 ac_cv_lib_dl_dlerror=no
43354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43355 conftest$ac_exeext conftest.$ac_ext
43356 LIBS=$ac_check_lib_save_LIBS
43358 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43359 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43360 if test $ac_cv_lib_dl_dlerror = yes; then
43361 cat >>confdefs.h <<\_ACEOF
43362 #define HAVE_DLERROR 1
43375 if test "$USE_DARWIN" = 1; then
43379 if test "$HAVE_DL_FUNCS" = 0; then
43380 if test "$HAVE_SHL_FUNCS" = 0; then
43381 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43382 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43383 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43384 wxUSE_DYNAMIC_LOADER=no
43385 wxUSE_DYNLIB_CLASS=no
43387 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43388 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43395 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43396 cat >>confdefs.h <<\_ACEOF
43397 #define wxUSE_DYNAMIC_LOADER 1
43401 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43402 cat >>confdefs.h <<\_ACEOF
43403 #define wxUSE_DYNLIB_CLASS 1
43410 if test "$wxUSE_PLUGINS" = "yes" ; then
43411 if test "$wxUSE_SHARED" = "no" ; then
43412 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43413 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43416 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43417 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43418 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43421 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43422 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43423 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43426 if test "$wxUSE_PLUGINS" = "yes" ; then
43427 cat >>confdefs.h <<\_ACEOF
43428 #define wxUSE_PLUGINS 1
43435 if test "$wxUSE_FSWATCHER" = "yes"; then
43436 if test "$wxUSE_MSW" != "1"; then
43437 if test "$wxUSE_UNIX" = "yes"; then
43439 for ac_header in sys/inotify.h
43441 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43442 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43444 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43445 echo $ECHO_N "(cached) $ECHO_C" >&6
43447 cat >conftest.$ac_ext <<_ACEOF
43450 cat confdefs.h >>conftest.$ac_ext
43451 cat >>conftest.$ac_ext <<_ACEOF
43452 /* end confdefs.h. */
43453 $ac_includes_default
43455 #include <$ac_header>
43457 rm -f conftest.$ac_objext
43458 if { (ac_try="$ac_compile"
43459 case "(($ac_try" in
43460 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43461 *) ac_try_echo
=$ac_try;;
43463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43464 (eval "$ac_compile") 2>conftest.er1
43466 grep -v '^ *+' conftest.er1
>conftest.err
43468 cat conftest.err
>&5
43469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43470 (exit $ac_status); } && {
43471 test -z "$ac_c_werror_flag" ||
43472 test ! -s conftest.err
43473 } && test -s conftest.
$ac_objext; then
43474 eval "$as_ac_Header=yes"
43476 echo "$as_me: failed program was:" >&5
43477 sed 's/^/| /' conftest.
$ac_ext >&5
43479 eval "$as_ac_Header=no"
43482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43484 ac_res
=`eval echo '${'$as_ac_Header'}'`
43485 { echo "$as_me:$LINENO: result: $ac_res" >&5
43486 echo "${ECHO_T}$ac_res" >&6; }
43487 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43488 cat >>confdefs.h
<<_ACEOF
43489 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43496 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43497 cat >>confdefs.h
<<\_ACEOF
43498 #define wxHAS_INOTIFY 1
43503 for ac_header
in sys
/event.h
43505 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43506 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43508 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43509 echo $ECHO_N "(cached) $ECHO_C" >&6
43511 cat >conftest.
$ac_ext <<_ACEOF
43514 cat confdefs.h
>>conftest.
$ac_ext
43515 cat >>conftest.
$ac_ext <<_ACEOF
43516 /* end confdefs.h. */
43517 $ac_includes_default
43519 #include <$ac_header>
43521 rm -f conftest.
$ac_objext
43522 if { (ac_try
="$ac_compile"
43523 case "(($ac_try" in
43524 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43525 *) ac_try_echo=$ac_try;;
43527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43528 (eval "$ac_compile") 2>conftest.er1
43530 grep -v '^ *+' conftest.er1 >conftest.err
43532 cat conftest.err >&5
43533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43534 (exit $ac_status); } && {
43535 test -z "$ac_c_werror_flag" ||
43536 test ! -s conftest.err
43537 } && test -s conftest.$ac_objext; then
43538 eval "$as_ac_Header=yes"
43540 echo "$as_me: failed program was:" >&5
43541 sed 's/^/| /' conftest.$ac_ext >&5
43543 eval "$as_ac_Header=no"
43546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43548 ac_res=`eval echo '${'$as_ac_Header'}'`
43549 { echo "$as_me:$LINENO: result: $ac_res" >&5
43550 echo "${ECHO_T}$ac_res" >&6; }
43551 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43552 cat >>confdefs.h <<_ACEOF
43553 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43560 if test "$ac_cv_header_sys_event_h" = "yes"; then
43561 cat >>confdefs.h <<\_ACEOF
43562 #define wxHAS_KQUEUE 1
43574 if test "$wxUSE_FSWATCHER" = "yes"; then
43575 cat >>confdefs.h <<\_ACEOF
43576 #define wxUSE_FSWATCHER 1
43579 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43581 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43582 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43587 if test "$wxUSE_STL" = "yes"; then
43588 cat >>confdefs.h <<\_ACEOF
43589 #define wxUSE_STL 1
43594 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43595 cat >>confdefs.h <<\_ACEOF
43596 #define wxUSE_EXTENDED_RTTI 1
43601 if test "$wxUSE_ANY" = "yes"; then
43602 cat >>confdefs.h <<\_ACEOF
43603 #define wxUSE_ANY 1
43608 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43609 cat >>confdefs.h <<\_ACEOF
43610 #define wxUSE_APPLE_IEEE 1
43615 if test "$wxUSE_TIMER" = "yes"; then
43616 cat >>confdefs.h <<\_ACEOF
43617 #define wxUSE_TIMER 1
43622 if test "$USE_UNIX" = 1 ; then
43623 if test "$wxUSE_MGL" != 1; then
43624 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43625 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43626 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43627 echo $ECHO_N "(cached) $ECHO_C" >&6
43630 cat >conftest.$ac_ext <<_ACEOF
43633 cat confdefs.h >>conftest.$ac_ext
43634 cat >>conftest.$ac_ext <<_ACEOF
43635 /* end confdefs.h. */
43637 #include <sys/ioctl.h>
43638 #include <sys/soundcard.h>
43644 ioctl(0, SNDCTL_DSP_SPEED, 0);
43650 rm -f conftest.$ac_objext conftest$ac_exeext
43651 if { (ac_try="$ac_link"
43652 case "(($ac_try" in
43653 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43654 *) ac_try_echo
=$ac_try;;
43656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43657 (eval "$ac_link") 2>conftest.er1
43659 grep -v '^ *+' conftest.er1
>conftest.err
43661 cat conftest.err
>&5
43662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43663 (exit $ac_status); } && {
43664 test -z "$ac_c_werror_flag" ||
43665 test ! -s conftest.err
43666 } && test -s conftest
$ac_exeext &&
43667 $as_test_x conftest
$ac_exeext; then
43668 ac_cv_header_sys_soundcard
=yes
43670 echo "$as_me: failed program was:" >&5
43671 sed 's/^/| /' conftest.
$ac_ext >&5
43675 LIBS
="$saveLibs -lossaudio"
43676 cat >conftest.
$ac_ext <<_ACEOF
43679 cat confdefs.h
>>conftest.
$ac_ext
43680 cat >>conftest.
$ac_ext <<_ACEOF
43681 /* end confdefs.h. */
43683 #include <sys/ioctl.h>
43684 #include <sys/soundcard.h>
43690 ioctl(0, SNDCTL_DSP_SPEED, 0);
43696 rm -f conftest.
$ac_objext conftest
$ac_exeext
43697 if { (ac_try
="$ac_link"
43698 case "(($ac_try" in
43699 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43700 *) ac_try_echo=$ac_try;;
43702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43703 (eval "$ac_link") 2>conftest.er1
43705 grep -v '^ *+' conftest.er1 >conftest.err
43707 cat conftest.err >&5
43708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43709 (exit $ac_status); } && {
43710 test -z "$ac_c_werror_flag" ||
43711 test ! -s conftest.err
43712 } && test -s conftest$ac_exeext &&
43713 $as_test_x conftest$ac_exeext; then
43714 ac_cv_header_sys_soundcard=yes
43716 echo "$as_me: failed program was:" >&5
43717 sed 's/^/| /' conftest.$ac_ext >&5
43721 ac_cv_header_sys_soundcard=no
43726 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43727 conftest$ac_exeext conftest.$ac_ext
43732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43733 conftest$ac_exeext conftest.$ac_ext
43736 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43737 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43740 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43741 cat >>confdefs.h <<\_ACEOF
43742 #define HAVE_SYS_SOUNDCARD_H 1
43749 if test "$wxUSE_SOUND" = "yes"; then
43750 if test "$USE_UNIX" = 1 ; then
43751 if test "$wxUSE_LIBSDL" != "no"; then
43753 # Check whether --with-sdl-prefix was given.
43754 if test "${with_sdl_prefix+set}" = set; then
43755 withval=$with_sdl_prefix; sdl_prefix="$withval"
43761 # Check whether --with-sdl-exec-prefix was given.
43762 if test "${with_sdl_exec_prefix+set}" = set; then
43763 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43768 # Check whether --enable-sdltest was given.
43769 if test "${enable_sdltest+set}" = set; then
43770 enableval=$enable_sdltest;
43776 if test x$sdl_exec_prefix != x ; then
43777 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43778 if test x${SDL_CONFIG+set} != xset ; then
43779 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43782 if test x$sdl_prefix != x ; then
43783 sdl_args="$sdl_args --prefix=$sdl_prefix"
43784 if test x${SDL_CONFIG+set} != xset ; then
43785 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43789 if test "x$prefix" != xNONE; then
43790 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43792 # Extract the first word of "sdl-config", so it can be a program name with args.
43793 set dummy sdl-config; ac_word=$2
43794 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43796 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43797 echo $ECHO_N "(cached) $ECHO_C" >&6
43799 case $SDL_CONFIG in
43801 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43805 for as_dir in $PATH
43808 test -z "$as_dir" && as_dir=.
43809 for ac_exec_ext in '' $ac_executable_extensions; do
43810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43811 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43819 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43823 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43824 if test -n "$SDL_CONFIG"; then
43825 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43826 echo "${ECHO_T}$SDL_CONFIG" >&6; }
43828 { echo "$as_me:$LINENO: result: no" >&5
43829 echo "${ECHO_T}no" >&6; }
43833 min_sdl_version=1.2.0
43834 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43835 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
43837 if test "$SDL_CONFIG" = "no" ; then
43840 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43841 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43843 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43844 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43845 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43846 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43847 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43848 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43849 if test "x$enable_sdltest" = "xyes" ; then
43850 ac_save_CFLAGS="$CFLAGS"
43851 ac_save_CXXFLAGS="$CXXFLAGS"
43852 ac_save_LIBS="$LIBS"
43853 CFLAGS="$CFLAGS $SDL_CFLAGS"
43854 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43855 LIBS="$LIBS $SDL_LIBS"
43857 if test "$cross_compiling" = yes; then
43858 echo $ac_n "cross compiling; assumed OK... $ac_c"
43860 cat >conftest.$ac_ext <<_ACEOF
43863 cat confdefs.h >>conftest.$ac_ext
43864 cat >>conftest.$ac_ext <<_ACEOF
43865 /* end confdefs.h. */
43868 #include <stdlib.h>
43869 #include <string.h>
43873 my_strdup (char *str)
43879 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43880 strcpy (new_str, str);
43888 int main (int argc, char *argv[])
43890 int major, minor, micro;
43893 /* This hangs on some systems (?)
43894 system ("touch conf.sdltest");
43896 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43898 /* HP/UX 9 (%@#!) writes to sscanf strings */
43899 tmp_version = my_strdup("$min_sdl_version");
43900 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
43901 printf("%s, bad version string\n", "$min_sdl_version");
43905 if (($sdl_major_version > major) ||
43906 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43907 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43913 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43914 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43915 printf("*** best to upgrade to the required version.\n");
43916 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43917 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43918 printf("*** config.cache before re-running configure\n");
43925 rm -f conftest$ac_exeext
43926 if { (ac_try="$ac_link"
43927 case "(($ac_try" in
43928 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43929 *) ac_try_echo
=$ac_try;;
43931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43932 (eval "$ac_link") 2>&5
43934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43935 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43936 { (case "(($ac_try" in
43937 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43938 *) ac_try_echo=$ac_try;;
43940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43941 (eval "$ac_try") 2>&5
43943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43944 (exit $ac_status); }; }; then
43947 echo "$as_me: program exited with status $ac_status" >&5
43948 echo "$as_me: failed program was:" >&5
43949 sed 's/^/| /' conftest.$ac_ext >&5
43951 ( exit $ac_status )
43954 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43958 CFLAGS="$ac_save_CFLAGS"
43959 CXXFLAGS="$ac_save_CXXFLAGS"
43960 LIBS="$ac_save_LIBS"
43963 if test "x$no_sdl" = x ; then
43964 { echo "$as_me:$LINENO: result: yes" >&5
43965 echo "${ECHO_T}yes" >&6; }
43967 EXTRALIBS_SDL="$SDL_LIBS"
43968 CFLAGS="$SDL_CFLAGS $CFLAGS"
43969 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43970 cat >>confdefs.h <<\_ACEOF
43971 #define wxUSE_LIBSDL 1
43976 { echo "$as_me:$LINENO: result: no" >&5
43977 echo "${ECHO_T}no" >&6; }
43978 if test "$SDL_CONFIG" = "no" ; then
43979 echo "*** The sdl-config script installed by SDL could not be found"
43980 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43981 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43982 echo "*** full path to sdl-config."
43984 if test -f conf.sdltest ; then
43987 echo "*** Could not run SDL test program, checking why..."
43988 CFLAGS="$CFLAGS $SDL_CFLAGS"
43989 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43990 LIBS="$LIBS $SDL_LIBS"
43991 cat >conftest.$ac_ext <<_ACEOF
43994 cat confdefs.h >>conftest.$ac_ext
43995 cat >>conftest.$ac_ext <<_ACEOF
43996 /* end confdefs.h. */
44001 int main(int argc, char *argv[])
44004 #define main K_and_R_C_main
44014 rm -f conftest.$ac_objext conftest$ac_exeext
44015 if { (ac_try="$ac_link"
44016 case "(($ac_try" in
44017 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44018 *) ac_try_echo
=$ac_try;;
44020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44021 (eval "$ac_link") 2>conftest.er1
44023 grep -v '^ *+' conftest.er1
>conftest.err
44025 cat conftest.err
>&5
44026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44027 (exit $ac_status); } && {
44028 test -z "$ac_c_werror_flag" ||
44029 test ! -s conftest.err
44030 } && test -s conftest
$ac_exeext &&
44031 $as_test_x conftest
$ac_exeext; then
44032 echo "*** The test program compiled, but did not run. This usually means"
44033 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44034 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44035 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44036 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44037 echo "*** is required on your system"
44039 echo "*** If you have an old version installed, it is best to remove it, although"
44040 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44042 echo "$as_me: failed program was:" >&5
44043 sed 's/^/| /' conftest.
$ac_ext >&5
44045 echo "*** The test program failed to compile or link. See the file config.log for the"
44046 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44047 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44048 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44051 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44052 conftest
$ac_exeext conftest.
$ac_ext
44053 CFLAGS
="$ac_save_CFLAGS"
44054 CXXFLAGS
="$ac_save_CXXFLAGS"
44055 LIBS
="$ac_save_LIBS"
44066 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44071 if test "$wxUSE_MGL" = 1; then
44072 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44073 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44079 if test "$wxUSE_SOUND" = "yes"; then
44080 cat >>confdefs.h
<<\_ACEOF
44081 #define wxUSE_SOUND 1
44084 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
44087 if test "$WXGTK2" = 1; then
44090 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44091 if test -n "$ac_tool_prefix"; then
44092 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44093 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
44094 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44096 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44097 echo $ECHO_N "(cached) $ECHO_C" >&6
44099 case $PKG_CONFIG in
44101 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
44104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44105 for as_dir
in $PATH
44108 test -z "$as_dir" && as_dir
=.
44109 for ac_exec_ext
in '' $ac_executable_extensions; do
44110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44111 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44122 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
44123 if test -n "$PKG_CONFIG"; then
44124 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44125 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44127 { echo "$as_me:$LINENO: result: no" >&5
44128 echo "${ECHO_T}no" >&6; }
44133 if test -z "$ac_cv_path_PKG_CONFIG"; then
44134 ac_pt_PKG_CONFIG
=$PKG_CONFIG
44135 # Extract the first word of "pkg-config", so it can be a program name with args.
44136 set dummy pkg
-config; ac_word
=$2
44137 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44139 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44140 echo $ECHO_N "(cached) $ECHO_C" >&6
44142 case $ac_pt_PKG_CONFIG in
44144 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44148 for as_dir
in $PATH
44151 test -z "$as_dir" && as_dir
=.
44152 for ac_exec_ext
in '' $ac_executable_extensions; do
44153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44154 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44165 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
44166 if test -n "$ac_pt_PKG_CONFIG"; then
44167 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44168 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44170 { echo "$as_me:$LINENO: result: no" >&5
44171 echo "${ECHO_T}no" >&6; }
44174 if test "x$ac_pt_PKG_CONFIG" = x
; then
44177 case $cross_compiling:$ac_tool_warned in
44179 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44180 whose name does not start with the host triplet. If you think this
44181 configuration is useful to you, please write to autoconf@gnu.org." >&5
44182 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44183 whose name does not start with the host triplet. If you think this
44184 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44185 ac_tool_warned
=yes ;;
44187 PKG_CONFIG
=$ac_pt_PKG_CONFIG
44190 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
44194 if test -n "$PKG_CONFIG"; then
44195 _pkg_min_version
=0.9.0
44196 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44197 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44198 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44199 { echo "$as_me:$LINENO: result: yes" >&5
44200 echo "${ECHO_T}yes" >&6; }
44202 { echo "$as_me:$LINENO: result: no" >&5
44203 echo "${ECHO_T}no" >&6; }
44209 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44211 if test "$wxUSE_GTKPRINT" = "yes" ; then
44215 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44216 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44218 if test -n "$PKG_CONFIG"; then
44219 if test -n "$GTKPRINT_CFLAGS"; then
44220 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
44222 if test -n "$PKG_CONFIG" && \
44223 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44224 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44227 (exit $ac_status); }; then
44228 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44236 if test -n "$PKG_CONFIG"; then
44237 if test -n "$GTKPRINT_LIBS"; then
44238 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
44240 if test -n "$PKG_CONFIG" && \
44241 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44242 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44245 (exit $ac_status); }; then
44246 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44257 if test $pkg_failed = yes; then
44259 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44260 _pkg_short_errors_supported
=yes
44262 _pkg_short_errors_supported
=no
44264 if test $_pkg_short_errors_supported = yes; then
44265 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44267 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44269 # Put the nasty error message in config.log where it belongs
44270 echo "$GTKPRINT_PKG_ERRORS" >&5
44273 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44274 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44275 wxUSE_GTKPRINT
="no"
44278 elif test $pkg_failed = untried
; then
44280 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44281 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44282 wxUSE_GTKPRINT
="no"
44286 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
44287 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
44288 { echo "$as_me:$LINENO: result: yes" >&5
44289 echo "${ECHO_T}yes" >&6; }
44291 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
44292 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
44293 cat >>confdefs.h
<<\_ACEOF
44294 #define wxUSE_GTKPRINT 1
44301 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44305 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44306 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44308 if test -n "$PKG_CONFIG"; then
44309 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44310 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
44312 if test -n "$PKG_CONFIG" && \
44313 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44314 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44317 (exit $ac_status); }; then
44318 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44326 if test -n "$PKG_CONFIG"; then
44327 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44328 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
44330 if test -n "$PKG_CONFIG" && \
44331 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44332 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44335 (exit $ac_status); }; then
44336 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44347 if test $pkg_failed = yes; then
44349 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44350 _pkg_short_errors_supported
=yes
44352 _pkg_short_errors_supported
=no
44354 if test $_pkg_short_errors_supported = yes; then
44355 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44357 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44359 # Put the nasty error message in config.log where it belongs
44360 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44363 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44364 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44365 wxUSE_LIBGNOMEPRINT
="no"
44368 elif test $pkg_failed = untried
; then
44370 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44371 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44372 wxUSE_LIBGNOMEPRINT
="no"
44376 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44377 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44378 { echo "$as_me:$LINENO: result: yes" >&5
44379 echo "${ECHO_T}yes" >&6; }
44381 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44382 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44383 cat >>confdefs.h
<<\_ACEOF
44384 #define wxUSE_LIBGNOMEPRINT 1
44392 if test "$wxUSE_MIMETYPE" = "yes" ; then
44393 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44397 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44398 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44400 if test -n "$PKG_CONFIG"; then
44401 if test -n "$GNOMEVFS_CFLAGS"; then
44402 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
44404 if test -n "$PKG_CONFIG" && \
44405 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44406 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44409 (exit $ac_status); }; then
44410 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44418 if test -n "$PKG_CONFIG"; then
44419 if test -n "$GNOMEVFS_LIBS"; then
44420 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
44422 if test -n "$PKG_CONFIG" && \
44423 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44424 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44427 (exit $ac_status); }; then
44428 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44439 if test $pkg_failed = yes; then
44441 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44442 _pkg_short_errors_supported
=yes
44444 _pkg_short_errors_supported
=no
44446 if test $_pkg_short_errors_supported = yes; then
44447 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44449 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44451 # Put the nasty error message in config.log where it belongs
44452 echo "$GNOMEVFS_PKG_ERRORS" >&5
44455 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44456 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44457 wxUSE_LIBGNOMEVFS
="no"
44460 elif test $pkg_failed = untried
; then
44462 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44463 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44464 wxUSE_LIBGNOMEVFS
="no"
44468 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
44469 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
44470 { echo "$as_me:$LINENO: result: yes" >&5
44471 echo "${ECHO_T}yes" >&6; }
44473 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
44474 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
44475 cat >>confdefs.h
<<\_ACEOF
44476 #define wxUSE_LIBGNOMEVFS 1
44484 if test "$wxUSE_LIBHILDON" = "yes" ; then
44487 { echo "$as_me:$LINENO: checking for HILDON" >&5
44488 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44490 if test -n "$PKG_CONFIG"; then
44491 if test -n "$HILDON_CFLAGS"; then
44492 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
44494 if test -n "$PKG_CONFIG" && \
44495 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44496 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44499 (exit $ac_status); }; then
44500 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44508 if test -n "$PKG_CONFIG"; then
44509 if test -n "$HILDON_LIBS"; then
44510 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
44512 if test -n "$PKG_CONFIG" && \
44513 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44514 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44517 (exit $ac_status); }; then
44518 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44529 if test $pkg_failed = yes; then
44531 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44532 _pkg_short_errors_supported
=yes
44534 _pkg_short_errors_supported
=no
44536 if test $_pkg_short_errors_supported = yes; then
44537 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44539 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44541 # Put the nasty error message in config.log where it belongs
44542 echo "$HILDON_PKG_ERRORS" >&5
44545 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44546 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44547 wxUSE_LIBHILDON
="no"
44551 elif test $pkg_failed = untried
; then
44553 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44554 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44555 wxUSE_LIBHILDON
="no"
44560 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
44561 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
44562 { echo "$as_me:$LINENO: result: yes" >&5
44563 echo "${ECHO_T}yes" >&6; }
44565 EXTRALIBS_HILDON
="$HILDON_LIBS"
44566 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
44567 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
44568 cat >>confdefs.h
<<\_ACEOF
44569 #define wxUSE_LIBHILDON 1
44576 if test "$ac_hildon_lgpl" = 0 ; then
44579 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44580 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44582 if test -n "$PKG_CONFIG"; then
44583 if test -n "$HILDON2_CFLAGS"; then
44584 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
44586 if test -n "$PKG_CONFIG" && \
44587 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44588 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44591 (exit $ac_status); }; then
44592 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44600 if test -n "$PKG_CONFIG"; then
44601 if test -n "$HILDON2_LIBS"; then
44602 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
44604 if test -n "$PKG_CONFIG" && \
44605 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44606 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44609 (exit $ac_status); }; then
44610 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44621 if test $pkg_failed = yes; then
44623 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44624 _pkg_short_errors_supported
=yes
44626 _pkg_short_errors_supported
=no
44628 if test $_pkg_short_errors_supported = yes; then
44629 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44631 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44633 # Put the nasty error message in config.log where it belongs
44634 echo "$HILDON2_PKG_ERRORS" >&5
44637 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44638 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44639 wxUSE_LIBHILDON2
="no"
44642 elif test $pkg_failed = untried
; then
44644 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44645 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44646 wxUSE_LIBHILDON2
="no"
44650 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
44651 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
44652 { echo "$as_me:$LINENO: result: yes" >&5
44653 echo "${ECHO_T}yes" >&6; }
44655 EXTRALIBS_HILDON
="$HILDON2_LIBS"
44656 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
44657 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
44658 cat >>confdefs.h
<<\_ACEOF
44659 #define wxUSE_LIBHILDON2 1
44668 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44669 cat >>confdefs.h
<<\_ACEOF
44670 #define wxUSE_CMDLINE_PARSER 1
44675 if test "$wxUSE_STOPWATCH" = "yes"; then
44676 cat >>confdefs.h
<<\_ACEOF
44677 #define wxUSE_STOPWATCH 1
44682 if test "$wxUSE_DATETIME" = "yes"; then
44683 cat >>confdefs.h
<<\_ACEOF
44684 #define wxUSE_DATETIME 1
44689 if test "$wxUSE_FILE" = "yes"; then
44690 cat >>confdefs.h
<<\_ACEOF
44691 #define wxUSE_FILE 1
44696 if test "$wxUSE_FFILE" = "yes"; then
44697 cat >>confdefs.h
<<\_ACEOF
44698 #define wxUSE_FFILE 1
44703 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44704 if test "$wxUSE_STREAMS" != yes; then
44705 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44706 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44707 wxUSE_ARCHIVE_STREAMS
=no
44709 cat >>confdefs.h
<<\_ACEOF
44710 #define wxUSE_ARCHIVE_STREAMS 1
44716 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44717 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44718 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44719 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44720 elif test "$wxUSE_ZLIB" = "no"; then
44721 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44722 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44724 cat >>confdefs.h
<<\_ACEOF
44725 #define wxUSE_ZIPSTREAM 1
44731 if test "$wxUSE_TARSTREAM" = "yes"; then
44732 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44733 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44734 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44736 cat >>confdefs.h
<<\_ACEOF
44737 #define wxUSE_TARSTREAM 1
44743 if test "$wxUSE_FILE_HISTORY" = "yes"; then
44744 cat >>confdefs.h
<<\_ACEOF
44745 #define wxUSE_FILE_HISTORY 1
44750 if test "$wxUSE_FILESYSTEM" = "yes"; then
44751 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
44752 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44753 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44754 wxUSE_FILESYSTEM
=no
44756 cat >>confdefs.h
<<\_ACEOF
44757 #define wxUSE_FILESYSTEM 1
44763 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44764 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44765 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44766 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44768 cat >>confdefs.h
<<\_ACEOF
44769 #define wxUSE_FS_ARCHIVE 1
44775 if test "$wxUSE_FS_ZIP" = "yes"; then
44776 if test "$wxUSE_FS_ARCHIVE" != yes; then
44777 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44778 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44780 cat >>confdefs.h
<<\_ACEOF
44781 #define wxUSE_FS_ZIP 1
44787 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44788 if test "$USE_UNIX" != 1; then
44789 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44790 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44791 wxUSE_ON_FATAL_EXCEPTION
=no
44793 cat >>confdefs.h
<<\_ACEOF
44794 #define wxUSE_ON_FATAL_EXCEPTION 1
44800 if test "$wxUSE_STACKWALKER" = "yes"; then
44801 cat >>confdefs.h
<<\_ACEOF
44802 #define wxUSE_STACKWALKER 1
44807 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44808 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
44809 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44810 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44811 wxUSE_DEBUGREPORT
=no
44813 cat >>confdefs.h
<<\_ACEOF
44814 #define wxUSE_DEBUGREPORT 1
44817 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44818 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
44823 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44824 cat >>confdefs.h
<<\_ACEOF
44825 #define wxUSE_SNGLINST_CHECKER 1
44830 if test "$wxUSE_BUSYINFO" = "yes"; then
44831 cat >>confdefs.h
<<\_ACEOF
44832 #define wxUSE_BUSYINFO 1
44837 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44838 cat >>confdefs.h
<<\_ACEOF
44839 #define wxUSE_STD_IOSTREAM 1
44844 if test "$wxUSE_STD_STRING" = "yes"; then
44845 cat >>confdefs.h
<<\_ACEOF
44846 #define wxUSE_STD_STRING 1
44851 if test "$wxUSE_STDPATHS" = "yes"; then
44852 cat >>confdefs.h
<<\_ACEOF
44853 #define wxUSE_STDPATHS 1
44858 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44859 cat >>confdefs.h
<<\_ACEOF
44860 #define wxUSE_TEXTBUFFER 1
44865 if test "$wxUSE_TEXTFILE" = "yes"; then
44866 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44867 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44868 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44870 cat >>confdefs.h
<<\_ACEOF
44871 #define wxUSE_TEXTFILE 1
44877 if test "$wxUSE_CONFIG" = "yes" ; then
44878 if test "$wxUSE_TEXTFILE" != "yes"; then
44879 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44880 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44882 cat >>confdefs.h
<<\_ACEOF
44883 #define wxUSE_CONFIG 1
44886 cat >>confdefs.h
<<\_ACEOF
44887 #define wxUSE_CONFIG_NATIVE 1
44890 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
44894 if test "$wxUSE_INTL" = "yes" ; then
44895 if test "$wxUSE_FILE" != "yes"; then
44896 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44897 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44899 cat >>confdefs.h
<<\_ACEOF
44900 #define wxUSE_INTL 1
44903 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
44904 GUIDIST
="$GUIDIST INTL_DIST"
44908 if test "$wxUSE_XLOCALE" = "yes" ; then
44909 cat >>confdefs.h
<<\_ACEOF
44910 #define wxUSE_XLOCALE 1
44913 { echo "$as_me:$LINENO: checking for locale_t" >&5
44914 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
44915 if test "${ac_cv_type_locale_t+set}" = set; then
44916 echo $ECHO_N "(cached) $ECHO_C" >&6
44918 cat >conftest.
$ac_ext <<_ACEOF
44921 cat confdefs.h
>>conftest.
$ac_ext
44922 cat >>conftest.
$ac_ext <<_ACEOF
44923 /* end confdefs.h. */
44924 #include <xlocale.h>
44925 #include <locale.h>
44927 typedef locale_t ac__type_new_;
44931 if ((ac__type_new_ *) 0)
44933 if (sizeof (ac__type_new_))
44939 rm -f conftest.
$ac_objext
44940 if { (ac_try
="$ac_compile"
44941 case "(($ac_try" in
44942 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44943 *) ac_try_echo=$ac_try;;
44945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44946 (eval "$ac_compile") 2>conftest.er1
44948 grep -v '^ *+' conftest.er1 >conftest.err
44950 cat conftest.err >&5
44951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44952 (exit $ac_status); } && {
44953 test -z "$ac_c_werror_flag" ||
44954 test ! -s conftest.err
44955 } && test -s conftest.$ac_objext; then
44956 ac_cv_type_locale_t=yes
44958 echo "$as_me: failed program was:" >&5
44959 sed 's/^/| /' conftest.$ac_ext >&5
44961 ac_cv_type_locale_t=no
44964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44966 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
44967 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
44968 if test $ac_cv_type_locale_t = yes; then
44970 cat >>confdefs.h <<_ACEOF
44971 #define HAVE_LOCALE_T 1
44979 if test "$wxUSE_LOG" = "yes"; then
44980 cat >>confdefs.h <<\_ACEOF
44981 #define wxUSE_LOG 1
44985 if test "$wxUSE_LOGGUI" = "yes"; then
44986 cat >>confdefs.h <<\_ACEOF
44987 #define wxUSE_LOGGUI 1
44992 if test "$wxUSE_LOGWINDOW" = "yes"; then
44993 cat >>confdefs.h <<\_ACEOF
44994 #define wxUSE_LOGWINDOW 1
44999 if test "$wxUSE_LOGDIALOG" = "yes"; then
45000 cat >>confdefs.h <<\_ACEOF
45001 #define wxUSE_LOG_DIALOG 1
45006 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45009 if test "$wxUSE_LONGLONG" = "yes"; then
45010 cat >>confdefs.h <<\_ACEOF
45011 #define wxUSE_LONGLONG 1
45016 if test "$wxUSE_GEOMETRY" = "yes"; then
45017 cat >>confdefs.h <<\_ACEOF
45018 #define wxUSE_GEOMETRY 1
45023 if test "$wxUSE_BASE64" = "yes"; then
45024 cat >>confdefs.h <<\_ACEOF
45025 #define wxUSE_BASE64 1
45030 if test "$wxUSE_STREAMS" = "yes" ; then
45031 cat >>confdefs.h <<\_ACEOF
45032 #define wxUSE_STREAMS 1
45037 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45038 cat >>confdefs.h <<\_ACEOF
45039 #define wxUSE_PRINTF_POS_PARAMS 1
45044 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45045 cat >>confdefs.h <<\_ACEOF
45046 #define wxUSE_OBJC_UNIQUIFYING 1
45052 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45053 cat >>confdefs.h <<\_ACEOF
45054 #define wxUSE_CONSOLE_EVENTLOOP 1
45058 if test "$wxUSE_UNIX" = "yes"; then
45059 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45060 cat >>confdefs.h <<\_ACEOF
45061 #define wxUSE_SELECT_DISPATCHER 1
45066 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45068 for ac_header in sys/epoll.h
45070 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45071 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45072 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45073 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45074 echo $ECHO_N "(cached) $ECHO_C" >&6
45076 cat >conftest.$ac_ext <<_ACEOF
45079 cat confdefs.h >>conftest.$ac_ext
45080 cat >>conftest.$ac_ext <<_ACEOF
45081 /* end confdefs.h. */
45082 $ac_includes_default
45084 #include <$ac_header>
45086 rm -f conftest.$ac_objext
45087 if { (ac_try="$ac_compile"
45088 case "(($ac_try" in
45089 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45090 *) ac_try_echo
=$ac_try;;
45092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45093 (eval "$ac_compile") 2>conftest.er1
45095 grep -v '^ *+' conftest.er1
>conftest.err
45097 cat conftest.err
>&5
45098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45099 (exit $ac_status); } && {
45100 test -z "$ac_c_werror_flag" ||
45101 test ! -s conftest.err
45102 } && test -s conftest.
$ac_objext; then
45103 eval "$as_ac_Header=yes"
45105 echo "$as_me: failed program was:" >&5
45106 sed 's/^/| /' conftest.
$ac_ext >&5
45108 eval "$as_ac_Header=no"
45111 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45113 ac_res
=`eval echo '${'$as_ac_Header'}'`
45114 { echo "$as_me:$LINENO: result: $ac_res" >&5
45115 echo "${ECHO_T}$ac_res" >&6; }
45116 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45117 cat >>confdefs.h
<<_ACEOF
45118 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45125 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45126 cat >>confdefs.h
<<\_ACEOF
45127 #define wxUSE_EPOLL_DISPATCHER 1
45131 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45132 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45141 for ac_func
in gettimeofday ftime
45143 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45144 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45146 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45147 echo $ECHO_N "(cached) $ECHO_C" >&6
45149 cat >conftest.
$ac_ext <<_ACEOF
45152 cat confdefs.h
>>conftest.
$ac_ext
45153 cat >>conftest.
$ac_ext <<_ACEOF
45154 /* end confdefs.h. */
45155 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45156 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45157 #define $ac_func innocuous_$ac_func
45159 /* System header to define __stub macros and hopefully few prototypes,
45160 which can conflict with char $ac_func (); below.
45161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45162 <limits.h> exists even on freestanding compilers. */
45165 # include <limits.h>
45167 # include <assert.h>
45172 /* Override any GCC internal prototype to avoid an error.
45173 Use char because int might match the return type of a GCC
45174 builtin and then its argument prototype would still apply. */
45179 /* The GNU C library defines this for functions which it implements
45180 to always fail with ENOSYS. Some functions are actually named
45181 something starting with __ and the normal name is an alias. */
45182 #if defined __stub_$ac_func || defined __stub___$ac_func
45189 return $ac_func ();
45194 rm -f conftest.
$ac_objext conftest
$ac_exeext
45195 if { (ac_try
="$ac_link"
45196 case "(($ac_try" in
45197 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45198 *) ac_try_echo=$ac_try;;
45200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45201 (eval "$ac_link") 2>conftest.er1
45203 grep -v '^ *+' conftest.er1 >conftest.err
45205 cat conftest.err >&5
45206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45207 (exit $ac_status); } && {
45208 test -z "$ac_c_werror_flag" ||
45209 test ! -s conftest.err
45210 } && test -s conftest$ac_exeext &&
45211 $as_test_x conftest$ac_exeext; then
45212 eval "$as_ac_var=yes"
45214 echo "$as_me: failed program was:" >&5
45215 sed 's/^/| /' conftest.$ac_ext >&5
45217 eval "$as_ac_var=no"
45220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45221 conftest$ac_exeext conftest.$ac_ext
45223 ac_res=`eval echo '${'$as_ac_var'}'`
45224 { echo "$as_me:$LINENO: result: $ac_res" >&5
45225 echo "${ECHO_T}$ac_res" >&6; }
45226 if test `eval echo '${'$as_ac_var'}'` = yes; then
45227 cat >>confdefs.h <<_ACEOF
45228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45235 if test "$ac_cv_func_gettimeofday" = "yes"; then
45236 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45237 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45238 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45239 echo $ECHO_N "(cached) $ECHO_C" >&6
45242 cat >conftest.$ac_ext <<_ACEOF
45245 cat confdefs.h >>conftest.$ac_ext
45246 cat >>conftest.$ac_ext <<_ACEOF
45247 /* end confdefs.h. */
45249 #include <sys/time.h>
45250 #include <unistd.h>
45257 gettimeofday(&tv, NULL);
45263 rm -f conftest.$ac_objext
45264 if { (ac_try="$ac_compile"
45265 case "(($ac_try" in
45266 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45267 *) ac_try_echo
=$ac_try;;
45269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45270 (eval "$ac_compile") 2>conftest.er1
45272 grep -v '^ *+' conftest.er1
>conftest.err
45274 cat conftest.err
>&5
45275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45276 (exit $ac_status); } && {
45277 test -z "$ac_c_werror_flag" ||
45278 test ! -s conftest.err
45279 } && test -s conftest.
$ac_objext; then
45280 wx_cv_func_gettimeofday_has_2_args
=yes
45282 echo "$as_me: failed program was:" >&5
45283 sed 's/^/| /' conftest.
$ac_ext >&5
45285 cat >conftest.
$ac_ext <<_ACEOF
45288 cat confdefs.h
>>conftest.
$ac_ext
45289 cat >>conftest.
$ac_ext <<_ACEOF
45290 /* end confdefs.h. */
45292 #include <sys/time.h>
45293 #include <unistd.h>
45306 rm -f conftest.
$ac_objext
45307 if { (ac_try
="$ac_compile"
45308 case "(($ac_try" in
45309 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45310 *) ac_try_echo=$ac_try;;
45312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45313 (eval "$ac_compile") 2>conftest.er1
45315 grep -v '^ *+' conftest.er1 >conftest.err
45317 cat conftest.err >&5
45318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45319 (exit $ac_status); } && {
45320 test -z "$ac_c_werror_flag" ||
45321 test ! -s conftest.err
45322 } && test -s conftest.$ac_objext; then
45323 wx_cv_func_gettimeofday_has_2_args=no
45325 echo "$as_me: failed program was:" >&5
45326 sed 's/^/| /' conftest.$ac_ext >&5
45329 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45330 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45331 wx_cv_func_gettimeofday_has_2_args=unknown
45336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45343 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45344 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45346 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45347 cat >>confdefs.h <<\_ACEOF
45348 #define WX_GETTIMEOFDAY_NO_TZ 1
45354 if test "$wxUSE_DATETIME" = "yes"; then
45355 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45356 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45357 if test "${wx_cv_var_timezone+set}" = set; then
45358 echo $ECHO_N "(cached) $ECHO_C" >&6
45362 ac_cpp='$CXXCPP $CPPFLAGS'
45363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45367 cat >conftest.$ac_ext <<_ACEOF
45370 cat confdefs.h >>conftest.$ac_ext
45371 cat >>conftest.$ac_ext <<_ACEOF
45372 /* end confdefs.h. */
45387 rm -f conftest.$ac_objext
45388 if { (ac_try="$ac_compile"
45389 case "(($ac_try" in
45390 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45391 *) ac_try_echo
=$ac_try;;
45393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45394 (eval "$ac_compile") 2>conftest.er1
45396 grep -v '^ *+' conftest.er1
>conftest.err
45398 cat conftest.err
>&5
45399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45400 (exit $ac_status); } && {
45401 test -z "$ac_cxx_werror_flag" ||
45402 test ! -s conftest.err
45403 } && test -s conftest.
$ac_objext; then
45405 wx_cv_var_timezone
=timezone
45408 echo "$as_me: failed program was:" >&5
45409 sed 's/^/| /' conftest.
$ac_ext >&5
45412 cat >conftest.
$ac_ext <<_ACEOF
45415 cat confdefs.h
>>conftest.
$ac_ext
45416 cat >>conftest.
$ac_ext <<_ACEOF
45417 /* end confdefs.h. */
45432 rm -f conftest.
$ac_objext
45433 if { (ac_try
="$ac_compile"
45434 case "(($ac_try" in
45435 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45436 *) ac_try_echo=$ac_try;;
45438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45439 (eval "$ac_compile") 2>conftest.er1
45441 grep -v '^ *+' conftest.er1 >conftest.err
45443 cat conftest.err >&5
45444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45445 (exit $ac_status); } && {
45446 test -z "$ac_cxx_werror_flag" ||
45447 test ! -s conftest.err
45448 } && test -s conftest.$ac_objext; then
45450 wx_cv_var_timezone=_timezone
45453 echo "$as_me: failed program was:" >&5
45454 sed 's/^/| /' conftest.$ac_ext >&5
45457 cat >conftest.$ac_ext <<_ACEOF
45460 cat confdefs.h >>conftest.$ac_ext
45461 cat >>conftest.$ac_ext <<_ACEOF
45462 /* end confdefs.h. */
45477 rm -f conftest.$ac_objext
45478 if { (ac_try="$ac_compile"
45479 case "(($ac_try" in
45480 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45481 *) ac_try_echo
=$ac_try;;
45483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45484 (eval "$ac_compile") 2>conftest.er1
45486 grep -v '^ *+' conftest.er1
>conftest.err
45488 cat conftest.err
>&5
45489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45490 (exit $ac_status); } && {
45491 test -z "$ac_cxx_werror_flag" ||
45492 test ! -s conftest.err
45493 } && test -s conftest.
$ac_objext; then
45495 wx_cv_var_timezone
=__timezone
45498 echo "$as_me: failed program was:" >&5
45499 sed 's/^/| /' conftest.
$ac_ext >&5
45502 if test "$USE_DOS" = 0 ; then
45503 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45504 echo "$as_me: WARNING: no timezone variable" >&2;}
45510 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45515 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45520 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45522 ac_cpp
='$CPP $CPPFLAGS'
45523 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45524 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45525 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45530 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45531 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45533 if test "x$wx_cv_var_timezone" != x
; then
45534 cat >>confdefs.h
<<_ACEOF
45535 #define WX_TIMEZONE $wx_cv_var_timezone
45541 for ac_func
in localtime
45543 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45544 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45546 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45547 echo $ECHO_N "(cached) $ECHO_C" >&6
45549 cat >conftest.
$ac_ext <<_ACEOF
45552 cat confdefs.h
>>conftest.
$ac_ext
45553 cat >>conftest.
$ac_ext <<_ACEOF
45554 /* end confdefs.h. */
45555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45557 #define $ac_func innocuous_$ac_func
45559 /* System header to define __stub macros and hopefully few prototypes,
45560 which can conflict with char $ac_func (); below.
45561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45562 <limits.h> exists even on freestanding compilers. */
45565 # include <limits.h>
45567 # include <assert.h>
45572 /* Override any GCC internal prototype to avoid an error.
45573 Use char because int might match the return type of a GCC
45574 builtin and then its argument prototype would still apply. */
45579 /* The GNU C library defines this for functions which it implements
45580 to always fail with ENOSYS. Some functions are actually named
45581 something starting with __ and the normal name is an alias. */
45582 #if defined __stub_$ac_func || defined __stub___$ac_func
45589 return $ac_func ();
45594 rm -f conftest.
$ac_objext conftest
$ac_exeext
45595 if { (ac_try
="$ac_link"
45596 case "(($ac_try" in
45597 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45598 *) ac_try_echo=$ac_try;;
45600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45601 (eval "$ac_link") 2>conftest.er1
45603 grep -v '^ *+' conftest.er1 >conftest.err
45605 cat conftest.err >&5
45606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45607 (exit $ac_status); } && {
45608 test -z "$ac_c_werror_flag" ||
45609 test ! -s conftest.err
45610 } && test -s conftest$ac_exeext &&
45611 $as_test_x conftest$ac_exeext; then
45612 eval "$as_ac_var=yes"
45614 echo "$as_me: failed program was:" >&5
45615 sed 's/^/| /' conftest.$ac_ext >&5
45617 eval "$as_ac_var=no"
45620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45621 conftest$ac_exeext conftest.$ac_ext
45623 ac_res=`eval echo '${'$as_ac_var'}'`
45624 { echo "$as_me:$LINENO: result: $ac_res" >&5
45625 echo "${ECHO_T}$ac_res" >&6; }
45626 if test `eval echo '${'$as_ac_var'}'` = yes; then
45627 cat >>confdefs.h <<_ACEOF
45628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45635 if test "$ac_cv_func_localtime" = "yes"; then
45636 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45637 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45638 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45639 echo $ECHO_N "(cached) $ECHO_C" >&6
45642 cat >conftest.$ac_ext <<_ACEOF
45645 cat confdefs.h >>conftest.$ac_ext
45646 cat >>conftest.$ac_ext <<_ACEOF
45647 /* end confdefs.h. */
45662 rm -f conftest.$ac_objext
45663 if { (ac_try="$ac_compile"
45664 case "(($ac_try" in
45665 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45666 *) ac_try_echo
=$ac_try;;
45668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45669 (eval "$ac_compile") 2>conftest.er1
45671 grep -v '^ *+' conftest.er1
>conftest.err
45673 cat conftest.err
>&5
45674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45675 (exit $ac_status); } && {
45676 test -z "$ac_c_werror_flag" ||
45677 test ! -s conftest.err
45678 } && test -s conftest.
$ac_objext; then
45680 wx_cv_struct_tm_has_gmtoff
=yes
45683 echo "$as_me: failed program was:" >&5
45684 sed 's/^/| /' conftest.
$ac_ext >&5
45686 wx_cv_struct_tm_has_gmtoff
=no
45690 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45693 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45694 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45697 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45698 cat >>confdefs.h
<<\_ACEOF
45699 #define WX_GMTOFF_IN_TM 1
45704 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
45708 if test "$wxUSE_SOCKETS" = "yes"; then
45709 if test "$wxUSE_MGL" = 1; then
45710 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45711 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45716 if test "$wxUSE_SOCKETS" = "yes"; then
45717 if test "$TOOLKIT" != "MSW"; then
45718 { echo "$as_me:$LINENO: checking for socket" >&5
45719 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45720 if test "${ac_cv_func_socket+set}" = set; then
45721 echo $ECHO_N "(cached) $ECHO_C" >&6
45723 cat >conftest.
$ac_ext <<_ACEOF
45726 cat confdefs.h
>>conftest.
$ac_ext
45727 cat >>conftest.
$ac_ext <<_ACEOF
45728 /* end confdefs.h. */
45729 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45731 #define socket innocuous_socket
45733 /* System header to define __stub macros and hopefully few prototypes,
45734 which can conflict with char socket (); below.
45735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45736 <limits.h> exists even on freestanding compilers. */
45739 # include <limits.h>
45741 # include <assert.h>
45746 /* Override any GCC internal prototype to avoid an error.
45747 Use char because int might match the return type of a GCC
45748 builtin and then its argument prototype would still apply. */
45753 /* The GNU C library defines this for functions which it implements
45754 to always fail with ENOSYS. Some functions are actually named
45755 something starting with __ and the normal name is an alias. */
45756 #if defined __stub_socket || defined __stub___socket
45768 rm -f conftest.
$ac_objext conftest
$ac_exeext
45769 if { (ac_try
="$ac_link"
45770 case "(($ac_try" in
45771 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45772 *) ac_try_echo=$ac_try;;
45774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45775 (eval "$ac_link") 2>conftest.er1
45777 grep -v '^ *+' conftest.er1 >conftest.err
45779 cat conftest.err >&5
45780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45781 (exit $ac_status); } && {
45782 test -z "$ac_c_werror_flag" ||
45783 test ! -s conftest.err
45784 } && test -s conftest$ac_exeext &&
45785 $as_test_x conftest$ac_exeext; then
45786 ac_cv_func_socket=yes
45788 echo "$as_me: failed program was:" >&5
45789 sed 's/^/| /' conftest.$ac_ext >&5
45791 ac_cv_func_socket=no
45794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45795 conftest$ac_exeext conftest.$ac_ext
45797 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45798 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45799 if test $ac_cv_func_socket = yes; then
45803 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45804 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45805 if test "${ac_cv_lib_socket_socket+set}" = set; then
45806 echo $ECHO_N "(cached) $ECHO_C" >&6
45808 ac_check_lib_save_LIBS=$LIBS
45809 LIBS="-lsocket $LIBS"
45810 cat >conftest.$ac_ext <<_ACEOF
45813 cat confdefs.h >>conftest.$ac_ext
45814 cat >>conftest.$ac_ext <<_ACEOF
45815 /* end confdefs.h. */
45817 /* Override any GCC internal prototype to avoid an error.
45818 Use char because int might match the return type of a GCC
45819 builtin and then its argument prototype would still apply. */
45832 rm -f conftest.$ac_objext conftest$ac_exeext
45833 if { (ac_try="$ac_link"
45834 case "(($ac_try" in
45835 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45836 *) ac_try_echo
=$ac_try;;
45838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45839 (eval "$ac_link") 2>conftest.er1
45841 grep -v '^ *+' conftest.er1
>conftest.err
45843 cat conftest.err
>&5
45844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45845 (exit $ac_status); } && {
45846 test -z "$ac_c_werror_flag" ||
45847 test ! -s conftest.err
45848 } && test -s conftest
$ac_exeext &&
45849 $as_test_x conftest
$ac_exeext; then
45850 ac_cv_lib_socket_socket
=yes
45852 echo "$as_me: failed program was:" >&5
45853 sed 's/^/| /' conftest.
$ac_ext >&5
45855 ac_cv_lib_socket_socket
=no
45858 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45859 conftest
$ac_exeext conftest.
$ac_ext
45860 LIBS
=$ac_check_lib_save_LIBS
45862 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45863 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
45864 if test $ac_cv_lib_socket_socket = yes; then
45865 if test "$INET_LINK" != " -lsocket"; then
45866 INET_LINK
="$INET_LINK -lsocket"
45870 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45871 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45884 if test "$wxUSE_SOCKETS" = "yes" ; then
45885 if test "$TOOLKIT" != "MSW"; then
45886 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45887 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
45888 if test "${wx_cv_type_getsockname3+set}" = set; then
45889 echo $ECHO_N "(cached) $ECHO_C" >&6
45893 ac_cpp
='$CXXCPP $CPPFLAGS'
45894 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45895 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45896 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45898 cat >conftest.
$ac_ext <<_ACEOF
45901 cat confdefs.h
>>conftest.
$ac_ext
45902 cat >>conftest.
$ac_ext <<_ACEOF
45903 /* end confdefs.h. */
45905 #include <sys/types.h>
45906 #include <sys/socket.h>
45913 getsockname(0, 0, &len);
45919 rm -f conftest.
$ac_objext
45920 if { (ac_try
="$ac_compile"
45921 case "(($ac_try" in
45922 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45923 *) ac_try_echo=$ac_try;;
45925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45926 (eval "$ac_compile") 2>conftest.er1
45928 grep -v '^ *+' conftest.er1 >conftest.err
45930 cat conftest.err >&5
45931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45932 (exit $ac_status); } && {
45933 test -z "$ac_cxx_werror_flag" ||
45934 test ! -s conftest.err
45935 } && test -s conftest.$ac_objext; then
45936 wx_cv_type_getsockname3=socklen_t
45938 echo "$as_me: failed program was:" >&5
45939 sed 's/^/| /' conftest.$ac_ext >&5
45942 CFLAGS_OLD="$CFLAGS"
45943 if test "$GCC" = yes ; then
45944 CFLAGS="-Werror $CFLAGS"
45947 cat >conftest.$ac_ext <<_ACEOF
45950 cat confdefs.h >>conftest.$ac_ext
45951 cat >>conftest.$ac_ext <<_ACEOF
45952 /* end confdefs.h. */
45954 #include <sys/types.h>
45955 #include <sys/socket.h>
45962 getsockname(0, 0, &len);
45968 rm -f conftest.$ac_objext
45969 if { (ac_try="$ac_compile"
45970 case "(($ac_try" in
45971 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45972 *) ac_try_echo
=$ac_try;;
45974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45975 (eval "$ac_compile") 2>conftest.er1
45977 grep -v '^ *+' conftest.er1
>conftest.err
45979 cat conftest.err
>&5
45980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45981 (exit $ac_status); } && {
45982 test -z "$ac_cxx_werror_flag" ||
45983 test ! -s conftest.err
45984 } && test -s conftest.
$ac_objext; then
45985 wx_cv_type_getsockname3
=size_t
45987 echo "$as_me: failed program was:" >&5
45988 sed 's/^/| /' conftest.
$ac_ext >&5
45990 cat >conftest.
$ac_ext <<_ACEOF
45993 cat confdefs.h
>>conftest.
$ac_ext
45994 cat >>conftest.
$ac_ext <<_ACEOF
45995 /* end confdefs.h. */
45997 #include <sys/types.h>
45998 #include <sys/socket.h>
46005 getsockname(0, 0, &len);
46011 rm -f conftest.
$ac_objext
46012 if { (ac_try
="$ac_compile"
46013 case "(($ac_try" in
46014 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46015 *) ac_try_echo=$ac_try;;
46017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46018 (eval "$ac_compile") 2>conftest.er1
46020 grep -v '^ *+' conftest.er1 >conftest.err
46022 cat conftest.err >&5
46023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46024 (exit $ac_status); } && {
46025 test -z "$ac_cxx_werror_flag" ||
46026 test ! -s conftest.err
46027 } && test -s conftest.$ac_objext; then
46028 wx_cv_type_getsockname3=int
46030 echo "$as_me: failed program was:" >&5
46031 sed 's/^/| /' conftest.$ac_ext >&5
46033 wx_cv_type_getsockname3=unknown
46037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46043 CFLAGS="$CFLAGS_OLD"
46048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46050 ac_cpp='$CPP $CPPFLAGS'
46051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46057 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46058 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46060 if test "$wx_cv_type_getsockname3" = "unknown"; then
46062 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46063 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46065 cat >>confdefs.h <<_ACEOF
46066 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46070 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46071 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46072 if test "${wx_cv_type_getsockopt5+set}" = set; then
46073 echo $ECHO_N "(cached) $ECHO_C" >&6
46077 ac_cpp='$CXXCPP $CPPFLAGS'
46078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46082 cat >conftest.$ac_ext <<_ACEOF
46085 cat confdefs.h >>conftest.$ac_ext
46086 cat >>conftest.$ac_ext <<_ACEOF
46087 /* end confdefs.h. */
46089 #include <sys/types.h>
46090 #include <sys/socket.h>
46097 getsockopt(0, 0, 0, 0, &len);
46103 rm -f conftest.$ac_objext
46104 if { (ac_try="$ac_compile"
46105 case "(($ac_try" in
46106 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46107 *) ac_try_echo
=$ac_try;;
46109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46110 (eval "$ac_compile") 2>conftest.er1
46112 grep -v '^ *+' conftest.er1
>conftest.err
46114 cat conftest.err
>&5
46115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46116 (exit $ac_status); } && {
46117 test -z "$ac_cxx_werror_flag" ||
46118 test ! -s conftest.err
46119 } && test -s conftest.
$ac_objext; then
46120 wx_cv_type_getsockopt5
=socklen_t
46122 echo "$as_me: failed program was:" >&5
46123 sed 's/^/| /' conftest.
$ac_ext >&5
46126 cat >conftest.
$ac_ext <<_ACEOF
46129 cat confdefs.h
>>conftest.
$ac_ext
46130 cat >>conftest.
$ac_ext <<_ACEOF
46131 /* end confdefs.h. */
46133 #include <sys/types.h>
46134 #include <sys/socket.h>
46141 getsockopt(0, 0, 0, 0, &len);
46147 rm -f conftest.
$ac_objext
46148 if { (ac_try
="$ac_compile"
46149 case "(($ac_try" in
46150 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46151 *) ac_try_echo=$ac_try;;
46153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46154 (eval "$ac_compile") 2>conftest.er1
46156 grep -v '^ *+' conftest.er1 >conftest.err
46158 cat conftest.err >&5
46159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46160 (exit $ac_status); } && {
46161 test -z "$ac_cxx_werror_flag" ||
46162 test ! -s conftest.err
46163 } && test -s conftest.$ac_objext; then
46164 wx_cv_type_getsockopt5=size_t
46166 echo "$as_me: failed program was:" >&5
46167 sed 's/^/| /' conftest.$ac_ext >&5
46169 cat >conftest.$ac_ext <<_ACEOF
46172 cat confdefs.h >>conftest.$ac_ext
46173 cat >>conftest.$ac_ext <<_ACEOF
46174 /* end confdefs.h. */
46176 #include <sys/types.h>
46177 #include <sys/socket.h>
46184 getsockopt(0, 0, 0, 0, &len);
46190 rm -f conftest.$ac_objext
46191 if { (ac_try="$ac_compile"
46192 case "(($ac_try" in
46193 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46194 *) ac_try_echo
=$ac_try;;
46196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46197 (eval "$ac_compile") 2>conftest.er1
46199 grep -v '^ *+' conftest.er1
>conftest.err
46201 cat conftest.err
>&5
46202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46203 (exit $ac_status); } && {
46204 test -z "$ac_cxx_werror_flag" ||
46205 test ! -s conftest.err
46206 } && test -s conftest.
$ac_objext; then
46207 wx_cv_type_getsockopt5
=int
46209 echo "$as_me: failed program was:" >&5
46210 sed 's/^/| /' conftest.
$ac_ext >&5
46212 wx_cv_type_getsockopt5
=unknown
46216 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46220 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46225 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46227 ac_cpp
='$CPP $CPPFLAGS'
46228 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46229 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46230 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46234 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46235 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46237 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46239 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46240 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46242 cat >>confdefs.h
<<_ACEOF
46243 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46250 if test "$wxUSE_SOCKETS" = "yes" ; then
46251 if test "$wxUSE_IPV6" = "yes"; then
46252 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46253 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46254 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46255 echo $ECHO_N "(cached) $ECHO_C" >&6
46258 cat >conftest.
$ac_ext <<_ACEOF
46261 cat confdefs.h
>>conftest.
$ac_ext
46262 cat >>conftest.
$ac_ext <<_ACEOF
46263 /* end confdefs.h. */
46265 #include <sys/types.h>
46266 #include <sys/socket.h>
46267 #include <netinet/in.h>
46273 struct sockaddr_in6 sa6;
46279 rm -f conftest.
$ac_objext
46280 if { (ac_try
="$ac_compile"
46281 case "(($ac_try" in
46282 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46283 *) ac_try_echo=$ac_try;;
46285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46286 (eval "$ac_compile") 2>conftest.er1
46288 grep -v '^ *+' conftest.er1 >conftest.err
46290 cat conftest.err >&5
46291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46292 (exit $ac_status); } && {
46293 test -z "$ac_c_werror_flag" ||
46294 test ! -s conftest.err
46295 } && test -s conftest.$ac_objext; then
46296 wx_cv_type_sockaddr_in6=yes
46298 echo "$as_me: failed program was:" >&5
46299 sed 's/^/| /' conftest.$ac_ext >&5
46301 wx_cv_type_sockaddr_in6=no
46305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46309 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46310 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46312 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46313 cat >>confdefs.h <<\_ACEOF
46314 #define wxUSE_IPV6 1
46318 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46319 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46323 cat >>confdefs.h <<\_ACEOF
46324 #define wxUSE_SOCKETS 1
46327 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46330 if test "$wxUSE_PROTOCOL" = "yes"; then
46331 if test "$wxUSE_SOCKETS" != "yes"; then
46332 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46333 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46338 if test "$wxUSE_PROTOCOL" = "yes"; then
46339 cat >>confdefs.h <<\_ACEOF
46340 #define wxUSE_PROTOCOL 1
46344 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46345 cat >>confdefs.h <<\_ACEOF
46346 #define wxUSE_PROTOCOL_HTTP 1
46350 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46351 cat >>confdefs.h <<\_ACEOF
46352 #define wxUSE_PROTOCOL_FTP 1
46356 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46357 cat >>confdefs.h <<\_ACEOF
46358 #define wxUSE_PROTOCOL_FILE 1
46363 if test "$wxUSE_FS_INET" = "yes"; then
46364 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46365 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46370 if test "$wxUSE_URL" = "yes"; then
46371 if test "$wxUSE_PROTOCOL" != "yes"; then
46372 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46373 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46376 if test "$wxUSE_URL" = "yes"; then
46377 cat >>confdefs.h <<\_ACEOF
46378 #define wxUSE_URL 1
46384 if test "$wxUSE_VARIANT" = "yes"; then
46385 cat >>confdefs.h <<\_ACEOF
46386 #define wxUSE_VARIANT 1
46391 if test "$wxUSE_FS_INET" = "yes"; then
46392 cat >>confdefs.h <<\_ACEOF
46393 #define wxUSE_FS_INET 1
46399 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46402 if test "$TOOLKIT" = "MSW"; then
46405 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46406 if test "$USE_DARWIN" = 1; then
46407 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46408 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46410 ac_cpp='$CXXCPP $CPPFLAGS'
46411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46415 cat >conftest.$ac_ext <<_ACEOF
46418 cat confdefs.h >>conftest.$ac_ext
46419 cat >>conftest.$ac_ext <<_ACEOF
46420 /* end confdefs.h. */
46421 #include <IOKit/hid/IOHIDLib.h>
46425 IOHIDQueueInterface *qi = NULL;
46426 IOHIDCallbackFunction cb = NULL;
46427 qi->setEventCallout(NULL, cb, NULL, NULL);
46432 rm -f conftest.$ac_objext
46433 if { (ac_try="$ac_compile"
46434 case "(($ac_try" in
46435 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46436 *) ac_try_echo
=$ac_try;;
46438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46439 (eval "$ac_compile") 2>conftest.er1
46441 grep -v '^ *+' conftest.er1
>conftest.err
46443 cat conftest.err
>&5
46444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46445 (exit $ac_status); } && {
46446 test -z "$ac_cxx_werror_flag" ||
46447 test ! -s conftest.err
46448 } && test -s conftest.
$ac_objext; then
46452 echo "$as_me: failed program was:" >&5
46453 sed 's/^/| /' conftest.
$ac_ext >&5
46458 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46460 ac_cpp
='$CPP $CPPFLAGS'
46461 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46462 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46463 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46465 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46466 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46470 if test "$wxUSE_MGL" != 1; then
46472 for ac_header
in linux
/joystick.h
46474 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46475 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46477 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46478 echo $ECHO_N "(cached) $ECHO_C" >&6
46480 cat >conftest.
$ac_ext <<_ACEOF
46483 cat confdefs.h
>>conftest.
$ac_ext
46484 cat >>conftest.
$ac_ext <<_ACEOF
46485 /* end confdefs.h. */
46486 $ac_includes_default
46488 #include <$ac_header>
46490 rm -f conftest.
$ac_objext
46491 if { (ac_try
="$ac_compile"
46492 case "(($ac_try" in
46493 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46494 *) ac_try_echo=$ac_try;;
46496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46497 (eval "$ac_compile") 2>conftest.er1
46499 grep -v '^ *+' conftest.er1 >conftest.err
46501 cat conftest.err >&5
46502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46503 (exit $ac_status); } && {
46504 test -z "$ac_c_werror_flag" ||
46505 test ! -s conftest.err
46506 } && test -s conftest.$ac_objext; then
46507 eval "$as_ac_Header=yes"
46509 echo "$as_me: failed program was:" >&5
46510 sed 's/^/| /' conftest.$ac_ext >&5
46512 eval "$as_ac_Header=no"
46515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46517 ac_res=`eval echo '${'$as_ac_Header'}'`
46518 { echo "$as_me:$LINENO: result: $ac_res" >&5
46519 echo "${ECHO_T}$ac_res" >&6; }
46520 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46521 cat >>confdefs.h <<_ACEOF
46522 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46532 if test "$wxUSE_JOYSTICK" = "yes"; then
46533 cat >>confdefs.h <<\_ACEOF
46534 #define wxUSE_JOYSTICK 1
46537 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46539 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46540 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46546 if test "$wxUSE_FONTENUM" = "yes" ; then
46547 cat >>confdefs.h <<\_ACEOF
46548 #define wxUSE_FONTENUM 1
46553 if test "$wxUSE_FONTMAP" = "yes" ; then
46554 cat >>confdefs.h <<\_ACEOF
46555 #define wxUSE_FONTMAP 1
46560 if test "$wxUSE_UNICODE" = "yes" ; then
46561 cat >>confdefs.h <<\_ACEOF
46562 #define wxUSE_UNICODE 1
46566 if test "$USE_WIN32" != 1; then
46567 wxUSE_UNICODE_MSLU=no
46570 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46571 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46572 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46573 if test "${ac_cv_lib_unicows_main+set}" = set; then
46574 echo $ECHO_N "(cached) $ECHO_C" >&6
46576 ac_check_lib_save_LIBS=$LIBS
46577 LIBS="-lunicows $LIBS"
46578 cat >conftest.$ac_ext <<_ACEOF
46581 cat confdefs.h >>conftest.$ac_ext
46582 cat >>conftest.$ac_ext <<_ACEOF
46583 /* end confdefs.h. */
46594 rm -f conftest.$ac_objext conftest$ac_exeext
46595 if { (ac_try="$ac_link"
46596 case "(($ac_try" in
46597 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46598 *) ac_try_echo
=$ac_try;;
46600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46601 (eval "$ac_link") 2>conftest.er1
46603 grep -v '^ *+' conftest.er1
>conftest.err
46605 cat conftest.err
>&5
46606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46607 (exit $ac_status); } && {
46608 test -z "$ac_c_werror_flag" ||
46609 test ! -s conftest.err
46610 } && test -s conftest
$ac_exeext &&
46611 $as_test_x conftest
$ac_exeext; then
46612 ac_cv_lib_unicows_main
=yes
46614 echo "$as_me: failed program was:" >&5
46615 sed 's/^/| /' conftest.
$ac_ext >&5
46617 ac_cv_lib_unicows_main
=no
46620 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46621 conftest
$ac_exeext conftest.
$ac_ext
46622 LIBS
=$ac_check_lib_save_LIBS
46624 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46625 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46626 if test $ac_cv_lib_unicows_main = yes; then
46628 cat >>confdefs.h
<<\_ACEOF
46629 #define wxUSE_UNICODE_MSLU 1
46635 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46636 Applications will only run on Windows NT/2000/XP!" >&5
46637 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46638 Applications will only run on Windows NT/2000/XP!" >&2;}
46639 wxUSE_UNICODE_MSLU
=no
46646 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46647 cat >>confdefs.h
<<\_ACEOF
46648 #define wxUSE_UNICODE_UTF8 1
46652 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46653 cat >>confdefs.h
<<\_ACEOF
46654 #define wxUSE_UTF8_LOCALE_ONLY 1
46661 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46662 cat >>confdefs.h
<<\_ACEOF
46663 #define wxUSE_CONSTRAINTS 1
46666 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
46669 if test "$wxUSE_MDI" = "yes"; then
46670 cat >>confdefs.h
<<\_ACEOF
46671 #define wxUSE_MDI 1
46675 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46676 cat >>confdefs.h
<<\_ACEOF
46677 #define wxUSE_MDI_ARCHITECTURE 1
46680 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
46684 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46685 cat >>confdefs.h
<<\_ACEOF
46686 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46689 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
46692 if test "$wxUSE_HELP" = "yes"; then
46693 cat >>confdefs.h
<<\_ACEOF
46694 #define wxUSE_HELP 1
46697 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
46699 if test "$wxUSE_MSW" = 1; then
46700 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46701 cat >>confdefs.h
<<\_ACEOF
46702 #define wxUSE_MS_HTML_HELP 1
46708 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46709 if test "$wxUSE_HTML" = "yes"; then
46710 cat >>confdefs.h
<<\_ACEOF
46711 #define wxUSE_WXHTML_HELP 1
46715 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46716 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46717 wxUSE_WXHTML_HELP
=no
46722 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46723 cat >>confdefs.h
<<\_ACEOF
46724 #define wxUSE_PRINTING_ARCHITECTURE 1
46727 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
46730 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46731 cat >>confdefs.h
<<\_ACEOF
46732 #define wxUSE_POSTSCRIPT 1
46737 cat >>confdefs.h
<<\_ACEOF
46738 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46742 if test "$wxUSE_SVG" = "yes"; then
46743 cat >>confdefs.h
<<\_ACEOF
46744 #define wxUSE_SVG 1
46750 if test "$wxUSE_METAFILE" = "yes"; then
46751 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46752 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46753 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46759 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
46760 -o "$wxUSE_CLIPBOARD" = "yes" \
46761 -o "$wxUSE_OLE" = "yes" \
46762 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
46763 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46764 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46765 if test "${ac_cv_header_ole2_h+set}" = set; then
46766 echo $ECHO_N "(cached) $ECHO_C" >&6
46768 cat >conftest.
$ac_ext <<_ACEOF
46771 cat confdefs.h
>>conftest.
$ac_ext
46772 cat >>conftest.
$ac_ext <<_ACEOF
46773 /* end confdefs.h. */
46778 rm -f conftest.
$ac_objext
46779 if { (ac_try
="$ac_compile"
46780 case "(($ac_try" in
46781 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46782 *) ac_try_echo=$ac_try;;
46784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46785 (eval "$ac_compile") 2>conftest.er1
46787 grep -v '^ *+' conftest.er1 >conftest.err
46789 cat conftest.err >&5
46790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46791 (exit $ac_status); } && {
46792 test -z "$ac_c_werror_flag" ||
46793 test ! -s conftest.err
46794 } && test -s conftest.$ac_objext; then
46795 ac_cv_header_ole2_h=yes
46797 echo "$as_me: failed program was:" >&5
46798 sed 's/^/| /' conftest.$ac_ext >&5
46800 ac_cv_header_ole2_h=no
46803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46805 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46806 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
46810 if test "$ac_cv_header_ole2_h" = "yes" ; then
46811 if test "$GCC" = yes ; then
46812 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46813 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
46814 cat >conftest.$ac_ext <<_ACEOF
46817 cat confdefs.h >>conftest.$ac_ext
46818 cat >>conftest.$ac_ext <<_ACEOF
46819 /* end confdefs.h. */
46820 #include <windows.h>
46830 rm -f conftest.$ac_objext
46831 if { (ac_try="$ac_compile"
46832 case "(($ac_try" in
46833 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46834 *) ac_try_echo
=$ac_try;;
46836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46837 (eval "$ac_compile") 2>conftest.er1
46839 grep -v '^ *+' conftest.er1
>conftest.err
46841 cat conftest.err
>&5
46842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46843 (exit $ac_status); } && {
46844 test -z "$ac_c_werror_flag" ||
46845 test ! -s conftest.err
46846 } && test -s conftest.
$ac_objext; then
46847 { echo "$as_me:$LINENO: result: no" >&5
46848 echo "${ECHO_T}no" >&6; }
46850 echo "$as_me: failed program was:" >&5
46851 sed 's/^/| /' conftest.
$ac_ext >&5
46853 { echo "$as_me:$LINENO: result: yes" >&5
46854 echo "${ECHO_T}yes" >&6; }
46855 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46858 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46859 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46860 if test "$wxUSE_OLE" = "yes" ; then
46861 cat >>confdefs.h
<<\_ACEOF
46862 #define wxUSE_OLE 1
46865 cat >>confdefs.h
<<\_ACEOF
46866 #define wxUSE_OLE_AUTOMATION 1
46869 cat >>confdefs.h
<<\_ACEOF
46870 #define wxUSE_ACTIVEX 1
46873 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
46877 if test "$wxUSE_DATAOBJ" = "yes" ; then
46878 cat >>confdefs.h
<<\_ACEOF
46879 #define wxUSE_DATAOBJ 1
46884 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46885 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46888 wxUSE_DRAG_AND_DROP
=no
46893 if test "$wxUSE_METAFILE" = "yes"; then
46894 cat >>confdefs.h
<<\_ACEOF
46895 #define wxUSE_METAFILE 1
46899 cat >>confdefs.h
<<\_ACEOF
46900 #define wxUSE_ENH_METAFILE 1
46906 if test "$wxUSE_IPC" = "yes"; then
46907 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46908 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46909 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46913 if test "$wxUSE_IPC" = "yes"; then
46914 cat >>confdefs.h
<<\_ACEOF
46915 #define wxUSE_IPC 1
46918 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
46922 if test "$wxUSE_DATAOBJ" = "yes"; then
46923 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46924 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46925 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46928 cat >>confdefs.h
<<\_ACEOF
46929 #define wxUSE_DATAOBJ 1
46934 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46935 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46937 wxUSE_DRAG_AND_DROP
=no
46940 if test "$wxUSE_CLIPBOARD" = "yes"; then
46941 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46942 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46943 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46947 if test "$wxUSE_CLIPBOARD" = "yes"; then
46948 cat >>confdefs.h
<<\_ACEOF
46949 #define wxUSE_CLIPBOARD 1
46955 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46956 if test "$wxUSE_GTK" = 1; then
46957 if test "$WXGTK12" != 1; then
46958 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46959 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46960 wxUSE_DRAG_AND_DROP
=no
46964 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46965 "$wxUSE_DFB" = 1; then
46966 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46967 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46968 wxUSE_DRAG_AND_DROP
=no
46971 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46972 cat >>confdefs.h
<<\_ACEOF
46973 #define wxUSE_DRAG_AND_DROP 1
46980 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46981 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
46984 if test "$wxUSE_CLIPBOARD" = "yes"; then
46985 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
46988 if test "$wxUSE_SPLINES" = "yes" ; then
46989 cat >>confdefs.h
<<\_ACEOF
46990 #define wxUSE_SPLINES 1
46995 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46996 cat >>confdefs.h
<<\_ACEOF
46997 #define wxUSE_MOUSEWHEEL 1
47002 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
47003 cat >>confdefs.h
<<\_ACEOF
47004 #define wxUSE_UIACTIONSIMULATOR 1
47007 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS uiaction"
47012 if test "$wxUSE_CONTROLS" = "yes"; then
47016 if test "$wxUSE_ACCEL" = "yes"; then
47017 cat >>confdefs.h
<<\_ACEOF
47018 #define wxUSE_ACCEL 1
47024 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47025 cat >>confdefs.h
<<\_ACEOF
47026 #define wxUSE_ANIMATIONCTRL 1
47030 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
47033 if test "$wxUSE_BUTTON" = "yes"; then
47034 cat >>confdefs.h
<<\_ACEOF
47035 #define wxUSE_BUTTON 1
47041 if test "$wxUSE_BMPBUTTON" = "yes"; then
47042 cat >>confdefs.h
<<\_ACEOF
47043 #define wxUSE_BMPBUTTON 1
47049 if test "$wxUSE_CALCTRL" = "yes"; then
47050 cat >>confdefs.h
<<\_ACEOF
47051 #define wxUSE_CALENDARCTRL 1
47055 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
47058 if test "$wxUSE_CARET" = "yes"; then
47059 cat >>confdefs.h
<<\_ACEOF
47060 #define wxUSE_CARET 1
47064 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
47067 if test "$wxUSE_COLLPANE" = "yes"; then
47068 cat >>confdefs.h
<<\_ACEOF
47069 #define wxUSE_COLLPANE 1
47073 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
47076 if test "$wxUSE_COMBOBOX" = "yes"; then
47077 cat >>confdefs.h
<<\_ACEOF
47078 #define wxUSE_COMBOBOX 1
47084 if test "$wxUSE_COMBOCTRL" = "yes"; then
47085 cat >>confdefs.h
<<\_ACEOF
47086 #define wxUSE_COMBOCTRL 1
47092 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
47093 cat >>confdefs.h
<<\_ACEOF
47094 #define wxUSE_COMMANDLINKBUTTON 1
47100 if test "$wxUSE_CHOICE" = "yes"; then
47101 cat >>confdefs.h
<<\_ACEOF
47102 #define wxUSE_CHOICE 1
47108 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47109 cat >>confdefs.h
<<\_ACEOF
47110 #define wxUSE_CHOICEBOOK 1
47116 if test "$wxUSE_CHECKBOX" = "yes"; then
47117 cat >>confdefs.h
<<\_ACEOF
47118 #define wxUSE_CHECKBOX 1
47124 if test "$wxUSE_CHECKLST" = "yes"; then
47125 cat >>confdefs.h
<<\_ACEOF
47126 #define wxUSE_CHECKLISTBOX 1
47132 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47133 cat >>confdefs.h
<<\_ACEOF
47134 #define wxUSE_COLOURPICKERCTRL 1
47140 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47141 cat >>confdefs.h
<<\_ACEOF
47142 #define wxUSE_DATEPICKCTRL 1
47148 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47149 cat >>confdefs.h
<<\_ACEOF
47150 #define wxUSE_DIRPICKERCTRL 1
47156 if test "$wxUSE_FILECTRL" = "yes"; then
47157 cat >>confdefs.h
<<\_ACEOF
47158 #define wxUSE_FILECTRL 1
47164 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47165 cat >>confdefs.h
<<\_ACEOF
47166 #define wxUSE_FILEPICKERCTRL 1
47172 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47173 cat >>confdefs.h
<<\_ACEOF
47174 #define wxUSE_FONTPICKERCTRL 1
47180 if test "$wxUSE_DISPLAY" = "yes"; then
47181 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47182 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47183 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47186 cat >>confdefs.h
<<\_ACEOF
47187 #define wxUSE_DISPLAY 1
47190 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
47194 if test "$wxUSE_DETECT_SM" = "yes"; then
47195 cat >>confdefs.h
<<\_ACEOF
47196 #define wxUSE_DETECT_SM 1
47201 if test "$wxUSE_GAUGE" = "yes"; then
47202 cat >>confdefs.h
<<\_ACEOF
47203 #define wxUSE_GAUGE 1
47209 if test "$wxUSE_GRID" = "yes"; then
47210 cat >>confdefs.h
<<\_ACEOF
47211 #define wxUSE_GRID 1
47215 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
47218 if test "$wxUSE_HEADERCTRL" = "yes"; then
47219 cat >>confdefs.h
<<\_ACEOF
47220 #define wxUSE_HEADERCTRL 1
47226 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47227 cat >>confdefs.h
<<\_ACEOF
47228 #define wxUSE_HYPERLINKCTRL 1
47234 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47235 cat >>confdefs.h
<<\_ACEOF
47236 #define wxUSE_BITMAPCOMBOBOX 1
47242 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47243 cat >>confdefs.h
<<\_ACEOF
47244 #define wxUSE_DATAVIEWCTRL 1
47248 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
47251 if test "$wxUSE_IMAGLIST" = "yes"; then
47252 cat >>confdefs.h
<<\_ACEOF
47253 #define wxUSE_IMAGLIST 1
47258 if test "$wxUSE_INFOBAR" = "yes"; then
47259 cat >>confdefs.h
<<\_ACEOF
47260 #define wxUSE_INFOBAR 1
47265 if test "$wxUSE_LISTBOOK" = "yes"; then
47266 cat >>confdefs.h
<<\_ACEOF
47267 #define wxUSE_LISTBOOK 1
47273 if test "$wxUSE_LISTBOX" = "yes"; then
47274 cat >>confdefs.h
<<\_ACEOF
47275 #define wxUSE_LISTBOX 1
47281 if test "$wxUSE_LISTCTRL" = "yes"; then
47282 if test "$wxUSE_IMAGLIST" = "yes"; then
47283 cat >>confdefs.h
<<\_ACEOF
47284 #define wxUSE_LISTCTRL 1
47288 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
47290 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47291 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47295 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47296 cat >>confdefs.h
<<\_ACEOF
47297 #define wxUSE_EDITABLELISTBOX 1
47303 if test "$wxUSE_NOTEBOOK" = "yes"; then
47304 cat >>confdefs.h
<<\_ACEOF
47305 #define wxUSE_NOTEBOOK 1
47309 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
47312 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47313 cat >>confdefs.h
<<\_ACEOF
47314 #define wxUSE_NOTIFICATION_MESSAGE 1
47319 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47320 cat >>confdefs.h
<<\_ACEOF
47321 #define wxUSE_ODCOMBOBOX 1
47325 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
47328 if test "$wxUSE_RADIOBOX" = "yes"; then
47329 cat >>confdefs.h
<<\_ACEOF
47330 #define wxUSE_RADIOBOX 1
47336 if test "$wxUSE_RADIOBTN" = "yes"; then
47337 cat >>confdefs.h
<<\_ACEOF
47338 #define wxUSE_RADIOBTN 1
47344 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47345 cat >>confdefs.h
<<\_ACEOF
47346 #define wxUSE_REARRANGECTRL 1
47351 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47352 cat >>confdefs.h
<<\_ACEOF
47353 #define wxUSE_RICHMSGDLG 1
47358 if test "$wxUSE_SASH" = "yes"; then
47359 cat >>confdefs.h
<<\_ACEOF
47360 #define wxUSE_SASH 1
47363 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
47366 if test "$wxUSE_SCROLLBAR" = "yes"; then
47367 cat >>confdefs.h
<<\_ACEOF
47368 #define wxUSE_SCROLLBAR 1
47372 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
47375 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47376 cat >>confdefs.h
<<\_ACEOF
47377 #define wxUSE_SEARCHCTRL 1
47383 if test "$wxUSE_SLIDER" = "yes"; then
47384 cat >>confdefs.h
<<\_ACEOF
47385 #define wxUSE_SLIDER 1
47391 if test "$wxUSE_SPINBTN" = "yes"; then
47392 cat >>confdefs.h
<<\_ACEOF
47393 #define wxUSE_SPINBTN 1
47399 if test "$wxUSE_SPINCTRL" = "yes"; then
47400 cat >>confdefs.h
<<\_ACEOF
47401 #define wxUSE_SPINCTRL 1
47407 if test "$wxUSE_SPLITTER" = "yes"; then
47408 cat >>confdefs.h
<<\_ACEOF
47409 #define wxUSE_SPLITTER 1
47412 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
47415 if test "$wxUSE_STATBMP" = "yes"; then
47416 cat >>confdefs.h
<<\_ACEOF
47417 #define wxUSE_STATBMP 1
47423 if test "$wxUSE_STATBOX" = "yes"; then
47424 cat >>confdefs.h
<<\_ACEOF
47425 #define wxUSE_STATBOX 1
47431 if test "$wxUSE_STATTEXT" = "yes"; then
47432 cat >>confdefs.h
<<\_ACEOF
47433 #define wxUSE_STATTEXT 1
47439 if test "$wxUSE_STATLINE" = "yes"; then
47440 cat >>confdefs.h
<<\_ACEOF
47441 #define wxUSE_STATLINE 1
47447 if test "$wxUSE_STATUSBAR" = "yes"; then
47448 cat >>confdefs.h
<<\_ACEOF
47449 #define wxUSE_NATIVE_STATUSBAR 1
47452 cat >>confdefs.h
<<\_ACEOF
47453 #define wxUSE_STATUSBAR 1
47458 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
47461 if test "$wxUSE_TEXTCTRL" = "yes"; then
47462 cat >>confdefs.h
<<\_ACEOF
47463 #define wxUSE_TEXTCTRL 1
47467 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
47469 cat >>confdefs.h
<<\_ACEOF
47470 #define wxUSE_RICHEDIT 1
47473 cat >>confdefs.h
<<\_ACEOF
47474 #define wxUSE_RICHEDIT2 1
47479 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47480 if test "$wxUSE_OLD_COCOA" = 1 ; then
47481 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47482 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47486 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47487 cat >>confdefs.h
<<\_ACEOF
47488 #define wxUSE_TOGGLEBTN 1
47495 if test "$wxUSE_TOOLBAR" = "yes"; then
47496 cat >>confdefs.h
<<\_ACEOF
47497 #define wxUSE_TOOLBAR 1
47502 if test "$wxUSE_UNIVERSAL" = "yes"; then
47503 wxUSE_TOOLBAR_NATIVE
="no"
47505 wxUSE_TOOLBAR_NATIVE
="yes"
47506 cat >>confdefs.h
<<\_ACEOF
47507 #define wxUSE_TOOLBAR_NATIVE 1
47512 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
47515 if test "$wxUSE_TOOLTIPS" = "yes"; then
47516 if test "$wxUSE_MOTIF" = 1; then
47517 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47518 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47520 if test "$wxUSE_UNIVERSAL" = "yes"; then
47521 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47522 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47524 cat >>confdefs.h
<<\_ACEOF
47525 #define wxUSE_TOOLTIPS 1
47532 if test "$wxUSE_TREEBOOK" = "yes"; then
47533 cat >>confdefs.h
<<\_ACEOF
47534 #define wxUSE_TREEBOOK 1
47540 if test "$wxUSE_TOOLBOOK" = "yes"; then
47541 cat >>confdefs.h
<<\_ACEOF
47542 #define wxUSE_TOOLBOOK 1
47548 if test "$wxUSE_TREECTRL" = "yes"; then
47549 if test "$wxUSE_IMAGLIST" = "yes"; then
47550 cat >>confdefs.h
<<\_ACEOF
47551 #define wxUSE_TREECTRL 1
47555 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
47557 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47558 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47562 if test "$wxUSE_POPUPWIN" = "yes"; then
47563 if test "$wxUSE_OLD_COCOA" = 1 ; then
47564 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47565 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47567 if test "$wxUSE_PM" = 1; then
47568 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47569 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47571 cat >>confdefs.h
<<\_ACEOF
47572 #define wxUSE_POPUPWIN 1
47575 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
47582 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47583 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47584 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47585 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47587 cat >>confdefs.h
<<\_ACEOF
47588 #define wxUSE_DIALUP_MANAGER 1
47591 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
47595 if test "$wxUSE_TIPWINDOW" = "yes"; then
47596 if test "$wxUSE_PM" = 1; then
47597 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47598 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47600 cat >>confdefs.h
<<\_ACEOF
47601 #define wxUSE_TIPWINDOW 1
47607 if test "$USES_CONTROLS" = 1; then
47608 cat >>confdefs.h
<<\_ACEOF
47609 #define wxUSE_CONTROLS 1
47615 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47616 cat >>confdefs.h
<<\_ACEOF
47617 #define wxUSE_ACCESSIBILITY 1
47620 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
47623 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
47624 cat >>confdefs.h
<<\_ACEOF
47625 #define wxUSE_ARTPROVIDER_STD 1
47630 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
47631 if test "$wxUSE_GTK" != 1; then
47632 if test "$wxUSE_LIBPNG" != no
-a \
47633 "$wxUSE_IMAGE" = yes -a \
47634 "$wxUSE_STREAMS" = yes; then
47635 wxUSE_ARTPROVIDER_TANGO
="yes"
47640 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
47641 cat >>confdefs.h
<<\_ACEOF
47642 #define wxUSE_ARTPROVIDER_TANGO 1
47647 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47648 cat >>confdefs.h
<<\_ACEOF
47649 #define wxUSE_DRAGIMAGE 1
47652 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
47655 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47656 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47657 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47658 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47660 cat >>confdefs.h
<<\_ACEOF
47661 #define wxUSE_EXCEPTIONS 1
47664 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
47669 if test "$wxUSE_HTML" = "yes"; then
47670 cat >>confdefs.h
<<\_ACEOF
47671 #define wxUSE_HTML 1
47675 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47677 if test "$wxUSE_WEBKIT" = "yes"; then
47678 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47679 old_CPPFLAGS
="$CPPFLAGS"
47680 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
47681 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47682 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47683 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47684 echo $ECHO_N "(cached) $ECHO_C" >&6
47686 cat >conftest.
$ac_ext <<_ACEOF
47689 cat confdefs.h
>>conftest.
$ac_ext
47690 cat >>conftest.
$ac_ext <<_ACEOF
47691 /* end confdefs.h. */
47693 #include <Carbon/Carbon.h>
47694 #include <WebKit/WebKit.h>
47697 #include <WebKit/HIWebView.h>
47699 rm -f conftest.
$ac_objext
47700 if { (ac_try
="$ac_compile"
47701 case "(($ac_try" in
47702 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47703 *) ac_try_echo=$ac_try;;
47705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47706 (eval "$ac_compile") 2>conftest.er1
47708 grep -v '^ *+' conftest.er1 >conftest.err
47710 cat conftest.err >&5
47711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47712 (exit $ac_status); } && {
47713 test -z "$ac_c_werror_flag" ||
47714 test ! -s conftest.err
47715 } && test -s conftest.$ac_objext; then
47716 ac_cv_header_WebKit_HIWebView_h=yes
47718 echo "$as_me: failed program was:" >&5
47719 sed 's/^/| /' conftest.$ac_ext >&5
47721 ac_cv_header_WebKit_HIWebView_h=no
47724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47726 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47727 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47728 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47730 cat >>confdefs.h <<\_ACEOF
47731 #define wxUSE_WEBKIT 1
47734 WEBKIT_LINK="-framework WebKit"
47738 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47739 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47745 CPPFLAGS="$old_CPPFLAGS"
47746 elif test "$wxUSE_OLD_COCOA" = 1; then
47747 cat >>confdefs.h <<\_ACEOF
47748 #define wxUSE_WEBKIT 1
47754 if test "$wxUSE_WEBKIT" = "yes"; then
47755 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47760 if test "$wxUSE_XRC" = "yes"; then
47761 if test "$wxUSE_XML" != "yes"; then
47762 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47763 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47766 cat >>confdefs.h <<\_ACEOF
47767 #define wxUSE_XRC 1
47771 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47776 if test "$wxUSE_AUI" = "yes"; then
47777 cat >>confdefs.h <<\_ACEOF
47778 #define wxUSE_AUI 1
47782 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47786 if test "$wxUSE_PROPGRID" = "yes"; then
47787 cat >>confdefs.h <<\_ACEOF
47788 #define wxUSE_PROPGRID 1
47792 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
47796 if test "$wxUSE_RIBBON" = "yes"; then
47797 cat >>confdefs.h <<\_ACEOF
47798 #define wxUSE_RIBBON 1
47802 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
47806 if test "$wxUSE_STC" = "yes"; then
47807 cat >>confdefs.h <<\_ACEOF
47808 #define wxUSE_STC 1
47812 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
47814 # Extract the first word of "python", so it can be a program name with args.
47815 set dummy python; ac_word=$2
47816 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47818 if test "${ac_cv_path_PYTHON+set}" = set; then
47819 echo $ECHO_N "(cached) $ECHO_C" >&6
47823 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
47826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47827 for as_dir in $PATH
47830 test -z "$as_dir" && as_dir=.
47831 for ac_exec_ext in '' $ac_executable_extensions; do
47832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47833 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
47834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47844 PYTHON=$ac_cv_path_PYTHON
47845 if test -n "$PYTHON"; then
47846 { echo "$as_me:$LINENO: result: $PYTHON" >&5
47847 echo "${ECHO_T}$PYTHON" >&6; }
47849 { echo "$as_me:$LINENO: result: no" >&5
47850 echo "${ECHO_T}no" >&6; }
47854 if test "x$PYTHON" = "x"; then
47860 if test "$wxUSE_MENUS" = "yes"; then
47861 cat >>confdefs.h <<\_ACEOF
47862 #define wxUSE_MENUS 1
47865 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
47868 if test "$wxUSE_METAFILE" = "yes"; then
47869 cat >>confdefs.h <<\_ACEOF
47870 #define wxUSE_METAFILE 1
47875 if test "$wxUSE_MIMETYPE" = "yes"; then
47876 cat >>confdefs.h <<\_ACEOF
47877 #define wxUSE_MIMETYPE 1
47882 if test "$wxUSE_MINIFRAME" = "yes"; then
47883 cat >>confdefs.h <<\_ACEOF
47884 #define wxUSE_MINIFRAME 1
47889 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47890 cat >>confdefs.h <<\_ACEOF
47891 #define wxUSE_SYSTEM_OPTIONS 1
47896 if test "$wxUSE_TASKBARICON" = "yes"; then
47897 cat >>confdefs.h <<\_ACEOF
47898 #define wxUSE_TASKBARICON 1
47901 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
47905 if test "$wxUSE_VALIDATORS" = "yes"; then
47906 cat >>confdefs.h <<\_ACEOF
47907 #define wxUSE_VALIDATORS 1
47910 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47913 if test "$wxUSE_PALETTE" = "yes" ; then
47914 if test "$wxUSE_DFB" = 1; then
47915 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47916 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47919 cat >>confdefs.h <<\_ACEOF
47920 #define wxUSE_PALETTE 1
47926 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47927 LIBS=" -lunicows $LIBS"
47931 if test "$wxUSE_RICHTEXT" = "yes"; then
47932 cat >>confdefs.h <<\_ACEOF
47933 #define wxUSE_RICHTEXT 1
47937 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47941 if test "$wxUSE_IMAGE" = "yes" ; then
47942 cat >>confdefs.h <<\_ACEOF
47943 #define wxUSE_IMAGE 1
47947 if test "$wxUSE_GIF" = "yes" ; then
47948 cat >>confdefs.h <<\_ACEOF
47949 #define wxUSE_GIF 1
47954 if test "$wxUSE_PCX" = "yes" ; then
47955 cat >>confdefs.h <<\_ACEOF
47956 #define wxUSE_PCX 1
47961 if test "$wxUSE_TGA" = "yes" ; then
47962 cat >>confdefs.h <<\_ACEOF
47963 #define wxUSE_TGA 1
47968 if test "$wxUSE_IFF" = "yes" ; then
47969 cat >>confdefs.h <<\_ACEOF
47970 #define wxUSE_IFF 1
47975 if test "$wxUSE_PNM" = "yes" ; then
47976 cat >>confdefs.h <<\_ACEOF
47977 #define wxUSE_PNM 1
47982 if test "$wxUSE_XPM" = "yes" ; then
47983 cat >>confdefs.h <<\_ACEOF
47984 #define wxUSE_XPM 1
47989 if test "$wxUSE_ICO_CUR" = "yes" ; then
47990 cat >>confdefs.h <<\_ACEOF
47991 #define wxUSE_ICO_CUR 1
47998 if test "$wxUSE_ABOUTDLG" = "yes"; then
47999 cat >>confdefs.h <<\_ACEOF
48000 #define wxUSE_ABOUTDLG 1
48005 if test "$wxUSE_CHOICEDLG" = "yes"; then
48006 cat >>confdefs.h <<\_ACEOF
48007 #define wxUSE_CHOICEDLG 1
48012 if test "$wxUSE_COLOURDLG" = "yes"; then
48013 cat >>confdefs.h <<\_ACEOF
48014 #define wxUSE_COLOURDLG 1
48019 if test "$wxUSE_FILEDLG" = "yes"; then
48020 cat >>confdefs.h <<\_ACEOF
48021 #define wxUSE_FILEDLG 1
48026 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48027 cat >>confdefs.h <<\_ACEOF
48028 #define wxUSE_FINDREPLDLG 1
48033 if test "$wxUSE_FONTDLG" = "yes"; then
48034 cat >>confdefs.h <<\_ACEOF
48035 #define wxUSE_FONTDLG 1
48040 if test "$wxUSE_DIRDLG" = "yes"; then
48041 if test "$wxUSE_TREECTRL" != "yes"; then
48042 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48043 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48045 cat >>confdefs.h <<\_ACEOF
48046 #define wxUSE_DIRDLG 1
48052 if test "$wxUSE_MSGDLG" = "yes"; then
48053 cat >>confdefs.h <<\_ACEOF
48054 #define wxUSE_MSGDLG 1
48059 if test "$wxUSE_NUMBERDLG" = "yes"; then
48060 cat >>confdefs.h <<\_ACEOF
48061 #define wxUSE_NUMBERDLG 1
48066 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48067 cat >>confdefs.h <<\_ACEOF
48068 #define wxUSE_PROGRESSDLG 1
48073 if test "$wxUSE_SPLASH" = "yes"; then
48074 cat >>confdefs.h <<\_ACEOF
48075 #define wxUSE_SPLASH 1
48078 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48081 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48082 cat >>confdefs.h <<\_ACEOF
48083 #define wxUSE_STARTUP_TIPS 1
48088 if test "$wxUSE_TEXTDLG" = "yes"; then
48089 cat >>confdefs.h <<\_ACEOF
48090 #define wxUSE_TEXTDLG 1
48095 if test "$wxUSE_WIZARDDLG" = "yes"; then
48096 cat >>confdefs.h <<\_ACEOF
48097 #define wxUSE_WIZARDDLG 1
48100 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48104 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48105 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48106 cat >>confdefs.h <<\_ACEOF
48107 #define wxUSE_OWNER_DRAWN 1
48114 if test "$wxUSE_MSW" = 1 ; then
48116 if test "$wxUSE_DC_CACHEING" = "yes"; then
48117 cat >>confdefs.h <<\_ACEOF
48118 #define wxUSE_DC_CACHEING 1
48123 if test "$wxUSE_DIB" = "yes"; then
48124 cat >>confdefs.h <<\_ACEOF
48125 #define wxUSE_WXDIB 1
48130 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48131 cat >>confdefs.h <<\_ACEOF
48132 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48137 if test "$wxUSE_UXTHEME" = "yes"; then
48138 cat >>confdefs.h <<\_ACEOF
48139 #define wxUSE_UXTHEME 1
48146 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48147 cat >>confdefs.h <<\_ACEOF
48148 #define wxUSE_AUTOID_MANAGEMENT 1
48153 if test "$USE_WIN32" = 1 ; then
48154 if test "$wxUSE_INICONF" = "yes"; then
48155 cat >>confdefs.h <<\_ACEOF
48156 #define wxUSE_INICONF 1
48161 if test "$wxUSE_REGKEY" = "yes"; then
48162 cat >>confdefs.h <<\_ACEOF
48163 #define wxUSE_REGKEY 1
48170 if test "$wxUSE_MAC" = 1; then
48171 wxUSE_GRAPHICS_CONTEXT="yes"
48174 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48176 if test "$wxUSE_MSW" = 1; then
48177 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
48178 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
48179 if test "${wx_cv_lib_gdiplus+set}" = set; then
48180 echo $ECHO_N "(cached) $ECHO_C" >&6
48184 ac_cpp='$CXXCPP $CPPFLAGS'
48185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48189 cat >conftest.$ac_ext <<_ACEOF
48192 cat confdefs.h >>conftest.$ac_ext
48193 cat >>conftest.$ac_ext <<_ACEOF
48194 /* end confdefs.h. */
48195 #include <windows.h>
48196 #include <gdiplus.h>
48201 using namespace Gdiplus;
48207 rm -f conftest.$ac_objext
48208 if { (ac_try="$ac_compile"
48209 case "(($ac_try" in
48210 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48211 *) ac_try_echo
=$ac_try;;
48213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48214 (eval "$ac_compile") 2>conftest.er1
48216 grep -v '^ *+' conftest.er1
>conftest.err
48218 cat conftest.err
>&5
48219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48220 (exit $ac_status); } && {
48221 test -z "$ac_cxx_werror_flag" ||
48222 test ! -s conftest.err
48223 } && test -s conftest.
$ac_objext; then
48224 wx_cv_lib_gdiplus
=yes
48226 echo "$as_me: failed program was:" >&5
48227 sed 's/^/| /' conftest.
$ac_ext >&5
48229 wx_cv_lib_gdiplus
=no
48233 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48235 ac_cpp
='$CPP $CPPFLAGS'
48236 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48237 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48238 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48243 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48244 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48245 if test "$wx_cv_lib_gdiplus" = "yes"; then
48248 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
48251 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48252 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48254 if test -n "$PKG_CONFIG"; then
48255 if test -n "$CAIRO_CFLAGS"; then
48256 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
48258 if test -n "$PKG_CONFIG" && \
48259 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48260 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48263 (exit $ac_status); }; then
48264 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48272 if test -n "$PKG_CONFIG"; then
48273 if test -n "$CAIRO_LIBS"; then
48274 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
48276 if test -n "$PKG_CONFIG" && \
48277 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48278 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48281 (exit $ac_status); }; then
48282 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48293 if test $pkg_failed = yes; then
48295 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48296 _pkg_short_errors_supported
=yes
48298 _pkg_short_errors_supported
=no
48300 if test $_pkg_short_errors_supported = yes; then
48301 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48303 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48305 # Put the nasty error message in config.log where it belongs
48306 echo "$CAIRO_PKG_ERRORS" >&5
48308 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48309 echo "$as_me: WARNING: Cairo library not found" >&2;}
48311 elif test $pkg_failed = untried
; then
48312 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48313 echo "$as_me: WARNING: Cairo library not found" >&2;}
48316 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
48317 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
48318 { echo "$as_me:$LINENO: result: yes" >&5
48319 echo "${ECHO_T}yes" >&6; }
48322 if test "$wx_has_graphics" = 1; then
48323 cat >>confdefs.h
<<\_ACEOF
48324 #define wxUSE_CAIRO 1
48328 if test "$wxUSE_GTK" != 1; then
48329 CPPFLAGS
="$CAIRO_CFLAGS $CPPFLAGS"
48330 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $CAIRO_LIBS"
48337 if test "$wx_has_graphics" = 1; then
48338 cat >>confdefs.h
<<\_ACEOF
48339 #define wxUSE_GRAPHICS_CONTEXT 1
48343 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
48344 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
48351 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
48354 if test "$wxUSE_GTK" = 1; then
48355 wxUSE_GSTREAMER
="no"
48357 GST_VERSION_MAJOR
=0
48358 GST_VERSION_MINOR
=10
48359 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
48361 if test "$wxUSE_GSTREAMER8" = "no"; then
48364 { echo "$as_me:$LINENO: checking for GST" >&5
48365 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48367 if test -n "$PKG_CONFIG"; then
48368 if test -n "$GST_CFLAGS"; then
48369 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
48371 if test -n "$PKG_CONFIG" && \
48372 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48373 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48376 (exit $ac_status); }; then
48377 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48385 if test -n "$PKG_CONFIG"; then
48386 if test -n "$GST_LIBS"; then
48387 pkg_cv_GST_LIBS
="$GST_LIBS"
48389 if test -n "$PKG_CONFIG" && \
48390 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48391 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48394 (exit $ac_status); }; then
48395 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48406 if test $pkg_failed = yes; then
48408 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48409 _pkg_short_errors_supported
=yes
48411 _pkg_short_errors_supported
=no
48413 if test $_pkg_short_errors_supported = yes; then
48414 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48416 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48418 # Put the nasty error message in config.log where it belongs
48419 echo "$GST_PKG_ERRORS" >&5
48422 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48423 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48424 GST_VERSION_MINOR
=8
48427 elif test $pkg_failed = untried
; then
48429 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48430 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48431 GST_VERSION_MINOR
=8
48435 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
48436 GST_LIBS
=$pkg_cv_GST_LIBS
48437 { echo "$as_me:$LINENO: result: yes" >&5
48438 echo "${ECHO_T}yes" >&6; }
48440 wxUSE_GSTREAMER
="yes"
48441 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48445 GST_VERSION_MINOR
=8
48448 if test $GST_VERSION_MINOR = "8"; then
48449 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
48452 { echo "$as_me:$LINENO: checking for GST" >&5
48453 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48455 if test -n "$PKG_CONFIG"; then
48456 if test -n "$GST_CFLAGS"; then
48457 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
48459 if test -n "$PKG_CONFIG" && \
48460 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48461 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48464 (exit $ac_status); }; then
48465 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48473 if test -n "$PKG_CONFIG"; then
48474 if test -n "$GST_LIBS"; then
48475 pkg_cv_GST_LIBS
="$GST_LIBS"
48477 if test -n "$PKG_CONFIG" && \
48478 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48479 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48482 (exit $ac_status); }; then
48483 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48494 if test $pkg_failed = yes; then
48496 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48497 _pkg_short_errors_supported
=yes
48499 _pkg_short_errors_supported
=no
48501 if test $_pkg_short_errors_supported = yes; then
48502 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48504 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48506 # Put the nasty error message in config.log where it belongs
48507 echo "$GST_PKG_ERRORS" >&5
48510 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48511 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48513 elif test $pkg_failed = untried
; then
48515 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48516 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48519 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
48520 GST_LIBS
=$pkg_cv_GST_LIBS
48521 { echo "$as_me:$LINENO: result: yes" >&5
48522 echo "${ECHO_T}yes" >&6; }
48523 wxUSE_GSTREAMER
="yes"
48528 if test "$wxUSE_GSTREAMER" = "yes"; then
48529 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
48530 EXTRALIBS_MEDIA
="$GST_LIBS"
48532 cat >>confdefs.h
<<\_ACEOF
48533 #define wxUSE_GSTREAMER 1
48541 if test $USE_MEDIA = 1; then
48542 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
48543 cat >>confdefs.h
<<\_ACEOF
48544 #define wxUSE_MEDIACTRL 1
48548 if test "$wxUSE_MEDIACTRL" = "yes"; then
48549 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
48550 echo "$as_me: error: GStreamer not available" >&2;}
48551 { (exit 1); exit 1; }; }
48553 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
48554 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
48560 if test "$cross_compiling" != "no"; then
48563 OSINFO
=`uname -s -r -m`
48564 OSINFO
="\"$OSINFO\""
48567 cat >>confdefs.h
<<_ACEOF
48568 #define WXWIN_OS_DESCRIPTION $OSINFO
48573 if test "x$prefix" != "xNONE"; then
48576 wxPREFIX
=$ac_default_prefix
48579 cat >>confdefs.h
<<_ACEOF
48580 #define wxINSTALL_PREFIX "$wxPREFIX"
48586 STD_BASE_LIBS
="base"
48588 BUILT_WX_LIBS
="base"
48589 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
48591 if test "$wxUSE_SOCKETS" = "yes" ; then
48592 STD_BASE_LIBS
="net $STD_BASE_LIBS"
48593 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
48595 if test "$wxUSE_XML" = "yes" ; then
48596 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
48597 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
48600 if test "$wxUSE_GUI" = "yes"; then
48601 STD_GUI_LIBS
="adv core"
48602 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
48604 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48605 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
48606 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
48608 if test "$wxUSE_HTML" = "yes" ; then
48609 STD_GUI_LIBS
="html $STD_GUI_LIBS"
48610 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
48612 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48613 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
48615 if test "$wxUSE_OPENGL" = "yes" ; then
48616 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
48618 if test "$wxUSE_AUI" = "yes" ; then
48619 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
48621 if test "$wxUSE_PROPGRID" = "yes" ; then
48622 BUILT_WX_LIBS
="propgrid $BUILT_WX_LIBS"
48624 if test "$wxUSE_RIBBON" = "yes" ; then
48625 BUILT_WX_LIBS
="ribbon $BUILT_WX_LIBS"
48627 if test "$wxUSE_RICHTEXT" = "yes" ; then
48628 BUILT_WX_LIBS
="richtext $BUILT_WX_LIBS"
48630 if test "$wxUSE_STC" = "yes" ; then
48631 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
48633 if test "$wxUSE_XRC" = "yes" ; then
48634 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
48635 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
48646 if test "$wxUSE_MAC" = 1 ; then
48647 if test "$USE_DARWIN" = 1; then
48648 if test "$wxUSE_OSX_IPHONE" = 1; then
48649 EXTRA_FRAMEWORKS
="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
48651 EXTRA_FRAMEWORKS
="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
48655 if test "$wxUSE_OLD_COCOA" = 1 ; then
48656 EXTRA_FRAMEWORKS
="-framework IOKit -framework Cocoa"
48657 if test "$wxUSE_MEDIACTRL" = "yes"; then
48658 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
48661 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
48662 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48665 LDFLAGS
="$LDFLAGS $EXTRA_FRAMEWORKS"
48666 WXCONFIG_LDFLAGS
="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
48668 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48670 if test "$wxUSE_GUI" = "yes"; then
48673 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48674 erase event exec font image minimal render \
48675 shaped svg taborder vscroll widgets wrapsizer"
48677 if test "$wxUSE_MONOLITHIC" != "yes"; then
48678 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
48680 if test "$TOOLKIT" = "MSW"; then
48681 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
48682 if test "$wxUSE_UNIVERSAL" != "yes"; then
48683 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
48686 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48687 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
48690 SAMPLES_SUBDIRS
="console"
48691 if test "$wxUSE_SOCKETS" = "yes" ; then
48692 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
48694 if test "$wxUSE_IPC" = "yes" ; then
48695 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
48700 if test "x$INTELCC" = "xyes" ; then
48701 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684,2259"
48702 elif test "$GCC" = yes ; then
48703 CWARNINGS
="-Wall -Wundef"
48706 if test "x$INTELCXX" = "xyes" ; then
48707 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
48708 elif test "$GXX" = yes ; then
48709 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
48710 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
48711 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
48712 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
48713 echo $ECHO_N "(cached) $ECHO_C" >&6
48715 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
="no, unknown"
48718 ac_cpp
='$CXXCPP $CPPFLAGS'
48719 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48720 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48721 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48723 ac_save_CXXFLAGS
="$CXXFLAGS"
48724 for ac_arg
in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
48725 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
48726 cat >conftest.
$ac_ext <<_ACEOF
48729 cat confdefs.h
>>conftest.
$ac_ext
48730 cat >>conftest.
$ac_ext <<_ACEOF
48731 /* end confdefs.h. */
48741 rm -f conftest.
$ac_objext
48742 if { (ac_try
="$ac_compile"
48743 case "(($ac_try" in
48744 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48745 *) ac_try_echo=$ac_try;;
48747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48748 (eval "$ac_compile") 2>conftest.er1
48750 grep -v '^ *+' conftest.er1 >conftest.err
48752 cat conftest.err >&5
48753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48754 (exit $ac_status); } && {
48755 test -z "$ac_cxx_werror_flag" ||
48756 test ! -s conftest.err
48757 } && test -s conftest.$ac_objext; then
48758 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
48760 echo "$as_me: failed program was:" >&5
48761 sed 's/^/| /' conftest.$ac_ext >&5
48766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48768 CXXFLAGS="$ac_save_CXXFLAGS"
48770 ac_cpp='$CPP $CPPFLAGS'
48771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48777 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
48778 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
48779 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
48783 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
48784 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
48785 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
48787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48788 (exit $ac_status); }
48789 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
48790 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
48792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48793 (exit $ac_status); }
48794 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
48800 if test "$wxUSE_MAC" = 1 ; then
48801 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
48806 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48807 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48810 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48811 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
48812 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
48815 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48816 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48817 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48818 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
48819 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
48821 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48824 if test "x$MWCC" = "xyes"; then
48826 CC="$CC -cwd source -I-"
48827 CXX="$CXX -cwd source -I-"
48832 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48833 EXTRALIBS_XML="$EXPAT_LINK"
48834 EXTRALIBS_HTML="$MSPACK_LINK"
48835 EXTRALIBS_MEDIA="$GST_LIBS"
48836 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48837 if test "$wxUSE_GUI" = "yes"; then
48838 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48840 if test "$wxUSE_OPENGL" = "yes"; then
48841 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
48844 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
48846 WXCONFIG_LIBS="$LIBS"
48848 if test "$wxUSE_REGEX" = "builtin" ; then
48849 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48851 if test "$wxUSE_EXPAT" = "builtin" ; then
48852 wxconfig_3rdparty="expat $wxconfig_3rdparty"
48854 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48855 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
48857 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48858 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
48860 if test "$wxUSE_LIBPNG" = "builtin" ; then
48861 wxconfig_3rdparty="png $wxconfig_3rdparty"
48863 if test "$wxUSE_ZLIB" = "builtin" ; then
48864 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48867 for i in $wxconfig_3rdparty ; do
48868 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48872 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48875 case "$wxUNIV_THEMES" in
48877 cat >>confdefs.h <<\_ACEOF
48878 #define wxUSE_ALL_THEMES 1
48884 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
48885 cat >>confdefs.h <<_ACEOF
48886 #define wxUSE_THEME_$t 1
48902 if test $wxUSE_MONOLITHIC = "yes" ; then
48908 if test $wxUSE_PLUGINS = "yes" ; then
48914 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48920 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48952 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
48965 TOOLKIT_DESC="GTK+"
48966 if test "$WXGTK2" = 1; then
48967 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48968 if test "$wxUSE_GTKPRINT" = "yes" ; then
48969 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
48971 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48972 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48974 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48975 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48977 if test "$wxUSE_LIBHILDON" = "yes"; then
48978 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48980 if test "$wxUSE_LIBHILDON2" = "yes"; then
48981 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48984 if test "$TOOLKIT_EXTRA" != ""; then
48985 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48991 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
48995 TOOLKIT_DESC="base only"
48999 if test "$wxUSE_WINE" = "yes"; then
49000 BAKEFILE_FORCE_PLATFORM=win32
49003 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49005 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49006 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49007 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49008 echo $ECHO_N "(cached) $ECHO_C" >&6
49011 echo '#include <stdio.h>
49012 const wchar_t test_var[] = L"awidetest";' > conftest.h
49014 echo '#include "conftest.h"
49017 printf("%ls", test_var);
49021 wx_cv_gcc_pch_bug="pch not supported"
49023 if $CXX conftest.h >/dev/null 2>&1
49027 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49029 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49030 grep awidetest >/dev/null
49032 wx_cv_gcc_pch_bug=no
49034 wx_cv_gcc_pch_bug=yes
49039 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49042 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49043 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49045 if test "$wx_cv_gcc_pch_bug" = yes; then
49056 if test "x$BAKEFILE_HOST" = "x"; then
49057 if test "x${host}" = "x" ; then
49058 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49059 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49060 { (exit 1); exit 1; }; }
49063 BAKEFILE_HOST="${host}"
49066 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49068 if test -n "$ac_tool_prefix"; then
49069 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49070 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49071 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49073 if test "${ac_cv_prog_RANLIB+set}" = set; then
49074 echo $ECHO_N "(cached) $ECHO_C" >&6
49076 if test -n "$RANLIB"; then
49077 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49080 for as_dir in $PATH
49083 test -z "$as_dir" && as_dir=.
49084 for ac_exec_ext in '' $ac_executable_extensions; do
49085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49086 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49096 RANLIB=$ac_cv_prog_RANLIB
49097 if test -n "$RANLIB"; then
49098 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49099 echo "${ECHO_T}$RANLIB" >&6; }
49101 { echo "$as_me:$LINENO: result: no" >&5
49102 echo "${ECHO_T}no" >&6; }
49107 if test -z "$ac_cv_prog_RANLIB"; then
49108 ac_ct_RANLIB=$RANLIB
49109 # Extract the first word of "ranlib", so it can be a program name with args.
49110 set dummy ranlib; ac_word=$2
49111 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49113 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49114 echo $ECHO_N "(cached) $ECHO_C" >&6
49116 if test -n "$ac_ct_RANLIB"; then
49117 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49120 for as_dir in $PATH
49123 test -z "$as_dir" && as_dir=.
49124 for ac_exec_ext in '' $ac_executable_extensions; do
49125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49126 ac_cv_prog_ac_ct_RANLIB="ranlib"
49127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49136 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49137 if test -n "$ac_ct_RANLIB"; then
49138 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49139 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49141 { echo "$as_me:$LINENO: result: no" >&5
49142 echo "${ECHO_T}no" >&6; }
49145 if test "x$ac_ct_RANLIB" = x; then
49148 case $cross_compiling:$ac_tool_warned in
49150 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49151 whose name does not start with the host triplet. If you think this
49152 configuration is useful to you, please write to autoconf@gnu.org." >&5
49153 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49154 whose name does not start with the host triplet. If you think this
49155 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49156 ac_tool_warned=yes ;;
49158 RANLIB=$ac_ct_RANLIB
49161 RANLIB="$ac_cv_prog_RANLIB"
49164 # Find a good install program. We prefer a C program (faster),
49165 # so one script is as good as another. But avoid the broken or
49166 # incompatible versions:
49167 # SysV /etc/install, /usr/sbin/install
49168 # SunOS /usr/etc/install
49169 # IRIX /sbin/install
49171 # AmigaOS /C/install, which installs bootblocks on floppy discs
49172 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49173 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49174 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49175 # OS/2's system install, which has a completely different semantic
49176 # ./install, which can be erroneously created by make from ./install.sh.
49177 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49178 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49179 if test -z "$INSTALL"; then
49180 if test "${ac_cv_path_install+set}" = set; then
49181 echo $ECHO_N "(cached) $ECHO_C" >&6
49183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49184 for as_dir in $PATH
49187 test -z "$as_dir" && as_dir=.
49188 # Account for people who put trailing slashes in PATH elements.
49190 ./ | .// | /cC/* | \
49191 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49192 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49195 # OSF1 and SCO ODT 3.0 have their own names for install.
49196 # Don't use installbsd from OSF since it installs stuff as root
49198 for ac_prog in ginstall scoinst install; do
49199 for ac_exec_ext in '' $ac_executable_extensions; do
49200 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49201 if test $ac_prog = install &&
49202 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49203 # AIX install. It has an incompatible calling convention.
49205 elif test $ac_prog = install &&
49206 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49207 # program-specific install script used by HP pwplus--don't use.
49210 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49223 if test "${ac_cv_path_install+set}" = set; then
49224 INSTALL=$ac_cv_path_install
49226 # As a last resort, use the slow shell script. Don't cache a
49227 # value for INSTALL within a source directory, because that will
49228 # break other packages using the cache if that directory is
49229 # removed, or if the value is a relative name.
49230 INSTALL=$ac_install_sh
49233 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49234 echo "${ECHO_T}$INSTALL" >&6; }
49236 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49237 # It thinks the first close brace ends the variable substitution.
49238 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49240 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49242 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49244 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49245 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49247 if test "$LN_S" = "ln -s"; then
49248 { echo "$as_me:$LINENO: result: yes" >&5
49249 echo "${ECHO_T}yes" >&6; }
49251 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49252 echo "${ECHO_T}no, using $LN_S" >&6; }
49256 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49257 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49258 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49259 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49260 echo $ECHO_N "(cached) $ECHO_C" >&6
49262 cat >conftest.make <<\_ACEOF
49265 @echo '@@@%%%=$(MAKE)=@@@%%%'
49267 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49268 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
49269 *@@@%%%=?*=@@@%%%*)
49270 eval ac_cv_prog_make_${ac_make}_set=yes;;
49272 eval ac_cv_prog_make_${ac_make}_set=no;;
49274 rm -f conftest.make
49276 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49277 { echo "$as_me:$LINENO: result: yes" >&5
49278 echo "${ECHO_T}yes" >&6; }
49281 { echo "$as_me:$LINENO: result: no" >&5
49282 echo "${ECHO_T}no" >&6; }
49283 SET_MAKE="MAKE=${MAKE-make}"
49288 if test "x$SUNCXX" = "xyes"; then
49290 AROPTIONS="-xar -o"
49292 elif test "x$SGICC" = "xyes"; then
49297 if test -n "$ac_tool_prefix"; then
49298 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49299 set dummy ${ac_tool_prefix}ar; ac_word=$2
49300 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49302 if test "${ac_cv_prog_AR+set}" = set; then
49303 echo $ECHO_N "(cached) $ECHO_C" >&6
49305 if test -n "$AR"; then
49306 ac_cv_prog_AR="$AR" # Let the user override the test.
49308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49309 for as_dir in $PATH
49312 test -z "$as_dir" && as_dir=.
49313 for ac_exec_ext in '' $ac_executable_extensions; do
49314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49315 ac_cv_prog_AR="${ac_tool_prefix}ar"
49316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49326 if test -n "$AR"; then
49327 { echo "$as_me:$LINENO: result: $AR" >&5
49328 echo "${ECHO_T}$AR" >&6; }
49330 { echo "$as_me:$LINENO: result: no" >&5
49331 echo "${ECHO_T}no" >&6; }
49336 if test -z "$ac_cv_prog_AR"; then
49338 # Extract the first word of "ar", so it can be a program name with args.
49339 set dummy ar; ac_word=$2
49340 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49342 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49343 echo $ECHO_N "(cached) $ECHO_C" >&6
49345 if test -n "$ac_ct_AR"; then
49346 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49349 for as_dir in $PATH
49352 test -z "$as_dir" && as_dir=.
49353 for ac_exec_ext in '' $ac_executable_extensions; do
49354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49355 ac_cv_prog_ac_ct_AR="ar"
49356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49365 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49366 if test -n "$ac_ct_AR"; then
49367 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49368 echo "${ECHO_T}$ac_ct_AR" >&6; }
49370 { echo "$as_me:$LINENO: result: no" >&5
49371 echo "${ECHO_T}no" >&6; }
49374 if test "x$ac_ct_AR" = x; then
49377 case $cross_compiling:$ac_tool_warned in
49379 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49380 whose name does not start with the host triplet. If you think this
49381 configuration is useful to you, please write to autoconf@gnu.org." >&5
49382 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49383 whose name does not start with the host triplet. If you think this
49384 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49385 ac_tool_warned=yes ;;
49390 AR="$ac_cv_prog_AR"
49397 if test -n "$ac_tool_prefix"; then
49398 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49399 set dummy ${ac_tool_prefix}strip; ac_word=$2
49400 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49402 if test "${ac_cv_prog_STRIP+set}" = set; then
49403 echo $ECHO_N "(cached) $ECHO_C" >&6
49405 if test -n "$STRIP"; then
49406 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49409 for as_dir in $PATH
49412 test -z "$as_dir" && as_dir=.
49413 for ac_exec_ext in '' $ac_executable_extensions; do
49414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49415 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49425 STRIP=$ac_cv_prog_STRIP
49426 if test -n "$STRIP"; then
49427 { echo "$as_me:$LINENO: result: $STRIP" >&5
49428 echo "${ECHO_T}$STRIP" >&6; }
49430 { echo "$as_me:$LINENO: result: no" >&5
49431 echo "${ECHO_T}no" >&6; }
49436 if test -z "$ac_cv_prog_STRIP"; then
49438 # Extract the first word of "strip", so it can be a program name with args.
49439 set dummy strip; ac_word=$2
49440 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49442 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49443 echo $ECHO_N "(cached) $ECHO_C" >&6
49445 if test -n "$ac_ct_STRIP"; then
49446 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49449 for as_dir in $PATH
49452 test -z "$as_dir" && as_dir=.
49453 for ac_exec_ext in '' $ac_executable_extensions; do
49454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49455 ac_cv_prog_ac_ct_STRIP="strip"
49456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49465 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49466 if test -n "$ac_ct_STRIP"; then
49467 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49468 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49470 { echo "$as_me:$LINENO: result: no" >&5
49471 echo "${ECHO_T}no" >&6; }
49474 if test "x$ac_ct_STRIP" = x; then
49477 case $cross_compiling:$ac_tool_warned in
49479 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49480 whose name does not start with the host triplet. If you think this
49481 configuration is useful to you, please write to autoconf@gnu.org." >&5
49482 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49483 whose name does not start with the host triplet. If you think this
49484 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49485 ac_tool_warned=yes ;;
49490 STRIP="$ac_cv_prog_STRIP"
49493 if test -n "$ac_tool_prefix"; then
49494 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49495 set dummy ${ac_tool_prefix}nm; ac_word=$2
49496 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49498 if test "${ac_cv_prog_NM+set}" = set; then
49499 echo $ECHO_N "(cached) $ECHO_C" >&6
49501 if test -n "$NM"; then
49502 ac_cv_prog_NM="$NM" # Let the user override the test.
49504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49505 for as_dir in $PATH
49508 test -z "$as_dir" && as_dir=.
49509 for ac_exec_ext in '' $ac_executable_extensions; do
49510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49511 ac_cv_prog_NM="${ac_tool_prefix}nm"
49512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49522 if test -n "$NM"; then
49523 { echo "$as_me:$LINENO: result: $NM" >&5
49524 echo "${ECHO_T}$NM" >&6; }
49526 { echo "$as_me:$LINENO: result: no" >&5
49527 echo "${ECHO_T}no" >&6; }
49532 if test -z "$ac_cv_prog_NM"; then
49534 # Extract the first word of "nm", so it can be a program name with args.
49535 set dummy nm; ac_word=$2
49536 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49538 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49539 echo $ECHO_N "(cached) $ECHO_C" >&6
49541 if test -n "$ac_ct_NM"; then
49542 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49545 for as_dir in $PATH
49548 test -z "$as_dir" && as_dir=.
49549 for ac_exec_ext in '' $ac_executable_extensions; do
49550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49551 ac_cv_prog_ac_ct_NM="nm"
49552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49561 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49562 if test -n "$ac_ct_NM"; then
49563 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49564 echo "${ECHO_T}$ac_ct_NM" >&6; }
49566 { echo "$as_me:$LINENO: result: no" >&5
49567 echo "${ECHO_T}no" >&6; }
49570 if test "x$ac_ct_NM" = x; then
49573 case $cross_compiling:$ac_tool_warned in
49575 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49576 whose name does not start with the host triplet. If you think this
49577 configuration is useful to you, please write to autoconf@gnu.org." >&5
49578 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49579 whose name does not start with the host triplet. If you think this
49580 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49581 ac_tool_warned=yes ;;
49586 NM="$ac_cv_prog_NM"
49590 { echo "$as_me:$LINENO: checking for command to install directories" >&5
49591 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
49592 INSTALL_TEST_DIR=acbftest$$
49593 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
49594 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
49595 rmdir $INSTALL_TEST_DIR
49596 INSTALL_DIR='$(INSTALL) -d'
49597 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
49598 echo "${ECHO_T}$INSTALL -d" >&6; }
49600 INSTALL_DIR="mkdir -p"
49601 { echo "$as_me:$LINENO: result: mkdir -p" >&5
49602 echo "${ECHO_T}mkdir -p" >&6; }
49607 case ${BAKEFILE_HOST} in
49608 *-*-cygwin* | *-*-mingw32* )
49609 LDFLAGS_GUI="-mwindows"
49615 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49616 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49617 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49618 echo $ECHO_N "(cached) $ECHO_C" >&6
49621 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49622 egrep -s GNU > /dev/null); then
49623 bakefile_cv_prog_makeisgnu="yes"
49625 bakefile_cv_prog_makeisgnu="no"
49629 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49630 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49632 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49649 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49650 case "${BAKEFILE_HOST}" in
49657 *-pc-os2_emx | *-pc-os2-emx )
49667 powerpc-apple-macos* )
49676 case "$BAKEFILE_FORCE_PLATFORM" in
49697 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
49698 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
49699 { (exit 1); exit 1; }; }
49714 # Check whether --enable-omf was given.
49715 if test "${enable_omf+set}" = set; then
49716 enableval=$enable_omf; bk_os2_use_omf="$enableval"
49720 case "${BAKEFILE_HOST}" in
49722 if test "x$GCC" = "xyes"; then
49723 CFLAGS="$CFLAGS -fno-common"
49724 CXXFLAGS="$CXXFLAGS -fno-common"
49726 if test "x$XLCC" = "xyes"; then
49727 CFLAGS="$CFLAGS -qnocommon"
49728 CXXFLAGS="$CXXFLAGS -qnocommon"
49732 *-pc-os2_emx | *-pc-os2-emx )
49733 if test "x$bk_os2_use_omf" = "xyes" ; then
49736 LDFLAGS="-Zomf $LDFLAGS"
49737 CFLAGS="-Zomf $CFLAGS"
49738 CXXFLAGS="-Zomf $CXXFLAGS"
49746 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
49752 SO_SUFFIX_MODULE="so"
49757 DLLPREFIX_MODULE=""
49761 case "${BAKEFILE_HOST}" in
49766 SO_SUFFIX_MODULE="sl"
49770 SO_SUFFIX_MODULE="a"
49774 SO_SUFFIX_MODULE="dll"
49775 DLLIMP_SUFFIX="dll.a"
49782 SO_SUFFIX_MODULE="dll"
49783 DLLIMP_SUFFIX="dll.a"
49793 *-pc-os2_emx | *-pc-os2-emx )
49795 SO_SUFFIX_MODULE="dll"
49796 DLLIMP_SUFFIX=$OS2_LIBEXT
49800 LIBEXT=".$OS2_LIBEXT"
49805 SO_SUFFIX_MODULE="bundle"
49809 if test "x$DLLIMP_SUFFIX" = "x" ; then
49810 DLLIMP_SUFFIX="$SO_SUFFIX"
49825 if test "x$GCC" = "xyes"; then
49829 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49830 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49833 case "${BAKEFILE_HOST}" in
49835 if test "x$GCC" != "xyes"; then
49836 LDFLAGS="$LDFLAGS -L/usr/lib"
49838 SHARED_LD_CC="${CC} -b -o"
49839 SHARED_LD_CXX="${CXX} -b -o"
49845 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
49847 elif test "x$SUNCXX" = "xyes"; then
49848 SHARED_LD_CC="${CC} -G -o"
49849 SHARED_LD_CXX="${CXX} -G -o"
49855 if test "x$SUNCXX" = xyes ; then
49856 SHARED_LD_CC="${CC} -G -o"
49857 SHARED_LD_CXX="${CXX} -G -o"
49865 cat <<EOF >shared-ld-sh
49867 #-----------------------------------------------------------------------------
49868 #-- Name: distrib/mac/shared-ld-sh
49869 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49870 #-- Author: Gilles Depeyrot
49871 #-- Copyright: (c) 2002 Gilles Depeyrot
49872 #-- Licence: any use permitted
49873 #-----------------------------------------------------------------------------
49878 linking_flag="-dynamiclib"
49879 ldargs="-r -keep_private_externs -nostdlib"
49881 if test "x${D}CXX" = "x"; then
49885 while test ${D}# -gt 0; do
49892 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49893 # collect these options and values
49894 args="${D}{args} ${D}1 ${D}2"
49899 # collect these options and values
49900 ldargs="${D}{ldargs} ${D}1 ${D}2"
49905 # collect these load args
49906 ldargs="${D}{ldargs} ${D}1"
49909 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49910 # collect these options
49911 args="${D}{args} ${D}1"
49914 -dynamiclib|-bundle)
49915 linking_flag="${D}1"
49919 echo "shared-ld: unhandled option '${D}1'"
49923 *.o | *.a | *.dylib)
49924 # collect object files
49925 objects="${D}{objects} ${D}1"
49929 echo "shared-ld: unhandled argument '${D}1'"
49940 # Link one module containing all the others
49942 if test ${D}{verbose} = 1; then
49943 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49945 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49949 # Link the shared library from the single module created, but only if the
49950 # previous command didn't fail:
49952 if test ${D}{status} = 0; then
49953 if test ${D}{verbose} = 1; then
49954 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49956 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49961 # Remove intermediate module
49963 rm -f master.${D}${D}.o
49968 chmod +x shared-ld-sh
49970 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49971 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
49974 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49975 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
49976 if test "${bakefile_cv_gcc31+set}" = set; then
49977 echo $ECHO_N "(cached) $ECHO_C" >&6
49980 cat >conftest.$ac_ext <<_ACEOF
49983 cat confdefs.h >>conftest.$ac_ext
49984 cat >>conftest.$ac_ext <<_ACEOF
49985 /* end confdefs.h. */
49991 #if (__GNUC__ < 3) || \
49992 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50000 rm -f conftest.$ac_objext
50001 if { (ac_try="$ac_compile"
50002 case "(($ac_try" in
50003 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50004 *) ac_try_echo
=$ac_try;;
50006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50007 (eval "$ac_compile") 2>conftest.er1
50009 grep -v '^ *+' conftest.er1
>conftest.err
50011 cat conftest.err
>&5
50012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50013 (exit $ac_status); } && {
50014 test -z "$ac_c_werror_flag" ||
50015 test ! -s conftest.err
50016 } && test -s conftest.
$ac_objext; then
50018 bakefile_cv_gcc31
=yes
50021 echo "$as_me: failed program was:" >&5
50022 sed 's/^/| /' conftest.
$ac_ext >&5
50025 bakefile_cv_gcc31
=no
50030 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
50033 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50034 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50035 if test "$bakefile_cv_gcc31" = "no"; then
50036 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50037 SHARED_LD_CXX
="$SHARED_LD_CC"
50039 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50040 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50043 if test "x$GCC" == "xyes"; then
50044 PIC_FLAG
="-dynamic -fPIC"
50046 if test "x$XLCC" = "xyes"; then
50047 PIC_FLAG
="-dynamic -DPIC"
50052 if test "x$GCC" = "xyes"; then
50055 case "${BAKEFILE_HOST}" in
50057 LD_EXPFULL
="-Wl,-bexpfull"
50061 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
50062 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
50064 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50065 set dummy makeC
++SharedLib
; ac_word
=$2
50066 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50068 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50069 echo $ECHO_N "(cached) $ECHO_C" >&6
50071 if test -n "$AIX_CXX_LD"; then
50072 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
50074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50075 for as_dir
in $PATH
50078 test -z "$as_dir" && as_dir
=.
50079 for ac_exec_ext
in '' $ac_executable_extensions; do
50080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50081 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
50082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50089 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
50092 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
50093 if test -n "$AIX_CXX_LD"; then
50094 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50095 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50097 { echo "$as_me:$LINENO: result: no" >&5
50098 echo "${ECHO_T}no" >&6; }
50102 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
50103 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
50108 SHARED_LD_CC
="${LD} -nostart -o"
50109 SHARED_LD_CXX
="${LD} -nostart -o"
50113 if test "x$GCC" != "xyes"; then
50118 *-*-cygwin* | *-*-mingw32* )
50120 SHARED_LD_CC
="\$(CC) -shared -o"
50121 SHARED_LD_CXX
="\$(CXX) -shared -o"
50125 *-pc-os2_emx | *-pc-os2-emx )
50126 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50127 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50131 cat <<EOF >dllar.sh
50134 # dllar - a tool to build both a .dll and an .a file
50135 # from a set of object (.o) files for EMX/OS2.
50137 # Written by Andrew Zabolotny, bit@freya.etu.ru
50138 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50140 # This script will accept a set of files on the command line.
50141 # All the public symbols from the .o files will be exported into
50142 # a .DEF file, then linker will be run (through gcc) against them to
50143 # build a shared library consisting of all given .o files. All libraries
50144 # (.a) will be first decompressed into component .o files then act as
50145 # described above. You can optionally give a description (-d "description")
50146 # which will be put into .DLL. To see the list of accepted options (as well
50147 # as command-line format) simply run this program without options. The .DLL
50148 # is built to be imported by name (there is no guarantee that new versions
50149 # of the library you build will have same ordinals for same symbols).
50151 # dllar is free software; you can redistribute it and/or modify
50152 # it under the terms of the GNU General Public License as published by
50153 # the Free Software Foundation; either version 2, or (at your option)
50154 # any later version.
50156 # dllar is distributed in the hope that it will be useful,
50157 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50158 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50159 # GNU General Public License for more details.
50161 # You should have received a copy of the GNU General Public License
50162 # along with dllar; see the file COPYING. If not, write to the Free
50163 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50166 # To successfuly run this program you will need:
50167 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50168 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50170 # (used to build the .dll)
50172 # (used to create .def file from .o files)
50174 # (used to create .a file from .def file)
50175 # - GNU text utilites (cat, sort, uniq)
50176 # used to process emxexp output
50177 # - GNU file utilities (mv, rm)
50179 # - lxlite (optional, see flag below)
50180 # (used for general .dll cleanup)
50187 # basnam, variant of basename, which does _not_ remove the path, _iff_
50188 # second argument (suffix to remove) is given
50192 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50195 echo ${D}1 | sed 's/'${D}2'${D}//'
50198 echo "error in basnam ${D}*"
50204 # Cleanup temporary files and output
50207 for i in ${D}inputFiles ; do
50210 rm -rf \`basnam ${D}i !\`
50217 # Kill result in case of failure as there is just to many stupid make/nmake
50218 # things out there which doesn't do this.
50219 if [ ${D}# -eq 0 ]; then
50220 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50224 # Print usage and exit script with rc=1.
50226 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50227 echo ' [-name-mangler-script script.sh]'
50228 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50229 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50230 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50231 echo ' [*.o] [*.a]'
50232 echo '*> "output_file" should have no extension.'
50233 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50234 echo ' The import library name is derived from this and is set to "name".a,'
50235 echo ' unless overridden by -import'
50236 echo '*> "importlib_name" should have no extension.'
50237 echo ' If it has the .o, or .a extension, it is automatically removed.'
50238 echo ' This name is used as the import library name and may be longer and'
50239 echo ' more descriptive than the DLL name which has to follow the old '
50240 echo ' 8.3 convention of FAT.'
50241 echo '*> "script.sh may be given to override the output_file name by a'
50242 echo ' different name. It is mainly useful if the regular make process'
50243 echo ' of some package does not take into account OS/2 restriction of'
50244 echo ' DLL name lengths. It takes the importlib name as input and is'
50245 echo ' supposed to procude a shorter name as output. The script should'
50246 echo ' expect to get importlib_name without extension and should produce'
50247 echo ' a (max.) 8 letter name without extension.'
50248 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50249 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50250 echo ' These flags will be put at the start of GCC command line.'
50251 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50252 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50253 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50254 echo ' If the last character of a symbol is "*", all symbols beginning'
50255 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50256 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50257 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50258 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50259 echo ' C runtime DLLs.'
50260 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50261 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50262 echo ' unchanged to GCC at the end of command line.'
50263 echo '*> If you create a DLL from a library and you do not specify -o,'
50264 echo ' the basename for DLL and import library will be set to library name,'
50265 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50266 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50267 echo ' library will be renamed into gcc_s.a.'
50270 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50271 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50276 # Execute a command.
50277 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50278 # @Uses Whatever CleanUp() uses.
50284 if [ ${D}rcCmd -ne 0 ]; then
50285 echo "command failed, exit code="${D}rcCmd
50300 CFLAGS="-s -Zcrtdll"
50302 EXPORT_BY_ORDINALS=0
50307 case ${D}curDirS in
50311 curDirS=${D}{curDirS}"/"
50314 # Parse commandline
50317 while [ ${D}1 ]; do
50320 EXPORT_BY_ORDINALS=1;
50330 -name-mangler-script)
50351 exclude_symbols=${D}{exclude_symbols}${D}1" "
50355 library_flags=${D}{library_flags}${D}1" "
50374 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50377 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50378 if [ ${D}omfLinking -eq 1 ]; then
50379 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50381 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50386 if [ ${D}libsToLink -ne 0 ]; then
50387 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50389 for file in ${D}1 ; do
50390 if [ -f ${D}file ]; then
50391 inputFiles="${D}{inputFiles} ${D}file"
50395 if [ ${D}found -eq 0 ]; then
50396 echo "ERROR: No file(s) found: "${D}1
50403 done # iterate cmdline words
50406 if [ -z "${D}inputFiles" ]; then
50407 echo "dllar: no input files"
50411 # Now extract all .o files from .a files
50413 for file in ${D}inputFiles ; do
50424 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50429 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50431 if [ ${D}? -ne 0 ]; then
50432 echo "Failed to create subdirectory ./${D}dirname"
50436 # Append '!' to indicate archive
50437 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50438 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50441 for subfile in ${D}dirname/*.o* ; do
50442 if [ -f ${D}subfile ]; then
50444 if [ -s ${D}subfile ]; then
50445 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50446 newInputFiles="${D}newInputFiles ${D}subfile"
50450 if [ ${D}found -eq 0 ]; then
50451 echo "WARNING: there are no files in archive \\'${D}file\\'"
50455 newInputFiles="${D}{newInputFiles} ${D}file"
50459 inputFiles="${D}newInputFiles"
50461 # Output filename(s).
50463 if [ -z ${D}outFile ]; then
50465 set outFile ${D}inputFiles; outFile=${D}2
50468 # If it is an archive, remove the '!' and the '_%' suffixes
50469 case ${D}outFile in
50471 outFile=\`basnam ${D}outFile _%!\`
50476 case ${D}outFile in
50478 outFile=\`basnam ${D}outFile .dll\`
50481 outFile=\`basnam ${D}outFile .DLL\`
50484 outFile=\`basnam ${D}outFile .o\`
50487 outFile=\`basnam ${D}outFile .obj\`
50490 outFile=\`basnam ${D}outFile .a\`
50493 outFile=\`basnam ${D}outFile .lib\`
50498 case ${D}outimpFile in
50500 outimpFile=\`basnam ${D}outimpFile .a\`
50503 outimpFile=\`basnam ${D}outimpFile .lib\`
50508 if [ -z ${D}outimpFile ]; then
50509 outimpFile=${D}outFile
50511 defFile="${D}{outFile}.def"
50512 arcFile="${D}{outimpFile}.a"
50513 arcFile2="${D}{outimpFile}.lib"
50515 #create ${D}dllFile as something matching 8.3 restrictions,
50516 if [ -z ${D}renameScript ] ; then
50517 dllFile="${D}outFile"
50519 dllFile=\`${D}renameScript ${D}outimpFile\`
50522 if [ ${D}do_backup -ne 0 ] ; then
50523 if [ -f ${D}arcFile ] ; then
50524 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50526 if [ -f ${D}arcFile2 ] ; then
50527 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50531 # Extract public symbols from all the object files.
50532 tmpdefFile=${D}{defFile}_%
50533 rm -f ${D}tmpdefFile
50534 for file in ${D}inputFiles ; do
50539 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50544 # Create the def file.
50546 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50547 dllFile="${D}{dllFile}.dll"
50548 if [ ! -z ${D}description ]; then
50549 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50551 echo "EXPORTS" >> ${D}defFile
50553 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50554 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50556 # Checks if the export is ok or not.
50557 for word in ${D}exclude_symbols; do
50558 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50559 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50563 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50564 sed "=" < ${D}tmpdefFile | \\
50568 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50570 ' > ${D}{tmpdefFile}%
50571 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50573 rm -f ${D}{tmpdefFile}%
50575 cat ${D}tmpdefFile >> ${D}defFile
50576 rm -f ${D}tmpdefFile
50578 # Do linking, create implib, and apply lxlite.
50580 for file in ${D}inputFiles ; do
50585 gccCmdl="${D}gccCmdl ${D}file"
50589 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50590 touch "${D}{outFile}.dll"
50592 doCommand "emximp -o ${D}arcFile ${D}defFile"
50593 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50595 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50598 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50600 doCommand "emxomf -s -l ${D}arcFile"
50610 powerpc
-apple-macos* | \
50611 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
50621 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50622 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50623 { (exit 1); exit 1; }; }
50626 if test "x$PIC_FLAG" != "x" ; then
50627 PIC_FLAG
="$PIC_FLAG -DPIC"
50630 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50631 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
50633 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50634 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
50649 USE_SOTWOSYMLINKS
=0
50653 case "${BAKEFILE_HOST}" in
50654 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
50655 *-*-k*bsd
*-gnu | *-*-mirbsd* )
50656 if test "x$SUNCXX" = "xyes"; then
50659 SONAME_FLAG
="-Wl,-soname,"
50663 USE_SOTWOSYMLINKS
=1
50675 USE_SOTWOSYMLINKS
=1
50693 # Check whether --enable-dependency-tracking was given.
50694 if test "${enable_dependency_tracking+set}" = set; then
50695 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
50699 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50700 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50703 if test "x$bk_use_trackdeps" = "xno" ; then
50705 { echo "$as_me:$LINENO: result: disabled" >&5
50706 echo "${ECHO_T}disabled" >&6; }
50710 if test "x$GCC" = "xyes"; then
50712 case "${BAKEFILE_HOST}" in
50714 DEPSFLAG
="-no-cpp-precomp -MMD"
50720 { echo "$as_me:$LINENO: result: gcc" >&5
50721 echo "${ECHO_T}gcc" >&6; }
50722 elif test "x$MWCC" = "xyes"; then
50725 { echo "$as_me:$LINENO: result: mwcc" >&5
50726 echo "${ECHO_T}mwcc" >&6; }
50727 elif test "x$SUNCC" = "xyes"; then
50730 { echo "$as_me:$LINENO: result: Sun cc" >&5
50731 echo "${ECHO_T}Sun cc" >&6; }
50732 elif test "x$SGICC" = "xyes"; then
50735 { echo "$as_me:$LINENO: result: SGI cc" >&5
50736 echo "${ECHO_T}SGI cc" >&6; }
50737 elif test "x$HPCC" = "xyes"; then
50740 { echo "$as_me:$LINENO: result: HP cc" >&5
50741 echo "${ECHO_T}HP cc" >&6; }
50742 elif test "x$COMPAQCC" = "xyes"; then
50745 { echo "$as_me:$LINENO: result: Compaq cc" >&5
50746 echo "${ECHO_T}Compaq cc" >&6; }
50749 { echo "$as_me:$LINENO: result: none" >&5
50750 echo "${ECHO_T}none" >&6; }
50753 if test $DEPS_TRACKING = 1 ; then
50759 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50760 # script. It is used to track C/C++ files dependencies in portable way.
50762 # Permission is given to use this file in any way.
50764 DEPSMODE=${DEPSMODE}
50765 DEPSFLAG="${DEPSFLAG}"
50768 if test ${D}DEPSMODE = gcc ; then
50769 ${D}* ${D}{DEPSFLAG}
50772 # determine location of created files:
50773 while test ${D}# -gt 0; do
50787 objfilebase=\`basename ${D}objfile\`
50788 builddir=\`dirname ${D}objfile\`
50789 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50790 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50791 depsdir=${D}builddir/${D}DEPSDIRBASE
50792 mkdir -p ${D}depsdir
50794 # if the compiler failed, we're done:
50795 if test ${D}{status} != 0 ; then
50800 # move created file to the location we want it in:
50801 if test -f ${D}depfile ; then
50802 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50805 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50806 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
50807 if test ! -f ${D}depfile ; then
50808 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50809 depfile="${D}objfile.d"
50811 if test -f ${D}depfile ; then
50812 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50818 elif test ${D}DEPSMODE = mwcc ; then
50819 ${D}* || exit ${D}?
50820 # Run mwcc again with -MM and redirect into the dep file we want
50821 # NOTE: We can't use shift here because we need ${D}* to be valid
50823 for arg in ${D}* ; do
50824 if test "${D}prevarg" = "-o"; then
50838 objfilebase=\`basename ${D}objfile\`
50839 builddir=\`dirname ${D}objfile\`
50840 depsdir=${D}builddir/${D}DEPSDIRBASE
50841 mkdir -p ${D}depsdir
50843 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
50846 elif test ${D}DEPSMODE = unixcc; then
50847 ${D}* || exit ${D}?
50848 # Run compiler again with deps flag and redirect into the dep file.
50849 # It doesn't work if the '-o FILE' option is used, but without it the
50850 # dependency file will contain the wrong name for the object. So it is
50851 # removed from the command line, and the dep file is fixed with sed.
50853 while test ${D}# -gt 0; do
50860 eval arg${D}#=\\${D}1
50861 cmd="${D}cmd \\${D}arg${D}#"
50867 objfilebase=\`basename ${D}objfile\`
50868 builddir=\`dirname ${D}objfile\`
50869 depsdir=${D}builddir/${D}DEPSDIRBASE
50870 mkdir -p ${D}depsdir
50872 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
50882 BK_DEPS
="`pwd`/bk-deps"
50890 case ${BAKEFILE_HOST} in
50891 *-*-cygwin* | *-*-mingw32* )
50892 if test -n "$ac_tool_prefix"; then
50893 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50894 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
50895 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50897 if test "${ac_cv_prog_WINDRES+set}" = set; then
50898 echo $ECHO_N "(cached) $ECHO_C" >&6
50900 if test -n "$WINDRES"; then
50901 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
50903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50904 for as_dir
in $PATH
50907 test -z "$as_dir" && as_dir
=.
50908 for ac_exec_ext
in '' $ac_executable_extensions; do
50909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50910 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
50911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50920 WINDRES
=$ac_cv_prog_WINDRES
50921 if test -n "$WINDRES"; then
50922 { echo "$as_me:$LINENO: result: $WINDRES" >&5
50923 echo "${ECHO_T}$WINDRES" >&6; }
50925 { echo "$as_me:$LINENO: result: no" >&5
50926 echo "${ECHO_T}no" >&6; }
50931 if test -z "$ac_cv_prog_WINDRES"; then
50932 ac_ct_WINDRES
=$WINDRES
50933 # Extract the first word of "windres", so it can be a program name with args.
50934 set dummy windres
; ac_word
=$2
50935 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50937 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50938 echo $ECHO_N "(cached) $ECHO_C" >&6
50940 if test -n "$ac_ct_WINDRES"; then
50941 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
50943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50944 for as_dir
in $PATH
50947 test -z "$as_dir" && as_dir
=.
50948 for ac_exec_ext
in '' $ac_executable_extensions; do
50949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50950 ac_cv_prog_ac_ct_WINDRES
="windres"
50951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50960 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
50961 if test -n "$ac_ct_WINDRES"; then
50962 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50963 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
50965 { echo "$as_me:$LINENO: result: no" >&5
50966 echo "${ECHO_T}no" >&6; }
50969 if test "x$ac_ct_WINDRES" = x
; then
50972 case $cross_compiling:$ac_tool_warned in
50974 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50975 whose name does not start with the host triplet. If you think this
50976 configuration is useful to you, please write to autoconf@gnu.org." >&5
50977 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50978 whose name does not start with the host triplet. If you think this
50979 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50980 ac_tool_warned
=yes ;;
50982 WINDRES
=$ac_ct_WINDRES
50985 WINDRES
="$ac_cv_prog_WINDRES"
50990 *-*-darwin* | powerpc
-apple-macos* )
50991 # Extract the first word of "Rez", so it can be a program name with args.
50992 set dummy Rez
; ac_word
=$2
50993 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50995 if test "${ac_cv_prog_REZ+set}" = set; then
50996 echo $ECHO_N "(cached) $ECHO_C" >&6
50998 if test -n "$REZ"; then
50999 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
51001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51002 for as_dir
in $PATH
51005 test -z "$as_dir" && as_dir
=.
51006 for ac_exec_ext
in '' $ac_executable_extensions; do
51007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51008 ac_cv_prog_REZ
="Rez"
51009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51016 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
51019 REZ
=$ac_cv_prog_REZ
51020 if test -n "$REZ"; then
51021 { echo "$as_me:$LINENO: result: $REZ" >&5
51022 echo "${ECHO_T}$REZ" >&6; }
51024 { echo "$as_me:$LINENO: result: no" >&5
51025 echo "${ECHO_T}no" >&6; }
51029 # Extract the first word of "SetFile", so it can be a program name with args.
51030 set dummy SetFile
; ac_word
=$2
51031 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51033 if test "${ac_cv_prog_SETFILE+set}" = set; then
51034 echo $ECHO_N "(cached) $ECHO_C" >&6
51036 if test -n "$SETFILE"; then
51037 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
51039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51040 for as_dir
in $PATH
51043 test -z "$as_dir" && as_dir
=.
51044 for ac_exec_ext
in '' $ac_executable_extensions; do
51045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51046 ac_cv_prog_SETFILE
="SetFile"
51047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51054 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
51057 SETFILE
=$ac_cv_prog_SETFILE
51058 if test -n "$SETFILE"; then
51059 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51060 echo "${ECHO_T}$SETFILE" >&6; }
51062 { echo "$as_me:$LINENO: result: no" >&5
51063 echo "${ECHO_T}no" >&6; }
51078 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.9"
51081 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.9"
51085 # Check whether --enable-precomp-headers was given.
51086 if test "${enable_precomp_headers+set}" = set; then
51087 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
51096 case ${BAKEFILE_HOST} in
51102 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51103 if test "x$GCC" = "xyes"; then
51104 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51105 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51106 cat >conftest.
$ac_ext <<_ACEOF
51109 cat confdefs.h
>>conftest.
$ac_ext
51110 cat >>conftest.
$ac_ext <<_ACEOF
51111 /* end confdefs.h. */
51117 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51118 There is no PCH support
51121 There is no PCH support
51123 #if (__GNUC__ == 3) && \
51124 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51125 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51126 ( defined(__INTEL_COMPILER) )
51127 There is no PCH support
51134 rm -f conftest.
$ac_objext
51135 if { (ac_try
="$ac_compile"
51136 case "(($ac_try" in
51137 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51138 *) ac_try_echo=$ac_try;;
51140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51141 (eval "$ac_compile") 2>conftest.er1
51143 grep -v '^ *+' conftest.er1 >conftest.err
51145 cat conftest.err >&5
51146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51147 (exit $ac_status); } && {
51148 test -z "$ac_c_werror_flag" ||
51149 test ! -s conftest.err
51150 } && test -s conftest.$ac_objext; then
51152 { echo "$as_me:$LINENO: result: yes" >&5
51153 echo "${ECHO_T}yes" >&6; }
51157 echo "$as_me: failed program was:" >&5
51158 sed 's/^/| /' conftest.$ac_ext >&5
51161 if test "$INTELCXX8" = "yes"; then
51162 { echo "$as_me:$LINENO: result: yes" >&5
51163 echo "${ECHO_T}yes" >&6; }
51165 if test "$INTELCXX10" = "yes"; then
51166 ICC_PCH_CREATE_SWITCH="-pch-create"
51167 ICC_PCH_USE_SWITCH="-pch-use"
51169 ICC_PCH_CREATE_SWITCH="-create-pch"
51170 ICC_PCH_USE_SWITCH="-use-pch"
51173 { echo "$as_me:$LINENO: result: no" >&5
51174 echo "${ECHO_T}no" >&6; }
51179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51180 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51184 cat <<EOF >bk-make-pch
51187 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51188 # script. It is used to generated precompiled headers.
51190 # Permission is given to use this file in any way.
51197 builddir=\`echo ${D}outfile
| sed -e 's,/\\.pch/.*${D},,g'\
`
51202 while test ${D}{#} -gt 0; do
51206 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
51207 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51208 headerfile="${D}{incdir}/${D}{header}"
51211 -use-pch|-use_pch|-pch-use )
51216 if test ${D}add_to_cmdline = 1 ; then
51217 compiler="${D}{compiler} ${D}{1}"
51222 if test "x${D}{headerfile}" = "x" ; then
51223 echo "error: can't find header ${D}{header} in include paths" >&2
51225 if test -f ${D}{outfile} ; then
51226 rm -f ${D}{outfile}
51228 mkdir -p \`dirname ${D}{outfile
}\
`
51230 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
51231 mkdir -p ${D}{builddir}/.deps
51232 if test "x${GCC_PCH}" = "x1" ; then
51233 # can do this because gcc is >= 3.4:
51234 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51235 elif test "x${ICC_PCH}" = "x1" ; then
51236 filename=pch_gen-${D}${D}
51237 file=${D}{filename}.c
51238 dfile=${D}{filename}.d
51239 cat > ${D}file <<EOT
51240 #include "${D}header"
51242 # using -MF icc complains about differing command lines in creation/use
51243 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
51244 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51245 rm -f ${D}file ${D}dfile ${D}{filename}.o
51251 chmod +x bk-make-pch
51252 BK_MAKE_PCH="`pwd`/bk-make-pch"
51263 COND_BUILD_DEBUG="#"
51264 if test "x$BUILD" = "xdebug" ; then
51265 COND_BUILD_DEBUG=""
51268 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51269 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51270 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51273 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51274 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51275 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51278 COND_BUILD_DEBUG_UNICODE_0="#"
51279 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51280 COND_BUILD_DEBUG_UNICODE_0=""
51283 COND_BUILD_DEBUG_UNICODE_1="#"
51284 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51285 COND_BUILD_DEBUG_UNICODE_1=""
51288 COND_BUILD_RELEASE="#"
51289 if test "x$BUILD" = "xrelease" ; then
51290 COND_BUILD_RELEASE=""
51293 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51294 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51295 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51298 COND_BUILD_RELEASE_UNICODE_0="#"
51299 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51300 COND_BUILD_RELEASE_UNICODE_0=""
51303 COND_BUILD_RELEASE_UNICODE_1="#"
51304 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51305 COND_BUILD_RELEASE_UNICODE_1=""
51308 COND_BUILD_debug="#"
51309 if test "x$BUILD" = "xdebug" ; then
51310 COND_BUILD_debug=""
51313 COND_BUILD_debug_DEBUG_FLAG_default="#"
51314 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51315 COND_BUILD_debug_DEBUG_FLAG_default=""
51318 COND_BUILD_debug_DEBUG_INFO_default="#"
51319 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51320 COND_BUILD_debug_DEBUG_INFO_default=""
51323 COND_BUILD_debug_UNICODE_0="#"
51324 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51325 COND_BUILD_debug_UNICODE_0=""
51328 COND_BUILD_debug_UNICODE_1="#"
51329 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51330 COND_BUILD_debug_UNICODE_1=""
51333 COND_BUILD_release="#"
51334 if test "x$BUILD" = "xrelease" ; then
51335 COND_BUILD_release=""
51338 COND_BUILD_release_DEBUG_INFO_default="#"
51339 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51340 COND_BUILD_release_DEBUG_INFO_default=""
51343 COND_BUILD_release_UNICODE_0="#"
51344 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51345 COND_BUILD_release_UNICODE_0=""
51348 COND_BUILD_release_UNICODE_1="#"
51349 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51350 COND_BUILD_release_UNICODE_1=""
51353 COND_DEBUG_FLAG_0="#"
51354 if test "x$DEBUG_FLAG" = "x0" ; then
51355 COND_DEBUG_FLAG_0=""
51358 COND_DEBUG_FLAG_1="#"
51359 if test "x$DEBUG_FLAG" = "x1" ; then
51360 COND_DEBUG_FLAG_1=""
51363 COND_DEBUG_INFO_0="#"
51364 if test "x$DEBUG_INFO" = "x0" ; then
51365 COND_DEBUG_INFO_0=""
51368 COND_DEBUG_INFO_1="#"
51369 if test "x$DEBUG_INFO" = "x1" ; then
51370 COND_DEBUG_INFO_1=""
51373 COND_DEPS_TRACKING_0="#"
51374 if test "x$DEPS_TRACKING" = "x0" ; then
51375 COND_DEPS_TRACKING_0=""
51378 COND_DEPS_TRACKING_1="#"
51379 if test "x$DEPS_TRACKING" = "x1" ; then
51380 COND_DEPS_TRACKING_1=""
51384 if test "x$GCC_PCH" = "x1" ; then
51389 if test "x$ICC_PCH" = "x1" ; then
51393 COND_MONOLITHIC_0="#"
51394 if test "x$MONOLITHIC" = "x0" ; then
51395 COND_MONOLITHIC_0=""
51398 COND_MONOLITHIC_0_SHARED_0="#"
51399 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51400 COND_MONOLITHIC_0_SHARED_0=""
51403 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51404 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51405 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51408 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51409 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51410 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51413 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51414 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51415 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51418 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51419 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51420 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51423 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51424 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51425 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51428 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
51429 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51430 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
51433 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
51434 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51435 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
51438 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51439 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51440 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51443 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51444 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51445 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51448 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51449 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51450 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51453 COND_MONOLITHIC_0_SHARED_1="#"
51454 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51455 COND_MONOLITHIC_0_SHARED_1=""
51458 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51459 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51460 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51463 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51464 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51465 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51468 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51469 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51470 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51473 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51474 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51475 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51478 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51479 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51480 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51483 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
51484 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
51485 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
51488 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
51489 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
51490 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
51493 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51494 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51495 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51498 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51499 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51500 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51503 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51504 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51505 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51508 COND_MONOLITHIC_0_USE_AUI_1="#"
51509 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51510 COND_MONOLITHIC_0_USE_AUI_1=""
51513 COND_MONOLITHIC_0_USE_GUI_1="#"
51514 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51515 COND_MONOLITHIC_0_USE_GUI_1=""
51518 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51519 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51520 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51523 COND_MONOLITHIC_0_USE_HTML_1="#"
51524 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51525 COND_MONOLITHIC_0_USE_HTML_1=""
51528 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51529 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51530 COND_MONOLITHIC_0_USE_MEDIA_1=""
51533 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
51534 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51535 COND_MONOLITHIC_0_USE_PROPGRID_1=""
51538 COND_MONOLITHIC_0_USE_QA_1="#"
51539 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51540 COND_MONOLITHIC_0_USE_QA_1=""
51543 COND_MONOLITHIC_0_USE_RIBBON_1="#"
51544 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51545 COND_MONOLITHIC_0_USE_RIBBON_1=""
51548 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51549 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51550 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51553 COND_MONOLITHIC_0_USE_STC_1="#"
51554 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51555 COND_MONOLITHIC_0_USE_STC_1=""
51558 COND_MONOLITHIC_0_USE_XRC_1="#"
51559 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51560 COND_MONOLITHIC_0_USE_XRC_1=""
51563 COND_MONOLITHIC_1="#"
51564 if test "x$MONOLITHIC" = "x1" ; then
51565 COND_MONOLITHIC_1=""
51568 COND_MONOLITHIC_1_SHARED_0="#"
51569 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51570 COND_MONOLITHIC_1_SHARED_0=""
51573 COND_MONOLITHIC_1_SHARED_1="#"
51574 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51575 COND_MONOLITHIC_1_SHARED_1=""
51578 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51579 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51580 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51583 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51584 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51585 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51588 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51589 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51590 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51593 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51594 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51595 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51598 COND_PLATFORM_MACOSX_1="#"
51599 if test "x$PLATFORM_MACOSX" = "x1" ; then
51600 COND_PLATFORM_MACOSX_1=""
51603 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
51604 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
51605 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
51608 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
51609 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51610 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
51613 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51614 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51615 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51618 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
51619 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51620 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
51623 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51624 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51625 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51628 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
51629 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51630 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
51633 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51634 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51635 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51638 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51639 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51640 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51643 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51644 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51645 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51648 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
51649 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51650 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
51653 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51654 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51655 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51658 COND_PLATFORM_MACOS_1="#"
51659 if test "x$PLATFORM_MACOS" = "x1" ; then
51660 COND_PLATFORM_MACOS_1=""
51663 COND_PLATFORM_MAC_0="#"
51664 if test "x$PLATFORM_MAC" = "x0" ; then
51665 COND_PLATFORM_MAC_0=""
51668 COND_PLATFORM_MAC_1="#"
51669 if test "x$PLATFORM_MAC" = "x1" ; then
51670 COND_PLATFORM_MAC_1=""
51673 COND_PLATFORM_MSDOS_0="#"
51674 if test "x$PLATFORM_MSDOS" = "x0" ; then
51675 COND_PLATFORM_MSDOS_0=""
51678 COND_PLATFORM_MSDOS_1="#"
51679 if test "x$PLATFORM_MSDOS" = "x1" ; then
51680 COND_PLATFORM_MSDOS_1=""
51683 COND_PLATFORM_OS2_1="#"
51684 if test "x$PLATFORM_OS2" = "x1" ; then
51685 COND_PLATFORM_OS2_1=""
51688 COND_PLATFORM_UNIX_0="#"
51689 if test "x$PLATFORM_UNIX" = "x0" ; then
51690 COND_PLATFORM_UNIX_0=""
51693 COND_PLATFORM_UNIX_1="#"
51694 if test "x$PLATFORM_UNIX" = "x1" ; then
51695 COND_PLATFORM_UNIX_1=""
51698 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51699 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51700 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51703 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51704 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51705 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51708 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51709 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51710 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51713 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51714 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51715 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51718 COND_PLATFORM_WIN32_0="#"
51719 if test "x$PLATFORM_WIN32" = "x0" ; then
51720 COND_PLATFORM_WIN32_0=""
51723 COND_PLATFORM_WIN32_1="#"
51724 if test "x$PLATFORM_WIN32" = "x1" ; then
51725 COND_PLATFORM_WIN32_1=""
51728 COND_PLATFORM_WIN32_1_SHARED_0="#"
51729 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51730 COND_PLATFORM_WIN32_1_SHARED_0=""
51734 if test "x$SHARED" = "x0" ; then
51738 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51739 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51740 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51743 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51744 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51745 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51748 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51749 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51750 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51753 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51754 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51755 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51758 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51759 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51760 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51763 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51764 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51765 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51768 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51769 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51770 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51773 COND_SHARED_0_USE_STC_1="#"
51774 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51775 COND_SHARED_0_USE_STC_1=""
51778 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
51779 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51780 COND_SHARED_0_wxUSE_EXPAT_builtin=""
51783 COND_SHARED_0_wxUSE_REGEX_builtin="#"
51784 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51785 COND_SHARED_0_wxUSE_REGEX_builtin=""
51788 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
51789 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51790 COND_SHARED_0_wxUSE_ZLIB_builtin=""
51794 if test "x$SHARED" = "x1" ; then
51798 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51799 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51800 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51804 if test "x$TOOLKIT" = "x" ; then
51808 COND_TOOLKIT_COCOA="#"
51809 if test "x$TOOLKIT" = "xCOCOA" ; then
51810 COND_TOOLKIT_COCOA=""
51813 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51814 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51815 COND_TOOLKIT_COCOA_USE_GUI_1=""
51818 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
51819 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51820 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
51823 COND_TOOLKIT_DFB="#"
51824 if test "x$TOOLKIT" = "xDFB" ; then
51825 COND_TOOLKIT_DFB=""
51828 COND_TOOLKIT_DFB_USE_GUI_1="#"
51829 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51830 COND_TOOLKIT_DFB_USE_GUI_1=""
51833 COND_TOOLKIT_GTK="#"
51834 if test "x$TOOLKIT" = "xGTK" ; then
51835 COND_TOOLKIT_GTK=""
51838 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51839 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51840 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
51843 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
51844 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51845 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
51848 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
51849 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51850 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
51853 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
51854 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51855 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
51858 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51859 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51860 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51863 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51864 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51865 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51868 COND_TOOLKIT_GTK_USE_GUI_1="#"
51869 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51870 COND_TOOLKIT_GTK_USE_GUI_1=""
51873 COND_TOOLKIT_MAC="#"
51874 if test "x$TOOLKIT" = "xMAC" ; then
51875 COND_TOOLKIT_MAC=""
51878 COND_TOOLKIT_MGL="#"
51879 if test "x$TOOLKIT" = "xMGL" ; then
51880 COND_TOOLKIT_MGL=""
51883 COND_TOOLKIT_MGL_USE_GUI_1="#"
51884 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51885 COND_TOOLKIT_MGL_USE_GUI_1=""
51888 COND_TOOLKIT_MOTIF="#"
51889 if test "x$TOOLKIT" = "xMOTIF" ; then
51890 COND_TOOLKIT_MOTIF=""
51893 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
51894 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51895 COND_TOOLKIT_MOTIF_USE_GUI_1=""
51898 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
51899 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51900 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
51903 COND_TOOLKIT_MSW="#"
51904 if test "x$TOOLKIT" = "xMSW" ; then
51905 COND_TOOLKIT_MSW=""
51908 COND_TOOLKIT_MSW_USE_GUI_1="#"
51909 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51910 COND_TOOLKIT_MSW_USE_GUI_1=""
51913 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
51914 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51915 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
51918 COND_TOOLKIT_MSW_WXUNIV_0="#"
51919 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51920 COND_TOOLKIT_MSW_WXUNIV_0=""
51923 COND_TOOLKIT_OSX_CARBON="#"
51924 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
51925 COND_TOOLKIT_OSX_CARBON=""
51928 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51929 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51930 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51933 COND_TOOLKIT_OSX_COCOA="#"
51934 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
51935 COND_TOOLKIT_OSX_COCOA=""
51938 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51939 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51940 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51943 COND_TOOLKIT_OSX_IPHONE="#"
51944 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
51945 COND_TOOLKIT_OSX_IPHONE=""
51948 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51949 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51950 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51953 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51954 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51955 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51958 COND_TOOLKIT_PM="#"
51959 if test "x$TOOLKIT" = "xPM" ; then
51963 COND_TOOLKIT_PM_USE_GUI_1="#"
51964 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51965 COND_TOOLKIT_PM_USE_GUI_1=""
51968 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51969 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51970 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51973 COND_TOOLKIT_WINCE="#"
51974 if test "x$TOOLKIT" = "xWINCE" ; then
51975 COND_TOOLKIT_WINCE=""
51978 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51979 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51980 COND_TOOLKIT_WINCE_USE_GUI_1=""
51983 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51984 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51985 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51988 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51989 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51990 COND_TOOLKIT_WINCE_WXUNIV_0=""
51993 COND_TOOLKIT_X11="#"
51994 if test "x$TOOLKIT" = "xX11" ; then
51995 COND_TOOLKIT_X11=""
51998 COND_TOOLKIT_X11_USE_GUI_1="#"
51999 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52000 COND_TOOLKIT_X11_USE_GUI_1=""
52004 if test "x$UNICODE" = "x1" ; then
52008 COND_USE_CAIRO_1="#"
52009 if test "x$USE_CAIRO" = "x1" ; then
52010 COND_USE_CAIRO_1=""
52013 COND_USE_EXCEPTIONS_0="#"
52014 if test "x$USE_EXCEPTIONS" = "x0" ; then
52015 COND_USE_EXCEPTIONS_0=""
52018 COND_USE_EXCEPTIONS_1="#"
52019 if test "x$USE_EXCEPTIONS" = "x1" ; then
52020 COND_USE_EXCEPTIONS_1=""
52024 if test "x$USE_GUI" = "x0" ; then
52029 if test "x$USE_GUI" = "x1" ; then
52033 COND_USE_GUI_1_USE_OPENGL_1="#"
52034 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52035 COND_USE_GUI_1_USE_OPENGL_1=""
52038 COND_USE_GUI_1_WXUNIV_0="#"
52039 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52040 COND_USE_GUI_1_WXUNIV_0=""
52043 COND_USE_GUI_1_WXUNIV_1="#"
52044 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52045 COND_USE_GUI_1_WXUNIV_1=""
52048 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52049 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52050 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52053 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52054 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52055 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52058 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52059 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52060 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52063 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52064 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52065 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52068 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52069 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52070 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52073 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52074 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52075 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52078 COND_USE_OPENGL_1="#"
52079 if test "x$USE_OPENGL" = "x1" ; then
52080 COND_USE_OPENGL_1=""
52084 if test "x$USE_PCH" = "x1" ; then
52088 COND_USE_PLUGINS_0="#"
52089 if test "x$USE_PLUGINS" = "x0" ; then
52090 COND_USE_PLUGINS_0=""
52093 COND_USE_RTTI_0="#"
52094 if test "x$USE_RTTI" = "x0" ; then
52098 COND_USE_RTTI_1="#"
52099 if test "x$USE_RTTI" = "x1" ; then
52103 COND_USE_SOTWOSYMLINKS_1="#"
52104 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
52105 COND_USE_SOTWOSYMLINKS_1=""
52108 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52109 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52110 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52113 COND_USE_SOVERLINUX_1="#"
52114 if test "x$USE_SOVERLINUX" = "x1" ; then
52115 COND_USE_SOVERLINUX_1=""
52118 COND_USE_SOVERSION_0="#"
52119 if test "x$USE_SOVERSION" = "x0" ; then
52120 COND_USE_SOVERSION_0=""
52123 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
52124 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
52125 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
52128 COND_USE_SOVERSOLARIS_1="#"
52129 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52130 COND_USE_SOVERSOLARIS_1=""
52134 if test "x$USE_STC" = "x1" ; then
52138 COND_USE_THREADS_0="#"
52139 if test "x$USE_THREADS" = "x0" ; then
52140 COND_USE_THREADS_0=""
52143 COND_USE_THREADS_1="#"
52144 if test "x$USE_THREADS" = "x1" ; then
52145 COND_USE_THREADS_1=""
52149 if test "x$USE_XRC" = "x1" ; then
52153 COND_WINDOWS_IMPLIB_1="#"
52154 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52155 COND_WINDOWS_IMPLIB_1=""
52158 COND_WITH_PLUGIN_SDL_1="#"
52159 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52160 COND_WITH_PLUGIN_SDL_1=""
52164 if test "x$WXUNIV" = "x0" ; then
52169 if test "x$WXUNIV" = "x1" ; then
52173 COND_WXUSE_EXPAT_BUILTIN="#"
52174 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52175 COND_WXUSE_EXPAT_BUILTIN=""
52178 COND_WXUSE_LIBJPEG_BUILTIN="#"
52179 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52180 COND_WXUSE_LIBJPEG_BUILTIN=""
52183 COND_WXUSE_LIBPNG_BUILTIN="#"
52184 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52185 COND_WXUSE_LIBPNG_BUILTIN=""
52188 COND_WXUSE_LIBTIFF_BUILTIN="#"
52189 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52190 COND_WXUSE_LIBTIFF_BUILTIN=""
52193 COND_WXUSE_REGEX_BUILTIN="#"
52194 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52195 COND_WXUSE_REGEX_BUILTIN=""
52198 COND_WXUSE_ZLIB_BUILTIN="#"
52199 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52200 COND_WXUSE_ZLIB_BUILTIN=""
52203 COND_wxUSE_EXPAT_builtin="#"
52204 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52205 COND_wxUSE_EXPAT_builtin=""
52208 COND_wxUSE_LIBJPEG_builtin="#"
52209 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52210 COND_wxUSE_LIBJPEG_builtin=""
52213 COND_wxUSE_LIBPNG_builtin="#"
52214 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52215 COND_wxUSE_LIBPNG_builtin=""
52218 COND_wxUSE_LIBTIFF_builtin="#"
52219 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52220 COND_wxUSE_LIBTIFF_builtin=""
52223 COND_wxUSE_REGEX_builtin="#"
52224 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52225 COND_wxUSE_REGEX_builtin=""
52228 COND_wxUSE_ZLIB_builtin="#"
52229 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52230 COND_wxUSE_ZLIB_builtin=""
52235 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52236 { { 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
52237 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;}
52238 { (exit 1); exit 1; }; }
52241 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52242 { { 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
52243 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;}
52244 { (exit 1); exit 1; }; }
52251 ?:* ) # Drive letter, considered as absolute.
52254 INSTALL=`pwd`/${INSTALL} ;;
52257 if test "$wxUSE_GUI" = "yes"; then
52259 if test "$wxUSE_MSW" = 1 ; then
52260 if test "x$WINDRES" = "x"; then
52261 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52262 echo "$as_me: error: Required windres program not found" >&2;}
52263 { (exit 1); exit 1; }; }
52269 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52270 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52271 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52273 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52275 # Extract the first word of "DeRez", so it can be a program name with args.
52276 set dummy DeRez; ac_word=$2
52277 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52279 if test "${ac_cv_prog_DEREZ+set}" = set; then
52280 echo $ECHO_N "(cached) $ECHO_C" >&6
52282 if test -n "$DEREZ"; then
52283 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52286 for as_dir in $PATH
52289 test -z "$as_dir" && as_dir=.
52290 for ac_exec_ext in '' $ac_executable_extensions; do
52291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52292 ac_cv_prog_DEREZ="DeRez"
52293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52300 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52303 DEREZ=$ac_cv_prog_DEREZ
52304 if test -n "$DEREZ"; then
52305 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52306 echo "${ECHO_T}$DEREZ" >&6; }
52308 { echo "$as_me:$LINENO: result: no" >&5
52309 echo "${ECHO_T}no" >&6; }
52314 MACSETFILE="\$(SETFILE)"
52316 if test "$wxUSE_OSX_CARBON" = 1; then
52317 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52319 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52321 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52322 RESCOMP="cat /dev/null \| $REZ"
52323 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52329 if test "$wxUSE_PM" = 1; then
52331 WXCONFIG_RESFLAGS="-ep"
52333 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52335 POSTLINK_COMMAND="@true"
52342 if test $GCC_PCH = 1
52344 if test "$wx_cv_gcc_pch_bug" = yes; then
52345 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52346 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52347 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52348 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52349 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52350 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52353 # Our WX_PRECOMP flag does not make sense for any language except C++ because
52354 # the headers that benefit from precompilation are mostly C++ headers.
52355 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52356 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
52357 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52361 if test "$wxUSE_MAC" = 1 ; then
52362 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52363 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52369 if test "$wxUSE_SHARED" = "yes"; then
52371 *-pc-os2_emx | *-pc-os2-emx )
52372 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52373 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52374 cp -p ${srcdir}/src/os2/dllnames.sh .
52375 cp -p ${srcdir}/src/os2/dllar.sh .
52379 if test "$wxUSE_OMF" = "yes"; then
52381 *-pc-os2_emx | *-pc-os2-emx )
52382 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52383 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52384 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52389 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52394 if test "$GCC" = yes; then
52395 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52396 LIBS=`echo $LIBS | sed 's/-mt//'`
52397 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52402 if test "x$SUNCXX" = xyes; then
52403 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52404 LIBS=`echo $LIBS | sed 's/-pthread//'`
52405 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52410 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52411 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52412 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
52413 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
52415 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52476 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52477 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52478 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52479 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52480 echo $ECHO_N "(cached) $ECHO_C" >&6
52482 cat >conftest.make <<\_ACEOF
52485 @echo '@@@%%%=$(MAKE)=@@@%%%'
52487 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52488 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
52489 *@@@%%%=?*=@@@%%%*)
52490 eval ac_cv_prog_make_${ac_make}_set=yes;;
52492 eval ac_cv_prog_make_${ac_make}_set=no;;
52494 rm -f conftest.make
52496 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52497 { echo "$as_me:$LINENO: result: yes" >&5
52498 echo "${ECHO_T}yes" >&6; }
52501 { echo "$as_me:$LINENO: result: no" >&5
52502 echo "${ECHO_T}no" >&6; }
52503 SET_MAKE="MAKE=${MAKE-make}"
52508 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52511 if test "$USE_WIN32" = 1; then
52512 ac_config_commands="$ac_config_commands rcdefs.h"
52516 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52519 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52522 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
52525 if test "$wx_cv_version_script" = "yes"; then
52526 ac_config_files="$ac_config_files version-script"
52529 ac_config_files="$ac_config_files Makefile"
52532 ac_config_commands="$ac_config_commands wx-config"
52536 if test "$wxWITH_SUBDIRS" != "no"; then
52537 if test "$wxUSE_GUI" = "yes"; then
52538 SUBDIRS="samples demos utils"
52540 SUBDIRS="samples utils"
52545 # Check whether --with-cppunit-prefix was given.
52546 if test "${with_cppunit_prefix+set}" = set; then
52547 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52549 cppunit_config_prefix=""
52553 # Check whether --with-cppunit-exec-prefix was given.
52554 if test "${with_cppunit_exec_prefix+set}" = set; then
52555 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52557 cppunit_config_exec_prefix=""
52561 if test x$cppunit_config_exec_prefix != x ; then
52562 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52563 if test x${CPPUNIT_CONFIG+set} != xset ; then
52564 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52567 if test x$cppunit_config_prefix != x ; then
52568 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52569 if test x${CPPUNIT_CONFIG+set} != xset ; then
52570 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52574 # Extract the first word of "cppunit-config", so it can be a program name with args.
52575 set dummy cppunit-config; ac_word=$2
52576 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52578 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52579 echo $ECHO_N "(cached) $ECHO_C" >&6
52581 case $CPPUNIT_CONFIG in
52583 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52587 for as_dir in $PATH
52590 test -z "$as_dir" && as_dir=.
52591 for ac_exec_ext in '' $ac_executable_extensions; do
52592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52593 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52601 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52605 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52606 if test -n "$CPPUNIT_CONFIG"; then
52607 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52608 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52610 { echo "$as_me:$LINENO: result: no" >&5
52611 echo "${ECHO_T}no" >&6; }
52615 cppunit_version_min=1.8.0
52617 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52618 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52620 if test "$CPPUNIT_CONFIG" = "no" ; then
52621 { echo "$as_me:$LINENO: result: no" >&5
52622 echo "${ECHO_T}no" >&6; }
52625 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52626 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52627 cppunit_version=`$CPPUNIT_CONFIG --version`
52629 cppunit_major_version=`echo $cppunit_version | \
52630 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52631 cppunit_minor_version=`echo $cppunit_version | \
52632 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52633 cppunit_micro_version=`echo $cppunit_version | \
52634 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52636 cppunit_major_min=`echo $cppunit_version_min | \
52637 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52638 cppunit_minor_min=`echo $cppunit_version_min | \
52639 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52640 cppunit_micro_min=`echo $cppunit_version_min | \
52641 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52643 cppunit_version_proper=`expr \
52644 $cppunit_major_version \
> $cppunit_major_min \
| \
52645 $cppunit_major_version \
= $cppunit_major_min \
& \
52646 $cppunit_minor_version \
> $cppunit_minor_min \
| \
52647 $cppunit_major_version \
= $cppunit_major_min \
& \
52648 $cppunit_minor_version \
= $cppunit_minor_min \
& \
52649 $cppunit_micro_version \
>= $cppunit_micro_min `
52651 if test "$cppunit_version_proper" = "1" ; then
52652 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52653 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52655 { echo "$as_me:$LINENO: result: no" >&5
52656 echo "${ECHO_T}no" >&6; }
52661 if test "x$no_cppunit" = x ; then
52662 SUBDIRS="$SUBDIRS tests"
52673 for subdir in $SUBDIRS; do
52674 if test -d ${srcdir}/${subdir} ; then
52675 if test "$wxUSE_GUI" = "yes"; then
52676 if test ${subdir} = "samples"; then
52677 makefiles="samples/Makefile.in $makefiles"
52678 for sample in $SAMPLES_SUBDIRS; do
52679 if test -d $srcdir/samples/$sample; then
52680 makefiles="samples/$sample/Makefile.in $makefiles"
52684 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
52685 eval "disabled=\$$disabled_var"
52686 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
52687 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
52690 if test ${subdir} = "samples"; then
52691 makefiles="samples/Makefile.in $makefiles"
52692 for sample in `echo $SAMPLES_SUBDIRS`; do
52693 if test -d $srcdir/samples/$sample; then
52694 makefiles="samples/$sample/Makefile.in $makefiles"
52697 elif test ${subdir} = "utils"; then
52699 for util in ifacecheck ; do
52700 if test -d $srcdir/utils/$util ; then
52701 makefiles="utils/$util/src/Makefile.in \
52706 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
52710 for mkin in $makefiles ; do
52711 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52712 ac_config_files="$ac_config_files $mk"
52718 cat >confcache <<\_ACEOF
52719 # This file is a shell script that caches the results of configure
52720 # tests run on this system so they can be shared between configure
52721 # scripts and configure runs, see configure's option --config-cache.
52722 # It is not useful on other systems. If it contains results you don't
52723 # want to keep, you may remove or edit it.
52725 # config.status only pays attention to the cache file if you give it
52726 # the --recheck option to rerun configure.
52728 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
52729 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52730 # following values.
52734 # The following way of writing the cache mishandles newlines in values,
52735 # but we know of no workaround that is simple, portable, and efficient.
52736 # So, we kill variables containing newlines.
52737 # Ultrix sh set writes to stderr and can't be redirected directly,
52738 # and sets the high bit in the cache file unless we assign to the vars.
52740 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52741 eval ac_val
=\$
$ac_var
52745 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52746 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52749 _
| IFS
| as_nl
) ;; #(
52750 *) $as_unset $ac_var ;;
52756 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52757 *${as_nl}ac_space
=\
*)
52758 # `set' does not quote correctly, so add quotes (double-quote
52759 # substitution turns \\\\ into \\, and sed turns \\ into \).
52762 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52765 # `set' quotes correctly as required by POSIX, so do not add quotes.
52766 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52775 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52777 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52779 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
52780 if test -w "$cache_file"; then
52781 test "x$cache_file" != "x/dev/null" &&
52782 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52783 echo "$as_me: updating cache $cache_file" >&6;}
52784 cat confcache
>$cache_file
52786 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52787 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52792 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
52793 # Let make expand exec_prefix.
52794 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
52796 DEFS
=-DHAVE_CONFIG_H
52800 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
52801 # 1. Remove the extension, and $U if already installed.
52802 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
52803 ac_i
=`echo "$ac_i" | sed "$ac_script"`
52804 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52805 # will be set to the directory where LIBOBJS objects are built.
52806 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52807 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52809 LIBOBJS
=$ac_libobjs
52811 LTLIBOBJS
=$ac_ltlibobjs
52815 : ${CONFIG_STATUS=./config.status}
52816 ac_clean_files_save
=$ac_clean_files
52817 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
52818 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52819 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52820 cat >$CONFIG_STATUS <<_ACEOF
52822 # Generated by $as_me.
52823 # Run this file to recreate the current configuration.
52824 # Compiler output produced by configure, useful for debugging
52825 # configure, is in config.log if it exists.
52828 ac_cs_recheck=false
52830 SHELL=\${CONFIG_SHELL-$SHELL}
52833 cat >>$CONFIG_STATUS <<\_ACEOF
52834 ## --------------------- ##
52835 ## M4sh Initialization. ##
52836 ## --------------------- ##
52838 # Be more Bourne compatible
52839 DUALCASE
=1; export DUALCASE
# for MKS sh
52840 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
52843 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52844 # is contrary to our usage. Disable this feature.
52845 alias -g '${1+"$@"}'='"$@"'
52846 setopt NO_GLOB_SUBST
52848 case `(set -o) 2>/dev/null` in
52849 *posix
*) set -o posix
;;
52858 # Avoid depending upon Character Ranges.
52859 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
52860 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52861 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
52862 as_cr_digits
='0123456789'
52863 as_cr_alnum
=$as_cr_Letters$as_cr_digits
52865 # The user is always right.
52866 if test "${PATH_SEPARATOR+set}" != set; then
52867 echo "#! /bin/sh" >conf$$.sh
52868 echo "exit 0" >>conf$$.sh
52870 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
52878 # Support unset when possible.
52879 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
52887 # We need space, tab and new line, in precisely that order. Quoting is
52888 # there to prevent editors from complaining about space-tab.
52889 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52890 # splitting by setting IFS to empty value.)
52895 # Find who we are. Look in the path if we contain no directory separator.
52897 *[\\/]* ) as_myself
=$0 ;;
52898 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52899 for as_dir
in $PATH
52902 test -z "$as_dir" && as_dir
=.
52903 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
52909 # We did not find ourselves, most probably we were run as `sh COMMAND'
52910 # in which case we are not to be found in the path.
52911 if test "x$as_myself" = x
; then
52914 if test ! -f "$as_myself"; then
52915 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
52916 { (exit 1); exit 1; }
52919 # Work around bugs in pre-3.0 UWIN ksh.
52920 for as_var
in ENV MAIL MAILPATH
52921 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
52929 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
52930 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
52931 LC_TELEPHONE LC_TIME
52933 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52934 eval $as_var=C
; export $as_var
52936 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
52940 # Required to use basename.
52941 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
52942 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
52948 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
52949 as_basename
=basename
52955 # Name of the executable.
52956 as_me
=`$as_basename -- "$0" ||
52957 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52958 X"$0" : 'X\(//\)$' \| \
52959 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
52961 sed '/^.*\/\([^/][^/]*\)\/*$/{
52980 as_lineno_1
=$LINENO
52981 as_lineno_2
=$LINENO
52982 test "x$as_lineno_1" != "x$as_lineno_2" &&
52983 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
52985 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52986 # uniformly replaced by the line number. The first 'sed' inserts a
52987 # line-number line after each line using $LINENO; the second 'sed'
52988 # does the real work. The second script uses 'N' to pair each
52989 # line-number line with the line containing $LINENO, and appends
52990 # trailing '-' during substitution so that $LINENO is not a special
52991 # case at line end.
52992 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52993 # scripts with optimization help from Paolo Bonzini. Blame Lee
52994 # E. McMahon (1931-1989) for sed's syntax. :-)
53006 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53009 ' >$as_me.lineno
&&
53010 chmod +x
"$as_me.lineno" ||
53011 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53012 { (exit 1); exit 1; }; }
53014 # Don't try to exec as it changes $[0], causing all sort of problems
53015 # (the dirname of $[0] is not the place where we might find the
53016 # original and so on. Autoconf is especially sensitive to this).
53017 .
"./$as_me.lineno"
53018 # Exit status is that of the last command.
53023 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
53029 ECHO_C
= ECHO_N
= ECHO_T
=
53030 case `echo -n x` in
53032 case `echo 'x\c'` in
53033 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
53040 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53041 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53047 rm -f conf$$ conf$$.exe conf$$.
file
53048 if test -d conf$$.dir
; then
53049 rm -f conf$$.dir
/conf$$.
file
53055 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
53057 # ... but there are two gotchas:
53058 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53059 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53060 # In both cases, we have to default to `cp -p'.
53061 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
53063 elif ln conf$$.
file conf$$
2>/dev
/null
; then
53068 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
53069 rmdir conf$$.dir
2>/dev
/null
53071 if mkdir -p .
2>/dev
/null
; then
53074 test -d .
/-p && rmdir .
/-p
53078 if test -x / >/dev
/null
2>&1; then
53079 as_test_x
='test -x'
53081 if ls -dL / >/dev
/null
2>&1; then
53088 if test -d "$1"; then
53094 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53095 ???[sx]*):;;*)false;;esac;fi
53099 as_executable_p
=$as_test_x
53101 # Sed expression to map a string onto a valid CPP name.
53102 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53104 # Sed expression to map a string onto a valid variable name.
53105 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53110 # Save the log message, to keep $[0] and so on meaningful, and to
53111 # report actual input values of CONFIG_FILES etc. instead of their
53112 # values after options handling.
53114 This file was extended by wxWidgets $as_me 2.9.2, which was
53115 generated by GNU Autoconf 2.61. Invocation command line was
53117 CONFIG_FILES = $CONFIG_FILES
53118 CONFIG_HEADERS = $CONFIG_HEADERS
53119 CONFIG_LINKS = $CONFIG_LINKS
53120 CONFIG_COMMANDS = $CONFIG_COMMANDS
53123 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53128 cat >>$CONFIG_STATUS <<_ACEOF
53129 # Files that config.status was made for.
53130 config_files="$ac_config_files"
53131 config_headers="$ac_config_headers"
53132 config_commands="$ac_config_commands"
53136 cat >>$CONFIG_STATUS <<\_ACEOF
53138 \`$as_me' instantiates files from templates according to the
53139 current configuration.
53141 Usage: $0 [OPTIONS] [FILE]...
53143 -h, --help print this help, then exit
53144 -V, --version print version number and configuration settings, then exit
53145 -q, --quiet do not print progress messages
53146 -d, --debug don't remove temporary files
53147 --recheck update $as_me by reconfiguring in the same conditions
53148 --file=FILE[:TEMPLATE]
53149 instantiate the configuration file FILE
53150 --header=FILE[:TEMPLATE]
53151 instantiate the configuration header FILE
53153 Configuration files:
53156 Configuration headers:
53159 Configuration commands:
53162 Report bugs to <bug-autoconf@gnu.org>."
53165 cat >>$CONFIG_STATUS <<_ACEOF
53167 wxWidgets config.status 2.9.2
53168 configured by $0, generated by GNU Autoconf 2.61,
53169 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53171 Copyright (C) 2006 Free Software Foundation, Inc.
53172 This config.status script is free software; the Free Software Foundation
53173 gives unlimited permission to copy, distribute and modify it."
53180 cat >>$CONFIG_STATUS <<\_ACEOF
53181 # If no file are specified by the user, then we need to provide default
53182 # value. By we need to know if files were specified by the user.
53188 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
53189 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
53200 # Handling of the options.
53201 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53203 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53204 echo "$ac_cs_version"; exit ;;
53205 --debug | --debu | --deb | --de | --d | -d )
53207 --file | --fil | --fi | --f )
53209 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
53210 ac_need_defaults
=false
;;
53211 --header | --heade | --head | --hea )
53213 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
53214 ac_need_defaults
=false
;;
53216 # Conflict between --help and --header
53217 { echo "$as_me: error: ambiguous option: $1
53218 Try \`$0 --help' for more information." >&2
53219 { (exit 1); exit 1; }; };;
53220 --help | --hel | -h )
53221 echo "$ac_cs_usage"; exit ;;
53222 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53223 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53226 # This is an error.
53227 -*) { echo "$as_me: error: unrecognized option: $1
53228 Try \`$0 --help' for more information." >&2
53229 { (exit 1); exit 1; }; } ;;
53231 *) ac_config_targets
="$ac_config_targets $1"
53232 ac_need_defaults
=false
;;
53238 ac_configure_extra_args
=
53240 if $ac_cs_silent; then
53242 ac_configure_extra_args
="$ac_configure_extra_args --silent"
53246 cat >>$CONFIG_STATUS <<_ACEOF
53247 if \$ac_cs_recheck; then
53248 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53249 CONFIG_SHELL=$SHELL
53250 export CONFIG_SHELL
53251 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53255 cat >>$CONFIG_STATUS <<\_ACEOF
53259 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53260 ## Running $as_me. ##
53266 cat >>$CONFIG_STATUS <<_ACEOF
53272 infile="$srcdir/include/wx/msw/genrcdefs.h"
53273 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53276 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53277 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53278 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53284 cat >>$CONFIG_STATUS <<\_ACEOF
53286 # Handling of arguments.
53287 for ac_config_target
in $ac_config_targets
53289 case $ac_config_target in
53290 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53291 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
53292 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53293 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53294 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53295 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
53296 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
53297 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
53298 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
53300 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53301 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53302 { (exit 1); exit 1; }; };;
53307 # If the user did not use the arguments to specify the items to instantiate,
53308 # then the envvar interface is used. Set only those that are not.
53309 # We use the long form for the default assignment because of an extremely
53310 # bizarre bug on SunOS 4.1.3.
53311 if $ac_need_defaults; then
53312 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
53313 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
53314 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
53317 # Have a temporary directory for convenience. Make it in the build tree
53318 # simply because there is no reason against having it here, and in addition,
53319 # creating and moving files from /tmp can sometimes cause problems.
53320 # Hook for its removal unless debugging.
53321 # Note that there is a small window in which the directory will not be cleaned:
53322 # after its creation but before its name has been assigned to `$tmp'.
53326 trap 'exit_status=$?
53327 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53329 trap '{ (exit 1); exit 1; }' 1 2 13 15
53331 # Create a (secure) tmp directory for tmp files.
53334 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53335 test -n "$tmp" && test -d "$tmp"
53338 tmp
=.
/conf$$
-$RANDOM
53339 (umask 077 && mkdir "$tmp")
53342 echo "$me: cannot create a temporary directory in ." >&2
53343 { (exit 1); exit 1; }
53347 # Set up the sed scripts for CONFIG_FILES section.
53350 # No need to generate the scripts if there are no CONFIG_FILES.
53351 # This happens for instance when ./config.status config.h
53352 if test -n "$CONFIG_FILES"; then
53359 for ac_last_try
in false false false false false
:; do
53360 cat >conf$
$subs.
sed <<_ACEOF
53361 SHELL!$SHELL$ac_delim
53362 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53363 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53364 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53365 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53366 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53367 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53368 exec_prefix!$exec_prefix$ac_delim
53369 prefix!$prefix$ac_delim
53370 program_transform_name!$program_transform_name$ac_delim
53371 bindir!$bindir$ac_delim
53372 sbindir!$sbindir$ac_delim
53373 libexecdir!$libexecdir$ac_delim
53374 datarootdir!$datarootdir$ac_delim
53375 datadir!$datadir$ac_delim
53376 sysconfdir!$sysconfdir$ac_delim
53377 sharedstatedir!$sharedstatedir$ac_delim
53378 localstatedir!$localstatedir$ac_delim
53379 includedir!$includedir$ac_delim
53380 oldincludedir!$oldincludedir$ac_delim
53381 docdir!$docdir$ac_delim
53382 infodir!$infodir$ac_delim
53383 htmldir!$htmldir$ac_delim
53384 dvidir!$dvidir$ac_delim
53385 pdfdir!$pdfdir$ac_delim
53386 psdir!$psdir$ac_delim
53387 libdir!$libdir$ac_delim
53388 localedir!$localedir$ac_delim
53389 mandir!$mandir$ac_delim
53390 DEFS!$DEFS$ac_delim
53391 ECHO_C!$ECHO_C$ac_delim
53392 ECHO_N!$ECHO_N$ac_delim
53393 ECHO_T!$ECHO_T$ac_delim
53394 LIBS!$LIBS$ac_delim
53395 build_alias!$build_alias$ac_delim
53396 host_alias!$host_alias$ac_delim
53397 target_alias!$target_alias$ac_delim
53398 build!$build$ac_delim
53399 build_cpu!$build_cpu$ac_delim
53400 build_vendor!$build_vendor$ac_delim
53401 build_os!$build_os$ac_delim
53402 host!$host$ac_delim
53403 host_cpu!$host_cpu$ac_delim
53404 host_vendor!$host_vendor$ac_delim
53405 host_os!$host_os$ac_delim
53406 wx_top_builddir!$wx_top_builddir$ac_delim
53408 CFLAGS!$CFLAGS$ac_delim
53409 LDFLAGS!$LDFLAGS$ac_delim
53410 CPPFLAGS!$CPPFLAGS$ac_delim
53411 ac_ct_CC!$ac_ct_CC$ac_delim
53412 EXEEXT!$EXEEXT$ac_delim
53413 OBJEXT!$OBJEXT$ac_delim
53415 GREP!$GREP$ac_delim
53416 EGREP!$EGREP$ac_delim
53418 CXXFLAGS!$CXXFLAGS$ac_delim
53419 ac_ct_CXX!$ac_ct_CXX$ac_delim
53421 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
53422 CXXCPP!$CXXCPP$ac_delim
53423 subdirs!$subdirs$ac_delim
53424 PKG_CONFIG!$PKG_CONFIG$ac_delim
53425 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53426 GTK_LIBS!$GTK_LIBS$ac_delim
53427 GTK_CONFIG!$GTK_CONFIG$ac_delim
53428 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53429 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53430 XMKMF!$XMKMF$ac_delim
53431 X_CFLAGS!$X_CFLAGS$ac_delim
53432 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53433 X_LIBS!$X_LIBS$ac_delim
53434 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53435 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53436 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53437 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53438 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53439 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53440 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53441 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53442 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53443 LIBICONV!$LIBICONV$ac_delim
53444 GXX_VERSION!$GXX_VERSION$ac_delim
53445 SDL_CONFIG!$SDL_CONFIG$ac_delim
53446 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53447 SDL_LIBS!$SDL_LIBS$ac_delim
53448 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53449 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53450 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53451 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53452 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53453 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53454 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53455 HILDON_LIBS!$HILDON_LIBS$ac_delim
53456 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
53457 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
53460 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53462 elif $ac_last_try; then
53463 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53464 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53465 { (exit 1); exit 1; }; }
53467 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53471 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53472 if test -n "$ac_eof"; then
53473 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53474 ac_eof
=`expr $ac_eof + 1`
53477 cat >>$CONFIG_STATUS <<_ACEOF
53478 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53479 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53482 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53483 s/^/s,@/; s/!/@,|#_!!_#|/
53486 s/'"$ac_delim"'$/,g/; t
53488 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53489 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53490 rm -f conf$
$subs.
sed
53491 cat >>$CONFIG_STATUS <<_ACEOF
53497 for ac_last_try
in false false false false false
:; do
53498 cat >conf$
$subs.
sed <<_ACEOF
53499 PYTHON!$PYTHON$ac_delim
53500 COND_PYTHON!$COND_PYTHON$ac_delim
53501 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53502 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53503 GST_CFLAGS!$GST_CFLAGS$ac_delim
53504 GST_LIBS!$GST_LIBS$ac_delim
53505 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53506 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53507 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53508 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53509 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53510 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53511 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53512 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53513 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53514 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53515 VENDOR!$VENDOR$ac_delim
53516 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53517 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53518 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53519 WXUNIV!$WXUNIV$ac_delim
53520 MONOLITHIC!$MONOLITHIC$ac_delim
53521 USE_PLUGINS!$USE_PLUGINS$ac_delim
53522 CXXWARNINGS!$CXXWARNINGS$ac_delim
53523 EXTRALIBS!$EXTRALIBS$ac_delim
53524 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53525 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53526 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
53527 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53528 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53529 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53530 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
53531 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53532 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53533 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53534 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53535 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53536 UNICODE!$UNICODE$ac_delim
53537 DEBUG_INFO!$DEBUG_INFO$ac_delim
53538 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53539 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53540 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53541 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
53542 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
53543 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53544 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
53545 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53546 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53547 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53548 RANLIB!$RANLIB$ac_delim
53549 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53550 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53551 INSTALL_DATA!$INSTALL_DATA$ac_delim
53552 LN_S!$LN_S$ac_delim
53553 SET_MAKE!$SET_MAKE$ac_delim
53554 MAKE_SET!$MAKE_SET$ac_delim
53555 AROPTIONS!$AROPTIONS$ac_delim
53556 STRIP!$STRIP$ac_delim
53558 INSTALL_DIR!$INSTALL_DIR$ac_delim
53559 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53560 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53561 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53562 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53563 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53564 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53565 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53566 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53567 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53568 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53569 SO_SUFFIX!$SO_SUFFIX$ac_delim
53570 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53571 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53572 LIBPREFIX!$LIBPREFIX$ac_delim
53573 LIBEXT!$LIBEXT$ac_delim
53574 DLLPREFIX!$DLLPREFIX$ac_delim
53575 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53576 dlldir!$dlldir$ac_delim
53577 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53578 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53579 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53580 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53581 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53582 PIC_FLAG!$PIC_FLAG$ac_delim
53583 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53584 USE_SOVERSION!$USE_SOVERSION$ac_delim
53585 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53586 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53587 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53588 USE_MACVERSION!$USE_MACVERSION$ac_delim
53589 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
53590 SONAME_FLAG!$SONAME_FLAG$ac_delim
53591 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53592 BK_DEPS!$BK_DEPS$ac_delim
53593 WINDRES!$WINDRES$ac_delim
53595 SETFILE!$SETFILE$ac_delim
53598 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53600 elif $ac_last_try; then
53601 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53602 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53603 { (exit 1); exit 1; }; }
53605 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53609 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53610 if test -n "$ac_eof"; then
53611 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53612 ac_eof
=`expr $ac_eof + 1`
53615 cat >>$CONFIG_STATUS <<_ACEOF
53616 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53617 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53620 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53621 s/^/s,@/; s/!/@,|#_!!_#|/
53624 s/'"$ac_delim"'$/,g/; t
53626 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53627 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53628 rm -f conf$
$subs.
sed
53629 cat >>$CONFIG_STATUS <<_ACEOF
53635 for ac_last_try
in false false false false false
:; do
53636 cat >conf$
$subs.
sed <<_ACEOF
53637 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
53638 GCC_PCH!$GCC_PCH$ac_delim
53639 ICC_PCH!$ICC_PCH$ac_delim
53640 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
53641 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
53642 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53643 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53644 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53645 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53646 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53647 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53648 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53649 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53650 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53651 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53652 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
53653 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
53654 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
53655 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
53656 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
53657 COND_BUILD_release!$COND_BUILD_release$ac_delim
53658 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
53659 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
53660 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
53661 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
53662 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53663 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53664 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53665 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53666 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53667 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53668 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53669 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53670 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53671 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53672 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53673 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53674 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53675 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53676 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
53677 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
53678 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53679 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53680 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53681 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53682 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53683 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53684 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53685 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53686 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53687 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
53688 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
53689 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53690 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53691 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53692 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53693 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53694 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53695 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53696 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53697 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
53698 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53699 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
53700 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53701 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53702 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53703 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53704 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53705 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53706 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53707 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53708 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53709 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53710 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53711 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
53712 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
53713 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53714 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
53715 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53716 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
53717 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53718 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
53719 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53720 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
53721 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53722 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53723 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
53724 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53725 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53726 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53727 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53728 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53729 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53730 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53731 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53732 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53733 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53736 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53738 elif $ac_last_try; then
53739 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53740 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53741 { (exit 1); exit 1; }; }
53743 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53747 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53748 if test -n "$ac_eof"; then
53749 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53750 ac_eof
=`expr $ac_eof + 1`
53753 cat >>$CONFIG_STATUS <<_ACEOF
53754 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53755 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53758 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53759 s/^/s,@/; s/!/@,|#_!!_#|/
53762 s/'"$ac_delim"'$/,g/; t
53764 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53765 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53766 rm -f conf$
$subs.
sed
53767 cat >>$CONFIG_STATUS <<_ACEOF
53773 for ac_last_try
in false false false false false
:; do
53774 cat >conf$
$subs.
sed <<_ACEOF
53775 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53776 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53777 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
53778 COND_SHARED_0!$COND_SHARED_0$ac_delim
53779 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53780 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53781 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53782 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53783 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53784 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53785 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53786 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53787 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
53788 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
53789 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
53790 COND_SHARED_1!$COND_SHARED_1$ac_delim
53791 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53792 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53793 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53794 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53795 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53796 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53797 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53798 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53799 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53800 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53801 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53802 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53803 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53804 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53805 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53806 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53807 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53808 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53809 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53810 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53811 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53812 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53813 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53814 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53815 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53816 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
53817 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53818 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
53819 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53820 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
53821 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53822 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
53823 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53824 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53825 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53826 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53827 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53828 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53829 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53830 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53831 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53832 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53833 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
53834 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53835 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53836 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53837 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53838 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53839 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53840 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53841 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53842 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53843 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53844 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53845 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53846 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53847 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53848 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53849 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53850 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53851 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53852 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
53853 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53854 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53855 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53856 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
53857 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53858 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53859 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53860 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53861 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53862 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53863 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53864 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53865 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53866 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53867 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53868 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53869 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53870 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53871 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53874 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53876 elif $ac_last_try; then
53877 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53878 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53879 { (exit 1); exit 1; }; }
53881 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53885 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53886 if test -n "$ac_eof"; then
53887 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53888 ac_eof
=`expr $ac_eof + 1`
53891 cat >>$CONFIG_STATUS <<_ACEOF
53892 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53893 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53896 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53897 s/^/s,@/; s/!/@,|#_!!_#|/
53900 s/'"$ac_delim"'$/,g/; t
53902 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53903 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53904 rm -f conf$
$subs.
sed
53905 cat >>$CONFIG_STATUS <<_ACEOF
53911 for ac_last_try
in false false false false false
:; do
53912 cat >conf$
$subs.
sed <<_ACEOF
53913 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
53914 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
53915 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
53916 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
53917 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
53918 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
53919 DEREZ!$DEREZ$ac_delim
53920 SHARED!$SHARED$ac_delim
53921 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53922 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53923 USE_GUI!$USE_GUI$ac_delim
53924 AFMINSTALL!$AFMINSTALL$ac_delim
53925 WIN32INSTALL!$WIN32INSTALL$ac_delim
53926 TOOLKIT!$TOOLKIT$ac_delim
53927 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53928 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53929 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53930 cross_compiling!$cross_compiling$ac_delim
53931 WIDGET_SET!$WIDGET_SET$ac_delim
53932 WX_RELEASE!$WX_RELEASE$ac_delim
53933 WX_VERSION!$WX_VERSION$ac_delim
53934 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53935 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53936 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53937 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53938 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53939 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53940 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53941 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
53942 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53943 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53944 GUIDIST!$GUIDIST$ac_delim
53945 DISTDIR!$DISTDIR$ac_delim
53946 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53947 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53948 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53949 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53950 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53951 RESCOMP!$RESCOMP$ac_delim
53952 RESFLAGS!$RESFLAGS$ac_delim
53953 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53954 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53955 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53956 LIBWXMACRES!$LIBWXMACRES$ac_delim
53957 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53958 MACSETFILE!$MACSETFILE$ac_delim
53960 DLLTOOL!$DLLTOOL$ac_delim
53961 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
53962 LIBOBJS!$LIBOBJS$ac_delim
53963 LTLIBOBJS!$LTLIBOBJS$ac_delim
53966 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
53968 elif $ac_last_try; then
53969 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53970 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53971 { (exit 1); exit 1; }; }
53973 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53977 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53978 if test -n "$ac_eof"; then
53979 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53980 ac_eof
=`expr $ac_eof + 1`
53983 cat >>$CONFIG_STATUS <<_ACEOF
53984 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
53985 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
53988 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53989 s/^/s,@/; s/!/@,|#_!!_#|/
53992 s/'"$ac_delim"'$/,g/; t
53994 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53995 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53996 rm -f conf$
$subs.
sed
53997 cat >>$CONFIG_STATUS <<_ACEOF
54004 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54005 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54006 # trailing colons and then remove the whole line if VPATH becomes empty
54007 # (actually we leave an empty line to preserve line numbers).
54008 if test "x$srcdir" = x.
; then
54009 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
54010 s/:*\$(srcdir):*/:/
54011 s/:*\${srcdir}:*/:/
54013 s/^\([^=]*=[ ]*\):*/\1/
54019 cat >>$CONFIG_STATUS <<\_ACEOF
54020 fi # test -n "$CONFIG_FILES"
54023 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
54026 :[FHLC
]) ac_mode
=$ac_tag; continue;;
54028 case $ac_mode$ac_tag in
54030 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54031 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54032 { (exit 1); exit 1; }; };;
54033 :[FH
]-) ac_tag
=-:-;;
54034 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
54051 -) ac_f
="$tmp/stdin";;
54052 *) # Look for the file first in the build tree, then in the source tree
54053 # (if the path is not absolute). The absolute path cannot be DOS-style,
54054 # because $ac_f cannot contain `:'.
54058 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
54060 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54061 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54062 { (exit 1); exit 1; }; };;
54064 ac_file_inputs
="$ac_file_inputs $ac_f"
54067 # Let's still pretend it is `configure' which instantiates (i.e., don't
54068 # use $as_me), people would be surprised to read:
54069 # /* config.h. Generated by config.status. */
54070 configure_input
="Generated from "`IFS=:
54071 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54072 if test x
"$ac_file" != x
-; then
54073 configure_input
="$ac_file. $configure_input"
54074 { echo "$as_me:$LINENO: creating $ac_file" >&5
54075 echo "$as_me: creating $ac_file" >&6;}
54079 *:-:* | *:-) cat >"$tmp/stdin";;
54084 ac_dir
=`$as_dirname -- "$ac_file" ||
54085 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54086 X"$ac_file" : 'X\(//\)[^/]' \| \
54087 X"$ac_file" : 'X\(//\)$' \| \
54088 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54090 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54094 /^X\(\/\/\)[^/].*/{
54109 -*) as_dir
=.
/$as_dir;;
54111 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54115 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54116 *) as_qdir
=$as_dir;;
54118 as_dirs
="'$as_qdir' $as_dirs"
54119 as_dir
=`$as_dirname -- "$as_dir" ||
54120 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54121 X"$as_dir" : 'X\(//\)[^/]' \| \
54122 X"$as_dir" : 'X\(//\)$' \| \
54123 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54125 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54129 /^X\(\/\/\)[^/].*/{
54142 test -d "$as_dir" && break
54144 test -z "$as_dirs" || eval "mkdir $as_dirs"
54145 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54146 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54147 { (exit 1); exit 1; }; }; }
54151 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54153 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54154 # A ".." for each directory in $ac_dir_suffix.
54155 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54156 case $ac_top_builddir_sub in
54157 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54158 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54161 ac_abs_top_builddir
=$ac_pwd
54162 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54163 # for backward compatibility:
54164 ac_top_builddir
=$ac_top_build_prefix
54167 .
) # We are building in place.
54169 ac_top_srcdir
=$ac_top_builddir_sub
54170 ac_abs_top_srcdir
=$ac_pwd ;;
54171 [\\/]* | ?
:[\\/]* ) # Absolute name.
54172 ac_srcdir
=$srcdir$ac_dir_suffix;
54173 ac_top_srcdir
=$srcdir
54174 ac_abs_top_srcdir
=$srcdir ;;
54175 *) # Relative name.
54176 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54177 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54178 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54180 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54190 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
54191 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
54195 cat >>$CONFIG_STATUS <<\_ACEOF
54196 # If the template does not know about datarootdir, expand it.
54197 # FIXME: This hack should be removed a few years after 2.60.
54198 ac_datarootdir_hack
=; ac_datarootdir_seen
=
54200 case `sed -n '/datarootdir/ {
54209 ' $ac_file_inputs` in
54210 *datarootdir
*) ac_datarootdir_seen
=yes;;
54211 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
54212 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54213 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54215 cat >>$CONFIG_STATUS <<_ACEOF
54216 ac_datarootdir_hack='
54217 s&@datadir@&$datadir&g
54218 s&@docdir@&$docdir&g
54219 s&@infodir@&$infodir&g
54220 s&@localedir@&$localedir&g
54221 s&@mandir@&$mandir&g
54222 s&\\\${datarootdir}&$datarootdir&g' ;;
54226 # Neutralize VPATH when `$srcdir' = `.'.
54227 # Shell code in configure.ac might set extrasub.
54228 # FIXME: do we really want to maintain this feature?
54229 cat >>$CONFIG_STATUS <<_ACEOF
54233 cat >>$CONFIG_STATUS <<\_ACEOF
54235 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
54236 s
&@configure_input@
&$configure_input&;t t
54237 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
54238 s
&@srcdir@
&$ac_srcdir&;t t
54239 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
54240 s
&@top_srcdir@
&$ac_top_srcdir&;t t
54241 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
54242 s
&@builddir@
&$ac_builddir&;t t
54243 s
&@abs_builddir@
&$ac_abs_builddir&;t t
54244 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
54245 s
&@INSTALL@
&$ac_INSTALL&;t t
54246 $ac_datarootdir_hack
54247 " $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
54249 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54250 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
54251 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
54252 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
54253 which seems to be undefined. Please make sure it is defined." >&5
54254 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
54255 which seems to be undefined. Please make sure it is defined." >&2;}
54259 -) cat "$tmp/out"; rm -f "$tmp/out";;
54260 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54269 # Transform confdefs.h into a sed script `conftest.defines', that
54270 # substitutes the proper values into config.h.in to produce config.h.
54271 rm -f conftest.defines conftest.
tail
54272 # First, append a space to every undef/define line, to ease matching.
54273 echo 's/$/ /' >conftest.defines
54274 # Then, protect against being on the right side of a sed subst, or in
54275 # an unquoted here document, in config.status. If some macros were
54276 # called several times there might be several #defines for the same
54277 # symbol, which is useless. But do not sort them, since the last
54278 # AC_DEFINE must be honored.
54279 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
54280 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54281 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54282 # PARAMS is the parameter list in the macro definition--in most cases, it's
54283 # just an empty string.
54284 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54285 ac_dB
='\\)[ (].*,\\1define\\2'
54293 s/^[ ]*#[ ]*define[ ][ ]*//
54298 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54299 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54300 ' >>conftest.defines
54302 # Remove the space that was appended to ease matching.
54303 # Then replace #undef with comments. This is necessary, for
54304 # example, in the case of _POSIX_SOURCE, which is predefined and required
54305 # on some systems where configure will not decide to define it.
54306 # (The regexp can be short, since the line contains either #define or #undef.)
54308 s,^[ #]*u.*,/* & */,' >>conftest.defines
54310 # Break up conftest.defines:
54311 ac_max_sed_lines
=50
54313 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54314 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54315 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54317 ac_in
='$ac_file_inputs'
54318 ac_out
='"$tmp/out1"'
54319 ac_nxt
='"$tmp/out2"'
54323 # Write a here document:
54324 cat >>$CONFIG_STATUS <<_ACEOF
54325 # First, check the format of the line:
54326 cat >"\$tmp/defines.sed" <<\\CEOF
54327 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54328 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54332 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
54334 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54335 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
54336 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
54337 grep . conftest.
tail >/dev
/null
|| break
54338 rm -f conftest.defines
54339 mv conftest.
tail conftest.defines
54341 rm -f conftest.defines conftest.
tail
54343 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54344 cat >>$CONFIG_STATUS <<\_ACEOF
54345 if test x
"$ac_file" != x
-; then
54346 echo "/* $configure_input */" >"$tmp/config.h"
54347 cat "$ac_result" >>"$tmp/config.h"
54348 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
54349 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54350 echo "$as_me: $ac_file is unchanged" >&6;}
54353 mv "$tmp/config.h" $ac_file
54356 echo "/* $configure_input */"
54362 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54363 echo "$as_me: executing $ac_file commands" >&6;}
54368 case $ac_file$ac_mode in
54370 mkdir -p $outdir &&
54371 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54373 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
54374 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
54375 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
54376 "wx-config":C
) rm -f wx
-config
54377 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
54384 { (exit 0); exit 0; }
54386 chmod +x
$CONFIG_STATUS
54387 ac_clean_files
=$ac_clean_files_save
54390 # configure is writing to config.log, and then calls config.status.
54391 # config.status does its own redirection, appending to config.log.
54392 # Unfortunately, on DOS this fails, as config.log is still kept open
54393 # by configure, so config.status won't be able to write to it; its
54394 # output is simply discarded. So we exec the FD to /dev/null,
54395 # effectively closing config.log, so it can be properly (re)opened and
54396 # appended to by config.status. When coming back to configure, we
54397 # need to make the FD available again.
54398 if test "$no_create" != yes; then
54400 ac_config_status_args
=
54401 test "$silent" = yes &&
54402 ac_config_status_args
="$ac_config_status_args --quiet"
54404 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
54406 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54407 # would make configure fail if this is the last instruction.
54408 $ac_cs_success || { (exit 1); exit 1; }
54412 # CONFIG_SUBDIRS section.
54414 if test "$no_recursion" != yes; then
54416 # Remove --cache-file and --srcdir arguments so they do not pile up.
54417 ac_sub_configure_args
=
54419 eval "set x $ac_configure_args"
54423 if test -n "$ac_prev"; then
54428 -cache-file | --cache-file | --cache-fil | --cache-fi \
54429 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54430 ac_prev
=cache_file
;;
54431 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54432 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54435 --config-cache | -C)
54437 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54439 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54441 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54443 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54447 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54449 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
54453 # Always prepend --prefix to ensure using the same prefix
54454 # in subdir configurations.
54455 ac_arg
="--prefix=$prefix"
54457 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54459 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
54462 if test "$silent" = yes; then
54463 ac_sub_configure_args
="--silent $ac_sub_configure_args"
54467 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
54469 # Do not complain, so a configure script can configure whichever
54470 # parts of a large source tree are present.
54471 test -d "$srcdir/$ac_dir" || continue
54473 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54474 echo "$as_me:$LINENO: $ac_msg" >&5
54478 -*) as_dir
=.
/$as_dir;;
54480 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54484 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54485 *) as_qdir
=$as_dir;;
54487 as_dirs
="'$as_qdir' $as_dirs"
54488 as_dir
=`$as_dirname -- "$as_dir" ||
54489 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54490 X"$as_dir" : 'X\(//\)[^/]' \| \
54491 X"$as_dir" : 'X\(//\)$' \| \
54492 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54494 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54498 /^X\(\/\/\)[^/].*/{
54511 test -d "$as_dir" && break
54513 test -z "$as_dirs" || eval "mkdir $as_dirs"
54514 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54515 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54516 { (exit 1); exit 1; }; }; }
54520 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54522 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54523 # A ".." for each directory in $ac_dir_suffix.
54524 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54525 case $ac_top_builddir_sub in
54526 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54527 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54530 ac_abs_top_builddir
=$ac_pwd
54531 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54532 # for backward compatibility:
54533 ac_top_builddir
=$ac_top_build_prefix
54536 .
) # We are building in place.
54538 ac_top_srcdir
=$ac_top_builddir_sub
54539 ac_abs_top_srcdir
=$ac_pwd ;;
54540 [\\/]* | ?
:[\\/]* ) # Absolute name.
54541 ac_srcdir
=$srcdir$ac_dir_suffix;
54542 ac_top_srcdir
=$srcdir
54543 ac_abs_top_srcdir
=$srcdir ;;
54544 *) # Relative name.
54545 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54546 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54547 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54549 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54554 # Check for guested configure; otherwise get Cygnus style configure.
54555 if test -f "$ac_srcdir/configure.gnu"; then
54556 ac_sub_configure
=$ac_srcdir/configure.gnu
54557 elif test -f "$ac_srcdir/configure"; then
54558 ac_sub_configure
=$ac_srcdir/configure
54559 elif test -f "$ac_srcdir/configure.in"; then
54560 # This should be Cygnus configure.
54561 ac_sub_configure
=$ac_aux_dir/configure
54563 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54564 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54568 # The recursion is here.
54569 if test -n "$ac_sub_configure"; then
54570 # Make the cache file name correct relative to the subdirectory.
54571 case $cache_file in
54572 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
54573 *) # Relative name.
54574 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
54577 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54578 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54579 # The eval makes quoting arguments work.
54580 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54581 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54582 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54583 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54584 { (exit 1); exit 1; }; }
54593 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54595 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54596 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54597 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54598 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54599 if test "$wxUSE_UNICODE" = "yes"; then
54600 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54601 echo " (using UTF-8)"
54603 echo " (using wchar_t)"
54609 echo " What level of wxWidgets compatibility should be enabled?"
54610 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54611 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54613 echo " Which libraries should wxWidgets use?"
54614 echo " STL ${wxUSE_STL}"
54615 echo " jpeg ${wxUSE_LIBJPEG-none}"
54616 echo " png ${wxUSE_LIBPNG-none}"
54617 echo " regex ${wxUSE_REGEX}"
54618 echo " tiff ${wxUSE_LIBTIFF-none}"
54619 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54620 echo " xpm ${wxUSE_LIBXPM-none}"
54622 echo " zlib ${wxUSE_ZLIB}"
54623 echo " expat ${wxUSE_EXPAT}"
54624 echo " libmspack ${wxUSE_LIBMSPACK}"
54625 echo " sdl ${wxUSE_LIBSDL}"