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 Mac PowerPC and Intel Universal binary
1709 --enable-compat26 enable wxWidgets
2.6 compatibility
1710 --disable-compat28 disable wxWidgets
2.8 compatibility
1711 --disable-rpath disable use of rpath
for uninstalled builds
1712 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1713 --disable-visibility disable use of ELF symbols visibility even
if supported
1714 --disable-tls disable use of compiler TLS support
1715 --enable-intl use internationalization system
1716 --enable-xlocale use x
-locale support
(requires wxLocale
)
1717 --enable-config use wxConfig
(and derived
) classes
1718 --enable-protocols use wxProtocol and derived classes
1719 --enable-ftp use wxFTP
(requires wxProtocol
1720 --enable-http use wxHTTP
(requires wxProtocol
1721 --enable-fileproto use wxFileProto class
(requires wxProtocol
1722 --enable-sockets use socket
/network classes
1723 --enable-ipv6 enable IPv6 support
in wxSocket
1724 --enable-ole use OLE classes
(Win32 only
)
1725 --enable-dataobj use data object classes
1726 --enable-ipc use interprocess communication
(wxSocket etc.
)
1727 --enable-baseevtloop use event loop
in console programs too
1728 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1729 --enable-selectloop use wxSelectDispatcher class
1730 --enable-any use wxAny class
1731 --enable-apple_ieee use the Apple IEEE codec
1732 --enable-arcstream use wxArchive streams
1733 --enable-base64 use base64 encoding
/decoding functions
1734 --enable-backtrace use wxStackWalker class
for getting backtraces
1735 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1736 --enable-cmdline use wxCmdLineParser class
1737 --enable-datetime use wxDateTime class
1738 --enable-debugreport use wxDebugReport class
1739 --enable-dialupman use dialup network classes
1740 --enable-dynlib use wxLibrary class
for DLL loading
1741 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1742 --enable-exceptions build exception
-safe library
1743 --enable-ffile use wxFFile class
1744 --enable-file use wxFile class
1745 --enable-filehistory use wxFileHistory class
1746 --enable-filesystem use virtual
file systems classes
1747 --enable-fontenum use wxFontEnumerator class
1748 --enable-fontmap use font encodings conversion classes
1749 --enable-fs_archive use virtual archive filesystems
1750 --enable-fs_inet use virtual HTTP
/FTP filesystems
1751 --enable-fs_zip now replaced by fs_archive
1752 --enable-fswatcher use wxFileSystemWatcher class
1753 --enable-geometry use geometry class
1754 --enable-log use logging system
1755 --enable-longlong use wxLongLong class
1756 --enable-mimetype use wxMimeTypesManager
1757 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1758 --enable-snglinst use wxSingleInstanceChecker class
1759 --enable-sound use wxSound class
1760 --enable-stdpaths use wxStandardPaths class
1761 --enable-stopwatch use wxStopWatch class
1762 --enable-streams use wxStream etc classes
1763 --enable-sysoptions use wxSystemOptions
1764 --enable-tarstream use wxTar streams
1765 --enable-textbuf use wxTextBuffer class
1766 --enable-textfile use wxTextFile class
1767 --enable-timer use wxTimer class
1768 --enable-variant use wxVariant class
1769 --enable-zipstream use wxZip streams
1770 --enable-url use wxURL class
1771 --enable-protocol use wxProtocol class
1772 --enable-protocol-http HTTP support
in wxProtocol
1773 --enable-protocol-ftp FTP support
in wxProtocol
1774 --enable-protocol-file FILE support
in wxProtocol
1775 --enable-threads use threads
1776 --enable-iniconf use wxIniConfig
(Win32 only
)
1777 --enable-regkey use wxRegKey class
(Win32 only
)
1778 --enable-docview use document view architecture
1779 --enable-help use
help subsystem
1780 --enable-mshtmlhelp use MS HTML Help
(win32
)
1781 --enable-html use wxHTML sub
-library
1782 --enable-htmlhelp use wxHTML
-based help
1783 --enable-xrc use XRC resources sub
-library
1784 --enable-aui use AUI docking library
1785 --enable-propgrid use wxPropertyGrid library
1786 --enable-ribbon use wxRibbon library
1787 --enable-stc use wxStyledTextCtrl library
1788 --enable-constraints use layout
-constraints system
1789 --enable-loggui use standard GUI logger
1790 --enable-logwin use wxLogWindow
1791 --enable-logdialog use wxLogDialog
1792 --enable-mdi use multiple document interface architecture
1793 --enable-mdidoc use docview architecture with MDI
1794 --enable-mediactrl use wxMediaCtrl class
1795 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1796 --enable-webkit use wxWebKitCtrl
(Mac
)
1797 --enable-richtext use wxRichTextCtrl
1798 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1799 --enable-printarch use printing architecture
1800 --enable-svg use wxSVGFileDC device context
1801 --enable-graphics_ctx use graphics context
2D drawing API
1802 --enable-clipboard use wxClipboard class
1803 --enable-dnd use Drag
'n'Drop classes
1804 --enable-metafile use win32 metafiles
1805 --disable-controls disable compilation of all standard controls
1806 --enable-accel use accelerators
1807 --enable-animatectrl use wxAnimationCtrl class
1808 --enable-bmpbutton use wxBitmapButton class
1809 --enable-bmpcombobox use wxBitmapComboBox class
1810 --enable-button use wxButton class
1811 --enable-calendar use wxCalendarCtrl class
1812 --enable-caret use wxCaret class
1813 --enable-checkbox use wxCheckBox class
1814 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1815 --enable-choice use wxChoice class
1816 --enable-choicebook use wxChoicebook class
1817 --enable-collpane use wxCollapsiblePane class
1818 --enable-colourpicker use wxColourPickerCtrl class
1819 --enable-combobox use wxComboBox class
1820 --enable-comboctrl use wxComboCtrl class
1821 --enable-dataviewctrl use wxDataViewCtrl class
1822 --enable-datepick use wxDatePickerCtrl class
1823 --enable-detect_sm use code to detect X11 session manager
1824 --enable-dirpicker use wxDirPickerCtrl class
1825 --enable-display use wxDisplay class
1826 --enable-editablebox use wxEditableListBox class
1827 --enable-filectrl use wxFileCtrl class
1828 --enable-filepicker use wxFilePickerCtrl class
1829 --enable-fontpicker use wxFontPickerCtrl class
1830 --enable-gauge use wxGauge class
1831 --enable-grid use wxGrid class
1832 --enable-headerctrl use wxHeaderCtrl class
1833 --enable-hyperlink use wxHyperlinkCtrl class
1834 --enable-imaglist use wxImageList class
1835 --enable-infobar use wxInfoBar class
1836 --enable-listbook use wxListbook class
1837 --enable-listbox use wxListBox class
1838 --enable-listctrl use wxListCtrl class
1839 --enable-notebook use wxNotebook class
1840 --enable-notifmsg use wxNotificationMessage class
1841 --enable-odcombobox use wxOwnerDrawnComboBox class
1842 --enable-popupwin use wxPopUpWindow class
1843 --enable-radiobox use wxRadioBox class
1844 --enable-radiobtn use wxRadioButton class
1845 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
1846 --enable-sash use wxSashWindow class
1847 --enable-scrollbar use wxScrollBar class and scrollable windows
1848 --enable-searchctrl use wxSearchCtrl class
1849 --enable-slider use wxSlider class
1850 --enable-spinbtn use wxSpinButton class
1851 --enable-spinctrl use wxSpinCtrl class
1852 --enable-splitter use wxSplitterWindow class
1853 --enable-statbmp use wxStaticBitmap class
1854 --enable-statbox use wxStaticBox class
1855 --enable-statline use wxStaticLine class
1856 --enable-stattext use wxStaticText class
1857 --enable-statusbar use wxStatusBar class
1858 --enable-taskbaricon use wxTaskBarIcon class
1859 --enable-tbarnative use native wxToolBar class
1860 --enable-textctrl use wxTextCtrl class
1861 --enable-tipwindow use wxTipWindow class
1862 --enable-togglebtn use wxToggleButton class
1863 --enable-toolbar use wxToolBar class
1864 --enable-toolbook use wxToolbook class
1865 --enable-treebook use wxTreebook class
1866 --enable-treectrl use wxTreeCtrl class
1867 --enable-commondlg use all common dialogs
1868 --enable-aboutdlg use wxAboutBox
1869 --enable-choicedlg use wxChoiceDialog
1870 --enable-coldlg use wxColourDialog
1871 --enable-filedlg use wxFileDialog
1872 --enable-finddlg use wxFindReplaceDialog
1873 --enable-fontdlg use wxFontDialog
1874 --enable-dirdlg use wxDirDialog
1875 --enable-msgdlg use wxMessageDialog
1876 --enable-numberdlg use wxNumberEntryDialog
1877 --enable-splash use wxSplashScreen
1878 --enable-textdlg use wxTextDialog
1879 --enable-tipdlg use startup tips
1880 --enable-progressdlg use wxProgressDialog
1881 --enable-wizarddlg use wxWizard
1882 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1883 --enable-miniframe use wxMiniFrame class
1884 --enable-tooltips use wxToolTip class
1885 --enable-splines use spline drawing code
1886 --enable-mousewheel use mousewheel
1887 --enable-validators use wxValidator and derived classes
1888 --enable-busyinfo use wxBusyInfo
1889 --enable-joystick use wxJoystick
1890 --enable-metafiles use wxMetaFile
(Win32 only
)
1891 --enable-dragimage use wxDragImage
1892 --enable-accessibility enable accessibility support
1893 --enable-uiactionsim use wxUIActionSimulator
(experimental
)
1894 --enable-palette use wxPalette class
1895 --enable-image use wxImage class
1896 --enable-gif use gif images
(GIF
file format
)
1897 --enable-pcx use pcx images
(PCX
file format
)
1898 --enable-tga use tga images
(TGA
file format
)
1899 --enable-iff use iff images
(IFF
file format
)
1900 --enable-pnm use pnm images
(PNM
file format
)
1901 --enable-xpm use xpm images
(XPM
file format
)
1902 --enable-ico_cur use Windows ICO and CUR formats
1903 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1904 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1905 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1906 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1907 --enable-wxdib use wxDIB class
(Win32 only
)
1908 --enable-autoidman use automatic ids management
1909 --disable-largefile omit support
for large files
1910 --disable-gtktest do not try to compile and run a
test GTK
+ program
1911 --disable-gtktest Do not try to compile and run a
test GTK program
1912 --disable-sdltest Do not try to compile and run a
test SDL program
1913 --enable-omf use OMF object format
(OS
/2)
1914 --disable-dependency-tracking
1915 don
't use dependency tracking even if the compiler
1917 --disable-precomp-headers
1918 don't use precompiled headers even
if compiler can
1921 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1922 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1923 --without-subdirs don
't generate makefiles for samples/demos/...
1924 --with-flavour=NAME specify a name to identify this build
1925 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1926 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1927 --with-motif use Motif/Lesstif
1928 --with-osx_carbon use Mac OS X (Carbon)
1929 --with-osx_cocoa use Mac OS X (Cocoa)
1930 --with-osx_iphone use iPhone OS X port
1931 --with-osx use Mac OS X (default port, currently Carbon)
1932 --with-carbon same as --with-osx_carbon
1933 --with-cocoa same as --with-osx_cocoa
1934 --with-iphone same as --with-osx_iphone
1935 --with-mac same as --with-osx
1936 --with-old_cocoa use old, deprecated, Cocoa port
1937 --with-wine use Wine
1938 --with-msw use MS-Windows
1939 --with-pm use OS/2 Presentation Manager
1940 --with-mgl use SciTech MGL
1941 --with-directfb use DirectFB
1942 --with-microwin use MicroWindows
1944 --with-libpng use libpng (PNG image format)
1945 --with-libjpeg use libjpeg (JPEG file format)
1946 --with-libtiff use libtiff (TIFF file format)
1947 --with-libxpm use libxpm (XPM file format)
1948 --with-libiconv use libiconv (character conversion)
1949 --with-libmspack use libmspack (CHM help files loading)
1950 --without-gtkprint don't use GTK printing support
1951 --without-gnomeprint don
't use GNOME printing libraries
1952 --with-gnomevfs use GNOME VFS for associating MIME types
1953 --with-hildon use Hildon framework for Nokia 770/800/810
1954 --with-opengl use OpenGL (or Mesa)
1955 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1956 --with-sdl use SDL for audio on Unix
1957 --with-regex enable support for wxRegEx class
1958 --with-zlib use zlib for LZW compression
1959 --with-expat enable XML support using expat parser
1960 --with-macosx-sdk=PATH use an OS X SDK at PATH
1961 --with-macosx-version-min=VER build binaries which require at least this OS X version
1962 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1963 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1964 --with-x use the X Window System
1965 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1966 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1967 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1968 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1969 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1971 Some influential environment variables:
1972 CC C compiler command
1973 CFLAGS C compiler flags
1974 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1975 nonstandard directory <lib dir>
1976 LIBS libraries to pass to the linker, e.g. -l<library>
1977 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1978 you have headers in a nonstandard directory <include dir>
1980 CXX C++ compiler command
1981 CXXFLAGS C++ compiler flags
1982 CXXCPP C++ preprocessor
1983 PKG_CONFIG path to pkg-config utility
1985 C compiler flags for DIRECTFB, overriding pkg-config
1987 linker flags for DIRECTFB, overriding pkg-config
1988 XMKMF Path to xmkmf, Makefile generator for X Window System
1990 C compiler flags for PANGOX, overriding pkg-config
1991 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1993 C compiler flags for PANGOFT2, overriding pkg-config
1995 linker flags for PANGOFT2, overriding pkg-config
1997 C compiler flags for PANGOXFT, overriding pkg-config
1999 linker flags for PANGOXFT, overriding pkg-config
2001 C compiler flags for GTKPRINT, overriding pkg-config
2003 linker flags for GTKPRINT, overriding pkg-config
2004 LIBGNOMEPRINTUI_CFLAGS
2005 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2006 LIBGNOMEPRINTUI_LIBS
2007 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2009 C compiler flags for GNOMEVFS, overriding pkg-config
2011 linker flags for GNOMEVFS, overriding pkg-config
2013 C compiler flags for HILDON, overriding pkg-config
2014 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2016 C compiler flags for HILDON2, overriding pkg-config
2018 linker flags for HILDON2, overriding pkg-config
2020 C compiler flags for CAIRO, overriding pkg-config
2021 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2022 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2023 GST_LIBS linker flags for GST, overriding pkg-config
2025 Use these variables to override the choices made by `configure' or to
help
2026 it to
find libraries and programs with nonstandard names
/locations.
2028 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2033 if test "$ac_init_help" = "recursive"; then
2034 # If there are subdirs, report their specific --help.
2035 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2036 test -d "$ac_dir" || continue
2040 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2042 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2043 # A ".." for each directory in $ac_dir_suffix.
2044 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2045 case $ac_top_builddir_sub in
2046 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2047 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2050 ac_abs_top_builddir
=$ac_pwd
2051 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2052 # for backward compatibility:
2053 ac_top_builddir
=$ac_top_build_prefix
2056 .
) # We are building in place.
2058 ac_top_srcdir
=$ac_top_builddir_sub
2059 ac_abs_top_srcdir
=$ac_pwd ;;
2060 [\\/]* | ?
:[\\/]* ) # Absolute name.
2061 ac_srcdir
=$srcdir$ac_dir_suffix;
2062 ac_top_srcdir
=$srcdir
2063 ac_abs_top_srcdir
=$srcdir ;;
2065 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2066 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2067 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2069 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2071 cd "$ac_dir" || { ac_status
=$?
; continue; }
2072 # Check for guested configure.
2073 if test -f "$ac_srcdir/configure.gnu"; then
2075 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2076 elif test -f "$ac_srcdir/configure"; then
2078 $SHELL "$ac_srcdir/configure" --help=recursive
2080 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2082 cd "$ac_pwd" || { ac_status
=$?
; break; }
2086 test -n "$ac_init_help" && exit $ac_status
2087 if $ac_init_version; then
2089 wxWidgets configure
2.9.2
2090 generated by GNU Autoconf
2.61
2092 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2093 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2094 This configure
script is free software
; the Free Software Foundation
2095 gives unlimited permission to copy
, distribute and modify it.
2099 cat >config.log
<<_ACEOF
2100 This file contains any messages produced by compilers while
2101 running configure, to aid debugging if configure makes a mistake.
2103 It was created by wxWidgets $as_me 2.9.2, which was
2104 generated by GNU Autoconf 2.61. Invocation command line was
2116 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2117 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2118 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2119 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2120 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2122 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2123 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2125 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2126 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2127 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2128 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2129 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2130 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2131 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2139 test -z "$as_dir" && as_dir
=.
2140 echo "PATH: $as_dir"
2156 # Keep a trace of the command line.
2157 # Strip out --no-create and --no-recursion so they do not pile up.
2158 # Strip out --silent because we don't want to record it for future runs.
2159 # Also quote any args containing shell meta-characters.
2160 # Make two passes to allow for proper duplicate-argument suppression.
2164 ac_must_keep_next
=false
2170 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2171 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2172 | -silent | --silent | --silen | --sile | --sil)
2175 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2178 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2180 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2181 if test $ac_must_keep_next = true
; then
2182 ac_must_keep_next
=false
# Got value, back to normal.
2185 *=* | --config-cache | -C | -disable-* | --disable-* \
2186 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2187 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2188 | -with-* | --with-* | -without-* | --without-* | --x)
2189 case "$ac_configure_args0 " in
2190 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2193 -* ) ac_must_keep_next
=true
;;
2196 ac_configure_args
="$ac_configure_args '$ac_arg'"
2201 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2202 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2204 # When interrupted or exit'd, cleanup temporary files, and complete
2205 # config.log. We remove comments because anyway the quotes in there
2206 # would cause problems or look ugly.
2207 # WARNING: Use '\'' to represent an apostrophe within the trap.
2208 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2209 trap 'exit_status=$?
2210 # Save into config.log some information that might help in debugging.
2215 ## ---------------- ##
2216 ## Cache variables. ##
2217 ## ---------------- ##
2220 # The following way of writing the cache mishandles newlines in values,
2222 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2223 eval ac_val=\$$ac_var
2227 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2228 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2231 _ | IFS | as_nl) ;; #(
2232 *) $as_unset $ac_var ;;
2237 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2238 *${as_nl}ac_space=\ *)
2240 "s/'\''/'\''\\\\'\'''\''/g;
2241 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2244 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2252 ## ----------------- ##
2253 ## Output variables. ##
2254 ## ----------------- ##
2257 for ac_var in $ac_subst_vars
2259 eval ac_val=\$$ac_var
2261 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2263 echo "$ac_var='\''$ac_val'\''"
2267 if test -n "$ac_subst_files"; then
2269 ## ------------------- ##
2270 ## File substitutions. ##
2271 ## ------------------- ##
2274 for ac_var
in $ac_subst_files
2276 eval ac_val
=\$
$ac_var
2278 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2280 echo "$ac_var='\''$ac_val'\''"
2285 if test -s confdefs.h; then
2295 test "$ac_signal" != 0 &&
2296 echo "$as_me: caught signal $ac_signal"
2297 echo "$as_me: exit $exit_status"
2299 rm -f core *.core core.conftest.* &&
2300 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2303 for ac_signal
in 1 2 13 15; do
2304 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2308 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2309 rm -f -r conftest
* confdefs.h
2311 # Predefined preprocessor variables.
2313 cat >>confdefs.h
<<_ACEOF
2314 #define PACKAGE_NAME "$PACKAGE_NAME"
2318 cat >>confdefs.h
<<_ACEOF
2319 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2323 cat >>confdefs.h
<<_ACEOF
2324 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2328 cat >>confdefs.h
<<_ACEOF
2329 #define PACKAGE_STRING "$PACKAGE_STRING"
2333 cat >>confdefs.h
<<_ACEOF
2334 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2338 # Let the site file select an alternate cache file if it wants to.
2339 # Prefer explicitly selected file to automatically selected ones.
2340 if test -n "$CONFIG_SITE"; then
2341 set x
"$CONFIG_SITE"
2342 elif test "x$prefix" != xNONE
; then
2343 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2345 set x
"$ac_default_prefix/share/config.site" \
2346 "$ac_default_prefix/etc/config.site"
2351 if test -r "$ac_site_file"; then
2352 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2353 echo "$as_me: loading site script $ac_site_file" >&6;}
2354 sed 's/^/| /' "$ac_site_file" >&5
2359 if test -r "$cache_file"; then
2360 # Some versions of bash will fail to source /dev/null (special
2361 # files actually), so we avoid doing that.
2362 if test -f "$cache_file"; then
2363 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2364 echo "$as_me: loading cache $cache_file" >&6;}
2366 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2367 *) .
"./$cache_file";;
2371 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2372 echo "$as_me: creating cache $cache_file" >&6;}
2376 # Check that the precious variables saved in the cache have kept the same
2378 ac_cache_corrupted
=false
2379 for ac_var
in $ac_precious_vars; do
2380 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2381 eval ac_new_set
=\
$ac_env_${ac_var}_set
2382 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2383 eval ac_new_val
=\
$ac_env_${ac_var}_value
2384 case $ac_old_set,$ac_new_set in
2386 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2387 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2388 ac_cache_corrupted
=: ;;
2390 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2391 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2392 ac_cache_corrupted
=: ;;
2395 if test "x$ac_old_val" != "x$ac_new_val"; then
2396 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2397 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2398 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2399 echo "$as_me: former value: $ac_old_val" >&2;}
2400 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2401 echo "$as_me: current value: $ac_new_val" >&2;}
2402 ac_cache_corrupted
=:
2405 # Pass precious variables to config.status.
2406 if test "$ac_new_set" = set; then
2408 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2409 *) ac_arg
=$ac_var=$ac_new_val ;;
2411 case " $ac_configure_args " in
2412 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2413 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2417 if $ac_cache_corrupted; then
2418 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2419 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2420 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2421 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2422 { (exit 1); exit 1; }; }
2450 ac_cpp
='$CPP $CPPFLAGS'
2451 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2452 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2453 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2460 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2461 if test -f "$ac_dir/install-sh"; then
2463 ac_install_sh
="$ac_aux_dir/install-sh -c"
2465 elif test -f "$ac_dir/install.sh"; then
2467 ac_install_sh
="$ac_aux_dir/install.sh -c"
2469 elif test -f "$ac_dir/shtool"; then
2471 ac_install_sh
="$ac_aux_dir/shtool install -c"
2475 if test -z "$ac_aux_dir"; then
2476 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2477 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2478 { (exit 1); exit 1; }; }
2481 # These three variables are undocumented and unsupported,
2482 # and are intended to be withdrawn in a future Autoconf release.
2483 # They can cause serious problems if a builder's source tree is in a directory
2484 # whose full name contains unusual characters.
2485 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2486 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2487 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2490 # Make sure we can run config.sub.
2491 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2492 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2493 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2494 { (exit 1); exit 1; }; }
2496 { echo "$as_me:$LINENO: checking build system type" >&5
2497 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2498 if test "${ac_cv_build+set}" = set; then
2499 echo $ECHO_N "(cached) $ECHO_C" >&6
2501 ac_build_alias
=$build_alias
2502 test "x$ac_build_alias" = x
&&
2503 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2504 test "x$ac_build_alias" = x
&&
2505 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2506 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2507 { (exit 1); exit 1; }; }
2508 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2509 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2510 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2511 { (exit 1); exit 1; }; }
2514 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2515 echo "${ECHO_T}$ac_cv_build" >&6; }
2516 case $ac_cv_build in
2518 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2519 echo "$as_me: error: invalid value of canonical build" >&2;}
2520 { (exit 1); exit 1; }; };;
2523 ac_save_IFS
=$IFS; IFS
='-'
2529 # Remember, the first character of IFS is used to create $*,
2530 # except with old shells:
2533 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2536 { echo "$as_me:$LINENO: checking host system type" >&5
2537 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2538 if test "${ac_cv_host+set}" = set; then
2539 echo $ECHO_N "(cached) $ECHO_C" >&6
2541 if test "x$host_alias" = x
; then
2542 ac_cv_host
=$ac_cv_build
2544 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2545 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2546 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2547 { (exit 1); exit 1; }; }
2551 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2552 echo "${ECHO_T}$ac_cv_host" >&6; }
2555 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2556 echo "$as_me: error: invalid value of canonical host" >&2;}
2557 { (exit 1); exit 1; }; };;
2560 ac_save_IFS
=$IFS; IFS
='-'
2566 # Remember, the first character of IFS is used to create $*,
2567 # except with old shells:
2570 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2574 if test "$cross_compiling" != "no"; then
2575 HOST_PREFIX
="${host_alias}-"
2576 HOST_SUFFIX
="-$host_alias"
2583 wx_major_version_number
=2
2584 wx_minor_version_number
=9
2586 wx_subrelease_number
=0
2588 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2589 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2590 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2592 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2595 wx_top_builddir
="`pwd`"
2608 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2614 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2620 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2622 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2624 DEFAULT_wxUSE_OLD_COCOA
=0
2626 DEFAULT_wxUSE_OSX_CARBON
=0
2627 DEFAULT_wxUSE_OSX_COCOA
=0
2628 DEFAULT_wxUSE_OSX_IPHONE
=0
2630 DEFAULT_wxUSE_MICROWIN
=0
2631 DEFAULT_wxUSE_MOTIF
=0
2637 DEFAULT_DEFAULT_wxUSE_OLD_COCOA
=0
2638 DEFAULT_DEFAULT_wxUSE_GTK
=0
2639 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2640 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2641 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=0
2642 DEFAULT_DEFAULT_wxUSE_MGL
=0
2643 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2644 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2645 DEFAULT_DEFAULT_wxUSE_MSW
=0
2646 DEFAULT_DEFAULT_wxUSE_PM
=0
2647 DEFAULT_DEFAULT_wxUSE_X11
=0
2648 DEFAULT_DEFAULT_wxUSE_DFB
=0
2652 DYLIB_RPATH_INSTALL
=
2653 DYLIB_RPATH_POSTLINK
=
2655 DEFAULT_STD_FLAG
=yes
2660 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2661 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2662 cat >>confdefs.h
<<\_ACEOF
2667 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2671 cat >>confdefs.h
<<\_ACEOF
2676 if test "x$TMP" = "xalpha"; then
2678 cat >>confdefs.h
<<\_ACEOF
2683 DEFAULT_DEFAULT_wxUSE_GTK
=1
2685 *-*-gnu* | *-*-k*bsd
*-gnu )
2688 if test "x$TMP" = "xalpha"; then
2690 cat >>confdefs.h
<<\_ACEOF
2695 DEFAULT_DEFAULT_wxUSE_GTK
=1
2697 *-*-irix5* | *-*-irix6* )
2700 cat >>confdefs.h
<<\_ACEOF
2704 cat >>confdefs.h
<<\_ACEOF
2708 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2712 cat >>confdefs.h
<<\_ACEOF
2716 DEFAULT_DEFAULT_wxUSE_X11
=1
2722 cat >>confdefs.h
<<\_ACEOF
2726 cat >>confdefs.h
<<\_ACEOF
2727 #define __SOLARIS__ 1
2730 cat >>confdefs.h
<<\_ACEOF
2734 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2735 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2741 cat >>confdefs.h
<<\_ACEOF
2745 cat >>confdefs.h
<<\_ACEOF
2749 cat >>confdefs.h
<<\_ACEOF
2753 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2758 cat >>confdefs.h
<<\_ACEOF
2759 #define __FREEBSD__ 1
2762 cat >>confdefs.h
<<\_ACEOF
2766 DEFAULT_DEFAULT_wxUSE_GTK
=1
2768 *-*-openbsd*|*-*-mirbsd*)
2771 cat >>confdefs.h
<<\_ACEOF
2772 #define __OPENBSD__ 1
2775 cat >>confdefs.h
<<\_ACEOF
2779 DEFAULT_DEFAULT_wxUSE_GTK
=1
2784 cat >>confdefs.h
<<\_ACEOF
2785 #define __NETBSD__ 1
2788 cat >>confdefs.h
<<\_ACEOF
2792 DEFAULT_DEFAULT_wxUSE_GTK
=1
2793 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2795 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2800 cat >>confdefs.h
<<\_ACEOF
2804 cat >>confdefs.h
<<\_ACEOF
2808 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2809 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2814 cat >>confdefs.h
<<\_ACEOF
2818 cat >>confdefs.h
<<\_ACEOF
2822 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2827 cat >>confdefs.h
<<\_ACEOF
2831 cat >>confdefs.h
<<\_ACEOF
2835 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2841 cat >>confdefs.h
<<\_ACEOF
2845 cat >>confdefs.h
<<\_ACEOF
2849 cat >>confdefs.h
<<\_ACEOF
2853 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2860 cat >>confdefs.h
<<\_ACEOF
2861 #define __UNIXWARE__ 1
2866 *-*-cygwin* | *-*-mingw32* )
2868 DEFAULT_DEFAULT_wxUSE_MSW
=1
2874 cat >>confdefs.h
<<\_ACEOF
2879 DEFAULT_DEFAULT_wxUSE_MGL
=1
2882 *-pc-os2_emx | *-pc-os2-emx )
2883 cat >>confdefs.h
<<\_ACEOF
2888 cat >>confdefs.h
<<\_ACEOF
2893 DEFAULT_DEFAULT_wxUSE_PM
=1
2895 LDFLAGS
="$LDFLAGS -Zcrtdll"
2896 ac_executable_extensions
=".exe"
2897 export ac_executable_extensions
2901 for ac_dir
in $PATH; do
2903 if test -z "$ac_TEMP_PATH"; then
2904 ac_TEMP_PATH
="$ac_dir"
2906 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2909 export PATH
="$ac_TEMP_PATH"
2917 cat >>confdefs.h
<<\_ACEOF
2921 cat >>confdefs.h
<<\_ACEOF
2922 #define __DARWIN__ 1
2925 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=1
2931 cat >>confdefs.h
<<\_ACEOF
2935 cat >>confdefs.h
<<\_ACEOF
2936 #define __DARWIN__ 1
2939 cat >>confdefs.h
<<\_ACEOF
2940 #define TARGET_CARBON 1
2943 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2948 cat >>confdefs.h
<<\_ACEOF
2955 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2956 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2957 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2958 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2960 DEFAULT_DEFAULT_wxUSE_X11
=1
2961 DEFAULT_wxUSE_SHARED
=no
2966 DEFAULT_wxUSE_ALL_FEATURES
=yes
2968 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2969 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2971 DEFAULT_wxUSE_DMALLOC
=no
2972 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2973 DEFAULT_wxUSE_LIBHILDON
=no
2974 DEFAULT_wxUSE_LIBHILDON2
=no
2975 DEFAULT_wxUSE_LIBMSPACK
=no
2976 DEFAULT_wxUSE_LIBSDL
=no
2978 DEFAULT_wxUSE_ACCESSIBILITY
=no
2979 DEFAULT_wxUSE_IPV6
=no
2980 DEFAULT_wxUSE_GSTREAMER8
=no
2981 DEFAULT_wxUSE_UIACTIONSIMULATOR
=no
2983 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2984 DEFAULT_wxUSE_OPENGL
=auto
2985 DEFAULT_wxUSE_MEDIACTRL
=auto
2986 DEFAULT_wxUSE_COMPILER_TLS
=auto
2988 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2990 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2992 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2994 DEFAULT_wxUSE_GTK2
=yes
2996 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
3002 enablestring
=disable
3004 if test -z "$defaultval"; then
3005 if test x
"$enablestring" = xdisable
; then
3012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3013 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3014 # Check whether --enable-gui was given.
3015 if test "${enable_gui+set}" = set; then
3016 enableval
=$enable_gui;
3017 if test "$enableval" = yes; then
3018 wx_cv_use_gui
='wxUSE_GUI=yes'
3020 wx_cv_use_gui
='wxUSE_GUI=no'
3025 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3030 eval "$wx_cv_use_gui"
3032 if test x"$enablestring" = xdisable; then
3033 if test $wxUSE_GUI = no; then
3042 { echo "$as_me:$LINENO: result: $result" >&5
3043 echo "${ECHO_T}$result" >&6; }
3048 if test -z "$defaultval"; then
3049 if test x"$enablestring" = xdisable; then
3056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3057 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3058 # Check whether --enable-monolithic was given.
3059 if test "${enable_monolithic+set}" = set; then
3060 enableval=$enable_monolithic;
3061 if test "$enableval" = yes; then
3062 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3064 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3069 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3074 eval "$wx_cv_use_monolithic"
3076 if test x"$enablestring" = xdisable; then
3077 if test $wxUSE_MONOLITHIC = no; then
3083 result=$wxUSE_MONOLITHIC
3086 { echo "$as_me:$LINENO: result
: $result" >&5
3087 echo "${ECHO_T}$result" >&6; }
3092 if test -z "$defaultval"; then
3093 if test x"$enablestring" = xdisable; then
3100 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3101 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3102 # Check whether --enable-plugins was given.
3103 if test "${enable_plugins+set}" = set; then
3104 enableval=$enable_plugins;
3105 if test "$enableval" = yes; then
3106 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3108 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3113 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3118 eval "$wx_cv_use_plugins"
3120 if test x
"$enablestring" = xdisable
; then
3121 if test $wxUSE_PLUGINS = no
; then
3127 result
=$wxUSE_PLUGINS
3130 { echo "$as_me:$LINENO: result: $result" >&5
3131 echo "${ECHO_T}$result" >&6; }
3135 defaultval
=$wxUSE_ALL_FEATURES
3136 if test -z "$defaultval"; then
3137 if test x
"$withstring" = xwithout
; then
3143 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3144 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3146 # Check whether --with-subdirs was given.
3147 if test "${with_subdirs+set}" = set; then
3148 withval
=$with_subdirs;
3149 if test "$withval" = yes; then
3150 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3152 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3157 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3162 eval "$wx_cv_use_subdirs"
3164 if test x"$withstring" = xwithout; then
3165 if test $wxWITH_SUBDIRS = yes; then
3171 result=$wxWITH_SUBDIRS
3174 { echo "$as_me:$LINENO: result: $result" >&5
3175 echo "${ECHO_T}$result" >&6; }
3178 # Check whether --with-flavour was given.
3179 if test "${with_flavour+set}" = set; then
3180 withval=$with_flavour; WX_FLAVOUR="$withval"
3186 if test -z "$defaultval"; then
3187 if test x"$enablestring" = xdisable; then
3194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3195 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3196 # Check whether --enable-official_build was given.
3197 if test "${enable_official_build+set}" = set; then
3198 enableval=$enable_official_build;
3199 if test "$enableval" = yes; then
3200 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3202 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3207 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3212 eval "$wx_cv_use_official_build"
3214 if test x"$enablestring" = xdisable; then
3215 if test $wxUSE_OFFICIAL_BUILD = no; then
3221 result=$wxUSE_OFFICIAL_BUILD
3224 { echo "$as_me:$LINENO: result
: $result" >&5
3225 echo "${ECHO_T}$result" >&6; }
3227 # Check whether --enable-vendor was given.
3228 if test "${enable_vendor+set}" = set; then
3229 enableval=$enable_vendor; VENDOR="$enableval"
3232 if test "x
$VENDOR" = "x
"; then
3237 enablestring=disable
3239 if test -z "$defaultval"; then
3240 if test x"$enablestring" = xdisable; then
3247 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3248 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3249 # Check whether --enable-all-features was given.
3250 if test "${enable_all_features+set}" = set; then
3251 enableval=$enable_all_features;
3252 if test "$enableval" = yes; then
3253 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3255 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3260 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3265 eval "$wx_cv_use_all_features"
3267 if test x
"$enablestring" = xdisable
; then
3268 if test $wxUSE_ALL_FEATURES = no
; then
3274 result
=$wxUSE_ALL_FEATURES
3277 { echo "$as_me:$LINENO: result: $result" >&5
3278 echo "${ECHO_T}$result" >&6; }
3281 if test "$wxUSE_ALL_FEATURES" = "no"; then
3282 DEFAULT_wxUSE_MEDIACTRL
=no
3286 if test "$wxUSE_GUI" = "yes"; then
3291 if test -z "$defaultval"; then
3292 if test x
"$enablestring" = xdisable
; then
3299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3300 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3301 # Check whether --enable-universal was given.
3302 if test "${enable_universal+set}" = set; then
3303 enableval
=$enable_universal;
3304 if test "$enableval" = yes; then
3305 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3307 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3312 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3317 eval "$wx_cv_use_universal"
3319 if test x"$enablestring" = xdisable; then
3320 if test $wxUSE_UNIVERSAL = no; then
3326 result=$wxUSE_UNIVERSAL
3329 { echo "$as_me:$LINENO: result: $result" >&5
3330 echo "${ECHO_T}$result" >&6; }
3332 if test "$wxUSE_UNIVERSAL" = "yes"; then
3334 # Check whether --with-themes was given.
3335 if test "${with_themes+set}" = set; then
3336 withval=$with_themes; wxUNIV_THEMES="$withval"
3342 # Check whether --with-gtk was given.
3343 if test "${with_gtk+set}" = set; then
3344 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3348 # Check whether --with-motif was given.
3349 if test "${with_motif+set}" = set; then
3350 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3354 # Check whether --with-osx_carbon was given.
3355 if test "${with_osx_carbon+set}" = set; then
3356 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3360 # Check whether --with-osx_cocoa was given.
3361 if test "${with_osx_cocoa+set}" = set; then
3362 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3366 # Check whether --with-osx_iphone was given.
3367 if test "${with_osx_iphone+set}" = set; then
3368 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3372 # Check whether --with-osx was given.
3373 if test "${with_osx+set}" = set; then
3374 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3378 # Check whether --with-carbon was given.
3379 if test "${with_carbon+set}" = set; then
3380 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3384 # Check whether --with-cocoa was given.
3385 if test "${with_cocoa+set}" = set; then
3386 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3390 # Check whether --with-iphone was given.
3391 if test "${with_iphone+set}" = set; then
3392 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3396 # Check whether --with-mac was given.
3397 if test "${with_mac+set}" = set; then
3398 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3402 # Check whether --with-old_cocoa was given.
3403 if test "${with_old_cocoa+set}" = set; then
3404 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3408 # Check whether --with-wine was given.
3409 if test "${with_wine+set}" = set; then
3410 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3414 # Check whether --with-msw was given.
3415 if test "${with_msw+set}" = set; then
3416 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3420 # Check whether --with-pm was given.
3421 if test "${with_pm+set}" = set; then
3422 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3426 # Check whether --with-mgl was given.
3427 if test "${with_mgl+set}" = set; then
3428 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3432 # Check whether --with-directfb was given.
3433 if test "${with_directfb+set}" = set; then
3434 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3438 # Check whether --with-microwin was given.
3439 if test "${with_microwin+set}" = set; then
3440 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3444 # Check whether --with-x11 was given.
3445 if test "${with_x11+set}" = set; then
3446 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3452 if test -z "$defaultval"; then
3453 if test x"$enablestring" = xdisable; then
3460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3461 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3462 # Check whether --enable-nanox was given.
3463 if test "${enable_nanox+set}" = set; then
3464 enableval=$enable_nanox;
3465 if test "$enableval" = yes; then
3466 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3468 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3473 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3478 eval "$wx_cv_use_nanox"
3480 if test x"$enablestring" = xdisable; then
3481 if test $wxUSE_NANOX = no; then
3490 { echo "$as_me:$LINENO: result
: $result" >&5
3491 echo "${ECHO_T}$result" >&6; }
3494 # Check whether --enable-gtk2 was given.
3495 if test "${enable_gtk2+set}" = set; then
3496 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3502 if test -z "$defaultval"; then
3503 if test x"$enablestring" = xdisable; then
3510 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3511 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3512 # Check whether --enable-gpe was given.
3513 if test "${enable_gpe+set}" = set; then
3514 enableval=$enable_gpe;
3515 if test "$enableval" = yes; then
3516 wx_cv_use_gpe='wxUSE_GPE=yes'
3518 wx_cv_use_gpe='wxUSE_GPE=no'
3523 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3528 eval "$wx_cv_use_gpe"
3530 if test x
"$enablestring" = xdisable
; then
3531 if test $wxUSE_GPE = no
; then
3540 { echo "$as_me:$LINENO: result: $result" >&5
3541 echo "${ECHO_T}$result" >&6; }
3545 { echo "$as_me:$LINENO: checking for toolkit" >&5
3546 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3550 # In Wine, we need to default to MSW, not GTK or MOTIF
3551 if test "$wxUSE_WINE" = "yes"; then
3552 DEFAULT_DEFAULT_wxUSE_GTK
=0
3553 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3554 DEFAULT_DEFAULT_wxUSE_MSW
=1
3561 if test "$wxUSE_GUI" = "yes"; then
3563 if test "$USE_BEOS" = 1; then
3564 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3565 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3566 { (exit 1); exit 1; }; }
3569 if test "$TOOLKIT_GIVEN" = 1; then
3570 for toolkit
in $ALL_TOOLKITS; do
3572 eval "value=\$${var}"
3573 if test "x$value" = "xno"; then
3575 elif test "x$value" != "x"; then
3579 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3580 eval "wx${toolkit}_VERSION=$value"
3584 for toolkit
in $ALL_TOOLKITS; do
3585 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3586 eval "wxUSE_$toolkit=\$${var}"
3590 NUM_TOOLKITS
=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3591 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3592 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3595 *-pc-os2_emx | *-pc-os2-emx )
3596 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3599 case "$NUM_TOOLKITS" in
3603 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3604 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3605 { (exit 1); exit 1; }; }
3608 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3609 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3610 { (exit 1); exit 1; }; }
3613 # to be removed when --disable-gtk2 isn't needed
3614 if test "x$wxUSE_GTK2" = "xyes"; then
3617 elif test "x$wxUSE_GTK2" = "xno"; then
3622 for toolkit
in $ALL_TOOLKITS; do
3624 eval "value=\$${var}"
3625 if test "$value" = 1; then
3626 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3627 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3628 echo "${ECHO_T}$toolkit_echo" >&6; }
3632 if test "x$host_alias" != "x"; then
3633 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3634 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3636 { echo "$as_me:$LINENO: result: base only" >&5
3637 echo "${ECHO_T}base only" >&6; }
3642 if test "$wxUSE_OSX_CARBON" = 1 \
3643 -o "$wxUSE_OSX_COCOA" = 1 \
3644 -o "$wxUSE_OSX_IPHONE" = 1; then
3650 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3651 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3653 # Check whether --with-libpng was given.
3654 if test "${with_libpng+set}" = set; then
3655 withval
=$with_libpng;
3656 if test "$withval" = yes; then
3657 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3658 elif test "$withval" = no
; then
3659 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3660 elif test "$withval" = sys
; then
3661 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3662 elif test "$withval" = builtin; then
3663 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3665 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3666 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3667 { (exit 1); exit 1; }; }
3672 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3677 eval "$wx_cv_use_libpng"
3679 if test "$wxUSE_LIBPNG" = yes; then
3680 { echo "$as_me:$LINENO: result: yes" >&5
3681 echo "${ECHO_T}yes" >&6; }
3682 elif test "$wxUSE_LIBPNG" = no; then
3683 { echo "$as_me:$LINENO: result: no" >&5
3684 echo "${ECHO_T}no" >&6; }
3685 elif test "$wxUSE_LIBPNG" = sys; then
3686 { echo "$as_me:$LINENO: result: system version" >&5
3687 echo "${ECHO_T}system version" >&6; }
3688 elif test "$wxUSE_LIBPNG" = builtin; then
3689 { echo "$as_me:$LINENO: result: builtin version" >&5
3690 echo "${ECHO_T}builtin version" >&6; }
3692 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3693 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3694 { (exit 1); exit 1; }; }
3698 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3699 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3701 # Check whether --with-libjpeg was given.
3702 if test "${with_libjpeg+set}" = set; then
3703 withval=$with_libjpeg;
3704 if test "$withval" = yes; then
3705 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3706 elif test "$withval" = no; then
3707 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3708 elif test "$withval" = sys; then
3709 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3710 elif test "$withval" = builtin; then
3711 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3713 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3714 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3715 { (exit 1); exit 1; }; }
3720 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3725 eval "$wx_cv_use_libjpeg"
3727 if test "$wxUSE_LIBJPEG" = yes; then
3728 { echo "$as_me:$LINENO: result
: yes" >&5
3729 echo "${ECHO_T}yes" >&6; }
3730 elif test "$wxUSE_LIBJPEG" = no; then
3731 { echo "$as_me:$LINENO: result
: no
" >&5
3732 echo "${ECHO_T}no
" >&6; }
3733 elif test "$wxUSE_LIBJPEG" = sys; then
3734 { echo "$as_me:$LINENO: result
: system version
" >&5
3735 echo "${ECHO_T}system version
" >&6; }
3736 elif test "$wxUSE_LIBJPEG" = builtin; then
3737 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3738 echo "${ECHO_T}builtin version
" >&6; }
3740 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3741 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3742 { (exit 1); exit 1; }; }
3746 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3747 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3749 # Check whether --with-libtiff was given.
3750 if test "${with_libtiff+set}" = set; then
3751 withval=$with_libtiff;
3752 if test "$withval" = yes; then
3753 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3754 elif test "$withval" = no; then
3755 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3756 elif test "$withval" = sys; then
3757 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3758 elif test "$withval" = builtin; then
3759 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3761 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3762 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3763 { (exit 1); exit 1; }; }
3768 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3773 eval "$wx_cv_use_libtiff"
3775 if test "$wxUSE_LIBTIFF" = yes; then
3776 { echo "$as_me:$LINENO: result: yes" >&5
3777 echo "${ECHO_T}yes" >&6; }
3778 elif test "$wxUSE_LIBTIFF" = no
; then
3779 { echo "$as_me:$LINENO: result: no" >&5
3780 echo "${ECHO_T}no" >&6; }
3781 elif test "$wxUSE_LIBTIFF" = sys
; then
3782 { echo "$as_me:$LINENO: result: system version" >&5
3783 echo "${ECHO_T}system version" >&6; }
3784 elif test "$wxUSE_LIBTIFF" = builtin; then
3785 { echo "$as_me:$LINENO: result: builtin version" >&5
3786 echo "${ECHO_T}builtin version" >&6; }
3788 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3789 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3790 { (exit 1); exit 1; }; }
3794 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3795 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3797 # Check whether --with-libxpm was given.
3798 if test "${with_libxpm+set}" = set; then
3799 withval
=$with_libxpm;
3800 if test "$withval" = yes; then
3801 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3802 elif test "$withval" = no
; then
3803 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3804 elif test "$withval" = sys
; then
3805 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3806 elif test "$withval" = builtin; then
3807 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3809 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3810 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3811 { (exit 1); exit 1; }; }
3816 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3821 eval "$wx_cv_use_libxpm"
3823 if test "$wxUSE_LIBXPM" = yes; then
3824 { echo "$as_me:$LINENO: result: yes" >&5
3825 echo "${ECHO_T}yes" >&6; }
3826 elif test "$wxUSE_LIBXPM" = no; then
3827 { echo "$as_me:$LINENO: result: no" >&5
3828 echo "${ECHO_T}no" >&6; }
3829 elif test "$wxUSE_LIBXPM" = sys; then
3830 { echo "$as_me:$LINENO: result: system version" >&5
3831 echo "${ECHO_T}system version" >&6; }
3832 elif test "$wxUSE_LIBXPM" = builtin; then
3833 { echo "$as_me:$LINENO: result: builtin version" >&5
3834 echo "${ECHO_T}builtin version" >&6; }
3836 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3837 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3838 { (exit 1); exit 1; }; }
3843 defaultval=$wxUSE_ALL_FEATURES
3844 if test -z "$defaultval"; then
3845 if test x"$withstring" = xwithout; then
3851 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3852 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3854 # Check whether --with-libiconv was given.
3855 if test "${with_libiconv+set}" = set; then
3856 withval=$with_libiconv;
3857 if test "$withval" = yes; then
3858 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3860 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3865 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3870 eval "$wx_cv_use_libiconv"
3872 if test x"$withstring" = xwithout; then
3873 if test $wxUSE_LIBICONV = yes; then
3879 result=$wxUSE_LIBICONV
3882 { echo "$as_me:$LINENO: result
: $result" >&5
3883 echo "${ECHO_T}$result" >&6; }
3887 defaultval=$wxUSE_ALL_FEATURES
3888 if test -z "$defaultval"; then
3889 if test x"$withstring" = xwithout; then
3895 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3896 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3898 # Check whether --with-libmspack was given.
3899 if test "${with_libmspack+set}" = set; then
3900 withval=$with_libmspack;
3901 if test "$withval" = yes; then
3902 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3904 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3909 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3914 eval "$wx_cv_use_libmspack"
3916 if test x
"$withstring" = xwithout
; then
3917 if test $wxUSE_LIBMSPACK = yes; then
3923 result
=$wxUSE_LIBMSPACK
3926 { echo "$as_me:$LINENO: result: $result" >&5
3927 echo "${ECHO_T}$result" >&6; }
3931 defaultval
=$wxUSE_ALL_FEATURES
3932 if test -z "$defaultval"; then
3933 if test x
"$withstring" = xwithout
; then
3939 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3940 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3942 # Check whether --with-gtkprint was given.
3943 if test "${with_gtkprint+set}" = set; then
3944 withval
=$with_gtkprint;
3945 if test "$withval" = yes; then
3946 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3948 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3953 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3958 eval "$wx_cv_use_gtkprint"
3960 if test x"$withstring" = xwithout; then
3961 if test $wxUSE_GTKPRINT = yes; then
3967 result=$wxUSE_GTKPRINT
3970 { echo "$as_me:$LINENO: result: $result" >&5
3971 echo "${ECHO_T}$result" >&6; }
3975 defaultval=$wxUSE_ALL_FEATURES
3976 if test -z "$defaultval"; then
3977 if test x"$withstring" = xwithout; then
3983 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3984 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3986 # Check whether --with-gnomeprint was given.
3987 if test "${with_gnomeprint+set}" = set; then
3988 withval=$with_gnomeprint;
3989 if test "$withval" = yes; then
3990 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3992 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3997 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4002 eval "$wx_cv_use_gnomeprint"
4004 if test x"$withstring" = xwithout; then
4005 if test $wxUSE_LIBGNOMEPRINT = yes; then
4011 result=$wxUSE_LIBGNOMEPRINT
4014 { echo "$as_me:$LINENO: result
: $result" >&5
4015 echo "${ECHO_T}$result" >&6; }
4019 defaultval=$wxUSE_ALL_FEATURES
4020 if test -z "$defaultval"; then
4021 if test x"$withstring" = xwithout; then
4027 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
4028 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
4030 # Check whether --with-gnomevfs was given.
4031 if test "${with_gnomevfs+set}" = set; then
4032 withval=$with_gnomevfs;
4033 if test "$withval" = yes; then
4034 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4036 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4041 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4046 eval "$wx_cv_use_gnomevfs"
4048 if test x
"$withstring" = xwithout
; then
4049 if test $wxUSE_LIBGNOMEVFS = yes; then
4055 result
=$wxUSE_LIBGNOMEVFS
4058 { echo "$as_me:$LINENO: result: $result" >&5
4059 echo "${ECHO_T}$result" >&6; }
4063 defaultval
=$wxUSE_ALL_FEATURES
4064 if test -z "$defaultval"; then
4065 if test x
"$withstring" = xwithout
; then
4071 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4072 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4074 # Check whether --with-hildon was given.
4075 if test "${with_hildon+set}" = set; then
4076 withval
=$with_hildon;
4077 if test "$withval" = yes; then
4078 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
4080 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
4085 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4090 eval "$wx_cv_use_hildon"
4092 if test x"$withstring" = xwithout; then
4093 if test $wxUSE_LIBHILDON = yes; then
4099 result=$wxUSE_LIBHILDON
4102 { echo "$as_me:$LINENO: result: $result" >&5
4103 echo "${ECHO_T}$result" >&6; }
4107 defaultval=$wxUSE_ALL_FEATURES
4108 if test -z "$defaultval"; then
4109 if test x"$withstring" = xwithout; then
4115 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4116 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4118 # Check whether --with-opengl was given.
4119 if test "${with_opengl+set}" = set; then
4120 withval=$with_opengl;
4121 if test "$withval" = yes; then
4122 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4124 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4129 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4134 eval "$wx_cv_use_opengl"
4136 if test x"$withstring" = xwithout; then
4137 if test $wxUSE_OPENGL = yes; then
4143 result=$wxUSE_OPENGL
4146 { echo "$as_me:$LINENO: result
: $result" >&5
4147 echo "${ECHO_T}$result" >&6; }
4154 defaultval=$wxUSE_ALL_FEATURES
4155 if test -z "$defaultval"; then
4156 if test x"$withstring" = xwithout; then
4162 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4163 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4165 # Check whether --with-dmalloc was given.
4166 if test "${with_dmalloc+set}" = set; then
4167 withval=$with_dmalloc;
4168 if test "$withval" = yes; then
4169 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4171 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4176 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4181 eval "$wx_cv_use_dmalloc"
4183 if test x
"$withstring" = xwithout
; then
4184 if test $wxUSE_DMALLOC = yes; then
4190 result
=$wxUSE_DMALLOC
4193 { echo "$as_me:$LINENO: result: $result" >&5
4194 echo "${ECHO_T}$result" >&6; }
4198 defaultval
=$wxUSE_ALL_FEATURES
4199 if test -z "$defaultval"; then
4200 if test x
"$withstring" = xwithout
; then
4206 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4207 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4209 # Check whether --with-sdl was given.
4210 if test "${with_sdl+set}" = set; then
4212 if test "$withval" = yes; then
4213 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4215 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4220 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4225 eval "$wx_cv_use_sdl"
4227 if test x"$withstring" = xwithout; then
4228 if test $wxUSE_LIBSDL = yes; then
4234 result=$wxUSE_LIBSDL
4237 { echo "$as_me:$LINENO: result: $result" >&5
4238 echo "${ECHO_T}$result" >&6; }
4241 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4242 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4244 # Check whether --with-regex was given.
4245 if test "${with_regex+set}" = set; then
4246 withval=$with_regex;
4247 if test "$withval" = yes; then
4248 wx_cv_use_regex='wxUSE_REGEX
=yes'
4249 elif test "$withval" = no; then
4250 wx_cv_use_regex='wxUSE_REGEX
=no
'
4251 elif test "$withval" = sys; then
4252 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4253 elif test "$withval" = builtin; then
4254 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4256 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4257 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4258 { (exit 1); exit 1; }; }
4263 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4268 eval "$wx_cv_use_regex"
4270 if test "$wxUSE_REGEX" = yes; then
4271 { echo "$as_me:$LINENO: result
: yes" >&5
4272 echo "${ECHO_T}yes" >&6; }
4273 elif test "$wxUSE_REGEX" = no; then
4274 { echo "$as_me:$LINENO: result
: no
" >&5
4275 echo "${ECHO_T}no
" >&6; }
4276 elif test "$wxUSE_REGEX" = sys; then
4277 { echo "$as_me:$LINENO: result
: system version
" >&5
4278 echo "${ECHO_T}system version
" >&6; }
4279 elif test "$wxUSE_REGEX" = builtin; then
4280 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4281 echo "${ECHO_T}builtin version
" >&6; }
4283 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4284 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4285 { (exit 1); exit 1; }; }
4289 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4290 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4292 # Check whether --with-zlib was given.
4293 if test "${with_zlib+set}" = set; then
4295 if test "$withval" = yes; then
4296 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4297 elif test "$withval" = no; then
4298 wx_cv_use_zlib='wxUSE_ZLIB=no'
4299 elif test "$withval" = sys; then
4300 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4301 elif test "$withval" = builtin; then
4302 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4304 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4305 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4306 { (exit 1); exit 1; }; }
4311 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4316 eval "$wx_cv_use_zlib"
4318 if test "$wxUSE_ZLIB" = yes; then
4319 { echo "$as_me:$LINENO: result: yes" >&5
4320 echo "${ECHO_T}yes" >&6; }
4321 elif test "$wxUSE_ZLIB" = no
; then
4322 { echo "$as_me:$LINENO: result: no" >&5
4323 echo "${ECHO_T}no" >&6; }
4324 elif test "$wxUSE_ZLIB" = sys
; then
4325 { echo "$as_me:$LINENO: result: system version" >&5
4326 echo "${ECHO_T}system version" >&6; }
4327 elif test "$wxUSE_ZLIB" = builtin; then
4328 { echo "$as_me:$LINENO: result: builtin version" >&5
4329 echo "${ECHO_T}builtin version" >&6; }
4331 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4332 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4333 { (exit 1); exit 1; }; }
4337 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4338 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4340 # Check whether --with-expat was given.
4341 if test "${with_expat+set}" = set; then
4342 withval
=$with_expat;
4343 if test "$withval" = yes; then
4344 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4345 elif test "$withval" = no
; then
4346 wx_cv_use_expat
='wxUSE_EXPAT=no'
4347 elif test "$withval" = sys
; then
4348 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4349 elif test "$withval" = builtin; then
4350 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4352 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4353 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4354 { (exit 1); exit 1; }; }
4359 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4364 eval "$wx_cv_use_expat"
4366 if test "$wxUSE_EXPAT" = yes; then
4367 { echo "$as_me:$LINENO: result: yes" >&5
4368 echo "${ECHO_T}yes" >&6; }
4369 elif test "$wxUSE_EXPAT" = no; then
4370 { echo "$as_me:$LINENO: result: no" >&5
4371 echo "${ECHO_T}no" >&6; }
4372 elif test "$wxUSE_EXPAT" = sys; then
4373 { echo "$as_me:$LINENO: result: system version" >&5
4374 echo "${ECHO_T}system version" >&6; }
4375 elif test "$wxUSE_EXPAT" = builtin; then
4376 { echo "$as_me:$LINENO: result: builtin version" >&5
4377 echo "${ECHO_T}builtin version" >&6; }
4379 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4380 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4381 { (exit 1); exit 1; }; }
4385 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4386 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4388 # Check whether --with-macosx-sdk was given.
4389 if test "${with_macosx_sdk+set}" = set; then
4390 withval=$with_macosx_sdk;
4391 wxUSE_MACOSX_SDK=$withval
4392 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4396 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4397 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4399 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4400 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4402 # Check whether --with-macosx-version-min was given.
4403 if test "${with_macosx_version_min+set}" = set; then
4404 withval=$with_macosx_version_min;
4405 wxUSE_MACOSX_VERSION_MIN=$withval
4406 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4410 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4411 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4414 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4415 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4416 # Check whether --enable-debug was given.
4417 if test "${enable_debug+set}" = set; then
4418 enableval=$enable_debug;
4419 if test "$enableval" = yes; then
4421 elif test "$enableval" = no; then
4423 elif test "$enableval" = max; then
4425 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4427 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4428 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4429 { (exit 1); exit 1; }; }
4438 case "$wxUSE_DEBUG" in
4440 DEFAULT_wxUSE_DEBUG_FLAG=yes
4441 DEFAULT_wxUSE_DEBUG_INFO=yes
4443 DEFAULT_wxUSE_OPTIMISE=no
4447 DEFAULT_wxUSE_DEBUG_FLAG=no
4448 DEFAULT_wxUSE_DEBUG_INFO=no
4452 DEFAULT_wxUSE_DEBUG_FLAG=yes
4453 DEFAULT_wxUSE_DEBUG_INFO=no
4458 enablestring=disable
4460 if test -z "$defaultval"; then
4461 if test x"$enablestring" = xdisable; then
4468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4469 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4470 # Check whether --enable-debug_flag was given.
4471 if test "${enable_debug_flag+set}" = set; then
4472 enableval=$enable_debug_flag;
4473 if test "$enableval" = yes; then
4474 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
4476 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
4481 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4486 eval "$wx_cv_use_debug_flag"
4488 if test x"$enablestring" = xdisable; then
4489 if test $wxUSE_DEBUG_FLAG = no; then
4495 result=$wxUSE_DEBUG_FLAG
4498 { echo "$as_me:$LINENO: result
: $result" >&5
4499 echo "${ECHO_T}$result" >&6; }
4504 if test -z "$defaultval"; then
4505 if test x"$enablestring" = xdisable; then
4512 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_info" >&5
4513 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_info...
$ECHO_C" >&6; }
4514 # Check whether --enable-debug_info was given.
4515 if test "${enable_debug_info+set}" = set; then
4516 enableval=$enable_debug_info;
4517 if test "$enableval" = yes; then
4518 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4520 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4525 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4530 eval "$wx_cv_use_debug_info"
4532 if test x
"$enablestring" = xdisable
; then
4533 if test $wxUSE_DEBUG_INFO = no
; then
4539 result
=$wxUSE_DEBUG_INFO
4542 { echo "$as_me:$LINENO: result: $result" >&5
4543 echo "${ECHO_T}$result" >&6; }
4550 if test -z "$defaultval"; then
4551 if test x
"$enablestring" = xdisable
; then
4558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4559 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4560 # Check whether --enable-debug_gdb was given.
4561 if test "${enable_debug_gdb+set}" = set; then
4562 enableval
=$enable_debug_gdb;
4563 if test "$enableval" = yes; then
4564 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4566 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4571 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4576 eval "$wx_cv_use_debug_gdb"
4578 if test x"$enablestring" = xdisable; then
4579 if test $wxUSE_DEBUG_GDB = no; then
4585 result=$wxUSE_DEBUG_GDB
4588 { echo "$as_me:$LINENO: result: $result" >&5
4589 echo "${ECHO_T}$result" >&6; }
4594 if test -z "$defaultval"; then
4595 if test x"$enablestring" = xdisable; then
4602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4603 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4604 # Check whether --enable-debug_cntxt was given.
4605 if test "${enable_debug_cntxt+set}" = set; then
4606 enableval=$enable_debug_cntxt;
4607 if test "$enableval" = yes; then
4608 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
4610 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
4615 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4620 eval "$wx_cv_use_debug_cntxt"
4622 if test x"$enablestring" = xdisable; then
4623 if test $wxUSE_DEBUG_CONTEXT = no; then
4629 result=$wxUSE_DEBUG_CONTEXT
4632 { echo "$as_me:$LINENO: result
: $result" >&5
4633 echo "${ECHO_T}$result" >&6; }
4638 if test -z "$defaultval"; then
4639 if test x"$enablestring" = xdisable; then
4646 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mem_tracing" >&5
4647 echo $ECHO_N "checking
for --${enablestring:-enable}-mem_tracing...
$ECHO_C" >&6; }
4648 # Check whether --enable-mem_tracing was given.
4649 if test "${enable_mem_tracing+set}" = set; then
4650 enableval=$enable_mem_tracing;
4651 if test "$enableval" = yes; then
4652 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4654 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4659 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4664 eval "$wx_cv_use_mem_tracing"
4666 if test x
"$enablestring" = xdisable
; then
4667 if test $wxUSE_MEM_TRACING = no
; then
4673 result
=$wxUSE_MEM_TRACING
4676 { echo "$as_me:$LINENO: result: $result" >&5
4677 echo "${ECHO_T}$result" >&6; }
4682 enablestring
=disable
4684 if test -z "$defaultval"; then
4685 if test x
"$enablestring" = xdisable
; then
4692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4693 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4694 # Check whether --enable-shared was given.
4695 if test "${enable_shared+set}" = set; then
4696 enableval
=$enable_shared;
4697 if test "$enableval" = yes; then
4698 wx_cv_use_shared
='wxUSE_SHARED=yes'
4700 wx_cv_use_shared
='wxUSE_SHARED=no'
4705 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4710 eval "$wx_cv_use_shared"
4712 if test x"$enablestring" = xdisable; then
4713 if test $wxUSE_SHARED = no; then
4719 result=$wxUSE_SHARED
4722 { echo "$as_me:$LINENO: result: $result" >&5
4723 echo "${ECHO_T}$result" >&6; }
4728 if test -z "$defaultval"; then
4729 if test x"$enablestring" = xdisable; then
4736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4737 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4738 # Check whether --enable-stl was given.
4739 if test "${enable_stl+set}" = set; then
4740 enableval=$enable_stl;
4741 if test "$enableval" = yes; then
4742 wx_cv_use_stl='wxUSE_STL
=yes'
4744 wx_cv_use_stl='wxUSE_STL
=no
'
4749 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
4754 eval "$wx_cv_use_stl"
4756 if test x"$enablestring" = xdisable; then
4757 if test $wxUSE_STL = no; then
4766 { echo "$as_me:$LINENO: result
: $result" >&5
4767 echo "${ECHO_T}$result" >&6; }
4772 if test -z "$defaultval"; then
4773 if test x"$enablestring" = xdisable; then
4780 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_iostreams" >&5
4781 echo $ECHO_N "checking
for --${enablestring:-enable}-std_iostreams...
$ECHO_C" >&6; }
4782 # Check whether --enable-std_iostreams was given.
4783 if test "${enable_std_iostreams+set}" = set; then
4784 enableval=$enable_std_iostreams;
4785 if test "$enableval" = yes; then
4786 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4788 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4793 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4798 eval "$wx_cv_use_std_iostreams"
4800 if test x
"$enablestring" = xdisable
; then
4801 if test $wxUSE_STD_IOSTREAM = no
; then
4807 result
=$wxUSE_STD_IOSTREAM
4810 { echo "$as_me:$LINENO: result: $result" >&5
4811 echo "${ECHO_T}$result" >&6; }
4816 if test -z "$defaultval"; then
4817 if test x
"$enablestring" = xdisable
; then
4824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4825 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4826 # Check whether --enable-std_string was given.
4827 if test "${enable_std_string+set}" = set; then
4828 enableval
=$enable_std_string;
4829 if test "$enableval" = yes; then
4830 wx_cv_use_std_string
='wxUSE_STD_STRING=yes'
4832 wx_cv_use_std_string
='wxUSE_STD_STRING=no'
4837 wx_cv_use_std_string
='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4842 eval "$wx_cv_use_std_string"
4844 if test x"$enablestring" = xdisable; then
4845 if test $wxUSE_STD_STRING = no; then
4851 result=$wxUSE_STD_STRING
4854 { echo "$as_me:$LINENO: result: $result" >&5
4855 echo "${ECHO_T}$result" >&6; }
4858 enablestring=disable
4860 if test -z "$defaultval"; then
4861 if test x"$enablestring" = xdisable; then
4868 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4869 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4870 # Check whether --enable-unicode was given.
4871 if test "${enable_unicode+set}" = set; then
4872 enableval=$enable_unicode;
4873 if test "$enableval" = yes; then
4874 wx_cv_use_unicode='wxUSE_UNICODE
=yes'
4876 wx_cv_use_unicode='wxUSE_UNICODE
=no
'
4881 wx_cv_use_unicode='wxUSE_UNICODE
=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4886 eval "$wx_cv_use_unicode"
4888 if test x"$enablestring" = xdisable; then
4889 if test $wxUSE_UNICODE = no; then
4895 result=$wxUSE_UNICODE
4898 { echo "$as_me:$LINENO: result
: $result" >&5
4899 echo "${ECHO_T}$result" >&6; }
4904 if test -z "$defaultval"; then
4905 if test x"$enablestring" = xdisable; then
4912 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mslu" >&5
4913 echo $ECHO_N "checking
for --${enablestring:-enable}-mslu...
$ECHO_C" >&6; }
4914 # Check whether --enable-mslu was given.
4915 if test "${enable_mslu+set}" = set; then
4916 enableval=$enable_mslu;
4917 if test "$enableval" = yes; then
4918 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4920 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4925 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4930 eval "$wx_cv_use_mslu"
4932 if test x
"$enablestring" = xdisable
; then
4933 if test $wxUSE_UNICODE_MSLU = no
; then
4939 result
=$wxUSE_UNICODE_MSLU
4942 { echo "$as_me:$LINENO: result: $result" >&5
4943 echo "${ECHO_T}$result" >&6; }
4947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4948 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4949 # Check whether --enable-utf8 was given.
4950 if test "${enable_utf8+set}" = set; then
4951 enableval
=$enable_utf8;
4952 wx_cv_use_utf8
="wxUSE_UNICODE_UTF8='$enableval'"
4956 wx_cv_use_utf8
='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4961 eval "$wx_cv_use_utf8"
4963 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4964 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4969 if test -z "$defaultval"; then
4970 if test x
"$enablestring" = xdisable
; then
4977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4978 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4979 # Check whether --enable-utf8only was given.
4980 if test "${enable_utf8only+set}" = set; then
4981 enableval
=$enable_utf8only;
4982 if test "$enableval" = yes; then
4983 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=yes'
4985 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=no'
4990 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4995 eval "$wx_cv_use_utf8only"
4997 if test x"$enablestring" = xdisable; then
4998 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5004 result=$wxUSE_UNICODE_UTF8_LOCALE
5007 { echo "$as_me:$LINENO: result: $result" >&5
5008 echo "${ECHO_T}$result" >&6; }
5013 if test -z "$defaultval"; then
5014 if test x"$enablestring" = xdisable; then
5021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5022 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5023 # Check whether --enable-extended_rtti was given.
5024 if test "${enable_extended_rtti+set}" = set; then
5025 enableval=$enable_extended_rtti;
5026 if test "$enableval" = yes; then
5027 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=yes'
5029 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=no
'
5034 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5039 eval "$wx_cv_use_extended_rtti"
5041 if test x"$enablestring" = xdisable; then
5042 if test $wxUSE_EXTENDED_RTTI = no; then
5048 result=$wxUSE_EXTENDED_RTTI
5051 { echo "$as_me:$LINENO: result
: $result" >&5
5052 echo "${ECHO_T}$result" >&6; }
5054 if test "$USE_OS2" = 1; then
5055 DEFAULT_wxUSE_OMF=no
5059 if test -z "$defaultval"; then
5060 if test x"$enablestring" = xdisable; then
5067 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-omf" >&5
5068 echo $ECHO_N "checking
for --${enablestring:-enable}-omf...
$ECHO_C" >&6; }
5069 # Check whether --enable-omf was given.
5070 if test "${enable_omf+set}" = set; then
5071 enableval=$enable_omf;
5072 if test "$enableval" = yes; then
5073 wx_cv_use_omf='wxUSE_OMF=yes'
5075 wx_cv_use_omf='wxUSE_OMF=no'
5080 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5085 eval "$wx_cv_use_omf"
5087 if test x
"$enablestring" = xdisable
; then
5088 if test $wxUSE_OMF = no
; then
5097 { echo "$as_me:$LINENO: result: $result" >&5
5098 echo "${ECHO_T}$result" >&6; }
5103 enablestring
=disable
5105 if test -z "$defaultval"; then
5106 if test x
"$enablestring" = xdisable
; then
5113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5114 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5115 # Check whether --enable-optimise was given.
5116 if test "${enable_optimise+set}" = set; then
5117 enableval
=$enable_optimise;
5118 if test "$enableval" = yes; then
5119 wx_cv_use_optimise
='wxUSE_OPTIMISE=yes'
5121 wx_cv_use_optimise
='wxUSE_OPTIMISE=no'
5126 wx_cv_use_optimise
='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5131 eval "$wx_cv_use_optimise"
5133 if test x"$enablestring" = xdisable; then
5134 if test $wxUSE_OPTIMISE = no; then
5140 result=$wxUSE_OPTIMISE
5143 { echo "$as_me:$LINENO: result: $result" >&5
5144 echo "${ECHO_T}$result" >&6; }
5150 if test -z "$defaultval"; then
5151 if test x"$enablestring" = xdisable; then
5158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5159 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5160 # Check whether --enable-profile was given.
5161 if test "${enable_profile+set}" = set; then
5162 enableval=$enable_profile;
5163 if test "$enableval" = yes; then
5164 wx_cv_use_profile='wxUSE_PROFILE
=yes'
5166 wx_cv_use_profile='wxUSE_PROFILE
=no
'
5171 wx_cv_use_profile='wxUSE_PROFILE
=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5176 eval "$wx_cv_use_profile"
5178 if test x"$enablestring" = xdisable; then
5179 if test $wxUSE_PROFILE = no; then
5185 result=$wxUSE_PROFILE
5188 { echo "$as_me:$LINENO: result
: $result" >&5
5189 echo "${ECHO_T}$result" >&6; }
5194 if test -z "$defaultval"; then
5195 if test x"$enablestring" = xdisable; then
5202 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_rtti" >&5
5203 echo $ECHO_N "checking
for --${enablestring:-enable}-no_rtti...
$ECHO_C" >&6; }
5204 # Check whether --enable-no_rtti was given.
5205 if test "${enable_no_rtti+set}" = set; then
5206 enableval=$enable_no_rtti;
5207 if test "$enableval" = yes; then
5208 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5210 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5215 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5220 eval "$wx_cv_use_no_rtti"
5222 if test x
"$enablestring" = xdisable
; then
5223 if test $wxUSE_NO_RTTI = no
; then
5229 result
=$wxUSE_NO_RTTI
5232 { echo "$as_me:$LINENO: result: $result" >&5
5233 echo "${ECHO_T}$result" >&6; }
5238 if test -z "$defaultval"; then
5239 if test x
"$enablestring" = xdisable
; then
5246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5247 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5248 # Check whether --enable-no_exceptions was given.
5249 if test "${enable_no_exceptions+set}" = set; then
5250 enableval
=$enable_no_exceptions;
5251 if test "$enableval" = yes; then
5252 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
5254 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
5259 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5264 eval "$wx_cv_use_no_exceptions"
5266 if test x"$enablestring" = xdisable; then
5267 if test $wxUSE_NO_EXCEPTIONS = no; then
5273 result=$wxUSE_NO_EXCEPTIONS
5276 { echo "$as_me:$LINENO: result: $result" >&5
5277 echo "${ECHO_T}$result" >&6; }
5282 if test -z "$defaultval"; then
5283 if test x"$enablestring" = xdisable; then
5290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5291 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5292 # Check whether --enable-permissive was given.
5293 if test "${enable_permissive+set}" = set; then
5294 enableval=$enable_permissive;
5295 if test "$enableval" = yes; then
5296 wx_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
5298 wx_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
5303 wx_cv_use_permissive='wxUSE_PERMISSIVE
=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5308 eval "$wx_cv_use_permissive"
5310 if test x"$enablestring" = xdisable; then
5311 if test $wxUSE_PERMISSIVE = no; then
5317 result=$wxUSE_PERMISSIVE
5320 { echo "$as_me:$LINENO: result
: $result" >&5
5321 echo "${ECHO_T}$result" >&6; }
5326 if test -z "$defaultval"; then
5327 if test x"$enablestring" = xdisable; then
5334 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_deps" >&5
5335 echo $ECHO_N "checking
for --${enablestring:-enable}-no_deps...
$ECHO_C" >&6; }
5336 # Check whether --enable-no_deps was given.
5337 if test "${enable_no_deps+set}" = set; then
5338 enableval=$enable_no_deps;
5339 if test "$enableval" = yes; then
5340 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5342 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5347 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5352 eval "$wx_cv_use_no_deps"
5354 if test x
"$enablestring" = xdisable
; then
5355 if test $wxUSE_NO_DEPS = no
; then
5361 result
=$wxUSE_NO_DEPS
5364 { echo "$as_me:$LINENO: result: $result" >&5
5365 echo "${ECHO_T}$result" >&6; }
5368 enablestring
=disable
5370 if test -z "$defaultval"; then
5371 if test x
"$enablestring" = xdisable
; then
5378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5379 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5380 # Check whether --enable-vararg_macros was given.
5381 if test "${enable_vararg_macros+set}" = set; then
5382 enableval
=$enable_vararg_macros;
5383 if test "$enableval" = yes; then
5384 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=yes'
5386 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=no'
5391 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5396 eval "$wx_cv_use_vararg_macros"
5398 if test x"$enablestring" = xdisable; then
5399 if test $wxUSE_VARARG_MACROS = no; then
5405 result=$wxUSE_VARARG_MACROS
5408 { echo "$as_me:$LINENO: result: $result" >&5
5409 echo "${ECHO_T}$result" >&6; }
5413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5414 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5415 # Check whether --enable-universal_binary was given.
5416 if test "${enable_universal_binary+set}" = set; then
5417 enableval=$enable_universal_binary;
5418 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5422 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5427 eval "$wx_cv_use_universal_binary"
5429 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5430 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5436 if test -z "$defaultval"; then
5437 if test x"$enablestring" = xdisable; then
5444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5445 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5446 # Check whether --enable-compat26 was given.
5447 if test "${enable_compat26+set}" = set; then
5448 enableval=$enable_compat26;
5449 if test "$enableval" = yes; then
5450 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
5452 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
5457 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5462 eval "$wx_cv_use_compat26"
5464 if test x"$enablestring" = xdisable; then
5465 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5471 result=$WXWIN_COMPATIBILITY_2_6
5474 { echo "$as_me:$LINENO: result
: $result" >&5
5475 echo "${ECHO_T}$result" >&6; }
5478 enablestring=disable
5480 if test -z "$defaultval"; then
5481 if test x"$enablestring" = xdisable; then
5488 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat28" >&5
5489 echo $ECHO_N "checking
for --${enablestring:-enable}-compat28...
$ECHO_C" >&6; }
5490 # Check whether --enable-compat28 was given.
5491 if test "${enable_compat28+set}" = set; then
5492 enableval=$enable_compat28;
5493 if test "$enableval" = yes; then
5494 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5496 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5501 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5506 eval "$wx_cv_use_compat28"
5508 if test x
"$enablestring" = xdisable
; then
5509 if test $WXWIN_COMPATIBILITY_2_8 = no
; then
5515 result
=$WXWIN_COMPATIBILITY_2_8
5518 { echo "$as_me:$LINENO: result: $result" >&5
5519 echo "${ECHO_T}$result" >&6; }
5523 enablestring
=disable
5525 if test -z "$defaultval"; then
5526 if test x
"$enablestring" = xdisable
; then
5533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5534 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5535 # Check whether --enable-rpath was given.
5536 if test "${enable_rpath+set}" = set; then
5537 enableval
=$enable_rpath;
5538 if test "$enableval" = yes; then
5539 wx_cv_use_rpath
='wxUSE_RPATH=yes'
5541 wx_cv_use_rpath
='wxUSE_RPATH=no'
5546 wx_cv_use_rpath
='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5551 eval "$wx_cv_use_rpath"
5553 if test x"$enablestring" = xdisable; then
5554 if test $wxUSE_RPATH = no; then
5563 { echo "$as_me:$LINENO: result: $result" >&5
5564 echo "${ECHO_T}$result" >&6; }
5570 if test -z "$defaultval"; then
5571 if test x"$enablestring" = xdisable; then
5578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5579 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5580 # Check whether --enable-objc_uniquifying was given.
5581 if test "${enable_objc_uniquifying+set}" = set; then
5582 enableval=$enable_objc_uniquifying;
5583 if test "$enableval" = yes; then
5584 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=yes'
5586 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=no
'
5591 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5596 eval "$wx_cv_use_objc_uniquifying"
5598 if test x"$enablestring" = xdisable; then
5599 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5605 result=$wxUSE_OBJC_UNIQUIFYING
5608 { echo "$as_me:$LINENO: result
: $result" >&5
5609 echo "${ECHO_T}$result" >&6; }
5613 enablestring=disable
5615 if test -z "$defaultval"; then
5616 if test x"$enablestring" = xdisable; then
5623 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-visibility" >&5
5624 echo $ECHO_N "checking
for --${enablestring:-enable}-visibility...
$ECHO_C" >&6; }
5625 # Check whether --enable-visibility was given.
5626 if test "${enable_visibility+set}" = set; then
5627 enableval=$enable_visibility;
5628 if test "$enableval" = yes; then
5629 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5631 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5636 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5641 eval "$wx_cv_use_visibility"
5643 if test x
"$enablestring" = xdisable
; then
5644 if test $wxUSE_VISIBILITY = no
; then
5650 result
=$wxUSE_VISIBILITY
5653 { echo "$as_me:$LINENO: result: $result" >&5
5654 echo "${ECHO_T}$result" >&6; }
5657 enablestring
=disable
5659 if test -z "$defaultval"; then
5660 if test x
"$enablestring" = xdisable
; then
5667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5668 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5669 # Check whether --enable-tls was given.
5670 if test "${enable_tls+set}" = set; then
5671 enableval
=$enable_tls;
5672 if test "$enableval" = yes; then
5673 wx_cv_use_tls
='wxUSE_COMPILER_TLS=yes'
5675 wx_cv_use_tls
='wxUSE_COMPILER_TLS=no'
5680 wx_cv_use_tls
='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5685 eval "$wx_cv_use_tls"
5687 if test x"$enablestring" = xdisable; then
5688 if test $wxUSE_COMPILER_TLS = no; then
5694 result=$wxUSE_COMPILER_TLS
5697 { echo "$as_me:$LINENO: result: $result" >&5
5698 echo "${ECHO_T}$result" >&6; }
5704 defaultval=$wxUSE_ALL_FEATURES
5705 if test -z "$defaultval"; then
5706 if test x"$enablestring" = xdisable; then
5713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5714 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5715 # Check whether --enable-intl was given.
5716 if test "${enable_intl+set}" = set; then
5717 enableval=$enable_intl;
5718 if test "$enableval" = yes; then
5719 wx_cv_use_intl='wxUSE_INTL
=yes'
5721 wx_cv_use_intl='wxUSE_INTL
=no
'
5726 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5731 eval "$wx_cv_use_intl"
5733 if test x"$enablestring" = xdisable; then
5734 if test $wxUSE_INTL = no; then
5743 { echo "$as_me:$LINENO: result
: $result" >&5
5744 echo "${ECHO_T}$result" >&6; }
5748 defaultval=$wxUSE_ALL_FEATURES
5749 if test -z "$defaultval"; then
5750 if test x"$enablestring" = xdisable; then
5757 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xlocale" >&5
5758 echo $ECHO_N "checking
for --${enablestring:-enable}-xlocale...
$ECHO_C" >&6; }
5759 # Check whether --enable-xlocale was given.
5760 if test "${enable_xlocale+set}" = set; then
5761 enableval=$enable_xlocale;
5762 if test "$enableval" = yes; then
5763 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5765 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5770 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5775 eval "$wx_cv_use_xlocale"
5777 if test x
"$enablestring" = xdisable
; then
5778 if test $wxUSE_XLOCALE = no
; then
5784 result
=$wxUSE_XLOCALE
5787 { echo "$as_me:$LINENO: result: $result" >&5
5788 echo "${ECHO_T}$result" >&6; }
5792 defaultval
=$wxUSE_ALL_FEATURES
5793 if test -z "$defaultval"; then
5794 if test x
"$enablestring" = xdisable
; then
5801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5802 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5803 # Check whether --enable-config was given.
5804 if test "${enable_config+set}" = set; then
5805 enableval
=$enable_config;
5806 if test "$enableval" = yes; then
5807 wx_cv_use_config
='wxUSE_CONFIG=yes'
5809 wx_cv_use_config
='wxUSE_CONFIG=no'
5814 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5819 eval "$wx_cv_use_config"
5821 if test x"$enablestring" = xdisable; then
5822 if test $wxUSE_CONFIG = no; then
5828 result=$wxUSE_CONFIG
5831 { echo "$as_me:$LINENO: result: $result" >&5
5832 echo "${ECHO_T}$result" >&6; }
5837 defaultval=$wxUSE_ALL_FEATURES
5838 if test -z "$defaultval"; then
5839 if test x"$enablestring" = xdisable; then
5846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5847 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5848 # Check whether --enable-protocols was given.
5849 if test "${enable_protocols+set}" = set; then
5850 enableval=$enable_protocols;
5851 if test "$enableval" = yes; then
5852 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
5854 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
5859 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5864 eval "$wx_cv_use_protocols"
5866 if test x"$enablestring" = xdisable; then
5867 if test $wxUSE_PROTOCOL = no; then
5873 result=$wxUSE_PROTOCOL
5876 { echo "$as_me:$LINENO: result
: $result" >&5
5877 echo "${ECHO_T}$result" >&6; }
5881 defaultval=$wxUSE_ALL_FEATURES
5882 if test -z "$defaultval"; then
5883 if test x"$enablestring" = xdisable; then
5890 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ftp" >&5
5891 echo $ECHO_N "checking
for --${enablestring:-enable}-ftp...
$ECHO_C" >&6; }
5892 # Check whether --enable-ftp was given.
5893 if test "${enable_ftp+set}" = set; then
5894 enableval=$enable_ftp;
5895 if test "$enableval" = yes; then
5896 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5898 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5903 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5908 eval "$wx_cv_use_ftp"
5910 if test x
"$enablestring" = xdisable
; then
5911 if test $wxUSE_PROTOCOL_FTP = no
; then
5917 result
=$wxUSE_PROTOCOL_FTP
5920 { echo "$as_me:$LINENO: result: $result" >&5
5921 echo "${ECHO_T}$result" >&6; }
5925 defaultval
=$wxUSE_ALL_FEATURES
5926 if test -z "$defaultval"; then
5927 if test x
"$enablestring" = xdisable
; then
5934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5935 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5936 # Check whether --enable-http was given.
5937 if test "${enable_http+set}" = set; then
5938 enableval
=$enable_http;
5939 if test "$enableval" = yes; then
5940 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
5942 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
5947 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5952 eval "$wx_cv_use_http"
5954 if test x"$enablestring" = xdisable; then
5955 if test $wxUSE_PROTOCOL_HTTP = no; then
5961 result=$wxUSE_PROTOCOL_HTTP
5964 { echo "$as_me:$LINENO: result: $result" >&5
5965 echo "${ECHO_T}$result" >&6; }
5969 defaultval=$wxUSE_ALL_FEATURES
5970 if test -z "$defaultval"; then
5971 if test x"$enablestring" = xdisable; then
5978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5979 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5980 # Check whether --enable-fileproto was given.
5981 if test "${enable_fileproto+set}" = set; then
5982 enableval=$enable_fileproto;
5983 if test "$enableval" = yes; then
5984 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
5986 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
5991 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5996 eval "$wx_cv_use_fileproto"
5998 if test x"$enablestring" = xdisable; then
5999 if test $wxUSE_PROTOCOL_FILE = no; then
6005 result=$wxUSE_PROTOCOL_FILE
6008 { echo "$as_me:$LINENO: result
: $result" >&5
6009 echo "${ECHO_T}$result" >&6; }
6013 defaultval=$wxUSE_ALL_FEATURES
6014 if test -z "$defaultval"; then
6015 if test x"$enablestring" = xdisable; then
6022 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sockets" >&5
6023 echo $ECHO_N "checking
for --${enablestring:-enable}-sockets...
$ECHO_C" >&6; }
6024 # Check whether --enable-sockets was given.
6025 if test "${enable_sockets+set}" = set; then
6026 enableval=$enable_sockets;
6027 if test "$enableval" = yes; then
6028 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6030 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6035 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6040 eval "$wx_cv_use_sockets"
6042 if test x
"$enablestring" = xdisable
; then
6043 if test $wxUSE_SOCKETS = no
; then
6049 result
=$wxUSE_SOCKETS
6052 { echo "$as_me:$LINENO: result: $result" >&5
6053 echo "${ECHO_T}$result" >&6; }
6057 defaultval
=$wxUSE_ALL_FEATURES
6058 if test -z "$defaultval"; then
6059 if test x
"$enablestring" = xdisable
; then
6066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6067 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6068 # Check whether --enable-ipv6 was given.
6069 if test "${enable_ipv6+set}" = set; then
6070 enableval
=$enable_ipv6;
6071 if test "$enableval" = yes; then
6072 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
6074 wx_cv_use_ipv6
='wxUSE_IPV6=no'
6079 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6084 eval "$wx_cv_use_ipv6"
6086 if test x"$enablestring" = xdisable; then
6087 if test $wxUSE_IPV6 = no; then
6096 { echo "$as_me:$LINENO: result: $result" >&5
6097 echo "${ECHO_T}$result" >&6; }
6101 defaultval=$wxUSE_ALL_FEATURES
6102 if test -z "$defaultval"; then
6103 if test x"$enablestring" = xdisable; then
6110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6111 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6112 # Check whether --enable-ole was given.
6113 if test "${enable_ole+set}" = set; then
6114 enableval=$enable_ole;
6115 if test "$enableval" = yes; then
6116 wx_cv_use_ole='wxUSE_OLE
=yes'
6118 wx_cv_use_ole='wxUSE_OLE
=no
'
6123 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6128 eval "$wx_cv_use_ole"
6130 if test x"$enablestring" = xdisable; then
6131 if test $wxUSE_OLE = no; then
6140 { echo "$as_me:$LINENO: result
: $result" >&5
6141 echo "${ECHO_T}$result" >&6; }
6145 defaultval=$wxUSE_ALL_FEATURES
6146 if test -z "$defaultval"; then
6147 if test x"$enablestring" = xdisable; then
6154 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6155 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6156 # Check whether --enable-dataobj was given.
6157 if test "${enable_dataobj+set}" = set; then
6158 enableval=$enable_dataobj;
6159 if test "$enableval" = yes; then
6160 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6162 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6167 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6172 eval "$wx_cv_use_dataobj"
6174 if test x
"$enablestring" = xdisable
; then
6175 if test $wxUSE_DATAOBJ = no
; then
6181 result
=$wxUSE_DATAOBJ
6184 { echo "$as_me:$LINENO: result: $result" >&5
6185 echo "${ECHO_T}$result" >&6; }
6190 defaultval
=$wxUSE_ALL_FEATURES
6191 if test -z "$defaultval"; then
6192 if test x
"$enablestring" = xdisable
; then
6199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6200 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6201 # Check whether --enable-ipc was given.
6202 if test "${enable_ipc+set}" = set; then
6203 enableval
=$enable_ipc;
6204 if test "$enableval" = yes; then
6205 wx_cv_use_ipc
='wxUSE_IPC=yes'
6207 wx_cv_use_ipc
='wxUSE_IPC=no'
6212 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6217 eval "$wx_cv_use_ipc"
6219 if test x"$enablestring" = xdisable; then
6220 if test $wxUSE_IPC = no; then
6229 { echo "$as_me:$LINENO: result: $result" >&5
6230 echo "${ECHO_T}$result" >&6; }
6235 defaultval=$wxUSE_ALL_FEATURES
6236 if test -z "$defaultval"; then
6237 if test x"$enablestring" = xdisable; then
6244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6245 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6246 # Check whether --enable-baseevtloop was given.
6247 if test "${enable_baseevtloop+set}" = set; then
6248 enableval=$enable_baseevtloop;
6249 if test "$enableval" = yes; then
6250 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6252 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6257 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6262 eval "$wx_cv_use_baseevtloop"
6264 if test x"$enablestring" = xdisable; then
6265 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6271 result=$wxUSE_CONSOLE_EVENTLOOP
6274 { echo "$as_me:$LINENO: result
: $result" >&5
6275 echo "${ECHO_T}$result" >&6; }
6279 defaultval=$wxUSE_ALL_FEATURES
6280 if test -z "$defaultval"; then
6281 if test x"$enablestring" = xdisable; then
6288 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6289 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6290 # Check whether --enable-epollloop was given.
6291 if test "${enable_epollloop+set}" = set; then
6292 enableval=$enable_epollloop;
6293 if test "$enableval" = yes; then
6294 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6296 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6301 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6306 eval "$wx_cv_use_epollloop"
6308 if test x
"$enablestring" = xdisable
; then
6309 if test $wxUSE_EPOLL_DISPATCHER = no
; then
6315 result
=$wxUSE_EPOLL_DISPATCHER
6318 { echo "$as_me:$LINENO: result: $result" >&5
6319 echo "${ECHO_T}$result" >&6; }
6323 defaultval
=$wxUSE_ALL_FEATURES
6324 if test -z "$defaultval"; then
6325 if test x
"$enablestring" = xdisable
; then
6332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6333 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6334 # Check whether --enable-selectloop was given.
6335 if test "${enable_selectloop+set}" = set; then
6336 enableval
=$enable_selectloop;
6337 if test "$enableval" = yes; then
6338 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6340 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6345 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6350 eval "$wx_cv_use_selectloop"
6352 if test x"$enablestring" = xdisable; then
6353 if test $wxUSE_SELECT_DISPATCHER = no; then
6359 result=$wxUSE_SELECT_DISPATCHER
6362 { echo "$as_me:$LINENO: result: $result" >&5
6363 echo "${ECHO_T}$result" >&6; }
6368 defaultval=$wxUSE_ALL_FEATURES
6369 if test -z "$defaultval"; then
6370 if test x"$enablestring" = xdisable; then
6377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6378 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6379 # Check whether --enable-any was given.
6380 if test "${enable_any+set}" = set; then
6381 enableval=$enable_any;
6382 if test "$enableval" = yes; then
6383 wx_cv_use_any='wxUSE_ANY
=yes'
6385 wx_cv_use_any='wxUSE_ANY
=no
'
6390 wx_cv_use_any='wxUSE_ANY
=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6395 eval "$wx_cv_use_any"
6397 if test x"$enablestring" = xdisable; then
6398 if test $wxUSE_ANY = no; then
6407 { echo "$as_me:$LINENO: result
: $result" >&5
6408 echo "${ECHO_T}$result" >&6; }
6412 defaultval=$wxUSE_ALL_FEATURES
6413 if test -z "$defaultval"; then
6414 if test x"$enablestring" = xdisable; then
6421 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-apple_ieee" >&5
6422 echo $ECHO_N "checking
for --${enablestring:-enable}-apple_ieee...
$ECHO_C" >&6; }
6423 # Check whether --enable-apple_ieee was given.
6424 if test "${enable_apple_ieee+set}" = set; then
6425 enableval=$enable_apple_ieee;
6426 if test "$enableval" = yes; then
6427 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6429 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6434 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6439 eval "$wx_cv_use_apple_ieee"
6441 if test x
"$enablestring" = xdisable
; then
6442 if test $wxUSE_APPLE_IEEE = no
; then
6448 result
=$wxUSE_APPLE_IEEE
6451 { echo "$as_me:$LINENO: result: $result" >&5
6452 echo "${ECHO_T}$result" >&6; }
6456 defaultval
=$wxUSE_ALL_FEATURES
6457 if test -z "$defaultval"; then
6458 if test x
"$enablestring" = xdisable
; then
6465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6466 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6467 # Check whether --enable-arcstream was given.
6468 if test "${enable_arcstream+set}" = set; then
6469 enableval
=$enable_arcstream;
6470 if test "$enableval" = yes; then
6471 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
6473 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
6478 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6483 eval "$wx_cv_use_arcstream"
6485 if test x"$enablestring" = xdisable; then
6486 if test $wxUSE_ARCHIVE_STREAMS = no; then
6492 result=$wxUSE_ARCHIVE_STREAMS
6495 { echo "$as_me:$LINENO: result: $result" >&5
6496 echo "${ECHO_T}$result" >&6; }
6500 defaultval=$wxUSE_ALL_FEATURES
6501 if test -z "$defaultval"; then
6502 if test x"$enablestring" = xdisable; then
6509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6510 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6511 # Check whether --enable-base64 was given.
6512 if test "${enable_base64+set}" = set; then
6513 enableval=$enable_base64;
6514 if test "$enableval" = yes; then
6515 wx_cv_use_base64='wxUSE_BASE64
=yes'
6517 wx_cv_use_base64='wxUSE_BASE64
=no
'
6522 wx_cv_use_base64='wxUSE_BASE64
=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6527 eval "$wx_cv_use_base64"
6529 if test x"$enablestring" = xdisable; then
6530 if test $wxUSE_BASE64 = no; then
6536 result=$wxUSE_BASE64
6539 { echo "$as_me:$LINENO: result
: $result" >&5
6540 echo "${ECHO_T}$result" >&6; }
6544 defaultval=$wxUSE_ALL_FEATURES
6545 if test -z "$defaultval"; then
6546 if test x"$enablestring" = xdisable; then
6553 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-backtrace" >&5
6554 echo $ECHO_N "checking
for --${enablestring:-enable}-backtrace...
$ECHO_C" >&6; }
6555 # Check whether --enable-backtrace was given.
6556 if test "${enable_backtrace+set}" = set; then
6557 enableval=$enable_backtrace;
6558 if test "$enableval" = yes; then
6559 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6561 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6566 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6571 eval "$wx_cv_use_backtrace"
6573 if test x
"$enablestring" = xdisable
; then
6574 if test $wxUSE_STACKWALKER = no
; then
6580 result
=$wxUSE_STACKWALKER
6583 { echo "$as_me:$LINENO: result: $result" >&5
6584 echo "${ECHO_T}$result" >&6; }
6588 defaultval
=$wxUSE_ALL_FEATURES
6589 if test -z "$defaultval"; then
6590 if test x
"$enablestring" = xdisable
; then
6597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6598 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6599 # Check whether --enable-catch_segvs was given.
6600 if test "${enable_catch_segvs+set}" = set; then
6601 enableval
=$enable_catch_segvs;
6602 if test "$enableval" = yes; then
6603 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
6605 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
6610 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6615 eval "$wx_cv_use_catch_segvs"
6617 if test x"$enablestring" = xdisable; then
6618 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6624 result=$wxUSE_ON_FATAL_EXCEPTION
6627 { echo "$as_me:$LINENO: result: $result" >&5
6628 echo "${ECHO_T}$result" >&6; }
6632 defaultval=$wxUSE_ALL_FEATURES
6633 if test -z "$defaultval"; then
6634 if test x"$enablestring" = xdisable; then
6641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6642 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6643 # Check whether --enable-cmdline was given.
6644 if test "${enable_cmdline+set}" = set; then
6645 enableval=$enable_cmdline;
6646 if test "$enableval" = yes; then
6647 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
6649 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
6654 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6659 eval "$wx_cv_use_cmdline"
6661 if test x"$enablestring" = xdisable; then
6662 if test $wxUSE_CMDLINE_PARSER = no; then
6668 result=$wxUSE_CMDLINE_PARSER
6671 { echo "$as_me:$LINENO: result
: $result" >&5
6672 echo "${ECHO_T}$result" >&6; }
6676 defaultval=$wxUSE_ALL_FEATURES
6677 if test -z "$defaultval"; then
6678 if test x"$enablestring" = xdisable; then
6685 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datetime" >&5
6686 echo $ECHO_N "checking
for --${enablestring:-enable}-datetime...
$ECHO_C" >&6; }
6687 # Check whether --enable-datetime was given.
6688 if test "${enable_datetime+set}" = set; then
6689 enableval=$enable_datetime;
6690 if test "$enableval" = yes; then
6691 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6693 wx_cv_use_datetime='wxUSE_DATETIME=no'
6698 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6703 eval "$wx_cv_use_datetime"
6705 if test x
"$enablestring" = xdisable
; then
6706 if test $wxUSE_DATETIME = no
; then
6712 result
=$wxUSE_DATETIME
6715 { echo "$as_me:$LINENO: result: $result" >&5
6716 echo "${ECHO_T}$result" >&6; }
6720 defaultval
=$wxUSE_ALL_FEATURES
6721 if test -z "$defaultval"; then
6722 if test x
"$enablestring" = xdisable
; then
6729 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6730 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6731 # Check whether --enable-debugreport was given.
6732 if test "${enable_debugreport+set}" = set; then
6733 enableval
=$enable_debugreport;
6734 if test "$enableval" = yes; then
6735 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
6737 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
6742 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6747 eval "$wx_cv_use_debugreport"
6749 if test x"$enablestring" = xdisable; then
6750 if test $wxUSE_DEBUGREPORT = no; then
6756 result=$wxUSE_DEBUGREPORT
6759 { echo "$as_me:$LINENO: result: $result" >&5
6760 echo "${ECHO_T}$result" >&6; }
6764 defaultval=$wxUSE_ALL_FEATURES
6765 if test -z "$defaultval"; then
6766 if test x"$enablestring" = xdisable; then
6773 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6774 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6775 # Check whether --enable-dialupman was given.
6776 if test "${enable_dialupman+set}" = set; then
6777 enableval=$enable_dialupman;
6778 if test "$enableval" = yes; then
6779 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
6781 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
6786 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6791 eval "$wx_cv_use_dialupman"
6793 if test x"$enablestring" = xdisable; then
6794 if test $wxUSE_DIALUP_MANAGER = no; then
6800 result=$wxUSE_DIALUP_MANAGER
6803 { echo "$as_me:$LINENO: result
: $result" >&5
6804 echo "${ECHO_T}$result" >&6; }
6808 defaultval=$wxUSE_ALL_FEATURES
6809 if test -z "$defaultval"; then
6810 if test x"$enablestring" = xdisable; then
6817 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynlib" >&5
6818 echo $ECHO_N "checking
for --${enablestring:-enable}-dynlib...
$ECHO_C" >&6; }
6819 # Check whether --enable-dynlib was given.
6820 if test "${enable_dynlib+set}" = set; then
6821 enableval=$enable_dynlib;
6822 if test "$enableval" = yes; then
6823 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6825 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6830 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6835 eval "$wx_cv_use_dynlib"
6837 if test x
"$enablestring" = xdisable
; then
6838 if test $wxUSE_DYNLIB_CLASS = no
; then
6844 result
=$wxUSE_DYNLIB_CLASS
6847 { echo "$as_me:$LINENO: result: $result" >&5
6848 echo "${ECHO_T}$result" >&6; }
6852 defaultval
=$wxUSE_ALL_FEATURES
6853 if test -z "$defaultval"; then
6854 if test x
"$enablestring" = xdisable
; then
6861 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6862 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6863 # Check whether --enable-dynamicloader was given.
6864 if test "${enable_dynamicloader+set}" = set; then
6865 enableval
=$enable_dynamicloader;
6866 if test "$enableval" = yes; then
6867 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
6869 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
6874 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6879 eval "$wx_cv_use_dynamicloader"
6881 if test x"$enablestring" = xdisable; then
6882 if test $wxUSE_DYNAMIC_LOADER = no; then
6888 result=$wxUSE_DYNAMIC_LOADER
6891 { echo "$as_me:$LINENO: result: $result" >&5
6892 echo "${ECHO_T}$result" >&6; }
6896 defaultval=$wxUSE_ALL_FEATURES
6897 if test -z "$defaultval"; then
6898 if test x"$enablestring" = xdisable; then
6905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6906 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6907 # Check whether --enable-exceptions was given.
6908 if test "${enable_exceptions+set}" = set; then
6909 enableval=$enable_exceptions;
6910 if test "$enableval" = yes; then
6911 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
6913 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
6918 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6923 eval "$wx_cv_use_exceptions"
6925 if test x"$enablestring" = xdisable; then
6926 if test $wxUSE_EXCEPTIONS = no; then
6932 result=$wxUSE_EXCEPTIONS
6935 { echo "$as_me:$LINENO: result
: $result" >&5
6936 echo "${ECHO_T}$result" >&6; }
6940 defaultval=$wxUSE_ALL_FEATURES
6941 if test -z "$defaultval"; then
6942 if test x"$enablestring" = xdisable; then
6949 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ffile" >&5
6950 echo $ECHO_N "checking
for --${enablestring:-enable}-ffile...
$ECHO_C" >&6; }
6951 # Check whether --enable-ffile was given.
6952 if test "${enable_ffile+set}" = set; then
6953 enableval=$enable_ffile;
6954 if test "$enableval" = yes; then
6955 wx_cv_use_ffile='wxUSE_FFILE=yes'
6957 wx_cv_use_ffile='wxUSE_FFILE=no'
6962 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6967 eval "$wx_cv_use_ffile"
6969 if test x
"$enablestring" = xdisable
; then
6970 if test $wxUSE_FFILE = no
; then
6979 { echo "$as_me:$LINENO: result: $result" >&5
6980 echo "${ECHO_T}$result" >&6; }
6984 defaultval
=$wxUSE_ALL_FEATURES
6985 if test -z "$defaultval"; then
6986 if test x
"$enablestring" = xdisable
; then
6993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6994 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6995 # Check whether --enable-file was given.
6996 if test "${enable_file+set}" = set; then
6997 enableval
=$enable_file;
6998 if test "$enableval" = yes; then
6999 wx_cv_use_file
='wxUSE_FILE=yes'
7001 wx_cv_use_file
='wxUSE_FILE=no'
7006 wx_cv_use_file
='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7011 eval "$wx_cv_use_file"
7013 if test x"$enablestring" = xdisable; then
7014 if test $wxUSE_FILE = no; then
7023 { echo "$as_me:$LINENO: result: $result" >&5
7024 echo "${ECHO_T}$result" >&6; }
7028 defaultval=$wxUSE_ALL_FEATURES
7029 if test -z "$defaultval"; then
7030 if test x"$enablestring" = xdisable; then
7037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7038 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7039 # Check whether --enable-filehistory was given.
7040 if test "${enable_filehistory+set}" = set; then
7041 enableval=$enable_filehistory;
7042 if test "$enableval" = yes; then
7043 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=yes'
7045 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=no
'
7050 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7055 eval "$wx_cv_use_filehistory"
7057 if test x"$enablestring" = xdisable; then
7058 if test $wxUSE_FILE_HISTORY = no; then
7064 result=$wxUSE_FILE_HISTORY
7067 { echo "$as_me:$LINENO: result
: $result" >&5
7068 echo "${ECHO_T}$result" >&6; }
7072 defaultval=$wxUSE_ALL_FEATURES
7073 if test -z "$defaultval"; then
7074 if test x"$enablestring" = xdisable; then
7081 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filesystem" >&5
7082 echo $ECHO_N "checking
for --${enablestring:-enable}-filesystem...
$ECHO_C" >&6; }
7083 # Check whether --enable-filesystem was given.
7084 if test "${enable_filesystem+set}" = set; then
7085 enableval=$enable_filesystem;
7086 if test "$enableval" = yes; then
7087 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7089 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7094 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7099 eval "$wx_cv_use_filesystem"
7101 if test x
"$enablestring" = xdisable
; then
7102 if test $wxUSE_FILESYSTEM = no
; then
7108 result
=$wxUSE_FILESYSTEM
7111 { echo "$as_me:$LINENO: result: $result" >&5
7112 echo "${ECHO_T}$result" >&6; }
7116 defaultval
=$wxUSE_ALL_FEATURES
7117 if test -z "$defaultval"; then
7118 if test x
"$enablestring" = xdisable
; then
7125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7126 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7127 # Check whether --enable-fontenum was given.
7128 if test "${enable_fontenum+set}" = set; then
7129 enableval
=$enable_fontenum;
7130 if test "$enableval" = yes; then
7131 wx_cv_use_fontenum
='wxUSE_FONTENUM=yes'
7133 wx_cv_use_fontenum
='wxUSE_FONTENUM=no'
7138 wx_cv_use_fontenum
='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7143 eval "$wx_cv_use_fontenum"
7145 if test x"$enablestring" = xdisable; then
7146 if test $wxUSE_FONTENUM = no; then
7152 result=$wxUSE_FONTENUM
7155 { echo "$as_me:$LINENO: result: $result" >&5
7156 echo "${ECHO_T}$result" >&6; }
7160 defaultval=$wxUSE_ALL_FEATURES
7161 if test -z "$defaultval"; then
7162 if test x"$enablestring" = xdisable; then
7169 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7170 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7171 # Check whether --enable-fontmap was given.
7172 if test "${enable_fontmap+set}" = set; then
7173 enableval=$enable_fontmap;
7174 if test "$enableval" = yes; then
7175 wx_cv_use_fontmap='wxUSE_FONTMAP
=yes'
7177 wx_cv_use_fontmap='wxUSE_FONTMAP
=no
'
7182 wx_cv_use_fontmap='wxUSE_FONTMAP
=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7187 eval "$wx_cv_use_fontmap"
7189 if test x"$enablestring" = xdisable; then
7190 if test $wxUSE_FONTMAP = no; then
7196 result=$wxUSE_FONTMAP
7199 { echo "$as_me:$LINENO: result
: $result" >&5
7200 echo "${ECHO_T}$result" >&6; }
7204 defaultval=$wxUSE_ALL_FEATURES
7205 if test -z "$defaultval"; then
7206 if test x"$enablestring" = xdisable; then
7213 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_archive" >&5
7214 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_archive...
$ECHO_C" >&6; }
7215 # Check whether --enable-fs_archive was given.
7216 if test "${enable_fs_archive+set}" = set; then
7217 enableval=$enable_fs_archive;
7218 if test "$enableval" = yes; then
7219 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7221 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7226 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7231 eval "$wx_cv_use_fs_archive"
7233 if test x
"$enablestring" = xdisable
; then
7234 if test $wxUSE_FS_ARCHIVE = no
; then
7240 result
=$wxUSE_FS_ARCHIVE
7243 { echo "$as_me:$LINENO: result: $result" >&5
7244 echo "${ECHO_T}$result" >&6; }
7248 defaultval
=$wxUSE_ALL_FEATURES
7249 if test -z "$defaultval"; then
7250 if test x
"$enablestring" = xdisable
; then
7257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7258 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7259 # Check whether --enable-fs_inet was given.
7260 if test "${enable_fs_inet+set}" = set; then
7261 enableval
=$enable_fs_inet;
7262 if test "$enableval" = yes; then
7263 wx_cv_use_fs_inet
='wxUSE_FS_INET=yes'
7265 wx_cv_use_fs_inet
='wxUSE_FS_INET=no'
7270 wx_cv_use_fs_inet
='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7275 eval "$wx_cv_use_fs_inet"
7277 if test x"$enablestring" = xdisable; then
7278 if test $wxUSE_FS_INET = no; then
7284 result=$wxUSE_FS_INET
7287 { echo "$as_me:$LINENO: result: $result" >&5
7288 echo "${ECHO_T}$result" >&6; }
7292 defaultval=$wxUSE_ALL_FEATURES
7293 if test -z "$defaultval"; then
7294 if test x"$enablestring" = xdisable; then
7301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7302 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7303 # Check whether --enable-fs_zip was given.
7304 if test "${enable_fs_zip+set}" = set; then
7305 enableval=$enable_fs_zip;
7306 if test "$enableval" = yes; then
7307 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
7309 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
7314 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7319 eval "$wx_cv_use_fs_zip"
7321 if test x"$enablestring" = xdisable; then
7322 if test $wxUSE_FS_ZIP = no; then
7328 result=$wxUSE_FS_ZIP
7331 { echo "$as_me:$LINENO: result
: $result" >&5
7332 echo "${ECHO_T}$result" >&6; }
7336 defaultval=$wxUSE_ALL_FEATURES
7337 if test -z "$defaultval"; then
7338 if test x"$enablestring" = xdisable; then
7345 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fswatcher" >&5
7346 echo $ECHO_N "checking
for --${enablestring:-enable}-fswatcher...
$ECHO_C" >&6; }
7347 # Check whether --enable-fswatcher was given.
7348 if test "${enable_fswatcher+set}" = set; then
7349 enableval=$enable_fswatcher;
7350 if test "$enableval" = yes; then
7351 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7353 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7358 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7363 eval "$wx_cv_use_fswatcher"
7365 if test x
"$enablestring" = xdisable
; then
7366 if test $wxUSE_FSWATCHER = no
; then
7372 result
=$wxUSE_FSWATCHER
7375 { echo "$as_me:$LINENO: result: $result" >&5
7376 echo "${ECHO_T}$result" >&6; }
7380 defaultval
=$wxUSE_ALL_FEATURES
7381 if test -z "$defaultval"; then
7382 if test x
"$enablestring" = xdisable
; then
7389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7390 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7391 # Check whether --enable-geometry was given.
7392 if test "${enable_geometry+set}" = set; then
7393 enableval
=$enable_geometry;
7394 if test "$enableval" = yes; then
7395 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
7397 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
7402 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7407 eval "$wx_cv_use_geometry"
7409 if test x"$enablestring" = xdisable; then
7410 if test $wxUSE_GEOMETRY = no; then
7416 result=$wxUSE_GEOMETRY
7419 { echo "$as_me:$LINENO: result: $result" >&5
7420 echo "${ECHO_T}$result" >&6; }
7424 defaultval=$wxUSE_ALL_FEATURES
7425 if test -z "$defaultval"; then
7426 if test x"$enablestring" = xdisable; then
7433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7434 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7435 # Check whether --enable-log was given.
7436 if test "${enable_log+set}" = set; then
7437 enableval=$enable_log;
7438 if test "$enableval" = yes; then
7439 wx_cv_use_log='wxUSE_LOG
=yes'
7441 wx_cv_use_log='wxUSE_LOG
=no
'
7446 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7451 eval "$wx_cv_use_log"
7453 if test x"$enablestring" = xdisable; then
7454 if test $wxUSE_LOG = no; then
7463 { echo "$as_me:$LINENO: result
: $result" >&5
7464 echo "${ECHO_T}$result" >&6; }
7468 defaultval=$wxUSE_ALL_FEATURES
7469 if test -z "$defaultval"; then
7470 if test x"$enablestring" = xdisable; then
7477 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-longlong" >&5
7478 echo $ECHO_N "checking
for --${enablestring:-enable}-longlong...
$ECHO_C" >&6; }
7479 # Check whether --enable-longlong was given.
7480 if test "${enable_longlong+set}" = set; then
7481 enableval=$enable_longlong;
7482 if test "$enableval" = yes; then
7483 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7485 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7490 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7495 eval "$wx_cv_use_longlong"
7497 if test x
"$enablestring" = xdisable
; then
7498 if test $wxUSE_LONGLONG = no
; then
7504 result
=$wxUSE_LONGLONG
7507 { echo "$as_me:$LINENO: result: $result" >&5
7508 echo "${ECHO_T}$result" >&6; }
7512 defaultval
=$wxUSE_ALL_FEATURES
7513 if test -z "$defaultval"; then
7514 if test x
"$enablestring" = xdisable
; then
7521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7522 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7523 # Check whether --enable-mimetype was given.
7524 if test "${enable_mimetype+set}" = set; then
7525 enableval
=$enable_mimetype;
7526 if test "$enableval" = yes; then
7527 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
7529 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
7534 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7539 eval "$wx_cv_use_mimetype"
7541 if test x"$enablestring" = xdisable; then
7542 if test $wxUSE_MIMETYPE = no; then
7548 result=$wxUSE_MIMETYPE
7551 { echo "$as_me:$LINENO: result: $result" >&5
7552 echo "${ECHO_T}$result" >&6; }
7556 defaultval=$wxUSE_ALL_FEATURES
7557 if test -z "$defaultval"; then
7558 if test x"$enablestring" = xdisable; then
7565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7566 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7567 # Check whether --enable-printfposparam was given.
7568 if test "${enable_printfposparam+set}" = set; then
7569 enableval=$enable_printfposparam;
7570 if test "$enableval" = yes; then
7571 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
7573 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
7578 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7583 eval "$wx_cv_use_printfposparam"
7585 if test x"$enablestring" = xdisable; then
7586 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7592 result=$wxUSE_PRINTF_POS_PARAMS
7595 { echo "$as_me:$LINENO: result
: $result" >&5
7596 echo "${ECHO_T}$result" >&6; }
7600 defaultval=$wxUSE_ALL_FEATURES
7601 if test -z "$defaultval"; then
7602 if test x"$enablestring" = xdisable; then
7609 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-snglinst" >&5
7610 echo $ECHO_N "checking
for --${enablestring:-enable}-snglinst...
$ECHO_C" >&6; }
7611 # Check whether --enable-snglinst was given.
7612 if test "${enable_snglinst+set}" = set; then
7613 enableval=$enable_snglinst;
7614 if test "$enableval" = yes; then
7615 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7617 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7622 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7627 eval "$wx_cv_use_snglinst"
7629 if test x
"$enablestring" = xdisable
; then
7630 if test $wxUSE_SNGLINST_CHECKER = no
; then
7636 result
=$wxUSE_SNGLINST_CHECKER
7639 { echo "$as_me:$LINENO: result: $result" >&5
7640 echo "${ECHO_T}$result" >&6; }
7644 defaultval
=$wxUSE_ALL_FEATURES
7645 if test -z "$defaultval"; then
7646 if test x
"$enablestring" = xdisable
; then
7653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7654 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7655 # Check whether --enable-sound was given.
7656 if test "${enable_sound+set}" = set; then
7657 enableval
=$enable_sound;
7658 if test "$enableval" = yes; then
7659 wx_cv_use_sound
='wxUSE_SOUND=yes'
7661 wx_cv_use_sound
='wxUSE_SOUND=no'
7666 wx_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7671 eval "$wx_cv_use_sound"
7673 if test x"$enablestring" = xdisable; then
7674 if test $wxUSE_SOUND = no; then
7683 { echo "$as_me:$LINENO: result: $result" >&5
7684 echo "${ECHO_T}$result" >&6; }
7688 defaultval=$wxUSE_ALL_FEATURES
7689 if test -z "$defaultval"; then
7690 if test x"$enablestring" = xdisable; then
7697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7698 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7699 # Check whether --enable-stdpaths was given.
7700 if test "${enable_stdpaths+set}" = set; then
7701 enableval=$enable_stdpaths;
7702 if test "$enableval" = yes; then
7703 wx_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
7705 wx_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
7710 wx_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7715 eval "$wx_cv_use_stdpaths"
7717 if test x"$enablestring" = xdisable; then
7718 if test $wxUSE_STDPATHS = no; then
7724 result=$wxUSE_STDPATHS
7727 { echo "$as_me:$LINENO: result
: $result" >&5
7728 echo "${ECHO_T}$result" >&6; }
7732 defaultval=$wxUSE_ALL_FEATURES
7733 if test -z "$defaultval"; then
7734 if test x"$enablestring" = xdisable; then
7741 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stopwatch" >&5
7742 echo $ECHO_N "checking
for --${enablestring:-enable}-stopwatch...
$ECHO_C" >&6; }
7743 # Check whether --enable-stopwatch was given.
7744 if test "${enable_stopwatch+set}" = set; then
7745 enableval=$enable_stopwatch;
7746 if test "$enableval" = yes; then
7747 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7749 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7754 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7759 eval "$wx_cv_use_stopwatch"
7761 if test x
"$enablestring" = xdisable
; then
7762 if test $wxUSE_STOPWATCH = no
; then
7768 result
=$wxUSE_STOPWATCH
7771 { echo "$as_me:$LINENO: result: $result" >&5
7772 echo "${ECHO_T}$result" >&6; }
7776 defaultval
=$wxUSE_ALL_FEATURES
7777 if test -z "$defaultval"; then
7778 if test x
"$enablestring" = xdisable
; then
7785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7786 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7787 # Check whether --enable-streams was given.
7788 if test "${enable_streams+set}" = set; then
7789 enableval
=$enable_streams;
7790 if test "$enableval" = yes; then
7791 wx_cv_use_streams
='wxUSE_STREAMS=yes'
7793 wx_cv_use_streams
='wxUSE_STREAMS=no'
7798 wx_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7803 eval "$wx_cv_use_streams"
7805 if test x"$enablestring" = xdisable; then
7806 if test $wxUSE_STREAMS = no; then
7812 result=$wxUSE_STREAMS
7815 { echo "$as_me:$LINENO: result: $result" >&5
7816 echo "${ECHO_T}$result" >&6; }
7820 defaultval=$wxUSE_ALL_FEATURES
7821 if test -z "$defaultval"; then
7822 if test x"$enablestring" = xdisable; then
7829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7830 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7831 # Check whether --enable-sysoptions was given.
7832 if test "${enable_sysoptions+set}" = set; then
7833 enableval=$enable_sysoptions;
7834 if test "$enableval" = yes; then
7835 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=yes'
7837 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=no
'
7842 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7847 eval "$wx_cv_use_sysoptions"
7849 if test x"$enablestring" = xdisable; then
7850 if test $wxUSE_SYSTEM_OPTIONS = no; then
7856 result=$wxUSE_SYSTEM_OPTIONS
7859 { echo "$as_me:$LINENO: result
: $result" >&5
7860 echo "${ECHO_T}$result" >&6; }
7864 defaultval=$wxUSE_ALL_FEATURES
7865 if test -z "$defaultval"; then
7866 if test x"$enablestring" = xdisable; then
7873 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tarstream" >&5
7874 echo $ECHO_N "checking
for --${enablestring:-enable}-tarstream...
$ECHO_C" >&6; }
7875 # Check whether --enable-tarstream was given.
7876 if test "${enable_tarstream+set}" = set; then
7877 enableval=$enable_tarstream;
7878 if test "$enableval" = yes; then
7879 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7881 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7886 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7891 eval "$wx_cv_use_tarstream"
7893 if test x
"$enablestring" = xdisable
; then
7894 if test $wxUSE_TARSTREAM = no
; then
7900 result
=$wxUSE_TARSTREAM
7903 { echo "$as_me:$LINENO: result: $result" >&5
7904 echo "${ECHO_T}$result" >&6; }
7908 defaultval
=$wxUSE_ALL_FEATURES
7909 if test -z "$defaultval"; then
7910 if test x
"$enablestring" = xdisable
; then
7917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7918 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7919 # Check whether --enable-textbuf was given.
7920 if test "${enable_textbuf+set}" = set; then
7921 enableval
=$enable_textbuf;
7922 if test "$enableval" = yes; then
7923 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
7925 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
7930 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7935 eval "$wx_cv_use_textbuf"
7937 if test x"$enablestring" = xdisable; then
7938 if test $wxUSE_TEXTBUFFER = no; then
7944 result=$wxUSE_TEXTBUFFER
7947 { echo "$as_me:$LINENO: result: $result" >&5
7948 echo "${ECHO_T}$result" >&6; }
7952 defaultval=$wxUSE_ALL_FEATURES
7953 if test -z "$defaultval"; then
7954 if test x"$enablestring" = xdisable; then
7961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7962 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7963 # Check whether --enable-textfile was given.
7964 if test "${enable_textfile+set}" = set; then
7965 enableval=$enable_textfile;
7966 if test "$enableval" = yes; then
7967 wx_cv_use_textfile='wxUSE_TEXTFILE
=yes'
7969 wx_cv_use_textfile='wxUSE_TEXTFILE
=no
'
7974 wx_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7979 eval "$wx_cv_use_textfile"
7981 if test x"$enablestring" = xdisable; then
7982 if test $wxUSE_TEXTFILE = no; then
7988 result=$wxUSE_TEXTFILE
7991 { echo "$as_me:$LINENO: result
: $result" >&5
7992 echo "${ECHO_T}$result" >&6; }
7996 defaultval=$wxUSE_ALL_FEATURES
7997 if test -z "$defaultval"; then
7998 if test x"$enablestring" = xdisable; then
8005 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-timer" >&5
8006 echo $ECHO_N "checking
for --${enablestring:-enable}-timer...
$ECHO_C" >&6; }
8007 # Check whether --enable-timer was given.
8008 if test "${enable_timer+set}" = set; then
8009 enableval=$enable_timer;
8010 if test "$enableval" = yes; then
8011 wx_cv_use_timer='wxUSE_TIMER=yes'
8013 wx_cv_use_timer='wxUSE_TIMER=no'
8018 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8023 eval "$wx_cv_use_timer"
8025 if test x
"$enablestring" = xdisable
; then
8026 if test $wxUSE_TIMER = no
; then
8035 { echo "$as_me:$LINENO: result: $result" >&5
8036 echo "${ECHO_T}$result" >&6; }
8040 defaultval
=$wxUSE_ALL_FEATURES
8041 if test -z "$defaultval"; then
8042 if test x
"$enablestring" = xdisable
; then
8049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8050 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8051 # Check whether --enable-variant was given.
8052 if test "${enable_variant+set}" = set; then
8053 enableval
=$enable_variant;
8054 if test "$enableval" = yes; then
8055 wx_cv_use_variant
='wxUSE_VARIANT=yes'
8057 wx_cv_use_variant
='wxUSE_VARIANT=no'
8062 wx_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8067 eval "$wx_cv_use_variant"
8069 if test x"$enablestring" = xdisable; then
8070 if test $wxUSE_VARIANT = no; then
8076 result=$wxUSE_VARIANT
8079 { echo "$as_me:$LINENO: result: $result" >&5
8080 echo "${ECHO_T}$result" >&6; }
8084 defaultval=$wxUSE_ALL_FEATURES
8085 if test -z "$defaultval"; then
8086 if test x"$enablestring" = xdisable; then
8093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8094 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8095 # Check whether --enable-zipstream was given.
8096 if test "${enable_zipstream+set}" = set; then
8097 enableval=$enable_zipstream;
8098 if test "$enableval" = yes; then
8099 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
8101 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
8106 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8111 eval "$wx_cv_use_zipstream"
8113 if test x"$enablestring" = xdisable; then
8114 if test $wxUSE_ZIPSTREAM = no; then
8120 result=$wxUSE_ZIPSTREAM
8123 { echo "$as_me:$LINENO: result
: $result" >&5
8124 echo "${ECHO_T}$result" >&6; }
8129 defaultval=$wxUSE_ALL_FEATURES
8130 if test -z "$defaultval"; then
8131 if test x"$enablestring" = xdisable; then
8138 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-url" >&5
8139 echo $ECHO_N "checking
for --${enablestring:-enable}-url...
$ECHO_C" >&6; }
8140 # Check whether --enable-url was given.
8141 if test "${enable_url+set}" = set; then
8142 enableval=$enable_url;
8143 if test "$enableval" = yes; then
8144 wx_cv_use_url='wxUSE_URL=yes'
8146 wx_cv_use_url='wxUSE_URL=no'
8151 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8156 eval "$wx_cv_use_url"
8158 if test x
"$enablestring" = xdisable
; then
8159 if test $wxUSE_URL = no
; then
8168 { echo "$as_me:$LINENO: result: $result" >&5
8169 echo "${ECHO_T}$result" >&6; }
8173 defaultval
=$wxUSE_ALL_FEATURES
8174 if test -z "$defaultval"; then
8175 if test x
"$enablestring" = xdisable
; then
8182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8183 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8184 # Check whether --enable-protocol was given.
8185 if test "${enable_protocol+set}" = set; then
8186 enableval
=$enable_protocol;
8187 if test "$enableval" = yes; then
8188 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
8190 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
8195 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8200 eval "$wx_cv_use_protocol"
8202 if test x"$enablestring" = xdisable; then
8203 if test $wxUSE_PROTOCOL = no; then
8209 result=$wxUSE_PROTOCOL
8212 { echo "$as_me:$LINENO: result: $result" >&5
8213 echo "${ECHO_T}$result" >&6; }
8217 defaultval=$wxUSE_ALL_FEATURES
8218 if test -z "$defaultval"; then
8219 if test x"$enablestring" = xdisable; then
8226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8227 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8228 # Check whether --enable-protocol_http was given.
8229 if test "${enable_protocol_http+set}" = set; then
8230 enableval=$enable_protocol_http;
8231 if test "$enableval" = yes; then
8232 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
8234 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
8239 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8244 eval "$wx_cv_use_protocol_http"
8246 if test x"$enablestring" = xdisable; then
8247 if test $wxUSE_PROTOCOL_HTTP = no; then
8253 result=$wxUSE_PROTOCOL_HTTP
8256 { echo "$as_me:$LINENO: result
: $result" >&5
8257 echo "${ECHO_T}$result" >&6; }
8261 defaultval=$wxUSE_ALL_FEATURES
8262 if test -z "$defaultval"; then
8263 if test x"$enablestring" = xdisable; then
8270 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_ftp" >&5
8271 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_ftp...
$ECHO_C" >&6; }
8272 # Check whether --enable-protocol_ftp was given.
8273 if test "${enable_protocol_ftp+set}" = set; then
8274 enableval=$enable_protocol_ftp;
8275 if test "$enableval" = yes; then
8276 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8278 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8283 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8288 eval "$wx_cv_use_protocol_ftp"
8290 if test x
"$enablestring" = xdisable
; then
8291 if test $wxUSE_PROTOCOL_FTP = no
; then
8297 result
=$wxUSE_PROTOCOL_FTP
8300 { echo "$as_me:$LINENO: result: $result" >&5
8301 echo "${ECHO_T}$result" >&6; }
8305 defaultval
=$wxUSE_ALL_FEATURES
8306 if test -z "$defaultval"; then
8307 if test x
"$enablestring" = xdisable
; then
8314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8315 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8316 # Check whether --enable-protocol_file was given.
8317 if test "${enable_protocol_file+set}" = set; then
8318 enableval
=$enable_protocol_file;
8319 if test "$enableval" = yes; then
8320 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
8322 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
8327 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8332 eval "$wx_cv_use_protocol_file"
8334 if test x"$enablestring" = xdisable; then
8335 if test $wxUSE_PROTOCOL_FILE = no; then
8341 result=$wxUSE_PROTOCOL_FILE
8344 { echo "$as_me:$LINENO: result: $result" >&5
8345 echo "${ECHO_T}$result" >&6; }
8350 defaultval=$wxUSE_ALL_FEATURES
8351 if test -z "$defaultval"; then
8352 if test x"$enablestring" = xdisable; then
8359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8360 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8361 # Check whether --enable-threads was given.
8362 if test "${enable_threads+set}" = set; then
8363 enableval=$enable_threads;
8364 if test "$enableval" = yes; then
8365 wx_cv_use_threads='wxUSE_THREADS
=yes'
8367 wx_cv_use_threads='wxUSE_THREADS
=no
'
8372 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8377 eval "$wx_cv_use_threads"
8379 if test x"$enablestring" = xdisable; then
8380 if test $wxUSE_THREADS = no; then
8386 result=$wxUSE_THREADS
8389 { echo "$as_me:$LINENO: result
: $result" >&5
8390 echo "${ECHO_T}$result" >&6; }
8396 if test -z "$defaultval"; then
8397 if test x"$enablestring" = xdisable; then
8404 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iniconf" >&5
8405 echo $ECHO_N "checking
for --${enablestring:-enable}-iniconf...
$ECHO_C" >&6; }
8406 # Check whether --enable-iniconf was given.
8407 if test "${enable_iniconf+set}" = set; then
8408 enableval=$enable_iniconf;
8409 if test "$enableval" = yes; then
8410 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8412 wx_cv_use_iniconf='wxUSE_INICONF=no'
8417 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8422 eval "$wx_cv_use_iniconf"
8424 if test x
"$enablestring" = xdisable
; then
8425 if test $wxUSE_INICONF = no
; then
8431 result
=$wxUSE_INICONF
8434 { echo "$as_me:$LINENO: result: $result" >&5
8435 echo "${ECHO_T}$result" >&6; }
8439 defaultval
=$wxUSE_ALL_FEATURES
8440 if test -z "$defaultval"; then
8441 if test x
"$enablestring" = xdisable
; then
8448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8449 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8450 # Check whether --enable-regkey was given.
8451 if test "${enable_regkey+set}" = set; then
8452 enableval
=$enable_regkey;
8453 if test "$enableval" = yes; then
8454 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
8456 wx_cv_use_regkey
='wxUSE_REGKEY=no'
8461 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8466 eval "$wx_cv_use_regkey"
8468 if test x"$enablestring" = xdisable; then
8469 if test $wxUSE_REGKEY = no; then
8475 result=$wxUSE_REGKEY
8478 { echo "$as_me:$LINENO: result: $result" >&5
8479 echo "${ECHO_T}$result" >&6; }
8482 if test "$wxUSE_GUI" = "yes"; then
8487 defaultval=$wxUSE_ALL_FEATURES
8488 if test -z "$defaultval"; then
8489 if test x"$enablestring" = xdisable; then
8496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8497 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8498 # Check whether --enable-docview was given.
8499 if test "${enable_docview+set}" = set; then
8500 enableval=$enable_docview;
8501 if test "$enableval" = yes; then
8502 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
8504 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
8509 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8514 eval "$wx_cv_use_docview"
8516 if test x"$enablestring" = xdisable; then
8517 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8523 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8526 { echo "$as_me:$LINENO: result
: $result" >&5
8527 echo "${ECHO_T}$result" >&6; }
8531 defaultval=$wxUSE_ALL_FEATURES
8532 if test -z "$defaultval"; then
8533 if test x"$enablestring" = xdisable; then
8540 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-help" >&5
8541 echo $ECHO_N "checking
for --${enablestring:-enable}-help...
$ECHO_C" >&6; }
8542 # Check whether --enable-help was given.
8543 if test "${enable_help+set}" = set; then
8544 enableval=$enable_help;
8545 if test "$enableval" = yes; then
8546 wx_cv_use_help='wxUSE_HELP=yes'
8548 wx_cv_use_help='wxUSE_HELP=no'
8553 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8558 eval "$wx_cv_use_help"
8560 if test x
"$enablestring" = xdisable
; then
8561 if test $wxUSE_HELP = no
; then
8570 { echo "$as_me:$LINENO: result: $result" >&5
8571 echo "${ECHO_T}$result" >&6; }
8575 defaultval
=$wxUSE_ALL_FEATURES
8576 if test -z "$defaultval"; then
8577 if test x
"$enablestring" = xdisable
; then
8584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8585 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8586 # Check whether --enable-mshtmlhelp was given.
8587 if test "${enable_mshtmlhelp+set}" = set; then
8588 enableval
=$enable_mshtmlhelp;
8589 if test "$enableval" = yes; then
8590 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
8592 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
8597 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8602 eval "$wx_cv_use_mshtmlhelp"
8604 if test x"$enablestring" = xdisable; then
8605 if test $wxUSE_MS_HTML_HELP = no; then
8611 result=$wxUSE_MS_HTML_HELP
8614 { echo "$as_me:$LINENO: result: $result" >&5
8615 echo "${ECHO_T}$result" >&6; }
8619 defaultval=$wxUSE_ALL_FEATURES
8620 if test -z "$defaultval"; then
8621 if test x"$enablestring" = xdisable; then
8628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8629 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8630 # Check whether --enable-html was given.
8631 if test "${enable_html+set}" = set; then
8632 enableval=$enable_html;
8633 if test "$enableval" = yes; then
8634 wx_cv_use_html='wxUSE_HTML
=yes'
8636 wx_cv_use_html='wxUSE_HTML
=no
'
8641 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8646 eval "$wx_cv_use_html"
8648 if test x"$enablestring" = xdisable; then
8649 if test $wxUSE_HTML = no; then
8658 { echo "$as_me:$LINENO: result
: $result" >&5
8659 echo "${ECHO_T}$result" >&6; }
8663 defaultval=$wxUSE_ALL_FEATURES
8664 if test -z "$defaultval"; then
8665 if test x"$enablestring" = xdisable; then
8672 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-htmlhelp" >&5
8673 echo $ECHO_N "checking
for --${enablestring:-enable}-htmlhelp...
$ECHO_C" >&6; }
8674 # Check whether --enable-htmlhelp was given.
8675 if test "${enable_htmlhelp+set}" = set; then
8676 enableval=$enable_htmlhelp;
8677 if test "$enableval" = yes; then
8678 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8680 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8685 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8690 eval "$wx_cv_use_htmlhelp"
8692 if test x
"$enablestring" = xdisable
; then
8693 if test $wxUSE_WXHTML_HELP = no
; then
8699 result
=$wxUSE_WXHTML_HELP
8702 { echo "$as_me:$LINENO: result: $result" >&5
8703 echo "${ECHO_T}$result" >&6; }
8707 defaultval
=$wxUSE_ALL_FEATURES
8708 if test -z "$defaultval"; then
8709 if test x
"$enablestring" = xdisable
; then
8716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8717 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8718 # Check whether --enable-xrc was given.
8719 if test "${enable_xrc+set}" = set; then
8720 enableval
=$enable_xrc;
8721 if test "$enableval" = yes; then
8722 wx_cv_use_xrc
='wxUSE_XRC=yes'
8724 wx_cv_use_xrc
='wxUSE_XRC=no'
8729 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8734 eval "$wx_cv_use_xrc"
8736 if test x"$enablestring" = xdisable; then
8737 if test $wxUSE_XRC = no; then
8746 { echo "$as_me:$LINENO: result: $result" >&5
8747 echo "${ECHO_T}$result" >&6; }
8751 defaultval=$wxUSE_ALL_FEATURES
8752 if test -z "$defaultval"; then
8753 if test x"$enablestring" = xdisable; then
8760 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8761 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8762 # Check whether --enable-aui was given.
8763 if test "${enable_aui+set}" = set; then
8764 enableval=$enable_aui;
8765 if test "$enableval" = yes; then
8766 wx_cv_use_aui='wxUSE_AUI
=yes'
8768 wx_cv_use_aui='wxUSE_AUI
=no
'
8773 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8778 eval "$wx_cv_use_aui"
8780 if test x"$enablestring" = xdisable; then
8781 if test $wxUSE_AUI = no; then
8790 { echo "$as_me:$LINENO: result
: $result" >&5
8791 echo "${ECHO_T}$result" >&6; }
8795 defaultval=$wxUSE_ALL_FEATURES
8796 if test -z "$defaultval"; then
8797 if test x"$enablestring" = xdisable; then
8804 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-propgrid" >&5
8805 echo $ECHO_N "checking
for --${enablestring:-enable}-propgrid...
$ECHO_C" >&6; }
8806 # Check whether --enable-propgrid was given.
8807 if test "${enable_propgrid+set}" = set; then
8808 enableval=$enable_propgrid;
8809 if test "$enableval" = yes; then
8810 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8812 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8817 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8822 eval "$wx_cv_use_propgrid"
8824 if test x
"$enablestring" = xdisable
; then
8825 if test $wxUSE_PROPGRID = no
; then
8831 result
=$wxUSE_PROPGRID
8834 { echo "$as_me:$LINENO: result: $result" >&5
8835 echo "${ECHO_T}$result" >&6; }
8839 defaultval
=$wxUSE_ALL_FEATURES
8840 if test -z "$defaultval"; then
8841 if test x
"$enablestring" = xdisable
; then
8848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8849 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8850 # Check whether --enable-ribbon was given.
8851 if test "${enable_ribbon+set}" = set; then
8852 enableval
=$enable_ribbon;
8853 if test "$enableval" = yes; then
8854 wx_cv_use_ribbon
='wxUSE_RIBBON=yes'
8856 wx_cv_use_ribbon
='wxUSE_RIBBON=no'
8861 wx_cv_use_ribbon
='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8866 eval "$wx_cv_use_ribbon"
8868 if test x"$enablestring" = xdisable; then
8869 if test $wxUSE_RIBBON = no; then
8875 result=$wxUSE_RIBBON
8878 { echo "$as_me:$LINENO: result: $result" >&5
8879 echo "${ECHO_T}$result" >&6; }
8883 defaultval=$wxUSE_ALL_FEATURES
8884 if test -z "$defaultval"; then
8885 if test x"$enablestring" = xdisable; then
8892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8893 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8894 # Check whether --enable-stc was given.
8895 if test "${enable_stc+set}" = set; then
8896 enableval=$enable_stc;
8897 if test "$enableval" = yes; then
8898 wx_cv_use_stc='wxUSE_STC
=yes'
8900 wx_cv_use_stc='wxUSE_STC
=no
'
8905 wx_cv_use_stc='wxUSE_STC
=${'DEFAULT_wxUSE_STC":-$defaultval}"
8910 eval "$wx_cv_use_stc"
8912 if test x"$enablestring" = xdisable; then
8913 if test $wxUSE_STC = no; then
8922 { echo "$as_me:$LINENO: result
: $result" >&5
8923 echo "${ECHO_T}$result" >&6; }
8927 defaultval=$wxUSE_ALL_FEATURES
8928 if test -z "$defaultval"; then
8929 if test x"$enablestring" = xdisable; then
8936 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-constraints" >&5
8937 echo $ECHO_N "checking
for --${enablestring:-enable}-constraints...
$ECHO_C" >&6; }
8938 # Check whether --enable-constraints was given.
8939 if test "${enable_constraints+set}" = set; then
8940 enableval=$enable_constraints;
8941 if test "$enableval" = yes; then
8942 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8944 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8949 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8954 eval "$wx_cv_use_constraints"
8956 if test x
"$enablestring" = xdisable
; then
8957 if test $wxUSE_CONSTRAINTS = no
; then
8963 result
=$wxUSE_CONSTRAINTS
8966 { echo "$as_me:$LINENO: result: $result" >&5
8967 echo "${ECHO_T}$result" >&6; }
8971 defaultval
=$wxUSE_ALL_FEATURES
8972 if test -z "$defaultval"; then
8973 if test x
"$enablestring" = xdisable
; then
8980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8981 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8982 # Check whether --enable-loggui was given.
8983 if test "${enable_loggui+set}" = set; then
8984 enableval
=$enable_loggui;
8985 if test "$enableval" = yes; then
8986 wx_cv_use_loggui
='wxUSE_LOGGUI=yes'
8988 wx_cv_use_loggui
='wxUSE_LOGGUI=no'
8993 wx_cv_use_loggui
='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8998 eval "$wx_cv_use_loggui"
9000 if test x"$enablestring" = xdisable; then
9001 if test $wxUSE_LOGGUI = no; then
9007 result=$wxUSE_LOGGUI
9010 { echo "$as_me:$LINENO: result: $result" >&5
9011 echo "${ECHO_T}$result" >&6; }
9015 defaultval=$wxUSE_ALL_FEATURES
9016 if test -z "$defaultval"; then
9017 if test x"$enablestring" = xdisable; then
9024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9025 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9026 # Check whether --enable-logwin was given.
9027 if test "${enable_logwin+set}" = set; then
9028 enableval=$enable_logwin;
9029 if test "$enableval" = yes; then
9030 wx_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
9032 wx_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
9037 wx_cv_use_logwin='wxUSE_LOGWINDOW
=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9042 eval "$wx_cv_use_logwin"
9044 if test x"$enablestring" = xdisable; then
9045 if test $wxUSE_LOGWINDOW = no; then
9051 result=$wxUSE_LOGWINDOW
9054 { echo "$as_me:$LINENO: result
: $result" >&5
9055 echo "${ECHO_T}$result" >&6; }
9059 defaultval=$wxUSE_ALL_FEATURES
9060 if test -z "$defaultval"; then
9061 if test x"$enablestring" = xdisable; then
9068 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-logdialog" >&5
9069 echo $ECHO_N "checking
for --${enablestring:-enable}-logdialog...
$ECHO_C" >&6; }
9070 # Check whether --enable-logdialog was given.
9071 if test "${enable_logdialog+set}" = set; then
9072 enableval=$enable_logdialog;
9073 if test "$enableval" = yes; then
9074 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9076 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9081 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9086 eval "$wx_cv_use_logdialog"
9088 if test x
"$enablestring" = xdisable
; then
9089 if test $wxUSE_LOGDIALOG = no
; then
9095 result
=$wxUSE_LOGDIALOG
9098 { echo "$as_me:$LINENO: result: $result" >&5
9099 echo "${ECHO_T}$result" >&6; }
9103 defaultval
=$wxUSE_ALL_FEATURES
9104 if test -z "$defaultval"; then
9105 if test x
"$enablestring" = xdisable
; then
9112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9113 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9114 # Check whether --enable-mdi was given.
9115 if test "${enable_mdi+set}" = set; then
9116 enableval
=$enable_mdi;
9117 if test "$enableval" = yes; then
9118 wx_cv_use_mdi
='wxUSE_MDI=yes'
9120 wx_cv_use_mdi
='wxUSE_MDI=no'
9125 wx_cv_use_mdi
='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9130 eval "$wx_cv_use_mdi"
9132 if test x"$enablestring" = xdisable; then
9133 if test $wxUSE_MDI = no; then
9142 { echo "$as_me:$LINENO: result: $result" >&5
9143 echo "${ECHO_T}$result" >&6; }
9147 defaultval=$wxUSE_ALL_FEATURES
9148 if test -z "$defaultval"; then
9149 if test x"$enablestring" = xdisable; then
9156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9157 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9158 # Check whether --enable-mdidoc was given.
9159 if test "${enable_mdidoc+set}" = set; then
9160 enableval=$enable_mdidoc;
9161 if test "$enableval" = yes; then
9162 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
9164 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
9169 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9174 eval "$wx_cv_use_mdidoc"
9176 if test x"$enablestring" = xdisable; then
9177 if test $wxUSE_MDI_ARCHITECTURE = no; then
9183 result=$wxUSE_MDI_ARCHITECTURE
9186 { echo "$as_me:$LINENO: result
: $result" >&5
9187 echo "${ECHO_T}$result" >&6; }
9191 defaultval=$wxUSE_ALL_FEATURES
9192 if test -z "$defaultval"; then
9193 if test x"$enablestring" = xdisable; then
9200 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mediactrl" >&5
9201 echo $ECHO_N "checking
for --${enablestring:-enable}-mediactrl...
$ECHO_C" >&6; }
9202 # Check whether --enable-mediactrl was given.
9203 if test "${enable_mediactrl+set}" = set; then
9204 enableval=$enable_mediactrl;
9205 if test "$enableval" = yes; then
9206 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9208 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9213 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9218 eval "$wx_cv_use_mediactrl"
9220 if test x
"$enablestring" = xdisable
; then
9221 if test $wxUSE_MEDIACTRL = no
; then
9227 result
=$wxUSE_MEDIACTRL
9230 { echo "$as_me:$LINENO: result: $result" >&5
9231 echo "${ECHO_T}$result" >&6; }
9235 defaultval
=$wxUSE_ALL_FEATURES
9236 if test -z "$defaultval"; then
9237 if test x
"$enablestring" = xdisable
; then
9244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9245 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9246 # Check whether --enable-gstreamer8 was given.
9247 if test "${enable_gstreamer8+set}" = set; then
9248 enableval
=$enable_gstreamer8;
9249 if test "$enableval" = yes; then
9250 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
9252 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
9257 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9262 eval "$wx_cv_use_gstreamer8"
9264 if test x"$enablestring" = xdisable; then
9265 if test $wxUSE_GSTREAMER8 = no; then
9271 result=$wxUSE_GSTREAMER8
9274 { echo "$as_me:$LINENO: result: $result" >&5
9275 echo "${ECHO_T}$result" >&6; }
9279 defaultval=$wxUSE_ALL_FEATURES
9280 if test -z "$defaultval"; then
9281 if test x"$enablestring" = xdisable; then
9288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9289 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9290 # Check whether --enable-webkit was given.
9291 if test "${enable_webkit+set}" = set; then
9292 enableval=$enable_webkit;
9293 if test "$enableval" = yes; then
9294 wx_cv_use_webkit='wxUSE_WEBKIT
=yes'
9296 wx_cv_use_webkit='wxUSE_WEBKIT
=no
'
9301 wx_cv_use_webkit='wxUSE_WEBKIT
=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9306 eval "$wx_cv_use_webkit"
9308 if test x"$enablestring" = xdisable; then
9309 if test $wxUSE_WEBKIT = no; then
9315 result=$wxUSE_WEBKIT
9318 { echo "$as_me:$LINENO: result
: $result" >&5
9319 echo "${ECHO_T}$result" >&6; }
9323 defaultval=$wxUSE_ALL_FEATURES
9324 if test -z "$defaultval"; then
9325 if test x"$enablestring" = xdisable; then
9332 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-richtext" >&5
9333 echo $ECHO_N "checking
for --${enablestring:-enable}-richtext...
$ECHO_C" >&6; }
9334 # Check whether --enable-richtext was given.
9335 if test "${enable_richtext+set}" = set; then
9336 enableval=$enable_richtext;
9337 if test "$enableval" = yes; then
9338 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9340 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9345 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9350 eval "$wx_cv_use_richtext"
9352 if test x
"$enablestring" = xdisable
; then
9353 if test $wxUSE_RICHTEXT = no
; then
9359 result
=$wxUSE_RICHTEXT
9362 { echo "$as_me:$LINENO: result: $result" >&5
9363 echo "${ECHO_T}$result" >&6; }
9367 defaultval
=$wxUSE_ALL_FEATURES
9368 if test -z "$defaultval"; then
9369 if test x
"$enablestring" = xdisable
; then
9376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9377 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9378 # Check whether --enable-postscript was given.
9379 if test "${enable_postscript+set}" = set; then
9380 enableval
=$enable_postscript;
9381 if test "$enableval" = yes; then
9382 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
9384 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
9389 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9394 eval "$wx_cv_use_postscript"
9396 if test x"$enablestring" = xdisable; then
9397 if test $wxUSE_POSTSCRIPT = no; then
9403 result=$wxUSE_POSTSCRIPT
9406 { echo "$as_me:$LINENO: result: $result" >&5
9407 echo "${ECHO_T}$result" >&6; }
9411 defaultval=$wxUSE_ALL_FEATURES
9412 if test -z "$defaultval"; then
9413 if test x"$enablestring" = xdisable; then
9420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9421 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9422 # Check whether --enable-printarch was given.
9423 if test "${enable_printarch+set}" = set; then
9424 enableval=$enable_printarch;
9425 if test "$enableval" = yes; then
9426 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
9428 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
9433 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9438 eval "$wx_cv_use_printarch"
9440 if test x"$enablestring" = xdisable; then
9441 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9447 result=$wxUSE_PRINTING_ARCHITECTURE
9450 { echo "$as_me:$LINENO: result
: $result" >&5
9451 echo "${ECHO_T}$result" >&6; }
9455 defaultval=$wxUSE_ALL_FEATURES
9456 if test -z "$defaultval"; then
9457 if test x"$enablestring" = xdisable; then
9464 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-svg" >&5
9465 echo $ECHO_N "checking
for --${enablestring:-enable}-svg...
$ECHO_C" >&6; }
9466 # Check whether --enable-svg was given.
9467 if test "${enable_svg+set}" = set; then
9468 enableval=$enable_svg;
9469 if test "$enableval" = yes; then
9470 wx_cv_use_svg='wxUSE_SVG=yes'
9472 wx_cv_use_svg='wxUSE_SVG=no'
9477 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9482 eval "$wx_cv_use_svg"
9484 if test x
"$enablestring" = xdisable
; then
9485 if test $wxUSE_SVG = no
; then
9494 { echo "$as_me:$LINENO: result: $result" >&5
9495 echo "${ECHO_T}$result" >&6; }
9498 if test "$wxUSE_MAC" != 1; then
9501 defaultval
=$wxUSE_ALL_FEATURES
9502 if test -z "$defaultval"; then
9503 if test x
"$enablestring" = xdisable
; then
9510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9511 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9512 # Check whether --enable-graphics_ctx was given.
9513 if test "${enable_graphics_ctx+set}" = set; then
9514 enableval
=$enable_graphics_ctx;
9515 if test "$enableval" = yes; then
9516 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
9518 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
9523 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9528 eval "$wx_cv_use_graphics_ctx"
9530 if test x"$enablestring" = xdisable; then
9531 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9537 result=$wxUSE_GRAPHICS_CONTEXT
9540 { echo "$as_me:$LINENO: result: $result" >&5
9541 echo "${ECHO_T}$result" >&6; }
9548 defaultval=$wxUSE_ALL_FEATURES
9549 if test -z "$defaultval"; then
9550 if test x"$enablestring" = xdisable; then
9557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9558 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9559 # Check whether --enable-clipboard was given.
9560 if test "${enable_clipboard+set}" = set; then
9561 enableval=$enable_clipboard;
9562 if test "$enableval" = yes; then
9563 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
9565 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
9570 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9575 eval "$wx_cv_use_clipboard"
9577 if test x"$enablestring" = xdisable; then
9578 if test $wxUSE_CLIPBOARD = no; then
9584 result=$wxUSE_CLIPBOARD
9587 { echo "$as_me:$LINENO: result
: $result" >&5
9588 echo "${ECHO_T}$result" >&6; }
9592 defaultval=$wxUSE_ALL_FEATURES
9593 if test -z "$defaultval"; then
9594 if test x"$enablestring" = xdisable; then
9601 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dnd" >&5
9602 echo $ECHO_N "checking
for --${enablestring:-enable}-dnd...
$ECHO_C" >&6; }
9603 # Check whether --enable-dnd was given.
9604 if test "${enable_dnd+set}" = set; then
9605 enableval=$enable_dnd;
9606 if test "$enableval" = yes; then
9607 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9609 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9614 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9619 eval "$wx_cv_use_dnd"
9621 if test x
"$enablestring" = xdisable
; then
9622 if test $wxUSE_DRAG_AND_DROP = no
; then
9628 result
=$wxUSE_DRAG_AND_DROP
9631 { echo "$as_me:$LINENO: result: $result" >&5
9632 echo "${ECHO_T}$result" >&6; }
9636 defaultval
=$wxUSE_ALL_FEATURES
9637 if test -z "$defaultval"; then
9638 if test x
"$enablestring" = xdisable
; then
9645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9646 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9647 # Check whether --enable-metafile was given.
9648 if test "${enable_metafile+set}" = set; then
9649 enableval
=$enable_metafile;
9650 if test "$enableval" = yes; then
9651 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
9653 wx_cv_use_metafile
='wxUSE_METAFILE=no'
9658 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9663 eval "$wx_cv_use_metafile"
9665 if test x"$enablestring" = xdisable; then
9666 if test $wxUSE_METAFILE = no; then
9672 result=$wxUSE_METAFILE
9675 { echo "$as_me:$LINENO: result: $result" >&5
9676 echo "${ECHO_T}$result" >&6; }
9680 DEFAULT_wxUSE_CONTROLS=none
9682 enablestring=disable
9684 if test -z "$defaultval"; then
9685 if test x"$enablestring" = xdisable; then
9692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9693 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9694 # Check whether --enable-controls was given.
9695 if test "${enable_controls+set}" = set; then
9696 enableval=$enable_controls;
9697 if test "$enableval" = yes; then
9698 wx_cv_use_controls='wxUSE_CONTROLS
=yes'
9700 wx_cv_use_controls='wxUSE_CONTROLS
=no
'
9705 wx_cv_use_controls='wxUSE_CONTROLS
=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9710 eval "$wx_cv_use_controls"
9712 if test x"$enablestring" = xdisable; then
9713 if test $wxUSE_CONTROLS = no; then
9719 result=$wxUSE_CONTROLS
9722 { echo "$as_me:$LINENO: result
: $result" >&5
9723 echo "${ECHO_T}$result" >&6; }
9726 if test "$wxUSE_CONTROLS" = "no
"; then
9727 DEFAULT_wxUSE_ACCEL=no
9728 DEFAULT_wxUSE_ANIMATIONCTRL=no
9729 DEFAULT_wxUSE_BMPBUTTON=no
9730 DEFAULT_wxUSE_BUTTON=no
9731 DEFAULT_wxUSE_CALCTRL=no
9732 DEFAULT_wxUSE_CARET=no
9733 DEFAULT_wxUSE_CHECKBOX=no
9734 DEFAULT_wxUSE_CHECKLISTBOX=no
9735 DEFAULT_wxUSE_CHOICE=no
9736 DEFAULT_wxUSE_CHOICEBOOK=no
9737 DEFAULT_wxUSE_COLLPANE=no
9738 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9739 DEFAULT_wxUSE_COMBOBOX=no
9740 DEFAULT_wxUSE_COMBOBOX=no
9741 DEFAULT_wxUSE_DATAVIEWCTRL=no
9742 DEFAULT_wxUSE_DATEPICKCTRL=no
9743 DEFAULT_wxUSE_DETECT_SM=no
9744 DEFAULT_wxUSE_DIRPICKERCTRL=no
9745 DEFAULT_wxUSE_DISPLAY=no
9746 DEFAULT_wxUSE_FILECTRL=no
9747 DEFAULT_wxUSE_FILEPICKERCTRL=no
9748 DEFAULT_wxUSE_FONTPICKERCTRL=no
9749 DEFAULT_wxUSE_GAUGE=no
9750 DEFAULT_wxUSE_GRID=no
9751 DEFAULT_wxUSE_HEADERCTRL=no
9752 DEFAULT_wxUSE_HYPERLINKCTRL=no
9753 DEFAULT_wxUSE_IMAGLIST=no
9754 DEFAULT_wxUSE_LISTBOOK=no
9755 DEFAULT_wxUSE_LISTBOX=no
9756 DEFAULT_wxUSE_LISTCTRL=no
9757 DEFAULT_wxUSE_NOTEBOOK=no
9758 DEFAULT_wxUSE_POPUPWIN=no
9759 DEFAULT_wxUSE_RADIOBOX=no
9760 DEFAULT_wxUSE_RADIOBTN=no
9761 DEFAULT_wxUSE_REARRANGECTRL=no
9762 DEFAULT_wxUSE_SASH=no
9763 DEFAULT_wxUSE_SCROLLBAR=no
9764 DEFAULT_wxUSE_SEARCHCTRL=no
9765 DEFAULT_wxUSE_SLIDER=no
9766 DEFAULT_wxUSE_SPINBTN=no
9767 DEFAULT_wxUSE_SPINCTRL=no
9768 DEFAULT_wxUSE_SPLITTER=no
9769 DEFAULT_wxUSE_STATBMP=no
9770 DEFAULT_wxUSE_STATBOX=no
9771 DEFAULT_wxUSE_STATLINE=no
9772 DEFAULT_wxUSE_STATUSBAR=no
9773 DEFAULT_wxUSE_TIPWINDOW=no
9774 DEFAULT_wxUSE_TOGGLEBTN=no
9775 DEFAULT_wxUSE_TOOLBAR=no
9776 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9777 DEFAULT_wxUSE_TOOLBOOK=no
9778 DEFAULT_wxUSE_TOOLTIPS=no
9779 DEFAULT_wxUSE_TREEBOOK=no
9780 DEFAULT_wxUSE_TREECTRL=no
9785 defaultval=$wxUSE_ALL_FEATURES
9786 if test -z "$defaultval"; then
9787 if test x"$enablestring" = xdisable; then
9794 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accel" >&5
9795 echo $ECHO_N "checking
for --${enablestring:-enable}-accel...
$ECHO_C" >&6; }
9796 # Check whether --enable-accel was given.
9797 if test "${enable_accel+set}" = set; then
9798 enableval=$enable_accel;
9799 if test "$enableval" = yes; then
9800 wx_cv_use_accel='wxUSE_ACCEL=yes'
9802 wx_cv_use_accel='wxUSE_ACCEL=no'
9807 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9812 eval "$wx_cv_use_accel"
9814 if test x
"$enablestring" = xdisable
; then
9815 if test $wxUSE_ACCEL = no
; then
9824 { echo "$as_me:$LINENO: result: $result" >&5
9825 echo "${ECHO_T}$result" >&6; }
9829 defaultval
=$wxUSE_ALL_FEATURES
9830 if test -z "$defaultval"; then
9831 if test x
"$enablestring" = xdisable
; then
9838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9839 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9840 # Check whether --enable-animatectrl was given.
9841 if test "${enable_animatectrl+set}" = set; then
9842 enableval
=$enable_animatectrl;
9843 if test "$enableval" = yes; then
9844 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
9846 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
9851 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9856 eval "$wx_cv_use_animatectrl"
9858 if test x"$enablestring" = xdisable; then
9859 if test $wxUSE_ANIMATIONCTRL = no; then
9865 result=$wxUSE_ANIMATIONCTRL
9868 { echo "$as_me:$LINENO: result: $result" >&5
9869 echo "${ECHO_T}$result" >&6; }
9873 defaultval=$wxUSE_ALL_FEATURES
9874 if test -z "$defaultval"; then
9875 if test x"$enablestring" = xdisable; then
9882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9883 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9884 # Check whether --enable-bmpbutton was given.
9885 if test "${enable_bmpbutton+set}" = set; then
9886 enableval=$enable_bmpbutton;
9887 if test "$enableval" = yes; then
9888 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
9890 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
9895 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9900 eval "$wx_cv_use_bmpbutton"
9902 if test x"$enablestring" = xdisable; then
9903 if test $wxUSE_BMPBUTTON = no; then
9909 result=$wxUSE_BMPBUTTON
9912 { echo "$as_me:$LINENO: result
: $result" >&5
9913 echo "${ECHO_T}$result" >&6; }
9917 defaultval=$wxUSE_ALL_FEATURES
9918 if test -z "$defaultval"; then
9919 if test x"$enablestring" = xdisable; then
9926 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-bmpcombobox" >&5
9927 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpcombobox...
$ECHO_C" >&6; }
9928 # Check whether --enable-bmpcombobox was given.
9929 if test "${enable_bmpcombobox+set}" = set; then
9930 enableval=$enable_bmpcombobox;
9931 if test "$enableval" = yes; then
9932 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9934 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9939 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9944 eval "$wx_cv_use_bmpcombobox"
9946 if test x
"$enablestring" = xdisable
; then
9947 if test $wxUSE_BITMAPCOMBOBOX = no
; then
9953 result
=$wxUSE_BITMAPCOMBOBOX
9956 { echo "$as_me:$LINENO: result: $result" >&5
9957 echo "${ECHO_T}$result" >&6; }
9961 defaultval
=$wxUSE_ALL_FEATURES
9962 if test -z "$defaultval"; then
9963 if test x
"$enablestring" = xdisable
; then
9970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9971 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9972 # Check whether --enable-button was given.
9973 if test "${enable_button+set}" = set; then
9974 enableval
=$enable_button;
9975 if test "$enableval" = yes; then
9976 wx_cv_use_button
='wxUSE_BUTTON=yes'
9978 wx_cv_use_button
='wxUSE_BUTTON=no'
9983 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9988 eval "$wx_cv_use_button"
9990 if test x"$enablestring" = xdisable; then
9991 if test $wxUSE_BUTTON = no; then
9997 result=$wxUSE_BUTTON
10000 { echo "$as_me:$LINENO: result: $result" >&5
10001 echo "${ECHO_T}$result" >&6; }
10005 defaultval=$wxUSE_ALL_FEATURES
10006 if test -z "$defaultval"; then
10007 if test x"$enablestring" = xdisable; then
10014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10015 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10016 # Check whether --enable-calendar was given.
10017 if test "${enable_calendar+set}" = set; then
10018 enableval=$enable_calendar;
10019 if test "$enableval" = yes; then
10020 wx_cv_use_calendar='wxUSE_CALCTRL
=yes'
10022 wx_cv_use_calendar='wxUSE_CALCTRL
=no
'
10027 wx_cv_use_calendar='wxUSE_CALCTRL
=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10032 eval "$wx_cv_use_calendar"
10034 if test x"$enablestring" = xdisable; then
10035 if test $wxUSE_CALCTRL = no; then
10041 result=$wxUSE_CALCTRL
10044 { echo "$as_me:$LINENO: result
: $result" >&5
10045 echo "${ECHO_T}$result" >&6; }
10049 defaultval=$wxUSE_ALL_FEATURES
10050 if test -z "$defaultval"; then
10051 if test x"$enablestring" = xdisable; then
10058 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-caret" >&5
10059 echo $ECHO_N "checking
for --${enablestring:-enable}-caret...
$ECHO_C" >&6; }
10060 # Check whether --enable-caret was given.
10061 if test "${enable_caret+set}" = set; then
10062 enableval=$enable_caret;
10063 if test "$enableval" = yes; then
10064 wx_cv_use_caret='wxUSE_CARET=yes'
10066 wx_cv_use_caret='wxUSE_CARET=no'
10071 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10076 eval "$wx_cv_use_caret"
10078 if test x
"$enablestring" = xdisable
; then
10079 if test $wxUSE_CARET = no
; then
10085 result
=$wxUSE_CARET
10088 { echo "$as_me:$LINENO: result: $result" >&5
10089 echo "${ECHO_T}$result" >&6; }
10093 defaultval
=$wxUSE_ALL_FEATURES
10094 if test -z "$defaultval"; then
10095 if test x
"$enablestring" = xdisable
; then
10102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10103 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10104 # Check whether --enable-checkbox was given.
10105 if test "${enable_checkbox+set}" = set; then
10106 enableval
=$enable_checkbox;
10107 if test "$enableval" = yes; then
10108 wx_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
10110 wx_cv_use_checkbox
='wxUSE_CHECKBOX=no'
10115 wx_cv_use_checkbox
='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10120 eval "$wx_cv_use_checkbox"
10122 if test x"$enablestring" = xdisable; then
10123 if test $wxUSE_CHECKBOX = no; then
10129 result=$wxUSE_CHECKBOX
10132 { echo "$as_me:$LINENO: result: $result" >&5
10133 echo "${ECHO_T}$result" >&6; }
10137 defaultval=$wxUSE_ALL_FEATURES
10138 if test -z "$defaultval"; then
10139 if test x"$enablestring" = xdisable; then
10146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10147 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10148 # Check whether --enable-checklst was given.
10149 if test "${enable_checklst+set}" = set; then
10150 enableval=$enable_checklst;
10151 if test "$enableval" = yes; then
10152 wx_cv_use_checklst='wxUSE_CHECKLST
=yes'
10154 wx_cv_use_checklst='wxUSE_CHECKLST
=no
'
10159 wx_cv_use_checklst='wxUSE_CHECKLST
=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10164 eval "$wx_cv_use_checklst"
10166 if test x"$enablestring" = xdisable; then
10167 if test $wxUSE_CHECKLST = no; then
10173 result=$wxUSE_CHECKLST
10176 { echo "$as_me:$LINENO: result
: $result" >&5
10177 echo "${ECHO_T}$result" >&6; }
10181 defaultval=$wxUSE_ALL_FEATURES
10182 if test -z "$defaultval"; then
10183 if test x"$enablestring" = xdisable; then
10190 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choice" >&5
10191 echo $ECHO_N "checking
for --${enablestring:-enable}-choice...
$ECHO_C" >&6; }
10192 # Check whether --enable-choice was given.
10193 if test "${enable_choice+set}" = set; then
10194 enableval=$enable_choice;
10195 if test "$enableval" = yes; then
10196 wx_cv_use_choice='wxUSE_CHOICE=yes'
10198 wx_cv_use_choice='wxUSE_CHOICE=no'
10203 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10208 eval "$wx_cv_use_choice"
10210 if test x
"$enablestring" = xdisable
; then
10211 if test $wxUSE_CHOICE = no
; then
10217 result
=$wxUSE_CHOICE
10220 { echo "$as_me:$LINENO: result: $result" >&5
10221 echo "${ECHO_T}$result" >&6; }
10225 defaultval
=$wxUSE_ALL_FEATURES
10226 if test -z "$defaultval"; then
10227 if test x
"$enablestring" = xdisable
; then
10234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10235 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10236 # Check whether --enable-choicebook was given.
10237 if test "${enable_choicebook+set}" = set; then
10238 enableval
=$enable_choicebook;
10239 if test "$enableval" = yes; then
10240 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
10242 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
10247 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10252 eval "$wx_cv_use_choicebook"
10254 if test x"$enablestring" = xdisable; then
10255 if test $wxUSE_CHOICEBOOK = no; then
10261 result=$wxUSE_CHOICEBOOK
10264 { echo "$as_me:$LINENO: result: $result" >&5
10265 echo "${ECHO_T}$result" >&6; }
10269 defaultval=$wxUSE_ALL_FEATURES
10270 if test -z "$defaultval"; then
10271 if test x"$enablestring" = xdisable; then
10278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10279 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10280 # Check whether --enable-collpane was given.
10281 if test "${enable_collpane+set}" = set; then
10282 enableval=$enable_collpane;
10283 if test "$enableval" = yes; then
10284 wx_cv_use_collpane='wxUSE_COLLPANE
=yes'
10286 wx_cv_use_collpane='wxUSE_COLLPANE
=no
'
10291 wx_cv_use_collpane='wxUSE_COLLPANE
=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10296 eval "$wx_cv_use_collpane"
10298 if test x"$enablestring" = xdisable; then
10299 if test $wxUSE_COLLPANE = no; then
10305 result=$wxUSE_COLLPANE
10308 { echo "$as_me:$LINENO: result
: $result" >&5
10309 echo "${ECHO_T}$result" >&6; }
10313 defaultval=$wxUSE_ALL_FEATURES
10314 if test -z "$defaultval"; then
10315 if test x"$enablestring" = xdisable; then
10322 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-colourpicker" >&5
10323 echo $ECHO_N "checking
for --${enablestring:-enable}-colourpicker...
$ECHO_C" >&6; }
10324 # Check whether --enable-colourpicker was given.
10325 if test "${enable_colourpicker+set}" = set; then
10326 enableval=$enable_colourpicker;
10327 if test "$enableval" = yes; then
10328 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10330 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10335 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10340 eval "$wx_cv_use_colourpicker"
10342 if test x
"$enablestring" = xdisable
; then
10343 if test $wxUSE_COLOURPICKERCTRL = no
; then
10349 result
=$wxUSE_COLOURPICKERCTRL
10352 { echo "$as_me:$LINENO: result: $result" >&5
10353 echo "${ECHO_T}$result" >&6; }
10357 defaultval
=$wxUSE_ALL_FEATURES
10358 if test -z "$defaultval"; then
10359 if test x
"$enablestring" = xdisable
; then
10366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10367 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10368 # Check whether --enable-combobox was given.
10369 if test "${enable_combobox+set}" = set; then
10370 enableval
=$enable_combobox;
10371 if test "$enableval" = yes; then
10372 wx_cv_use_combobox
='wxUSE_COMBOBOX=yes'
10374 wx_cv_use_combobox
='wxUSE_COMBOBOX=no'
10379 wx_cv_use_combobox
='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10384 eval "$wx_cv_use_combobox"
10386 if test x"$enablestring" = xdisable; then
10387 if test $wxUSE_COMBOBOX = no; then
10393 result=$wxUSE_COMBOBOX
10396 { echo "$as_me:$LINENO: result: $result" >&5
10397 echo "${ECHO_T}$result" >&6; }
10401 defaultval=$wxUSE_ALL_FEATURES
10402 if test -z "$defaultval"; then
10403 if test x"$enablestring" = xdisable; then
10410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10411 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10412 # Check whether --enable-comboctrl was given.
10413 if test "${enable_comboctrl+set}" = set; then
10414 enableval=$enable_comboctrl;
10415 if test "$enableval" = yes; then
10416 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=yes'
10418 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=no
'
10423 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10428 eval "$wx_cv_use_comboctrl"
10430 if test x"$enablestring" = xdisable; then
10431 if test $wxUSE_COMBOCTRL = no; then
10437 result=$wxUSE_COMBOCTRL
10440 { echo "$as_me:$LINENO: result
: $result" >&5
10441 echo "${ECHO_T}$result" >&6; }
10445 defaultval=$wxUSE_ALL_FEATURES
10446 if test -z "$defaultval"; then
10447 if test x"$enablestring" = xdisable; then
10454 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataviewctrl" >&5
10455 echo $ECHO_N "checking
for --${enablestring:-enable}-dataviewctrl...
$ECHO_C" >&6; }
10456 # Check whether --enable-dataviewctrl was given.
10457 if test "${enable_dataviewctrl+set}" = set; then
10458 enableval=$enable_dataviewctrl;
10459 if test "$enableval" = yes; then
10460 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10462 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10467 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10472 eval "$wx_cv_use_dataviewctrl"
10474 if test x
"$enablestring" = xdisable
; then
10475 if test $wxUSE_DATAVIEWCTRL = no
; then
10481 result
=$wxUSE_DATAVIEWCTRL
10484 { echo "$as_me:$LINENO: result: $result" >&5
10485 echo "${ECHO_T}$result" >&6; }
10489 defaultval
=$wxUSE_ALL_FEATURES
10490 if test -z "$defaultval"; then
10491 if test x
"$enablestring" = xdisable
; then
10498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10499 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10500 # Check whether --enable-datepick was given.
10501 if test "${enable_datepick+set}" = set; then
10502 enableval
=$enable_datepick;
10503 if test "$enableval" = yes; then
10504 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
10506 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
10511 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10516 eval "$wx_cv_use_datepick"
10518 if test x"$enablestring" = xdisable; then
10519 if test $wxUSE_DATEPICKCTRL = no; then
10525 result=$wxUSE_DATEPICKCTRL
10528 { echo "$as_me:$LINENO: result: $result" >&5
10529 echo "${ECHO_T}$result" >&6; }
10533 defaultval=$wxUSE_ALL_FEATURES
10534 if test -z "$defaultval"; then
10535 if test x"$enablestring" = xdisable; then
10542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10543 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10544 # Check whether --enable-detect_sm was given.
10545 if test "${enable_detect_sm+set}" = set; then
10546 enableval=$enable_detect_sm;
10547 if test "$enableval" = yes; then
10548 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=yes'
10550 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=no
'
10555 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10560 eval "$wx_cv_use_detect_sm"
10562 if test x"$enablestring" = xdisable; then
10563 if test $wxUSE_DETECT_SM = no; then
10569 result=$wxUSE_DETECT_SM
10572 { echo "$as_me:$LINENO: result
: $result" >&5
10573 echo "${ECHO_T}$result" >&6; }
10577 defaultval=$wxUSE_ALL_FEATURES
10578 if test -z "$defaultval"; then
10579 if test x"$enablestring" = xdisable; then
10586 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirpicker" >&5
10587 echo $ECHO_N "checking
for --${enablestring:-enable}-dirpicker...
$ECHO_C" >&6; }
10588 # Check whether --enable-dirpicker was given.
10589 if test "${enable_dirpicker+set}" = set; then
10590 enableval=$enable_dirpicker;
10591 if test "$enableval" = yes; then
10592 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10594 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10599 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10604 eval "$wx_cv_use_dirpicker"
10606 if test x
"$enablestring" = xdisable
; then
10607 if test $wxUSE_DIRPICKERCTRL = no
; then
10613 result
=$wxUSE_DIRPICKERCTRL
10616 { echo "$as_me:$LINENO: result: $result" >&5
10617 echo "${ECHO_T}$result" >&6; }
10621 defaultval
=$wxUSE_ALL_FEATURES
10622 if test -z "$defaultval"; then
10623 if test x
"$enablestring" = xdisable
; then
10630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10631 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10632 # Check whether --enable-display was given.
10633 if test "${enable_display+set}" = set; then
10634 enableval
=$enable_display;
10635 if test "$enableval" = yes; then
10636 wx_cv_use_display
='wxUSE_DISPLAY=yes'
10638 wx_cv_use_display
='wxUSE_DISPLAY=no'
10643 wx_cv_use_display
='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10648 eval "$wx_cv_use_display"
10650 if test x"$enablestring" = xdisable; then
10651 if test $wxUSE_DISPLAY = no; then
10657 result=$wxUSE_DISPLAY
10660 { echo "$as_me:$LINENO: result: $result" >&5
10661 echo "${ECHO_T}$result" >&6; }
10665 defaultval=$wxUSE_ALL_FEATURES
10666 if test -z "$defaultval"; then
10667 if test x"$enablestring" = xdisable; then
10674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10675 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10676 # Check whether --enable-editablebox was given.
10677 if test "${enable_editablebox+set}" = set; then
10678 enableval=$enable_editablebox;
10679 if test "$enableval" = yes; then
10680 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=yes'
10682 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=no
'
10687 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10692 eval "$wx_cv_use_editablebox"
10694 if test x"$enablestring" = xdisable; then
10695 if test $wxUSE_EDITABLELISTBOX = no; then
10701 result=$wxUSE_EDITABLELISTBOX
10704 { echo "$as_me:$LINENO: result
: $result" >&5
10705 echo "${ECHO_T}$result" >&6; }
10709 defaultval=$wxUSE_ALL_FEATURES
10710 if test -z "$defaultval"; then
10711 if test x"$enablestring" = xdisable; then
10718 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filectrl" >&5
10719 echo $ECHO_N "checking
for --${enablestring:-enable}-filectrl...
$ECHO_C" >&6; }
10720 # Check whether --enable-filectrl was given.
10721 if test "${enable_filectrl+set}" = set; then
10722 enableval=$enable_filectrl;
10723 if test "$enableval" = yes; then
10724 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10726 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10731 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10736 eval "$wx_cv_use_filectrl"
10738 if test x
"$enablestring" = xdisable
; then
10739 if test $wxUSE_FILECTRL = no
; then
10745 result
=$wxUSE_FILECTRL
10748 { echo "$as_me:$LINENO: result: $result" >&5
10749 echo "${ECHO_T}$result" >&6; }
10753 defaultval
=$wxUSE_ALL_FEATURES
10754 if test -z "$defaultval"; then
10755 if test x
"$enablestring" = xdisable
; then
10762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10763 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10764 # Check whether --enable-filepicker was given.
10765 if test "${enable_filepicker+set}" = set; then
10766 enableval
=$enable_filepicker;
10767 if test "$enableval" = yes; then
10768 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
10770 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
10775 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10780 eval "$wx_cv_use_filepicker"
10782 if test x"$enablestring" = xdisable; then
10783 if test $wxUSE_FILEPICKERCTRL = no; then
10789 result=$wxUSE_FILEPICKERCTRL
10792 { echo "$as_me:$LINENO: result: $result" >&5
10793 echo "${ECHO_T}$result" >&6; }
10797 defaultval=$wxUSE_ALL_FEATURES
10798 if test -z "$defaultval"; then
10799 if test x"$enablestring" = xdisable; then
10806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10807 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10808 # Check whether --enable-fontpicker was given.
10809 if test "${enable_fontpicker+set}" = set; then
10810 enableval=$enable_fontpicker;
10811 if test "$enableval" = yes; then
10812 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=yes'
10814 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=no
'
10819 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10824 eval "$wx_cv_use_fontpicker"
10826 if test x"$enablestring" = xdisable; then
10827 if test $wxUSE_FONTPICKERCTRL = no; then
10833 result=$wxUSE_FONTPICKERCTRL
10836 { echo "$as_me:$LINENO: result
: $result" >&5
10837 echo "${ECHO_T}$result" >&6; }
10841 defaultval=$wxUSE_ALL_FEATURES
10842 if test -z "$defaultval"; then
10843 if test x"$enablestring" = xdisable; then
10850 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gauge" >&5
10851 echo $ECHO_N "checking
for --${enablestring:-enable}-gauge...
$ECHO_C" >&6; }
10852 # Check whether --enable-gauge was given.
10853 if test "${enable_gauge+set}" = set; then
10854 enableval=$enable_gauge;
10855 if test "$enableval" = yes; then
10856 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10858 wx_cv_use_gauge='wxUSE_GAUGE=no'
10863 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10868 eval "$wx_cv_use_gauge"
10870 if test x
"$enablestring" = xdisable
; then
10871 if test $wxUSE_GAUGE = no
; then
10877 result
=$wxUSE_GAUGE
10880 { echo "$as_me:$LINENO: result: $result" >&5
10881 echo "${ECHO_T}$result" >&6; }
10885 defaultval
=$wxUSE_ALL_FEATURES
10886 if test -z "$defaultval"; then
10887 if test x
"$enablestring" = xdisable
; then
10894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10895 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10896 # Check whether --enable-grid was given.
10897 if test "${enable_grid+set}" = set; then
10898 enableval
=$enable_grid;
10899 if test "$enableval" = yes; then
10900 wx_cv_use_grid
='wxUSE_GRID=yes'
10902 wx_cv_use_grid
='wxUSE_GRID=no'
10907 wx_cv_use_grid
='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10912 eval "$wx_cv_use_grid"
10914 if test x"$enablestring" = xdisable; then
10915 if test $wxUSE_GRID = no; then
10924 { echo "$as_me:$LINENO: result: $result" >&5
10925 echo "${ECHO_T}$result" >&6; }
10929 defaultval=$wxUSE_ALL_FEATURES
10930 if test -z "$defaultval"; then
10931 if test x"$enablestring" = xdisable; then
10938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10939 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10940 # Check whether --enable-headerctrl was given.
10941 if test "${enable_headerctrl+set}" = set; then
10942 enableval=$enable_headerctrl;
10943 if test "$enableval" = yes; then
10944 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=yes'
10946 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=no
'
10951 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10956 eval "$wx_cv_use_headerctrl"
10958 if test x"$enablestring" = xdisable; then
10959 if test $wxUSE_HEADERCTRL = no; then
10965 result=$wxUSE_HEADERCTRL
10968 { echo "$as_me:$LINENO: result
: $result" >&5
10969 echo "${ECHO_T}$result" >&6; }
10973 defaultval=$wxUSE_ALL_FEATURES
10974 if test -z "$defaultval"; then
10975 if test x"$enablestring" = xdisable; then
10982 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-hyperlink" >&5
10983 echo $ECHO_N "checking
for --${enablestring:-enable}-hyperlink...
$ECHO_C" >&6; }
10984 # Check whether --enable-hyperlink was given.
10985 if test "${enable_hyperlink+set}" = set; then
10986 enableval=$enable_hyperlink;
10987 if test "$enableval" = yes; then
10988 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10990 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10995 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11000 eval "$wx_cv_use_hyperlink"
11002 if test x
"$enablestring" = xdisable
; then
11003 if test $wxUSE_HYPERLINKCTRL = no
; then
11009 result
=$wxUSE_HYPERLINKCTRL
11012 { echo "$as_me:$LINENO: result: $result" >&5
11013 echo "${ECHO_T}$result" >&6; }
11017 defaultval
=$wxUSE_ALL_FEATURES
11018 if test -z "$defaultval"; then
11019 if test x
"$enablestring" = xdisable
; then
11026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11027 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11028 # Check whether --enable-imaglist was given.
11029 if test "${enable_imaglist+set}" = set; then
11030 enableval
=$enable_imaglist;
11031 if test "$enableval" = yes; then
11032 wx_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
11034 wx_cv_use_imaglist
='wxUSE_IMAGLIST=no'
11039 wx_cv_use_imaglist
='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11044 eval "$wx_cv_use_imaglist"
11046 if test x"$enablestring" = xdisable; then
11047 if test $wxUSE_IMAGLIST = no; then
11053 result=$wxUSE_IMAGLIST
11056 { echo "$as_me:$LINENO: result: $result" >&5
11057 echo "${ECHO_T}$result" >&6; }
11061 defaultval=$wxUSE_ALL_FEATURES
11062 if test -z "$defaultval"; then
11063 if test x"$enablestring" = xdisable; then
11070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11071 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11072 # Check whether --enable-infobar was given.
11073 if test "${enable_infobar+set}" = set; then
11074 enableval=$enable_infobar;
11075 if test "$enableval" = yes; then
11076 wx_cv_use_infobar='wxUSE_INFOBAR
=yes'
11078 wx_cv_use_infobar='wxUSE_INFOBAR
=no
'
11083 wx_cv_use_infobar='wxUSE_INFOBAR
=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11088 eval "$wx_cv_use_infobar"
11090 if test x"$enablestring" = xdisable; then
11091 if test $wxUSE_INFOBAR = no; then
11097 result=$wxUSE_INFOBAR
11100 { echo "$as_me:$LINENO: result
: $result" >&5
11101 echo "${ECHO_T}$result" >&6; }
11105 defaultval=$wxUSE_ALL_FEATURES
11106 if test -z "$defaultval"; then
11107 if test x"$enablestring" = xdisable; then
11114 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbook" >&5
11115 echo $ECHO_N "checking
for --${enablestring:-enable}-listbook...
$ECHO_C" >&6; }
11116 # Check whether --enable-listbook was given.
11117 if test "${enable_listbook+set}" = set; then
11118 enableval=$enable_listbook;
11119 if test "$enableval" = yes; then
11120 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11122 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11127 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11132 eval "$wx_cv_use_listbook"
11134 if test x
"$enablestring" = xdisable
; then
11135 if test $wxUSE_LISTBOOK = no
; then
11141 result
=$wxUSE_LISTBOOK
11144 { echo "$as_me:$LINENO: result: $result" >&5
11145 echo "${ECHO_T}$result" >&6; }
11149 defaultval
=$wxUSE_ALL_FEATURES
11150 if test -z "$defaultval"; then
11151 if test x
"$enablestring" = xdisable
; then
11158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11159 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11160 # Check whether --enable-listbox was given.
11161 if test "${enable_listbox+set}" = set; then
11162 enableval
=$enable_listbox;
11163 if test "$enableval" = yes; then
11164 wx_cv_use_listbox
='wxUSE_LISTBOX=yes'
11166 wx_cv_use_listbox
='wxUSE_LISTBOX=no'
11171 wx_cv_use_listbox
='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11176 eval "$wx_cv_use_listbox"
11178 if test x"$enablestring" = xdisable; then
11179 if test $wxUSE_LISTBOX = no; then
11185 result=$wxUSE_LISTBOX
11188 { echo "$as_me:$LINENO: result: $result" >&5
11189 echo "${ECHO_T}$result" >&6; }
11193 defaultval=$wxUSE_ALL_FEATURES
11194 if test -z "$defaultval"; then
11195 if test x"$enablestring" = xdisable; then
11202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11203 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11204 # Check whether --enable-listctrl was given.
11205 if test "${enable_listctrl+set}" = set; then
11206 enableval=$enable_listctrl;
11207 if test "$enableval" = yes; then
11208 wx_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
11210 wx_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
11215 wx_cv_use_listctrl='wxUSE_LISTCTRL
=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11220 eval "$wx_cv_use_listctrl"
11222 if test x"$enablestring" = xdisable; then
11223 if test $wxUSE_LISTCTRL = no; then
11229 result=$wxUSE_LISTCTRL
11232 { echo "$as_me:$LINENO: result
: $result" >&5
11233 echo "${ECHO_T}$result" >&6; }
11237 defaultval=$wxUSE_ALL_FEATURES
11238 if test -z "$defaultval"; then
11239 if test x"$enablestring" = xdisable; then
11246 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-notebook" >&5
11247 echo $ECHO_N "checking
for --${enablestring:-enable}-notebook...
$ECHO_C" >&6; }
11248 # Check whether --enable-notebook was given.
11249 if test "${enable_notebook+set}" = set; then
11250 enableval=$enable_notebook;
11251 if test "$enableval" = yes; then
11252 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11254 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11259 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11264 eval "$wx_cv_use_notebook"
11266 if test x
"$enablestring" = xdisable
; then
11267 if test $wxUSE_NOTEBOOK = no
; then
11273 result
=$wxUSE_NOTEBOOK
11276 { echo "$as_me:$LINENO: result: $result" >&5
11277 echo "${ECHO_T}$result" >&6; }
11281 defaultval
=$wxUSE_ALL_FEATURES
11282 if test -z "$defaultval"; then
11283 if test x
"$enablestring" = xdisable
; then
11290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11291 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11292 # Check whether --enable-notifmsg was given.
11293 if test "${enable_notifmsg+set}" = set; then
11294 enableval
=$enable_notifmsg;
11295 if test "$enableval" = yes; then
11296 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=yes'
11298 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=no'
11303 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11308 eval "$wx_cv_use_notifmsg"
11310 if test x"$enablestring" = xdisable; then
11311 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11317 result=$wxUSE_NOTIFICATION_MESSAGE
11320 { echo "$as_me:$LINENO: result: $result" >&5
11321 echo "${ECHO_T}$result" >&6; }
11325 defaultval=$wxUSE_ALL_FEATURES
11326 if test -z "$defaultval"; then
11327 if test x"$enablestring" = xdisable; then
11334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11335 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11336 # Check whether --enable-odcombobox was given.
11337 if test "${enable_odcombobox+set}" = set; then
11338 enableval=$enable_odcombobox;
11339 if test "$enableval" = yes; then
11340 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=yes'
11342 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=no
'
11347 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11352 eval "$wx_cv_use_odcombobox"
11354 if test x"$enablestring" = xdisable; then
11355 if test $wxUSE_ODCOMBOBOX = no; then
11361 result=$wxUSE_ODCOMBOBOX
11364 { echo "$as_me:$LINENO: result
: $result" >&5
11365 echo "${ECHO_T}$result" >&6; }
11369 defaultval=$wxUSE_ALL_FEATURES
11370 if test -z "$defaultval"; then
11371 if test x"$enablestring" = xdisable; then
11378 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-popupwin" >&5
11379 echo $ECHO_N "checking
for --${enablestring:-enable}-popupwin...
$ECHO_C" >&6; }
11380 # Check whether --enable-popupwin was given.
11381 if test "${enable_popupwin+set}" = set; then
11382 enableval=$enable_popupwin;
11383 if test "$enableval" = yes; then
11384 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11386 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11391 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11396 eval "$wx_cv_use_popupwin"
11398 if test x
"$enablestring" = xdisable
; then
11399 if test $wxUSE_POPUPWIN = no
; then
11405 result
=$wxUSE_POPUPWIN
11408 { echo "$as_me:$LINENO: result: $result" >&5
11409 echo "${ECHO_T}$result" >&6; }
11413 defaultval
=$wxUSE_ALL_FEATURES
11414 if test -z "$defaultval"; then
11415 if test x
"$enablestring" = xdisable
; then
11422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11423 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11424 # Check whether --enable-radiobox was given.
11425 if test "${enable_radiobox+set}" = set; then
11426 enableval
=$enable_radiobox;
11427 if test "$enableval" = yes; then
11428 wx_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
11430 wx_cv_use_radiobox
='wxUSE_RADIOBOX=no'
11435 wx_cv_use_radiobox
='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11440 eval "$wx_cv_use_radiobox"
11442 if test x"$enablestring" = xdisable; then
11443 if test $wxUSE_RADIOBOX = no; then
11449 result=$wxUSE_RADIOBOX
11452 { echo "$as_me:$LINENO: result: $result" >&5
11453 echo "${ECHO_T}$result" >&6; }
11457 defaultval=$wxUSE_ALL_FEATURES
11458 if test -z "$defaultval"; then
11459 if test x"$enablestring" = xdisable; then
11466 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11467 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11468 # Check whether --enable-radiobtn was given.
11469 if test "${enable_radiobtn+set}" = set; then
11470 enableval=$enable_radiobtn;
11471 if test "$enableval" = yes; then
11472 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
11474 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
11479 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11484 eval "$wx_cv_use_radiobtn"
11486 if test x"$enablestring" = xdisable; then
11487 if test $wxUSE_RADIOBTN = no; then
11493 result=$wxUSE_RADIOBTN
11496 { echo "$as_me:$LINENO: result
: $result" >&5
11497 echo "${ECHO_T}$result" >&6; }
11501 defaultval=$wxUSE_ALL_FEATURES
11502 if test -z "$defaultval"; then
11503 if test x"$enablestring" = xdisable; then
11510 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-rearrangectrl" >&5
11511 echo $ECHO_N "checking
for --${enablestring:-enable}-rearrangectrl...
$ECHO_C" >&6; }
11512 # Check whether --enable-rearrangectrl was given.
11513 if test "${enable_rearrangectrl+set}" = set; then
11514 enableval=$enable_rearrangectrl;
11515 if test "$enableval" = yes; then
11516 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11518 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11523 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11528 eval "$wx_cv_use_rearrangectrl"
11530 if test x
"$enablestring" = xdisable
; then
11531 if test $wxUSE_REARRANGECTRL = no
; then
11537 result
=$wxUSE_REARRANGECTRL
11540 { echo "$as_me:$LINENO: result: $result" >&5
11541 echo "${ECHO_T}$result" >&6; }
11545 defaultval
=$wxUSE_ALL_FEATURES
11546 if test -z "$defaultval"; then
11547 if test x
"$enablestring" = xdisable
; then
11554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11555 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11556 # Check whether --enable-sash was given.
11557 if test "${enable_sash+set}" = set; then
11558 enableval
=$enable_sash;
11559 if test "$enableval" = yes; then
11560 wx_cv_use_sash
='wxUSE_SASH=yes'
11562 wx_cv_use_sash
='wxUSE_SASH=no'
11567 wx_cv_use_sash
='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11572 eval "$wx_cv_use_sash"
11574 if test x"$enablestring" = xdisable; then
11575 if test $wxUSE_SASH = no; then
11584 { echo "$as_me:$LINENO: result: $result" >&5
11585 echo "${ECHO_T}$result" >&6; }
11589 defaultval=$wxUSE_ALL_FEATURES
11590 if test -z "$defaultval"; then
11591 if test x"$enablestring" = xdisable; then
11598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11599 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11600 # Check whether --enable-scrollbar was given.
11601 if test "${enable_scrollbar+set}" = set; then
11602 enableval=$enable_scrollbar;
11603 if test "$enableval" = yes; then
11604 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
11606 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
11611 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11616 eval "$wx_cv_use_scrollbar"
11618 if test x"$enablestring" = xdisable; then
11619 if test $wxUSE_SCROLLBAR = no; then
11625 result=$wxUSE_SCROLLBAR
11628 { echo "$as_me:$LINENO: result
: $result" >&5
11629 echo "${ECHO_T}$result" >&6; }
11633 defaultval=$wxUSE_ALL_FEATURES
11634 if test -z "$defaultval"; then
11635 if test x"$enablestring" = xdisable; then
11642 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-searchctrl" >&5
11643 echo $ECHO_N "checking
for --${enablestring:-enable}-searchctrl...
$ECHO_C" >&6; }
11644 # Check whether --enable-searchctrl was given.
11645 if test "${enable_searchctrl+set}" = set; then
11646 enableval=$enable_searchctrl;
11647 if test "$enableval" = yes; then
11648 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11650 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11655 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11660 eval "$wx_cv_use_searchctrl"
11662 if test x
"$enablestring" = xdisable
; then
11663 if test $wxUSE_SEARCHCTRL = no
; then
11669 result
=$wxUSE_SEARCHCTRL
11672 { echo "$as_me:$LINENO: result: $result" >&5
11673 echo "${ECHO_T}$result" >&6; }
11677 defaultval
=$wxUSE_ALL_FEATURES
11678 if test -z "$defaultval"; then
11679 if test x
"$enablestring" = xdisable
; then
11686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11687 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11688 # Check whether --enable-slider was given.
11689 if test "${enable_slider+set}" = set; then
11690 enableval
=$enable_slider;
11691 if test "$enableval" = yes; then
11692 wx_cv_use_slider
='wxUSE_SLIDER=yes'
11694 wx_cv_use_slider
='wxUSE_SLIDER=no'
11699 wx_cv_use_slider
='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11704 eval "$wx_cv_use_slider"
11706 if test x"$enablestring" = xdisable; then
11707 if test $wxUSE_SLIDER = no; then
11713 result=$wxUSE_SLIDER
11716 { echo "$as_me:$LINENO: result: $result" >&5
11717 echo "${ECHO_T}$result" >&6; }
11721 defaultval=$wxUSE_ALL_FEATURES
11722 if test -z "$defaultval"; then
11723 if test x"$enablestring" = xdisable; then
11730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11731 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11732 # Check whether --enable-spinbtn was given.
11733 if test "${enable_spinbtn+set}" = set; then
11734 enableval=$enable_spinbtn;
11735 if test "$enableval" = yes; then
11736 wx_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
11738 wx_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
11743 wx_cv_use_spinbtn='wxUSE_SPINBTN
=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11748 eval "$wx_cv_use_spinbtn"
11750 if test x"$enablestring" = xdisable; then
11751 if test $wxUSE_SPINBTN = no; then
11757 result=$wxUSE_SPINBTN
11760 { echo "$as_me:$LINENO: result
: $result" >&5
11761 echo "${ECHO_T}$result" >&6; }
11765 defaultval=$wxUSE_ALL_FEATURES
11766 if test -z "$defaultval"; then
11767 if test x"$enablestring" = xdisable; then
11774 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinctrl" >&5
11775 echo $ECHO_N "checking
for --${enablestring:-enable}-spinctrl...
$ECHO_C" >&6; }
11776 # Check whether --enable-spinctrl was given.
11777 if test "${enable_spinctrl+set}" = set; then
11778 enableval=$enable_spinctrl;
11779 if test "$enableval" = yes; then
11780 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11782 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11787 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11792 eval "$wx_cv_use_spinctrl"
11794 if test x
"$enablestring" = xdisable
; then
11795 if test $wxUSE_SPINCTRL = no
; then
11801 result
=$wxUSE_SPINCTRL
11804 { echo "$as_me:$LINENO: result: $result" >&5
11805 echo "${ECHO_T}$result" >&6; }
11809 defaultval
=$wxUSE_ALL_FEATURES
11810 if test -z "$defaultval"; then
11811 if test x
"$enablestring" = xdisable
; then
11818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11819 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11820 # Check whether --enable-splitter was given.
11821 if test "${enable_splitter+set}" = set; then
11822 enableval
=$enable_splitter;
11823 if test "$enableval" = yes; then
11824 wx_cv_use_splitter
='wxUSE_SPLITTER=yes'
11826 wx_cv_use_splitter
='wxUSE_SPLITTER=no'
11831 wx_cv_use_splitter
='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11836 eval "$wx_cv_use_splitter"
11838 if test x"$enablestring" = xdisable; then
11839 if test $wxUSE_SPLITTER = no; then
11845 result=$wxUSE_SPLITTER
11848 { echo "$as_me:$LINENO: result: $result" >&5
11849 echo "${ECHO_T}$result" >&6; }
11853 defaultval=$wxUSE_ALL_FEATURES
11854 if test -z "$defaultval"; then
11855 if test x"$enablestring" = xdisable; then
11862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11863 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11864 # Check whether --enable-statbmp was given.
11865 if test "${enable_statbmp+set}" = set; then
11866 enableval=$enable_statbmp;
11867 if test "$enableval" = yes; then
11868 wx_cv_use_statbmp='wxUSE_STATBMP
=yes'
11870 wx_cv_use_statbmp='wxUSE_STATBMP
=no
'
11875 wx_cv_use_statbmp='wxUSE_STATBMP
=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11880 eval "$wx_cv_use_statbmp"
11882 if test x"$enablestring" = xdisable; then
11883 if test $wxUSE_STATBMP = no; then
11889 result=$wxUSE_STATBMP
11892 { echo "$as_me:$LINENO: result
: $result" >&5
11893 echo "${ECHO_T}$result" >&6; }
11897 defaultval=$wxUSE_ALL_FEATURES
11898 if test -z "$defaultval"; then
11899 if test x"$enablestring" = xdisable; then
11906 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbox" >&5
11907 echo $ECHO_N "checking
for --${enablestring:-enable}-statbox...
$ECHO_C" >&6; }
11908 # Check whether --enable-statbox was given.
11909 if test "${enable_statbox+set}" = set; then
11910 enableval=$enable_statbox;
11911 if test "$enableval" = yes; then
11912 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11914 wx_cv_use_statbox='wxUSE_STATBOX=no'
11919 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11924 eval "$wx_cv_use_statbox"
11926 if test x
"$enablestring" = xdisable
; then
11927 if test $wxUSE_STATBOX = no
; then
11933 result
=$wxUSE_STATBOX
11936 { echo "$as_me:$LINENO: result: $result" >&5
11937 echo "${ECHO_T}$result" >&6; }
11941 defaultval
=$wxUSE_ALL_FEATURES
11942 if test -z "$defaultval"; then
11943 if test x
"$enablestring" = xdisable
; then
11950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11951 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11952 # Check whether --enable-statline was given.
11953 if test "${enable_statline+set}" = set; then
11954 enableval
=$enable_statline;
11955 if test "$enableval" = yes; then
11956 wx_cv_use_statline
='wxUSE_STATLINE=yes'
11958 wx_cv_use_statline
='wxUSE_STATLINE=no'
11963 wx_cv_use_statline
='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11968 eval "$wx_cv_use_statline"
11970 if test x"$enablestring" = xdisable; then
11971 if test $wxUSE_STATLINE = no; then
11977 result=$wxUSE_STATLINE
11980 { echo "$as_me:$LINENO: result: $result" >&5
11981 echo "${ECHO_T}$result" >&6; }
11985 defaultval=$wxUSE_ALL_FEATURES
11986 if test -z "$defaultval"; then
11987 if test x"$enablestring" = xdisable; then
11994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11995 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11996 # Check whether --enable-stattext was given.
11997 if test "${enable_stattext+set}" = set; then
11998 enableval=$enable_stattext;
11999 if test "$enableval" = yes; then
12000 wx_cv_use_stattext='wxUSE_STATTEXT
=yes'
12002 wx_cv_use_stattext='wxUSE_STATTEXT
=no
'
12007 wx_cv_use_stattext='wxUSE_STATTEXT
=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12012 eval "$wx_cv_use_stattext"
12014 if test x"$enablestring" = xdisable; then
12015 if test $wxUSE_STATTEXT = no; then
12021 result=$wxUSE_STATTEXT
12024 { echo "$as_me:$LINENO: result
: $result" >&5
12025 echo "${ECHO_T}$result" >&6; }
12029 defaultval=$wxUSE_ALL_FEATURES
12030 if test -z "$defaultval"; then
12031 if test x"$enablestring" = xdisable; then
12038 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statusbar" >&5
12039 echo $ECHO_N "checking
for --${enablestring:-enable}-statusbar...
$ECHO_C" >&6; }
12040 # Check whether --enable-statusbar was given.
12041 if test "${enable_statusbar+set}" = set; then
12042 enableval=$enable_statusbar;
12043 if test "$enableval" = yes; then
12044 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12046 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12051 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12056 eval "$wx_cv_use_statusbar"
12058 if test x
"$enablestring" = xdisable
; then
12059 if test $wxUSE_STATUSBAR = no
; then
12065 result
=$wxUSE_STATUSBAR
12068 { echo "$as_me:$LINENO: result: $result" >&5
12069 echo "${ECHO_T}$result" >&6; }
12073 defaultval
=$wxUSE_ALL_FEATURES
12074 if test -z "$defaultval"; then
12075 if test x
"$enablestring" = xdisable
; then
12082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12083 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12084 # Check whether --enable-taskbaricon was given.
12085 if test "${enable_taskbaricon+set}" = set; then
12086 enableval
=$enable_taskbaricon;
12087 if test "$enableval" = yes; then
12088 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=yes'
12090 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=no'
12095 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12100 eval "$wx_cv_use_taskbaricon"
12102 if test x"$enablestring" = xdisable; then
12103 if test $wxUSE_TASKBARICON = no; then
12109 result=$wxUSE_TASKBARICON
12112 { echo "$as_me:$LINENO: result: $result" >&5
12113 echo "${ECHO_T}$result" >&6; }
12117 defaultval=$wxUSE_ALL_FEATURES
12118 if test -z "$defaultval"; then
12119 if test x"$enablestring" = xdisable; then
12126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12127 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12128 # Check whether --enable-tbarnative was given.
12129 if test "${enable_tbarnative+set}" = set; then
12130 enableval=$enable_tbarnative;
12131 if test "$enableval" = yes; then
12132 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
12134 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
12139 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12144 eval "$wx_cv_use_tbarnative"
12146 if test x"$enablestring" = xdisable; then
12147 if test $wxUSE_TOOLBAR_NATIVE = no; then
12153 result=$wxUSE_TOOLBAR_NATIVE
12156 { echo "$as_me:$LINENO: result
: $result" >&5
12157 echo "${ECHO_T}$result" >&6; }
12161 defaultval=$wxUSE_ALL_FEATURES
12162 if test -z "$defaultval"; then
12163 if test x"$enablestring" = xdisable; then
12170 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textctrl" >&5
12171 echo $ECHO_N "checking
for --${enablestring:-enable}-textctrl...
$ECHO_C" >&6; }
12172 # Check whether --enable-textctrl was given.
12173 if test "${enable_textctrl+set}" = set; then
12174 enableval=$enable_textctrl;
12175 if test "$enableval" = yes; then
12176 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12178 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12183 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12188 eval "$wx_cv_use_textctrl"
12190 if test x
"$enablestring" = xdisable
; then
12191 if test $wxUSE_TEXTCTRL = no
; then
12197 result
=$wxUSE_TEXTCTRL
12200 { echo "$as_me:$LINENO: result: $result" >&5
12201 echo "${ECHO_T}$result" >&6; }
12205 defaultval
=$wxUSE_ALL_FEATURES
12206 if test -z "$defaultval"; then
12207 if test x
"$enablestring" = xdisable
; then
12214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12215 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12216 # Check whether --enable-tipwindow was given.
12217 if test "${enable_tipwindow+set}" = set; then
12218 enableval
=$enable_tipwindow;
12219 if test "$enableval" = yes; then
12220 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
12222 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
12227 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12232 eval "$wx_cv_use_tipwindow"
12234 if test x"$enablestring" = xdisable; then
12235 if test $wxUSE_TIPWINDOW = no; then
12241 result=$wxUSE_TIPWINDOW
12244 { echo "$as_me:$LINENO: result: $result" >&5
12245 echo "${ECHO_T}$result" >&6; }
12249 defaultval=$wxUSE_ALL_FEATURES
12250 if test -z "$defaultval"; then
12251 if test x"$enablestring" = xdisable; then
12258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12259 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12260 # Check whether --enable-togglebtn was given.
12261 if test "${enable_togglebtn+set}" = set; then
12262 enableval=$enable_togglebtn;
12263 if test "$enableval" = yes; then
12264 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
12266 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
12271 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12276 eval "$wx_cv_use_togglebtn"
12278 if test x"$enablestring" = xdisable; then
12279 if test $wxUSE_TOGGLEBTN = no; then
12285 result=$wxUSE_TOGGLEBTN
12288 { echo "$as_me:$LINENO: result
: $result" >&5
12289 echo "${ECHO_T}$result" >&6; }
12293 defaultval=$wxUSE_ALL_FEATURES
12294 if test -z "$defaultval"; then
12295 if test x"$enablestring" = xdisable; then
12302 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbar" >&5
12303 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbar...
$ECHO_C" >&6; }
12304 # Check whether --enable-toolbar was given.
12305 if test "${enable_toolbar+set}" = set; then
12306 enableval=$enable_toolbar;
12307 if test "$enableval" = yes; then
12308 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12310 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12315 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12320 eval "$wx_cv_use_toolbar"
12322 if test x
"$enablestring" = xdisable
; then
12323 if test $wxUSE_TOOLBAR = no
; then
12329 result
=$wxUSE_TOOLBAR
12332 { echo "$as_me:$LINENO: result: $result" >&5
12333 echo "${ECHO_T}$result" >&6; }
12337 defaultval
=$wxUSE_ALL_FEATURES
12338 if test -z "$defaultval"; then
12339 if test x
"$enablestring" = xdisable
; then
12346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12347 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12348 # Check whether --enable-toolbook was given.
12349 if test "${enable_toolbook+set}" = set; then
12350 enableval
=$enable_toolbook;
12351 if test "$enableval" = yes; then
12352 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
12354 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
12359 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12364 eval "$wx_cv_use_toolbook"
12366 if test x"$enablestring" = xdisable; then
12367 if test $wxUSE_TOOLBOOK = no; then
12373 result=$wxUSE_TOOLBOOK
12376 { echo "$as_me:$LINENO: result: $result" >&5
12377 echo "${ECHO_T}$result" >&6; }
12381 defaultval=$wxUSE_ALL_FEATURES
12382 if test -z "$defaultval"; then
12383 if test x"$enablestring" = xdisable; then
12390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12391 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12392 # Check whether --enable-treebook was given.
12393 if test "${enable_treebook+set}" = set; then
12394 enableval=$enable_treebook;
12395 if test "$enableval" = yes; then
12396 wx_cv_use_treebook='wxUSE_TREEBOOK
=yes'
12398 wx_cv_use_treebook='wxUSE_TREEBOOK
=no
'
12403 wx_cv_use_treebook='wxUSE_TREEBOOK
=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12408 eval "$wx_cv_use_treebook"
12410 if test x"$enablestring" = xdisable; then
12411 if test $wxUSE_TREEBOOK = no; then
12417 result=$wxUSE_TREEBOOK
12420 { echo "$as_me:$LINENO: result
: $result" >&5
12421 echo "${ECHO_T}$result" >&6; }
12425 defaultval=$wxUSE_ALL_FEATURES
12426 if test -z "$defaultval"; then
12427 if test x"$enablestring" = xdisable; then
12434 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treectrl" >&5
12435 echo $ECHO_N "checking
for --${enablestring:-enable}-treectrl...
$ECHO_C" >&6; }
12436 # Check whether --enable-treectrl was given.
12437 if test "${enable_treectrl+set}" = set; then
12438 enableval=$enable_treectrl;
12439 if test "$enableval" = yes; then
12440 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12442 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12447 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12452 eval "$wx_cv_use_treectrl"
12454 if test x
"$enablestring" = xdisable
; then
12455 if test $wxUSE_TREECTRL = no
; then
12461 result
=$wxUSE_TREECTRL
12464 { echo "$as_me:$LINENO: result: $result" >&5
12465 echo "${ECHO_T}$result" >&6; }
12471 defaultval
=$wxUSE_ALL_FEATURES
12472 if test -z "$defaultval"; then
12473 if test x
"$enablestring" = xdisable
; then
12480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12481 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12482 # Check whether --enable-commondlg was given.
12483 if test "${enable_commondlg+set}" = set; then
12484 enableval
=$enable_commondlg;
12485 if test "$enableval" = yes; then
12486 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
12488 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
12493 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12498 eval "$wx_cv_use_commondlg"
12500 if test x"$enablestring" = xdisable; then
12501 if test $wxUSE_COMMONDLGS = no; then
12507 result=$wxUSE_COMMONDLGS
12510 { echo "$as_me:$LINENO: result: $result" >&5
12511 echo "${ECHO_T}$result" >&6; }
12515 defaultval=$wxUSE_ALL_FEATURES
12516 if test -z "$defaultval"; then
12517 if test x"$enablestring" = xdisable; then
12524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12525 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12526 # Check whether --enable-aboutdlg was given.
12527 if test "${enable_aboutdlg+set}" = set; then
12528 enableval=$enable_aboutdlg;
12529 if test "$enableval" = yes; then
12530 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=yes'
12532 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=no
'
12537 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12542 eval "$wx_cv_use_aboutdlg"
12544 if test x"$enablestring" = xdisable; then
12545 if test $wxUSE_ABOUTDLG = no; then
12551 result=$wxUSE_ABOUTDLG
12554 { echo "$as_me:$LINENO: result
: $result" >&5
12555 echo "${ECHO_T}$result" >&6; }
12559 defaultval=$wxUSE_ALL_FEATURES
12560 if test -z "$defaultval"; then
12561 if test x"$enablestring" = xdisable; then
12568 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicedlg" >&5
12569 echo $ECHO_N "checking
for --${enablestring:-enable}-choicedlg...
$ECHO_C" >&6; }
12570 # Check whether --enable-choicedlg was given.
12571 if test "${enable_choicedlg+set}" = set; then
12572 enableval=$enable_choicedlg;
12573 if test "$enableval" = yes; then
12574 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12576 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12581 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12586 eval "$wx_cv_use_choicedlg"
12588 if test x
"$enablestring" = xdisable
; then
12589 if test $wxUSE_CHOICEDLG = no
; then
12595 result
=$wxUSE_CHOICEDLG
12598 { echo "$as_me:$LINENO: result: $result" >&5
12599 echo "${ECHO_T}$result" >&6; }
12603 defaultval
=$wxUSE_ALL_FEATURES
12604 if test -z "$defaultval"; then
12605 if test x
"$enablestring" = xdisable
; then
12612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12613 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12614 # Check whether --enable-coldlg was given.
12615 if test "${enable_coldlg+set}" = set; then
12616 enableval
=$enable_coldlg;
12617 if test "$enableval" = yes; then
12618 wx_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
12620 wx_cv_use_coldlg
='wxUSE_COLOURDLG=no'
12625 wx_cv_use_coldlg
='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12630 eval "$wx_cv_use_coldlg"
12632 if test x"$enablestring" = xdisable; then
12633 if test $wxUSE_COLOURDLG = no; then
12639 result=$wxUSE_COLOURDLG
12642 { echo "$as_me:$LINENO: result: $result" >&5
12643 echo "${ECHO_T}$result" >&6; }
12647 defaultval=$wxUSE_ALL_FEATURES
12648 if test -z "$defaultval"; then
12649 if test x"$enablestring" = xdisable; then
12656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12657 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12658 # Check whether --enable-filedlg was given.
12659 if test "${enable_filedlg+set}" = set; then
12660 enableval=$enable_filedlg;
12661 if test "$enableval" = yes; then
12662 wx_cv_use_filedlg='wxUSE_FILEDLG
=yes'
12664 wx_cv_use_filedlg='wxUSE_FILEDLG
=no
'
12669 wx_cv_use_filedlg='wxUSE_FILEDLG
=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12674 eval "$wx_cv_use_filedlg"
12676 if test x"$enablestring" = xdisable; then
12677 if test $wxUSE_FILEDLG = no; then
12683 result=$wxUSE_FILEDLG
12686 { echo "$as_me:$LINENO: result
: $result" >&5
12687 echo "${ECHO_T}$result" >&6; }
12691 defaultval=$wxUSE_ALL_FEATURES
12692 if test -z "$defaultval"; then
12693 if test x"$enablestring" = xdisable; then
12700 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-finddlg" >&5
12701 echo $ECHO_N "checking
for --${enablestring:-enable}-finddlg...
$ECHO_C" >&6; }
12702 # Check whether --enable-finddlg was given.
12703 if test "${enable_finddlg+set}" = set; then
12704 enableval=$enable_finddlg;
12705 if test "$enableval" = yes; then
12706 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12708 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12713 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12718 eval "$wx_cv_use_finddlg"
12720 if test x
"$enablestring" = xdisable
; then
12721 if test $wxUSE_FINDREPLDLG = no
; then
12727 result
=$wxUSE_FINDREPLDLG
12730 { echo "$as_me:$LINENO: result: $result" >&5
12731 echo "${ECHO_T}$result" >&6; }
12735 defaultval
=$wxUSE_ALL_FEATURES
12736 if test -z "$defaultval"; then
12737 if test x
"$enablestring" = xdisable
; then
12744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12745 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12746 # Check whether --enable-fontdlg was given.
12747 if test "${enable_fontdlg+set}" = set; then
12748 enableval
=$enable_fontdlg;
12749 if test "$enableval" = yes; then
12750 wx_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
12752 wx_cv_use_fontdlg
='wxUSE_FONTDLG=no'
12757 wx_cv_use_fontdlg
='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12762 eval "$wx_cv_use_fontdlg"
12764 if test x"$enablestring" = xdisable; then
12765 if test $wxUSE_FONTDLG = no; then
12771 result=$wxUSE_FONTDLG
12774 { echo "$as_me:$LINENO: result: $result" >&5
12775 echo "${ECHO_T}$result" >&6; }
12779 defaultval=$wxUSE_ALL_FEATURES
12780 if test -z "$defaultval"; then
12781 if test x"$enablestring" = xdisable; then
12788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12789 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12790 # Check whether --enable-dirdlg was given.
12791 if test "${enable_dirdlg+set}" = set; then
12792 enableval=$enable_dirdlg;
12793 if test "$enableval" = yes; then
12794 wx_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
12796 wx_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
12801 wx_cv_use_dirdlg='wxUSE_DIRDLG
=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12806 eval "$wx_cv_use_dirdlg"
12808 if test x"$enablestring" = xdisable; then
12809 if test $wxUSE_DIRDLG = no; then
12815 result=$wxUSE_DIRDLG
12818 { echo "$as_me:$LINENO: result
: $result" >&5
12819 echo "${ECHO_T}$result" >&6; }
12823 defaultval=$wxUSE_ALL_FEATURES
12824 if test -z "$defaultval"; then
12825 if test x"$enablestring" = xdisable; then
12832 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-msgdlg" >&5
12833 echo $ECHO_N "checking
for --${enablestring:-enable}-msgdlg...
$ECHO_C" >&6; }
12834 # Check whether --enable-msgdlg was given.
12835 if test "${enable_msgdlg+set}" = set; then
12836 enableval=$enable_msgdlg;
12837 if test "$enableval" = yes; then
12838 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12840 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12845 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12850 eval "$wx_cv_use_msgdlg"
12852 if test x
"$enablestring" = xdisable
; then
12853 if test $wxUSE_MSGDLG = no
; then
12859 result
=$wxUSE_MSGDLG
12862 { echo "$as_me:$LINENO: result: $result" >&5
12863 echo "${ECHO_T}$result" >&6; }
12867 defaultval
=$wxUSE_ALL_FEATURES
12868 if test -z "$defaultval"; then
12869 if test x
"$enablestring" = xdisable
; then
12876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12877 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12878 # Check whether --enable-numberdlg was given.
12879 if test "${enable_numberdlg+set}" = set; then
12880 enableval
=$enable_numberdlg;
12881 if test "$enableval" = yes; then
12882 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
12884 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
12889 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12894 eval "$wx_cv_use_numberdlg"
12896 if test x"$enablestring" = xdisable; then
12897 if test $wxUSE_NUMBERDLG = no; then
12903 result=$wxUSE_NUMBERDLG
12906 { echo "$as_me:$LINENO: result: $result" >&5
12907 echo "${ECHO_T}$result" >&6; }
12911 defaultval=$wxUSE_ALL_FEATURES
12912 if test -z "$defaultval"; then
12913 if test x"$enablestring" = xdisable; then
12920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12921 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12922 # Check whether --enable-splash was given.
12923 if test "${enable_splash+set}" = set; then
12924 enableval=$enable_splash;
12925 if test "$enableval" = yes; then
12926 wx_cv_use_splash='wxUSE_SPLASH
=yes'
12928 wx_cv_use_splash='wxUSE_SPLASH
=no
'
12933 wx_cv_use_splash='wxUSE_SPLASH
=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12938 eval "$wx_cv_use_splash"
12940 if test x"$enablestring" = xdisable; then
12941 if test $wxUSE_SPLASH = no; then
12947 result=$wxUSE_SPLASH
12950 { echo "$as_me:$LINENO: result
: $result" >&5
12951 echo "${ECHO_T}$result" >&6; }
12955 defaultval=$wxUSE_ALL_FEATURES
12956 if test -z "$defaultval"; then
12957 if test x"$enablestring" = xdisable; then
12964 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textdlg" >&5
12965 echo $ECHO_N "checking
for --${enablestring:-enable}-textdlg...
$ECHO_C" >&6; }
12966 # Check whether --enable-textdlg was given.
12967 if test "${enable_textdlg+set}" = set; then
12968 enableval=$enable_textdlg;
12969 if test "$enableval" = yes; then
12970 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12972 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12977 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12982 eval "$wx_cv_use_textdlg"
12984 if test x
"$enablestring" = xdisable
; then
12985 if test $wxUSE_TEXTDLG = no
; then
12991 result
=$wxUSE_TEXTDLG
12994 { echo "$as_me:$LINENO: result: $result" >&5
12995 echo "${ECHO_T}$result" >&6; }
12999 defaultval
=$wxUSE_ALL_FEATURES
13000 if test -z "$defaultval"; then
13001 if test x
"$enablestring" = xdisable
; then
13008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13009 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13010 # Check whether --enable-tipdlg was given.
13011 if test "${enable_tipdlg+set}" = set; then
13012 enableval
=$enable_tipdlg;
13013 if test "$enableval" = yes; then
13014 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
13016 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
13021 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13026 eval "$wx_cv_use_tipdlg"
13028 if test x"$enablestring" = xdisable; then
13029 if test $wxUSE_STARTUP_TIPS = no; then
13035 result=$wxUSE_STARTUP_TIPS
13038 { echo "$as_me:$LINENO: result: $result" >&5
13039 echo "${ECHO_T}$result" >&6; }
13043 defaultval=$wxUSE_ALL_FEATURES
13044 if test -z "$defaultval"; then
13045 if test x"$enablestring" = xdisable; then
13052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13053 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13054 # Check whether --enable-progressdlg was given.
13055 if test "${enable_progressdlg+set}" = set; then
13056 enableval=$enable_progressdlg;
13057 if test "$enableval" = yes; then
13058 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
13060 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
13065 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13070 eval "$wx_cv_use_progressdlg"
13072 if test x"$enablestring" = xdisable; then
13073 if test $wxUSE_PROGRESSDLG = no; then
13079 result=$wxUSE_PROGRESSDLG
13082 { echo "$as_me:$LINENO: result
: $result" >&5
13083 echo "${ECHO_T}$result" >&6; }
13087 defaultval=$wxUSE_ALL_FEATURES
13088 if test -z "$defaultval"; then
13089 if test x"$enablestring" = xdisable; then
13096 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wizarddlg" >&5
13097 echo $ECHO_N "checking
for --${enablestring:-enable}-wizarddlg...
$ECHO_C" >&6; }
13098 # Check whether --enable-wizarddlg was given.
13099 if test "${enable_wizarddlg+set}" = set; then
13100 enableval=$enable_wizarddlg;
13101 if test "$enableval" = yes; then
13102 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13104 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13109 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13114 eval "$wx_cv_use_wizarddlg"
13116 if test x
"$enablestring" = xdisable
; then
13117 if test $wxUSE_WIZARDDLG = no
; then
13123 result
=$wxUSE_WIZARDDLG
13126 { echo "$as_me:$LINENO: result: $result" >&5
13127 echo "${ECHO_T}$result" >&6; }
13133 defaultval
=$wxUSE_ALL_FEATURES
13134 if test -z "$defaultval"; then
13135 if test x
"$enablestring" = xdisable
; then
13142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13143 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13144 # Check whether --enable-menus was given.
13145 if test "${enable_menus+set}" = set; then
13146 enableval
=$enable_menus;
13147 if test "$enableval" = yes; then
13148 wx_cv_use_menus
='wxUSE_MENUS=yes'
13150 wx_cv_use_menus
='wxUSE_MENUS=no'
13155 wx_cv_use_menus
='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13160 eval "$wx_cv_use_menus"
13162 if test x"$enablestring" = xdisable; then
13163 if test $wxUSE_MENUS = no; then
13169 result=$wxUSE_MENUS
13172 { echo "$as_me:$LINENO: result: $result" >&5
13173 echo "${ECHO_T}$result" >&6; }
13177 defaultval=$wxUSE_ALL_FEATURES
13178 if test -z "$defaultval"; then
13179 if test x"$enablestring" = xdisable; then
13186 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13187 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13188 # Check whether --enable-miniframe was given.
13189 if test "${enable_miniframe+set}" = set; then
13190 enableval=$enable_miniframe;
13191 if test "$enableval" = yes; then
13192 wx_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
13194 wx_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
13199 wx_cv_use_miniframe='wxUSE_MINIFRAME
=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13204 eval "$wx_cv_use_miniframe"
13206 if test x"$enablestring" = xdisable; then
13207 if test $wxUSE_MINIFRAME = no; then
13213 result=$wxUSE_MINIFRAME
13216 { echo "$as_me:$LINENO: result
: $result" >&5
13217 echo "${ECHO_T}$result" >&6; }
13221 defaultval=$wxUSE_ALL_FEATURES
13222 if test -z "$defaultval"; then
13223 if test x"$enablestring" = xdisable; then
13230 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tooltips" >&5
13231 echo $ECHO_N "checking
for --${enablestring:-enable}-tooltips...
$ECHO_C" >&6; }
13232 # Check whether --enable-tooltips was given.
13233 if test "${enable_tooltips+set}" = set; then
13234 enableval=$enable_tooltips;
13235 if test "$enableval" = yes; then
13236 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13238 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13243 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13248 eval "$wx_cv_use_tooltips"
13250 if test x
"$enablestring" = xdisable
; then
13251 if test $wxUSE_TOOLTIPS = no
; then
13257 result
=$wxUSE_TOOLTIPS
13260 { echo "$as_me:$LINENO: result: $result" >&5
13261 echo "${ECHO_T}$result" >&6; }
13265 defaultval
=$wxUSE_ALL_FEATURES
13266 if test -z "$defaultval"; then
13267 if test x
"$enablestring" = xdisable
; then
13274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13275 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13276 # Check whether --enable-splines was given.
13277 if test "${enable_splines+set}" = set; then
13278 enableval
=$enable_splines;
13279 if test "$enableval" = yes; then
13280 wx_cv_use_splines
='wxUSE_SPLINES=yes'
13282 wx_cv_use_splines
='wxUSE_SPLINES=no'
13287 wx_cv_use_splines
='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13292 eval "$wx_cv_use_splines"
13294 if test x"$enablestring" = xdisable; then
13295 if test $wxUSE_SPLINES = no; then
13301 result=$wxUSE_SPLINES
13304 { echo "$as_me:$LINENO: result: $result" >&5
13305 echo "${ECHO_T}$result" >&6; }
13309 defaultval=$wxUSE_ALL_FEATURES
13310 if test -z "$defaultval"; then
13311 if test x"$enablestring" = xdisable; then
13318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13319 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13320 # Check whether --enable-mousewheel was given.
13321 if test "${enable_mousewheel+set}" = set; then
13322 enableval=$enable_mousewheel;
13323 if test "$enableval" = yes; then
13324 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
13326 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
13331 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13336 eval "$wx_cv_use_mousewheel"
13338 if test x"$enablestring" = xdisable; then
13339 if test $wxUSE_MOUSEWHEEL = no; then
13345 result=$wxUSE_MOUSEWHEEL
13348 { echo "$as_me:$LINENO: result
: $result" >&5
13349 echo "${ECHO_T}$result" >&6; }
13353 defaultval=$wxUSE_ALL_FEATURES
13354 if test -z "$defaultval"; then
13355 if test x"$enablestring" = xdisable; then
13362 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-validators" >&5
13363 echo $ECHO_N "checking
for --${enablestring:-enable}-validators...
$ECHO_C" >&6; }
13364 # Check whether --enable-validators was given.
13365 if test "${enable_validators+set}" = set; then
13366 enableval=$enable_validators;
13367 if test "$enableval" = yes; then
13368 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13370 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13375 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13380 eval "$wx_cv_use_validators"
13382 if test x
"$enablestring" = xdisable
; then
13383 if test $wxUSE_VALIDATORS = no
; then
13389 result
=$wxUSE_VALIDATORS
13392 { echo "$as_me:$LINENO: result: $result" >&5
13393 echo "${ECHO_T}$result" >&6; }
13397 defaultval
=$wxUSE_ALL_FEATURES
13398 if test -z "$defaultval"; then
13399 if test x
"$enablestring" = xdisable
; then
13406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13407 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13408 # Check whether --enable-busyinfo was given.
13409 if test "${enable_busyinfo+set}" = set; then
13410 enableval
=$enable_busyinfo;
13411 if test "$enableval" = yes; then
13412 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
13414 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
13419 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13424 eval "$wx_cv_use_busyinfo"
13426 if test x"$enablestring" = xdisable; then
13427 if test $wxUSE_BUSYINFO = no; then
13433 result=$wxUSE_BUSYINFO
13436 { echo "$as_me:$LINENO: result: $result" >&5
13437 echo "${ECHO_T}$result" >&6; }
13441 defaultval=$wxUSE_ALL_FEATURES
13442 if test -z "$defaultval"; then
13443 if test x"$enablestring" = xdisable; then
13450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13451 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13452 # Check whether --enable-joystick was given.
13453 if test "${enable_joystick+set}" = set; then
13454 enableval=$enable_joystick;
13455 if test "$enableval" = yes; then
13456 wx_cv_use_joystick='wxUSE_JOYSTICK
=yes'
13458 wx_cv_use_joystick='wxUSE_JOYSTICK
=no
'
13463 wx_cv_use_joystick='wxUSE_JOYSTICK
=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13468 eval "$wx_cv_use_joystick"
13470 if test x"$enablestring" = xdisable; then
13471 if test $wxUSE_JOYSTICK = no; then
13477 result=$wxUSE_JOYSTICK
13480 { echo "$as_me:$LINENO: result
: $result" >&5
13481 echo "${ECHO_T}$result" >&6; }
13485 defaultval=$wxUSE_ALL_FEATURES
13486 if test -z "$defaultval"; then
13487 if test x"$enablestring" = xdisable; then
13494 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
13495 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
13496 # Check whether --enable-metafile was given.
13497 if test "${enable_metafile+set}" = set; then
13498 enableval=$enable_metafile;
13499 if test "$enableval" = yes; then
13500 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13502 wx_cv_use_metafile='wxUSE_METAFILE=no'
13507 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13512 eval "$wx_cv_use_metafile"
13514 if test x
"$enablestring" = xdisable
; then
13515 if test $wxUSE_METAFILE = no
; then
13521 result
=$wxUSE_METAFILE
13524 { echo "$as_me:$LINENO: result: $result" >&5
13525 echo "${ECHO_T}$result" >&6; }
13529 defaultval
=$wxUSE_ALL_FEATURES
13530 if test -z "$defaultval"; then
13531 if test x
"$enablestring" = xdisable
; then
13538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13539 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13540 # Check whether --enable-dragimage was given.
13541 if test "${enable_dragimage+set}" = set; then
13542 enableval
=$enable_dragimage;
13543 if test "$enableval" = yes; then
13544 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
13546 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
13551 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13556 eval "$wx_cv_use_dragimage"
13558 if test x"$enablestring" = xdisable; then
13559 if test $wxUSE_DRAGIMAGE = no; then
13565 result=$wxUSE_DRAGIMAGE
13568 { echo "$as_me:$LINENO: result: $result" >&5
13569 echo "${ECHO_T}$result" >&6; }
13573 defaultval=$wxUSE_ALL_FEATURES
13574 if test -z "$defaultval"; then
13575 if test x"$enablestring" = xdisable; then
13582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13583 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13584 # Check whether --enable-accessibility was given.
13585 if test "${enable_accessibility+set}" = set; then
13586 enableval=$enable_accessibility;
13587 if test "$enableval" = yes; then
13588 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
13590 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
13595 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13600 eval "$wx_cv_use_accessibility"
13602 if test x"$enablestring" = xdisable; then
13603 if test $wxUSE_ACCESSIBILITY = no; then
13609 result=$wxUSE_ACCESSIBILITY
13612 { echo "$as_me:$LINENO: result
: $result" >&5
13613 echo "${ECHO_T}$result" >&6; }
13617 defaultval=$wxUSE_ALL_FEATURES
13618 if test -z "$defaultval"; then
13619 if test x"$enablestring" = xdisable; then
13626 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-uiactionsim" >&5
13627 echo $ECHO_N "checking
for --${enablestring:-enable}-uiactionsim...
$ECHO_C" >&6; }
13628 # Check whether --enable-uiactionsim was given.
13629 if test "${enable_uiactionsim+set}" = set; then
13630 enableval=$enable_uiactionsim;
13631 if test "$enableval" = yes; then
13632 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
13634 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
13639 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
13644 eval "$wx_cv_use_uiactionsim"
13646 if test x
"$enablestring" = xdisable
; then
13647 if test $wxUSE_UIACTIONSIMULATOR = no
; then
13653 result
=$wxUSE_UIACTIONSIMULATOR
13656 { echo "$as_me:$LINENO: result: $result" >&5
13657 echo "${ECHO_T}$result" >&6; }
13663 defaultval
=$wxUSE_ALL_FEATURES
13664 if test -z "$defaultval"; then
13665 if test x
"$enablestring" = xdisable
; then
13672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13673 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13674 # Check whether --enable-palette was given.
13675 if test "${enable_palette+set}" = set; then
13676 enableval
=$enable_palette;
13677 if test "$enableval" = yes; then
13678 wx_cv_use_palette
='wxUSE_PALETTE=yes'
13680 wx_cv_use_palette
='wxUSE_PALETTE=no'
13685 wx_cv_use_palette
='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13690 eval "$wx_cv_use_palette"
13692 if test x"$enablestring" = xdisable; then
13693 if test $wxUSE_PALETTE = no; then
13699 result=$wxUSE_PALETTE
13702 { echo "$as_me:$LINENO: result: $result" >&5
13703 echo "${ECHO_T}$result" >&6; }
13707 defaultval=$wxUSE_ALL_FEATURES
13708 if test -z "$defaultval"; then
13709 if test x"$enablestring" = xdisable; then
13716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13717 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13718 # Check whether --enable-image was given.
13719 if test "${enable_image+set}" = set; then
13720 enableval=$enable_image;
13721 if test "$enableval" = yes; then
13722 wx_cv_use_image='wxUSE_IMAGE
=yes'
13724 wx_cv_use_image='wxUSE_IMAGE
=no
'
13729 wx_cv_use_image='wxUSE_IMAGE
=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13734 eval "$wx_cv_use_image"
13736 if test x"$enablestring" = xdisable; then
13737 if test $wxUSE_IMAGE = no; then
13743 result=$wxUSE_IMAGE
13746 { echo "$as_me:$LINENO: result
: $result" >&5
13747 echo "${ECHO_T}$result" >&6; }
13751 defaultval=$wxUSE_ALL_FEATURES
13752 if test -z "$defaultval"; then
13753 if test x"$enablestring" = xdisable; then
13760 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gif" >&5
13761 echo $ECHO_N "checking
for --${enablestring:-enable}-gif...
$ECHO_C" >&6; }
13762 # Check whether --enable-gif was given.
13763 if test "${enable_gif+set}" = set; then
13764 enableval=$enable_gif;
13765 if test "$enableval" = yes; then
13766 wx_cv_use_gif='wxUSE_GIF=yes'
13768 wx_cv_use_gif='wxUSE_GIF=no'
13773 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13778 eval "$wx_cv_use_gif"
13780 if test x
"$enablestring" = xdisable
; then
13781 if test $wxUSE_GIF = no
; then
13790 { echo "$as_me:$LINENO: result: $result" >&5
13791 echo "${ECHO_T}$result" >&6; }
13795 defaultval
=$wxUSE_ALL_FEATURES
13796 if test -z "$defaultval"; then
13797 if test x
"$enablestring" = xdisable
; then
13804 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13805 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13806 # Check whether --enable-pcx was given.
13807 if test "${enable_pcx+set}" = set; then
13808 enableval
=$enable_pcx;
13809 if test "$enableval" = yes; then
13810 wx_cv_use_pcx
='wxUSE_PCX=yes'
13812 wx_cv_use_pcx
='wxUSE_PCX=no'
13817 wx_cv_use_pcx
='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13822 eval "$wx_cv_use_pcx"
13824 if test x"$enablestring" = xdisable; then
13825 if test $wxUSE_PCX = no; then
13834 { echo "$as_me:$LINENO: result: $result" >&5
13835 echo "${ECHO_T}$result" >&6; }
13839 defaultval=$wxUSE_ALL_FEATURES
13840 if test -z "$defaultval"; then
13841 if test x"$enablestring" = xdisable; then
13848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13849 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13850 # Check whether --enable-tga was given.
13851 if test "${enable_tga+set}" = set; then
13852 enableval=$enable_tga;
13853 if test "$enableval" = yes; then
13854 wx_cv_use_tga='wxUSE_TGA
=yes'
13856 wx_cv_use_tga='wxUSE_TGA
=no
'
13861 wx_cv_use_tga='wxUSE_TGA
=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13866 eval "$wx_cv_use_tga"
13868 if test x"$enablestring" = xdisable; then
13869 if test $wxUSE_TGA = no; then
13878 { echo "$as_me:$LINENO: result
: $result" >&5
13879 echo "${ECHO_T}$result" >&6; }
13883 defaultval=$wxUSE_ALL_FEATURES
13884 if test -z "$defaultval"; then
13885 if test x"$enablestring" = xdisable; then
13892 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iff" >&5
13893 echo $ECHO_N "checking
for --${enablestring:-enable}-iff...
$ECHO_C" >&6; }
13894 # Check whether --enable-iff was given.
13895 if test "${enable_iff+set}" = set; then
13896 enableval=$enable_iff;
13897 if test "$enableval" = yes; then
13898 wx_cv_use_iff='wxUSE_IFF=yes'
13900 wx_cv_use_iff='wxUSE_IFF=no'
13905 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13910 eval "$wx_cv_use_iff"
13912 if test x
"$enablestring" = xdisable
; then
13913 if test $wxUSE_IFF = no
; then
13922 { echo "$as_me:$LINENO: result: $result" >&5
13923 echo "${ECHO_T}$result" >&6; }
13927 defaultval
=$wxUSE_ALL_FEATURES
13928 if test -z "$defaultval"; then
13929 if test x
"$enablestring" = xdisable
; then
13936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13937 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13938 # Check whether --enable-pnm was given.
13939 if test "${enable_pnm+set}" = set; then
13940 enableval
=$enable_pnm;
13941 if test "$enableval" = yes; then
13942 wx_cv_use_pnm
='wxUSE_PNM=yes'
13944 wx_cv_use_pnm
='wxUSE_PNM=no'
13949 wx_cv_use_pnm
='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13954 eval "$wx_cv_use_pnm"
13956 if test x"$enablestring" = xdisable; then
13957 if test $wxUSE_PNM = no; then
13966 { echo "$as_me:$LINENO: result: $result" >&5
13967 echo "${ECHO_T}$result" >&6; }
13971 defaultval=$wxUSE_ALL_FEATURES
13972 if test -z "$defaultval"; then
13973 if test x"$enablestring" = xdisable; then
13980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13981 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13982 # Check whether --enable-xpm was given.
13983 if test "${enable_xpm+set}" = set; then
13984 enableval=$enable_xpm;
13985 if test "$enableval" = yes; then
13986 wx_cv_use_xpm='wxUSE_XPM
=yes'
13988 wx_cv_use_xpm='wxUSE_XPM
=no
'
13993 wx_cv_use_xpm='wxUSE_XPM
=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13998 eval "$wx_cv_use_xpm"
14000 if test x"$enablestring" = xdisable; then
14001 if test $wxUSE_XPM = no; then
14010 { echo "$as_me:$LINENO: result
: $result" >&5
14011 echo "${ECHO_T}$result" >&6; }
14015 defaultval=$wxUSE_ALL_FEATURES
14016 if test -z "$defaultval"; then
14017 if test x"$enablestring" = xdisable; then
14024 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ico_cur" >&5
14025 echo $ECHO_N "checking
for --${enablestring:-enable}-ico_cur...
$ECHO_C" >&6; }
14026 # Check whether --enable-ico_cur was given.
14027 if test "${enable_ico_cur+set}" = set; then
14028 enableval=$enable_ico_cur;
14029 if test "$enableval" = yes; then
14030 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14032 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14037 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14042 eval "$wx_cv_use_ico_cur"
14044 if test x
"$enablestring" = xdisable
; then
14045 if test $wxUSE_ICO_CUR = no
; then
14051 result
=$wxUSE_ICO_CUR
14054 { echo "$as_me:$LINENO: result: $result" >&5
14055 echo "${ECHO_T}$result" >&6; }
14061 defaultval
=$wxUSE_ALL_FEATURES
14062 if test -z "$defaultval"; then
14063 if test x
"$enablestring" = xdisable
; then
14070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14071 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14072 # Check whether --enable-dccache was given.
14073 if test "${enable_dccache+set}" = set; then
14074 enableval
=$enable_dccache;
14075 if test "$enableval" = yes; then
14076 wx_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
14078 wx_cv_use_dccache
='wxUSE_DC_CACHEING=no'
14083 wx_cv_use_dccache
='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14088 eval "$wx_cv_use_dccache"
14090 if test x"$enablestring" = xdisable; then
14091 if test $wxUSE_DC_CACHEING = no; then
14097 result=$wxUSE_DC_CACHEING
14100 { echo "$as_me:$LINENO: result: $result" >&5
14101 echo "${ECHO_T}$result" >&6; }
14105 defaultval=$wxUSE_ALL_FEATURES
14106 if test -z "$defaultval"; then
14107 if test x"$enablestring" = xdisable; then
14114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14115 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14116 # Check whether --enable-ps-in-msw was given.
14117 if test "${enable_ps_in_msw+set}" = set; then
14118 enableval=$enable_ps_in_msw;
14119 if test "$enableval" = yes; then
14120 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=yes'
14122 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=no
'
14127 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14132 eval "$wx_cv_use_ps_in_msw"
14134 if test x"$enablestring" = xdisable; then
14135 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14141 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14144 { echo "$as_me:$LINENO: result
: $result" >&5
14145 echo "${ECHO_T}$result" >&6; }
14149 defaultval=$wxUSE_ALL_FEATURES
14150 if test -z "$defaultval"; then
14151 if test x"$enablestring" = xdisable; then
14158 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ownerdrawn" >&5
14159 echo $ECHO_N "checking
for --${enablestring:-enable}-ownerdrawn...
$ECHO_C" >&6; }
14160 # Check whether --enable-ownerdrawn was given.
14161 if test "${enable_ownerdrawn+set}" = set; then
14162 enableval=$enable_ownerdrawn;
14163 if test "$enableval" = yes; then
14164 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14166 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14171 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14176 eval "$wx_cv_use_ownerdrawn"
14178 if test x
"$enablestring" = xdisable
; then
14179 if test $wxUSE_OWNER_DRAWN = no
; then
14185 result
=$wxUSE_OWNER_DRAWN
14188 { echo "$as_me:$LINENO: result: $result" >&5
14189 echo "${ECHO_T}$result" >&6; }
14193 defaultval
=$wxUSE_ALL_FEATURES
14194 if test -z "$defaultval"; then
14195 if test x
"$enablestring" = xdisable
; then
14202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14203 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14204 # Check whether --enable-uxtheme was given.
14205 if test "${enable_uxtheme+set}" = set; then
14206 enableval
=$enable_uxtheme;
14207 if test "$enableval" = yes; then
14208 wx_cv_use_uxtheme
='wxUSE_UXTHEME=yes'
14210 wx_cv_use_uxtheme
='wxUSE_UXTHEME=no'
14215 wx_cv_use_uxtheme
='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14220 eval "$wx_cv_use_uxtheme"
14222 if test x"$enablestring" = xdisable; then
14223 if test $wxUSE_UXTHEME = no; then
14229 result=$wxUSE_UXTHEME
14232 { echo "$as_me:$LINENO: result: $result" >&5
14233 echo "${ECHO_T}$result" >&6; }
14237 defaultval=$wxUSE_ALL_FEATURES
14238 if test -z "$defaultval"; then
14239 if test x"$enablestring" = xdisable; then
14246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14247 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14248 # Check whether --enable-wxdib was given.
14249 if test "${enable_wxdib+set}" = set; then
14250 enableval=$enable_wxdib;
14251 if test "$enableval" = yes; then
14252 wx_cv_use_wxdib='wxUSE_DIB
=yes'
14254 wx_cv_use_wxdib='wxUSE_DIB
=no
'
14259 wx_cv_use_wxdib='wxUSE_DIB
=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14264 eval "$wx_cv_use_wxdib"
14266 if test x"$enablestring" = xdisable; then
14267 if test $wxUSE_DIB = no; then
14276 { echo "$as_me:$LINENO: result
: $result" >&5
14277 echo "${ECHO_T}$result" >&6; }
14280 if test "$wxUSE_MSW" != 1; then
14281 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14286 defaultval=$wxUSE_ALL_FEATURES
14287 if test -z "$defaultval"; then
14288 if test x"$enablestring" = xdisable; then
14295 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-autoidman" >&5
14296 echo $ECHO_N "checking
for --${enablestring:-enable}-autoidman...
$ECHO_C" >&6; }
14297 # Check whether --enable-autoidman was given.
14298 if test "${enable_autoidman+set}" = set; then
14299 enableval=$enable_autoidman;
14300 if test "$enableval" = yes; then
14301 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14303 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14308 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14313 eval "$wx_cv_use_autoidman"
14315 if test x
"$enablestring" = xdisable
; then
14316 if test $wxUSE_AUTOID_MANAGEMENT = no
; then
14322 result
=$wxUSE_AUTOID_MANAGEMENT
14325 { echo "$as_me:$LINENO: result: $result" >&5
14326 echo "${ECHO_T}$result" >&6; }
14332 cat >confcache
<<\_ACEOF
14333 # This file is a shell script that caches the results of configure
14334 # tests run on this system so they can be shared between configure
14335 # scripts and configure runs, see configure's option --config-cache.
14336 # It is not useful on other systems. If it contains results you don't
14337 # want to keep, you may remove or edit it.
14339 # config.status only pays attention to the cache file if you give it
14340 # the --recheck option to rerun configure.
14342 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14343 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14344 # following values.
14348 # The following way of writing the cache mishandles newlines in values,
14349 # but we know of no workaround that is simple, portable, and efficient.
14350 # So, we kill variables containing newlines.
14351 # Ultrix sh set writes to stderr and can't be redirected directly,
14352 # and sets the high bit in the cache file unless we assign to the vars.
14354 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14355 eval ac_val
=\$
$ac_var
14359 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14360 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14363 _
| IFS
| as_nl
) ;; #(
14364 *) $as_unset $ac_var ;;
14370 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14371 *${as_nl}ac_space
=\
*)
14372 # `set' does not quote correctly, so add quotes (double-quote
14373 # substitution turns \\\\ into \\, and sed turns \\ into \).
14376 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14379 # `set' quotes correctly as required by POSIX, so do not add quotes.
14380 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14389 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14391 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14393 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14394 if test -w "$cache_file"; then
14395 test "x$cache_file" != "x/dev/null" &&
14396 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14397 echo "$as_me: updating cache $cache_file" >&6;}
14398 cat confcache
>$cache_file
14400 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14401 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14408 ac_cpp
='$CPP $CPPFLAGS'
14409 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14410 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14411 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14412 if test -n "$ac_tool_prefix"; then
14413 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14414 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
14415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14417 if test "${ac_cv_prog_CC+set}" = set; then
14418 echo $ECHO_N "(cached) $ECHO_C" >&6
14420 if test -n "$CC"; then
14421 ac_cv_prog_CC
="$CC" # Let the user override the test.
14423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14424 for as_dir
in $PATH
14427 test -z "$as_dir" && as_dir
=.
14428 for ac_exec_ext
in '' $ac_executable_extensions; do
14429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14430 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
14431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14441 if test -n "$CC"; then
14442 { echo "$as_me:$LINENO: result: $CC" >&5
14443 echo "${ECHO_T}$CC" >&6; }
14445 { echo "$as_me:$LINENO: result: no" >&5
14446 echo "${ECHO_T}no" >&6; }
14451 if test -z "$ac_cv_prog_CC"; then
14453 # Extract the first word of "gcc", so it can be a program name with args.
14454 set dummy gcc
; ac_word
=$2
14455 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14457 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14458 echo $ECHO_N "(cached) $ECHO_C" >&6
14460 if test -n "$ac_ct_CC"; then
14461 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14464 for as_dir
in $PATH
14467 test -z "$as_dir" && as_dir
=.
14468 for ac_exec_ext
in '' $ac_executable_extensions; do
14469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14470 ac_cv_prog_ac_ct_CC
="gcc"
14471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14480 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14481 if test -n "$ac_ct_CC"; then
14482 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14483 echo "${ECHO_T}$ac_ct_CC" >&6; }
14485 { echo "$as_me:$LINENO: result: no" >&5
14486 echo "${ECHO_T}no" >&6; }
14489 if test "x$ac_ct_CC" = x
; then
14492 case $cross_compiling:$ac_tool_warned in
14494 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14495 whose name does not start with the host triplet. If you think this
14496 configuration is useful to you, please write to autoconf@gnu.org." >&5
14497 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14498 whose name does not start with the host triplet. If you think this
14499 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14500 ac_tool_warned
=yes ;;
14505 CC
="$ac_cv_prog_CC"
14508 if test -z "$CC"; then
14509 if test -n "$ac_tool_prefix"; then
14510 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14511 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
14512 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14514 if test "${ac_cv_prog_CC+set}" = set; then
14515 echo $ECHO_N "(cached) $ECHO_C" >&6
14517 if test -n "$CC"; then
14518 ac_cv_prog_CC
="$CC" # Let the user override the test.
14520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14521 for as_dir
in $PATH
14524 test -z "$as_dir" && as_dir
=.
14525 for ac_exec_ext
in '' $ac_executable_extensions; do
14526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14527 ac_cv_prog_CC
="${ac_tool_prefix}cc"
14528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14538 if test -n "$CC"; then
14539 { echo "$as_me:$LINENO: result: $CC" >&5
14540 echo "${ECHO_T}$CC" >&6; }
14542 { echo "$as_me:$LINENO: result: no" >&5
14543 echo "${ECHO_T}no" >&6; }
14549 if test -z "$CC"; then
14550 # Extract the first word of "cc", so it can be a program name with args.
14551 set dummy cc
; ac_word
=$2
14552 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14554 if test "${ac_cv_prog_CC+set}" = set; then
14555 echo $ECHO_N "(cached) $ECHO_C" >&6
14557 if test -n "$CC"; then
14558 ac_cv_prog_CC
="$CC" # Let the user override the test.
14560 ac_prog_rejected
=no
14561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14562 for as_dir
in $PATH
14565 test -z "$as_dir" && as_dir
=.
14566 for ac_exec_ext
in '' $ac_executable_extensions; do
14567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14568 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14569 ac_prog_rejected
=yes
14573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14580 if test $ac_prog_rejected = yes; then
14581 # We found a bogon in the path, so make sure we never use it.
14582 set dummy
$ac_cv_prog_CC
14584 if test $# != 0; then
14585 # We chose a different compiler from the bogus one.
14586 # However, it has the same basename, so the bogon will be chosen
14587 # first if we set CC to just the basename; use the full file name.
14589 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
14595 if test -n "$CC"; then
14596 { echo "$as_me:$LINENO: result: $CC" >&5
14597 echo "${ECHO_T}$CC" >&6; }
14599 { echo "$as_me:$LINENO: result: no" >&5
14600 echo "${ECHO_T}no" >&6; }
14605 if test -z "$CC"; then
14606 if test -n "$ac_tool_prefix"; then
14607 for ac_prog
in cl.exe
14609 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14610 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14611 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14613 if test "${ac_cv_prog_CC+set}" = set; then
14614 echo $ECHO_N "(cached) $ECHO_C" >&6
14616 if test -n "$CC"; then
14617 ac_cv_prog_CC
="$CC" # Let the user override the test.
14619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14620 for as_dir
in $PATH
14623 test -z "$as_dir" && as_dir
=.
14624 for ac_exec_ext
in '' $ac_executable_extensions; do
14625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14626 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
14627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14637 if test -n "$CC"; then
14638 { echo "$as_me:$LINENO: result: $CC" >&5
14639 echo "${ECHO_T}$CC" >&6; }
14641 { echo "$as_me:$LINENO: result: no" >&5
14642 echo "${ECHO_T}no" >&6; }
14646 test -n "$CC" && break
14649 if test -z "$CC"; then
14651 for ac_prog
in cl.exe
14653 # Extract the first word of "$ac_prog", so it can be a program name with args.
14654 set dummy
$ac_prog; ac_word
=$2
14655 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14657 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14658 echo $ECHO_N "(cached) $ECHO_C" >&6
14660 if test -n "$ac_ct_CC"; then
14661 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14664 for as_dir
in $PATH
14667 test -z "$as_dir" && as_dir
=.
14668 for ac_exec_ext
in '' $ac_executable_extensions; do
14669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14670 ac_cv_prog_ac_ct_CC
="$ac_prog"
14671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14680 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14681 if test -n "$ac_ct_CC"; then
14682 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14683 echo "${ECHO_T}$ac_ct_CC" >&6; }
14685 { echo "$as_me:$LINENO: result: no" >&5
14686 echo "${ECHO_T}no" >&6; }
14690 test -n "$ac_ct_CC" && break
14693 if test "x$ac_ct_CC" = x
; then
14696 case $cross_compiling:$ac_tool_warned in
14698 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14699 whose name does not start with the host triplet. If you think this
14700 configuration is useful to you, please write to autoconf@gnu.org." >&5
14701 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14702 whose name does not start with the host triplet. If you think this
14703 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14704 ac_tool_warned
=yes ;;
14713 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14714 See \`config.log' for more details." >&5
14715 echo "$as_me: error: no acceptable C compiler found in \$PATH
14716 See \`config.log' for more details." >&2;}
14717 { (exit 1); exit 1; }; }
14719 # Provide some information about the compiler.
14720 echo "$as_me:$LINENO: checking for C compiler version" >&5
14721 ac_compiler
=`set X $ac_compile; echo $2`
14722 { (ac_try
="$ac_compiler --version >&5"
14723 case "(($ac_try" in
14724 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14725 *) ac_try_echo=$ac_try;;
14727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14728 (eval "$ac_compiler --version >&5") 2>&5
14730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731 (exit $ac_status); }
14732 { (ac_try="$ac_compiler -v >&5"
14733 case "(($ac_try" in
14734 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14735 *) ac_try_echo
=$ac_try;;
14737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14738 (eval "$ac_compiler -v >&5") 2>&5
14740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741 (exit $ac_status); }
14742 { (ac_try
="$ac_compiler -V >&5"
14743 case "(($ac_try" in
14744 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14745 *) ac_try_echo=$ac_try;;
14747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14748 (eval "$ac_compiler -V >&5") 2>&5
14750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14751 (exit $ac_status); }
14753 cat >conftest.$ac_ext <<_ACEOF
14756 cat confdefs.h >>conftest.$ac_ext
14757 cat >>conftest.$ac_ext <<_ACEOF
14758 /* end confdefs.h. */
14768 ac_clean_files_save=$ac_clean_files
14769 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14770 # Try to create an executable without -o first, disregard a.out.
14771 # It will help us diagnose broken compilers, and finding out an intuition
14773 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14774 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14775 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14777 # List of possible output files, starting from the most likely.
14778 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
14779 # only as a last resort. b.out is created by i960 compilers.
14780 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
14782 # The IRIX 6 linker writes into existing files which may not be
14783 # executable, retaining their permissions. Remove them first so a
14784 # subsequent execution test works.
14786 for ac_file in $ac_files
14789 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14790 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14795 if { (ac_try="$ac_link_default"
14796 case "(($ac_try" in
14797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14798 *) ac_try_echo=$ac_try;;
14800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14801 (eval "$ac_link_default") 2>&5
14803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14804 (exit $ac_status); }; then
14805 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14806 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14807 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14808 # so that the user can short-circuit this test for compilers unknown to
14810 for ac_file
in $ac_files ''
14812 test -f "$ac_file" || continue
14814 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
14817 # We found the default executable, but exeext='' is most
14821 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
14823 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14825 # We set ac_cv_exeext here because the later test for it is not
14826 # safe: cross compilers may not add the suffix if given an `-o'
14827 # argument, so we may need to know it at that point already.
14828 # Even if this section looks crufty: it has the advantage of
14829 # actually working.
14835 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
14841 { echo "$as_me:$LINENO: result: $ac_file" >&5
14842 echo "${ECHO_T}$ac_file" >&6; }
14843 if test -z "$ac_file"; then
14844 echo "$as_me: failed program was:" >&5
14845 sed 's/^/| /' conftest.
$ac_ext >&5
14847 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14848 See \`config.log' for more details." >&5
14849 echo "$as_me: error: C compiler cannot create executables
14850 See \`config.log' for more details." >&2;}
14851 { (exit 77); exit 77; }; }
14854 ac_exeext
=$ac_cv_exeext
14856 # Check that the compiler produces executables we can run. If not, either
14857 # the compiler is broken, or we cross compile.
14858 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14859 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14860 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14861 # If not cross compiling, check that we can run a simple program.
14862 if test "$cross_compiling" != yes; then
14863 if { ac_try
='./$ac_file'
14864 { (case "(($ac_try" in
14865 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14866 *) ac_try_echo=$ac_try;;
14868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14869 (eval "$ac_try") 2>&5
14871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14872 (exit $ac_status); }; }; then
14875 if test "$cross_compiling" = maybe; then
14876 cross_compiling=yes
14878 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14879 If you meant to cross compile, use \`--host'.
14880 See \`config.log' for more details.
" >&5
14881 echo "$as_me: error
: cannot run C compiled programs.
14882 If you meant to cross compile
, use \
`--host'.
14883 See \`config.log
' for more details." >&2;}
14884 { (exit 1); exit 1; }; }
14888 { echo "$as_me:$LINENO: result: yes" >&5
14889 echo "${ECHO_T}yes" >&6; }
14891 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14892 ac_clean_files=$ac_clean_files_save
14893 # Check that the compiler produces executables we can run. If not, either
14894 # the compiler is broken, or we cross compile.
14895 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14896 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14897 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14898 echo "${ECHO_T}$cross_compiling" >&6; }
14900 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14901 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14902 if { (ac_try="$ac_link"
14903 case "(($ac_try" in
14904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14905 *) ac_try_echo=$ac_try;;
14907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14908 (eval "$ac_link") 2>&5
14910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14911 (exit $ac_status); }; then
14912 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
14913 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
14914 # work properly (i.e., refer to `conftest.exe
'), while it won't with
14916 for ac_file
in conftest.exe conftest conftest.
*; do
14917 test -f "$ac_file" || continue
14919 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14920 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14926 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14927 See \`config.log' for more details." >&5
14928 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14929 See \`config.log' for more details." >&2;}
14930 { (exit 1); exit 1; }; }
14933 rm -f conftest
$ac_cv_exeext
14934 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14935 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14937 rm -f conftest.
$ac_ext
14938 EXEEXT
=$ac_cv_exeext
14940 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14941 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14942 if test "${ac_cv_objext+set}" = set; then
14943 echo $ECHO_N "(cached) $ECHO_C" >&6
14945 cat >conftest.
$ac_ext <<_ACEOF
14948 cat confdefs.h
>>conftest.
$ac_ext
14949 cat >>conftest.
$ac_ext <<_ACEOF
14950 /* end confdefs.h. */
14960 rm -f conftest.o conftest.obj
14961 if { (ac_try
="$ac_compile"
14962 case "(($ac_try" in
14963 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14964 *) ac_try_echo=$ac_try;;
14966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14967 (eval "$ac_compile") 2>&5
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); }; then
14971 for ac_file in conftest.o conftest.obj conftest.*; do
14972 test -f "$ac_file" || continue;
14974 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14975 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14980 echo "$as_me: failed program was:" >&5
14981 sed 's/^/| /' conftest.$ac_ext >&5
14983 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14984 See \`config.log
' for more details." >&5
14985 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14986 See \`config.log' for more details.
" >&2;}
14987 { (exit 1); exit 1; }; }
14990 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14992 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14993 echo "${ECHO_T}$ac_cv_objext" >&6; }
14994 OBJEXT=$ac_cv_objext
14996 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14997 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14998 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14999 echo $ECHO_N "(cached
) $ECHO_C" >&6
15001 cat >conftest.$ac_ext <<_ACEOF
15004 cat confdefs.h >>conftest.$ac_ext
15005 cat >>conftest.$ac_ext <<_ACEOF
15006 /* end confdefs.h. */
15019 rm -f conftest.$ac_objext
15020 if { (ac_try="$ac_compile"
15021 case "(($ac_try" in
15022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15023 *) ac_try_echo=$ac_try;;
15025 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15026 (eval "$ac_compile") 2>conftest.er1
15028 grep -v '^ *+' conftest.er1 >conftest.err
15030 cat conftest.err >&5
15031 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15032 (exit $ac_status); } && {
15033 test -z "$ac_c_werror_flag" ||
15034 test ! -s conftest.err
15035 } && test -s conftest.$ac_objext; then
15036 ac_compiler_gnu=yes
15038 echo "$as_me: failed program was
:" >&5
15039 sed 's/^/| /' conftest.$ac_ext >&5
15044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15045 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15048 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
15049 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15050 GCC=`test $ac_compiler_gnu = yes && echo yes`
15051 ac_test_CFLAGS=${CFLAGS+set}
15052 ac_save_CFLAGS=$CFLAGS
15053 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
15054 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
15055 if test "${ac_cv_prog_cc_g+set}" = set; then
15056 echo $ECHO_N "(cached
) $ECHO_C" >&6
15058 ac_save_c_werror_flag=$ac_c_werror_flag
15059 ac_c_werror_flag=yes
15062 cat >conftest.$ac_ext <<_ACEOF
15065 cat confdefs.h >>conftest.$ac_ext
15066 cat >>conftest.$ac_ext <<_ACEOF
15067 /* end confdefs.h. */
15077 rm -f conftest.$ac_objext
15078 if { (ac_try="$ac_compile"
15079 case "(($ac_try" in
15080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15081 *) ac_try_echo=$ac_try;;
15083 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15084 (eval "$ac_compile") 2>conftest.er1
15086 grep -v '^ *+' conftest.er1 >conftest.err
15088 cat conftest.err >&5
15089 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15090 (exit $ac_status); } && {
15091 test -z "$ac_c_werror_flag" ||
15092 test ! -s conftest.err
15093 } && test -s conftest.$ac_objext; then
15094 ac_cv_prog_cc_g=yes
15096 echo "$as_me: failed program was
:" >&5
15097 sed 's/^/| /' conftest.$ac_ext >&5
15100 cat >conftest.$ac_ext <<_ACEOF
15103 cat confdefs.h >>conftest.$ac_ext
15104 cat >>conftest.$ac_ext <<_ACEOF
15105 /* end confdefs.h. */
15115 rm -f conftest.$ac_objext
15116 if { (ac_try="$ac_compile"
15117 case "(($ac_try" in
15118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15119 *) ac_try_echo=$ac_try;;
15121 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15122 (eval "$ac_compile") 2>conftest.er1
15124 grep -v '^ *+' conftest.er1 >conftest.err
15126 cat conftest.err >&5
15127 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15128 (exit $ac_status); } && {
15129 test -z "$ac_c_werror_flag" ||
15130 test ! -s conftest.err
15131 } && test -s conftest.$ac_objext; then
15134 echo "$as_me: failed program was
:" >&5
15135 sed 's/^/| /' conftest.$ac_ext >&5
15137 ac_c_werror_flag=$ac_save_c_werror_flag
15139 cat >conftest.$ac_ext <<_ACEOF
15142 cat confdefs.h >>conftest.$ac_ext
15143 cat >>conftest.$ac_ext <<_ACEOF
15144 /* end confdefs.h. */
15154 rm -f conftest.$ac_objext
15155 if { (ac_try="$ac_compile"
15156 case "(($ac_try" in
15157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15158 *) ac_try_echo=$ac_try;;
15160 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15161 (eval "$ac_compile") 2>conftest.er1
15163 grep -v '^ *+' conftest.er1 >conftest.err
15165 cat conftest.err >&5
15166 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15167 (exit $ac_status); } && {
15168 test -z "$ac_c_werror_flag" ||
15169 test ! -s conftest.err
15170 } && test -s conftest.$ac_objext; then
15171 ac_cv_prog_cc_g=yes
15173 echo "$as_me: failed program was
:" >&5
15174 sed 's/^/| /' conftest.$ac_ext >&5
15179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15186 ac_c_werror_flag=$ac_save_c_werror_flag
15188 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
15189 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15190 if test "$ac_test_CFLAGS" = set; then
15191 CFLAGS=$ac_save_CFLAGS
15192 elif test $ac_cv_prog_cc_g = yes; then
15193 if test "$GCC" = yes; then
15199 if test "$GCC" = yes; then
15205 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
15206 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
15207 if test "${ac_cv_prog_cc_c89+set}" = set; then
15208 echo $ECHO_N "(cached
) $ECHO_C" >&6
15210 ac_cv_prog_cc_c89=no
15212 cat >conftest.$ac_ext <<_ACEOF
15215 cat confdefs.h >>conftest.$ac_ext
15216 cat >>conftest.$ac_ext <<_ACEOF
15217 /* end confdefs.h. */
15218 #include <stdarg.h>
15220 #include <sys/types.h>
15221 #include <sys/stat.h>
15222 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15223 struct buf { int x; };
15224 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15225 static char *e (p, i)
15231 static char *f (char * (*g) (char **, int), char **p, ...)
15236 s = g (p, va_arg (v,int));
15241 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15242 function prototypes and stuff, but not '\xHH' hex character constants.
15243 These don't provoke an error unfortunately, instead are silently treated
15244 as 'x'. The following induces an error, until -std is added to get
15245 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15246 array size at least. It's necessary to write '\x00'==0 to get something
15247 that's true only with -std. */
15248 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15250 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15251 inside strings and character constants. */
15253 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15255 int test (int i, double x);
15256 struct s1 {int (*f) (int a);};
15257 struct s2 {int (*f) (double a);};
15258 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15264 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15269 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15270 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15272 CC="$ac_save_CC $ac_arg"
15273 rm -f conftest.$ac_objext
15274 if { (ac_try="$ac_compile"
15275 case "(($ac_try" in
15276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15277 *) ac_try_echo=$ac_try;;
15279 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15280 (eval "$ac_compile") 2>conftest.er1
15282 grep -v '^ *+' conftest.er1 >conftest.err
15284 cat conftest.err >&5
15285 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15286 (exit $ac_status); } && {
15287 test -z "$ac_c_werror_flag" ||
15288 test ! -s conftest.err
15289 } && test -s conftest.$ac_objext; then
15290 ac_cv_prog_cc_c89=$ac_arg
15292 echo "$as_me: failed program was
:" >&5
15293 sed 's/^/| /' conftest.$ac_ext >&5
15298 rm -f core conftest.err conftest.$ac_objext
15299 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
15301 rm -f conftest.$ac_ext
15306 case "x
$ac_cv_prog_cc_c89" in
15308 { echo "$as_me:$LINENO: result
: none needed
" >&5
15309 echo "${ECHO_T}none needed
" >&6; } ;;
15311 { echo "$as_me:$LINENO: result
: unsupported
" >&5
15312 echo "${ECHO_T}unsupported
" >&6; } ;;
15314 CC="$CC $ac_cv_prog_cc_c89"
15315 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
15316 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15321 ac_cpp='$CPP $CPPFLAGS'
15322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15334 ac_cpp='$CPP $CPPFLAGS'
15335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15339 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
15340 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
15341 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15342 echo $ECHO_N "(cached
) $ECHO_C" >&6
15344 cat >conftest.$ac_ext <<_ACEOF
15347 cat confdefs.h >>conftest.$ac_ext
15348 cat >>conftest.$ac_ext <<_ACEOF
15349 /* end confdefs.h. */
15355 #ifndef __INTEL_COMPILER
15363 rm -f conftest.$ac_objext
15364 if { (ac_try="$ac_compile"
15365 case "(($ac_try" in
15366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15367 *) ac_try_echo=$ac_try;;
15369 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15370 (eval "$ac_compile") 2>conftest.er1
15372 grep -v '^ *+' conftest.er1 >conftest.err
15374 cat conftest.err >&5
15375 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15376 (exit $ac_status); } && {
15377 test -z "$ac_c_werror_flag" ||
15378 test ! -s conftest.err
15379 } && test -s conftest.$ac_objext; then
15380 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15382 echo "$as_me: failed program was
:" >&5
15383 sed 's/^/| /' conftest.$ac_ext >&5
15385 bakefile_cv_c_compiler___INTEL_COMPILER=no
15389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15393 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15394 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15395 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
15401 ac_cpp='$CPP $CPPFLAGS'
15402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15409 if test "$INTELCC" = "yes"; then
15413 ac_cpp='$CPP $CPPFLAGS'
15414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15418 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
15419 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
15420 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15421 echo $ECHO_N "(cached
) $ECHO_C" >&6
15423 cat >conftest.$ac_ext <<_ACEOF
15426 cat confdefs.h >>conftest.$ac_ext
15427 cat >>conftest.$ac_ext <<_ACEOF
15428 /* end confdefs.h. */
15434 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15442 rm -f conftest.$ac_objext
15443 if { (ac_try="$ac_compile"
15444 case "(($ac_try" in
15445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15446 *) ac_try_echo=$ac_try;;
15448 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15449 (eval "$ac_compile") 2>conftest.er1
15451 grep -v '^ *+' conftest.er1 >conftest.err
15453 cat conftest.err >&5
15454 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15455 (exit $ac_status); } && {
15456 test -z "$ac_c_werror_flag" ||
15457 test ! -s conftest.err
15458 } && test -s conftest.$ac_objext; then
15459 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15461 echo "$as_me: failed program was
:" >&5
15462 sed 's/^/| /' conftest.$ac_ext >&5
15464 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15472 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15473 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15474 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
15480 ac_cpp='$CPP $CPPFLAGS'
15481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15490 ac_cpp='$CPP $CPPFLAGS'
15491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15495 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
15496 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
15497 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15498 echo $ECHO_N "(cached
) $ECHO_C" >&6
15500 cat >conftest.$ac_ext <<_ACEOF
15503 cat confdefs.h >>conftest.$ac_ext
15504 cat >>conftest.$ac_ext <<_ACEOF
15505 /* end confdefs.h. */
15511 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15519 rm -f conftest.$ac_objext
15520 if { (ac_try="$ac_compile"
15521 case "(($ac_try" in
15522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15523 *) ac_try_echo=$ac_try;;
15525 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15526 (eval "$ac_compile") 2>conftest.er1
15528 grep -v '^ *+' conftest.er1 >conftest.err
15530 cat conftest.err >&5
15531 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15532 (exit $ac_status); } && {
15533 test -z "$ac_c_werror_flag" ||
15534 test ! -s conftest.err
15535 } && test -s conftest.$ac_objext; then
15536 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15538 echo "$as_me: failed program was
:" >&5
15539 sed 's/^/| /' conftest.$ac_ext >&5
15541 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15549 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15550 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15551 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
15557 ac_cpp='$CPP $CPPFLAGS'
15558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15566 if test "x
$GCC" != "xyes
"; then
15567 if test "xCC
" = "xC
"; then
15568 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
15569 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
15570 if test "${bakefile_cv_c_exto+set}" = set; then
15571 echo $ECHO_N "(cached
) $ECHO_C" >&6
15573 cat >conftest.$ac_ext <<_ACEOF
15576 cat confdefs.h >>conftest.$ac_ext
15577 cat >>conftest.$ac_ext <<_ACEOF
15578 /* end confdefs.h. */
15588 rm -f conftest.$ac_objext conftest.$ac_ext.o
15589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15590 (eval $ac_compile) 2>&5
15592 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15593 (exit $ac_status); }; then
15594 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15596 conftest.$ac_ext.o)
15597 bakefile_cv_c_exto="-ext o
"
15604 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15605 See \
`config.log' for more details." >&5
15606 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15607 See \`config.log
' for more details." >&2;}
15608 { (exit 1); exit 1; }; }
15612 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15615 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15616 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15617 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15618 if test "c" = "c"; then
15619 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15621 if test "c" = "cxx"; then
15622 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15626 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15627 unset ac_cv_prog_cc_g
15628 ac_test_CFLAGS=${CFLAGS+set}
15629 ac_save_CFLAGS=$CFLAGS
15630 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15631 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15632 if test "${ac_cv_prog_cc_g+set}" = set; then
15633 echo $ECHO_N "(cached) $ECHO_C" >&6
15635 ac_save_c_werror_flag=$ac_c_werror_flag
15636 ac_c_werror_flag=yes
15639 cat >conftest.$ac_ext <<_ACEOF
15642 cat confdefs.h >>conftest.$ac_ext
15643 cat >>conftest.$ac_ext <<_ACEOF
15644 /* end confdefs.h. */
15654 rm -f conftest.$ac_objext
15655 if { (ac_try="$ac_compile"
15656 case "(($ac_try" in
15657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15658 *) ac_try_echo=$ac_try;;
15660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15661 (eval "$ac_compile") 2>conftest.er1
15663 grep -v '^
*+' conftest.er1 >conftest.err
15665 cat conftest.err >&5
15666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15667 (exit $ac_status); } && {
15668 test -z "$ac_c_werror_flag" ||
15669 test ! -s conftest.err
15670 } && test -s conftest.$ac_objext; then
15671 ac_cv_prog_cc_g=yes
15673 echo "$as_me: failed program was:" >&5
15674 sed 's
/^
/| /' conftest.$ac_ext >&5
15677 cat >conftest.$ac_ext <<_ACEOF
15680 cat confdefs.h >>conftest.$ac_ext
15681 cat >>conftest.$ac_ext <<_ACEOF
15682 /* end confdefs.h. */
15692 rm -f conftest.$ac_objext
15693 if { (ac_try="$ac_compile"
15694 case "(($ac_try" in
15695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15696 *) ac_try_echo=$ac_try;;
15698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15699 (eval "$ac_compile") 2>conftest.er1
15701 grep -v '^
*+' conftest.er1 >conftest.err
15703 cat conftest.err >&5
15704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15705 (exit $ac_status); } && {
15706 test -z "$ac_c_werror_flag" ||
15707 test ! -s conftest.err
15708 } && test -s conftest.$ac_objext; then
15711 echo "$as_me: failed program was:" >&5
15712 sed 's
/^
/| /' conftest.$ac_ext >&5
15714 ac_c_werror_flag=$ac_save_c_werror_flag
15716 cat >conftest.$ac_ext <<_ACEOF
15719 cat confdefs.h >>conftest.$ac_ext
15720 cat >>conftest.$ac_ext <<_ACEOF
15721 /* end confdefs.h. */
15731 rm -f conftest.$ac_objext
15732 if { (ac_try="$ac_compile"
15733 case "(($ac_try" in
15734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15735 *) ac_try_echo=$ac_try;;
15737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15738 (eval "$ac_compile") 2>conftest.er1
15740 grep -v '^
*+' conftest.er1 >conftest.err
15742 cat conftest.err >&5
15743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15744 (exit $ac_status); } && {
15745 test -z "$ac_c_werror_flag" ||
15746 test ! -s conftest.err
15747 } && test -s conftest.$ac_objext; then
15748 ac_cv_prog_cc_g=yes
15750 echo "$as_me: failed program was:" >&5
15751 sed 's
/^
/| /' conftest.$ac_ext >&5
15756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15763 ac_c_werror_flag=$ac_save_c_werror_flag
15765 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15766 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15767 if test "$ac_test_CFLAGS" = set; then
15768 CFLAGS=$ac_save_CFLAGS
15769 elif test $ac_cv_prog_cc_g = yes; then
15770 if test "$GCC" = yes; then
15776 if test "$GCC" = yes; then
15790 ac_cpp='$CPP $CPPFLAGS'
15791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15792 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15795 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15796 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15797 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15798 echo $ECHO_N "(cached) $ECHO_C" >&6
15800 cat >conftest.$ac_ext <<_ACEOF
15803 cat confdefs.h >>conftest.$ac_ext
15804 cat >>conftest.$ac_ext <<_ACEOF
15805 /* end confdefs.h. */
15819 rm -f conftest.$ac_objext
15820 if { (ac_try="$ac_compile"
15821 case "(($ac_try" in
15822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15823 *) ac_try_echo=$ac_try;;
15825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15826 (eval "$ac_compile") 2>conftest.er1
15828 grep -v '^
*+' conftest.er1 >conftest.err
15830 cat conftest.err >&5
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); } && {
15833 test -z "$ac_c_werror_flag" ||
15834 test ! -s conftest.err
15835 } && test -s conftest.$ac_objext; then
15836 bakefile_cv_c_compiler___xlC__=yes
15838 echo "$as_me: failed program was:" >&5
15839 sed 's
/^
/| /' conftest.$ac_ext >&5
15841 bakefile_cv_c_compiler___xlC__=no
15845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15849 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15850 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15851 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15857 ac_cpp='$CPP $CPPFLAGS'
15858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15859 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15870 ac_cpp='$CPP $CPPFLAGS'
15871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15872 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15875 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15876 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15877 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15878 echo $ECHO_N "(cached) $ECHO_C" >&6
15880 cat >conftest.$ac_ext <<_ACEOF
15883 cat confdefs.h >>conftest.$ac_ext
15884 cat >>conftest.$ac_ext <<_ACEOF
15885 /* 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
15916 bakefile_cv_c_compiler___MWERKS__=yes
15918 echo "$as_me: failed program was:" >&5
15919 sed 's
/^
/| /' conftest.$ac_ext >&5
15921 bakefile_cv_c_compiler___MWERKS__=no
15925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15929 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15930 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15931 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15937 ac_cpp='$CPP $CPPFLAGS'
15938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15939 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15944 if test "$MWCC" != "yes"; then
15948 ac_cpp='$CPP $CPPFLAGS'
15949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15950 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15953 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15954 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15955 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15956 echo $ECHO_N "(cached) $ECHO_C" >&6
15958 cat >conftest.$ac_ext <<_ACEOF
15961 cat confdefs.h >>conftest.$ac_ext
15962 cat >>conftest.$ac_ext <<_ACEOF
15963 /* end confdefs.h. */
15977 rm -f conftest.$ac_objext
15978 if { (ac_try="$ac_compile"
15979 case "(($ac_try" in
15980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15981 *) ac_try_echo=$ac_try;;
15983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15984 (eval "$ac_compile") 2>conftest.er1
15986 grep -v '^
*+' conftest.er1 >conftest.err
15988 cat conftest.err >&5
15989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15990 (exit $ac_status); } && {
15991 test -z "$ac_c_werror_flag" ||
15992 test ! -s conftest.err
15993 } && test -s conftest.$ac_objext; then
15994 bakefile_cv_c_compiler___xlC__=yes
15996 echo "$as_me: failed program was:" >&5
15997 sed 's
/^
/| /' conftest.$ac_ext >&5
15999 bakefile_cv_c_compiler___xlC__=no
16003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16007 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16008 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16009 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16015 ac_cpp='$CPP $CPPFLAGS'
16016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16017 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16029 ac_cpp='$CPP $CPPFLAGS'
16030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16031 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16034 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16035 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16036 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16037 echo $ECHO_N "(cached) $ECHO_C" >&6
16039 cat >conftest.$ac_ext <<_ACEOF
16042 cat confdefs.h >>conftest.$ac_ext
16043 cat >>conftest.$ac_ext <<_ACEOF
16044 /* end confdefs.h. */
16050 #ifndef _SGI_COMPILER_VERSION
16058 rm -f conftest.$ac_objext
16059 if { (ac_try="$ac_compile"
16060 case "(($ac_try" in
16061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16062 *) ac_try_echo=$ac_try;;
16064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16065 (eval "$ac_compile") 2>conftest.er1
16067 grep -v '^
*+' conftest.er1 >conftest.err
16069 cat conftest.err >&5
16070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071 (exit $ac_status); } && {
16072 test -z "$ac_c_werror_flag" ||
16073 test ! -s conftest.err
16074 } && test -s conftest.$ac_objext; then
16075 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16077 echo "$as_me: failed program was:" >&5
16078 sed 's
/^
/| /' conftest.$ac_ext >&5
16080 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16088 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16089 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16090 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16096 ac_cpp='$CPP $CPPFLAGS'
16097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16098 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16106 if test "$INTELCC" != "yes"; then
16110 ac_cpp='$CPP $CPPFLAGS'
16111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16112 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16115 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16116 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16117 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16118 echo $ECHO_N "(cached) $ECHO_C" >&6
16120 cat >conftest.$ac_ext <<_ACEOF
16123 cat confdefs.h >>conftest.$ac_ext
16124 cat >>conftest.$ac_ext <<_ACEOF
16125 /* end confdefs.h. */
16139 rm -f conftest.$ac_objext
16140 if { (ac_try="$ac_compile"
16141 case "(($ac_try" in
16142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16143 *) ac_try_echo=$ac_try;;
16145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16146 (eval "$ac_compile") 2>conftest.er1
16148 grep -v '^
*+' conftest.er1 >conftest.err
16150 cat conftest.err >&5
16151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152 (exit $ac_status); } && {
16153 test -z "$ac_c_werror_flag" ||
16154 test ! -s conftest.err
16155 } && test -s conftest.$ac_objext; then
16156 bakefile_cv_c_compiler___SUNPRO_C=yes
16158 echo "$as_me: failed program was:" >&5
16159 sed 's
/^
/| /' conftest.$ac_ext >&5
16161 bakefile_cv_c_compiler___SUNPRO_C=no
16165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16169 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16170 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16171 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16177 ac_cpp='$CPP $CPPFLAGS'
16178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16179 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16191 ac_cpp='$CPP $CPPFLAGS'
16192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16193 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16196 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16197 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16198 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16199 echo $ECHO_N "(cached) $ECHO_C" >&6
16201 cat >conftest.$ac_ext <<_ACEOF
16204 cat confdefs.h >>conftest.$ac_ext
16205 cat >>conftest.$ac_ext <<_ACEOF
16206 /* end confdefs.h. */
16220 rm -f conftest.$ac_objext
16221 if { (ac_try="$ac_compile"
16222 case "(($ac_try" in
16223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16224 *) ac_try_echo=$ac_try;;
16226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16227 (eval "$ac_compile") 2>conftest.er1
16229 grep -v '^
*+' conftest.er1 >conftest.err
16231 cat conftest.err >&5
16232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16233 (exit $ac_status); } && {
16234 test -z "$ac_c_werror_flag" ||
16235 test ! -s conftest.err
16236 } && test -s conftest.$ac_objext; then
16237 bakefile_cv_c_compiler___HP_cc=yes
16239 echo "$as_me: failed program was:" >&5
16240 sed 's
/^
/| /' conftest.$ac_ext >&5
16242 bakefile_cv_c_compiler___HP_cc=no
16246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16250 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16251 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16252 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16258 ac_cpp='$CPP $CPPFLAGS'
16259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16260 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16271 ac_cpp='$CPP $CPPFLAGS'
16272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16273 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16276 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16277 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16278 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16279 echo $ECHO_N "(cached) $ECHO_C" >&6
16281 cat >conftest.$ac_ext <<_ACEOF
16284 cat confdefs.h >>conftest.$ac_ext
16285 cat >>conftest.$ac_ext <<_ACEOF
16286 /* end confdefs.h. */
16300 rm -f conftest.$ac_objext
16301 if { (ac_try="$ac_compile"
16302 case "(($ac_try" in
16303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16304 *) ac_try_echo=$ac_try;;
16306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16307 (eval "$ac_compile") 2>conftest.er1
16309 grep -v '^
*+' conftest.er1 >conftest.err
16311 cat conftest.err >&5
16312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16313 (exit $ac_status); } && {
16314 test -z "$ac_c_werror_flag" ||
16315 test ! -s conftest.err
16316 } && test -s conftest.$ac_objext; then
16317 bakefile_cv_c_compiler___DECC=yes
16319 echo "$as_me: failed program was:" >&5
16320 sed 's
/^
/| /' conftest.$ac_ext >&5
16322 bakefile_cv_c_compiler___DECC=no
16326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16330 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16331 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16332 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16338 ac_cpp='$CPP $CPPFLAGS'
16339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16340 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16351 ac_cpp='$CPP $CPPFLAGS'
16352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16353 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16356 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16357 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16358 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16359 echo $ECHO_N "(cached) $ECHO_C" >&6
16361 cat >conftest.$ac_ext <<_ACEOF
16364 cat confdefs.h >>conftest.$ac_ext
16365 cat >>conftest.$ac_ext <<_ACEOF
16366 /* end confdefs.h. */
16380 rm -f conftest.$ac_objext
16381 if { (ac_try="$ac_compile"
16382 case "(($ac_try" in
16383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16384 *) ac_try_echo=$ac_try;;
16386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16387 (eval "$ac_compile") 2>conftest.er1
16389 grep -v '^
*+' conftest.er1 >conftest.err
16391 cat conftest.err >&5
16392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16393 (exit $ac_status); } && {
16394 test -z "$ac_c_werror_flag" ||
16395 test ! -s conftest.err
16396 } && test -s conftest.$ac_objext; then
16397 bakefile_cv_c_compiler___SUNPRO_C=yes
16399 echo "$as_me: failed program was:" >&5
16400 sed 's
/^
/| /' conftest.$ac_ext >&5
16402 bakefile_cv_c_compiler___SUNPRO_C=no
16406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16410 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16411 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16412 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16418 ac_cpp='$CPP $CPPFLAGS'
16419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16420 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16432 ac_cpp='$CPP $CPPFLAGS'
16433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16434 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16436 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16437 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16438 # On Suns, sometimes $CPP names a directory.
16439 if test -n "$CPP" && test -d "$CPP"; then
16442 if test -z "$CPP"; then
16443 if test "${ac_cv_prog_CPP+set}" = set; then
16444 echo $ECHO_N "(cached) $ECHO_C" >&6
16446 # Double quotes because CPP needs to be expanded
16447 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16449 ac_preproc_ok=false
16450 for ac_c_preproc_warn_flag in '' yes
16452 # Use a header file that comes with gcc, so configuring glibc
16453 # with a fresh cross-compiler works.
16454 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16455 # <limits.h> exists even on freestanding compilers.
16456 # On the NeXT, cc -E runs the code through the compiler's parser
,
16457 # not just through cpp. "Syntax error" is here to catch this case.
16458 cat >conftest.
$ac_ext <<_ACEOF
16461 cat confdefs.h
>>conftest.
$ac_ext
16462 cat >>conftest.
$ac_ext <<_ACEOF
16463 /* end confdefs.h. */
16465 # include <limits.h>
16467 # include <assert.h>
16471 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16472 case "(($ac_try" in
16473 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16474 *) ac_try_echo=$ac_try;;
16476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16477 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16479 grep -v '^ *+' conftest.er1 >conftest.err
16481 cat conftest.err >&5
16482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16483 (exit $ac_status); } >/dev/null && {
16484 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16485 test ! -s conftest.err
16489 echo "$as_me: failed program was:" >&5
16490 sed 's/^/| /' conftest.$ac_ext >&5
16492 # Broken: fails on valid input.
16496 rm -f conftest.err conftest.$ac_ext
16498 # OK, works on sane cases. Now check whether nonexistent headers
16499 # can be detected and how.
16500 cat >conftest.$ac_ext <<_ACEOF
16503 cat confdefs.h >>conftest.$ac_ext
16504 cat >>conftest.$ac_ext <<_ACEOF
16505 /* end confdefs.h. */
16506 #include <ac_nonexistent.h>
16508 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev
/null
&& {
16521 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16522 test ! -s conftest.err
16524 # Broken: success on invalid input.
16527 echo "$as_me: failed program was:" >&5
16528 sed 's/^/| /' conftest.
$ac_ext >&5
16530 # Passes both tests.
16535 rm -f conftest.err conftest.
$ac_ext
16538 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16539 rm -f conftest.err conftest.
$ac_ext
16540 if $ac_preproc_ok; then
16545 ac_cv_prog_CPP
=$CPP
16548 CPP
=$ac_cv_prog_CPP
16550 ac_cv_prog_CPP
=$CPP
16552 { echo "$as_me:$LINENO: result: $CPP" >&5
16553 echo "${ECHO_T}$CPP" >&6; }
16554 ac_preproc_ok
=false
16555 for ac_c_preproc_warn_flag
in '' yes
16557 # Use a header file that comes with gcc, so configuring glibc
16558 # with a fresh cross-compiler works.
16559 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16560 # <limits.h> exists even on freestanding compilers.
16561 # On the NeXT, cc -E runs the code through the compiler's parser,
16562 # not just through cpp. "Syntax error" is here to catch this case.
16563 cat >conftest.
$ac_ext <<_ACEOF
16566 cat confdefs.h
>>conftest.
$ac_ext
16567 cat >>conftest.
$ac_ext <<_ACEOF
16568 /* end confdefs.h. */
16570 # include <limits.h>
16572 # include <assert.h>
16576 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16577 case "(($ac_try" in
16578 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16579 *) ac_try_echo=$ac_try;;
16581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16582 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16584 grep -v '^ *+' conftest.er1 >conftest.err
16586 cat conftest.err >&5
16587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16588 (exit $ac_status); } >/dev/null && {
16589 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16590 test ! -s conftest.err
16594 echo "$as_me: failed program was:" >&5
16595 sed 's/^/| /' conftest.$ac_ext >&5
16597 # Broken: fails on valid input.
16601 rm -f conftest.err conftest.$ac_ext
16603 # OK, works on sane cases. Now check whether nonexistent headers
16604 # can be detected and how.
16605 cat >conftest.$ac_ext <<_ACEOF
16608 cat confdefs.h >>conftest.$ac_ext
16609 cat >>conftest.$ac_ext <<_ACEOF
16610 /* end confdefs.h. */
16611 #include <ac_nonexistent.h>
16613 if { (ac_try="$ac_cpp conftest.$ac_ext"
16614 case "(($ac_try" in
16615 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16616 *) ac_try_echo
=$ac_try;;
16618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16619 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16621 grep -v '^ *+' conftest.er1
>conftest.err
16623 cat conftest.err
>&5
16624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16625 (exit $ac_status); } >/dev
/null
&& {
16626 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16627 test ! -s conftest.err
16629 # Broken: success on invalid input.
16632 echo "$as_me: failed program was:" >&5
16633 sed 's/^/| /' conftest.
$ac_ext >&5
16635 # Passes both tests.
16640 rm -f conftest.err conftest.
$ac_ext
16643 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16644 rm -f conftest.err conftest.
$ac_ext
16645 if $ac_preproc_ok; then
16648 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16649 See \`config.log' for more details." >&5
16650 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16651 See \`config.log' for more details." >&2;}
16652 { (exit 1); exit 1; }; }
16656 ac_cpp
='$CPP $CPPFLAGS'
16657 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16658 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16659 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16662 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16663 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16664 if test "${ac_cv_path_GREP+set}" = set; then
16665 echo $ECHO_N "(cached) $ECHO_C" >&6
16667 # Extract the first word of "grep ggrep" to use in msg output
16668 if test -z "$GREP"; then
16669 set dummy
grep ggrep
; ac_prog_name
=$2
16670 if test "${ac_cv_path_GREP+set}" = set; then
16671 echo $ECHO_N "(cached) $ECHO_C" >&6
16673 ac_path_GREP_found
=false
16674 # Loop through the user's path and test for each of PROGNAME-LIST
16675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16676 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16679 test -z "$as_dir" && as_dir
=.
16680 for ac_prog
in grep ggrep
; do
16681 for ac_exec_ext
in '' $ac_executable_extensions; do
16682 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16683 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16684 # Check for GNU ac_path_GREP and select it if it is found.
16685 # Check for GNU $ac_path_GREP
16686 case `"$ac_path_GREP" --version 2>&1` in
16688 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16691 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16694 cat "conftest.in" "conftest.in" >"conftest.tmp"
16695 mv "conftest.tmp" "conftest.in"
16696 cp "conftest.in" "conftest.nl"
16697 echo 'GREP' >> "conftest.nl"
16698 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16699 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16700 ac_count
=`expr $ac_count + 1`
16701 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16702 # Best one so far, save it but keep looking for a better one
16703 ac_cv_path_GREP
="$ac_path_GREP"
16704 ac_path_GREP_max
=$ac_count
16706 # 10*(2^10) chars as input seems more than enough
16707 test $ac_count -gt 10 && break
16709 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16713 $ac_path_GREP_found && break 3
16723 GREP
="$ac_cv_path_GREP"
16724 if test -z "$GREP"; then
16725 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16726 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16727 { (exit 1); exit 1; }; }
16731 ac_cv_path_GREP
=$GREP
16736 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16737 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16738 GREP
="$ac_cv_path_GREP"
16741 { echo "$as_me:$LINENO: checking for egrep" >&5
16742 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16743 if test "${ac_cv_path_EGREP+set}" = set; then
16744 echo $ECHO_N "(cached) $ECHO_C" >&6
16746 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16747 then ac_cv_path_EGREP
="$GREP -E"
16749 # Extract the first word of "egrep" to use in msg output
16750 if test -z "$EGREP"; then
16751 set dummy
egrep; ac_prog_name
=$2
16752 if test "${ac_cv_path_EGREP+set}" = set; then
16753 echo $ECHO_N "(cached) $ECHO_C" >&6
16755 ac_path_EGREP_found
=false
16756 # Loop through the user's path and test for each of PROGNAME-LIST
16757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16758 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16761 test -z "$as_dir" && as_dir
=.
16762 for ac_prog
in egrep; do
16763 for ac_exec_ext
in '' $ac_executable_extensions; do
16764 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16765 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16766 # Check for GNU ac_path_EGREP and select it if it is found.
16767 # Check for GNU $ac_path_EGREP
16768 case `"$ac_path_EGREP" --version 2>&1` in
16770 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16773 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16776 cat "conftest.in" "conftest.in" >"conftest.tmp"
16777 mv "conftest.tmp" "conftest.in"
16778 cp "conftest.in" "conftest.nl"
16779 echo 'EGREP' >> "conftest.nl"
16780 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16781 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16782 ac_count
=`expr $ac_count + 1`
16783 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16784 # Best one so far, save it but keep looking for a better one
16785 ac_cv_path_EGREP
="$ac_path_EGREP"
16786 ac_path_EGREP_max
=$ac_count
16788 # 10*(2^10) chars as input seems more than enough
16789 test $ac_count -gt 10 && break
16791 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16795 $ac_path_EGREP_found && break 3
16805 EGREP
="$ac_cv_path_EGREP"
16806 if test -z "$EGREP"; then
16807 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16808 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16809 { (exit 1); exit 1; }; }
16813 ac_cv_path_EGREP
=$EGREP
16819 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16820 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16821 EGREP
="$ac_cv_path_EGREP"
16824 if test $ac_cv_c_compiler_gnu = yes; then
16825 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16826 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16827 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16828 echo $ECHO_N "(cached) $ECHO_C" >&6
16830 ac_pattern
="Autoconf.*'x'"
16831 cat >conftest.
$ac_ext <<_ACEOF
16834 cat confdefs.h
>>conftest.
$ac_ext
16835 cat >>conftest.
$ac_ext <<_ACEOF
16836 /* end confdefs.h. */
16840 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16841 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16842 ac_cv_prog_gcc_traditional
=yes
16844 ac_cv_prog_gcc_traditional
=no
16849 if test $ac_cv_prog_gcc_traditional = no
; then
16850 cat >conftest.
$ac_ext <<_ACEOF
16853 cat confdefs.h
>>conftest.
$ac_ext
16854 cat >>conftest.
$ac_ext <<_ACEOF
16855 /* end confdefs.h. */
16856 #include <termio.h>
16859 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16860 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16861 ac_cv_prog_gcc_traditional
=yes
16867 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16868 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16869 if test $ac_cv_prog_gcc_traditional = yes; then
16870 CC
="$CC -traditional"
16875 CXXFLAGS
=${CXXFLAGS:=}
16877 ac_cpp
='$CXXCPP $CPPFLAGS'
16878 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16879 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16880 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16881 if test -z "$CXX"; then
16882 if test -n "$CCC"; then
16885 if test -n "$ac_tool_prefix"; then
16886 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16888 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16889 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16890 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16892 if test "${ac_cv_prog_CXX+set}" = set; then
16893 echo $ECHO_N "(cached) $ECHO_C" >&6
16895 if test -n "$CXX"; then
16896 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16899 for as_dir
in $PATH
16902 test -z "$as_dir" && as_dir
=.
16903 for ac_exec_ext
in '' $ac_executable_extensions; do
16904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16905 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16915 CXX
=$ac_cv_prog_CXX
16916 if test -n "$CXX"; then
16917 { echo "$as_me:$LINENO: result: $CXX" >&5
16918 echo "${ECHO_T}$CXX" >&6; }
16920 { echo "$as_me:$LINENO: result: no" >&5
16921 echo "${ECHO_T}no" >&6; }
16925 test -n "$CXX" && break
16928 if test -z "$CXX"; then
16930 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16932 # Extract the first word of "$ac_prog", so it can be a program name with args.
16933 set dummy
$ac_prog; ac_word
=$2
16934 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16936 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16937 echo $ECHO_N "(cached) $ECHO_C" >&6
16939 if test -n "$ac_ct_CXX"; then
16940 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16943 for as_dir
in $PATH
16946 test -z "$as_dir" && as_dir
=.
16947 for ac_exec_ext
in '' $ac_executable_extensions; do
16948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16949 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16959 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16960 if test -n "$ac_ct_CXX"; then
16961 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16962 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16964 { echo "$as_me:$LINENO: result: no" >&5
16965 echo "${ECHO_T}no" >&6; }
16969 test -n "$ac_ct_CXX" && break
16972 if test "x$ac_ct_CXX" = x
; then
16975 case $cross_compiling:$ac_tool_warned in
16977 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16978 whose name does not start with the host triplet. If you think this
16979 configuration is useful to you, please write to autoconf@gnu.org." >&5
16980 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16981 whose name does not start with the host triplet. If you think this
16982 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16983 ac_tool_warned
=yes ;;
16991 # Provide some information about the compiler.
16992 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16993 ac_compiler
=`set X $ac_compile; echo $2`
16994 { (ac_try
="$ac_compiler --version >&5"
16995 case "(($ac_try" in
16996 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16997 *) ac_try_echo=$ac_try;;
16999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17000 (eval "$ac_compiler --version >&5") 2>&5
17002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17003 (exit $ac_status); }
17004 { (ac_try="$ac_compiler -v >&5"
17005 case "(($ac_try" in
17006 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17007 *) ac_try_echo
=$ac_try;;
17009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17010 (eval "$ac_compiler -v >&5") 2>&5
17012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013 (exit $ac_status); }
17014 { (ac_try
="$ac_compiler -V >&5"
17015 case "(($ac_try" in
17016 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17017 *) ac_try_echo=$ac_try;;
17019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17020 (eval "$ac_compiler -V >&5") 2>&5
17022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17023 (exit $ac_status); }
17025 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17026 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17027 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17028 echo $ECHO_N "(cached) $ECHO_C" >&6
17030 cat >conftest.$ac_ext <<_ACEOF
17033 cat confdefs.h >>conftest.$ac_ext
17034 cat >>conftest.$ac_ext <<_ACEOF
17035 /* end confdefs.h. */
17048 rm -f conftest.$ac_objext
17049 if { (ac_try="$ac_compile"
17050 case "(($ac_try" in
17051 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17052 *) ac_try_echo
=$ac_try;;
17054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17055 (eval "$ac_compile") 2>conftest.er1
17057 grep -v '^ *+' conftest.er1
>conftest.err
17059 cat conftest.err
>&5
17060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061 (exit $ac_status); } && {
17062 test -z "$ac_cxx_werror_flag" ||
17063 test ! -s conftest.err
17064 } && test -s conftest.
$ac_objext; then
17065 ac_compiler_gnu
=yes
17067 echo "$as_me: failed program was:" >&5
17068 sed 's/^/| /' conftest.
$ac_ext >&5
17073 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17074 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
17077 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17078 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17079 GXX
=`test $ac_compiler_gnu = yes && echo yes`
17080 ac_test_CXXFLAGS
=${CXXFLAGS+set}
17081 ac_save_CXXFLAGS
=$CXXFLAGS
17082 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17083 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17084 if test "${ac_cv_prog_cxx_g+set}" = set; then
17085 echo $ECHO_N "(cached) $ECHO_C" >&6
17087 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
17088 ac_cxx_werror_flag
=yes
17089 ac_cv_prog_cxx_g
=no
17091 cat >conftest.
$ac_ext <<_ACEOF
17094 cat confdefs.h
>>conftest.
$ac_ext
17095 cat >>conftest.
$ac_ext <<_ACEOF
17096 /* end confdefs.h. */
17106 rm -f conftest.
$ac_objext
17107 if { (ac_try
="$ac_compile"
17108 case "(($ac_try" in
17109 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17110 *) ac_try_echo=$ac_try;;
17112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17113 (eval "$ac_compile") 2>conftest.er1
17115 grep -v '^ *+' conftest.er1 >conftest.err
17117 cat conftest.err >&5
17118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119 (exit $ac_status); } && {
17120 test -z "$ac_cxx_werror_flag" ||
17121 test ! -s conftest.err
17122 } && test -s conftest.$ac_objext; then
17123 ac_cv_prog_cxx_g=yes
17125 echo "$as_me: failed program was:" >&5
17126 sed 's/^/| /' conftest.$ac_ext >&5
17129 cat >conftest.$ac_ext <<_ACEOF
17132 cat confdefs.h >>conftest.$ac_ext
17133 cat >>conftest.$ac_ext <<_ACEOF
17134 /* end confdefs.h. */
17144 rm -f conftest.$ac_objext
17145 if { (ac_try="$ac_compile"
17146 case "(($ac_try" in
17147 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17148 *) ac_try_echo
=$ac_try;;
17150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17151 (eval "$ac_compile") 2>conftest.er1
17153 grep -v '^ *+' conftest.er1
>conftest.err
17155 cat conftest.err
>&5
17156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17157 (exit $ac_status); } && {
17158 test -z "$ac_cxx_werror_flag" ||
17159 test ! -s conftest.err
17160 } && test -s conftest.
$ac_objext; then
17163 echo "$as_me: failed program was:" >&5
17164 sed 's/^/| /' conftest.
$ac_ext >&5
17166 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
17168 cat >conftest.
$ac_ext <<_ACEOF
17171 cat confdefs.h
>>conftest.
$ac_ext
17172 cat >>conftest.
$ac_ext <<_ACEOF
17173 /* end confdefs.h. */
17183 rm -f conftest.
$ac_objext
17184 if { (ac_try
="$ac_compile"
17185 case "(($ac_try" in
17186 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17187 *) ac_try_echo=$ac_try;;
17189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17190 (eval "$ac_compile") 2>conftest.er1
17192 grep -v '^ *+' conftest.er1 >conftest.err
17194 cat conftest.err >&5
17195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17196 (exit $ac_status); } && {
17197 test -z "$ac_cxx_werror_flag" ||
17198 test ! -s conftest.err
17199 } && test -s conftest.$ac_objext; then
17200 ac_cv_prog_cxx_g=yes
17202 echo "$as_me: failed program was:" >&5
17203 sed 's/^/| /' conftest.$ac_ext >&5
17208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17215 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17217 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17218 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17219 if test "$ac_test_CXXFLAGS" = set; then
17220 CXXFLAGS=$ac_save_CXXFLAGS
17221 elif test $ac_cv_prog_cxx_g = yes; then
17222 if test "$GXX" = yes; then
17228 if test "$GXX" = yes; then
17235 ac_cpp='$CPP $CPPFLAGS'
17236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17248 ac_cpp='$CXXCPP $CPPFLAGS'
17249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17253 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17254 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17255 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17256 echo $ECHO_N "(cached) $ECHO_C" >&6
17258 cat >conftest.$ac_ext <<_ACEOF
17261 cat confdefs.h >>conftest.$ac_ext
17262 cat >>conftest.$ac_ext <<_ACEOF
17263 /* end confdefs.h. */
17269 #ifndef __INTEL_COMPILER
17277 rm -f conftest.$ac_objext
17278 if { (ac_try="$ac_compile"
17279 case "(($ac_try" in
17280 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17281 *) ac_try_echo
=$ac_try;;
17283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17284 (eval "$ac_compile") 2>conftest.er1
17286 grep -v '^ *+' conftest.er1
>conftest.err
17288 cat conftest.err
>&5
17289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17290 (exit $ac_status); } && {
17291 test -z "$ac_cxx_werror_flag" ||
17292 test ! -s conftest.err
17293 } && test -s conftest.
$ac_objext; then
17294 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
17296 echo "$as_me: failed program was:" >&5
17297 sed 's/^/| /' conftest.
$ac_ext >&5
17299 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
17303 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17307 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17308 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17309 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17315 ac_cpp
='$CPP $CPPFLAGS'
17316 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17317 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17318 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17323 if test "$INTELCXX" = "yes"; then
17327 ac_cpp
='$CXXCPP $CPPFLAGS'
17328 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17329 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17330 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17332 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17333 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17334 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17335 echo $ECHO_N "(cached) $ECHO_C" >&6
17337 cat >conftest.
$ac_ext <<_ACEOF
17340 cat confdefs.h
>>conftest.
$ac_ext
17341 cat >>conftest.
$ac_ext <<_ACEOF
17342 /* end confdefs.h. */
17348 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17356 rm -f conftest.
$ac_objext
17357 if { (ac_try
="$ac_compile"
17358 case "(($ac_try" in
17359 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17360 *) ac_try_echo=$ac_try;;
17362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17363 (eval "$ac_compile") 2>conftest.er1
17365 grep -v '^ *+' conftest.er1 >conftest.err
17367 cat conftest.err >&5
17368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17369 (exit $ac_status); } && {
17370 test -z "$ac_cxx_werror_flag" ||
17371 test ! -s conftest.err
17372 } && test -s conftest.$ac_objext; then
17373 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17375 echo "$as_me: failed program was:" >&5
17376 sed 's/^/| /' conftest.$ac_ext >&5
17378 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17386 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17387 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17388 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17394 ac_cpp='$CPP $CPPFLAGS'
17395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17404 ac_cpp='$CXXCPP $CPPFLAGS'
17405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17409 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17410 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17411 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17412 echo $ECHO_N "(cached) $ECHO_C" >&6
17414 cat >conftest.$ac_ext <<_ACEOF
17417 cat confdefs.h >>conftest.$ac_ext
17418 cat >>conftest.$ac_ext <<_ACEOF
17419 /* end confdefs.h. */
17425 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17433 rm -f conftest.$ac_objext
17434 if { (ac_try="$ac_compile"
17435 case "(($ac_try" in
17436 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17437 *) ac_try_echo
=$ac_try;;
17439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17440 (eval "$ac_compile") 2>conftest.er1
17442 grep -v '^ *+' conftest.er1
>conftest.err
17444 cat conftest.err
>&5
17445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17446 (exit $ac_status); } && {
17447 test -z "$ac_cxx_werror_flag" ||
17448 test ! -s conftest.err
17449 } && test -s conftest.
$ac_objext; then
17450 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
17452 echo "$as_me: failed program was:" >&5
17453 sed 's/^/| /' conftest.
$ac_ext >&5
17455 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
17459 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17463 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17464 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17465 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17471 ac_cpp
='$CPP $CPPFLAGS'
17472 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17473 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17474 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17480 if test "x$GCXX" != "xyes"; then
17481 if test "xCXX" = "xC"; then
17482 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17483 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17484 if test "${bakefile_cv_c_exto+set}" = set; then
17485 echo $ECHO_N "(cached) $ECHO_C" >&6
17487 cat >conftest.
$ac_ext <<_ACEOF
17490 cat confdefs.h
>>conftest.
$ac_ext
17491 cat >>conftest.
$ac_ext <<_ACEOF
17492 /* end confdefs.h. */
17502 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17504 (eval $ac_compile) 2>&5
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); }; then
17508 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17510 conftest.
$ac_ext.o
)
17511 bakefile_cv_c_exto
="-ext o"
17518 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17519 See \`config.log' for more details." >&5
17520 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17521 See \`config.log' for more details." >&2;}
17522 { (exit 1); exit 1; }; }
17526 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17529 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17530 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17531 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17532 if test "c" = "c"; then
17533 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17535 if test "c" = "cxx"; then
17536 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17540 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17541 unset ac_cv_prog_cc_g
17542 ac_test_CFLAGS
=${CFLAGS+set}
17543 ac_save_CFLAGS
=$CFLAGS
17544 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17545 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17546 if test "${ac_cv_prog_cc_g+set}" = set; then
17547 echo $ECHO_N "(cached) $ECHO_C" >&6
17549 ac_save_c_werror_flag
=$ac_c_werror_flag
17550 ac_c_werror_flag
=yes
17553 cat >conftest.
$ac_ext <<_ACEOF
17556 cat confdefs.h
>>conftest.
$ac_ext
17557 cat >>conftest.
$ac_ext <<_ACEOF
17558 /* end confdefs.h. */
17568 rm -f conftest.
$ac_objext
17569 if { (ac_try
="$ac_compile"
17570 case "(($ac_try" in
17571 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17572 *) ac_try_echo=$ac_try;;
17574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17575 (eval "$ac_compile") 2>conftest.er1
17577 grep -v '^ *+' conftest.er1 >conftest.err
17579 cat conftest.err >&5
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); } && {
17582 test -z "$ac_c_werror_flag" ||
17583 test ! -s conftest.err
17584 } && test -s conftest.$ac_objext; then
17585 ac_cv_prog_cc_g=yes
17587 echo "$as_me: failed program was:" >&5
17588 sed 's/^/| /' conftest.$ac_ext >&5
17591 cat >conftest.$ac_ext <<_ACEOF
17594 cat confdefs.h >>conftest.$ac_ext
17595 cat >>conftest.$ac_ext <<_ACEOF
17596 /* end confdefs.h. */
17606 rm -f conftest.$ac_objext
17607 if { (ac_try="$ac_compile"
17608 case "(($ac_try" in
17609 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17610 *) ac_try_echo
=$ac_try;;
17612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17613 (eval "$ac_compile") 2>conftest.er1
17615 grep -v '^ *+' conftest.er1
>conftest.err
17617 cat conftest.err
>&5
17618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17619 (exit $ac_status); } && {
17620 test -z "$ac_c_werror_flag" ||
17621 test ! -s conftest.err
17622 } && test -s conftest.
$ac_objext; then
17625 echo "$as_me: failed program was:" >&5
17626 sed 's/^/| /' conftest.
$ac_ext >&5
17628 ac_c_werror_flag
=$ac_save_c_werror_flag
17630 cat >conftest.
$ac_ext <<_ACEOF
17633 cat confdefs.h
>>conftest.
$ac_ext
17634 cat >>conftest.
$ac_ext <<_ACEOF
17635 /* end confdefs.h. */
17645 rm -f conftest.
$ac_objext
17646 if { (ac_try
="$ac_compile"
17647 case "(($ac_try" in
17648 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17649 *) ac_try_echo=$ac_try;;
17651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17652 (eval "$ac_compile") 2>conftest.er1
17654 grep -v '^ *+' conftest.er1 >conftest.err
17656 cat conftest.err >&5
17657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658 (exit $ac_status); } && {
17659 test -z "$ac_c_werror_flag" ||
17660 test ! -s conftest.err
17661 } && test -s conftest.$ac_objext; then
17662 ac_cv_prog_cc_g=yes
17664 echo "$as_me: failed program was:" >&5
17665 sed 's/^/| /' conftest.$ac_ext >&5
17670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17677 ac_c_werror_flag=$ac_save_c_werror_flag
17679 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17680 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17681 if test "$ac_test_CFLAGS" = set; then
17682 CFLAGS=$ac_save_CFLAGS
17683 elif test $ac_cv_prog_cc_g = yes; then
17684 if test "$GCC" = yes; then
17690 if test "$GCC" = yes; then
17704 ac_cpp='$CXXCPP $CPPFLAGS'
17705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17709 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17710 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17711 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17712 echo $ECHO_N "(cached) $ECHO_C" >&6
17714 cat >conftest.$ac_ext <<_ACEOF
17717 cat confdefs.h >>conftest.$ac_ext
17718 cat >>conftest.$ac_ext <<_ACEOF
17719 /* end confdefs.h. */
17733 rm -f conftest.$ac_objext
17734 if { (ac_try="$ac_compile"
17735 case "(($ac_try" in
17736 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17737 *) ac_try_echo
=$ac_try;;
17739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17740 (eval "$ac_compile") 2>conftest.er1
17742 grep -v '^ *+' conftest.er1
>conftest.err
17744 cat conftest.err
>&5
17745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17746 (exit $ac_status); } && {
17747 test -z "$ac_cxx_werror_flag" ||
17748 test ! -s conftest.err
17749 } && test -s conftest.
$ac_objext; then
17750 bakefile_cv_cxx_compiler___xlC__
=yes
17752 echo "$as_me: failed program was:" >&5
17753 sed 's/^/| /' conftest.
$ac_ext >&5
17755 bakefile_cv_cxx_compiler___xlC__
=no
17759 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17763 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17764 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17765 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17771 ac_cpp
='$CPP $CPPFLAGS'
17772 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17773 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17774 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17784 ac_cpp
='$CXXCPP $CPPFLAGS'
17785 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17786 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17787 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17789 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17790 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17791 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17792 echo $ECHO_N "(cached) $ECHO_C" >&6
17794 cat >conftest.
$ac_ext <<_ACEOF
17797 cat confdefs.h
>>conftest.
$ac_ext
17798 cat >>conftest.
$ac_ext <<_ACEOF
17799 /* 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_cxx_werror_flag" ||
17828 test ! -s conftest.err
17829 } && test -s conftest.$ac_objext; then
17830 bakefile_cv_cxx_compiler___MWERKS__=yes
17832 echo "$as_me: failed program was:" >&5
17833 sed 's/^/| /' conftest.$ac_ext >&5
17835 bakefile_cv_cxx_compiler___MWERKS__=no
17839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17843 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17844 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17845 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17851 ac_cpp='$CPP $CPPFLAGS'
17852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17858 if test "$MWCXX" != "yes"; then
17862 ac_cpp='$CXXCPP $CPPFLAGS'
17863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17867 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17868 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17869 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17870 echo $ECHO_N "(cached) $ECHO_C" >&6
17872 cat >conftest.$ac_ext <<_ACEOF
17875 cat confdefs.h >>conftest.$ac_ext
17876 cat >>conftest.$ac_ext <<_ACEOF
17877 /* end confdefs.h. */
17891 rm -f conftest.$ac_objext
17892 if { (ac_try="$ac_compile"
17893 case "(($ac_try" in
17894 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17895 *) ac_try_echo
=$ac_try;;
17897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17898 (eval "$ac_compile") 2>conftest.er1
17900 grep -v '^ *+' conftest.er1
>conftest.err
17902 cat conftest.err
>&5
17903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17904 (exit $ac_status); } && {
17905 test -z "$ac_cxx_werror_flag" ||
17906 test ! -s conftest.err
17907 } && test -s conftest.
$ac_objext; then
17908 bakefile_cv_cxx_compiler___xlC__
=yes
17910 echo "$as_me: failed program was:" >&5
17911 sed 's/^/| /' conftest.
$ac_ext >&5
17913 bakefile_cv_cxx_compiler___xlC__
=no
17917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17921 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17922 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17923 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17929 ac_cpp
='$CPP $CPPFLAGS'
17930 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17931 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17932 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17943 ac_cpp
='$CXXCPP $CPPFLAGS'
17944 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17945 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17946 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17948 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17949 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17950 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17951 echo $ECHO_N "(cached) $ECHO_C" >&6
17953 cat >conftest.
$ac_ext <<_ACEOF
17956 cat confdefs.h
>>conftest.
$ac_ext
17957 cat >>conftest.
$ac_ext <<_ACEOF
17958 /* end confdefs.h. */
17964 #ifndef _SGI_COMPILER_VERSION
17972 rm -f conftest.
$ac_objext
17973 if { (ac_try
="$ac_compile"
17974 case "(($ac_try" in
17975 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17976 *) ac_try_echo=$ac_try;;
17978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17979 (eval "$ac_compile") 2>conftest.er1
17981 grep -v '^ *+' conftest.er1 >conftest.err
17983 cat conftest.err >&5
17984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17985 (exit $ac_status); } && {
17986 test -z "$ac_cxx_werror_flag" ||
17987 test ! -s conftest.err
17988 } && test -s conftest.$ac_objext; then
17989 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17991 echo "$as_me: failed program was:" >&5
17992 sed 's/^/| /' conftest.$ac_ext >&5
17994 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18002 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18003 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18004 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18010 ac_cpp='$CPP $CPPFLAGS'
18011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18020 if test "$INTELCXX" != "yes"; then
18024 ac_cpp='$CXXCPP $CPPFLAGS'
18025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18029 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18030 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18031 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18032 echo $ECHO_N "(cached) $ECHO_C" >&6
18034 cat >conftest.$ac_ext <<_ACEOF
18037 cat confdefs.h >>conftest.$ac_ext
18038 cat >>conftest.$ac_ext <<_ACEOF
18039 /* end confdefs.h. */
18045 #ifndef __SUNPRO_CC
18053 rm -f conftest.$ac_objext
18054 if { (ac_try="$ac_compile"
18055 case "(($ac_try" in
18056 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18057 *) ac_try_echo
=$ac_try;;
18059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18060 (eval "$ac_compile") 2>conftest.er1
18062 grep -v '^ *+' conftest.er1
>conftest.err
18064 cat conftest.err
>&5
18065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18066 (exit $ac_status); } && {
18067 test -z "$ac_cxx_werror_flag" ||
18068 test ! -s conftest.err
18069 } && test -s conftest.
$ac_objext; then
18070 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
18072 echo "$as_me: failed program was:" >&5
18073 sed 's/^/| /' conftest.
$ac_ext >&5
18075 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
18079 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18083 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18084 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18085 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18091 ac_cpp
='$CPP $CPPFLAGS'
18092 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18093 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18094 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18105 ac_cpp
='$CXXCPP $CPPFLAGS'
18106 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18107 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18108 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18110 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18111 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18112 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18113 echo $ECHO_N "(cached) $ECHO_C" >&6
18115 cat >conftest.
$ac_ext <<_ACEOF
18118 cat confdefs.h
>>conftest.
$ac_ext
18119 cat >>conftest.
$ac_ext <<_ACEOF
18120 /* end confdefs.h. */
18134 rm -f conftest.
$ac_objext
18135 if { (ac_try
="$ac_compile"
18136 case "(($ac_try" in
18137 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18138 *) ac_try_echo=$ac_try;;
18140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18141 (eval "$ac_compile") 2>conftest.er1
18143 grep -v '^ *+' conftest.er1 >conftest.err
18145 cat conftest.err >&5
18146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18147 (exit $ac_status); } && {
18148 test -z "$ac_cxx_werror_flag" ||
18149 test ! -s conftest.err
18150 } && test -s conftest.$ac_objext; then
18151 bakefile_cv_cxx_compiler___HP_aCC=yes
18153 echo "$as_me: failed program was:" >&5
18154 sed 's/^/| /' conftest.$ac_ext >&5
18156 bakefile_cv_cxx_compiler___HP_aCC=no
18160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18164 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18165 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18166 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18172 ac_cpp='$CPP $CPPFLAGS'
18173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18185 ac_cpp='$CXXCPP $CPPFLAGS'
18186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18190 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18191 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18192 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18193 echo $ECHO_N "(cached) $ECHO_C" >&6
18195 cat >conftest.$ac_ext <<_ACEOF
18198 cat confdefs.h >>conftest.$ac_ext
18199 cat >>conftest.$ac_ext <<_ACEOF
18200 /* end confdefs.h. */
18214 rm -f conftest.$ac_objext
18215 if { (ac_try="$ac_compile"
18216 case "(($ac_try" in
18217 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18218 *) ac_try_echo
=$ac_try;;
18220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18221 (eval "$ac_compile") 2>conftest.er1
18223 grep -v '^ *+' conftest.er1
>conftest.err
18225 cat conftest.err
>&5
18226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18227 (exit $ac_status); } && {
18228 test -z "$ac_cxx_werror_flag" ||
18229 test ! -s conftest.err
18230 } && test -s conftest.
$ac_objext; then
18231 bakefile_cv_cxx_compiler___DECCXX
=yes
18233 echo "$as_me: failed program was:" >&5
18234 sed 's/^/| /' conftest.
$ac_ext >&5
18236 bakefile_cv_cxx_compiler___DECCXX
=no
18240 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18244 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18245 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18246 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18252 ac_cpp
='$CPP $CPPFLAGS'
18253 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18254 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18255 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18265 ac_cpp
='$CXXCPP $CPPFLAGS'
18266 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18267 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18268 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18270 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18271 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18272 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18273 echo $ECHO_N "(cached) $ECHO_C" >&6
18275 cat >conftest.
$ac_ext <<_ACEOF
18278 cat confdefs.h
>>conftest.
$ac_ext
18279 cat >>conftest.
$ac_ext <<_ACEOF
18280 /* end confdefs.h. */
18286 #ifndef __SUNPRO_CC
18294 rm -f conftest.
$ac_objext
18295 if { (ac_try
="$ac_compile"
18296 case "(($ac_try" in
18297 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18298 *) ac_try_echo=$ac_try;;
18300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18301 (eval "$ac_compile") 2>conftest.er1
18303 grep -v '^ *+' conftest.er1 >conftest.err
18305 cat conftest.err >&5
18306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18307 (exit $ac_status); } && {
18308 test -z "$ac_cxx_werror_flag" ||
18309 test ! -s conftest.err
18310 } && test -s conftest.$ac_objext; then
18311 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18313 echo "$as_me: failed program was:" >&5
18314 sed 's/^/| /' conftest.$ac_ext >&5
18316 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18324 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18325 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18326 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18332 ac_cpp='$CPP $CPPFLAGS'
18333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18345 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18346 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18347 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18348 { (exit 1); exit 1; }; }
18351 if test "x$SUNCXX" != xyes; then
18352 if test -n "$ac_tool_prefix"; then
18353 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18354 set dummy ${ac_tool_prefix}ar; ac_word=$2
18355 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18357 if test "${ac_cv_prog_AR+set}" = set; then
18358 echo $ECHO_N "(cached) $ECHO_C" >&6
18360 if test -n "$AR"; then
18361 ac_cv_prog_AR="$AR" # Let the user override the test.
18363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18364 for as_dir in $PATH
18367 test -z "$as_dir" && as_dir=.
18368 for ac_exec_ext in '' $ac_executable_extensions; do
18369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18370 ac_cv_prog_AR="${ac_tool_prefix}ar"
18371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18381 if test -n "$AR"; then
18382 { echo "$as_me:$LINENO: result: $AR" >&5
18383 echo "${ECHO_T}$AR" >&6; }
18385 { echo "$as_me:$LINENO: result: no" >&5
18386 echo "${ECHO_T}no" >&6; }
18391 if test -z "$ac_cv_prog_AR"; then
18393 # Extract the first word of "ar", so it can be a program name with args.
18394 set dummy ar; ac_word=$2
18395 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18397 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18398 echo $ECHO_N "(cached) $ECHO_C" >&6
18400 if test -n "$ac_ct_AR"; then
18401 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18404 for as_dir in $PATH
18407 test -z "$as_dir" && as_dir=.
18408 for ac_exec_ext in '' $ac_executable_extensions; do
18409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18410 ac_cv_prog_ac_ct_AR="ar"
18411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18420 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18421 if test -n "$ac_ct_AR"; then
18422 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18423 echo "${ECHO_T}$ac_ct_AR" >&6; }
18425 { echo "$as_me:$LINENO: result: no" >&5
18426 echo "${ECHO_T}no" >&6; }
18429 if test "x$ac_ct_AR" = x; then
18432 case $cross_compiling:$ac_tool_warned in
18434 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18435 whose name does not start with the host triplet. If you think this
18436 configuration is useful to you, please write to autoconf@gnu.org." >&5
18437 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18438 whose name does not start with the host triplet. If you think this
18439 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18440 ac_tool_warned=yes ;;
18445 AR="$ac_cv_prog_AR"
18448 if test "x$AR" = "x" ; then
18449 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18450 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18451 { (exit 1); exit 1; }; }
18456 if test "$wxUSE_MAC" = 1; then
18458 retest_macosx_linking=no
18460 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18461 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18462 # Implicitly turn on the new --with-macosx-sdk using the default
18463 # SDK which provides the behavior this option has always had.
18464 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18465 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18466 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18467 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18468 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18469 wxUSE_MACOSX_SDK=yes
18472 # Complain to user if he specified an argument to --enable-universal_binary
18473 # and also 1) specified --with-macosx-sdk using the default (yes) or
18474 # 2) specified --with-macosx-sdk using a path or 3) specified
18475 # --without-macosx-sdk (no).
18476 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18477 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18478 See \`config.log
' for more details." >&5
18479 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18480 See \`config.log' for more details.
" >&2;}
18481 { (exit 1); exit 1; }; }
18483 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18484 # special-case the empty string because the below test simply
18485 # converts "no
" to the empty string anyway.
18486 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18487 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
18488 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
18491 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
18492 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18493 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18494 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18495 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18496 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18497 retest_macosx_linking=yes
18499 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
18500 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
18504 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
18506 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
18507 # TODO: Search for most recent SDK and use it.
18508 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
18512 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
18513 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
18514 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
18515 if ! test -d "$wxUSE_MACOSX_SDK"; then
18516 { { echo "$as_me:$LINENO: error
: not found
18517 See \
`config.log' for more details." >&5
18518 echo "$as_me: error: not found
18519 See \`config.log
' for more details." >&2;}
18520 { (exit 1); exit 1; }; }
18522 { echo "$as_me:$LINENO: result: exists" >&5
18523 echo "${ECHO_T}exists" >&6; }
18525 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18526 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18527 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18528 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18529 retest_macosx_linking=yes
18532 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18533 wxUSE_MACOSX_VERSION_MIN=
18534 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18535 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18536 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18537 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18539 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/'`
18541 # If that failed, try again with the new key
18542 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18544 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/'`
18548 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18549 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18550 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18551 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18553 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18554 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18555 wxUSE_MACOSX_VERSION_MIN=
18558 wxUSE_MACOSX_VERSION_MIN=
18560 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18561 for ac_prog in sw_vers
18563 # Extract the first word of "$ac_prog", so it can be a program name with args.
18564 set dummy $ac_prog; ac_word=$2
18565 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18567 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18568 echo $ECHO_N "(cached) $ECHO_C" >&6
18570 if test -n "$OSX_SW_VERS"; then
18571 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18574 for as_dir in $PATH
18577 test -z "$as_dir" && as_dir=.
18578 for ac_exec_ext in '' $ac_executable_extensions; do
18579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18580 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18590 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18591 if test -n "$OSX_SW_VERS"; then
18592 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18593 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
18595 { echo "$as_me:$LINENO: result: no" >&5
18596 echo "${ECHO_T}no" >&6; }
18600 test -n "$OSX_SW_VERS" && break
18603 if test "$OSX_SW_VERS" != ""; then
18604 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18606 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
18607 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
18611 case "$OSX_VERSION" in
18613 wxUSE_MACOSX_VERSION_MIN=10.4
18617 if test "$wxUSE_OSX_CARBON" = 1; then
18618 # otherwise configure stops on leopard for universal_binary
18619 wxUSE_MACOSX_VERSION_MIN=10.4
18621 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
18622 wxUSE_MACOSX_VERSION_MIN=10.5
18629 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18633 if test "$wxUSE_OSX_CARBON" = 1; then
18637 if test "x$NEEDS_GCC40" == "xyes"; then
18638 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18639 # and wants 10.4 compatible code, then 'downgrade
' to 4.0
18640 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18641 if test "x$CC" = "xgcc"; then
18642 CCVERSION=`$CC --version | grep 4.[2-9].`
18643 if test "x$CCVERSION" != "x"; then
18644 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18645 CC="/usr/bin/gcc-4.0"
18649 if test "x$CXX" = "xg++"; then
18650 CCVERSION=`$CXX --version | grep 4.[2-9].`
18651 if test "x$CCVERSION" != "x"; then
18652 CXX="/usr/bin/g++-4.0"
18657 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18658 if test "$wxUSE_OSX_IPHONE" = 1; then
18659 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
18661 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18663 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18664 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18665 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18666 retest_macosx_linking=yes
18669 if test "x$retest_macosx_linking" = "xyes"; then
18671 ac_cpp='$CPP $CPPFLAGS'
18672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18673 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18676 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18677 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18678 cat >conftest.$ac_ext <<_ACEOF
18681 cat confdefs.h >>conftest.$ac_ext
18682 cat >>conftest.$ac_ext <<_ACEOF
18683 /* end confdefs.h. */
18693 rm -f conftest.$ac_objext conftest$ac_exeext
18694 if { (ac_try="$ac_link"
18695 case "(($ac_try" in
18696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18697 *) ac_try_echo=$ac_try;;
18699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18700 (eval "$ac_link") 2>conftest.er1
18702 grep -v '^
*+' conftest.er1 >conftest.err
18704 cat conftest.err >&5
18705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18706 (exit $ac_status); } && {
18707 test -z "$ac_c_werror_flag" ||
18708 test ! -s conftest.err
18709 } && test -s conftest$ac_exeext &&
18710 $as_test_x conftest$ac_exeext; then
18711 { echo "$as_me:$LINENO: result: yes" >&5
18712 echo "${ECHO_T}yes" >&6; }
18714 echo "$as_me: failed program was:" >&5
18715 sed 's
/^
/| /' conftest.$ac_ext >&5
18717 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18718 See \`config.log' for more details.
" >&5
18719 echo "$as_me: error
: no. Try a different SDK
18720 See \
`config.log' for more details." >&2;}
18721 { (exit 1); exit 1; }; }; exit 1
18724 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18725 conftest$ac_exeext conftest.$ac_ext
18727 ac_cpp='$CPP $CPPFLAGS'
18728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18734 ac_cpp='$CXXCPP $CPPFLAGS'
18735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18739 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18740 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18741 cat >conftest.$ac_ext <<_ACEOF
18744 cat confdefs.h >>conftest.$ac_ext
18745 cat >>conftest.$ac_ext <<_ACEOF
18746 /* end confdefs.h. */
18756 rm -f conftest.$ac_objext conftest$ac_exeext
18757 if { (ac_try="$ac_link"
18758 case "(($ac_try" in
18759 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18760 *) ac_try_echo
=$ac_try;;
18762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18763 (eval "$ac_link") 2>conftest.er1
18765 grep -v '^ *+' conftest.er1
>conftest.err
18767 cat conftest.err
>&5
18768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18769 (exit $ac_status); } && {
18770 test -z "$ac_cxx_werror_flag" ||
18771 test ! -s conftest.err
18772 } && test -s conftest
$ac_exeext &&
18773 $as_test_x conftest
$ac_exeext; then
18774 { echo "$as_me:$LINENO: result: yes" >&5
18775 echo "${ECHO_T}yes" >&6; }
18777 echo "$as_me: failed program was:" >&5
18778 sed 's/^/| /' conftest.
$ac_ext >&5
18780 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18781 See \`config.log' for more details." >&5
18782 echo "$as_me: error: no. Try a different SDK
18783 See \`config.log' for more details." >&2;}
18784 { (exit 1); exit 1; }; }; exit 1
18787 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18788 conftest
$ac_exeext conftest.
$ac_ext
18790 ac_cpp
='$CPP $CPPFLAGS'
18791 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18792 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18793 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18801 INSTALL_PROGRAM
="cp -fp"
18802 INSTALL_DATA
="cp -fp"
18809 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18810 CXXFLAGS
="-qunique $CXXFLAGS"
18814 powerpc
-*-darwin* )
18815 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18816 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18817 cat >conftest.
$ac_ext <<_ACEOF
18820 cat confdefs.h
>>conftest.
$ac_ext
18821 cat >>conftest.
$ac_ext <<_ACEOF
18822 /* end confdefs.h. */
18827 #ifndef __POWERPC__
18828 choke me for lack of PowerPC
18835 rm -f conftest.
$ac_objext
18836 if { (ac_try
="$ac_compile"
18837 case "(($ac_try" in
18838 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18839 *) ac_try_echo=$ac_try;;
18841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18842 (eval "$ac_compile") 2>conftest.er1
18844 grep -v '^ *+' conftest.er1 >conftest.err
18846 cat conftest.err >&5
18847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18848 (exit $ac_status); } && {
18849 test -z "$ac_c_werror_flag" ||
18850 test ! -s conftest.err
18851 } && test -s conftest.$ac_objext; then
18852 { echo "$as_me:$LINENO: result: yes" >&5
18853 echo "${ECHO_T}yes" >&6; }
18855 echo "$as_me: failed program was:" >&5
18856 sed 's/^/| /' conftest.$ac_ext >&5
18858 { echo "$as_me:$LINENO: result: no" >&5
18859 echo "${ECHO_T}no" >&6; }
18860 cat >>confdefs.h <<\_ACEOF
18861 #define __POWERPC__ 1
18867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18873 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18874 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18875 cat >conftest.$ac_ext <<_ACEOF
18878 cat confdefs.h >>conftest.$ac_ext
18879 cat >>conftest.$ac_ext <<_ACEOF
18880 /* end confdefs.h. */
18881 #include <CoreFoundation/CFBase.h>
18891 rm -f conftest.$ac_objext
18892 if { (ac_try="$ac_compile"
18893 case "(($ac_try" in
18894 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18895 *) ac_try_echo
=$ac_try;;
18897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18898 (eval "$ac_compile") 2>conftest.er1
18900 grep -v '^ *+' conftest.er1
>conftest.err
18902 cat conftest.err
>&5
18903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18904 (exit $ac_status); } && {
18905 test -z "$ac_c_werror_flag" ||
18906 test ! -s conftest.err
18907 } && test -s conftest.
$ac_objext; then
18908 { echo "$as_me:$LINENO: result: yes" >&5
18909 echo "${ECHO_T}yes" >&6; }
18911 echo "$as_me: failed program was:" >&5
18912 sed 's/^/| /' conftest.
$ac_ext >&5
18914 { echo "$as_me:$LINENO: result: no" >&5
18915 echo "${ECHO_T}no" >&6; }
18916 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18917 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18918 cat >conftest.
$ac_ext <<_ACEOF
18921 cat confdefs.h
>>conftest.
$ac_ext
18922 cat >>conftest.
$ac_ext <<_ACEOF
18923 /* end confdefs.h. */
18924 #define __CF_USE_FRAMEWORK_INCLUDES__
18925 #include <CoreFoundation/CFBase.h>
18935 rm -f conftest.
$ac_objext
18936 if { (ac_try
="$ac_compile"
18937 case "(($ac_try" in
18938 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18939 *) ac_try_echo=$ac_try;;
18941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18942 (eval "$ac_compile") 2>conftest.er1
18944 grep -v '^ *+' conftest.er1 >conftest.err
18946 cat conftest.err >&5
18947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18948 (exit $ac_status); } && {
18949 test -z "$ac_c_werror_flag" ||
18950 test ! -s conftest.err
18951 } && test -s conftest.$ac_objext; then
18952 { echo "$as_me:$LINENO: result: yes" >&5
18953 echo "${ECHO_T}yes" >&6; }
18954 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18956 echo "$as_me: failed program was:" >&5
18957 sed 's/^/| /' conftest.$ac_ext >&5
18959 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18960 See \`config.log
' for more details." >&5
18961 echo "$as_me: error: no. CoreFoundation not available.
18962 See \`config.log' for more details.
" >&2;}
18963 { (exit 1); exit 1; }; }
18967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18977 doesnt_want_win32=0
18980 if test "$wxUSE_MSW" = 1 ; then
18983 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
18984 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
18985 if test "${wx_cv_nocygwin+set}" = set; then
18986 echo $ECHO_N "(cached
) $ECHO_C" >&6
18989 cat >conftest.$ac_ext <<_ACEOF
18992 cat confdefs.h >>conftest.$ac_ext
18993 cat >>conftest.$ac_ext <<_ACEOF
18994 /* end confdefs.h. */
19008 rm -f conftest.$ac_objext
19009 if { (ac_try="$ac_compile"
19010 case "(($ac_try" in
19011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19012 *) ac_try_echo=$ac_try;;
19014 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19015 (eval "$ac_compile") 2>conftest.er1
19017 grep -v '^ *+' conftest.er1 >conftest.err
19019 cat conftest.err >&5
19020 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19021 (exit $ac_status); } && {
19022 test -z "$ac_c_werror_flag" ||
19023 test ! -s conftest.err
19024 } && test -s conftest.$ac_objext; then
19027 echo "$as_me: failed program was
:" >&5
19028 sed 's/^/| /' conftest.$ac_ext >&5
19034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19038 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
19039 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19041 if test "$wx_cv_nocygwin" = "yes"; then
19044 doesnt_want_win32=1
19047 if test "$wants_win32" = 1 ; then
19048 BAKEFILE_FORCE_PLATFORM=win32
19056 if test "$wxUSE_WINE" = "yes"; then
19058 LDFLAGS_GUI="-mwindows"
19061 if test "$wants_win32" = 1 ; then
19064 cat >>confdefs.h <<\_ACEOF
19065 #define __WIN32__ 1
19068 cat >>confdefs.h <<\_ACEOF
19069 #define __WIN95__ 1
19072 cat >>confdefs.h <<\_ACEOF
19073 #define __WINDOWS__ 1
19076 cat >>confdefs.h <<\_ACEOF
19077 #define __GNUWIN32__ 1
19080 cat >>confdefs.h <<\_ACEOF
19085 if test "$doesnt_want_win32" = 1 ; then
19090 if test "$USE_UNIX" = 1 ; then
19092 cat >>confdefs.h <<\_ACEOF
19099 *-pc-os2_emx | *-pc-os2-emx )
19100 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19101 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
19102 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
19103 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19104 echo $ECHO_N "(cached
) $ECHO_C" >&6
19106 ac_check_lib_save_LIBS=$LIBS
19107 LIBS="-lcExt $LIBS"
19108 cat >conftest.$ac_ext <<_ACEOF
19111 cat confdefs.h >>conftest.$ac_ext
19112 cat >>conftest.$ac_ext <<_ACEOF
19113 /* end confdefs.h. */
19115 /* Override any GCC internal prototype to avoid an error.
19116 Use char because int might match the return type of a GCC
19117 builtin and then its argument prototype would still apply. */
19130 rm -f conftest.$ac_objext conftest$ac_exeext
19131 if { (ac_try="$ac_link"
19132 case "(($ac_try" in
19133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19134 *) ac_try_echo=$ac_try;;
19136 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19137 (eval "$ac_link") 2>conftest.er1
19139 grep -v '^ *+' conftest.er1 >conftest.err
19141 cat conftest.err >&5
19142 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19143 (exit $ac_status); } && {
19144 test -z "$ac_c_werror_flag" ||
19145 test ! -s conftest.err
19146 } && test -s conftest$ac_exeext &&
19147 $as_test_x conftest$ac_exeext; then
19148 ac_cv_lib_cExt_drand48=yes
19150 echo "$as_me: failed program was
:" >&5
19151 sed 's/^/| /' conftest.$ac_ext >&5
19153 ac_cv_lib_cExt_drand48=no
19156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19157 conftest$ac_exeext conftest.$ac_ext
19158 LIBS=$ac_check_lib_save_LIBS
19160 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
19161 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19162 if test $ac_cv_lib_cExt_drand48 = yes; then
19163 LIBS="$LIBS -lcExt"
19167 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
19169 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
19170 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
19171 if test "${wx_cv_gccversion+set}" = set; then
19172 echo $ECHO_N "(cached
) $ECHO_C" >&6
19175 if test "$cross_compiling" = yes; then
19176 wx_cv_gccversion="EMX2
"
19179 cat >conftest.$ac_ext <<_ACEOF
19182 cat confdefs.h >>conftest.$ac_ext
19183 cat >>conftest.$ac_ext <<_ACEOF
19184 /* end confdefs.h. */
19190 FILE *f=fopen("conftestval
", "w
");
19195 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19197 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19207 rm -f conftest$ac_exeext
19208 if { (ac_try="$ac_link"
19209 case "(($ac_try" in
19210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19211 *) ac_try_echo=$ac_try;;
19213 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19214 (eval "$ac_link") 2>&5
19216 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19217 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19218 { (case "(($ac_try" in
19219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19220 *) ac_try_echo=$ac_try;;
19222 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19223 (eval "$ac_try") 2>&5
19225 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19226 (exit $ac_status); }; }; then
19227 wx_cv_gccversion=`cat conftestval`
19229 echo "$as_me: program exited with status
$ac_status" >&5
19230 echo "$as_me: failed program was
:" >&5
19231 sed 's/^/| /' conftest.$ac_ext >&5
19233 ( exit $ac_status )
19234 wx_cv_gccversion="EMX2
"
19236 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19242 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
19243 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19244 if test "$wx_cv_gccversion" = "EMX2
"; then
19245 LIBS="$LIBS -lstdcpp"
19246 LDFLAGS="$LDFLAGS -Zsysv-signals"
19248 if test "$wx_cv_gccversion" = "EMX3
"; then
19249 LIBS="$LIBS -lstdcxx -lgcc"
19250 LDFLAGS="$LDFLAGS -Zsysv-signals"
19252 LIBS="$LIBS -lstdc++"
19255 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
19256 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
19257 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
19264 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
19265 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
19266 if test "${ac_cv_string_strcasecmp+set}" = set; then
19267 echo $ECHO_N "(cached
) $ECHO_C" >&6
19270 cat >conftest.$ac_ext <<_ACEOF
19273 cat confdefs.h >>conftest.$ac_ext
19274 cat >>conftest.$ac_ext <<_ACEOF
19275 /* end confdefs.h. */
19277 #include <string.h>
19283 strcasecmp("foo
", "bar
");
19289 rm -f conftest.$ac_objext conftest$ac_exeext
19290 if { (ac_try="$ac_link"
19291 case "(($ac_try" in
19292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19293 *) ac_try_echo=$ac_try;;
19295 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19296 (eval "$ac_link") 2>conftest.er1
19298 grep -v '^ *+' conftest.er1 >conftest.err
19300 cat conftest.err >&5
19301 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19302 (exit $ac_status); } && {
19303 test -z "$ac_c_werror_flag" ||
19304 test ! -s conftest.err
19305 } && test -s conftest$ac_exeext &&
19306 $as_test_x conftest$ac_exeext; then
19307 ac_cv_string_strcasecmp=yes
19309 echo "$as_me: failed program was
:" >&5
19310 sed 's/^/| /' conftest.$ac_ext >&5
19312 ac_cv_string_strcasecmp=no
19316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19317 conftest$ac_exeext conftest.$ac_ext
19320 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
19321 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19323 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
19324 cat >>confdefs.h <<\_ACEOF
19325 #define HAVE_STRCASECMP_IN_STRING_H 1
19329 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
19330 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
19331 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19332 echo $ECHO_N "(cached
) $ECHO_C" >&6
19335 cat >conftest.$ac_ext <<_ACEOF
19338 cat confdefs.h >>conftest.$ac_ext
19339 cat >>conftest.$ac_ext <<_ACEOF
19340 /* end confdefs.h. */
19342 #include <strings.h>
19348 strcasecmp("foo
", "bar
");
19354 rm -f conftest.$ac_objext conftest$ac_exeext
19355 if { (ac_try="$ac_link"
19356 case "(($ac_try" in
19357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19358 *) ac_try_echo=$ac_try;;
19360 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19361 (eval "$ac_link") 2>conftest.er1
19363 grep -v '^ *+' conftest.er1 >conftest.err
19365 cat conftest.err >&5
19366 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19367 (exit $ac_status); } && {
19368 test -z "$ac_c_werror_flag" ||
19369 test ! -s conftest.err
19370 } && test -s conftest$ac_exeext &&
19371 $as_test_x conftest$ac_exeext; then
19372 ac_cv_strings_strcasecmp=yes
19374 echo "$as_me: failed program was
:" >&5
19375 sed 's/^/| /' conftest.$ac_ext >&5
19377 ac_cv_strings_strcasecmp=no
19381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19382 conftest$ac_exeext conftest.$ac_ext
19385 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
19386 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19388 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
19389 cat >>confdefs.h <<\_ACEOF
19390 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19394 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
19395 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
19396 { (exit 1); exit 1; }; }
19404 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
19405 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
19406 if test "${ac_cv_header_stdc+set}" = set; then
19407 echo $ECHO_N "(cached
) $ECHO_C" >&6
19409 cat >conftest.$ac_ext <<_ACEOF
19412 cat confdefs.h >>conftest.$ac_ext
19413 cat >>conftest.$ac_ext <<_ACEOF
19414 /* end confdefs.h. */
19415 #include <stdlib.h>
19416 #include <stdarg.h>
19417 #include <string.h>
19428 rm -f conftest.$ac_objext
19429 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
19437 grep -v '^ *+' conftest.er1 >conftest.err
19439 cat conftest.err >&5
19440 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19441 (exit $ac_status); } && {
19442 test -z "$ac_c_werror_flag" ||
19443 test ! -s conftest.err
19444 } && test -s conftest.$ac_objext; then
19445 ac_cv_header_stdc=yes
19447 echo "$as_me: failed program was
:" >&5
19448 sed 's/^/| /' conftest.$ac_ext >&5
19450 ac_cv_header_stdc=no
19453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19455 if test $ac_cv_header_stdc = yes; then
19456 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19457 cat >conftest.$ac_ext <<_ACEOF
19460 cat confdefs.h >>conftest.$ac_ext
19461 cat >>conftest.$ac_ext <<_ACEOF
19462 /* end confdefs.h. */
19463 #include <string.h>
19466 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19467 $EGREP "memchr
" >/dev/null 2>&1; then
19470 ac_cv_header_stdc=no
19476 if test $ac_cv_header_stdc = yes; then
19477 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19478 cat >conftest.$ac_ext <<_ACEOF
19481 cat confdefs.h >>conftest.$ac_ext
19482 cat >>conftest.$ac_ext <<_ACEOF
19483 /* end confdefs.h. */
19484 #include <stdlib.h>
19487 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19488 $EGREP "free
" >/dev/null 2>&1; then
19491 ac_cv_header_stdc=no
19497 if test $ac_cv_header_stdc = yes; then
19498 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19499 if test "$cross_compiling" = yes; then
19502 cat >conftest.$ac_ext <<_ACEOF
19505 cat confdefs.h >>conftest.$ac_ext
19506 cat >>conftest.$ac_ext <<_ACEOF
19507 /* end confdefs.h. */
19509 #include <stdlib.h>
19510 #if ((' ' & 0x0FF) == 0x020)
19511 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19512 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19514 # define ISLOWER(c) \
19515 (('a' <= (c) && (c) <= 'i') \
19516 || ('j' <= (c) && (c) <= 'r') \
19517 || ('s' <= (c) && (c) <= 'z'))
19518 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19521 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19526 for (i = 0; i < 256; i++)
19527 if (XOR (islower (i), ISLOWER (i))
19528 || toupper (i) != TOUPPER (i))
19533 rm -f conftest$ac_exeext
19534 if { (ac_try="$ac_link"
19535 case "(($ac_try" in
19536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19537 *) ac_try_echo=$ac_try;;
19539 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19540 (eval "$ac_link") 2>&5
19542 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19543 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19544 { (case "(($ac_try" in
19545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19546 *) ac_try_echo=$ac_try;;
19548 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19549 (eval "$ac_try") 2>&5
19551 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19552 (exit $ac_status); }; }; then
19555 echo "$as_me: program exited with status
$ac_status" >&5
19556 echo "$as_me: failed program was
:" >&5
19557 sed 's/^/| /' conftest.$ac_ext >&5
19559 ( exit $ac_status )
19560 ac_cv_header_stdc=no
19562 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19568 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
19569 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19570 if test $ac_cv_header_stdc = yes; then
19572 cat >>confdefs.h <<\_ACEOF
19573 #define STDC_HEADERS 1
19578 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19588 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19589 inttypes.h stdint.h unistd.h
19591 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19592 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19593 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19594 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19595 echo $ECHO_N "(cached
) $ECHO_C" >&6
19597 cat >conftest.$ac_ext <<_ACEOF
19600 cat confdefs.h >>conftest.$ac_ext
19601 cat >>conftest.$ac_ext <<_ACEOF
19602 /* end confdefs.h. */
19603 $ac_includes_default
19605 #include <$ac_header>
19607 rm -f conftest.$ac_objext
19608 if { (ac_try="$ac_compile"
19609 case "(($ac_try" in
19610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19611 *) ac_try_echo=$ac_try;;
19613 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19614 (eval "$ac_compile") 2>conftest.er1
19616 grep -v '^ *+' conftest.er1 >conftest.err
19618 cat conftest.err >&5
19619 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19620 (exit $ac_status); } && {
19621 test -z "$ac_c_werror_flag" ||
19622 test ! -s conftest.err
19623 } && test -s conftest.$ac_objext; then
19624 eval "$as_ac_Header=yes"
19626 echo "$as_me: failed program was
:" >&5
19627 sed 's/^/| /' conftest.$ac_ext >&5
19629 eval "$as_ac_Header=no
"
19632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19634 ac_res=`eval echo '${'$as_ac_Header'}'`
19635 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19636 echo "${ECHO_T}$ac_res" >&6; }
19637 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19638 cat >>confdefs.h <<_ACEOF
19639 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19649 for ac_header in langinfo.h wchar.h
19651 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19652 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19653 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19654 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19655 echo $ECHO_N "(cached
) $ECHO_C" >&6
19657 cat >conftest.$ac_ext <<_ACEOF
19660 cat confdefs.h >>conftest.$ac_ext
19661 cat >>conftest.$ac_ext <<_ACEOF
19662 /* end confdefs.h. */
19663 $ac_includes_default
19665 #include <$ac_header>
19667 rm -f conftest.$ac_objext
19668 if { (ac_try="$ac_compile"
19669 case "(($ac_try" in
19670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19671 *) ac_try_echo=$ac_try;;
19673 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19674 (eval "$ac_compile") 2>conftest.er1
19676 grep -v '^ *+' conftest.er1 >conftest.err
19678 cat conftest.err >&5
19679 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19680 (exit $ac_status); } && {
19681 test -z "$ac_c_werror_flag" ||
19682 test ! -s conftest.err
19683 } && test -s conftest.$ac_objext; then
19684 eval "$as_ac_Header=yes"
19686 echo "$as_me: failed program was
:" >&5
19687 sed 's/^/| /' conftest.$ac_ext >&5
19689 eval "$as_ac_Header=no
"
19692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19694 ac_res=`eval echo '${'$as_ac_Header'}'`
19695 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19696 echo "${ECHO_T}$ac_res" >&6; }
19697 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19698 cat >>confdefs.h <<_ACEOF
19699 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19707 if test "$ac_cv_header_wchar_h" != "yes"; then
19709 for ac_header in wcstr.h
19711 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19712 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19713 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19714 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19715 echo $ECHO_N "(cached
) $ECHO_C" >&6
19717 cat >conftest.$ac_ext <<_ACEOF
19720 cat confdefs.h >>conftest.$ac_ext
19721 cat >>conftest.$ac_ext <<_ACEOF
19722 /* end confdefs.h. */
19723 $ac_includes_default
19725 #include <$ac_header>
19727 rm -f conftest.$ac_objext
19728 if { (ac_try="$ac_compile"
19729 case "(($ac_try" in
19730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19731 *) ac_try_echo=$ac_try;;
19733 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19734 (eval "$ac_compile") 2>conftest.er1
19736 grep -v '^ *+' conftest.er1 >conftest.err
19738 cat conftest.err >&5
19739 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19740 (exit $ac_status); } && {
19741 test -z "$ac_c_werror_flag" ||
19742 test ! -s conftest.err
19743 } && test -s conftest.$ac_objext; then
19744 eval "$as_ac_Header=yes"
19746 echo "$as_me: failed program was
:" >&5
19747 sed 's/^/| /' conftest.$ac_ext >&5
19749 eval "$as_ac_Header=no
"
19752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19754 ac_res=`eval echo '${'$as_ac_Header'}'`
19755 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19756 echo "${ECHO_T}$ac_res" >&6; }
19757 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19758 cat >>confdefs.h <<_ACEOF
19759 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19769 *-pc-os2_emx | *-pc-os2-emx )
19770 if test $ac_cv_header_langinfo_h = "yes" \
19771 -a \( "$wx_cv_gccversion" = "EMX2
" \
19772 -o "$wx_cv_gccversion" = "EMX3
" \
19773 -o "$wx_cv_gccversion" = "Innotek5
" \); then
19774 LIBS="$LIBS -lintl"
19779 if test "$USE_UNIX" = 1 ; then
19781 for ac_header in sys/select.h
19783 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19784 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19785 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19786 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19787 echo $ECHO_N "(cached
) $ECHO_C" >&6
19789 cat >conftest.$ac_ext <<_ACEOF
19792 cat confdefs.h >>conftest.$ac_ext
19793 cat >>conftest.$ac_ext <<_ACEOF
19794 /* end confdefs.h. */
19795 $ac_includes_default
19797 #include <$ac_header>
19799 rm -f conftest.$ac_objext
19800 if { (ac_try="$ac_compile"
19801 case "(($ac_try" in
19802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19803 *) ac_try_echo=$ac_try;;
19805 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19806 (eval "$ac_compile") 2>conftest.er1
19808 grep -v '^ *+' conftest.er1 >conftest.err
19810 cat conftest.err >&5
19811 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19812 (exit $ac_status); } && {
19813 test -z "$ac_c_werror_flag" ||
19814 test ! -s conftest.err
19815 } && test -s conftest.$ac_objext; then
19816 eval "$as_ac_Header=yes"
19818 echo "$as_me: failed program was
:" >&5
19819 sed 's/^/| /' conftest.$ac_ext >&5
19821 eval "$as_ac_Header=no
"
19824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19826 ac_res=`eval echo '${'$as_ac_Header'}'`
19827 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19828 echo "${ECHO_T}$ac_res" >&6; }
19829 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19830 cat >>confdefs.h <<_ACEOF
19831 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19841 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
19842 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
19843 if test "${ac_cv_c_const+set}" = set; then
19844 echo $ECHO_N "(cached
) $ECHO_C" >&6
19846 cat >conftest.$ac_ext <<_ACEOF
19849 cat confdefs.h >>conftest.$ac_ext
19850 cat >>conftest.$ac_ext <<_ACEOF
19851 /* end confdefs.h. */
19856 /* FIXME: Include the comments suggested by Paul. */
19857 #ifndef __cplusplus
19858 /* Ultrix mips cc rejects this. */
19859 typedef int charset[2];
19861 /* SunOS 4.1.1 cc rejects this. */
19862 char const *const *pcpcc;
19864 /* NEC SVR4.0.2 mips cc rejects this. */
19865 struct point {int x, y;};
19866 static struct point const zero = {0,0};
19867 /* AIX XL C 1.02.0.0 rejects this.
19868 It does not let you subtract one const X* pointer from another in
19869 an arm of an if-expression whose if-part is not a constant
19871 const char *g = "string
";
19872 pcpcc = &g + (g ? g-g : 0);
19873 /* HPUX 7.0 cc rejects these. */
19875 ppc = (char**) pcpcc;
19876 pcpcc = (char const *const *) ppc;
19877 { /* SCO 3.2v4 cc rejects this. */
19879 char const *s = 0 ? (char *) 0 : (char const *) 0;
19884 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19885 int x[] = {25, 17};
19886 const int *foo = &x[0];
19889 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19890 typedef const int *iptr;
19894 { /* AIX XL C 1.02.0.0 rejects this saying
19895 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19896 struct s { int j; const int *ap[3]; };
19897 struct s *b; b->j = 5;
19899 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19900 const int foo = 10;
19901 if (!foo) return 0;
19903 return !cs[0] && !zero.x;
19910 rm -f conftest.$ac_objext
19911 if { (ac_try="$ac_compile"
19912 case "(($ac_try" in
19913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19914 *) ac_try_echo=$ac_try;;
19916 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19917 (eval "$ac_compile") 2>conftest.er1
19919 grep -v '^ *+' conftest.er1 >conftest.err
19921 cat conftest.err >&5
19922 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19923 (exit $ac_status); } && {
19924 test -z "$ac_c_werror_flag" ||
19925 test ! -s conftest.err
19926 } && test -s conftest.$ac_objext; then
19929 echo "$as_me: failed program was
:" >&5
19930 sed 's/^/| /' conftest.$ac_ext >&5
19935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19937 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19938 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19939 if test $ac_cv_c_const = no; then
19941 cat >>confdefs.h <<\_ACEOF
19947 { echo "$as_me:$LINENO: checking
for inline
" >&5
19948 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19949 if test "${ac_cv_c_inline+set}" = set; then
19950 echo $ECHO_N "(cached
) $ECHO_C" >&6
19953 for ac_kw in inline __inline__ __inline; do
19954 cat >conftest.$ac_ext <<_ACEOF
19957 cat confdefs.h >>conftest.$ac_ext
19958 cat >>conftest.$ac_ext <<_ACEOF
19959 /* end confdefs.h. */
19960 #ifndef __cplusplus
19962 static $ac_kw foo_t static_foo () {return 0; }
19963 $ac_kw foo_t foo () {return 0; }
19967 rm -f conftest.$ac_objext
19968 if { (ac_try="$ac_compile"
19969 case "(($ac_try" in
19970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19971 *) ac_try_echo=$ac_try;;
19973 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19974 (eval "$ac_compile") 2>conftest.er1
19976 grep -v '^ *+' conftest.er1 >conftest.err
19978 cat conftest.err >&5
19979 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19980 (exit $ac_status); } && {
19981 test -z "$ac_c_werror_flag" ||
19982 test ! -s conftest.err
19983 } && test -s conftest.$ac_objext; then
19984 ac_cv_c_inline=$ac_kw
19986 echo "$as_me: failed program was
:" >&5
19987 sed 's/^/| /' conftest.$ac_ext >&5
19992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19993 test "$ac_cv_c_inline" != no && break
19997 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19998 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20001 case $ac_cv_c_inline in
20004 case $ac_cv_c_inline in
20006 *) ac_val=$ac_cv_c_inline;;
20008 cat >>confdefs.h <<_ACEOF
20009 #ifndef __cplusplus
20010 #define inline $ac_val
20017 { echo "$as_me:$LINENO: checking
for short
" >&5
20018 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
20019 if test "${ac_cv_type_short+set}" = set; then
20020 echo $ECHO_N "(cached
) $ECHO_C" >&6
20022 cat >conftest.$ac_ext <<_ACEOF
20025 cat confdefs.h >>conftest.$ac_ext
20026 cat >>conftest.$ac_ext <<_ACEOF
20027 /* end confdefs.h. */
20028 $ac_includes_default
20029 typedef short ac__type_new_;
20033 if ((ac__type_new_ *) 0)
20035 if (sizeof (ac__type_new_))
20041 rm -f conftest.$ac_objext
20042 if { (ac_try="$ac_compile"
20043 case "(($ac_try" in
20044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20045 *) ac_try_echo=$ac_try;;
20047 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20048 (eval "$ac_compile") 2>conftest.er1
20050 grep -v '^ *+' conftest.er1 >conftest.err
20052 cat conftest.err >&5
20053 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20054 (exit $ac_status); } && {
20055 test -z "$ac_c_werror_flag" ||
20056 test ! -s conftest.err
20057 } && test -s conftest.$ac_objext; then
20058 ac_cv_type_short=yes
20060 echo "$as_me: failed program was
:" >&5
20061 sed 's/^/| /' conftest.$ac_ext >&5
20063 ac_cv_type_short=no
20066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20068 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
20069 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20071 # The cast to long int works around a bug in the HP C Compiler
20072 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20073 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20074 # This bug is HP SR number 8606223364.
20075 { echo "$as_me:$LINENO: checking size of short
" >&5
20076 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
20077 if test "${ac_cv_sizeof_short+set}" = set; then
20078 echo $ECHO_N "(cached
) $ECHO_C" >&6
20080 if test "$cross_compiling" = yes; then
20081 # Depending upon the size, compute the lo and hi bounds.
20082 cat >conftest.$ac_ext <<_ACEOF
20085 cat confdefs.h >>conftest.$ac_ext
20086 cat >>conftest.$ac_ext <<_ACEOF
20087 /* end confdefs.h. */
20088 $ac_includes_default
20089 typedef short ac__type_sizeof_;
20093 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20100 rm -f conftest.$ac_objext
20101 if { (ac_try="$ac_compile"
20102 case "(($ac_try" in
20103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20104 *) ac_try_echo=$ac_try;;
20106 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20107 (eval "$ac_compile") 2>conftest.er1
20109 grep -v '^ *+' conftest.er1 >conftest.err
20111 cat conftest.err >&5
20112 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20113 (exit $ac_status); } && {
20114 test -z "$ac_c_werror_flag" ||
20115 test ! -s conftest.err
20116 } && test -s conftest.$ac_objext; then
20119 cat >conftest.$ac_ext <<_ACEOF
20122 cat confdefs.h >>conftest.$ac_ext
20123 cat >>conftest.$ac_ext <<_ACEOF
20124 /* end confdefs.h. */
20125 $ac_includes_default
20126 typedef short ac__type_sizeof_;
20130 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20137 rm -f conftest.$ac_objext
20138 if { (ac_try="$ac_compile"
20139 case "(($ac_try" in
20140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20141 *) ac_try_echo=$ac_try;;
20143 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20144 (eval "$ac_compile") 2>conftest.er1
20146 grep -v '^ *+' conftest.er1 >conftest.err
20148 cat conftest.err >&5
20149 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20150 (exit $ac_status); } && {
20151 test -z "$ac_c_werror_flag" ||
20152 test ! -s conftest.err
20153 } && test -s conftest.$ac_objext; then
20154 ac_hi=$ac_mid; break
20156 echo "$as_me: failed program was
:" >&5
20157 sed 's/^/| /' conftest.$ac_ext >&5
20159 ac_lo=`expr $ac_mid + 1`
20160 if test $ac_lo -le $ac_mid; then
20164 ac_mid=`expr 2 '*' $ac_mid + 1`
20167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20170 echo "$as_me: failed program was
:" >&5
20171 sed 's/^/| /' conftest.$ac_ext >&5
20173 cat >conftest.$ac_ext <<_ACEOF
20176 cat confdefs.h >>conftest.$ac_ext
20177 cat >>conftest.$ac_ext <<_ACEOF
20178 /* end confdefs.h. */
20179 $ac_includes_default
20180 typedef short ac__type_sizeof_;
20184 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20191 rm -f conftest.$ac_objext
20192 if { (ac_try="$ac_compile"
20193 case "(($ac_try" in
20194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20195 *) ac_try_echo=$ac_try;;
20197 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20198 (eval "$ac_compile") 2>conftest.er1
20200 grep -v '^ *+' conftest.er1 >conftest.err
20202 cat conftest.err >&5
20203 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20204 (exit $ac_status); } && {
20205 test -z "$ac_c_werror_flag" ||
20206 test ! -s conftest.err
20207 } && test -s conftest.$ac_objext; then
20210 cat >conftest.$ac_ext <<_ACEOF
20213 cat confdefs.h >>conftest.$ac_ext
20214 cat >>conftest.$ac_ext <<_ACEOF
20215 /* end confdefs.h. */
20216 $ac_includes_default
20217 typedef short ac__type_sizeof_;
20221 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20228 rm -f conftest.$ac_objext
20229 if { (ac_try="$ac_compile"
20230 case "(($ac_try" in
20231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20232 *) ac_try_echo=$ac_try;;
20234 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20235 (eval "$ac_compile") 2>conftest.er1
20237 grep -v '^ *+' conftest.er1 >conftest.err
20239 cat conftest.err >&5
20240 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20241 (exit $ac_status); } && {
20242 test -z "$ac_c_werror_flag" ||
20243 test ! -s conftest.err
20244 } && test -s conftest.$ac_objext; then
20245 ac_lo=$ac_mid; break
20247 echo "$as_me: failed program was
:" >&5
20248 sed 's/^/| /' conftest.$ac_ext >&5
20250 ac_hi=`expr '(' $ac_mid ')' - 1`
20251 if test $ac_mid -le $ac_hi; then
20255 ac_mid=`expr 2 '*' $ac_mid`
20258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20261 echo "$as_me: failed program was
:" >&5
20262 sed 's/^/| /' conftest.$ac_ext >&5
20267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20271 # Binary search between lo and hi bounds.
20272 while test "x
$ac_lo" != "x
$ac_hi"; do
20273 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20274 cat >conftest.$ac_ext <<_ACEOF
20277 cat confdefs.h >>conftest.$ac_ext
20278 cat >>conftest.$ac_ext <<_ACEOF
20279 /* end confdefs.h. */
20280 $ac_includes_default
20281 typedef short ac__type_sizeof_;
20285 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20292 rm -f conftest.$ac_objext
20293 if { (ac_try="$ac_compile"
20294 case "(($ac_try" in
20295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20296 *) ac_try_echo=$ac_try;;
20298 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20299 (eval "$ac_compile") 2>conftest.er1
20301 grep -v '^ *+' conftest.er1 >conftest.err
20303 cat conftest.err >&5
20304 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20305 (exit $ac_status); } && {
20306 test -z "$ac_c_werror_flag" ||
20307 test ! -s conftest.err
20308 } && test -s conftest.$ac_objext; then
20311 echo "$as_me: failed program was
:" >&5
20312 sed 's/^/| /' conftest.$ac_ext >&5
20314 ac_lo=`expr '(' $ac_mid ')' + 1`
20317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20320 ?*) ac_cv_sizeof_short=$ac_lo;;
20321 '') if test "$ac_cv_type_short" = yes; then
20322 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
20323 See \
`config.log' for more details." >&5
20324 echo "$as_me: error: cannot compute sizeof (short)
20325 See \`config.log
' for more details." >&2;}
20326 { (exit 77); exit 77; }; }
20328 ac_cv_sizeof_short=0
20332 cat >conftest.$ac_ext <<_ACEOF
20335 cat confdefs.h >>conftest.$ac_ext
20336 cat >>conftest.$ac_ext <<_ACEOF
20337 /* end confdefs.h. */
20338 $ac_includes_default
20339 typedef short ac__type_sizeof_;
20340 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20341 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20343 #include <stdlib.h>
20348 FILE *f = fopen ("conftest.val", "w");
20351 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20353 long int i = longval ();
20354 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20356 fprintf (f, "%ld\n", i);
20360 unsigned long int i = ulongval ();
20361 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20363 fprintf (f, "%lu\n", i);
20365 return ferror (f) || fclose (f) != 0;
20371 rm -f conftest$ac_exeext
20372 if { (ac_try="$ac_link"
20373 case "(($ac_try" in
20374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20375 *) ac_try_echo=$ac_try;;
20377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20378 (eval "$ac_link") 2>&5
20380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
20382 { (case "(($ac_try" in
20383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20384 *) ac_try_echo=$ac_try;;
20386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20387 (eval "$ac_try") 2>&5
20389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20390 (exit $ac_status); }; }; then
20391 ac_cv_sizeof_short=`cat conftest.val`
20393 echo "$as_me: program exited with status $ac_status" >&5
20394 echo "$as_me: failed program was:" >&5
20395 sed 's
/^
/| /' conftest.$ac_ext >&5
20397 ( exit $ac_status )
20398 if test "$ac_cv_type_short" = yes; then
20399 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20400 See \`config.log' for more details.
" >&5
20401 echo "$as_me: error
: cannot compute sizeof
(short
)
20402 See \
`config.log' for more details." >&2;}
20403 { (exit 77); exit 77; }; }
20405 ac_cv_sizeof_short=0
20408 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20412 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20413 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20417 cat >>confdefs.h <<_ACEOF
20418 #define SIZEOF_SHORT $ac_cv_sizeof_short
20422 { echo "$as_me:$LINENO: checking for void *" >&5
20423 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20424 if test "${ac_cv_type_void_p+set}" = set; then
20425 echo $ECHO_N "(cached) $ECHO_C" >&6
20427 cat >conftest.$ac_ext <<_ACEOF
20430 cat confdefs.h >>conftest.$ac_ext
20431 cat >>conftest.$ac_ext <<_ACEOF
20432 /* end confdefs.h. */
20433 $ac_includes_default
20434 typedef void * ac__type_new_;
20438 if ((ac__type_new_ *) 0)
20440 if (sizeof (ac__type_new_))
20446 rm -f conftest.$ac_objext
20447 if { (ac_try="$ac_compile"
20448 case "(($ac_try" in
20449 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20450 *) ac_try_echo
=$ac_try;;
20452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20453 (eval "$ac_compile") 2>conftest.er1
20455 grep -v '^ *+' conftest.er1
>conftest.err
20457 cat conftest.err
>&5
20458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20459 (exit $ac_status); } && {
20460 test -z "$ac_c_werror_flag" ||
20461 test ! -s conftest.err
20462 } && test -s conftest.
$ac_objext; then
20463 ac_cv_type_void_p
=yes
20465 echo "$as_me: failed program was:" >&5
20466 sed 's/^/| /' conftest.
$ac_ext >&5
20468 ac_cv_type_void_p
=no
20471 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20473 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20474 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20476 # The cast to long int works around a bug in the HP C Compiler
20477 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20478 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20479 # This bug is HP SR number 8606223364.
20480 { echo "$as_me:$LINENO: checking size of void *" >&5
20481 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20482 if test "${ac_cv_sizeof_void_p+set}" = set; then
20483 echo $ECHO_N "(cached) $ECHO_C" >&6
20485 if test "$cross_compiling" = yes; then
20486 # Depending upon the size, compute the lo and hi bounds.
20487 cat >conftest.
$ac_ext <<_ACEOF
20490 cat confdefs.h
>>conftest.
$ac_ext
20491 cat >>conftest.
$ac_ext <<_ACEOF
20492 /* end confdefs.h. */
20493 $ac_includes_default
20494 typedef void * ac__type_sizeof_;
20498 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20505 rm -f conftest.
$ac_objext
20506 if { (ac_try
="$ac_compile"
20507 case "(($ac_try" in
20508 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20509 *) ac_try_echo=$ac_try;;
20511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20512 (eval "$ac_compile") 2>conftest.er1
20514 grep -v '^ *+' conftest.er1 >conftest.err
20516 cat conftest.err >&5
20517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20518 (exit $ac_status); } && {
20519 test -z "$ac_c_werror_flag" ||
20520 test ! -s conftest.err
20521 } && test -s conftest.$ac_objext; then
20524 cat >conftest.$ac_ext <<_ACEOF
20527 cat confdefs.h >>conftest.$ac_ext
20528 cat >>conftest.$ac_ext <<_ACEOF
20529 /* end confdefs.h. */
20530 $ac_includes_default
20531 typedef void * ac__type_sizeof_;
20535 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20542 rm -f conftest.$ac_objext
20543 if { (ac_try="$ac_compile"
20544 case "(($ac_try" in
20545 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20546 *) ac_try_echo
=$ac_try;;
20548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20549 (eval "$ac_compile") 2>conftest.er1
20551 grep -v '^ *+' conftest.er1
>conftest.err
20553 cat conftest.err
>&5
20554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20555 (exit $ac_status); } && {
20556 test -z "$ac_c_werror_flag" ||
20557 test ! -s conftest.err
20558 } && test -s conftest.
$ac_objext; then
20559 ac_hi
=$ac_mid; break
20561 echo "$as_me: failed program was:" >&5
20562 sed 's/^/| /' conftest.
$ac_ext >&5
20564 ac_lo
=`expr $ac_mid + 1`
20565 if test $ac_lo -le $ac_mid; then
20569 ac_mid
=`expr 2 '*' $ac_mid + 1`
20572 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20575 echo "$as_me: failed program was:" >&5
20576 sed 's/^/| /' conftest.
$ac_ext >&5
20578 cat >conftest.
$ac_ext <<_ACEOF
20581 cat confdefs.h
>>conftest.
$ac_ext
20582 cat >>conftest.
$ac_ext <<_ACEOF
20583 /* end confdefs.h. */
20584 $ac_includes_default
20585 typedef void * ac__type_sizeof_;
20589 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20596 rm -f conftest.
$ac_objext
20597 if { (ac_try
="$ac_compile"
20598 case "(($ac_try" in
20599 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20600 *) ac_try_echo=$ac_try;;
20602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20603 (eval "$ac_compile") 2>conftest.er1
20605 grep -v '^ *+' conftest.er1 >conftest.err
20607 cat conftest.err >&5
20608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20609 (exit $ac_status); } && {
20610 test -z "$ac_c_werror_flag" ||
20611 test ! -s conftest.err
20612 } && test -s conftest.$ac_objext; then
20615 cat >conftest.$ac_ext <<_ACEOF
20618 cat confdefs.h >>conftest.$ac_ext
20619 cat >>conftest.$ac_ext <<_ACEOF
20620 /* end confdefs.h. */
20621 $ac_includes_default
20622 typedef void * ac__type_sizeof_;
20626 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20633 rm -f conftest.$ac_objext
20634 if { (ac_try="$ac_compile"
20635 case "(($ac_try" in
20636 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20637 *) ac_try_echo
=$ac_try;;
20639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20640 (eval "$ac_compile") 2>conftest.er1
20642 grep -v '^ *+' conftest.er1
>conftest.err
20644 cat conftest.err
>&5
20645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20646 (exit $ac_status); } && {
20647 test -z "$ac_c_werror_flag" ||
20648 test ! -s conftest.err
20649 } && test -s conftest.
$ac_objext; then
20650 ac_lo
=$ac_mid; break
20652 echo "$as_me: failed program was:" >&5
20653 sed 's/^/| /' conftest.
$ac_ext >&5
20655 ac_hi
=`expr '(' $ac_mid ')' - 1`
20656 if test $ac_mid -le $ac_hi; then
20660 ac_mid
=`expr 2 '*' $ac_mid`
20663 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20666 echo "$as_me: failed program was:" >&5
20667 sed 's/^/| /' conftest.
$ac_ext >&5
20672 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20675 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20676 # Binary search between lo and hi bounds.
20677 while test "x$ac_lo" != "x$ac_hi"; do
20678 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20679 cat >conftest.
$ac_ext <<_ACEOF
20682 cat confdefs.h
>>conftest.
$ac_ext
20683 cat >>conftest.
$ac_ext <<_ACEOF
20684 /* end confdefs.h. */
20685 $ac_includes_default
20686 typedef void * ac__type_sizeof_;
20690 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20697 rm -f conftest.
$ac_objext
20698 if { (ac_try
="$ac_compile"
20699 case "(($ac_try" in
20700 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20701 *) ac_try_echo=$ac_try;;
20703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20704 (eval "$ac_compile") 2>conftest.er1
20706 grep -v '^ *+' conftest.er1 >conftest.err
20708 cat conftest.err >&5
20709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20710 (exit $ac_status); } && {
20711 test -z "$ac_c_werror_flag" ||
20712 test ! -s conftest.err
20713 } && test -s conftest.$ac_objext; then
20716 echo "$as_me: failed program was:" >&5
20717 sed 's/^/| /' conftest.$ac_ext >&5
20719 ac_lo=`expr '(' $ac_mid ')' + 1`
20722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20725 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20726 '') if test "$ac_cv_type_void_p" = yes; then
20727 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20728 See \`config.log
' for more details." >&5
20729 echo "$as_me: error: cannot compute sizeof (void *)
20730 See \`config.log' for more details.
" >&2;}
20731 { (exit 77); exit 77; }; }
20733 ac_cv_sizeof_void_p=0
20737 cat >conftest.$ac_ext <<_ACEOF
20740 cat confdefs.h >>conftest.$ac_ext
20741 cat >>conftest.$ac_ext <<_ACEOF
20742 /* end confdefs.h. */
20743 $ac_includes_default
20744 typedef void * ac__type_sizeof_;
20745 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20746 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20748 #include <stdlib.h>
20753 FILE *f = fopen ("conftest.val
", "w
");
20756 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20758 long int i = longval ();
20759 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20761 fprintf (f, "%ld
\n", i);
20765 unsigned long int i = ulongval ();
20766 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20768 fprintf (f, "%lu
\n", i);
20770 return ferror (f) || fclose (f) != 0;
20776 rm -f conftest$ac_exeext
20777 if { (ac_try="$ac_link"
20778 case "(($ac_try" in
20779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20780 *) ac_try_echo=$ac_try;;
20782 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20783 (eval "$ac_link") 2>&5
20785 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20786 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20787 { (case "(($ac_try" in
20788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20789 *) ac_try_echo=$ac_try;;
20791 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20792 (eval "$ac_try") 2>&5
20794 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20795 (exit $ac_status); }; }; then
20796 ac_cv_sizeof_void_p=`cat conftest.val`
20798 echo "$as_me: program exited with status
$ac_status" >&5
20799 echo "$as_me: failed program was
:" >&5
20800 sed 's/^/| /' conftest.$ac_ext >&5
20802 ( exit $ac_status )
20803 if test "$ac_cv_type_void_p" = yes; then
20804 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
20805 See \
`config.log' for more details." >&5
20806 echo "$as_me: error: cannot compute sizeof (void *)
20807 See \`config.log
' for more details." >&2;}
20808 { (exit 77); exit 77; }; }
20810 ac_cv_sizeof_void_p=0
20813 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20817 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20818 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20822 cat >>confdefs.h <<_ACEOF
20823 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20827 { echo "$as_me:$LINENO: checking for int" >&5
20828 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20829 if test "${ac_cv_type_int+set}" = set; then
20830 echo $ECHO_N "(cached) $ECHO_C" >&6
20832 cat >conftest.$ac_ext <<_ACEOF
20835 cat confdefs.h >>conftest.$ac_ext
20836 cat >>conftest.$ac_ext <<_ACEOF
20837 /* end confdefs.h. */
20838 $ac_includes_default
20839 typedef int ac__type_new_;
20843 if ((ac__type_new_ *) 0)
20845 if (sizeof (ac__type_new_))
20851 rm -f conftest.$ac_objext
20852 if { (ac_try="$ac_compile"
20853 case "(($ac_try" in
20854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20855 *) ac_try_echo=$ac_try;;
20857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20858 (eval "$ac_compile") 2>conftest.er1
20860 grep -v '^
*+' conftest.er1 >conftest.err
20862 cat conftest.err >&5
20863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20864 (exit $ac_status); } && {
20865 test -z "$ac_c_werror_flag" ||
20866 test ! -s conftest.err
20867 } && test -s conftest.$ac_objext; then
20870 echo "$as_me: failed program was:" >&5
20871 sed 's
/^
/| /' conftest.$ac_ext >&5
20876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20878 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20879 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20881 # The cast to long int works around a bug in the HP C Compiler
20882 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20883 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20884 # This bug is HP SR number 8606223364.
20885 { echo "$as_me:$LINENO: checking size of int" >&5
20886 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20887 if test "${ac_cv_sizeof_int+set}" = set; then
20888 echo $ECHO_N "(cached) $ECHO_C" >&6
20890 if test "$cross_compiling" = yes; then
20891 # Depending upon the size, compute the lo and hi bounds.
20892 cat >conftest.
$ac_ext <<_ACEOF
20895 cat confdefs.h
>>conftest.
$ac_ext
20896 cat >>conftest.
$ac_ext <<_ACEOF
20897 /* end confdefs.h. */
20898 $ac_includes_default
20899 typedef int ac__type_sizeof_;
20903 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20910 rm -f conftest.
$ac_objext
20911 if { (ac_try
="$ac_compile"
20912 case "(($ac_try" in
20913 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20914 *) ac_try_echo=$ac_try;;
20916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20917 (eval "$ac_compile") 2>conftest.er1
20919 grep -v '^ *+' conftest.er1 >conftest.err
20921 cat conftest.err >&5
20922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20923 (exit $ac_status); } && {
20924 test -z "$ac_c_werror_flag" ||
20925 test ! -s conftest.err
20926 } && test -s conftest.$ac_objext; then
20929 cat >conftest.$ac_ext <<_ACEOF
20932 cat confdefs.h >>conftest.$ac_ext
20933 cat >>conftest.$ac_ext <<_ACEOF
20934 /* end confdefs.h. */
20935 $ac_includes_default
20936 typedef int ac__type_sizeof_;
20940 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20947 rm -f conftest.$ac_objext
20948 if { (ac_try="$ac_compile"
20949 case "(($ac_try" in
20950 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20951 *) ac_try_echo
=$ac_try;;
20953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20954 (eval "$ac_compile") 2>conftest.er1
20956 grep -v '^ *+' conftest.er1
>conftest.err
20958 cat conftest.err
>&5
20959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20960 (exit $ac_status); } && {
20961 test -z "$ac_c_werror_flag" ||
20962 test ! -s conftest.err
20963 } && test -s conftest.
$ac_objext; then
20964 ac_hi
=$ac_mid; break
20966 echo "$as_me: failed program was:" >&5
20967 sed 's/^/| /' conftest.
$ac_ext >&5
20969 ac_lo
=`expr $ac_mid + 1`
20970 if test $ac_lo -le $ac_mid; then
20974 ac_mid
=`expr 2 '*' $ac_mid + 1`
20977 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20980 echo "$as_me: failed program was:" >&5
20981 sed 's/^/| /' conftest.
$ac_ext >&5
20983 cat >conftest.
$ac_ext <<_ACEOF
20986 cat confdefs.h
>>conftest.
$ac_ext
20987 cat >>conftest.
$ac_ext <<_ACEOF
20988 /* end confdefs.h. */
20989 $ac_includes_default
20990 typedef int ac__type_sizeof_;
20994 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21001 rm -f conftest.
$ac_objext
21002 if { (ac_try
="$ac_compile"
21003 case "(($ac_try" in
21004 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21005 *) ac_try_echo=$ac_try;;
21007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21008 (eval "$ac_compile") 2>conftest.er1
21010 grep -v '^ *+' conftest.er1 >conftest.err
21012 cat conftest.err >&5
21013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21014 (exit $ac_status); } && {
21015 test -z "$ac_c_werror_flag" ||
21016 test ! -s conftest.err
21017 } && test -s conftest.$ac_objext; then
21020 cat >conftest.$ac_ext <<_ACEOF
21023 cat confdefs.h >>conftest.$ac_ext
21024 cat >>conftest.$ac_ext <<_ACEOF
21025 /* end confdefs.h. */
21026 $ac_includes_default
21027 typedef int ac__type_sizeof_;
21031 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21038 rm -f conftest.$ac_objext
21039 if { (ac_try="$ac_compile"
21040 case "(($ac_try" in
21041 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21042 *) ac_try_echo
=$ac_try;;
21044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21045 (eval "$ac_compile") 2>conftest.er1
21047 grep -v '^ *+' conftest.er1
>conftest.err
21049 cat conftest.err
>&5
21050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21051 (exit $ac_status); } && {
21052 test -z "$ac_c_werror_flag" ||
21053 test ! -s conftest.err
21054 } && test -s conftest.
$ac_objext; then
21055 ac_lo
=$ac_mid; break
21057 echo "$as_me: failed program was:" >&5
21058 sed 's/^/| /' conftest.
$ac_ext >&5
21060 ac_hi
=`expr '(' $ac_mid ')' - 1`
21061 if test $ac_mid -le $ac_hi; then
21065 ac_mid
=`expr 2 '*' $ac_mid`
21068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21071 echo "$as_me: failed program was:" >&5
21072 sed 's/^/| /' conftest.
$ac_ext >&5
21077 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21080 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21081 # Binary search between lo and hi bounds.
21082 while test "x$ac_lo" != "x$ac_hi"; do
21083 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21084 cat >conftest.
$ac_ext <<_ACEOF
21087 cat confdefs.h
>>conftest.
$ac_ext
21088 cat >>conftest.
$ac_ext <<_ACEOF
21089 /* end confdefs.h. */
21090 $ac_includes_default
21091 typedef int ac__type_sizeof_;
21095 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21102 rm -f conftest.
$ac_objext
21103 if { (ac_try
="$ac_compile"
21104 case "(($ac_try" in
21105 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21106 *) ac_try_echo=$ac_try;;
21108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21109 (eval "$ac_compile") 2>conftest.er1
21111 grep -v '^ *+' conftest.er1 >conftest.err
21113 cat conftest.err >&5
21114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21115 (exit $ac_status); } && {
21116 test -z "$ac_c_werror_flag" ||
21117 test ! -s conftest.err
21118 } && test -s conftest.$ac_objext; then
21121 echo "$as_me: failed program was:" >&5
21122 sed 's/^/| /' conftest.$ac_ext >&5
21124 ac_lo=`expr '(' $ac_mid ')' + 1`
21127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21130 ?*) ac_cv_sizeof_int=$ac_lo;;
21131 '') if test "$ac_cv_type_int" = yes; then
21132 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21133 See \`config.log
' for more details." >&5
21134 echo "$as_me: error: cannot compute sizeof (int)
21135 See \`config.log' for more details.
" >&2;}
21136 { (exit 77); exit 77; }; }
21142 cat >conftest.$ac_ext <<_ACEOF
21145 cat confdefs.h >>conftest.$ac_ext
21146 cat >>conftest.$ac_ext <<_ACEOF
21147 /* end confdefs.h. */
21148 $ac_includes_default
21149 typedef int ac__type_sizeof_;
21150 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21151 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21153 #include <stdlib.h>
21158 FILE *f = fopen ("conftest.val
", "w
");
21161 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21163 long int i = longval ();
21164 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21166 fprintf (f, "%ld
\n", i);
21170 unsigned long int i = ulongval ();
21171 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21173 fprintf (f, "%lu
\n", i);
21175 return ferror (f) || fclose (f) != 0;
21181 rm -f conftest$ac_exeext
21182 if { (ac_try="$ac_link"
21183 case "(($ac_try" in
21184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21185 *) ac_try_echo=$ac_try;;
21187 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21188 (eval "$ac_link") 2>&5
21190 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21191 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21192 { (case "(($ac_try" in
21193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21194 *) ac_try_echo=$ac_try;;
21196 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21197 (eval "$ac_try") 2>&5
21199 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21200 (exit $ac_status); }; }; then
21201 ac_cv_sizeof_int=`cat conftest.val`
21203 echo "$as_me: program exited with status
$ac_status" >&5
21204 echo "$as_me: failed program was
:" >&5
21205 sed 's/^/| /' conftest.$ac_ext >&5
21207 ( exit $ac_status )
21208 if test "$ac_cv_type_int" = yes; then
21209 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
21210 See \
`config.log' for more details." >&5
21211 echo "$as_me: error: cannot compute sizeof (int)
21212 See \`config.log
' for more details." >&2;}
21213 { (exit 77); exit 77; }; }
21218 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21222 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21223 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21227 cat >>confdefs.h <<_ACEOF
21228 #define SIZEOF_INT $ac_cv_sizeof_int
21232 { echo "$as_me:$LINENO: checking for long" >&5
21233 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21234 if test "${ac_cv_type_long+set}" = set; then
21235 echo $ECHO_N "(cached) $ECHO_C" >&6
21237 cat >conftest.$ac_ext <<_ACEOF
21240 cat confdefs.h >>conftest.$ac_ext
21241 cat >>conftest.$ac_ext <<_ACEOF
21242 /* end confdefs.h. */
21243 $ac_includes_default
21244 typedef long ac__type_new_;
21248 if ((ac__type_new_ *) 0)
21250 if (sizeof (ac__type_new_))
21256 rm -f conftest.$ac_objext
21257 if { (ac_try="$ac_compile"
21258 case "(($ac_try" in
21259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21260 *) ac_try_echo=$ac_try;;
21262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21263 (eval "$ac_compile") 2>conftest.er1
21265 grep -v '^
*+' conftest.er1 >conftest.err
21267 cat conftest.err >&5
21268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21269 (exit $ac_status); } && {
21270 test -z "$ac_c_werror_flag" ||
21271 test ! -s conftest.err
21272 } && test -s conftest.$ac_objext; then
21273 ac_cv_type_long=yes
21275 echo "$as_me: failed program was:" >&5
21276 sed 's
/^
/| /' conftest.$ac_ext >&5
21281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21283 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21284 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21286 # The cast to long int works around a bug in the HP C Compiler
21287 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21288 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21289 # This bug is HP SR number 8606223364.
21290 { echo "$as_me:$LINENO: checking size of long" >&5
21291 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21292 if test "${ac_cv_sizeof_long+set}" = set; then
21293 echo $ECHO_N "(cached) $ECHO_C" >&6
21295 if test "$cross_compiling" = yes; then
21296 # Depending upon the size, compute the lo and hi bounds.
21297 cat >conftest.
$ac_ext <<_ACEOF
21300 cat confdefs.h
>>conftest.
$ac_ext
21301 cat >>conftest.
$ac_ext <<_ACEOF
21302 /* end confdefs.h. */
21303 $ac_includes_default
21304 typedef long ac__type_sizeof_;
21308 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21315 rm -f conftest.
$ac_objext
21316 if { (ac_try
="$ac_compile"
21317 case "(($ac_try" in
21318 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21319 *) ac_try_echo=$ac_try;;
21321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21322 (eval "$ac_compile") 2>conftest.er1
21324 grep -v '^ *+' conftest.er1 >conftest.err
21326 cat conftest.err >&5
21327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21328 (exit $ac_status); } && {
21329 test -z "$ac_c_werror_flag" ||
21330 test ! -s conftest.err
21331 } && test -s conftest.$ac_objext; then
21334 cat >conftest.$ac_ext <<_ACEOF
21337 cat confdefs.h >>conftest.$ac_ext
21338 cat >>conftest.$ac_ext <<_ACEOF
21339 /* end confdefs.h. */
21340 $ac_includes_default
21341 typedef long ac__type_sizeof_;
21345 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21352 rm -f conftest.$ac_objext
21353 if { (ac_try="$ac_compile"
21354 case "(($ac_try" in
21355 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21356 *) ac_try_echo
=$ac_try;;
21358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21359 (eval "$ac_compile") 2>conftest.er1
21361 grep -v '^ *+' conftest.er1
>conftest.err
21363 cat conftest.err
>&5
21364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21365 (exit $ac_status); } && {
21366 test -z "$ac_c_werror_flag" ||
21367 test ! -s conftest.err
21368 } && test -s conftest.
$ac_objext; then
21369 ac_hi
=$ac_mid; break
21371 echo "$as_me: failed program was:" >&5
21372 sed 's/^/| /' conftest.
$ac_ext >&5
21374 ac_lo
=`expr $ac_mid + 1`
21375 if test $ac_lo -le $ac_mid; then
21379 ac_mid
=`expr 2 '*' $ac_mid + 1`
21382 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21385 echo "$as_me: failed program was:" >&5
21386 sed 's/^/| /' conftest.
$ac_ext >&5
21388 cat >conftest.
$ac_ext <<_ACEOF
21391 cat confdefs.h
>>conftest.
$ac_ext
21392 cat >>conftest.
$ac_ext <<_ACEOF
21393 /* end confdefs.h. */
21394 $ac_includes_default
21395 typedef long ac__type_sizeof_;
21399 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21406 rm -f conftest.
$ac_objext
21407 if { (ac_try
="$ac_compile"
21408 case "(($ac_try" in
21409 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21410 *) ac_try_echo=$ac_try;;
21412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21413 (eval "$ac_compile") 2>conftest.er1
21415 grep -v '^ *+' conftest.er1 >conftest.err
21417 cat conftest.err >&5
21418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21419 (exit $ac_status); } && {
21420 test -z "$ac_c_werror_flag" ||
21421 test ! -s conftest.err
21422 } && test -s conftest.$ac_objext; then
21425 cat >conftest.$ac_ext <<_ACEOF
21428 cat confdefs.h >>conftest.$ac_ext
21429 cat >>conftest.$ac_ext <<_ACEOF
21430 /* end confdefs.h. */
21431 $ac_includes_default
21432 typedef long ac__type_sizeof_;
21436 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21443 rm -f conftest.$ac_objext
21444 if { (ac_try="$ac_compile"
21445 case "(($ac_try" in
21446 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21447 *) ac_try_echo
=$ac_try;;
21449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21450 (eval "$ac_compile") 2>conftest.er1
21452 grep -v '^ *+' conftest.er1
>conftest.err
21454 cat conftest.err
>&5
21455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); } && {
21457 test -z "$ac_c_werror_flag" ||
21458 test ! -s conftest.err
21459 } && test -s conftest.
$ac_objext; then
21460 ac_lo
=$ac_mid; break
21462 echo "$as_me: failed program was:" >&5
21463 sed 's/^/| /' conftest.
$ac_ext >&5
21465 ac_hi
=`expr '(' $ac_mid ')' - 1`
21466 if test $ac_mid -le $ac_hi; then
21470 ac_mid
=`expr 2 '*' $ac_mid`
21473 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21476 echo "$as_me: failed program was:" >&5
21477 sed 's/^/| /' conftest.
$ac_ext >&5
21482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21485 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21486 # Binary search between lo and hi bounds.
21487 while test "x$ac_lo" != "x$ac_hi"; do
21488 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21489 cat >conftest.
$ac_ext <<_ACEOF
21492 cat confdefs.h
>>conftest.
$ac_ext
21493 cat >>conftest.
$ac_ext <<_ACEOF
21494 /* end confdefs.h. */
21495 $ac_includes_default
21496 typedef long ac__type_sizeof_;
21500 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21507 rm -f conftest.
$ac_objext
21508 if { (ac_try
="$ac_compile"
21509 case "(($ac_try" in
21510 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21511 *) ac_try_echo=$ac_try;;
21513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21514 (eval "$ac_compile") 2>conftest.er1
21516 grep -v '^ *+' conftest.er1 >conftest.err
21518 cat conftest.err >&5
21519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21520 (exit $ac_status); } && {
21521 test -z "$ac_c_werror_flag" ||
21522 test ! -s conftest.err
21523 } && test -s conftest.$ac_objext; then
21526 echo "$as_me: failed program was:" >&5
21527 sed 's/^/| /' conftest.$ac_ext >&5
21529 ac_lo=`expr '(' $ac_mid ')' + 1`
21532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21535 ?*) ac_cv_sizeof_long=$ac_lo;;
21536 '') if test "$ac_cv_type_long" = yes; then
21537 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21538 See \`config.log
' for more details." >&5
21539 echo "$as_me: error: cannot compute sizeof (long)
21540 See \`config.log' for more details.
" >&2;}
21541 { (exit 77); exit 77; }; }
21543 ac_cv_sizeof_long=0
21547 cat >conftest.$ac_ext <<_ACEOF
21550 cat confdefs.h >>conftest.$ac_ext
21551 cat >>conftest.$ac_ext <<_ACEOF
21552 /* end confdefs.h. */
21553 $ac_includes_default
21554 typedef long ac__type_sizeof_;
21555 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21556 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21558 #include <stdlib.h>
21563 FILE *f = fopen ("conftest.val
", "w
");
21566 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21568 long int i = longval ();
21569 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21571 fprintf (f, "%ld
\n", i);
21575 unsigned long int i = ulongval ();
21576 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21578 fprintf (f, "%lu
\n", i);
21580 return ferror (f) || fclose (f) != 0;
21586 rm -f conftest$ac_exeext
21587 if { (ac_try="$ac_link"
21588 case "(($ac_try" in
21589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21590 *) ac_try_echo=$ac_try;;
21592 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21593 (eval "$ac_link") 2>&5
21595 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21596 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21597 { (case "(($ac_try" in
21598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21599 *) ac_try_echo=$ac_try;;
21601 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21602 (eval "$ac_try") 2>&5
21604 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21605 (exit $ac_status); }; }; then
21606 ac_cv_sizeof_long=`cat conftest.val`
21608 echo "$as_me: program exited with status
$ac_status" >&5
21609 echo "$as_me: failed program was
:" >&5
21610 sed 's/^/| /' conftest.$ac_ext >&5
21612 ( exit $ac_status )
21613 if test "$ac_cv_type_long" = yes; then
21614 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
21615 See \
`config.log' for more details." >&5
21616 echo "$as_me: error: cannot compute sizeof (long)
21617 See \`config.log
' for more details." >&2;}
21618 { (exit 77); exit 77; }; }
21620 ac_cv_sizeof_long=0
21623 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21627 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21628 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21632 cat >>confdefs.h <<_ACEOF
21633 #define SIZEOF_LONG $ac_cv_sizeof_long
21637 { echo "$as_me:$LINENO: checking for size_t" >&5
21638 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21639 if test "${ac_cv_type_size_t+set}" = set; then
21640 echo $ECHO_N "(cached) $ECHO_C" >&6
21642 cat >conftest.$ac_ext <<_ACEOF
21645 cat confdefs.h >>conftest.$ac_ext
21646 cat >>conftest.$ac_ext <<_ACEOF
21647 /* end confdefs.h. */
21648 $ac_includes_default
21649 typedef size_t ac__type_new_;
21653 if ((ac__type_new_ *) 0)
21655 if (sizeof (ac__type_new_))
21661 rm -f conftest.$ac_objext
21662 if { (ac_try="$ac_compile"
21663 case "(($ac_try" in
21664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21665 *) ac_try_echo=$ac_try;;
21667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21668 (eval "$ac_compile") 2>conftest.er1
21670 grep -v '^
*+' conftest.er1 >conftest.err
21672 cat conftest.err >&5
21673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21674 (exit $ac_status); } && {
21675 test -z "$ac_c_werror_flag" ||
21676 test ! -s conftest.err
21677 } && test -s conftest.$ac_objext; then
21678 ac_cv_type_size_t=yes
21680 echo "$as_me: failed program was:" >&5
21681 sed 's
/^
/| /' conftest.$ac_ext >&5
21683 ac_cv_type_size_t=no
21686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21688 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21689 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21691 # The cast to long int works around a bug in the HP C Compiler
21692 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21693 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21694 # This bug is HP SR number 8606223364.
21695 { echo "$as_me:$LINENO: checking size of size_t" >&5
21696 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21697 if test "${ac_cv_sizeof_size_t+set}" = set; then
21698 echo $ECHO_N "(cached) $ECHO_C" >&6
21700 if test "$cross_compiling" = yes; then
21701 # Depending upon the size, compute the lo and hi bounds.
21702 cat >conftest.
$ac_ext <<_ACEOF
21705 cat confdefs.h
>>conftest.
$ac_ext
21706 cat >>conftest.
$ac_ext <<_ACEOF
21707 /* end confdefs.h. */
21708 $ac_includes_default
21709 typedef size_t ac__type_sizeof_;
21713 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21720 rm -f conftest.
$ac_objext
21721 if { (ac_try
="$ac_compile"
21722 case "(($ac_try" in
21723 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21724 *) ac_try_echo=$ac_try;;
21726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21727 (eval "$ac_compile") 2>conftest.er1
21729 grep -v '^ *+' conftest.er1 >conftest.err
21731 cat conftest.err >&5
21732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21733 (exit $ac_status); } && {
21734 test -z "$ac_c_werror_flag" ||
21735 test ! -s conftest.err
21736 } && test -s conftest.$ac_objext; then
21739 cat >conftest.$ac_ext <<_ACEOF
21742 cat confdefs.h >>conftest.$ac_ext
21743 cat >>conftest.$ac_ext <<_ACEOF
21744 /* end confdefs.h. */
21745 $ac_includes_default
21746 typedef size_t ac__type_sizeof_;
21750 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21757 rm -f conftest.$ac_objext
21758 if { (ac_try="$ac_compile"
21759 case "(($ac_try" in
21760 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21761 *) ac_try_echo
=$ac_try;;
21763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21764 (eval "$ac_compile") 2>conftest.er1
21766 grep -v '^ *+' conftest.er1
>conftest.err
21768 cat conftest.err
>&5
21769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21770 (exit $ac_status); } && {
21771 test -z "$ac_c_werror_flag" ||
21772 test ! -s conftest.err
21773 } && test -s conftest.
$ac_objext; then
21774 ac_hi
=$ac_mid; break
21776 echo "$as_me: failed program was:" >&5
21777 sed 's/^/| /' conftest.
$ac_ext >&5
21779 ac_lo
=`expr $ac_mid + 1`
21780 if test $ac_lo -le $ac_mid; then
21784 ac_mid
=`expr 2 '*' $ac_mid + 1`
21787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21790 echo "$as_me: failed program was:" >&5
21791 sed 's/^/| /' conftest.
$ac_ext >&5
21793 cat >conftest.
$ac_ext <<_ACEOF
21796 cat confdefs.h
>>conftest.
$ac_ext
21797 cat >>conftest.
$ac_ext <<_ACEOF
21798 /* end confdefs.h. */
21799 $ac_includes_default
21800 typedef size_t ac__type_sizeof_;
21804 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21811 rm -f conftest.
$ac_objext
21812 if { (ac_try
="$ac_compile"
21813 case "(($ac_try" in
21814 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21815 *) ac_try_echo=$ac_try;;
21817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21818 (eval "$ac_compile") 2>conftest.er1
21820 grep -v '^ *+' conftest.er1 >conftest.err
21822 cat conftest.err >&5
21823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21824 (exit $ac_status); } && {
21825 test -z "$ac_c_werror_flag" ||
21826 test ! -s conftest.err
21827 } && test -s conftest.$ac_objext; then
21830 cat >conftest.$ac_ext <<_ACEOF
21833 cat confdefs.h >>conftest.$ac_ext
21834 cat >>conftest.$ac_ext <<_ACEOF
21835 /* end confdefs.h. */
21836 $ac_includes_default
21837 typedef size_t ac__type_sizeof_;
21841 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21848 rm -f conftest.$ac_objext
21849 if { (ac_try="$ac_compile"
21850 case "(($ac_try" in
21851 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21852 *) ac_try_echo
=$ac_try;;
21854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21855 (eval "$ac_compile") 2>conftest.er1
21857 grep -v '^ *+' conftest.er1
>conftest.err
21859 cat conftest.err
>&5
21860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21861 (exit $ac_status); } && {
21862 test -z "$ac_c_werror_flag" ||
21863 test ! -s conftest.err
21864 } && test -s conftest.
$ac_objext; then
21865 ac_lo
=$ac_mid; break
21867 echo "$as_me: failed program was:" >&5
21868 sed 's/^/| /' conftest.
$ac_ext >&5
21870 ac_hi
=`expr '(' $ac_mid ')' - 1`
21871 if test $ac_mid -le $ac_hi; then
21875 ac_mid
=`expr 2 '*' $ac_mid`
21878 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21881 echo "$as_me: failed program was:" >&5
21882 sed 's/^/| /' conftest.
$ac_ext >&5
21887 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21890 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21891 # Binary search between lo and hi bounds.
21892 while test "x$ac_lo" != "x$ac_hi"; do
21893 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21894 cat >conftest.
$ac_ext <<_ACEOF
21897 cat confdefs.h
>>conftest.
$ac_ext
21898 cat >>conftest.
$ac_ext <<_ACEOF
21899 /* end confdefs.h. */
21900 $ac_includes_default
21901 typedef size_t ac__type_sizeof_;
21905 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21912 rm -f conftest.
$ac_objext
21913 if { (ac_try
="$ac_compile"
21914 case "(($ac_try" in
21915 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21916 *) ac_try_echo=$ac_try;;
21918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21919 (eval "$ac_compile") 2>conftest.er1
21921 grep -v '^ *+' conftest.er1 >conftest.err
21923 cat conftest.err >&5
21924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21925 (exit $ac_status); } && {
21926 test -z "$ac_c_werror_flag" ||
21927 test ! -s conftest.err
21928 } && test -s conftest.$ac_objext; then
21931 echo "$as_me: failed program was:" >&5
21932 sed 's/^/| /' conftest.$ac_ext >&5
21934 ac_lo=`expr '(' $ac_mid ')' + 1`
21937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21940 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21941 '') if test "$ac_cv_type_size_t" = yes; then
21942 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21943 See \`config.log
' for more details." >&5
21944 echo "$as_me: error: cannot compute sizeof (size_t)
21945 See \`config.log' for more details.
" >&2;}
21946 { (exit 77); exit 77; }; }
21948 ac_cv_sizeof_size_t=0
21952 cat >conftest.$ac_ext <<_ACEOF
21955 cat confdefs.h >>conftest.$ac_ext
21956 cat >>conftest.$ac_ext <<_ACEOF
21957 /* end confdefs.h. */
21958 $ac_includes_default
21959 typedef size_t ac__type_sizeof_;
21960 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21961 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21963 #include <stdlib.h>
21968 FILE *f = fopen ("conftest.val
", "w
");
21971 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21973 long int i = longval ();
21974 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21976 fprintf (f, "%ld
\n", i);
21980 unsigned long int i = ulongval ();
21981 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21983 fprintf (f, "%lu
\n", i);
21985 return ferror (f) || fclose (f) != 0;
21991 rm -f conftest$ac_exeext
21992 if { (ac_try="$ac_link"
21993 case "(($ac_try" in
21994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21995 *) ac_try_echo=$ac_try;;
21997 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21998 (eval "$ac_link") 2>&5
22000 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22001 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22002 { (case "(($ac_try" in
22003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22004 *) ac_try_echo=$ac_try;;
22006 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22007 (eval "$ac_try") 2>&5
22009 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22010 (exit $ac_status); }; }; then
22011 ac_cv_sizeof_size_t=`cat conftest.val`
22013 echo "$as_me: program exited with status
$ac_status" >&5
22014 echo "$as_me: failed program was
:" >&5
22015 sed 's/^/| /' conftest.$ac_ext >&5
22017 ( exit $ac_status )
22018 if test "$ac_cv_type_size_t" = yes; then
22019 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
22020 See \
`config.log' for more details." >&5
22021 echo "$as_me: error: cannot compute sizeof (size_t)
22022 See \`config.log
' for more details." >&2;}
22023 { (exit 77); exit 77; }; }
22025 ac_cv_sizeof_size_t=0
22028 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22032 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22033 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22037 cat >>confdefs.h <<_ACEOF
22038 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22045 { echo "$as_me:$LINENO: checking for long long" >&5
22046 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22047 if test "${ac_cv_type_long_long+set}" = set; then
22048 echo $ECHO_N "(cached) $ECHO_C" >&6
22050 cat >conftest.$ac_ext <<_ACEOF
22053 cat confdefs.h >>conftest.$ac_ext
22054 cat >>conftest.$ac_ext <<_ACEOF
22055 /* end confdefs.h. */
22056 $ac_includes_default
22057 typedef long long ac__type_new_;
22061 if ((ac__type_new_ *) 0)
22063 if (sizeof (ac__type_new_))
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_cv_type_long_long=yes
22088 echo "$as_me: failed program was:" >&5
22089 sed 's
/^
/| /' conftest.$ac_ext >&5
22091 ac_cv_type_long_long=no
22094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22096 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22097 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22099 # The cast to long int works around a bug in the HP C Compiler
22100 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22101 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22102 # This bug is HP SR number 8606223364.
22103 { echo "$as_me:$LINENO: checking size of long long" >&5
22104 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22105 if test "${ac_cv_sizeof_long_long+set}" = set; then
22106 echo $ECHO_N "(cached) $ECHO_C" >&6
22108 if test "$cross_compiling" = yes; then
22109 # Depending upon the size, compute the lo and hi bounds.
22110 cat >conftest.
$ac_ext <<_ACEOF
22113 cat confdefs.h
>>conftest.
$ac_ext
22114 cat >>conftest.
$ac_ext <<_ACEOF
22115 /* end confdefs.h. */
22116 $ac_includes_default
22117 typedef long long ac__type_sizeof_;
22121 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22128 rm -f conftest.
$ac_objext
22129 if { (ac_try
="$ac_compile"
22130 case "(($ac_try" in
22131 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22132 *) ac_try_echo=$ac_try;;
22134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22135 (eval "$ac_compile") 2>conftest.er1
22137 grep -v '^ *+' conftest.er1 >conftest.err
22139 cat conftest.err >&5
22140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22141 (exit $ac_status); } && {
22142 test -z "$ac_c_werror_flag" ||
22143 test ! -s conftest.err
22144 } && test -s conftest.$ac_objext; then
22147 cat >conftest.$ac_ext <<_ACEOF
22150 cat confdefs.h >>conftest.$ac_ext
22151 cat >>conftest.$ac_ext <<_ACEOF
22152 /* end confdefs.h. */
22153 $ac_includes_default
22154 typedef long long ac__type_sizeof_;
22158 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22165 rm -f conftest.$ac_objext
22166 if { (ac_try="$ac_compile"
22167 case "(($ac_try" in
22168 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22169 *) ac_try_echo
=$ac_try;;
22171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22172 (eval "$ac_compile") 2>conftest.er1
22174 grep -v '^ *+' conftest.er1
>conftest.err
22176 cat conftest.err
>&5
22177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22178 (exit $ac_status); } && {
22179 test -z "$ac_c_werror_flag" ||
22180 test ! -s conftest.err
22181 } && test -s conftest.
$ac_objext; then
22182 ac_hi
=$ac_mid; break
22184 echo "$as_me: failed program was:" >&5
22185 sed 's/^/| /' conftest.
$ac_ext >&5
22187 ac_lo
=`expr $ac_mid + 1`
22188 if test $ac_lo -le $ac_mid; then
22192 ac_mid
=`expr 2 '*' $ac_mid + 1`
22195 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22198 echo "$as_me: failed program was:" >&5
22199 sed 's/^/| /' conftest.
$ac_ext >&5
22201 cat >conftest.
$ac_ext <<_ACEOF
22204 cat confdefs.h
>>conftest.
$ac_ext
22205 cat >>conftest.
$ac_ext <<_ACEOF
22206 /* end confdefs.h. */
22207 $ac_includes_default
22208 typedef long long ac__type_sizeof_;
22212 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22219 rm -f conftest.
$ac_objext
22220 if { (ac_try
="$ac_compile"
22221 case "(($ac_try" in
22222 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22223 *) ac_try_echo=$ac_try;;
22225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22226 (eval "$ac_compile") 2>conftest.er1
22228 grep -v '^ *+' conftest.er1 >conftest.err
22230 cat conftest.err >&5
22231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22232 (exit $ac_status); } && {
22233 test -z "$ac_c_werror_flag" ||
22234 test ! -s conftest.err
22235 } && test -s conftest.$ac_objext; then
22238 cat >conftest.$ac_ext <<_ACEOF
22241 cat confdefs.h >>conftest.$ac_ext
22242 cat >>conftest.$ac_ext <<_ACEOF
22243 /* end confdefs.h. */
22244 $ac_includes_default
22245 typedef long long ac__type_sizeof_;
22249 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22256 rm -f conftest.$ac_objext
22257 if { (ac_try="$ac_compile"
22258 case "(($ac_try" in
22259 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22260 *) ac_try_echo
=$ac_try;;
22262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22263 (eval "$ac_compile") 2>conftest.er1
22265 grep -v '^ *+' conftest.er1
>conftest.err
22267 cat conftest.err
>&5
22268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22269 (exit $ac_status); } && {
22270 test -z "$ac_c_werror_flag" ||
22271 test ! -s conftest.err
22272 } && test -s conftest.
$ac_objext; then
22273 ac_lo
=$ac_mid; break
22275 echo "$as_me: failed program was:" >&5
22276 sed 's/^/| /' conftest.
$ac_ext >&5
22278 ac_hi
=`expr '(' $ac_mid ')' - 1`
22279 if test $ac_mid -le $ac_hi; then
22283 ac_mid
=`expr 2 '*' $ac_mid`
22286 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22289 echo "$as_me: failed program was:" >&5
22290 sed 's/^/| /' conftest.
$ac_ext >&5
22295 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22298 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22299 # Binary search between lo and hi bounds.
22300 while test "x$ac_lo" != "x$ac_hi"; do
22301 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22302 cat >conftest.
$ac_ext <<_ACEOF
22305 cat confdefs.h
>>conftest.
$ac_ext
22306 cat >>conftest.
$ac_ext <<_ACEOF
22307 /* end confdefs.h. */
22308 $ac_includes_default
22309 typedef long long ac__type_sizeof_;
22313 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22320 rm -f conftest.
$ac_objext
22321 if { (ac_try
="$ac_compile"
22322 case "(($ac_try" in
22323 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22324 *) ac_try_echo=$ac_try;;
22326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22327 (eval "$ac_compile") 2>conftest.er1
22329 grep -v '^ *+' conftest.er1 >conftest.err
22331 cat conftest.err >&5
22332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22333 (exit $ac_status); } && {
22334 test -z "$ac_c_werror_flag" ||
22335 test ! -s conftest.err
22336 } && test -s conftest.$ac_objext; then
22339 echo "$as_me: failed program was:" >&5
22340 sed 's/^/| /' conftest.$ac_ext >&5
22342 ac_lo=`expr '(' $ac_mid ')' + 1`
22345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22348 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22349 '') if test "$ac_cv_type_long_long" = yes; then
22350 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22351 See \`config.log
' for more details." >&5
22352 echo "$as_me: error: cannot compute sizeof (long long)
22353 See \`config.log' for more details.
" >&2;}
22354 { (exit 77); exit 77; }; }
22356 ac_cv_sizeof_long_long=0
22360 cat >conftest.$ac_ext <<_ACEOF
22363 cat confdefs.h >>conftest.$ac_ext
22364 cat >>conftest.$ac_ext <<_ACEOF
22365 /* end confdefs.h. */
22366 $ac_includes_default
22367 typedef long long ac__type_sizeof_;
22368 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22369 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22371 #include <stdlib.h>
22376 FILE *f = fopen ("conftest.val
", "w
");
22379 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22381 long int i = longval ();
22382 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22384 fprintf (f, "%ld
\n", i);
22388 unsigned long int i = ulongval ();
22389 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22391 fprintf (f, "%lu
\n", i);
22393 return ferror (f) || fclose (f) != 0;
22399 rm -f conftest$ac_exeext
22400 if { (ac_try="$ac_link"
22401 case "(($ac_try" in
22402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22403 *) ac_try_echo=$ac_try;;
22405 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22406 (eval "$ac_link") 2>&5
22408 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22409 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22410 { (case "(($ac_try" in
22411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22412 *) ac_try_echo=$ac_try;;
22414 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22415 (eval "$ac_try") 2>&5
22417 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22418 (exit $ac_status); }; }; then
22419 ac_cv_sizeof_long_long=`cat conftest.val`
22421 echo "$as_me: program exited with status
$ac_status" >&5
22422 echo "$as_me: failed program was
:" >&5
22423 sed 's/^/| /' conftest.$ac_ext >&5
22425 ( exit $ac_status )
22426 if test "$ac_cv_type_long_long" = yes; then
22427 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22428 See \
`config.log' for more details." >&5
22429 echo "$as_me: error: cannot compute sizeof (long long)
22430 See \`config.log
' for more details." >&2;}
22431 { (exit 77); exit 77; }; }
22433 ac_cv_sizeof_long_long=0
22436 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22440 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22441 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22445 cat >>confdefs.h <<_ACEOF
22446 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22452 { echo "$as_me:$LINENO: checking for long long" >&5
22453 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22454 if test "${ac_cv_type_long_long+set}" = set; then
22455 echo $ECHO_N "(cached) $ECHO_C" >&6
22457 cat >conftest.$ac_ext <<_ACEOF
22460 cat confdefs.h >>conftest.$ac_ext
22461 cat >>conftest.$ac_ext <<_ACEOF
22462 /* end confdefs.h. */
22463 $ac_includes_default
22464 typedef long long ac__type_new_;
22468 if ((ac__type_new_ *) 0)
22470 if (sizeof (ac__type_new_))
22476 rm -f conftest.$ac_objext
22477 if { (ac_try="$ac_compile"
22478 case "(($ac_try" in
22479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22480 *) ac_try_echo=$ac_try;;
22482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22483 (eval "$ac_compile") 2>conftest.er1
22485 grep -v '^
*+' conftest.er1 >conftest.err
22487 cat conftest.err >&5
22488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22489 (exit $ac_status); } && {
22490 test -z "$ac_c_werror_flag" ||
22491 test ! -s conftest.err
22492 } && test -s conftest.$ac_objext; then
22493 ac_cv_type_long_long=yes
22495 echo "$as_me: failed program was:" >&5
22496 sed 's
/^
/| /' conftest.$ac_ext >&5
22498 ac_cv_type_long_long=no
22501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22503 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22504 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22506 # The cast to long int works around a bug in the HP C Compiler
22507 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22508 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22509 # This bug is HP SR number 8606223364.
22510 { echo "$as_me:$LINENO: checking size of long long" >&5
22511 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22512 if test "${ac_cv_sizeof_long_long+set}" = set; then
22513 echo $ECHO_N "(cached) $ECHO_C" >&6
22515 if test "$cross_compiling" = yes; then
22516 # Depending upon the size, compute the lo and hi bounds.
22517 cat >conftest.
$ac_ext <<_ACEOF
22520 cat confdefs.h
>>conftest.
$ac_ext
22521 cat >>conftest.
$ac_ext <<_ACEOF
22522 /* end confdefs.h. */
22523 $ac_includes_default
22524 typedef long long ac__type_sizeof_;
22528 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22535 rm -f conftest.
$ac_objext
22536 if { (ac_try
="$ac_compile"
22537 case "(($ac_try" in
22538 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22539 *) ac_try_echo=$ac_try;;
22541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22542 (eval "$ac_compile") 2>conftest.er1
22544 grep -v '^ *+' conftest.er1 >conftest.err
22546 cat conftest.err >&5
22547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22548 (exit $ac_status); } && {
22549 test -z "$ac_c_werror_flag" ||
22550 test ! -s conftest.err
22551 } && test -s conftest.$ac_objext; then
22554 cat >conftest.$ac_ext <<_ACEOF
22557 cat confdefs.h >>conftest.$ac_ext
22558 cat >>conftest.$ac_ext <<_ACEOF
22559 /* end confdefs.h. */
22560 $ac_includes_default
22561 typedef long long ac__type_sizeof_;
22565 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22572 rm -f conftest.$ac_objext
22573 if { (ac_try="$ac_compile"
22574 case "(($ac_try" in
22575 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22576 *) ac_try_echo
=$ac_try;;
22578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22579 (eval "$ac_compile") 2>conftest.er1
22581 grep -v '^ *+' conftest.er1
>conftest.err
22583 cat conftest.err
>&5
22584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22585 (exit $ac_status); } && {
22586 test -z "$ac_c_werror_flag" ||
22587 test ! -s conftest.err
22588 } && test -s conftest.
$ac_objext; then
22589 ac_hi
=$ac_mid; break
22591 echo "$as_me: failed program was:" >&5
22592 sed 's/^/| /' conftest.
$ac_ext >&5
22594 ac_lo
=`expr $ac_mid + 1`
22595 if test $ac_lo -le $ac_mid; then
22599 ac_mid
=`expr 2 '*' $ac_mid + 1`
22602 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22605 echo "$as_me: failed program was:" >&5
22606 sed 's/^/| /' conftest.
$ac_ext >&5
22608 cat >conftest.
$ac_ext <<_ACEOF
22611 cat confdefs.h
>>conftest.
$ac_ext
22612 cat >>conftest.
$ac_ext <<_ACEOF
22613 /* end confdefs.h. */
22614 $ac_includes_default
22615 typedef long long ac__type_sizeof_;
22619 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22626 rm -f conftest.
$ac_objext
22627 if { (ac_try
="$ac_compile"
22628 case "(($ac_try" in
22629 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22630 *) ac_try_echo=$ac_try;;
22632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22633 (eval "$ac_compile") 2>conftest.er1
22635 grep -v '^ *+' conftest.er1 >conftest.err
22637 cat conftest.err >&5
22638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22639 (exit $ac_status); } && {
22640 test -z "$ac_c_werror_flag" ||
22641 test ! -s conftest.err
22642 } && test -s conftest.$ac_objext; then
22645 cat >conftest.$ac_ext <<_ACEOF
22648 cat confdefs.h >>conftest.$ac_ext
22649 cat >>conftest.$ac_ext <<_ACEOF
22650 /* end confdefs.h. */
22651 $ac_includes_default
22652 typedef long long ac__type_sizeof_;
22656 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22663 rm -f conftest.$ac_objext
22664 if { (ac_try="$ac_compile"
22665 case "(($ac_try" in
22666 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22667 *) ac_try_echo
=$ac_try;;
22669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22670 (eval "$ac_compile") 2>conftest.er1
22672 grep -v '^ *+' conftest.er1
>conftest.err
22674 cat conftest.err
>&5
22675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22676 (exit $ac_status); } && {
22677 test -z "$ac_c_werror_flag" ||
22678 test ! -s conftest.err
22679 } && test -s conftest.
$ac_objext; then
22680 ac_lo
=$ac_mid; break
22682 echo "$as_me: failed program was:" >&5
22683 sed 's/^/| /' conftest.
$ac_ext >&5
22685 ac_hi
=`expr '(' $ac_mid ')' - 1`
22686 if test $ac_mid -le $ac_hi; then
22690 ac_mid
=`expr 2 '*' $ac_mid`
22693 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22696 echo "$as_me: failed program was:" >&5
22697 sed 's/^/| /' conftest.
$ac_ext >&5
22702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22705 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22706 # Binary search between lo and hi bounds.
22707 while test "x$ac_lo" != "x$ac_hi"; do
22708 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22709 cat >conftest.
$ac_ext <<_ACEOF
22712 cat confdefs.h
>>conftest.
$ac_ext
22713 cat >>conftest.
$ac_ext <<_ACEOF
22714 /* end confdefs.h. */
22715 $ac_includes_default
22716 typedef long long ac__type_sizeof_;
22720 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22727 rm -f conftest.
$ac_objext
22728 if { (ac_try
="$ac_compile"
22729 case "(($ac_try" in
22730 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22731 *) ac_try_echo=$ac_try;;
22733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22734 (eval "$ac_compile") 2>conftest.er1
22736 grep -v '^ *+' conftest.er1 >conftest.err
22738 cat conftest.err >&5
22739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22740 (exit $ac_status); } && {
22741 test -z "$ac_c_werror_flag" ||
22742 test ! -s conftest.err
22743 } && test -s conftest.$ac_objext; then
22746 echo "$as_me: failed program was:" >&5
22747 sed 's/^/| /' conftest.$ac_ext >&5
22749 ac_lo=`expr '(' $ac_mid ')' + 1`
22752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22755 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22756 '') if test "$ac_cv_type_long_long" = yes; then
22757 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22758 See \`config.log
' for more details." >&5
22759 echo "$as_me: error: cannot compute sizeof (long long)
22760 See \`config.log' for more details.
" >&2;}
22761 { (exit 77); exit 77; }; }
22763 ac_cv_sizeof_long_long=0
22767 cat >conftest.$ac_ext <<_ACEOF
22770 cat confdefs.h >>conftest.$ac_ext
22771 cat >>conftest.$ac_ext <<_ACEOF
22772 /* end confdefs.h. */
22773 $ac_includes_default
22774 typedef long long ac__type_sizeof_;
22775 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22776 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22778 #include <stdlib.h>
22783 FILE *f = fopen ("conftest.val
", "w
");
22786 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22788 long int i = longval ();
22789 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22791 fprintf (f, "%ld
\n", i);
22795 unsigned long int i = ulongval ();
22796 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22798 fprintf (f, "%lu
\n", i);
22800 return ferror (f) || fclose (f) != 0;
22806 rm -f conftest$ac_exeext
22807 if { (ac_try="$ac_link"
22808 case "(($ac_try" in
22809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22810 *) ac_try_echo=$ac_try;;
22812 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22813 (eval "$ac_link") 2>&5
22815 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22816 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22817 { (case "(($ac_try" in
22818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22819 *) ac_try_echo=$ac_try;;
22821 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22822 (eval "$ac_try") 2>&5
22824 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22825 (exit $ac_status); }; }; then
22826 ac_cv_sizeof_long_long=`cat conftest.val`
22828 echo "$as_me: program exited with status
$ac_status" >&5
22829 echo "$as_me: failed program was
:" >&5
22830 sed 's/^/| /' conftest.$ac_ext >&5
22832 ( exit $ac_status )
22833 if test "$ac_cv_type_long_long" = yes; then
22834 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22835 See \
`config.log' for more details." >&5
22836 echo "$as_me: error: cannot compute sizeof (long long)
22837 See \`config.log
' for more details." >&2;}
22838 { (exit 77); exit 77; }; }
22840 ac_cv_sizeof_long_long=0
22843 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22847 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22848 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22852 cat >>confdefs.h <<_ACEOF
22853 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22857 if test "$ac_cv_sizeof_long_long" != 0; then
22858 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22862 { echo "$as_me:$LINENO: checking for long long" >&5
22863 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22864 if test "${ac_cv_type_long_long+set}" = set; then
22865 echo $ECHO_N "(cached) $ECHO_C" >&6
22867 cat >conftest.$ac_ext <<_ACEOF
22870 cat confdefs.h >>conftest.$ac_ext
22871 cat >>conftest.$ac_ext <<_ACEOF
22872 /* end confdefs.h. */
22873 $ac_includes_default
22874 typedef long long ac__type_new_;
22878 if ((ac__type_new_ *) 0)
22880 if (sizeof (ac__type_new_))
22886 rm -f conftest.$ac_objext
22887 if { (ac_try="$ac_compile"
22888 case "(($ac_try" in
22889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22890 *) ac_try_echo=$ac_try;;
22892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22893 (eval "$ac_compile") 2>conftest.er1
22895 grep -v '^
*+' conftest.er1 >conftest.err
22897 cat conftest.err >&5
22898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22899 (exit $ac_status); } && {
22900 test -z "$ac_c_werror_flag" ||
22901 test ! -s conftest.err
22902 } && test -s conftest.$ac_objext; then
22903 ac_cv_type_long_long=yes
22905 echo "$as_me: failed program was:" >&5
22906 sed 's
/^
/| /' conftest.$ac_ext >&5
22908 ac_cv_type_long_long=no
22911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22913 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22914 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22916 # The cast to long int works around a bug in the HP C Compiler
22917 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22918 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22919 # This bug is HP SR number 8606223364.
22920 { echo "$as_me:$LINENO: checking size of long long" >&5
22921 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22922 if test "${ac_cv_sizeof_long_long+set}" = set; then
22923 echo $ECHO_N "(cached) $ECHO_C" >&6
22925 if test "$cross_compiling" = yes; then
22926 # Depending upon the size, compute the lo and hi bounds.
22927 cat >conftest.
$ac_ext <<_ACEOF
22930 cat confdefs.h
>>conftest.
$ac_ext
22931 cat >>conftest.
$ac_ext <<_ACEOF
22932 /* end confdefs.h. */
22933 $ac_includes_default
22934 typedef long long ac__type_sizeof_;
22938 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22945 rm -f conftest.
$ac_objext
22946 if { (ac_try
="$ac_compile"
22947 case "(($ac_try" in
22948 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22949 *) ac_try_echo=$ac_try;;
22951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22952 (eval "$ac_compile") 2>conftest.er1
22954 grep -v '^ *+' conftest.er1 >conftest.err
22956 cat conftest.err >&5
22957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22958 (exit $ac_status); } && {
22959 test -z "$ac_c_werror_flag" ||
22960 test ! -s conftest.err
22961 } && test -s conftest.$ac_objext; then
22964 cat >conftest.$ac_ext <<_ACEOF
22967 cat confdefs.h >>conftest.$ac_ext
22968 cat >>conftest.$ac_ext <<_ACEOF
22969 /* end confdefs.h. */
22970 $ac_includes_default
22971 typedef long long ac__type_sizeof_;
22975 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22982 rm -f conftest.$ac_objext
22983 if { (ac_try="$ac_compile"
22984 case "(($ac_try" in
22985 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22986 *) ac_try_echo
=$ac_try;;
22988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22989 (eval "$ac_compile") 2>conftest.er1
22991 grep -v '^ *+' conftest.er1
>conftest.err
22993 cat conftest.err
>&5
22994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995 (exit $ac_status); } && {
22996 test -z "$ac_c_werror_flag" ||
22997 test ! -s conftest.err
22998 } && test -s conftest.
$ac_objext; then
22999 ac_hi
=$ac_mid; break
23001 echo "$as_me: failed program was:" >&5
23002 sed 's/^/| /' conftest.
$ac_ext >&5
23004 ac_lo
=`expr $ac_mid + 1`
23005 if test $ac_lo -le $ac_mid; then
23009 ac_mid
=`expr 2 '*' $ac_mid + 1`
23012 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23015 echo "$as_me: failed program was:" >&5
23016 sed 's/^/| /' conftest.
$ac_ext >&5
23018 cat >conftest.
$ac_ext <<_ACEOF
23021 cat confdefs.h
>>conftest.
$ac_ext
23022 cat >>conftest.
$ac_ext <<_ACEOF
23023 /* end confdefs.h. */
23024 $ac_includes_default
23025 typedef long long ac__type_sizeof_;
23029 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23036 rm -f conftest.
$ac_objext
23037 if { (ac_try
="$ac_compile"
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_compile") 2>conftest.er1
23045 grep -v '^ *+' conftest.er1 >conftest.err
23047 cat conftest.err >&5
23048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23049 (exit $ac_status); } && {
23050 test -z "$ac_c_werror_flag" ||
23051 test ! -s conftest.err
23052 } && test -s conftest.$ac_objext; then
23055 cat >conftest.$ac_ext <<_ACEOF
23058 cat confdefs.h >>conftest.$ac_ext
23059 cat >>conftest.$ac_ext <<_ACEOF
23060 /* end confdefs.h. */
23061 $ac_includes_default
23062 typedef long long ac__type_sizeof_;
23066 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23073 rm -f conftest.$ac_objext
23074 if { (ac_try="$ac_compile"
23075 case "(($ac_try" in
23076 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23077 *) ac_try_echo
=$ac_try;;
23079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23080 (eval "$ac_compile") 2>conftest.er1
23082 grep -v '^ *+' conftest.er1
>conftest.err
23084 cat conftest.err
>&5
23085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23086 (exit $ac_status); } && {
23087 test -z "$ac_c_werror_flag" ||
23088 test ! -s conftest.err
23089 } && test -s conftest.
$ac_objext; then
23090 ac_lo
=$ac_mid; break
23092 echo "$as_me: failed program was:" >&5
23093 sed 's/^/| /' conftest.
$ac_ext >&5
23095 ac_hi
=`expr '(' $ac_mid ')' - 1`
23096 if test $ac_mid -le $ac_hi; then
23100 ac_mid
=`expr 2 '*' $ac_mid`
23103 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23106 echo "$as_me: failed program was:" >&5
23107 sed 's/^/| /' conftest.
$ac_ext >&5
23112 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23116 # Binary search between lo and hi bounds.
23117 while test "x$ac_lo" != "x$ac_hi"; do
23118 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23119 cat >conftest.
$ac_ext <<_ACEOF
23122 cat confdefs.h
>>conftest.
$ac_ext
23123 cat >>conftest.
$ac_ext <<_ACEOF
23124 /* end confdefs.h. */
23125 $ac_includes_default
23126 typedef long long ac__type_sizeof_;
23130 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23137 rm -f conftest.
$ac_objext
23138 if { (ac_try
="$ac_compile"
23139 case "(($ac_try" in
23140 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23141 *) ac_try_echo=$ac_try;;
23143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23144 (eval "$ac_compile") 2>conftest.er1
23146 grep -v '^ *+' conftest.er1 >conftest.err
23148 cat conftest.err >&5
23149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23150 (exit $ac_status); } && {
23151 test -z "$ac_c_werror_flag" ||
23152 test ! -s conftest.err
23153 } && test -s conftest.$ac_objext; then
23156 echo "$as_me: failed program was:" >&5
23157 sed 's/^/| /' conftest.$ac_ext >&5
23159 ac_lo=`expr '(' $ac_mid ')' + 1`
23162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23165 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23166 '') if test "$ac_cv_type_long_long" = yes; then
23167 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23168 See \`config.log
' for more details." >&5
23169 echo "$as_me: error: cannot compute sizeof (long long)
23170 See \`config.log' for more details.
" >&2;}
23171 { (exit 77); exit 77; }; }
23173 ac_cv_sizeof_long_long=0
23177 cat >conftest.$ac_ext <<_ACEOF
23180 cat confdefs.h >>conftest.$ac_ext
23181 cat >>conftest.$ac_ext <<_ACEOF
23182 /* end confdefs.h. */
23183 $ac_includes_default
23184 typedef long long ac__type_sizeof_;
23185 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23186 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23188 #include <stdlib.h>
23193 FILE *f = fopen ("conftest.val
", "w
");
23196 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23198 long int i = longval ();
23199 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23201 fprintf (f, "%ld
\n", i);
23205 unsigned long int i = ulongval ();
23206 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23208 fprintf (f, "%lu
\n", i);
23210 return ferror (f) || fclose (f) != 0;
23216 rm -f conftest$ac_exeext
23217 if { (ac_try="$ac_link"
23218 case "(($ac_try" in
23219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23220 *) ac_try_echo=$ac_try;;
23222 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23223 (eval "$ac_link") 2>&5
23225 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23226 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23227 { (case "(($ac_try" in
23228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23229 *) ac_try_echo=$ac_try;;
23231 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23232 (eval "$ac_try") 2>&5
23234 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23235 (exit $ac_status); }; }; then
23236 ac_cv_sizeof_long_long=`cat conftest.val`
23238 echo "$as_me: program exited with status
$ac_status" >&5
23239 echo "$as_me: failed program was
:" >&5
23240 sed 's/^/| /' conftest.$ac_ext >&5
23242 ( exit $ac_status )
23243 if test "$ac_cv_type_long_long" = yes; then
23244 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23245 See \
`config.log' for more details." >&5
23246 echo "$as_me: error: cannot compute sizeof (long long)
23247 See \`config.log
' for more details." >&2;}
23248 { (exit 77); exit 77; }; }
23250 ac_cv_sizeof_long_long=0
23253 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23257 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23258 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23262 cat >>confdefs.h <<_ACEOF
23263 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23269 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23270 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23271 if test "${ac_cv_type_wchar_t+set}" = set; then
23272 echo $ECHO_N "(cached) $ECHO_C" >&6
23274 cat >conftest.$ac_ext <<_ACEOF
23277 cat confdefs.h >>conftest.$ac_ext
23278 cat >>conftest.$ac_ext <<_ACEOF
23279 /* end confdefs.h. */
23281 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23282 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23283 # error "fake wchar_t"
23285 #ifdef HAVE_WCHAR_H
23287 # include <stddef.h>
23289 # include <wchar.h>
23291 #ifdef HAVE_STDLIB_H
23292 # include <stdlib.h>
23298 typedef wchar_t ac__type_new_
;
23302 if ((ac__type_new_
*) 0)
23304 if (sizeof
(ac__type_new_
))
23310 rm -f conftest.
$ac_objext
23311 if { (ac_try
="$ac_compile"
23312 case "(($ac_try" in
23313 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23314 *) ac_try_echo=$ac_try;;
23316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23317 (eval "$ac_compile") 2>conftest.er1
23319 grep -v '^ *+' conftest.er1 >conftest.err
23321 cat conftest.err >&5
23322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23323 (exit $ac_status); } && {
23324 test -z "$ac_c_werror_flag" ||
23325 test ! -s conftest.err
23326 } && test -s conftest.$ac_objext; then
23327 ac_cv_type_wchar_t=yes
23329 echo "$as_me: failed program was:" >&5
23330 sed 's/^/| /' conftest.$ac_ext >&5
23332 ac_cv_type_wchar_t=no
23335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23337 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23338 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23340 # The cast to long int works around a bug in the HP C Compiler
23341 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23342 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
23343 # This bug is HP SR number 8606223364.
23344 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23345 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23346 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23347 echo $ECHO_N "(cached) $ECHO_C" >&6
23349 if test "$cross_compiling" = yes; then
23350 # Depending upon the size, compute the lo and hi bounds.
23351 cat >conftest.$ac_ext <<_ACEOF
23354 cat confdefs.h >>conftest.$ac_ext
23355 cat >>conftest.$ac_ext <<_ACEOF
23356 /* end confdefs.h. */
23358 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23359 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23360 # error "fake wchar_t"
23362 #ifdef HAVE_WCHAR_H
23364 # include <stddef.h>
23366 # include <wchar.h>
23368 #ifdef HAVE_STDLIB_H
23369 # include <stdlib.h>
23375 typedef wchar_t ac__type_sizeof_
;
23379 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
23386 rm -f conftest.
$ac_objext
23387 if { (ac_try
="$ac_compile"
23388 case "(($ac_try" in
23389 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23390 *) ac_try_echo=$ac_try;;
23392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23393 (eval "$ac_compile") 2>conftest.er1
23395 grep -v '^ *+' conftest.er1 >conftest.err
23397 cat conftest.err >&5
23398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23399 (exit $ac_status); } && {
23400 test -z "$ac_c_werror_flag" ||
23401 test ! -s conftest.err
23402 } && test -s conftest.$ac_objext; then
23405 cat >conftest.$ac_ext <<_ACEOF
23408 cat confdefs.h >>conftest.$ac_ext
23409 cat >>conftest.$ac_ext <<_ACEOF
23410 /* end confdefs.h. */
23412 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23413 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23414 # error "fake wchar_t"
23416 #ifdef HAVE_WCHAR_H
23418 # include <stddef.h>
23420 # include <wchar.h>
23422 #ifdef HAVE_STDLIB_H
23423 # include <stdlib.h>
23429 typedef wchar_t ac__type_sizeof_;
23433 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23440 rm -f conftest.$ac_objext
23441 if { (ac_try="$ac_compile"
23442 case "(($ac_try" in
23443 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23444 *) ac_try_echo
=$ac_try;;
23446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23447 (eval "$ac_compile") 2>conftest.er1
23449 grep -v '^ *+' conftest.er1
>conftest.err
23451 cat conftest.err
>&5
23452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23453 (exit $ac_status); } && {
23454 test -z "$ac_c_werror_flag" ||
23455 test ! -s conftest.err
23456 } && test -s conftest.
$ac_objext; then
23457 ac_hi
=$ac_mid; break
23459 echo "$as_me: failed program was:" >&5
23460 sed 's/^/| /' conftest.
$ac_ext >&5
23462 ac_lo
=`expr $ac_mid + 1`
23463 if test $ac_lo -le $ac_mid; then
23467 ac_mid
=`expr 2 '*' $ac_mid + 1`
23470 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23473 echo "$as_me: failed program was:" >&5
23474 sed 's/^/| /' conftest.
$ac_ext >&5
23476 cat >conftest.
$ac_ext <<_ACEOF
23479 cat confdefs.h
>>conftest.
$ac_ext
23480 cat >>conftest.
$ac_ext <<_ACEOF
23481 /* end confdefs.h. */
23483 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23484 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23485 # error "fake wchar_t"
23487 #ifdef HAVE_WCHAR_H
23489 # include <stddef.h>
23491 # include <wchar.h>
23493 #ifdef HAVE_STDLIB_H
23494 # include <stdlib.h>
23500 typedef wchar_t ac__type_sizeof_;
23504 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23511 rm -f conftest.
$ac_objext
23512 if { (ac_try
="$ac_compile"
23513 case "(($ac_try" in
23514 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23515 *) ac_try_echo=$ac_try;;
23517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23518 (eval "$ac_compile") 2>conftest.er1
23520 grep -v '^ *+' conftest.er1 >conftest.err
23522 cat conftest.err >&5
23523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23524 (exit $ac_status); } && {
23525 test -z "$ac_c_werror_flag" ||
23526 test ! -s conftest.err
23527 } && test -s conftest.$ac_objext; then
23530 cat >conftest.$ac_ext <<_ACEOF
23533 cat confdefs.h >>conftest.$ac_ext
23534 cat >>conftest.$ac_ext <<_ACEOF
23535 /* end confdefs.h. */
23537 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23538 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23539 # error "fake wchar_t"
23541 #ifdef HAVE_WCHAR_H
23543 # include <stddef.h>
23545 # include <wchar.h>
23547 #ifdef HAVE_STDLIB_H
23548 # include <stdlib.h>
23554 typedef wchar_t ac__type_sizeof_;
23558 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23565 rm -f conftest.$ac_objext
23566 if { (ac_try="$ac_compile"
23567 case "(($ac_try" in
23568 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23569 *) ac_try_echo
=$ac_try;;
23571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23572 (eval "$ac_compile") 2>conftest.er1
23574 grep -v '^ *+' conftest.er1
>conftest.err
23576 cat conftest.err
>&5
23577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23578 (exit $ac_status); } && {
23579 test -z "$ac_c_werror_flag" ||
23580 test ! -s conftest.err
23581 } && test -s conftest.
$ac_objext; then
23582 ac_lo
=$ac_mid; break
23584 echo "$as_me: failed program was:" >&5
23585 sed 's/^/| /' conftest.
$ac_ext >&5
23587 ac_hi
=`expr '(' $ac_mid ')' - 1`
23588 if test $ac_mid -le $ac_hi; then
23592 ac_mid
=`expr 2 '*' $ac_mid`
23595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23598 echo "$as_me: failed program was:" >&5
23599 sed 's/^/| /' conftest.
$ac_ext >&5
23604 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23607 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23608 # Binary search between lo and hi bounds.
23609 while test "x$ac_lo" != "x$ac_hi"; do
23610 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23611 cat >conftest.
$ac_ext <<_ACEOF
23614 cat confdefs.h
>>conftest.
$ac_ext
23615 cat >>conftest.
$ac_ext <<_ACEOF
23616 /* end confdefs.h. */
23618 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23619 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23620 # error "fake wchar_t"
23622 #ifdef HAVE_WCHAR_H
23624 # include <stddef.h>
23626 # include <wchar.h>
23628 #ifdef HAVE_STDLIB_H
23629 # include <stdlib.h>
23635 typedef wchar_t ac__type_sizeof_;
23639 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23646 rm -f conftest.
$ac_objext
23647 if { (ac_try
="$ac_compile"
23648 case "(($ac_try" in
23649 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23650 *) ac_try_echo=$ac_try;;
23652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23653 (eval "$ac_compile") 2>conftest.er1
23655 grep -v '^ *+' conftest.er1 >conftest.err
23657 cat conftest.err >&5
23658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23659 (exit $ac_status); } && {
23660 test -z "$ac_c_werror_flag" ||
23661 test ! -s conftest.err
23662 } && test -s conftest.$ac_objext; then
23665 echo "$as_me: failed program was:" >&5
23666 sed 's/^/| /' conftest.$ac_ext >&5
23668 ac_lo=`expr '(' $ac_mid ')' + 1`
23671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23674 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23675 '') if test "$ac_cv_type_wchar_t" = yes; then
23676 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23677 See \`config.log
' for more details." >&5
23678 echo "$as_me: error: cannot compute sizeof (wchar_t)
23679 See \`config.log' for more details.
" >&2;}
23680 { (exit 77); exit 77; }; }
23682 ac_cv_sizeof_wchar_t=0
23686 cat >conftest.$ac_ext <<_ACEOF
23689 cat confdefs.h >>conftest.$ac_ext
23690 cat >>conftest.$ac_ext <<_ACEOF
23691 /* end confdefs.h. */
23693 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23694 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23695 # error "fake wchar_t
"
23697 #ifdef HAVE_WCHAR_H
23699 # include <stddef.h>
23701 # include <wchar.h>
23703 #ifdef HAVE_STDLIB_H
23704 # include <stdlib.h>
23710 typedef wchar_t ac__type_sizeof_;
23711 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23712 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23714 #include <stdlib.h>
23719 FILE *f = fopen ("conftest.val
", "w
");
23722 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23724 long int i = longval ();
23725 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23727 fprintf (f, "%ld
\n", i);
23731 unsigned long int i = ulongval ();
23732 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23734 fprintf (f, "%lu
\n", i);
23736 return ferror (f) || fclose (f) != 0;
23742 rm -f conftest$ac_exeext
23743 if { (ac_try="$ac_link"
23744 case "(($ac_try" in
23745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23746 *) ac_try_echo=$ac_try;;
23748 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23749 (eval "$ac_link") 2>&5
23751 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23752 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23753 { (case "(($ac_try" in
23754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23755 *) ac_try_echo=$ac_try;;
23757 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23758 (eval "$ac_try") 2>&5
23760 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23761 (exit $ac_status); }; }; then
23762 ac_cv_sizeof_wchar_t=`cat conftest.val`
23764 echo "$as_me: program exited with status
$ac_status" >&5
23765 echo "$as_me: failed program was
:" >&5
23766 sed 's/^/| /' conftest.$ac_ext >&5
23768 ( exit $ac_status )
23769 if test "$ac_cv_type_wchar_t" = yes; then
23770 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
23771 See \
`config.log' for more details." >&5
23772 echo "$as_me: error: cannot compute sizeof (wchar_t)
23773 See \`config.log
' for more details." >&2;}
23774 { (exit 77); exit 77; }; }
23776 ac_cv_sizeof_wchar_t=0
23779 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23783 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23784 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23788 cat >>confdefs.h <<_ACEOF
23789 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23793 if test "$ac_cv_sizeof_wchar_t" != 0; then
23799 { echo "$as_me:$LINENO: checking for va_copy" >&5
23800 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23801 if test "${wx_cv_func_va_copy+set}" = set; then
23802 echo $ECHO_N "(cached) $ECHO_C" >&6
23806 ac_cpp='$CXXCPP $CPPFLAGS'
23807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23808 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23811 cat >conftest.$ac_ext <<_ACEOF
23813 #include <stdarg.h>
23814 void foo(char *f, ...)
23828 rm -f conftest.$ac_objext conftest$ac_exeext
23829 if { (ac_try="$ac_link"
23830 case "(($ac_try" in
23831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23832 *) ac_try_echo=$ac_try;;
23834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23835 (eval "$ac_link") 2>conftest.er1
23837 grep -v '^
*+' conftest.er1 >conftest.err
23839 cat conftest.err >&5
23840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23841 (exit $ac_status); } && {
23842 test -z "$ac_cxx_werror_flag" ||
23843 test ! -s conftest.err
23844 } && test -s conftest$ac_exeext &&
23845 $as_test_x conftest$ac_exeext; then
23846 wx_cv_func_va_copy=yes
23848 echo "$as_me: failed program was:" >&5
23849 sed 's
/^
/| /' conftest.$ac_ext >&5
23851 wx_cv_func_va_copy=no
23855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23856 conftest$ac_exeext conftest.$ac_ext
23858 ac_cpp='$CPP $CPPFLAGS'
23859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23860 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23866 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23867 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23869 if test $wx_cv_func_va_copy = "yes"; then
23870 cat >>confdefs.h <<\_ACEOF
23871 #define HAVE_VA_COPY 1
23875 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23876 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23877 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23878 echo $ECHO_N "(cached) $ECHO_C" >&6
23881 if test "$cross_compiling" = yes; then
23882 wx_cv_type_va_list_lvalue=yes
23885 cat >conftest.$ac_ext <<_ACEOF
23887 #include <stdarg.h>
23888 int foo(char *f, ...)
23893 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23901 return foo("hi", 17);
23904 rm -f conftest$ac_exeext
23905 if { (ac_try="$ac_link"
23906 case "(($ac_try" in
23907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23908 *) ac_try_echo=$ac_try;;
23910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23911 (eval "$ac_link") 2>&5
23913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23914 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23915 { (case "(($ac_try" in
23916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23917 *) ac_try_echo=$ac_try;;
23919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23920 (eval "$ac_try") 2>&5
23922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23923 (exit $ac_status); }; }; then
23924 wx_cv_type_va_list_lvalue=yes
23926 echo "$as_me: program exited with status $ac_status" >&5
23927 echo "$as_me: failed program was:" >&5
23928 sed 's
/^
/| /' conftest.$ac_ext >&5
23930 ( exit $ac_status )
23931 wx_cv_type_va_list_lvalue=no
23933 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23940 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23941 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23943 if test $wx_cv_type_va_list_lvalue != "yes"; then
23944 cat >>confdefs.h <<\_ACEOF
23945 #define VA_LIST_IS_ARRAY 1
23951 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23953 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23954 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23955 if test "${wx_cv_have_variadic_macros+set}" = set; then
23956 echo $ECHO_N "(cached) $ECHO_C" >&6
23960 ac_cpp='$CXXCPP $CPPFLAGS'
23961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23962 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23965 cat >conftest.$ac_ext <<_ACEOF
23968 cat confdefs.h >>conftest.$ac_ext
23969 cat >>conftest.$ac_ext <<_ACEOF
23970 /* end confdefs.h. */
23973 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23979 test("%s %d %p", "test", 1, 0);
23986 rm -f conftest.$ac_objext
23987 if { (ac_try="$ac_compile"
23988 case "(($ac_try" in
23989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23990 *) ac_try_echo=$ac_try;;
23992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23993 (eval "$ac_compile") 2>conftest.er1
23995 grep -v '^
*+' conftest.er1 >conftest.err
23997 cat conftest.err >&5
23998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23999 (exit $ac_status); } && {
24000 test -z "$ac_cxx_werror_flag" ||
24001 test ! -s conftest.err
24002 } && test -s conftest.$ac_objext; then
24003 wx_cv_have_variadic_macros=yes
24005 echo "$as_me: failed program was:" >&5
24006 sed 's
/^
/| /' conftest.$ac_ext >&5
24008 wx_cv_have_variadic_macros=no
24012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24014 ac_cpp='$CPP $CPPFLAGS'
24015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24016 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24022 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24023 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24025 if test $wx_cv_have_variadic_macros = "yes"; then
24026 cat >>confdefs.h <<\_ACEOF
24027 #define HAVE_VARIADIC_MACROS 1
24034 LARGEFILE_CPPFLAGS=
24035 # Check whether --enable-largefile was given.
24036 if test "${enable_largefile+set}" = set; then
24037 enableval=$enable_largefile;
24040 if test "$enable_largefile" != no; then
24043 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24044 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24045 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24046 echo $ECHO_N "(cached) $ECHO_C" >&6
24049 cat >conftest.$ac_ext <<_ACEOF
24052 cat confdefs.h >>conftest.$ac_ext
24053 cat >>conftest.$ac_ext <<_ACEOF
24054 /* end confdefs.h. */
24055 #define _FILE_OFFSET_BITS 64
24056 #include <sys/types.h>
24061 unsigned int field: sizeof(off_t) == 8;
24068 rm -f conftest.$ac_objext
24069 if { (ac_try="$ac_compile"
24070 case "(($ac_try" in
24071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24072 *) ac_try_echo=$ac_try;;
24074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24075 (eval "$ac_compile") 2>conftest.er1
24077 grep -v '^
*+' conftest.er1 >conftest.err
24079 cat conftest.err >&5
24080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24081 (exit $ac_status); } && {
24082 test -z "$ac_c_werror_flag" ||
24083 test ! -s conftest.err
24084 } && test -s conftest.$ac_objext; then
24085 ac_cv_sys_file_offset_bits=64
24087 echo "$as_me: failed program was:" >&5
24088 sed 's
/^
/| /' conftest.$ac_ext >&5
24090 ac_cv_sys_file_offset_bits=no
24093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24097 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24098 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24100 if test "$ac_cv_sys_file_offset_bits" != no; then
24102 cat >>confdefs.h <<_ACEOF
24103 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24108 if test "x$wx_largefile" != "xyes"; then
24110 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24111 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24112 if test "${ac_cv_sys_large_files+set}" = set; then
24113 echo $ECHO_N "(cached) $ECHO_C" >&6
24116 cat >conftest.$ac_ext <<_ACEOF
24119 cat confdefs.h >>conftest.$ac_ext
24120 cat >>conftest.$ac_ext <<_ACEOF
24121 /* end confdefs.h. */
24122 #define _LARGE_FILES 1
24123 #include <sys/types.h>
24128 unsigned int field: sizeof(off_t) == 8;
24135 rm -f conftest.$ac_objext
24136 if { (ac_try="$ac_compile"
24137 case "(($ac_try" in
24138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24139 *) ac_try_echo=$ac_try;;
24141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24142 (eval "$ac_compile") 2>conftest.er1
24144 grep -v '^
*+' conftest.er1 >conftest.err
24146 cat conftest.err >&5
24147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24148 (exit $ac_status); } && {
24149 test -z "$ac_c_werror_flag" ||
24150 test ! -s conftest.err
24151 } && test -s conftest.$ac_objext; then
24152 ac_cv_sys_large_files=1
24154 echo "$as_me: failed program was:" >&5
24155 sed 's
/^
/| /' conftest.$ac_ext >&5
24157 ac_cv_sys_large_files=no
24160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24164 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24165 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24167 if test "$ac_cv_sys_large_files" != no; then
24169 cat >>confdefs.h <<_ACEOF
24170 #define _LARGE_FILES $ac_cv_sys_large_files
24177 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24178 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24179 if test "x$wx_largefile" = "xyes"; then
24180 cat >>confdefs.h <<\_ACEOF
24181 #define HAVE_LARGEFILE_SUPPORT 1
24185 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24186 echo "${ECHO_T}$wx_largefile" >&6; }
24189 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24190 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24191 elif test "$ac_cv_sys_large_files" = 1; then
24192 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24195 if test -n "$LARGEFILE_CPPFLAGS"; then
24196 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24198 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24199 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24200 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24201 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24202 echo $ECHO_N "(cached) $ECHO_C" >&6
24206 ac_cpp='$CXXCPP $CPPFLAGS'
24207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24208 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24211 cat >conftest.$ac_ext <<_ACEOF
24214 cat confdefs.h >>conftest.$ac_ext
24215 cat >>conftest.$ac_ext <<_ACEOF
24216 /* end confdefs.h. */
24222 #ifndef __STDC_EXT__
24230 rm -f conftest.$ac_objext
24231 if { (ac_try="$ac_compile"
24232 case "(($ac_try" in
24233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24234 *) ac_try_echo=$ac_try;;
24236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24237 (eval "$ac_compile") 2>conftest.er1
24239 grep -v '^
*+' conftest.er1 >conftest.err
24241 cat conftest.err >&5
24242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24243 (exit $ac_status); } && {
24244 test -z "$ac_cxx_werror_flag" ||
24245 test ! -s conftest.err
24246 } && test -s conftest.$ac_objext; then
24247 wx_cv_STDC_EXT_required=no
24249 echo "$as_me: failed program was:" >&5
24250 sed 's
/^
/| /' conftest.$ac_ext >&5
24252 wx_cv_STDC_EXT_required=yes
24256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24258 ac_cpp='$CPP $CPPFLAGS'
24259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24260 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24266 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24267 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24268 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24269 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24275 ac_cpp='$CXXCPP $CPPFLAGS'
24276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24277 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24280 old_CPPFLAGS="$CPPFLAGS"
24281 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24282 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24283 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24284 if test "${ac_cv_sys_largefile_source+set}" = set; then
24285 echo $ECHO_N "(cached) $ECHO_C" >&6
24288 cat >conftest.$ac_ext <<_ACEOF
24291 cat confdefs.h >>conftest.$ac_ext
24292 cat >>conftest.$ac_ext <<_ACEOF
24293 /* end confdefs.h. */
24294 #include <sys/types.h> /* for off_t */
24299 int (*fp) (FILE *, off_t, int) = fseeko;
24300 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24305 rm -f conftest.$ac_objext conftest$ac_exeext
24306 if { (ac_try="$ac_link"
24307 case "(($ac_try" in
24308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24309 *) ac_try_echo=$ac_try;;
24311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24312 (eval "$ac_link") 2>conftest.er1
24314 grep -v '^
*+' conftest.er1 >conftest.err
24316 cat conftest.err >&5
24317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24318 (exit $ac_status); } && {
24319 test -z "$ac_cxx_werror_flag" ||
24320 test ! -s conftest.err
24321 } && test -s conftest$ac_exeext &&
24322 $as_test_x conftest$ac_exeext; then
24323 ac_cv_sys_largefile_source=no; break
24325 echo "$as_me: failed program was:" >&5
24326 sed 's
/^
/| /' conftest.$ac_ext >&5
24331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24332 conftest$ac_exeext conftest.$ac_ext
24333 cat >conftest.$ac_ext <<_ACEOF
24336 cat confdefs.h >>conftest.$ac_ext
24337 cat >>conftest.$ac_ext <<_ACEOF
24338 /* end confdefs.h. */
24339 #define _LARGEFILE_SOURCE 1
24340 #include <sys/types.h> /* for off_t */
24345 int (*fp) (FILE *, off_t, int) = fseeko;
24346 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24351 rm -f conftest.$ac_objext conftest$ac_exeext
24352 if { (ac_try="$ac_link"
24353 case "(($ac_try" in
24354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24355 *) ac_try_echo=$ac_try;;
24357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24358 (eval "$ac_link") 2>conftest.er1
24360 grep -v '^
*+' conftest.er1 >conftest.err
24362 cat conftest.err >&5
24363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24364 (exit $ac_status); } && {
24365 test -z "$ac_cxx_werror_flag" ||
24366 test ! -s conftest.err
24367 } && test -s conftest$ac_exeext &&
24368 $as_test_x conftest$ac_exeext; then
24369 ac_cv_sys_largefile_source=1; break
24371 echo "$as_me: failed program was:" >&5
24372 sed 's
/^
/| /' conftest.$ac_ext >&5
24377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24378 conftest$ac_exeext conftest.$ac_ext
24379 ac_cv_sys_largefile_source=unknown
24383 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24384 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24385 case $ac_cv_sys_largefile_source in #(
24388 cat >>confdefs.h <<_ACEOF
24389 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24395 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24396 # in glibc 2.1.3, but that breaks too many other things.
24397 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24398 if test $ac_cv_sys_largefile_source != unknown; then
24400 cat >>confdefs.h <<\_ACEOF
24401 #define HAVE_FSEEKO 1
24406 CPPFLAGS="$old_CPPFLAGS"
24408 ac_cpp='$CPP $CPPFLAGS'
24409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24410 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24413 if test "$ac_cv_sys_largefile_source" != no; then
24414 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24417 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24418 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24419 if test "${ac_cv_c_bigendian+set}" = set; then
24420 echo $ECHO_N "(cached) $ECHO_C" >&6
24422 ac_cv_c_bigendian=unknown
24423 # See if sys/param.h defines the BYTE_ORDER macro.
24424 cat >conftest.$ac_ext <<_ACEOF
24427 cat confdefs.h >>conftest.$ac_ext
24428 cat >>conftest.$ac_ext <<_ACEOF
24429 /* end confdefs.h. */
24430 #include <sys/types.h>
24431 #include <sys/param.h>
24436 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24437 bogus endian macros
24443 rm -f conftest.$ac_objext
24444 if { (ac_try="$ac_compile"
24445 case "(($ac_try" in
24446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24447 *) ac_try_echo=$ac_try;;
24449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24450 (eval "$ac_compile") 2>conftest.er1
24452 grep -v '^
*+' conftest.er1 >conftest.err
24454 cat conftest.err >&5
24455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24456 (exit $ac_status); } && {
24457 test -z "$ac_c_werror_flag" ||
24458 test ! -s conftest.err
24459 } && test -s conftest.$ac_objext; then
24460 # It does; now see whether it defined to BIG_ENDIAN or not.
24461 cat >conftest.$ac_ext <<_ACEOF
24464 cat confdefs.h >>conftest.$ac_ext
24465 cat >>conftest.$ac_ext <<_ACEOF
24466 /* end confdefs.h. */
24467 #include <sys/types.h>
24468 #include <sys/param.h>
24473 #if BYTE_ORDER != BIG_ENDIAN
24480 rm -f conftest.$ac_objext
24481 if { (ac_try="$ac_compile"
24482 case "(($ac_try" in
24483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24484 *) ac_try_echo=$ac_try;;
24486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24487 (eval "$ac_compile") 2>conftest.er1
24489 grep -v '^
*+' conftest.er1 >conftest.err
24491 cat conftest.err >&5
24492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24493 (exit $ac_status); } && {
24494 test -z "$ac_c_werror_flag" ||
24495 test ! -s conftest.err
24496 } && test -s conftest.$ac_objext; then
24497 ac_cv_c_bigendian=yes
24499 echo "$as_me: failed program was:" >&5
24500 sed 's
/^
/| /' conftest.$ac_ext >&5
24502 ac_cv_c_bigendian=no
24505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24507 echo "$as_me: failed program was:" >&5
24508 sed 's
/^
/| /' conftest.$ac_ext >&5
24513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24514 if test $ac_cv_c_bigendian = unknown; then
24515 if test "$cross_compiling" = yes; then
24516 ac_cv_c_bigendian=unknown
24518 cat >conftest.$ac_ext <<_ACEOF
24521 cat confdefs.h >>conftest.$ac_ext
24522 cat >>conftest.$ac_ext <<_ACEOF
24523 /* end confdefs.h. */
24525 /* Are we little or big endian? From Harbison&Steele. */
24529 char c[sizeof (long)];
24532 exit (u.c[sizeof (long) - 1] == 1);
24535 rm -f conftest$ac_exeext
24536 if { (ac_try="$ac_link"
24537 case "(($ac_try" in
24538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24539 *) ac_try_echo=$ac_try;;
24541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24542 (eval "$ac_link") 2>&5
24544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24545 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24546 { (case "(($ac_try" in
24547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24548 *) ac_try_echo=$ac_try;;
24550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24551 (eval "$ac_try") 2>&5
24553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24554 (exit $ac_status); }; }; then
24555 ac_cv_c_bigendian=no
24557 echo "$as_me: program exited with status $ac_status" >&5
24558 echo "$as_me: failed program was:" >&5
24559 sed 's
/^
/| /' conftest.$ac_ext >&5
24561 ( exit $ac_status )
24562 ac_cv_c_bigendian=yes
24564 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24570 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24571 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24572 if test $ac_cv_c_bigendian = unknown; then
24573 { 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
24574 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;}
24576 if test $ac_cv_c_bigendian = yes; then
24577 cat >>confdefs.h <<\_ACEOF
24578 #define WORDS_BIGENDIAN 1
24587 ac_cpp='$CXXCPP $CPPFLAGS'
24588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24589 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24594 for ac_header in iostream
24596 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24597 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24599 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24600 echo $ECHO_N "(cached) $ECHO_C" >&6
24602 cat >conftest.$ac_ext <<_ACEOF
24605 cat confdefs.h >>conftest.$ac_ext
24606 cat >>conftest.$ac_ext <<_ACEOF
24607 /* end confdefs.h. */
24610 #include <$ac_header>
24612 rm -f conftest.$ac_objext
24613 if { (ac_try="$ac_compile"
24614 case "(($ac_try" in
24615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24616 *) ac_try_echo=$ac_try;;
24618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24619 (eval "$ac_compile") 2>conftest.er1
24621 grep -v '^
*+' conftest.er1 >conftest.err
24623 cat conftest.err >&5
24624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24625 (exit $ac_status); } && {
24626 test -z "$ac_cxx_werror_flag" ||
24627 test ! -s conftest.err
24628 } && test -s conftest.$ac_objext; then
24629 eval "$as_ac_Header=yes"
24631 echo "$as_me: failed program was:" >&5
24632 sed 's
/^
/| /' conftest.$ac_ext >&5
24634 eval "$as_ac_Header=no"
24637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24639 ac_res=`eval echo '${'$as_ac_Header'}'`
24640 { echo "$as_me:$LINENO: result: $ac_res" >&5
24641 echo "${ECHO_T}$ac_res" >&6; }
24642 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24643 cat >>confdefs.h <<_ACEOF
24644 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24652 if test "$ac_cv_header_iostream" = "yes" ; then
24655 cat >>confdefs.h <<\_ACEOF
24656 #define wxUSE_IOSTREAMH 1
24662 ac_cpp='$CPP $CPPFLAGS'
24663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24664 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24670 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24671 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24672 if test "${wx_cv_explicit+set}" = set; then
24673 echo $ECHO_N "(cached) $ECHO_C" >&6
24678 ac_cpp='$CXXCPP $CPPFLAGS'
24679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24680 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24684 cat >conftest.$ac_ext <<_ACEOF
24687 cat confdefs.h >>conftest.$ac_ext
24688 cat >>conftest.$ac_ext <<_ACEOF
24689 /* end confdefs.h. */
24691 class Foo { public: explicit Foo(int) {} };
24703 rm -f conftest.$ac_objext
24704 if { (ac_try="$ac_compile"
24705 case "(($ac_try" in
24706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24707 *) ac_try_echo=$ac_try;;
24709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24710 (eval "$ac_compile") 2>conftest.er1
24712 grep -v '^
*+' conftest.er1 >conftest.err
24714 cat conftest.err >&5
24715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24716 (exit $ac_status); } && {
24717 test -z "$ac_cxx_werror_flag" ||
24718 test ! -s conftest.err
24719 } && test -s conftest.$ac_objext; then
24721 cat >conftest.$ac_ext <<_ACEOF
24724 cat confdefs.h >>conftest.$ac_ext
24725 cat >>conftest.$ac_ext <<_ACEOF
24726 /* end confdefs.h. */
24728 class Foo { public: explicit Foo(int) {} };
24729 static void TakeFoo(const Foo& foo) { }
24742 rm -f conftest.$ac_objext
24743 if { (ac_try="$ac_compile"
24744 case "(($ac_try" in
24745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24746 *) ac_try_echo=$ac_try;;
24748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24749 (eval "$ac_compile") 2>conftest.er1
24751 grep -v '^
*+' conftest.er1 >conftest.err
24753 cat conftest.err >&5
24754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24755 (exit $ac_status); } && {
24756 test -z "$ac_cxx_werror_flag" ||
24757 test ! -s conftest.err
24758 } && test -s conftest.$ac_objext; then
24761 echo "$as_me: failed program was:" >&5
24762 sed 's
/^
/| /' conftest.$ac_ext >&5
24768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24771 echo "$as_me: failed program was:" >&5
24772 sed 's
/^
/| /' conftest.$ac_ext >&5
24778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24781 ac_cpp='$CPP $CPPFLAGS'
24782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24783 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24788 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24789 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24791 if test "$wx_cv_explicit" = "yes"; then
24792 cat >>confdefs.h <<\_ACEOF
24793 #define HAVE_EXPLICIT 1
24799 if test "x$SUNCXX" = xyes; then
24800 CXXFLAGS="-features=tmplife $CXXFLAGS"
24803 if test "x$SUNCC" = xyes; then
24804 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24807 if test "x$SGICC" = "xyes"; then
24808 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
24809 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
24810 if test "${wx_cv_prog_sgicc744+set}" = set; then
24811 echo $ECHO_N "(cached) $ECHO_C" >&6
24814 cat >conftest.$ac_ext <<_ACEOF
24817 cat confdefs.h >>conftest.$ac_ext
24818 cat >>conftest.$ac_ext <<_ACEOF
24819 /* end confdefs.h. */
24825 #if _SGI_COMPILER_VERSION >= 744
24826 chock me: mipsPro is 7.4.4 or later
24833 rm -f conftest.$ac_objext
24834 if { (ac_try="$ac_compile"
24835 case "(($ac_try" in
24836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24837 *) ac_try_echo=$ac_try;;
24839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24840 (eval "$ac_compile") 2>conftest.er1
24842 grep -v '^
*+' conftest.er1 >conftest.err
24844 cat conftest.err >&5
24845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24846 (exit $ac_status); } && {
24847 test -z "$ac_c_werror_flag" ||
24848 test ! -s conftest.err
24849 } && test -s conftest.$ac_objext; then
24850 wx_cv_prog_sgicc744=no
24852 echo "$as_me: failed program was:" >&5
24853 sed 's
/^
/| /' conftest.$ac_ext >&5
24855 wx_cv_prog_sgicc744=yes
24859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24863 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
24864 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
24866 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
24867 CFLAGS="-woff 3970 $CFLAGS"
24870 if test "x$SGICXX" = "xyes"; then
24871 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
24872 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
24873 if test "${wx_cv_prog_sgicxx744+set}" = set; then
24874 echo $ECHO_N "(cached) $ECHO_C" >&6
24878 ac_cpp='$CXXCPP $CPPFLAGS'
24879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24880 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24883 cat >conftest.$ac_ext <<_ACEOF
24886 cat confdefs.h >>conftest.$ac_ext
24887 cat >>conftest.$ac_ext <<_ACEOF
24888 /* end confdefs.h. */
24894 #if _SGI_COMPILER_VERSION >= 744
24895 chock me: mipsPro is 7.4.4 or later
24902 rm -f conftest.$ac_objext
24903 if { (ac_try="$ac_compile"
24904 case "(($ac_try" in
24905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24906 *) ac_try_echo=$ac_try;;
24908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24909 (eval "$ac_compile") 2>conftest.er1
24911 grep -v '^
*+' conftest.er1 >conftest.err
24913 cat conftest.err >&5
24914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24915 (exit $ac_status); } && {
24916 test -z "$ac_cxx_werror_flag" ||
24917 test ! -s conftest.err
24918 } && test -s conftest.$ac_objext; then
24919 wx_cv_prog_sgicxx744=no
24921 echo "$as_me: failed program was:" >&5
24922 sed 's
/^
/| /' conftest.$ac_ext >&5
24924 wx_cv_prog_sgicxx744=yes
24928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24930 ac_cpp='$CPP $CPPFLAGS'
24931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24932 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24938 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
24939 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
24941 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
24942 CXXFLAGS="-woff 3970 $CXXFLAGS"
24946 if test "x$HPCC" = "xyes"; then
24947 CFLAGS="+W 2011,2450 $CFLAGS"
24949 if test "x$HPCXX" = "xyes"; then
24950 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24953 if test "x$COMPAQCXX" = "xyes"; then
24954 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24958 ac_cpp='$CXXCPP $CPPFLAGS'
24959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24960 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24964 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24965 if test "$wxUSE_UNICODE" = "yes"; then
24966 std_string="std::wstring"
24967 char_type="wchar_t"
24969 std_string="std::string"
24973 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24974 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24975 if test "${wx_cv_class_stdstring+set}" = set; then
24976 echo $ECHO_N "(cached) $ECHO_C" >&6
24979 cat >conftest.$ac_ext <<_ACEOF
24982 cat confdefs.h >>conftest.$ac_ext
24983 cat >>conftest.$ac_ext <<_ACEOF
24984 /* end confdefs.h. */
24994 rm -f conftest.$ac_objext
24995 if { (ac_try="$ac_compile"
24996 case "(($ac_try" in
24997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24998 *) ac_try_echo=$ac_try;;
25000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25001 (eval "$ac_compile") 2>conftest.er1
25003 grep -v '^
*+' conftest.er1 >conftest.err
25005 cat conftest.err >&5
25006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25007 (exit $ac_status); } && {
25008 test -z "$ac_cxx_werror_flag" ||
25009 test ! -s conftest.err
25010 } && test -s conftest.$ac_objext; then
25011 wx_cv_class_stdstring=yes
25013 echo "$as_me: failed program was:" >&5
25014 sed 's
/^
/| /' conftest.$ac_ext >&5
25016 wx_cv_class_stdstring=no
25020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25024 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25025 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25027 if test "$wx_cv_class_stdstring" = yes; then
25028 if test "$wxUSE_UNICODE" = "yes"; then
25029 cat >>confdefs.h <<\_ACEOF
25030 #define HAVE_STD_WSTRING 1
25035 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25036 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25037 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25038 echo $ECHO_N "(cached) $ECHO_C" >&6
25041 cat >conftest.$ac_ext <<_ACEOF
25044 cat confdefs.h >>conftest.$ac_ext
25045 cat >>conftest.$ac_ext <<_ACEOF
25046 /* end confdefs.h. */
25048 #ifdef HAVE_WCHAR_H
25050 # include <stddef.h>
25052 # include <wchar.h>
25054 #ifdef HAVE_STDLIB_H
25055 # include <stdlib.h>
25063 std::basic_string<$char_type> foo;
25064 const $char_type* dummy = foo.c_str();
25069 rm -f conftest.$ac_objext
25070 if { (ac_try="$ac_compile"
25071 case "(($ac_try" in
25072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25073 *) ac_try_echo=$ac_try;;
25075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25076 (eval "$ac_compile") 2>conftest.er1
25078 grep -v '^
*+' conftest.er1 >conftest.err
25080 cat conftest.err >&5
25081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25082 (exit $ac_status); } && {
25083 test -z "$ac_cxx_werror_flag" ||
25084 test ! -s conftest.err
25085 } && test -s conftest.$ac_objext; then
25086 wx_cv_class_stdbasicstring=yes
25088 echo "$as_me: failed program was:" >&5
25089 sed 's
/^
/| /' conftest.$ac_ext >&5
25091 wx_cv_class_stdbasicstring=no
25095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25099 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25100 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25102 if test "$wx_cv_class_stdbasicstring" != yes; then
25103 if test "$wxUSE_STL" = "yes"; then
25104 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
25105 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25106 { (exit 1); exit 1; }; }
25107 elif test "$wxUSE_STD_STRING" = "yes"; then
25108 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
25109 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25110 { (exit 1); exit 1; }; }
25112 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25113 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25114 wxUSE_STD_STRING=no
25120 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25121 { echo "$as_me:$LINENO: checking for std::istream" >&5
25122 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25123 if test "${ac_cv_type_std__istream+set}" = set; then
25124 echo $ECHO_N "(cached) $ECHO_C" >&6
25126 cat >conftest.$ac_ext <<_ACEOF
25129 cat confdefs.h >>conftest.$ac_ext
25130 cat >>conftest.$ac_ext <<_ACEOF
25131 /* end confdefs.h. */
25132 #include <iostream>
25134 typedef std::istream ac__type_new_;
25138 if ((ac__type_new_ *) 0)
25140 if (sizeof (ac__type_new_))
25146 rm -f conftest.$ac_objext
25147 if { (ac_try="$ac_compile"
25148 case "(($ac_try" in
25149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25150 *) ac_try_echo=$ac_try;;
25152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25153 (eval "$ac_compile") 2>conftest.er1
25155 grep -v '^
*+' conftest.er1 >conftest.err
25157 cat conftest.err >&5
25158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25159 (exit $ac_status); } && {
25160 test -z "$ac_cxx_werror_flag" ||
25161 test ! -s conftest.err
25162 } && test -s conftest.$ac_objext; then
25163 ac_cv_type_std__istream=yes
25165 echo "$as_me: failed program was:" >&5
25166 sed 's
/^
/| /' conftest.$ac_ext >&5
25168 ac_cv_type_std__istream=no
25171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25173 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25174 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25175 if test $ac_cv_type_std__istream = yes; then
25177 cat >>confdefs.h <<_ACEOF
25178 #define HAVE_STD__ISTREAM 1
25183 wxUSE_STD_IOSTREAM=no
25185 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25186 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25187 if test "${ac_cv_type_std__ostream+set}" = set; then
25188 echo $ECHO_N "(cached) $ECHO_C" >&6
25190 cat >conftest.$ac_ext <<_ACEOF
25193 cat confdefs.h >>conftest.$ac_ext
25194 cat >>conftest.$ac_ext <<_ACEOF
25195 /* end confdefs.h. */
25196 #include <iostream>
25198 typedef std::ostream ac__type_new_;
25202 if ((ac__type_new_ *) 0)
25204 if (sizeof (ac__type_new_))
25210 rm -f conftest.$ac_objext
25211 if { (ac_try="$ac_compile"
25212 case "(($ac_try" in
25213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25214 *) ac_try_echo=$ac_try;;
25216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25217 (eval "$ac_compile") 2>conftest.er1
25219 grep -v '^
*+' conftest.er1 >conftest.err
25221 cat conftest.err >&5
25222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25223 (exit $ac_status); } && {
25224 test -z "$ac_cxx_werror_flag" ||
25225 test ! -s conftest.err
25226 } && test -s conftest.$ac_objext; then
25227 ac_cv_type_std__ostream=yes
25229 echo "$as_me: failed program was:" >&5
25230 sed 's
/^
/| /' conftest.$ac_ext >&5
25232 ac_cv_type_std__ostream=no
25235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25237 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25238 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25239 if test $ac_cv_type_std__ostream = yes; then
25241 cat >>confdefs.h <<_ACEOF
25242 #define HAVE_STD__OSTREAM 1
25247 wxUSE_STD_IOSTREAM=no
25251 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25252 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25253 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
25254 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25255 { (exit 1); exit 1; }; }
25257 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25258 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25263 if test "$wxUSE_STL" = "yes"; then
25264 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25265 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25266 if test "${wx_cv_lib_stl+set}" = set; then
25267 echo $ECHO_N "(cached) $ECHO_C" >&6
25269 cat >conftest.$ac_ext <<_ACEOF
25272 cat confdefs.h >>conftest.$ac_ext
25273 cat >>conftest.$ac_ext <<_ACEOF
25274 /* end confdefs.h. */
25276 #include <functional>
25277 #include <algorithm>
25283 std::vector<int> moo;
25284 std::list<int> foo;
25285 std::vector<int>::iterator it =
25286 std::find_if(moo.begin(), moo.end(),
25287 std::bind2nd(std::less<int>(), 3));
25292 rm -f conftest.$ac_objext
25293 if { (ac_try="$ac_compile"
25294 case "(($ac_try" in
25295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25296 *) ac_try_echo=$ac_try;;
25298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25299 (eval "$ac_compile") 2>conftest.er1
25301 grep -v '^
*+' conftest.er1 >conftest.err
25303 cat conftest.err >&5
25304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25305 (exit $ac_status); } && {
25306 test -z "$ac_cxx_werror_flag" ||
25307 test ! -s conftest.err
25308 } && test -s conftest.$ac_objext; then
25311 echo "$as_me: failed program was:" >&5
25312 sed 's
/^
/| /' conftest.$ac_ext >&5
25318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25321 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25322 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25324 if test "$wx_cv_lib_stl" != yes; then
25325 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
25326 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
25327 { (exit 1); exit 1; }; }
25330 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25331 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25332 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25333 echo $ECHO_N "(cached) $ECHO_C" >&6
25335 cat >conftest.$ac_ext <<_ACEOF
25338 cat confdefs.h >>conftest.$ac_ext
25339 cat >>conftest.$ac_ext <<_ACEOF
25340 /* end confdefs.h. */
25345 std::string foo, bar;
25347 foo.compare(1, 1, bar);
25348 foo.compare(1, 1, bar, 1, 1);
25350 foo.compare(1, 1, "");
25351 foo.compare(1, 1, "", 2);
25356 rm -f conftest.$ac_objext
25357 if { (ac_try="$ac_compile"
25358 case "(($ac_try" in
25359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25360 *) ac_try_echo=$ac_try;;
25362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25363 (eval "$ac_compile") 2>conftest.er1
25365 grep -v '^
*+' conftest.er1 >conftest.err
25367 cat conftest.err >&5
25368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25369 (exit $ac_status); } && {
25370 test -z "$ac_cxx_werror_flag" ||
25371 test ! -s conftest.err
25372 } && test -s conftest.$ac_objext; then
25373 wx_cv_func_stdstring_compare=yes
25375 echo "$as_me: failed program was:" >&5
25376 sed 's
/^
/| /' conftest.$ac_ext >&5
25378 wx_cv_func_stdstring_compare=no
25382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25385 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25386 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25388 if test "$wx_cv_func_stdstring_compare" = yes; then
25389 cat >>confdefs.h <<\_ACEOF
25390 #define HAVE_STD_STRING_COMPARE 1
25395 if test "$wx_cv_class_gnuhashmapset" = yes; then
25396 cat >>confdefs.h <<\_ACEOF
25397 #define HAVE_EXT_HASH_MAP 1
25400 cat >>confdefs.h <<\_ACEOF
25401 #define HAVE_GNU_CXX_HASH_MAP 1
25406 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25407 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25408 if test "${ac_cv_header_unordered_map+set}" = set; then
25409 echo $ECHO_N "(cached) $ECHO_C" >&6
25411 cat >conftest.$ac_ext <<_ACEOF
25414 cat confdefs.h >>conftest.$ac_ext
25415 cat >>conftest.$ac_ext <<_ACEOF
25416 /* end confdefs.h. */
25420 #include <unordered_map>
25422 rm -f conftest.$ac_objext
25423 if { (ac_try="$ac_compile"
25424 case "(($ac_try" in
25425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25426 *) ac_try_echo=$ac_try;;
25428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25429 (eval "$ac_compile") 2>conftest.er1
25431 grep -v '^
*+' conftest.er1 >conftest.err
25433 cat conftest.err >&5
25434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25435 (exit $ac_status); } && {
25436 test -z "$ac_cxx_werror_flag" ||
25437 test ! -s conftest.err
25438 } && test -s conftest.$ac_objext; then
25439 ac_cv_header_unordered_map=yes
25441 echo "$as_me: failed program was:" >&5
25442 sed 's
/^
/| /' conftest.$ac_ext >&5
25444 ac_cv_header_unordered_map=no
25447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25449 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25450 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25451 if test $ac_cv_header_unordered_map = yes; then
25452 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25453 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25454 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25455 echo $ECHO_N "(cached) $ECHO_C" >&6
25457 cat >conftest.$ac_ext <<_ACEOF
25460 cat confdefs.h >>conftest.$ac_ext
25461 cat >>conftest.$ac_ext <<_ACEOF
25462 /* end confdefs.h. */
25463 #include <unordered_map>
25464 #include <unordered_set>
25468 std::unordered_map<double*, char*> test1;
25469 std::unordered_set<char*> test2;
25474 rm -f conftest.$ac_objext
25475 if { (ac_try="$ac_compile"
25476 case "(($ac_try" in
25477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25478 *) ac_try_echo=$ac_try;;
25480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25481 (eval "$ac_compile") 2>conftest.er1
25483 grep -v '^
*+' conftest.er1 >conftest.err
25485 cat conftest.err >&5
25486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25487 (exit $ac_status); } && {
25488 test -z "$ac_cxx_werror_flag" ||
25489 test ! -s conftest.err
25490 } && test -s conftest.$ac_objext; then
25491 wx_cv_class_stdunorderedmapset=yes
25493 echo "$as_me: failed program was:" >&5
25494 sed 's
/^
/| /' conftest.$ac_ext >&5
25496 wx_cv_class_stdunorderedmapset=no
25499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25503 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25504 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25509 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25510 cat >>confdefs.h <<\_ACEOF
25511 #define HAVE_STD_UNORDERED_MAP 1
25514 cat >>confdefs.h <<\_ACEOF
25515 #define HAVE_STD_UNORDERED_SET 1
25519 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25520 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25521 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25522 echo $ECHO_N "(cached) $ECHO_C" >&6
25524 cat >conftest.$ac_ext <<_ACEOF
25527 cat confdefs.h >>conftest.$ac_ext
25528 cat >>conftest.$ac_ext <<_ACEOF
25529 /* end confdefs.h. */
25533 #include <tr1/unordered_map>
25535 rm -f conftest.$ac_objext
25536 if { (ac_try="$ac_compile"
25537 case "(($ac_try" in
25538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25539 *) ac_try_echo=$ac_try;;
25541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25542 (eval "$ac_compile") 2>conftest.er1
25544 grep -v '^
*+' conftest.er1 >conftest.err
25546 cat conftest.err >&5
25547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25548 (exit $ac_status); } && {
25549 test -z "$ac_cxx_werror_flag" ||
25550 test ! -s conftest.err
25551 } && test -s conftest.$ac_objext; then
25552 ac_cv_header_tr1_unordered_map=yes
25554 echo "$as_me: failed program was:" >&5
25555 sed 's
/^
/| /' conftest.$ac_ext >&5
25557 ac_cv_header_tr1_unordered_map=no
25560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25562 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25563 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25564 if test $ac_cv_header_tr1_unordered_map = yes; then
25565 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25566 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25567 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25568 echo $ECHO_N "(cached) $ECHO_C" >&6
25570 cat >conftest.$ac_ext <<_ACEOF
25573 cat confdefs.h >>conftest.$ac_ext
25574 cat >>conftest.$ac_ext <<_ACEOF
25575 /* end confdefs.h. */
25576 #include <tr1/unordered_map>
25577 #include <tr1/unordered_set>
25581 std::tr1::unordered_map<double*, char*> test1;
25582 std::tr1::unordered_set<char*> test2;
25583 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25584 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
25590 rm -f conftest.
$ac_objext
25591 if { (ac_try
="$ac_compile"
25592 case "(($ac_try" in
25593 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25594 *) ac_try_echo=$ac_try;;
25596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25597 (eval "$ac_compile") 2>conftest.er1
25599 grep -v '^ *+' conftest.er1 >conftest.err
25601 cat conftest.err >&5
25602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25603 (exit $ac_status); } && {
25604 test -z "$ac_cxx_werror_flag" ||
25605 test ! -s conftest.err
25606 } && test -s conftest.$ac_objext; then
25607 wx_cv_class_tr1unorderedmapset=yes
25609 echo "$as_me: failed program was:" >&5
25610 sed 's/^/| /' conftest.$ac_ext >&5
25612 wx_cv_class_tr1unorderedmapset=no
25615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25619 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25620 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25625 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25626 cat >>confdefs.h <<\_ACEOF
25627 #define HAVE_TR1_UNORDERED_MAP 1
25630 cat >>confdefs.h <<\_ACEOF
25631 #define HAVE_TR1_UNORDERED_SET 1
25635 { echo "$as_me:$LINENO: checking for hash_map" >&5
25636 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25637 if test "${ac_cv_header_hash_map+set}" = set; then
25638 echo $ECHO_N "(cached) $ECHO_C" >&6
25640 cat >conftest.$ac_ext <<_ACEOF
25643 cat confdefs.h >>conftest.$ac_ext
25644 cat >>conftest.$ac_ext <<_ACEOF
25645 /* end confdefs.h. */
25649 #include <hash_map>
25651 rm -f conftest.$ac_objext
25652 if { (ac_try="$ac_compile"
25653 case "(($ac_try" in
25654 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25655 *) ac_try_echo
=$ac_try;;
25657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25658 (eval "$ac_compile") 2>conftest.er1
25660 grep -v '^ *+' conftest.er1
>conftest.err
25662 cat conftest.err
>&5
25663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25664 (exit $ac_status); } && {
25665 test -z "$ac_cxx_werror_flag" ||
25666 test ! -s conftest.err
25667 } && test -s conftest.
$ac_objext; then
25668 ac_cv_header_hash_map
=yes
25670 echo "$as_me: failed program was:" >&5
25671 sed 's/^/| /' conftest.
$ac_ext >&5
25673 ac_cv_header_hash_map
=no
25676 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25678 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25679 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25680 if test $ac_cv_header_hash_map = yes; then
25681 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25682 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25683 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25684 echo $ECHO_N "(cached) $ECHO_C" >&6
25686 cat >conftest.
$ac_ext <<_ACEOF
25689 cat confdefs.h
>>conftest.
$ac_ext
25690 cat >>conftest.
$ac_ext <<_ACEOF
25691 /* end confdefs.h. */
25692 #include <hash_map>
25693 #include <hash_set>
25697 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25698 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25703 rm -f conftest.
$ac_objext
25704 if { (ac_try
="$ac_compile"
25705 case "(($ac_try" in
25706 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25707 *) ac_try_echo=$ac_try;;
25709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25710 (eval "$ac_compile") 2>conftest.er1
25712 grep -v '^ *+' conftest.er1 >conftest.err
25714 cat conftest.err >&5
25715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25716 (exit $ac_status); } && {
25717 test -z "$ac_cxx_werror_flag" ||
25718 test ! -s conftest.err
25719 } && test -s conftest.$ac_objext; then
25720 wx_cv_class_stdhashmapset=yes
25722 echo "$as_me: failed program was:" >&5
25723 sed 's/^/| /' conftest.$ac_ext >&5
25725 wx_cv_class_stdhashmapset=no
25728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25732 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25733 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25738 if test "$wx_cv_class_stdhashmapset" = yes; then
25739 cat >>confdefs.h <<\_ACEOF
25740 #define HAVE_HASH_MAP 1
25743 cat >>confdefs.h <<\_ACEOF
25744 #define HAVE_STD_HASH_MAP 1
25749 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25750 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25751 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25752 echo $ECHO_N "(cached) $ECHO_C" >&6
25754 cat >conftest.$ac_ext <<_ACEOF
25757 cat confdefs.h >>conftest.$ac_ext
25758 cat >>conftest.$ac_ext <<_ACEOF
25759 /* end confdefs.h. */
25763 #include <ext/hash_map>
25765 rm -f conftest.$ac_objext
25766 if { (ac_try="$ac_compile"
25767 case "(($ac_try" in
25768 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25769 *) ac_try_echo
=$ac_try;;
25771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25772 (eval "$ac_compile") 2>conftest.er1
25774 grep -v '^ *+' conftest.er1
>conftest.err
25776 cat conftest.err
>&5
25777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25778 (exit $ac_status); } && {
25779 test -z "$ac_cxx_werror_flag" ||
25780 test ! -s conftest.err
25781 } && test -s conftest.
$ac_objext; then
25782 ac_cv_header_ext_hash_map
=yes
25784 echo "$as_me: failed program was:" >&5
25785 sed 's/^/| /' conftest.
$ac_ext >&5
25787 ac_cv_header_ext_hash_map
=no
25790 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25792 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25793 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25794 if test $ac_cv_header_ext_hash_map = yes; then
25795 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25796 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25797 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25798 echo $ECHO_N "(cached) $ECHO_C" >&6
25800 cat >conftest.
$ac_ext <<_ACEOF
25803 cat confdefs.h
>>conftest.
$ac_ext
25804 cat >>conftest.
$ac_ext <<_ACEOF
25805 /* end confdefs.h. */
25806 #include <ext/hash_map>
25807 #include <ext/hash_set>
25811 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25812 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25817 rm -f conftest.
$ac_objext
25818 if { (ac_try
="$ac_compile"
25819 case "(($ac_try" in
25820 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25821 *) ac_try_echo=$ac_try;;
25823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25824 (eval "$ac_compile") 2>conftest.er1
25826 grep -v '^ *+' conftest.er1 >conftest.err
25828 cat conftest.err >&5
25829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25830 (exit $ac_status); } && {
25831 test -z "$ac_cxx_werror_flag" ||
25832 test ! -s conftest.err
25833 } && test -s conftest.$ac_objext; then
25834 wx_cv_class_gnuhashmapset=yes
25836 echo "$as_me: failed program was:" >&5
25837 sed 's/^/| /' conftest.$ac_ext >&5
25839 wx_cv_class_gnuhashmapset=no
25842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25846 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25847 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25857 ac_cpp='$CXXCPP $CPPFLAGS'
25858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25861 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
25862 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
25863 if test -z "$CXXCPP"; then
25864 if test "${ac_cv_prog_CXXCPP+set}" = set; then
25865 echo $ECHO_N "(cached) $ECHO_C" >&6
25867 # Double quotes because CXXCPP needs to be expanded
25868 for CXXCPP in "$CXX -E" "/lib/cpp"
25870 ac_preproc_ok=false
25871 for ac_cxx_preproc_warn_flag in '' yes
25873 # Use a header file that comes with gcc, so configuring glibc
25874 # with a fresh cross-compiler works.
25875 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25876 # <limits.h> exists even on freestanding compilers.
25877 # On the NeXT, cc -E runs the code through the compiler's parser,
25878 # not just through cpp. "Syntax error" is here to catch this case.
25879 cat >conftest.$ac_ext <<_ACEOF
25882 cat confdefs.h >>conftest.$ac_ext
25883 cat >>conftest.$ac_ext <<_ACEOF
25884 /* end confdefs.h. */
25886 # include <limits.h>
25888 # include <assert.h>
25892 if { (ac_try="$ac_cpp conftest.$ac_ext"
25893 case "(($ac_try" in
25894 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25895 *) ac_try_echo
=$ac_try;;
25897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25898 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25900 grep -v '^ *+' conftest.er1
>conftest.err
25902 cat conftest.err
>&5
25903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25904 (exit $ac_status); } >/dev
/null
&& {
25905 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
25906 test ! -s conftest.err
25910 echo "$as_me: failed program was:" >&5
25911 sed 's/^/| /' conftest.
$ac_ext >&5
25913 # Broken: fails on valid input.
25917 rm -f conftest.err conftest.
$ac_ext
25919 # OK, works on sane cases. Now check whether nonexistent headers
25920 # can be detected and how.
25921 cat >conftest.
$ac_ext <<_ACEOF
25924 cat confdefs.h
>>conftest.
$ac_ext
25925 cat >>conftest.
$ac_ext <<_ACEOF
25926 /* end confdefs.h. */
25927 #include <ac_nonexistent.h>
25929 if { (ac_try
="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null && {
25942 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
25943 test ! -s conftest.err
25945 # Broken: success on invalid input.
25948 echo "$as_me: failed program was:" >&5
25949 sed 's/^/| /' conftest.$ac_ext >&5
25951 # Passes both tests.
25956 rm -f conftest.err conftest.$ac_ext
25959 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
25960 rm -f conftest.err conftest.
$ac_ext
25961 if $ac_preproc_ok; then
25966 ac_cv_prog_CXXCPP
=$CXXCPP
25969 CXXCPP
=$ac_cv_prog_CXXCPP
25971 ac_cv_prog_CXXCPP
=$CXXCPP
25973 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
25974 echo "${ECHO_T}$CXXCPP" >&6; }
25975 ac_preproc_ok
=false
25976 for ac_cxx_preproc_warn_flag
in '' yes
25978 # Use a header file that comes with gcc, so configuring glibc
25979 # with a fresh cross-compiler works.
25980 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25981 # <limits.h> exists even on freestanding compilers.
25982 # On the NeXT, cc -E runs the code through the compiler's parser,
25983 # not just through cpp. "Syntax error" is here to catch this case.
25984 cat >conftest.
$ac_ext <<_ACEOF
25987 cat confdefs.h
>>conftest.
$ac_ext
25988 cat >>conftest.
$ac_ext <<_ACEOF
25989 /* end confdefs.h. */
25991 # include <limits.h>
25993 # include <assert.h>
25997 if { (ac_try
="$ac_cpp conftest.$ac_ext"
25998 case "(($ac_try" in
25999 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26000 *) ac_try_echo=$ac_try;;
26002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26003 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26005 grep -v '^ *+' conftest.er1 >conftest.err
26007 cat conftest.err >&5
26008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26009 (exit $ac_status); } >/dev/null && {
26010 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26011 test ! -s conftest.err
26015 echo "$as_me: failed program was:" >&5
26016 sed 's/^/| /' conftest.$ac_ext >&5
26018 # Broken: fails on valid input.
26022 rm -f conftest.err conftest.$ac_ext
26024 # OK, works on sane cases. Now check whether nonexistent headers
26025 # can be detected and how.
26026 cat >conftest.$ac_ext <<_ACEOF
26029 cat confdefs.h >>conftest.$ac_ext
26030 cat >>conftest.$ac_ext <<_ACEOF
26031 /* end confdefs.h. */
26032 #include <ac_nonexistent.h>
26034 if { (ac_try="$ac_cpp conftest.$ac_ext"
26035 case "(($ac_try" in
26036 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26037 *) ac_try_echo
=$ac_try;;
26039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26040 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26042 grep -v '^ *+' conftest.er1
>conftest.err
26044 cat conftest.err
>&5
26045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26046 (exit $ac_status); } >/dev
/null
&& {
26047 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26048 test ! -s conftest.err
26050 # Broken: success on invalid input.
26053 echo "$as_me: failed program was:" >&5
26054 sed 's/^/| /' conftest.
$ac_ext >&5
26056 # Passes both tests.
26061 rm -f conftest.err conftest.
$ac_ext
26064 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26065 rm -f conftest.err conftest.
$ac_ext
26066 if $ac_preproc_ok; then
26069 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26070 See \`config.log' for more details." >&5
26071 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26072 See \`config.log' for more details." >&2;}
26073 { (exit 1); exit 1; }; }
26077 ac_cpp
='$CXXCPP $CPPFLAGS'
26078 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26079 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26080 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26085 for ac_header
in type_traits tr
1/type_traits
26087 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26088 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26089 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26091 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26092 echo $ECHO_N "(cached) $ECHO_C" >&6
26094 ac_res
=`eval echo '${'$as_ac_Header'}'`
26095 { echo "$as_me:$LINENO: result: $ac_res" >&5
26096 echo "${ECHO_T}$ac_res" >&6; }
26098 # Is the header compilable?
26099 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26100 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26101 cat >conftest.
$ac_ext <<_ACEOF
26104 cat confdefs.h
>>conftest.
$ac_ext
26105 cat >>conftest.
$ac_ext <<_ACEOF
26106 /* end confdefs.h. */
26107 $ac_includes_default
26108 #include <$ac_header>
26110 rm -f conftest.
$ac_objext
26111 if { (ac_try
="$ac_compile"
26112 case "(($ac_try" in
26113 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26114 *) ac_try_echo=$ac_try;;
26116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26117 (eval "$ac_compile") 2>conftest.er1
26119 grep -v '^ *+' conftest.er1 >conftest.err
26121 cat conftest.err >&5
26122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26123 (exit $ac_status); } && {
26124 test -z "$ac_cxx_werror_flag" ||
26125 test ! -s conftest.err
26126 } && test -s conftest.$ac_objext; then
26127 ac_header_compiler=yes
26129 echo "$as_me: failed program was:" >&5
26130 sed 's/^/| /' conftest.$ac_ext >&5
26132 ac_header_compiler=no
26135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26136 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26137 echo "${ECHO_T}$ac_header_compiler" >&6; }
26139 # Is the header present?
26140 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26141 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26142 cat >conftest.$ac_ext <<_ACEOF
26145 cat confdefs.h >>conftest.$ac_ext
26146 cat >>conftest.$ac_ext <<_ACEOF
26147 /* end confdefs.h. */
26148 #include <$ac_header>
26150 if { (ac_try="$ac_cpp conftest.$ac_ext"
26151 case "(($ac_try" in
26152 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26153 *) ac_try_echo
=$ac_try;;
26155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26156 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26158 grep -v '^ *+' conftest.er1
>conftest.err
26160 cat conftest.err
>&5
26161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26162 (exit $ac_status); } >/dev
/null
&& {
26163 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26164 test ! -s conftest.err
26166 ac_header_preproc
=yes
26168 echo "$as_me: failed program was:" >&5
26169 sed 's/^/| /' conftest.
$ac_ext >&5
26171 ac_header_preproc
=no
26174 rm -f conftest.err conftest.
$ac_ext
26175 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26176 echo "${ECHO_T}$ac_header_preproc" >&6; }
26178 # So? What about this header?
26179 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26181 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26182 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26183 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26184 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26185 ac_header_preproc
=yes
26188 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26189 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26190 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26191 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26192 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26193 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26194 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26195 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26196 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26197 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26198 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26199 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26201 ## ----------------------------------------- ##
26202 ## Report this to wx-dev@lists.wxwidgets.org ##
26203 ## ----------------------------------------- ##
26205 ) | sed "s/^/$as_me: WARNING: /" >&2
26208 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26210 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26211 echo $ECHO_N "(cached) $ECHO_C" >&6
26213 eval "$as_ac_Header=\$ac_header_preproc"
26215 ac_res
=`eval echo '${'$as_ac_Header'}'`
26216 { echo "$as_me:$LINENO: result: $ac_res" >&5
26217 echo "${ECHO_T}$ac_res" >&6; }
26220 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26221 cat >>confdefs.h
<<_ACEOF
26222 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26232 if test -n "$GCC"; then
26233 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26234 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26235 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26236 echo $ECHO_N "(cached) $ECHO_C" >&6
26239 cat >conftest.
$ac_ext <<_ACEOF
26242 cat confdefs.h
>>conftest.
$ac_ext
26243 cat >>conftest.
$ac_ext <<_ACEOF
26244 /* end confdefs.h. */
26250 unsigned int value=0;
26251 /* wxAtomicInc doesn't use return value here */
26252 __sync_fetch_and_add(&value, 2);
26253 __sync_sub_and_fetch(&value, 1);
26254 /* but wxAtomicDec does, so mimic that: */
26255 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26261 rm -f conftest.
$ac_objext conftest
$ac_exeext
26262 if { (ac_try
="$ac_link"
26263 case "(($ac_try" in
26264 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26265 *) ac_try_echo=$ac_try;;
26267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26268 (eval "$ac_link") 2>conftest.er1
26270 grep -v '^ *+' conftest.er1 >conftest.err
26272 cat conftest.err >&5
26273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26274 (exit $ac_status); } && {
26275 test -z "$ac_cxx_werror_flag" ||
26276 test ! -s conftest.err
26277 } && test -s conftest$ac_exeext &&
26278 $as_test_x conftest$ac_exeext; then
26279 wx_cv_cc_gcc_atomic_builtins=yes
26281 echo "$as_me: failed program was:" >&5
26282 sed 's/^/| /' conftest.$ac_ext >&5
26284 wx_cv_cc_gcc_atomic_builtins=no
26287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26288 conftest$ac_exeext conftest.$ac_ext
26292 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26293 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26294 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26295 cat >>confdefs.h <<\_ACEOF
26296 #define HAVE_GCC_ATOMIC_BUILTINS 1
26304 ac_cpp='$CPP $CPPFLAGS'
26305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26312 /usr/local/include \
26313 /usr/local/X11/include \
26314 /usr/local/include/X11 \
26315 /usr/local/X11R7/include \
26316 /usr/local/X11R6/include \
26317 /usr/local/include/X11R7 \
26318 /usr/local/include/X11R6 \
26320 /usr/Motif-2.1/include \
26321 /usr/Motif-1.2/include \
26322 /usr/include/Motif1.2 \
26325 /usr/openwin/include \
26329 /usr/X11R7/include \
26330 /usr/X11R6/include \
26331 /usr/X11R6.4/include \
26333 /usr/include/X11R7 \
26334 /usr/include/X11R6 \
26339 /usr/XFree86/include/X11 \
26342 /usr/local/X1R5/include \
26343 /usr/local/include/X11R5 \
26344 /usr/X11R5/include \
26345 /usr/include/X11R5 \
26347 /usr/local/X11R4/include \
26348 /usr/local/include/X11R4 \
26349 /usr/X11R4/include \
26350 /usr/include/X11R4 \
26352 /usr/openwin/share/include"
26354 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26355 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26359 if test "${wx_cv_std_libpath+set}" = set; then
26360 echo $ECHO_N "(cached) $ECHO_C" >&6
26363 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26364 for e in a so sl dylib dll.a; do
26366 if test -f $libc; then
26369 cat >conftest.$ac_ext <<_ACEOF
26370 int main() { return 0; }
26372 rm -f conftest.$ac_objext conftest$ac_exeext
26373 if { (ac_try="$ac_link"
26374 case "(($ac_try" in
26375 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26376 *) ac_try_echo
=$ac_try;;
26378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26379 (eval "$ac_link") 2>conftest.er1
26381 grep -v '^ *+' conftest.er1
>conftest.err
26383 cat conftest.err
>&5
26384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26385 (exit $ac_status); } && {
26386 test -z "$ac_c_werror_flag" ||
26387 test ! -s conftest.err
26388 } && test -s conftest
$ac_exeext &&
26389 $as_test_x conftest
$ac_exeext; then
26390 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
26392 echo "$as_me: failed program was:" >&5
26393 sed 's/^/| /' conftest.
$ac_ext >&5
26398 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26399 conftest
$ac_exeext conftest.
$ac_ext
26401 if test "x$wx_cv_std_libpath" != "x"; then
26407 if test "x$wx_cv_std_libpath" = "x"; then
26408 wx_cv_std_libpath
="lib"
26417 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26418 wx_cv_std_libpath
="lib/64"
26420 wx_cv_std_libpath
="lib"
26425 if test "$ac_cv_sizeof_void_p" = 8 -a \
26426 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26427 wx_cv_std_libpath
="lib64"
26429 wx_cv_std_libpath
="lib"
26434 wx_cv_std_libpath
="lib";
26438 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26439 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26441 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26443 if test "$build" != "$host" -a "$GCC" = yes; then
26444 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
26445 cross_root
=`dirname $cross_root`
26446 cross_root
=`dirname $cross_root`
26448 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26449 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26450 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
26452 if test -z "$PKG_CONFIG_PATH"; then
26453 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26454 export PKG_CONFIG_PATH
26457 if test -z "$x_includes" -o "$x_includes" = NONE
; then
26460 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
26462 if test -f "$ac_dir/X11/Intrinsic.h"; then
26463 ac_find_includes
=$ac_dir
26468 x_includes
=$ac_find_includes
26470 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
26473 for ac_dir
in $SEARCH_LIB;
26475 for ac_extension
in a so sl dylib dll.a
; do
26476 if test -f "$ac_dir/libXt.$ac_extension"; then
26477 ac_find_libraries
=$ac_dir
26483 x_libraries
=$ac_find_libraries
26489 cat >confcache
<<\_ACEOF
26490 # This file is a shell script that caches the results of configure
26491 # tests run on this system so they can be shared between configure
26492 # scripts and configure runs, see configure's option --config-cache.
26493 # It is not useful on other systems. If it contains results you don't
26494 # want to keep, you may remove or edit it.
26496 # config.status only pays attention to the cache file if you give it
26497 # the --recheck option to rerun configure.
26499 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26500 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26501 # following values.
26505 # The following way of writing the cache mishandles newlines in values,
26506 # but we know of no workaround that is simple, portable, and efficient.
26507 # So, we kill variables containing newlines.
26508 # Ultrix sh set writes to stderr and can't be redirected directly,
26509 # and sets the high bit in the cache file unless we assign to the vars.
26511 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26512 eval ac_val
=\$
$ac_var
26516 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26517 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26520 _
| IFS
| as_nl
) ;; #(
26521 *) $as_unset $ac_var ;;
26527 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26528 *${as_nl}ac_space
=\
*)
26529 # `set' does not quote correctly, so add quotes (double-quote
26530 # substitution turns \\\\ into \\, and sed turns \\ into \).
26533 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26536 # `set' quotes correctly as required by POSIX, so do not add quotes.
26537 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26546 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26548 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26550 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26551 if test -w "$cache_file"; then
26552 test "x$cache_file" != "x/dev/null" &&
26553 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26554 echo "$as_me: updating cache $cache_file" >&6;}
26555 cat confcache
>$cache_file
26557 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26558 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26563 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26564 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26565 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26566 if test "${wx_cv_lib_glibc21+set}" = set; then
26567 echo $ECHO_N "(cached) $ECHO_C" >&6
26570 cat >conftest.
$ac_ext <<_ACEOF
26573 cat confdefs.h
>>conftest.
$ac_ext
26574 cat >>conftest.
$ac_ext <<_ACEOF
26575 /* end confdefs.h. */
26576 #include <features.h>
26581 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26589 rm -f conftest.
$ac_objext
26590 if { (ac_try
="$ac_compile"
26591 case "(($ac_try" in
26592 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26593 *) ac_try_echo=$ac_try;;
26595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26596 (eval "$ac_compile") 2>conftest.er1
26598 grep -v '^ *+' conftest.er1 >conftest.err
26600 cat conftest.err >&5
26601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26602 (exit $ac_status); } && {
26603 test -z "$ac_c_werror_flag" ||
26604 test ! -s conftest.err
26605 } && test -s conftest.$ac_objext; then
26607 wx_cv_lib_glibc21=yes
26610 echo "$as_me: failed program was:" >&5
26611 sed 's/^/| /' conftest.$ac_ext >&5
26614 wx_cv_lib_glibc21=no
26619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26622 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26623 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
26624 if test "$wx_cv_lib_glibc21" = "yes"; then
26625 cat >>confdefs.h <<\_ACEOF
26626 #define wxHAVE_GLIBC2 1
26632 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26633 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26634 cat >>confdefs.h <<\_ACEOF
26635 #define _GNU_SOURCE 1
26646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26647 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26649 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26650 echo $ECHO_N "(cached) $ECHO_C" >&6
26652 cat >conftest.$ac_ext <<_ACEOF
26655 cat confdefs.h >>conftest.$ac_ext
26656 cat >>conftest.$ac_ext <<_ACEOF
26657 /* end confdefs.h. */
26658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26660 #define $ac_func innocuous_$ac_func
26662 /* System header to define __stub macros and hopefully few prototypes,
26663 which can conflict with char $ac_func (); below.
26664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26665 <limits.h> exists even on freestanding compilers. */
26668 # include <limits.h>
26670 # include <assert.h>
26675 /* Override any GCC internal prototype to avoid an error.
26676 Use char because int might match the return type of a GCC
26677 builtin and then its argument prototype would still apply. */
26682 /* The GNU C library defines this for functions which it implements
26683 to always fail with ENOSYS. Some functions are actually named
26684 something starting with __ and the normal name is an alias. */
26685 #if defined __stub_$ac_func || defined __stub___$ac_func
26692 return $ac_func ();
26697 rm -f conftest.$ac_objext conftest$ac_exeext
26698 if { (ac_try="$ac_link"
26699 case "(($ac_try" in
26700 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26701 *) ac_try_echo
=$ac_try;;
26703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26704 (eval "$ac_link") 2>conftest.er1
26706 grep -v '^ *+' conftest.er1
>conftest.err
26708 cat conftest.err
>&5
26709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26710 (exit $ac_status); } && {
26711 test -z "$ac_c_werror_flag" ||
26712 test ! -s conftest.err
26713 } && test -s conftest
$ac_exeext &&
26714 $as_test_x conftest
$ac_exeext; then
26715 eval "$as_ac_var=yes"
26717 echo "$as_me: failed program was:" >&5
26718 sed 's/^/| /' conftest.
$ac_ext >&5
26720 eval "$as_ac_var=no"
26723 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26724 conftest
$ac_exeext conftest.
$ac_ext
26726 ac_res
=`eval echo '${'$as_ac_var'}'`
26727 { echo "$as_me:$LINENO: result: $ac_res" >&5
26728 echo "${ECHO_T}$ac_res" >&6; }
26729 if test `eval echo '${'$as_ac_var'}'` = yes; then
26730 cat >>confdefs.h
<<_ACEOF
26731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26738 for ac_func
in floor
26740 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26741 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26743 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26744 echo $ECHO_N "(cached) $ECHO_C" >&6
26746 cat >conftest.
$ac_ext <<_ACEOF
26749 cat confdefs.h
>>conftest.
$ac_ext
26750 cat >>conftest.
$ac_ext <<_ACEOF
26751 /* end confdefs.h. */
26752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26754 #define $ac_func innocuous_$ac_func
26756 /* System header to define __stub macros and hopefully few prototypes,
26757 which can conflict with char $ac_func (); below.
26758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26759 <limits.h> exists even on freestanding compilers. */
26762 # include <limits.h>
26764 # include <assert.h>
26769 /* Override any GCC internal prototype to avoid an error.
26770 Use char because int might match the return type of a GCC
26771 builtin and then its argument prototype would still apply. */
26776 /* The GNU C library defines this for functions which it implements
26777 to always fail with ENOSYS. Some functions are actually named
26778 something starting with __ and the normal name is an alias. */
26779 #if defined __stub_$ac_func || defined __stub___$ac_func
26786 return $ac_func ();
26791 rm -f conftest.
$ac_objext conftest
$ac_exeext
26792 if { (ac_try
="$ac_link"
26793 case "(($ac_try" in
26794 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26795 *) ac_try_echo=$ac_try;;
26797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26798 (eval "$ac_link") 2>conftest.er1
26800 grep -v '^ *+' conftest.er1 >conftest.err
26802 cat conftest.err >&5
26803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26804 (exit $ac_status); } && {
26805 test -z "$ac_c_werror_flag" ||
26806 test ! -s conftest.err
26807 } && test -s conftest$ac_exeext &&
26808 $as_test_x conftest$ac_exeext; then
26809 eval "$as_ac_var=yes"
26811 echo "$as_me: failed program was:" >&5
26812 sed 's/^/| /' conftest.$ac_ext >&5
26814 eval "$as_ac_var=no"
26817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26818 conftest$ac_exeext conftest.$ac_ext
26820 ac_res=`eval echo '${'$as_ac_var'}'`
26821 { echo "$as_me:$LINENO: result: $ac_res" >&5
26822 echo "${ECHO_T}$ac_res" >&6; }
26823 if test `eval echo '${'$as_ac_var'}'` = yes; then
26824 cat >>confdefs.h <<_ACEOF
26825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26831 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26832 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26833 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26834 { echo "$as_me:$LINENO: result: yes" >&5
26835 echo "${ECHO_T}yes" >&6; }
26837 { echo "$as_me:$LINENO: result: no" >&5
26838 echo "${ECHO_T}no" >&6; }
26840 # use different functions to avoid configure caching
26846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26847 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26849 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26850 echo $ECHO_N "(cached) $ECHO_C" >&6
26852 cat >conftest.$ac_ext <<_ACEOF
26855 cat confdefs.h >>conftest.$ac_ext
26856 cat >>conftest.$ac_ext <<_ACEOF
26857 /* end confdefs.h. */
26858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26860 #define $ac_func innocuous_$ac_func
26862 /* System header to define __stub macros and hopefully few prototypes,
26863 which can conflict with char $ac_func (); below.
26864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26865 <limits.h> exists even on freestanding compilers. */
26868 # include <limits.h>
26870 # include <assert.h>
26875 /* Override any GCC internal prototype to avoid an error.
26876 Use char because int might match the return type of a GCC
26877 builtin and then its argument prototype would still apply. */
26882 /* The GNU C library defines this for functions which it implements
26883 to always fail with ENOSYS. Some functions are actually named
26884 something starting with __ and the normal name is an alias. */
26885 #if defined __stub_$ac_func || defined __stub___$ac_func
26892 return $ac_func ();
26897 rm -f conftest.$ac_objext conftest$ac_exeext
26898 if { (ac_try="$ac_link"
26899 case "(($ac_try" in
26900 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26901 *) ac_try_echo
=$ac_try;;
26903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26904 (eval "$ac_link") 2>conftest.er1
26906 grep -v '^ *+' conftest.er1
>conftest.err
26908 cat conftest.err
>&5
26909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26910 (exit $ac_status); } && {
26911 test -z "$ac_c_werror_flag" ||
26912 test ! -s conftest.err
26913 } && test -s conftest
$ac_exeext &&
26914 $as_test_x conftest
$ac_exeext; then
26915 eval "$as_ac_var=yes"
26917 echo "$as_me: failed program was:" >&5
26918 sed 's/^/| /' conftest.
$ac_ext >&5
26920 eval "$as_ac_var=no"
26923 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26924 conftest
$ac_exeext conftest.
$ac_ext
26926 ac_res
=`eval echo '${'$as_ac_var'}'`
26927 { echo "$as_me:$LINENO: result: $ac_res" >&5
26928 echo "${ECHO_T}$ac_res" >&6; }
26929 if test `eval echo '${'$as_ac_var'}'` = yes; then
26930 cat >>confdefs.h
<<_ACEOF
26931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26938 for ac_func
in ceil
26940 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26941 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26943 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26944 echo $ECHO_N "(cached) $ECHO_C" >&6
26946 cat >conftest.
$ac_ext <<_ACEOF
26949 cat confdefs.h
>>conftest.
$ac_ext
26950 cat >>conftest.
$ac_ext <<_ACEOF
26951 /* end confdefs.h. */
26952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26954 #define $ac_func innocuous_$ac_func
26956 /* System header to define __stub macros and hopefully few prototypes,
26957 which can conflict with char $ac_func (); below.
26958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26959 <limits.h> exists even on freestanding compilers. */
26962 # include <limits.h>
26964 # include <assert.h>
26969 /* Override any GCC internal prototype to avoid an error.
26970 Use char because int might match the return type of a GCC
26971 builtin and then its argument prototype would still apply. */
26976 /* The GNU C library defines this for functions which it implements
26977 to always fail with ENOSYS. Some functions are actually named
26978 something starting with __ and the normal name is an alias. */
26979 #if defined __stub_$ac_func || defined __stub___$ac_func
26986 return $ac_func ();
26991 rm -f conftest.
$ac_objext conftest
$ac_exeext
26992 if { (ac_try
="$ac_link"
26993 case "(($ac_try" in
26994 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26995 *) ac_try_echo=$ac_try;;
26997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26998 (eval "$ac_link") 2>conftest.er1
27000 grep -v '^ *+' conftest.er1 >conftest.err
27002 cat conftest.err >&5
27003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27004 (exit $ac_status); } && {
27005 test -z "$ac_c_werror_flag" ||
27006 test ! -s conftest.err
27007 } && test -s conftest$ac_exeext &&
27008 $as_test_x conftest$ac_exeext; then
27009 eval "$as_ac_var=yes"
27011 echo "$as_me: failed program was:" >&5
27012 sed 's/^/| /' conftest.$ac_ext >&5
27014 eval "$as_ac_var=no"
27017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27018 conftest$ac_exeext conftest.$ac_ext
27020 ac_res=`eval echo '${'$as_ac_var'}'`
27021 { echo "$as_me:$LINENO: result: $ac_res" >&5
27022 echo "${ECHO_T}$ac_res" >&6; }
27023 if test `eval echo '${'$as_ac_var'}'` = yes; then
27024 cat >>confdefs.h <<_ACEOF
27025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27031 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27032 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27033 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27034 { echo "$as_me:$LINENO: result: yes" >&5
27035 echo "${ECHO_T}yes" >&6; }
27037 { echo "$as_me:$LINENO: result: no" >&5
27038 echo "${ECHO_T}no" >&6; }
27039 # not sure we should warn the user, crash, etc.
27044 ac_cpp='$CXXCPP $CPPFLAGS'
27045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27049 if test "wxUSE_UNICODE" = "yes"; then
27051 for wx_func in wcstoull
27053 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27054 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27055 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27056 echo $ECHO_N "(cached) $ECHO_C" >&6
27059 cat >conftest.$ac_ext <<_ACEOF
27063 cat confdefs.h >>conftest.$ac_ext
27064 cat >>conftest.$ac_ext <<_ACEOF
27065 /* end confdefs.h. */
27068 $ac_includes_default
27084 rm -f conftest.$ac_objext conftest$ac_exeext
27085 if { (ac_try="$ac_link"
27086 case "(($ac_try" in
27087 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27088 *) ac_try_echo
=$ac_try;;
27090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27091 (eval "$ac_link") 2>conftest.er1
27093 grep -v '^ *+' conftest.er1
>conftest.err
27095 cat conftest.err
>&5
27096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27097 (exit $ac_status); } && {
27098 test -z "$ac_cxx_werror_flag" ||
27099 test ! -s conftest.err
27100 } && test -s conftest
$ac_exeext &&
27101 $as_test_x conftest
$ac_exeext; then
27102 eval wx_cv_func_
$wx_func=yes
27104 echo "$as_me: failed program was:" >&5
27105 sed 's/^/| /' conftest.
$ac_ext >&5
27107 eval wx_cv_func_
$wx_func=no
27110 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27111 conftest
$ac_exeext conftest.
$ac_ext
27114 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
27115 { echo "$as_me:$LINENO: result: $ac_res" >&5
27116 echo "${ECHO_T}$ac_res" >&6; }
27118 if eval test \
$wx_cv_func_$wx_func = yes
27120 cat >>confdefs.h
<<_ACEOF
27121 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27133 for wx_func
in strtoull
27135 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27136 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27137 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27138 echo $ECHO_N "(cached) $ECHO_C" >&6
27141 cat >conftest.
$ac_ext <<_ACEOF
27145 cat confdefs.h
>>conftest.
$ac_ext
27146 cat >>conftest.
$ac_ext <<_ACEOF
27147 /* end confdefs.h. */
27150 $ac_includes_default
27166 rm -f conftest.
$ac_objext conftest
$ac_exeext
27167 if { (ac_try
="$ac_link"
27168 case "(($ac_try" in
27169 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27170 *) ac_try_echo=$ac_try;;
27172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27173 (eval "$ac_link") 2>conftest.er1
27175 grep -v '^ *+' conftest.er1 >conftest.err
27177 cat conftest.err >&5
27178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27179 (exit $ac_status); } && {
27180 test -z "$ac_cxx_werror_flag" ||
27181 test ! -s conftest.err
27182 } && test -s conftest$ac_exeext &&
27183 $as_test_x conftest$ac_exeext; then
27184 eval wx_cv_func_$wx_func=yes
27186 echo "$as_me: failed program was:" >&5
27187 sed 's/^/| /' conftest.$ac_ext >&5
27189 eval wx_cv_func_$wx_func=no
27192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27193 conftest$ac_exeext conftest.$ac_ext
27196 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27197 { echo "$as_me:$LINENO: result: $ac_res" >&5
27198 echo "${ECHO_T}$ac_res" >&6; }
27200 if eval test \$wx_cv_func_$wx_func = yes
27202 cat >>confdefs.h <<_ACEOF
27203 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27215 ac_cpp='$CPP $CPPFLAGS'
27216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27223 if test "$wxUSE_REGEX" != "no"; then
27224 cat >>confdefs.h <<\_ACEOF
27225 #define wxUSE_REGEX 1
27229 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27230 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27231 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27232 wxUSE_REGEX=builtin
27235 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27236 { echo "$as_me:$LINENO: checking for regex.h" >&5
27237 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27238 if test "${ac_cv_header_regex_h+set}" = set; then
27239 echo $ECHO_N "(cached) $ECHO_C" >&6
27241 cat >conftest.$ac_ext <<_ACEOF
27244 cat confdefs.h >>conftest.$ac_ext
27245 cat >>conftest.$ac_ext <<_ACEOF
27246 /* end confdefs.h. */
27251 rm -f conftest.$ac_objext
27252 if { (ac_try="$ac_compile"
27253 case "(($ac_try" in
27254 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27255 *) ac_try_echo
=$ac_try;;
27257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27258 (eval "$ac_compile") 2>conftest.er1
27260 grep -v '^ *+' conftest.er1
>conftest.err
27262 cat conftest.err
>&5
27263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27264 (exit $ac_status); } && {
27265 test -z "$ac_c_werror_flag" ||
27266 test ! -s conftest.err
27267 } && test -s conftest.
$ac_objext; then
27268 ac_cv_header_regex_h
=yes
27270 echo "$as_me: failed program was:" >&5
27271 sed 's/^/| /' conftest.
$ac_ext >&5
27273 ac_cv_header_regex_h
=no
27276 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27278 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27279 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27280 if test $ac_cv_header_regex_h = yes; then
27283 for ac_func
in regcomp re_search
27285 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27286 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27288 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27289 echo $ECHO_N "(cached) $ECHO_C" >&6
27291 cat >conftest.
$ac_ext <<_ACEOF
27294 cat confdefs.h
>>conftest.
$ac_ext
27295 cat >>conftest.
$ac_ext <<_ACEOF
27296 /* end confdefs.h. */
27297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27299 #define $ac_func innocuous_$ac_func
27301 /* System header to define __stub macros and hopefully few prototypes,
27302 which can conflict with char $ac_func (); below.
27303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27304 <limits.h> exists even on freestanding compilers. */
27307 # include <limits.h>
27309 # include <assert.h>
27314 /* Override any GCC internal prototype to avoid an error.
27315 Use char because int might match the return type of a GCC
27316 builtin and then its argument prototype would still apply. */
27321 /* The GNU C library defines this for functions which it implements
27322 to always fail with ENOSYS. Some functions are actually named
27323 something starting with __ and the normal name is an alias. */
27324 #if defined __stub_$ac_func || defined __stub___$ac_func
27331 return $ac_func ();
27336 rm -f conftest.
$ac_objext conftest
$ac_exeext
27337 if { (ac_try
="$ac_link"
27338 case "(($ac_try" in
27339 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27340 *) ac_try_echo=$ac_try;;
27342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27343 (eval "$ac_link") 2>conftest.er1
27345 grep -v '^ *+' conftest.er1 >conftest.err
27347 cat conftest.err >&5
27348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27349 (exit $ac_status); } && {
27350 test -z "$ac_c_werror_flag" ||
27351 test ! -s conftest.err
27352 } && test -s conftest$ac_exeext &&
27353 $as_test_x conftest$ac_exeext; then
27354 eval "$as_ac_var=yes"
27356 echo "$as_me: failed program was:" >&5
27357 sed 's/^/| /' conftest.$ac_ext >&5
27359 eval "$as_ac_var=no"
27362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27363 conftest$ac_exeext conftest.$ac_ext
27365 ac_res=`eval echo '${'$as_ac_var'}'`
27366 { echo "$as_me:$LINENO: result: $ac_res" >&5
27367 echo "${ECHO_T}$ac_res" >&6; }
27368 if test `eval echo '${'$as_ac_var'}'` = yes; then
27369 cat >>confdefs.h <<_ACEOF
27370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27380 if test "x$ac_cv_func_regcomp" != "xyes"; then
27381 if test "$wxUSE_REGEX" = "sys" ; then
27382 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27383 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27384 { (exit 1); exit 1; }; }
27386 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27387 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27388 wxUSE_REGEX=builtin
27392 cat >>confdefs.h <<\_ACEOF
27393 #define WX_NO_REGEX_ADVANCED 1
27402 if test "$wxUSE_ZLIB" != "no" ; then
27403 cat >>confdefs.h <<\_ACEOF
27404 #define wxUSE_ZLIB 1
27408 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27409 if test "$USE_DARWIN" = 1; then
27410 system_zlib_h_ok="yes"
27412 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27413 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27414 if test "${ac_cv_header_zlib_h+set}" = set; then
27415 echo $ECHO_N "(cached) $ECHO_C" >&6
27417 if test "$cross_compiling" = yes; then
27418 unset ac_cv_header_zlib_h
27421 cat >conftest.$ac_ext <<_ACEOF
27424 cat confdefs.h >>conftest.$ac_ext
27425 cat >>conftest.$ac_ext <<_ACEOF
27426 /* end confdefs.h. */
27433 FILE *f=fopen("conftestval", "w");
27436 ZLIB_VERSION[0] == '1' &&
27437 (ZLIB_VERSION[2] > '1' ||
27438 (ZLIB_VERSION[2] == '1' &&
27439 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27444 rm -f conftest$ac_exeext
27445 if { (ac_try="$ac_link"
27446 case "(($ac_try" in
27447 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27448 *) ac_try_echo
=$ac_try;;
27450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27451 (eval "$ac_link") 2>&5
27453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27454 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27455 { (case "(($ac_try" in
27456 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27457 *) ac_try_echo=$ac_try;;
27459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27460 (eval "$ac_try") 2>&5
27462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27463 (exit $ac_status); }; }; then
27464 ac_cv_header_zlib_h=`cat conftestval
`
27466 echo "$as_me: program exited with status $ac_status" >&5
27467 echo "$as_me: failed program was:" >&5
27468 sed 's/^/| /' conftest.$ac_ext >&5
27470 ( exit $ac_status )
27471 ac_cv_header_zlib_h=no
27473 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27479 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27480 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27481 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27482 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27483 if test "${ac_cv_header_zlib_h+set}" = set; then
27484 echo $ECHO_N "(cached) $ECHO_C" >&6
27486 cat >conftest.$ac_ext <<_ACEOF
27489 cat confdefs.h >>conftest.$ac_ext
27490 cat >>conftest.$ac_ext <<_ACEOF
27491 /* end confdefs.h. */
27496 rm -f conftest.$ac_objext
27497 if { (ac_try="$ac_compile"
27498 case "(($ac_try" in
27499 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27500 *) ac_try_echo
=$ac_try;;
27502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27503 (eval "$ac_compile") 2>conftest.er1
27505 grep -v '^ *+' conftest.er1
>conftest.err
27507 cat conftest.err
>&5
27508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27509 (exit $ac_status); } && {
27510 test -z "$ac_c_werror_flag" ||
27511 test ! -s conftest.err
27512 } && test -s conftest.
$ac_objext; then
27513 ac_cv_header_zlib_h
=yes
27515 echo "$as_me: failed program was:" >&5
27516 sed 's/^/| /' conftest.
$ac_ext >&5
27518 ac_cv_header_zlib_h
=no
27521 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27523 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27524 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27528 system_zlib_h_ok
=$ac_cv_header_zlib_h
27531 if test "$system_zlib_h_ok" = "yes"; then
27532 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27533 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27534 if test "${ac_cv_lib_z_deflate+set}" = set; then
27535 echo $ECHO_N "(cached) $ECHO_C" >&6
27537 ac_check_lib_save_LIBS
=$LIBS
27539 cat >conftest.
$ac_ext <<_ACEOF
27542 cat confdefs.h
>>conftest.
$ac_ext
27543 cat >>conftest.
$ac_ext <<_ACEOF
27544 /* end confdefs.h. */
27546 /* Override any GCC internal prototype to avoid an error.
27547 Use char because int might match the return type of a GCC
27548 builtin and then its argument prototype would still apply. */
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 ac_cv_lib_z_deflate=yes
27581 echo "$as_me: failed program was:" >&5
27582 sed 's/^/| /' conftest.$ac_ext >&5
27584 ac_cv_lib_z_deflate=no
27587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27588 conftest$ac_exeext conftest.$ac_ext
27589 LIBS=$ac_check_lib_save_LIBS
27591 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27592 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
27593 if test $ac_cv_lib_z_deflate = yes; then
27599 if test "x$ZLIB_LINK" = "x" ; then
27600 if test "$wxUSE_ZLIB" = "sys" ; then
27601 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27602 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27603 { (exit 1); exit 1; }; }
27605 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27606 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27617 if test "$wxUSE_LIBPNG" != "no" ; then
27618 cat >>confdefs.h <<\_ACEOF
27619 #define wxUSE_LIBPNG 1
27623 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27624 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27625 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27629 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27630 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27631 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27632 wxUSE_LIBPNG=builtin
27635 if test "$wxUSE_MGL" != 1 ; then
27636 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27637 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27638 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
27639 if test "${ac_cv_header_png_h+set}" = set; then
27640 echo $ECHO_N "(cached) $ECHO_C" >&6
27642 if test "$cross_compiling" = yes; then
27643 unset ac_cv_header_png_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 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27666 rm -f conftest$ac_exeext
27667 if { (ac_try="$ac_link"
27668 case "(($ac_try" in
27669 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27670 *) ac_try_echo
=$ac_try;;
27672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27673 (eval "$ac_link") 2>&5
27675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27676 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27677 { (case "(($ac_try" in
27678 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27679 *) ac_try_echo=$ac_try;;
27681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27682 (eval "$ac_try") 2>&5
27684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27685 (exit $ac_status); }; }; then
27686 ac_cv_header_png_h=`cat conftestval
`
27688 echo "$as_me: program exited with status $ac_status" >&5
27689 echo "$as_me: failed program was:" >&5
27690 sed 's/^/| /' conftest.$ac_ext >&5
27692 ( exit $ac_status )
27693 ac_cv_header_png_h=no
27695 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27701 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27702 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27703 { echo "$as_me:$LINENO: checking for png.h" >&5
27704 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
27705 if test "${ac_cv_header_png_h+set}" = set; then
27706 echo $ECHO_N "(cached) $ECHO_C" >&6
27708 cat >conftest.$ac_ext <<_ACEOF
27711 cat confdefs.h >>conftest.$ac_ext
27712 cat >>conftest.$ac_ext <<_ACEOF
27713 /* end confdefs.h. */
27718 rm -f conftest.$ac_objext
27719 if { (ac_try="$ac_compile"
27720 case "(($ac_try" in
27721 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27722 *) ac_try_echo
=$ac_try;;
27724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27725 (eval "$ac_compile") 2>conftest.er1
27727 grep -v '^ *+' conftest.er1
>conftest.err
27729 cat conftest.err
>&5
27730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27731 (exit $ac_status); } && {
27732 test -z "$ac_c_werror_flag" ||
27733 test ! -s conftest.err
27734 } && test -s conftest.
$ac_objext; then
27735 ac_cv_header_png_h
=yes
27737 echo "$as_me: failed program was:" >&5
27738 sed 's/^/| /' conftest.
$ac_ext >&5
27740 ac_cv_header_png_h
=no
27743 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27745 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27746 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27750 if test "$ac_cv_header_png_h" = "yes"; then
27751 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
27752 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
27753 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
27754 echo $ECHO_N "(cached) $ECHO_C" >&6
27756 ac_check_lib_save_LIBS
=$LIBS
27757 LIBS
="-lpng -lz -lm $LIBS"
27758 cat >conftest.
$ac_ext <<_ACEOF
27761 cat confdefs.h
>>conftest.
$ac_ext
27762 cat >>conftest.
$ac_ext <<_ACEOF
27763 /* end confdefs.h. */
27765 /* Override any GCC internal prototype to avoid an error.
27766 Use char because int might match the return type of a GCC
27767 builtin and then its argument prototype would still apply. */
27771 char png_sig_cmp ();
27775 return png_sig_cmp ();
27780 rm -f conftest.
$ac_objext conftest
$ac_exeext
27781 if { (ac_try
="$ac_link"
27782 case "(($ac_try" in
27783 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27784 *) ac_try_echo=$ac_try;;
27786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27787 (eval "$ac_link") 2>conftest.er1
27789 grep -v '^ *+' conftest.er1 >conftest.err
27791 cat conftest.err >&5
27792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27793 (exit $ac_status); } && {
27794 test -z "$ac_c_werror_flag" ||
27795 test ! -s conftest.err
27796 } && test -s conftest$ac_exeext &&
27797 $as_test_x conftest$ac_exeext; then
27798 ac_cv_lib_png_png_sig_cmp=yes
27800 echo "$as_me: failed program was:" >&5
27801 sed 's/^/| /' conftest.$ac_ext >&5
27803 ac_cv_lib_png_png_sig_cmp=no
27806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27807 conftest$ac_exeext conftest.$ac_ext
27808 LIBS=$ac_check_lib_save_LIBS
27810 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
27811 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
27812 if test $ac_cv_lib_png_png_sig_cmp = yes; then
27813 PNG_LINK=" -lpng -lz"
27818 if test "x$PNG_LINK" = "x" ; then
27819 if test "$wxUSE_LIBPNG" = "sys" ; then
27820 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27821 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27822 { (exit 1); exit 1; }; }
27824 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27825 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27826 wxUSE_LIBPNG=builtin
27837 if test "$wxUSE_LIBJPEG" != "no" ; then
27838 cat >>confdefs.h <<\_ACEOF
27839 #define wxUSE_LIBJPEG 1
27843 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27844 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27845 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27849 if test "$wxUSE_MGL" != 1 ; then
27850 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27851 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27852 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27853 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27854 echo $ECHO_N "(cached) $ECHO_C" >&6
27856 cat >conftest.$ac_ext <<_ACEOF
27859 cat confdefs.h >>conftest.$ac_ext
27860 cat >>conftest.$ac_ext <<_ACEOF
27861 /* end confdefs.h. */
27863 #undef HAVE_STDLIB_H
27865 #include <jpeglib.h>
27876 rm -f conftest.$ac_objext
27877 if { (ac_try="$ac_compile"
27878 case "(($ac_try" in
27879 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27880 *) ac_try_echo
=$ac_try;;
27882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27883 (eval "$ac_compile") 2>conftest.er1
27885 grep -v '^ *+' conftest.er1
>conftest.err
27887 cat conftest.err
>&5
27888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27889 (exit $ac_status); } && {
27890 test -z "$ac_c_werror_flag" ||
27891 test ! -s conftest.err
27892 } && test -s conftest.
$ac_objext; then
27893 ac_cv_header_jpeglib_h
=yes
27895 echo "$as_me: failed program was:" >&5
27896 sed 's/^/| /' conftest.
$ac_ext >&5
27898 ac_cv_header_jpeglib_h
=no
27902 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27906 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27907 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27909 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27910 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27911 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27912 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27913 echo $ECHO_N "(cached) $ECHO_C" >&6
27915 ac_check_lib_save_LIBS
=$LIBS
27916 LIBS
="-ljpeg $LIBS"
27917 cat >conftest.
$ac_ext <<_ACEOF
27920 cat confdefs.h
>>conftest.
$ac_ext
27921 cat >>conftest.
$ac_ext <<_ACEOF
27922 /* end confdefs.h. */
27924 /* Override any GCC internal prototype to avoid an error.
27925 Use char because int might match the return type of a GCC
27926 builtin and then its argument prototype would still apply. */
27930 char jpeg_read_header ();
27934 return jpeg_read_header ();
27939 rm -f conftest.
$ac_objext conftest
$ac_exeext
27940 if { (ac_try
="$ac_link"
27941 case "(($ac_try" in
27942 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27943 *) ac_try_echo=$ac_try;;
27945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27946 (eval "$ac_link") 2>conftest.er1
27948 grep -v '^ *+' conftest.er1 >conftest.err
27950 cat conftest.err >&5
27951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27952 (exit $ac_status); } && {
27953 test -z "$ac_c_werror_flag" ||
27954 test ! -s conftest.err
27955 } && test -s conftest$ac_exeext &&
27956 $as_test_x conftest$ac_exeext; then
27957 ac_cv_lib_jpeg_jpeg_read_header=yes
27959 echo "$as_me: failed program was:" >&5
27960 sed 's/^/| /' conftest.$ac_ext >&5
27962 ac_cv_lib_jpeg_jpeg_read_header=no
27965 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27966 conftest$ac_exeext conftest.$ac_ext
27967 LIBS=$ac_check_lib_save_LIBS
27969 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27970 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27971 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27972 JPEG_LINK=" -ljpeg"
27977 if test "x$JPEG_LINK" = "x" ; then
27978 if test "$wxUSE_LIBJPEG" = "sys" ; then
27979 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27980 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27981 { (exit 1); exit 1; }; }
27983 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27984 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27985 wxUSE_LIBJPEG=builtin
27990 if test "$wxUSE_MSW" = 1; then
27991 { echo "$as_me:$LINENO: checking for boolean" >&5
27992 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27993 if test "${ac_cv_type_boolean+set}" = set; then
27994 echo $ECHO_N "(cached) $ECHO_C" >&6
27996 cat >conftest.$ac_ext <<_ACEOF
27999 cat confdefs.h >>conftest.$ac_ext
28000 cat >>conftest.$ac_ext <<_ACEOF
28001 /* end confdefs.h. */
28002 #include <windows.h>
28004 typedef boolean ac__type_new_;
28008 if ((ac__type_new_ *) 0)
28010 if (sizeof (ac__type_new_))
28016 rm -f conftest.$ac_objext
28017 if { (ac_try="$ac_compile"
28018 case "(($ac_try" in
28019 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28020 *) ac_try_echo
=$ac_try;;
28022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28023 (eval "$ac_compile") 2>conftest.er1
28025 grep -v '^ *+' conftest.er1
>conftest.err
28027 cat conftest.err
>&5
28028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28029 (exit $ac_status); } && {
28030 test -z "$ac_c_werror_flag" ||
28031 test ! -s conftest.err
28032 } && test -s conftest.
$ac_objext; then
28033 ac_cv_type_boolean
=yes
28035 echo "$as_me: failed program was:" >&5
28036 sed 's/^/| /' conftest.
$ac_ext >&5
28038 ac_cv_type_boolean
=no
28041 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28043 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28044 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28045 if test $ac_cv_type_boolean = yes; then
28047 cat >>confdefs.h
<<_ACEOF
28048 #define HAVE_BOOLEAN 1
28052 { echo "$as_me:$LINENO: checking for boolean" >&5
28053 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28054 if test "${ac_cv_type_boolean+set}" = set; then
28055 echo $ECHO_N "(cached) $ECHO_C" >&6
28057 cat >conftest.
$ac_ext <<_ACEOF
28060 cat confdefs.h
>>conftest.
$ac_ext
28061 cat >>conftest.
$ac_ext <<_ACEOF
28062 /* end confdefs.h. */
28064 #undef HAVE_BOOLEAN
28066 #include <jpeglib.h>
28069 typedef boolean ac__type_new_;
28073 if ((ac__type_new_ *) 0)
28075 if (sizeof (ac__type_new_))
28081 rm -f conftest.
$ac_objext
28082 if { (ac_try
="$ac_compile"
28083 case "(($ac_try" in
28084 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28085 *) ac_try_echo=$ac_try;;
28087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28088 (eval "$ac_compile") 2>conftest.er1
28090 grep -v '^ *+' conftest.er1 >conftest.err
28092 cat conftest.err >&5
28093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28094 (exit $ac_status); } && {
28095 test -z "$ac_c_werror_flag" ||
28096 test ! -s conftest.err
28097 } && test -s conftest.$ac_objext; then
28098 ac_cv_type_boolean=yes
28100 echo "$as_me: failed program was:" >&5
28101 sed 's/^/| /' conftest.$ac_ext >&5
28103 ac_cv_type_boolean=no
28106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28108 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28109 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28111 # The cast to long int works around a bug in the HP C Compiler
28112 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28113 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
28114 # This bug is HP SR number 8606223364.
28115 { echo "$as_me:$LINENO: checking size of boolean" >&5
28116 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28117 if test "${ac_cv_sizeof_boolean+set}" = set; then
28118 echo $ECHO_N "(cached) $ECHO_C" >&6
28120 if test "$cross_compiling" = yes; then
28121 # Depending upon the size, compute the lo and hi bounds.
28122 cat >conftest.$ac_ext <<_ACEOF
28125 cat confdefs.h >>conftest.$ac_ext
28126 cat >>conftest.$ac_ext <<_ACEOF
28127 /* end confdefs.h. */
28129 #undef HAVE_BOOLEAN
28131 #include <jpeglib.h>
28134 typedef boolean ac__type_sizeof_;
28138 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28145 rm -f conftest.$ac_objext
28146 if { (ac_try="$ac_compile"
28147 case "(($ac_try" in
28148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28149 *) ac_try_echo=$ac_try;;
28151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28152 (eval "$ac_compile") 2>conftest.er1
28154 grep -v '^
*+' conftest.er1 >conftest.err
28156 cat conftest.err >&5
28157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28158 (exit $ac_status); } && {
28159 test -z "$ac_c_werror_flag" ||
28160 test ! -s conftest.err
28161 } && test -s conftest.$ac_objext; then
28164 cat >conftest.$ac_ext <<_ACEOF
28167 cat confdefs.h >>conftest.$ac_ext
28168 cat >>conftest.$ac_ext <<_ACEOF
28169 /* end confdefs.h. */
28171 #undef HAVE_BOOLEAN
28173 #include <jpeglib.h>
28176 typedef boolean ac__type_sizeof_;
28180 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28187 rm -f conftest.$ac_objext
28188 if { (ac_try="$ac_compile"
28189 case "(($ac_try" in
28190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28191 *) ac_try_echo=$ac_try;;
28193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28194 (eval "$ac_compile") 2>conftest.er1
28196 grep -v '^
*+' conftest.er1 >conftest.err
28198 cat conftest.err >&5
28199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28200 (exit $ac_status); } && {
28201 test -z "$ac_c_werror_flag" ||
28202 test ! -s conftest.err
28203 } && test -s conftest.$ac_objext; then
28204 ac_hi=$ac_mid; break
28206 echo "$as_me: failed program was:" >&5
28207 sed 's
/^
/| /' conftest.$ac_ext >&5
28209 ac_lo=`expr $ac_mid + 1`
28210 if test $ac_lo -le $ac_mid; then
28214 ac_mid=`expr 2 '*' $ac_mid + 1`
28217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28220 echo "$as_me: failed program was:" >&5
28221 sed 's
/^
/| /' conftest.$ac_ext >&5
28223 cat >conftest.$ac_ext <<_ACEOF
28226 cat confdefs.h >>conftest.$ac_ext
28227 cat >>conftest.$ac_ext <<_ACEOF
28228 /* end confdefs.h. */
28230 #undef HAVE_BOOLEAN
28232 #include <jpeglib.h>
28235 typedef boolean ac__type_sizeof_;
28239 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28246 rm -f conftest.$ac_objext
28247 if { (ac_try="$ac_compile"
28248 case "(($ac_try" in
28249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28250 *) ac_try_echo=$ac_try;;
28252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28253 (eval "$ac_compile") 2>conftest.er1
28255 grep -v '^
*+' conftest.er1 >conftest.err
28257 cat conftest.err >&5
28258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28259 (exit $ac_status); } && {
28260 test -z "$ac_c_werror_flag" ||
28261 test ! -s conftest.err
28262 } && test -s conftest.$ac_objext; then
28265 cat >conftest.$ac_ext <<_ACEOF
28268 cat confdefs.h >>conftest.$ac_ext
28269 cat >>conftest.$ac_ext <<_ACEOF
28270 /* end confdefs.h. */
28272 #undef HAVE_BOOLEAN
28274 #include <jpeglib.h>
28277 typedef boolean ac__type_sizeof_;
28281 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28288 rm -f conftest.$ac_objext
28289 if { (ac_try="$ac_compile"
28290 case "(($ac_try" in
28291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28292 *) ac_try_echo=$ac_try;;
28294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28295 (eval "$ac_compile") 2>conftest.er1
28297 grep -v '^
*+' conftest.er1 >conftest.err
28299 cat conftest.err >&5
28300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28301 (exit $ac_status); } && {
28302 test -z "$ac_c_werror_flag" ||
28303 test ! -s conftest.err
28304 } && test -s conftest.$ac_objext; then
28305 ac_lo=$ac_mid; break
28307 echo "$as_me: failed program was:" >&5
28308 sed 's
/^
/| /' conftest.$ac_ext >&5
28310 ac_hi=`expr '(' $ac_mid ')' - 1`
28311 if test $ac_mid -le $ac_hi; then
28315 ac_mid=`expr 2 '*' $ac_mid`
28318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28321 echo "$as_me: failed program was:" >&5
28322 sed 's
/^
/| /' conftest.$ac_ext >&5
28327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28331 # Binary search between lo and hi bounds.
28332 while test "x$ac_lo" != "x$ac_hi"; do
28333 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28334 cat >conftest.$ac_ext <<_ACEOF
28337 cat confdefs.h >>conftest.$ac_ext
28338 cat >>conftest.$ac_ext <<_ACEOF
28339 /* end confdefs.h. */
28341 #undef HAVE_BOOLEAN
28343 #include <jpeglib.h>
28346 typedef boolean ac__type_sizeof_;
28350 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28357 rm -f conftest.$ac_objext
28358 if { (ac_try="$ac_compile"
28359 case "(($ac_try" in
28360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28361 *) ac_try_echo=$ac_try;;
28363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28364 (eval "$ac_compile") 2>conftest.er1
28366 grep -v '^
*+' conftest.er1 >conftest.err
28368 cat conftest.err >&5
28369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28370 (exit $ac_status); } && {
28371 test -z "$ac_c_werror_flag" ||
28372 test ! -s conftest.err
28373 } && test -s conftest.$ac_objext; then
28376 echo "$as_me: failed program was:" >&5
28377 sed 's
/^
/| /' conftest.$ac_ext >&5
28379 ac_lo=`expr '(' $ac_mid ')' + 1`
28382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28385 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28386 '') if test "$ac_cv_type_boolean" = yes; then
28387 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28388 See \`config.log' for more details.
" >&5
28389 echo "$as_me: error
: cannot compute sizeof
(boolean
)
28390 See \
`config.log' for more details." >&2;}
28391 { (exit 77); exit 77; }; }
28393 ac_cv_sizeof_boolean=0
28397 cat >conftest.$ac_ext <<_ACEOF
28400 cat confdefs.h >>conftest.$ac_ext
28401 cat >>conftest.$ac_ext <<_ACEOF
28402 /* end confdefs.h. */
28404 #undef HAVE_BOOLEAN
28406 #include <jpeglib.h>
28409 typedef boolean ac__type_sizeof_;
28410 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28411 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28413 #include <stdlib.h>
28418 FILE *f = fopen ("conftest.val", "w");
28421 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28423 long int i = longval ();
28424 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28426 fprintf (f, "%ld\n", i);
28430 unsigned long int i = ulongval ();
28431 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28433 fprintf (f, "%lu\n", i);
28435 return ferror (f) || fclose (f) != 0;
28441 rm -f conftest$ac_exeext
28442 if { (ac_try="$ac_link"
28443 case "(($ac_try" in
28444 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28445 *) ac_try_echo
=$ac_try;;
28447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28448 (eval "$ac_link") 2>&5
28450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28451 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28452 { (case "(($ac_try" in
28453 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28454 *) ac_try_echo=$ac_try;;
28456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28457 (eval "$ac_try") 2>&5
28459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28460 (exit $ac_status); }; }; then
28461 ac_cv_sizeof_boolean=`cat conftest.val
`
28463 echo "$as_me: program exited with status $ac_status" >&5
28464 echo "$as_me: failed program was:" >&5
28465 sed 's/^/| /' conftest.$ac_ext >&5
28467 ( exit $ac_status )
28468 if test "$ac_cv_type_boolean" = yes; then
28469 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28470 See \`config.log
' for more details." >&5
28471 echo "$as_me: error: cannot compute sizeof (boolean)
28472 See \`config.log' for more details.
" >&2;}
28473 { (exit 77); exit 77; }; }
28475 ac_cv_sizeof_boolean=0
28478 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28482 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
28483 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28487 cat >>confdefs.h <<_ACEOF
28488 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28492 cat >>confdefs.h <<_ACEOF
28493 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28507 TIFF_PREREQ_LINKS=-lm
28508 if test "$wxUSE_LIBTIFF" != "no
" ; then
28509 cat >>confdefs.h <<\_ACEOF
28510 #define wxUSE_LIBTIFF 1
28514 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
28515 if test "$wxUSE_LIBJPEG" = "sys
"; then
28516 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28518 if test "$wxUSE_ZLIB" = "sys
"; then
28519 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28521 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
28522 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
28523 if test "${ac_cv_header_tiffio_h+set}" = set; then
28524 echo $ECHO_N "(cached
) $ECHO_C" >&6
28526 cat >conftest.$ac_ext <<_ACEOF
28529 cat confdefs.h >>conftest.$ac_ext
28530 cat >>conftest.$ac_ext <<_ACEOF
28531 /* end confdefs.h. */
28535 #include <tiffio.h>
28537 rm -f conftest.$ac_objext
28538 if { (ac_try="$ac_compile"
28539 case "(($ac_try" in
28540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28541 *) ac_try_echo=$ac_try;;
28543 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28544 (eval "$ac_compile") 2>conftest.er1
28546 grep -v '^ *+' conftest.er1 >conftest.err
28548 cat conftest.err >&5
28549 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28550 (exit $ac_status); } && {
28551 test -z "$ac_c_werror_flag" ||
28552 test ! -s conftest.err
28553 } && test -s conftest.$ac_objext; then
28554 ac_cv_header_tiffio_h=yes
28556 echo "$as_me: failed program was
:" >&5
28557 sed 's/^/| /' conftest.$ac_ext >&5
28559 ac_cv_header_tiffio_h=no
28562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28564 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
28565 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28566 if test $ac_cv_header_tiffio_h = yes; then
28568 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
28569 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
28570 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28571 echo $ECHO_N "(cached
) $ECHO_C" >&6
28573 ac_check_lib_save_LIBS=$LIBS
28574 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28575 cat >conftest.$ac_ext <<_ACEOF
28578 cat confdefs.h >>conftest.$ac_ext
28579 cat >>conftest.$ac_ext <<_ACEOF
28580 /* end confdefs.h. */
28582 /* Override any GCC internal prototype to avoid an error.
28583 Use char because int might match the return type of a GCC
28584 builtin and then its argument prototype would still apply. */
28592 return TIFFError ();
28597 rm -f conftest.$ac_objext conftest$ac_exeext
28598 if { (ac_try="$ac_link"
28599 case "(($ac_try" in
28600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28601 *) ac_try_echo=$ac_try;;
28603 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28604 (eval "$ac_link") 2>conftest.er1
28606 grep -v '^ *+' conftest.er1 >conftest.err
28608 cat conftest.err >&5
28609 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28610 (exit $ac_status); } && {
28611 test -z "$ac_c_werror_flag" ||
28612 test ! -s conftest.err
28613 } && test -s conftest$ac_exeext &&
28614 $as_test_x conftest$ac_exeext; then
28615 ac_cv_lib_tiff_TIFFError=yes
28617 echo "$as_me: failed program was
:" >&5
28618 sed 's/^/| /' conftest.$ac_ext >&5
28620 ac_cv_lib_tiff_TIFFError=no
28623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28624 conftest$ac_exeext conftest.$ac_ext
28625 LIBS=$ac_check_lib_save_LIBS
28627 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
28628 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
28629 if test $ac_cv_lib_tiff_TIFFError = yes; then
28630 TIFF_LINK=" -ltiff"
28638 if test "x
$TIFF_LINK" = "x
" ; then
28639 if test "$wxUSE_LIBTIFF" = "sys
" ; then
28640 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
28641 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
28642 { (exit 1); exit 1; }; }
28644 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
28645 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
28646 wxUSE_LIBTIFF=builtin
28652 if test "$wxUSE_LIBTIFF" = "builtin" ; then
28653 if test "$wxUSE_LIBJPEG" = "no
"; then
28654 ac_configure_args="$ac_configure_args --disable-jpeg"
28656 subdirs="$subdirs src
/tiff
"
28662 if test "$wxUSE_WCHAR_T" != "yes"; then
28663 if test "$wxUSE_EXPAT" != "no
"; then
28664 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
28665 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
28668 if test "$wxUSE_XML" != "no
"; then
28669 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
28670 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
28675 if test "$wxUSE_EXPAT" != "no
"; then
28677 cat >>confdefs.h <<\_ACEOF
28678 #define wxUSE_EXPAT 1
28681 cat >>confdefs.h <<\_ACEOF
28682 #define wxUSE_XML 1
28686 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
28687 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
28688 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
28689 if test "${ac_cv_header_expat_h+set}" = set; then
28690 echo $ECHO_N "(cached
) $ECHO_C" >&6
28692 cat >conftest.$ac_ext <<_ACEOF
28695 cat confdefs.h >>conftest.$ac_ext
28696 cat >>conftest.$ac_ext <<_ACEOF
28697 /* end confdefs.h. */
28702 rm -f conftest.$ac_objext
28703 if { (ac_try="$ac_compile"
28704 case "(($ac_try" in
28705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28706 *) ac_try_echo=$ac_try;;
28708 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28709 (eval "$ac_compile") 2>conftest.er1
28711 grep -v '^ *+' conftest.er1 >conftest.err
28713 cat conftest.err >&5
28714 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28715 (exit $ac_status); } && {
28716 test -z "$ac_c_werror_flag" ||
28717 test ! -s conftest.err
28718 } && test -s conftest.$ac_objext; then
28719 ac_cv_header_expat_h=yes
28721 echo "$as_me: failed program was
:" >&5
28722 sed 's/^/| /' conftest.$ac_ext >&5
28724 ac_cv_header_expat_h=no
28727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28729 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
28730 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
28731 if test $ac_cv_header_expat_h = yes; then
28736 if test "x
$found_expat_h" = "x1
"; then
28737 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
28738 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
28739 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28740 echo $ECHO_N "(cached
) $ECHO_C" >&6
28744 ac_cpp='$CXXCPP $CPPFLAGS'
28745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28749 cat >conftest.$ac_ext <<_ACEOF
28752 cat confdefs.h >>conftest.$ac_ext
28753 cat >>conftest.$ac_ext <<_ACEOF
28754 /* end confdefs.h. */
28764 rm -f conftest.$ac_objext
28765 if { (ac_try="$ac_compile"
28766 case "(($ac_try" in
28767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28768 *) ac_try_echo=$ac_try;;
28770 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28771 (eval "$ac_compile") 2>conftest.er1
28773 grep -v '^ *+' conftest.er1 >conftest.err
28775 cat conftest.err >&5
28776 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28777 (exit $ac_status); } && {
28778 test -z "$ac_cxx_werror_flag" ||
28779 test ! -s conftest.err
28780 } && test -s conftest.$ac_objext; then
28781 wx_cv_expat_is_not_broken=yes
28783 echo "$as_me: failed program was
:" >&5
28784 sed 's/^/| /' conftest.$ac_ext >&5
28786 wx_cv_expat_is_not_broken=no
28790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28792 ac_cpp='$CPP $CPPFLAGS'
28793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28800 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
28801 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28802 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28803 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
28804 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
28805 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28806 echo $ECHO_N "(cached
) $ECHO_C" >&6
28808 ac_check_lib_save_LIBS=$LIBS
28809 LIBS="-lexpat $LIBS"
28810 cat >conftest.$ac_ext <<_ACEOF
28813 cat confdefs.h >>conftest.$ac_ext
28814 cat >>conftest.$ac_ext <<_ACEOF
28815 /* end confdefs.h. */
28817 /* Override any GCC internal prototype to avoid an error.
28818 Use char because int might match the return type of a GCC
28819 builtin and then its argument prototype would still apply. */
28823 char XML_ParserCreate ();
28827 return XML_ParserCreate ();
28832 rm -f conftest.$ac_objext conftest$ac_exeext
28833 if { (ac_try="$ac_link"
28834 case "(($ac_try" in
28835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28836 *) ac_try_echo=$ac_try;;
28838 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28839 (eval "$ac_link") 2>conftest.er1
28841 grep -v '^ *+' conftest.er1 >conftest.err
28843 cat conftest.err >&5
28844 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28845 (exit $ac_status); } && {
28846 test -z "$ac_c_werror_flag" ||
28847 test ! -s conftest.err
28848 } && test -s conftest$ac_exeext &&
28849 $as_test_x conftest$ac_exeext; then
28850 ac_cv_lib_expat_XML_ParserCreate=yes
28852 echo "$as_me: failed program was
:" >&5
28853 sed 's/^/| /' conftest.$ac_ext >&5
28855 ac_cv_lib_expat_XML_ParserCreate=no
28858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28859 conftest$ac_exeext conftest.$ac_ext
28860 LIBS=$ac_check_lib_save_LIBS
28862 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
28863 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28864 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28865 EXPAT_LINK=" -lexpat"
28870 if test "x
$EXPAT_LINK" = "x
" ; then
28871 if test "$wxUSE_EXPAT" = "sys
" ; then
28872 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
28873 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
28874 { (exit 1); exit 1; }; }
28876 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
28877 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
28878 wxUSE_EXPAT=builtin
28884 if test "$wxUSE_EXPAT" = "builtin" ; then
28885 subdirs="$subdirs src
/expat
"
28892 if test "$wxUSE_LIBMSPACK" != "no
"; then
28893 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
28894 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
28895 if test "${ac_cv_header_mspack_h+set}" = set; then
28896 echo $ECHO_N "(cached
) $ECHO_C" >&6
28898 cat >conftest.$ac_ext <<_ACEOF
28901 cat confdefs.h >>conftest.$ac_ext
28902 cat >>conftest.$ac_ext <<_ACEOF
28903 /* end confdefs.h. */
28906 #include <mspack.h>
28908 rm -f conftest.$ac_objext
28909 if { (ac_try="$ac_compile"
28910 case "(($ac_try" in
28911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28912 *) ac_try_echo=$ac_try;;
28914 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28915 (eval "$ac_compile") 2>conftest.er1
28917 grep -v '^ *+' conftest.er1 >conftest.err
28919 cat conftest.err >&5
28920 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28921 (exit $ac_status); } && {
28922 test -z "$ac_c_werror_flag" ||
28923 test ! -s conftest.err
28924 } && test -s conftest.$ac_objext; then
28925 ac_cv_header_mspack_h=yes
28927 echo "$as_me: failed program was
:" >&5
28928 sed 's/^/| /' conftest.$ac_ext >&5
28930 ac_cv_header_mspack_h=no
28933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28935 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
28936 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28937 if test $ac_cv_header_mspack_h = yes; then
28942 if test "x
$found_mspack_h" = "x1
"; then
28943 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
28944 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
28945 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28946 echo $ECHO_N "(cached
) $ECHO_C" >&6
28948 ac_check_lib_save_LIBS=$LIBS
28949 LIBS="-lmspack $LIBS"
28950 cat >conftest.$ac_ext <<_ACEOF
28953 cat confdefs.h >>conftest.$ac_ext
28954 cat >>conftest.$ac_ext <<_ACEOF
28955 /* end confdefs.h. */
28957 /* Override any GCC internal prototype to avoid an error.
28958 Use char because int might match the return type of a GCC
28959 builtin and then its argument prototype would still apply. */
28963 char mspack_create_chm_decompressor ();
28967 return mspack_create_chm_decompressor ();
28972 rm -f conftest.$ac_objext conftest$ac_exeext
28973 if { (ac_try="$ac_link"
28974 case "(($ac_try" in
28975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28976 *) ac_try_echo=$ac_try;;
28978 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28979 (eval "$ac_link") 2>conftest.er1
28981 grep -v '^ *+' conftest.er1 >conftest.err
28983 cat conftest.err >&5
28984 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28985 (exit $ac_status); } && {
28986 test -z "$ac_c_werror_flag" ||
28987 test ! -s conftest.err
28988 } && test -s conftest$ac_exeext &&
28989 $as_test_x conftest$ac_exeext; then
28990 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28992 echo "$as_me: failed program was
:" >&5
28993 sed 's/^/| /' conftest.$ac_ext >&5
28995 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28999 conftest$ac_exeext conftest.$ac_ext
29000 LIBS=$ac_check_lib_save_LIBS
29002 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29003 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29004 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29005 MSPACK_LINK=" -lmspack"
29009 if test "x
$MSPACK_LINK" = "x
" ; then
29014 if test "$wxUSE_LIBMSPACK" != "no
"; then
29015 cat >>confdefs.h <<\_ACEOF
29016 #define wxUSE_LIBMSPACK 1
29030 if test "$USE_WIN32" = 1 ; then
29032 for ac_header in w32api.h
29034 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
29035 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
29036 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
29037 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
29038 echo $ECHO_N "(cached
) $ECHO_C" >&6
29040 cat >conftest.$ac_ext <<_ACEOF
29043 cat confdefs.h >>conftest.$ac_ext
29044 cat >>conftest.$ac_ext <<_ACEOF
29045 /* end confdefs.h. */
29048 #include <$ac_header>
29050 rm -f conftest.$ac_objext
29051 if { (ac_try="$ac_compile"
29052 case "(($ac_try" in
29053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29054 *) ac_try_echo=$ac_try;;
29056 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29057 (eval "$ac_compile") 2>conftest.er1
29059 grep -v '^ *+' conftest.er1 >conftest.err
29061 cat conftest.err >&5
29062 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29063 (exit $ac_status); } && {
29064 test -z "$ac_c_werror_flag" ||
29065 test ! -s conftest.err
29066 } && test -s conftest.$ac_objext; then
29067 eval "$as_ac_Header=yes"
29069 echo "$as_me: failed program was
:" >&5
29070 sed 's/^/| /' conftest.$ac_ext >&5
29072 eval "$as_ac_Header=no
"
29075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29077 ac_res=`eval echo '${'$as_ac_Header'}'`
29078 { echo "$as_me:$LINENO: result
: $ac_res" >&5
29079 echo "${ECHO_T}$ac_res" >&6; }
29080 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29081 cat >>confdefs.h <<_ACEOF
29082 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
29089 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
29090 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
29091 if test "${ac_cv_header_windows_h+set}" = set; then
29092 echo $ECHO_N "(cached
) $ECHO_C" >&6
29094 cat >conftest.$ac_ext <<_ACEOF
29097 cat confdefs.h >>conftest.$ac_ext
29098 cat >>conftest.$ac_ext <<_ACEOF
29099 /* end confdefs.h. */
29102 #include <windows.h>
29104 rm -f conftest.$ac_objext
29105 if { (ac_try="$ac_compile"
29106 case "(($ac_try" in
29107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29108 *) ac_try_echo=$ac_try;;
29110 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29111 (eval "$ac_compile") 2>conftest.er1
29113 grep -v '^ *+' conftest.er1 >conftest.err
29115 cat conftest.err >&5
29116 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29117 (exit $ac_status); } && {
29118 test -z "$ac_c_werror_flag" ||
29119 test ! -s conftest.err
29120 } && test -s conftest.$ac_objext; then
29121 ac_cv_header_windows_h=yes
29123 echo "$as_me: failed program was
:" >&5
29124 sed 's/^/| /' conftest.$ac_ext >&5
29126 ac_cv_header_windows_h=no
29129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29131 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
29132 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29133 if test $ac_cv_header_windows_h = yes; then
29137 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
29138 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
29139 { (exit 1); exit 1; }; }
29146 x86_64-*-mingw32* )
29147 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29149 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64
"
29152 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29155 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29156 LIBS="$LIBS -loleacc"
29161 LIBS="$LIBS -lkernel32 -luser32"
29164 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
29165 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
29167 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
29169 WIN32INSTALL=win32install
29171 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
29172 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
29173 if test "${ac_cv_header_pbt_h+set}" = set; then
29174 echo $ECHO_N "(cached
) $ECHO_C" >&6
29176 cat >conftest.$ac_ext <<_ACEOF
29179 cat confdefs.h >>conftest.$ac_ext
29180 cat >>conftest.$ac_ext <<_ACEOF
29181 /* end confdefs.h. */
29186 rm -f conftest.$ac_objext
29187 if { (ac_try="$ac_compile"
29188 case "(($ac_try" in
29189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29190 *) ac_try_echo=$ac_try;;
29192 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29193 (eval "$ac_compile") 2>conftest.er1
29195 grep -v '^ *+' conftest.er1 >conftest.err
29197 cat conftest.err >&5
29198 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29199 (exit $ac_status); } && {
29200 test -z "$ac_c_werror_flag" ||
29201 test ! -s conftest.err
29202 } && test -s conftest.$ac_objext; then
29203 ac_cv_header_pbt_h=yes
29205 echo "$as_me: failed program was
:" >&5
29206 sed 's/^/| /' conftest.$ac_ext >&5
29208 ac_cv_header_pbt_h=no
29211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29213 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
29214 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29215 if test $ac_cv_header_pbt_h = yes; then
29218 cat >>confdefs.h <<\_ACEOF
29219 #define NEED_PBT_H 1
29227 if test "$wxUSE_GUI" = "yes"; then
29237 if test "$wxUSE_OLD_COCOA" = 1 ; then
29238 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29239 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
29240 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
29241 wxUSE_PRINTING_ARCHITECTURE=no
29243 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29244 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
29245 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
29246 wxUSE_DRAG_AND_DROP=no
29248 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29249 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
29250 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
29255 if test "$wxUSE_MSW" = 1 ; then
29261 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
29265 if test "$wxUSE_GTK" = 1; then
29266 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
29267 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
29269 gtk_version_cached=1
29270 if test "${wx_cv_lib_gtk+set}" = set; then
29271 echo $ECHO_N "(cached
) $ECHO_C" >&6
29274 gtk_version_cached=0
29275 { echo "$as_me:$LINENO: result
: " >&5
29276 echo "${ECHO_T}" >&6; }
29279 if test "$wxUSE_THREADS" = "yes"; then
29280 GTK_MODULES=gthread
29284 if test "x
$wxGTK_VERSION" != "x1
"
29288 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29293 # Check whether --enable-gtktest was given.
29294 if test "${enable_gtktest+set}" = set; then
29295 enableval=$enable_gtktest;
29301 pkg_config_args=gtk+-2.0
29302 for module in . $GTK_MODULES
29306 pkg_config_args="$pkg_config_args gthread
-2.0
"
29313 # Extract the first word of "pkg
-config", so it can be a program name with args.
29314 set dummy pkg-config; ac_word=$2
29315 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
29316 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
29317 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29318 echo $ECHO_N "(cached
) $ECHO_C" >&6
29320 case $PKG_CONFIG in
29322 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29326 for as_dir in $PATH
29329 test -z "$as_dir" && as_dir=.
29330 for ac_exec_ext in '' $ac_executable_extensions; do
29331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29332 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29333 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29340 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
29344 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29345 if test -n "$PKG_CONFIG"; then
29346 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
29347 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29349 { echo "$as_me:$LINENO: result
: no
" >&5
29350 echo "${ECHO_T}no
" >&6; }
29355 if test x$PKG_CONFIG != xno ; then
29356 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29359 echo "*** pkg
-config too old
; version
0.7 or better required.
"
29367 min_gtk_version=2.4.0
29368 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
29369 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
29371 if test x$PKG_CONFIG != xno ; then
29372 ## don't try to run the test against uninstalled libtool libs
29373 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29374 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
29378 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29385 if test x"$no_gtk" = x ; then
29386 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29387 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29388 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29389 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29390 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29391 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29392 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29393 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29394 if test "x
$enable_gtktest" = "xyes
" ; then
29395 ac_save_CFLAGS="$CFLAGS"
29396 ac_save_LIBS="$LIBS"
29397 CFLAGS="$CFLAGS $GTK_CFLAGS"
29398 LIBS="$GTK_LIBS $LIBS"
29400 if test "$cross_compiling" = yes; then
29401 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29403 cat >conftest.$ac_ext <<_ACEOF
29406 cat confdefs.h >>conftest.$ac_ext
29407 cat >>conftest.$ac_ext <<_ACEOF
29408 /* end confdefs.h. */
29410 #include <gtk/gtk.h>
29412 #include <stdlib.h>
29417 int major, minor, micro;
29420 system ("touch conf.gtktest
");
29422 /* HP/UX 9 (%@#!) writes to sscanf strings */
29423 tmp_version = g_strdup("$min_gtk_version");
29424 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29425 printf("%s
, bad version string
\n", "$min_gtk_version");
29429 if ((gtk_major_version != $gtk_config_major_version) ||
29430 (gtk_minor_version != $gtk_config_minor_version) ||
29431 (gtk_micro_version != $gtk_config_micro_version))
29433 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29434 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29435 gtk_major_version, gtk_minor_version, gtk_micro_version);
29436 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
29437 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29438 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29439 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29440 printf("*** required on your system.
\n");
29441 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
29442 printf("*** to point to the correct configuration files
\n");
29444 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29445 (gtk_minor_version != GTK_MINOR_VERSION) ||
29446 (gtk_micro_version != GTK_MICRO_VERSION))
29448 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29449 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29450 printf("*** library
(version
%d.
%d.
%d
)\n",
29451 gtk_major_version, gtk_minor_version, gtk_micro_version);
29455 if ((gtk_major_version > major) ||
29456 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29457 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29463 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29464 gtk_major_version, gtk_minor_version, gtk_micro_version);
29465 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29466 major, minor, micro);
29467 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29469 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29470 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
29471 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29472 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
29473 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
29474 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29475 printf("*** so that the correct libraries are found
at run
-time))\n");
29482 rm -f conftest$ac_exeext
29483 if { (ac_try="$ac_link"
29484 case "(($ac_try" in
29485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29486 *) ac_try_echo=$ac_try;;
29488 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29489 (eval "$ac_link") 2>&5
29491 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29492 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29493 { (case "(($ac_try" in
29494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29495 *) ac_try_echo=$ac_try;;
29497 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29498 (eval "$ac_try") 2>&5
29500 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29501 (exit $ac_status); }; }; then
29504 echo "$as_me: program exited with status
$ac_status" >&5
29505 echo "$as_me: failed program was
:" >&5
29506 sed 's/^/| /' conftest.$ac_ext >&5
29508 ( exit $ac_status )
29511 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29515 CFLAGS="$ac_save_CFLAGS"
29516 LIBS="$ac_save_LIBS"
29519 if test "x
$no_gtk" = x ; then
29520 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
29521 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
29524 { echo "$as_me:$LINENO: result
: no
" >&5
29525 echo "${ECHO_T}no
" >&6; }
29526 if test "$PKG_CONFIG" = "no
" ; then
29527 echo "*** A new enough version of pkg
-config was not found.
"
29528 echo "*** See http
://pkgconfig.sourceforge.net
"
29530 if test -f conf.gtktest ; then
29533 echo "*** Could not run GTK
+ test program
, checking why...
"
29534 ac_save_CFLAGS="$CFLAGS"
29535 ac_save_LIBS="$LIBS"
29536 CFLAGS="$CFLAGS $GTK_CFLAGS"
29537 LIBS="$LIBS $GTK_LIBS"
29538 cat >conftest.$ac_ext <<_ACEOF
29541 cat confdefs.h >>conftest.$ac_ext
29542 cat >>conftest.$ac_ext <<_ACEOF
29543 /* end confdefs.h. */
29545 #include <gtk/gtk.h>
29551 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29556 rm -f conftest.$ac_objext conftest$ac_exeext
29557 if { (ac_try="$ac_link"
29558 case "(($ac_try" in
29559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29560 *) ac_try_echo=$ac_try;;
29562 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29563 (eval "$ac_link") 2>conftest.er1
29565 grep -v '^ *+' conftest.er1 >conftest.err
29567 cat conftest.err >&5
29568 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29569 (exit $ac_status); } && {
29570 test -z "$ac_c_werror_flag" ||
29571 test ! -s conftest.err
29572 } && test -s conftest$ac_exeext &&
29573 $as_test_x conftest$ac_exeext; then
29574 echo "*** The
test program compiled
, but did not run. This usually means
"
29575 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
29576 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
29577 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29578 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29579 echo "*** is required on your system"
29581 echo "*** If you have an old version installed, it is best to remove it, although"
29582 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29584 echo "$as_me: failed program was:" >&5
29585 sed 's
/^
/| /' conftest.$ac_ext >&5
29587 echo "*** The test program failed to compile or link. See the file config.log for the"
29588 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29592 conftest$ac_exeext conftest.$ac_ext
29593 CFLAGS="$ac_save_CFLAGS"
29594 LIBS="$ac_save_LIBS"
29608 if test "$wxUSE_SHARED" != "yes"; then
29609 GTK_LIBS="$GTK_LIBS -lX11"
29614 if test -z "$wx_cv_lib_gtk"; then
29615 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29617 # Check whether --with-gtk-prefix was given.
29618 if test "${with_gtk_prefix+set}" = set; then
29619 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29621 gtk_config_prefix=""
29625 # Check whether --with-gtk-exec-prefix was given.
29626 if test "${with_gtk_exec_prefix+set}" = set; then
29627 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29629 gtk_config_exec_prefix=""
29632 # Check whether --enable-gtktest was given.
29633 if test "${enable_gtktest+set}" = set; then
29634 enableval=$enable_gtktest;
29640 for module in . $GTK_MODULES
29644 gtk_config_args="$gtk_config_args gthread"
29649 if test x$gtk_config_exec_prefix != x ; then
29650 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29651 if test x${GTK_CONFIG+set} != xset ; then
29652 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29655 if test x$gtk_config_prefix != x ; then
29656 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29657 if test x${GTK_CONFIG+set} != xset ; then
29658 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29662 # Extract the first word of "gtk-config", so it can be a program name with args.
29663 set dummy gtk-config; ac_word=$2
29664 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29666 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29667 echo $ECHO_N "(cached) $ECHO_C" >&6
29669 case $GTK_CONFIG in
29671 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29675 for as_dir in $PATH
29678 test -z "$as_dir" && as_dir=.
29679 for ac_exec_ext in '' $ac_executable_extensions; do
29680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29681 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29689 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29693 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29694 if test -n "$GTK_CONFIG"; then
29695 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29696 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29698 { echo "$as_me:$LINENO: result: no" >&5
29699 echo "${ECHO_T}no" >&6; }
29703 min_gtk_version=1.2.7
29704 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29705 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29707 if test "$GTK_CONFIG" = "no" ; then
29710 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29711 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29712 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29713 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
29714 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29715 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
29716 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29717 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
29718 if test "x$enable_gtktest" = "xyes" ; then
29719 ac_save_CFLAGS="$CFLAGS"
29720 ac_save_LIBS="$LIBS"
29721 CFLAGS="$CFLAGS $GTK_CFLAGS"
29722 LIBS="$GTK_LIBS $LIBS"
29724 if test "$cross_compiling" = yes; then
29725 echo $ac_n "cross compiling; assumed OK... $ac_c"
29727 cat >conftest.$ac_ext <<_ACEOF
29730 cat confdefs.h >>conftest.$ac_ext
29731 cat >>conftest.$ac_ext <<_ACEOF
29732 /* end confdefs.h. */
29734 #include <gtk/gtk.h>
29736 #include <stdlib.h>
29741 int major, minor, micro;
29744 system ("touch conf.gtktest");
29746 /* HP/UX 9 (%@#!) writes to sscanf strings */
29747 tmp_version = g_strdup("$min_gtk_version");
29748 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29749 printf("%s, bad version string\n", "$min_gtk_version");
29753 if ((gtk_major_version != $gtk_config_major_version) ||
29754 (gtk_minor_version != $gtk_config_minor_version) ||
29755 (gtk_micro_version != $gtk_config_micro_version))
29757 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29758 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29759 gtk_major_version, gtk_minor_version, gtk_micro_version);
29760 printf ("*** was found! If gtk-config was correct, then it is best\n");
29761 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29762 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29763 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29764 printf("*** required on your system.\n");
29765 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29766 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29767 printf("*** before re-running configure\n");
29769 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29770 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29771 (gtk_minor_version != GTK_MINOR_VERSION) ||
29772 (gtk_micro_version != GTK_MICRO_VERSION))
29774 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29775 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29776 printf("*** library (version %d.%d.%d)\n",
29777 gtk_major_version, gtk_minor_version, gtk_micro_version);
29779 #endif /* defined (GTK_MAJOR_VERSION) ... */
29782 if ((gtk_major_version > major) ||
29783 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29784 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29790 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29791 gtk_major_version, gtk_minor_version, gtk_micro_version);
29792 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29793 major, minor, micro);
29794 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29796 printf("*** If you have already installed a sufficiently new version, this error\n");
29797 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29798 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29799 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29800 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29801 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29802 printf("*** so that the correct libraries are found at run-time))\n");
29809 rm -f conftest$ac_exeext
29810 if { (ac_try="$ac_link"
29811 case "(($ac_try" in
29812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29813 *) ac_try_echo=$ac_try;;
29815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29816 (eval "$ac_link") 2>&5
29818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29819 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
29820 { (case "(($ac_try" in
29821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29822 *) ac_try_echo=$ac_try;;
29824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29825 (eval "$ac_try") 2>&5
29827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29828 (exit $ac_status); }; }; then
29831 echo "$as_me: program exited with status $ac_status" >&5
29832 echo "$as_me: failed program was:" >&5
29833 sed 's
/^
/| /' conftest.$ac_ext >&5
29835 ( exit $ac_status )
29838 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29842 CFLAGS="$ac_save_CFLAGS"
29843 LIBS="$ac_save_LIBS"
29846 if test "x$no_gtk" = x ; then
29847 { echo "$as_me:$LINENO: result: yes" >&5
29848 echo "${ECHO_T}yes" >&6; }
29849 wx_cv_lib_gtk=1.2.7
29851 { echo "$as_me:$LINENO: result: no" >&5
29852 echo "${ECHO_T}no" >&6; }
29853 if test "$GTK_CONFIG" = "no" ; then
29854 echo "*** The gtk-config script installed by GTK could not be found"
29855 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29856 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29857 echo "*** full path to gtk-config."
29859 if test -f conf.gtktest ; then
29862 echo "*** Could not run GTK test program, checking why..."
29863 CFLAGS="$CFLAGS $GTK_CFLAGS"
29864 LIBS="$LIBS $GTK_LIBS"
29865 cat >conftest.$ac_ext <<_ACEOF
29868 cat confdefs.h >>conftest.$ac_ext
29869 cat >>conftest.$ac_ext <<_ACEOF
29870 /* end confdefs.h. */
29872 #include <gtk/gtk.h>
29878 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29883 rm -f conftest.$ac_objext conftest$ac_exeext
29884 if { (ac_try="$ac_link"
29885 case "(($ac_try" in
29886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29887 *) ac_try_echo=$ac_try;;
29889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29890 (eval "$ac_link") 2>conftest.er1
29892 grep -v '^
*+' conftest.er1 >conftest.err
29894 cat conftest.err >&5
29895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29896 (exit $ac_status); } && {
29897 test -z "$ac_c_werror_flag" ||
29898 test ! -s conftest.err
29899 } && test -s conftest$ac_exeext &&
29900 $as_test_x conftest$ac_exeext; then
29901 echo "*** The test program compiled, but did not run. This usually means"
29902 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29903 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
29904 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
29905 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
29906 echo "*** is required on your system
"
29908 echo "*** If you have an old version installed
, it is best to remove it
, although
"
29909 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
29911 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
29912 echo "*** came with the system with the
command"
29914 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
29916 echo "$as_me: failed program was
:" >&5
29917 sed 's/^/| /' conftest.$ac_ext >&5
29919 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
29920 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
29921 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
29922 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
29925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29926 conftest$ac_exeext conftest.$ac_ext
29927 CFLAGS="$ac_save_CFLAGS"
29928 LIBS="$ac_save_LIBS"
29940 if test -z "$wx_cv_lib_gtk"; then
29942 # Check whether --with-gtk-prefix was given.
29943 if test "${with_gtk_prefix+set}" = set; then
29944 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29946 gtk_config_prefix=""
29950 # Check whether --with-gtk-exec-prefix was given.
29951 if test "${with_gtk_exec_prefix+set}" = set; then
29952 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29954 gtk_config_exec_prefix=""
29957 # Check whether --enable-gtktest was given.
29958 if test "${enable_gtktest+set}" = set; then
29959 enableval=$enable_gtktest;
29965 for module in . $GTK_MODULES
29969 gtk_config_args="$gtk_config_args gthread
"
29974 if test x$gtk_config_exec_prefix != x ; then
29975 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29976 if test x${GTK_CONFIG+set} != xset ; then
29977 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29980 if test x$gtk_config_prefix != x ; then
29981 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29982 if test x${GTK_CONFIG+set} != xset ; then
29983 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29987 # Extract the first word of "gtk
-config", so it can be a program name with args.
29988 set dummy gtk-config; ac_word=$2
29989 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
29990 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
29991 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29992 echo $ECHO_N "(cached
) $ECHO_C" >&6
29994 case $GTK_CONFIG in
29996 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30000 for as_dir in $PATH
30003 test -z "$as_dir" && as_dir=.
30004 for ac_exec_ext in '' $ac_executable_extensions; do
30005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30006 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30007 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
30014 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
30018 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30019 if test -n "$GTK_CONFIG"; then
30020 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
30021 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30023 { echo "$as_me:$LINENO: result
: no
" >&5
30024 echo "${ECHO_T}no
" >&6; }
30028 min_gtk_version=1.2.3
30029 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
30030 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
30032 if test "$GTK_CONFIG" = "no
" ; then
30035 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30036 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30037 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30038 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30039 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30040 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30041 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30042 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30043 if test "x
$enable_gtktest" = "xyes
" ; then
30044 ac_save_CFLAGS="$CFLAGS"
30045 ac_save_LIBS="$LIBS"
30046 CFLAGS="$CFLAGS $GTK_CFLAGS"
30047 LIBS="$GTK_LIBS $LIBS"
30049 if test "$cross_compiling" = yes; then
30050 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
30052 cat >conftest.$ac_ext <<_ACEOF
30055 cat confdefs.h >>conftest.$ac_ext
30056 cat >>conftest.$ac_ext <<_ACEOF
30057 /* end confdefs.h. */
30059 #include <gtk/gtk.h>
30061 #include <stdlib.h>
30066 int major, minor, micro;
30069 system ("touch conf.gtktest
");
30071 /* HP/UX 9 (%@#!) writes to sscanf strings */
30072 tmp_version = g_strdup("$min_gtk_version");
30073 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
30074 printf("%s
, bad version string
\n", "$min_gtk_version");
30078 if ((gtk_major_version != $gtk_config_major_version) ||
30079 (gtk_minor_version != $gtk_config_minor_version) ||
30080 (gtk_micro_version != $gtk_config_micro_version))
30082 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
30083 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30084 gtk_major_version, gtk_minor_version, gtk_micro_version);
30085 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
30086 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
30087 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
30088 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
30089 printf("*** required on your system.
\n");
30090 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
30091 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
30092 printf("*** before re
-running configure
\n");
30094 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30095 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30096 (gtk_minor_version != GTK_MINOR_VERSION) ||
30097 (gtk_micro_version != GTK_MICRO_VERSION))
30099 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
30100 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30101 printf("*** library
(version
%d.
%d.
%d
)\n",
30102 gtk_major_version, gtk_minor_version, gtk_micro_version);
30104 #endif /* defined (GTK_MAJOR_VERSION) ... */
30107 if ((gtk_major_version > major) ||
30108 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30109 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30115 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
30116 gtk_major_version, gtk_minor_version, gtk_micro_version);
30117 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
30118 major, minor, micro);
30119 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
30121 printf("*** If you have already installed a sufficiently new version
, this error
\n");
30122 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
30123 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
30124 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
30125 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
30126 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
30127 printf("*** so that the correct libraries are found
at run
-time))\n");
30134 rm -f conftest$ac_exeext
30135 if { (ac_try="$ac_link"
30136 case "(($ac_try" in
30137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30138 *) ac_try_echo=$ac_try;;
30140 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30141 (eval "$ac_link") 2>&5
30143 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30144 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30145 { (case "(($ac_try" in
30146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30147 *) ac_try_echo=$ac_try;;
30149 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30150 (eval "$ac_try") 2>&5
30152 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30153 (exit $ac_status); }; }; then
30156 echo "$as_me: program exited with status
$ac_status" >&5
30157 echo "$as_me: failed program was
:" >&5
30158 sed 's/^/| /' conftest.$ac_ext >&5
30160 ( exit $ac_status )
30163 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30167 CFLAGS="$ac_save_CFLAGS"
30168 LIBS="$ac_save_LIBS"
30171 if test "x
$no_gtk" = x ; then
30172 { echo "$as_me:$LINENO: result
: yes" >&5
30173 echo "${ECHO_T}yes" >&6; }
30174 wx_cv_lib_gtk=1.2.3
30176 { echo "$as_me:$LINENO: result
: no
" >&5
30177 echo "${ECHO_T}no
" >&6; }
30178 if test "$GTK_CONFIG" = "no
" ; then
30179 echo "*** The gtk
-config script installed by GTK could not be found
"
30180 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
30181 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
30182 echo "*** full path to gtk
-config.
"
30184 if test -f conf.gtktest ; then
30187 echo "*** Could not run GTK
test program
, checking why...
"
30188 CFLAGS="$CFLAGS $GTK_CFLAGS"
30189 LIBS="$LIBS $GTK_LIBS"
30190 cat >conftest.$ac_ext <<_ACEOF
30193 cat confdefs.h >>conftest.$ac_ext
30194 cat >>conftest.$ac_ext <<_ACEOF
30195 /* end confdefs.h. */
30197 #include <gtk/gtk.h>
30203 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30208 rm -f conftest.$ac_objext conftest$ac_exeext
30209 if { (ac_try="$ac_link"
30210 case "(($ac_try" in
30211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30212 *) ac_try_echo=$ac_try;;
30214 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30215 (eval "$ac_link") 2>conftest.er1
30217 grep -v '^ *+' conftest.er1 >conftest.err
30219 cat conftest.err >&5
30220 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30221 (exit $ac_status); } && {
30222 test -z "$ac_c_werror_flag" ||
30223 test ! -s conftest.err
30224 } && test -s conftest$ac_exeext &&
30225 $as_test_x conftest$ac_exeext; then
30226 echo "*** The
test program compiled
, but did not run. This usually means
"
30227 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
30228 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
30229 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30230 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30231 echo "*** is required on your system"
30233 echo "*** If you have an old version installed, it is best to remove it, although"
30234 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30236 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30237 echo "*** came with the system with the command"
30239 echo "*** rpm --erase --nodeps gtk gtk-devel"
30241 echo "$as_me: failed program was:" >&5
30242 sed 's
/^
/| /' conftest.$ac_ext >&5
30244 echo "*** The test program failed to compile or link. See the file config.log for the"
30245 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30246 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30247 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30251 conftest$ac_exeext conftest.$ac_ext
30252 CFLAGS="$ac_save_CFLAGS"
30253 LIBS="$ac_save_LIBS"
30268 if test -z "$wx_cv_lib_gtk"; then
30271 wx_cv_cflags_gtk=$GTK_CFLAGS
30272 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
30279 if test "$gtk_version_cached" = 1; then
30280 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30281 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30284 case "$wx_cv_lib_gtk" in
30293 *) { { echo "$as_me:$LINENO: error:
30294 The development files for GTK+ were not found. For GTK+ 2, please
30295 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30296 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30297 and that the version is 1.2.3 or above. Also check that the
30298 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
30299 --libs' are in the LD_LIBRARY_PATH or equivalent.
30301 echo "$as_me: error:
30302 The development files for GTK+ were not found. For GTK+ 2, please
30303 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30304 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30305 and that the version is 1.2.3 or above. Also check that the
30306 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
30307 --libs' are in the LD_LIBRARY_PATH or equivalent.
30309 { (exit 1); exit 1; }; }
30313 if test "$WXGTK2" = 1; then
30314 save_CFLAGS="$CFLAGS"
30316 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30317 LIBS="$LIBS $wx_cv_libs_gtk"
30319 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30320 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30321 cat >conftest.$ac_ext <<_ACEOF
30324 cat confdefs.h >>conftest.$ac_ext
30325 cat >>conftest.$ac_ext <<_ACEOF
30326 /* end confdefs.h. */
30328 #include <gtk/gtk.h>
30334 #if !GTK_CHECK_VERSION(2,18,0)
30342 rm -f conftest.$ac_objext
30343 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
30351 grep -v '^
*+' conftest.er1 >conftest.err
30353 cat conftest.err >&5
30354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30355 (exit $ac_status); } && {
30356 test -z "$ac_c_werror_flag" ||
30357 test ! -s conftest.err
30358 } && test -s conftest.$ac_objext; then
30360 cat >>confdefs.h <<\_ACEOF
30361 #define __WXGTK218__ 1
30364 cat >>confdefs.h <<\_ACEOF
30365 #define __WXGTK210__ 1
30368 cat >>confdefs.h <<\_ACEOF
30369 #define __WXGTK26__ 1
30372 { echo "$as_me:$LINENO: result: yes" >&5
30373 echo "${ECHO_T}yes" >&6; }
30377 echo "$as_me: failed program was:" >&5
30378 sed 's
/^
/| /' conftest.$ac_ext >&5
30381 { echo "$as_me:$LINENO: result: no" >&5
30382 echo "${ECHO_T}no" >&6; }
30387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30389 if test "$ac_wxgtk218" = 0; then
30390 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30391 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30392 cat >conftest.$ac_ext <<_ACEOF
30395 cat confdefs.h >>conftest.$ac_ext
30396 cat >>conftest.$ac_ext <<_ACEOF
30397 /* end confdefs.h. */
30399 #include <gtk/gtk.h>
30405 #if !GTK_CHECK_VERSION(2,10,0)
30413 rm -f conftest.$ac_objext
30414 if { (ac_try="$ac_compile"
30415 case "(($ac_try" in
30416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30417 *) ac_try_echo=$ac_try;;
30419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30420 (eval "$ac_compile") 2>conftest.er1
30422 grep -v '^
*+' conftest.er1 >conftest.err
30424 cat conftest.err >&5
30425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30426 (exit $ac_status); } && {
30427 test -z "$ac_c_werror_flag" ||
30428 test ! -s conftest.err
30429 } && test -s conftest.$ac_objext; then
30431 cat >>confdefs.h <<\_ACEOF
30432 #define __WXGTK210__ 1
30435 cat >>confdefs.h <<\_ACEOF
30436 #define __WXGTK26__ 1
30439 { echo "$as_me:$LINENO: result: yes" >&5
30440 echo "${ECHO_T}yes" >&6; }
30444 echo "$as_me: failed program was:" >&5
30445 sed 's
/^
/| /' conftest.$ac_ext >&5
30448 { echo "$as_me:$LINENO: result: no" >&5
30449 echo "${ECHO_T}no" >&6; }
30454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30456 if test "$ac_wxgtk210" = 0; then
30457 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30458 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30459 cat >conftest.$ac_ext <<_ACEOF
30462 cat confdefs.h >>conftest.$ac_ext
30463 cat >>conftest.$ac_ext <<_ACEOF
30464 /* end confdefs.h. */
30466 #include <gtk/gtk.h>
30472 #if !GTK_CHECK_VERSION(2,6,0)
30480 rm -f conftest.$ac_objext
30481 if { (ac_try="$ac_compile"
30482 case "(($ac_try" in
30483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30484 *) ac_try_echo=$ac_try;;
30486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30487 (eval "$ac_compile") 2>conftest.er1
30489 grep -v '^
*+' conftest.er1 >conftest.err
30491 cat conftest.err >&5
30492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30493 (exit $ac_status); } && {
30494 test -z "$ac_c_werror_flag" ||
30495 test ! -s conftest.err
30496 } && test -s conftest.$ac_objext; then
30498 cat >>confdefs.h <<\_ACEOF
30499 #define __WXGTK26__ 1
30502 { echo "$as_me:$LINENO: result: yes" >&5
30503 echo "${ECHO_T}yes" >&6; }
30507 echo "$as_me: failed program was:" >&5
30508 sed 's
/^
/| /' conftest.$ac_ext >&5
30511 { echo "$as_me:$LINENO: result: no" >&5
30512 echo "${ECHO_T}no" >&6; }
30517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30521 CFLAGS="$save_CFLAGS"
30524 if test "$wxUSE_UNICODE" = "yes"; then
30525 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30526 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30530 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30531 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30532 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30533 echo $ECHO_N "(cached) $ECHO_C" >&6
30535 ac_check_lib_save_LIBS=$LIBS
30537 cat >conftest.$ac_ext <<_ACEOF
30540 cat confdefs.h >>conftest.$ac_ext
30541 cat >>conftest.$ac_ext <<_ACEOF
30542 /* end confdefs.h. */
30544 /* Override any GCC internal prototype to avoid an error.
30545 Use char because int might match the return type of a GCC
30546 builtin and then its argument prototype would still apply. */
30550 char gdk_im_open ();
30554 return gdk_im_open ();
30559 rm -f conftest.$ac_objext conftest$ac_exeext
30560 if { (ac_try="$ac_link"
30561 case "(($ac_try" in
30562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30563 *) ac_try_echo=$ac_try;;
30565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30566 (eval "$ac_link") 2>conftest.er1
30568 grep -v '^
*+' conftest.er1 >conftest.err
30570 cat conftest.err >&5
30571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30572 (exit $ac_status); } && {
30573 test -z "$ac_c_werror_flag" ||
30574 test ! -s conftest.err
30575 } && test -s conftest$ac_exeext &&
30576 $as_test_x conftest$ac_exeext; then
30577 ac_cv_lib_gdk_gdk_im_open=yes
30579 echo "$as_me: failed program was:" >&5
30580 sed 's
/^
/| /' conftest.$ac_ext >&5
30582 ac_cv_lib_gdk_gdk_im_open=no
30585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30586 conftest$ac_exeext conftest.$ac_ext
30587 LIBS=$ac_check_lib_save_LIBS
30589 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30590 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30591 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30592 cat >>confdefs.h <<\_ACEOF
30599 if test "$USE_DARWIN" != 1; then
30601 for ac_func in poll
30603 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30604 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30606 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30607 echo $ECHO_N "(cached) $ECHO_C" >&6
30609 cat >conftest.$ac_ext <<_ACEOF
30612 cat confdefs.h >>conftest.$ac_ext
30613 cat >>conftest.$ac_ext <<_ACEOF
30614 /* end confdefs.h. */
30615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30617 #define $ac_func innocuous_$ac_func
30619 /* System header to define __stub macros and hopefully few prototypes,
30620 which can conflict with char $ac_func (); below.
30621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30622 <limits.h> exists even on freestanding compilers. */
30625 # include <limits.h>
30627 # include <assert.h>
30632 /* Override any GCC internal prototype to avoid an error.
30633 Use char because int might match the return type of a GCC
30634 builtin and then its argument prototype would still apply. */
30639 /* The GNU C library defines this for functions which it implements
30640 to always fail with ENOSYS. Some functions are actually named
30641 something starting with __ and the normal name is an alias. */
30642 #if defined __stub_$ac_func || defined __stub___$ac_func
30649 return $ac_func ();
30654 rm -f conftest.$ac_objext conftest$ac_exeext
30655 if { (ac_try="$ac_link"
30656 case "(($ac_try" in
30657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30658 *) ac_try_echo=$ac_try;;
30660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30661 (eval "$ac_link") 2>conftest.er1
30663 grep -v '^
*+' conftest.er1 >conftest.err
30665 cat conftest.err >&5
30666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30667 (exit $ac_status); } && {
30668 test -z "$ac_c_werror_flag" ||
30669 test ! -s conftest.err
30670 } && test -s conftest$ac_exeext &&
30671 $as_test_x conftest$ac_exeext; then
30672 eval "$as_ac_var=yes"
30674 echo "$as_me: failed program was:" >&5
30675 sed 's
/^
/| /' conftest.$ac_ext >&5
30677 eval "$as_ac_var=no"
30680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30681 conftest$ac_exeext conftest.$ac_ext
30683 ac_res=`eval echo '${'$as_ac_var'}'`
30684 { echo "$as_me:$LINENO: result: $ac_res" >&5
30685 echo "${ECHO_T}$ac_res" >&6; }
30686 if test `eval echo '${'$as_ac_var'}'` = yes; then
30687 cat >>confdefs.h <<_ACEOF
30688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30697 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
30698 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30700 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
30702 AFMINSTALL=afminstall
30706 if test "$wxUSE_GPE" = "yes"; then
30707 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
30708 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
30711 for ac_dir in $SEARCH_LIB;
30713 for ac_extension in a so sl dylib dll.a; do
30714 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30715 ac_find_libraries=$ac_dir
30721 if test "$ac_find_libraries" != "" ; then
30723 if test "$ac_find_libraries" = "default location"; then
30726 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30728 if test $result = 0; then
30731 ac_path_to_link=" -L$ac_find_libraries"
30735 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30737 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30738 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30740 { echo "$as_me:$LINENO: result: not found" >&5
30741 echo "${ECHO_T}not found" >&6; }
30747 if test "$wxUSE_MGL" = 1; then
30748 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30749 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30750 if test "x$MGL_ROOT" = x ; then
30751 { echo "$as_me:$LINENO: result: not found" >&5
30752 echo "${ECHO_T}not found" >&6; }
30753 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30754 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30755 { (exit 1); exit 1; }; }
30757 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30758 echo "${ECHO_T}$MGL_ROOT" >&6; }
30761 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30762 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30765 if test "x$wxUSE_SHARED" = xyes ; then
30766 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30768 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30772 mgl_os_candidates="dos32/dj2"
30775 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30776 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30777 { (exit 1); exit 1; }; }
30783 for mgl_os_i in $mgl_os_candidates ; do
30784 if test "x$mgl_os" = x ; then
30785 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30786 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30787 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30792 if test "x$mgl_lib_type" = x ; then
30793 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30794 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30795 mgl_lib_type=release
30802 if test "x$mgl_os" = x ; then
30803 { echo "$as_me:$LINENO: result: not found" >&5
30804 echo "${ECHO_T}not found" >&6; }
30805 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30806 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30807 { (exit 1); exit 1; }; }
30809 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30810 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30812 wxUSE_UNIVERSAL="yes"
30814 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30815 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30817 AFMINSTALL=afminstall
30822 if test "$wxUSE_DFB" = 1; then
30825 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30826 if test -n "$ac_tool_prefix"; then
30827 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30828 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30829 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30831 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30832 echo $ECHO_N "(cached) $ECHO_C" >&6
30834 case $PKG_CONFIG in
30836 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30840 for as_dir in $PATH
30843 test -z "$as_dir" && as_dir=.
30844 for ac_exec_ext in '' $ac_executable_extensions; do
30845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30846 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30857 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30858 if test -n "$PKG_CONFIG"; then
30859 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30860 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30862 { echo "$as_me:$LINENO: result: no" >&5
30863 echo "${ECHO_T}no" >&6; }
30868 if test -z "$ac_cv_path_PKG_CONFIG"; then
30869 ac_pt_PKG_CONFIG=$PKG_CONFIG
30870 # Extract the first word of "pkg-config", so it can be a program name with args.
30871 set dummy pkg-config; ac_word=$2
30872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30874 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30875 echo $ECHO_N "(cached) $ECHO_C" >&6
30877 case $ac_pt_PKG_CONFIG in
30879 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30883 for as_dir in $PATH
30886 test -z "$as_dir" && as_dir=.
30887 for ac_exec_ext in '' $ac_executable_extensions; do
30888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30889 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30900 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30901 if test -n "$ac_pt_PKG_CONFIG"; then
30902 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30903 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30905 { echo "$as_me:$LINENO: result: no" >&5
30906 echo "${ECHO_T}no" >&6; }
30909 if test "x$ac_pt_PKG_CONFIG" = x; then
30912 case $cross_compiling:$ac_tool_warned in
30914 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30915 whose name does not start with the host triplet. If you think this
30916 configuration is useful to you, please write to autoconf@gnu.org." >&5
30917 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30918 whose name does not start with the host triplet. If you think this
30919 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30920 ac_tool_warned=yes ;;
30922 PKG_CONFIG=$ac_pt_PKG_CONFIG
30925 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30929 if test -n "$PKG_CONFIG"; then
30930 _pkg_min_version=0.9.0
30931 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30932 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30933 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30934 { echo "$as_me:$LINENO: result: yes" >&5
30935 echo "${ECHO_T}yes" >&6; }
30937 { echo "$as_me:$LINENO: result: no" >&5
30938 echo "${ECHO_T}no" >&6; }
30946 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30947 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
30949 if test -n "$PKG_CONFIG"; then
30950 if test -n "$DIRECTFB_CFLAGS"; then
30951 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30953 if test -n "$PKG_CONFIG" && \
30954 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30955 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30958 (exit $ac_status); }; then
30959 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30967 if test -n "$PKG_CONFIG"; then
30968 if test -n "$DIRECTFB_LIBS"; then
30969 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30971 if test -n "$PKG_CONFIG" && \
30972 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30973 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30976 (exit $ac_status); }; then
30977 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30988 if test $pkg_failed = yes; then
30990 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30991 _pkg_short_errors_supported=yes
30993 _pkg_short_errors_supported=no
30995 if test $_pkg_short_errors_supported = yes; then
30996 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30998 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31000 # Put the nasty error message in config.log where it belongs
31001 echo "$DIRECTFB_PKG_ERRORS" >&5
31004 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31005 echo "$as_me: error: DirectFB not found." >&2;}
31006 { (exit 1); exit 1; }; }
31009 elif test $pkg_failed = untried; then
31011 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31012 echo "$as_me: error: DirectFB not found." >&2;}
31013 { (exit 1); exit 1; }; }
31017 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31018 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31019 { echo "$as_me:$LINENO: result: yes" >&5
31020 echo "${ECHO_T}yes" >&6; }
31022 wxUSE_UNIVERSAL="yes"
31023 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31024 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31031 if test "$wxUSE_MICROWIN" = 1; then
31032 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31033 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31034 if test "x$MICROWINDOWS" = x ; then
31035 { echo "$as_me:$LINENO: result: not found" >&5
31036 echo "${ECHO_T}not found" >&6; }
31037 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31038 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31039 { (exit 1); exit 1; }; }
31041 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31042 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31045 if test -f $MICROWINDOWS/lib/libmwin.a; then
31046 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
31047 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
31049 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31050 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31051 { (exit 1); exit 1; }; }
31054 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31055 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31057 wxUSE_UNIVERSAL="yes"
31059 AFMINSTALL=afminstall
31061 GUIDIST=MICROWIN_DIST
31063 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31066 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31067 { echo "$as_me:$LINENO: checking for X" >&5
31068 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31071 # Check whether --with-x was given.
31072 if test "${with_x+set}" = set; then
31076 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
31077 if test "x$with_x" = xno; then
31078 # The user explicitly disabled X.
31081 case $x_includes,$x_libraries in #(
31082 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31083 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
31084 { (exit 1); exit 1; }; };; #(
31085 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31086 echo $ECHO_N "(cached) $ECHO_C" >&6
31088 # One or both of the vars are not set, and there is no cached value.
31089 ac_x_includes=no ac_x_libraries=no
31090 rm -f -r conftest.dir
31091 if mkdir conftest.dir; then
31093 cat >Imakefile <<'_ACEOF'
31095 @echo incroot='${INCROOT}'
31097 @echo usrlibdir='${USRLIBDIR}'
31099 @echo libdir='${LIBDIR}'
31101 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31102 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31103 for ac_var in incroot usrlibdir libdir; do
31104 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
31106 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31107 for ac_extension in a so sl; do
31108 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31109 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31110 ac_im_usrlibdir=$ac_im_libdir; break
31113 # Screen out bogus values from the imake configuration. They are
31114 # bogus both because they are the default anyway, and because
31115 # using them would break gcc on systems where it needs fixed includes.
31116 case $ac_im_incroot in
31117 /usr/include) ac_x_includes= ;;
31118 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31120 case $ac_im_usrlibdir in
31121 /usr/lib | /lib) ;;
31122 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31126 rm -f -r conftest.dir
31129 # Standard set of common directories for X headers.
31130 # Check X11 before X11Rn because it is often a symlink to the current release.
31142 /usr
/local
/X
11/include
31143 /usr
/local
/X
11R
6/include
31144 /usr
/local
/X
11R
5/include
31145 /usr
/local
/X
11R
4/include
31147 /usr
/local
/include
/X11
31148 /usr
/local
/include
/X11R6
31149 /usr
/local
/include
/X11R5
31150 /usr
/local
/include
/X11R4
31154 /usr
/XFree
86/include
/X11
31158 /usr
/unsupported
/include
31159 /usr
/athena
/include
31160 /usr
/local
/x
11r
5/include
31161 /usr
/lpp
/Xamples
/include
31163 /usr
/openwin
/include
31164 /usr
/openwin
/share
/include
'
31166 if test "$ac_x_includes" = no; then
31167 # Guess where to find include files, by looking for Xlib.h.
31168 # First, try using that file with no special directory specified.
31169 cat >conftest.$ac_ext <<_ACEOF
31172 cat confdefs.h >>conftest.$ac_ext
31173 cat >>conftest.$ac_ext <<_ACEOF
31174 /* end confdefs.h. */
31175 #include <X11/Xlib.h>
31177 if { (ac_try="$ac_cpp conftest.$ac_ext"
31178 case "(($ac_try" in
31179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31180 *) ac_try_echo=$ac_try;;
31182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31183 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31185 grep -v '^
*+' conftest.er1 >conftest.err
31187 cat conftest.err >&5
31188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31189 (exit $ac_status); } >/dev/null && {
31190 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31191 test ! -s conftest.err
31193 # We can compile using X headers with no special include directory.
31196 echo "$as_me: failed program was:" >&5
31197 sed 's
/^
/| /' conftest.$ac_ext >&5
31199 for ac_dir in $ac_x_header_dirs; do
31200 if test -r "$ac_dir/X11/Xlib.h"; then
31201 ac_x_includes=$ac_dir
31207 rm -f conftest.err conftest.$ac_ext
31208 fi # $ac_x_includes = no
31210 if test "$ac_x_libraries" = no; then
31211 # Check for the libraries.
31212 # See if we find them without any special options.
31213 # Don't add to
$LIBS permanently.
31216 cat >conftest.
$ac_ext <<_ACEOF
31219 cat confdefs.h
>>conftest.
$ac_ext
31220 cat >>conftest.
$ac_ext <<_ACEOF
31221 /* end confdefs.h. */
31222 #include <X11/Xlib.h>
31231 rm -f conftest.
$ac_objext conftest
$ac_exeext
31232 if { (ac_try
="$ac_link"
31233 case "(($ac_try" in
31234 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31235 *) ac_try_echo=$ac_try;;
31237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31238 (eval "$ac_link") 2>conftest.er1
31240 grep -v '^ *+' conftest.er1 >conftest.err
31242 cat conftest.err >&5
31243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31244 (exit $ac_status); } && {
31245 test -z "$ac_c_werror_flag" ||
31246 test ! -s conftest.err
31247 } && test -s conftest$ac_exeext &&
31248 $as_test_x conftest$ac_exeext; then
31250 # We can link X programs with no special library path.
31253 echo "$as_me: failed program was:" >&5
31254 sed 's/^/| /' conftest.$ac_ext >&5
31257 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
31259 # Don't even attempt the hair of trying to link an X program!
31260 for ac_extension in a so sl; do
31261 if test -r "$ac_dir/libX11.$ac_extension"; then
31262 ac_x_libraries=$ac_dir
31269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31270 conftest$ac_exeext conftest.$ac_ext
31271 fi # $ac_x_libraries = no
31273 case $ac_x_includes,$ac_x_libraries in #(
31274 no,* | *,no | *\'*)
31275 # Didn't find X, or a directory has "'" in its name.
31276 ac_cv_have_x="have_x=no";; #(
31278 # Record where we found X for the cache.
31279 ac_cv_have_x="have_x=yes\
31280 ac_x_includes='$ac_x_includes'\
31281 ac_x_libraries='$ac_x_libraries'"
31287 eval "$ac_cv_have_x"
31290 if test "$have_x" != yes; then
31291 { echo "$as_me:$LINENO: result: $have_x" >&5
31292 echo "${ECHO_T}$have_x" >&6; }
31295 # If each of the values was on the command line, it overrides each guess.
31296 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31297 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31298 # Update the cache value to reflect the command line values.
31299 ac_cv_have_x="have_x=yes\
31300 ac_x_includes='$x_includes'\
31301 ac_x_libraries='$x_libraries'"
31302 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31303 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31306 if test "$no_x" = yes; then
31307 # Not all programs may use this symbol, but it does not hurt to define it.
31309 cat >>confdefs.h <<\_ACEOF
31310 #define X_DISPLAY_MISSING 1
31313 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31315 if test -n "$x_includes"; then
31316 X_CFLAGS="$X_CFLAGS -I$x_includes"
31319 # It would also be nice to do this for all -L options, not just this one.
31320 if test -n "$x_libraries"; then
31321 X_LIBS="$X_LIBS -L$x_libraries"
31322 # For Solaris; some versions of Sun CC require a space after -R and
31323 # others require no space. Words are not sufficient . . . .
31324 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31325 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31326 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31327 ac_xsave_c_werror_flag=$ac_c_werror_flag
31328 ac_c_werror_flag=yes
31329 cat >conftest.$ac_ext <<_ACEOF
31332 cat confdefs.h >>conftest.$ac_ext
31333 cat >>conftest.$ac_ext <<_ACEOF
31334 /* end confdefs.h. */
31344 rm -f conftest.$ac_objext conftest$ac_exeext
31345 if { (ac_try="$ac_link"
31346 case "(($ac_try" in
31347 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31348 *) ac_try_echo
=$ac_try;;
31350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31351 (eval "$ac_link") 2>conftest.er1
31353 grep -v '^ *+' conftest.er1
>conftest.err
31355 cat conftest.err
>&5
31356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31357 (exit $ac_status); } && {
31358 test -z "$ac_c_werror_flag" ||
31359 test ! -s conftest.err
31360 } && test -s conftest
$ac_exeext &&
31361 $as_test_x conftest
$ac_exeext; then
31362 { echo "$as_me:$LINENO: result: no" >&5
31363 echo "${ECHO_T}no" >&6; }
31364 X_LIBS
="$X_LIBS -R$x_libraries"
31366 echo "$as_me: failed program was:" >&5
31367 sed 's/^/| /' conftest.
$ac_ext >&5
31369 LIBS
="$ac_xsave_LIBS -R $x_libraries"
31370 cat >conftest.
$ac_ext <<_ACEOF
31373 cat confdefs.h
>>conftest.
$ac_ext
31374 cat >>conftest.
$ac_ext <<_ACEOF
31375 /* end confdefs.h. */
31385 rm -f conftest.
$ac_objext conftest
$ac_exeext
31386 if { (ac_try
="$ac_link"
31387 case "(($ac_try" in
31388 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31389 *) ac_try_echo=$ac_try;;
31391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31392 (eval "$ac_link") 2>conftest.er1
31394 grep -v '^ *+' conftest.er1 >conftest.err
31396 cat conftest.err >&5
31397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31398 (exit $ac_status); } && {
31399 test -z "$ac_c_werror_flag" ||
31400 test ! -s conftest.err
31401 } && test -s conftest$ac_exeext &&
31402 $as_test_x conftest$ac_exeext; then
31403 { echo "$as_me:$LINENO: result: yes" >&5
31404 echo "${ECHO_T}yes" >&6; }
31405 X_LIBS="$X_LIBS -R $x_libraries"
31407 echo "$as_me: failed program was:" >&5
31408 sed 's/^/| /' conftest.$ac_ext >&5
31410 { echo "$as_me:$LINENO: result: neither works" >&5
31411 echo "${ECHO_T}neither works" >&6; }
31414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31415 conftest$ac_exeext conftest.$ac_ext
31418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31419 conftest$ac_exeext conftest.$ac_ext
31420 ac_c_werror_flag=$ac_xsave_c_werror_flag
31421 LIBS=$ac_xsave_LIBS
31424 # Check for system-dependent libraries X programs must link with.
31425 # Do this before checking for the system-independent R6 libraries
31426 # (-lICE), since we may need -lsocket or whatever for X linking.
31428 if test "$ISC" = yes; then
31429 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31431 # Martyn Johnson says this is needed for Ultrix, if the X
31432 # libraries were built with DECnet support. And Karl Berry says
31433 # the Alpha needs dnet_stub (dnet does not exist).
31434 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31435 cat >conftest.$ac_ext <<_ACEOF
31438 cat confdefs.h >>conftest.$ac_ext
31439 cat >>conftest.$ac_ext <<_ACEOF
31440 /* end confdefs.h. */
31442 /* Override any GCC internal prototype to avoid an error.
31443 Use char because int might match the return type of a GCC
31444 builtin and then its argument prototype would still apply. */
31448 char XOpenDisplay ();
31452 return XOpenDisplay ();
31457 rm -f conftest.$ac_objext conftest$ac_exeext
31458 if { (ac_try="$ac_link"
31459 case "(($ac_try" in
31460 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31461 *) ac_try_echo
=$ac_try;;
31463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31464 (eval "$ac_link") 2>conftest.er1
31466 grep -v '^ *+' conftest.er1
>conftest.err
31468 cat conftest.err
>&5
31469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31470 (exit $ac_status); } && {
31471 test -z "$ac_c_werror_flag" ||
31472 test ! -s conftest.err
31473 } && test -s conftest
$ac_exeext &&
31474 $as_test_x conftest
$ac_exeext; then
31477 echo "$as_me: failed program was:" >&5
31478 sed 's/^/| /' conftest.
$ac_ext >&5
31480 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31481 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31482 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31483 echo $ECHO_N "(cached) $ECHO_C" >&6
31485 ac_check_lib_save_LIBS
=$LIBS
31486 LIBS
="-ldnet $LIBS"
31487 cat >conftest.
$ac_ext <<_ACEOF
31490 cat confdefs.h
>>conftest.
$ac_ext
31491 cat >>conftest.
$ac_ext <<_ACEOF
31492 /* end confdefs.h. */
31494 /* Override any GCC internal prototype to avoid an error.
31495 Use char because int might match the return type of a GCC
31496 builtin and then its argument prototype would still apply. */
31504 return dnet_ntoa ();
31509 rm -f conftest.
$ac_objext conftest
$ac_exeext
31510 if { (ac_try
="$ac_link"
31511 case "(($ac_try" in
31512 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31513 *) ac_try_echo=$ac_try;;
31515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31516 (eval "$ac_link") 2>conftest.er1
31518 grep -v '^ *+' conftest.er1 >conftest.err
31520 cat conftest.err >&5
31521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31522 (exit $ac_status); } && {
31523 test -z "$ac_c_werror_flag" ||
31524 test ! -s conftest.err
31525 } && test -s conftest$ac_exeext &&
31526 $as_test_x conftest$ac_exeext; then
31527 ac_cv_lib_dnet_dnet_ntoa=yes
31529 echo "$as_me: failed program was:" >&5
31530 sed 's/^/| /' conftest.$ac_ext >&5
31532 ac_cv_lib_dnet_dnet_ntoa=no
31535 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31536 conftest$ac_exeext conftest.$ac_ext
31537 LIBS=$ac_check_lib_save_LIBS
31539 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31540 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31541 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31542 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31545 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31546 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31547 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31548 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31549 echo $ECHO_N "(cached) $ECHO_C" >&6
31551 ac_check_lib_save_LIBS=$LIBS
31552 LIBS="-ldnet_stub $LIBS"
31553 cat >conftest.$ac_ext <<_ACEOF
31556 cat confdefs.h >>conftest.$ac_ext
31557 cat >>conftest.$ac_ext <<_ACEOF
31558 /* end confdefs.h. */
31560 /* Override any GCC internal prototype to avoid an error.
31561 Use char because int might match the return type of a GCC
31562 builtin and then its argument prototype would still apply. */
31570 return dnet_ntoa ();
31575 rm -f conftest.$ac_objext conftest$ac_exeext
31576 if { (ac_try="$ac_link"
31577 case "(($ac_try" in
31578 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31579 *) ac_try_echo
=$ac_try;;
31581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31582 (eval "$ac_link") 2>conftest.er1
31584 grep -v '^ *+' conftest.er1
>conftest.err
31586 cat conftest.err
>&5
31587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31588 (exit $ac_status); } && {
31589 test -z "$ac_c_werror_flag" ||
31590 test ! -s conftest.err
31591 } && test -s conftest
$ac_exeext &&
31592 $as_test_x conftest
$ac_exeext; then
31593 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
31595 echo "$as_me: failed program was:" >&5
31596 sed 's/^/| /' conftest.
$ac_ext >&5
31598 ac_cv_lib_dnet_stub_dnet_ntoa
=no
31601 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31602 conftest
$ac_exeext conftest.
$ac_ext
31603 LIBS
=$ac_check_lib_save_LIBS
31605 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31606 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31607 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31608 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
31614 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31615 conftest
$ac_exeext conftest.
$ac_ext
31616 LIBS
="$ac_xsave_LIBS"
31618 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31619 # to get the SysV transport functions.
31620 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31622 # The nsl library prevents programs from opening the X display
31623 # on Irix 5.2, according to T.E. Dickey.
31624 # The functions gethostbyname, getservbyname, and inet_addr are
31625 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31626 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31627 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31628 if test "${ac_cv_func_gethostbyname+set}" = set; then
31629 echo $ECHO_N "(cached) $ECHO_C" >&6
31631 cat >conftest.
$ac_ext <<_ACEOF
31634 cat confdefs.h
>>conftest.
$ac_ext
31635 cat >>conftest.
$ac_ext <<_ACEOF
31636 /* end confdefs.h. */
31637 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31639 #define gethostbyname innocuous_gethostbyname
31641 /* System header to define __stub macros and hopefully few prototypes,
31642 which can conflict with char gethostbyname (); below.
31643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31644 <limits.h> exists even on freestanding compilers. */
31647 # include <limits.h>
31649 # include <assert.h>
31652 #undef gethostbyname
31654 /* Override any GCC internal prototype to avoid an error.
31655 Use char because int might match the return type of a GCC
31656 builtin and then its argument prototype would still apply. */
31660 char gethostbyname ();
31661 /* The GNU C library defines this for functions which it implements
31662 to always fail with ENOSYS. Some functions are actually named
31663 something starting with __ and the normal name is an alias. */
31664 #if defined __stub_gethostbyname || defined __stub___gethostbyname
31671 return gethostbyname ();
31676 rm -f conftest.
$ac_objext conftest
$ac_exeext
31677 if { (ac_try
="$ac_link"
31678 case "(($ac_try" in
31679 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31680 *) ac_try_echo=$ac_try;;
31682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31683 (eval "$ac_link") 2>conftest.er1
31685 grep -v '^ *+' conftest.er1 >conftest.err
31687 cat conftest.err >&5
31688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31689 (exit $ac_status); } && {
31690 test -z "$ac_c_werror_flag" ||
31691 test ! -s conftest.err
31692 } && test -s conftest$ac_exeext &&
31693 $as_test_x conftest$ac_exeext; then
31694 ac_cv_func_gethostbyname=yes
31696 echo "$as_me: failed program was:" >&5
31697 sed 's/^/| /' conftest.$ac_ext >&5
31699 ac_cv_func_gethostbyname=no
31702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31703 conftest$ac_exeext conftest.$ac_ext
31705 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31706 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
31708 if test $ac_cv_func_gethostbyname = no; then
31709 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31710 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
31711 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31712 echo $ECHO_N "(cached) $ECHO_C" >&6
31714 ac_check_lib_save_LIBS=$LIBS
31716 cat >conftest.$ac_ext <<_ACEOF
31719 cat confdefs.h >>conftest.$ac_ext
31720 cat >>conftest.$ac_ext <<_ACEOF
31721 /* end confdefs.h. */
31723 /* Override any GCC internal prototype to avoid an error.
31724 Use char because int might match the return type of a GCC
31725 builtin and then its argument prototype would still apply. */
31729 char gethostbyname ();
31733 return gethostbyname ();
31738 rm -f conftest.$ac_objext conftest$ac_exeext
31739 if { (ac_try="$ac_link"
31740 case "(($ac_try" in
31741 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31742 *) ac_try_echo
=$ac_try;;
31744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31745 (eval "$ac_link") 2>conftest.er1
31747 grep -v '^ *+' conftest.er1
>conftest.err
31749 cat conftest.err
>&5
31750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31751 (exit $ac_status); } && {
31752 test -z "$ac_c_werror_flag" ||
31753 test ! -s conftest.err
31754 } && test -s conftest
$ac_exeext &&
31755 $as_test_x conftest
$ac_exeext; then
31756 ac_cv_lib_nsl_gethostbyname
=yes
31758 echo "$as_me: failed program was:" >&5
31759 sed 's/^/| /' conftest.
$ac_ext >&5
31761 ac_cv_lib_nsl_gethostbyname
=no
31764 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31765 conftest
$ac_exeext conftest.
$ac_ext
31766 LIBS
=$ac_check_lib_save_LIBS
31768 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31769 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31770 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31771 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
31774 if test $ac_cv_lib_nsl_gethostbyname = no
; then
31775 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31776 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31777 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31778 echo $ECHO_N "(cached) $ECHO_C" >&6
31780 ac_check_lib_save_LIBS
=$LIBS
31782 cat >conftest.
$ac_ext <<_ACEOF
31785 cat confdefs.h
>>conftest.
$ac_ext
31786 cat >>conftest.
$ac_ext <<_ACEOF
31787 /* end confdefs.h. */
31789 /* Override any GCC internal prototype to avoid an error.
31790 Use char because int might match the return type of a GCC
31791 builtin and then its argument prototype would still apply. */
31795 char gethostbyname ();
31799 return gethostbyname ();
31804 rm -f conftest.
$ac_objext conftest
$ac_exeext
31805 if { (ac_try
="$ac_link"
31806 case "(($ac_try" in
31807 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31808 *) ac_try_echo=$ac_try;;
31810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31811 (eval "$ac_link") 2>conftest.er1
31813 grep -v '^ *+' conftest.er1 >conftest.err
31815 cat conftest.err >&5
31816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31817 (exit $ac_status); } && {
31818 test -z "$ac_c_werror_flag" ||
31819 test ! -s conftest.err
31820 } && test -s conftest$ac_exeext &&
31821 $as_test_x conftest$ac_exeext; then
31822 ac_cv_lib_bsd_gethostbyname=yes
31824 echo "$as_me: failed program was:" >&5
31825 sed 's/^/| /' conftest.$ac_ext >&5
31827 ac_cv_lib_bsd_gethostbyname=no
31830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31831 conftest$ac_exeext conftest.$ac_ext
31832 LIBS=$ac_check_lib_save_LIBS
31834 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31835 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31836 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31837 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31843 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31844 # socket/setsockopt and other routines are undefined under SCO ODT
31845 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31846 # on later versions), says Simon Leinen: it contains gethostby*
31847 # variants that don't use the name server (or something). -lsocket
31848 # must be given before -lnsl if both are needed. We assume that
31849 # if connect needs -lnsl, so does gethostbyname.
31850 { echo "$as_me:$LINENO: checking for connect" >&5
31851 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31852 if test "${ac_cv_func_connect+set}" = set; then
31853 echo $ECHO_N "(cached) $ECHO_C" >&6
31855 cat >conftest.$ac_ext <<_ACEOF
31858 cat confdefs.h >>conftest.$ac_ext
31859 cat >>conftest.$ac_ext <<_ACEOF
31860 /* end confdefs.h. */
31861 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31863 #define connect innocuous_connect
31865 /* System header to define __stub macros and hopefully few prototypes,
31866 which can conflict with char connect (); below.
31867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31868 <limits.h> exists even on freestanding compilers. */
31871 # include <limits.h>
31873 # include <assert.h>
31878 /* Override any GCC internal prototype to avoid an error.
31879 Use char because int might match the return type of a GCC
31880 builtin and then its argument prototype would still apply. */
31885 /* The GNU C library defines this for functions which it implements
31886 to always fail with ENOSYS. Some functions are actually named
31887 something starting with __ and the normal name is an alias. */
31888 #if defined __stub_connect || defined __stub___connect
31900 rm -f conftest.$ac_objext conftest$ac_exeext
31901 if { (ac_try="$ac_link"
31902 case "(($ac_try" in
31903 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31904 *) ac_try_echo
=$ac_try;;
31906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31907 (eval "$ac_link") 2>conftest.er1
31909 grep -v '^ *+' conftest.er1
>conftest.err
31911 cat conftest.err
>&5
31912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31913 (exit $ac_status); } && {
31914 test -z "$ac_c_werror_flag" ||
31915 test ! -s conftest.err
31916 } && test -s conftest
$ac_exeext &&
31917 $as_test_x conftest
$ac_exeext; then
31918 ac_cv_func_connect
=yes
31920 echo "$as_me: failed program was:" >&5
31921 sed 's/^/| /' conftest.
$ac_ext >&5
31923 ac_cv_func_connect
=no
31926 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31927 conftest
$ac_exeext conftest.
$ac_ext
31929 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31930 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
31932 if test $ac_cv_func_connect = no
; then
31933 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31934 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
31935 if test "${ac_cv_lib_socket_connect+set}" = set; then
31936 echo $ECHO_N "(cached) $ECHO_C" >&6
31938 ac_check_lib_save_LIBS
=$LIBS
31939 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
31940 cat >conftest.
$ac_ext <<_ACEOF
31943 cat confdefs.h
>>conftest.
$ac_ext
31944 cat >>conftest.
$ac_ext <<_ACEOF
31945 /* end confdefs.h. */
31947 /* Override any GCC internal prototype to avoid an error.
31948 Use char because int might match the return type of a GCC
31949 builtin and then its argument prototype would still apply. */
31962 rm -f conftest.
$ac_objext conftest
$ac_exeext
31963 if { (ac_try
="$ac_link"
31964 case "(($ac_try" in
31965 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31966 *) ac_try_echo=$ac_try;;
31968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31969 (eval "$ac_link") 2>conftest.er1
31971 grep -v '^ *+' conftest.er1 >conftest.err
31973 cat conftest.err >&5
31974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31975 (exit $ac_status); } && {
31976 test -z "$ac_c_werror_flag" ||
31977 test ! -s conftest.err
31978 } && test -s conftest$ac_exeext &&
31979 $as_test_x conftest$ac_exeext; then
31980 ac_cv_lib_socket_connect=yes
31982 echo "$as_me: failed program was:" >&5
31983 sed 's/^/| /' conftest.$ac_ext >&5
31985 ac_cv_lib_socket_connect=no
31988 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31989 conftest$ac_exeext conftest.$ac_ext
31990 LIBS=$ac_check_lib_save_LIBS
31992 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31993 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31994 if test $ac_cv_lib_socket_connect = yes; then
31995 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32000 # Guillermo Gomez says -lposix is necessary on A/UX.
32001 { echo "$as_me:$LINENO: checking for remove" >&5
32002 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32003 if test "${ac_cv_func_remove+set}" = set; then
32004 echo $ECHO_N "(cached) $ECHO_C" >&6
32006 cat >conftest.$ac_ext <<_ACEOF
32009 cat confdefs.h >>conftest.$ac_ext
32010 cat >>conftest.$ac_ext <<_ACEOF
32011 /* end confdefs.h. */
32012 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32014 #define remove innocuous_remove
32016 /* System header to define __stub macros and hopefully few prototypes,
32017 which can conflict with char remove (); below.
32018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32019 <limits.h> exists even on freestanding compilers. */
32022 # include <limits.h>
32024 # include <assert.h>
32029 /* Override any GCC internal prototype to avoid an error.
32030 Use char because int might match the return type of a GCC
32031 builtin and then its argument prototype would still apply. */
32036 /* The GNU C library defines this for functions which it implements
32037 to always fail with ENOSYS. Some functions are actually named
32038 something starting with __ and the normal name is an alias. */
32039 #if defined __stub_remove || defined __stub___remove
32051 rm -f conftest.$ac_objext conftest$ac_exeext
32052 if { (ac_try="$ac_link"
32053 case "(($ac_try" in
32054 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32055 *) ac_try_echo
=$ac_try;;
32057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32058 (eval "$ac_link") 2>conftest.er1
32060 grep -v '^ *+' conftest.er1
>conftest.err
32062 cat conftest.err
>&5
32063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32064 (exit $ac_status); } && {
32065 test -z "$ac_c_werror_flag" ||
32066 test ! -s conftest.err
32067 } && test -s conftest
$ac_exeext &&
32068 $as_test_x conftest
$ac_exeext; then
32069 ac_cv_func_remove
=yes
32071 echo "$as_me: failed program was:" >&5
32072 sed 's/^/| /' conftest.
$ac_ext >&5
32074 ac_cv_func_remove
=no
32077 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32078 conftest
$ac_exeext conftest.
$ac_ext
32080 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32081 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32083 if test $ac_cv_func_remove = no
; then
32084 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32085 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32086 if test "${ac_cv_lib_posix_remove+set}" = set; then
32087 echo $ECHO_N "(cached) $ECHO_C" >&6
32089 ac_check_lib_save_LIBS
=$LIBS
32090 LIBS
="-lposix $LIBS"
32091 cat >conftest.
$ac_ext <<_ACEOF
32094 cat confdefs.h
>>conftest.
$ac_ext
32095 cat >>conftest.
$ac_ext <<_ACEOF
32096 /* end confdefs.h. */
32098 /* Override any GCC internal prototype to avoid an error.
32099 Use char because int might match the return type of a GCC
32100 builtin and then its argument prototype would still apply. */
32113 rm -f conftest.
$ac_objext conftest
$ac_exeext
32114 if { (ac_try
="$ac_link"
32115 case "(($ac_try" in
32116 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32117 *) ac_try_echo=$ac_try;;
32119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32120 (eval "$ac_link") 2>conftest.er1
32122 grep -v '^ *+' conftest.er1 >conftest.err
32124 cat conftest.err >&5
32125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32126 (exit $ac_status); } && {
32127 test -z "$ac_c_werror_flag" ||
32128 test ! -s conftest.err
32129 } && test -s conftest$ac_exeext &&
32130 $as_test_x conftest$ac_exeext; then
32131 ac_cv_lib_posix_remove=yes
32133 echo "$as_me: failed program was:" >&5
32134 sed 's/^/| /' conftest.$ac_ext >&5
32136 ac_cv_lib_posix_remove=no
32139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32140 conftest$ac_exeext conftest.$ac_ext
32141 LIBS=$ac_check_lib_save_LIBS
32143 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32144 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32145 if test $ac_cv_lib_posix_remove = yes; then
32146 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32151 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32152 { echo "$as_me:$LINENO: checking for shmat" >&5
32153 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32154 if test "${ac_cv_func_shmat+set}" = set; then
32155 echo $ECHO_N "(cached) $ECHO_C" >&6
32157 cat >conftest.$ac_ext <<_ACEOF
32160 cat confdefs.h >>conftest.$ac_ext
32161 cat >>conftest.$ac_ext <<_ACEOF
32162 /* end confdefs.h. */
32163 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32165 #define shmat innocuous_shmat
32167 /* System header to define __stub macros and hopefully few prototypes,
32168 which can conflict with char shmat (); below.
32169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32170 <limits.h> exists even on freestanding compilers. */
32173 # include <limits.h>
32175 # include <assert.h>
32180 /* Override any GCC internal prototype to avoid an error.
32181 Use char because int might match the return type of a GCC
32182 builtin and then its argument prototype would still apply. */
32187 /* The GNU C library defines this for functions which it implements
32188 to always fail with ENOSYS. Some functions are actually named
32189 something starting with __ and the normal name is an alias. */
32190 #if defined __stub_shmat || defined __stub___shmat
32202 rm -f conftest.$ac_objext conftest$ac_exeext
32203 if { (ac_try="$ac_link"
32204 case "(($ac_try" in
32205 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32206 *) ac_try_echo
=$ac_try;;
32208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32209 (eval "$ac_link") 2>conftest.er1
32211 grep -v '^ *+' conftest.er1
>conftest.err
32213 cat conftest.err
>&5
32214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32215 (exit $ac_status); } && {
32216 test -z "$ac_c_werror_flag" ||
32217 test ! -s conftest.err
32218 } && test -s conftest
$ac_exeext &&
32219 $as_test_x conftest
$ac_exeext; then
32220 ac_cv_func_shmat
=yes
32222 echo "$as_me: failed program was:" >&5
32223 sed 's/^/| /' conftest.
$ac_ext >&5
32225 ac_cv_func_shmat
=no
32228 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32229 conftest
$ac_exeext conftest.
$ac_ext
32231 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32232 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32234 if test $ac_cv_func_shmat = no
; then
32235 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32236 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32237 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32238 echo $ECHO_N "(cached) $ECHO_C" >&6
32240 ac_check_lib_save_LIBS
=$LIBS
32242 cat >conftest.
$ac_ext <<_ACEOF
32245 cat confdefs.h
>>conftest.
$ac_ext
32246 cat >>conftest.
$ac_ext <<_ACEOF
32247 /* end confdefs.h. */
32249 /* Override any GCC internal prototype to avoid an error.
32250 Use char because int might match the return type of a GCC
32251 builtin and then its argument prototype would still apply. */
32264 rm -f conftest.
$ac_objext conftest
$ac_exeext
32265 if { (ac_try
="$ac_link"
32266 case "(($ac_try" in
32267 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32268 *) ac_try_echo=$ac_try;;
32270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32271 (eval "$ac_link") 2>conftest.er1
32273 grep -v '^ *+' conftest.er1 >conftest.err
32275 cat conftest.err >&5
32276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32277 (exit $ac_status); } && {
32278 test -z "$ac_c_werror_flag" ||
32279 test ! -s conftest.err
32280 } && test -s conftest$ac_exeext &&
32281 $as_test_x conftest$ac_exeext; then
32282 ac_cv_lib_ipc_shmat=yes
32284 echo "$as_me: failed program was:" >&5
32285 sed 's/^/| /' conftest.$ac_ext >&5
32287 ac_cv_lib_ipc_shmat=no
32290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32291 conftest$ac_exeext conftest.$ac_ext
32292 LIBS=$ac_check_lib_save_LIBS
32294 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32295 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32296 if test $ac_cv_lib_ipc_shmat = yes; then
32297 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32303 # Check for libraries that X11R6 Xt/Xaw programs need.
32304 ac_save_LDFLAGS=$LDFLAGS
32305 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32306 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32307 # check for ICE first), but we must link in the order -lSM -lICE or
32308 # we get undefined symbols. So assume we have SM if we have ICE.
32309 # These have to be linked with before -lX11, unlike the other
32310 # libraries we check for below, so use a different variable.
32311 # John Interrante, Karl Berry
32312 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32313 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32314 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32315 echo $ECHO_N "(cached) $ECHO_C" >&6
32317 ac_check_lib_save_LIBS=$LIBS
32318 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32319 cat >conftest.$ac_ext <<_ACEOF
32322 cat confdefs.h >>conftest.$ac_ext
32323 cat >>conftest.$ac_ext <<_ACEOF
32324 /* end confdefs.h. */
32326 /* Override any GCC internal prototype to avoid an error.
32327 Use char because int might match the return type of a GCC
32328 builtin and then its argument prototype would still apply. */
32332 char IceConnectionNumber ();
32336 return IceConnectionNumber ();
32341 rm -f conftest.$ac_objext conftest$ac_exeext
32342 if { (ac_try="$ac_link"
32343 case "(($ac_try" in
32344 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32345 *) ac_try_echo
=$ac_try;;
32347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32348 (eval "$ac_link") 2>conftest.er1
32350 grep -v '^ *+' conftest.er1
>conftest.err
32352 cat conftest.err
>&5
32353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32354 (exit $ac_status); } && {
32355 test -z "$ac_c_werror_flag" ||
32356 test ! -s conftest.err
32357 } && test -s conftest
$ac_exeext &&
32358 $as_test_x conftest
$ac_exeext; then
32359 ac_cv_lib_ICE_IceConnectionNumber
=yes
32361 echo "$as_me: failed program was:" >&5
32362 sed 's/^/| /' conftest.
$ac_ext >&5
32364 ac_cv_lib_ICE_IceConnectionNumber
=no
32367 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32368 conftest
$ac_exeext conftest.
$ac_ext
32369 LIBS
=$ac_check_lib_save_LIBS
32371 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32372 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32373 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32374 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
32377 LDFLAGS
=$ac_save_LDFLAGS
32382 if test "$no_x" = "yes"; then
32383 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32384 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32385 { (exit 1); exit 1; }; }
32388 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32389 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
32390 AFMINSTALL
=afminstall
32391 COMPILED_X_PROGRAM
=0
32395 if test "$wxUSE_X11" = 1; then
32396 if test "$wxUSE_NANOX" = "yes"; then
32397 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32398 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32399 if test "x$MICROWIN" = x
; then
32400 { echo "$as_me:$LINENO: result: not found" >&5
32401 echo "${ECHO_T}not found" >&6; }
32402 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32403 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32404 { (exit 1); exit 1; }; }
32406 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32407 echo "${ECHO_T}$MICROWIN" >&6; }
32408 cat >>confdefs.h
<<\_ACEOF
32409 #define wxUSE_NANOX 1
32415 if test "$wxUSE_UNICODE" = "yes"; then
32418 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32419 if test -n "$ac_tool_prefix"; then
32420 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32421 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
32422 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32424 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32425 echo $ECHO_N "(cached) $ECHO_C" >&6
32427 case $PKG_CONFIG in
32429 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
32432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32433 for as_dir
in $PATH
32436 test -z "$as_dir" && as_dir
=.
32437 for ac_exec_ext
in '' $ac_executable_extensions; do
32438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32439 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32450 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
32451 if test -n "$PKG_CONFIG"; then
32452 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32453 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32455 { echo "$as_me:$LINENO: result: no" >&5
32456 echo "${ECHO_T}no" >&6; }
32461 if test -z "$ac_cv_path_PKG_CONFIG"; then
32462 ac_pt_PKG_CONFIG
=$PKG_CONFIG
32463 # Extract the first word of "pkg-config", so it can be a program name with args.
32464 set dummy pkg
-config; ac_word
=$2
32465 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32467 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32468 echo $ECHO_N "(cached) $ECHO_C" >&6
32470 case $ac_pt_PKG_CONFIG in
32472 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32476 for as_dir
in $PATH
32479 test -z "$as_dir" && as_dir
=.
32480 for ac_exec_ext
in '' $ac_executable_extensions; do
32481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32482 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32493 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
32494 if test -n "$ac_pt_PKG_CONFIG"; then
32495 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32496 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32498 { echo "$as_me:$LINENO: result: no" >&5
32499 echo "${ECHO_T}no" >&6; }
32502 if test "x$ac_pt_PKG_CONFIG" = x
; then
32505 case $cross_compiling:$ac_tool_warned in
32507 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32508 whose name does not start with the host triplet. If you think this
32509 configuration is useful to you, please write to autoconf@gnu.org." >&5
32510 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32511 whose name does not start with the host triplet. If you think this
32512 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32513 ac_tool_warned
=yes ;;
32515 PKG_CONFIG
=$ac_pt_PKG_CONFIG
32518 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
32522 if test -n "$PKG_CONFIG"; then
32523 _pkg_min_version
=0.9.0
32524 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32525 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32526 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32527 { echo "$as_me:$LINENO: result: yes" >&5
32528 echo "${ECHO_T}yes" >&6; }
32530 { echo "$as_me:$LINENO: result: no" >&5
32531 echo "${ECHO_T}no" >&6; }
32539 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32540 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32542 if test -n "$PKG_CONFIG"; then
32543 if test -n "$PANGOX_CFLAGS"; then
32544 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
32546 if test -n "$PKG_CONFIG" && \
32547 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32548 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32551 (exit $ac_status); }; then
32552 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32560 if test -n "$PKG_CONFIG"; then
32561 if test -n "$PANGOX_LIBS"; then
32562 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
32564 if test -n "$PKG_CONFIG" && \
32565 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32566 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32569 (exit $ac_status); }; then
32570 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32581 if test $pkg_failed = yes; then
32583 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32584 _pkg_short_errors_supported
=yes
32586 _pkg_short_errors_supported
=no
32588 if test $_pkg_short_errors_supported = yes; then
32589 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32591 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32593 # Put the nasty error message in config.log where it belongs
32594 echo "$PANGOX_PKG_ERRORS" >&5
32597 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32598 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32599 { (exit 1); exit 1; }; }
32602 elif test $pkg_failed = untried
; then
32604 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32605 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32606 { (exit 1); exit 1; }; }
32610 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
32611 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
32612 { echo "$as_me:$LINENO: result: yes" >&5
32613 echo "${ECHO_T}yes" >&6; }
32615 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
32616 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
32617 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
32622 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32623 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
32625 if test -n "$PKG_CONFIG"; then
32626 if test -n "$PANGOFT2_CFLAGS"; then
32627 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
32629 if test -n "$PKG_CONFIG" && \
32630 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32631 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32634 (exit $ac_status); }; then
32635 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32643 if test -n "$PKG_CONFIG"; then
32644 if test -n "$PANGOFT2_LIBS"; then
32645 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
32647 if test -n "$PKG_CONFIG" && \
32648 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32649 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32652 (exit $ac_status); }; then
32653 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32664 if test $pkg_failed = yes; then
32666 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32667 _pkg_short_errors_supported
=yes
32669 _pkg_short_errors_supported
=no
32671 if test $_pkg_short_errors_supported = yes; then
32672 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32674 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32676 # Put the nasty error message in config.log where it belongs
32677 echo "$PANGOFT2_PKG_ERRORS" >&5
32680 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32681 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32682 wxUSE_PRINTING_ARCHITECTURE
="no"
32685 elif test $pkg_failed = untried
; then
32687 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32688 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32689 wxUSE_PRINTING_ARCHITECTURE
="no"
32693 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
32694 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
32695 { echo "$as_me:$LINENO: result: yes" >&5
32696 echo "${ECHO_T}yes" >&6; }
32698 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
32699 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
32700 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32705 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32706 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
32708 if test -n "$PKG_CONFIG"; then
32709 if test -n "$PANGOXFT_CFLAGS"; then
32710 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
32712 if test -n "$PKG_CONFIG" && \
32713 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32714 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32717 (exit $ac_status); }; then
32718 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32726 if test -n "$PKG_CONFIG"; then
32727 if test -n "$PANGOXFT_LIBS"; then
32728 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
32730 if test -n "$PKG_CONFIG" && \
32731 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32732 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32735 (exit $ac_status); }; then
32736 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32747 if test $pkg_failed = yes; then
32749 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32750 _pkg_short_errors_supported
=yes
32752 _pkg_short_errors_supported
=no
32754 if test $_pkg_short_errors_supported = yes; then
32755 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32757 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32759 # Put the nasty error message in config.log where it belongs
32760 echo "$PANGOXFT_PKG_ERRORS" >&5
32763 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32764 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32767 elif test $pkg_failed = untried
; then
32769 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32770 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32774 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
32775 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
32776 { echo "$as_me:$LINENO: result: yes" >&5
32777 echo "${ECHO_T}yes" >&6; }
32779 cat >>confdefs.h
<<\_ACEOF
32780 #define HAVE_PANGO_XFT 1
32783 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
32784 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
32785 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32789 LIBS
="$LIBS $PANGOX_LIBS"
32791 for ac_func
in pango_font_family_is_monospace
32793 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32794 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32796 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32797 echo $ECHO_N "(cached) $ECHO_C" >&6
32799 cat >conftest.
$ac_ext <<_ACEOF
32802 cat confdefs.h
>>conftest.
$ac_ext
32803 cat >>conftest.
$ac_ext <<_ACEOF
32804 /* end confdefs.h. */
32805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32807 #define $ac_func innocuous_$ac_func
32809 /* System header to define __stub macros and hopefully few prototypes,
32810 which can conflict with char $ac_func (); below.
32811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32812 <limits.h> exists even on freestanding compilers. */
32815 # include <limits.h>
32817 # include <assert.h>
32822 /* Override any GCC internal prototype to avoid an error.
32823 Use char because int might match the return type of a GCC
32824 builtin and then its argument prototype would still apply. */
32829 /* The GNU C library defines this for functions which it implements
32830 to always fail with ENOSYS. Some functions are actually named
32831 something starting with __ and the normal name is an alias. */
32832 #if defined __stub_$ac_func || defined __stub___$ac_func
32839 return $ac_func ();
32844 rm -f conftest.
$ac_objext conftest
$ac_exeext
32845 if { (ac_try
="$ac_link"
32846 case "(($ac_try" in
32847 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32848 *) ac_try_echo=$ac_try;;
32850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32851 (eval "$ac_link") 2>conftest.er1
32853 grep -v '^ *+' conftest.er1 >conftest.err
32855 cat conftest.err >&5
32856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32857 (exit $ac_status); } && {
32858 test -z "$ac_c_werror_flag" ||
32859 test ! -s conftest.err
32860 } && test -s conftest$ac_exeext &&
32861 $as_test_x conftest$ac_exeext; then
32862 eval "$as_ac_var=yes"
32864 echo "$as_me: failed program was:" >&5
32865 sed 's/^/| /' conftest.$ac_ext >&5
32867 eval "$as_ac_var=no"
32870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32871 conftest$ac_exeext conftest.$ac_ext
32873 ac_res=`eval echo '${'$as_ac_var'}'`
32874 { echo "$as_me:$LINENO: result: $ac_res" >&5
32875 echo "${ECHO_T}$ac_res" >&6; }
32876 if test `eval echo '${'$as_ac_var'}'` = yes; then
32877 cat >>confdefs.h <<_ACEOF
32878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32887 wxUSE_UNIVERSAL="yes"
32889 if test "$wxUSE_NANOX" = "yes"; then
32890 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32891 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"
32892 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32894 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32901 if test "$wxUSE_MOTIF" = 1; then
32902 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32903 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32906 for ac_dir in $SEARCH_INCLUDE /usr/include;
32908 if test -f "$ac_dir/Xm/Xm.h"; then
32909 ac_find_includes=$ac_dir
32914 if test "$ac_find_includes" != "" ; then
32915 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32916 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32918 if test "x$ac_find_includes" = "x/usr/include"; then
32919 ac_path_to_include=""
32921 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32923 if test $result = 0; then
32924 ac_path_to_include=""
32926 ac_path_to_include=" -I$ac_find_includes"
32930 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32932 save_CFLAGS=$CFLAGS
32933 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32935 cat >conftest.$ac_ext <<_ACEOF
32938 cat confdefs.h >>conftest.$ac_ext
32939 cat >>conftest.$ac_ext <<_ACEOF
32940 /* end confdefs.h. */
32949 version = xmUseVersion;
32955 rm -f conftest.$ac_objext
32956 if { (ac_try="$ac_compile"
32957 case "(($ac_try" in
32958 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32959 *) ac_try_echo
=$ac_try;;
32961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32962 (eval "$ac_compile") 2>conftest.er1
32964 grep -v '^ *+' conftest.er1
>conftest.err
32966 cat conftest.err
>&5
32967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32968 (exit $ac_status); } && {
32969 test -z "$ac_c_werror_flag" ||
32970 test ! -s conftest.err
32971 } && test -s conftest.
$ac_objext; then
32973 { echo "$as_me:$LINENO: result: found in default search path" >&5
32974 echo "${ECHO_T}found in default search path" >&6; }
32975 COMPILED_X_PROGRAM
=1
32978 echo "$as_me: failed program was:" >&5
32979 sed 's/^/| /' conftest.
$ac_ext >&5
32982 { echo "$as_me:$LINENO: result: no" >&5
32983 echo "${ECHO_T}no" >&6; }
32984 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32985 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32986 { (exit 1); exit 1; }; }
32991 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32993 CFLAGS
=$save_CFLAGS
32997 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32998 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33001 for ac_dir
in $SEARCH_LIB;
33003 for ac_extension
in a so sl dylib dll.a
; do
33004 if test -f "$ac_dir/libXm.$ac_extension"; then
33005 ac_find_libraries
=$ac_dir
33012 if test "x$ac_find_libraries" != "x" ; then
33013 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33014 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33017 if test "$ac_find_libraries" = "default location"; then
33020 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
33022 if test $result = 0; then
33025 ac_path_to_link
=" -L$ac_find_libraries"
33029 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
33031 save_CFLAGS
=$CFLAGS
33032 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33034 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33036 cat >conftest.
$ac_ext <<_ACEOF
33039 cat confdefs.h
>>conftest.
$ac_ext
33040 cat >>conftest.
$ac_ext <<_ACEOF
33041 /* end confdefs.h. */
33050 version = xmUseVersion;
33056 rm -f conftest.
$ac_objext conftest
$ac_exeext
33057 if { (ac_try
="$ac_link"
33058 case "(($ac_try" in
33059 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33060 *) ac_try_echo=$ac_try;;
33062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33063 (eval "$ac_link") 2>conftest.er1
33065 grep -v '^ *+' conftest.er1 >conftest.err
33067 cat conftest.err >&5
33068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33069 (exit $ac_status); } && {
33070 test -z "$ac_c_werror_flag" ||
33071 test ! -s conftest.err
33072 } && test -s conftest$ac_exeext &&
33073 $as_test_x conftest$ac_exeext; then
33075 { echo "$as_me:$LINENO: result: found in default search path" >&5
33076 echo "${ECHO_T}found in default search path" >&6; }
33077 COMPILED_X_PROGRAM=1
33080 echo "$as_me: failed program was:" >&5
33081 sed 's/^/| /' conftest.$ac_ext >&5
33084 { echo "$as_me:$LINENO: result: no" >&5
33085 echo "${ECHO_T}no" >&6; }
33086 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33087 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33088 { (exit 1); exit 1; }; }
33093 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33094 conftest$ac_exeext conftest.$ac_ext
33096 CFLAGS=$save_CFLAGS
33100 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33101 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33105 for libp in "" " -lXp"; do
33106 if test "$libs_found" = 0; then
33107 for libsm_ice in "" " -lSM -lICE"; do
33108 if test "$libs_found" = 0; then
33110 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33111 save_CFLAGS=$CFLAGS
33112 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33114 cat >conftest.$ac_ext <<_ACEOF
33117 cat confdefs.h >>conftest.$ac_ext
33118 cat >>conftest.$ac_ext <<_ACEOF
33119 /* end confdefs.h. */
33122 #include <Xm/List.h>
33128 XmString string = NULL;
33131 XmListAddItem(w, string, position);
33137 rm -f conftest.$ac_objext conftest$ac_exeext
33138 if { (ac_try="$ac_link"
33139 case "(($ac_try" in
33140 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33141 *) ac_try_echo
=$ac_try;;
33143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33144 (eval "$ac_link") 2>conftest.er1
33146 grep -v '^ *+' conftest.er1
>conftest.err
33148 cat conftest.err
>&5
33149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33150 (exit $ac_status); } && {
33151 test -z "$ac_c_werror_flag" ||
33152 test ! -s conftest.err
33153 } && test -s conftest
$ac_exeext &&
33154 $as_test_x conftest
$ac_exeext; then
33157 libsm_ice_link
="$libsm_ice"
33158 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33159 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33163 echo "$as_me: failed program was:" >&5
33164 sed 's/^/| /' conftest.
$ac_ext >&5
33170 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33171 conftest
$ac_exeext conftest.
$ac_ext
33174 CFLAGS
=$save_CFLAGS
33180 if test "$libs_found" = 0; then
33181 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33182 echo "${ECHO_T}can't find the right libraries" >&6; }
33183 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33184 echo "$as_me: error: can't link a simple motif program" >&2;}
33185 { (exit 1); exit 1; }; }
33188 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33189 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33190 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33191 echo $ECHO_N "(cached) $ECHO_C" >&6
33193 ac_check_lib_save_LIBS
=$LIBS
33195 cat >conftest.
$ac_ext <<_ACEOF
33198 cat confdefs.h
>>conftest.
$ac_ext
33199 cat >>conftest.
$ac_ext <<_ACEOF
33200 /* end confdefs.h. */
33202 /* Override any GCC internal prototype to avoid an error.
33203 Use char because int might match the return type of a GCC
33204 builtin and then its argument prototype would still apply. */
33208 char SgCreateList ();
33212 return SgCreateList ();
33217 rm -f conftest.
$ac_objext conftest
$ac_exeext
33218 if { (ac_try
="$ac_link"
33219 case "(($ac_try" in
33220 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33221 *) ac_try_echo=$ac_try;;
33223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33224 (eval "$ac_link") 2>conftest.er1
33226 grep -v '^ *+' conftest.er1 >conftest.err
33228 cat conftest.err >&5
33229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33230 (exit $ac_status); } && {
33231 test -z "$ac_c_werror_flag" ||
33232 test ! -s conftest.err
33233 } && test -s conftest$ac_exeext &&
33234 $as_test_x conftest$ac_exeext; then
33235 ac_cv_lib_Sgm_SgCreateList=yes
33237 echo "$as_me: failed program was:" >&5
33238 sed 's/^/| /' conftest.$ac_ext >&5
33240 ac_cv_lib_Sgm_SgCreateList=no
33243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33244 conftest$ac_exeext conftest.$ac_ext
33245 LIBS=$ac_check_lib_save_LIBS
33247 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33248 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33249 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33250 libsgm_link=" -lSgm"
33254 save_CFLAGS=$CFLAGS
33255 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33257 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33258 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33259 if test "${wx_cv_lib_motif2+set}" = set; then
33260 echo $ECHO_N "(cached) $ECHO_C" >&6
33262 cat >conftest.$ac_ext <<_ACEOF
33265 cat confdefs.h >>conftest.$ac_ext
33266 cat >>conftest.$ac_ext <<_ACEOF
33267 /* end confdefs.h. */
33275 #if XmVersion < 2000
33283 rm -f conftest.$ac_objext
33284 if { (ac_try="$ac_compile"
33285 case "(($ac_try" in
33286 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33287 *) ac_try_echo
=$ac_try;;
33289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33290 (eval "$ac_compile") 2>conftest.er1
33292 grep -v '^ *+' conftest.er1
>conftest.err
33294 cat conftest.err
>&5
33295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33296 (exit $ac_status); } && {
33297 test -z "$ac_c_werror_flag" ||
33298 test ! -s conftest.err
33299 } && test -s conftest.
$ac_objext; then
33300 wx_cv_lib_motif2
="yes"
33302 echo "$as_me: failed program was:" >&5
33303 sed 's/^/| /' conftest.
$ac_ext >&5
33305 wx_cv_lib_motif2
="no"
33308 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33310 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33311 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33312 if test "$wx_cv_lib_motif2" = "yes"; then
33313 cat >>confdefs.h
<<\_ACEOF
33314 #define __WXMOTIF20__ 1
33318 cat >>confdefs.h
<<\_ACEOF
33319 #define __WXMOTIF20__ 0
33324 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33325 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33326 if test "${wx_cv_lib_lesstif+set}" = set; then
33327 echo $ECHO_N "(cached) $ECHO_C" >&6
33329 cat >conftest.
$ac_ext <<_ACEOF
33332 cat confdefs.h
>>conftest.
$ac_ext
33333 cat >>conftest.
$ac_ext <<_ACEOF
33334 /* end confdefs.h. */
33342 #if !defined(LesstifVersion) || LesstifVersion <= 0
33350 rm -f conftest.
$ac_objext
33351 if { (ac_try
="$ac_compile"
33352 case "(($ac_try" in
33353 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33354 *) ac_try_echo=$ac_try;;
33356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33357 (eval "$ac_compile") 2>conftest.er1
33359 grep -v '^ *+' conftest.er1 >conftest.err
33361 cat conftest.err >&5
33362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33363 (exit $ac_status); } && {
33364 test -z "$ac_c_werror_flag" ||
33365 test ! -s conftest.err
33366 } && test -s conftest.$ac_objext; then
33367 wx_cv_lib_lesstif="yes"
33369 echo "$as_me: failed program was:" >&5
33370 sed 's/^/| /' conftest.$ac_ext >&5
33372 wx_cv_lib_lesstif="no"
33375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33378 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33379 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33380 if test "$wx_cv_lib_lesstif" = "yes"; then
33381 cat >>confdefs.h <<\_ACEOF
33382 #define __WXLESSTIF__ 1
33386 cat >>confdefs.h <<\_ACEOF
33387 #define __WXLESSTIF__ 0
33392 CFLAGS=$save_CFLAGS
33394 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33399 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33400 if test "$wxUSE_LIBXPM" = "sys"; then
33401 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33402 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33405 for ac_dir in $SEARCH_LIB;
33407 for ac_extension in a so sl dylib dll.a; do
33408 if test -f "$ac_dir/libXpm.$ac_extension"; then
33409 ac_find_libraries=$ac_dir
33415 if test "$ac_find_libraries" != "" ; then
33417 if test "$ac_find_libraries" = "default location"; then
33420 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33422 if test $result = 0; then
33425 ac_path_to_link=" -L$ac_find_libraries"
33429 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33430 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33431 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33433 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33434 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33435 if test "${wx_cv_x11_xpm_h+set}" = set; then
33436 echo $ECHO_N "(cached) $ECHO_C" >&6
33439 save_CFLAGS=$CFLAGS
33440 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33442 cat >conftest.$ac_ext <<_ACEOF
33445 cat confdefs.h >>conftest.$ac_ext
33446 cat >>conftest.$ac_ext <<_ACEOF
33447 /* end confdefs.h. */
33449 #include <X11/xpm.h>
33456 version = XpmLibraryVersion();
33462 rm -f conftest.$ac_objext
33463 if { (ac_try="$ac_compile"
33464 case "(($ac_try" in
33465 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33466 *) ac_try_echo
=$ac_try;;
33468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33469 (eval "$ac_compile") 2>conftest.er1
33471 grep -v '^ *+' conftest.er1
>conftest.err
33473 cat conftest.err
>&5
33474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33475 (exit $ac_status); } && {
33476 test -z "$ac_c_werror_flag" ||
33477 test ! -s conftest.err
33478 } && test -s conftest.
$ac_objext; then
33479 wx_cv_x11_xpm_h
=yes
33481 echo "$as_me: failed program was:" >&5
33482 sed 's/^/| /' conftest.
$ac_ext >&5
33488 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33490 CFLAGS
=$save_CFLAGS
33494 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33495 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33497 if test $wx_cv_x11_xpm_h = "yes"; then
33498 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
33499 cat >>confdefs.h
<<\_ACEOF
33500 #define wxHAVE_LIB_XPM 1
33504 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33505 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33511 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33512 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33513 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33514 echo $ECHO_N "(cached) $ECHO_C" >&6
33516 ac_check_lib_save_LIBS
=$LIBS
33517 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33518 cat >conftest.
$ac_ext <<_ACEOF
33521 cat confdefs.h
>>conftest.
$ac_ext
33522 cat >>conftest.
$ac_ext <<_ACEOF
33523 /* end confdefs.h. */
33525 /* Override any GCC internal prototype to avoid an error.
33526 Use char because int might match the return type of a GCC
33527 builtin and then its argument prototype would still apply. */
33531 char XShapeQueryExtension ();
33535 return XShapeQueryExtension ();
33540 rm -f conftest.
$ac_objext conftest
$ac_exeext
33541 if { (ac_try
="$ac_link"
33542 case "(($ac_try" in
33543 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33544 *) ac_try_echo=$ac_try;;
33546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33547 (eval "$ac_link") 2>conftest.er1
33549 grep -v '^ *+' conftest.er1 >conftest.err
33551 cat conftest.err >&5
33552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33553 (exit $ac_status); } && {
33554 test -z "$ac_c_werror_flag" ||
33555 test ! -s conftest.err
33556 } && test -s conftest$ac_exeext &&
33557 $as_test_x conftest$ac_exeext; then
33558 ac_cv_lib_Xext_XShapeQueryExtension=yes
33560 echo "$as_me: failed program was:" >&5
33561 sed 's/^/| /' conftest.$ac_ext >&5
33563 ac_cv_lib_Xext_XShapeQueryExtension=no
33566 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33567 conftest$ac_exeext conftest.$ac_ext
33568 LIBS=$ac_check_lib_save_LIBS
33570 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33571 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33572 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33574 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33580 if test "$wxHAVE_XEXT_LIB" = 1; then
33581 save_CFLAGS="$CFLAGS"
33582 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33584 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33585 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33586 cat >conftest.$ac_ext <<_ACEOF
33589 cat confdefs.h >>conftest.$ac_ext
33590 cat >>conftest.$ac_ext <<_ACEOF
33591 /* end confdefs.h. */
33593 #include <X11/Xlib.h>
33594 #include <X11/extensions/shape.h>
33600 int dummy1, dummy2;
33601 XShapeQueryExtension((Display*)NULL,
33602 (int*)NULL, (int*)NULL);
33608 rm -f conftest.$ac_objext
33609 if { (ac_try="$ac_compile"
33610 case "(($ac_try" in
33611 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33612 *) ac_try_echo
=$ac_try;;
33614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33615 (eval "$ac_compile") 2>conftest.er1
33617 grep -v '^ *+' conftest.er1
>conftest.err
33619 cat conftest.err
>&5
33620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33621 (exit $ac_status); } && {
33622 test -z "$ac_c_werror_flag" ||
33623 test ! -s conftest.err
33624 } && test -s conftest.
$ac_objext; then
33626 cat >>confdefs.h
<<\_ACEOF
33627 #define HAVE_XSHAPE 1
33630 { echo "$as_me:$LINENO: result: found" >&5
33631 echo "${ECHO_T}found" >&6; }
33634 echo "$as_me: failed program was:" >&5
33635 sed 's/^/| /' conftest.
$ac_ext >&5
33638 { echo "$as_me:$LINENO: result: not found" >&5
33639 echo "${ECHO_T}not found" >&6; }
33643 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33644 CFLAGS
="$save_CFLAGS"
33649 if test "$wxUSE_OSX_CARBON" = 1; then
33650 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33651 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33652 if test "$GCC" = yes; then
33653 { echo "$as_me:$LINENO: result: gcc" >&5
33654 echo "${ECHO_T}gcc" >&6; }
33655 CPPFLAGS_PASCAL
="-fpascal-strings"
33656 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33657 { echo "$as_me:$LINENO: result: xlc" >&5
33658 echo "${ECHO_T}xlc" >&6; }
33659 CPPFLAGS_PASCAL
="-qmacpstr"
33661 { echo "$as_me:$LINENO: result: none" >&5
33662 echo "${ECHO_T}none" >&6; }
33665 if test "x$wxUSE_UNIX" = "xyes"; then
33666 CPPFLAGS
="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33668 CPPFLAGS
="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
33672 GUIDIST
=OSX_CARBON_DIST
33673 WXBASEPORT
="_carbon"
33675 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33678 if test "$wxUSE_OSX_COCOA" = 1; then
33680 GUIDIST
=OSX_COCOA_DIST
33682 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33685 if test "$wxUSE_OSX_IPHONE" = 1; then
33689 if test "$wxUSE_OLD_COCOA" = 1; then
33694 if test "$wxUSE_PM" = 1; then
33697 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33698 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
33699 if test "${wx_cv_spbcdata+set}" = set; then
33700 echo $ECHO_N "(cached) $ECHO_C" >&6
33703 cat >conftest.
$ac_ext <<_ACEOF
33706 cat confdefs.h
>>conftest.
$ac_ext
33707 cat >>conftest.
$ac_ext <<_ACEOF
33708 /* end confdefs.h. */
33723 rm -f conftest.
$ac_objext
33724 if { (ac_try
="$ac_compile"
33725 case "(($ac_try" in
33726 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33727 *) ac_try_echo=$ac_try;;
33729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33730 (eval "$ac_compile") 2>conftest.er1
33732 grep -v '^ *+' conftest.er1 >conftest.err
33734 cat conftest.err >&5
33735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33736 (exit $ac_status); } && {
33737 test -z "$ac_c_werror_flag" ||
33738 test ! -s conftest.err
33739 } && test -s conftest.$ac_objext; then
33742 echo "$as_me: failed program was:" >&5
33743 sed 's/^/| /' conftest.$ac_ext >&5
33749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33753 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33754 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33756 if test $wx_cv_spbcdata = "yes"; then
33757 cat >>confdefs.h <<\_ACEOF
33758 #define HAVE_SPBCDATA 1
33764 if test "$TOOLKIT" = "PM" ; then
33767 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
33770 if test "$wxUSE_UNIVERSAL" = "yes"; then
33771 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33775 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33776 DISTDIR="wx\$(TOOLKIT)"
33782 if test "$USE_WIN32" = 1 ; then
33786 GUIDIST="BASE_DIST"
33792 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33793 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
33794 wxUSE_UNICODE_UTF8=yes
33795 elif test "$USE_OS2" = 1 ; then
33796 wxUSE_UNICODE_UTF8=yes
33798 wxUSE_UNICODE_UTF8=no
33803 if test "$wxUSE_GUI" = "yes"; then
33804 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33806 for ac_header in X11/Xlib.h
33808 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33809 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33811 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33812 echo $ECHO_N "(cached) $ECHO_C" >&6
33814 cat >conftest.$ac_ext <<_ACEOF
33817 cat confdefs.h >>conftest.$ac_ext
33818 cat >>conftest.$ac_ext <<_ACEOF
33819 /* end confdefs.h. */
33822 #include <$ac_header>
33824 rm -f conftest.$ac_objext
33825 if { (ac_try="$ac_compile"
33826 case "(($ac_try" in
33827 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33828 *) ac_try_echo
=$ac_try;;
33830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33831 (eval "$ac_compile") 2>conftest.er1
33833 grep -v '^ *+' conftest.er1
>conftest.err
33835 cat conftest.err
>&5
33836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33837 (exit $ac_status); } && {
33838 test -z "$ac_c_werror_flag" ||
33839 test ! -s conftest.err
33840 } && test -s conftest.
$ac_objext; then
33841 eval "$as_ac_Header=yes"
33843 echo "$as_me: failed program was:" >&5
33844 sed 's/^/| /' conftest.
$ac_ext >&5
33846 eval "$as_ac_Header=no"
33849 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33851 ac_res
=`eval echo '${'$as_ac_Header'}'`
33852 { echo "$as_me:$LINENO: result: $ac_res" >&5
33853 echo "${ECHO_T}$ac_res" >&6; }
33854 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33855 cat >>confdefs.h
<<_ACEOF
33856 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33864 for ac_header
in X
11/XKBlib.h
33866 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33867 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33868 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33869 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33870 echo $ECHO_N "(cached) $ECHO_C" >&6
33872 cat >conftest.
$ac_ext <<_ACEOF
33875 cat confdefs.h
>>conftest.
$ac_ext
33876 cat >>conftest.
$ac_ext <<_ACEOF
33877 /* end confdefs.h. */
33879 #if HAVE_X11_XLIB_H
33880 #include <X11/Xlib.h>
33884 #include <$ac_header>
33886 rm -f conftest.
$ac_objext
33887 if { (ac_try
="$ac_compile"
33888 case "(($ac_try" in
33889 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33890 *) ac_try_echo=$ac_try;;
33892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33893 (eval "$ac_compile") 2>conftest.er1
33895 grep -v '^ *+' conftest.er1 >conftest.err
33897 cat conftest.err >&5
33898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33899 (exit $ac_status); } && {
33900 test -z "$ac_c_werror_flag" ||
33901 test ! -s conftest.err
33902 } && test -s conftest.$ac_objext; then
33903 eval "$as_ac_Header=yes"
33905 echo "$as_me: failed program was:" >&5
33906 sed 's/^/| /' conftest.$ac_ext >&5
33908 eval "$as_ac_Header=no"
33911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33913 ac_res=`eval echo '${'$as_ac_Header'}'`
33914 { echo "$as_me:$LINENO: result: $ac_res" >&5
33915 echo "${ECHO_T}$ac_res" >&6; }
33916 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33917 cat >>confdefs.h <<_ACEOF
33918 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33931 if test "$wxUSE_DISPLAY" = "yes"; then
33932 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
33933 { echo "$as_me:$LINENO: checking for Xinerama" >&5
33934 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
33937 for ac_dir in $SEARCH_LIB;
33939 for ac_extension in a so sl dylib dll.a; do
33940 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33941 ac_find_libraries=$ac_dir
33947 if test "$ac_find_libraries" != "" ; then
33949 if test "$ac_find_libraries" = "default location"; then
33952 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33954 if test $result = 0; then
33957 ac_path_to_link=" -L$ac_find_libraries"
33961 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33962 LDFLAGS="$LDFLAGS $ac_path_to_link"
33965 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33966 { echo "$as_me:$LINENO: result: yes" >&5
33967 echo "${ECHO_T}yes" >&6; }
33969 { echo "$as_me:$LINENO: result: no" >&5
33970 echo "${ECHO_T}no" >&6; }
33971 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33972 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33975 elif test "$wxUSE_MSW" = 1; then
33976 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33977 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33978 if test "${ac_cv_header_ddraw_h+set}" = set; then
33979 echo $ECHO_N "(cached) $ECHO_C" >&6
33981 cat >conftest.$ac_ext <<_ACEOF
33984 cat confdefs.h >>conftest.$ac_ext
33985 cat >>conftest.$ac_ext <<_ACEOF
33986 /* end confdefs.h. */
33987 #include <windows.h>
33991 rm -f conftest.$ac_objext
33992 if { (ac_try="$ac_compile"
33993 case "(($ac_try" in
33994 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33995 *) ac_try_echo
=$ac_try;;
33997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33998 (eval "$ac_compile") 2>conftest.er1
34000 grep -v '^ *+' conftest.er1
>conftest.err
34002 cat conftest.err
>&5
34003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34004 (exit $ac_status); } && {
34005 test -z "$ac_c_werror_flag" ||
34006 test ! -s conftest.err
34007 } && test -s conftest.
$ac_objext; then
34008 ac_cv_header_ddraw_h
=yes
34010 echo "$as_me: failed program was:" >&5
34011 sed 's/^/| /' conftest.
$ac_ext >&5
34013 ac_cv_header_ddraw_h
=no
34016 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34018 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34019 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34025 if test "$wxUSE_DISPLAY" = "yes"; then
34026 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34027 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34028 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34031 for ac_dir
in $SEARCH_LIB;
34033 for ac_extension
in a so sl dylib dll.a
; do
34034 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34035 ac_find_libraries
=$ac_dir
34041 if test "$ac_find_libraries" != "" ; then
34042 { echo "$as_me:$LINENO: result: yes" >&5
34043 echo "${ECHO_T}yes" >&6; }
34045 for ac_header
in X
11/extensions
/xf86vmode.h
34047 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34048 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34049 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34050 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34051 echo $ECHO_N "(cached) $ECHO_C" >&6
34053 cat >conftest.
$ac_ext <<_ACEOF
34056 cat confdefs.h
>>conftest.
$ac_ext
34057 cat >>conftest.
$ac_ext <<_ACEOF
34058 /* end confdefs.h. */
34060 #if HAVE_X11_XLIB_H
34061 #include <X11/Xlib.h>
34065 #include <$ac_header>
34067 rm -f conftest.
$ac_objext
34068 if { (ac_try
="$ac_compile"
34069 case "(($ac_try" in
34070 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34071 *) ac_try_echo=$ac_try;;
34073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34074 (eval "$ac_compile") 2>conftest.er1
34076 grep -v '^ *+' conftest.er1 >conftest.err
34078 cat conftest.err >&5
34079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34080 (exit $ac_status); } && {
34081 test -z "$ac_c_werror_flag" ||
34082 test ! -s conftest.err
34083 } && test -s conftest.$ac_objext; then
34084 eval "$as_ac_Header=yes"
34086 echo "$as_me: failed program was:" >&5
34087 sed 's/^/| /' conftest.$ac_ext >&5
34089 eval "$as_ac_Header=no"
34092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34094 ac_res=`eval echo '${'$as_ac_Header'}'`
34095 { echo "$as_me:$LINENO: result: $ac_res" >&5
34096 echo "${ECHO_T}$ac_res" >&6; }
34097 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34098 cat >>confdefs.h <<_ACEOF
34099 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34102 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34109 { echo "$as_me:$LINENO: result: no" >&5
34110 echo "${ECHO_T}no" >&6; }
34115 if test "$wxUSE_DETECT_SM" = "yes"; then
34116 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34117 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34118 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34121 for ac_dir in $SEARCH_LIB;
34123 for ac_extension in a so sl dylib dll.a; do
34124 if test -f "$ac_dir/libSM.$ac_extension"; then
34125 ac_find_libraries=$ac_dir
34131 if test "$ac_find_libraries" != "" ; then
34133 if test "$ac_find_libraries" = "default location"; then
34136 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34138 if test $result = 0; then
34141 ac_path_to_link=" -L$ac_find_libraries"
34145 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34146 LDFLAGS="$LDFLAGS $ac_path_to_link"
34148 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34149 { echo "$as_me:$LINENO: result: yes" >&5
34150 echo "${ECHO_T}yes" >&6; }
34152 { echo "$as_me:$LINENO: result: no" >&5
34153 echo "${ECHO_T}no" >&6; }
34154 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34155 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34156 wxUSE_DETECT_SM="no"
34159 wxUSE_DETECT_SM="no"
34166 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34169 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34170 OPENGL_LIBS="-framework OpenGL -framework AGL"
34171 elif test "$wxUSE_MSW" = 1; then
34172 OPENGL_LIBS="-lopengl32 -lglu32"
34173 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34175 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34176 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34179 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
34181 if test -f "$ac_dir/GL/gl.h"; then
34182 ac_find_includes=$ac_dir
34187 if test "$ac_find_includes" != "" ; then
34188 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34189 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34191 if test "x$ac_find_includes" = "x/usr/include"; then
34192 ac_path_to_include=""
34194 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34196 if test $result = 0; then
34197 ac_path_to_include=""
34199 ac_path_to_include=" -I$ac_find_includes"
34203 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34205 { echo "$as_me:$LINENO: result: not found" >&5
34206 echo "${ECHO_T}not found" >&6; }
34209 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34210 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34211 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34212 echo $ECHO_N "(cached) $ECHO_C" >&6
34214 cat >conftest.$ac_ext <<_ACEOF
34217 cat confdefs.h >>conftest.$ac_ext
34218 cat >>conftest.$ac_ext <<_ACEOF
34219 /* end confdefs.h. */
34224 rm -f conftest.$ac_objext
34225 if { (ac_try="$ac_compile"
34226 case "(($ac_try" in
34227 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34228 *) ac_try_echo
=$ac_try;;
34230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34231 (eval "$ac_compile") 2>conftest.er1
34233 grep -v '^ *+' conftest.er1
>conftest.err
34235 cat conftest.err
>&5
34236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34237 (exit $ac_status); } && {
34238 test -z "$ac_c_werror_flag" ||
34239 test ! -s conftest.err
34240 } && test -s conftest.
$ac_objext; then
34241 ac_cv_header_GL_gl_h
=yes
34243 echo "$as_me: failed program was:" >&5
34244 sed 's/^/| /' conftest.
$ac_ext >&5
34246 ac_cv_header_GL_gl_h
=no
34249 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34251 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34252 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34253 if test $ac_cv_header_GL_gl_h = yes; then
34255 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34256 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34257 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34258 echo $ECHO_N "(cached) $ECHO_C" >&6
34260 cat >conftest.
$ac_ext <<_ACEOF
34263 cat confdefs.h
>>conftest.
$ac_ext
34264 cat >>conftest.
$ac_ext <<_ACEOF
34265 /* end confdefs.h. */
34268 #include <GL/glu.h>
34270 rm -f conftest.
$ac_objext
34271 if { (ac_try
="$ac_compile"
34272 case "(($ac_try" in
34273 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34274 *) ac_try_echo=$ac_try;;
34276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34277 (eval "$ac_compile") 2>conftest.er1
34279 grep -v '^ *+' conftest.er1 >conftest.err
34281 cat conftest.err >&5
34282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34283 (exit $ac_status); } && {
34284 test -z "$ac_c_werror_flag" ||
34285 test ! -s conftest.err
34286 } && test -s conftest.$ac_objext; then
34287 ac_cv_header_GL_glu_h=yes
34289 echo "$as_me: failed program was:" >&5
34290 sed 's/^/| /' conftest.$ac_ext >&5
34292 ac_cv_header_GL_glu_h=no
34295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34297 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34298 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34299 if test $ac_cv_header_GL_glu_h = yes; then
34303 { echo "$as_me:$LINENO: checking for -lGL" >&5
34304 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34307 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
34309 for ac_extension in a so sl dylib dll.a; do
34310 if test -f "$ac_dir/libGL.$ac_extension"; then
34311 ac_find_libraries=$ac_dir
34317 if test "$ac_find_libraries" != "" ; then
34318 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34319 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34322 if test "$ac_find_libraries" = "default location"; then
34325 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34327 if test $result = 0; then
34330 ac_path_to_link=" -L$ac_find_libraries"
34334 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34335 LDFLAGS_GL="$ac_path_to_link"
34338 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34339 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34342 for ac_dir in $SEARCH_LIB;
34344 for ac_extension in a so sl dylib dll.a; do
34345 if test -f "$ac_dir/libGLU.$ac_extension"; then
34346 ac_find_libraries=$ac_dir
34352 if test "$ac_find_libraries" != "" ; then
34354 if test "$ac_find_libraries" = "default location"; then
34357 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34359 if test $result = 0; then
34362 ac_path_to_link=" -L$ac_find_libraries"
34366 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34367 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34368 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34372 OPENGL_LIBS="-lGL -lGLU"
34373 { echo "$as_me:$LINENO: result: yes" >&5
34374 echo "${ECHO_T}yes" >&6; }
34376 { echo "$as_me:$LINENO: result: no" >&5
34377 echo "${ECHO_T}no" >&6; }
34380 { echo "$as_me:$LINENO: result: no" >&5
34381 echo "${ECHO_T}no" >&6; }
34384 if test "$found_gl" != 1; then
34385 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34386 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34389 for ac_dir in $SEARCH_LIB;
34391 for ac_extension in a so sl dylib dll.a; do
34392 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34393 ac_find_libraries=$ac_dir
34399 if test "$ac_find_libraries" != "" ; then
34401 if test "$ac_find_libraries" = "default location"; then
34404 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34406 if test $result = 0; then
34409 ac_path_to_link=" -L$ac_find_libraries"
34413 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34414 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34415 { echo "$as_me:$LINENO: result: yes" >&5
34416 echo "${ECHO_T}yes" >&6; }
34418 { echo "$as_me:$LINENO: result: no" >&5
34419 echo "${ECHO_T}no" >&6; }
34431 if test "x$OPENGL_LIBS" = "x"; then
34432 if test "$wxUSE_OPENGL" = "yes"; then
34433 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34434 echo "$as_me: error: OpenGL libraries not available" >&2;}
34435 { (exit 1); exit 1; }; }
34437 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34438 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34444 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34445 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34449 if test "$wxUSE_OPENGL" = "auto"; then
34453 if test "$wxUSE_OPENGL" = "yes"; then
34455 cat >>confdefs.h <<\_ACEOF
34456 #define wxUSE_OPENGL 1
34459 cat >>confdefs.h <<\_ACEOF
34460 #define wxUSE_GLCANVAS 1
34463 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34468 if test -n "$TOOLKIT" ; then
34469 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34474 if test "$wxUSE_SHARED" = "yes"; then
34478 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34479 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34484 if test "$wxUSE_SHARED" = "yes"; then
34488 *-*-cygwin* | *-*-mingw* )
34489 wx_cv_version_script=no
34493 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34494 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34495 if test "${wx_cv_version_script+set}" = set; then
34496 echo $ECHO_N "(cached) $ECHO_C" >&6
34499 echo "VER_1 { *; };" >conftest.sym
34500 echo "int main() { return 0; }" >conftest.cpp
34503 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34504 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34506 (eval $ac_try) 2>&5
34508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34509 (exit $ac_status); }; } ; then
34510 if test -s conftest.stderr ; then
34511 wx_cv_version_script=no
34513 wx_cv_version_script=yes
34516 wx_cv_version_script=no
34519 if test $wx_cv_version_script = yes
34521 echo "struct B { virtual ~B() { } }; \
34522 struct D : public B { }; \
34523 void F() { D d; }" > conftest.cpp
34526 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34527 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34529 (eval $ac_try) 2>&5
34531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34532 (exit $ac_status); }; } &&
34534 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34535 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34537 (eval $ac_try) 2>&5
34539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34540 (exit $ac_status); }; }
34543 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34544 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34546 (eval $ac_try) 2>&5
34548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34549 (exit $ac_status); }; }
34551 wx_cv_version_script=yes
34553 wx_cv_version_script=no
34558 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34559 rm -f conftest1.output conftest2.output conftest3.output
34562 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34563 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34565 if test $wx_cv_version_script = yes ; then
34566 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34572 if test "$wxUSE_VISIBILITY" != "no"; then
34575 if test -n "$GCC"; then
34576 CFLAGS_VISIBILITY="-fvisibility=hidden"
34577 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34578 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34579 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
34580 if test "${wx_cv_cc_visibility+set}" = set; then
34581 echo $ECHO_N "(cached) $ECHO_C" >&6
34584 wx_save_CXXFLAGS="$CXXFLAGS"
34585 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34587 ac_cpp='$CXXCPP $CPPFLAGS'
34588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34592 cat >conftest.$ac_ext <<_ACEOF
34595 cat confdefs.h >>conftest.$ac_ext
34596 cat >>conftest.$ac_ext <<_ACEOF
34597 /* end confdefs.h. */
34599 /* we need gcc >= 4.0, older versions with visibility support
34600 didn't have class visibility: */
34601 #if defined(__GNUC__) && __GNUC__ < 4
34602 error this gcc is too old;
34605 /* visibility only makes sense for ELF shared libs: */
34606 #if !defined(__ELF__) && !defined(__APPLE__)
34607 error this platform has no visibility;
34610 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34611 extern __attribute__((__visibility__("default"))) int exportedvar;
34612 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34613 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34614 class __attribute__((__visibility__("default"))) Foo {
34626 rm -f conftest.$ac_objext
34627 if { (ac_try="$ac_compile"
34628 case "(($ac_try" in
34629 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34630 *) ac_try_echo
=$ac_try;;
34632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34633 (eval "$ac_compile") 2>conftest.er1
34635 grep -v '^ *+' conftest.er1
>conftest.err
34637 cat conftest.err
>&5
34638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34639 (exit $ac_status); } && {
34640 test -z "$ac_cxx_werror_flag" ||
34641 test ! -s conftest.err
34642 } && test -s conftest.
$ac_objext; then
34643 wx_cv_cc_visibility
=yes
34645 echo "$as_me: failed program was:" >&5
34646 sed 's/^/| /' conftest.
$ac_ext >&5
34648 wx_cv_cc_visibility
=no
34651 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34653 ac_cpp
='$CPP $CPPFLAGS'
34654 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34655 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34656 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34658 CXXFLAGS
="$wx_save_CXXFLAGS"
34661 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
34662 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
34663 if test $wx_cv_cc_visibility = yes; then
34664 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
34665 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
34666 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
34667 echo $ECHO_N "(cached) $ECHO_C" >&6
34670 wx_save_CXXFLAGS
="$CXXFLAGS"
34671 wx_save_LDFLAGS
="$LDFLAGS"
34672 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34673 LDFLAGS
="$LDFLAGS -shared -fPIC"
34675 ac_cpp
='$CXXCPP $CPPFLAGS'
34676 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34677 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34678 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34680 cat >conftest.
$ac_ext <<_ACEOF
34683 cat confdefs.h
>>conftest.
$ac_ext
34684 cat >>conftest.
$ac_ext <<_ACEOF
34685 /* end confdefs.h. */
34693 std::string s("hello");
34700 rm -f conftest.
$ac_objext conftest
$ac_exeext
34701 if { (ac_try
="$ac_link"
34702 case "(($ac_try" in
34703 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34704 *) ac_try_echo=$ac_try;;
34706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34707 (eval "$ac_link") 2>conftest.er1
34709 grep -v '^ *+' conftest.er1 >conftest.err
34711 cat conftest.err >&5
34712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34713 (exit $ac_status); } && {
34714 test -z "$ac_cxx_werror_flag" ||
34715 test ! -s conftest.err
34716 } && test -s conftest$ac_exeext &&
34717 $as_test_x conftest$ac_exeext; then
34718 wx_cv_cc_broken_libstdcxx_visibility=no
34720 echo "$as_me: failed program was:" >&5
34721 sed 's/^/| /' conftest.$ac_ext >&5
34723 wx_cv_cc_broken_libstdcxx_visibility=yes
34726 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34727 conftest$ac_exeext conftest.$ac_ext
34729 ac_cpp='$CPP $CPPFLAGS'
34730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34734 CXXFLAGS="$wx_save_CXXFLAGS"
34735 LDFLAGS="$wx_save_LDFLAGS"
34738 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
34739 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
34741 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34742 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
34743 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
34744 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
34745 echo $ECHO_N "(cached) $ECHO_C" >&6
34749 ac_cpp='$CXXCPP $CPPFLAGS'
34750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34754 cat >conftest.$ac_ext <<_ACEOF
34757 cat confdefs.h >>conftest.$ac_ext
34758 cat >>conftest.$ac_ext <<_ACEOF
34759 /* end confdefs.h. */
34761 #pragma GCC visibility push(default)
34763 #pragma GCC visibility pop
34769 std::string s("hello");
34776 rm -f conftest.$ac_objext conftest$ac_exeext
34777 if { (ac_try="$ac_link"
34778 case "(($ac_try" in
34779 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34780 *) ac_try_echo
=$ac_try;;
34782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34783 (eval "$ac_link") 2>conftest.er1
34785 grep -v '^ *+' conftest.er1
>conftest.err
34787 cat conftest.err
>&5
34788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34789 (exit $ac_status); } && {
34790 test -z "$ac_cxx_werror_flag" ||
34791 test ! -s conftest.err
34792 } && test -s conftest
$ac_exeext &&
34793 $as_test_x conftest
$ac_exeext; then
34794 wx_cv_cc_visibility_workaround
=no
34796 echo "$as_me: failed program was:" >&5
34797 sed 's/^/| /' conftest.
$ac_ext >&5
34799 wx_cv_cc_visibility_workaround
=yes
34802 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34803 conftest
$ac_exeext conftest.
$ac_ext
34805 ac_cpp
='$CPP $CPPFLAGS'
34806 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34807 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34808 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34813 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
34814 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
34816 if test $wx_cv_cc_visibility_workaround = no
; then
34817 wx_cv_cc_visibility
=no
34822 if test $wx_cv_cc_visibility = yes; then
34823 cat >>confdefs.h
<<\_ACEOF
34824 #define HAVE_VISIBILITY 1
34827 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34828 cat >>confdefs.h
<<\_ACEOF
34829 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
34834 CFLAGS_VISIBILITY
=""
34835 CXXFLAGS_VISIBILITY
=""
34843 if test "x$SUNCXX" = xyes
; then
34844 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
34845 WXCONFIG_RPATH
="-R\$libdir"
34848 *-*-linux* | *-*-gnu* )
34849 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
34850 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
34855 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
34857 saveLdflags
="$LDFLAGS"
34858 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
34859 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34860 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
34861 cat >conftest.
$ac_ext <<_ACEOF
34864 cat confdefs.h
>>conftest.
$ac_ext
34865 cat >>conftest.
$ac_ext <<_ACEOF
34866 /* end confdefs.h. */
34876 rm -f conftest.
$ac_objext conftest
$ac_exeext
34877 if { (ac_try
="$ac_link"
34878 case "(($ac_try" in
34879 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34880 *) ac_try_echo=$ac_try;;
34882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34883 (eval "$ac_link") 2>conftest.er1
34885 grep -v '^ *+' conftest.er1 >conftest.err
34887 cat conftest.err >&5
34888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34889 (exit $ac_status); } && {
34890 test -z "$ac_c_werror_flag" ||
34891 test ! -s conftest.err
34892 } && test -s conftest$ac_exeext &&
34893 $as_test_x conftest$ac_exeext; then
34895 { echo "$as_me:$LINENO: result: yes" >&5
34896 echo "${ECHO_T}yes" >&6; }
34897 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34898 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34901 echo "$as_me: failed program was:" >&5
34902 sed 's/^/| /' conftest.$ac_ext >&5
34905 { echo "$as_me:$LINENO: result: no" >&5
34906 echo "${ECHO_T}no" >&6; }
34907 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34908 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
34909 LDFLAGS="$saveLdflags -Wl,-R,/"
34910 cat >conftest.$ac_ext <<_ACEOF
34913 cat confdefs.h >>conftest.$ac_ext
34914 cat >>conftest.$ac_ext <<_ACEOF
34915 /* end confdefs.h. */
34925 rm -f conftest.$ac_objext conftest$ac_exeext
34926 if { (ac_try="$ac_link"
34927 case "(($ac_try" in
34928 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34929 *) ac_try_echo
=$ac_try;;
34931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34932 (eval "$ac_link") 2>conftest.er1
34934 grep -v '^ *+' conftest.er1
>conftest.err
34936 cat conftest.err
>&5
34937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34938 (exit $ac_status); } && {
34939 test -z "$ac_c_werror_flag" ||
34940 test ! -s conftest.err
34941 } && test -s conftest
$ac_exeext &&
34942 $as_test_x conftest
$ac_exeext; then
34944 { echo "$as_me:$LINENO: result: yes" >&5
34945 echo "${ECHO_T}yes" >&6; }
34946 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
34947 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
34950 echo "$as_me: failed program was:" >&5
34951 sed 's/^/| /' conftest.
$ac_ext >&5
34954 { echo "$as_me:$LINENO: result: no" >&5
34955 echo "${ECHO_T}no" >&6; }
34959 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34960 conftest
$ac_exeext conftest.
$ac_ext
34964 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34965 conftest
$ac_exeext conftest.
$ac_ext
34966 LDFLAGS
="$saveLdflags"
34970 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
34971 if test "$install_name_tool" -a -x "$install_name_tool"; then
34972 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
34973 cat <<EOF >change-install-names
34975 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34976 for i in \${libnames} ; do
34977 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
34978 for dep in \${libnames} ; do
34979 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
34983 chmod +x change
-install-names
34984 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
34987 HEADER_PAD_OPTION
="-headerpad_max_install_names"
34990 *-*-cygwin* | *-*-mingw32* )
34994 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
34995 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
35001 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35003 if test $wxUSE_RPATH = "no"; then
35004 SAMPLES_RPATH_FLAG
=''
35005 DYLIB_PATH_POSTLINK
=''
35013 config_linkage_component
="-static"
35020 lib_unicode_suffix
=
35022 if test "$wxUSE_UNICODE" = "yes"; then
35023 lib_unicode_suffix
=u
35024 WX_CHARTYPE
="unicode"
35028 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
35029 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
35032 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35036 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35038 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35040 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35043 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35044 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35046 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35048 if test "${TOOLKIT_DIR}" = "os2"; then
35049 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35051 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35056 if test "$wxUSE_OLD_COCOA" = 1; then
35059 ac_cpp
='$CPP $CPPFLAGS'
35060 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35061 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35062 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35066 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35067 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35068 cat >conftest.
$ac_ext <<_ACEOF
35071 cat confdefs.h
>>conftest.
$ac_ext
35072 cat >>conftest.
$ac_ext <<_ACEOF
35073 /* end confdefs.h. */
35074 #include <AppKit/NSEvent.h>
35075 #include <CoreFoundation/CoreFoundation.h>
35085 rm -f conftest.
$ac_objext
35086 if { (ac_try
="$ac_compile"
35087 case "(($ac_try" in
35088 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35089 *) ac_try_echo=$ac_try;;
35091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35092 (eval "$ac_compile") 2>conftest.er1
35094 grep -v '^ *+' conftest.er1 >conftest.err
35096 cat conftest.err >&5
35097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35098 (exit $ac_status); } && {
35099 test -z "$ac_c_werror_flag" ||
35100 test ! -s conftest.err
35101 } && test -s conftest.$ac_objext; then
35102 { echo "$as_me:$LINENO: result: no" >&5
35103 echo "${ECHO_T}no" >&6; }
35105 echo "$as_me: failed program was:" >&5
35106 sed 's/^/| /' conftest.$ac_ext >&5
35108 { echo "$as_me:$LINENO: result: yes" >&5
35109 echo "${ECHO_T}yes" >&6; }
35110 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35111 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35112 cat >conftest.$ac_ext <<_ACEOF
35115 cat confdefs.h >>conftest.$ac_ext
35116 cat >>conftest.$ac_ext <<_ACEOF
35117 /* end confdefs.h. */
35118 #define __Point__ 1
35119 #include <AppKit/NSEvent.h>
35120 #include <CoreFoundation/CoreFoundation.h>
35130 rm -f conftest.$ac_objext
35131 if { (ac_try="$ac_compile"
35132 case "(($ac_try" in
35133 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35134 *) ac_try_echo
=$ac_try;;
35136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35137 (eval "$ac_compile") 2>conftest.er1
35139 grep -v '^ *+' conftest.er1
>conftest.err
35141 cat conftest.err
>&5
35142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35143 (exit $ac_status); } && {
35144 test -z "$ac_c_werror_flag" ||
35145 test ! -s conftest.err
35146 } && test -s conftest.
$ac_objext; then
35147 { echo "$as_me:$LINENO: result: yes" >&5
35148 echo "${ECHO_T}yes" >&6; }
35149 cat >>confdefs.h
<<\_ACEOF
35150 #define __Point__ 1
35155 echo "$as_me: failed program was:" >&5
35156 sed 's/^/| /' conftest.
$ac_ext >&5
35158 { { echo "$as_me:$LINENO: error: no
35159 See \`config.log' for more details." >&5
35160 echo "$as_me: error: no
35161 See \`config.log' for more details." >&2;}
35162 { (exit 1); exit 1; }; }
35166 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35170 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35172 ac_cpp
='$CPP $CPPFLAGS'
35173 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35174 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35175 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35180 { echo "$as_me:$LINENO: checking for mode_t" >&5
35181 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35182 if test "${ac_cv_type_mode_t+set}" = set; then
35183 echo $ECHO_N "(cached) $ECHO_C" >&6
35185 cat >conftest.
$ac_ext <<_ACEOF
35188 cat confdefs.h
>>conftest.
$ac_ext
35189 cat >>conftest.
$ac_ext <<_ACEOF
35190 /* end confdefs.h. */
35191 $ac_includes_default
35192 typedef mode_t ac__type_new_;
35196 if ((ac__type_new_ *) 0)
35198 if (sizeof (ac__type_new_))
35204 rm -f conftest.
$ac_objext
35205 if { (ac_try
="$ac_compile"
35206 case "(($ac_try" in
35207 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35208 *) ac_try_echo=$ac_try;;
35210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35211 (eval "$ac_compile") 2>conftest.er1
35213 grep -v '^ *+' conftest.er1 >conftest.err
35215 cat conftest.err >&5
35216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35217 (exit $ac_status); } && {
35218 test -z "$ac_c_werror_flag" ||
35219 test ! -s conftest.err
35220 } && test -s conftest.$ac_objext; then
35221 ac_cv_type_mode_t=yes
35223 echo "$as_me: failed program was:" >&5
35224 sed 's/^/| /' conftest.$ac_ext >&5
35226 ac_cv_type_mode_t=no
35229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35231 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35232 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35233 if test $ac_cv_type_mode_t = yes; then
35237 cat >>confdefs.h <<_ACEOF
35243 { echo "$as_me:$LINENO: checking for off_t" >&5
35244 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35245 if test "${ac_cv_type_off_t+set}" = set; then
35246 echo $ECHO_N "(cached) $ECHO_C" >&6
35248 cat >conftest.$ac_ext <<_ACEOF
35251 cat confdefs.h >>conftest.$ac_ext
35252 cat >>conftest.$ac_ext <<_ACEOF
35253 /* end confdefs.h. */
35254 $ac_includes_default
35255 typedef off_t ac__type_new_;
35259 if ((ac__type_new_ *) 0)
35261 if (sizeof (ac__type_new_))
35267 rm -f conftest.$ac_objext
35268 if { (ac_try="$ac_compile"
35269 case "(($ac_try" in
35270 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35271 *) ac_try_echo
=$ac_try;;
35273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35274 (eval "$ac_compile") 2>conftest.er1
35276 grep -v '^ *+' conftest.er1
>conftest.err
35278 cat conftest.err
>&5
35279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35280 (exit $ac_status); } && {
35281 test -z "$ac_c_werror_flag" ||
35282 test ! -s conftest.err
35283 } && test -s conftest.
$ac_objext; then
35284 ac_cv_type_off_t
=yes
35286 echo "$as_me: failed program was:" >&5
35287 sed 's/^/| /' conftest.
$ac_ext >&5
35289 ac_cv_type_off_t
=no
35292 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35294 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35295 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35296 if test $ac_cv_type_off_t = yes; then
35300 cat >>confdefs.h
<<_ACEOF
35301 #define off_t long int
35306 { echo "$as_me:$LINENO: checking for pid_t" >&5
35307 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35308 if test "${ac_cv_type_pid_t+set}" = set; then
35309 echo $ECHO_N "(cached) $ECHO_C" >&6
35311 cat >conftest.
$ac_ext <<_ACEOF
35314 cat confdefs.h
>>conftest.
$ac_ext
35315 cat >>conftest.
$ac_ext <<_ACEOF
35316 /* end confdefs.h. */
35317 $ac_includes_default
35318 typedef pid_t ac__type_new_;
35322 if ((ac__type_new_ *) 0)
35324 if (sizeof (ac__type_new_))
35330 rm -f conftest.
$ac_objext
35331 if { (ac_try
="$ac_compile"
35332 case "(($ac_try" in
35333 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35334 *) ac_try_echo=$ac_try;;
35336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35337 (eval "$ac_compile") 2>conftest.er1
35339 grep -v '^ *+' conftest.er1 >conftest.err
35341 cat conftest.err >&5
35342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35343 (exit $ac_status); } && {
35344 test -z "$ac_c_werror_flag" ||
35345 test ! -s conftest.err
35346 } && test -s conftest.$ac_objext; then
35347 ac_cv_type_pid_t=yes
35349 echo "$as_me: failed program was:" >&5
35350 sed 's/^/| /' conftest.$ac_ext >&5
35352 ac_cv_type_pid_t=no
35355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35357 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35358 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35359 if test $ac_cv_type_pid_t = yes; then
35363 cat >>confdefs.h <<_ACEOF
35369 { echo "$as_me:$LINENO: checking for size_t" >&5
35370 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35371 if test "${ac_cv_type_size_t+set}" = set; then
35372 echo $ECHO_N "(cached) $ECHO_C" >&6
35374 cat >conftest.$ac_ext <<_ACEOF
35377 cat confdefs.h >>conftest.$ac_ext
35378 cat >>conftest.$ac_ext <<_ACEOF
35379 /* end confdefs.h. */
35380 $ac_includes_default
35381 typedef size_t ac__type_new_;
35385 if ((ac__type_new_ *) 0)
35387 if (sizeof (ac__type_new_))
35393 rm -f conftest.$ac_objext
35394 if { (ac_try="$ac_compile"
35395 case "(($ac_try" in
35396 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35397 *) ac_try_echo
=$ac_try;;
35399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35400 (eval "$ac_compile") 2>conftest.er1
35402 grep -v '^ *+' conftest.er1
>conftest.err
35404 cat conftest.err
>&5
35405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35406 (exit $ac_status); } && {
35407 test -z "$ac_c_werror_flag" ||
35408 test ! -s conftest.err
35409 } && test -s conftest.
$ac_objext; then
35410 ac_cv_type_size_t
=yes
35412 echo "$as_me: failed program was:" >&5
35413 sed 's/^/| /' conftest.
$ac_ext >&5
35415 ac_cv_type_size_t
=no
35418 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35420 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35421 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35422 if test $ac_cv_type_size_t = yes; then
35426 cat >>confdefs.h
<<_ACEOF
35427 #define size_t unsigned int
35433 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35434 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35435 if test "${ac_cv_type_ssize_t+set}" = set; then
35436 echo $ECHO_N "(cached) $ECHO_C" >&6
35438 cat >conftest.
$ac_ext <<_ACEOF
35441 cat confdefs.h
>>conftest.
$ac_ext
35442 cat >>conftest.
$ac_ext <<_ACEOF
35443 /* end confdefs.h. */
35444 $ac_includes_default
35445 typedef ssize_t ac__type_new_;
35449 if ((ac__type_new_ *) 0)
35451 if (sizeof (ac__type_new_))
35457 rm -f conftest.
$ac_objext
35458 if { (ac_try
="$ac_compile"
35459 case "(($ac_try" in
35460 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35461 *) ac_try_echo=$ac_try;;
35463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35464 (eval "$ac_compile") 2>conftest.er1
35466 grep -v '^ *+' conftest.er1 >conftest.err
35468 cat conftest.err >&5
35469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35470 (exit $ac_status); } && {
35471 test -z "$ac_c_werror_flag" ||
35472 test ! -s conftest.err
35473 } && test -s conftest.$ac_objext; then
35474 ac_cv_type_ssize_t=yes
35476 echo "$as_me: failed program was:" >&5
35477 sed 's/^/| /' conftest.$ac_ext >&5
35479 ac_cv_type_ssize_t=no
35482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35484 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35485 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35486 if test $ac_cv_type_ssize_t = yes; then
35488 cat >>confdefs.h <<_ACEOF
35489 #define HAVE_SSIZE_T 1
35497 ac_cpp='$CXXCPP $CPPFLAGS'
35498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35501 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35502 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35503 if test "${wx_cv_size_t_is_uint+set}" = set; then
35504 echo $ECHO_N "(cached) $ECHO_C" >&6
35507 cat >conftest.$ac_ext <<_ACEOF
35510 cat confdefs.h >>conftest.$ac_ext
35511 cat >>conftest.$ac_ext <<_ACEOF
35512 /* end confdefs.h. */
35513 #include <stddef.h>
35520 struct Foo { void foo(size_t); void foo(unsigned int); };
35528 rm -f conftest.$ac_objext
35529 if { (ac_try="$ac_compile"
35530 case "(($ac_try" in
35531 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35532 *) ac_try_echo
=$ac_try;;
35534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35535 (eval "$ac_compile") 2>conftest.er1
35537 grep -v '^ *+' conftest.er1
>conftest.err
35539 cat conftest.err
>&5
35540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35541 (exit $ac_status); } && {
35542 test -z "$ac_cxx_werror_flag" ||
35543 test ! -s conftest.err
35544 } && test -s conftest.
$ac_objext; then
35545 wx_cv_size_t_is_uint
=no
35547 echo "$as_me: failed program was:" >&5
35548 sed 's/^/| /' conftest.
$ac_ext >&5
35550 wx_cv_size_t_is_uint
=yes
35554 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35558 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35559 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35561 if test "$wx_cv_size_t_is_uint" = "yes"; then
35562 cat >>confdefs.h
<<\_ACEOF
35563 #define wxSIZE_T_IS_UINT 1
35567 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35568 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35569 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35570 echo $ECHO_N "(cached) $ECHO_C" >&6
35572 cat >conftest.
$ac_ext <<_ACEOF
35575 cat confdefs.h
>>conftest.
$ac_ext
35576 cat >>conftest.
$ac_ext <<_ACEOF
35577 /* end confdefs.h. */
35578 #include <stddef.h>
35585 struct Foo { void foo(size_t); void foo(unsigned long); };
35593 rm -f conftest.
$ac_objext
35594 if { (ac_try
="$ac_compile"
35595 case "(($ac_try" in
35596 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35597 *) ac_try_echo=$ac_try;;
35599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35600 (eval "$ac_compile") 2>conftest.er1
35602 grep -v '^ *+' conftest.er1 >conftest.err
35604 cat conftest.err >&5
35605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35606 (exit $ac_status); } && {
35607 test -z "$ac_cxx_werror_flag" ||
35608 test ! -s conftest.err
35609 } && test -s conftest.$ac_objext; then
35610 wx_cv_size_t_is_ulong=no
35612 echo "$as_me: failed program was:" >&5
35613 sed 's/^/| /' conftest.$ac_ext >&5
35615 wx_cv_size_t_is_ulong=yes
35619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35622 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35623 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
35625 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35626 cat >>confdefs.h <<\_ACEOF
35627 #define wxSIZE_T_IS_ULONG 1
35633 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35634 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
35635 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35636 echo $ECHO_N "(cached) $ECHO_C" >&6
35638 cat >conftest.$ac_ext <<_ACEOF
35641 cat confdefs.h >>conftest.$ac_ext
35642 cat >>conftest.$ac_ext <<_ACEOF
35643 /* end confdefs.h. */
35651 struct Foo { void foo(wchar_t);
35652 void foo(unsigned short);
35653 void foo(unsigned int);
35654 void foo(unsigned long); };
35662 rm -f conftest.$ac_objext
35663 if { (ac_try="$ac_compile"
35664 case "(($ac_try" in
35665 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35666 *) ac_try_echo
=$ac_try;;
35668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35669 (eval "$ac_compile") 2>conftest.er1
35671 grep -v '^ *+' conftest.er1
>conftest.err
35673 cat conftest.err
>&5
35674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35675 (exit $ac_status); } && {
35676 test -z "$ac_cxx_werror_flag" ||
35677 test ! -s conftest.err
35678 } && test -s conftest.
$ac_objext; then
35679 wx_cv_wchar_t_is_separate_type
=yes
35681 echo "$as_me: failed program was:" >&5
35682 sed 's/^/| /' conftest.
$ac_ext >&5
35684 wx_cv_wchar_t_is_separate_type
=no
35688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35691 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
35692 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
35694 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
35695 cat >>confdefs.h
<<\_ACEOF
35696 #define wxWCHAR_T_IS_REAL_TYPE 1
35700 cat >>confdefs.h
<<\_ACEOF
35701 #define wxWCHAR_T_IS_REAL_TYPE 0
35707 ac_cpp
='$CPP $CPPFLAGS'
35708 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35709 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35710 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35713 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35714 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
35715 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35716 echo $ECHO_N "(cached) $ECHO_C" >&6
35719 cat >conftest.
$ac_ext <<_ACEOF
35722 cat confdefs.h
>>conftest.
$ac_ext
35723 cat >>conftest.
$ac_ext <<_ACEOF
35724 /* end confdefs.h. */
35738 rm -f conftest.
$ac_objext
35739 if { (ac_try
="$ac_compile"
35740 case "(($ac_try" in
35741 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35742 *) ac_try_echo=$ac_try;;
35744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35745 (eval "$ac_compile") 2>conftest.er1
35747 grep -v '^ *+' conftest.er1 >conftest.err
35749 cat conftest.err >&5
35750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35751 (exit $ac_status); } && {
35752 test -z "$ac_c_werror_flag" ||
35753 test ! -s conftest.err
35754 } && test -s conftest.$ac_objext; then
35756 wx_cv_struct_pw_gecos=yes
35759 echo "$as_me: failed program was:" >&5
35760 sed 's/^/| /' conftest.$ac_ext >&5
35763 wx_cv_struct_pw_gecos=no
35768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35772 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35773 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35775 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35776 cat >>confdefs.h <<\_ACEOF
35777 #define HAVE_PW_GECOS 1
35783 if test "$wxUSE_WCHAR_T" = "yes"; then
35784 cat >>confdefs.h <<\_ACEOF
35785 #define wxUSE_WCHAR_T 1
35792 for ac_func in wcslen
35794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35795 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35797 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35798 echo $ECHO_N "(cached) $ECHO_C" >&6
35800 cat >conftest.$ac_ext <<_ACEOF
35803 cat confdefs.h >>conftest.$ac_ext
35804 cat >>conftest.$ac_ext <<_ACEOF
35805 /* end confdefs.h. */
35806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35808 #define $ac_func innocuous_$ac_func
35810 /* System header to define __stub macros and hopefully few prototypes,
35811 which can conflict with char $ac_func (); below.
35812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35813 <limits.h> exists even on freestanding compilers. */
35816 # include <limits.h>
35818 # include <assert.h>
35823 /* Override any GCC internal prototype to avoid an error.
35824 Use char because int might match the return type of a GCC
35825 builtin and then its argument prototype would still apply. */
35830 /* The GNU C library defines this for functions which it implements
35831 to always fail with ENOSYS. Some functions are actually named
35832 something starting with __ and the normal name is an alias. */
35833 #if defined __stub_$ac_func || defined __stub___$ac_func
35840 return $ac_func ();
35845 rm -f conftest.$ac_objext conftest$ac_exeext
35846 if { (ac_try="$ac_link"
35847 case "(($ac_try" in
35848 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35849 *) ac_try_echo
=$ac_try;;
35851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35852 (eval "$ac_link") 2>conftest.er1
35854 grep -v '^ *+' conftest.er1
>conftest.err
35856 cat conftest.err
>&5
35857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35858 (exit $ac_status); } && {
35859 test -z "$ac_c_werror_flag" ||
35860 test ! -s conftest.err
35861 } && test -s conftest
$ac_exeext &&
35862 $as_test_x conftest
$ac_exeext; then
35863 eval "$as_ac_var=yes"
35865 echo "$as_me: failed program was:" >&5
35866 sed 's/^/| /' conftest.
$ac_ext >&5
35868 eval "$as_ac_var=no"
35871 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35872 conftest
$ac_exeext conftest.
$ac_ext
35874 ac_res
=`eval echo '${'$as_ac_var'}'`
35875 { echo "$as_me:$LINENO: result: $ac_res" >&5
35876 echo "${ECHO_T}$ac_res" >&6; }
35877 if test `eval echo '${'$as_ac_var'}'` = yes; then
35878 cat >>confdefs.h
<<_ACEOF
35879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35886 if test "$WCSLEN_FOUND" = 0; then
35887 if test "$TOOLKIT" = "MSW"; then
35888 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35889 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
35890 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35891 echo $ECHO_N "(cached) $ECHO_C" >&6
35893 ac_check_lib_save_LIBS
=$LIBS
35894 LIBS
="-lmsvcrt $LIBS"
35895 cat >conftest.
$ac_ext <<_ACEOF
35898 cat confdefs.h
>>conftest.
$ac_ext
35899 cat >>conftest.
$ac_ext <<_ACEOF
35900 /* end confdefs.h. */
35902 /* Override any GCC internal prototype to avoid an error.
35903 Use char because int might match the return type of a GCC
35904 builtin and then its argument prototype would still apply. */
35917 rm -f conftest.
$ac_objext conftest
$ac_exeext
35918 if { (ac_try
="$ac_link"
35919 case "(($ac_try" in
35920 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35921 *) ac_try_echo=$ac_try;;
35923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35924 (eval "$ac_link") 2>conftest.er1
35926 grep -v '^ *+' conftest.er1 >conftest.err
35928 cat conftest.err >&5
35929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35930 (exit $ac_status); } && {
35931 test -z "$ac_c_werror_flag" ||
35932 test ! -s conftest.err
35933 } && test -s conftest$ac_exeext &&
35934 $as_test_x conftest$ac_exeext; then
35935 ac_cv_lib_msvcrt_wcslen=yes
35937 echo "$as_me: failed program was:" >&5
35938 sed 's/^/| /' conftest.$ac_ext >&5
35940 ac_cv_lib_msvcrt_wcslen=no
35943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35944 conftest$ac_exeext conftest.$ac_ext
35945 LIBS=$ac_check_lib_save_LIBS
35947 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35948 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
35949 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35954 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35955 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
35956 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35957 echo $ECHO_N "(cached) $ECHO_C" >&6
35959 ac_check_lib_save_LIBS=$LIBS
35961 cat >conftest.$ac_ext <<_ACEOF
35964 cat confdefs.h >>conftest.$ac_ext
35965 cat >>conftest.$ac_ext <<_ACEOF
35966 /* end confdefs.h. */
35968 /* Override any GCC internal prototype to avoid an error.
35969 Use char because int might match the return type of a GCC
35970 builtin and then its argument prototype would still apply. */
35983 rm -f conftest.$ac_objext conftest$ac_exeext
35984 if { (ac_try="$ac_link"
35985 case "(($ac_try" in
35986 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35987 *) ac_try_echo
=$ac_try;;
35989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35990 (eval "$ac_link") 2>conftest.er1
35992 grep -v '^ *+' conftest.er1
>conftest.err
35994 cat conftest.err
>&5
35995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35996 (exit $ac_status); } && {
35997 test -z "$ac_c_werror_flag" ||
35998 test ! -s conftest.err
35999 } && test -s conftest
$ac_exeext &&
36000 $as_test_x conftest
$ac_exeext; then
36001 ac_cv_lib_w_wcslen
=yes
36003 echo "$as_me: failed program was:" >&5
36004 sed 's/^/| /' conftest.
$ac_ext >&5
36006 ac_cv_lib_w_wcslen
=no
36009 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36010 conftest
$ac_exeext conftest.
$ac_ext
36011 LIBS
=$ac_check_lib_save_LIBS
36013 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36014 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36015 if test $ac_cv_lib_w_wcslen = yes; then
36025 if test "$WCSLEN_FOUND" = 1; then
36026 cat >>confdefs.h
<<\_ACEOF
36027 #define HAVE_WCSLEN 1
36037 for ac_func
in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
36039 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36040 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36042 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36043 echo $ECHO_N "(cached) $ECHO_C" >&6
36045 cat >conftest.
$ac_ext <<_ACEOF
36048 cat confdefs.h
>>conftest.
$ac_ext
36049 cat >>conftest.
$ac_ext <<_ACEOF
36050 /* end confdefs.h. */
36051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36053 #define $ac_func innocuous_$ac_func
36055 /* System header to define __stub macros and hopefully few prototypes,
36056 which can conflict with char $ac_func (); below.
36057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36058 <limits.h> exists even on freestanding compilers. */
36061 # include <limits.h>
36063 # include <assert.h>
36068 /* Override any GCC internal prototype to avoid an error.
36069 Use char because int might match the return type of a GCC
36070 builtin and then its argument prototype would still apply. */
36075 /* The GNU C library defines this for functions which it implements
36076 to always fail with ENOSYS. Some functions are actually named
36077 something starting with __ and the normal name is an alias. */
36078 #if defined __stub_$ac_func || defined __stub___$ac_func
36085 return $ac_func ();
36090 rm -f conftest.
$ac_objext conftest
$ac_exeext
36091 if { (ac_try
="$ac_link"
36092 case "(($ac_try" in
36093 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36094 *) ac_try_echo=$ac_try;;
36096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36097 (eval "$ac_link") 2>conftest.er1
36099 grep -v '^ *+' conftest.er1 >conftest.err
36101 cat conftest.err >&5
36102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36103 (exit $ac_status); } && {
36104 test -z "$ac_c_werror_flag" ||
36105 test ! -s conftest.err
36106 } && test -s conftest$ac_exeext &&
36107 $as_test_x conftest$ac_exeext; then
36108 eval "$as_ac_var=yes"
36110 echo "$as_me: failed program was:" >&5
36111 sed 's/^/| /' conftest.$ac_ext >&5
36113 eval "$as_ac_var=no"
36116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36117 conftest$ac_exeext conftest.$ac_ext
36119 ac_res=`eval echo '${'$as_ac_var'}'`
36120 { echo "$as_me:$LINENO: result: $ac_res" >&5
36121 echo "${ECHO_T}$ac_res" >&6; }
36122 if test `eval echo '${'$as_ac_var'}'` = yes; then
36123 cat >>confdefs.h <<_ACEOF
36124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36131 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36132 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36135 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36136 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36137 if test "${ac_cv_type_mbstate_t+set}" = set; then
36138 echo $ECHO_N "(cached) $ECHO_C" >&6
36140 cat >conftest.$ac_ext <<_ACEOF
36143 cat confdefs.h >>conftest.$ac_ext
36144 cat >>conftest.$ac_ext <<_ACEOF
36145 /* end confdefs.h. */
36148 typedef mbstate_t ac__type_new_;
36152 if ((ac__type_new_ *) 0)
36154 if (sizeof (ac__type_new_))
36160 rm -f conftest.$ac_objext
36161 if { (ac_try="$ac_compile"
36162 case "(($ac_try" in
36163 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36164 *) ac_try_echo
=$ac_try;;
36166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36167 (eval "$ac_compile") 2>conftest.er1
36169 grep -v '^ *+' conftest.er1
>conftest.err
36171 cat conftest.err
>&5
36172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36173 (exit $ac_status); } && {
36174 test -z "$ac_c_werror_flag" ||
36175 test ! -s conftest.err
36176 } && test -s conftest.
$ac_objext; then
36177 ac_cv_type_mbstate_t
=yes
36179 echo "$as_me: failed program was:" >&5
36180 sed 's/^/| /' conftest.
$ac_ext >&5
36182 ac_cv_type_mbstate_t
=no
36185 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36187 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36188 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36189 if test $ac_cv_type_mbstate_t = yes; then
36191 cat >>confdefs.h
<<_ACEOF
36192 #define HAVE_MBSTATE_T 1
36196 for ac_func
in wcsrtombs
36198 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36199 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36201 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36202 echo $ECHO_N "(cached) $ECHO_C" >&6
36204 cat >conftest.
$ac_ext <<_ACEOF
36207 cat confdefs.h
>>conftest.
$ac_ext
36208 cat >>conftest.
$ac_ext <<_ACEOF
36209 /* end confdefs.h. */
36210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36212 #define $ac_func innocuous_$ac_func
36214 /* System header to define __stub macros and hopefully few prototypes,
36215 which can conflict with char $ac_func (); below.
36216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36217 <limits.h> exists even on freestanding compilers. */
36220 # include <limits.h>
36222 # include <assert.h>
36227 /* Override any GCC internal prototype to avoid an error.
36228 Use char because int might match the return type of a GCC
36229 builtin and then its argument prototype would still apply. */
36234 /* The GNU C library defines this for functions which it implements
36235 to always fail with ENOSYS. Some functions are actually named
36236 something starting with __ and the normal name is an alias. */
36237 #if defined __stub_$ac_func || defined __stub___$ac_func
36244 return $ac_func ();
36249 rm -f conftest.
$ac_objext conftest
$ac_exeext
36250 if { (ac_try
="$ac_link"
36251 case "(($ac_try" in
36252 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36253 *) ac_try_echo=$ac_try;;
36255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36256 (eval "$ac_link") 2>conftest.er1
36258 grep -v '^ *+' conftest.er1 >conftest.err
36260 cat conftest.err >&5
36261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36262 (exit $ac_status); } && {
36263 test -z "$ac_c_werror_flag" ||
36264 test ! -s conftest.err
36265 } && test -s conftest$ac_exeext &&
36266 $as_test_x conftest$ac_exeext; then
36267 eval "$as_ac_var=yes"
36269 echo "$as_me: failed program was:" >&5
36270 sed 's/^/| /' conftest.$ac_ext >&5
36272 eval "$as_ac_var=no"
36275 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36276 conftest$ac_exeext conftest.$ac_ext
36278 ac_res=`eval echo '${'$as_ac_var'}'`
36279 { echo "$as_me:$LINENO: result: $ac_res" >&5
36280 echo "${ECHO_T}$ac_res" >&6; }
36281 if test `eval echo '${'$as_ac_var'}'` = yes; then
36282 cat >>confdefs.h <<_ACEOF
36283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36292 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
36293 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
36299 for ac_func in snprintf vsnprintf vsscanf
36301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36302 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36304 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36305 echo $ECHO_N "(cached) $ECHO_C" >&6
36307 cat >conftest.$ac_ext <<_ACEOF
36310 cat confdefs.h >>conftest.$ac_ext
36311 cat >>conftest.$ac_ext <<_ACEOF
36312 /* end confdefs.h. */
36313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36315 #define $ac_func innocuous_$ac_func
36317 /* System header to define __stub macros and hopefully few prototypes,
36318 which can conflict with char $ac_func (); below.
36319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36320 <limits.h> exists even on freestanding compilers. */
36323 # include <limits.h>
36325 # include <assert.h>
36330 /* Override any GCC internal prototype to avoid an error.
36331 Use char because int might match the return type of a GCC
36332 builtin and then its argument prototype would still apply. */
36337 /* The GNU C library defines this for functions which it implements
36338 to always fail with ENOSYS. Some functions are actually named
36339 something starting with __ and the normal name is an alias. */
36340 #if defined __stub_$ac_func || defined __stub___$ac_func
36347 return $ac_func ();
36352 rm -f conftest.$ac_objext conftest$ac_exeext
36353 if { (ac_try="$ac_link"
36354 case "(($ac_try" in
36355 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36356 *) ac_try_echo
=$ac_try;;
36358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36359 (eval "$ac_link") 2>conftest.er1
36361 grep -v '^ *+' conftest.er1
>conftest.err
36363 cat conftest.err
>&5
36364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36365 (exit $ac_status); } && {
36366 test -z "$ac_c_werror_flag" ||
36367 test ! -s conftest.err
36368 } && test -s conftest
$ac_exeext &&
36369 $as_test_x conftest
$ac_exeext; then
36370 eval "$as_ac_var=yes"
36372 echo "$as_me: failed program was:" >&5
36373 sed 's/^/| /' conftest.
$ac_ext >&5
36375 eval "$as_ac_var=no"
36378 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36379 conftest
$ac_exeext conftest.
$ac_ext
36381 ac_res
=`eval echo '${'$as_ac_var'}'`
36382 { echo "$as_me:$LINENO: result: $ac_res" >&5
36383 echo "${ECHO_T}$ac_res" >&6; }
36384 if test `eval echo '${'$as_ac_var'}'` = yes; then
36385 cat >>confdefs.h
<<_ACEOF
36386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36394 ac_cpp
='$CXXCPP $CPPFLAGS'
36395 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36396 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36397 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36399 if test "$ac_cv_func_vsnprintf" = "yes"; then
36400 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36401 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36402 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36403 echo $ECHO_N "(cached) $ECHO_C" >&6
36406 cat >conftest.
$ac_ext <<_ACEOF
36409 cat confdefs.h
>>conftest.
$ac_ext
36410 cat >>conftest.
$ac_ext <<_ACEOF
36411 /* end confdefs.h. */
36414 #include <stdarg.h>
36416 #if __MSL__ >= 0x6000
36418 using namespace std;
36428 vsnprintf(buf, 10u, "%s", ap);
36434 rm -f conftest.
$ac_objext
36435 if { (ac_try
="$ac_compile"
36436 case "(($ac_try" in
36437 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36438 *) ac_try_echo=$ac_try;;
36440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36441 (eval "$ac_compile") 2>conftest.er1
36443 grep -v '^ *+' conftest.er1 >conftest.err
36445 cat conftest.err >&5
36446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36447 (exit $ac_status); } && {
36448 test -z "$ac_cxx_werror_flag" ||
36449 test ! -s conftest.err
36450 } && test -s conftest.$ac_objext; then
36451 wx_cv_func_vsnprintf_decl=yes
36453 echo "$as_me: failed program was:" >&5
36454 sed 's/^/| /' conftest.$ac_ext >&5
36456 wx_cv_func_vsnprintf_decl=no
36460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36464 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36465 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36467 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36468 cat >>confdefs.h <<\_ACEOF
36469 #define HAVE_VSNPRINTF_DECL 1
36473 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36474 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36475 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36476 echo $ECHO_N "(cached) $ECHO_C" >&6
36479 cat >conftest.$ac_ext <<_ACEOF
36482 cat confdefs.h >>conftest.$ac_ext
36483 cat >>conftest.$ac_ext <<_ACEOF
36484 /* end confdefs.h. */
36487 #include <stdarg.h>
36489 #if __MSL__ >= 0x6000
36491 using namespace std;
36501 const char *fmt = "%s";
36502 vsnprintf(buf, 10u, fmt, ap);
36508 rm -f conftest.$ac_objext
36509 if { (ac_try="$ac_compile"
36510 case "(($ac_try" in
36511 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36512 *) ac_try_echo
=$ac_try;;
36514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36515 (eval "$ac_compile") 2>conftest.er1
36517 grep -v '^ *+' conftest.er1
>conftest.err
36519 cat conftest.err
>&5
36520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36521 (exit $ac_status); } && {
36522 test -z "$ac_cxx_werror_flag" ||
36523 test ! -s conftest.err
36524 } && test -s conftest.
$ac_objext; then
36525 wx_cv_func_broken_vsnprintf_decl
=no
36527 echo "$as_me: failed program was:" >&5
36528 sed 's/^/| /' conftest.
$ac_ext >&5
36530 wx_cv_func_broken_vsnprintf_decl
=yes
36534 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36538 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36539 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36541 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36542 cat >>confdefs.h
<<\_ACEOF
36543 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36550 if test "$ac_cv_func_snprintf" = "yes"; then
36551 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36552 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36553 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36554 echo $ECHO_N "(cached) $ECHO_C" >&6
36557 cat >conftest.
$ac_ext <<_ACEOF
36560 cat confdefs.h
>>conftest.
$ac_ext
36561 cat >>conftest.
$ac_ext <<_ACEOF
36562 /* end confdefs.h. */
36565 #include <stdarg.h>
36567 #if __MSL__ >= 0x6000
36569 using namespace std;
36578 snprintf(buf, 10u, "%s", "wx");
36584 rm -f conftest.
$ac_objext
36585 if { (ac_try
="$ac_compile"
36586 case "(($ac_try" in
36587 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36588 *) ac_try_echo=$ac_try;;
36590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36591 (eval "$ac_compile") 2>conftest.er1
36593 grep -v '^ *+' conftest.er1 >conftest.err
36595 cat conftest.err >&5
36596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36597 (exit $ac_status); } && {
36598 test -z "$ac_cxx_werror_flag" ||
36599 test ! -s conftest.err
36600 } && test -s conftest.$ac_objext; then
36601 wx_cv_func_snprintf_decl=yes
36603 echo "$as_me: failed program was:" >&5
36604 sed 's/^/| /' conftest.$ac_ext >&5
36606 wx_cv_func_snprintf_decl=no
36610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36614 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36615 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36617 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36618 cat >>confdefs.h <<\_ACEOF
36619 #define HAVE_SNPRINTF_DECL 1
36624 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36626 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36627 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
36628 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36629 echo $ECHO_N "(cached) $ECHO_C" >&6
36632 if test "$cross_compiling" = yes; then
36634 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36635 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36636 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36637 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36638 wx_cv_func_snprintf_pos_params=no
36642 cat >conftest.$ac_ext <<_ACEOF
36645 cat confdefs.h >>conftest.$ac_ext
36646 cat >>conftest.$ac_ext <<_ACEOF
36647 /* end confdefs.h. */
36654 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36655 if (strcmp ("2 3 1", buffer) == 0)
36661 rm -f conftest$ac_exeext
36662 if { (ac_try="$ac_link"
36663 case "(($ac_try" in
36664 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36665 *) ac_try_echo
=$ac_try;;
36667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36668 (eval "$ac_link") 2>&5
36670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36671 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
36672 { (case "(($ac_try" in
36673 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36674 *) ac_try_echo=$ac_try;;
36676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36677 (eval "$ac_try") 2>&5
36679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36680 (exit $ac_status); }; }; then
36681 wx_cv_func_snprintf_pos_params=no
36683 echo "$as_me: program exited with status $ac_status" >&5
36684 echo "$as_me: failed program was:" >&5
36685 sed 's/^/| /' conftest.$ac_ext >&5
36687 ( exit $ac_status )
36688 wx_cv_func_snprintf_pos_params=yes
36690 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36697 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36698 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
36700 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36701 cat >>confdefs.h <<\_ACEOF
36702 #define HAVE_UNIX98_PRINTF 1
36709 if test "$ac_cv_func_vsscanf" = "yes"; then
36710 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
36711 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
36712 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
36713 echo $ECHO_N "(cached) $ECHO_C" >&6
36716 cat >conftest.$ac_ext <<_ACEOF
36719 cat confdefs.h >>conftest.$ac_ext
36720 cat >>conftest.$ac_ext <<_ACEOF
36721 /* end confdefs.h. */
36724 #include <stdarg.h>
36726 #if __MSL__ >= 0x6000
36728 using namespace std;
36738 vsscanf(buf, "%s", args);
36744 rm -f conftest.$ac_objext
36745 if { (ac_try="$ac_compile"
36746 case "(($ac_try" in
36747 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36748 *) ac_try_echo
=$ac_try;;
36750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36751 (eval "$ac_compile") 2>conftest.er1
36753 grep -v '^ *+' conftest.er1
>conftest.err
36755 cat conftest.err
>&5
36756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36757 (exit $ac_status); } && {
36758 test -z "$ac_cxx_werror_flag" ||
36759 test ! -s conftest.err
36760 } && test -s conftest.
$ac_objext; then
36761 wx_cv_func_vsscanf_decl
=yes
36763 echo "$as_me: failed program was:" >&5
36764 sed 's/^/| /' conftest.
$ac_ext >&5
36766 wx_cv_func_vsscanf_decl
=no
36770 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36774 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
36775 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
36777 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
36778 cat >>confdefs.h
<<\_ACEOF
36779 #define HAVE_VSSCANF_DECL 1
36785 ac_cpp
='$CPP $CPPFLAGS'
36786 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36787 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36788 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36791 if test "$wxUSE_UNICODE" = yes; then
36793 wchar_headers
="#include <stdio.h>
36794 #include <wchar.h>"
36798 for ac_header
in widec.h
36800 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36801 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36802 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36803 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36804 echo $ECHO_N "(cached) $ECHO_C" >&6
36806 cat >conftest.
$ac_ext <<_ACEOF
36809 cat confdefs.h
>>conftest.
$ac_ext
36810 cat >>conftest.
$ac_ext <<_ACEOF
36811 /* end confdefs.h. */
36812 $ac_includes_default
36814 #include <$ac_header>
36816 rm -f conftest.
$ac_objext
36817 if { (ac_try
="$ac_compile"
36818 case "(($ac_try" in
36819 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36820 *) ac_try_echo=$ac_try;;
36822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36823 (eval "$ac_compile") 2>conftest.er1
36825 grep -v '^ *+' conftest.er1 >conftest.err
36827 cat conftest.err >&5
36828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36829 (exit $ac_status); } && {
36830 test -z "$ac_c_werror_flag" ||
36831 test ! -s conftest.err
36832 } && test -s conftest.$ac_objext; then
36833 eval "$as_ac_Header=yes"
36835 echo "$as_me: failed program was:" >&5
36836 sed 's/^/| /' conftest.$ac_ext >&5
36838 eval "$as_ac_Header=no"
36841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36843 ac_res=`eval echo '${'$as_ac_Header'}'`
36844 { echo "$as_me:$LINENO: result: $ac_res" >&5
36845 echo "${ECHO_T}$ac_res" >&6; }
36846 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36847 cat >>confdefs.h <<_ACEOF
36848 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36855 if test "$ac_cv_header_widec_h" = "yes"; then
36856 wchar_headers="$wchar_headers
36857 #include <widec.h>"
36862 for wx_func in putws fputws wprintf vswprintf vswscanf
36864 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36865 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36866 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36867 echo $ECHO_N "(cached) $ECHO_C" >&6
36870 cat >conftest.$ac_ext <<_ACEOF
36874 cat confdefs.h >>conftest.$ac_ext
36875 cat >>conftest.$ac_ext <<_ACEOF
36876 /* end confdefs.h. */
36879 $ac_includes_default
36895 rm -f conftest.$ac_objext conftest$ac_exeext
36896 if { (ac_try="$ac_link"
36897 case "(($ac_try" in
36898 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36899 *) ac_try_echo
=$ac_try;;
36901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36902 (eval "$ac_link") 2>conftest.er1
36904 grep -v '^ *+' conftest.er1
>conftest.err
36906 cat conftest.err
>&5
36907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36908 (exit $ac_status); } && {
36909 test -z "$ac_c_werror_flag" ||
36910 test ! -s conftest.err
36911 } && test -s conftest
$ac_exeext &&
36912 $as_test_x conftest
$ac_exeext; then
36913 eval wx_cv_func_
$wx_func=yes
36915 echo "$as_me: failed program was:" >&5
36916 sed 's/^/| /' conftest.
$ac_ext >&5
36918 eval wx_cv_func_
$wx_func=no
36921 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36922 conftest
$ac_exeext conftest.
$ac_ext
36925 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36926 { echo "$as_me:$LINENO: result: $ac_res" >&5
36927 echo "${ECHO_T}$ac_res" >&6; }
36929 if eval test \
$wx_cv_func_$wx_func = yes
36931 cat >>confdefs.h
<<_ACEOF
36932 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36943 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36944 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
36945 cat >conftest.
$ac_ext <<_ACEOF
36948 cat confdefs.h
>>conftest.
$ac_ext
36949 cat >>conftest.
$ac_ext <<_ACEOF
36950 /* end confdefs.h. */
36960 rm -f conftest.
$ac_objext
36961 if { (ac_try
="$ac_compile"
36962 case "(($ac_try" in
36963 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36964 *) ac_try_echo=$ac_try;;
36966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36967 (eval "$ac_compile") 2>conftest.er1
36969 grep -v '^ *+' conftest.er1 >conftest.err
36971 cat conftest.err >&5
36972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36973 (exit $ac_status); } && {
36974 test -z "$ac_c_werror_flag" ||
36975 test ! -s conftest.err
36976 } && test -s conftest.$ac_objext; then
36977 { echo "$as_me:$LINENO: result: yes" >&5
36978 echo "${ECHO_T}yes" >&6; }
36979 cat >>confdefs.h <<\_ACEOF
36980 #define HAVE__VSNWPRINTF 1
36984 echo "$as_me: failed program was:" >&5
36985 sed 's/^/| /' conftest.$ac_ext >&5
36987 { echo "$as_me:$LINENO: result: no" >&5
36988 echo "${ECHO_T}no" >&6; }
36991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
36994 if test "$wxUSE_FILE" = "yes"; then
36996 for wx_func in fsync
36998 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36999 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37000 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37001 echo $ECHO_N "(cached) $ECHO_C" >&6
37004 cat >conftest.$ac_ext <<_ACEOF
37008 cat confdefs.h >>conftest.$ac_ext
37009 cat >>conftest.$ac_ext <<_ACEOF
37010 /* end confdefs.h. */
37013 $ac_includes_default
37029 rm -f conftest.$ac_objext conftest$ac_exeext
37030 if { (ac_try="$ac_link"
37031 case "(($ac_try" in
37032 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37033 *) ac_try_echo
=$ac_try;;
37035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37036 (eval "$ac_link") 2>conftest.er1
37038 grep -v '^ *+' conftest.er1
>conftest.err
37040 cat conftest.err
>&5
37041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37042 (exit $ac_status); } && {
37043 test -z "$ac_c_werror_flag" ||
37044 test ! -s conftest.err
37045 } && test -s conftest
$ac_exeext &&
37046 $as_test_x conftest
$ac_exeext; then
37047 eval wx_cv_func_
$wx_func=yes
37049 echo "$as_me: failed program was:" >&5
37050 sed 's/^/| /' conftest.
$ac_ext >&5
37052 eval wx_cv_func_
$wx_func=no
37055 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37056 conftest
$ac_exeext conftest.
$ac_ext
37059 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37060 { echo "$as_me:$LINENO: result: $ac_res" >&5
37061 echo "${ECHO_T}$ac_res" >&6; }
37063 if eval test \
$wx_cv_func_$wx_func = yes
37065 cat >>confdefs.h
<<_ACEOF
37066 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37079 ac_cpp
='$CXXCPP $CPPFLAGS'
37080 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37081 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37082 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37085 for wx_func
in round
37087 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37088 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37089 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37090 echo $ECHO_N "(cached) $ECHO_C" >&6
37093 cat >conftest.
$ac_ext <<_ACEOF
37097 cat confdefs.h
>>conftest.
$ac_ext
37098 cat >>conftest.
$ac_ext <<_ACEOF
37099 /* end confdefs.h. */
37102 $ac_includes_default
37118 rm -f conftest.
$ac_objext conftest
$ac_exeext
37119 if { (ac_try
="$ac_link"
37120 case "(($ac_try" in
37121 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37122 *) ac_try_echo=$ac_try;;
37124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37125 (eval "$ac_link") 2>conftest.er1
37127 grep -v '^ *+' conftest.er1 >conftest.err
37129 cat conftest.err >&5
37130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37131 (exit $ac_status); } && {
37132 test -z "$ac_cxx_werror_flag" ||
37133 test ! -s conftest.err
37134 } && test -s conftest$ac_exeext &&
37135 $as_test_x conftest$ac_exeext; then
37136 eval wx_cv_func_$wx_func=yes
37138 echo "$as_me: failed program was:" >&5
37139 sed 's/^/| /' conftest.$ac_ext >&5
37141 eval wx_cv_func_$wx_func=no
37144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37145 conftest$ac_exeext conftest.$ac_ext
37148 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37149 { echo "$as_me:$LINENO: result: $ac_res" >&5
37150 echo "${ECHO_T}$ac_res" >&6; }
37152 if eval test \$wx_cv_func_$wx_func = yes
37154 cat >>confdefs.h <<_ACEOF
37155 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37166 ac_cpp='$CPP $CPPFLAGS'
37167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37172 if test "$TOOLKIT" != "MSW"; then
37174 if test "$wxUSE_LIBICONV" != "no" ; then
37178 # Check whether --with-libiconv-prefix was given.
37179 if test "${with_libiconv_prefix+set}" = set; then
37180 withval=$with_libiconv_prefix;
37181 for dir in `echo "$withval" | tr : ' '`; do
37182 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37183 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37189 { echo "$as_me:$LINENO: checking for iconv" >&5
37190 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37191 if test "${am_cv_func_iconv+set}" = set; then
37192 echo $ECHO_N "(cached) $ECHO_C" >&6
37195 am_cv_func_iconv="no, consider installing GNU libiconv"
37197 cat >conftest.$ac_ext <<_ACEOF
37200 cat confdefs.h >>conftest.$ac_ext
37201 cat >>conftest.$ac_ext <<_ACEOF
37202 /* end confdefs.h. */
37203 #include <stdlib.h>
37208 iconv_t cd = iconv_open("","");
37209 iconv(cd,NULL,NULL,NULL,NULL);
37215 rm -f conftest.$ac_objext conftest$ac_exeext
37216 if { (ac_try="$ac_link"
37217 case "(($ac_try" in
37218 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37219 *) ac_try_echo
=$ac_try;;
37221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37222 (eval "$ac_link") 2>conftest.er1
37224 grep -v '^ *+' conftest.er1
>conftest.err
37226 cat conftest.err
>&5
37227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37228 (exit $ac_status); } && {
37229 test -z "$ac_c_werror_flag" ||
37230 test ! -s conftest.err
37231 } && test -s conftest
$ac_exeext &&
37232 $as_test_x conftest
$ac_exeext; then
37233 am_cv_func_iconv
=yes
37235 echo "$as_me: failed program was:" >&5
37236 sed 's/^/| /' conftest.
$ac_ext >&5
37241 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37242 conftest
$ac_exeext conftest.
$ac_ext
37243 if test "$am_cv_func_iconv" != yes; then
37244 am_save_LIBS
="$LIBS"
37245 LIBS
="$LIBS -liconv"
37246 cat >conftest.
$ac_ext <<_ACEOF
37249 cat confdefs.h
>>conftest.
$ac_ext
37250 cat >>conftest.
$ac_ext <<_ACEOF
37251 /* end confdefs.h. */
37252 #include <stdlib.h>
37257 iconv_t cd = iconv_open("","");
37258 iconv(cd,NULL,NULL,NULL,NULL);
37264 rm -f conftest.
$ac_objext conftest
$ac_exeext
37265 if { (ac_try
="$ac_link"
37266 case "(($ac_try" in
37267 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37268 *) ac_try_echo=$ac_try;;
37270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37271 (eval "$ac_link") 2>conftest.er1
37273 grep -v '^ *+' conftest.er1 >conftest.err
37275 cat conftest.err >&5
37276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37277 (exit $ac_status); } && {
37278 test -z "$ac_c_werror_flag" ||
37279 test ! -s conftest.err
37280 } && test -s conftest$ac_exeext &&
37281 $as_test_x conftest$ac_exeext; then
37282 am_cv_lib_iconv=yes
37283 am_cv_func_iconv=yes
37285 echo "$as_me: failed program was:" >&5
37286 sed 's/^/| /' conftest.$ac_ext >&5
37291 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37292 conftest$ac_exeext conftest.$ac_ext
37293 LIBS="$am_save_LIBS"
37297 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37298 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37299 if test "$am_cv_func_iconv" = yes; then
37301 cat >>confdefs.h <<\_ACEOF
37302 #define HAVE_ICONV 1
37305 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37306 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37307 if test "${wx_cv_func_iconv_const+set}" = set; then
37308 echo $ECHO_N "(cached) $ECHO_C" >&6
37310 cat >conftest.$ac_ext <<_ACEOF
37313 cat confdefs.h >>conftest.$ac_ext
37314 cat >>conftest.$ac_ext <<_ACEOF
37315 /* end confdefs.h. */
37317 #include <stdlib.h>
37323 #if defined(__STDC__) || defined(__cplusplus)
37324 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37337 rm -f conftest.$ac_objext
37338 if { (ac_try="$ac_compile"
37339 case "(($ac_try" in
37340 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37341 *) ac_try_echo
=$ac_try;;
37343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37344 (eval "$ac_compile") 2>conftest.er1
37346 grep -v '^ *+' conftest.er1
>conftest.err
37348 cat conftest.err
>&5
37349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37350 (exit $ac_status); } && {
37351 test -z "$ac_c_werror_flag" ||
37352 test ! -s conftest.err
37353 } && test -s conftest.
$ac_objext; then
37354 wx_cv_func_iconv_const
="no"
37356 echo "$as_me: failed program was:" >&5
37357 sed 's/^/| /' conftest.
$ac_ext >&5
37359 wx_cv_func_iconv_const
="yes"
37363 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37366 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37367 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37370 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37371 iconv_const
="const"
37375 cat >>confdefs.h
<<_ACEOF
37376 #define ICONV_CONST $iconv_const
37381 if test "$am_cv_lib_iconv" = yes; then
37386 LIBS
="$LIBICONV $LIBS"
37389 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37391 for ac_func
in sigaction
37393 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37394 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37396 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37397 echo $ECHO_N "(cached) $ECHO_C" >&6
37399 cat >conftest.
$ac_ext <<_ACEOF
37402 cat confdefs.h
>>conftest.
$ac_ext
37403 cat >>conftest.
$ac_ext <<_ACEOF
37404 /* end confdefs.h. */
37405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37407 #define $ac_func innocuous_$ac_func
37409 /* System header to define __stub macros and hopefully few prototypes,
37410 which can conflict with char $ac_func (); below.
37411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37412 <limits.h> exists even on freestanding compilers. */
37415 # include <limits.h>
37417 # include <assert.h>
37422 /* Override any GCC internal prototype to avoid an error.
37423 Use char because int might match the return type of a GCC
37424 builtin and then its argument prototype would still apply. */
37429 /* The GNU C library defines this for functions which it implements
37430 to always fail with ENOSYS. Some functions are actually named
37431 something starting with __ and the normal name is an alias. */
37432 #if defined __stub_$ac_func || defined __stub___$ac_func
37439 return $ac_func ();
37444 rm -f conftest.
$ac_objext conftest
$ac_exeext
37445 if { (ac_try
="$ac_link"
37446 case "(($ac_try" in
37447 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37448 *) ac_try_echo=$ac_try;;
37450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37451 (eval "$ac_link") 2>conftest.er1
37453 grep -v '^ *+' conftest.er1 >conftest.err
37455 cat conftest.err >&5
37456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37457 (exit $ac_status); } && {
37458 test -z "$ac_c_werror_flag" ||
37459 test ! -s conftest.err
37460 } && test -s conftest$ac_exeext &&
37461 $as_test_x conftest$ac_exeext; then
37462 eval "$as_ac_var=yes"
37464 echo "$as_me: failed program was:" >&5
37465 sed 's/^/| /' conftest.$ac_ext >&5
37467 eval "$as_ac_var=no"
37470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37471 conftest$ac_exeext conftest.$ac_ext
37473 ac_res=`eval echo '${'$as_ac_var'}'`
37474 { echo "$as_me:$LINENO: result: $ac_res" >&5
37475 echo "${ECHO_T}$ac_res" >&6; }
37476 if test `eval echo '${'$as_ac_var'}'` = yes; then
37477 cat >>confdefs.h <<_ACEOF
37478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37485 if test "$ac_cv_func_sigaction" = "no"; then
37486 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37487 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37488 wxUSE_ON_FATAL_EXCEPTION=no
37491 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37492 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37493 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37494 if test "${wx_cv_type_sa_handler+set}" = set; then
37495 echo $ECHO_N "(cached) $ECHO_C" >&6
37499 ac_cpp='$CXXCPP $CPPFLAGS'
37500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37504 cat >conftest.$ac_ext <<_ACEOF
37507 cat confdefs.h >>conftest.$ac_ext
37508 cat >>conftest.$ac_ext <<_ACEOF
37509 /* end confdefs.h. */
37510 #include <signal.h>
37515 extern void testSigHandler(int);
37517 struct sigaction sa;
37518 sa.sa_handler = testSigHandler;
37524 rm -f conftest.$ac_objext
37525 if { (ac_try="$ac_compile"
37526 case "(($ac_try" in
37527 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37528 *) ac_try_echo
=$ac_try;;
37530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37531 (eval "$ac_compile") 2>conftest.er1
37533 grep -v '^ *+' conftest.er1
>conftest.err
37535 cat conftest.err
>&5
37536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37537 (exit $ac_status); } && {
37538 test -z "$ac_cxx_werror_flag" ||
37539 test ! -s conftest.err
37540 } && test -s conftest.
$ac_objext; then
37542 wx_cv_type_sa_handler
=int
37545 echo "$as_me: failed program was:" >&5
37546 sed 's/^/| /' conftest.
$ac_ext >&5
37549 wx_cv_type_sa_handler
=void
37553 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37555 ac_cpp
='$CPP $CPPFLAGS'
37556 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37557 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37558 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37562 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37563 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37565 cat >>confdefs.h
<<_ACEOF
37566 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37572 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37573 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37574 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37575 if test "${wx_cv_func_backtrace+set}" = set; then
37576 echo $ECHO_N "(cached) $ECHO_C" >&6
37580 ac_cpp
='$CXXCPP $CPPFLAGS'
37581 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37582 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37583 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37585 cat >conftest.
$ac_ext <<_ACEOF
37588 cat confdefs.h
>>conftest.
$ac_ext
37589 cat >>conftest.
$ac_ext <<_ACEOF
37590 /* end confdefs.h. */
37591 #include <execinfo.h>
37599 backtrace(trace, 1);
37600 messages = backtrace_symbols(trace, 1);
37606 rm -f conftest.
$ac_objext
37607 if { (ac_try
="$ac_compile"
37608 case "(($ac_try" in
37609 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37610 *) ac_try_echo=$ac_try;;
37612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37613 (eval "$ac_compile") 2>conftest.er1
37615 grep -v '^ *+' conftest.er1 >conftest.err
37617 cat conftest.err >&5
37618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37619 (exit $ac_status); } && {
37620 test -z "$ac_cxx_werror_flag" ||
37621 test ! -s conftest.err
37622 } && test -s conftest.$ac_objext; then
37623 wx_cv_func_backtrace=yes
37625 echo "$as_me: failed program was:" >&5
37626 sed 's/^/| /' conftest.$ac_ext >&5
37628 wx_cv_func_backtrace=no
37632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37634 ac_cpp='$CPP $CPPFLAGS'
37635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37642 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37643 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37646 if test "$wx_cv_func_backtrace" = "no"; then
37647 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37648 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37649 wxUSE_STACKWALKER=no
37651 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37652 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37653 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37654 echo $ECHO_N "(cached) $ECHO_C" >&6
37658 ac_cpp='$CXXCPP $CPPFLAGS'
37659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37663 cat >conftest.$ac_ext <<_ACEOF
37666 cat confdefs.h >>conftest.$ac_ext
37667 cat >>conftest.$ac_ext <<_ACEOF
37668 /* end confdefs.h. */
37669 #include <cxxabi.h>
37675 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37681 rm -f conftest.$ac_objext conftest$ac_exeext
37682 if { (ac_try="$ac_link"
37683 case "(($ac_try" in
37684 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37685 *) ac_try_echo
=$ac_try;;
37687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37688 (eval "$ac_link") 2>conftest.er1
37690 grep -v '^ *+' conftest.er1
>conftest.err
37692 cat conftest.err
>&5
37693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37694 (exit $ac_status); } && {
37695 test -z "$ac_cxx_werror_flag" ||
37696 test ! -s conftest.err
37697 } && test -s conftest
$ac_exeext &&
37698 $as_test_x conftest
$ac_exeext; then
37699 wx_cv_func_cxa_demangle
=yes
37701 echo "$as_me: failed program was:" >&5
37702 sed 's/^/| /' conftest.
$ac_ext >&5
37704 wx_cv_func_cxa_demangle
=no
37708 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37709 conftest
$ac_exeext conftest.
$ac_ext
37711 ac_cpp
='$CPP $CPPFLAGS'
37712 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37713 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37714 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37719 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37720 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
37722 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37723 cat >>confdefs.h
<<\_ACEOF
37724 #define HAVE_CXA_DEMANGLE 1
37731 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
37732 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37733 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37734 wxUSE_STACKWALKER
=no
37740 for ac_func
in mkstemp mktemp
37742 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37743 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37745 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37746 echo $ECHO_N "(cached) $ECHO_C" >&6
37748 cat >conftest.
$ac_ext <<_ACEOF
37751 cat confdefs.h
>>conftest.
$ac_ext
37752 cat >>conftest.
$ac_ext <<_ACEOF
37753 /* end confdefs.h. */
37754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37756 #define $ac_func innocuous_$ac_func
37758 /* System header to define __stub macros and hopefully few prototypes,
37759 which can conflict with char $ac_func (); below.
37760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37761 <limits.h> exists even on freestanding compilers. */
37764 # include <limits.h>
37766 # include <assert.h>
37771 /* Override any GCC internal prototype to avoid an error.
37772 Use char because int might match the return type of a GCC
37773 builtin and then its argument prototype would still apply. */
37778 /* The GNU C library defines this for functions which it implements
37779 to always fail with ENOSYS. Some functions are actually named
37780 something starting with __ and the normal name is an alias. */
37781 #if defined __stub_$ac_func || defined __stub___$ac_func
37788 return $ac_func ();
37793 rm -f conftest.
$ac_objext conftest
$ac_exeext
37794 if { (ac_try
="$ac_link"
37795 case "(($ac_try" in
37796 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37797 *) ac_try_echo=$ac_try;;
37799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37800 (eval "$ac_link") 2>conftest.er1
37802 grep -v '^ *+' conftest.er1 >conftest.err
37804 cat conftest.err >&5
37805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37806 (exit $ac_status); } && {
37807 test -z "$ac_c_werror_flag" ||
37808 test ! -s conftest.err
37809 } && test -s conftest$ac_exeext &&
37810 $as_test_x conftest$ac_exeext; then
37811 eval "$as_ac_var=yes"
37813 echo "$as_me: failed program was:" >&5
37814 sed 's/^/| /' conftest.$ac_ext >&5
37816 eval "$as_ac_var=no"
37819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37820 conftest$ac_exeext conftest.$ac_ext
37822 ac_res=`eval echo '${'$as_ac_var'}'`
37823 { echo "$as_me:$LINENO: result: $ac_res" >&5
37824 echo "${ECHO_T}$ac_res" >&6; }
37825 if test `eval echo '${'$as_ac_var'}'` = yes; then
37826 cat >>confdefs.h <<_ACEOF
37827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37834 { echo "$as_me:$LINENO: checking for statfs" >&5
37835 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
37836 if test "${wx_cv_func_statfs+set}" = set; then
37837 echo $ECHO_N "(cached) $ECHO_C" >&6
37839 cat >conftest.$ac_ext <<_ACEOF
37842 cat confdefs.h >>conftest.$ac_ext
37843 cat >>conftest.$ac_ext <<_ACEOF
37844 /* end confdefs.h. */
37846 #if defined(__BSD__)
37847 #include <sys/param.h>
37848 #include <sys/mount.h>
37850 #include <sys/vfs.h>
37868 rm -f conftest.$ac_objext
37869 if { (ac_try="$ac_compile"
37870 case "(($ac_try" in
37871 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37872 *) ac_try_echo
=$ac_try;;
37874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37875 (eval "$ac_compile") 2>conftest.er1
37877 grep -v '^ *+' conftest.er1
>conftest.err
37879 cat conftest.err
>&5
37880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37881 (exit $ac_status); } && {
37882 test -z "$ac_c_werror_flag" ||
37883 test ! -s conftest.err
37884 } && test -s conftest.
$ac_objext; then
37885 wx_cv_func_statfs
=yes
37887 echo "$as_me: failed program was:" >&5
37888 sed 's/^/| /' conftest.
$ac_ext >&5
37890 wx_cv_func_statfs
=no
37894 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37897 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37898 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
37900 if test "$wx_cv_func_statfs" = "yes"; then
37901 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
37902 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
37903 if test "${wx_cv_func_statfs_decl+set}" = set; then
37904 echo $ECHO_N "(cached) $ECHO_C" >&6
37907 ac_cpp
='$CXXCPP $CPPFLAGS'
37908 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37909 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37910 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37912 cat >conftest.
$ac_ext <<_ACEOF
37915 cat confdefs.h
>>conftest.
$ac_ext
37916 cat >>conftest.
$ac_ext <<_ACEOF
37917 /* end confdefs.h. */
37919 #if defined(__BSD__)
37920 #include <sys/param.h>
37921 #include <sys/mount.h>
37923 #include <sys/vfs.h>
37937 rm -f conftest.
$ac_objext
37938 if { (ac_try
="$ac_compile"
37939 case "(($ac_try" in
37940 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37941 *) ac_try_echo=$ac_try;;
37943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37944 (eval "$ac_compile") 2>conftest.er1
37946 grep -v '^ *+' conftest.er1 >conftest.err
37948 cat conftest.err >&5
37949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37950 (exit $ac_status); } && {
37951 test -z "$ac_cxx_werror_flag" ||
37952 test ! -s conftest.err
37953 } && test -s conftest.$ac_objext; then
37954 wx_cv_func_statfs_decl=yes
37956 echo "$as_me: failed program was:" >&5
37957 sed 's/^/| /' conftest.$ac_ext >&5
37959 wx_cv_func_statfs_decl=no
37963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37965 ac_cpp='$CPP $CPPFLAGS'
37966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37972 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37973 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
37975 if test "$wx_cv_func_statfs_decl" = "yes"; then
37976 cat >>confdefs.h <<\_ACEOF
37977 #define HAVE_STATFS_DECL 1
37982 wx_cv_type_statvfs_t="struct statfs"
37983 cat >>confdefs.h <<\_ACEOF
37984 #define HAVE_STATFS 1
37988 { echo "$as_me:$LINENO: checking for statvfs" >&5
37989 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
37990 if test "${wx_cv_func_statvfs+set}" = set; then
37991 echo $ECHO_N "(cached) $ECHO_C" >&6
37993 cat >conftest.$ac_ext <<_ACEOF
37996 cat confdefs.h >>conftest.$ac_ext
37997 cat >>conftest.$ac_ext <<_ACEOF
37998 /* end confdefs.h. */
38000 #include <stddef.h>
38001 #include <sys/statvfs.h>
38007 statvfs("/", NULL);
38013 rm -f conftest.$ac_objext
38014 if { (ac_try="$ac_compile"
38015 case "(($ac_try" in
38016 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38017 *) ac_try_echo
=$ac_try;;
38019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38020 (eval "$ac_compile") 2>conftest.er1
38022 grep -v '^ *+' conftest.er1
>conftest.err
38024 cat conftest.err
>&5
38025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38026 (exit $ac_status); } && {
38027 test -z "$ac_c_werror_flag" ||
38028 test ! -s conftest.err
38029 } && test -s conftest.
$ac_objext; then
38030 wx_cv_func_statvfs
=yes
38032 echo "$as_me: failed program was:" >&5
38033 sed 's/^/| /' conftest.
$ac_ext >&5
38035 wx_cv_func_statvfs
=no
38039 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38042 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38043 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38045 if test "$wx_cv_func_statvfs" = "yes"; then
38046 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38047 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38048 if test "${wx_cv_type_statvfs_t+set}" = set; then
38049 echo $ECHO_N "(cached) $ECHO_C" >&6
38052 ac_cpp
='$CXXCPP $CPPFLAGS'
38053 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38054 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38055 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38057 cat >conftest.
$ac_ext <<_ACEOF
38060 cat confdefs.h
>>conftest.
$ac_ext
38061 cat >>conftest.
$ac_ext <<_ACEOF
38062 /* end confdefs.h. */
38064 #include <sys/statvfs.h>
38081 rm -f conftest.
$ac_objext
38082 if { (ac_try
="$ac_compile"
38083 case "(($ac_try" in
38084 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38085 *) ac_try_echo=$ac_try;;
38087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38088 (eval "$ac_compile") 2>conftest.er1
38090 grep -v '^ *+' conftest.er1 >conftest.err
38092 cat conftest.err >&5
38093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38094 (exit $ac_status); } && {
38095 test -z "$ac_cxx_werror_flag" ||
38096 test ! -s conftest.err
38097 } && test -s conftest.$ac_objext; then
38098 wx_cv_type_statvfs_t=statvfs_t
38100 echo "$as_me: failed program was:" >&5
38101 sed 's/^/| /' conftest.$ac_ext >&5
38104 cat >conftest.$ac_ext <<_ACEOF
38107 cat confdefs.h >>conftest.$ac_ext
38108 cat >>conftest.$ac_ext <<_ACEOF
38109 /* end confdefs.h. */
38111 #include <sys/statvfs.h>
38128 rm -f conftest.$ac_objext
38129 if { (ac_try="$ac_compile"
38130 case "(($ac_try" in
38131 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38132 *) ac_try_echo
=$ac_try;;
38134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38135 (eval "$ac_compile") 2>conftest.er1
38137 grep -v '^ *+' conftest.er1
>conftest.err
38139 cat conftest.err
>&5
38140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38141 (exit $ac_status); } && {
38142 test -z "$ac_cxx_werror_flag" ||
38143 test ! -s conftest.err
38144 } && test -s conftest.
$ac_objext; then
38145 wx_cv_type_statvfs_t
="struct statvfs"
38147 echo "$as_me: failed program was:" >&5
38148 sed 's/^/| /' conftest.
$ac_ext >&5
38150 wx_cv_type_statvfs_t
="unknown"
38154 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38159 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38161 ac_cpp
='$CPP $CPPFLAGS'
38162 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38163 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38164 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38168 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38169 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38171 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38172 cat >>confdefs.h
<<\_ACEOF
38173 #define HAVE_STATVFS 1
38178 wx_cv_type_statvfs_t
="unknown"
38182 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38183 cat >>confdefs.h
<<_ACEOF
38184 #define WX_STATFS_T $wx_cv_type_statvfs_t
38188 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38189 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38192 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38195 for ac_func
in fcntl flock
38197 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38198 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38200 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38201 echo $ECHO_N "(cached) $ECHO_C" >&6
38203 cat >conftest.
$ac_ext <<_ACEOF
38206 cat confdefs.h
>>conftest.
$ac_ext
38207 cat >>conftest.
$ac_ext <<_ACEOF
38208 /* end confdefs.h. */
38209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38211 #define $ac_func innocuous_$ac_func
38213 /* System header to define __stub macros and hopefully few prototypes,
38214 which can conflict with char $ac_func (); below.
38215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38216 <limits.h> exists even on freestanding compilers. */
38219 # include <limits.h>
38221 # include <assert.h>
38226 /* Override any GCC internal prototype to avoid an error.
38227 Use char because int might match the return type of a GCC
38228 builtin and then its argument prototype would still apply. */
38233 /* The GNU C library defines this for functions which it implements
38234 to always fail with ENOSYS. Some functions are actually named
38235 something starting with __ and the normal name is an alias. */
38236 #if defined __stub_$ac_func || defined __stub___$ac_func
38243 return $ac_func ();
38248 rm -f conftest.
$ac_objext conftest
$ac_exeext
38249 if { (ac_try
="$ac_link"
38250 case "(($ac_try" in
38251 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38252 *) ac_try_echo=$ac_try;;
38254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38255 (eval "$ac_link") 2>conftest.er1
38257 grep -v '^ *+' conftest.er1 >conftest.err
38259 cat conftest.err >&5
38260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38261 (exit $ac_status); } && {
38262 test -z "$ac_c_werror_flag" ||
38263 test ! -s conftest.err
38264 } && test -s conftest$ac_exeext &&
38265 $as_test_x conftest$ac_exeext; then
38266 eval "$as_ac_var=yes"
38268 echo "$as_me: failed program was:" >&5
38269 sed 's/^/| /' conftest.$ac_ext >&5
38271 eval "$as_ac_var=no"
38274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38275 conftest$ac_exeext conftest.$ac_ext
38277 ac_res=`eval echo '${'$as_ac_var'}'`
38278 { echo "$as_me:$LINENO: result: $ac_res" >&5
38279 echo "${ECHO_T}$ac_res" >&6; }
38280 if test `eval echo '${'$as_ac_var'}'` = yes; then
38281 cat >>confdefs.h <<_ACEOF
38282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38289 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38290 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38291 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38292 wxUSE_SNGLINST_CHECKER=no
38298 for ac_func in setenv putenv
38300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38301 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38303 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38304 echo $ECHO_N "(cached) $ECHO_C" >&6
38306 cat >conftest.$ac_ext <<_ACEOF
38309 cat confdefs.h >>conftest.$ac_ext
38310 cat >>conftest.$ac_ext <<_ACEOF
38311 /* end confdefs.h. */
38312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38314 #define $ac_func innocuous_$ac_func
38316 /* System header to define __stub macros and hopefully few prototypes,
38317 which can conflict with char $ac_func (); below.
38318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38319 <limits.h> exists even on freestanding compilers. */
38322 # include <limits.h>
38324 # include <assert.h>
38329 /* Override any GCC internal prototype to avoid an error.
38330 Use char because int might match the return type of a GCC
38331 builtin and then its argument prototype would still apply. */
38336 /* The GNU C library defines this for functions which it implements
38337 to always fail with ENOSYS. Some functions are actually named
38338 something starting with __ and the normal name is an alias. */
38339 #if defined __stub_$ac_func || defined __stub___$ac_func
38346 return $ac_func ();
38351 rm -f conftest.$ac_objext conftest$ac_exeext
38352 if { (ac_try="$ac_link"
38353 case "(($ac_try" in
38354 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38355 *) ac_try_echo
=$ac_try;;
38357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38358 (eval "$ac_link") 2>conftest.er1
38360 grep -v '^ *+' conftest.er1
>conftest.err
38362 cat conftest.err
>&5
38363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38364 (exit $ac_status); } && {
38365 test -z "$ac_c_werror_flag" ||
38366 test ! -s conftest.err
38367 } && test -s conftest
$ac_exeext &&
38368 $as_test_x conftest
$ac_exeext; then
38369 eval "$as_ac_var=yes"
38371 echo "$as_me: failed program was:" >&5
38372 sed 's/^/| /' conftest.
$ac_ext >&5
38374 eval "$as_ac_var=no"
38377 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38378 conftest
$ac_exeext conftest.
$ac_ext
38380 ac_res
=`eval echo '${'$as_ac_var'}'`
38381 { echo "$as_me:$LINENO: result: $ac_res" >&5
38382 echo "${ECHO_T}$ac_res" >&6; }
38383 if test `eval echo '${'$as_ac_var'}'` = yes; then
38384 cat >>confdefs.h
<<_ACEOF
38385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38391 if test "$ac_cv_func_setenv" = "yes"; then
38393 for ac_func
in unsetenv
38395 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38396 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38398 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38399 echo $ECHO_N "(cached) $ECHO_C" >&6
38401 cat >conftest.
$ac_ext <<_ACEOF
38404 cat confdefs.h
>>conftest.
$ac_ext
38405 cat >>conftest.
$ac_ext <<_ACEOF
38406 /* end confdefs.h. */
38407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38408 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38409 #define $ac_func innocuous_$ac_func
38411 /* System header to define __stub macros and hopefully few prototypes,
38412 which can conflict with char $ac_func (); below.
38413 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38414 <limits.h> exists even on freestanding compilers. */
38417 # include <limits.h>
38419 # include <assert.h>
38424 /* Override any GCC internal prototype to avoid an error.
38425 Use char because int might match the return type of a GCC
38426 builtin and then its argument prototype would still apply. */
38431 /* The GNU C library defines this for functions which it implements
38432 to always fail with ENOSYS. Some functions are actually named
38433 something starting with __ and the normal name is an alias. */
38434 #if defined __stub_$ac_func || defined __stub___$ac_func
38441 return $ac_func ();
38446 rm -f conftest.
$ac_objext conftest
$ac_exeext
38447 if { (ac_try
="$ac_link"
38448 case "(($ac_try" in
38449 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38450 *) ac_try_echo=$ac_try;;
38452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38453 (eval "$ac_link") 2>conftest.er1
38455 grep -v '^ *+' conftest.er1 >conftest.err
38457 cat conftest.err >&5
38458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38459 (exit $ac_status); } && {
38460 test -z "$ac_c_werror_flag" ||
38461 test ! -s conftest.err
38462 } && test -s conftest$ac_exeext &&
38463 $as_test_x conftest$ac_exeext; then
38464 eval "$as_ac_var=yes"
38466 echo "$as_me: failed program was:" >&5
38467 sed 's/^/| /' conftest.$ac_ext >&5
38469 eval "$as_ac_var=no"
38472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38473 conftest$ac_exeext conftest.$ac_ext
38475 ac_res=`eval echo '${'$as_ac_var'}'`
38476 { echo "$as_me:$LINENO: result: $ac_res" >&5
38477 echo "${ECHO_T}$ac_res" >&6; }
38478 if test `eval echo '${'$as_ac_var'}'` = yes; then
38479 cat >>confdefs.h <<_ACEOF
38480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38488 HAVE_SOME_SLEEP_FUNC=0
38489 if test "$USE_BEOS" = 1; then
38490 cat >>confdefs.h <<\_ACEOF
38491 #define HAVE_SLEEP 1
38494 HAVE_SOME_SLEEP_FUNC=1
38497 if test "$USE_DARWIN" = 1; then
38498 cat >>confdefs.h <<\_ACEOF
38499 #define HAVE_USLEEP 1
38502 HAVE_SOME_SLEEP_FUNC=1
38505 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38508 for ac_func in nanosleep
38510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38511 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38513 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38514 echo $ECHO_N "(cached) $ECHO_C" >&6
38516 cat >conftest.$ac_ext <<_ACEOF
38519 cat confdefs.h >>conftest.$ac_ext
38520 cat >>conftest.$ac_ext <<_ACEOF
38521 /* end confdefs.h. */
38522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38524 #define $ac_func innocuous_$ac_func
38526 /* System header to define __stub macros and hopefully few prototypes,
38527 which can conflict with char $ac_func (); below.
38528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38529 <limits.h> exists even on freestanding compilers. */
38532 # include <limits.h>
38534 # include <assert.h>
38539 /* Override any GCC internal prototype to avoid an error.
38540 Use char because int might match the return type of a GCC
38541 builtin and then its argument prototype would still apply. */
38546 /* The GNU C library defines this for functions which it implements
38547 to always fail with ENOSYS. Some functions are actually named
38548 something starting with __ and the normal name is an alias. */
38549 #if defined __stub_$ac_func || defined __stub___$ac_func
38556 return $ac_func ();
38561 rm -f conftest.$ac_objext conftest$ac_exeext
38562 if { (ac_try="$ac_link"
38563 case "(($ac_try" in
38564 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38565 *) ac_try_echo
=$ac_try;;
38567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38568 (eval "$ac_link") 2>conftest.er1
38570 grep -v '^ *+' conftest.er1
>conftest.err
38572 cat conftest.err
>&5
38573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38574 (exit $ac_status); } && {
38575 test -z "$ac_c_werror_flag" ||
38576 test ! -s conftest.err
38577 } && test -s conftest
$ac_exeext &&
38578 $as_test_x conftest
$ac_exeext; then
38579 eval "$as_ac_var=yes"
38581 echo "$as_me: failed program was:" >&5
38582 sed 's/^/| /' conftest.
$ac_ext >&5
38584 eval "$as_ac_var=no"
38587 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38588 conftest
$ac_exeext conftest.
$ac_ext
38590 ac_res
=`eval echo '${'$as_ac_var'}'`
38591 { echo "$as_me:$LINENO: result: $ac_res" >&5
38592 echo "${ECHO_T}$ac_res" >&6; }
38593 if test `eval echo '${'$as_ac_var'}'` = yes; then
38594 cat >>confdefs.h
<<_ACEOF
38595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38597 cat >>confdefs.h
<<\_ACEOF
38598 #define HAVE_NANOSLEEP 1
38603 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38604 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38605 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38606 echo $ECHO_N "(cached) $ECHO_C" >&6
38608 ac_check_lib_save_LIBS
=$LIBS
38609 LIBS
="-lposix4 $LIBS"
38610 cat >conftest.
$ac_ext <<_ACEOF
38613 cat confdefs.h
>>conftest.
$ac_ext
38614 cat >>conftest.
$ac_ext <<_ACEOF
38615 /* end confdefs.h. */
38617 /* Override any GCC internal prototype to avoid an error.
38618 Use char because int might match the return type of a GCC
38619 builtin and then its argument prototype would still apply. */
38627 return nanosleep ();
38632 rm -f conftest.
$ac_objext conftest
$ac_exeext
38633 if { (ac_try
="$ac_link"
38634 case "(($ac_try" in
38635 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38636 *) ac_try_echo=$ac_try;;
38638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38639 (eval "$ac_link") 2>conftest.er1
38641 grep -v '^ *+' conftest.er1 >conftest.err
38643 cat conftest.err >&5
38644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38645 (exit $ac_status); } && {
38646 test -z "$ac_c_werror_flag" ||
38647 test ! -s conftest.err
38648 } && test -s conftest$ac_exeext &&
38649 $as_test_x conftest$ac_exeext; then
38650 ac_cv_lib_posix4_nanosleep=yes
38652 echo "$as_me: failed program was:" >&5
38653 sed 's/^/| /' conftest.$ac_ext >&5
38655 ac_cv_lib_posix4_nanosleep=no
38658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38659 conftest$ac_exeext conftest.$ac_ext
38660 LIBS=$ac_check_lib_save_LIBS
38662 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38663 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
38664 if test $ac_cv_lib_posix4_nanosleep = yes; then
38666 cat >>confdefs.h <<\_ACEOF
38667 #define HAVE_NANOSLEEP 1
38670 POSIX4_LINK=" -lposix4"
38675 for wx_func in usleep
38677 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38678 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38679 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38680 echo $ECHO_N "(cached) $ECHO_C" >&6
38683 cat >conftest.$ac_ext <<_ACEOF
38687 cat confdefs.h >>conftest.$ac_ext
38688 cat >>conftest.$ac_ext <<_ACEOF
38689 /* end confdefs.h. */
38692 $ac_includes_default
38708 rm -f conftest.$ac_objext conftest$ac_exeext
38709 if { (ac_try="$ac_link"
38710 case "(($ac_try" in
38711 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38712 *) ac_try_echo
=$ac_try;;
38714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38715 (eval "$ac_link") 2>conftest.er1
38717 grep -v '^ *+' conftest.er1
>conftest.err
38719 cat conftest.err
>&5
38720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38721 (exit $ac_status); } && {
38722 test -z "$ac_c_werror_flag" ||
38723 test ! -s conftest.err
38724 } && test -s conftest
$ac_exeext &&
38725 $as_test_x conftest
$ac_exeext; then
38726 eval wx_cv_func_
$wx_func=yes
38728 echo "$as_me: failed program was:" >&5
38729 sed 's/^/| /' conftest.
$ac_ext >&5
38731 eval wx_cv_func_
$wx_func=no
38734 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38735 conftest
$ac_exeext conftest.
$ac_ext
38738 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38739 { echo "$as_me:$LINENO: result: $ac_res" >&5
38740 echo "${ECHO_T}$ac_res" >&6; }
38742 if eval test \
$wx_cv_func_$wx_func = yes
38744 cat >>confdefs.h
<<_ACEOF
38745 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38751 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38752 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38769 for wx_func
in uname
38771 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38772 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38773 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38774 echo $ECHO_N "(cached) $ECHO_C" >&6
38777 cat >conftest.
$ac_ext <<_ACEOF
38781 cat confdefs.h
>>conftest.
$ac_ext
38782 cat >>conftest.
$ac_ext <<_ACEOF
38783 /* end confdefs.h. */
38785 #include <sys/utsname.h>
38786 $ac_includes_default
38802 rm -f conftest.
$ac_objext conftest
$ac_exeext
38803 if { (ac_try
="$ac_link"
38804 case "(($ac_try" in
38805 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38806 *) ac_try_echo=$ac_try;;
38808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38809 (eval "$ac_link") 2>conftest.er1
38811 grep -v '^ *+' conftest.er1 >conftest.err
38813 cat conftest.err >&5
38814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38815 (exit $ac_status); } && {
38816 test -z "$ac_c_werror_flag" ||
38817 test ! -s conftest.err
38818 } && test -s conftest$ac_exeext &&
38819 $as_test_x conftest$ac_exeext; then
38820 eval wx_cv_func_$wx_func=yes
38822 echo "$as_me: failed program was:" >&5
38823 sed 's/^/| /' conftest.$ac_ext >&5
38825 eval wx_cv_func_$wx_func=no
38828 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38829 conftest$ac_exeext conftest.$ac_ext
38832 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38833 { echo "$as_me:$LINENO: result: $ac_res" >&5
38834 echo "${ECHO_T}$ac_res" >&6; }
38836 if eval test \$wx_cv_func_$wx_func = yes
38838 cat >>confdefs.h <<_ACEOF
38839 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38849 if test "$wx_cv_func_uname" != yes; then
38851 for wx_func in gethostname
38853 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38854 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38855 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38856 echo $ECHO_N "(cached) $ECHO_C" >&6
38859 cat >conftest.$ac_ext <<_ACEOF
38863 cat confdefs.h >>conftest.$ac_ext
38864 cat >>conftest.$ac_ext <<_ACEOF
38865 /* end confdefs.h. */
38868 $ac_includes_default
38884 rm -f conftest.$ac_objext conftest$ac_exeext
38885 if { (ac_try="$ac_link"
38886 case "(($ac_try" in
38887 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38888 *) ac_try_echo
=$ac_try;;
38890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38891 (eval "$ac_link") 2>conftest.er1
38893 grep -v '^ *+' conftest.er1
>conftest.err
38895 cat conftest.err
>&5
38896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38897 (exit $ac_status); } && {
38898 test -z "$ac_c_werror_flag" ||
38899 test ! -s conftest.err
38900 } && test -s conftest
$ac_exeext &&
38901 $as_test_x conftest
$ac_exeext; then
38902 eval wx_cv_func_
$wx_func=yes
38904 echo "$as_me: failed program was:" >&5
38905 sed 's/^/| /' conftest.
$ac_ext >&5
38907 eval wx_cv_func_
$wx_func=no
38910 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38911 conftest
$ac_exeext conftest.
$ac_ext
38914 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38915 { echo "$as_me:$LINENO: result: $ac_res" >&5
38916 echo "${ECHO_T}$ac_res" >&6; }
38918 if eval test \
$wx_cv_func_$wx_func = yes
38920 cat >>confdefs.h
<<_ACEOF
38921 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38934 for wx_func
in strtok_r
38936 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38937 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38938 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38939 echo $ECHO_N "(cached) $ECHO_C" >&6
38942 cat >conftest.
$ac_ext <<_ACEOF
38946 cat confdefs.h
>>conftest.
$ac_ext
38947 cat >>conftest.
$ac_ext <<_ACEOF
38948 /* end confdefs.h. */
38951 $ac_includes_default
38967 rm -f conftest.
$ac_objext conftest
$ac_exeext
38968 if { (ac_try
="$ac_link"
38969 case "(($ac_try" in
38970 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38971 *) ac_try_echo=$ac_try;;
38973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38974 (eval "$ac_link") 2>conftest.er1
38976 grep -v '^ *+' conftest.er1 >conftest.err
38978 cat conftest.err >&5
38979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38980 (exit $ac_status); } && {
38981 test -z "$ac_c_werror_flag" ||
38982 test ! -s conftest.err
38983 } && test -s conftest$ac_exeext &&
38984 $as_test_x conftest$ac_exeext; then
38985 eval wx_cv_func_$wx_func=yes
38987 echo "$as_me: failed program was:" >&5
38988 sed 's/^/| /' conftest.$ac_ext >&5
38990 eval wx_cv_func_$wx_func=no
38993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38994 conftest$ac_exeext conftest.$ac_ext
38997 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38998 { echo "$as_me:$LINENO: result: $ac_res" >&5
38999 echo "${ECHO_T}$ac_res" >&6; }
39001 if eval test \$wx_cv_func_$wx_func = yes
39003 cat >>confdefs.h <<_ACEOF
39004 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39017 for ac_func in inet_addr
39019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39020 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39022 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39023 echo $ECHO_N "(cached) $ECHO_C" >&6
39025 cat >conftest.$ac_ext <<_ACEOF
39028 cat confdefs.h >>conftest.$ac_ext
39029 cat >>conftest.$ac_ext <<_ACEOF
39030 /* end confdefs.h. */
39031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39033 #define $ac_func innocuous_$ac_func
39035 /* System header to define __stub macros and hopefully few prototypes,
39036 which can conflict with char $ac_func (); below.
39037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39038 <limits.h> exists even on freestanding compilers. */
39041 # include <limits.h>
39043 # include <assert.h>
39048 /* Override any GCC internal prototype to avoid an error.
39049 Use char because int might match the return type of a GCC
39050 builtin and then its argument prototype would still apply. */
39055 /* The GNU C library defines this for functions which it implements
39056 to always fail with ENOSYS. Some functions are actually named
39057 something starting with __ and the normal name is an alias. */
39058 #if defined __stub_$ac_func || defined __stub___$ac_func
39065 return $ac_func ();
39070 rm -f conftest.$ac_objext conftest$ac_exeext
39071 if { (ac_try="$ac_link"
39072 case "(($ac_try" in
39073 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39074 *) ac_try_echo
=$ac_try;;
39076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39077 (eval "$ac_link") 2>conftest.er1
39079 grep -v '^ *+' conftest.er1
>conftest.err
39081 cat conftest.err
>&5
39082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39083 (exit $ac_status); } && {
39084 test -z "$ac_c_werror_flag" ||
39085 test ! -s conftest.err
39086 } && test -s conftest
$ac_exeext &&
39087 $as_test_x conftest
$ac_exeext; then
39088 eval "$as_ac_var=yes"
39090 echo "$as_me: failed program was:" >&5
39091 sed 's/^/| /' conftest.
$ac_ext >&5
39093 eval "$as_ac_var=no"
39096 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39097 conftest
$ac_exeext conftest.
$ac_ext
39099 ac_res
=`eval echo '${'$as_ac_var'}'`
39100 { echo "$as_me:$LINENO: result: $ac_res" >&5
39101 echo "${ECHO_T}$ac_res" >&6; }
39102 if test `eval echo '${'$as_ac_var'}'` = yes; then
39103 cat >>confdefs.h
<<_ACEOF
39104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39106 cat >>confdefs.h
<<\_ACEOF
39107 #define HAVE_INET_ADDR 1
39112 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39113 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39114 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39115 echo $ECHO_N "(cached) $ECHO_C" >&6
39117 ac_check_lib_save_LIBS
=$LIBS
39119 cat >conftest.
$ac_ext <<_ACEOF
39122 cat confdefs.h
>>conftest.
$ac_ext
39123 cat >>conftest.
$ac_ext <<_ACEOF
39124 /* end confdefs.h. */
39126 /* Override any GCC internal prototype to avoid an error.
39127 Use char because int might match the return type of a GCC
39128 builtin and then its argument prototype would still apply. */
39136 return inet_addr ();
39141 rm -f conftest.
$ac_objext conftest
$ac_exeext
39142 if { (ac_try
="$ac_link"
39143 case "(($ac_try" in
39144 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39145 *) ac_try_echo=$ac_try;;
39147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39148 (eval "$ac_link") 2>conftest.er1
39150 grep -v '^ *+' conftest.er1 >conftest.err
39152 cat conftest.err >&5
39153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39154 (exit $ac_status); } && {
39155 test -z "$ac_c_werror_flag" ||
39156 test ! -s conftest.err
39157 } && test -s conftest$ac_exeext &&
39158 $as_test_x conftest$ac_exeext; then
39159 ac_cv_lib_nsl_inet_addr=yes
39161 echo "$as_me: failed program was:" >&5
39162 sed 's/^/| /' conftest.$ac_ext >&5
39164 ac_cv_lib_nsl_inet_addr=no
39167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39168 conftest$ac_exeext conftest.$ac_ext
39169 LIBS=$ac_check_lib_save_LIBS
39171 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39172 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39173 if test $ac_cv_lib_nsl_inet_addr = yes; then
39177 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39178 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39179 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39180 echo $ECHO_N "(cached) $ECHO_C" >&6
39182 ac_check_lib_save_LIBS=$LIBS
39183 LIBS="-lresolv $LIBS"
39184 cat >conftest.$ac_ext <<_ACEOF
39187 cat confdefs.h >>conftest.$ac_ext
39188 cat >>conftest.$ac_ext <<_ACEOF
39189 /* end confdefs.h. */
39191 /* Override any GCC internal prototype to avoid an error.
39192 Use char because int might match the return type of a GCC
39193 builtin and then its argument prototype would still apply. */
39201 return inet_addr ();
39206 rm -f conftest.$ac_objext conftest$ac_exeext
39207 if { (ac_try="$ac_link"
39208 case "(($ac_try" in
39209 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39210 *) ac_try_echo
=$ac_try;;
39212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39213 (eval "$ac_link") 2>conftest.er1
39215 grep -v '^ *+' conftest.er1
>conftest.err
39217 cat conftest.err
>&5
39218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39219 (exit $ac_status); } && {
39220 test -z "$ac_c_werror_flag" ||
39221 test ! -s conftest.err
39222 } && test -s conftest
$ac_exeext &&
39223 $as_test_x conftest
$ac_exeext; then
39224 ac_cv_lib_resolv_inet_addr
=yes
39226 echo "$as_me: failed program was:" >&5
39227 sed 's/^/| /' conftest.
$ac_ext >&5
39229 ac_cv_lib_resolv_inet_addr
=no
39232 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39233 conftest
$ac_exeext conftest.
$ac_ext
39234 LIBS
=$ac_check_lib_save_LIBS
39236 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39237 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39238 if test $ac_cv_lib_resolv_inet_addr = yes; then
39242 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39243 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39244 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39245 echo $ECHO_N "(cached) $ECHO_C" >&6
39247 ac_check_lib_save_LIBS
=$LIBS
39248 LIBS
="-lsocket $LIBS"
39249 cat >conftest.
$ac_ext <<_ACEOF
39252 cat confdefs.h
>>conftest.
$ac_ext
39253 cat >>conftest.
$ac_ext <<_ACEOF
39254 /* end confdefs.h. */
39256 /* Override any GCC internal prototype to avoid an error.
39257 Use char because int might match the return type of a GCC
39258 builtin and then its argument prototype would still apply. */
39266 return inet_addr ();
39271 rm -f conftest.
$ac_objext conftest
$ac_exeext
39272 if { (ac_try
="$ac_link"
39273 case "(($ac_try" in
39274 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39275 *) ac_try_echo=$ac_try;;
39277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39278 (eval "$ac_link") 2>conftest.er1
39280 grep -v '^ *+' conftest.er1 >conftest.err
39282 cat conftest.err >&5
39283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39284 (exit $ac_status); } && {
39285 test -z "$ac_c_werror_flag" ||
39286 test ! -s conftest.err
39287 } && test -s conftest$ac_exeext &&
39288 $as_test_x conftest$ac_exeext; then
39289 ac_cv_lib_socket_inet_addr=yes
39291 echo "$as_me: failed program was:" >&5
39292 sed 's/^/| /' conftest.$ac_ext >&5
39294 ac_cv_lib_socket_inet_addr=no
39297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39298 conftest$ac_exeext conftest.$ac_ext
39299 LIBS=$ac_check_lib_save_LIBS
39301 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39302 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39303 if test $ac_cv_lib_socket_inet_addr = yes; then
39323 for ac_func in inet_aton
39325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39326 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39328 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39329 echo $ECHO_N "(cached) $ECHO_C" >&6
39331 cat >conftest.$ac_ext <<_ACEOF
39334 cat confdefs.h >>conftest.$ac_ext
39335 cat >>conftest.$ac_ext <<_ACEOF
39336 /* end confdefs.h. */
39337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39339 #define $ac_func innocuous_$ac_func
39341 /* System header to define __stub macros and hopefully few prototypes,
39342 which can conflict with char $ac_func (); below.
39343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39344 <limits.h> exists even on freestanding compilers. */
39347 # include <limits.h>
39349 # include <assert.h>
39354 /* Override any GCC internal prototype to avoid an error.
39355 Use char because int might match the return type of a GCC
39356 builtin and then its argument prototype would still apply. */
39361 /* The GNU C library defines this for functions which it implements
39362 to always fail with ENOSYS. Some functions are actually named
39363 something starting with __ and the normal name is an alias. */
39364 #if defined __stub_$ac_func || defined __stub___$ac_func
39371 return $ac_func ();
39376 rm -f conftest.$ac_objext conftest$ac_exeext
39377 if { (ac_try="$ac_link"
39378 case "(($ac_try" in
39379 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39380 *) ac_try_echo
=$ac_try;;
39382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39383 (eval "$ac_link") 2>conftest.er1
39385 grep -v '^ *+' conftest.er1
>conftest.err
39387 cat conftest.err
>&5
39388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39389 (exit $ac_status); } && {
39390 test -z "$ac_c_werror_flag" ||
39391 test ! -s conftest.err
39392 } && test -s conftest
$ac_exeext &&
39393 $as_test_x conftest
$ac_exeext; then
39394 eval "$as_ac_var=yes"
39396 echo "$as_me: failed program was:" >&5
39397 sed 's/^/| /' conftest.
$ac_ext >&5
39399 eval "$as_ac_var=no"
39402 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39403 conftest
$ac_exeext conftest.
$ac_ext
39405 ac_res
=`eval echo '${'$as_ac_var'}'`
39406 { echo "$as_me:$LINENO: result: $ac_res" >&5
39407 echo "${ECHO_T}$ac_res" >&6; }
39408 if test `eval echo '${'$as_ac_var'}'` = yes; then
39409 cat >>confdefs.h
<<_ACEOF
39410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39412 cat >>confdefs.h
<<\_ACEOF
39413 #define HAVE_INET_ATON 1
39418 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39419 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39420 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39421 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39422 echo $ECHO_N "(cached) $ECHO_C" >&6
39424 ac_check_lib_save_LIBS
=$LIBS
39425 LIBS
="-l$INET_LINK $LIBS"
39426 cat >conftest.
$ac_ext <<_ACEOF
39429 cat confdefs.h
>>conftest.
$ac_ext
39430 cat >>conftest.
$ac_ext <<_ACEOF
39431 /* end confdefs.h. */
39433 /* Override any GCC internal prototype to avoid an error.
39434 Use char because int might match the return type of a GCC
39435 builtin and then its argument prototype would still apply. */
39443 return inet_aton ();
39448 rm -f conftest.
$ac_objext conftest
$ac_exeext
39449 if { (ac_try
="$ac_link"
39450 case "(($ac_try" in
39451 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39452 *) ac_try_echo=$ac_try;;
39454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39455 (eval "$ac_link") 2>conftest.er1
39457 grep -v '^ *+' conftest.er1 >conftest.err
39459 cat conftest.err >&5
39460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39461 (exit $ac_status); } && {
39462 test -z "$ac_c_werror_flag" ||
39463 test ! -s conftest.err
39464 } && test -s conftest$ac_exeext &&
39465 $as_test_x conftest$ac_exeext; then
39466 eval "$as_ac_Lib=yes"
39468 echo "$as_me: failed program was:" >&5
39469 sed 's/^/| /' conftest.$ac_ext >&5
39471 eval "$as_ac_Lib=no"
39474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39475 conftest$ac_exeext conftest.$ac_ext
39476 LIBS=$ac_check_lib_save_LIBS
39478 ac_res=`eval echo '${'$as_ac_Lib'}'`
39479 { echo "$as_me:$LINENO: result: $ac_res" >&5
39480 echo "${ECHO_T}$ac_res" >&6; }
39481 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39482 cat >>confdefs.h <<\_ACEOF
39483 #define HAVE_INET_ATON 1
39493 if test "x$INET_LINK" != "x"; then
39494 cat >>confdefs.h <<\_ACEOF
39495 #define HAVE_INET_ADDR 1
39498 INET_LINK=" -l$INET_LINK"
39502 for wx_func in fdopen
39504 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39505 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39506 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39507 echo $ECHO_N "(cached) $ECHO_C" >&6
39510 cat >conftest.$ac_ext <<_ACEOF
39514 cat confdefs.h >>conftest.$ac_ext
39515 cat >>conftest.$ac_ext <<_ACEOF
39516 /* end confdefs.h. */
39519 $ac_includes_default
39535 rm -f conftest.$ac_objext conftest$ac_exeext
39536 if { (ac_try="$ac_link"
39537 case "(($ac_try" in
39538 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39539 *) ac_try_echo
=$ac_try;;
39541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39542 (eval "$ac_link") 2>conftest.er1
39544 grep -v '^ *+' conftest.er1
>conftest.err
39546 cat conftest.err
>&5
39547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39548 (exit $ac_status); } && {
39549 test -z "$ac_c_werror_flag" ||
39550 test ! -s conftest.err
39551 } && test -s conftest
$ac_exeext &&
39552 $as_test_x conftest
$ac_exeext; then
39553 eval wx_cv_func_
$wx_func=yes
39555 echo "$as_me: failed program was:" >&5
39556 sed 's/^/| /' conftest.
$ac_ext >&5
39558 eval wx_cv_func_
$wx_func=no
39561 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39562 conftest
$ac_exeext conftest.
$ac_ext
39565 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39566 { echo "$as_me:$LINENO: result: $ac_res" >&5
39567 echo "${ECHO_T}$ac_res" >&6; }
39569 if eval test \
$wx_cv_func_$wx_func = yes
39571 cat >>confdefs.h
<<_ACEOF
39572 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39583 if test "$wxUSE_TARSTREAM" = "yes"; then
39585 for wx_func
in sysconf
39587 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39588 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39589 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39590 echo $ECHO_N "(cached) $ECHO_C" >&6
39593 cat >conftest.
$ac_ext <<_ACEOF
39597 cat confdefs.h
>>conftest.
$ac_ext
39598 cat >>conftest.
$ac_ext <<_ACEOF
39599 /* end confdefs.h. */
39602 $ac_includes_default
39618 rm -f conftest.
$ac_objext conftest
$ac_exeext
39619 if { (ac_try
="$ac_link"
39620 case "(($ac_try" in
39621 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39622 *) ac_try_echo=$ac_try;;
39624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39625 (eval "$ac_link") 2>conftest.er1
39627 grep -v '^ *+' conftest.er1 >conftest.err
39629 cat conftest.err >&5
39630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39631 (exit $ac_status); } && {
39632 test -z "$ac_c_werror_flag" ||
39633 test ! -s conftest.err
39634 } && test -s conftest$ac_exeext &&
39635 $as_test_x conftest$ac_exeext; then
39636 eval wx_cv_func_$wx_func=yes
39638 echo "$as_me: failed program was:" >&5
39639 sed 's/^/| /' conftest.$ac_ext >&5
39641 eval wx_cv_func_$wx_func=no
39644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39645 conftest$ac_exeext conftest.$ac_ext
39648 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39649 { echo "$as_me:$LINENO: result: $ac_res" >&5
39650 echo "${ECHO_T}$ac_res" >&6; }
39652 if eval test \$wx_cv_func_$wx_func = yes
39654 cat >>confdefs.h <<_ACEOF
39655 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39667 for wx_func in getpwuid_r
39669 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39670 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39671 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39672 echo $ECHO_N "(cached) $ECHO_C" >&6
39675 cat >conftest.$ac_ext <<_ACEOF
39679 cat confdefs.h >>conftest.$ac_ext
39680 cat >>conftest.$ac_ext <<_ACEOF
39681 /* end confdefs.h. */
39687 $ac_includes_default
39697 struct passwd pw, *ppw;
39699 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
39707 rm -f conftest.$ac_objext conftest$ac_exeext
39708 if { (ac_try="$ac_link"
39709 case "(($ac_try" in
39710 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39711 *) ac_try_echo
=$ac_try;;
39713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39714 (eval "$ac_link") 2>conftest.er1
39716 grep -v '^ *+' conftest.er1
>conftest.err
39718 cat conftest.err
>&5
39719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39720 (exit $ac_status); } && {
39721 test -z "$ac_c_werror_flag" ||
39722 test ! -s conftest.err
39723 } && test -s conftest
$ac_exeext &&
39724 $as_test_x conftest
$ac_exeext; then
39725 eval wx_cv_func_
$wx_func=yes
39727 echo "$as_me: failed program was:" >&5
39728 sed 's/^/| /' conftest.
$ac_ext >&5
39730 eval wx_cv_func_
$wx_func=no
39733 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39734 conftest
$ac_exeext conftest.
$ac_ext
39737 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39738 { echo "$as_me:$LINENO: result: $ac_res" >&5
39739 echo "${ECHO_T}$ac_res" >&6; }
39741 if eval test \
$wx_cv_func_$wx_func = yes
39743 cat >>confdefs.h
<<_ACEOF
39744 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39756 for wx_func
in getgrgid_r
39758 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39759 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39760 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39761 echo $ECHO_N "(cached) $ECHO_C" >&6
39764 cat >conftest.
$ac_ext <<_ACEOF
39768 cat confdefs.h
>>conftest.
$ac_ext
39769 cat >>conftest.
$ac_ext <<_ACEOF
39770 /* end confdefs.h. */
39776 $ac_includes_default
39786 struct group grp, *pgrp;
39788 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
39796 rm -f conftest.
$ac_objext conftest
$ac_exeext
39797 if { (ac_try
="$ac_link"
39798 case "(($ac_try" in
39799 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39800 *) ac_try_echo=$ac_try;;
39802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39803 (eval "$ac_link") 2>conftest.er1
39805 grep -v '^ *+' conftest.er1 >conftest.err
39807 cat conftest.err >&5
39808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39809 (exit $ac_status); } && {
39810 test -z "$ac_c_werror_flag" ||
39811 test ! -s conftest.err
39812 } && test -s conftest$ac_exeext &&
39813 $as_test_x conftest$ac_exeext; then
39814 eval wx_cv_func_$wx_func=yes
39816 echo "$as_me: failed program was:" >&5
39817 sed 's/^/| /' conftest.$ac_ext >&5
39819 eval wx_cv_func_$wx_func=no
39822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39823 conftest$ac_exeext conftest.$ac_ext
39826 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39827 { echo "$as_me:$LINENO: result: $ac_res" >&5
39828 echo "${ECHO_T}$ac_res" >&6; }
39830 if eval test \$wx_cv_func_$wx_func = yes
39832 cat >>confdefs.h <<_ACEOF
39833 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39849 cat >confcache <<\_ACEOF
39850 # This file is a shell script that caches the results of configure
39851 # tests run on this system so they can be shared between configure
39852 # scripts and configure runs, see configure's option --config-cache.
39853 # It is not useful on other systems. If it contains results you don't
39854 # want to keep, you may remove or edit it.
39856 # config.status only pays attention to the cache file if you give it
39857 # the --recheck option to rerun configure.
39859 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
39860 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39861 # following values.
39865 # The following way of writing the cache mishandles newlines in values,
39866 # but we know of no workaround that is simple, portable, and efficient.
39867 # So, we kill variables containing newlines.
39868 # Ultrix sh set writes to stderr and can't be redirected directly,
39869 # and sets the high bit in the cache file unless we assign to the vars.
39871 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39872 eval ac_val
=\$
$ac_var
39876 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
39877 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
39880 _
| IFS
| as_nl
) ;; #(
39881 *) $as_unset $ac_var ;;
39887 case $as_nl`(ac_space=' '; set) 2>&1` in #(
39888 *${as_nl}ac_space
=\
*)
39889 # `set' does not quote correctly, so add quotes (double-quote
39890 # substitution turns \\\\ into \\, and sed turns \\ into \).
39893 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39896 # `set' quotes correctly as required by POSIX, so do not add quotes.
39897 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
39906 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39908 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39910 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
39911 if test -w "$cache_file"; then
39912 test "x$cache_file" != "x/dev/null" &&
39913 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
39914 echo "$as_me: updating cache $cache_file" >&6;}
39915 cat confcache
>$cache_file
39917 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
39918 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
39924 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39930 if test "$wxUSE_THREADS" = "yes" ; then
39931 if test "$USE_BEOS" = 1; then
39932 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39933 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39938 if test "$wxUSE_THREADS" = "yes" ; then
39941 THREAD_OPTS
="-pthread"
39942 if test "x$SUNCXX" = xyes
; then
39943 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
39947 *-*-solaris2* | *-*-sunos4* )
39948 if test "x$GCC" = "xyes"; then
39949 THREAD_OPTS
="-pthreads $THREAD_OPTS"
39953 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
39955 *-*-darwin* | *-*-cygwin* )
39959 THREAD_OPTS
="pthreads"
39962 if test "x$GCC" = "xyes"; then
39963 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
39971 if test "x$GCC" = "xyes"; then
39981 if test "x$GCC" != "xyes"; then
39982 THREAD_OPTS
="-Ethread"
39989 THREAD_OPTS
="none pthread"
39993 THREAD_OPTS
="$THREAD_OPTS pthread none"
39998 for flag
in $THREAD_OPTS; do
40001 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40002 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40006 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40007 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40008 THREADS_CFLAGS
="$flag"
40012 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40013 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40014 THREADS_LINK
="-l$flag"
40019 save_CFLAGS
="$CFLAGS"
40020 LIBS
="$THREADS_LINK $LIBS"
40021 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
40023 cat >conftest.
$ac_ext <<_ACEOF
40026 cat confdefs.h
>>conftest.
$ac_ext
40027 cat >>conftest.
$ac_ext <<_ACEOF
40028 /* end confdefs.h. */
40029 #include <pthread.h>
40033 pthread_create(0,0,0,0);
40038 rm -f conftest.
$ac_objext conftest
$ac_exeext
40039 if { (ac_try
="$ac_link"
40040 case "(($ac_try" in
40041 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40042 *) ac_try_echo=$ac_try;;
40044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40045 (eval "$ac_link") 2>conftest.er1
40047 grep -v '^ *+' conftest.er1 >conftest.err
40049 cat conftest.err >&5
40050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40051 (exit $ac_status); } && {
40052 test -z "$ac_c_werror_flag" ||
40053 test ! -s conftest.err
40054 } && test -s conftest$ac_exeext &&
40055 $as_test_x conftest$ac_exeext; then
40058 echo "$as_me: failed program was:" >&5
40059 sed 's/^/| /' conftest.$ac_ext >&5
40064 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40065 conftest$ac_exeext conftest.$ac_ext
40068 CFLAGS="$save_CFLAGS"
40070 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40071 echo "${ECHO_T}$THREADS_OK" >&6; }
40072 if test "x$THREADS_OK" = "xyes"; then
40080 if test "x$THREADS_OK" != "xyes"; then
40082 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40083 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40085 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40086 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40087 LIBS="$THREADS_LINK $LIBS"
40089 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40090 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40094 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40095 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40096 flag="-D_THREAD_SAFE"
40099 flag="-D_THREAD_SAFE"
40102 flag="-D_REENTRANT"
40103 if test "x$GCC" != "xyes"; then
40104 flag="$flag -D_RWSTD_MULTI_THREAD"
40107 *solaris* | alpha*-osf*)
40108 flag="-D_REENTRANT"
40111 { echo "$as_me:$LINENO: result: ${flag}" >&5
40112 echo "${ECHO_T}${flag}" >&6; }
40113 if test "x$flag" != xno; then
40114 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40117 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40121 if test "$wxUSE_THREADS" = "yes" ; then
40123 for ac_func in thr_setconcurrency
40125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40126 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40128 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40129 echo $ECHO_N "(cached) $ECHO_C" >&6
40131 cat >conftest.$ac_ext <<_ACEOF
40134 cat confdefs.h >>conftest.$ac_ext
40135 cat >>conftest.$ac_ext <<_ACEOF
40136 /* end confdefs.h. */
40137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40139 #define $ac_func innocuous_$ac_func
40141 /* System header to define __stub macros and hopefully few prototypes,
40142 which can conflict with char $ac_func (); below.
40143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40144 <limits.h> exists even on freestanding compilers. */
40147 # include <limits.h>
40149 # include <assert.h>
40154 /* Override any GCC internal prototype to avoid an error.
40155 Use char because int might match the return type of a GCC
40156 builtin and then its argument prototype would still apply. */
40161 /* The GNU C library defines this for functions which it implements
40162 to always fail with ENOSYS. Some functions are actually named
40163 something starting with __ and the normal name is an alias. */
40164 #if defined __stub_$ac_func || defined __stub___$ac_func
40171 return $ac_func ();
40176 rm -f conftest.$ac_objext conftest$ac_exeext
40177 if { (ac_try="$ac_link"
40178 case "(($ac_try" in
40179 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40180 *) ac_try_echo
=$ac_try;;
40182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40183 (eval "$ac_link") 2>conftest.er1
40185 grep -v '^ *+' conftest.er1
>conftest.err
40187 cat conftest.err
>&5
40188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40189 (exit $ac_status); } && {
40190 test -z "$ac_c_werror_flag" ||
40191 test ! -s conftest.err
40192 } && test -s conftest
$ac_exeext &&
40193 $as_test_x conftest
$ac_exeext; then
40194 eval "$as_ac_var=yes"
40196 echo "$as_me: failed program was:" >&5
40197 sed 's/^/| /' conftest.
$ac_ext >&5
40199 eval "$as_ac_var=no"
40202 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40203 conftest
$ac_exeext conftest.
$ac_ext
40205 ac_res
=`eval echo '${'$as_ac_var'}'`
40206 { echo "$as_me:$LINENO: result: $ac_res" >&5
40207 echo "${ECHO_T}$ac_res" >&6; }
40208 if test `eval echo '${'$as_ac_var'}'` = yes; then
40209 cat >>confdefs.h
<<_ACEOF
40210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40217 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40218 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40219 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40220 echo $ECHO_N "(cached) $ECHO_C" >&6
40224 ac_cpp
='$CXXCPP $CPPFLAGS'
40225 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40226 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40227 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40229 cat >conftest.
$ac_ext <<_ACEOF
40232 cat confdefs.h
>>conftest.
$ac_ext
40233 cat >>conftest.
$ac_ext <<_ACEOF
40234 /* end confdefs.h. */
40235 #include <pthread.h>
40236 void ThreadCleanupFunc(void *p);
40243 pthread_cleanup_push(ThreadCleanupFunc, p);
40244 pthread_cleanup_pop(0);
40250 rm -f conftest.
$ac_objext
40251 if { (ac_try
="$ac_compile"
40252 case "(($ac_try" in
40253 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40254 *) ac_try_echo=$ac_try;;
40256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40257 (eval "$ac_compile") 2>conftest.er1
40259 grep -v '^ *+' conftest.er1 >conftest.err
40261 cat conftest.err >&5
40262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40263 (exit $ac_status); } && {
40264 test -z "$ac_cxx_werror_flag" ||
40265 test ! -s conftest.err
40266 } && test -s conftest.$ac_objext; then
40268 wx_cv_func_pthread_cleanup=yes
40271 echo "$as_me: failed program was:" >&5
40272 sed 's/^/| /' conftest.$ac_ext >&5
40275 wx_cv_func_pthread_cleanup=no
40280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40282 ac_cpp='$CPP $CPPFLAGS'
40283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40289 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40290 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40291 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40292 cat >>confdefs.h <<\_ACEOF
40293 #define wxHAVE_PTHREAD_CLEANUP 1
40299 for ac_header in sched.h
40301 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40302 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40304 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40305 echo $ECHO_N "(cached) $ECHO_C" >&6
40307 cat >conftest.$ac_ext <<_ACEOF
40310 cat confdefs.h >>conftest.$ac_ext
40311 cat >>conftest.$ac_ext <<_ACEOF
40312 /* end confdefs.h. */
40313 $ac_includes_default
40315 #include <$ac_header>
40317 rm -f conftest.$ac_objext
40318 if { (ac_try="$ac_compile"
40319 case "(($ac_try" in
40320 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40321 *) ac_try_echo
=$ac_try;;
40323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40324 (eval "$ac_compile") 2>conftest.er1
40326 grep -v '^ *+' conftest.er1
>conftest.err
40328 cat conftest.err
>&5
40329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40330 (exit $ac_status); } && {
40331 test -z "$ac_c_werror_flag" ||
40332 test ! -s conftest.err
40333 } && test -s conftest.
$ac_objext; then
40334 eval "$as_ac_Header=yes"
40336 echo "$as_me: failed program was:" >&5
40337 sed 's/^/| /' conftest.
$ac_ext >&5
40339 eval "$as_ac_Header=no"
40342 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40344 ac_res
=`eval echo '${'$as_ac_Header'}'`
40345 { echo "$as_me:$LINENO: result: $ac_res" >&5
40346 echo "${ECHO_T}$ac_res" >&6; }
40347 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40348 cat >>confdefs.h
<<_ACEOF
40349 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40356 if test "$ac_cv_header_sched_h" = "yes"; then
40357 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40358 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40359 if test "${ac_cv_func_sched_yield+set}" = set; then
40360 echo $ECHO_N "(cached) $ECHO_C" >&6
40362 cat >conftest.
$ac_ext <<_ACEOF
40365 cat confdefs.h
>>conftest.
$ac_ext
40366 cat >>conftest.
$ac_ext <<_ACEOF
40367 /* end confdefs.h. */
40368 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40370 #define sched_yield innocuous_sched_yield
40372 /* System header to define __stub macros and hopefully few prototypes,
40373 which can conflict with char sched_yield (); below.
40374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40375 <limits.h> exists even on freestanding compilers. */
40378 # include <limits.h>
40380 # include <assert.h>
40385 /* Override any GCC internal prototype to avoid an error.
40386 Use char because int might match the return type of a GCC
40387 builtin and then its argument prototype would still apply. */
40391 char sched_yield ();
40392 /* The GNU C library defines this for functions which it implements
40393 to always fail with ENOSYS. Some functions are actually named
40394 something starting with __ and the normal name is an alias. */
40395 #if defined __stub_sched_yield || defined __stub___sched_yield
40402 return sched_yield ();
40407 rm -f conftest.
$ac_objext conftest
$ac_exeext
40408 if { (ac_try
="$ac_link"
40409 case "(($ac_try" in
40410 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40411 *) ac_try_echo=$ac_try;;
40413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40414 (eval "$ac_link") 2>conftest.er1
40416 grep -v '^ *+' conftest.er1 >conftest.err
40418 cat conftest.err >&5
40419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40420 (exit $ac_status); } && {
40421 test -z "$ac_c_werror_flag" ||
40422 test ! -s conftest.err
40423 } && test -s conftest$ac_exeext &&
40424 $as_test_x conftest$ac_exeext; then
40425 ac_cv_func_sched_yield=yes
40427 echo "$as_me: failed program was:" >&5
40428 sed 's/^/| /' conftest.$ac_ext >&5
40430 ac_cv_func_sched_yield=no
40433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40434 conftest$ac_exeext conftest.$ac_ext
40436 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40437 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40438 if test $ac_cv_func_sched_yield = yes; then
40439 cat >>confdefs.h <<\_ACEOF
40440 #define HAVE_SCHED_YIELD 1
40445 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40446 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40447 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40448 echo $ECHO_N "(cached) $ECHO_C" >&6
40450 ac_check_lib_save_LIBS=$LIBS
40451 LIBS="-lposix4 $LIBS"
40452 cat >conftest.$ac_ext <<_ACEOF
40455 cat confdefs.h >>conftest.$ac_ext
40456 cat >>conftest.$ac_ext <<_ACEOF
40457 /* end confdefs.h. */
40459 /* Override any GCC internal prototype to avoid an error.
40460 Use char because int might match the return type of a GCC
40461 builtin and then its argument prototype would still apply. */
40465 char sched_yield ();
40469 return sched_yield ();
40474 rm -f conftest.$ac_objext conftest$ac_exeext
40475 if { (ac_try="$ac_link"
40476 case "(($ac_try" in
40477 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40478 *) ac_try_echo
=$ac_try;;
40480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40481 (eval "$ac_link") 2>conftest.er1
40483 grep -v '^ *+' conftest.er1
>conftest.err
40485 cat conftest.err
>&5
40486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40487 (exit $ac_status); } && {
40488 test -z "$ac_c_werror_flag" ||
40489 test ! -s conftest.err
40490 } && test -s conftest
$ac_exeext &&
40491 $as_test_x conftest
$ac_exeext; then
40492 ac_cv_lib_posix4_sched_yield
=yes
40494 echo "$as_me: failed program was:" >&5
40495 sed 's/^/| /' conftest.
$ac_ext >&5
40497 ac_cv_lib_posix4_sched_yield
=no
40500 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40501 conftest
$ac_exeext conftest.
$ac_ext
40502 LIBS
=$ac_check_lib_save_LIBS
40504 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40505 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40506 if test $ac_cv_lib_posix4_sched_yield = yes; then
40507 cat >>confdefs.h
<<\_ACEOF
40508 #define HAVE_SCHED_YIELD 1
40510 POSIX4_LINK
=" -lposix4"
40512 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40513 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40524 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40525 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40526 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40527 echo $ECHO_N "(cached) $ECHO_C" >&6
40529 cat >conftest.
$ac_ext <<_ACEOF
40532 cat confdefs.h
>>conftest.
$ac_ext
40533 cat >>conftest.
$ac_ext <<_ACEOF
40534 /* end confdefs.h. */
40535 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40537 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40539 /* System header to define __stub macros and hopefully few prototypes,
40540 which can conflict with char pthread_attr_getschedpolicy (); below.
40541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40542 <limits.h> exists even on freestanding compilers. */
40545 # include <limits.h>
40547 # include <assert.h>
40550 #undef pthread_attr_getschedpolicy
40552 /* Override any GCC internal prototype to avoid an error.
40553 Use char because int might match the return type of a GCC
40554 builtin and then its argument prototype would still apply. */
40558 char pthread_attr_getschedpolicy ();
40559 /* The GNU C library defines this for functions which it implements
40560 to always fail with ENOSYS. Some functions are actually named
40561 something starting with __ and the normal name is an alias. */
40562 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40569 return pthread_attr_getschedpolicy ();
40574 rm -f conftest.
$ac_objext conftest
$ac_exeext
40575 if { (ac_try
="$ac_link"
40576 case "(($ac_try" in
40577 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40578 *) ac_try_echo=$ac_try;;
40580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40581 (eval "$ac_link") 2>conftest.er1
40583 grep -v '^ *+' conftest.er1 >conftest.err
40585 cat conftest.err >&5
40586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40587 (exit $ac_status); } && {
40588 test -z "$ac_c_werror_flag" ||
40589 test ! -s conftest.err
40590 } && test -s conftest$ac_exeext &&
40591 $as_test_x conftest$ac_exeext; then
40592 ac_cv_func_pthread_attr_getschedpolicy=yes
40594 echo "$as_me: failed program was:" >&5
40595 sed 's/^/| /' conftest.$ac_ext >&5
40597 ac_cv_func_pthread_attr_getschedpolicy=no
40600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40601 conftest$ac_exeext conftest.$ac_ext
40603 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40604 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40605 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40606 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40607 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40608 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40609 echo $ECHO_N "(cached) $ECHO_C" >&6
40611 cat >conftest.$ac_ext <<_ACEOF
40614 cat confdefs.h >>conftest.$ac_ext
40615 cat >>conftest.$ac_ext <<_ACEOF
40616 /* end confdefs.h. */
40617 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40619 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40621 /* System header to define __stub macros and hopefully few prototypes,
40622 which can conflict with char pthread_attr_setschedparam (); below.
40623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40624 <limits.h> exists even on freestanding compilers. */
40627 # include <limits.h>
40629 # include <assert.h>
40632 #undef pthread_attr_setschedparam
40634 /* Override any GCC internal prototype to avoid an error.
40635 Use char because int might match the return type of a GCC
40636 builtin and then its argument prototype would still apply. */
40640 char pthread_attr_setschedparam ();
40641 /* The GNU C library defines this for functions which it implements
40642 to always fail with ENOSYS. Some functions are actually named
40643 something starting with __ and the normal name is an alias. */
40644 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
40651 return pthread_attr_setschedparam ();
40656 rm -f conftest.$ac_objext conftest$ac_exeext
40657 if { (ac_try="$ac_link"
40658 case "(($ac_try" in
40659 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40660 *) ac_try_echo
=$ac_try;;
40662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40663 (eval "$ac_link") 2>conftest.er1
40665 grep -v '^ *+' conftest.er1
>conftest.err
40667 cat conftest.err
>&5
40668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40669 (exit $ac_status); } && {
40670 test -z "$ac_c_werror_flag" ||
40671 test ! -s conftest.err
40672 } && test -s conftest
$ac_exeext &&
40673 $as_test_x conftest
$ac_exeext; then
40674 ac_cv_func_pthread_attr_setschedparam
=yes
40676 echo "$as_me: failed program was:" >&5
40677 sed 's/^/| /' conftest.
$ac_ext >&5
40679 ac_cv_func_pthread_attr_setschedparam
=no
40682 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40683 conftest
$ac_exeext conftest.
$ac_ext
40685 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40686 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
40687 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40688 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40689 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
40690 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40691 echo $ECHO_N "(cached) $ECHO_C" >&6
40693 cat >conftest.
$ac_ext <<_ACEOF
40696 cat confdefs.h
>>conftest.
$ac_ext
40697 cat >>conftest.
$ac_ext <<_ACEOF
40698 /* end confdefs.h. */
40699 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40701 #define sched_get_priority_max innocuous_sched_get_priority_max
40703 /* System header to define __stub macros and hopefully few prototypes,
40704 which can conflict with char sched_get_priority_max (); below.
40705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40706 <limits.h> exists even on freestanding compilers. */
40709 # include <limits.h>
40711 # include <assert.h>
40714 #undef sched_get_priority_max
40716 /* Override any GCC internal prototype to avoid an error.
40717 Use char because int might match the return type of a GCC
40718 builtin and then its argument prototype would still apply. */
40722 char sched_get_priority_max ();
40723 /* The GNU C library defines this for functions which it implements
40724 to always fail with ENOSYS. Some functions are actually named
40725 something starting with __ and the normal name is an alias. */
40726 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
40733 return sched_get_priority_max ();
40738 rm -f conftest.
$ac_objext conftest
$ac_exeext
40739 if { (ac_try
="$ac_link"
40740 case "(($ac_try" in
40741 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40742 *) ac_try_echo=$ac_try;;
40744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40745 (eval "$ac_link") 2>conftest.er1
40747 grep -v '^ *+' conftest.er1 >conftest.err
40749 cat conftest.err >&5
40750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40751 (exit $ac_status); } && {
40752 test -z "$ac_c_werror_flag" ||
40753 test ! -s conftest.err
40754 } && test -s conftest$ac_exeext &&
40755 $as_test_x conftest$ac_exeext; then
40756 ac_cv_func_sched_get_priority_max=yes
40758 echo "$as_me: failed program was:" >&5
40759 sed 's/^/| /' conftest.$ac_ext >&5
40761 ac_cv_func_sched_get_priority_max=no
40764 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40765 conftest$ac_exeext conftest.$ac_ext
40767 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40768 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
40769 if test $ac_cv_func_sched_get_priority_max = yes; then
40772 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40773 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
40774 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40775 echo $ECHO_N "(cached) $ECHO_C" >&6
40777 ac_check_lib_save_LIBS=$LIBS
40778 LIBS="-lposix4 $LIBS"
40779 cat >conftest.$ac_ext <<_ACEOF
40782 cat confdefs.h >>conftest.$ac_ext
40783 cat >>conftest.$ac_ext <<_ACEOF
40784 /* end confdefs.h. */
40786 /* Override any GCC internal prototype to avoid an error.
40787 Use char because int might match the return type of a GCC
40788 builtin and then its argument prototype would still apply. */
40792 char sched_get_priority_max ();
40796 return sched_get_priority_max ();
40801 rm -f conftest.$ac_objext conftest$ac_exeext
40802 if { (ac_try="$ac_link"
40803 case "(($ac_try" in
40804 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40805 *) ac_try_echo
=$ac_try;;
40807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40808 (eval "$ac_link") 2>conftest.er1
40810 grep -v '^ *+' conftest.er1
>conftest.err
40812 cat conftest.err
>&5
40813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40814 (exit $ac_status); } && {
40815 test -z "$ac_c_werror_flag" ||
40816 test ! -s conftest.err
40817 } && test -s conftest
$ac_exeext &&
40818 $as_test_x conftest
$ac_exeext; then
40819 ac_cv_lib_posix4_sched_get_priority_max
=yes
40821 echo "$as_me: failed program was:" >&5
40822 sed 's/^/| /' conftest.
$ac_ext >&5
40824 ac_cv_lib_posix4_sched_get_priority_max
=no
40827 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40828 conftest
$ac_exeext conftest.
$ac_ext
40829 LIBS
=$ac_check_lib_save_LIBS
40831 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40832 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
40833 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40836 POSIX4_LINK
=" -lposix4"
40850 if test "$HAVE_PRIOR_FUNCS" = 1; then
40851 cat >>confdefs.h
<<\_ACEOF
40852 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40856 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40857 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40860 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40861 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
40862 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40863 echo $ECHO_N "(cached) $ECHO_C" >&6
40865 cat >conftest.
$ac_ext <<_ACEOF
40868 cat confdefs.h
>>conftest.
$ac_ext
40869 cat >>conftest.
$ac_ext <<_ACEOF
40870 /* end confdefs.h. */
40871 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40873 #define pthread_cancel innocuous_pthread_cancel
40875 /* System header to define __stub macros and hopefully few prototypes,
40876 which can conflict with char pthread_cancel (); below.
40877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40878 <limits.h> exists even on freestanding compilers. */
40881 # include <limits.h>
40883 # include <assert.h>
40886 #undef pthread_cancel
40888 /* Override any GCC internal prototype to avoid an error.
40889 Use char because int might match the return type of a GCC
40890 builtin and then its argument prototype would still apply. */
40894 char pthread_cancel ();
40895 /* The GNU C library defines this for functions which it implements
40896 to always fail with ENOSYS. Some functions are actually named
40897 something starting with __ and the normal name is an alias. */
40898 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
40905 return pthread_cancel ();
40910 rm -f conftest.
$ac_objext conftest
$ac_exeext
40911 if { (ac_try
="$ac_link"
40912 case "(($ac_try" in
40913 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40914 *) ac_try_echo=$ac_try;;
40916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40917 (eval "$ac_link") 2>conftest.er1
40919 grep -v '^ *+' conftest.er1 >conftest.err
40921 cat conftest.err >&5
40922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40923 (exit $ac_status); } && {
40924 test -z "$ac_c_werror_flag" ||
40925 test ! -s conftest.err
40926 } && test -s conftest$ac_exeext &&
40927 $as_test_x conftest$ac_exeext; then
40928 ac_cv_func_pthread_cancel=yes
40930 echo "$as_me: failed program was:" >&5
40931 sed 's/^/| /' conftest.$ac_ext >&5
40933 ac_cv_func_pthread_cancel=no
40936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40937 conftest$ac_exeext conftest.$ac_ext
40939 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40940 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
40941 if test $ac_cv_func_pthread_cancel = yes; then
40942 cat >>confdefs.h <<\_ACEOF
40943 #define HAVE_PTHREAD_CANCEL 1
40947 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40948 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40952 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
40953 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
40954 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
40955 echo $ECHO_N "(cached) $ECHO_C" >&6
40957 cat >conftest.$ac_ext <<_ACEOF
40960 cat confdefs.h >>conftest.$ac_ext
40961 cat >>conftest.$ac_ext <<_ACEOF
40962 /* end confdefs.h. */
40963 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
40964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40965 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
40967 /* System header to define __stub macros and hopefully few prototypes,
40968 which can conflict with char pthread_mutex_timedlock (); below.
40969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40970 <limits.h> exists even on freestanding compilers. */
40973 # include <limits.h>
40975 # include <assert.h>
40978 #undef pthread_mutex_timedlock
40980 /* Override any GCC internal prototype to avoid an error.
40981 Use char because int might match the return type of a GCC
40982 builtin and then its argument prototype would still apply. */
40986 char pthread_mutex_timedlock ();
40987 /* The GNU C library defines this for functions which it implements
40988 to always fail with ENOSYS. Some functions are actually named
40989 something starting with __ and the normal name is an alias. */
40990 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
40997 return pthread_mutex_timedlock ();
41002 rm -f conftest.$ac_objext conftest$ac_exeext
41003 if { (ac_try="$ac_link"
41004 case "(($ac_try" in
41005 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41006 *) ac_try_echo
=$ac_try;;
41008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41009 (eval "$ac_link") 2>conftest.er1
41011 grep -v '^ *+' conftest.er1
>conftest.err
41013 cat conftest.err
>&5
41014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41015 (exit $ac_status); } && {
41016 test -z "$ac_c_werror_flag" ||
41017 test ! -s conftest.err
41018 } && test -s conftest
$ac_exeext &&
41019 $as_test_x conftest
$ac_exeext; then
41020 ac_cv_func_pthread_mutex_timedlock
=yes
41022 echo "$as_me: failed program was:" >&5
41023 sed 's/^/| /' conftest.
$ac_ext >&5
41025 ac_cv_func_pthread_mutex_timedlock
=no
41028 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41029 conftest
$ac_exeext conftest.
$ac_ext
41031 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41032 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41033 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41034 cat >>confdefs.h
<<\_ACEOF
41035 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41039 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41040 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41044 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41045 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41046 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41047 echo $ECHO_N "(cached) $ECHO_C" >&6
41049 cat >conftest.
$ac_ext <<_ACEOF
41052 cat confdefs.h
>>conftest.
$ac_ext
41053 cat >>conftest.
$ac_ext <<_ACEOF
41054 /* end confdefs.h. */
41055 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41057 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41059 /* System header to define __stub macros and hopefully few prototypes,
41060 which can conflict with char pthread_attr_setstacksize (); below.
41061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41062 <limits.h> exists even on freestanding compilers. */
41065 # include <limits.h>
41067 # include <assert.h>
41070 #undef pthread_attr_setstacksize
41072 /* Override any GCC internal prototype to avoid an error.
41073 Use char because int might match the return type of a GCC
41074 builtin and then its argument prototype would still apply. */
41078 char pthread_attr_setstacksize ();
41079 /* The GNU C library defines this for functions which it implements
41080 to always fail with ENOSYS. Some functions are actually named
41081 something starting with __ and the normal name is an alias. */
41082 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41089 return pthread_attr_setstacksize ();
41094 rm -f conftest.
$ac_objext conftest
$ac_exeext
41095 if { (ac_try
="$ac_link"
41096 case "(($ac_try" in
41097 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41098 *) ac_try_echo=$ac_try;;
41100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41101 (eval "$ac_link") 2>conftest.er1
41103 grep -v '^ *+' conftest.er1 >conftest.err
41105 cat conftest.err >&5
41106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41107 (exit $ac_status); } && {
41108 test -z "$ac_c_werror_flag" ||
41109 test ! -s conftest.err
41110 } && test -s conftest$ac_exeext &&
41111 $as_test_x conftest$ac_exeext; then
41112 ac_cv_func_pthread_attr_setstacksize=yes
41114 echo "$as_me: failed program was:" >&5
41115 sed 's/^/| /' conftest.$ac_ext >&5
41117 ac_cv_func_pthread_attr_setstacksize=no
41120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41121 conftest$ac_exeext conftest.$ac_ext
41123 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41124 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41125 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41126 cat >>confdefs.h <<\_ACEOF
41127 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41134 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41135 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41136 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41137 echo $ECHO_N "(cached) $ECHO_C" >&6
41140 cat >conftest.$ac_ext <<_ACEOF
41143 cat confdefs.h >>conftest.$ac_ext
41144 cat >>conftest.$ac_ext <<_ACEOF
41145 /* end confdefs.h. */
41146 #include <pthread.h>
41151 pthread_mutexattr_t attr;
41152 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41158 rm -f conftest.$ac_objext
41159 if { (ac_try="$ac_compile"
41160 case "(($ac_try" in
41161 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41162 *) ac_try_echo
=$ac_try;;
41164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41165 (eval "$ac_compile") 2>conftest.er1
41167 grep -v '^ *+' conftest.er1
>conftest.err
41169 cat conftest.err
>&5
41170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41171 (exit $ac_status); } && {
41172 test -z "$ac_c_werror_flag" ||
41173 test ! -s conftest.err
41174 } && test -s conftest.
$ac_objext; then
41175 wx_cv_type_pthread_mutexattr_t
=yes
41177 echo "$as_me: failed program was:" >&5
41178 sed 's/^/| /' conftest.
$ac_ext >&5
41180 wx_cv_type_pthread_mutexattr_t
=no
41184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41187 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41188 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41190 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41191 cat >>confdefs.h
<<\_ACEOF
41192 #define HAVE_PTHREAD_MUTEXATTR_T 1
41196 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41197 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41198 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41199 echo $ECHO_N "(cached) $ECHO_C" >&6
41202 cat >conftest.
$ac_ext <<_ACEOF
41205 cat confdefs.h
>>conftest.
$ac_ext
41206 cat >>conftest.
$ac_ext <<_ACEOF
41207 /* end confdefs.h. */
41208 #include <pthread.h>
41213 pthread_mutexattr_t attr;
41214 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41220 rm -f conftest.
$ac_objext
41221 if { (ac_try
="$ac_compile"
41222 case "(($ac_try" in
41223 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41224 *) ac_try_echo=$ac_try;;
41226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41227 (eval "$ac_compile") 2>conftest.er1
41229 grep -v '^ *+' conftest.er1 >conftest.err
41231 cat conftest.err >&5
41232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41233 (exit $ac_status); } && {
41234 test -z "$ac_c_werror_flag" ||
41235 test ! -s conftest.err
41236 } && test -s conftest.$ac_objext; then
41237 wx_cv_func_pthread_mutexattr_settype_decl=yes
41239 echo "$as_me: failed program was:" >&5
41240 sed 's/^/| /' conftest.$ac_ext >&5
41242 wx_cv_func_pthread_mutexattr_settype_decl=no
41246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41249 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41250 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41251 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41252 cat >>confdefs.h <<\_ACEOF
41253 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41258 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41259 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41260 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41261 echo $ECHO_N "(cached) $ECHO_C" >&6
41264 cat >conftest.$ac_ext <<_ACEOF
41267 cat confdefs.h >>conftest.$ac_ext
41268 cat >>conftest.$ac_ext <<_ACEOF
41269 /* end confdefs.h. */
41270 #include <pthread.h>
41275 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41281 rm -f conftest.$ac_objext
41282 if { (ac_try="$ac_compile"
41283 case "(($ac_try" in
41284 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41285 *) ac_try_echo
=$ac_try;;
41287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41288 (eval "$ac_compile") 2>conftest.er1
41290 grep -v '^ *+' conftest.er1
>conftest.err
41292 cat conftest.err
>&5
41293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41294 (exit $ac_status); } && {
41295 test -z "$ac_c_werror_flag" ||
41296 test ! -s conftest.err
41297 } && test -s conftest.
$ac_objext; then
41299 wx_cv_type_pthread_rec_mutex_init
=yes
41302 echo "$as_me: failed program was:" >&5
41303 sed 's/^/| /' conftest.
$ac_ext >&5
41306 wx_cv_type_pthread_rec_mutex_init
=no
41311 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41314 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41315 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41316 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41317 cat >>confdefs.h
<<\_ACEOF
41318 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41322 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41323 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41327 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41328 if test "$USE_NETBSD" = 1; then
41329 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41330 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41331 wxUSE_COMPILER_TLS
=no
41333 wxUSE_COMPILER_TLS
=yes
41337 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41338 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41339 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41340 if test "${wx_cv_cc___thread+set}" = set; then
41341 echo $ECHO_N "(cached) $ECHO_C" >&6
41344 cat >conftest.
$ac_ext <<_ACEOF
41347 cat confdefs.h
>>conftest.
$ac_ext
41348 cat >>conftest.
$ac_ext <<_ACEOF
41349 /* end confdefs.h. */
41350 #include <pthread.h>
41355 static __thread int n = 0;
41356 static __thread int *p = 0;
41362 rm -f conftest.
$ac_objext
41363 if { (ac_try
="$ac_compile"
41364 case "(($ac_try" in
41365 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41366 *) ac_try_echo=$ac_try;;
41368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41369 (eval "$ac_compile") 2>conftest.er1
41371 grep -v '^ *+' conftest.er1 >conftest.err
41373 cat conftest.err >&5
41374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41375 (exit $ac_status); } && {
41376 test -z "$ac_c_werror_flag" ||
41377 test ! -s conftest.err
41378 } && test -s conftest.$ac_objext; then
41379 wx_cv_cc___thread=yes
41381 echo "$as_me: failed program was:" >&5
41382 sed 's/^/| /' conftest.$ac_ext >&5
41384 wx_cv_cc___thread=no
41388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41392 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41393 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41395 if test "$wx_cv_cc___thread" = "yes"; then
41401 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41402 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41404 if test "x$GCC" = "xyes" ; then
41406 if test -z "" ; then
41408 ax_gcc_option_test="int main()
41415 ax_gcc_option_test=""
41420 # Dump the test program to file
41421 cat <<EOF > conftest.c
41422 $ax_gcc_option_test
41425 # Dump back the file to the log, useful for debugging purposes
41426 { ac_try='cat conftest.c 1>&5'
41427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41428 (eval $ac_try) 2>&5
41430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41431 (exit $ac_status); }; }
41433 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41435 (eval $ac_try) 2>&5
41437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41438 (exit $ac_status); }; } ; then
41440 { echo "$as_me:$LINENO: result: yes" >&5
41441 echo "${ECHO_T}yes" >&6; }
41443 ax_gcc_version_option=yes
41448 { echo "$as_me:$LINENO: result: no" >&5
41449 echo "${ECHO_T}no" >&6; }
41451 ax_gcc_version_option=no
41459 { echo "$as_me:$LINENO: result: no gcc available" >&5
41460 echo "${ECHO_T}no gcc available" >&6; }
41465 if test "x$GXX" = "xyes"; then
41467 if test "x$ax_gxx_version_option" != "no"; then
41469 { echo "$as_me:$LINENO: checking gxx version" >&5
41470 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41471 if test "${ax_cv_gxx_version+set}" = set; then
41472 echo $ECHO_N "(cached) $ECHO_C" >&6
41475 ax_cv_gxx_version="`$CXX -dumpversion`"
41476 if test "x$ax_cv_gxx_version" = "x"; then
41478 ax_cv_gxx_version=""
41484 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41485 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41486 GXX_VERSION=$ax_cv_gxx_version
41495 if test -n "$ax_cv_gxx_version"; then
41496 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41497 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41498 case "$ax_cv_gxx_version" in
41500 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41501 echo "${ECHO_T}no, it's broken" >&6; }
41502 wx_cv_cc___thread=no
41505 { echo "$as_me:$LINENO: result: yes, it works" >&5
41506 echo "${ECHO_T}yes, it works" >&6; }
41512 if test "$wx_cv_cc___thread" = "yes"; then
41513 cat >>confdefs.h <<\_ACEOF
41514 #define HAVE___THREAD_KEYWORD 1
41522 if test "$wxUSE_THREADS" = "yes" ; then
41524 x86_64-*-mingw32* )
41527 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41528 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41529 if test "${wx_cv_cflags_mthread+set}" = set; then
41530 echo $ECHO_N "(cached) $ECHO_C" >&6
41533 CFLAGS_OLD="$CFLAGS"
41534 CFLAGS="-mthreads $CFLAGS"
41535 cat >conftest.$ac_ext <<_ACEOF
41538 cat confdefs.h >>conftest.$ac_ext
41539 cat >>conftest.$ac_ext <<_ACEOF
41540 /* end confdefs.h. */
41550 rm -f conftest.$ac_objext
41551 if { (ac_try="$ac_compile"
41552 case "(($ac_try" in
41553 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41554 *) ac_try_echo
=$ac_try;;
41556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41557 (eval "$ac_compile") 2>conftest.er1
41559 grep -v '^ *+' conftest.er1
>conftest.err
41561 cat conftest.err
>&5
41562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41563 (exit $ac_status); } && {
41564 test -z "$ac_c_werror_flag" ||
41565 test ! -s conftest.err
41566 } && test -s conftest.
$ac_objext; then
41567 wx_cv_cflags_mthread
=yes
41569 echo "$as_me: failed program was:" >&5
41570 sed 's/^/| /' conftest.
$ac_ext >&5
41572 wx_cv_cflags_mthread
=no
41576 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41580 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41581 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41583 if test "$wx_cv_cflags_mthread" = "yes"; then
41584 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
41585 LDFLAGS
="$LDFLAGS -mthreads"
41587 CFLAGS
="$CFLAGS_OLD"
41591 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41592 LDFLAGS
="$LDFLAGS -Zmt"
41598 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41599 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41600 if test "${ac_cv_func_localtime_r+set}" = set; then
41601 echo $ECHO_N "(cached) $ECHO_C" >&6
41603 cat >conftest.
$ac_ext <<_ACEOF
41606 cat confdefs.h
>>conftest.
$ac_ext
41607 cat >>conftest.
$ac_ext <<_ACEOF
41608 /* end confdefs.h. */
41609 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41611 #define localtime_r innocuous_localtime_r
41613 /* System header to define __stub macros and hopefully few prototypes,
41614 which can conflict with char localtime_r (); below.
41615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41616 <limits.h> exists even on freestanding compilers. */
41619 # include <limits.h>
41621 # include <assert.h>
41626 /* Override any GCC internal prototype to avoid an error.
41627 Use char because int might match the return type of a GCC
41628 builtin and then its argument prototype would still apply. */
41632 char localtime_r ();
41633 /* The GNU C library defines this for functions which it implements
41634 to always fail with ENOSYS. Some functions are actually named
41635 something starting with __ and the normal name is an alias. */
41636 #if defined __stub_localtime_r || defined __stub___localtime_r
41643 return localtime_r ();
41648 rm -f conftest.
$ac_objext conftest
$ac_exeext
41649 if { (ac_try
="$ac_link"
41650 case "(($ac_try" in
41651 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41652 *) ac_try_echo=$ac_try;;
41654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41655 (eval "$ac_link") 2>conftest.er1
41657 grep -v '^ *+' conftest.er1 >conftest.err
41659 cat conftest.err >&5
41660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41661 (exit $ac_status); } && {
41662 test -z "$ac_c_werror_flag" ||
41663 test ! -s conftest.err
41664 } && test -s conftest$ac_exeext &&
41665 $as_test_x conftest$ac_exeext; then
41666 ac_cv_func_localtime_r=yes
41668 echo "$as_me: failed program was:" >&5
41669 sed 's/^/| /' conftest.$ac_ext >&5
41671 ac_cv_func_localtime_r=no
41674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41675 conftest$ac_exeext conftest.$ac_ext
41677 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41678 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
41679 if test $ac_cv_func_localtime_r = yes; then
41680 cat >>confdefs.h <<\_ACEOF
41681 #define HAVE_LOCALTIME_R 1
41686 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
41687 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
41688 if test "${ac_cv_func_gmtime_r+set}" = set; then
41689 echo $ECHO_N "(cached) $ECHO_C" >&6
41691 cat >conftest.$ac_ext <<_ACEOF
41694 cat confdefs.h >>conftest.$ac_ext
41695 cat >>conftest.$ac_ext <<_ACEOF
41696 /* end confdefs.h. */
41697 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41699 #define gmtime_r innocuous_gmtime_r
41701 /* System header to define __stub macros and hopefully few prototypes,
41702 which can conflict with char gmtime_r (); below.
41703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41704 <limits.h> exists even on freestanding compilers. */
41707 # include <limits.h>
41709 # include <assert.h>
41714 /* Override any GCC internal prototype to avoid an error.
41715 Use char because int might match the return type of a GCC
41716 builtin and then its argument prototype would still apply. */
41721 /* The GNU C library defines this for functions which it implements
41722 to always fail with ENOSYS. Some functions are actually named
41723 something starting with __ and the normal name is an alias. */
41724 #if defined __stub_gmtime_r || defined __stub___gmtime_r
41731 return gmtime_r ();
41736 rm -f conftest.$ac_objext conftest$ac_exeext
41737 if { (ac_try="$ac_link"
41738 case "(($ac_try" in
41739 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41740 *) ac_try_echo
=$ac_try;;
41742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41743 (eval "$ac_link") 2>conftest.er1
41745 grep -v '^ *+' conftest.er1
>conftest.err
41747 cat conftest.err
>&5
41748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41749 (exit $ac_status); } && {
41750 test -z "$ac_c_werror_flag" ||
41751 test ! -s conftest.err
41752 } && test -s conftest
$ac_exeext &&
41753 $as_test_x conftest
$ac_exeext; then
41754 ac_cv_func_gmtime_r
=yes
41756 echo "$as_me: failed program was:" >&5
41757 sed 's/^/| /' conftest.
$ac_ext >&5
41759 ac_cv_func_gmtime_r
=no
41762 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41763 conftest
$ac_exeext conftest.
$ac_ext
41765 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41766 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41767 if test $ac_cv_func_gmtime_r = yes; then
41768 cat >>confdefs.h
<<\_ACEOF
41769 #define HAVE_GMTIME_R 1
41778 ac_cpp
='$CPP $CPPFLAGS'
41779 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41780 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41781 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41783 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41784 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41786 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41787 echo $ECHO_N "(cached) $ECHO_C" >&6
41791 ################################################################
41793 ac_cv_func_which_gethostbyname_r
=unknown
41796 # ONE ARGUMENT (sanity check)
41799 # This should fail, as there is no variant of gethostbyname_r() that takes
41800 # a single argument. If it actually compiles, then we can assume that
41801 # netdb.h is not declaring the function, and the compiler is thereby
41802 # assuming an implicit prototype. In which case, we're out of luck.
41804 cat >conftest.
$ac_ext <<_ACEOF
41807 cat confdefs.h
>>conftest.
$ac_ext
41808 cat >>conftest.
$ac_ext <<_ACEOF
41809 /* end confdefs.h. */
41815 char *name = "www.gnu.org";
41816 (void)gethostbyname_r(name) /* ; */
41822 rm -f conftest.
$ac_objext
41823 if { (ac_try
="$ac_compile"
41824 case "(($ac_try" in
41825 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41826 *) ac_try_echo=$ac_try;;
41828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41829 (eval "$ac_compile") 2>conftest.er1
41831 grep -v '^ *+' conftest.er1 >conftest.err
41833 cat conftest.err >&5
41834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41835 (exit $ac_status); } && {
41836 test -z "$ac_c_werror_flag" ||
41837 test ! -s conftest.err
41838 } && test -s conftest.$ac_objext; then
41839 ac_cv_func_which_gethostbyname_r=no
41841 echo "$as_me: failed program was:" >&5
41842 sed 's/^/| /' conftest.$ac_ext >&5
41847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41854 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41856 cat >conftest.$ac_ext <<_ACEOF
41859 cat confdefs.h >>conftest.$ac_ext
41860 cat >>conftest.$ac_ext <<_ACEOF
41861 /* end confdefs.h. */
41867 char *name = "www.gnu.org";
41868 struct hostent ret, *retp;
41872 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41878 rm -f conftest.$ac_objext
41879 if { (ac_try="$ac_compile"
41880 case "(($ac_try" in
41881 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41882 *) ac_try_echo
=$ac_try;;
41884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41885 (eval "$ac_compile") 2>conftest.er1
41887 grep -v '^ *+' conftest.er1
>conftest.err
41889 cat conftest.err
>&5
41890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41891 (exit $ac_status); } && {
41892 test -z "$ac_c_werror_flag" ||
41893 test ! -s conftest.err
41894 } && test -s conftest.
$ac_objext; then
41895 ac_cv_func_which_gethostbyname_r
=six
41897 echo "$as_me: failed program was:" >&5
41898 sed 's/^/| /' conftest.
$ac_ext >&5
41903 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41912 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41914 cat >conftest.
$ac_ext <<_ACEOF
41917 cat confdefs.h
>>conftest.
$ac_ext
41918 cat >>conftest.
$ac_ext <<_ACEOF
41919 /* end confdefs.h. */
41925 char *name = "www.gnu.org";
41926 struct hostent ret;
41930 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41936 rm -f conftest.
$ac_objext
41937 if { (ac_try
="$ac_compile"
41938 case "(($ac_try" in
41939 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41940 *) ac_try_echo=$ac_try;;
41942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41943 (eval "$ac_compile") 2>conftest.er1
41945 grep -v '^ *+' conftest.er1 >conftest.err
41947 cat conftest.err >&5
41948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41949 (exit $ac_status); } && {
41950 test -z "$ac_c_werror_flag" ||
41951 test ! -s conftest.err
41952 } && test -s conftest.$ac_objext; then
41953 ac_cv_func_which_gethostbyname_r=five
41955 echo "$as_me: failed program was:" >&5
41956 sed 's/^/| /' conftest.$ac_ext >&5
41961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41967 # (e.g. AIX, HP-UX, Tru64)
41970 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41972 cat >conftest.$ac_ext <<_ACEOF
41975 cat confdefs.h >>conftest.$ac_ext
41976 cat >>conftest.$ac_ext <<_ACEOF
41977 /* end confdefs.h. */
41983 char *name = "www.gnu.org";
41984 struct hostent ret;
41985 struct hostent_data data;
41986 (void)gethostbyname_r(name, &ret, &data) /* ; */
41992 rm -f conftest.$ac_objext
41993 if { (ac_try="$ac_compile"
41994 case "(($ac_try" in
41995 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41996 *) ac_try_echo
=$ac_try;;
41998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41999 (eval "$ac_compile") 2>conftest.er1
42001 grep -v '^ *+' conftest.er1
>conftest.err
42003 cat conftest.err
>&5
42004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42005 (exit $ac_status); } && {
42006 test -z "$ac_c_werror_flag" ||
42007 test ! -s conftest.err
42008 } && test -s conftest.
$ac_objext; then
42009 ac_cv_func_which_gethostbyname_r
=three
42011 echo "$as_me: failed program was:" >&5
42012 sed 's/^/| /' conftest.
$ac_ext >&5
42017 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42021 ################################################################
42026 case "$ac_cv_func_which_gethostbyname_r" in
42028 { echo "$as_me:$LINENO: result: three" >&5
42029 echo "${ECHO_T}three" >&6; }
42030 cat >>confdefs.h
<<\_ACEOF
42031 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42037 { echo "$as_me:$LINENO: result: five" >&5
42038 echo "${ECHO_T}five" >&6; }
42039 cat >>confdefs.h
<<\_ACEOF
42040 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42046 { echo "$as_me:$LINENO: result: six" >&5
42047 echo "${ECHO_T}six" >&6; }
42048 cat >>confdefs.h
<<\_ACEOF
42049 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42055 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42056 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42060 { echo "$as_me:$LINENO: result: can't tell" >&5
42061 echo "${ECHO_T}can't tell" >&6; }
42065 { { echo "$as_me:$LINENO: error: internal error" >&5
42066 echo "$as_me: error: internal error" >&2;}
42067 { (exit 1); exit 1; }; }
42072 ac_cpp
='$CPP $CPPFLAGS'
42073 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42074 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42075 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42079 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42080 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42081 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42082 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42083 if test "${ac_cv_func_gethostbyname+set}" = set; then
42084 echo $ECHO_N "(cached) $ECHO_C" >&6
42086 cat >conftest.
$ac_ext <<_ACEOF
42089 cat confdefs.h
>>conftest.
$ac_ext
42090 cat >>conftest.
$ac_ext <<_ACEOF
42091 /* end confdefs.h. */
42092 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42094 #define gethostbyname innocuous_gethostbyname
42096 /* System header to define __stub macros and hopefully few prototypes,
42097 which can conflict with char gethostbyname (); below.
42098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42099 <limits.h> exists even on freestanding compilers. */
42102 # include <limits.h>
42104 # include <assert.h>
42107 #undef gethostbyname
42109 /* Override any GCC internal prototype to avoid an error.
42110 Use char because int might match the return type of a GCC
42111 builtin and then its argument prototype would still apply. */
42115 char gethostbyname ();
42116 /* The GNU C library defines this for functions which it implements
42117 to always fail with ENOSYS. Some functions are actually named
42118 something starting with __ and the normal name is an alias. */
42119 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42126 return gethostbyname ();
42131 rm -f conftest.
$ac_objext conftest
$ac_exeext
42132 if { (ac_try
="$ac_link"
42133 case "(($ac_try" in
42134 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42135 *) ac_try_echo=$ac_try;;
42137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42138 (eval "$ac_link") 2>conftest.er1
42140 grep -v '^ *+' conftest.er1 >conftest.err
42142 cat conftest.err >&5
42143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42144 (exit $ac_status); } && {
42145 test -z "$ac_c_werror_flag" ||
42146 test ! -s conftest.err
42147 } && test -s conftest$ac_exeext &&
42148 $as_test_x conftest$ac_exeext; then
42149 ac_cv_func_gethostbyname=yes
42151 echo "$as_me: failed program was:" >&5
42152 sed 's/^/| /' conftest.$ac_ext >&5
42154 ac_cv_func_gethostbyname=no
42157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42158 conftest$ac_exeext conftest.$ac_ext
42160 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42161 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42162 if test $ac_cv_func_gethostbyname = yes; then
42163 cat >>confdefs.h <<\_ACEOF
42164 #define HAVE_GETHOSTBYNAME 1
42171 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42172 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42173 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42174 echo $ECHO_N "(cached) $ECHO_C" >&6
42178 ac_cpp='$CXXCPP $CPPFLAGS'
42179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42184 cat >conftest.$ac_ext <<_ACEOF
42187 cat confdefs.h >>conftest.$ac_ext
42188 cat >>conftest.$ac_ext <<_ACEOF
42189 /* end confdefs.h. */
42197 struct servent *se, *res;
42200 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42206 rm -f conftest.$ac_objext
42207 if { (ac_try="$ac_compile"
42208 case "(($ac_try" in
42209 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42210 *) ac_try_echo
=$ac_try;;
42212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42213 (eval "$ac_compile") 2>conftest.er1
42215 grep -v '^ *+' conftest.er1
>conftest.err
42217 cat conftest.err
>&5
42218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42219 (exit $ac_status); } && {
42220 test -z "$ac_cxx_werror_flag" ||
42221 test ! -s conftest.err
42222 } && test -s conftest.
$ac_objext; then
42223 ac_cv_func_which_getservbyname_r
=six
42225 echo "$as_me: failed program was:" >&5
42226 sed 's/^/| /' conftest.
$ac_ext >&5
42229 cat >conftest.
$ac_ext <<_ACEOF
42232 cat confdefs.h
>>conftest.
$ac_ext
42233 cat >>conftest.
$ac_ext <<_ACEOF
42234 /* end confdefs.h. */
42242 struct servent *se;
42245 (void) getservbyname_r(name, proto, se, buffer, buflen)
42251 rm -f conftest.
$ac_objext
42252 if { (ac_try
="$ac_compile"
42253 case "(($ac_try" in
42254 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42255 *) ac_try_echo=$ac_try;;
42257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42258 (eval "$ac_compile") 2>conftest.er1
42260 grep -v '^ *+' conftest.er1 >conftest.err
42262 cat conftest.err >&5
42263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42264 (exit $ac_status); } && {
42265 test -z "$ac_cxx_werror_flag" ||
42266 test ! -s conftest.err
42267 } && test -s conftest.$ac_objext; then
42268 ac_cv_func_which_getservbyname_r=five
42270 echo "$as_me: failed program was:" >&5
42271 sed 's/^/| /' conftest.$ac_ext >&5
42274 cat >conftest.$ac_ext <<_ACEOF
42277 cat confdefs.h >>conftest.$ac_ext
42278 cat >>conftest.$ac_ext <<_ACEOF
42279 /* end confdefs.h. */
42287 struct servent *se;
42288 struct servent_data data;
42289 (void) getservbyname_r(name, proto, se, &data);
42295 rm -f conftest.$ac_objext
42296 if { (ac_try="$ac_compile"
42297 case "(($ac_try" in
42298 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42299 *) ac_try_echo
=$ac_try;;
42301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42302 (eval "$ac_compile") 2>conftest.er1
42304 grep -v '^ *+' conftest.er1
>conftest.err
42306 cat conftest.err
>&5
42307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42308 (exit $ac_status); } && {
42309 test -z "$ac_cxx_werror_flag" ||
42310 test ! -s conftest.err
42311 } && test -s conftest.
$ac_objext; then
42312 ac_cv_func_which_getservbyname_r
=four
42314 echo "$as_me: failed program was:" >&5
42315 sed 's/^/| /' conftest.
$ac_ext >&5
42317 ac_cv_func_which_getservbyname_r
=no
42321 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42326 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42331 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42333 ac_cpp
='$CPP $CPPFLAGS'
42334 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42335 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42336 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42341 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42342 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42344 if test $ac_cv_func_which_getservbyname_r = six
; then
42345 cat >>confdefs.h
<<\_ACEOF
42346 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42349 elif test $ac_cv_func_which_getservbyname_r = five
; then
42350 cat >>confdefs.h
<<\_ACEOF
42351 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42354 elif test $ac_cv_func_which_getservbyname_r = four
; then
42355 cat >>confdefs.h
<<\_ACEOF
42356 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42362 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42363 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42365 for ac_func
in getservbyname
42367 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42368 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42370 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42371 echo $ECHO_N "(cached) $ECHO_C" >&6
42373 cat >conftest.
$ac_ext <<_ACEOF
42376 cat confdefs.h
>>conftest.
$ac_ext
42377 cat >>conftest.
$ac_ext <<_ACEOF
42378 /* end confdefs.h. */
42379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42381 #define $ac_func innocuous_$ac_func
42383 /* System header to define __stub macros and hopefully few prototypes,
42384 which can conflict with char $ac_func (); below.
42385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42386 <limits.h> exists even on freestanding compilers. */
42389 # include <limits.h>
42391 # include <assert.h>
42396 /* Override any GCC internal prototype to avoid an error.
42397 Use char because int might match the return type of a GCC
42398 builtin and then its argument prototype would still apply. */
42403 /* The GNU C library defines this for functions which it implements
42404 to always fail with ENOSYS. Some functions are actually named
42405 something starting with __ and the normal name is an alias. */
42406 #if defined __stub_$ac_func || defined __stub___$ac_func
42413 return $ac_func ();
42418 rm -f conftest.
$ac_objext conftest
$ac_exeext
42419 if { (ac_try
="$ac_link"
42420 case "(($ac_try" in
42421 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42422 *) ac_try_echo=$ac_try;;
42424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42425 (eval "$ac_link") 2>conftest.er1
42427 grep -v '^ *+' conftest.er1 >conftest.err
42429 cat conftest.err >&5
42430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42431 (exit $ac_status); } && {
42432 test -z "$ac_c_werror_flag" ||
42433 test ! -s conftest.err
42434 } && test -s conftest$ac_exeext &&
42435 $as_test_x conftest$ac_exeext; then
42436 eval "$as_ac_var=yes"
42438 echo "$as_me: failed program was:" >&5
42439 sed 's/^/| /' conftest.$ac_ext >&5
42441 eval "$as_ac_var=no"
42444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42445 conftest$ac_exeext conftest.$ac_ext
42447 ac_res=`eval echo '${'$as_ac_var'}'`
42448 { echo "$as_me:$LINENO: result: $ac_res" >&5
42449 echo "${ECHO_T}$ac_res" >&6; }
42450 if test `eval echo '${'$as_ac_var'}'` = yes; then
42451 cat >>confdefs.h <<_ACEOF
42452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42454 cat >>confdefs.h <<\_ACEOF
42455 #define HAVE_GETSERVBYNAME 1
42463 if test "$wxUSE_THREADS" = "yes"; then
42464 cat >>confdefs.h <<\_ACEOF
42465 #define wxUSE_THREADS 1
42469 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42471 if test "$wx_cv_func_strtok_r" = "yes"; then
42472 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42473 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42474 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42475 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42476 { echo "$as_me:$LINENO: result: yes" >&5
42477 echo "${ECHO_T}yes" >&6; }
42479 { echo "$as_me:$LINENO: result: no" >&5
42480 echo "${ECHO_T}no" >&6; }
42485 if test "$WXGTK2" = 1 ; then
42486 cat >>confdefs.h <<_ACEOF
42487 #define __WXGTK20__ $WXGTK2
42493 if test "$WXGTK12" = 1 ; then
42494 cat >>confdefs.h <<_ACEOF
42495 #define __WXGTK12__ $WXGTK12
42500 if test "$WXGTK127" = 1 ; then
42501 cat >>confdefs.h <<_ACEOF
42502 #define __WXGTK127__ $WXGTK127
42507 if test "$WXGPE" = 1 ; then
42508 cat >>confdefs.h <<_ACEOF
42509 #define __WXGPE__ $WXGPE
42515 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev
/null
`; then
42516 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42517 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42518 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42522 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42523 wxUSE_DEBUG_INFO=yes
42524 if test "$GCC" = yes; then
42525 DEBUG_CFLAGS="-ggdb"
42529 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42530 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
42532 if test "$wxUSE_GTK" = 1 ; then
42533 if test "x$wxGTK_VERSION" = "x1" ; then
42534 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42539 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42540 cat >>confdefs.h <<\_ACEOF
42541 #define wxUSE_MEMORY_TRACING 1
42544 cat >>confdefs.h <<\_ACEOF
42545 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42548 cat >>confdefs.h <<\_ACEOF
42549 #define wxUSE_DEBUG_NEW_ALWAYS 1
42552 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42555 if test "$wxUSE_DMALLOC" = "yes" ; then
42556 DMALLOC_LIBS="-ldmallocthcxx"
42560 if test "$wxUSE_PROFILE" = "yes" ; then
42561 PROFILE_FLAGS=" -pg"
42564 if test "$GCC" = "yes" ; then
42565 if test "$wxUSE_NO_RTTI" = "yes" ; then
42566 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
42568 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42569 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42571 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42572 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42577 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42580 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42586 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev
/null
`; then
42587 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42588 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42590 if test "$wxUSE_OPTIMISE" = "no" ; then
42591 if test "$GCC" = yes ; then
42592 OPTIMISE_CFLAGS="-O0"
42595 if test "$GCC" = yes ; then
42597 *-pc-os2_emx | *-pc-os2-emx )
42598 OPTIMISE_CFLAGS="-O2"
42601 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42605 OPTIMISE_CFLAGS="-O"
42611 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42612 cat >>confdefs.h <<\_ACEOF
42613 #define WXWIN_COMPATIBILITY_2_6 1
42617 WXWIN_COMPATIBILITY_2_8="yes"
42620 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42621 cat >>confdefs.h <<\_ACEOF
42622 #define WXWIN_COMPATIBILITY_2_8 1
42628 if test "$wxUSE_GUI" = "yes"; then
42629 cat >>confdefs.h <<\_ACEOF
42630 #define wxUSE_GUI 1
42637 if test "$wxUSE_UNIX" = "yes"; then
42638 cat >>confdefs.h <<\_ACEOF
42639 #define wxUSE_UNIX 1
42645 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42649 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42650 if test "$USE_DOS" = 1; then
42654 for ac_func in dlopen
42656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42657 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42659 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42660 echo $ECHO_N "(cached) $ECHO_C" >&6
42662 cat >conftest.$ac_ext <<_ACEOF
42665 cat confdefs.h >>conftest.$ac_ext
42666 cat >>conftest.$ac_ext <<_ACEOF
42667 /* end confdefs.h. */
42668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42670 #define $ac_func innocuous_$ac_func
42672 /* System header to define __stub macros and hopefully few prototypes,
42673 which can conflict with char $ac_func (); below.
42674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42675 <limits.h> exists even on freestanding compilers. */
42678 # include <limits.h>
42680 # include <assert.h>
42685 /* Override any GCC internal prototype to avoid an error.
42686 Use char because int might match the return type of a GCC
42687 builtin and then its argument prototype would still apply. */
42692 /* The GNU C library defines this for functions which it implements
42693 to always fail with ENOSYS. Some functions are actually named
42694 something starting with __ and the normal name is an alias. */
42695 #if defined __stub_$ac_func || defined __stub___$ac_func
42702 return $ac_func ();
42707 rm -f conftest.$ac_objext conftest$ac_exeext
42708 if { (ac_try="$ac_link"
42709 case "(($ac_try" in
42710 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42711 *) ac_try_echo
=$ac_try;;
42713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42714 (eval "$ac_link") 2>conftest.er1
42716 grep -v '^ *+' conftest.er1
>conftest.err
42718 cat conftest.err
>&5
42719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42720 (exit $ac_status); } && {
42721 test -z "$ac_c_werror_flag" ||
42722 test ! -s conftest.err
42723 } && test -s conftest
$ac_exeext &&
42724 $as_test_x conftest
$ac_exeext; then
42725 eval "$as_ac_var=yes"
42727 echo "$as_me: failed program was:" >&5
42728 sed 's/^/| /' conftest.
$ac_ext >&5
42730 eval "$as_ac_var=no"
42733 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42734 conftest
$ac_exeext conftest.
$ac_ext
42736 ac_res
=`eval echo '${'$as_ac_var'}'`
42737 { echo "$as_me:$LINENO: result: $ac_res" >&5
42738 echo "${ECHO_T}$ac_res" >&6; }
42739 if test `eval echo '${'$as_ac_var'}'` = yes; then
42740 cat >>confdefs.h
<<_ACEOF
42741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42744 cat >>confdefs.h
<<\_ACEOF
42745 #define HAVE_DLOPEN 1
42752 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42753 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
42754 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42755 echo $ECHO_N "(cached) $ECHO_C" >&6
42757 ac_check_lib_save_LIBS
=$LIBS
42759 cat >conftest.
$ac_ext <<_ACEOF
42762 cat confdefs.h
>>conftest.
$ac_ext
42763 cat >>conftest.
$ac_ext <<_ACEOF
42764 /* end confdefs.h. */
42766 /* Override any GCC internal prototype to avoid an error.
42767 Use char because int might match the return type of a GCC
42768 builtin and then its argument prototype would still apply. */
42781 rm -f conftest.
$ac_objext conftest
$ac_exeext
42782 if { (ac_try
="$ac_link"
42783 case "(($ac_try" in
42784 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42785 *) ac_try_echo=$ac_try;;
42787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42788 (eval "$ac_link") 2>conftest.er1
42790 grep -v '^ *+' conftest.er1 >conftest.err
42792 cat conftest.err >&5
42793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42794 (exit $ac_status); } && {
42795 test -z "$ac_c_werror_flag" ||
42796 test ! -s conftest.err
42797 } && test -s conftest$ac_exeext &&
42798 $as_test_x conftest$ac_exeext; then
42799 ac_cv_lib_dl_dlopen=yes
42801 echo "$as_me: failed program was:" >&5
42802 sed 's/^/| /' conftest.$ac_ext >&5
42804 ac_cv_lib_dl_dlopen=no
42807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42808 conftest$ac_exeext conftest.$ac_ext
42809 LIBS=$ac_check_lib_save_LIBS
42811 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42812 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42813 if test $ac_cv_lib_dl_dlopen = yes; then
42815 cat >>confdefs.h <<\_ACEOF
42816 #define HAVE_DLOPEN 1
42820 DL_LINK=" -ldl$DL_LINK"
42825 for ac_func in shl_load
42827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42828 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42830 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42831 echo $ECHO_N "(cached) $ECHO_C" >&6
42833 cat >conftest.$ac_ext <<_ACEOF
42836 cat confdefs.h >>conftest.$ac_ext
42837 cat >>conftest.$ac_ext <<_ACEOF
42838 /* end confdefs.h. */
42839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42841 #define $ac_func innocuous_$ac_func
42843 /* System header to define __stub macros and hopefully few prototypes,
42844 which can conflict with char $ac_func (); below.
42845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42846 <limits.h> exists even on freestanding compilers. */
42849 # include <limits.h>
42851 # include <assert.h>
42856 /* Override any GCC internal prototype to avoid an error.
42857 Use char because int might match the return type of a GCC
42858 builtin and then its argument prototype would still apply. */
42863 /* The GNU C library defines this for functions which it implements
42864 to always fail with ENOSYS. Some functions are actually named
42865 something starting with __ and the normal name is an alias. */
42866 #if defined __stub_$ac_func || defined __stub___$ac_func
42873 return $ac_func ();
42878 rm -f conftest.$ac_objext conftest$ac_exeext
42879 if { (ac_try="$ac_link"
42880 case "(($ac_try" in
42881 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42882 *) ac_try_echo
=$ac_try;;
42884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42885 (eval "$ac_link") 2>conftest.er1
42887 grep -v '^ *+' conftest.er1
>conftest.err
42889 cat conftest.err
>&5
42890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42891 (exit $ac_status); } && {
42892 test -z "$ac_c_werror_flag" ||
42893 test ! -s conftest.err
42894 } && test -s conftest
$ac_exeext &&
42895 $as_test_x conftest
$ac_exeext; then
42896 eval "$as_ac_var=yes"
42898 echo "$as_me: failed program was:" >&5
42899 sed 's/^/| /' conftest.
$ac_ext >&5
42901 eval "$as_ac_var=no"
42904 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42905 conftest
$ac_exeext conftest.
$ac_ext
42907 ac_res
=`eval echo '${'$as_ac_var'}'`
42908 { echo "$as_me:$LINENO: result: $ac_res" >&5
42909 echo "${ECHO_T}$ac_res" >&6; }
42910 if test `eval echo '${'$as_ac_var'}'` = yes; then
42911 cat >>confdefs.h
<<_ACEOF
42912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42915 cat >>confdefs.h
<<\_ACEOF
42916 #define HAVE_SHL_LOAD 1
42923 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42924 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
42925 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42926 echo $ECHO_N "(cached) $ECHO_C" >&6
42928 ac_check_lib_save_LIBS
=$LIBS
42929 LIBS
="-lshl_load $LIBS"
42930 cat >conftest.
$ac_ext <<_ACEOF
42933 cat confdefs.h
>>conftest.
$ac_ext
42934 cat >>conftest.
$ac_ext <<_ACEOF
42935 /* end confdefs.h. */
42937 /* Override any GCC internal prototype to avoid an error.
42938 Use char because int might match the return type of a GCC
42939 builtin and then its argument prototype would still apply. */
42952 rm -f conftest.
$ac_objext conftest
$ac_exeext
42953 if { (ac_try
="$ac_link"
42954 case "(($ac_try" in
42955 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42956 *) ac_try_echo=$ac_try;;
42958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42959 (eval "$ac_link") 2>conftest.er1
42961 grep -v '^ *+' conftest.er1 >conftest.err
42963 cat conftest.err >&5
42964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42965 (exit $ac_status); } && {
42966 test -z "$ac_c_werror_flag" ||
42967 test ! -s conftest.err
42968 } && test -s conftest$ac_exeext &&
42969 $as_test_x conftest$ac_exeext; then
42970 ac_cv_lib_shl_load_dld=yes
42972 echo "$as_me: failed program was:" >&5
42973 sed 's/^/| /' conftest.$ac_ext >&5
42975 ac_cv_lib_shl_load_dld=no
42978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42979 conftest$ac_exeext conftest.$ac_ext
42980 LIBS=$ac_check_lib_save_LIBS
42982 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42983 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
42984 if test $ac_cv_lib_shl_load_dld = yes; then
42987 DL_LINK=" -ldld$DL_LINK"
43003 if test "$HAVE_DL_FUNCS" = 1; then
43005 for ac_func in dlerror
43007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43008 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43010 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43011 echo $ECHO_N "(cached) $ECHO_C" >&6
43013 cat >conftest.$ac_ext <<_ACEOF
43016 cat confdefs.h >>conftest.$ac_ext
43017 cat >>conftest.$ac_ext <<_ACEOF
43018 /* end confdefs.h. */
43019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43021 #define $ac_func innocuous_$ac_func
43023 /* System header to define __stub macros and hopefully few prototypes,
43024 which can conflict with char $ac_func (); below.
43025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43026 <limits.h> exists even on freestanding compilers. */
43029 # include <limits.h>
43031 # include <assert.h>
43036 /* Override any GCC internal prototype to avoid an error.
43037 Use char because int might match the return type of a GCC
43038 builtin and then its argument prototype would still apply. */
43043 /* The GNU C library defines this for functions which it implements
43044 to always fail with ENOSYS. Some functions are actually named
43045 something starting with __ and the normal name is an alias. */
43046 #if defined __stub_$ac_func || defined __stub___$ac_func
43053 return $ac_func ();
43058 rm -f conftest.$ac_objext conftest$ac_exeext
43059 if { (ac_try="$ac_link"
43060 case "(($ac_try" in
43061 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43062 *) ac_try_echo
=$ac_try;;
43064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43065 (eval "$ac_link") 2>conftest.er1
43067 grep -v '^ *+' conftest.er1
>conftest.err
43069 cat conftest.err
>&5
43070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43071 (exit $ac_status); } && {
43072 test -z "$ac_c_werror_flag" ||
43073 test ! -s conftest.err
43074 } && test -s conftest
$ac_exeext &&
43075 $as_test_x conftest
$ac_exeext; then
43076 eval "$as_ac_var=yes"
43078 echo "$as_me: failed program was:" >&5
43079 sed 's/^/| /' conftest.
$ac_ext >&5
43081 eval "$as_ac_var=no"
43084 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43085 conftest
$ac_exeext conftest.
$ac_ext
43087 ac_res
=`eval echo '${'$as_ac_var'}'`
43088 { echo "$as_me:$LINENO: result: $ac_res" >&5
43089 echo "${ECHO_T}$ac_res" >&6; }
43090 if test `eval echo '${'$as_ac_var'}'` = yes; then
43091 cat >>confdefs.h
<<_ACEOF
43092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43094 cat >>confdefs.h
<<\_ACEOF
43095 #define HAVE_DLERROR 1
43100 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43101 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43102 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43103 echo $ECHO_N "(cached) $ECHO_C" >&6
43105 ac_check_lib_save_LIBS
=$LIBS
43107 cat >conftest.
$ac_ext <<_ACEOF
43110 cat confdefs.h
>>conftest.
$ac_ext
43111 cat >>conftest.
$ac_ext <<_ACEOF
43112 /* end confdefs.h. */
43114 /* Override any GCC internal prototype to avoid an error.
43115 Use char because int might match the return type of a GCC
43116 builtin and then its argument prototype would still apply. */
43129 rm -f conftest.
$ac_objext conftest
$ac_exeext
43130 if { (ac_try
="$ac_link"
43131 case "(($ac_try" in
43132 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43133 *) ac_try_echo=$ac_try;;
43135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43136 (eval "$ac_link") 2>conftest.er1
43138 grep -v '^ *+' conftest.er1 >conftest.err
43140 cat conftest.err >&5
43141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43142 (exit $ac_status); } && {
43143 test -z "$ac_c_werror_flag" ||
43144 test ! -s conftest.err
43145 } && test -s conftest$ac_exeext &&
43146 $as_test_x conftest$ac_exeext; then
43147 ac_cv_lib_dl_dlerror=yes
43149 echo "$as_me: failed program was:" >&5
43150 sed 's/^/| /' conftest.$ac_ext >&5
43152 ac_cv_lib_dl_dlerror=no
43155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43156 conftest$ac_exeext conftest.$ac_ext
43157 LIBS=$ac_check_lib_save_LIBS
43159 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43160 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43161 if test $ac_cv_lib_dl_dlerror = yes; then
43162 cat >>confdefs.h <<\_ACEOF
43163 #define HAVE_DLERROR 1
43176 if test "$USE_DARWIN" = 1; then
43180 if test "$HAVE_DL_FUNCS" = 0; then
43181 if test "$HAVE_SHL_FUNCS" = 0; then
43182 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43183 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43184 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43185 wxUSE_DYNAMIC_LOADER=no
43186 wxUSE_DYNLIB_CLASS=no
43188 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43189 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43196 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43197 cat >>confdefs.h <<\_ACEOF
43198 #define wxUSE_DYNAMIC_LOADER 1
43202 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43203 cat >>confdefs.h <<\_ACEOF
43204 #define wxUSE_DYNLIB_CLASS 1
43211 if test "$wxUSE_PLUGINS" = "yes" ; then
43212 if test "$wxUSE_SHARED" = "no" ; then
43213 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43214 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43217 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43218 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43219 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43222 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43223 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43224 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43227 if test "$wxUSE_PLUGINS" = "yes" ; then
43228 cat >>confdefs.h <<\_ACEOF
43229 #define wxUSE_PLUGINS 1
43236 if test "$wxUSE_FSWATCHER" = "yes"; then
43237 if test "$wxUSE_MSW" != "1"; then
43238 if test "$wxUSE_UNIX" = "yes"; then
43240 for ac_header in sys/inotify.h
43242 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43243 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43244 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43245 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43246 echo $ECHO_N "(cached) $ECHO_C" >&6
43248 cat >conftest.$ac_ext <<_ACEOF
43251 cat confdefs.h >>conftest.$ac_ext
43252 cat >>conftest.$ac_ext <<_ACEOF
43253 /* end confdefs.h. */
43254 $ac_includes_default
43256 #include <$ac_header>
43258 rm -f conftest.$ac_objext
43259 if { (ac_try="$ac_compile"
43260 case "(($ac_try" in
43261 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43262 *) ac_try_echo
=$ac_try;;
43264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43265 (eval "$ac_compile") 2>conftest.er1
43267 grep -v '^ *+' conftest.er1
>conftest.err
43269 cat conftest.err
>&5
43270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43271 (exit $ac_status); } && {
43272 test -z "$ac_c_werror_flag" ||
43273 test ! -s conftest.err
43274 } && test -s conftest.
$ac_objext; then
43275 eval "$as_ac_Header=yes"
43277 echo "$as_me: failed program was:" >&5
43278 sed 's/^/| /' conftest.
$ac_ext >&5
43280 eval "$as_ac_Header=no"
43283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43285 ac_res
=`eval echo '${'$as_ac_Header'}'`
43286 { echo "$as_me:$LINENO: result: $ac_res" >&5
43287 echo "${ECHO_T}$ac_res" >&6; }
43288 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43289 cat >>confdefs.h
<<_ACEOF
43290 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43297 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43298 cat >>confdefs.h
<<\_ACEOF
43299 #define wxHAS_INOTIFY 1
43304 for ac_header
in sys
/event.h
43306 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43307 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43308 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43309 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43310 echo $ECHO_N "(cached) $ECHO_C" >&6
43312 cat >conftest.
$ac_ext <<_ACEOF
43315 cat confdefs.h
>>conftest.
$ac_ext
43316 cat >>conftest.
$ac_ext <<_ACEOF
43317 /* end confdefs.h. */
43318 $ac_includes_default
43320 #include <$ac_header>
43322 rm -f conftest.
$ac_objext
43323 if { (ac_try
="$ac_compile"
43324 case "(($ac_try" in
43325 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43326 *) ac_try_echo=$ac_try;;
43328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43329 (eval "$ac_compile") 2>conftest.er1
43331 grep -v '^ *+' conftest.er1 >conftest.err
43333 cat conftest.err >&5
43334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43335 (exit $ac_status); } && {
43336 test -z "$ac_c_werror_flag" ||
43337 test ! -s conftest.err
43338 } && test -s conftest.$ac_objext; then
43339 eval "$as_ac_Header=yes"
43341 echo "$as_me: failed program was:" >&5
43342 sed 's/^/| /' conftest.$ac_ext >&5
43344 eval "$as_ac_Header=no"
43347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43349 ac_res=`eval echo '${'$as_ac_Header'}'`
43350 { echo "$as_me:$LINENO: result: $ac_res" >&5
43351 echo "${ECHO_T}$ac_res" >&6; }
43352 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43353 cat >>confdefs.h <<_ACEOF
43354 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43361 if test "$ac_cv_header_sys_event_h" = "yes"; then
43362 cat >>confdefs.h <<\_ACEOF
43363 #define wxHAS_KQUEUE 1
43375 if test "$wxUSE_FSWATCHER" = "yes"; then
43376 cat >>confdefs.h <<\_ACEOF
43377 #define wxUSE_FSWATCHER 1
43380 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43382 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43383 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43388 if test "$wxUSE_STL" = "yes"; then
43389 cat >>confdefs.h <<\_ACEOF
43390 #define wxUSE_STL 1
43395 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43396 cat >>confdefs.h <<\_ACEOF
43397 #define wxUSE_EXTENDED_RTTI 1
43402 if test "$wxUSE_ANY" = "yes"; then
43403 cat >>confdefs.h <<\_ACEOF
43404 #define wxUSE_ANY 1
43409 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43410 cat >>confdefs.h <<\_ACEOF
43411 #define wxUSE_APPLE_IEEE 1
43416 if test "$wxUSE_TIMER" = "yes"; then
43417 cat >>confdefs.h <<\_ACEOF
43418 #define wxUSE_TIMER 1
43423 if test "$USE_UNIX" = 1 ; then
43424 if test "$wxUSE_MGL" != 1; then
43425 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43426 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43427 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43428 echo $ECHO_N "(cached) $ECHO_C" >&6
43431 cat >conftest.$ac_ext <<_ACEOF
43434 cat confdefs.h >>conftest.$ac_ext
43435 cat >>conftest.$ac_ext <<_ACEOF
43436 /* end confdefs.h. */
43438 #include <sys/ioctl.h>
43439 #include <sys/soundcard.h>
43445 ioctl(0, SNDCTL_DSP_SPEED, 0);
43451 rm -f conftest.$ac_objext conftest$ac_exeext
43452 if { (ac_try="$ac_link"
43453 case "(($ac_try" in
43454 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43455 *) ac_try_echo
=$ac_try;;
43457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43458 (eval "$ac_link") 2>conftest.er1
43460 grep -v '^ *+' conftest.er1
>conftest.err
43462 cat conftest.err
>&5
43463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43464 (exit $ac_status); } && {
43465 test -z "$ac_c_werror_flag" ||
43466 test ! -s conftest.err
43467 } && test -s conftest
$ac_exeext &&
43468 $as_test_x conftest
$ac_exeext; then
43469 ac_cv_header_sys_soundcard
=yes
43471 echo "$as_me: failed program was:" >&5
43472 sed 's/^/| /' conftest.
$ac_ext >&5
43476 LIBS
="$saveLibs -lossaudio"
43477 cat >conftest.
$ac_ext <<_ACEOF
43480 cat confdefs.h
>>conftest.
$ac_ext
43481 cat >>conftest.
$ac_ext <<_ACEOF
43482 /* end confdefs.h. */
43484 #include <sys/ioctl.h>
43485 #include <sys/soundcard.h>
43491 ioctl(0, SNDCTL_DSP_SPEED, 0);
43497 rm -f conftest.
$ac_objext conftest
$ac_exeext
43498 if { (ac_try
="$ac_link"
43499 case "(($ac_try" in
43500 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43501 *) ac_try_echo=$ac_try;;
43503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43504 (eval "$ac_link") 2>conftest.er1
43506 grep -v '^ *+' conftest.er1 >conftest.err
43508 cat conftest.err >&5
43509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43510 (exit $ac_status); } && {
43511 test -z "$ac_c_werror_flag" ||
43512 test ! -s conftest.err
43513 } && test -s conftest$ac_exeext &&
43514 $as_test_x conftest$ac_exeext; then
43515 ac_cv_header_sys_soundcard=yes
43517 echo "$as_me: failed program was:" >&5
43518 sed 's/^/| /' conftest.$ac_ext >&5
43522 ac_cv_header_sys_soundcard=no
43527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43528 conftest$ac_exeext conftest.$ac_ext
43533 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43534 conftest$ac_exeext conftest.$ac_ext
43537 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43538 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43541 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43542 cat >>confdefs.h <<\_ACEOF
43543 #define HAVE_SYS_SOUNDCARD_H 1
43550 if test "$wxUSE_SOUND" = "yes"; then
43551 if test "$USE_UNIX" = 1 ; then
43552 if test "$wxUSE_LIBSDL" != "no"; then
43554 # Check whether --with-sdl-prefix was given.
43555 if test "${with_sdl_prefix+set}" = set; then
43556 withval=$with_sdl_prefix; sdl_prefix="$withval"
43562 # Check whether --with-sdl-exec-prefix was given.
43563 if test "${with_sdl_exec_prefix+set}" = set; then
43564 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43569 # Check whether --enable-sdltest was given.
43570 if test "${enable_sdltest+set}" = set; then
43571 enableval=$enable_sdltest;
43577 if test x$sdl_exec_prefix != x ; then
43578 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43579 if test x${SDL_CONFIG+set} != xset ; then
43580 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43583 if test x$sdl_prefix != x ; then
43584 sdl_args="$sdl_args --prefix=$sdl_prefix"
43585 if test x${SDL_CONFIG+set} != xset ; then
43586 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43590 if test "x$prefix" != xNONE; then
43591 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43593 # Extract the first word of "sdl-config", so it can be a program name with args.
43594 set dummy sdl-config; ac_word=$2
43595 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43597 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43598 echo $ECHO_N "(cached) $ECHO_C" >&6
43600 case $SDL_CONFIG in
43602 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43606 for as_dir in $PATH
43609 test -z "$as_dir" && as_dir=.
43610 for ac_exec_ext in '' $ac_executable_extensions; do
43611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43612 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43620 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43624 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43625 if test -n "$SDL_CONFIG"; then
43626 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43627 echo "${ECHO_T}$SDL_CONFIG" >&6; }
43629 { echo "$as_me:$LINENO: result: no" >&5
43630 echo "${ECHO_T}no" >&6; }
43634 min_sdl_version=1.2.0
43635 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43636 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
43638 if test "$SDL_CONFIG" = "no" ; then
43641 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43642 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43644 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43645 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43646 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43647 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43648 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43649 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43650 if test "x$enable_sdltest" = "xyes" ; then
43651 ac_save_CFLAGS="$CFLAGS"
43652 ac_save_CXXFLAGS="$CXXFLAGS"
43653 ac_save_LIBS="$LIBS"
43654 CFLAGS="$CFLAGS $SDL_CFLAGS"
43655 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43656 LIBS="$LIBS $SDL_LIBS"
43658 if test "$cross_compiling" = yes; then
43659 echo $ac_n "cross compiling; assumed OK... $ac_c"
43661 cat >conftest.$ac_ext <<_ACEOF
43664 cat confdefs.h >>conftest.$ac_ext
43665 cat >>conftest.$ac_ext <<_ACEOF
43666 /* end confdefs.h. */
43669 #include <stdlib.h>
43670 #include <string.h>
43674 my_strdup (char *str)
43680 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43681 strcpy (new_str, str);
43689 int main (int argc, char *argv[])
43691 int major, minor, micro;
43694 /* This hangs on some systems (?)
43695 system ("touch conf.sdltest");
43697 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43699 /* HP/UX 9 (%@#!) writes to sscanf strings */
43700 tmp_version = my_strdup("$min_sdl_version");
43701 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
43702 printf("%s, bad version string\n", "$min_sdl_version");
43706 if (($sdl_major_version > major) ||
43707 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43708 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43714 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43715 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43716 printf("*** best to upgrade to the required version.\n");
43717 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43718 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43719 printf("*** config.cache before re-running configure\n");
43726 rm -f conftest$ac_exeext
43727 if { (ac_try="$ac_link"
43728 case "(($ac_try" in
43729 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43730 *) ac_try_echo
=$ac_try;;
43732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43733 (eval "$ac_link") 2>&5
43735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43736 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43737 { (case "(($ac_try" in
43738 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43739 *) ac_try_echo=$ac_try;;
43741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43742 (eval "$ac_try") 2>&5
43744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43745 (exit $ac_status); }; }; then
43748 echo "$as_me: program exited with status $ac_status" >&5
43749 echo "$as_me: failed program was:" >&5
43750 sed 's/^/| /' conftest.$ac_ext >&5
43752 ( exit $ac_status )
43755 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43759 CFLAGS="$ac_save_CFLAGS"
43760 CXXFLAGS="$ac_save_CXXFLAGS"
43761 LIBS="$ac_save_LIBS"
43764 if test "x$no_sdl" = x ; then
43765 { echo "$as_me:$LINENO: result: yes" >&5
43766 echo "${ECHO_T}yes" >&6; }
43768 EXTRALIBS_SDL="$SDL_LIBS"
43769 CFLAGS="$SDL_CFLAGS $CFLAGS"
43770 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43771 cat >>confdefs.h <<\_ACEOF
43772 #define wxUSE_LIBSDL 1
43777 { echo "$as_me:$LINENO: result: no" >&5
43778 echo "${ECHO_T}no" >&6; }
43779 if test "$SDL_CONFIG" = "no" ; then
43780 echo "*** The sdl-config script installed by SDL could not be found"
43781 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43782 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43783 echo "*** full path to sdl-config."
43785 if test -f conf.sdltest ; then
43788 echo "*** Could not run SDL test program, checking why..."
43789 CFLAGS="$CFLAGS $SDL_CFLAGS"
43790 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43791 LIBS="$LIBS $SDL_LIBS"
43792 cat >conftest.$ac_ext <<_ACEOF
43795 cat confdefs.h >>conftest.$ac_ext
43796 cat >>conftest.$ac_ext <<_ACEOF
43797 /* end confdefs.h. */
43802 int main(int argc, char *argv[])
43805 #define main K_and_R_C_main
43815 rm -f conftest.$ac_objext conftest$ac_exeext
43816 if { (ac_try="$ac_link"
43817 case "(($ac_try" in
43818 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43819 *) ac_try_echo
=$ac_try;;
43821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43822 (eval "$ac_link") 2>conftest.er1
43824 grep -v '^ *+' conftest.er1
>conftest.err
43826 cat conftest.err
>&5
43827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43828 (exit $ac_status); } && {
43829 test -z "$ac_c_werror_flag" ||
43830 test ! -s conftest.err
43831 } && test -s conftest
$ac_exeext &&
43832 $as_test_x conftest
$ac_exeext; then
43833 echo "*** The test program compiled, but did not run. This usually means"
43834 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43835 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43836 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43837 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43838 echo "*** is required on your system"
43840 echo "*** If you have an old version installed, it is best to remove it, although"
43841 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43843 echo "$as_me: failed program was:" >&5
43844 sed 's/^/| /' conftest.
$ac_ext >&5
43846 echo "*** The test program failed to compile or link. See the file config.log for the"
43847 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43848 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43849 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43852 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43853 conftest
$ac_exeext conftest.
$ac_ext
43854 CFLAGS
="$ac_save_CFLAGS"
43855 CXXFLAGS
="$ac_save_CXXFLAGS"
43856 LIBS
="$ac_save_LIBS"
43867 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43872 if test "$wxUSE_MGL" = 1; then
43873 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43874 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43880 if test "$wxUSE_SOUND" = "yes"; then
43881 cat >>confdefs.h
<<\_ACEOF
43882 #define wxUSE_SOUND 1
43885 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
43888 if test "$WXGTK2" = 1; then
43891 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43892 if test -n "$ac_tool_prefix"; then
43893 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43894 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
43895 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43897 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43898 echo $ECHO_N "(cached) $ECHO_C" >&6
43900 case $PKG_CONFIG in
43902 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
43905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43906 for as_dir
in $PATH
43909 test -z "$as_dir" && as_dir
=.
43910 for ac_exec_ext
in '' $ac_executable_extensions; do
43911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43912 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43923 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
43924 if test -n "$PKG_CONFIG"; then
43925 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43926 echo "${ECHO_T}$PKG_CONFIG" >&6; }
43928 { echo "$as_me:$LINENO: result: no" >&5
43929 echo "${ECHO_T}no" >&6; }
43934 if test -z "$ac_cv_path_PKG_CONFIG"; then
43935 ac_pt_PKG_CONFIG
=$PKG_CONFIG
43936 # Extract the first word of "pkg-config", so it can be a program name with args.
43937 set dummy pkg
-config; ac_word
=$2
43938 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43940 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43941 echo $ECHO_N "(cached) $ECHO_C" >&6
43943 case $ac_pt_PKG_CONFIG in
43945 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43949 for as_dir
in $PATH
43952 test -z "$as_dir" && as_dir
=.
43953 for ac_exec_ext
in '' $ac_executable_extensions; do
43954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43955 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43966 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
43967 if test -n "$ac_pt_PKG_CONFIG"; then
43968 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43969 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
43971 { echo "$as_me:$LINENO: result: no" >&5
43972 echo "${ECHO_T}no" >&6; }
43975 if test "x$ac_pt_PKG_CONFIG" = x
; then
43978 case $cross_compiling:$ac_tool_warned in
43980 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
43981 whose name does not start with the host triplet. If you think this
43982 configuration is useful to you, please write to autoconf@gnu.org." >&5
43983 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
43984 whose name does not start with the host triplet. If you think this
43985 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
43986 ac_tool_warned
=yes ;;
43988 PKG_CONFIG
=$ac_pt_PKG_CONFIG
43991 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
43995 if test -n "$PKG_CONFIG"; then
43996 _pkg_min_version
=0.9.0
43997 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43998 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
43999 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44000 { echo "$as_me:$LINENO: result: yes" >&5
44001 echo "${ECHO_T}yes" >&6; }
44003 { echo "$as_me:$LINENO: result: no" >&5
44004 echo "${ECHO_T}no" >&6; }
44010 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44012 if test "$wxUSE_GTKPRINT" = "yes" ; then
44016 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44017 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44019 if test -n "$PKG_CONFIG"; then
44020 if test -n "$GTKPRINT_CFLAGS"; then
44021 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
44023 if test -n "$PKG_CONFIG" && \
44024 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44025 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44028 (exit $ac_status); }; then
44029 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44037 if test -n "$PKG_CONFIG"; then
44038 if test -n "$GTKPRINT_LIBS"; then
44039 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
44041 if test -n "$PKG_CONFIG" && \
44042 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44043 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44046 (exit $ac_status); }; then
44047 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44058 if test $pkg_failed = yes; then
44060 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44061 _pkg_short_errors_supported
=yes
44063 _pkg_short_errors_supported
=no
44065 if test $_pkg_short_errors_supported = yes; then
44066 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44068 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44070 # Put the nasty error message in config.log where it belongs
44071 echo "$GTKPRINT_PKG_ERRORS" >&5
44074 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44075 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44076 wxUSE_GTKPRINT
="no"
44079 elif test $pkg_failed = untried
; then
44081 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44082 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44083 wxUSE_GTKPRINT
="no"
44087 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
44088 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
44089 { echo "$as_me:$LINENO: result: yes" >&5
44090 echo "${ECHO_T}yes" >&6; }
44092 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
44093 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
44094 cat >>confdefs.h
<<\_ACEOF
44095 #define wxUSE_GTKPRINT 1
44102 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44106 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44107 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44109 if test -n "$PKG_CONFIG"; then
44110 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44111 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
44113 if test -n "$PKG_CONFIG" && \
44114 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44115 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44118 (exit $ac_status); }; then
44119 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44127 if test -n "$PKG_CONFIG"; then
44128 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44129 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
44131 if test -n "$PKG_CONFIG" && \
44132 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44133 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44136 (exit $ac_status); }; then
44137 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44148 if test $pkg_failed = yes; then
44150 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44151 _pkg_short_errors_supported
=yes
44153 _pkg_short_errors_supported
=no
44155 if test $_pkg_short_errors_supported = yes; then
44156 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44158 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44160 # Put the nasty error message in config.log where it belongs
44161 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44164 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44165 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44166 wxUSE_LIBGNOMEPRINT
="no"
44169 elif test $pkg_failed = untried
; then
44171 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44172 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44173 wxUSE_LIBGNOMEPRINT
="no"
44177 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44178 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44179 { echo "$as_me:$LINENO: result: yes" >&5
44180 echo "${ECHO_T}yes" >&6; }
44182 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44183 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44184 cat >>confdefs.h
<<\_ACEOF
44185 #define wxUSE_LIBGNOMEPRINT 1
44193 if test "$wxUSE_MIMETYPE" = "yes" ; then
44194 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44198 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44199 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44201 if test -n "$PKG_CONFIG"; then
44202 if test -n "$GNOMEVFS_CFLAGS"; then
44203 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
44205 if test -n "$PKG_CONFIG" && \
44206 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44207 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44210 (exit $ac_status); }; then
44211 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44219 if test -n "$PKG_CONFIG"; then
44220 if test -n "$GNOMEVFS_LIBS"; then
44221 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
44223 if test -n "$PKG_CONFIG" && \
44224 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44225 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44228 (exit $ac_status); }; then
44229 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44240 if test $pkg_failed = yes; then
44242 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44243 _pkg_short_errors_supported
=yes
44245 _pkg_short_errors_supported
=no
44247 if test $_pkg_short_errors_supported = yes; then
44248 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44250 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44252 # Put the nasty error message in config.log where it belongs
44253 echo "$GNOMEVFS_PKG_ERRORS" >&5
44256 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44257 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44258 wxUSE_LIBGNOMEVFS
="no"
44261 elif test $pkg_failed = untried
; then
44263 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44264 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44265 wxUSE_LIBGNOMEVFS
="no"
44269 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
44270 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
44271 { echo "$as_me:$LINENO: result: yes" >&5
44272 echo "${ECHO_T}yes" >&6; }
44274 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
44275 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
44276 cat >>confdefs.h
<<\_ACEOF
44277 #define wxUSE_LIBGNOMEVFS 1
44285 if test "$wxUSE_LIBHILDON" = "yes" ; then
44288 { echo "$as_me:$LINENO: checking for HILDON" >&5
44289 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44291 if test -n "$PKG_CONFIG"; then
44292 if test -n "$HILDON_CFLAGS"; then
44293 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
44295 if test -n "$PKG_CONFIG" && \
44296 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44297 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44300 (exit $ac_status); }; then
44301 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44309 if test -n "$PKG_CONFIG"; then
44310 if test -n "$HILDON_LIBS"; then
44311 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
44313 if test -n "$PKG_CONFIG" && \
44314 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44315 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44318 (exit $ac_status); }; then
44319 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44330 if test $pkg_failed = yes; then
44332 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44333 _pkg_short_errors_supported
=yes
44335 _pkg_short_errors_supported
=no
44337 if test $_pkg_short_errors_supported = yes; then
44338 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44340 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44342 # Put the nasty error message in config.log where it belongs
44343 echo "$HILDON_PKG_ERRORS" >&5
44346 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44347 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44348 wxUSE_LIBHILDON
="no"
44352 elif test $pkg_failed = untried
; then
44354 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44355 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44356 wxUSE_LIBHILDON
="no"
44361 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
44362 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
44363 { echo "$as_me:$LINENO: result: yes" >&5
44364 echo "${ECHO_T}yes" >&6; }
44366 EXTRALIBS_HILDON
="$HILDON_LIBS"
44367 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
44368 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
44369 cat >>confdefs.h
<<\_ACEOF
44370 #define wxUSE_LIBHILDON 1
44377 if test "$ac_hildon_lgpl" = 0 ; then
44380 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44381 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44383 if test -n "$PKG_CONFIG"; then
44384 if test -n "$HILDON2_CFLAGS"; then
44385 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
44387 if test -n "$PKG_CONFIG" && \
44388 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44389 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44392 (exit $ac_status); }; then
44393 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44401 if test -n "$PKG_CONFIG"; then
44402 if test -n "$HILDON2_LIBS"; then
44403 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
44405 if test -n "$PKG_CONFIG" && \
44406 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44407 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44410 (exit $ac_status); }; then
44411 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44422 if test $pkg_failed = yes; then
44424 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44425 _pkg_short_errors_supported
=yes
44427 _pkg_short_errors_supported
=no
44429 if test $_pkg_short_errors_supported = yes; then
44430 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44432 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44434 # Put the nasty error message in config.log where it belongs
44435 echo "$HILDON2_PKG_ERRORS" >&5
44438 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44439 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44440 wxUSE_LIBHILDON2
="no"
44443 elif test $pkg_failed = untried
; then
44445 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44446 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44447 wxUSE_LIBHILDON2
="no"
44451 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
44452 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
44453 { echo "$as_me:$LINENO: result: yes" >&5
44454 echo "${ECHO_T}yes" >&6; }
44456 EXTRALIBS_HILDON
="$HILDON2_LIBS"
44457 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
44458 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
44459 cat >>confdefs.h
<<\_ACEOF
44460 #define wxUSE_LIBHILDON2 1
44469 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44470 cat >>confdefs.h
<<\_ACEOF
44471 #define wxUSE_CMDLINE_PARSER 1
44476 if test "$wxUSE_STOPWATCH" = "yes"; then
44477 cat >>confdefs.h
<<\_ACEOF
44478 #define wxUSE_STOPWATCH 1
44483 if test "$wxUSE_DATETIME" = "yes"; then
44484 cat >>confdefs.h
<<\_ACEOF
44485 #define wxUSE_DATETIME 1
44490 if test "$wxUSE_FILE" = "yes"; then
44491 cat >>confdefs.h
<<\_ACEOF
44492 #define wxUSE_FILE 1
44497 if test "$wxUSE_FFILE" = "yes"; then
44498 cat >>confdefs.h
<<\_ACEOF
44499 #define wxUSE_FFILE 1
44504 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44505 if test "$wxUSE_STREAMS" != yes; then
44506 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44507 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44508 wxUSE_ARCHIVE_STREAMS
=no
44510 cat >>confdefs.h
<<\_ACEOF
44511 #define wxUSE_ARCHIVE_STREAMS 1
44517 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44518 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44519 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44520 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44521 elif test "$wxUSE_ZLIB" = "no"; then
44522 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44523 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44525 cat >>confdefs.h
<<\_ACEOF
44526 #define wxUSE_ZIPSTREAM 1
44532 if test "$wxUSE_TARSTREAM" = "yes"; then
44533 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44534 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44535 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44537 cat >>confdefs.h
<<\_ACEOF
44538 #define wxUSE_TARSTREAM 1
44544 if test "$wxUSE_FILE_HISTORY" = "yes"; then
44545 cat >>confdefs.h
<<\_ACEOF
44546 #define wxUSE_FILE_HISTORY 1
44551 if test "$wxUSE_FILESYSTEM" = "yes"; then
44552 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
44553 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44554 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44555 wxUSE_FILESYSTEM
=no
44557 cat >>confdefs.h
<<\_ACEOF
44558 #define wxUSE_FILESYSTEM 1
44564 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44565 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44566 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44567 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44569 cat >>confdefs.h
<<\_ACEOF
44570 #define wxUSE_FS_ARCHIVE 1
44576 if test "$wxUSE_FS_ZIP" = "yes"; then
44577 if test "$wxUSE_FS_ARCHIVE" != yes; then
44578 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44579 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44581 cat >>confdefs.h
<<\_ACEOF
44582 #define wxUSE_FS_ZIP 1
44588 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44589 if test "$USE_UNIX" != 1; then
44590 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44591 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44592 wxUSE_ON_FATAL_EXCEPTION
=no
44594 cat >>confdefs.h
<<\_ACEOF
44595 #define wxUSE_ON_FATAL_EXCEPTION 1
44601 if test "$wxUSE_STACKWALKER" = "yes"; then
44602 cat >>confdefs.h
<<\_ACEOF
44603 #define wxUSE_STACKWALKER 1
44608 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44609 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
44610 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44611 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44612 wxUSE_DEBUGREPORT
=no
44614 cat >>confdefs.h
<<\_ACEOF
44615 #define wxUSE_DEBUGREPORT 1
44618 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44619 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
44624 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44625 cat >>confdefs.h
<<\_ACEOF
44626 #define wxUSE_SNGLINST_CHECKER 1
44631 if test "$wxUSE_BUSYINFO" = "yes"; then
44632 cat >>confdefs.h
<<\_ACEOF
44633 #define wxUSE_BUSYINFO 1
44638 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44639 cat >>confdefs.h
<<\_ACEOF
44640 #define wxUSE_STD_IOSTREAM 1
44645 if test "$wxUSE_STD_STRING" = "yes"; then
44646 cat >>confdefs.h
<<\_ACEOF
44647 #define wxUSE_STD_STRING 1
44652 if test "$wxUSE_STDPATHS" = "yes"; then
44653 cat >>confdefs.h
<<\_ACEOF
44654 #define wxUSE_STDPATHS 1
44659 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44660 cat >>confdefs.h
<<\_ACEOF
44661 #define wxUSE_TEXTBUFFER 1
44666 if test "$wxUSE_TEXTFILE" = "yes"; then
44667 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44668 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44669 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44671 cat >>confdefs.h
<<\_ACEOF
44672 #define wxUSE_TEXTFILE 1
44678 if test "$wxUSE_CONFIG" = "yes" ; then
44679 if test "$wxUSE_TEXTFILE" != "yes"; then
44680 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44681 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44683 cat >>confdefs.h
<<\_ACEOF
44684 #define wxUSE_CONFIG 1
44687 cat >>confdefs.h
<<\_ACEOF
44688 #define wxUSE_CONFIG_NATIVE 1
44691 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
44695 if test "$wxUSE_INTL" = "yes" ; then
44696 if test "$wxUSE_FILE" != "yes"; then
44697 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44698 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44700 cat >>confdefs.h
<<\_ACEOF
44701 #define wxUSE_INTL 1
44704 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
44705 GUIDIST
="$GUIDIST INTL_DIST"
44709 if test "$wxUSE_XLOCALE" = "yes" ; then
44710 cat >>confdefs.h
<<\_ACEOF
44711 #define wxUSE_XLOCALE 1
44714 { echo "$as_me:$LINENO: checking for locale_t" >&5
44715 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
44716 if test "${ac_cv_type_locale_t+set}" = set; then
44717 echo $ECHO_N "(cached) $ECHO_C" >&6
44719 cat >conftest.
$ac_ext <<_ACEOF
44722 cat confdefs.h
>>conftest.
$ac_ext
44723 cat >>conftest.
$ac_ext <<_ACEOF
44724 /* end confdefs.h. */
44725 #include <xlocale.h>
44726 #include <locale.h>
44728 typedef locale_t ac__type_new_;
44732 if ((ac__type_new_ *) 0)
44734 if (sizeof (ac__type_new_))
44740 rm -f conftest.
$ac_objext
44741 if { (ac_try
="$ac_compile"
44742 case "(($ac_try" in
44743 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44744 *) ac_try_echo=$ac_try;;
44746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44747 (eval "$ac_compile") 2>conftest.er1
44749 grep -v '^ *+' conftest.er1 >conftest.err
44751 cat conftest.err >&5
44752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44753 (exit $ac_status); } && {
44754 test -z "$ac_c_werror_flag" ||
44755 test ! -s conftest.err
44756 } && test -s conftest.$ac_objext; then
44757 ac_cv_type_locale_t=yes
44759 echo "$as_me: failed program was:" >&5
44760 sed 's/^/| /' conftest.$ac_ext >&5
44762 ac_cv_type_locale_t=no
44765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44767 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
44768 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
44769 if test $ac_cv_type_locale_t = yes; then
44771 cat >>confdefs.h <<_ACEOF
44772 #define HAVE_LOCALE_T 1
44780 if test "$wxUSE_LOG" = "yes"; then
44781 cat >>confdefs.h <<\_ACEOF
44782 #define wxUSE_LOG 1
44786 if test "$wxUSE_LOGGUI" = "yes"; then
44787 cat >>confdefs.h <<\_ACEOF
44788 #define wxUSE_LOGGUI 1
44793 if test "$wxUSE_LOGWINDOW" = "yes"; then
44794 cat >>confdefs.h <<\_ACEOF
44795 #define wxUSE_LOGWINDOW 1
44800 if test "$wxUSE_LOGDIALOG" = "yes"; then
44801 cat >>confdefs.h <<\_ACEOF
44802 #define wxUSE_LOG_DIALOG 1
44807 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44810 if test "$wxUSE_LONGLONG" = "yes"; then
44811 cat >>confdefs.h <<\_ACEOF
44812 #define wxUSE_LONGLONG 1
44817 if test "$wxUSE_GEOMETRY" = "yes"; then
44818 cat >>confdefs.h <<\_ACEOF
44819 #define wxUSE_GEOMETRY 1
44824 if test "$wxUSE_BASE64" = "yes"; then
44825 cat >>confdefs.h <<\_ACEOF
44826 #define wxUSE_BASE64 1
44831 if test "$wxUSE_STREAMS" = "yes" ; then
44832 cat >>confdefs.h <<\_ACEOF
44833 #define wxUSE_STREAMS 1
44838 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44839 cat >>confdefs.h <<\_ACEOF
44840 #define wxUSE_PRINTF_POS_PARAMS 1
44845 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
44846 cat >>confdefs.h <<\_ACEOF
44847 #define wxUSE_OBJC_UNIQUIFYING 1
44853 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
44854 cat >>confdefs.h <<\_ACEOF
44855 #define wxUSE_CONSOLE_EVENTLOOP 1
44859 if test "$wxUSE_UNIX" = "yes"; then
44860 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
44861 cat >>confdefs.h <<\_ACEOF
44862 #define wxUSE_SELECT_DISPATCHER 1
44867 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
44869 for ac_header in sys/epoll.h
44871 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44872 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44873 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44874 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44875 echo $ECHO_N "(cached) $ECHO_C" >&6
44877 cat >conftest.$ac_ext <<_ACEOF
44880 cat confdefs.h >>conftest.$ac_ext
44881 cat >>conftest.$ac_ext <<_ACEOF
44882 /* end confdefs.h. */
44883 $ac_includes_default
44885 #include <$ac_header>
44887 rm -f conftest.$ac_objext
44888 if { (ac_try="$ac_compile"
44889 case "(($ac_try" in
44890 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44891 *) ac_try_echo
=$ac_try;;
44893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44894 (eval "$ac_compile") 2>conftest.er1
44896 grep -v '^ *+' conftest.er1
>conftest.err
44898 cat conftest.err
>&5
44899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44900 (exit $ac_status); } && {
44901 test -z "$ac_c_werror_flag" ||
44902 test ! -s conftest.err
44903 } && test -s conftest.
$ac_objext; then
44904 eval "$as_ac_Header=yes"
44906 echo "$as_me: failed program was:" >&5
44907 sed 's/^/| /' conftest.
$ac_ext >&5
44909 eval "$as_ac_Header=no"
44912 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44914 ac_res
=`eval echo '${'$as_ac_Header'}'`
44915 { echo "$as_me:$LINENO: result: $ac_res" >&5
44916 echo "${ECHO_T}$ac_res" >&6; }
44917 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44918 cat >>confdefs.h
<<_ACEOF
44919 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44926 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
44927 cat >>confdefs.h
<<\_ACEOF
44928 #define wxUSE_EPOLL_DISPATCHER 1
44932 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
44933 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
44942 for ac_func
in gettimeofday ftime
44944 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44945 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44947 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44948 echo $ECHO_N "(cached) $ECHO_C" >&6
44950 cat >conftest.
$ac_ext <<_ACEOF
44953 cat confdefs.h
>>conftest.
$ac_ext
44954 cat >>conftest.
$ac_ext <<_ACEOF
44955 /* end confdefs.h. */
44956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44958 #define $ac_func innocuous_$ac_func
44960 /* System header to define __stub macros and hopefully few prototypes,
44961 which can conflict with char $ac_func (); below.
44962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44963 <limits.h> exists even on freestanding compilers. */
44966 # include <limits.h>
44968 # include <assert.h>
44973 /* Override any GCC internal prototype to avoid an error.
44974 Use char because int might match the return type of a GCC
44975 builtin and then its argument prototype would still apply. */
44980 /* The GNU C library defines this for functions which it implements
44981 to always fail with ENOSYS. Some functions are actually named
44982 something starting with __ and the normal name is an alias. */
44983 #if defined __stub_$ac_func || defined __stub___$ac_func
44990 return $ac_func ();
44995 rm -f conftest.
$ac_objext conftest
$ac_exeext
44996 if { (ac_try
="$ac_link"
44997 case "(($ac_try" in
44998 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44999 *) ac_try_echo=$ac_try;;
45001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45002 (eval "$ac_link") 2>conftest.er1
45004 grep -v '^ *+' conftest.er1 >conftest.err
45006 cat conftest.err >&5
45007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45008 (exit $ac_status); } && {
45009 test -z "$ac_c_werror_flag" ||
45010 test ! -s conftest.err
45011 } && test -s conftest$ac_exeext &&
45012 $as_test_x conftest$ac_exeext; then
45013 eval "$as_ac_var=yes"
45015 echo "$as_me: failed program was:" >&5
45016 sed 's/^/| /' conftest.$ac_ext >&5
45018 eval "$as_ac_var=no"
45021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45022 conftest$ac_exeext conftest.$ac_ext
45024 ac_res=`eval echo '${'$as_ac_var'}'`
45025 { echo "$as_me:$LINENO: result: $ac_res" >&5
45026 echo "${ECHO_T}$ac_res" >&6; }
45027 if test `eval echo '${'$as_ac_var'}'` = yes; then
45028 cat >>confdefs.h <<_ACEOF
45029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45036 if test "$ac_cv_func_gettimeofday" = "yes"; then
45037 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45038 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45039 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45040 echo $ECHO_N "(cached) $ECHO_C" >&6
45043 cat >conftest.$ac_ext <<_ACEOF
45046 cat confdefs.h >>conftest.$ac_ext
45047 cat >>conftest.$ac_ext <<_ACEOF
45048 /* end confdefs.h. */
45050 #include <sys/time.h>
45051 #include <unistd.h>
45058 gettimeofday(&tv, NULL);
45064 rm -f conftest.$ac_objext
45065 if { (ac_try="$ac_compile"
45066 case "(($ac_try" in
45067 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45068 *) ac_try_echo
=$ac_try;;
45070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45071 (eval "$ac_compile") 2>conftest.er1
45073 grep -v '^ *+' conftest.er1
>conftest.err
45075 cat conftest.err
>&5
45076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45077 (exit $ac_status); } && {
45078 test -z "$ac_c_werror_flag" ||
45079 test ! -s conftest.err
45080 } && test -s conftest.
$ac_objext; then
45081 wx_cv_func_gettimeofday_has_2_args
=yes
45083 echo "$as_me: failed program was:" >&5
45084 sed 's/^/| /' conftest.
$ac_ext >&5
45086 cat >conftest.
$ac_ext <<_ACEOF
45089 cat confdefs.h
>>conftest.
$ac_ext
45090 cat >>conftest.
$ac_ext <<_ACEOF
45091 /* end confdefs.h. */
45093 #include <sys/time.h>
45094 #include <unistd.h>
45107 rm -f conftest.
$ac_objext
45108 if { (ac_try
="$ac_compile"
45109 case "(($ac_try" in
45110 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45111 *) ac_try_echo=$ac_try;;
45113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45114 (eval "$ac_compile") 2>conftest.er1
45116 grep -v '^ *+' conftest.er1 >conftest.err
45118 cat conftest.err >&5
45119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45120 (exit $ac_status); } && {
45121 test -z "$ac_c_werror_flag" ||
45122 test ! -s conftest.err
45123 } && test -s conftest.$ac_objext; then
45124 wx_cv_func_gettimeofday_has_2_args=no
45126 echo "$as_me: failed program was:" >&5
45127 sed 's/^/| /' conftest.$ac_ext >&5
45130 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45131 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45132 wx_cv_func_gettimeofday_has_2_args=unknown
45137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45144 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45145 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45147 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45148 cat >>confdefs.h <<\_ACEOF
45149 #define WX_GETTIMEOFDAY_NO_TZ 1
45155 if test "$wxUSE_DATETIME" = "yes"; then
45156 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45157 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45158 if test "${wx_cv_var_timezone+set}" = set; then
45159 echo $ECHO_N "(cached) $ECHO_C" >&6
45163 ac_cpp='$CXXCPP $CPPFLAGS'
45164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45168 cat >conftest.$ac_ext <<_ACEOF
45171 cat confdefs.h >>conftest.$ac_ext
45172 cat >>conftest.$ac_ext <<_ACEOF
45173 /* end confdefs.h. */
45188 rm -f conftest.$ac_objext
45189 if { (ac_try="$ac_compile"
45190 case "(($ac_try" in
45191 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45192 *) ac_try_echo
=$ac_try;;
45194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45195 (eval "$ac_compile") 2>conftest.er1
45197 grep -v '^ *+' conftest.er1
>conftest.err
45199 cat conftest.err
>&5
45200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45201 (exit $ac_status); } && {
45202 test -z "$ac_cxx_werror_flag" ||
45203 test ! -s conftest.err
45204 } && test -s conftest.
$ac_objext; then
45206 wx_cv_var_timezone
=timezone
45209 echo "$as_me: failed program was:" >&5
45210 sed 's/^/| /' conftest.
$ac_ext >&5
45213 cat >conftest.
$ac_ext <<_ACEOF
45216 cat confdefs.h
>>conftest.
$ac_ext
45217 cat >>conftest.
$ac_ext <<_ACEOF
45218 /* end confdefs.h. */
45233 rm -f conftest.
$ac_objext
45234 if { (ac_try
="$ac_compile"
45235 case "(($ac_try" in
45236 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45237 *) ac_try_echo=$ac_try;;
45239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45240 (eval "$ac_compile") 2>conftest.er1
45242 grep -v '^ *+' conftest.er1 >conftest.err
45244 cat conftest.err >&5
45245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45246 (exit $ac_status); } && {
45247 test -z "$ac_cxx_werror_flag" ||
45248 test ! -s conftest.err
45249 } && test -s conftest.$ac_objext; then
45251 wx_cv_var_timezone=_timezone
45254 echo "$as_me: failed program was:" >&5
45255 sed 's/^/| /' conftest.$ac_ext >&5
45258 cat >conftest.$ac_ext <<_ACEOF
45261 cat confdefs.h >>conftest.$ac_ext
45262 cat >>conftest.$ac_ext <<_ACEOF
45263 /* end confdefs.h. */
45278 rm -f conftest.$ac_objext
45279 if { (ac_try="$ac_compile"
45280 case "(($ac_try" in
45281 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45282 *) ac_try_echo
=$ac_try;;
45284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45285 (eval "$ac_compile") 2>conftest.er1
45287 grep -v '^ *+' conftest.er1
>conftest.err
45289 cat conftest.err
>&5
45290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45291 (exit $ac_status); } && {
45292 test -z "$ac_cxx_werror_flag" ||
45293 test ! -s conftest.err
45294 } && test -s conftest.
$ac_objext; then
45296 wx_cv_var_timezone
=__timezone
45299 echo "$as_me: failed program was:" >&5
45300 sed 's/^/| /' conftest.
$ac_ext >&5
45303 if test "$USE_DOS" = 0 ; then
45304 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45305 echo "$as_me: WARNING: no timezone variable" >&2;}
45311 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45316 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45321 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45323 ac_cpp
='$CPP $CPPFLAGS'
45324 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45325 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45326 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45331 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45332 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45334 if test "x$wx_cv_var_timezone" != x
; then
45335 cat >>confdefs.h
<<_ACEOF
45336 #define WX_TIMEZONE $wx_cv_var_timezone
45342 for ac_func
in localtime
45344 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45345 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45347 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45348 echo $ECHO_N "(cached) $ECHO_C" >&6
45350 cat >conftest.
$ac_ext <<_ACEOF
45353 cat confdefs.h
>>conftest.
$ac_ext
45354 cat >>conftest.
$ac_ext <<_ACEOF
45355 /* end confdefs.h. */
45356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45358 #define $ac_func innocuous_$ac_func
45360 /* System header to define __stub macros and hopefully few prototypes,
45361 which can conflict with char $ac_func (); below.
45362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45363 <limits.h> exists even on freestanding compilers. */
45366 # include <limits.h>
45368 # include <assert.h>
45373 /* Override any GCC internal prototype to avoid an error.
45374 Use char because int might match the return type of a GCC
45375 builtin and then its argument prototype would still apply. */
45380 /* The GNU C library defines this for functions which it implements
45381 to always fail with ENOSYS. Some functions are actually named
45382 something starting with __ and the normal name is an alias. */
45383 #if defined __stub_$ac_func || defined __stub___$ac_func
45390 return $ac_func ();
45395 rm -f conftest.
$ac_objext conftest
$ac_exeext
45396 if { (ac_try
="$ac_link"
45397 case "(($ac_try" in
45398 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45399 *) ac_try_echo=$ac_try;;
45401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45402 (eval "$ac_link") 2>conftest.er1
45404 grep -v '^ *+' conftest.er1 >conftest.err
45406 cat conftest.err >&5
45407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45408 (exit $ac_status); } && {
45409 test -z "$ac_c_werror_flag" ||
45410 test ! -s conftest.err
45411 } && test -s conftest$ac_exeext &&
45412 $as_test_x conftest$ac_exeext; then
45413 eval "$as_ac_var=yes"
45415 echo "$as_me: failed program was:" >&5
45416 sed 's/^/| /' conftest.$ac_ext >&5
45418 eval "$as_ac_var=no"
45421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45422 conftest$ac_exeext conftest.$ac_ext
45424 ac_res=`eval echo '${'$as_ac_var'}'`
45425 { echo "$as_me:$LINENO: result: $ac_res" >&5
45426 echo "${ECHO_T}$ac_res" >&6; }
45427 if test `eval echo '${'$as_ac_var'}'` = yes; then
45428 cat >>confdefs.h <<_ACEOF
45429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45436 if test "$ac_cv_func_localtime" = "yes"; then
45437 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45438 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45439 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45440 echo $ECHO_N "(cached) $ECHO_C" >&6
45443 cat >conftest.$ac_ext <<_ACEOF
45446 cat confdefs.h >>conftest.$ac_ext
45447 cat >>conftest.$ac_ext <<_ACEOF
45448 /* end confdefs.h. */
45463 rm -f conftest.$ac_objext
45464 if { (ac_try="$ac_compile"
45465 case "(($ac_try" in
45466 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45467 *) ac_try_echo
=$ac_try;;
45469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45470 (eval "$ac_compile") 2>conftest.er1
45472 grep -v '^ *+' conftest.er1
>conftest.err
45474 cat conftest.err
>&5
45475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45476 (exit $ac_status); } && {
45477 test -z "$ac_c_werror_flag" ||
45478 test ! -s conftest.err
45479 } && test -s conftest.
$ac_objext; then
45481 wx_cv_struct_tm_has_gmtoff
=yes
45484 echo "$as_me: failed program was:" >&5
45485 sed 's/^/| /' conftest.
$ac_ext >&5
45487 wx_cv_struct_tm_has_gmtoff
=no
45491 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45494 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45495 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45498 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45499 cat >>confdefs.h
<<\_ACEOF
45500 #define WX_GMTOFF_IN_TM 1
45505 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
45509 if test "$wxUSE_SOCKETS" = "yes"; then
45510 if test "$wxUSE_MGL" = 1; then
45511 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45512 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45517 if test "$wxUSE_SOCKETS" = "yes"; then
45518 if test "$TOOLKIT" != "MSW"; then
45519 { echo "$as_me:$LINENO: checking for socket" >&5
45520 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45521 if test "${ac_cv_func_socket+set}" = set; then
45522 echo $ECHO_N "(cached) $ECHO_C" >&6
45524 cat >conftest.
$ac_ext <<_ACEOF
45527 cat confdefs.h
>>conftest.
$ac_ext
45528 cat >>conftest.
$ac_ext <<_ACEOF
45529 /* end confdefs.h. */
45530 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45532 #define socket innocuous_socket
45534 /* System header to define __stub macros and hopefully few prototypes,
45535 which can conflict with char socket (); below.
45536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45537 <limits.h> exists even on freestanding compilers. */
45540 # include <limits.h>
45542 # include <assert.h>
45547 /* Override any GCC internal prototype to avoid an error.
45548 Use char because int might match the return type of a GCC
45549 builtin and then its argument prototype would still apply. */
45554 /* The GNU C library defines this for functions which it implements
45555 to always fail with ENOSYS. Some functions are actually named
45556 something starting with __ and the normal name is an alias. */
45557 #if defined __stub_socket || defined __stub___socket
45569 rm -f conftest.
$ac_objext conftest
$ac_exeext
45570 if { (ac_try
="$ac_link"
45571 case "(($ac_try" in
45572 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45573 *) ac_try_echo=$ac_try;;
45575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45576 (eval "$ac_link") 2>conftest.er1
45578 grep -v '^ *+' conftest.er1 >conftest.err
45580 cat conftest.err >&5
45581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45582 (exit $ac_status); } && {
45583 test -z "$ac_c_werror_flag" ||
45584 test ! -s conftest.err
45585 } && test -s conftest$ac_exeext &&
45586 $as_test_x conftest$ac_exeext; then
45587 ac_cv_func_socket=yes
45589 echo "$as_me: failed program was:" >&5
45590 sed 's/^/| /' conftest.$ac_ext >&5
45592 ac_cv_func_socket=no
45595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45596 conftest$ac_exeext conftest.$ac_ext
45598 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45599 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45600 if test $ac_cv_func_socket = yes; then
45604 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45605 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45606 if test "${ac_cv_lib_socket_socket+set}" = set; then
45607 echo $ECHO_N "(cached) $ECHO_C" >&6
45609 ac_check_lib_save_LIBS=$LIBS
45610 LIBS="-lsocket $LIBS"
45611 cat >conftest.$ac_ext <<_ACEOF
45614 cat confdefs.h >>conftest.$ac_ext
45615 cat >>conftest.$ac_ext <<_ACEOF
45616 /* end confdefs.h. */
45618 /* Override any GCC internal prototype to avoid an error.
45619 Use char because int might match the return type of a GCC
45620 builtin and then its argument prototype would still apply. */
45633 rm -f conftest.$ac_objext conftest$ac_exeext
45634 if { (ac_try="$ac_link"
45635 case "(($ac_try" in
45636 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45637 *) ac_try_echo
=$ac_try;;
45639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45640 (eval "$ac_link") 2>conftest.er1
45642 grep -v '^ *+' conftest.er1
>conftest.err
45644 cat conftest.err
>&5
45645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45646 (exit $ac_status); } && {
45647 test -z "$ac_c_werror_flag" ||
45648 test ! -s conftest.err
45649 } && test -s conftest
$ac_exeext &&
45650 $as_test_x conftest
$ac_exeext; then
45651 ac_cv_lib_socket_socket
=yes
45653 echo "$as_me: failed program was:" >&5
45654 sed 's/^/| /' conftest.
$ac_ext >&5
45656 ac_cv_lib_socket_socket
=no
45659 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45660 conftest
$ac_exeext conftest.
$ac_ext
45661 LIBS
=$ac_check_lib_save_LIBS
45663 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45664 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
45665 if test $ac_cv_lib_socket_socket = yes; then
45666 if test "$INET_LINK" != " -lsocket"; then
45667 INET_LINK
="$INET_LINK -lsocket"
45671 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45672 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45685 if test "$wxUSE_SOCKETS" = "yes" ; then
45686 if test "$TOOLKIT" != "MSW"; then
45687 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45688 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
45689 if test "${wx_cv_type_getsockname3+set}" = set; then
45690 echo $ECHO_N "(cached) $ECHO_C" >&6
45694 ac_cpp
='$CXXCPP $CPPFLAGS'
45695 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45696 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45697 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45699 cat >conftest.
$ac_ext <<_ACEOF
45702 cat confdefs.h
>>conftest.
$ac_ext
45703 cat >>conftest.
$ac_ext <<_ACEOF
45704 /* end confdefs.h. */
45706 #include <sys/types.h>
45707 #include <sys/socket.h>
45714 getsockname(0, 0, &len);
45720 rm -f conftest.
$ac_objext
45721 if { (ac_try
="$ac_compile"
45722 case "(($ac_try" in
45723 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45724 *) ac_try_echo=$ac_try;;
45726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45727 (eval "$ac_compile") 2>conftest.er1
45729 grep -v '^ *+' conftest.er1 >conftest.err
45731 cat conftest.err >&5
45732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45733 (exit $ac_status); } && {
45734 test -z "$ac_cxx_werror_flag" ||
45735 test ! -s conftest.err
45736 } && test -s conftest.$ac_objext; then
45737 wx_cv_type_getsockname3=socklen_t
45739 echo "$as_me: failed program was:" >&5
45740 sed 's/^/| /' conftest.$ac_ext >&5
45743 CFLAGS_OLD="$CFLAGS"
45744 if test "$GCC" = yes ; then
45745 CFLAGS="-Werror $CFLAGS"
45748 cat >conftest.$ac_ext <<_ACEOF
45751 cat confdefs.h >>conftest.$ac_ext
45752 cat >>conftest.$ac_ext <<_ACEOF
45753 /* end confdefs.h. */
45755 #include <sys/types.h>
45756 #include <sys/socket.h>
45763 getsockname(0, 0, &len);
45769 rm -f conftest.$ac_objext
45770 if { (ac_try="$ac_compile"
45771 case "(($ac_try" in
45772 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45773 *) ac_try_echo
=$ac_try;;
45775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45776 (eval "$ac_compile") 2>conftest.er1
45778 grep -v '^ *+' conftest.er1
>conftest.err
45780 cat conftest.err
>&5
45781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45782 (exit $ac_status); } && {
45783 test -z "$ac_cxx_werror_flag" ||
45784 test ! -s conftest.err
45785 } && test -s conftest.
$ac_objext; then
45786 wx_cv_type_getsockname3
=size_t
45788 echo "$as_me: failed program was:" >&5
45789 sed 's/^/| /' conftest.
$ac_ext >&5
45791 cat >conftest.
$ac_ext <<_ACEOF
45794 cat confdefs.h
>>conftest.
$ac_ext
45795 cat >>conftest.
$ac_ext <<_ACEOF
45796 /* end confdefs.h. */
45798 #include <sys/types.h>
45799 #include <sys/socket.h>
45806 getsockname(0, 0, &len);
45812 rm -f conftest.
$ac_objext
45813 if { (ac_try
="$ac_compile"
45814 case "(($ac_try" in
45815 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45816 *) ac_try_echo=$ac_try;;
45818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45819 (eval "$ac_compile") 2>conftest.er1
45821 grep -v '^ *+' conftest.er1 >conftest.err
45823 cat conftest.err >&5
45824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45825 (exit $ac_status); } && {
45826 test -z "$ac_cxx_werror_flag" ||
45827 test ! -s conftest.err
45828 } && test -s conftest.$ac_objext; then
45829 wx_cv_type_getsockname3=int
45831 echo "$as_me: failed program was:" >&5
45832 sed 's/^/| /' conftest.$ac_ext >&5
45834 wx_cv_type_getsockname3=unknown
45838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45844 CFLAGS="$CFLAGS_OLD"
45849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45851 ac_cpp='$CPP $CPPFLAGS'
45852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45858 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45859 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
45861 if test "$wx_cv_type_getsockname3" = "unknown"; then
45863 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45864 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45866 cat >>confdefs.h <<_ACEOF
45867 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45871 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45872 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
45873 if test "${wx_cv_type_getsockopt5+set}" = set; then
45874 echo $ECHO_N "(cached) $ECHO_C" >&6
45878 ac_cpp='$CXXCPP $CPPFLAGS'
45879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45883 cat >conftest.$ac_ext <<_ACEOF
45886 cat confdefs.h >>conftest.$ac_ext
45887 cat >>conftest.$ac_ext <<_ACEOF
45888 /* end confdefs.h. */
45890 #include <sys/types.h>
45891 #include <sys/socket.h>
45898 getsockopt(0, 0, 0, 0, &len);
45904 rm -f conftest.$ac_objext
45905 if { (ac_try="$ac_compile"
45906 case "(($ac_try" in
45907 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45908 *) ac_try_echo
=$ac_try;;
45910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45911 (eval "$ac_compile") 2>conftest.er1
45913 grep -v '^ *+' conftest.er1
>conftest.err
45915 cat conftest.err
>&5
45916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45917 (exit $ac_status); } && {
45918 test -z "$ac_cxx_werror_flag" ||
45919 test ! -s conftest.err
45920 } && test -s conftest.
$ac_objext; then
45921 wx_cv_type_getsockopt5
=socklen_t
45923 echo "$as_me: failed program was:" >&5
45924 sed 's/^/| /' conftest.
$ac_ext >&5
45927 cat >conftest.
$ac_ext <<_ACEOF
45930 cat confdefs.h
>>conftest.
$ac_ext
45931 cat >>conftest.
$ac_ext <<_ACEOF
45932 /* end confdefs.h. */
45934 #include <sys/types.h>
45935 #include <sys/socket.h>
45942 getsockopt(0, 0, 0, 0, &len);
45948 rm -f conftest.
$ac_objext
45949 if { (ac_try
="$ac_compile"
45950 case "(($ac_try" in
45951 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45952 *) ac_try_echo=$ac_try;;
45954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45955 (eval "$ac_compile") 2>conftest.er1
45957 grep -v '^ *+' conftest.er1 >conftest.err
45959 cat conftest.err >&5
45960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45961 (exit $ac_status); } && {
45962 test -z "$ac_cxx_werror_flag" ||
45963 test ! -s conftest.err
45964 } && test -s conftest.$ac_objext; then
45965 wx_cv_type_getsockopt5=size_t
45967 echo "$as_me: failed program was:" >&5
45968 sed 's/^/| /' conftest.$ac_ext >&5
45970 cat >conftest.$ac_ext <<_ACEOF
45973 cat confdefs.h >>conftest.$ac_ext
45974 cat >>conftest.$ac_ext <<_ACEOF
45975 /* end confdefs.h. */
45977 #include <sys/types.h>
45978 #include <sys/socket.h>
45985 getsockopt(0, 0, 0, 0, &len);
45991 rm -f conftest.$ac_objext
45992 if { (ac_try="$ac_compile"
45993 case "(($ac_try" in
45994 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45995 *) ac_try_echo
=$ac_try;;
45997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45998 (eval "$ac_compile") 2>conftest.er1
46000 grep -v '^ *+' conftest.er1
>conftest.err
46002 cat conftest.err
>&5
46003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46004 (exit $ac_status); } && {
46005 test -z "$ac_cxx_werror_flag" ||
46006 test ! -s conftest.err
46007 } && test -s conftest.
$ac_objext; then
46008 wx_cv_type_getsockopt5
=int
46010 echo "$as_me: failed program was:" >&5
46011 sed 's/^/| /' conftest.
$ac_ext >&5
46013 wx_cv_type_getsockopt5
=unknown
46017 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46021 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46026 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46028 ac_cpp
='$CPP $CPPFLAGS'
46029 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46030 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46031 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46035 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46036 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46038 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46040 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46041 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46043 cat >>confdefs.h
<<_ACEOF
46044 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46051 if test "$wxUSE_SOCKETS" = "yes" ; then
46052 if test "$wxUSE_IPV6" = "yes"; then
46053 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46054 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46055 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46056 echo $ECHO_N "(cached) $ECHO_C" >&6
46059 cat >conftest.
$ac_ext <<_ACEOF
46062 cat confdefs.h
>>conftest.
$ac_ext
46063 cat >>conftest.
$ac_ext <<_ACEOF
46064 /* end confdefs.h. */
46066 #include <sys/types.h>
46067 #include <sys/socket.h>
46068 #include <netinet/in.h>
46074 struct sockaddr_in6 sa6;
46080 rm -f conftest.
$ac_objext
46081 if { (ac_try
="$ac_compile"
46082 case "(($ac_try" in
46083 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46084 *) ac_try_echo=$ac_try;;
46086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46087 (eval "$ac_compile") 2>conftest.er1
46089 grep -v '^ *+' conftest.er1 >conftest.err
46091 cat conftest.err >&5
46092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46093 (exit $ac_status); } && {
46094 test -z "$ac_c_werror_flag" ||
46095 test ! -s conftest.err
46096 } && test -s conftest.$ac_objext; then
46097 wx_cv_type_sockaddr_in6=yes
46099 echo "$as_me: failed program was:" >&5
46100 sed 's/^/| /' conftest.$ac_ext >&5
46102 wx_cv_type_sockaddr_in6=no
46106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46110 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46111 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46113 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46114 cat >>confdefs.h <<\_ACEOF
46115 #define wxUSE_IPV6 1
46119 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46120 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46124 cat >>confdefs.h <<\_ACEOF
46125 #define wxUSE_SOCKETS 1
46128 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46131 if test "$wxUSE_PROTOCOL" = "yes"; then
46132 if test "$wxUSE_SOCKETS" != "yes"; then
46133 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46134 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46139 if test "$wxUSE_PROTOCOL" = "yes"; then
46140 cat >>confdefs.h <<\_ACEOF
46141 #define wxUSE_PROTOCOL 1
46145 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46146 cat >>confdefs.h <<\_ACEOF
46147 #define wxUSE_PROTOCOL_HTTP 1
46151 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46152 cat >>confdefs.h <<\_ACEOF
46153 #define wxUSE_PROTOCOL_FTP 1
46157 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46158 cat >>confdefs.h <<\_ACEOF
46159 #define wxUSE_PROTOCOL_FILE 1
46164 if test "$wxUSE_FS_INET" = "yes"; then
46165 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46166 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46171 if test "$wxUSE_URL" = "yes"; then
46172 if test "$wxUSE_PROTOCOL" != "yes"; then
46173 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46174 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46177 if test "$wxUSE_URL" = "yes"; then
46178 cat >>confdefs.h <<\_ACEOF
46179 #define wxUSE_URL 1
46185 if test "$wxUSE_VARIANT" = "yes"; then
46186 cat >>confdefs.h <<\_ACEOF
46187 #define wxUSE_VARIANT 1
46192 if test "$wxUSE_FS_INET" = "yes"; then
46193 cat >>confdefs.h <<\_ACEOF
46194 #define wxUSE_FS_INET 1
46200 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46203 if test "$TOOLKIT" = "MSW"; then
46206 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46207 if test "$USE_DARWIN" = 1; then
46208 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46209 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46211 ac_cpp='$CXXCPP $CPPFLAGS'
46212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46216 cat >conftest.$ac_ext <<_ACEOF
46219 cat confdefs.h >>conftest.$ac_ext
46220 cat >>conftest.$ac_ext <<_ACEOF
46221 /* end confdefs.h. */
46222 #include <IOKit/hid/IOHIDLib.h>
46226 IOHIDQueueInterface *qi = NULL;
46227 IOHIDCallbackFunction cb = NULL;
46228 qi->setEventCallout(NULL, cb, NULL, NULL);
46233 rm -f conftest.$ac_objext
46234 if { (ac_try="$ac_compile"
46235 case "(($ac_try" in
46236 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46237 *) ac_try_echo
=$ac_try;;
46239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46240 (eval "$ac_compile") 2>conftest.er1
46242 grep -v '^ *+' conftest.er1
>conftest.err
46244 cat conftest.err
>&5
46245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46246 (exit $ac_status); } && {
46247 test -z "$ac_cxx_werror_flag" ||
46248 test ! -s conftest.err
46249 } && test -s conftest.
$ac_objext; then
46253 echo "$as_me: failed program was:" >&5
46254 sed 's/^/| /' conftest.
$ac_ext >&5
46259 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46261 ac_cpp
='$CPP $CPPFLAGS'
46262 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46263 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46264 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46266 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46267 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46271 if test "$wxUSE_MGL" != 1; then
46273 for ac_header
in linux
/joystick.h
46275 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46276 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46278 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46279 echo $ECHO_N "(cached) $ECHO_C" >&6
46281 cat >conftest.
$ac_ext <<_ACEOF
46284 cat confdefs.h
>>conftest.
$ac_ext
46285 cat >>conftest.
$ac_ext <<_ACEOF
46286 /* end confdefs.h. */
46287 $ac_includes_default
46289 #include <$ac_header>
46291 rm -f conftest.
$ac_objext
46292 if { (ac_try
="$ac_compile"
46293 case "(($ac_try" in
46294 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46295 *) ac_try_echo=$ac_try;;
46297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46298 (eval "$ac_compile") 2>conftest.er1
46300 grep -v '^ *+' conftest.er1 >conftest.err
46302 cat conftest.err >&5
46303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46304 (exit $ac_status); } && {
46305 test -z "$ac_c_werror_flag" ||
46306 test ! -s conftest.err
46307 } && test -s conftest.$ac_objext; then
46308 eval "$as_ac_Header=yes"
46310 echo "$as_me: failed program was:" >&5
46311 sed 's/^/| /' conftest.$ac_ext >&5
46313 eval "$as_ac_Header=no"
46316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46318 ac_res=`eval echo '${'$as_ac_Header'}'`
46319 { echo "$as_me:$LINENO: result: $ac_res" >&5
46320 echo "${ECHO_T}$ac_res" >&6; }
46321 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46322 cat >>confdefs.h <<_ACEOF
46323 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46333 if test "$wxUSE_JOYSTICK" = "yes"; then
46334 cat >>confdefs.h <<\_ACEOF
46335 #define wxUSE_JOYSTICK 1
46338 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46340 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46341 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46347 if test "$wxUSE_FONTENUM" = "yes" ; then
46348 cat >>confdefs.h <<\_ACEOF
46349 #define wxUSE_FONTENUM 1
46354 if test "$wxUSE_FONTMAP" = "yes" ; then
46355 cat >>confdefs.h <<\_ACEOF
46356 #define wxUSE_FONTMAP 1
46361 if test "$wxUSE_UNICODE" = "yes" ; then
46362 cat >>confdefs.h <<\_ACEOF
46363 #define wxUSE_UNICODE 1
46367 if test "$USE_WIN32" != 1; then
46368 wxUSE_UNICODE_MSLU=no
46371 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46372 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46373 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46374 if test "${ac_cv_lib_unicows_main+set}" = set; then
46375 echo $ECHO_N "(cached) $ECHO_C" >&6
46377 ac_check_lib_save_LIBS=$LIBS
46378 LIBS="-lunicows $LIBS"
46379 cat >conftest.$ac_ext <<_ACEOF
46382 cat confdefs.h >>conftest.$ac_ext
46383 cat >>conftest.$ac_ext <<_ACEOF
46384 /* end confdefs.h. */
46395 rm -f conftest.$ac_objext conftest$ac_exeext
46396 if { (ac_try="$ac_link"
46397 case "(($ac_try" in
46398 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46399 *) ac_try_echo
=$ac_try;;
46401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46402 (eval "$ac_link") 2>conftest.er1
46404 grep -v '^ *+' conftest.er1
>conftest.err
46406 cat conftest.err
>&5
46407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46408 (exit $ac_status); } && {
46409 test -z "$ac_c_werror_flag" ||
46410 test ! -s conftest.err
46411 } && test -s conftest
$ac_exeext &&
46412 $as_test_x conftest
$ac_exeext; then
46413 ac_cv_lib_unicows_main
=yes
46415 echo "$as_me: failed program was:" >&5
46416 sed 's/^/| /' conftest.
$ac_ext >&5
46418 ac_cv_lib_unicows_main
=no
46421 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46422 conftest
$ac_exeext conftest.
$ac_ext
46423 LIBS
=$ac_check_lib_save_LIBS
46425 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46426 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46427 if test $ac_cv_lib_unicows_main = yes; then
46429 cat >>confdefs.h
<<\_ACEOF
46430 #define wxUSE_UNICODE_MSLU 1
46436 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46437 Applications will only run on Windows NT/2000/XP!" >&5
46438 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46439 Applications will only run on Windows NT/2000/XP!" >&2;}
46440 wxUSE_UNICODE_MSLU
=no
46447 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46448 cat >>confdefs.h
<<\_ACEOF
46449 #define wxUSE_UNICODE_UTF8 1
46453 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46454 cat >>confdefs.h
<<\_ACEOF
46455 #define wxUSE_UTF8_LOCALE_ONLY 1
46462 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46463 cat >>confdefs.h
<<\_ACEOF
46464 #define wxUSE_CONSTRAINTS 1
46467 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
46470 if test "$wxUSE_MDI" = "yes"; then
46471 cat >>confdefs.h
<<\_ACEOF
46472 #define wxUSE_MDI 1
46476 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46477 cat >>confdefs.h
<<\_ACEOF
46478 #define wxUSE_MDI_ARCHITECTURE 1
46481 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
46485 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46486 cat >>confdefs.h
<<\_ACEOF
46487 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46490 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
46493 if test "$wxUSE_HELP" = "yes"; then
46494 cat >>confdefs.h
<<\_ACEOF
46495 #define wxUSE_HELP 1
46498 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
46500 if test "$wxUSE_MSW" = 1; then
46501 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46502 cat >>confdefs.h
<<\_ACEOF
46503 #define wxUSE_MS_HTML_HELP 1
46509 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46510 if test "$wxUSE_HTML" = "yes"; then
46511 cat >>confdefs.h
<<\_ACEOF
46512 #define wxUSE_WXHTML_HELP 1
46516 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46517 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46518 wxUSE_WXHTML_HELP
=no
46523 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46524 cat >>confdefs.h
<<\_ACEOF
46525 #define wxUSE_PRINTING_ARCHITECTURE 1
46528 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
46531 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46532 cat >>confdefs.h
<<\_ACEOF
46533 #define wxUSE_POSTSCRIPT 1
46538 cat >>confdefs.h
<<\_ACEOF
46539 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46543 if test "$wxUSE_SVG" = "yes"; then
46544 cat >>confdefs.h
<<\_ACEOF
46545 #define wxUSE_SVG 1
46551 if test "$wxUSE_METAFILE" = "yes"; then
46552 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46553 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46554 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46560 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
46561 -o "$wxUSE_CLIPBOARD" = "yes" \
46562 -o "$wxUSE_OLE" = "yes" \
46563 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
46564 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46565 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46566 if test "${ac_cv_header_ole2_h+set}" = set; then
46567 echo $ECHO_N "(cached) $ECHO_C" >&6
46569 cat >conftest.
$ac_ext <<_ACEOF
46572 cat confdefs.h
>>conftest.
$ac_ext
46573 cat >>conftest.
$ac_ext <<_ACEOF
46574 /* end confdefs.h. */
46579 rm -f conftest.
$ac_objext
46580 if { (ac_try
="$ac_compile"
46581 case "(($ac_try" in
46582 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46583 *) ac_try_echo=$ac_try;;
46585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46586 (eval "$ac_compile") 2>conftest.er1
46588 grep -v '^ *+' conftest.er1 >conftest.err
46590 cat conftest.err >&5
46591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46592 (exit $ac_status); } && {
46593 test -z "$ac_c_werror_flag" ||
46594 test ! -s conftest.err
46595 } && test -s conftest.$ac_objext; then
46596 ac_cv_header_ole2_h=yes
46598 echo "$as_me: failed program was:" >&5
46599 sed 's/^/| /' conftest.$ac_ext >&5
46601 ac_cv_header_ole2_h=no
46604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46606 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46607 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
46611 if test "$ac_cv_header_ole2_h" = "yes" ; then
46612 if test "$GCC" = yes ; then
46613 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46614 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
46615 cat >conftest.$ac_ext <<_ACEOF
46618 cat confdefs.h >>conftest.$ac_ext
46619 cat >>conftest.$ac_ext <<_ACEOF
46620 /* end confdefs.h. */
46621 #include <windows.h>
46631 rm -f conftest.$ac_objext
46632 if { (ac_try="$ac_compile"
46633 case "(($ac_try" in
46634 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46635 *) ac_try_echo
=$ac_try;;
46637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46638 (eval "$ac_compile") 2>conftest.er1
46640 grep -v '^ *+' conftest.er1
>conftest.err
46642 cat conftest.err
>&5
46643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46644 (exit $ac_status); } && {
46645 test -z "$ac_c_werror_flag" ||
46646 test ! -s conftest.err
46647 } && test -s conftest.
$ac_objext; then
46648 { echo "$as_me:$LINENO: result: no" >&5
46649 echo "${ECHO_T}no" >&6; }
46651 echo "$as_me: failed program was:" >&5
46652 sed 's/^/| /' conftest.
$ac_ext >&5
46654 { echo "$as_me:$LINENO: result: yes" >&5
46655 echo "${ECHO_T}yes" >&6; }
46656 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46659 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46660 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46661 if test "$wxUSE_OLE" = "yes" ; then
46662 cat >>confdefs.h
<<\_ACEOF
46663 #define wxUSE_OLE 1
46666 cat >>confdefs.h
<<\_ACEOF
46667 #define wxUSE_OLE_AUTOMATION 1
46670 cat >>confdefs.h
<<\_ACEOF
46671 #define wxUSE_ACTIVEX 1
46674 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
46678 if test "$wxUSE_DATAOBJ" = "yes" ; then
46679 cat >>confdefs.h
<<\_ACEOF
46680 #define wxUSE_DATAOBJ 1
46685 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46686 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46689 wxUSE_DRAG_AND_DROP
=no
46694 if test "$wxUSE_METAFILE" = "yes"; then
46695 cat >>confdefs.h
<<\_ACEOF
46696 #define wxUSE_METAFILE 1
46700 cat >>confdefs.h
<<\_ACEOF
46701 #define wxUSE_ENH_METAFILE 1
46707 if test "$wxUSE_IPC" = "yes"; then
46708 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46709 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46710 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46714 if test "$wxUSE_IPC" = "yes"; then
46715 cat >>confdefs.h
<<\_ACEOF
46716 #define wxUSE_IPC 1
46719 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
46723 if test "$wxUSE_DATAOBJ" = "yes"; then
46724 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46725 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46726 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46729 cat >>confdefs.h
<<\_ACEOF
46730 #define wxUSE_DATAOBJ 1
46735 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46736 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46738 wxUSE_DRAG_AND_DROP
=no
46741 if test "$wxUSE_CLIPBOARD" = "yes"; then
46742 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46743 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46744 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46748 if test "$wxUSE_CLIPBOARD" = "yes"; then
46749 cat >>confdefs.h
<<\_ACEOF
46750 #define wxUSE_CLIPBOARD 1
46756 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46757 if test "$wxUSE_GTK" = 1; then
46758 if test "$WXGTK12" != 1; then
46759 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46760 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46761 wxUSE_DRAG_AND_DROP
=no
46765 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46766 "$wxUSE_DFB" = 1; then
46767 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46768 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46769 wxUSE_DRAG_AND_DROP
=no
46772 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46773 cat >>confdefs.h
<<\_ACEOF
46774 #define wxUSE_DRAG_AND_DROP 1
46781 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46782 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
46785 if test "$wxUSE_CLIPBOARD" = "yes"; then
46786 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
46789 if test "$wxUSE_SPLINES" = "yes" ; then
46790 cat >>confdefs.h
<<\_ACEOF
46791 #define wxUSE_SPLINES 1
46796 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46797 cat >>confdefs.h
<<\_ACEOF
46798 #define wxUSE_MOUSEWHEEL 1
46803 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
46804 cat >>confdefs.h
<<\_ACEOF
46805 #define wxUSE_UIACTIONSIMULATOR 1
46808 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS uiaction"
46813 if test "$wxUSE_CONTROLS" = "yes"; then
46817 if test "$wxUSE_ACCEL" = "yes"; then
46818 cat >>confdefs.h
<<\_ACEOF
46819 #define wxUSE_ACCEL 1
46825 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46826 cat >>confdefs.h
<<\_ACEOF
46827 #define wxUSE_ANIMATIONCTRL 1
46831 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
46834 if test "$wxUSE_BUTTON" = "yes"; then
46835 cat >>confdefs.h
<<\_ACEOF
46836 #define wxUSE_BUTTON 1
46842 if test "$wxUSE_BMPBUTTON" = "yes"; then
46843 cat >>confdefs.h
<<\_ACEOF
46844 #define wxUSE_BMPBUTTON 1
46850 if test "$wxUSE_CALCTRL" = "yes"; then
46851 cat >>confdefs.h
<<\_ACEOF
46852 #define wxUSE_CALENDARCTRL 1
46856 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
46859 if test "$wxUSE_CARET" = "yes"; then
46860 cat >>confdefs.h
<<\_ACEOF
46861 #define wxUSE_CARET 1
46865 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
46868 if test "$wxUSE_COLLPANE" = "yes"; then
46869 cat >>confdefs.h
<<\_ACEOF
46870 #define wxUSE_COLLPANE 1
46874 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
46877 if test "$wxUSE_COMBOBOX" = "yes"; then
46878 cat >>confdefs.h
<<\_ACEOF
46879 #define wxUSE_COMBOBOX 1
46885 if test "$wxUSE_COMBOCTRL" = "yes"; then
46886 cat >>confdefs.h
<<\_ACEOF
46887 #define wxUSE_COMBOCTRL 1
46893 if test "$wxUSE_CHOICE" = "yes"; then
46894 cat >>confdefs.h
<<\_ACEOF
46895 #define wxUSE_CHOICE 1
46901 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46902 cat >>confdefs.h
<<\_ACEOF
46903 #define wxUSE_CHOICEBOOK 1
46909 if test "$wxUSE_CHECKBOX" = "yes"; then
46910 cat >>confdefs.h
<<\_ACEOF
46911 #define wxUSE_CHECKBOX 1
46917 if test "$wxUSE_CHECKLST" = "yes"; then
46918 cat >>confdefs.h
<<\_ACEOF
46919 #define wxUSE_CHECKLISTBOX 1
46925 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46926 cat >>confdefs.h
<<\_ACEOF
46927 #define wxUSE_COLOURPICKERCTRL 1
46933 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46934 cat >>confdefs.h
<<\_ACEOF
46935 #define wxUSE_DATEPICKCTRL 1
46941 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46942 cat >>confdefs.h
<<\_ACEOF
46943 #define wxUSE_DIRPICKERCTRL 1
46949 if test "$wxUSE_FILECTRL" = "yes"; then
46950 cat >>confdefs.h
<<\_ACEOF
46951 #define wxUSE_FILECTRL 1
46957 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46958 cat >>confdefs.h
<<\_ACEOF
46959 #define wxUSE_FILEPICKERCTRL 1
46965 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46966 cat >>confdefs.h
<<\_ACEOF
46967 #define wxUSE_FONTPICKERCTRL 1
46973 if test "$wxUSE_DISPLAY" = "yes"; then
46974 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
46975 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
46976 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
46979 cat >>confdefs.h
<<\_ACEOF
46980 #define wxUSE_DISPLAY 1
46983 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
46987 if test "$wxUSE_DETECT_SM" = "yes"; then
46988 cat >>confdefs.h
<<\_ACEOF
46989 #define wxUSE_DETECT_SM 1
46994 if test "$wxUSE_GAUGE" = "yes"; then
46995 cat >>confdefs.h
<<\_ACEOF
46996 #define wxUSE_GAUGE 1
47002 if test "$wxUSE_GRID" = "yes"; then
47003 cat >>confdefs.h
<<\_ACEOF
47004 #define wxUSE_GRID 1
47008 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
47011 if test "$wxUSE_HEADERCTRL" = "yes"; then
47012 cat >>confdefs.h
<<\_ACEOF
47013 #define wxUSE_HEADERCTRL 1
47019 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47020 cat >>confdefs.h
<<\_ACEOF
47021 #define wxUSE_HYPERLINKCTRL 1
47027 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47028 cat >>confdefs.h
<<\_ACEOF
47029 #define wxUSE_BITMAPCOMBOBOX 1
47035 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47036 cat >>confdefs.h
<<\_ACEOF
47037 #define wxUSE_DATAVIEWCTRL 1
47041 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
47044 if test "$wxUSE_IMAGLIST" = "yes"; then
47045 cat >>confdefs.h
<<\_ACEOF
47046 #define wxUSE_IMAGLIST 1
47051 if test "$wxUSE_INFOBAR" = "yes"; then
47052 cat >>confdefs.h
<<\_ACEOF
47053 #define wxUSE_INFOBAR 1
47058 if test "$wxUSE_LISTBOOK" = "yes"; then
47059 cat >>confdefs.h
<<\_ACEOF
47060 #define wxUSE_LISTBOOK 1
47066 if test "$wxUSE_LISTBOX" = "yes"; then
47067 cat >>confdefs.h
<<\_ACEOF
47068 #define wxUSE_LISTBOX 1
47074 if test "$wxUSE_LISTCTRL" = "yes"; then
47075 if test "$wxUSE_IMAGLIST" = "yes"; then
47076 cat >>confdefs.h
<<\_ACEOF
47077 #define wxUSE_LISTCTRL 1
47081 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
47083 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47084 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47088 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47089 cat >>confdefs.h
<<\_ACEOF
47090 #define wxUSE_EDITABLELISTBOX 1
47096 if test "$wxUSE_NOTEBOOK" = "yes"; then
47097 cat >>confdefs.h
<<\_ACEOF
47098 #define wxUSE_NOTEBOOK 1
47102 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
47105 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47106 cat >>confdefs.h
<<\_ACEOF
47107 #define wxUSE_NOTIFICATION_MESSAGE 1
47112 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47113 cat >>confdefs.h
<<\_ACEOF
47114 #define wxUSE_ODCOMBOBOX 1
47118 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
47121 if test "$wxUSE_RADIOBOX" = "yes"; then
47122 cat >>confdefs.h
<<\_ACEOF
47123 #define wxUSE_RADIOBOX 1
47129 if test "$wxUSE_RADIOBTN" = "yes"; then
47130 cat >>confdefs.h
<<\_ACEOF
47131 #define wxUSE_RADIOBTN 1
47137 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47138 cat >>confdefs.h
<<\_ACEOF
47139 #define wxUSE_REARRANGECTRL 1
47144 if test "$wxUSE_SASH" = "yes"; then
47145 cat >>confdefs.h
<<\_ACEOF
47146 #define wxUSE_SASH 1
47149 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
47152 if test "$wxUSE_SCROLLBAR" = "yes"; then
47153 cat >>confdefs.h
<<\_ACEOF
47154 #define wxUSE_SCROLLBAR 1
47158 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
47161 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47162 cat >>confdefs.h
<<\_ACEOF
47163 #define wxUSE_SEARCHCTRL 1
47169 if test "$wxUSE_SLIDER" = "yes"; then
47170 cat >>confdefs.h
<<\_ACEOF
47171 #define wxUSE_SLIDER 1
47177 if test "$wxUSE_SPINBTN" = "yes"; then
47178 cat >>confdefs.h
<<\_ACEOF
47179 #define wxUSE_SPINBTN 1
47185 if test "$wxUSE_SPINCTRL" = "yes"; then
47186 cat >>confdefs.h
<<\_ACEOF
47187 #define wxUSE_SPINCTRL 1
47193 if test "$wxUSE_SPLITTER" = "yes"; then
47194 cat >>confdefs.h
<<\_ACEOF
47195 #define wxUSE_SPLITTER 1
47198 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
47201 if test "$wxUSE_STATBMP" = "yes"; then
47202 cat >>confdefs.h
<<\_ACEOF
47203 #define wxUSE_STATBMP 1
47209 if test "$wxUSE_STATBOX" = "yes"; then
47210 cat >>confdefs.h
<<\_ACEOF
47211 #define wxUSE_STATBOX 1
47217 if test "$wxUSE_STATTEXT" = "yes"; then
47218 cat >>confdefs.h
<<\_ACEOF
47219 #define wxUSE_STATTEXT 1
47225 if test "$wxUSE_STATLINE" = "yes"; then
47226 cat >>confdefs.h
<<\_ACEOF
47227 #define wxUSE_STATLINE 1
47233 if test "$wxUSE_STATUSBAR" = "yes"; then
47234 cat >>confdefs.h
<<\_ACEOF
47235 #define wxUSE_NATIVE_STATUSBAR 1
47238 cat >>confdefs.h
<<\_ACEOF
47239 #define wxUSE_STATUSBAR 1
47244 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
47247 if test "$wxUSE_TEXTCTRL" = "yes"; then
47248 cat >>confdefs.h
<<\_ACEOF
47249 #define wxUSE_TEXTCTRL 1
47253 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
47255 cat >>confdefs.h
<<\_ACEOF
47256 #define wxUSE_RICHEDIT 1
47259 cat >>confdefs.h
<<\_ACEOF
47260 #define wxUSE_RICHEDIT2 1
47265 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47266 if test "$wxUSE_OLD_COCOA" = 1 ; then
47267 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47268 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47272 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47273 cat >>confdefs.h
<<\_ACEOF
47274 #define wxUSE_TOGGLEBTN 1
47281 if test "$wxUSE_TOOLBAR" = "yes"; then
47282 cat >>confdefs.h
<<\_ACEOF
47283 #define wxUSE_TOOLBAR 1
47288 if test "$wxUSE_UNIVERSAL" = "yes"; then
47289 wxUSE_TOOLBAR_NATIVE
="no"
47291 wxUSE_TOOLBAR_NATIVE
="yes"
47292 cat >>confdefs.h
<<\_ACEOF
47293 #define wxUSE_TOOLBAR_NATIVE 1
47298 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
47301 if test "$wxUSE_TOOLTIPS" = "yes"; then
47302 if test "$wxUSE_MOTIF" = 1; then
47303 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47304 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47306 if test "$wxUSE_UNIVERSAL" = "yes"; then
47307 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47308 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47310 cat >>confdefs.h
<<\_ACEOF
47311 #define wxUSE_TOOLTIPS 1
47318 if test "$wxUSE_TREEBOOK" = "yes"; then
47319 cat >>confdefs.h
<<\_ACEOF
47320 #define wxUSE_TREEBOOK 1
47326 if test "$wxUSE_TOOLBOOK" = "yes"; then
47327 cat >>confdefs.h
<<\_ACEOF
47328 #define wxUSE_TOOLBOOK 1
47334 if test "$wxUSE_TREECTRL" = "yes"; then
47335 if test "$wxUSE_IMAGLIST" = "yes"; then
47336 cat >>confdefs.h
<<\_ACEOF
47337 #define wxUSE_TREECTRL 1
47341 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
47343 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47344 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47348 if test "$wxUSE_POPUPWIN" = "yes"; then
47349 if test "$wxUSE_OLD_COCOA" = 1 ; then
47350 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47351 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47353 if test "$wxUSE_PM" = 1; then
47354 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47355 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47357 cat >>confdefs.h
<<\_ACEOF
47358 #define wxUSE_POPUPWIN 1
47361 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
47368 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47369 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47370 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47371 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47373 cat >>confdefs.h
<<\_ACEOF
47374 #define wxUSE_DIALUP_MANAGER 1
47377 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
47381 if test "$wxUSE_TIPWINDOW" = "yes"; then
47382 if test "$wxUSE_PM" = 1; then
47383 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47384 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47386 cat >>confdefs.h
<<\_ACEOF
47387 #define wxUSE_TIPWINDOW 1
47393 if test "$USES_CONTROLS" = 1; then
47394 cat >>confdefs.h
<<\_ACEOF
47395 #define wxUSE_CONTROLS 1
47401 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47402 cat >>confdefs.h
<<\_ACEOF
47403 #define wxUSE_ACCESSIBILITY 1
47406 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
47409 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47410 cat >>confdefs.h
<<\_ACEOF
47411 #define wxUSE_DRAGIMAGE 1
47414 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
47417 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47418 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47419 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47420 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47422 cat >>confdefs.h
<<\_ACEOF
47423 #define wxUSE_EXCEPTIONS 1
47426 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
47431 if test "$wxUSE_HTML" = "yes"; then
47432 cat >>confdefs.h
<<\_ACEOF
47433 #define wxUSE_HTML 1
47437 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47439 if test "$wxUSE_WEBKIT" = "yes"; then
47440 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47441 old_CPPFLAGS
="$CPPFLAGS"
47442 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
47443 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47444 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47445 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47446 echo $ECHO_N "(cached) $ECHO_C" >&6
47448 cat >conftest.
$ac_ext <<_ACEOF
47451 cat confdefs.h
>>conftest.
$ac_ext
47452 cat >>conftest.
$ac_ext <<_ACEOF
47453 /* end confdefs.h. */
47455 #include <Carbon/Carbon.h>
47456 #include <WebKit/WebKit.h>
47459 #include <WebKit/HIWebView.h>
47461 rm -f conftest.
$ac_objext
47462 if { (ac_try
="$ac_compile"
47463 case "(($ac_try" in
47464 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47465 *) ac_try_echo=$ac_try;;
47467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47468 (eval "$ac_compile") 2>conftest.er1
47470 grep -v '^ *+' conftest.er1 >conftest.err
47472 cat conftest.err >&5
47473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47474 (exit $ac_status); } && {
47475 test -z "$ac_c_werror_flag" ||
47476 test ! -s conftest.err
47477 } && test -s conftest.$ac_objext; then
47478 ac_cv_header_WebKit_HIWebView_h=yes
47480 echo "$as_me: failed program was:" >&5
47481 sed 's/^/| /' conftest.$ac_ext >&5
47483 ac_cv_header_WebKit_HIWebView_h=no
47486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47488 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47489 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47490 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47492 cat >>confdefs.h <<\_ACEOF
47493 #define wxUSE_WEBKIT 1
47496 WEBKIT_LINK="-framework WebKit"
47500 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47501 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47507 CPPFLAGS="$old_CPPFLAGS"
47508 elif test "$wxUSE_OLD_COCOA" = 1; then
47509 cat >>confdefs.h <<\_ACEOF
47510 #define wxUSE_WEBKIT 1
47516 if test "$wxUSE_WEBKIT" = "yes"; then
47517 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47522 if test "$wxUSE_XRC" = "yes"; then
47523 if test "$wxUSE_XML" != "yes"; then
47524 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47525 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47528 cat >>confdefs.h <<\_ACEOF
47529 #define wxUSE_XRC 1
47533 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47538 if test "$wxUSE_AUI" = "yes"; then
47539 cat >>confdefs.h <<\_ACEOF
47540 #define wxUSE_AUI 1
47544 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47548 if test "$wxUSE_PROPGRID" = "yes"; then
47549 cat >>confdefs.h <<\_ACEOF
47550 #define wxUSE_PROPGRID 1
47554 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
47558 if test "$wxUSE_RIBBON" = "yes"; then
47559 cat >>confdefs.h <<\_ACEOF
47560 #define wxUSE_RIBBON 1
47564 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
47568 if test "$wxUSE_STC" = "yes"; then
47569 cat >>confdefs.h <<\_ACEOF
47570 #define wxUSE_STC 1
47574 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
47576 # Extract the first word of "python", so it can be a program name with args.
47577 set dummy python; ac_word=$2
47578 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47580 if test "${ac_cv_path_PYTHON+set}" = set; then
47581 echo $ECHO_N "(cached) $ECHO_C" >&6
47585 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
47588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47589 for as_dir in $PATH
47592 test -z "$as_dir" && as_dir=.
47593 for ac_exec_ext in '' $ac_executable_extensions; do
47594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47595 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
47596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47606 PYTHON=$ac_cv_path_PYTHON
47607 if test -n "$PYTHON"; then
47608 { echo "$as_me:$LINENO: result: $PYTHON" >&5
47609 echo "${ECHO_T}$PYTHON" >&6; }
47611 { echo "$as_me:$LINENO: result: no" >&5
47612 echo "${ECHO_T}no" >&6; }
47616 if test "x$PYTHON" = "x"; then
47622 if test "$wxUSE_MENUS" = "yes"; then
47623 cat >>confdefs.h <<\_ACEOF
47624 #define wxUSE_MENUS 1
47627 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
47630 if test "$wxUSE_METAFILE" = "yes"; then
47631 cat >>confdefs.h <<\_ACEOF
47632 #define wxUSE_METAFILE 1
47637 if test "$wxUSE_MIMETYPE" = "yes"; then
47638 cat >>confdefs.h <<\_ACEOF
47639 #define wxUSE_MIMETYPE 1
47644 if test "$wxUSE_MINIFRAME" = "yes"; then
47645 cat >>confdefs.h <<\_ACEOF
47646 #define wxUSE_MINIFRAME 1
47651 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47652 cat >>confdefs.h <<\_ACEOF
47653 #define wxUSE_SYSTEM_OPTIONS 1
47658 if test "$wxUSE_TASKBARICON" = "yes"; then
47659 cat >>confdefs.h <<\_ACEOF
47660 #define wxUSE_TASKBARICON 1
47663 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
47667 if test "$wxUSE_VALIDATORS" = "yes"; then
47668 cat >>confdefs.h <<\_ACEOF
47669 #define wxUSE_VALIDATORS 1
47672 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47675 if test "$wxUSE_PALETTE" = "yes" ; then
47676 if test "$wxUSE_DFB" = 1; then
47677 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47678 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47681 cat >>confdefs.h <<\_ACEOF
47682 #define wxUSE_PALETTE 1
47688 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47689 LIBS=" -lunicows $LIBS"
47693 if test "$wxUSE_RICHTEXT" = "yes"; then
47694 cat >>confdefs.h <<\_ACEOF
47695 #define wxUSE_RICHTEXT 1
47699 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47703 if test "$wxUSE_IMAGE" = "yes" ; then
47704 cat >>confdefs.h <<\_ACEOF
47705 #define wxUSE_IMAGE 1
47709 if test "$wxUSE_GIF" = "yes" ; then
47710 cat >>confdefs.h <<\_ACEOF
47711 #define wxUSE_GIF 1
47716 if test "$wxUSE_PCX" = "yes" ; then
47717 cat >>confdefs.h <<\_ACEOF
47718 #define wxUSE_PCX 1
47723 if test "$wxUSE_TGA" = "yes" ; then
47724 cat >>confdefs.h <<\_ACEOF
47725 #define wxUSE_TGA 1
47730 if test "$wxUSE_IFF" = "yes" ; then
47731 cat >>confdefs.h <<\_ACEOF
47732 #define wxUSE_IFF 1
47737 if test "$wxUSE_PNM" = "yes" ; then
47738 cat >>confdefs.h <<\_ACEOF
47739 #define wxUSE_PNM 1
47744 if test "$wxUSE_XPM" = "yes" ; then
47745 cat >>confdefs.h <<\_ACEOF
47746 #define wxUSE_XPM 1
47751 if test "$wxUSE_ICO_CUR" = "yes" ; then
47752 cat >>confdefs.h <<\_ACEOF
47753 #define wxUSE_ICO_CUR 1
47760 if test "$wxUSE_ABOUTDLG" = "yes"; then
47761 cat >>confdefs.h <<\_ACEOF
47762 #define wxUSE_ABOUTDLG 1
47767 if test "$wxUSE_CHOICEDLG" = "yes"; then
47768 cat >>confdefs.h <<\_ACEOF
47769 #define wxUSE_CHOICEDLG 1
47774 if test "$wxUSE_COLOURDLG" = "yes"; then
47775 cat >>confdefs.h <<\_ACEOF
47776 #define wxUSE_COLOURDLG 1
47781 if test "$wxUSE_FILEDLG" = "yes"; then
47782 cat >>confdefs.h <<\_ACEOF
47783 #define wxUSE_FILEDLG 1
47788 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47789 cat >>confdefs.h <<\_ACEOF
47790 #define wxUSE_FINDREPLDLG 1
47795 if test "$wxUSE_FONTDLG" = "yes"; then
47796 cat >>confdefs.h <<\_ACEOF
47797 #define wxUSE_FONTDLG 1
47802 if test "$wxUSE_DIRDLG" = "yes"; then
47803 if test "$wxUSE_TREECTRL" != "yes"; then
47804 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47805 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47807 cat >>confdefs.h <<\_ACEOF
47808 #define wxUSE_DIRDLG 1
47814 if test "$wxUSE_MSGDLG" = "yes"; then
47815 cat >>confdefs.h <<\_ACEOF
47816 #define wxUSE_MSGDLG 1
47821 if test "$wxUSE_NUMBERDLG" = "yes"; then
47822 cat >>confdefs.h <<\_ACEOF
47823 #define wxUSE_NUMBERDLG 1
47828 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47829 cat >>confdefs.h <<\_ACEOF
47830 #define wxUSE_PROGRESSDLG 1
47835 if test "$wxUSE_SPLASH" = "yes"; then
47836 cat >>confdefs.h <<\_ACEOF
47837 #define wxUSE_SPLASH 1
47840 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47843 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47844 cat >>confdefs.h <<\_ACEOF
47845 #define wxUSE_STARTUP_TIPS 1
47850 if test "$wxUSE_TEXTDLG" = "yes"; then
47851 cat >>confdefs.h <<\_ACEOF
47852 #define wxUSE_TEXTDLG 1
47857 if test "$wxUSE_WIZARDDLG" = "yes"; then
47858 cat >>confdefs.h <<\_ACEOF
47859 #define wxUSE_WIZARDDLG 1
47862 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47866 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
47867 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
47868 cat >>confdefs.h <<\_ACEOF
47869 #define wxUSE_OWNER_DRAWN 1
47876 if test "$wxUSE_MSW" = 1 ; then
47878 if test "$wxUSE_DC_CACHEING" = "yes"; then
47879 cat >>confdefs.h <<\_ACEOF
47880 #define wxUSE_DC_CACHEING 1
47885 if test "$wxUSE_DIB" = "yes"; then
47886 cat >>confdefs.h <<\_ACEOF
47887 #define wxUSE_WXDIB 1
47892 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
47893 cat >>confdefs.h <<\_ACEOF
47894 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
47899 if test "$wxUSE_UXTHEME" = "yes"; then
47900 cat >>confdefs.h <<\_ACEOF
47901 #define wxUSE_UXTHEME 1
47908 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
47909 cat >>confdefs.h <<\_ACEOF
47910 #define wxUSE_AUTOID_MANAGEMENT 1
47915 if test "$USE_WIN32" = 1 ; then
47916 if test "$wxUSE_INICONF" = "yes"; then
47917 cat >>confdefs.h <<\_ACEOF
47918 #define wxUSE_INICONF 1
47923 if test "$wxUSE_REGKEY" = "yes"; then
47924 cat >>confdefs.h <<\_ACEOF
47925 #define wxUSE_REGKEY 1
47932 if test "$wxUSE_MAC" = 1; then
47933 wxUSE_GRAPHICS_CONTEXT="yes"
47936 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47938 if test "$wxUSE_MSW" = 1; then
47939 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
47940 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
47941 if test "${wx_cv_lib_gdiplus+set}" = set; then
47942 echo $ECHO_N "(cached) $ECHO_C" >&6
47946 ac_cpp='$CXXCPP $CPPFLAGS'
47947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47951 cat >conftest.$ac_ext <<_ACEOF
47954 cat confdefs.h >>conftest.$ac_ext
47955 cat >>conftest.$ac_ext <<_ACEOF
47956 /* end confdefs.h. */
47957 #include <windows.h>
47958 #include <gdiplus.h>
47963 using namespace Gdiplus;
47969 rm -f conftest.$ac_objext
47970 if { (ac_try="$ac_compile"
47971 case "(($ac_try" in
47972 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47973 *) ac_try_echo
=$ac_try;;
47975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47976 (eval "$ac_compile") 2>conftest.er1
47978 grep -v '^ *+' conftest.er1
>conftest.err
47980 cat conftest.err
>&5
47981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47982 (exit $ac_status); } && {
47983 test -z "$ac_cxx_werror_flag" ||
47984 test ! -s conftest.err
47985 } && test -s conftest.
$ac_objext; then
47986 wx_cv_lib_gdiplus
=yes
47988 echo "$as_me: failed program was:" >&5
47989 sed 's/^/| /' conftest.
$ac_ext >&5
47991 wx_cv_lib_gdiplus
=no
47995 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47997 ac_cpp
='$CPP $CPPFLAGS'
47998 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47999 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48000 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48005 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48006 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48007 if test "$wx_cv_lib_gdiplus" = "yes"; then
48010 elif test "$wxUSE_GTK" = 1; then
48013 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48014 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48016 if test -n "$PKG_CONFIG"; then
48017 if test -n "$CAIRO_CFLAGS"; then
48018 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
48020 if test -n "$PKG_CONFIG" && \
48021 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48022 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48025 (exit $ac_status); }; then
48026 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48034 if test -n "$PKG_CONFIG"; then
48035 if test -n "$CAIRO_LIBS"; then
48036 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
48038 if test -n "$PKG_CONFIG" && \
48039 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48040 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48043 (exit $ac_status); }; then
48044 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48055 if test $pkg_failed = yes; then
48057 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48058 _pkg_short_errors_supported
=yes
48060 _pkg_short_errors_supported
=no
48062 if test $_pkg_short_errors_supported = yes; then
48063 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48065 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48067 # Put the nasty error message in config.log where it belongs
48068 echo "$CAIRO_PKG_ERRORS" >&5
48070 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48071 echo "$as_me: WARNING: Cairo library not found" >&2;}
48073 elif test $pkg_failed = untried
; then
48074 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48075 echo "$as_me: WARNING: Cairo library not found" >&2;}
48078 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
48079 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
48080 { echo "$as_me:$LINENO: result: yes" >&5
48081 echo "${ECHO_T}yes" >&6; }
48088 if test "$wx_has_graphics" = 1; then
48089 cat >>confdefs.h
<<\_ACEOF
48090 #define wxUSE_GRAPHICS_CONTEXT 1
48094 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
48095 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
48102 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
48105 if test "$wxUSE_GTK" = 1; then
48106 wxUSE_GSTREAMER
="no"
48108 GST_VERSION_MAJOR
=0
48109 GST_VERSION_MINOR
=10
48110 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
48112 if test "$wxUSE_GSTREAMER8" = "no"; then
48115 { echo "$as_me:$LINENO: checking for GST" >&5
48116 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48118 if test -n "$PKG_CONFIG"; then
48119 if test -n "$GST_CFLAGS"; then
48120 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
48122 if test -n "$PKG_CONFIG" && \
48123 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48124 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48127 (exit $ac_status); }; then
48128 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48136 if test -n "$PKG_CONFIG"; then
48137 if test -n "$GST_LIBS"; then
48138 pkg_cv_GST_LIBS
="$GST_LIBS"
48140 if test -n "$PKG_CONFIG" && \
48141 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48142 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48145 (exit $ac_status); }; then
48146 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48157 if test $pkg_failed = yes; then
48159 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48160 _pkg_short_errors_supported
=yes
48162 _pkg_short_errors_supported
=no
48164 if test $_pkg_short_errors_supported = yes; then
48165 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48167 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48169 # Put the nasty error message in config.log where it belongs
48170 echo "$GST_PKG_ERRORS" >&5
48173 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48174 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48175 GST_VERSION_MINOR
=8
48178 elif test $pkg_failed = untried
; then
48180 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48181 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48182 GST_VERSION_MINOR
=8
48186 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
48187 GST_LIBS
=$pkg_cv_GST_LIBS
48188 { echo "$as_me:$LINENO: result: yes" >&5
48189 echo "${ECHO_T}yes" >&6; }
48191 wxUSE_GSTREAMER
="yes"
48192 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48196 GST_VERSION_MINOR
=8
48199 if test $GST_VERSION_MINOR = "8"; then
48200 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
48203 { echo "$as_me:$LINENO: checking for GST" >&5
48204 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48206 if test -n "$PKG_CONFIG"; then
48207 if test -n "$GST_CFLAGS"; then
48208 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
48210 if test -n "$PKG_CONFIG" && \
48211 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48212 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48215 (exit $ac_status); }; then
48216 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48224 if test -n "$PKG_CONFIG"; then
48225 if test -n "$GST_LIBS"; then
48226 pkg_cv_GST_LIBS
="$GST_LIBS"
48228 if test -n "$PKG_CONFIG" && \
48229 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48230 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48233 (exit $ac_status); }; then
48234 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48245 if test $pkg_failed = yes; then
48247 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48248 _pkg_short_errors_supported
=yes
48250 _pkg_short_errors_supported
=no
48252 if test $_pkg_short_errors_supported = yes; then
48253 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48255 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48257 # Put the nasty error message in config.log where it belongs
48258 echo "$GST_PKG_ERRORS" >&5
48261 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48262 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48264 elif test $pkg_failed = untried
; then
48266 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48267 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48270 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
48271 GST_LIBS
=$pkg_cv_GST_LIBS
48272 { echo "$as_me:$LINENO: result: yes" >&5
48273 echo "${ECHO_T}yes" >&6; }
48274 wxUSE_GSTREAMER
="yes"
48279 if test "$wxUSE_GSTREAMER" = "yes"; then
48280 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
48281 EXTRALIBS_MEDIA
="$GST_LIBS"
48283 cat >>confdefs.h
<<\_ACEOF
48284 #define wxUSE_GSTREAMER 1
48292 if test $USE_MEDIA = 1; then
48293 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
48294 cat >>confdefs.h
<<\_ACEOF
48295 #define wxUSE_MEDIACTRL 1
48299 if test "$wxUSE_MEDIACTRL" = "yes"; then
48300 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
48301 echo "$as_me: error: GStreamer not available" >&2;}
48302 { (exit 1); exit 1; }; }
48304 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
48305 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
48311 if test "$cross_compiling" != "no"; then
48314 OSINFO
=`uname -s -r -m`
48315 OSINFO
="\"$OSINFO\""
48318 cat >>confdefs.h
<<_ACEOF
48319 #define WXWIN_OS_DESCRIPTION $OSINFO
48324 if test "x$prefix" != "xNONE"; then
48327 wxPREFIX
=$ac_default_prefix
48330 cat >>confdefs.h
<<_ACEOF
48331 #define wxINSTALL_PREFIX "$wxPREFIX"
48337 STD_BASE_LIBS
="base"
48339 BUILT_WX_LIBS
="base"
48340 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
48342 if test "$wxUSE_SOCKETS" = "yes" ; then
48343 STD_BASE_LIBS
="net $STD_BASE_LIBS"
48344 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
48346 if test "$wxUSE_XML" = "yes" ; then
48347 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
48348 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
48351 if test "$wxUSE_GUI" = "yes"; then
48352 STD_GUI_LIBS
="adv core"
48353 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
48355 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48356 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
48357 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
48359 if test "$wxUSE_HTML" = "yes" ; then
48360 STD_GUI_LIBS
="html $STD_GUI_LIBS"
48361 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
48363 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48364 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
48366 if test "$wxUSE_OPENGL" = "yes" ; then
48367 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
48369 if test "$wxUSE_AUI" = "yes" ; then
48370 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
48372 if test "$wxUSE_PROPGRID" = "yes" ; then
48373 BUILT_WX_LIBS
="propgrid $BUILT_WX_LIBS"
48375 if test "$wxUSE_RIBBON" = "yes" ; then
48376 BUILT_WX_LIBS
="ribbon $BUILT_WX_LIBS"
48378 if test "$wxUSE_RICHTEXT" = "yes" ; then
48379 BUILT_WX_LIBS
="richtext $BUILT_WX_LIBS"
48381 if test "$wxUSE_STC" = "yes" ; then
48382 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
48384 if test "$wxUSE_XRC" = "yes" ; then
48385 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
48386 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
48397 if test "$wxUSE_MAC" = 1 ; then
48398 if test "$USE_DARWIN" = 1; then
48399 if test "$wxUSE_OSX_IPHONE" = 1; then
48400 EXTRA_FRAMEWORKS
="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
48402 EXTRA_FRAMEWORKS
="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
48406 if test "$wxUSE_OLD_COCOA" = 1 ; then
48407 EXTRA_FRAMEWORKS
="-framework IOKit -framework Cocoa"
48408 if test "$wxUSE_MEDIACTRL" = "yes"; then
48409 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
48412 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
48413 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48416 LDFLAGS
="$LDFLAGS $EXTRA_FRAMEWORKS"
48417 WXCONFIG_LDFLAGS
="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
48419 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48421 if test "$wxUSE_GUI" = "yes"; then
48424 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48425 erase event exec font image minimal render \
48426 shaped svg taborder vscroll widgets wrapsizer"
48428 if test "$wxUSE_MONOLITHIC" != "yes"; then
48429 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
48431 if test "$TOOLKIT" = "MSW"; then
48432 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
48433 if test "$wxUSE_UNIVERSAL" != "yes"; then
48434 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
48437 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48438 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
48441 SAMPLES_SUBDIRS
="console"
48442 if test "$wxUSE_SOCKETS" = "yes" ; then
48443 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
48445 if test "$wxUSE_IPC" = "yes" ; then
48446 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
48451 if test "x$INTELCC" = "xyes" ; then
48452 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684,2259"
48453 elif test "$GCC" = yes ; then
48454 CWARNINGS
="-Wall -Wundef"
48457 if test "x$INTELCXX" = "xyes" ; then
48458 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
48459 elif test "$GXX" = yes ; then
48460 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
48461 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
48462 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
48463 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
48464 echo $ECHO_N "(cached) $ECHO_C" >&6
48466 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
="no, unknown"
48469 ac_cpp
='$CXXCPP $CPPFLAGS'
48470 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48471 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48472 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48474 ac_save_CXXFLAGS
="$CXXFLAGS"
48475 for ac_arg
in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
48476 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
48477 cat >conftest.
$ac_ext <<_ACEOF
48480 cat confdefs.h
>>conftest.
$ac_ext
48481 cat >>conftest.
$ac_ext <<_ACEOF
48482 /* end confdefs.h. */
48492 rm -f conftest.
$ac_objext
48493 if { (ac_try
="$ac_compile"
48494 case "(($ac_try" in
48495 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48496 *) ac_try_echo=$ac_try;;
48498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48499 (eval "$ac_compile") 2>conftest.er1
48501 grep -v '^ *+' conftest.er1 >conftest.err
48503 cat conftest.err >&5
48504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48505 (exit $ac_status); } && {
48506 test -z "$ac_cxx_werror_flag" ||
48507 test ! -s conftest.err
48508 } && test -s conftest.$ac_objext; then
48509 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
48511 echo "$as_me: failed program was:" >&5
48512 sed 's/^/| /' conftest.$ac_ext >&5
48517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48519 CXXFLAGS="$ac_save_CXXFLAGS"
48521 ac_cpp='$CPP $CPPFLAGS'
48522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48528 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
48529 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
48530 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
48534 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
48535 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
48536 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
48538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48539 (exit $ac_status); }
48540 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
48541 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
48543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48544 (exit $ac_status); }
48545 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
48551 if test "$wxUSE_MAC" = 1 ; then
48552 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
48557 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48558 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48561 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48562 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
48563 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
48566 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48567 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48568 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48569 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
48570 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
48572 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48575 if test "x$MWCC" = "xyes"; then
48577 CC="$CC -cwd source -I-"
48578 CXX="$CXX -cwd source -I-"
48583 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48584 EXTRALIBS_XML="$EXPAT_LINK"
48585 EXTRALIBS_HTML="$MSPACK_LINK"
48586 EXTRALIBS_MEDIA="$GST_LIBS"
48587 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48588 if test "$wxUSE_GUI" = "yes"; then
48589 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48591 if test "$wxUSE_OPENGL" = "yes"; then
48592 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
48595 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
48597 WXCONFIG_LIBS="$LIBS"
48599 if test "$wxUSE_REGEX" = "builtin" ; then
48600 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48602 if test "$wxUSE_EXPAT" = "builtin" ; then
48603 wxconfig_3rdparty="expat $wxconfig_3rdparty"
48605 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48606 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
48608 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48609 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
48611 if test "$wxUSE_LIBPNG" = "builtin" ; then
48612 wxconfig_3rdparty="png $wxconfig_3rdparty"
48614 if test "$wxUSE_ZLIB" = "builtin" ; then
48615 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48618 for i in $wxconfig_3rdparty ; do
48619 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48623 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48626 case "$wxUNIV_THEMES" in
48628 cat >>confdefs.h <<\_ACEOF
48629 #define wxUSE_ALL_THEMES 1
48635 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
48636 cat >>confdefs.h <<_ACEOF
48637 #define wxUSE_THEME_$t 1
48653 if test $wxUSE_MONOLITHIC = "yes" ; then
48659 if test $wxUSE_PLUGINS = "yes" ; then
48665 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48671 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48703 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
48716 TOOLKIT_DESC="GTK+"
48717 if test "$WXGTK2" = 1; then
48718 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48719 if test "$wxUSE_GTKPRINT" = "yes" ; then
48720 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
48722 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48723 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48725 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48726 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48728 if test "$wxUSE_LIBHILDON" = "yes"; then
48729 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48731 if test "$wxUSE_LIBHILDON2" = "yes"; then
48732 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48735 if test "$TOOLKIT_EXTRA" != ""; then
48736 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48742 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
48746 TOOLKIT_DESC="base only"
48750 if test "$wxUSE_WINE" = "yes"; then
48751 BAKEFILE_FORCE_PLATFORM=win32
48754 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
48756 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
48757 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
48758 if test "${wx_cv_gcc_pch_bug+set}" = set; then
48759 echo $ECHO_N "(cached) $ECHO_C" >&6
48762 echo '#include <stdio.h>
48763 const wchar_t test_var[] = L"awidetest";' > conftest.h
48765 echo '#include "conftest.h"
48768 printf("%ls", test_var);
48772 wx_cv_gcc_pch_bug="pch not supported"
48774 if $CXX conftest.h >/dev/null 2>&1
48778 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48780 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48781 grep awidetest >/dev/null
48783 wx_cv_gcc_pch_bug=no
48785 wx_cv_gcc_pch_bug=yes
48790 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48793 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48794 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
48796 if test "$wx_cv_gcc_pch_bug" = yes; then
48807 if test "x$BAKEFILE_HOST" = "x"; then
48808 if test "x${host}" = "x" ; then
48809 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48810 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48811 { (exit 1); exit 1; }; }
48814 BAKEFILE_HOST="${host}"
48817 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48819 if test -n "$ac_tool_prefix"; then
48820 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48821 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48822 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48824 if test "${ac_cv_prog_RANLIB+set}" = set; then
48825 echo $ECHO_N "(cached) $ECHO_C" >&6
48827 if test -n "$RANLIB"; then
48828 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48831 for as_dir in $PATH
48834 test -z "$as_dir" && as_dir=.
48835 for ac_exec_ext in '' $ac_executable_extensions; do
48836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48837 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48847 RANLIB=$ac_cv_prog_RANLIB
48848 if test -n "$RANLIB"; then
48849 { echo "$as_me:$LINENO: result: $RANLIB" >&5
48850 echo "${ECHO_T}$RANLIB" >&6; }
48852 { echo "$as_me:$LINENO: result: no" >&5
48853 echo "${ECHO_T}no" >&6; }
48858 if test -z "$ac_cv_prog_RANLIB"; then
48859 ac_ct_RANLIB=$RANLIB
48860 # Extract the first word of "ranlib", so it can be a program name with args.
48861 set dummy ranlib; ac_word=$2
48862 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48864 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48865 echo $ECHO_N "(cached) $ECHO_C" >&6
48867 if test -n "$ac_ct_RANLIB"; then
48868 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
48870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48871 for as_dir in $PATH
48874 test -z "$as_dir" && as_dir=.
48875 for ac_exec_ext in '' $ac_executable_extensions; do
48876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48877 ac_cv_prog_ac_ct_RANLIB="ranlib"
48878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48887 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
48888 if test -n "$ac_ct_RANLIB"; then
48889 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48890 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
48892 { echo "$as_me:$LINENO: result: no" >&5
48893 echo "${ECHO_T}no" >&6; }
48896 if test "x$ac_ct_RANLIB" = x; then
48899 case $cross_compiling:$ac_tool_warned in
48901 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48902 whose name does not start with the host triplet. If you think this
48903 configuration is useful to you, please write to autoconf@gnu.org." >&5
48904 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48905 whose name does not start with the host triplet. If you think this
48906 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48907 ac_tool_warned=yes ;;
48909 RANLIB=$ac_ct_RANLIB
48912 RANLIB="$ac_cv_prog_RANLIB"
48915 # Find a good install program. We prefer a C program (faster),
48916 # so one script is as good as another. But avoid the broken or
48917 # incompatible versions:
48918 # SysV /etc/install, /usr/sbin/install
48919 # SunOS /usr/etc/install
48920 # IRIX /sbin/install
48922 # AmigaOS /C/install, which installs bootblocks on floppy discs
48923 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
48924 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
48925 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
48926 # OS/2's system install, which has a completely different semantic
48927 # ./install, which can be erroneously created by make from ./install.sh.
48928 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48929 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
48930 if test -z "$INSTALL"; then
48931 if test "${ac_cv_path_install+set}" = set; then
48932 echo $ECHO_N "(cached) $ECHO_C" >&6
48934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48935 for as_dir in $PATH
48938 test -z "$as_dir" && as_dir=.
48939 # Account for people who put trailing slashes in PATH elements.
48941 ./ | .// | /cC/* | \
48942 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
48943 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
48946 # OSF1 and SCO ODT 3.0 have their own names for install.
48947 # Don't use installbsd from OSF since it installs stuff as root
48949 for ac_prog in ginstall scoinst install; do
48950 for ac_exec_ext in '' $ac_executable_extensions; do
48951 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
48952 if test $ac_prog = install &&
48953 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48954 # AIX install. It has an incompatible calling convention.
48956 elif test $ac_prog = install &&
48957 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48958 # program-specific install script used by HP pwplus--don't use.
48961 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
48974 if test "${ac_cv_path_install+set}" = set; then
48975 INSTALL=$ac_cv_path_install
48977 # As a last resort, use the slow shell script. Don't cache a
48978 # value for INSTALL within a source directory, because that will
48979 # break other packages using the cache if that directory is
48980 # removed, or if the value is a relative name.
48981 INSTALL=$ac_install_sh
48984 { echo "$as_me:$LINENO: result: $INSTALL" >&5
48985 echo "${ECHO_T}$INSTALL" >&6; }
48987 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
48988 # It thinks the first close brace ends the variable substitution.
48989 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
48991 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
48993 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
48995 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
48996 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
48998 if test "$LN_S" = "ln -s"; then
48999 { echo "$as_me:$LINENO: result: yes" >&5
49000 echo "${ECHO_T}yes" >&6; }
49002 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49003 echo "${ECHO_T}no, using $LN_S" >&6; }
49007 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49008 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49009 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49010 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49011 echo $ECHO_N "(cached) $ECHO_C" >&6
49013 cat >conftest.make <<\_ACEOF
49016 @echo '@@@%%%=$(MAKE)=@@@%%%'
49018 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49019 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
49020 *@@@%%%=?*=@@@%%%*)
49021 eval ac_cv_prog_make_${ac_make}_set=yes;;
49023 eval ac_cv_prog_make_${ac_make}_set=no;;
49025 rm -f conftest.make
49027 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49028 { echo "$as_me:$LINENO: result: yes" >&5
49029 echo "${ECHO_T}yes" >&6; }
49032 { echo "$as_me:$LINENO: result: no" >&5
49033 echo "${ECHO_T}no" >&6; }
49034 SET_MAKE="MAKE=${MAKE-make}"
49039 if test "x$SUNCXX" = "xyes"; then
49041 AROPTIONS="-xar -o"
49043 elif test "x$SGICC" = "xyes"; then
49048 if test -n "$ac_tool_prefix"; then
49049 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49050 set dummy ${ac_tool_prefix}ar; ac_word=$2
49051 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49053 if test "${ac_cv_prog_AR+set}" = set; then
49054 echo $ECHO_N "(cached) $ECHO_C" >&6
49056 if test -n "$AR"; then
49057 ac_cv_prog_AR="$AR" # Let the user override the test.
49059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49060 for as_dir in $PATH
49063 test -z "$as_dir" && as_dir=.
49064 for ac_exec_ext in '' $ac_executable_extensions; do
49065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49066 ac_cv_prog_AR="${ac_tool_prefix}ar"
49067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49077 if test -n "$AR"; then
49078 { echo "$as_me:$LINENO: result: $AR" >&5
49079 echo "${ECHO_T}$AR" >&6; }
49081 { echo "$as_me:$LINENO: result: no" >&5
49082 echo "${ECHO_T}no" >&6; }
49087 if test -z "$ac_cv_prog_AR"; then
49089 # Extract the first word of "ar", so it can be a program name with args.
49090 set dummy ar; ac_word=$2
49091 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49093 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49094 echo $ECHO_N "(cached) $ECHO_C" >&6
49096 if test -n "$ac_ct_AR"; then
49097 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49100 for as_dir in $PATH
49103 test -z "$as_dir" && as_dir=.
49104 for ac_exec_ext in '' $ac_executable_extensions; do
49105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49106 ac_cv_prog_ac_ct_AR="ar"
49107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49116 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49117 if test -n "$ac_ct_AR"; then
49118 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49119 echo "${ECHO_T}$ac_ct_AR" >&6; }
49121 { echo "$as_me:$LINENO: result: no" >&5
49122 echo "${ECHO_T}no" >&6; }
49125 if test "x$ac_ct_AR" = x; then
49128 case $cross_compiling:$ac_tool_warned in
49130 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49131 whose name does not start with the host triplet. If you think this
49132 configuration is useful to you, please write to autoconf@gnu.org." >&5
49133 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49134 whose name does not start with the host triplet. If you think this
49135 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49136 ac_tool_warned=yes ;;
49141 AR="$ac_cv_prog_AR"
49148 if test -n "$ac_tool_prefix"; then
49149 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49150 set dummy ${ac_tool_prefix}strip; ac_word=$2
49151 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49153 if test "${ac_cv_prog_STRIP+set}" = set; then
49154 echo $ECHO_N "(cached) $ECHO_C" >&6
49156 if test -n "$STRIP"; then
49157 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49160 for as_dir in $PATH
49163 test -z "$as_dir" && as_dir=.
49164 for ac_exec_ext in '' $ac_executable_extensions; do
49165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49166 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49167 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49176 STRIP=$ac_cv_prog_STRIP
49177 if test -n "$STRIP"; then
49178 { echo "$as_me:$LINENO: result: $STRIP" >&5
49179 echo "${ECHO_T}$STRIP" >&6; }
49181 { echo "$as_me:$LINENO: result: no" >&5
49182 echo "${ECHO_T}no" >&6; }
49187 if test -z "$ac_cv_prog_STRIP"; then
49189 # Extract the first word of "strip", so it can be a program name with args.
49190 set dummy strip; ac_word=$2
49191 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49193 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49194 echo $ECHO_N "(cached) $ECHO_C" >&6
49196 if test -n "$ac_ct_STRIP"; then
49197 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49200 for as_dir in $PATH
49203 test -z "$as_dir" && as_dir=.
49204 for ac_exec_ext in '' $ac_executable_extensions; do
49205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49206 ac_cv_prog_ac_ct_STRIP="strip"
49207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49216 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49217 if test -n "$ac_ct_STRIP"; then
49218 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49219 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49221 { echo "$as_me:$LINENO: result: no" >&5
49222 echo "${ECHO_T}no" >&6; }
49225 if test "x$ac_ct_STRIP" = x; then
49228 case $cross_compiling:$ac_tool_warned in
49230 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49231 whose name does not start with the host triplet. If you think this
49232 configuration is useful to you, please write to autoconf@gnu.org." >&5
49233 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49234 whose name does not start with the host triplet. If you think this
49235 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49236 ac_tool_warned=yes ;;
49241 STRIP="$ac_cv_prog_STRIP"
49244 if test -n "$ac_tool_prefix"; then
49245 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49246 set dummy ${ac_tool_prefix}nm; ac_word=$2
49247 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49249 if test "${ac_cv_prog_NM+set}" = set; then
49250 echo $ECHO_N "(cached) $ECHO_C" >&6
49252 if test -n "$NM"; then
49253 ac_cv_prog_NM="$NM" # Let the user override the test.
49255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49256 for as_dir in $PATH
49259 test -z "$as_dir" && as_dir=.
49260 for ac_exec_ext in '' $ac_executable_extensions; do
49261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49262 ac_cv_prog_NM="${ac_tool_prefix}nm"
49263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49273 if test -n "$NM"; then
49274 { echo "$as_me:$LINENO: result: $NM" >&5
49275 echo "${ECHO_T}$NM" >&6; }
49277 { echo "$as_me:$LINENO: result: no" >&5
49278 echo "${ECHO_T}no" >&6; }
49283 if test -z "$ac_cv_prog_NM"; then
49285 # Extract the first word of "nm", so it can be a program name with args.
49286 set dummy nm; ac_word=$2
49287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49289 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49290 echo $ECHO_N "(cached) $ECHO_C" >&6
49292 if test -n "$ac_ct_NM"; then
49293 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49296 for as_dir in $PATH
49299 test -z "$as_dir" && as_dir=.
49300 for ac_exec_ext in '' $ac_executable_extensions; do
49301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49302 ac_cv_prog_ac_ct_NM="nm"
49303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49312 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49313 if test -n "$ac_ct_NM"; then
49314 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49315 echo "${ECHO_T}$ac_ct_NM" >&6; }
49317 { echo "$as_me:$LINENO: result: no" >&5
49318 echo "${ECHO_T}no" >&6; }
49321 if test "x$ac_ct_NM" = x; then
49324 case $cross_compiling:$ac_tool_warned in
49326 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49327 whose name does not start with the host triplet. If you think this
49328 configuration is useful to you, please write to autoconf@gnu.org." >&5
49329 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49330 whose name does not start with the host triplet. If you think this
49331 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49332 ac_tool_warned=yes ;;
49337 NM="$ac_cv_prog_NM"
49341 { echo "$as_me:$LINENO: checking for command to install directories" >&5
49342 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
49343 INSTALL_TEST_DIR=acbftest$$
49344 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
49345 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
49346 rmdir $INSTALL_TEST_DIR
49347 INSTALL_DIR='$(INSTALL) -d'
49348 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
49349 echo "${ECHO_T}$INSTALL -d" >&6; }
49351 INSTALL_DIR="mkdir -p"
49352 { echo "$as_me:$LINENO: result: mkdir -p" >&5
49353 echo "${ECHO_T}mkdir -p" >&6; }
49358 case ${BAKEFILE_HOST} in
49359 *-*-cygwin* | *-*-mingw32* )
49360 LDFLAGS_GUI="-mwindows"
49366 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49367 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49368 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49369 echo $ECHO_N "(cached) $ECHO_C" >&6
49372 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49373 egrep -s GNU > /dev/null); then
49374 bakefile_cv_prog_makeisgnu="yes"
49376 bakefile_cv_prog_makeisgnu="no"
49380 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49381 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49383 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49400 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49401 case "${BAKEFILE_HOST}" in
49408 *-pc-os2_emx | *-pc-os2-emx )
49418 powerpc-apple-macos* )
49427 case "$BAKEFILE_FORCE_PLATFORM" in
49448 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
49449 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
49450 { (exit 1); exit 1; }; }
49465 # Check whether --enable-omf was given.
49466 if test "${enable_omf+set}" = set; then
49467 enableval=$enable_omf; bk_os2_use_omf="$enableval"
49471 case "${BAKEFILE_HOST}" in
49473 if test "x$GCC" = "xyes"; then
49474 CFLAGS="$CFLAGS -fno-common"
49475 CXXFLAGS="$CXXFLAGS -fno-common"
49477 if test "x$XLCC" = "xyes"; then
49478 CFLAGS="$CFLAGS -qnocommon"
49479 CXXFLAGS="$CXXFLAGS -qnocommon"
49483 *-pc-os2_emx | *-pc-os2-emx )
49484 if test "x$bk_os2_use_omf" = "xyes" ; then
49487 LDFLAGS="-Zomf $LDFLAGS"
49488 CFLAGS="-Zomf $CFLAGS"
49489 CXXFLAGS="-Zomf $CXXFLAGS"
49497 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
49503 SO_SUFFIX_MODULE="so"
49508 DLLPREFIX_MODULE=""
49512 case "${BAKEFILE_HOST}" in
49517 SO_SUFFIX_MODULE="sl"
49521 SO_SUFFIX_MODULE="a"
49525 SO_SUFFIX_MODULE="dll"
49526 DLLIMP_SUFFIX="dll.a"
49533 SO_SUFFIX_MODULE="dll"
49534 DLLIMP_SUFFIX="dll.a"
49544 *-pc-os2_emx | *-pc-os2-emx )
49546 SO_SUFFIX_MODULE="dll"
49547 DLLIMP_SUFFIX=$OS2_LIBEXT
49551 LIBEXT=".$OS2_LIBEXT"
49556 SO_SUFFIX_MODULE="bundle"
49560 if test "x$DLLIMP_SUFFIX" = "x" ; then
49561 DLLIMP_SUFFIX="$SO_SUFFIX"
49576 if test "x$GCC" = "xyes"; then
49580 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49581 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49584 case "${BAKEFILE_HOST}" in
49586 if test "x$GCC" != "xyes"; then
49587 LDFLAGS="$LDFLAGS -L/usr/lib"
49589 SHARED_LD_CC="${CC} -b -o"
49590 SHARED_LD_CXX="${CXX} -b -o"
49596 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
49598 elif test "x$SUNCXX" = "xyes"; then
49599 SHARED_LD_CC="${CC} -G -o"
49600 SHARED_LD_CXX="${CXX} -G -o"
49606 if test "x$SUNCXX" = xyes ; then
49607 SHARED_LD_CC="${CC} -G -o"
49608 SHARED_LD_CXX="${CXX} -G -o"
49616 cat <<EOF >shared-ld-sh
49618 #-----------------------------------------------------------------------------
49619 #-- Name: distrib/mac/shared-ld-sh
49620 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49621 #-- Author: Gilles Depeyrot
49622 #-- Copyright: (c) 2002 Gilles Depeyrot
49623 #-- Licence: any use permitted
49624 #-----------------------------------------------------------------------------
49629 linking_flag="-dynamiclib"
49630 ldargs="-r -keep_private_externs -nostdlib"
49632 if test "x${D}CXX" = "x"; then
49636 while test ${D}# -gt 0; do
49643 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49644 # collect these options and values
49645 args="${D}{args} ${D}1 ${D}2"
49650 # collect these options and values
49651 ldargs="${D}{ldargs} ${D}1 ${D}2"
49656 # collect these load args
49657 ldargs="${D}{ldargs} ${D}1"
49660 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49661 # collect these options
49662 args="${D}{args} ${D}1"
49665 -dynamiclib|-bundle)
49666 linking_flag="${D}1"
49670 echo "shared-ld: unhandled option '${D}1'"
49674 *.o | *.a | *.dylib)
49675 # collect object files
49676 objects="${D}{objects} ${D}1"
49680 echo "shared-ld: unhandled argument '${D}1'"
49691 # Link one module containing all the others
49693 if test ${D}{verbose} = 1; then
49694 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49696 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49700 # Link the shared library from the single module created, but only if the
49701 # previous command didn't fail:
49703 if test ${D}{status} = 0; then
49704 if test ${D}{verbose} = 1; then
49705 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49707 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49712 # Remove intermediate module
49714 rm -f master.${D}${D}.o
49719 chmod +x shared-ld-sh
49721 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49722 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
49725 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49726 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
49727 if test "${bakefile_cv_gcc31+set}" = set; then
49728 echo $ECHO_N "(cached) $ECHO_C" >&6
49731 cat >conftest.$ac_ext <<_ACEOF
49734 cat confdefs.h >>conftest.$ac_ext
49735 cat >>conftest.$ac_ext <<_ACEOF
49736 /* end confdefs.h. */
49742 #if (__GNUC__ < 3) || \
49743 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49751 rm -f conftest.$ac_objext
49752 if { (ac_try="$ac_compile"
49753 case "(($ac_try" in
49754 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49755 *) ac_try_echo
=$ac_try;;
49757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49758 (eval "$ac_compile") 2>conftest.er1
49760 grep -v '^ *+' conftest.er1
>conftest.err
49762 cat conftest.err
>&5
49763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49764 (exit $ac_status); } && {
49765 test -z "$ac_c_werror_flag" ||
49766 test ! -s conftest.err
49767 } && test -s conftest.
$ac_objext; then
49769 bakefile_cv_gcc31
=yes
49772 echo "$as_me: failed program was:" >&5
49773 sed 's/^/| /' conftest.
$ac_ext >&5
49776 bakefile_cv_gcc31
=no
49781 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49784 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49785 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
49786 if test "$bakefile_cv_gcc31" = "no"; then
49787 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49788 SHARED_LD_CXX
="$SHARED_LD_CC"
49790 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49791 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49794 if test "x$GCC" == "xyes"; then
49795 PIC_FLAG
="-dynamic -fPIC"
49797 if test "x$XLCC" = "xyes"; then
49798 PIC_FLAG
="-dynamic -DPIC"
49803 if test "x$GCC" = "xyes"; then
49806 case "${BAKEFILE_HOST}" in
49808 LD_EXPFULL
="-Wl,-bexpfull"
49812 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
49813 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
49815 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49816 set dummy makeC
++SharedLib
; ac_word
=$2
49817 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49819 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49820 echo $ECHO_N "(cached) $ECHO_C" >&6
49822 if test -n "$AIX_CXX_LD"; then
49823 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
49825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49826 for as_dir
in $PATH
49829 test -z "$as_dir" && as_dir
=.
49830 for ac_exec_ext
in '' $ac_executable_extensions; do
49831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49832 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
49833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49840 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
49843 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
49844 if test -n "$AIX_CXX_LD"; then
49845 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49846 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
49848 { echo "$as_me:$LINENO: result: no" >&5
49849 echo "${ECHO_T}no" >&6; }
49853 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
49854 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
49859 SHARED_LD_CC
="${LD} -nostart -o"
49860 SHARED_LD_CXX
="${LD} -nostart -o"
49864 if test "x$GCC" != "xyes"; then
49869 *-*-cygwin* | *-*-mingw32* )
49871 SHARED_LD_CC
="\$(CC) -shared -o"
49872 SHARED_LD_CXX
="\$(CXX) -shared -o"
49876 *-pc-os2_emx | *-pc-os2-emx )
49877 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49878 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49882 cat <<EOF >dllar.sh
49885 # dllar - a tool to build both a .dll and an .a file
49886 # from a set of object (.o) files for EMX/OS2.
49888 # Written by Andrew Zabolotny, bit@freya.etu.ru
49889 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49891 # This script will accept a set of files on the command line.
49892 # All the public symbols from the .o files will be exported into
49893 # a .DEF file, then linker will be run (through gcc) against them to
49894 # build a shared library consisting of all given .o files. All libraries
49895 # (.a) will be first decompressed into component .o files then act as
49896 # described above. You can optionally give a description (-d "description")
49897 # which will be put into .DLL. To see the list of accepted options (as well
49898 # as command-line format) simply run this program without options. The .DLL
49899 # is built to be imported by name (there is no guarantee that new versions
49900 # of the library you build will have same ordinals for same symbols).
49902 # dllar is free software; you can redistribute it and/or modify
49903 # it under the terms of the GNU General Public License as published by
49904 # the Free Software Foundation; either version 2, or (at your option)
49905 # any later version.
49907 # dllar is distributed in the hope that it will be useful,
49908 # but WITHOUT ANY WARRANTY; without even the implied warranty of
49909 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49910 # GNU General Public License for more details.
49912 # You should have received a copy of the GNU General Public License
49913 # along with dllar; see the file COPYING. If not, write to the Free
49914 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
49917 # To successfuly run this program you will need:
49918 # - Current drive should have LFN support (HPFS, ext2, network, etc)
49919 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
49921 # (used to build the .dll)
49923 # (used to create .def file from .o files)
49925 # (used to create .a file from .def file)
49926 # - GNU text utilites (cat, sort, uniq)
49927 # used to process emxexp output
49928 # - GNU file utilities (mv, rm)
49930 # - lxlite (optional, see flag below)
49931 # (used for general .dll cleanup)
49938 # basnam, variant of basename, which does _not_ remove the path, _iff_
49939 # second argument (suffix to remove) is given
49943 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
49946 echo ${D}1 | sed 's/'${D}2'${D}//'
49949 echo "error in basnam ${D}*"
49955 # Cleanup temporary files and output
49958 for i in ${D}inputFiles ; do
49961 rm -rf \`basnam ${D}i !\`
49968 # Kill result in case of failure as there is just to many stupid make/nmake
49969 # things out there which doesn't do this.
49970 if [ ${D}# -eq 0 ]; then
49971 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
49975 # Print usage and exit script with rc=1.
49977 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
49978 echo ' [-name-mangler-script script.sh]'
49979 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
49980 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
49981 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
49982 echo ' [*.o] [*.a]'
49983 echo '*> "output_file" should have no extension.'
49984 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
49985 echo ' The import library name is derived from this and is set to "name".a,'
49986 echo ' unless overridden by -import'
49987 echo '*> "importlib_name" should have no extension.'
49988 echo ' If it has the .o, or .a extension, it is automatically removed.'
49989 echo ' This name is used as the import library name and may be longer and'
49990 echo ' more descriptive than the DLL name which has to follow the old '
49991 echo ' 8.3 convention of FAT.'
49992 echo '*> "script.sh may be given to override the output_file name by a'
49993 echo ' different name. It is mainly useful if the regular make process'
49994 echo ' of some package does not take into account OS/2 restriction of'
49995 echo ' DLL name lengths. It takes the importlib name as input and is'
49996 echo ' supposed to procude a shorter name as output. The script should'
49997 echo ' expect to get importlib_name without extension and should produce'
49998 echo ' a (max.) 8 letter name without extension.'
49999 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50000 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50001 echo ' These flags will be put at the start of GCC command line.'
50002 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50003 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50004 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50005 echo ' If the last character of a symbol is "*", all symbols beginning'
50006 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50007 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50008 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50009 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50010 echo ' C runtime DLLs.'
50011 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50012 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50013 echo ' unchanged to GCC at the end of command line.'
50014 echo '*> If you create a DLL from a library and you do not specify -o,'
50015 echo ' the basename for DLL and import library will be set to library name,'
50016 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50017 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50018 echo ' library will be renamed into gcc_s.a.'
50021 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50022 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50027 # Execute a command.
50028 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50029 # @Uses Whatever CleanUp() uses.
50035 if [ ${D}rcCmd -ne 0 ]; then
50036 echo "command failed, exit code="${D}rcCmd
50051 CFLAGS="-s -Zcrtdll"
50053 EXPORT_BY_ORDINALS=0
50058 case ${D}curDirS in
50062 curDirS=${D}{curDirS}"/"
50065 # Parse commandline
50068 while [ ${D}1 ]; do
50071 EXPORT_BY_ORDINALS=1;
50081 -name-mangler-script)
50102 exclude_symbols=${D}{exclude_symbols}${D}1" "
50106 library_flags=${D}{library_flags}${D}1" "
50125 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50128 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50129 if [ ${D}omfLinking -eq 1 ]; then
50130 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50132 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50137 if [ ${D}libsToLink -ne 0 ]; then
50138 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50140 for file in ${D}1 ; do
50141 if [ -f ${D}file ]; then
50142 inputFiles="${D}{inputFiles} ${D}file"
50146 if [ ${D}found -eq 0 ]; then
50147 echo "ERROR: No file(s) found: "${D}1
50154 done # iterate cmdline words
50157 if [ -z "${D}inputFiles" ]; then
50158 echo "dllar: no input files"
50162 # Now extract all .o files from .a files
50164 for file in ${D}inputFiles ; do
50175 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50180 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50182 if [ ${D}? -ne 0 ]; then
50183 echo "Failed to create subdirectory ./${D}dirname"
50187 # Append '!' to indicate archive
50188 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50189 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50192 for subfile in ${D}dirname/*.o* ; do
50193 if [ -f ${D}subfile ]; then
50195 if [ -s ${D}subfile ]; then
50196 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50197 newInputFiles="${D}newInputFiles ${D}subfile"
50201 if [ ${D}found -eq 0 ]; then
50202 echo "WARNING: there are no files in archive \\'${D}file\\'"
50206 newInputFiles="${D}{newInputFiles} ${D}file"
50210 inputFiles="${D}newInputFiles"
50212 # Output filename(s).
50214 if [ -z ${D}outFile ]; then
50216 set outFile ${D}inputFiles; outFile=${D}2
50219 # If it is an archive, remove the '!' and the '_%' suffixes
50220 case ${D}outFile in
50222 outFile=\`basnam ${D}outFile _%!\`
50227 case ${D}outFile in
50229 outFile=\`basnam ${D}outFile .dll\`
50232 outFile=\`basnam ${D}outFile .DLL\`
50235 outFile=\`basnam ${D}outFile .o\`
50238 outFile=\`basnam ${D}outFile .obj\`
50241 outFile=\`basnam ${D}outFile .a\`
50244 outFile=\`basnam ${D}outFile .lib\`
50249 case ${D}outimpFile in
50251 outimpFile=\`basnam ${D}outimpFile .a\`
50254 outimpFile=\`basnam ${D}outimpFile .lib\`
50259 if [ -z ${D}outimpFile ]; then
50260 outimpFile=${D}outFile
50262 defFile="${D}{outFile}.def"
50263 arcFile="${D}{outimpFile}.a"
50264 arcFile2="${D}{outimpFile}.lib"
50266 #create ${D}dllFile as something matching 8.3 restrictions,
50267 if [ -z ${D}renameScript ] ; then
50268 dllFile="${D}outFile"
50270 dllFile=\`${D}renameScript ${D}outimpFile\`
50273 if [ ${D}do_backup -ne 0 ] ; then
50274 if [ -f ${D}arcFile ] ; then
50275 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50277 if [ -f ${D}arcFile2 ] ; then
50278 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50282 # Extract public symbols from all the object files.
50283 tmpdefFile=${D}{defFile}_%
50284 rm -f ${D}tmpdefFile
50285 for file in ${D}inputFiles ; do
50290 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50295 # Create the def file.
50297 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50298 dllFile="${D}{dllFile}.dll"
50299 if [ ! -z ${D}description ]; then
50300 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50302 echo "EXPORTS" >> ${D}defFile
50304 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50305 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50307 # Checks if the export is ok or not.
50308 for word in ${D}exclude_symbols; do
50309 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50310 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50314 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50315 sed "=" < ${D}tmpdefFile | \\
50319 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50321 ' > ${D}{tmpdefFile}%
50322 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50324 rm -f ${D}{tmpdefFile}%
50326 cat ${D}tmpdefFile >> ${D}defFile
50327 rm -f ${D}tmpdefFile
50329 # Do linking, create implib, and apply lxlite.
50331 for file in ${D}inputFiles ; do
50336 gccCmdl="${D}gccCmdl ${D}file"
50340 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50341 touch "${D}{outFile}.dll"
50343 doCommand "emximp -o ${D}arcFile ${D}defFile"
50344 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50346 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50349 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50351 doCommand "emxomf -s -l ${D}arcFile"
50361 powerpc
-apple-macos* | \
50362 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
50372 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50373 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50374 { (exit 1); exit 1; }; }
50377 if test "x$PIC_FLAG" != "x" ; then
50378 PIC_FLAG
="$PIC_FLAG -DPIC"
50381 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50382 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
50384 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50385 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
50400 USE_SOTWOSYMLINKS
=0
50404 case "${BAKEFILE_HOST}" in
50405 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
50406 *-*-k*bsd
*-gnu | *-*-mirbsd* )
50407 if test "x$SUNCXX" = "xyes"; then
50410 SONAME_FLAG
="-Wl,-soname,"
50414 USE_SOTWOSYMLINKS
=1
50426 USE_SOTWOSYMLINKS
=1
50444 # Check whether --enable-dependency-tracking was given.
50445 if test "${enable_dependency_tracking+set}" = set; then
50446 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
50450 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50451 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50454 if test "x$bk_use_trackdeps" = "xno" ; then
50456 { echo "$as_me:$LINENO: result: disabled" >&5
50457 echo "${ECHO_T}disabled" >&6; }
50461 if test "x$GCC" = "xyes"; then
50463 case "${BAKEFILE_HOST}" in
50465 DEPSFLAG
="-no-cpp-precomp -MMD"
50471 { echo "$as_me:$LINENO: result: gcc" >&5
50472 echo "${ECHO_T}gcc" >&6; }
50473 elif test "x$MWCC" = "xyes"; then
50476 { echo "$as_me:$LINENO: result: mwcc" >&5
50477 echo "${ECHO_T}mwcc" >&6; }
50478 elif test "x$SUNCC" = "xyes"; then
50481 { echo "$as_me:$LINENO: result: Sun cc" >&5
50482 echo "${ECHO_T}Sun cc" >&6; }
50483 elif test "x$SGICC" = "xyes"; then
50486 { echo "$as_me:$LINENO: result: SGI cc" >&5
50487 echo "${ECHO_T}SGI cc" >&6; }
50488 elif test "x$HPCC" = "xyes"; then
50491 { echo "$as_me:$LINENO: result: HP cc" >&5
50492 echo "${ECHO_T}HP cc" >&6; }
50493 elif test "x$COMPAQCC" = "xyes"; then
50496 { echo "$as_me:$LINENO: result: Compaq cc" >&5
50497 echo "${ECHO_T}Compaq cc" >&6; }
50500 { echo "$as_me:$LINENO: result: none" >&5
50501 echo "${ECHO_T}none" >&6; }
50504 if test $DEPS_TRACKING = 1 ; then
50510 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50511 # script. It is used to track C/C++ files dependencies in portable way.
50513 # Permission is given to use this file in any way.
50515 DEPSMODE=${DEPSMODE}
50516 DEPSFLAG="${DEPSFLAG}"
50519 if test ${D}DEPSMODE = gcc ; then
50520 ${D}* ${D}{DEPSFLAG}
50523 # determine location of created files:
50524 while test ${D}# -gt 0; do
50538 objfilebase=\`basename ${D}objfile\`
50539 builddir=\`dirname ${D}objfile\`
50540 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50541 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50542 depsdir=${D}builddir/${D}DEPSDIRBASE
50543 mkdir -p ${D}depsdir
50545 # if the compiler failed, we're done:
50546 if test ${D}{status} != 0 ; then
50551 # move created file to the location we want it in:
50552 if test -f ${D}depfile ; then
50553 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50556 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50557 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
50558 if test ! -f ${D}depfile ; then
50559 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50560 depfile="${D}objfile.d"
50562 if test -f ${D}depfile ; then
50563 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50569 elif test ${D}DEPSMODE = mwcc ; then
50570 ${D}* || exit ${D}?
50571 # Run mwcc again with -MM and redirect into the dep file we want
50572 # NOTE: We can't use shift here because we need ${D}* to be valid
50574 for arg in ${D}* ; do
50575 if test "${D}prevarg" = "-o"; then
50589 objfilebase=\`basename ${D}objfile\`
50590 builddir=\`dirname ${D}objfile\`
50591 depsdir=${D}builddir/${D}DEPSDIRBASE
50592 mkdir -p ${D}depsdir
50594 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
50597 elif test ${D}DEPSMODE = unixcc; then
50598 ${D}* || exit ${D}?
50599 # Run compiler again with deps flag and redirect into the dep file.
50600 # It doesn't work if the '-o FILE' option is used, but without it the
50601 # dependency file will contain the wrong name for the object. So it is
50602 # removed from the command line, and the dep file is fixed with sed.
50604 while test ${D}# -gt 0; do
50611 eval arg${D}#=\\${D}1
50612 cmd="${D}cmd \\${D}arg${D}#"
50618 objfilebase=\`basename ${D}objfile\`
50619 builddir=\`dirname ${D}objfile\`
50620 depsdir=${D}builddir/${D}DEPSDIRBASE
50621 mkdir -p ${D}depsdir
50623 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
50633 BK_DEPS
="`pwd`/bk-deps"
50641 case ${BAKEFILE_HOST} in
50642 *-*-cygwin* | *-*-mingw32* )
50643 if test -n "$ac_tool_prefix"; then
50644 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50645 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
50646 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50648 if test "${ac_cv_prog_WINDRES+set}" = set; then
50649 echo $ECHO_N "(cached) $ECHO_C" >&6
50651 if test -n "$WINDRES"; then
50652 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
50654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50655 for as_dir
in $PATH
50658 test -z "$as_dir" && as_dir
=.
50659 for ac_exec_ext
in '' $ac_executable_extensions; do
50660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50661 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
50662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50671 WINDRES
=$ac_cv_prog_WINDRES
50672 if test -n "$WINDRES"; then
50673 { echo "$as_me:$LINENO: result: $WINDRES" >&5
50674 echo "${ECHO_T}$WINDRES" >&6; }
50676 { echo "$as_me:$LINENO: result: no" >&5
50677 echo "${ECHO_T}no" >&6; }
50682 if test -z "$ac_cv_prog_WINDRES"; then
50683 ac_ct_WINDRES
=$WINDRES
50684 # Extract the first word of "windres", so it can be a program name with args.
50685 set dummy windres
; ac_word
=$2
50686 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50688 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50689 echo $ECHO_N "(cached) $ECHO_C" >&6
50691 if test -n "$ac_ct_WINDRES"; then
50692 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
50694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50695 for as_dir
in $PATH
50698 test -z "$as_dir" && as_dir
=.
50699 for ac_exec_ext
in '' $ac_executable_extensions; do
50700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50701 ac_cv_prog_ac_ct_WINDRES
="windres"
50702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50711 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
50712 if test -n "$ac_ct_WINDRES"; then
50713 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50714 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
50716 { echo "$as_me:$LINENO: result: no" >&5
50717 echo "${ECHO_T}no" >&6; }
50720 if test "x$ac_ct_WINDRES" = x
; then
50723 case $cross_compiling:$ac_tool_warned in
50725 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50726 whose name does not start with the host triplet. If you think this
50727 configuration is useful to you, please write to autoconf@gnu.org." >&5
50728 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50729 whose name does not start with the host triplet. If you think this
50730 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50731 ac_tool_warned
=yes ;;
50733 WINDRES
=$ac_ct_WINDRES
50736 WINDRES
="$ac_cv_prog_WINDRES"
50741 *-*-darwin* | powerpc
-apple-macos* )
50742 # Extract the first word of "Rez", so it can be a program name with args.
50743 set dummy Rez
; ac_word
=$2
50744 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50746 if test "${ac_cv_prog_REZ+set}" = set; then
50747 echo $ECHO_N "(cached) $ECHO_C" >&6
50749 if test -n "$REZ"; then
50750 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
50752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50753 for as_dir
in $PATH
50756 test -z "$as_dir" && as_dir
=.
50757 for ac_exec_ext
in '' $ac_executable_extensions; do
50758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50759 ac_cv_prog_REZ
="Rez"
50760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50767 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
50770 REZ
=$ac_cv_prog_REZ
50771 if test -n "$REZ"; then
50772 { echo "$as_me:$LINENO: result: $REZ" >&5
50773 echo "${ECHO_T}$REZ" >&6; }
50775 { echo "$as_me:$LINENO: result: no" >&5
50776 echo "${ECHO_T}no" >&6; }
50780 # Extract the first word of "SetFile", so it can be a program name with args.
50781 set dummy SetFile
; ac_word
=$2
50782 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50784 if test "${ac_cv_prog_SETFILE+set}" = set; then
50785 echo $ECHO_N "(cached) $ECHO_C" >&6
50787 if test -n "$SETFILE"; then
50788 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
50790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50791 for as_dir
in $PATH
50794 test -z "$as_dir" && as_dir
=.
50795 for ac_exec_ext
in '' $ac_executable_extensions; do
50796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50797 ac_cv_prog_SETFILE
="SetFile"
50798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50805 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
50808 SETFILE
=$ac_cv_prog_SETFILE
50809 if test -n "$SETFILE"; then
50810 { echo "$as_me:$LINENO: result: $SETFILE" >&5
50811 echo "${ECHO_T}$SETFILE" >&6; }
50813 { echo "$as_me:$LINENO: result: no" >&5
50814 echo "${ECHO_T}no" >&6; }
50829 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.8"
50832 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.8"
50836 # Check whether --enable-precomp-headers was given.
50837 if test "${enable_precomp_headers+set}" = set; then
50838 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
50847 case ${BAKEFILE_HOST} in
50853 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50854 if test "x$GCC" = "xyes"; then
50855 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50856 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
50857 cat >conftest.
$ac_ext <<_ACEOF
50860 cat confdefs.h
>>conftest.
$ac_ext
50861 cat >>conftest.
$ac_ext <<_ACEOF
50862 /* end confdefs.h. */
50868 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50869 There is no PCH support
50872 There is no PCH support
50874 #if (__GNUC__ == 3) && \
50875 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50876 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50877 ( defined(__INTEL_COMPILER) )
50878 There is no PCH support
50885 rm -f conftest.
$ac_objext
50886 if { (ac_try
="$ac_compile"
50887 case "(($ac_try" in
50888 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50889 *) ac_try_echo=$ac_try;;
50891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50892 (eval "$ac_compile") 2>conftest.er1
50894 grep -v '^ *+' conftest.er1 >conftest.err
50896 cat conftest.err >&5
50897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50898 (exit $ac_status); } && {
50899 test -z "$ac_c_werror_flag" ||
50900 test ! -s conftest.err
50901 } && test -s conftest.$ac_objext; then
50903 { echo "$as_me:$LINENO: result: yes" >&5
50904 echo "${ECHO_T}yes" >&6; }
50908 echo "$as_me: failed program was:" >&5
50909 sed 's/^/| /' conftest.$ac_ext >&5
50912 if test "$INTELCXX8" = "yes"; then
50913 { echo "$as_me:$LINENO: result: yes" >&5
50914 echo "${ECHO_T}yes" >&6; }
50916 if test "$INTELCXX10" = "yes"; then
50917 ICC_PCH_CREATE_SWITCH="-pch-create"
50918 ICC_PCH_USE_SWITCH="-pch-use"
50920 ICC_PCH_CREATE_SWITCH="-create-pch"
50921 ICC_PCH_USE_SWITCH="-use-pch"
50924 { echo "$as_me:$LINENO: result: no" >&5
50925 echo "${ECHO_T}no" >&6; }
50930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50931 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
50935 cat <<EOF >bk-make-pch
50938 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50939 # script. It is used to generated precompiled headers.
50941 # Permission is given to use this file in any way.
50948 builddir=\`echo ${D}outfile
| sed -e 's,/\\.pch/.*${D},,g'\
`
50953 while test ${D}{#} -gt 0; do
50957 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
50958 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
50959 headerfile="${D}{incdir}/${D}{header}"
50962 -use-pch|-use_pch|-pch-use )
50967 if test ${D}add_to_cmdline = 1 ; then
50968 compiler="${D}{compiler} ${D}{1}"
50973 if test "x${D}{headerfile}" = "x" ; then
50974 echo "error: can't find header ${D}{header} in include paths" >&2
50976 if test -f ${D}{outfile} ; then
50977 rm -f ${D}{outfile}
50979 mkdir -p \`dirname ${D}{outfile
}\
`
50981 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
50982 mkdir -p ${D}{builddir}/.deps
50983 if test "x${GCC_PCH}" = "x1" ; then
50984 # can do this because gcc is >= 3.4:
50985 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
50986 elif test "x${ICC_PCH}" = "x1" ; then
50987 filename=pch_gen-${D}${D}
50988 file=${D}{filename}.c
50989 dfile=${D}{filename}.d
50990 cat > ${D}file <<EOT
50991 #include "${D}header"
50993 # using -MF icc complains about differing command lines in creation/use
50994 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
50995 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
50996 rm -f ${D}file ${D}dfile ${D}{filename}.o
51002 chmod +x bk-make-pch
51003 BK_MAKE_PCH="`pwd`/bk-make-pch"
51014 COND_BUILD_DEBUG="#"
51015 if test "x$BUILD" = "xdebug" ; then
51016 COND_BUILD_DEBUG=""
51019 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51020 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51021 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51024 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51025 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51026 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51029 COND_BUILD_DEBUG_UNICODE_0="#"
51030 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51031 COND_BUILD_DEBUG_UNICODE_0=""
51034 COND_BUILD_DEBUG_UNICODE_1="#"
51035 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51036 COND_BUILD_DEBUG_UNICODE_1=""
51039 COND_BUILD_RELEASE="#"
51040 if test "x$BUILD" = "xrelease" ; then
51041 COND_BUILD_RELEASE=""
51044 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51045 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51046 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51049 COND_BUILD_RELEASE_UNICODE_0="#"
51050 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51051 COND_BUILD_RELEASE_UNICODE_0=""
51054 COND_BUILD_RELEASE_UNICODE_1="#"
51055 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51056 COND_BUILD_RELEASE_UNICODE_1=""
51059 COND_BUILD_debug="#"
51060 if test "x$BUILD" = "xdebug" ; then
51061 COND_BUILD_debug=""
51064 COND_BUILD_debug_DEBUG_FLAG_default="#"
51065 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51066 COND_BUILD_debug_DEBUG_FLAG_default=""
51069 COND_BUILD_debug_DEBUG_INFO_default="#"
51070 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51071 COND_BUILD_debug_DEBUG_INFO_default=""
51074 COND_BUILD_debug_UNICODE_0="#"
51075 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51076 COND_BUILD_debug_UNICODE_0=""
51079 COND_BUILD_debug_UNICODE_1="#"
51080 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51081 COND_BUILD_debug_UNICODE_1=""
51084 COND_BUILD_release="#"
51085 if test "x$BUILD" = "xrelease" ; then
51086 COND_BUILD_release=""
51089 COND_BUILD_release_DEBUG_INFO_default="#"
51090 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51091 COND_BUILD_release_DEBUG_INFO_default=""
51094 COND_BUILD_release_UNICODE_0="#"
51095 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51096 COND_BUILD_release_UNICODE_0=""
51099 COND_BUILD_release_UNICODE_1="#"
51100 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51101 COND_BUILD_release_UNICODE_1=""
51104 COND_DEBUG_FLAG_0="#"
51105 if test "x$DEBUG_FLAG" = "x0" ; then
51106 COND_DEBUG_FLAG_0=""
51109 COND_DEBUG_FLAG_1="#"
51110 if test "x$DEBUG_FLAG" = "x1" ; then
51111 COND_DEBUG_FLAG_1=""
51114 COND_DEBUG_INFO_0="#"
51115 if test "x$DEBUG_INFO" = "x0" ; then
51116 COND_DEBUG_INFO_0=""
51119 COND_DEBUG_INFO_1="#"
51120 if test "x$DEBUG_INFO" = "x1" ; then
51121 COND_DEBUG_INFO_1=""
51124 COND_DEPS_TRACKING_0="#"
51125 if test "x$DEPS_TRACKING" = "x0" ; then
51126 COND_DEPS_TRACKING_0=""
51129 COND_DEPS_TRACKING_1="#"
51130 if test "x$DEPS_TRACKING" = "x1" ; then
51131 COND_DEPS_TRACKING_1=""
51135 if test "x$GCC_PCH" = "x1" ; then
51140 if test "x$ICC_PCH" = "x1" ; then
51144 COND_MONOLITHIC_0="#"
51145 if test "x$MONOLITHIC" = "x0" ; then
51146 COND_MONOLITHIC_0=""
51149 COND_MONOLITHIC_0_SHARED_0="#"
51150 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51151 COND_MONOLITHIC_0_SHARED_0=""
51154 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51155 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51156 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51159 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51160 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51161 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51164 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51165 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51166 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51169 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51170 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51171 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51174 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51175 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51176 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51179 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
51180 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51181 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
51184 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
51185 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51186 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
51189 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51190 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51191 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51194 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51195 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51196 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51199 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51200 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51201 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51204 COND_MONOLITHIC_0_SHARED_1="#"
51205 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51206 COND_MONOLITHIC_0_SHARED_1=""
51209 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51210 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51211 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51214 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51215 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51216 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51219 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51220 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51221 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51224 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51225 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51226 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51229 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51230 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51231 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51234 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
51235 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
51236 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
51239 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
51240 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
51241 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
51244 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51245 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51246 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51249 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51250 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51251 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51254 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51255 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51256 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51259 COND_MONOLITHIC_0_USE_AUI_1="#"
51260 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51261 COND_MONOLITHIC_0_USE_AUI_1=""
51264 COND_MONOLITHIC_0_USE_GUI_1="#"
51265 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51266 COND_MONOLITHIC_0_USE_GUI_1=""
51269 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51270 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51271 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51274 COND_MONOLITHIC_0_USE_HTML_1="#"
51275 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51276 COND_MONOLITHIC_0_USE_HTML_1=""
51279 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51280 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51281 COND_MONOLITHIC_0_USE_MEDIA_1=""
51284 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
51285 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51286 COND_MONOLITHIC_0_USE_PROPGRID_1=""
51289 COND_MONOLITHIC_0_USE_QA_1="#"
51290 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51291 COND_MONOLITHIC_0_USE_QA_1=""
51294 COND_MONOLITHIC_0_USE_RIBBON_1="#"
51295 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51296 COND_MONOLITHIC_0_USE_RIBBON_1=""
51299 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51300 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51301 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51304 COND_MONOLITHIC_0_USE_STC_1="#"
51305 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51306 COND_MONOLITHIC_0_USE_STC_1=""
51309 COND_MONOLITHIC_0_USE_XRC_1="#"
51310 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51311 COND_MONOLITHIC_0_USE_XRC_1=""
51314 COND_MONOLITHIC_1="#"
51315 if test "x$MONOLITHIC" = "x1" ; then
51316 COND_MONOLITHIC_1=""
51319 COND_MONOLITHIC_1_SHARED_0="#"
51320 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51321 COND_MONOLITHIC_1_SHARED_0=""
51324 COND_MONOLITHIC_1_SHARED_1="#"
51325 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51326 COND_MONOLITHIC_1_SHARED_1=""
51329 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51330 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51331 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51334 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51335 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51336 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51339 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51340 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51341 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51344 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51345 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51346 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51349 COND_PLATFORM_MACOSX_1="#"
51350 if test "x$PLATFORM_MACOSX" = "x1" ; then
51351 COND_PLATFORM_MACOSX_1=""
51354 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
51355 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
51356 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
51359 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
51360 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51361 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
51364 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51365 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51366 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51369 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
51370 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51371 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
51374 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51375 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51376 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51379 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
51380 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51381 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
51384 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51385 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51386 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51389 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51390 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51391 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51394 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51395 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51396 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51399 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
51400 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51401 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
51404 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51405 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51406 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51409 COND_PLATFORM_MACOS_1="#"
51410 if test "x$PLATFORM_MACOS" = "x1" ; then
51411 COND_PLATFORM_MACOS_1=""
51414 COND_PLATFORM_MAC_0="#"
51415 if test "x$PLATFORM_MAC" = "x0" ; then
51416 COND_PLATFORM_MAC_0=""
51419 COND_PLATFORM_MAC_1="#"
51420 if test "x$PLATFORM_MAC" = "x1" ; then
51421 COND_PLATFORM_MAC_1=""
51424 COND_PLATFORM_MSDOS_0="#"
51425 if test "x$PLATFORM_MSDOS" = "x0" ; then
51426 COND_PLATFORM_MSDOS_0=""
51429 COND_PLATFORM_MSDOS_1="#"
51430 if test "x$PLATFORM_MSDOS" = "x1" ; then
51431 COND_PLATFORM_MSDOS_1=""
51434 COND_PLATFORM_OS2_1="#"
51435 if test "x$PLATFORM_OS2" = "x1" ; then
51436 COND_PLATFORM_OS2_1=""
51439 COND_PLATFORM_UNIX_0="#"
51440 if test "x$PLATFORM_UNIX" = "x0" ; then
51441 COND_PLATFORM_UNIX_0=""
51444 COND_PLATFORM_UNIX_1="#"
51445 if test "x$PLATFORM_UNIX" = "x1" ; then
51446 COND_PLATFORM_UNIX_1=""
51449 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51450 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51451 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51454 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51455 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51456 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51459 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51460 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51461 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51464 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51465 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51466 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51469 COND_PLATFORM_WIN32_0="#"
51470 if test "x$PLATFORM_WIN32" = "x0" ; then
51471 COND_PLATFORM_WIN32_0=""
51474 COND_PLATFORM_WIN32_1="#"
51475 if test "x$PLATFORM_WIN32" = "x1" ; then
51476 COND_PLATFORM_WIN32_1=""
51479 COND_PLATFORM_WIN32_1_SHARED_0="#"
51480 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51481 COND_PLATFORM_WIN32_1_SHARED_0=""
51485 if test "x$SHARED" = "x0" ; then
51489 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51490 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51491 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51494 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51495 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51496 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51499 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51500 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51501 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51504 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51505 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51506 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51509 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51510 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51511 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51514 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51515 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51516 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51519 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51520 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51521 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51524 COND_SHARED_0_USE_STC_1="#"
51525 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51526 COND_SHARED_0_USE_STC_1=""
51529 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
51530 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51531 COND_SHARED_0_wxUSE_EXPAT_builtin=""
51534 COND_SHARED_0_wxUSE_REGEX_builtin="#"
51535 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51536 COND_SHARED_0_wxUSE_REGEX_builtin=""
51539 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
51540 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51541 COND_SHARED_0_wxUSE_ZLIB_builtin=""
51545 if test "x$SHARED" = "x1" ; then
51549 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51550 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51551 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51555 if test "x$TOOLKIT" = "x" ; then
51559 COND_TOOLKIT_COCOA="#"
51560 if test "x$TOOLKIT" = "xCOCOA" ; then
51561 COND_TOOLKIT_COCOA=""
51564 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51565 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51566 COND_TOOLKIT_COCOA_USE_GUI_1=""
51569 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
51570 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51571 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
51574 COND_TOOLKIT_DFB="#"
51575 if test "x$TOOLKIT" = "xDFB" ; then
51576 COND_TOOLKIT_DFB=""
51579 COND_TOOLKIT_DFB_USE_GUI_1="#"
51580 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51581 COND_TOOLKIT_DFB_USE_GUI_1=""
51584 COND_TOOLKIT_GTK="#"
51585 if test "x$TOOLKIT" = "xGTK" ; then
51586 COND_TOOLKIT_GTK=""
51589 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51590 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51591 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
51594 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
51595 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51596 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
51599 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
51600 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51601 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
51604 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
51605 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51606 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
51609 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51610 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51611 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51614 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51615 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51616 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51619 COND_TOOLKIT_GTK_USE_GUI_1="#"
51620 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51621 COND_TOOLKIT_GTK_USE_GUI_1=""
51624 COND_TOOLKIT_MAC="#"
51625 if test "x$TOOLKIT" = "xMAC" ; then
51626 COND_TOOLKIT_MAC=""
51629 COND_TOOLKIT_MGL="#"
51630 if test "x$TOOLKIT" = "xMGL" ; then
51631 COND_TOOLKIT_MGL=""
51634 COND_TOOLKIT_MGL_USE_GUI_1="#"
51635 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51636 COND_TOOLKIT_MGL_USE_GUI_1=""
51639 COND_TOOLKIT_MOTIF="#"
51640 if test "x$TOOLKIT" = "xMOTIF" ; then
51641 COND_TOOLKIT_MOTIF=""
51644 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
51645 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51646 COND_TOOLKIT_MOTIF_USE_GUI_1=""
51649 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
51650 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51651 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
51654 COND_TOOLKIT_MSW="#"
51655 if test "x$TOOLKIT" = "xMSW" ; then
51656 COND_TOOLKIT_MSW=""
51659 COND_TOOLKIT_MSW_USE_GUI_1="#"
51660 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51661 COND_TOOLKIT_MSW_USE_GUI_1=""
51664 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
51665 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51666 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
51669 COND_TOOLKIT_MSW_WXUNIV_0="#"
51670 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51671 COND_TOOLKIT_MSW_WXUNIV_0=""
51674 COND_TOOLKIT_OSX_CARBON="#"
51675 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
51676 COND_TOOLKIT_OSX_CARBON=""
51679 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51680 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51681 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51684 COND_TOOLKIT_OSX_COCOA="#"
51685 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
51686 COND_TOOLKIT_OSX_COCOA=""
51689 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51690 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51691 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51694 COND_TOOLKIT_OSX_IPHONE="#"
51695 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
51696 COND_TOOLKIT_OSX_IPHONE=""
51699 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51700 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51701 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51704 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51705 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51706 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51709 COND_TOOLKIT_PM="#"
51710 if test "x$TOOLKIT" = "xPM" ; then
51714 COND_TOOLKIT_PM_USE_GUI_1="#"
51715 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51716 COND_TOOLKIT_PM_USE_GUI_1=""
51719 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51720 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51721 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51724 COND_TOOLKIT_WINCE="#"
51725 if test "x$TOOLKIT" = "xWINCE" ; then
51726 COND_TOOLKIT_WINCE=""
51729 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51730 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51731 COND_TOOLKIT_WINCE_USE_GUI_1=""
51734 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51735 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51736 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51739 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51740 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51741 COND_TOOLKIT_WINCE_WXUNIV_0=""
51744 COND_TOOLKIT_X11="#"
51745 if test "x$TOOLKIT" = "xX11" ; then
51746 COND_TOOLKIT_X11=""
51749 COND_TOOLKIT_X11_USE_GUI_1="#"
51750 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51751 COND_TOOLKIT_X11_USE_GUI_1=""
51755 if test "x$UNICODE" = "x1" ; then
51759 COND_USE_CAIRO_1="#"
51760 if test "x$USE_CAIRO" = "x1" ; then
51761 COND_USE_CAIRO_1=""
51764 COND_USE_EXCEPTIONS_0="#"
51765 if test "x$USE_EXCEPTIONS" = "x0" ; then
51766 COND_USE_EXCEPTIONS_0=""
51769 COND_USE_EXCEPTIONS_1="#"
51770 if test "x$USE_EXCEPTIONS" = "x1" ; then
51771 COND_USE_EXCEPTIONS_1=""
51775 if test "x$USE_GUI" = "x0" ; then
51780 if test "x$USE_GUI" = "x1" ; then
51784 COND_USE_GUI_1_USE_OPENGL_1="#"
51785 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51786 COND_USE_GUI_1_USE_OPENGL_1=""
51789 COND_USE_GUI_1_WXUNIV_0="#"
51790 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51791 COND_USE_GUI_1_WXUNIV_0=""
51794 COND_USE_GUI_1_WXUNIV_1="#"
51795 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51796 COND_USE_GUI_1_WXUNIV_1=""
51799 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51800 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51801 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51804 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51805 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51806 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51809 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51810 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51811 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51814 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51815 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51816 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51819 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51820 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51821 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51824 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51825 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51826 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51829 COND_USE_OPENGL_1="#"
51830 if test "x$USE_OPENGL" = "x1" ; then
51831 COND_USE_OPENGL_1=""
51835 if test "x$USE_PCH" = "x1" ; then
51839 COND_USE_PLUGINS_0="#"
51840 if test "x$USE_PLUGINS" = "x0" ; then
51841 COND_USE_PLUGINS_0=""
51844 COND_USE_RTTI_0="#"
51845 if test "x$USE_RTTI" = "x0" ; then
51849 COND_USE_RTTI_1="#"
51850 if test "x$USE_RTTI" = "x1" ; then
51854 COND_USE_SOTWOSYMLINKS_1="#"
51855 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
51856 COND_USE_SOTWOSYMLINKS_1=""
51859 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
51860 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51861 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
51864 COND_USE_SOVERLINUX_1="#"
51865 if test "x$USE_SOVERLINUX" = "x1" ; then
51866 COND_USE_SOVERLINUX_1=""
51869 COND_USE_SOVERSION_0="#"
51870 if test "x$USE_SOVERSION" = "x0" ; then
51871 COND_USE_SOVERSION_0=""
51874 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
51875 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
51876 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
51879 COND_USE_SOVERSOLARIS_1="#"
51880 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51881 COND_USE_SOVERSOLARIS_1=""
51885 if test "x$USE_STC" = "x1" ; then
51889 COND_USE_THREADS_0="#"
51890 if test "x$USE_THREADS" = "x0" ; then
51891 COND_USE_THREADS_0=""
51894 COND_USE_THREADS_1="#"
51895 if test "x$USE_THREADS" = "x1" ; then
51896 COND_USE_THREADS_1=""
51900 if test "x$USE_XRC" = "x1" ; then
51904 COND_WINDOWS_IMPLIB_1="#"
51905 if test "x$WINDOWS_IMPLIB" = "x1" ; then
51906 COND_WINDOWS_IMPLIB_1=""
51909 COND_WITH_PLUGIN_SDL_1="#"
51910 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
51911 COND_WITH_PLUGIN_SDL_1=""
51915 if test "x$WXUNIV" = "x0" ; then
51920 if test "x$WXUNIV" = "x1" ; then
51924 COND_WXUSE_EXPAT_BUILTIN="#"
51925 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51926 COND_WXUSE_EXPAT_BUILTIN=""
51929 COND_WXUSE_LIBJPEG_BUILTIN="#"
51930 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51931 COND_WXUSE_LIBJPEG_BUILTIN=""
51934 COND_WXUSE_LIBPNG_BUILTIN="#"
51935 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51936 COND_WXUSE_LIBPNG_BUILTIN=""
51939 COND_WXUSE_LIBTIFF_BUILTIN="#"
51940 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51941 COND_WXUSE_LIBTIFF_BUILTIN=""
51944 COND_WXUSE_REGEX_BUILTIN="#"
51945 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51946 COND_WXUSE_REGEX_BUILTIN=""
51949 COND_WXUSE_ZLIB_BUILTIN="#"
51950 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51951 COND_WXUSE_ZLIB_BUILTIN=""
51954 COND_wxUSE_EXPAT_builtin="#"
51955 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51956 COND_wxUSE_EXPAT_builtin=""
51959 COND_wxUSE_LIBJPEG_builtin="#"
51960 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51961 COND_wxUSE_LIBJPEG_builtin=""
51964 COND_wxUSE_LIBPNG_builtin="#"
51965 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51966 COND_wxUSE_LIBPNG_builtin=""
51969 COND_wxUSE_LIBTIFF_builtin="#"
51970 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51971 COND_wxUSE_LIBTIFF_builtin=""
51974 COND_wxUSE_REGEX_builtin="#"
51975 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51976 COND_wxUSE_REGEX_builtin=""
51979 COND_wxUSE_ZLIB_builtin="#"
51980 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51981 COND_wxUSE_ZLIB_builtin=""
51986 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
51987 { { 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
51988 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;}
51989 { (exit 1); exit 1; }; }
51992 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
51993 { { 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
51994 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;}
51995 { (exit 1); exit 1; }; }
52002 ?:* ) # Drive letter, considered as absolute.
52005 INSTALL=`pwd`/${INSTALL} ;;
52008 if test "$wxUSE_GUI" = "yes"; then
52010 if test "$wxUSE_MSW" = 1 ; then
52011 if test "x$WINDRES" = "x"; then
52012 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52013 echo "$as_me: error: Required windres program not found" >&2;}
52014 { (exit 1); exit 1; }; }
52017 RESCOMP="$WINDRES $WINDRES_CPU_DEFINE"
52020 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52021 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52022 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52024 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52026 # Extract the first word of "DeRez", so it can be a program name with args.
52027 set dummy DeRez; ac_word=$2
52028 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52030 if test "${ac_cv_prog_DEREZ+set}" = set; then
52031 echo $ECHO_N "(cached) $ECHO_C" >&6
52033 if test -n "$DEREZ"; then
52034 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52037 for as_dir in $PATH
52040 test -z "$as_dir" && as_dir=.
52041 for ac_exec_ext in '' $ac_executable_extensions; do
52042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52043 ac_cv_prog_DEREZ="DeRez"
52044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52051 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52054 DEREZ=$ac_cv_prog_DEREZ
52055 if test -n "$DEREZ"; then
52056 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52057 echo "${ECHO_T}$DEREZ" >&6; }
52059 { echo "$as_me:$LINENO: result: no" >&5
52060 echo "${ECHO_T}no" >&6; }
52065 MACSETFILE="\$(SETFILE)"
52067 if test "$wxUSE_OSX_CARBON" = 1; then
52068 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52070 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52072 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52073 RESCOMP="cat /dev/null \| $REZ"
52074 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52080 if test "$wxUSE_PM" = 1; then
52082 WXCONFIG_RESFLAGS="-ep"
52084 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52086 POSTLINK_COMMAND="@true"
52093 if test $GCC_PCH = 1
52095 if test "$wx_cv_gcc_pch_bug" = yes; then
52096 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52097 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52098 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52099 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52100 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52101 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52104 # Our WX_PRECOMP flag does not make sense for any language except C++ because
52105 # the headers that benefit from precompilation are mostly C++ headers.
52106 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52107 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
52108 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52112 if test "$wxUSE_MAC" = 1 ; then
52113 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52114 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52120 if test "$wxUSE_SHARED" = "yes"; then
52122 *-pc-os2_emx | *-pc-os2-emx )
52123 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52124 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52125 cp -p ${srcdir}/src/os2/dllnames.sh .
52126 cp -p ${srcdir}/src/os2/dllar.sh .
52130 if test "$wxUSE_OMF" = "yes"; then
52132 *-pc-os2_emx | *-pc-os2-emx )
52133 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52134 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52135 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52140 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52145 if test "$GCC" = yes; then
52146 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52147 LIBS=`echo $LIBS | sed 's/-mt//'`
52148 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52153 if test "x$SUNCXX" = xyes; then
52154 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52155 LIBS=`echo $LIBS | sed 's/-pthread//'`
52156 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52161 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52162 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52163 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
52164 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
52166 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52227 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52228 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52229 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52230 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52231 echo $ECHO_N "(cached) $ECHO_C" >&6
52233 cat >conftest.make <<\_ACEOF
52236 @echo '@@@%%%=$(MAKE)=@@@%%%'
52238 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52239 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
52240 *@@@%%%=?*=@@@%%%*)
52241 eval ac_cv_prog_make_${ac_make}_set=yes;;
52243 eval ac_cv_prog_make_${ac_make}_set=no;;
52245 rm -f conftest.make
52247 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52248 { echo "$as_me:$LINENO: result: yes" >&5
52249 echo "${ECHO_T}yes" >&6; }
52252 { echo "$as_me:$LINENO: result: no" >&5
52253 echo "${ECHO_T}no" >&6; }
52254 SET_MAKE="MAKE=${MAKE-make}"
52259 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52262 if test "$USE_WIN32" = 1; then
52263 ac_config_commands="$ac_config_commands rcdefs.h"
52267 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52270 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52273 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
52276 if test "$wx_cv_version_script" = "yes"; then
52277 ac_config_files="$ac_config_files version-script"
52280 ac_config_files="$ac_config_files Makefile"
52283 ac_config_commands="$ac_config_commands wx-config"
52287 if test "$wxWITH_SUBDIRS" != "no"; then
52288 if test "$wxUSE_GUI" = "yes"; then
52289 SUBDIRS="samples demos utils"
52291 SUBDIRS="samples utils"
52296 # Check whether --with-cppunit-prefix was given.
52297 if test "${with_cppunit_prefix+set}" = set; then
52298 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52300 cppunit_config_prefix=""
52304 # Check whether --with-cppunit-exec-prefix was given.
52305 if test "${with_cppunit_exec_prefix+set}" = set; then
52306 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52308 cppunit_config_exec_prefix=""
52312 if test x$cppunit_config_exec_prefix != x ; then
52313 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52314 if test x${CPPUNIT_CONFIG+set} != xset ; then
52315 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52318 if test x$cppunit_config_prefix != x ; then
52319 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52320 if test x${CPPUNIT_CONFIG+set} != xset ; then
52321 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52325 # Extract the first word of "cppunit-config", so it can be a program name with args.
52326 set dummy cppunit-config; ac_word=$2
52327 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52329 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52330 echo $ECHO_N "(cached) $ECHO_C" >&6
52332 case $CPPUNIT_CONFIG in
52334 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52338 for as_dir in $PATH
52341 test -z "$as_dir" && as_dir=.
52342 for ac_exec_ext in '' $ac_executable_extensions; do
52343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52344 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52352 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52356 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52357 if test -n "$CPPUNIT_CONFIG"; then
52358 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52359 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52361 { echo "$as_me:$LINENO: result: no" >&5
52362 echo "${ECHO_T}no" >&6; }
52366 cppunit_version_min=1.8.0
52368 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52369 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52371 if test "$CPPUNIT_CONFIG" = "no" ; then
52372 { echo "$as_me:$LINENO: result: no" >&5
52373 echo "${ECHO_T}no" >&6; }
52376 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52377 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52378 cppunit_version=`$CPPUNIT_CONFIG --version`
52380 cppunit_major_version=`echo $cppunit_version | \
52381 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52382 cppunit_minor_version=`echo $cppunit_version | \
52383 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52384 cppunit_micro_version=`echo $cppunit_version | \
52385 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52387 cppunit_major_min=`echo $cppunit_version_min | \
52388 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52389 cppunit_minor_min=`echo $cppunit_version_min | \
52390 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52391 cppunit_micro_min=`echo $cppunit_version_min | \
52392 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52394 cppunit_version_proper=`expr \
52395 $cppunit_major_version \
> $cppunit_major_min \
| \
52396 $cppunit_major_version \
= $cppunit_major_min \
& \
52397 $cppunit_minor_version \
> $cppunit_minor_min \
| \
52398 $cppunit_major_version \
= $cppunit_major_min \
& \
52399 $cppunit_minor_version \
= $cppunit_minor_min \
& \
52400 $cppunit_micro_version \
>= $cppunit_micro_min `
52402 if test "$cppunit_version_proper" = "1" ; then
52403 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52404 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52406 { echo "$as_me:$LINENO: result: no" >&5
52407 echo "${ECHO_T}no" >&6; }
52412 if test "x$no_cppunit" = x ; then
52413 SUBDIRS="$SUBDIRS tests"
52424 for subdir in $SUBDIRS; do
52425 if test -d ${srcdir}/${subdir} ; then
52426 if test "$wxUSE_GUI" = "yes"; then
52427 if test ${subdir} = "samples"; then
52428 makefiles="samples/Makefile.in $makefiles"
52429 for sample in $SAMPLES_SUBDIRS; do
52430 if test -d $srcdir/samples/$sample; then
52431 makefiles="samples/$sample/Makefile.in $makefiles"
52435 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
52436 eval "disabled=\$$disabled_var"
52437 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
52438 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
52441 if test ${subdir} = "samples"; then
52442 makefiles="samples/Makefile.in $makefiles"
52443 for sample in `echo $SAMPLES_SUBDIRS`; do
52444 if test -d $srcdir/samples/$sample; then
52445 makefiles="samples/$sample/Makefile.in $makefiles"
52448 elif test ${subdir} = "utils"; then
52450 for util in ifacecheck ; do
52451 if test -d $srcdir/utils/$util ; then
52452 makefiles="utils/$util/src/Makefile.in \
52457 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
52461 for mkin in $makefiles ; do
52462 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52463 ac_config_files="$ac_config_files $mk"
52469 cat >confcache <<\_ACEOF
52470 # This file is a shell script that caches the results of configure
52471 # tests run on this system so they can be shared between configure
52472 # scripts and configure runs, see configure's option --config-cache.
52473 # It is not useful on other systems. If it contains results you don't
52474 # want to keep, you may remove or edit it.
52476 # config.status only pays attention to the cache file if you give it
52477 # the --recheck option to rerun configure.
52479 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
52480 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52481 # following values.
52485 # The following way of writing the cache mishandles newlines in values,
52486 # but we know of no workaround that is simple, portable, and efficient.
52487 # So, we kill variables containing newlines.
52488 # Ultrix sh set writes to stderr and can't be redirected directly,
52489 # and sets the high bit in the cache file unless we assign to the vars.
52491 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52492 eval ac_val
=\$
$ac_var
52496 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52497 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52500 _
| IFS
| as_nl
) ;; #(
52501 *) $as_unset $ac_var ;;
52507 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52508 *${as_nl}ac_space
=\
*)
52509 # `set' does not quote correctly, so add quotes (double-quote
52510 # substitution turns \\\\ into \\, and sed turns \\ into \).
52513 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52516 # `set' quotes correctly as required by POSIX, so do not add quotes.
52517 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52526 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52528 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52530 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
52531 if test -w "$cache_file"; then
52532 test "x$cache_file" != "x/dev/null" &&
52533 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52534 echo "$as_me: updating cache $cache_file" >&6;}
52535 cat confcache
>$cache_file
52537 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52538 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52543 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
52544 # Let make expand exec_prefix.
52545 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
52547 DEFS
=-DHAVE_CONFIG_H
52551 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
52552 # 1. Remove the extension, and $U if already installed.
52553 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
52554 ac_i
=`echo "$ac_i" | sed "$ac_script"`
52555 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52556 # will be set to the directory where LIBOBJS objects are built.
52557 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52558 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52560 LIBOBJS
=$ac_libobjs
52562 LTLIBOBJS
=$ac_ltlibobjs
52566 : ${CONFIG_STATUS=./config.status}
52567 ac_clean_files_save
=$ac_clean_files
52568 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
52569 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52570 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52571 cat >$CONFIG_STATUS <<_ACEOF
52573 # Generated by $as_me.
52574 # Run this file to recreate the current configuration.
52575 # Compiler output produced by configure, useful for debugging
52576 # configure, is in config.log if it exists.
52579 ac_cs_recheck=false
52581 SHELL=\${CONFIG_SHELL-$SHELL}
52584 cat >>$CONFIG_STATUS <<\_ACEOF
52585 ## --------------------- ##
52586 ## M4sh Initialization. ##
52587 ## --------------------- ##
52589 # Be more Bourne compatible
52590 DUALCASE
=1; export DUALCASE
# for MKS sh
52591 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
52594 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52595 # is contrary to our usage. Disable this feature.
52596 alias -g '${1+"$@"}'='"$@"'
52597 setopt NO_GLOB_SUBST
52599 case `(set -o) 2>/dev/null` in
52600 *posix
*) set -o posix
;;
52609 # Avoid depending upon Character Ranges.
52610 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
52611 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52612 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
52613 as_cr_digits
='0123456789'
52614 as_cr_alnum
=$as_cr_Letters$as_cr_digits
52616 # The user is always right.
52617 if test "${PATH_SEPARATOR+set}" != set; then
52618 echo "#! /bin/sh" >conf$$.sh
52619 echo "exit 0" >>conf$$.sh
52621 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
52629 # Support unset when possible.
52630 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
52638 # We need space, tab and new line, in precisely that order. Quoting is
52639 # there to prevent editors from complaining about space-tab.
52640 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52641 # splitting by setting IFS to empty value.)
52646 # Find who we are. Look in the path if we contain no directory separator.
52648 *[\\/]* ) as_myself
=$0 ;;
52649 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52650 for as_dir
in $PATH
52653 test -z "$as_dir" && as_dir
=.
52654 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
52660 # We did not find ourselves, most probably we were run as `sh COMMAND'
52661 # in which case we are not to be found in the path.
52662 if test "x$as_myself" = x
; then
52665 if test ! -f "$as_myself"; then
52666 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
52667 { (exit 1); exit 1; }
52670 # Work around bugs in pre-3.0 UWIN ksh.
52671 for as_var
in ENV MAIL MAILPATH
52672 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
52680 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
52681 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
52682 LC_TELEPHONE LC_TIME
52684 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52685 eval $as_var=C
; export $as_var
52687 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
52691 # Required to use basename.
52692 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
52693 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
52699 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
52700 as_basename
=basename
52706 # Name of the executable.
52707 as_me
=`$as_basename -- "$0" ||
52708 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52709 X"$0" : 'X\(//\)$' \| \
52710 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
52712 sed '/^.*\/\([^/][^/]*\)\/*$/{
52731 as_lineno_1
=$LINENO
52732 as_lineno_2
=$LINENO
52733 test "x$as_lineno_1" != "x$as_lineno_2" &&
52734 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
52736 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52737 # uniformly replaced by the line number. The first 'sed' inserts a
52738 # line-number line after each line using $LINENO; the second 'sed'
52739 # does the real work. The second script uses 'N' to pair each
52740 # line-number line with the line containing $LINENO, and appends
52741 # trailing '-' during substitution so that $LINENO is not a special
52742 # case at line end.
52743 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52744 # scripts with optimization help from Paolo Bonzini. Blame Lee
52745 # E. McMahon (1931-1989) for sed's syntax. :-)
52757 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
52760 ' >$as_me.lineno
&&
52761 chmod +x
"$as_me.lineno" ||
52762 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
52763 { (exit 1); exit 1; }; }
52765 # Don't try to exec as it changes $[0], causing all sort of problems
52766 # (the dirname of $[0] is not the place where we might find the
52767 # original and so on. Autoconf is especially sensitive to this).
52768 .
"./$as_me.lineno"
52769 # Exit status is that of the last command.
52774 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
52780 ECHO_C
= ECHO_N
= ECHO_T
=
52781 case `echo -n x` in
52783 case `echo 'x\c'` in
52784 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
52791 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
52792 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
52798 rm -f conf$$ conf$$.exe conf$$.
file
52799 if test -d conf$$.dir
; then
52800 rm -f conf$$.dir
/conf$$.
file
52806 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
52808 # ... but there are two gotchas:
52809 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
52810 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52811 # In both cases, we have to default to `cp -p'.
52812 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
52814 elif ln conf$$.
file conf$$
2>/dev
/null
; then
52819 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
52820 rmdir conf$$.dir
2>/dev
/null
52822 if mkdir -p .
2>/dev
/null
; then
52825 test -d .
/-p && rmdir .
/-p
52829 if test -x / >/dev
/null
2>&1; then
52830 as_test_x
='test -x'
52832 if ls -dL / >/dev
/null
2>&1; then
52839 if test -d "$1"; then
52845 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52846 ???[sx]*):;;*)false;;esac;fi
52850 as_executable_p
=$as_test_x
52852 # Sed expression to map a string onto a valid CPP name.
52853 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52855 # Sed expression to map a string onto a valid variable name.
52856 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52861 # Save the log message, to keep $[0] and so on meaningful, and to
52862 # report actual input values of CONFIG_FILES etc. instead of their
52863 # values after options handling.
52865 This file was extended by wxWidgets $as_me 2.9.2, which was
52866 generated by GNU Autoconf 2.61. Invocation command line was
52868 CONFIG_FILES = $CONFIG_FILES
52869 CONFIG_HEADERS = $CONFIG_HEADERS
52870 CONFIG_LINKS = $CONFIG_LINKS
52871 CONFIG_COMMANDS = $CONFIG_COMMANDS
52874 on `(hostname || uname -n) 2>/dev/null | sed 1q`
52879 cat >>$CONFIG_STATUS <<_ACEOF
52880 # Files that config.status was made for.
52881 config_files="$ac_config_files"
52882 config_headers="$ac_config_headers"
52883 config_commands="$ac_config_commands"
52887 cat >>$CONFIG_STATUS <<\_ACEOF
52889 \`$as_me' instantiates files from templates according to the
52890 current configuration.
52892 Usage: $0 [OPTIONS] [FILE]...
52894 -h, --help print this help, then exit
52895 -V, --version print version number and configuration settings, then exit
52896 -q, --quiet do not print progress messages
52897 -d, --debug don't remove temporary files
52898 --recheck update $as_me by reconfiguring in the same conditions
52899 --file=FILE[:TEMPLATE]
52900 instantiate the configuration file FILE
52901 --header=FILE[:TEMPLATE]
52902 instantiate the configuration header FILE
52904 Configuration files:
52907 Configuration headers:
52910 Configuration commands:
52913 Report bugs to <bug-autoconf@gnu.org>."
52916 cat >>$CONFIG_STATUS <<_ACEOF
52918 wxWidgets config.status 2.9.2
52919 configured by $0, generated by GNU Autoconf 2.61,
52920 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
52922 Copyright (C) 2006 Free Software Foundation, Inc.
52923 This config.status script is free software; the Free Software Foundation
52924 gives unlimited permission to copy, distribute and modify it."
52931 cat >>$CONFIG_STATUS <<\_ACEOF
52932 # If no file are specified by the user, then we need to provide default
52933 # value. By we need to know if files were specified by the user.
52939 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
52940 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
52951 # Handling of the options.
52952 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
52954 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
52955 echo "$ac_cs_version"; exit ;;
52956 --debug | --debu | --deb | --de | --d | -d )
52958 --file | --fil | --fi | --f )
52960 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
52961 ac_need_defaults
=false
;;
52962 --header | --heade | --head | --hea )
52964 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
52965 ac_need_defaults
=false
;;
52967 # Conflict between --help and --header
52968 { echo "$as_me: error: ambiguous option: $1
52969 Try \`$0 --help' for more information." >&2
52970 { (exit 1); exit 1; }; };;
52971 --help | --hel | -h )
52972 echo "$ac_cs_usage"; exit ;;
52973 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
52974 | -silent | --silent | --silen | --sile | --sil | --si | --s)
52977 # This is an error.
52978 -*) { echo "$as_me: error: unrecognized option: $1
52979 Try \`$0 --help' for more information." >&2
52980 { (exit 1); exit 1; }; } ;;
52982 *) ac_config_targets
="$ac_config_targets $1"
52983 ac_need_defaults
=false
;;
52989 ac_configure_extra_args
=
52991 if $ac_cs_silent; then
52993 ac_configure_extra_args
="$ac_configure_extra_args --silent"
52997 cat >>$CONFIG_STATUS <<_ACEOF
52998 if \$ac_cs_recheck; then
52999 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53000 CONFIG_SHELL=$SHELL
53001 export CONFIG_SHELL
53002 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53006 cat >>$CONFIG_STATUS <<\_ACEOF
53010 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53011 ## Running $as_me. ##
53017 cat >>$CONFIG_STATUS <<_ACEOF
53023 infile="$srcdir/include/wx/msw/genrcdefs.h"
53024 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53027 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53028 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53029 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53035 cat >>$CONFIG_STATUS <<\_ACEOF
53037 # Handling of arguments.
53038 for ac_config_target
in $ac_config_targets
53040 case $ac_config_target in
53041 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53042 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
53043 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53044 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53045 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53046 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
53047 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
53048 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
53049 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
53051 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53052 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53053 { (exit 1); exit 1; }; };;
53058 # If the user did not use the arguments to specify the items to instantiate,
53059 # then the envvar interface is used. Set only those that are not.
53060 # We use the long form for the default assignment because of an extremely
53061 # bizarre bug on SunOS 4.1.3.
53062 if $ac_need_defaults; then
53063 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
53064 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
53065 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
53068 # Have a temporary directory for convenience. Make it in the build tree
53069 # simply because there is no reason against having it here, and in addition,
53070 # creating and moving files from /tmp can sometimes cause problems.
53071 # Hook for its removal unless debugging.
53072 # Note that there is a small window in which the directory will not be cleaned:
53073 # after its creation but before its name has been assigned to `$tmp'.
53077 trap 'exit_status=$?
53078 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53080 trap '{ (exit 1); exit 1; }' 1 2 13 15
53082 # Create a (secure) tmp directory for tmp files.
53085 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53086 test -n "$tmp" && test -d "$tmp"
53089 tmp
=.
/conf$$
-$RANDOM
53090 (umask 077 && mkdir "$tmp")
53093 echo "$me: cannot create a temporary directory in ." >&2
53094 { (exit 1); exit 1; }
53098 # Set up the sed scripts for CONFIG_FILES section.
53101 # No need to generate the scripts if there are no CONFIG_FILES.
53102 # This happens for instance when ./config.status config.h
53103 if test -n "$CONFIG_FILES"; then
53110 for ac_last_try
in false false false false false
:; do
53111 cat >conf$
$subs.
sed <<_ACEOF
53112 SHELL!$SHELL$ac_delim
53113 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53114 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53115 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53116 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53117 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53118 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53119 exec_prefix!$exec_prefix$ac_delim
53120 prefix!$prefix$ac_delim
53121 program_transform_name!$program_transform_name$ac_delim
53122 bindir!$bindir$ac_delim
53123 sbindir!$sbindir$ac_delim
53124 libexecdir!$libexecdir$ac_delim
53125 datarootdir!$datarootdir$ac_delim
53126 datadir!$datadir$ac_delim
53127 sysconfdir!$sysconfdir$ac_delim
53128 sharedstatedir!$sharedstatedir$ac_delim
53129 localstatedir!$localstatedir$ac_delim
53130 includedir!$includedir$ac_delim
53131 oldincludedir!$oldincludedir$ac_delim
53132 docdir!$docdir$ac_delim
53133 infodir!$infodir$ac_delim
53134 htmldir!$htmldir$ac_delim
53135 dvidir!$dvidir$ac_delim
53136 pdfdir!$pdfdir$ac_delim
53137 psdir!$psdir$ac_delim
53138 libdir!$libdir$ac_delim
53139 localedir!$localedir$ac_delim
53140 mandir!$mandir$ac_delim
53141 DEFS!$DEFS$ac_delim
53142 ECHO_C!$ECHO_C$ac_delim
53143 ECHO_N!$ECHO_N$ac_delim
53144 ECHO_T!$ECHO_T$ac_delim
53145 LIBS!$LIBS$ac_delim
53146 build_alias!$build_alias$ac_delim
53147 host_alias!$host_alias$ac_delim
53148 target_alias!$target_alias$ac_delim
53149 build!$build$ac_delim
53150 build_cpu!$build_cpu$ac_delim
53151 build_vendor!$build_vendor$ac_delim
53152 build_os!$build_os$ac_delim
53153 host!$host$ac_delim
53154 host_cpu!$host_cpu$ac_delim
53155 host_vendor!$host_vendor$ac_delim
53156 host_os!$host_os$ac_delim
53157 wx_top_builddir!$wx_top_builddir$ac_delim
53159 CFLAGS!$CFLAGS$ac_delim
53160 LDFLAGS!$LDFLAGS$ac_delim
53161 CPPFLAGS!$CPPFLAGS$ac_delim
53162 ac_ct_CC!$ac_ct_CC$ac_delim
53163 EXEEXT!$EXEEXT$ac_delim
53164 OBJEXT!$OBJEXT$ac_delim
53166 GREP!$GREP$ac_delim
53167 EGREP!$EGREP$ac_delim
53169 CXXFLAGS!$CXXFLAGS$ac_delim
53170 ac_ct_CXX!$ac_ct_CXX$ac_delim
53172 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
53173 CXXCPP!$CXXCPP$ac_delim
53174 subdirs!$subdirs$ac_delim
53175 PKG_CONFIG!$PKG_CONFIG$ac_delim
53176 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53177 GTK_LIBS!$GTK_LIBS$ac_delim
53178 GTK_CONFIG!$GTK_CONFIG$ac_delim
53179 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53180 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53181 XMKMF!$XMKMF$ac_delim
53182 X_CFLAGS!$X_CFLAGS$ac_delim
53183 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53184 X_LIBS!$X_LIBS$ac_delim
53185 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53186 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53187 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53188 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53189 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53190 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53191 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53192 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53193 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53194 LIBICONV!$LIBICONV$ac_delim
53195 GXX_VERSION!$GXX_VERSION$ac_delim
53196 SDL_CONFIG!$SDL_CONFIG$ac_delim
53197 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53198 SDL_LIBS!$SDL_LIBS$ac_delim
53199 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53200 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53201 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53202 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53203 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53204 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53205 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53206 HILDON_LIBS!$HILDON_LIBS$ac_delim
53207 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
53208 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
53211 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53213 elif $ac_last_try; then
53214 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53215 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53216 { (exit 1); exit 1; }; }
53218 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53222 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53223 if test -n "$ac_eof"; then
53224 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53225 ac_eof
=`expr $ac_eof + 1`
53228 cat >>$CONFIG_STATUS <<_ACEOF
53229 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53230 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53233 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53234 s/^/s,@/; s/!/@,|#_!!_#|/
53237 s/'"$ac_delim"'$/,g/; t
53239 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53240 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53241 rm -f conf$
$subs.
sed
53242 cat >>$CONFIG_STATUS <<_ACEOF
53248 for ac_last_try
in false false false false false
:; do
53249 cat >conf$
$subs.
sed <<_ACEOF
53250 PYTHON!$PYTHON$ac_delim
53251 COND_PYTHON!$COND_PYTHON$ac_delim
53252 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53253 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53254 GST_CFLAGS!$GST_CFLAGS$ac_delim
53255 GST_LIBS!$GST_LIBS$ac_delim
53256 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53257 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53258 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53259 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53260 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53261 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53262 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53263 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53264 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53265 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53266 VENDOR!$VENDOR$ac_delim
53267 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53268 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53269 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53270 WXUNIV!$WXUNIV$ac_delim
53271 MONOLITHIC!$MONOLITHIC$ac_delim
53272 USE_PLUGINS!$USE_PLUGINS$ac_delim
53273 CXXWARNINGS!$CXXWARNINGS$ac_delim
53274 EXTRALIBS!$EXTRALIBS$ac_delim
53275 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53276 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53277 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
53278 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53279 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53280 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53281 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
53282 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53283 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53284 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53285 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53286 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53287 UNICODE!$UNICODE$ac_delim
53288 DEBUG_INFO!$DEBUG_INFO$ac_delim
53289 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53290 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53291 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53292 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
53293 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
53294 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53295 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
53296 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53297 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53298 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53299 RANLIB!$RANLIB$ac_delim
53300 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53301 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53302 INSTALL_DATA!$INSTALL_DATA$ac_delim
53303 LN_S!$LN_S$ac_delim
53304 SET_MAKE!$SET_MAKE$ac_delim
53305 MAKE_SET!$MAKE_SET$ac_delim
53306 AROPTIONS!$AROPTIONS$ac_delim
53307 STRIP!$STRIP$ac_delim
53309 INSTALL_DIR!$INSTALL_DIR$ac_delim
53310 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53311 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53312 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53313 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53314 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53315 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53316 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53317 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53318 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53319 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53320 SO_SUFFIX!$SO_SUFFIX$ac_delim
53321 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53322 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53323 LIBPREFIX!$LIBPREFIX$ac_delim
53324 LIBEXT!$LIBEXT$ac_delim
53325 DLLPREFIX!$DLLPREFIX$ac_delim
53326 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53327 dlldir!$dlldir$ac_delim
53328 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53329 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53330 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53331 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53332 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53333 PIC_FLAG!$PIC_FLAG$ac_delim
53334 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53335 USE_SOVERSION!$USE_SOVERSION$ac_delim
53336 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53337 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53338 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53339 USE_MACVERSION!$USE_MACVERSION$ac_delim
53340 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
53341 SONAME_FLAG!$SONAME_FLAG$ac_delim
53342 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53343 BK_DEPS!$BK_DEPS$ac_delim
53344 WINDRES!$WINDRES$ac_delim
53346 SETFILE!$SETFILE$ac_delim
53349 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53351 elif $ac_last_try; then
53352 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53353 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53354 { (exit 1); exit 1; }; }
53356 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53360 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53361 if test -n "$ac_eof"; then
53362 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53363 ac_eof
=`expr $ac_eof + 1`
53366 cat >>$CONFIG_STATUS <<_ACEOF
53367 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53368 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53371 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53372 s/^/s,@/; s/!/@,|#_!!_#|/
53375 s/'"$ac_delim"'$/,g/; t
53377 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53378 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53379 rm -f conf$
$subs.
sed
53380 cat >>$CONFIG_STATUS <<_ACEOF
53386 for ac_last_try
in false false false false false
:; do
53387 cat >conf$
$subs.
sed <<_ACEOF
53388 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
53389 GCC_PCH!$GCC_PCH$ac_delim
53390 ICC_PCH!$ICC_PCH$ac_delim
53391 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
53392 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
53393 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53394 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53395 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53396 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53397 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53398 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53399 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53400 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53401 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53402 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53403 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
53404 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
53405 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
53406 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
53407 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
53408 COND_BUILD_release!$COND_BUILD_release$ac_delim
53409 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
53410 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
53411 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
53412 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
53413 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53414 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53415 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53416 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53417 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53418 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53419 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53420 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53421 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53422 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53423 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53424 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53425 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53426 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53427 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
53428 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
53429 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53430 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53431 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53432 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53433 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53434 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53435 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53436 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53437 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53438 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
53439 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
53440 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53441 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53442 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53443 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53444 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53445 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53446 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53447 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53448 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
53449 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53450 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
53451 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53452 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53453 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53454 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53455 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53456 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53457 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53458 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53459 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53460 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53461 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53462 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
53463 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
53464 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53465 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
53466 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53467 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
53468 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53469 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
53470 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53471 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
53472 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53473 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53474 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
53475 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53476 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53477 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53478 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53479 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53480 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53481 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53482 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53483 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53484 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53487 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53489 elif $ac_last_try; then
53490 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53491 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53492 { (exit 1); exit 1; }; }
53494 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53498 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53499 if test -n "$ac_eof"; then
53500 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53501 ac_eof
=`expr $ac_eof + 1`
53504 cat >>$CONFIG_STATUS <<_ACEOF
53505 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53506 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53509 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53510 s/^/s,@/; s/!/@,|#_!!_#|/
53513 s/'"$ac_delim"'$/,g/; t
53515 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53516 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53517 rm -f conf$
$subs.
sed
53518 cat >>$CONFIG_STATUS <<_ACEOF
53524 for ac_last_try
in false false false false false
:; do
53525 cat >conf$
$subs.
sed <<_ACEOF
53526 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53527 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53528 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
53529 COND_SHARED_0!$COND_SHARED_0$ac_delim
53530 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53531 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53532 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53533 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53534 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53535 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53536 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53537 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53538 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
53539 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
53540 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
53541 COND_SHARED_1!$COND_SHARED_1$ac_delim
53542 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53543 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53544 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53545 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53546 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53547 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53548 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53549 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53550 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53551 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53552 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53553 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53554 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53555 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53556 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53557 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53558 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53559 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53560 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53561 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53562 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53563 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53564 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53565 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53566 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53567 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
53568 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53569 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
53570 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53571 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
53572 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53573 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
53574 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53575 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53576 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53577 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53578 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53579 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53580 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53581 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53582 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53583 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53584 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
53585 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53586 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53587 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53588 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53589 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53590 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53591 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53592 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53593 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53594 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53595 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53596 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53597 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53598 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53599 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53600 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53601 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53602 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53603 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
53604 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53605 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53606 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53607 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
53608 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53609 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53610 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53611 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53612 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53613 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53614 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53615 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53616 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53617 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53618 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53619 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53620 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53621 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53622 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53625 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53627 elif $ac_last_try; then
53628 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53629 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53630 { (exit 1); exit 1; }; }
53632 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53636 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53637 if test -n "$ac_eof"; then
53638 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53639 ac_eof
=`expr $ac_eof + 1`
53642 cat >>$CONFIG_STATUS <<_ACEOF
53643 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53644 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53647 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53648 s/^/s,@/; s/!/@,|#_!!_#|/
53651 s/'"$ac_delim"'$/,g/; t
53653 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53654 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53655 rm -f conf$
$subs.
sed
53656 cat >>$CONFIG_STATUS <<_ACEOF
53662 for ac_last_try
in false false false false false
:; do
53663 cat >conf$
$subs.
sed <<_ACEOF
53664 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
53665 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
53666 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
53667 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
53668 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
53669 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
53670 DEREZ!$DEREZ$ac_delim
53671 SHARED!$SHARED$ac_delim
53672 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53673 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53674 USE_GUI!$USE_GUI$ac_delim
53675 AFMINSTALL!$AFMINSTALL$ac_delim
53676 WIN32INSTALL!$WIN32INSTALL$ac_delim
53677 TOOLKIT!$TOOLKIT$ac_delim
53678 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53679 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53680 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53681 cross_compiling!$cross_compiling$ac_delim
53682 WIDGET_SET!$WIDGET_SET$ac_delim
53683 WX_RELEASE!$WX_RELEASE$ac_delim
53684 WX_VERSION!$WX_VERSION$ac_delim
53685 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53686 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53687 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53688 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53689 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53690 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53691 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53692 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
53693 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53694 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53695 GUIDIST!$GUIDIST$ac_delim
53696 DISTDIR!$DISTDIR$ac_delim
53697 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53698 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53699 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53700 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53701 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53702 RESCOMP!$RESCOMP$ac_delim
53703 RESFLAGS!$RESFLAGS$ac_delim
53704 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53705 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53706 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53707 LIBWXMACRES!$LIBWXMACRES$ac_delim
53708 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53709 MACSETFILE!$MACSETFILE$ac_delim
53711 DLLTOOL!$DLLTOOL$ac_delim
53712 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
53713 LIBOBJS!$LIBOBJS$ac_delim
53714 LTLIBOBJS!$LTLIBOBJS$ac_delim
53717 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
53719 elif $ac_last_try; then
53720 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53721 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53722 { (exit 1); exit 1; }; }
53724 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53728 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53729 if test -n "$ac_eof"; then
53730 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53731 ac_eof
=`expr $ac_eof + 1`
53734 cat >>$CONFIG_STATUS <<_ACEOF
53735 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
53736 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
53739 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53740 s/^/s,@/; s/!/@,|#_!!_#|/
53743 s/'"$ac_delim"'$/,g/; t
53745 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53746 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53747 rm -f conf$
$subs.
sed
53748 cat >>$CONFIG_STATUS <<_ACEOF
53755 # VPATH may cause trouble with some makes, so we remove $(srcdir),
53756 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
53757 # trailing colons and then remove the whole line if VPATH becomes empty
53758 # (actually we leave an empty line to preserve line numbers).
53759 if test "x$srcdir" = x.
; then
53760 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
53761 s/:*\$(srcdir):*/:/
53762 s/:*\${srcdir}:*/:/
53764 s/^\([^=]*=[ ]*\):*/\1/
53770 cat >>$CONFIG_STATUS <<\_ACEOF
53771 fi # test -n "$CONFIG_FILES"
53774 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
53777 :[FHLC
]) ac_mode
=$ac_tag; continue;;
53779 case $ac_mode$ac_tag in
53781 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
53782 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
53783 { (exit 1); exit 1; }; };;
53784 :[FH
]-) ac_tag
=-:-;;
53785 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
53802 -) ac_f
="$tmp/stdin";;
53803 *) # Look for the file first in the build tree, then in the source tree
53804 # (if the path is not absolute). The absolute path cannot be DOS-style,
53805 # because $ac_f cannot contain `:'.
53809 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
53811 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
53812 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
53813 { (exit 1); exit 1; }; };;
53815 ac_file_inputs
="$ac_file_inputs $ac_f"
53818 # Let's still pretend it is `configure' which instantiates (i.e., don't
53819 # use $as_me), people would be surprised to read:
53820 # /* config.h. Generated by config.status. */
53821 configure_input
="Generated from "`IFS=:
53822 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
53823 if test x
"$ac_file" != x
-; then
53824 configure_input
="$ac_file. $configure_input"
53825 { echo "$as_me:$LINENO: creating $ac_file" >&5
53826 echo "$as_me: creating $ac_file" >&6;}
53830 *:-:* | *:-) cat >"$tmp/stdin";;
53835 ac_dir
=`$as_dirname -- "$ac_file" ||
53836 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53837 X"$ac_file" : 'X\(//\)[^/]' \| \
53838 X"$ac_file" : 'X\(//\)$' \| \
53839 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
53841 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53845 /^X\(\/\/\)[^/].*/{
53860 -*) as_dir
=.
/$as_dir;;
53862 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53866 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53867 *) as_qdir
=$as_dir;;
53869 as_dirs
="'$as_qdir' $as_dirs"
53870 as_dir
=`$as_dirname -- "$as_dir" ||
53871 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53872 X"$as_dir" : 'X\(//\)[^/]' \| \
53873 X"$as_dir" : 'X\(//\)$' \| \
53874 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53876 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53880 /^X\(\/\/\)[^/].*/{
53893 test -d "$as_dir" && break
53895 test -z "$as_dirs" || eval "mkdir $as_dirs"
53896 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53897 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53898 { (exit 1); exit 1; }; }; }
53902 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53904 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53905 # A ".." for each directory in $ac_dir_suffix.
53906 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53907 case $ac_top_builddir_sub in
53908 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53909 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
53912 ac_abs_top_builddir
=$ac_pwd
53913 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
53914 # for backward compatibility:
53915 ac_top_builddir
=$ac_top_build_prefix
53918 .
) # We are building in place.
53920 ac_top_srcdir
=$ac_top_builddir_sub
53921 ac_abs_top_srcdir
=$ac_pwd ;;
53922 [\\/]* | ?
:[\\/]* ) # Absolute name.
53923 ac_srcdir
=$srcdir$ac_dir_suffix;
53924 ac_top_srcdir
=$srcdir
53925 ac_abs_top_srcdir
=$srcdir ;;
53926 *) # Relative name.
53927 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
53928 ac_top_srcdir
=$ac_top_build_prefix$srcdir
53929 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
53931 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
53941 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
53942 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
53946 cat >>$CONFIG_STATUS <<\_ACEOF
53947 # If the template does not know about datarootdir, expand it.
53948 # FIXME: This hack should be removed a few years after 2.60.
53949 ac_datarootdir_hack
=; ac_datarootdir_seen
=
53951 case `sed -n '/datarootdir/ {
53960 ' $ac_file_inputs` in
53961 *datarootdir
*) ac_datarootdir_seen
=yes;;
53962 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
53963 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
53964 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
53966 cat >>$CONFIG_STATUS <<_ACEOF
53967 ac_datarootdir_hack='
53968 s&@datadir@&$datadir&g
53969 s&@docdir@&$docdir&g
53970 s&@infodir@&$infodir&g
53971 s&@localedir@&$localedir&g
53972 s&@mandir@&$mandir&g
53973 s&\\\${datarootdir}&$datarootdir&g' ;;
53977 # Neutralize VPATH when `$srcdir' = `.'.
53978 # Shell code in configure.ac might set extrasub.
53979 # FIXME: do we really want to maintain this feature?
53980 cat >>$CONFIG_STATUS <<_ACEOF
53984 cat >>$CONFIG_STATUS <<\_ACEOF
53986 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
53987 s
&@configure_input@
&$configure_input&;t t
53988 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
53989 s
&@srcdir@
&$ac_srcdir&;t t
53990 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
53991 s
&@top_srcdir@
&$ac_top_srcdir&;t t
53992 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
53993 s
&@builddir@
&$ac_builddir&;t t
53994 s
&@abs_builddir@
&$ac_abs_builddir&;t t
53995 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
53996 s
&@INSTALL@
&$ac_INSTALL&;t t
53997 $ac_datarootdir_hack
53998 " $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
54000 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54001 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
54002 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
54003 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
54004 which seems to be undefined. Please make sure it is defined." >&5
54005 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
54006 which seems to be undefined. Please make sure it is defined." >&2;}
54010 -) cat "$tmp/out"; rm -f "$tmp/out";;
54011 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54020 # Transform confdefs.h into a sed script `conftest.defines', that
54021 # substitutes the proper values into config.h.in to produce config.h.
54022 rm -f conftest.defines conftest.
tail
54023 # First, append a space to every undef/define line, to ease matching.
54024 echo 's/$/ /' >conftest.defines
54025 # Then, protect against being on the right side of a sed subst, or in
54026 # an unquoted here document, in config.status. If some macros were
54027 # called several times there might be several #defines for the same
54028 # symbol, which is useless. But do not sort them, since the last
54029 # AC_DEFINE must be honored.
54030 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
54031 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54032 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54033 # PARAMS is the parameter list in the macro definition--in most cases, it's
54034 # just an empty string.
54035 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54036 ac_dB
='\\)[ (].*,\\1define\\2'
54044 s/^[ ]*#[ ]*define[ ][ ]*//
54049 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54050 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54051 ' >>conftest.defines
54053 # Remove the space that was appended to ease matching.
54054 # Then replace #undef with comments. This is necessary, for
54055 # example, in the case of _POSIX_SOURCE, which is predefined and required
54056 # on some systems where configure will not decide to define it.
54057 # (The regexp can be short, since the line contains either #define or #undef.)
54059 s,^[ #]*u.*,/* & */,' >>conftest.defines
54061 # Break up conftest.defines:
54062 ac_max_sed_lines
=50
54064 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54065 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54066 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54068 ac_in
='$ac_file_inputs'
54069 ac_out
='"$tmp/out1"'
54070 ac_nxt
='"$tmp/out2"'
54074 # Write a here document:
54075 cat >>$CONFIG_STATUS <<_ACEOF
54076 # First, check the format of the line:
54077 cat >"\$tmp/defines.sed" <<\\CEOF
54078 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54079 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54083 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
54085 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54086 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
54087 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
54088 grep . conftest.
tail >/dev
/null
|| break
54089 rm -f conftest.defines
54090 mv conftest.
tail conftest.defines
54092 rm -f conftest.defines conftest.
tail
54094 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54095 cat >>$CONFIG_STATUS <<\_ACEOF
54096 if test x
"$ac_file" != x
-; then
54097 echo "/* $configure_input */" >"$tmp/config.h"
54098 cat "$ac_result" >>"$tmp/config.h"
54099 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
54100 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54101 echo "$as_me: $ac_file is unchanged" >&6;}
54104 mv "$tmp/config.h" $ac_file
54107 echo "/* $configure_input */"
54113 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54114 echo "$as_me: executing $ac_file commands" >&6;}
54119 case $ac_file$ac_mode in
54121 mkdir -p $outdir &&
54122 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54124 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
54125 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
54126 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
54127 "wx-config":C
) rm -f wx
-config
54128 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
54135 { (exit 0); exit 0; }
54137 chmod +x
$CONFIG_STATUS
54138 ac_clean_files
=$ac_clean_files_save
54141 # configure is writing to config.log, and then calls config.status.
54142 # config.status does its own redirection, appending to config.log.
54143 # Unfortunately, on DOS this fails, as config.log is still kept open
54144 # by configure, so config.status won't be able to write to it; its
54145 # output is simply discarded. So we exec the FD to /dev/null,
54146 # effectively closing config.log, so it can be properly (re)opened and
54147 # appended to by config.status. When coming back to configure, we
54148 # need to make the FD available again.
54149 if test "$no_create" != yes; then
54151 ac_config_status_args
=
54152 test "$silent" = yes &&
54153 ac_config_status_args
="$ac_config_status_args --quiet"
54155 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
54157 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54158 # would make configure fail if this is the last instruction.
54159 $ac_cs_success || { (exit 1); exit 1; }
54163 # CONFIG_SUBDIRS section.
54165 if test "$no_recursion" != yes; then
54167 # Remove --cache-file and --srcdir arguments so they do not pile up.
54168 ac_sub_configure_args
=
54170 eval "set x $ac_configure_args"
54174 if test -n "$ac_prev"; then
54179 -cache-file | --cache-file | --cache-fil | --cache-fi \
54180 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54181 ac_prev
=cache_file
;;
54182 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54183 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54186 --config-cache | -C)
54188 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54190 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54192 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54194 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54198 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54200 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
54204 # Always prepend --prefix to ensure using the same prefix
54205 # in subdir configurations.
54206 ac_arg
="--prefix=$prefix"
54208 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54210 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
54213 if test "$silent" = yes; then
54214 ac_sub_configure_args
="--silent $ac_sub_configure_args"
54218 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
54220 # Do not complain, so a configure script can configure whichever
54221 # parts of a large source tree are present.
54222 test -d "$srcdir/$ac_dir" || continue
54224 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54225 echo "$as_me:$LINENO: $ac_msg" >&5
54229 -*) as_dir
=.
/$as_dir;;
54231 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54235 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54236 *) as_qdir
=$as_dir;;
54238 as_dirs
="'$as_qdir' $as_dirs"
54239 as_dir
=`$as_dirname -- "$as_dir" ||
54240 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54241 X"$as_dir" : 'X\(//\)[^/]' \| \
54242 X"$as_dir" : 'X\(//\)$' \| \
54243 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54245 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54249 /^X\(\/\/\)[^/].*/{
54262 test -d "$as_dir" && break
54264 test -z "$as_dirs" || eval "mkdir $as_dirs"
54265 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54266 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54267 { (exit 1); exit 1; }; }; }
54271 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54273 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54274 # A ".." for each directory in $ac_dir_suffix.
54275 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54276 case $ac_top_builddir_sub in
54277 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54278 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54281 ac_abs_top_builddir
=$ac_pwd
54282 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54283 # for backward compatibility:
54284 ac_top_builddir
=$ac_top_build_prefix
54287 .
) # We are building in place.
54289 ac_top_srcdir
=$ac_top_builddir_sub
54290 ac_abs_top_srcdir
=$ac_pwd ;;
54291 [\\/]* | ?
:[\\/]* ) # Absolute name.
54292 ac_srcdir
=$srcdir$ac_dir_suffix;
54293 ac_top_srcdir
=$srcdir
54294 ac_abs_top_srcdir
=$srcdir ;;
54295 *) # Relative name.
54296 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54297 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54298 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54300 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54305 # Check for guested configure; otherwise get Cygnus style configure.
54306 if test -f "$ac_srcdir/configure.gnu"; then
54307 ac_sub_configure
=$ac_srcdir/configure.gnu
54308 elif test -f "$ac_srcdir/configure"; then
54309 ac_sub_configure
=$ac_srcdir/configure
54310 elif test -f "$ac_srcdir/configure.in"; then
54311 # This should be Cygnus configure.
54312 ac_sub_configure
=$ac_aux_dir/configure
54314 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54315 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54319 # The recursion is here.
54320 if test -n "$ac_sub_configure"; then
54321 # Make the cache file name correct relative to the subdirectory.
54322 case $cache_file in
54323 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
54324 *) # Relative name.
54325 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
54328 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54329 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54330 # The eval makes quoting arguments work.
54331 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54332 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54333 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54334 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54335 { (exit 1); exit 1; }; }
54344 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54346 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54347 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54348 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54349 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54350 if test "$wxUSE_UNICODE" = "yes"; then
54351 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54352 echo " (using UTF-8)"
54354 echo " (using wchar_t)"
54360 echo " What level of wxWidgets compatibility should be enabled?"
54361 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54362 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54364 echo " Which libraries should wxWidgets use?"
54365 echo " STL ${wxUSE_STL}"
54366 echo " jpeg ${wxUSE_LIBJPEG-none}"
54367 echo " png ${wxUSE_LIBPNG-none}"
54368 echo " regex ${wxUSE_REGEX}"
54369 echo " tiff ${wxUSE_LIBTIFF-none}"
54370 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54371 echo " xpm ${wxUSE_LIBXPM-none}"
54373 echo " zlib ${wxUSE_ZLIB}"
54374 echo " expat ${wxUSE_EXPAT}"
54375 echo " libmspack ${wxUSE_LIBMSPACK}"
54376 echo " sdl ${wxUSE_LIBSDL}"