2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.2.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir -p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME
='wxWidgets'
577 PACKAGE_TARNAME
='wxwidgets'
578 PACKAGE_VERSION
='2.9.2'
579 PACKAGE_STRING
='wxWidgets 2.9.2'
580 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
582 ac_unique_file
="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default
="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
708 LIBGNOMEPRINTUI_CFLAGS
816 ICC_PCH_CREATE_SWITCH
820 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
821 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
822 COND_BUILD_DEBUG_UNICODE_0
823 COND_BUILD_DEBUG_UNICODE_1
825 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
826 COND_BUILD_RELEASE_UNICODE_0
827 COND_BUILD_RELEASE_UNICODE_1
829 COND_BUILD_debug_DEBUG_FLAG_default
830 COND_BUILD_debug_DEBUG_INFO_default
831 COND_BUILD_debug_UNICODE_0
832 COND_BUILD_debug_UNICODE_1
834 COND_BUILD_release_DEBUG_INFO_default
835 COND_BUILD_release_UNICODE_0
836 COND_BUILD_release_UNICODE_1
846 COND_MONOLITHIC_0_SHARED_0
847 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
851 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
852 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
853 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
854 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
855 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
856 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
857 COND_MONOLITHIC_0_SHARED_1
858 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
862 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
863 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
864 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
865 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
866 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
867 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
868 COND_MONOLITHIC_0_USE_AUI_1
869 COND_MONOLITHIC_0_USE_GUI_1
870 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
871 COND_MONOLITHIC_0_USE_HTML_1
872 COND_MONOLITHIC_0_USE_MEDIA_1
873 COND_MONOLITHIC_0_USE_PROPGRID_1
874 COND_MONOLITHIC_0_USE_QA_1
875 COND_MONOLITHIC_0_USE_RIBBON_1
876 COND_MONOLITHIC_0_USE_RICHTEXT_1
877 COND_MONOLITHIC_0_USE_STC_1
878 COND_MONOLITHIC_0_USE_XRC_1
880 COND_MONOLITHIC_1_SHARED_0
881 COND_MONOLITHIC_1_SHARED_1
882 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
883 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
884 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
885 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
886 COND_PLATFORM_MACOSX_1
887 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
888 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
891 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
892 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
893 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
894 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
895 COND_PLATFORM_MACOSX_1_USE_GUI_1
896 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
897 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
898 COND_PLATFORM_MACOS_1
901 COND_PLATFORM_MSDOS_0
902 COND_PLATFORM_MSDOS_1
906 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
907 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
908 COND_PLATFORM_UNIX_1_USE_GUI_1
909 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
910 COND_PLATFORM_WIN32_0
911 COND_PLATFORM_WIN32_1
912 COND_PLATFORM_WIN32_1_SHARED_0
914 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
915 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
916 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
917 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
918 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
919 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
920 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
921 COND_SHARED_0_USE_STC_1
922 COND_SHARED_0_wxUSE_EXPAT_builtin
923 COND_SHARED_0_wxUSE_REGEX_builtin
924 COND_SHARED_0_wxUSE_ZLIB_builtin
926 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
929 COND_TOOLKIT_COCOA_USE_GUI_1
930 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_DFB_USE_GUI_1
934 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
935 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
936 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
937 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
939 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_GTK_USE_GUI_1
943 COND_TOOLKIT_MGL_USE_GUI_1
945 COND_TOOLKIT_MOTIF_USE_GUI_1
946 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
948 COND_TOOLKIT_MSW_USE_GUI_1
949 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
950 COND_TOOLKIT_MSW_WXUNIV_0
951 COND_TOOLKIT_OSX_CARBON
952 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
953 COND_TOOLKIT_OSX_COCOA
954 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
955 COND_TOOLKIT_OSX_IPHONE
956 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
957 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
959 COND_TOOLKIT_PM_USE_GUI_1
960 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
962 COND_TOOLKIT_WINCE_USE_GUI_1
963 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
964 COND_TOOLKIT_WINCE_WXUNIV_0
966 COND_TOOLKIT_X11_USE_GUI_1
969 COND_USE_EXCEPTIONS_0
970 COND_USE_EXCEPTIONS_1
973 COND_USE_GUI_1_USE_OPENGL_1
974 COND_USE_GUI_1_WXUNIV_0
975 COND_USE_GUI_1_WXUNIV_1
976 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
977 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
978 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
979 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
980 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
981 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
987 COND_USE_SOTWOSYMLINKS_1
988 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
989 COND_USE_SOVERLINUX_1
991 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
992 COND_USE_SOVERSOLARIS_1
997 COND_WINDOWS_IMPLIB_1
998 COND_WITH_PLUGIN_SDL_1
1001 COND_WXUSE_EXPAT_BUILTIN
1002 COND_WXUSE_LIBJPEG_BUILTIN
1003 COND_WXUSE_LIBPNG_BUILTIN
1004 COND_WXUSE_LIBTIFF_BUILTIN
1005 COND_WXUSE_REGEX_BUILTIN
1006 COND_WXUSE_ZLIB_BUILTIN
1007 COND_wxUSE_EXPAT_builtin
1008 COND_wxUSE_LIBJPEG_builtin
1009 COND_wxUSE_LIBPNG_builtin
1010 COND_wxUSE_LIBTIFF_builtin
1011 COND_wxUSE_REGEX_builtin
1012 COND_wxUSE_ZLIB_builtin
1015 WX_LIBRARY_BASENAME_NOGUI
1016 WX_LIBRARY_BASENAME_GUI
1036 WXCONFIG_LDFLAGS_GUI
1048 WX_RESOURCES_MACOSX_ASCII
1049 WX_RESOURCES_MACOSX_DATA
1059 ac_precious_vars
='build_alias
1084 LIBGNOMEPRINTUI_CFLAGS
1085 LIBGNOMEPRINTUI_LIBS
1096 ac_subdirs_all
='src/tiff
1099 # Initialize some variables set by options.
1101 ac_init_version
=false
1102 # The variables have the same names as the options, with
1103 # dashes changed to underlines.
1104 cache_file
=/dev
/null
1111 program_transform_name
=s
,x
,x
,
1119 # Installation directory options.
1120 # These are left unexpanded so users can "make install exec_prefix=/foo"
1121 # and all the variables that are supposed to be based on exec_prefix
1122 # by default will actually change.
1123 # Use braces instead of parens because sh, perl, etc. also accept them.
1124 # (The list follows the same order as the GNU Coding Standards.)
1125 bindir
='${exec_prefix}/bin'
1126 sbindir
='${exec_prefix}/sbin'
1127 libexecdir
='${exec_prefix}/libexec'
1128 datarootdir
='${prefix}/share'
1129 datadir
='${datarootdir}'
1130 sysconfdir
='${prefix}/etc'
1131 sharedstatedir
='${prefix}/com'
1132 localstatedir
='${prefix}/var'
1133 includedir
='${prefix}/include'
1134 oldincludedir
='/usr/include'
1135 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1136 infodir
='${datarootdir}/info'
1141 libdir
='${exec_prefix}/lib'
1142 localedir
='${datarootdir}/locale'
1143 mandir
='${datarootdir}/man'
1149 # If the previous option needs an argument, assign it.
1150 if test -n "$ac_prev"; then
1151 eval $ac_prev=\
$ac_option
1157 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1161 # Accept the important Cygnus configure options, so we can diagnose typos.
1163 case $ac_dashdash$ac_option in
1167 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1169 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1170 bindir
=$ac_optarg ;;
1172 -build | --build | --buil | --bui | --bu)
1173 ac_prev
=build_alias
;;
1174 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1175 build_alias
=$ac_optarg ;;
1177 -cache-file | --cache-file | --cache-fil | --cache-fi \
1178 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1179 ac_prev
=cache_file
;;
1180 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1181 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1182 cache_file
=$ac_optarg ;;
1184 --config-cache | -C)
1185 cache_file
=config.cache
;;
1187 -datadir | --datadir | --datadi | --datad)
1189 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1190 datadir
=$ac_optarg ;;
1192 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1193 | --dataroo | --dataro | --datar)
1194 ac_prev
=datarootdir
;;
1195 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1196 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1197 datarootdir
=$ac_optarg ;;
1199 -disable-* | --disable-*)
1200 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1203 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1204 { (exit 1); exit 1; }; }
1205 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1206 eval enable_
$ac_feature=no
;;
1208 -docdir | --docdir | --docdi | --doc | --do)
1210 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1211 docdir
=$ac_optarg ;;
1213 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1215 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1216 dvidir
=$ac_optarg ;;
1218 -enable-* | --enable-*)
1219 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1220 # Reject names that are not valid shell variable names.
1221 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1222 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1223 { (exit 1); exit 1; }; }
1224 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1225 eval enable_
$ac_feature=\
$ac_optarg ;;
1227 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1228 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1229 | --exec | --exe | --ex)
1230 ac_prev
=exec_prefix
;;
1231 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1232 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1233 | --exec=* | --exe=* | --ex=*)
1234 exec_prefix
=$ac_optarg ;;
1236 -gas | --gas | --ga | --g)
1237 # Obsolete; use --with-gas.
1240 -help | --help | --hel | --he | -h)
1241 ac_init_help
=long
;;
1242 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1243 ac_init_help
=recursive
;;
1244 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1245 ac_init_help
=short
;;
1247 -host | --host | --hos | --ho)
1248 ac_prev
=host_alias
;;
1249 -host=* | --host=* | --hos=* | --ho=*)
1250 host_alias
=$ac_optarg ;;
1252 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1254 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1256 htmldir
=$ac_optarg ;;
1258 -includedir | --includedir | --includedi | --included | --include \
1259 | --includ | --inclu | --incl | --inc)
1260 ac_prev
=includedir
;;
1261 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1262 | --includ=* | --inclu=* | --incl=* | --inc=*)
1263 includedir
=$ac_optarg ;;
1265 -infodir | --infodir | --infodi | --infod | --info | --inf)
1267 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1268 infodir
=$ac_optarg ;;
1270 -libdir | --libdir | --libdi | --libd)
1272 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1273 libdir
=$ac_optarg ;;
1275 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1276 | --libexe | --libex | --libe)
1277 ac_prev
=libexecdir
;;
1278 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1279 | --libexe=* | --libex=* | --libe=*)
1280 libexecdir
=$ac_optarg ;;
1282 -localedir | --localedir | --localedi | --localed | --locale)
1283 ac_prev
=localedir
;;
1284 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1285 localedir
=$ac_optarg ;;
1287 -localstatedir | --localstatedir | --localstatedi | --localstated \
1288 | --localstate | --localstat | --localsta | --localst | --locals)
1289 ac_prev
=localstatedir
;;
1290 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1291 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1292 localstatedir
=$ac_optarg ;;
1294 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1296 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1297 mandir
=$ac_optarg ;;
1299 -nfp | --nfp | --nf)
1300 # Obsolete; use --without-fp.
1303 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1304 | --no-cr | --no-c | -n)
1307 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1308 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1311 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1312 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1313 | --oldin | --oldi | --old | --ol | --o)
1314 ac_prev
=oldincludedir
;;
1315 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1316 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1317 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1318 oldincludedir
=$ac_optarg ;;
1320 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1322 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1323 prefix
=$ac_optarg ;;
1325 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1326 | --program-pre | --program-pr | --program-p)
1327 ac_prev
=program_prefix
;;
1328 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1329 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1330 program_prefix
=$ac_optarg ;;
1332 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1333 | --program-suf | --program-su | --program-s)
1334 ac_prev
=program_suffix
;;
1335 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1336 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1337 program_suffix
=$ac_optarg ;;
1339 -program-transform-name | --program-transform-name \
1340 | --program-transform-nam | --program-transform-na \
1341 | --program-transform-n | --program-transform- \
1342 | --program-transform | --program-transfor \
1343 | --program-transfo | --program-transf \
1344 | --program-trans | --program-tran \
1345 | --progr-tra | --program-tr | --program-t)
1346 ac_prev
=program_transform_name
;;
1347 -program-transform-name=* | --program-transform-name=* \
1348 | --program-transform-nam=* | --program-transform-na=* \
1349 | --program-transform-n=* | --program-transform-=* \
1350 | --program-transform=* | --program-transfor=* \
1351 | --program-transfo=* | --program-transf=* \
1352 | --program-trans=* | --program-tran=* \
1353 | --progr-tra=* | --program-tr=* | --program-t=*)
1354 program_transform_name
=$ac_optarg ;;
1356 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1358 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1359 pdfdir
=$ac_optarg ;;
1361 -psdir | --psdir | --psdi | --psd | --ps)
1363 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1366 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1367 | -silent | --silent | --silen | --sile | --sil)
1370 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1372 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1374 sbindir
=$ac_optarg ;;
1376 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1377 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1378 | --sharedst | --shareds | --shared | --share | --shar \
1380 ac_prev
=sharedstatedir
;;
1381 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1382 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1383 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1385 sharedstatedir
=$ac_optarg ;;
1387 -site | --site | --sit)
1389 -site=* | --site=* | --sit=*)
1392 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1394 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1395 srcdir
=$ac_optarg ;;
1397 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1398 | --syscon | --sysco | --sysc | --sys | --sy)
1399 ac_prev
=sysconfdir
;;
1400 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1401 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1402 sysconfdir
=$ac_optarg ;;
1404 -target | --target | --targe | --targ | --tar | --ta | --t)
1405 ac_prev
=target_alias
;;
1406 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1407 target_alias
=$ac_optarg ;;
1409 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1412 -version | --version | --versio | --versi | --vers | -V)
1413 ac_init_version
=: ;;
1416 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1417 # Reject names that are not valid shell variable names.
1418 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1419 { echo "$as_me: error: invalid package name: $ac_package" >&2
1420 { (exit 1); exit 1; }; }
1421 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1422 eval with_
$ac_package=\
$ac_optarg ;;
1424 -without-* | --without-*)
1425 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1426 # Reject names that are not valid shell variable names.
1427 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1428 { echo "$as_me: error: invalid package name: $ac_package" >&2
1429 { (exit 1); exit 1; }; }
1430 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1431 eval with_
$ac_package=no
;;
1434 # Obsolete; use --with-x.
1437 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1438 | --x-incl | --x-inc | --x-in | --x-i)
1439 ac_prev
=x_includes
;;
1440 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1441 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1442 x_includes
=$ac_optarg ;;
1444 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1445 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1446 ac_prev
=x_libraries
;;
1447 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1448 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1449 x_libraries
=$ac_optarg ;;
1451 -*) { echo "$as_me: error: unrecognized option: $ac_option
1452 Try \`$0 --help' for more information." >&2
1453 { (exit 1); exit 1; }; }
1457 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1458 # Reject names that are not valid shell variable names.
1459 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1460 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1461 { (exit 1); exit 1; }; }
1462 eval $ac_envvar=\
$ac_optarg
1463 export $ac_envvar ;;
1466 # FIXME: should be removed in autoconf 3.0.
1467 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1468 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1469 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1470 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1476 if test -n "$ac_prev"; then
1477 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1478 { echo "$as_me: error: missing argument to $ac_option" >&2
1479 { (exit 1); exit 1; }; }
1482 # Be sure to have absolute directory names.
1483 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1484 datadir sysconfdir sharedstatedir localstatedir includedir \
1485 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1486 libdir localedir mandir
1488 eval ac_val
=\$
$ac_var
1490 [\\/$
]* | ?
:[\\/]* ) continue;;
1491 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1493 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1494 { (exit 1); exit 1; }; }
1497 # There might be people who depend on the old broken behavior: `$host'
1498 # used to hold the argument of --host etc.
1499 # FIXME: To remove some day.
1502 target
=$target_alias
1504 # FIXME: To remove some day.
1505 if test "x$host_alias" != x
; then
1506 if test "x$build_alias" = x
; then
1507 cross_compiling
=maybe
1508 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1509 If a cross compiler is detected then cross compile mode will be used." >&2
1510 elif test "x$build_alias" != "x$host_alias"; then
1516 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1518 test "$silent" = yes && exec 6>/dev
/null
1521 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1522 ac_ls_di
=`ls -di .` &&
1523 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1524 { echo "$as_me: error: Working directory cannot be determined" >&2
1525 { (exit 1); exit 1; }; }
1526 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1527 { echo "$as_me: error: pwd does not report name of working directory" >&2
1528 { (exit 1); exit 1; }; }
1531 # Find the source files, if location was not specified.
1532 if test -z "$srcdir"; then
1533 ac_srcdir_defaulted
=yes
1534 # Try the directory containing this script, then the parent directory.
1535 ac_confdir
=`$as_dirname -- "$0" ||
1536 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1537 X"$0" : 'X\(//\)[^/]' \| \
1538 X"$0" : 'X\(//\)$' \| \
1539 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1559 if test ! -r "$srcdir/$ac_unique_file"; then
1563 ac_srcdir_defaulted
=no
1565 if test ! -r "$srcdir/$ac_unique_file"; then
1566 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1567 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1568 { (exit 1); exit 1; }; }
1570 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1572 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1573 { (exit 1); exit 1; }; }
1575 # When building in place, set srcdir=.
1576 if test "$ac_abs_confdir" = "$ac_pwd"; then
1579 # Remove unnecessary trailing slashes from srcdir.
1580 # Double slashes in file names in object file debugging info
1581 # mess up M-x gdb in Emacs.
1583 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1585 for ac_var
in $ac_precious_vars; do
1586 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1587 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1588 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1589 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1593 # Report the --help message.
1595 if test "$ac_init_help" = "long"; then
1596 # Omit some internal or obsolete options to make the list less imposing.
1597 # This message is too long to be a string in the A/UX 3.1 sh.
1599 \`configure' configures wxWidgets 2.9.2 to adapt to many kinds of systems.
1601 Usage: $0 [OPTION]... [VAR=VALUE]...
1603 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1604 VAR=VALUE. See below for descriptions of some of the useful variables.
1606 Defaults for the options are specified in brackets.
1609 -h, --help display this help and exit
1610 --help=short display options specific to this package
1611 --help=recursive display the short help of all the included packages
1612 -V, --version display version information and exit
1613 -q, --quiet, --silent do not print \`checking...' messages
1614 --cache-file=FILE cache test results in FILE [disabled]
1615 -C, --config-cache alias for \`--cache-file=config.cache'
1616 -n, --no-create do not create output files
1617 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1619 Installation directories:
1620 --prefix=PREFIX install architecture-independent files in PREFIX
1621 [$ac_default_prefix]
1622 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1625 By default, \`make install' will install all the files in
1626 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1627 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1628 for instance \`--prefix=\$HOME'.
1630 For better control, use the options below.
1632 Fine tuning of the installation directories:
1633 --bindir=DIR user executables [EPREFIX/bin]
1634 --sbindir=DIR system admin executables [EPREFIX/sbin]
1635 --libexecdir=DIR program executables [EPREFIX/libexec]
1636 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1637 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1638 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1639 --libdir=DIR object code libraries [EPREFIX/lib]
1640 --includedir=DIR C header files [PREFIX/include]
1641 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1642 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1643 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1644 --infodir=DIR info documentation [DATAROOTDIR/info]
1645 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1646 --mandir=DIR man documentation [DATAROOTDIR/man]
1647 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1648 --htmldir=DIR html documentation [DOCDIR]
1649 --dvidir=DIR dvi documentation [DOCDIR]
1650 --pdfdir=DIR pdf documentation [DOCDIR]
1651 --psdir=DIR ps documentation [DOCDIR]
1657 --x-includes=DIR X include files are
in DIR
1658 --x-libraries=DIR X library files are
in DIR
1661 --build=BUILD configure
for building on BUILD
[guessed
]
1662 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1666 if test -n "$ac_init_help"; then
1667 case $ac_init_help in
1668 short
| recursive
) echo "Configuration of wxWidgets 2.9.2:";;
1673 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1674 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1675 --disable-gui don
't build GUI parts of the library
1676 --enable-monolithic build wxWidgets as single library
1677 --enable-plugins build parts of wxWidgets as loadable components
1678 --enable-official_build official build of wxWidgets (win32 DLL only)
1679 --enable-vendor=VENDOR vendor name (win32 DLL only)
1680 --disable-all-features disable all optional features to build minimal library
1681 --enable-universal use wxWidgets GUI controls instead of native ones
1682 --enable-nanox use NanoX
1683 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1684 --enable-gpe use GNOME PDA Environment features if possible
1685 --enable-debug build library for debugging
1686 --disable-debug_flag disable all debugging support
1687 --enable-debug_info generate debug information
1688 --enable-debug_gdb create code with extra GDB debugging information
1689 --enable-debug_cntxt obsolete, don't use
: use wxDebugContext
1690 --enable-mem_tracing obsolete
, don
't use: create code with memory tracing
1691 --disable-shared create static library instead of shared
1692 --enable-stl use STL for containers
1693 --enable-std_iostreams use standard C++ stream classes
1694 --enable-std_string use standard C++ string classes
1695 --disable-unicode compile without Unicode support
1696 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1697 --enable-utf8 use UTF-8 representation for strings (Unix only)
1698 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1699 --enable-extended_rtti use extended RTTI (XTI)
1700 --enable-omf use OMF object format
1701 --disable-optimise compile without optimisations
1702 --enable-profile create code with profiling information
1703 --enable-no_rtti create code without RTTI information
1704 --enable-no_exceptions create code without C++ exceptions handling
1705 --enable-permissive compile code disregarding strict ANSI
1706 --enable-no_deps create code without dependency information
1707 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1708 --enable-universal_binary create universal binary with Mac PPC and i386
(and x86_64
if using Cocoa
) architectures
1709 --enable-macosx_arch=ARCH build
for just the specified architecture
1710 --enable-compat26 enable wxWidgets
2.6 compatibility
1711 --disable-compat28 disable wxWidgets
2.8 compatibility
1712 --disable-rpath disable use of rpath
for uninstalled builds
1713 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1714 --disable-visibility disable use of ELF symbols visibility even
if supported
1715 --disable-tls disable use of compiler TLS support
1716 --enable-intl use internationalization system
1717 --enable-xlocale use x
-locale support
(requires wxLocale
)
1718 --enable-config use wxConfig
(and derived
) classes
1719 --enable-protocols use wxProtocol and derived classes
1720 --enable-ftp use wxFTP
(requires wxProtocol
1721 --enable-http use wxHTTP
(requires wxProtocol
1722 --enable-fileproto use wxFileProto class
(requires wxProtocol
1723 --enable-sockets use socket
/network classes
1724 --enable-ipv6 enable IPv6 support
in wxSocket
1725 --enable-ole use OLE classes
(Win32 only
)
1726 --enable-dataobj use data object classes
1727 --enable-ipc use interprocess communication
(wxSocket etc.
)
1728 --enable-baseevtloop use event loop
in console programs too
1729 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1730 --enable-selectloop use wxSelectDispatcher class
1731 --enable-any use wxAny class
1732 --enable-apple_ieee use the Apple IEEE codec
1733 --enable-arcstream use wxArchive streams
1734 --enable-base64 use base64 encoding
/decoding functions
1735 --enable-backtrace use wxStackWalker class
for getting backtraces
1736 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1737 --enable-cmdline use wxCmdLineParser class
1738 --enable-datetime use wxDateTime class
1739 --enable-debugreport use wxDebugReport class
1740 --enable-dialupman use dialup network classes
1741 --enable-dynlib use wxLibrary class
for DLL loading
1742 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1743 --enable-exceptions build exception
-safe library
1744 --enable-ffile use wxFFile class
1745 --enable-file use wxFile class
1746 --enable-filehistory use wxFileHistory class
1747 --enable-filesystem use virtual
file systems classes
1748 --enable-fontenum use wxFontEnumerator class
1749 --enable-fontmap use font encodings conversion classes
1750 --enable-fs_archive use virtual archive filesystems
1751 --enable-fs_inet use virtual HTTP
/FTP filesystems
1752 --enable-fs_zip now replaced by fs_archive
1753 --enable-fswatcher use wxFileSystemWatcher class
1754 --enable-geometry use geometry class
1755 --enable-log use logging system
1756 --enable-longlong use wxLongLong class
1757 --enable-mimetype use wxMimeTypesManager
1758 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1759 --enable-snglinst use wxSingleInstanceChecker class
1760 --enable-sound use wxSound class
1761 --enable-stdpaths use wxStandardPaths class
1762 --enable-stopwatch use wxStopWatch class
1763 --enable-streams use wxStream etc classes
1764 --enable-sysoptions use wxSystemOptions
1765 --enable-tarstream use wxTar streams
1766 --enable-textbuf use wxTextBuffer class
1767 --enable-textfile use wxTextFile class
1768 --enable-timer use wxTimer class
1769 --enable-variant use wxVariant class
1770 --enable-zipstream use wxZip streams
1771 --enable-url use wxURL class
1772 --enable-protocol use wxProtocol class
1773 --enable-protocol-http HTTP support
in wxProtocol
1774 --enable-protocol-ftp FTP support
in wxProtocol
1775 --enable-protocol-file FILE support
in wxProtocol
1776 --enable-threads use threads
1777 --enable-iniconf use wxIniConfig
(Win32 only
)
1778 --enable-regkey use wxRegKey class
(Win32 only
)
1779 --enable-docview use document view architecture
1780 --enable-help use
help subsystem
1781 --enable-mshtmlhelp use MS HTML Help
(win32
)
1782 --enable-html use wxHTML sub
-library
1783 --enable-htmlhelp use wxHTML
-based help
1784 --enable-xrc use XRC resources sub
-library
1785 --enable-aui use AUI docking library
1786 --enable-propgrid use wxPropertyGrid library
1787 --enable-ribbon use wxRibbon library
1788 --enable-stc use wxStyledTextCtrl library
1789 --enable-constraints use layout
-constraints system
1790 --enable-loggui use standard GUI logger
1791 --enable-logwin use wxLogWindow
1792 --enable-logdialog use wxLogDialog
1793 --enable-mdi use multiple document interface architecture
1794 --enable-mdidoc use docview architecture with MDI
1795 --enable-mediactrl use wxMediaCtrl class
1796 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1797 --enable-webkit use wxWebKitCtrl
(Mac
)
1798 --enable-richtext use wxRichTextCtrl
1799 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1800 --enable-printarch use printing architecture
1801 --enable-svg use wxSVGFileDC device context
1802 --enable-graphics_ctx use graphics context
2D drawing API
1803 --enable-clipboard use wxClipboard class
1804 --enable-dnd use Drag
'n'Drop classes
1805 --enable-metafile use win32 metafiles
1806 --disable-controls disable compilation of all standard controls
1807 --enable-markup support wxControl
::SetLabelMarkup
1808 --enable-accel use accelerators
1809 --enable-animatectrl use wxAnimationCtrl class
1810 --enable-artstd use standard XPM icons
in wxArtProvider
1811 --enable-arttango use Tango icons
in wxArtProvider
1812 --enable-bmpbutton use wxBitmapButton class
1813 --enable-bmpcombobox use wxBitmapComboBox class
1814 --enable-button use wxButton class
1815 --enable-calendar use wxCalendarCtrl class
1816 --enable-caret use wxCaret class
1817 --enable-checkbox use wxCheckBox class
1818 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1819 --enable-choice use wxChoice class
1820 --enable-choicebook use wxChoicebook class
1821 --enable-collpane use wxCollapsiblePane class
1822 --enable-colourpicker use wxColourPickerCtrl class
1823 --enable-combobox use wxComboBox class
1824 --enable-comboctrl use wxComboCtrl class
1825 --enable-commandlinkbutton use wxCommmandLinkButton class
1826 --enable-dataviewctrl use wxDataViewCtrl class
1827 --enable-datepick use wxDatePickerCtrl class
1828 --enable-detect_sm use code to detect X11 session manager
1829 --enable-dirpicker use wxDirPickerCtrl class
1830 --enable-display use wxDisplay class
1831 --enable-editablebox use wxEditableListBox class
1832 --enable-filectrl use wxFileCtrl class
1833 --enable-filepicker use wxFilePickerCtrl class
1834 --enable-fontpicker use wxFontPickerCtrl class
1835 --enable-gauge use wxGauge class
1836 --enable-grid use wxGrid class
1837 --enable-headerctrl use wxHeaderCtrl class
1838 --enable-hyperlink use wxHyperlinkCtrl class
1839 --enable-imaglist use wxImageList class
1840 --enable-infobar use wxInfoBar class
1841 --enable-listbook use wxListbook class
1842 --enable-listbox use wxListBox class
1843 --enable-listctrl use wxListCtrl class
1844 --enable-notebook use wxNotebook class
1845 --enable-notifmsg use wxNotificationMessage class
1846 --enable-odcombobox use wxOwnerDrawnComboBox class
1847 --enable-popupwin use wxPopUpWindow class
1848 --enable-radiobox use wxRadioBox class
1849 --enable-radiobtn use wxRadioButton class
1850 --enable-richmsgdlg use wxRichMessageDialog class
1851 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
1852 --enable-sash use wxSashWindow class
1853 --enable-scrollbar use wxScrollBar class and scrollable windows
1854 --enable-searchctrl use wxSearchCtrl class
1855 --enable-slider use wxSlider class
1856 --enable-spinbtn use wxSpinButton class
1857 --enable-spinctrl use wxSpinCtrl class
1858 --enable-splitter use wxSplitterWindow class
1859 --enable-statbmp use wxStaticBitmap class
1860 --enable-statbox use wxStaticBox class
1861 --enable-statline use wxStaticLine class
1862 --enable-stattext use wxStaticText class
1863 --enable-statusbar use wxStatusBar class
1864 --enable-taskbaricon use wxTaskBarIcon class
1865 --enable-tbarnative use native wxToolBar class
1866 --enable-textctrl use wxTextCtrl class
1867 --enable-tipwindow use wxTipWindow class
1868 --enable-togglebtn use wxToggleButton class
1869 --enable-toolbar use wxToolBar class
1870 --enable-toolbook use wxToolbook class
1871 --enable-treebook use wxTreebook class
1872 --enable-treectrl use wxTreeCtrl class
1873 --enable-commondlg use all common dialogs
1874 --enable-aboutdlg use wxAboutBox
1875 --enable-choicedlg use wxChoiceDialog
1876 --enable-coldlg use wxColourDialog
1877 --enable-filedlg use wxFileDialog
1878 --enable-finddlg use wxFindReplaceDialog
1879 --enable-fontdlg use wxFontDialog
1880 --enable-dirdlg use wxDirDialog
1881 --enable-msgdlg use wxMessageDialog
1882 --enable-numberdlg use wxNumberEntryDialog
1883 --enable-splash use wxSplashScreen
1884 --enable-textdlg use wxTextDialog
1885 --enable-tipdlg use startup tips
1886 --enable-progressdlg use wxProgressDialog
1887 --enable-wizarddlg use wxWizard
1888 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1889 --enable-miniframe use wxMiniFrame class
1890 --enable-tooltips use wxToolTip class
1891 --enable-splines use spline drawing code
1892 --enable-mousewheel use mousewheel
1893 --enable-validators use wxValidator and derived classes
1894 --enable-busyinfo use wxBusyInfo
1895 --enable-joystick use wxJoystick
1896 --enable-metafiles use wxMetaFile
(Win32 only
)
1897 --enable-dragimage use wxDragImage
1898 --enable-accessibility enable accessibility support
1899 --enable-uiactionsim use wxUIActionSimulator
(experimental
)
1900 --enable-palette use wxPalette class
1901 --enable-image use wxImage class
1902 --enable-gif use gif images
(GIF
file format
)
1903 --enable-pcx use pcx images
(PCX
file format
)
1904 --enable-tga use tga images
(TGA
file format
)
1905 --enable-iff use iff images
(IFF
file format
)
1906 --enable-pnm use pnm images
(PNM
file format
)
1907 --enable-xpm use xpm images
(XPM
file format
)
1908 --enable-ico_cur use Windows ICO and CUR formats
1909 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1910 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1911 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1912 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1913 --enable-wxdib use wxDIB class
(Win32 only
)
1914 --enable-autoidman use automatic ids management
1915 --disable-largefile omit support
for large files
1916 --disable-gtktest do not try to compile and run a
test GTK
+ program
1917 --disable-gtktest Do not try to compile and run a
test GTK program
1918 --disable-sdltest Do not try to compile and run a
test SDL program
1919 --enable-omf use OMF object format
(OS
/2)
1920 --disable-dependency-tracking
1921 don
't use dependency tracking even if the compiler
1923 --disable-precomp-headers
1924 don't use precompiled headers even
if compiler can
1927 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1928 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1929 --without-subdirs don
't generate makefiles for samples/demos/...
1930 --with-flavour=NAME specify a name to identify this build
1931 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1932 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1933 --with-motif use Motif/Lesstif
1934 --with-osx_carbon use Mac OS X (Carbon)
1935 --with-osx_cocoa use Mac OS X (Cocoa)
1936 --with-osx_iphone use iPhone OS X port
1937 --with-osx use Mac OS X (default port, currently Carbon)
1938 --with-carbon same as --with-osx_carbon
1939 --with-cocoa same as --with-osx_cocoa
1940 --with-iphone same as --with-osx_iphone
1941 --with-mac same as --with-osx
1942 --with-old_cocoa use old, deprecated, Cocoa port
1943 --with-wine use Wine
1944 --with-msw use MS-Windows
1945 --with-pm use OS/2 Presentation Manager
1946 --with-mgl use SciTech MGL
1947 --with-directfb use DirectFB
1948 --with-microwin use MicroWindows
1950 --with-libpng use libpng (PNG image format)
1951 --with-libjpeg use libjpeg (JPEG file format)
1952 --with-libtiff use libtiff (TIFF file format)
1953 --with-libxpm use libxpm (XPM file format)
1954 --with-libiconv use libiconv (character conversion)
1955 --with-libmspack use libmspack (CHM help files loading)
1956 --without-gtkprint don't use GTK printing support
1957 --without-gnomeprint don
't use GNOME printing libraries
1958 --with-gnomevfs use GNOME VFS for associating MIME types
1959 --with-hildon use Hildon framework for Nokia 770/800/810
1960 --with-opengl use OpenGL (or Mesa)
1961 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1962 --with-sdl use SDL for audio on Unix
1963 --with-regex enable support for wxRegEx class
1964 --with-zlib use zlib for LZW compression
1965 --with-expat enable XML support using expat parser
1966 --with-macosx-sdk=PATH use an OS X SDK at PATH
1967 --with-macosx-version-min=VER build binaries which require at least this OS X version
1968 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1969 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1970 --with-x use the X Window System
1971 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1972 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1973 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1974 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1975 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1977 Some influential environment variables:
1978 CC C compiler command
1979 CFLAGS C compiler flags
1980 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1981 nonstandard directory <lib dir>
1982 LIBS libraries to pass to the linker, e.g. -l<library>
1983 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1984 you have headers in a nonstandard directory <include dir>
1986 CXX C++ compiler command
1987 CXXFLAGS C++ compiler flags
1988 CXXCPP C++ preprocessor
1989 PKG_CONFIG path to pkg-config utility
1991 C compiler flags for DIRECTFB, overriding pkg-config
1993 linker flags for DIRECTFB, overriding pkg-config
1994 XMKMF Path to xmkmf, Makefile generator for X Window System
1996 C compiler flags for PANGOX, overriding pkg-config
1997 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1999 C compiler flags for PANGOFT2, overriding pkg-config
2001 linker flags for PANGOFT2, overriding pkg-config
2003 C compiler flags for PANGOXFT, overriding pkg-config
2005 linker flags for PANGOXFT, overriding pkg-config
2007 C compiler flags for GTKPRINT, overriding pkg-config
2009 linker flags for GTKPRINT, overriding pkg-config
2010 LIBGNOMEPRINTUI_CFLAGS
2011 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2012 LIBGNOMEPRINTUI_LIBS
2013 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2015 C compiler flags for GNOMEVFS, overriding pkg-config
2017 linker flags for GNOMEVFS, overriding pkg-config
2019 C compiler flags for HILDON, overriding pkg-config
2020 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2022 C compiler flags for HILDON2, overriding pkg-config
2024 linker flags for HILDON2, overriding pkg-config
2026 C compiler flags for CAIRO, overriding pkg-config
2027 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2028 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2029 GST_LIBS linker flags for GST, overriding pkg-config
2031 Use these variables to override the choices made by `configure' or to
help
2032 it to
find libraries and programs with nonstandard names
/locations.
2034 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2039 if test "$ac_init_help" = "recursive"; then
2040 # If there are subdirs, report their specific --help.
2041 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2042 test -d "$ac_dir" || continue
2046 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2048 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2049 # A ".." for each directory in $ac_dir_suffix.
2050 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2051 case $ac_top_builddir_sub in
2052 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2053 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2056 ac_abs_top_builddir
=$ac_pwd
2057 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2058 # for backward compatibility:
2059 ac_top_builddir
=$ac_top_build_prefix
2062 .
) # We are building in place.
2064 ac_top_srcdir
=$ac_top_builddir_sub
2065 ac_abs_top_srcdir
=$ac_pwd ;;
2066 [\\/]* | ?
:[\\/]* ) # Absolute name.
2067 ac_srcdir
=$srcdir$ac_dir_suffix;
2068 ac_top_srcdir
=$srcdir
2069 ac_abs_top_srcdir
=$srcdir ;;
2071 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2072 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2073 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2075 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2077 cd "$ac_dir" || { ac_status
=$?
; continue; }
2078 # Check for guested configure.
2079 if test -f "$ac_srcdir/configure.gnu"; then
2081 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2082 elif test -f "$ac_srcdir/configure"; then
2084 $SHELL "$ac_srcdir/configure" --help=recursive
2086 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2088 cd "$ac_pwd" || { ac_status
=$?
; break; }
2092 test -n "$ac_init_help" && exit $ac_status
2093 if $ac_init_version; then
2095 wxWidgets configure
2.9.2
2096 generated by GNU Autoconf
2.61
2098 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2099 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2100 This configure
script is free software
; the Free Software Foundation
2101 gives unlimited permission to copy
, distribute and modify it.
2105 cat >config.log
<<_ACEOF
2106 This file contains any messages produced by compilers while
2107 running configure, to aid debugging if configure makes a mistake.
2109 It was created by wxWidgets $as_me 2.9.2, which was
2110 generated by GNU Autoconf 2.61. Invocation command line was
2122 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2123 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2124 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2125 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2126 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2128 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2129 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2131 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2132 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2133 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2134 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2135 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2136 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2137 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2145 test -z "$as_dir" && as_dir
=.
2146 echo "PATH: $as_dir"
2162 # Keep a trace of the command line.
2163 # Strip out --no-create and --no-recursion so they do not pile up.
2164 # Strip out --silent because we don't want to record it for future runs.
2165 # Also quote any args containing shell meta-characters.
2166 # Make two passes to allow for proper duplicate-argument suppression.
2170 ac_must_keep_next
=false
2176 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2177 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2178 | -silent | --silent | --silen | --sile | --sil)
2181 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2184 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2186 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2187 if test $ac_must_keep_next = true
; then
2188 ac_must_keep_next
=false
# Got value, back to normal.
2191 *=* | --config-cache | -C | -disable-* | --disable-* \
2192 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2193 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2194 | -with-* | --with-* | -without-* | --without-* | --x)
2195 case "$ac_configure_args0 " in
2196 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2199 -* ) ac_must_keep_next
=true
;;
2202 ac_configure_args
="$ac_configure_args '$ac_arg'"
2207 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2208 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2210 # When interrupted or exit'd, cleanup temporary files, and complete
2211 # config.log. We remove comments because anyway the quotes in there
2212 # would cause problems or look ugly.
2213 # WARNING: Use '\'' to represent an apostrophe within the trap.
2214 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2215 trap 'exit_status=$?
2216 # Save into config.log some information that might help in debugging.
2221 ## ---------------- ##
2222 ## Cache variables. ##
2223 ## ---------------- ##
2226 # The following way of writing the cache mishandles newlines in values,
2228 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2229 eval ac_val=\$$ac_var
2233 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2234 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2237 _ | IFS | as_nl) ;; #(
2238 *) $as_unset $ac_var ;;
2243 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2244 *${as_nl}ac_space=\ *)
2246 "s/'\''/'\''\\\\'\'''\''/g;
2247 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2250 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2258 ## ----------------- ##
2259 ## Output variables. ##
2260 ## ----------------- ##
2263 for ac_var in $ac_subst_vars
2265 eval ac_val=\$$ac_var
2267 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2269 echo "$ac_var='\''$ac_val'\''"
2273 if test -n "$ac_subst_files"; then
2275 ## ------------------- ##
2276 ## File substitutions. ##
2277 ## ------------------- ##
2280 for ac_var
in $ac_subst_files
2282 eval ac_val
=\$
$ac_var
2284 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2286 echo "$ac_var='\''$ac_val'\''"
2291 if test -s confdefs.h; then
2301 test "$ac_signal" != 0 &&
2302 echo "$as_me: caught signal $ac_signal"
2303 echo "$as_me: exit $exit_status"
2305 rm -f core *.core core.conftest.* &&
2306 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2309 for ac_signal
in 1 2 13 15; do
2310 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2314 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2315 rm -f -r conftest
* confdefs.h
2317 # Predefined preprocessor variables.
2319 cat >>confdefs.h
<<_ACEOF
2320 #define PACKAGE_NAME "$PACKAGE_NAME"
2324 cat >>confdefs.h
<<_ACEOF
2325 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2329 cat >>confdefs.h
<<_ACEOF
2330 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2334 cat >>confdefs.h
<<_ACEOF
2335 #define PACKAGE_STRING "$PACKAGE_STRING"
2339 cat >>confdefs.h
<<_ACEOF
2340 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2344 # Let the site file select an alternate cache file if it wants to.
2345 # Prefer explicitly selected file to automatically selected ones.
2346 if test -n "$CONFIG_SITE"; then
2347 set x
"$CONFIG_SITE"
2348 elif test "x$prefix" != xNONE
; then
2349 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2351 set x
"$ac_default_prefix/share/config.site" \
2352 "$ac_default_prefix/etc/config.site"
2357 if test -r "$ac_site_file"; then
2358 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2359 echo "$as_me: loading site script $ac_site_file" >&6;}
2360 sed 's/^/| /' "$ac_site_file" >&5
2365 if test -r "$cache_file"; then
2366 # Some versions of bash will fail to source /dev/null (special
2367 # files actually), so we avoid doing that.
2368 if test -f "$cache_file"; then
2369 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2370 echo "$as_me: loading cache $cache_file" >&6;}
2372 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2373 *) .
"./$cache_file";;
2377 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2378 echo "$as_me: creating cache $cache_file" >&6;}
2382 # Check that the precious variables saved in the cache have kept the same
2384 ac_cache_corrupted
=false
2385 for ac_var
in $ac_precious_vars; do
2386 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2387 eval ac_new_set
=\
$ac_env_${ac_var}_set
2388 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2389 eval ac_new_val
=\
$ac_env_${ac_var}_value
2390 case $ac_old_set,$ac_new_set in
2392 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2393 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2394 ac_cache_corrupted
=: ;;
2396 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2397 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2398 ac_cache_corrupted
=: ;;
2401 if test "x$ac_old_val" != "x$ac_new_val"; then
2402 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2403 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2404 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2405 echo "$as_me: former value: $ac_old_val" >&2;}
2406 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2407 echo "$as_me: current value: $ac_new_val" >&2;}
2408 ac_cache_corrupted
=:
2411 # Pass precious variables to config.status.
2412 if test "$ac_new_set" = set; then
2414 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2415 *) ac_arg
=$ac_var=$ac_new_val ;;
2417 case " $ac_configure_args " in
2418 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2419 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2423 if $ac_cache_corrupted; then
2424 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2425 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2426 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2427 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2428 { (exit 1); exit 1; }; }
2456 ac_cpp
='$CPP $CPPFLAGS'
2457 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2458 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2459 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2466 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2467 if test -f "$ac_dir/install-sh"; then
2469 ac_install_sh
="$ac_aux_dir/install-sh -c"
2471 elif test -f "$ac_dir/install.sh"; then
2473 ac_install_sh
="$ac_aux_dir/install.sh -c"
2475 elif test -f "$ac_dir/shtool"; then
2477 ac_install_sh
="$ac_aux_dir/shtool install -c"
2481 if test -z "$ac_aux_dir"; then
2482 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2483 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2484 { (exit 1); exit 1; }; }
2487 # These three variables are undocumented and unsupported,
2488 # and are intended to be withdrawn in a future Autoconf release.
2489 # They can cause serious problems if a builder's source tree is in a directory
2490 # whose full name contains unusual characters.
2491 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2492 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2493 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2496 # Make sure we can run config.sub.
2497 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2498 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2499 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2500 { (exit 1); exit 1; }; }
2502 { echo "$as_me:$LINENO: checking build system type" >&5
2503 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2504 if test "${ac_cv_build+set}" = set; then
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
2507 ac_build_alias
=$build_alias
2508 test "x$ac_build_alias" = x
&&
2509 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2510 test "x$ac_build_alias" = x
&&
2511 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2512 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2513 { (exit 1); exit 1; }; }
2514 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2515 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2516 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2517 { (exit 1); exit 1; }; }
2520 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2521 echo "${ECHO_T}$ac_cv_build" >&6; }
2522 case $ac_cv_build in
2524 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2525 echo "$as_me: error: invalid value of canonical build" >&2;}
2526 { (exit 1); exit 1; }; };;
2529 ac_save_IFS
=$IFS; IFS
='-'
2535 # Remember, the first character of IFS is used to create $*,
2536 # except with old shells:
2539 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2542 { echo "$as_me:$LINENO: checking host system type" >&5
2543 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2544 if test "${ac_cv_host+set}" = set; then
2545 echo $ECHO_N "(cached) $ECHO_C" >&6
2547 if test "x$host_alias" = x
; then
2548 ac_cv_host
=$ac_cv_build
2550 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2551 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2552 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2553 { (exit 1); exit 1; }; }
2557 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2558 echo "${ECHO_T}$ac_cv_host" >&6; }
2561 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2562 echo "$as_me: error: invalid value of canonical host" >&2;}
2563 { (exit 1); exit 1; }; };;
2566 ac_save_IFS
=$IFS; IFS
='-'
2572 # Remember, the first character of IFS is used to create $*,
2573 # except with old shells:
2576 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2580 if test "$cross_compiling" != "no"; then
2581 HOST_PREFIX
="${host_alias}-"
2582 HOST_SUFFIX
="-$host_alias"
2589 wx_major_version_number
=2
2590 wx_minor_version_number
=9
2592 wx_subrelease_number
=0
2594 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2595 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2596 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2598 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2601 wx_top_builddir
="`pwd`"
2614 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2620 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2626 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2628 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2630 DEFAULT_wxUSE_OLD_COCOA
=0
2632 DEFAULT_wxUSE_OSX_CARBON
=0
2633 DEFAULT_wxUSE_OSX_COCOA
=0
2634 DEFAULT_wxUSE_OSX_IPHONE
=0
2636 DEFAULT_wxUSE_MICROWIN
=0
2637 DEFAULT_wxUSE_MOTIF
=0
2643 DEFAULT_DEFAULT_wxUSE_OLD_COCOA
=0
2644 DEFAULT_DEFAULT_wxUSE_GTK
=0
2645 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2646 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2647 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=0
2648 DEFAULT_DEFAULT_wxUSE_MGL
=0
2649 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2650 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2651 DEFAULT_DEFAULT_wxUSE_MSW
=0
2652 DEFAULT_DEFAULT_wxUSE_PM
=0
2653 DEFAULT_DEFAULT_wxUSE_X11
=0
2654 DEFAULT_DEFAULT_wxUSE_DFB
=0
2658 DYLIB_RPATH_INSTALL
=
2659 DYLIB_RPATH_POSTLINK
=
2661 DEFAULT_STD_FLAG
=yes
2666 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2667 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2668 cat >>confdefs.h
<<\_ACEOF
2673 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2677 cat >>confdefs.h
<<\_ACEOF
2682 if test "x$TMP" = "xalpha"; then
2684 cat >>confdefs.h
<<\_ACEOF
2689 DEFAULT_DEFAULT_wxUSE_GTK
=1
2691 *-*-gnu* | *-*-k*bsd
*-gnu )
2694 if test "x$TMP" = "xalpha"; then
2696 cat >>confdefs.h
<<\_ACEOF
2701 DEFAULT_DEFAULT_wxUSE_GTK
=1
2703 *-*-irix5* | *-*-irix6* )
2706 cat >>confdefs.h
<<\_ACEOF
2710 cat >>confdefs.h
<<\_ACEOF
2714 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2718 cat >>confdefs.h
<<\_ACEOF
2722 DEFAULT_DEFAULT_wxUSE_X11
=1
2728 cat >>confdefs.h
<<\_ACEOF
2732 cat >>confdefs.h
<<\_ACEOF
2733 #define __SOLARIS__ 1
2736 cat >>confdefs.h
<<\_ACEOF
2740 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2741 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2747 cat >>confdefs.h
<<\_ACEOF
2751 cat >>confdefs.h
<<\_ACEOF
2755 cat >>confdefs.h
<<\_ACEOF
2759 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2764 cat >>confdefs.h
<<\_ACEOF
2765 #define __FREEBSD__ 1
2768 cat >>confdefs.h
<<\_ACEOF
2772 DEFAULT_DEFAULT_wxUSE_GTK
=1
2774 *-*-openbsd*|*-*-mirbsd*)
2777 cat >>confdefs.h
<<\_ACEOF
2778 #define __OPENBSD__ 1
2781 cat >>confdefs.h
<<\_ACEOF
2785 DEFAULT_DEFAULT_wxUSE_GTK
=1
2790 cat >>confdefs.h
<<\_ACEOF
2791 #define __NETBSD__ 1
2794 cat >>confdefs.h
<<\_ACEOF
2798 DEFAULT_DEFAULT_wxUSE_GTK
=1
2799 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2801 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2806 cat >>confdefs.h
<<\_ACEOF
2810 cat >>confdefs.h
<<\_ACEOF
2814 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2815 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2820 cat >>confdefs.h
<<\_ACEOF
2824 cat >>confdefs.h
<<\_ACEOF
2828 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2833 cat >>confdefs.h
<<\_ACEOF
2837 cat >>confdefs.h
<<\_ACEOF
2841 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2847 cat >>confdefs.h
<<\_ACEOF
2851 cat >>confdefs.h
<<\_ACEOF
2855 cat >>confdefs.h
<<\_ACEOF
2859 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2866 cat >>confdefs.h
<<\_ACEOF
2867 #define __UNIXWARE__ 1
2872 *-*-cygwin* | *-*-mingw32* )
2874 DEFAULT_DEFAULT_wxUSE_MSW
=1
2880 cat >>confdefs.h
<<\_ACEOF
2885 DEFAULT_DEFAULT_wxUSE_MGL
=1
2888 *-pc-os2_emx | *-pc-os2-emx )
2889 cat >>confdefs.h
<<\_ACEOF
2894 cat >>confdefs.h
<<\_ACEOF
2899 DEFAULT_DEFAULT_wxUSE_PM
=1
2901 LDFLAGS
="$LDFLAGS -Zcrtdll"
2902 ac_executable_extensions
=".exe"
2903 export ac_executable_extensions
2907 for ac_dir
in $PATH; do
2909 if test -z "$ac_TEMP_PATH"; then
2910 ac_TEMP_PATH
="$ac_dir"
2912 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2915 export PATH
="$ac_TEMP_PATH"
2923 cat >>confdefs.h
<<\_ACEOF
2927 cat >>confdefs.h
<<\_ACEOF
2928 #define __DARWIN__ 1
2931 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=1
2937 cat >>confdefs.h
<<\_ACEOF
2941 cat >>confdefs.h
<<\_ACEOF
2942 #define __DARWIN__ 1
2945 cat >>confdefs.h
<<\_ACEOF
2946 #define TARGET_CARBON 1
2949 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2954 cat >>confdefs.h
<<\_ACEOF
2961 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2962 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2963 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2964 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2966 DEFAULT_DEFAULT_wxUSE_X11
=1
2967 DEFAULT_wxUSE_SHARED
=no
2972 DEFAULT_wxUSE_ALL_FEATURES
=yes
2974 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2975 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2977 DEFAULT_wxUSE_DMALLOC
=no
2978 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2979 DEFAULT_wxUSE_LIBHILDON
=no
2980 DEFAULT_wxUSE_LIBHILDON2
=no
2981 DEFAULT_wxUSE_LIBMSPACK
=no
2982 DEFAULT_wxUSE_LIBSDL
=no
2984 DEFAULT_wxUSE_ACCESSIBILITY
=no
2985 DEFAULT_wxUSE_IPV6
=no
2986 DEFAULT_wxUSE_GSTREAMER8
=no
2988 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=auto
2989 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2990 DEFAULT_wxUSE_OPENGL
=auto
2991 DEFAULT_wxUSE_MEDIACTRL
=auto
2992 DEFAULT_wxUSE_COMPILER_TLS
=auto
2994 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2996 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2997 DEFAULT_wxUSE_MAC_ARCH
=no
2999 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
3001 DEFAULT_wxUSE_GTK2
=yes
3003 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
3009 enablestring
=disable
3011 if test -z "$defaultval"; then
3012 if test x
"$enablestring" = xdisable
; then
3019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3020 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3021 # Check whether --enable-gui was given.
3022 if test "${enable_gui+set}" = set; then
3023 enableval
=$enable_gui;
3024 if test "$enableval" = yes; then
3025 wx_cv_use_gui
='wxUSE_GUI=yes'
3027 wx_cv_use_gui
='wxUSE_GUI=no'
3032 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3037 eval "$wx_cv_use_gui"
3039 if test x"$enablestring" = xdisable; then
3040 if test $wxUSE_GUI = no; then
3049 { echo "$as_me:$LINENO: result: $result" >&5
3050 echo "${ECHO_T}$result" >&6; }
3055 if test -z "$defaultval"; then
3056 if test x"$enablestring" = xdisable; then
3063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3064 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3065 # Check whether --enable-monolithic was given.
3066 if test "${enable_monolithic+set}" = set; then
3067 enableval=$enable_monolithic;
3068 if test "$enableval" = yes; then
3069 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3071 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3076 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3081 eval "$wx_cv_use_monolithic"
3083 if test x"$enablestring" = xdisable; then
3084 if test $wxUSE_MONOLITHIC = no; then
3090 result=$wxUSE_MONOLITHIC
3093 { echo "$as_me:$LINENO: result
: $result" >&5
3094 echo "${ECHO_T}$result" >&6; }
3099 if test -z "$defaultval"; then
3100 if test x"$enablestring" = xdisable; then
3107 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3108 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3109 # Check whether --enable-plugins was given.
3110 if test "${enable_plugins+set}" = set; then
3111 enableval=$enable_plugins;
3112 if test "$enableval" = yes; then
3113 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3115 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3120 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3125 eval "$wx_cv_use_plugins"
3127 if test x
"$enablestring" = xdisable
; then
3128 if test $wxUSE_PLUGINS = no
; then
3134 result
=$wxUSE_PLUGINS
3137 { echo "$as_me:$LINENO: result: $result" >&5
3138 echo "${ECHO_T}$result" >&6; }
3142 defaultval
=$wxUSE_ALL_FEATURES
3143 if test -z "$defaultval"; then
3144 if test x
"$withstring" = xwithout
; then
3150 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3151 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3153 # Check whether --with-subdirs was given.
3154 if test "${with_subdirs+set}" = set; then
3155 withval
=$with_subdirs;
3156 if test "$withval" = yes; then
3157 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3159 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3164 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3169 eval "$wx_cv_use_subdirs"
3171 if test x"$withstring" = xwithout; then
3172 if test $wxWITH_SUBDIRS = yes; then
3178 result=$wxWITH_SUBDIRS
3181 { echo "$as_me:$LINENO: result: $result" >&5
3182 echo "${ECHO_T}$result" >&6; }
3185 # Check whether --with-flavour was given.
3186 if test "${with_flavour+set}" = set; then
3187 withval=$with_flavour; WX_FLAVOUR="$withval"
3193 if test -z "$defaultval"; then
3194 if test x"$enablestring" = xdisable; then
3201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3202 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3203 # Check whether --enable-official_build was given.
3204 if test "${enable_official_build+set}" = set; then
3205 enableval=$enable_official_build;
3206 if test "$enableval" = yes; then
3207 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3209 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3214 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3219 eval "$wx_cv_use_official_build"
3221 if test x"$enablestring" = xdisable; then
3222 if test $wxUSE_OFFICIAL_BUILD = no; then
3228 result=$wxUSE_OFFICIAL_BUILD
3231 { echo "$as_me:$LINENO: result
: $result" >&5
3232 echo "${ECHO_T}$result" >&6; }
3234 # Check whether --enable-vendor was given.
3235 if test "${enable_vendor+set}" = set; then
3236 enableval=$enable_vendor; VENDOR="$enableval"
3239 if test "x
$VENDOR" = "x
"; then
3244 enablestring=disable
3246 if test -z "$defaultval"; then
3247 if test x"$enablestring" = xdisable; then
3254 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3255 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3256 # Check whether --enable-all-features was given.
3257 if test "${enable_all_features+set}" = set; then
3258 enableval=$enable_all_features;
3259 if test "$enableval" = yes; then
3260 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3262 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3267 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3272 eval "$wx_cv_use_all_features"
3274 if test x
"$enablestring" = xdisable
; then
3275 if test $wxUSE_ALL_FEATURES = no
; then
3281 result
=$wxUSE_ALL_FEATURES
3284 { echo "$as_me:$LINENO: result: $result" >&5
3285 echo "${ECHO_T}$result" >&6; }
3288 if test "$wxUSE_ALL_FEATURES" = "no"; then
3289 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=no
3290 DEFAULT_wxUSE_MEDIACTRL
=no
3294 if test "$wxUSE_GUI" = "yes"; then
3299 if test -z "$defaultval"; then
3300 if test x
"$enablestring" = xdisable
; then
3307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3308 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3309 # Check whether --enable-universal was given.
3310 if test "${enable_universal+set}" = set; then
3311 enableval
=$enable_universal;
3312 if test "$enableval" = yes; then
3313 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3315 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3320 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3325 eval "$wx_cv_use_universal"
3327 if test x"$enablestring" = xdisable; then
3328 if test $wxUSE_UNIVERSAL = no; then
3334 result=$wxUSE_UNIVERSAL
3337 { echo "$as_me:$LINENO: result: $result" >&5
3338 echo "${ECHO_T}$result" >&6; }
3340 if test "$wxUSE_UNIVERSAL" = "yes"; then
3342 # Check whether --with-themes was given.
3343 if test "${with_themes+set}" = set; then
3344 withval=$with_themes; wxUNIV_THEMES="$withval"
3350 # Check whether --with-gtk was given.
3351 if test "${with_gtk+set}" = set; then
3352 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3356 # Check whether --with-motif was given.
3357 if test "${with_motif+set}" = set; then
3358 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3362 # Check whether --with-osx_carbon was given.
3363 if test "${with_osx_carbon+set}" = set; then
3364 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3368 # Check whether --with-osx_cocoa was given.
3369 if test "${with_osx_cocoa+set}" = set; then
3370 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3374 # Check whether --with-osx_iphone was given.
3375 if test "${with_osx_iphone+set}" = set; then
3376 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3380 # Check whether --with-osx was given.
3381 if test "${with_osx+set}" = set; then
3382 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3386 # Check whether --with-carbon was given.
3387 if test "${with_carbon+set}" = set; then
3388 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3392 # Check whether --with-cocoa was given.
3393 if test "${with_cocoa+set}" = set; then
3394 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3398 # Check whether --with-iphone was given.
3399 if test "${with_iphone+set}" = set; then
3400 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3404 # Check whether --with-mac was given.
3405 if test "${with_mac+set}" = set; then
3406 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3410 # Check whether --with-old_cocoa was given.
3411 if test "${with_old_cocoa+set}" = set; then
3412 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3416 # Check whether --with-wine was given.
3417 if test "${with_wine+set}" = set; then
3418 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3422 # Check whether --with-msw was given.
3423 if test "${with_msw+set}" = set; then
3424 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3428 # Check whether --with-pm was given.
3429 if test "${with_pm+set}" = set; then
3430 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3434 # Check whether --with-mgl was given.
3435 if test "${with_mgl+set}" = set; then
3436 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3440 # Check whether --with-directfb was given.
3441 if test "${with_directfb+set}" = set; then
3442 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3446 # Check whether --with-microwin was given.
3447 if test "${with_microwin+set}" = set; then
3448 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3452 # Check whether --with-x11 was given.
3453 if test "${with_x11+set}" = set; then
3454 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3460 if test -z "$defaultval"; then
3461 if test x"$enablestring" = xdisable; then
3468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3469 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3470 # Check whether --enable-nanox was given.
3471 if test "${enable_nanox+set}" = set; then
3472 enableval=$enable_nanox;
3473 if test "$enableval" = yes; then
3474 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3476 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3481 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3486 eval "$wx_cv_use_nanox"
3488 if test x"$enablestring" = xdisable; then
3489 if test $wxUSE_NANOX = no; then
3498 { echo "$as_me:$LINENO: result
: $result" >&5
3499 echo "${ECHO_T}$result" >&6; }
3502 # Check whether --enable-gtk2 was given.
3503 if test "${enable_gtk2+set}" = set; then
3504 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3510 if test -z "$defaultval"; then
3511 if test x"$enablestring" = xdisable; then
3518 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3519 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3520 # Check whether --enable-gpe was given.
3521 if test "${enable_gpe+set}" = set; then
3522 enableval=$enable_gpe;
3523 if test "$enableval" = yes; then
3524 wx_cv_use_gpe='wxUSE_GPE=yes'
3526 wx_cv_use_gpe='wxUSE_GPE=no'
3531 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3536 eval "$wx_cv_use_gpe"
3538 if test x
"$enablestring" = xdisable
; then
3539 if test $wxUSE_GPE = no
; then
3548 { echo "$as_me:$LINENO: result: $result" >&5
3549 echo "${ECHO_T}$result" >&6; }
3553 { echo "$as_me:$LINENO: checking for toolkit" >&5
3554 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3558 # In Wine, we need to default to MSW, not GTK or MOTIF
3559 if test "$wxUSE_WINE" = "yes"; then
3560 DEFAULT_DEFAULT_wxUSE_GTK
=0
3561 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3562 DEFAULT_DEFAULT_wxUSE_MSW
=1
3569 if test "$wxUSE_GUI" = "yes"; then
3571 if test "$USE_BEOS" = 1; then
3572 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3573 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3574 { (exit 1); exit 1; }; }
3577 if test "$TOOLKIT_GIVEN" = 1; then
3578 for toolkit
in $ALL_TOOLKITS; do
3580 eval "value=\$${var}"
3581 if test "x$value" = "xno"; then
3583 elif test "x$value" != "x"; then
3587 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3588 eval "wx${toolkit}_VERSION=$value"
3592 for toolkit
in $ALL_TOOLKITS; do
3593 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3594 eval "wxUSE_$toolkit=\$${var}"
3598 NUM_TOOLKITS
=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3599 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3600 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3603 *-pc-os2_emx | *-pc-os2-emx )
3604 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3607 case "$NUM_TOOLKITS" in
3611 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3612 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3613 { (exit 1); exit 1; }; }
3616 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3617 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3618 { (exit 1); exit 1; }; }
3621 # to be removed when --disable-gtk2 isn't needed
3622 if test "x$wxUSE_GTK2" = "xyes"; then
3625 elif test "x$wxUSE_GTK2" = "xno"; then
3630 for toolkit
in $ALL_TOOLKITS; do
3632 eval "value=\$${var}"
3633 if test "$value" = 1; then
3634 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3635 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3636 echo "${ECHO_T}$toolkit_echo" >&6; }
3640 if test "x$host_alias" != "x"; then
3641 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3642 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3644 { echo "$as_me:$LINENO: result: base only" >&5
3645 echo "${ECHO_T}base only" >&6; }
3650 if test "$wxUSE_OSX_CARBON" = 1 \
3651 -o "$wxUSE_OSX_COCOA" = 1 \
3652 -o "$wxUSE_OSX_IPHONE" = 1; then
3658 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3659 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3661 # Check whether --with-libpng was given.
3662 if test "${with_libpng+set}" = set; then
3663 withval
=$with_libpng;
3664 if test "$withval" = yes; then
3665 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3666 elif test "$withval" = no
; then
3667 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3668 elif test "$withval" = sys
; then
3669 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3670 elif test "$withval" = builtin; then
3671 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3673 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3674 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3675 { (exit 1); exit 1; }; }
3680 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3685 eval "$wx_cv_use_libpng"
3687 if test "$wxUSE_LIBPNG" = yes; then
3688 { echo "$as_me:$LINENO: result: yes" >&5
3689 echo "${ECHO_T}yes" >&6; }
3690 elif test "$wxUSE_LIBPNG" = no; then
3691 { echo "$as_me:$LINENO: result: no" >&5
3692 echo "${ECHO_T}no" >&6; }
3693 elif test "$wxUSE_LIBPNG" = sys; then
3694 { echo "$as_me:$LINENO: result: system version" >&5
3695 echo "${ECHO_T}system version" >&6; }
3696 elif test "$wxUSE_LIBPNG" = builtin; then
3697 { echo "$as_me:$LINENO: result: builtin version" >&5
3698 echo "${ECHO_T}builtin version" >&6; }
3700 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3701 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3702 { (exit 1); exit 1; }; }
3706 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3707 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3709 # Check whether --with-libjpeg was given.
3710 if test "${with_libjpeg+set}" = set; then
3711 withval=$with_libjpeg;
3712 if test "$withval" = yes; then
3713 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3714 elif test "$withval" = no; then
3715 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3716 elif test "$withval" = sys; then
3717 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3718 elif test "$withval" = builtin; then
3719 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3721 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3722 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3723 { (exit 1); exit 1; }; }
3728 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3733 eval "$wx_cv_use_libjpeg"
3735 if test "$wxUSE_LIBJPEG" = yes; then
3736 { echo "$as_me:$LINENO: result
: yes" >&5
3737 echo "${ECHO_T}yes" >&6; }
3738 elif test "$wxUSE_LIBJPEG" = no; then
3739 { echo "$as_me:$LINENO: result
: no
" >&5
3740 echo "${ECHO_T}no
" >&6; }
3741 elif test "$wxUSE_LIBJPEG" = sys; then
3742 { echo "$as_me:$LINENO: result
: system version
" >&5
3743 echo "${ECHO_T}system version
" >&6; }
3744 elif test "$wxUSE_LIBJPEG" = builtin; then
3745 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3746 echo "${ECHO_T}builtin version
" >&6; }
3748 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3749 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3750 { (exit 1); exit 1; }; }
3754 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3755 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3757 # Check whether --with-libtiff was given.
3758 if test "${with_libtiff+set}" = set; then
3759 withval=$with_libtiff;
3760 if test "$withval" = yes; then
3761 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3762 elif test "$withval" = no; then
3763 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3764 elif test "$withval" = sys; then
3765 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3766 elif test "$withval" = builtin; then
3767 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3769 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3770 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3771 { (exit 1); exit 1; }; }
3776 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3781 eval "$wx_cv_use_libtiff"
3783 if test "$wxUSE_LIBTIFF" = yes; then
3784 { echo "$as_me:$LINENO: result: yes" >&5
3785 echo "${ECHO_T}yes" >&6; }
3786 elif test "$wxUSE_LIBTIFF" = no
; then
3787 { echo "$as_me:$LINENO: result: no" >&5
3788 echo "${ECHO_T}no" >&6; }
3789 elif test "$wxUSE_LIBTIFF" = sys
; then
3790 { echo "$as_me:$LINENO: result: system version" >&5
3791 echo "${ECHO_T}system version" >&6; }
3792 elif test "$wxUSE_LIBTIFF" = builtin; then
3793 { echo "$as_me:$LINENO: result: builtin version" >&5
3794 echo "${ECHO_T}builtin version" >&6; }
3796 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3797 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3798 { (exit 1); exit 1; }; }
3802 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3803 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3805 # Check whether --with-libxpm was given.
3806 if test "${with_libxpm+set}" = set; then
3807 withval
=$with_libxpm;
3808 if test "$withval" = yes; then
3809 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3810 elif test "$withval" = no
; then
3811 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3812 elif test "$withval" = sys
; then
3813 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3814 elif test "$withval" = builtin; then
3815 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3817 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3818 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3819 { (exit 1); exit 1; }; }
3824 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3829 eval "$wx_cv_use_libxpm"
3831 if test "$wxUSE_LIBXPM" = yes; then
3832 { echo "$as_me:$LINENO: result: yes" >&5
3833 echo "${ECHO_T}yes" >&6; }
3834 elif test "$wxUSE_LIBXPM" = no; then
3835 { echo "$as_me:$LINENO: result: no" >&5
3836 echo "${ECHO_T}no" >&6; }
3837 elif test "$wxUSE_LIBXPM" = sys; then
3838 { echo "$as_me:$LINENO: result: system version" >&5
3839 echo "${ECHO_T}system version" >&6; }
3840 elif test "$wxUSE_LIBXPM" = builtin; then
3841 { echo "$as_me:$LINENO: result: builtin version" >&5
3842 echo "${ECHO_T}builtin version" >&6; }
3844 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3845 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3846 { (exit 1); exit 1; }; }
3851 defaultval=$wxUSE_ALL_FEATURES
3852 if test -z "$defaultval"; then
3853 if test x"$withstring" = xwithout; then
3859 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3860 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3862 # Check whether --with-libiconv was given.
3863 if test "${with_libiconv+set}" = set; then
3864 withval=$with_libiconv;
3865 if test "$withval" = yes; then
3866 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3868 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3873 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3878 eval "$wx_cv_use_libiconv"
3880 if test x"$withstring" = xwithout; then
3881 if test $wxUSE_LIBICONV = yes; then
3887 result=$wxUSE_LIBICONV
3890 { echo "$as_me:$LINENO: result
: $result" >&5
3891 echo "${ECHO_T}$result" >&6; }
3895 defaultval=$wxUSE_ALL_FEATURES
3896 if test -z "$defaultval"; then
3897 if test x"$withstring" = xwithout; then
3903 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3904 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3906 # Check whether --with-libmspack was given.
3907 if test "${with_libmspack+set}" = set; then
3908 withval=$with_libmspack;
3909 if test "$withval" = yes; then
3910 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3912 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3917 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3922 eval "$wx_cv_use_libmspack"
3924 if test x
"$withstring" = xwithout
; then
3925 if test $wxUSE_LIBMSPACK = yes; then
3931 result
=$wxUSE_LIBMSPACK
3934 { echo "$as_me:$LINENO: result: $result" >&5
3935 echo "${ECHO_T}$result" >&6; }
3939 defaultval
=$wxUSE_ALL_FEATURES
3940 if test -z "$defaultval"; then
3941 if test x
"$withstring" = xwithout
; then
3947 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3948 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3950 # Check whether --with-gtkprint was given.
3951 if test "${with_gtkprint+set}" = set; then
3952 withval
=$with_gtkprint;
3953 if test "$withval" = yes; then
3954 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3956 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3961 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3966 eval "$wx_cv_use_gtkprint"
3968 if test x"$withstring" = xwithout; then
3969 if test $wxUSE_GTKPRINT = yes; then
3975 result=$wxUSE_GTKPRINT
3978 { echo "$as_me:$LINENO: result: $result" >&5
3979 echo "${ECHO_T}$result" >&6; }
3983 defaultval=$wxUSE_ALL_FEATURES
3984 if test -z "$defaultval"; then
3985 if test x"$withstring" = xwithout; then
3991 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3992 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3994 # Check whether --with-gnomeprint was given.
3995 if test "${with_gnomeprint+set}" = set; then
3996 withval=$with_gnomeprint;
3997 if test "$withval" = yes; then
3998 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
4000 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
4005 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4010 eval "$wx_cv_use_gnomeprint"
4012 if test x"$withstring" = xwithout; then
4013 if test $wxUSE_LIBGNOMEPRINT = yes; then
4019 result=$wxUSE_LIBGNOMEPRINT
4022 { echo "$as_me:$LINENO: result
: $result" >&5
4023 echo "${ECHO_T}$result" >&6; }
4027 defaultval=$wxUSE_ALL_FEATURES
4028 if test -z "$defaultval"; then
4029 if test x"$withstring" = xwithout; then
4035 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
4036 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
4038 # Check whether --with-gnomevfs was given.
4039 if test "${with_gnomevfs+set}" = set; then
4040 withval=$with_gnomevfs;
4041 if test "$withval" = yes; then
4042 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4044 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4049 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4054 eval "$wx_cv_use_gnomevfs"
4056 if test x
"$withstring" = xwithout
; then
4057 if test $wxUSE_LIBGNOMEVFS = yes; then
4063 result
=$wxUSE_LIBGNOMEVFS
4066 { echo "$as_me:$LINENO: result: $result" >&5
4067 echo "${ECHO_T}$result" >&6; }
4071 defaultval
=$wxUSE_ALL_FEATURES
4072 if test -z "$defaultval"; then
4073 if test x
"$withstring" = xwithout
; then
4079 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4080 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4082 # Check whether --with-hildon was given.
4083 if test "${with_hildon+set}" = set; then
4084 withval
=$with_hildon;
4085 if test "$withval" = yes; then
4086 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
4088 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
4093 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4098 eval "$wx_cv_use_hildon"
4100 if test x"$withstring" = xwithout; then
4101 if test $wxUSE_LIBHILDON = yes; then
4107 result=$wxUSE_LIBHILDON
4110 { echo "$as_me:$LINENO: result: $result" >&5
4111 echo "${ECHO_T}$result" >&6; }
4115 defaultval=$wxUSE_ALL_FEATURES
4116 if test -z "$defaultval"; then
4117 if test x"$withstring" = xwithout; then
4123 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4124 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4126 # Check whether --with-opengl was given.
4127 if test "${with_opengl+set}" = set; then
4128 withval=$with_opengl;
4129 if test "$withval" = yes; then
4130 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4132 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4137 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4142 eval "$wx_cv_use_opengl"
4144 if test x"$withstring" = xwithout; then
4145 if test $wxUSE_OPENGL = yes; then
4151 result=$wxUSE_OPENGL
4154 { echo "$as_me:$LINENO: result
: $result" >&5
4155 echo "${ECHO_T}$result" >&6; }
4162 defaultval=$wxUSE_ALL_FEATURES
4163 if test -z "$defaultval"; then
4164 if test x"$withstring" = xwithout; then
4170 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4171 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4173 # Check whether --with-dmalloc was given.
4174 if test "${with_dmalloc+set}" = set; then
4175 withval=$with_dmalloc;
4176 if test "$withval" = yes; then
4177 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4179 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4184 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4189 eval "$wx_cv_use_dmalloc"
4191 if test x
"$withstring" = xwithout
; then
4192 if test $wxUSE_DMALLOC = yes; then
4198 result
=$wxUSE_DMALLOC
4201 { echo "$as_me:$LINENO: result: $result" >&5
4202 echo "${ECHO_T}$result" >&6; }
4206 defaultval
=$wxUSE_ALL_FEATURES
4207 if test -z "$defaultval"; then
4208 if test x
"$withstring" = xwithout
; then
4214 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4215 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4217 # Check whether --with-sdl was given.
4218 if test "${with_sdl+set}" = set; then
4220 if test "$withval" = yes; then
4221 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4223 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4228 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4233 eval "$wx_cv_use_sdl"
4235 if test x"$withstring" = xwithout; then
4236 if test $wxUSE_LIBSDL = yes; then
4242 result=$wxUSE_LIBSDL
4245 { echo "$as_me:$LINENO: result: $result" >&5
4246 echo "${ECHO_T}$result" >&6; }
4249 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4250 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4252 # Check whether --with-regex was given.
4253 if test "${with_regex+set}" = set; then
4254 withval=$with_regex;
4255 if test "$withval" = yes; then
4256 wx_cv_use_regex='wxUSE_REGEX
=yes'
4257 elif test "$withval" = no; then
4258 wx_cv_use_regex='wxUSE_REGEX
=no
'
4259 elif test "$withval" = sys; then
4260 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4261 elif test "$withval" = builtin; then
4262 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4264 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4265 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4266 { (exit 1); exit 1; }; }
4271 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4276 eval "$wx_cv_use_regex"
4278 if test "$wxUSE_REGEX" = yes; then
4279 { echo "$as_me:$LINENO: result
: yes" >&5
4280 echo "${ECHO_T}yes" >&6; }
4281 elif test "$wxUSE_REGEX" = no; then
4282 { echo "$as_me:$LINENO: result
: no
" >&5
4283 echo "${ECHO_T}no
" >&6; }
4284 elif test "$wxUSE_REGEX" = sys; then
4285 { echo "$as_me:$LINENO: result
: system version
" >&5
4286 echo "${ECHO_T}system version
" >&6; }
4287 elif test "$wxUSE_REGEX" = builtin; then
4288 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4289 echo "${ECHO_T}builtin version
" >&6; }
4291 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4292 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4293 { (exit 1); exit 1; }; }
4297 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4298 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4300 # Check whether --with-zlib was given.
4301 if test "${with_zlib+set}" = set; then
4303 if test "$withval" = yes; then
4304 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4305 elif test "$withval" = no; then
4306 wx_cv_use_zlib='wxUSE_ZLIB=no'
4307 elif test "$withval" = sys; then
4308 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4309 elif test "$withval" = builtin; then
4310 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4312 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4313 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4314 { (exit 1); exit 1; }; }
4319 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4324 eval "$wx_cv_use_zlib"
4326 if test "$wxUSE_ZLIB" = yes; then
4327 { echo "$as_me:$LINENO: result: yes" >&5
4328 echo "${ECHO_T}yes" >&6; }
4329 elif test "$wxUSE_ZLIB" = no
; then
4330 { echo "$as_me:$LINENO: result: no" >&5
4331 echo "${ECHO_T}no" >&6; }
4332 elif test "$wxUSE_ZLIB" = sys
; then
4333 { echo "$as_me:$LINENO: result: system version" >&5
4334 echo "${ECHO_T}system version" >&6; }
4335 elif test "$wxUSE_ZLIB" = builtin; then
4336 { echo "$as_me:$LINENO: result: builtin version" >&5
4337 echo "${ECHO_T}builtin version" >&6; }
4339 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4340 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4341 { (exit 1); exit 1; }; }
4345 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4346 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4348 # Check whether --with-expat was given.
4349 if test "${with_expat+set}" = set; then
4350 withval
=$with_expat;
4351 if test "$withval" = yes; then
4352 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4353 elif test "$withval" = no
; then
4354 wx_cv_use_expat
='wxUSE_EXPAT=no'
4355 elif test "$withval" = sys
; then
4356 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4357 elif test "$withval" = builtin; then
4358 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4360 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4361 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4362 { (exit 1); exit 1; }; }
4367 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4372 eval "$wx_cv_use_expat"
4374 if test "$wxUSE_EXPAT" = yes; then
4375 { echo "$as_me:$LINENO: result: yes" >&5
4376 echo "${ECHO_T}yes" >&6; }
4377 elif test "$wxUSE_EXPAT" = no; then
4378 { echo "$as_me:$LINENO: result: no" >&5
4379 echo "${ECHO_T}no" >&6; }
4380 elif test "$wxUSE_EXPAT" = sys; then
4381 { echo "$as_me:$LINENO: result: system version" >&5
4382 echo "${ECHO_T}system version" >&6; }
4383 elif test "$wxUSE_EXPAT" = builtin; then
4384 { echo "$as_me:$LINENO: result: builtin version" >&5
4385 echo "${ECHO_T}builtin version" >&6; }
4387 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4388 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4389 { (exit 1); exit 1; }; }
4393 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4394 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4396 # Check whether --with-macosx-sdk was given.
4397 if test "${with_macosx_sdk+set}" = set; then
4398 withval=$with_macosx_sdk;
4399 wxUSE_MACOSX_SDK=$withval
4400 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4404 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4405 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4407 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4408 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4410 # Check whether --with-macosx-version-min was given.
4411 if test "${with_macosx_version_min+set}" = set; then
4412 withval=$with_macosx_version_min;
4413 wxUSE_MACOSX_VERSION_MIN=$withval
4414 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4418 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4419 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4422 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4423 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4424 # Check whether --enable-debug was given.
4425 if test "${enable_debug+set}" = set; then
4426 enableval=$enable_debug;
4427 if test "$enableval" = yes; then
4429 elif test "$enableval" = no; then
4431 elif test "$enableval" = max; then
4433 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4435 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4436 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4437 { (exit 1); exit 1; }; }
4446 case "$wxUSE_DEBUG" in
4448 DEFAULT_wxUSE_DEBUG_FLAG=yes
4449 DEFAULT_wxUSE_DEBUG_INFO=yes
4451 DEFAULT_wxUSE_OPTIMISE=no
4455 DEFAULT_wxUSE_DEBUG_FLAG=no
4456 DEFAULT_wxUSE_DEBUG_INFO=no
4460 DEFAULT_wxUSE_DEBUG_FLAG=yes
4461 DEFAULT_wxUSE_DEBUG_INFO=no
4466 enablestring=disable
4468 if test -z "$defaultval"; then
4469 if test x"$enablestring" = xdisable; then
4476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4477 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4478 # Check whether --enable-debug_flag was given.
4479 if test "${enable_debug_flag+set}" = set; then
4480 enableval=$enable_debug_flag;
4481 if test "$enableval" = yes; then
4482 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
4484 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
4489 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4494 eval "$wx_cv_use_debug_flag"
4496 if test x"$enablestring" = xdisable; then
4497 if test $wxUSE_DEBUG_FLAG = no; then
4503 result=$wxUSE_DEBUG_FLAG
4506 { echo "$as_me:$LINENO: result
: $result" >&5
4507 echo "${ECHO_T}$result" >&6; }
4512 if test -z "$defaultval"; then
4513 if test x"$enablestring" = xdisable; then
4520 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_info" >&5
4521 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_info...
$ECHO_C" >&6; }
4522 # Check whether --enable-debug_info was given.
4523 if test "${enable_debug_info+set}" = set; then
4524 enableval=$enable_debug_info;
4525 if test "$enableval" = yes; then
4526 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4528 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4533 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4538 eval "$wx_cv_use_debug_info"
4540 if test x
"$enablestring" = xdisable
; then
4541 if test $wxUSE_DEBUG_INFO = no
; then
4547 result
=$wxUSE_DEBUG_INFO
4550 { echo "$as_me:$LINENO: result: $result" >&5
4551 echo "${ECHO_T}$result" >&6; }
4558 if test -z "$defaultval"; then
4559 if test x
"$enablestring" = xdisable
; then
4566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4567 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4568 # Check whether --enable-debug_gdb was given.
4569 if test "${enable_debug_gdb+set}" = set; then
4570 enableval
=$enable_debug_gdb;
4571 if test "$enableval" = yes; then
4572 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4574 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4579 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4584 eval "$wx_cv_use_debug_gdb"
4586 if test x"$enablestring" = xdisable; then
4587 if test $wxUSE_DEBUG_GDB = no; then
4593 result=$wxUSE_DEBUG_GDB
4596 { echo "$as_me:$LINENO: result: $result" >&5
4597 echo "${ECHO_T}$result" >&6; }
4602 if test -z "$defaultval"; then
4603 if test x"$enablestring" = xdisable; then
4610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4611 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4612 # Check whether --enable-debug_cntxt was given.
4613 if test "${enable_debug_cntxt+set}" = set; then
4614 enableval=$enable_debug_cntxt;
4615 if test "$enableval" = yes; then
4616 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
4618 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
4623 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4628 eval "$wx_cv_use_debug_cntxt"
4630 if test x"$enablestring" = xdisable; then
4631 if test $wxUSE_DEBUG_CONTEXT = no; then
4637 result=$wxUSE_DEBUG_CONTEXT
4640 { echo "$as_me:$LINENO: result
: $result" >&5
4641 echo "${ECHO_T}$result" >&6; }
4646 if test -z "$defaultval"; then
4647 if test x"$enablestring" = xdisable; then
4654 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mem_tracing" >&5
4655 echo $ECHO_N "checking
for --${enablestring:-enable}-mem_tracing...
$ECHO_C" >&6; }
4656 # Check whether --enable-mem_tracing was given.
4657 if test "${enable_mem_tracing+set}" = set; then
4658 enableval=$enable_mem_tracing;
4659 if test "$enableval" = yes; then
4660 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4662 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4667 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4672 eval "$wx_cv_use_mem_tracing"
4674 if test x
"$enablestring" = xdisable
; then
4675 if test $wxUSE_MEM_TRACING = no
; then
4681 result
=$wxUSE_MEM_TRACING
4684 { echo "$as_me:$LINENO: result: $result" >&5
4685 echo "${ECHO_T}$result" >&6; }
4690 enablestring
=disable
4692 if test -z "$defaultval"; then
4693 if test x
"$enablestring" = xdisable
; then
4700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4701 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4702 # Check whether --enable-shared was given.
4703 if test "${enable_shared+set}" = set; then
4704 enableval
=$enable_shared;
4705 if test "$enableval" = yes; then
4706 wx_cv_use_shared
='wxUSE_SHARED=yes'
4708 wx_cv_use_shared
='wxUSE_SHARED=no'
4713 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4718 eval "$wx_cv_use_shared"
4720 if test x"$enablestring" = xdisable; then
4721 if test $wxUSE_SHARED = no; then
4727 result=$wxUSE_SHARED
4730 { echo "$as_me:$LINENO: result: $result" >&5
4731 echo "${ECHO_T}$result" >&6; }
4736 if test -z "$defaultval"; then
4737 if test x"$enablestring" = xdisable; then
4744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4745 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4746 # Check whether --enable-stl was given.
4747 if test "${enable_stl+set}" = set; then
4748 enableval=$enable_stl;
4749 if test "$enableval" = yes; then
4750 wx_cv_use_stl='wxUSE_STL
=yes'
4752 wx_cv_use_stl='wxUSE_STL
=no
'
4757 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
4762 eval "$wx_cv_use_stl"
4764 if test x"$enablestring" = xdisable; then
4765 if test $wxUSE_STL = no; then
4774 { echo "$as_me:$LINENO: result
: $result" >&5
4775 echo "${ECHO_T}$result" >&6; }
4780 if test -z "$defaultval"; then
4781 if test x"$enablestring" = xdisable; then
4788 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_iostreams" >&5
4789 echo $ECHO_N "checking
for --${enablestring:-enable}-std_iostreams...
$ECHO_C" >&6; }
4790 # Check whether --enable-std_iostreams was given.
4791 if test "${enable_std_iostreams+set}" = set; then
4792 enableval=$enable_std_iostreams;
4793 if test "$enableval" = yes; then
4794 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4796 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4801 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4806 eval "$wx_cv_use_std_iostreams"
4808 if test x
"$enablestring" = xdisable
; then
4809 if test $wxUSE_STD_IOSTREAM = no
; then
4815 result
=$wxUSE_STD_IOSTREAM
4818 { echo "$as_me:$LINENO: result: $result" >&5
4819 echo "${ECHO_T}$result" >&6; }
4824 if test -z "$defaultval"; then
4825 if test x
"$enablestring" = xdisable
; then
4832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4833 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4834 # Check whether --enable-std_string was given.
4835 if test "${enable_std_string+set}" = set; then
4836 enableval
=$enable_std_string;
4837 if test "$enableval" = yes; then
4838 wx_cv_use_std_string
='wxUSE_STD_STRING=yes'
4840 wx_cv_use_std_string
='wxUSE_STD_STRING=no'
4845 wx_cv_use_std_string
='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4850 eval "$wx_cv_use_std_string"
4852 if test x"$enablestring" = xdisable; then
4853 if test $wxUSE_STD_STRING = no; then
4859 result=$wxUSE_STD_STRING
4862 { echo "$as_me:$LINENO: result: $result" >&5
4863 echo "${ECHO_T}$result" >&6; }
4866 enablestring=disable
4868 if test -z "$defaultval"; then
4869 if test x"$enablestring" = xdisable; then
4876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4877 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4878 # Check whether --enable-unicode was given.
4879 if test "${enable_unicode+set}" = set; then
4880 enableval=$enable_unicode;
4881 if test "$enableval" = yes; then
4882 wx_cv_use_unicode='wxUSE_UNICODE
=yes'
4884 wx_cv_use_unicode='wxUSE_UNICODE
=no
'
4889 wx_cv_use_unicode='wxUSE_UNICODE
=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4894 eval "$wx_cv_use_unicode"
4896 if test x"$enablestring" = xdisable; then
4897 if test $wxUSE_UNICODE = no; then
4903 result=$wxUSE_UNICODE
4906 { echo "$as_me:$LINENO: result
: $result" >&5
4907 echo "${ECHO_T}$result" >&6; }
4912 if test -z "$defaultval"; then
4913 if test x"$enablestring" = xdisable; then
4920 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mslu" >&5
4921 echo $ECHO_N "checking
for --${enablestring:-enable}-mslu...
$ECHO_C" >&6; }
4922 # Check whether --enable-mslu was given.
4923 if test "${enable_mslu+set}" = set; then
4924 enableval=$enable_mslu;
4925 if test "$enableval" = yes; then
4926 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4928 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4933 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4938 eval "$wx_cv_use_mslu"
4940 if test x
"$enablestring" = xdisable
; then
4941 if test $wxUSE_UNICODE_MSLU = no
; then
4947 result
=$wxUSE_UNICODE_MSLU
4950 { echo "$as_me:$LINENO: result: $result" >&5
4951 echo "${ECHO_T}$result" >&6; }
4955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4956 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4957 # Check whether --enable-utf8 was given.
4958 if test "${enable_utf8+set}" = set; then
4959 enableval
=$enable_utf8;
4960 wx_cv_use_utf8
="wxUSE_UNICODE_UTF8='$enableval'"
4964 wx_cv_use_utf8
='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4969 eval "$wx_cv_use_utf8"
4971 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4972 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4977 if test -z "$defaultval"; then
4978 if test x
"$enablestring" = xdisable
; then
4985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4986 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4987 # Check whether --enable-utf8only was given.
4988 if test "${enable_utf8only+set}" = set; then
4989 enableval
=$enable_utf8only;
4990 if test "$enableval" = yes; then
4991 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=yes'
4993 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=no'
4998 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5003 eval "$wx_cv_use_utf8only"
5005 if test x"$enablestring" = xdisable; then
5006 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5012 result=$wxUSE_UNICODE_UTF8_LOCALE
5015 { echo "$as_me:$LINENO: result: $result" >&5
5016 echo "${ECHO_T}$result" >&6; }
5021 if test -z "$defaultval"; then
5022 if test x"$enablestring" = xdisable; then
5029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5030 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5031 # Check whether --enable-extended_rtti was given.
5032 if test "${enable_extended_rtti+set}" = set; then
5033 enableval=$enable_extended_rtti;
5034 if test "$enableval" = yes; then
5035 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=yes'
5037 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=no
'
5042 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5047 eval "$wx_cv_use_extended_rtti"
5049 if test x"$enablestring" = xdisable; then
5050 if test $wxUSE_EXTENDED_RTTI = no; then
5056 result=$wxUSE_EXTENDED_RTTI
5059 { echo "$as_me:$LINENO: result
: $result" >&5
5060 echo "${ECHO_T}$result" >&6; }
5062 if test "$USE_OS2" = 1; then
5063 DEFAULT_wxUSE_OMF=no
5067 if test -z "$defaultval"; then
5068 if test x"$enablestring" = xdisable; then
5075 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-omf" >&5
5076 echo $ECHO_N "checking
for --${enablestring:-enable}-omf...
$ECHO_C" >&6; }
5077 # Check whether --enable-omf was given.
5078 if test "${enable_omf+set}" = set; then
5079 enableval=$enable_omf;
5080 if test "$enableval" = yes; then
5081 wx_cv_use_omf='wxUSE_OMF=yes'
5083 wx_cv_use_omf='wxUSE_OMF=no'
5088 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5093 eval "$wx_cv_use_omf"
5095 if test x
"$enablestring" = xdisable
; then
5096 if test $wxUSE_OMF = no
; then
5105 { echo "$as_me:$LINENO: result: $result" >&5
5106 echo "${ECHO_T}$result" >&6; }
5111 enablestring
=disable
5113 if test -z "$defaultval"; then
5114 if test x
"$enablestring" = xdisable
; then
5121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5122 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5123 # Check whether --enable-optimise was given.
5124 if test "${enable_optimise+set}" = set; then
5125 enableval
=$enable_optimise;
5126 if test "$enableval" = yes; then
5127 wx_cv_use_optimise
='wxUSE_OPTIMISE=yes'
5129 wx_cv_use_optimise
='wxUSE_OPTIMISE=no'
5134 wx_cv_use_optimise
='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5139 eval "$wx_cv_use_optimise"
5141 if test x"$enablestring" = xdisable; then
5142 if test $wxUSE_OPTIMISE = no; then
5148 result=$wxUSE_OPTIMISE
5151 { echo "$as_me:$LINENO: result: $result" >&5
5152 echo "${ECHO_T}$result" >&6; }
5158 if test -z "$defaultval"; then
5159 if test x"$enablestring" = xdisable; then
5166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5167 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5168 # Check whether --enable-profile was given.
5169 if test "${enable_profile+set}" = set; then
5170 enableval=$enable_profile;
5171 if test "$enableval" = yes; then
5172 wx_cv_use_profile='wxUSE_PROFILE
=yes'
5174 wx_cv_use_profile='wxUSE_PROFILE
=no
'
5179 wx_cv_use_profile='wxUSE_PROFILE
=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5184 eval "$wx_cv_use_profile"
5186 if test x"$enablestring" = xdisable; then
5187 if test $wxUSE_PROFILE = no; then
5193 result=$wxUSE_PROFILE
5196 { echo "$as_me:$LINENO: result
: $result" >&5
5197 echo "${ECHO_T}$result" >&6; }
5202 if test -z "$defaultval"; then
5203 if test x"$enablestring" = xdisable; then
5210 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_rtti" >&5
5211 echo $ECHO_N "checking
for --${enablestring:-enable}-no_rtti...
$ECHO_C" >&6; }
5212 # Check whether --enable-no_rtti was given.
5213 if test "${enable_no_rtti+set}" = set; then
5214 enableval=$enable_no_rtti;
5215 if test "$enableval" = yes; then
5216 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5218 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5223 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5228 eval "$wx_cv_use_no_rtti"
5230 if test x
"$enablestring" = xdisable
; then
5231 if test $wxUSE_NO_RTTI = no
; then
5237 result
=$wxUSE_NO_RTTI
5240 { echo "$as_me:$LINENO: result: $result" >&5
5241 echo "${ECHO_T}$result" >&6; }
5246 if test -z "$defaultval"; then
5247 if test x
"$enablestring" = xdisable
; then
5254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5255 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5256 # Check whether --enable-no_exceptions was given.
5257 if test "${enable_no_exceptions+set}" = set; then
5258 enableval
=$enable_no_exceptions;
5259 if test "$enableval" = yes; then
5260 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
5262 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
5267 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5272 eval "$wx_cv_use_no_exceptions"
5274 if test x"$enablestring" = xdisable; then
5275 if test $wxUSE_NO_EXCEPTIONS = no; then
5281 result=$wxUSE_NO_EXCEPTIONS
5284 { echo "$as_me:$LINENO: result: $result" >&5
5285 echo "${ECHO_T}$result" >&6; }
5290 if test -z "$defaultval"; then
5291 if test x"$enablestring" = xdisable; then
5298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5299 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5300 # Check whether --enable-permissive was given.
5301 if test "${enable_permissive+set}" = set; then
5302 enableval=$enable_permissive;
5303 if test "$enableval" = yes; then
5304 wx_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
5306 wx_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
5311 wx_cv_use_permissive='wxUSE_PERMISSIVE
=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5316 eval "$wx_cv_use_permissive"
5318 if test x"$enablestring" = xdisable; then
5319 if test $wxUSE_PERMISSIVE = no; then
5325 result=$wxUSE_PERMISSIVE
5328 { echo "$as_me:$LINENO: result
: $result" >&5
5329 echo "${ECHO_T}$result" >&6; }
5334 if test -z "$defaultval"; then
5335 if test x"$enablestring" = xdisable; then
5342 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_deps" >&5
5343 echo $ECHO_N "checking
for --${enablestring:-enable}-no_deps...
$ECHO_C" >&6; }
5344 # Check whether --enable-no_deps was given.
5345 if test "${enable_no_deps+set}" = set; then
5346 enableval=$enable_no_deps;
5347 if test "$enableval" = yes; then
5348 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5350 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5355 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5360 eval "$wx_cv_use_no_deps"
5362 if test x
"$enablestring" = xdisable
; then
5363 if test $wxUSE_NO_DEPS = no
; then
5369 result
=$wxUSE_NO_DEPS
5372 { echo "$as_me:$LINENO: result: $result" >&5
5373 echo "${ECHO_T}$result" >&6; }
5376 enablestring
=disable
5378 if test -z "$defaultval"; then
5379 if test x
"$enablestring" = xdisable
; then
5386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5387 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5388 # Check whether --enable-vararg_macros was given.
5389 if test "${enable_vararg_macros+set}" = set; then
5390 enableval
=$enable_vararg_macros;
5391 if test "$enableval" = yes; then
5392 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=yes'
5394 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=no'
5399 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5404 eval "$wx_cv_use_vararg_macros"
5406 if test x"$enablestring" = xdisable; then
5407 if test $wxUSE_VARARG_MACROS = no; then
5413 result=$wxUSE_VARARG_MACROS
5416 { echo "$as_me:$LINENO: result: $result" >&5
5417 echo "${ECHO_T}$result" >&6; }
5422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5423 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5424 # Check whether --enable-universal_binary was given.
5425 if test "${enable_universal_binary+set}" = set; then
5426 enableval=$enable_universal_binary;
5427 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5431 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5436 eval "$wx_cv_use_universal_binary"
5438 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5439 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5444 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5445 # Check whether --enable-macosx_arch was given.
5446 if test "${enable_macosx_arch+set}" = set; then
5447 enableval=$enable_macosx_arch;
5448 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
5452 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH
='$DEFAULT_wxUSE_MAC_ARCH
5457 eval "$wx_cv_use_macosx_arch"
5459 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5460 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5466 if test -z "$defaultval"; then
5467 if test x"$enablestring" = xdisable; then
5474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5475 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5476 # Check whether --enable-compat26 was given.
5477 if test "${enable_compat26+set}" = set; then
5478 enableval=$enable_compat26;
5479 if test "$enableval" = yes; then
5480 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
5482 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
5487 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5492 eval "$wx_cv_use_compat26"
5494 if test x"$enablestring" = xdisable; then
5495 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5501 result=$WXWIN_COMPATIBILITY_2_6
5504 { echo "$as_me:$LINENO: result
: $result" >&5
5505 echo "${ECHO_T}$result" >&6; }
5508 enablestring=disable
5510 if test -z "$defaultval"; then
5511 if test x"$enablestring" = xdisable; then
5518 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat28" >&5
5519 echo $ECHO_N "checking
for --${enablestring:-enable}-compat28...
$ECHO_C" >&6; }
5520 # Check whether --enable-compat28 was given.
5521 if test "${enable_compat28+set}" = set; then
5522 enableval=$enable_compat28;
5523 if test "$enableval" = yes; then
5524 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5526 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5531 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5536 eval "$wx_cv_use_compat28"
5538 if test x
"$enablestring" = xdisable
; then
5539 if test $WXWIN_COMPATIBILITY_2_8 = no
; then
5545 result
=$WXWIN_COMPATIBILITY_2_8
5548 { echo "$as_me:$LINENO: result: $result" >&5
5549 echo "${ECHO_T}$result" >&6; }
5553 enablestring
=disable
5555 if test -z "$defaultval"; then
5556 if test x
"$enablestring" = xdisable
; then
5563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5564 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5565 # Check whether --enable-rpath was given.
5566 if test "${enable_rpath+set}" = set; then
5567 enableval
=$enable_rpath;
5568 if test "$enableval" = yes; then
5569 wx_cv_use_rpath
='wxUSE_RPATH=yes'
5571 wx_cv_use_rpath
='wxUSE_RPATH=no'
5576 wx_cv_use_rpath
='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5581 eval "$wx_cv_use_rpath"
5583 if test x"$enablestring" = xdisable; then
5584 if test $wxUSE_RPATH = no; then
5593 { echo "$as_me:$LINENO: result: $result" >&5
5594 echo "${ECHO_T}$result" >&6; }
5600 if test -z "$defaultval"; then
5601 if test x"$enablestring" = xdisable; then
5608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5609 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5610 # Check whether --enable-objc_uniquifying was given.
5611 if test "${enable_objc_uniquifying+set}" = set; then
5612 enableval=$enable_objc_uniquifying;
5613 if test "$enableval" = yes; then
5614 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=yes'
5616 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=no
'
5621 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5626 eval "$wx_cv_use_objc_uniquifying"
5628 if test x"$enablestring" = xdisable; then
5629 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5635 result=$wxUSE_OBJC_UNIQUIFYING
5638 { echo "$as_me:$LINENO: result
: $result" >&5
5639 echo "${ECHO_T}$result" >&6; }
5643 enablestring=disable
5645 if test -z "$defaultval"; then
5646 if test x"$enablestring" = xdisable; then
5653 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-visibility" >&5
5654 echo $ECHO_N "checking
for --${enablestring:-enable}-visibility...
$ECHO_C" >&6; }
5655 # Check whether --enable-visibility was given.
5656 if test "${enable_visibility+set}" = set; then
5657 enableval=$enable_visibility;
5658 if test "$enableval" = yes; then
5659 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5661 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5666 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5671 eval "$wx_cv_use_visibility"
5673 if test x
"$enablestring" = xdisable
; then
5674 if test $wxUSE_VISIBILITY = no
; then
5680 result
=$wxUSE_VISIBILITY
5683 { echo "$as_me:$LINENO: result: $result" >&5
5684 echo "${ECHO_T}$result" >&6; }
5687 enablestring
=disable
5689 if test -z "$defaultval"; then
5690 if test x
"$enablestring" = xdisable
; then
5697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5698 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5699 # Check whether --enable-tls was given.
5700 if test "${enable_tls+set}" = set; then
5701 enableval
=$enable_tls;
5702 if test "$enableval" = yes; then
5703 wx_cv_use_tls
='wxUSE_COMPILER_TLS=yes'
5705 wx_cv_use_tls
='wxUSE_COMPILER_TLS=no'
5710 wx_cv_use_tls
='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5715 eval "$wx_cv_use_tls"
5717 if test x"$enablestring" = xdisable; then
5718 if test $wxUSE_COMPILER_TLS = no; then
5724 result=$wxUSE_COMPILER_TLS
5727 { echo "$as_me:$LINENO: result: $result" >&5
5728 echo "${ECHO_T}$result" >&6; }
5734 defaultval=$wxUSE_ALL_FEATURES
5735 if test -z "$defaultval"; then
5736 if test x"$enablestring" = xdisable; then
5743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5744 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5745 # Check whether --enable-intl was given.
5746 if test "${enable_intl+set}" = set; then
5747 enableval=$enable_intl;
5748 if test "$enableval" = yes; then
5749 wx_cv_use_intl='wxUSE_INTL
=yes'
5751 wx_cv_use_intl='wxUSE_INTL
=no
'
5756 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5761 eval "$wx_cv_use_intl"
5763 if test x"$enablestring" = xdisable; then
5764 if test $wxUSE_INTL = no; then
5773 { echo "$as_me:$LINENO: result
: $result" >&5
5774 echo "${ECHO_T}$result" >&6; }
5778 defaultval=$wxUSE_ALL_FEATURES
5779 if test -z "$defaultval"; then
5780 if test x"$enablestring" = xdisable; then
5787 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xlocale" >&5
5788 echo $ECHO_N "checking
for --${enablestring:-enable}-xlocale...
$ECHO_C" >&6; }
5789 # Check whether --enable-xlocale was given.
5790 if test "${enable_xlocale+set}" = set; then
5791 enableval=$enable_xlocale;
5792 if test "$enableval" = yes; then
5793 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5795 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5800 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5805 eval "$wx_cv_use_xlocale"
5807 if test x
"$enablestring" = xdisable
; then
5808 if test $wxUSE_XLOCALE = no
; then
5814 result
=$wxUSE_XLOCALE
5817 { echo "$as_me:$LINENO: result: $result" >&5
5818 echo "${ECHO_T}$result" >&6; }
5822 defaultval
=$wxUSE_ALL_FEATURES
5823 if test -z "$defaultval"; then
5824 if test x
"$enablestring" = xdisable
; then
5831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5832 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5833 # Check whether --enable-config was given.
5834 if test "${enable_config+set}" = set; then
5835 enableval
=$enable_config;
5836 if test "$enableval" = yes; then
5837 wx_cv_use_config
='wxUSE_CONFIG=yes'
5839 wx_cv_use_config
='wxUSE_CONFIG=no'
5844 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5849 eval "$wx_cv_use_config"
5851 if test x"$enablestring" = xdisable; then
5852 if test $wxUSE_CONFIG = no; then
5858 result=$wxUSE_CONFIG
5861 { echo "$as_me:$LINENO: result: $result" >&5
5862 echo "${ECHO_T}$result" >&6; }
5867 defaultval=$wxUSE_ALL_FEATURES
5868 if test -z "$defaultval"; then
5869 if test x"$enablestring" = xdisable; then
5876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5877 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5878 # Check whether --enable-protocols was given.
5879 if test "${enable_protocols+set}" = set; then
5880 enableval=$enable_protocols;
5881 if test "$enableval" = yes; then
5882 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
5884 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
5889 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5894 eval "$wx_cv_use_protocols"
5896 if test x"$enablestring" = xdisable; then
5897 if test $wxUSE_PROTOCOL = no; then
5903 result=$wxUSE_PROTOCOL
5906 { echo "$as_me:$LINENO: result
: $result" >&5
5907 echo "${ECHO_T}$result" >&6; }
5911 defaultval=$wxUSE_ALL_FEATURES
5912 if test -z "$defaultval"; then
5913 if test x"$enablestring" = xdisable; then
5920 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ftp" >&5
5921 echo $ECHO_N "checking
for --${enablestring:-enable}-ftp...
$ECHO_C" >&6; }
5922 # Check whether --enable-ftp was given.
5923 if test "${enable_ftp+set}" = set; then
5924 enableval=$enable_ftp;
5925 if test "$enableval" = yes; then
5926 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5928 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5933 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5938 eval "$wx_cv_use_ftp"
5940 if test x
"$enablestring" = xdisable
; then
5941 if test $wxUSE_PROTOCOL_FTP = no
; then
5947 result
=$wxUSE_PROTOCOL_FTP
5950 { echo "$as_me:$LINENO: result: $result" >&5
5951 echo "${ECHO_T}$result" >&6; }
5955 defaultval
=$wxUSE_ALL_FEATURES
5956 if test -z "$defaultval"; then
5957 if test x
"$enablestring" = xdisable
; then
5964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5965 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5966 # Check whether --enable-http was given.
5967 if test "${enable_http+set}" = set; then
5968 enableval
=$enable_http;
5969 if test "$enableval" = yes; then
5970 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
5972 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
5977 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5982 eval "$wx_cv_use_http"
5984 if test x"$enablestring" = xdisable; then
5985 if test $wxUSE_PROTOCOL_HTTP = no; then
5991 result=$wxUSE_PROTOCOL_HTTP
5994 { echo "$as_me:$LINENO: result: $result" >&5
5995 echo "${ECHO_T}$result" >&6; }
5999 defaultval=$wxUSE_ALL_FEATURES
6000 if test -z "$defaultval"; then
6001 if test x"$enablestring" = xdisable; then
6008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6009 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6010 # Check whether --enable-fileproto was given.
6011 if test "${enable_fileproto+set}" = set; then
6012 enableval=$enable_fileproto;
6013 if test "$enableval" = yes; then
6014 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
6016 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
6021 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6026 eval "$wx_cv_use_fileproto"
6028 if test x"$enablestring" = xdisable; then
6029 if test $wxUSE_PROTOCOL_FILE = no; then
6035 result=$wxUSE_PROTOCOL_FILE
6038 { echo "$as_me:$LINENO: result
: $result" >&5
6039 echo "${ECHO_T}$result" >&6; }
6043 defaultval=$wxUSE_ALL_FEATURES
6044 if test -z "$defaultval"; then
6045 if test x"$enablestring" = xdisable; then
6052 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sockets" >&5
6053 echo $ECHO_N "checking
for --${enablestring:-enable}-sockets...
$ECHO_C" >&6; }
6054 # Check whether --enable-sockets was given.
6055 if test "${enable_sockets+set}" = set; then
6056 enableval=$enable_sockets;
6057 if test "$enableval" = yes; then
6058 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6060 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6065 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6070 eval "$wx_cv_use_sockets"
6072 if test x
"$enablestring" = xdisable
; then
6073 if test $wxUSE_SOCKETS = no
; then
6079 result
=$wxUSE_SOCKETS
6082 { echo "$as_me:$LINENO: result: $result" >&5
6083 echo "${ECHO_T}$result" >&6; }
6087 defaultval
=$wxUSE_ALL_FEATURES
6088 if test -z "$defaultval"; then
6089 if test x
"$enablestring" = xdisable
; then
6096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6097 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6098 # Check whether --enable-ipv6 was given.
6099 if test "${enable_ipv6+set}" = set; then
6100 enableval
=$enable_ipv6;
6101 if test "$enableval" = yes; then
6102 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
6104 wx_cv_use_ipv6
='wxUSE_IPV6=no'
6109 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6114 eval "$wx_cv_use_ipv6"
6116 if test x"$enablestring" = xdisable; then
6117 if test $wxUSE_IPV6 = no; then
6126 { echo "$as_me:$LINENO: result: $result" >&5
6127 echo "${ECHO_T}$result" >&6; }
6131 defaultval=$wxUSE_ALL_FEATURES
6132 if test -z "$defaultval"; then
6133 if test x"$enablestring" = xdisable; then
6140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6141 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6142 # Check whether --enable-ole was given.
6143 if test "${enable_ole+set}" = set; then
6144 enableval=$enable_ole;
6145 if test "$enableval" = yes; then
6146 wx_cv_use_ole='wxUSE_OLE
=yes'
6148 wx_cv_use_ole='wxUSE_OLE
=no
'
6153 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6158 eval "$wx_cv_use_ole"
6160 if test x"$enablestring" = xdisable; then
6161 if test $wxUSE_OLE = no; then
6170 { echo "$as_me:$LINENO: result
: $result" >&5
6171 echo "${ECHO_T}$result" >&6; }
6175 defaultval=$wxUSE_ALL_FEATURES
6176 if test -z "$defaultval"; then
6177 if test x"$enablestring" = xdisable; then
6184 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6185 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6186 # Check whether --enable-dataobj was given.
6187 if test "${enable_dataobj+set}" = set; then
6188 enableval=$enable_dataobj;
6189 if test "$enableval" = yes; then
6190 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6192 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6197 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6202 eval "$wx_cv_use_dataobj"
6204 if test x
"$enablestring" = xdisable
; then
6205 if test $wxUSE_DATAOBJ = no
; then
6211 result
=$wxUSE_DATAOBJ
6214 { echo "$as_me:$LINENO: result: $result" >&5
6215 echo "${ECHO_T}$result" >&6; }
6220 defaultval
=$wxUSE_ALL_FEATURES
6221 if test -z "$defaultval"; then
6222 if test x
"$enablestring" = xdisable
; then
6229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6230 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6231 # Check whether --enable-ipc was given.
6232 if test "${enable_ipc+set}" = set; then
6233 enableval
=$enable_ipc;
6234 if test "$enableval" = yes; then
6235 wx_cv_use_ipc
='wxUSE_IPC=yes'
6237 wx_cv_use_ipc
='wxUSE_IPC=no'
6242 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6247 eval "$wx_cv_use_ipc"
6249 if test x"$enablestring" = xdisable; then
6250 if test $wxUSE_IPC = no; then
6259 { echo "$as_me:$LINENO: result: $result" >&5
6260 echo "${ECHO_T}$result" >&6; }
6265 defaultval=$wxUSE_ALL_FEATURES
6266 if test -z "$defaultval"; then
6267 if test x"$enablestring" = xdisable; then
6274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6275 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6276 # Check whether --enable-baseevtloop was given.
6277 if test "${enable_baseevtloop+set}" = set; then
6278 enableval=$enable_baseevtloop;
6279 if test "$enableval" = yes; then
6280 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6282 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6287 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6292 eval "$wx_cv_use_baseevtloop"
6294 if test x"$enablestring" = xdisable; then
6295 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6301 result=$wxUSE_CONSOLE_EVENTLOOP
6304 { echo "$as_me:$LINENO: result
: $result" >&5
6305 echo "${ECHO_T}$result" >&6; }
6309 defaultval=$wxUSE_ALL_FEATURES
6310 if test -z "$defaultval"; then
6311 if test x"$enablestring" = xdisable; then
6318 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6319 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6320 # Check whether --enable-epollloop was given.
6321 if test "${enable_epollloop+set}" = set; then
6322 enableval=$enable_epollloop;
6323 if test "$enableval" = yes; then
6324 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6326 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6331 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6336 eval "$wx_cv_use_epollloop"
6338 if test x
"$enablestring" = xdisable
; then
6339 if test $wxUSE_EPOLL_DISPATCHER = no
; then
6345 result
=$wxUSE_EPOLL_DISPATCHER
6348 { echo "$as_me:$LINENO: result: $result" >&5
6349 echo "${ECHO_T}$result" >&6; }
6353 defaultval
=$wxUSE_ALL_FEATURES
6354 if test -z "$defaultval"; then
6355 if test x
"$enablestring" = xdisable
; then
6362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6363 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6364 # Check whether --enable-selectloop was given.
6365 if test "${enable_selectloop+set}" = set; then
6366 enableval
=$enable_selectloop;
6367 if test "$enableval" = yes; then
6368 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6370 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6375 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6380 eval "$wx_cv_use_selectloop"
6382 if test x"$enablestring" = xdisable; then
6383 if test $wxUSE_SELECT_DISPATCHER = no; then
6389 result=$wxUSE_SELECT_DISPATCHER
6392 { echo "$as_me:$LINENO: result: $result" >&5
6393 echo "${ECHO_T}$result" >&6; }
6398 defaultval=$wxUSE_ALL_FEATURES
6399 if test -z "$defaultval"; then
6400 if test x"$enablestring" = xdisable; then
6407 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6408 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6409 # Check whether --enable-any was given.
6410 if test "${enable_any+set}" = set; then
6411 enableval=$enable_any;
6412 if test "$enableval" = yes; then
6413 wx_cv_use_any='wxUSE_ANY
=yes'
6415 wx_cv_use_any='wxUSE_ANY
=no
'
6420 wx_cv_use_any='wxUSE_ANY
=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6425 eval "$wx_cv_use_any"
6427 if test x"$enablestring" = xdisable; then
6428 if test $wxUSE_ANY = no; then
6437 { echo "$as_me:$LINENO: result
: $result" >&5
6438 echo "${ECHO_T}$result" >&6; }
6442 defaultval=$wxUSE_ALL_FEATURES
6443 if test -z "$defaultval"; then
6444 if test x"$enablestring" = xdisable; then
6451 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-apple_ieee" >&5
6452 echo $ECHO_N "checking
for --${enablestring:-enable}-apple_ieee...
$ECHO_C" >&6; }
6453 # Check whether --enable-apple_ieee was given.
6454 if test "${enable_apple_ieee+set}" = set; then
6455 enableval=$enable_apple_ieee;
6456 if test "$enableval" = yes; then
6457 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6459 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6464 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6469 eval "$wx_cv_use_apple_ieee"
6471 if test x
"$enablestring" = xdisable
; then
6472 if test $wxUSE_APPLE_IEEE = no
; then
6478 result
=$wxUSE_APPLE_IEEE
6481 { echo "$as_me:$LINENO: result: $result" >&5
6482 echo "${ECHO_T}$result" >&6; }
6486 defaultval
=$wxUSE_ALL_FEATURES
6487 if test -z "$defaultval"; then
6488 if test x
"$enablestring" = xdisable
; then
6495 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6496 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6497 # Check whether --enable-arcstream was given.
6498 if test "${enable_arcstream+set}" = set; then
6499 enableval
=$enable_arcstream;
6500 if test "$enableval" = yes; then
6501 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
6503 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
6508 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6513 eval "$wx_cv_use_arcstream"
6515 if test x"$enablestring" = xdisable; then
6516 if test $wxUSE_ARCHIVE_STREAMS = no; then
6522 result=$wxUSE_ARCHIVE_STREAMS
6525 { echo "$as_me:$LINENO: result: $result" >&5
6526 echo "${ECHO_T}$result" >&6; }
6530 defaultval=$wxUSE_ALL_FEATURES
6531 if test -z "$defaultval"; then
6532 if test x"$enablestring" = xdisable; then
6539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6540 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6541 # Check whether --enable-base64 was given.
6542 if test "${enable_base64+set}" = set; then
6543 enableval=$enable_base64;
6544 if test "$enableval" = yes; then
6545 wx_cv_use_base64='wxUSE_BASE64
=yes'
6547 wx_cv_use_base64='wxUSE_BASE64
=no
'
6552 wx_cv_use_base64='wxUSE_BASE64
=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6557 eval "$wx_cv_use_base64"
6559 if test x"$enablestring" = xdisable; then
6560 if test $wxUSE_BASE64 = no; then
6566 result=$wxUSE_BASE64
6569 { echo "$as_me:$LINENO: result
: $result" >&5
6570 echo "${ECHO_T}$result" >&6; }
6574 defaultval=$wxUSE_ALL_FEATURES
6575 if test -z "$defaultval"; then
6576 if test x"$enablestring" = xdisable; then
6583 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-backtrace" >&5
6584 echo $ECHO_N "checking
for --${enablestring:-enable}-backtrace...
$ECHO_C" >&6; }
6585 # Check whether --enable-backtrace was given.
6586 if test "${enable_backtrace+set}" = set; then
6587 enableval=$enable_backtrace;
6588 if test "$enableval" = yes; then
6589 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6591 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6596 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6601 eval "$wx_cv_use_backtrace"
6603 if test x
"$enablestring" = xdisable
; then
6604 if test $wxUSE_STACKWALKER = no
; then
6610 result
=$wxUSE_STACKWALKER
6613 { echo "$as_me:$LINENO: result: $result" >&5
6614 echo "${ECHO_T}$result" >&6; }
6618 defaultval
=$wxUSE_ALL_FEATURES
6619 if test -z "$defaultval"; then
6620 if test x
"$enablestring" = xdisable
; then
6627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6628 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6629 # Check whether --enable-catch_segvs was given.
6630 if test "${enable_catch_segvs+set}" = set; then
6631 enableval
=$enable_catch_segvs;
6632 if test "$enableval" = yes; then
6633 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
6635 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
6640 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6645 eval "$wx_cv_use_catch_segvs"
6647 if test x"$enablestring" = xdisable; then
6648 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6654 result=$wxUSE_ON_FATAL_EXCEPTION
6657 { echo "$as_me:$LINENO: result: $result" >&5
6658 echo "${ECHO_T}$result" >&6; }
6662 defaultval=$wxUSE_ALL_FEATURES
6663 if test -z "$defaultval"; then
6664 if test x"$enablestring" = xdisable; then
6671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6672 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6673 # Check whether --enable-cmdline was given.
6674 if test "${enable_cmdline+set}" = set; then
6675 enableval=$enable_cmdline;
6676 if test "$enableval" = yes; then
6677 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
6679 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
6684 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6689 eval "$wx_cv_use_cmdline"
6691 if test x"$enablestring" = xdisable; then
6692 if test $wxUSE_CMDLINE_PARSER = no; then
6698 result=$wxUSE_CMDLINE_PARSER
6701 { echo "$as_me:$LINENO: result
: $result" >&5
6702 echo "${ECHO_T}$result" >&6; }
6706 defaultval=$wxUSE_ALL_FEATURES
6707 if test -z "$defaultval"; then
6708 if test x"$enablestring" = xdisable; then
6715 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datetime" >&5
6716 echo $ECHO_N "checking
for --${enablestring:-enable}-datetime...
$ECHO_C" >&6; }
6717 # Check whether --enable-datetime was given.
6718 if test "${enable_datetime+set}" = set; then
6719 enableval=$enable_datetime;
6720 if test "$enableval" = yes; then
6721 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6723 wx_cv_use_datetime='wxUSE_DATETIME=no'
6728 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6733 eval "$wx_cv_use_datetime"
6735 if test x
"$enablestring" = xdisable
; then
6736 if test $wxUSE_DATETIME = no
; then
6742 result
=$wxUSE_DATETIME
6745 { echo "$as_me:$LINENO: result: $result" >&5
6746 echo "${ECHO_T}$result" >&6; }
6750 defaultval
=$wxUSE_ALL_FEATURES
6751 if test -z "$defaultval"; then
6752 if test x
"$enablestring" = xdisable
; then
6759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6760 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6761 # Check whether --enable-debugreport was given.
6762 if test "${enable_debugreport+set}" = set; then
6763 enableval
=$enable_debugreport;
6764 if test "$enableval" = yes; then
6765 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
6767 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
6772 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6777 eval "$wx_cv_use_debugreport"
6779 if test x"$enablestring" = xdisable; then
6780 if test $wxUSE_DEBUGREPORT = no; then
6786 result=$wxUSE_DEBUGREPORT
6789 { echo "$as_me:$LINENO: result: $result" >&5
6790 echo "${ECHO_T}$result" >&6; }
6794 defaultval=$wxUSE_ALL_FEATURES
6795 if test -z "$defaultval"; then
6796 if test x"$enablestring" = xdisable; then
6803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6804 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6805 # Check whether --enable-dialupman was given.
6806 if test "${enable_dialupman+set}" = set; then
6807 enableval=$enable_dialupman;
6808 if test "$enableval" = yes; then
6809 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
6811 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
6816 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6821 eval "$wx_cv_use_dialupman"
6823 if test x"$enablestring" = xdisable; then
6824 if test $wxUSE_DIALUP_MANAGER = no; then
6830 result=$wxUSE_DIALUP_MANAGER
6833 { echo "$as_me:$LINENO: result
: $result" >&5
6834 echo "${ECHO_T}$result" >&6; }
6838 defaultval=$wxUSE_ALL_FEATURES
6839 if test -z "$defaultval"; then
6840 if test x"$enablestring" = xdisable; then
6847 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynlib" >&5
6848 echo $ECHO_N "checking
for --${enablestring:-enable}-dynlib...
$ECHO_C" >&6; }
6849 # Check whether --enable-dynlib was given.
6850 if test "${enable_dynlib+set}" = set; then
6851 enableval=$enable_dynlib;
6852 if test "$enableval" = yes; then
6853 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6855 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6860 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6865 eval "$wx_cv_use_dynlib"
6867 if test x
"$enablestring" = xdisable
; then
6868 if test $wxUSE_DYNLIB_CLASS = no
; then
6874 result
=$wxUSE_DYNLIB_CLASS
6877 { echo "$as_me:$LINENO: result: $result" >&5
6878 echo "${ECHO_T}$result" >&6; }
6882 defaultval
=$wxUSE_ALL_FEATURES
6883 if test -z "$defaultval"; then
6884 if test x
"$enablestring" = xdisable
; then
6891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6892 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6893 # Check whether --enable-dynamicloader was given.
6894 if test "${enable_dynamicloader+set}" = set; then
6895 enableval
=$enable_dynamicloader;
6896 if test "$enableval" = yes; then
6897 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
6899 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
6904 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6909 eval "$wx_cv_use_dynamicloader"
6911 if test x"$enablestring" = xdisable; then
6912 if test $wxUSE_DYNAMIC_LOADER = no; then
6918 result=$wxUSE_DYNAMIC_LOADER
6921 { echo "$as_me:$LINENO: result: $result" >&5
6922 echo "${ECHO_T}$result" >&6; }
6926 defaultval=$wxUSE_ALL_FEATURES
6927 if test -z "$defaultval"; then
6928 if test x"$enablestring" = xdisable; then
6935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6936 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6937 # Check whether --enable-exceptions was given.
6938 if test "${enable_exceptions+set}" = set; then
6939 enableval=$enable_exceptions;
6940 if test "$enableval" = yes; then
6941 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
6943 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
6948 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6953 eval "$wx_cv_use_exceptions"
6955 if test x"$enablestring" = xdisable; then
6956 if test $wxUSE_EXCEPTIONS = no; then
6962 result=$wxUSE_EXCEPTIONS
6965 { echo "$as_me:$LINENO: result
: $result" >&5
6966 echo "${ECHO_T}$result" >&6; }
6970 defaultval=$wxUSE_ALL_FEATURES
6971 if test -z "$defaultval"; then
6972 if test x"$enablestring" = xdisable; then
6979 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ffile" >&5
6980 echo $ECHO_N "checking
for --${enablestring:-enable}-ffile...
$ECHO_C" >&6; }
6981 # Check whether --enable-ffile was given.
6982 if test "${enable_ffile+set}" = set; then
6983 enableval=$enable_ffile;
6984 if test "$enableval" = yes; then
6985 wx_cv_use_ffile='wxUSE_FFILE=yes'
6987 wx_cv_use_ffile='wxUSE_FFILE=no'
6992 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6997 eval "$wx_cv_use_ffile"
6999 if test x
"$enablestring" = xdisable
; then
7000 if test $wxUSE_FFILE = no
; then
7009 { echo "$as_me:$LINENO: result: $result" >&5
7010 echo "${ECHO_T}$result" >&6; }
7014 defaultval
=$wxUSE_ALL_FEATURES
7015 if test -z "$defaultval"; then
7016 if test x
"$enablestring" = xdisable
; then
7023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7024 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7025 # Check whether --enable-file was given.
7026 if test "${enable_file+set}" = set; then
7027 enableval
=$enable_file;
7028 if test "$enableval" = yes; then
7029 wx_cv_use_file
='wxUSE_FILE=yes'
7031 wx_cv_use_file
='wxUSE_FILE=no'
7036 wx_cv_use_file
='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7041 eval "$wx_cv_use_file"
7043 if test x"$enablestring" = xdisable; then
7044 if test $wxUSE_FILE = no; then
7053 { echo "$as_me:$LINENO: result: $result" >&5
7054 echo "${ECHO_T}$result" >&6; }
7058 defaultval=$wxUSE_ALL_FEATURES
7059 if test -z "$defaultval"; then
7060 if test x"$enablestring" = xdisable; then
7067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7068 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7069 # Check whether --enable-filehistory was given.
7070 if test "${enable_filehistory+set}" = set; then
7071 enableval=$enable_filehistory;
7072 if test "$enableval" = yes; then
7073 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=yes'
7075 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=no
'
7080 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7085 eval "$wx_cv_use_filehistory"
7087 if test x"$enablestring" = xdisable; then
7088 if test $wxUSE_FILE_HISTORY = no; then
7094 result=$wxUSE_FILE_HISTORY
7097 { echo "$as_me:$LINENO: result
: $result" >&5
7098 echo "${ECHO_T}$result" >&6; }
7102 defaultval=$wxUSE_ALL_FEATURES
7103 if test -z "$defaultval"; then
7104 if test x"$enablestring" = xdisable; then
7111 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filesystem" >&5
7112 echo $ECHO_N "checking
for --${enablestring:-enable}-filesystem...
$ECHO_C" >&6; }
7113 # Check whether --enable-filesystem was given.
7114 if test "${enable_filesystem+set}" = set; then
7115 enableval=$enable_filesystem;
7116 if test "$enableval" = yes; then
7117 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7119 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7124 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7129 eval "$wx_cv_use_filesystem"
7131 if test x
"$enablestring" = xdisable
; then
7132 if test $wxUSE_FILESYSTEM = no
; then
7138 result
=$wxUSE_FILESYSTEM
7141 { echo "$as_me:$LINENO: result: $result" >&5
7142 echo "${ECHO_T}$result" >&6; }
7146 defaultval
=$wxUSE_ALL_FEATURES
7147 if test -z "$defaultval"; then
7148 if test x
"$enablestring" = xdisable
; then
7155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7156 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7157 # Check whether --enable-fontenum was given.
7158 if test "${enable_fontenum+set}" = set; then
7159 enableval
=$enable_fontenum;
7160 if test "$enableval" = yes; then
7161 wx_cv_use_fontenum
='wxUSE_FONTENUM=yes'
7163 wx_cv_use_fontenum
='wxUSE_FONTENUM=no'
7168 wx_cv_use_fontenum
='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7173 eval "$wx_cv_use_fontenum"
7175 if test x"$enablestring" = xdisable; then
7176 if test $wxUSE_FONTENUM = no; then
7182 result=$wxUSE_FONTENUM
7185 { echo "$as_me:$LINENO: result: $result" >&5
7186 echo "${ECHO_T}$result" >&6; }
7190 defaultval=$wxUSE_ALL_FEATURES
7191 if test -z "$defaultval"; then
7192 if test x"$enablestring" = xdisable; then
7199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7200 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7201 # Check whether --enable-fontmap was given.
7202 if test "${enable_fontmap+set}" = set; then
7203 enableval=$enable_fontmap;
7204 if test "$enableval" = yes; then
7205 wx_cv_use_fontmap='wxUSE_FONTMAP
=yes'
7207 wx_cv_use_fontmap='wxUSE_FONTMAP
=no
'
7212 wx_cv_use_fontmap='wxUSE_FONTMAP
=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7217 eval "$wx_cv_use_fontmap"
7219 if test x"$enablestring" = xdisable; then
7220 if test $wxUSE_FONTMAP = no; then
7226 result=$wxUSE_FONTMAP
7229 { echo "$as_me:$LINENO: result
: $result" >&5
7230 echo "${ECHO_T}$result" >&6; }
7234 defaultval=$wxUSE_ALL_FEATURES
7235 if test -z "$defaultval"; then
7236 if test x"$enablestring" = xdisable; then
7243 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_archive" >&5
7244 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_archive...
$ECHO_C" >&6; }
7245 # Check whether --enable-fs_archive was given.
7246 if test "${enable_fs_archive+set}" = set; then
7247 enableval=$enable_fs_archive;
7248 if test "$enableval" = yes; then
7249 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7251 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7256 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7261 eval "$wx_cv_use_fs_archive"
7263 if test x
"$enablestring" = xdisable
; then
7264 if test $wxUSE_FS_ARCHIVE = no
; then
7270 result
=$wxUSE_FS_ARCHIVE
7273 { echo "$as_me:$LINENO: result: $result" >&5
7274 echo "${ECHO_T}$result" >&6; }
7278 defaultval
=$wxUSE_ALL_FEATURES
7279 if test -z "$defaultval"; then
7280 if test x
"$enablestring" = xdisable
; then
7287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7288 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7289 # Check whether --enable-fs_inet was given.
7290 if test "${enable_fs_inet+set}" = set; then
7291 enableval
=$enable_fs_inet;
7292 if test "$enableval" = yes; then
7293 wx_cv_use_fs_inet
='wxUSE_FS_INET=yes'
7295 wx_cv_use_fs_inet
='wxUSE_FS_INET=no'
7300 wx_cv_use_fs_inet
='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7305 eval "$wx_cv_use_fs_inet"
7307 if test x"$enablestring" = xdisable; then
7308 if test $wxUSE_FS_INET = no; then
7314 result=$wxUSE_FS_INET
7317 { echo "$as_me:$LINENO: result: $result" >&5
7318 echo "${ECHO_T}$result" >&6; }
7322 defaultval=$wxUSE_ALL_FEATURES
7323 if test -z "$defaultval"; then
7324 if test x"$enablestring" = xdisable; then
7331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7332 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7333 # Check whether --enable-fs_zip was given.
7334 if test "${enable_fs_zip+set}" = set; then
7335 enableval=$enable_fs_zip;
7336 if test "$enableval" = yes; then
7337 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
7339 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
7344 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7349 eval "$wx_cv_use_fs_zip"
7351 if test x"$enablestring" = xdisable; then
7352 if test $wxUSE_FS_ZIP = no; then
7358 result=$wxUSE_FS_ZIP
7361 { echo "$as_me:$LINENO: result
: $result" >&5
7362 echo "${ECHO_T}$result" >&6; }
7366 defaultval=$wxUSE_ALL_FEATURES
7367 if test -z "$defaultval"; then
7368 if test x"$enablestring" = xdisable; then
7375 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fswatcher" >&5
7376 echo $ECHO_N "checking
for --${enablestring:-enable}-fswatcher...
$ECHO_C" >&6; }
7377 # Check whether --enable-fswatcher was given.
7378 if test "${enable_fswatcher+set}" = set; then
7379 enableval=$enable_fswatcher;
7380 if test "$enableval" = yes; then
7381 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7383 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7388 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7393 eval "$wx_cv_use_fswatcher"
7395 if test x
"$enablestring" = xdisable
; then
7396 if test $wxUSE_FSWATCHER = no
; then
7402 result
=$wxUSE_FSWATCHER
7405 { echo "$as_me:$LINENO: result: $result" >&5
7406 echo "${ECHO_T}$result" >&6; }
7410 defaultval
=$wxUSE_ALL_FEATURES
7411 if test -z "$defaultval"; then
7412 if test x
"$enablestring" = xdisable
; then
7419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7420 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7421 # Check whether --enable-geometry was given.
7422 if test "${enable_geometry+set}" = set; then
7423 enableval
=$enable_geometry;
7424 if test "$enableval" = yes; then
7425 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
7427 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
7432 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7437 eval "$wx_cv_use_geometry"
7439 if test x"$enablestring" = xdisable; then
7440 if test $wxUSE_GEOMETRY = no; then
7446 result=$wxUSE_GEOMETRY
7449 { echo "$as_me:$LINENO: result: $result" >&5
7450 echo "${ECHO_T}$result" >&6; }
7454 defaultval=$wxUSE_ALL_FEATURES
7455 if test -z "$defaultval"; then
7456 if test x"$enablestring" = xdisable; then
7463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7464 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7465 # Check whether --enable-log was given.
7466 if test "${enable_log+set}" = set; then
7467 enableval=$enable_log;
7468 if test "$enableval" = yes; then
7469 wx_cv_use_log='wxUSE_LOG
=yes'
7471 wx_cv_use_log='wxUSE_LOG
=no
'
7476 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7481 eval "$wx_cv_use_log"
7483 if test x"$enablestring" = xdisable; then
7484 if test $wxUSE_LOG = no; then
7493 { echo "$as_me:$LINENO: result
: $result" >&5
7494 echo "${ECHO_T}$result" >&6; }
7498 defaultval=$wxUSE_ALL_FEATURES
7499 if test -z "$defaultval"; then
7500 if test x"$enablestring" = xdisable; then
7507 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-longlong" >&5
7508 echo $ECHO_N "checking
for --${enablestring:-enable}-longlong...
$ECHO_C" >&6; }
7509 # Check whether --enable-longlong was given.
7510 if test "${enable_longlong+set}" = set; then
7511 enableval=$enable_longlong;
7512 if test "$enableval" = yes; then
7513 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7515 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7520 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7525 eval "$wx_cv_use_longlong"
7527 if test x
"$enablestring" = xdisable
; then
7528 if test $wxUSE_LONGLONG = no
; then
7534 result
=$wxUSE_LONGLONG
7537 { echo "$as_me:$LINENO: result: $result" >&5
7538 echo "${ECHO_T}$result" >&6; }
7542 defaultval
=$wxUSE_ALL_FEATURES
7543 if test -z "$defaultval"; then
7544 if test x
"$enablestring" = xdisable
; then
7551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7552 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7553 # Check whether --enable-mimetype was given.
7554 if test "${enable_mimetype+set}" = set; then
7555 enableval
=$enable_mimetype;
7556 if test "$enableval" = yes; then
7557 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
7559 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
7564 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7569 eval "$wx_cv_use_mimetype"
7571 if test x"$enablestring" = xdisable; then
7572 if test $wxUSE_MIMETYPE = no; then
7578 result=$wxUSE_MIMETYPE
7581 { echo "$as_me:$LINENO: result: $result" >&5
7582 echo "${ECHO_T}$result" >&6; }
7586 defaultval=$wxUSE_ALL_FEATURES
7587 if test -z "$defaultval"; then
7588 if test x"$enablestring" = xdisable; then
7595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7596 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7597 # Check whether --enable-printfposparam was given.
7598 if test "${enable_printfposparam+set}" = set; then
7599 enableval=$enable_printfposparam;
7600 if test "$enableval" = yes; then
7601 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
7603 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
7608 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7613 eval "$wx_cv_use_printfposparam"
7615 if test x"$enablestring" = xdisable; then
7616 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7622 result=$wxUSE_PRINTF_POS_PARAMS
7625 { echo "$as_me:$LINENO: result
: $result" >&5
7626 echo "${ECHO_T}$result" >&6; }
7630 defaultval=$wxUSE_ALL_FEATURES
7631 if test -z "$defaultval"; then
7632 if test x"$enablestring" = xdisable; then
7639 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-snglinst" >&5
7640 echo $ECHO_N "checking
for --${enablestring:-enable}-snglinst...
$ECHO_C" >&6; }
7641 # Check whether --enable-snglinst was given.
7642 if test "${enable_snglinst+set}" = set; then
7643 enableval=$enable_snglinst;
7644 if test "$enableval" = yes; then
7645 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7647 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7652 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7657 eval "$wx_cv_use_snglinst"
7659 if test x
"$enablestring" = xdisable
; then
7660 if test $wxUSE_SNGLINST_CHECKER = no
; then
7666 result
=$wxUSE_SNGLINST_CHECKER
7669 { echo "$as_me:$LINENO: result: $result" >&5
7670 echo "${ECHO_T}$result" >&6; }
7674 defaultval
=$wxUSE_ALL_FEATURES
7675 if test -z "$defaultval"; then
7676 if test x
"$enablestring" = xdisable
; then
7683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7684 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7685 # Check whether --enable-sound was given.
7686 if test "${enable_sound+set}" = set; then
7687 enableval
=$enable_sound;
7688 if test "$enableval" = yes; then
7689 wx_cv_use_sound
='wxUSE_SOUND=yes'
7691 wx_cv_use_sound
='wxUSE_SOUND=no'
7696 wx_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7701 eval "$wx_cv_use_sound"
7703 if test x"$enablestring" = xdisable; then
7704 if test $wxUSE_SOUND = no; then
7713 { echo "$as_me:$LINENO: result: $result" >&5
7714 echo "${ECHO_T}$result" >&6; }
7718 defaultval=$wxUSE_ALL_FEATURES
7719 if test -z "$defaultval"; then
7720 if test x"$enablestring" = xdisable; then
7727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7728 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7729 # Check whether --enable-stdpaths was given.
7730 if test "${enable_stdpaths+set}" = set; then
7731 enableval=$enable_stdpaths;
7732 if test "$enableval" = yes; then
7733 wx_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
7735 wx_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
7740 wx_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7745 eval "$wx_cv_use_stdpaths"
7747 if test x"$enablestring" = xdisable; then
7748 if test $wxUSE_STDPATHS = no; then
7754 result=$wxUSE_STDPATHS
7757 { echo "$as_me:$LINENO: result
: $result" >&5
7758 echo "${ECHO_T}$result" >&6; }
7762 defaultval=$wxUSE_ALL_FEATURES
7763 if test -z "$defaultval"; then
7764 if test x"$enablestring" = xdisable; then
7771 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stopwatch" >&5
7772 echo $ECHO_N "checking
for --${enablestring:-enable}-stopwatch...
$ECHO_C" >&6; }
7773 # Check whether --enable-stopwatch was given.
7774 if test "${enable_stopwatch+set}" = set; then
7775 enableval=$enable_stopwatch;
7776 if test "$enableval" = yes; then
7777 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7779 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7784 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7789 eval "$wx_cv_use_stopwatch"
7791 if test x
"$enablestring" = xdisable
; then
7792 if test $wxUSE_STOPWATCH = no
; then
7798 result
=$wxUSE_STOPWATCH
7801 { echo "$as_me:$LINENO: result: $result" >&5
7802 echo "${ECHO_T}$result" >&6; }
7806 defaultval
=$wxUSE_ALL_FEATURES
7807 if test -z "$defaultval"; then
7808 if test x
"$enablestring" = xdisable
; then
7815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7816 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7817 # Check whether --enable-streams was given.
7818 if test "${enable_streams+set}" = set; then
7819 enableval
=$enable_streams;
7820 if test "$enableval" = yes; then
7821 wx_cv_use_streams
='wxUSE_STREAMS=yes'
7823 wx_cv_use_streams
='wxUSE_STREAMS=no'
7828 wx_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7833 eval "$wx_cv_use_streams"
7835 if test x"$enablestring" = xdisable; then
7836 if test $wxUSE_STREAMS = no; then
7842 result=$wxUSE_STREAMS
7845 { echo "$as_me:$LINENO: result: $result" >&5
7846 echo "${ECHO_T}$result" >&6; }
7850 defaultval=$wxUSE_ALL_FEATURES
7851 if test -z "$defaultval"; then
7852 if test x"$enablestring" = xdisable; then
7859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7860 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7861 # Check whether --enable-sysoptions was given.
7862 if test "${enable_sysoptions+set}" = set; then
7863 enableval=$enable_sysoptions;
7864 if test "$enableval" = yes; then
7865 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=yes'
7867 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=no
'
7872 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7877 eval "$wx_cv_use_sysoptions"
7879 if test x"$enablestring" = xdisable; then
7880 if test $wxUSE_SYSTEM_OPTIONS = no; then
7886 result=$wxUSE_SYSTEM_OPTIONS
7889 { echo "$as_me:$LINENO: result
: $result" >&5
7890 echo "${ECHO_T}$result" >&6; }
7894 defaultval=$wxUSE_ALL_FEATURES
7895 if test -z "$defaultval"; then
7896 if test x"$enablestring" = xdisable; then
7903 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tarstream" >&5
7904 echo $ECHO_N "checking
for --${enablestring:-enable}-tarstream...
$ECHO_C" >&6; }
7905 # Check whether --enable-tarstream was given.
7906 if test "${enable_tarstream+set}" = set; then
7907 enableval=$enable_tarstream;
7908 if test "$enableval" = yes; then
7909 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7911 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7916 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7921 eval "$wx_cv_use_tarstream"
7923 if test x
"$enablestring" = xdisable
; then
7924 if test $wxUSE_TARSTREAM = no
; then
7930 result
=$wxUSE_TARSTREAM
7933 { echo "$as_me:$LINENO: result: $result" >&5
7934 echo "${ECHO_T}$result" >&6; }
7938 defaultval
=$wxUSE_ALL_FEATURES
7939 if test -z "$defaultval"; then
7940 if test x
"$enablestring" = xdisable
; then
7947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7948 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7949 # Check whether --enable-textbuf was given.
7950 if test "${enable_textbuf+set}" = set; then
7951 enableval
=$enable_textbuf;
7952 if test "$enableval" = yes; then
7953 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
7955 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
7960 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7965 eval "$wx_cv_use_textbuf"
7967 if test x"$enablestring" = xdisable; then
7968 if test $wxUSE_TEXTBUFFER = no; then
7974 result=$wxUSE_TEXTBUFFER
7977 { echo "$as_me:$LINENO: result: $result" >&5
7978 echo "${ECHO_T}$result" >&6; }
7982 defaultval=$wxUSE_ALL_FEATURES
7983 if test -z "$defaultval"; then
7984 if test x"$enablestring" = xdisable; then
7991 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7992 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7993 # Check whether --enable-textfile was given.
7994 if test "${enable_textfile+set}" = set; then
7995 enableval=$enable_textfile;
7996 if test "$enableval" = yes; then
7997 wx_cv_use_textfile='wxUSE_TEXTFILE
=yes'
7999 wx_cv_use_textfile='wxUSE_TEXTFILE
=no
'
8004 wx_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8009 eval "$wx_cv_use_textfile"
8011 if test x"$enablestring" = xdisable; then
8012 if test $wxUSE_TEXTFILE = no; then
8018 result=$wxUSE_TEXTFILE
8021 { echo "$as_me:$LINENO: result
: $result" >&5
8022 echo "${ECHO_T}$result" >&6; }
8026 defaultval=$wxUSE_ALL_FEATURES
8027 if test -z "$defaultval"; then
8028 if test x"$enablestring" = xdisable; then
8035 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-timer" >&5
8036 echo $ECHO_N "checking
for --${enablestring:-enable}-timer...
$ECHO_C" >&6; }
8037 # Check whether --enable-timer was given.
8038 if test "${enable_timer+set}" = set; then
8039 enableval=$enable_timer;
8040 if test "$enableval" = yes; then
8041 wx_cv_use_timer='wxUSE_TIMER=yes'
8043 wx_cv_use_timer='wxUSE_TIMER=no'
8048 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8053 eval "$wx_cv_use_timer"
8055 if test x
"$enablestring" = xdisable
; then
8056 if test $wxUSE_TIMER = no
; then
8065 { echo "$as_me:$LINENO: result: $result" >&5
8066 echo "${ECHO_T}$result" >&6; }
8070 defaultval
=$wxUSE_ALL_FEATURES
8071 if test -z "$defaultval"; then
8072 if test x
"$enablestring" = xdisable
; then
8079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8080 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8081 # Check whether --enable-variant was given.
8082 if test "${enable_variant+set}" = set; then
8083 enableval
=$enable_variant;
8084 if test "$enableval" = yes; then
8085 wx_cv_use_variant
='wxUSE_VARIANT=yes'
8087 wx_cv_use_variant
='wxUSE_VARIANT=no'
8092 wx_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8097 eval "$wx_cv_use_variant"
8099 if test x"$enablestring" = xdisable; then
8100 if test $wxUSE_VARIANT = no; then
8106 result=$wxUSE_VARIANT
8109 { echo "$as_me:$LINENO: result: $result" >&5
8110 echo "${ECHO_T}$result" >&6; }
8114 defaultval=$wxUSE_ALL_FEATURES
8115 if test -z "$defaultval"; then
8116 if test x"$enablestring" = xdisable; then
8123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8124 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8125 # Check whether --enable-zipstream was given.
8126 if test "${enable_zipstream+set}" = set; then
8127 enableval=$enable_zipstream;
8128 if test "$enableval" = yes; then
8129 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
8131 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
8136 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8141 eval "$wx_cv_use_zipstream"
8143 if test x"$enablestring" = xdisable; then
8144 if test $wxUSE_ZIPSTREAM = no; then
8150 result=$wxUSE_ZIPSTREAM
8153 { echo "$as_me:$LINENO: result
: $result" >&5
8154 echo "${ECHO_T}$result" >&6; }
8159 defaultval=$wxUSE_ALL_FEATURES
8160 if test -z "$defaultval"; then
8161 if test x"$enablestring" = xdisable; then
8168 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-url" >&5
8169 echo $ECHO_N "checking
for --${enablestring:-enable}-url...
$ECHO_C" >&6; }
8170 # Check whether --enable-url was given.
8171 if test "${enable_url+set}" = set; then
8172 enableval=$enable_url;
8173 if test "$enableval" = yes; then
8174 wx_cv_use_url='wxUSE_URL=yes'
8176 wx_cv_use_url='wxUSE_URL=no'
8181 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8186 eval "$wx_cv_use_url"
8188 if test x
"$enablestring" = xdisable
; then
8189 if test $wxUSE_URL = no
; then
8198 { echo "$as_me:$LINENO: result: $result" >&5
8199 echo "${ECHO_T}$result" >&6; }
8203 defaultval
=$wxUSE_ALL_FEATURES
8204 if test -z "$defaultval"; then
8205 if test x
"$enablestring" = xdisable
; then
8212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8213 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8214 # Check whether --enable-protocol was given.
8215 if test "${enable_protocol+set}" = set; then
8216 enableval
=$enable_protocol;
8217 if test "$enableval" = yes; then
8218 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
8220 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
8225 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8230 eval "$wx_cv_use_protocol"
8232 if test x"$enablestring" = xdisable; then
8233 if test $wxUSE_PROTOCOL = no; then
8239 result=$wxUSE_PROTOCOL
8242 { echo "$as_me:$LINENO: result: $result" >&5
8243 echo "${ECHO_T}$result" >&6; }
8247 defaultval=$wxUSE_ALL_FEATURES
8248 if test -z "$defaultval"; then
8249 if test x"$enablestring" = xdisable; then
8256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8257 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8258 # Check whether --enable-protocol_http was given.
8259 if test "${enable_protocol_http+set}" = set; then
8260 enableval=$enable_protocol_http;
8261 if test "$enableval" = yes; then
8262 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
8264 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
8269 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8274 eval "$wx_cv_use_protocol_http"
8276 if test x"$enablestring" = xdisable; then
8277 if test $wxUSE_PROTOCOL_HTTP = no; then
8283 result=$wxUSE_PROTOCOL_HTTP
8286 { echo "$as_me:$LINENO: result
: $result" >&5
8287 echo "${ECHO_T}$result" >&6; }
8291 defaultval=$wxUSE_ALL_FEATURES
8292 if test -z "$defaultval"; then
8293 if test x"$enablestring" = xdisable; then
8300 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_ftp" >&5
8301 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_ftp...
$ECHO_C" >&6; }
8302 # Check whether --enable-protocol_ftp was given.
8303 if test "${enable_protocol_ftp+set}" = set; then
8304 enableval=$enable_protocol_ftp;
8305 if test "$enableval" = yes; then
8306 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8308 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8313 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8318 eval "$wx_cv_use_protocol_ftp"
8320 if test x
"$enablestring" = xdisable
; then
8321 if test $wxUSE_PROTOCOL_FTP = no
; then
8327 result
=$wxUSE_PROTOCOL_FTP
8330 { echo "$as_me:$LINENO: result: $result" >&5
8331 echo "${ECHO_T}$result" >&6; }
8335 defaultval
=$wxUSE_ALL_FEATURES
8336 if test -z "$defaultval"; then
8337 if test x
"$enablestring" = xdisable
; then
8344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8345 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8346 # Check whether --enable-protocol_file was given.
8347 if test "${enable_protocol_file+set}" = set; then
8348 enableval
=$enable_protocol_file;
8349 if test "$enableval" = yes; then
8350 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
8352 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
8357 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8362 eval "$wx_cv_use_protocol_file"
8364 if test x"$enablestring" = xdisable; then
8365 if test $wxUSE_PROTOCOL_FILE = no; then
8371 result=$wxUSE_PROTOCOL_FILE
8374 { echo "$as_me:$LINENO: result: $result" >&5
8375 echo "${ECHO_T}$result" >&6; }
8380 defaultval=$wxUSE_ALL_FEATURES
8381 if test -z "$defaultval"; then
8382 if test x"$enablestring" = xdisable; then
8389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8390 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8391 # Check whether --enable-threads was given.
8392 if test "${enable_threads+set}" = set; then
8393 enableval=$enable_threads;
8394 if test "$enableval" = yes; then
8395 wx_cv_use_threads='wxUSE_THREADS
=yes'
8397 wx_cv_use_threads='wxUSE_THREADS
=no
'
8402 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8407 eval "$wx_cv_use_threads"
8409 if test x"$enablestring" = xdisable; then
8410 if test $wxUSE_THREADS = no; then
8416 result=$wxUSE_THREADS
8419 { echo "$as_me:$LINENO: result
: $result" >&5
8420 echo "${ECHO_T}$result" >&6; }
8426 if test -z "$defaultval"; then
8427 if test x"$enablestring" = xdisable; then
8434 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iniconf" >&5
8435 echo $ECHO_N "checking
for --${enablestring:-enable}-iniconf...
$ECHO_C" >&6; }
8436 # Check whether --enable-iniconf was given.
8437 if test "${enable_iniconf+set}" = set; then
8438 enableval=$enable_iniconf;
8439 if test "$enableval" = yes; then
8440 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8442 wx_cv_use_iniconf='wxUSE_INICONF=no'
8447 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8452 eval "$wx_cv_use_iniconf"
8454 if test x
"$enablestring" = xdisable
; then
8455 if test $wxUSE_INICONF = no
; then
8461 result
=$wxUSE_INICONF
8464 { echo "$as_me:$LINENO: result: $result" >&5
8465 echo "${ECHO_T}$result" >&6; }
8469 defaultval
=$wxUSE_ALL_FEATURES
8470 if test -z "$defaultval"; then
8471 if test x
"$enablestring" = xdisable
; then
8478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8479 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8480 # Check whether --enable-regkey was given.
8481 if test "${enable_regkey+set}" = set; then
8482 enableval
=$enable_regkey;
8483 if test "$enableval" = yes; then
8484 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
8486 wx_cv_use_regkey
='wxUSE_REGKEY=no'
8491 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8496 eval "$wx_cv_use_regkey"
8498 if test x"$enablestring" = xdisable; then
8499 if test $wxUSE_REGKEY = no; then
8505 result=$wxUSE_REGKEY
8508 { echo "$as_me:$LINENO: result: $result" >&5
8509 echo "${ECHO_T}$result" >&6; }
8512 if test "$wxUSE_GUI" = "yes"; then
8517 defaultval=$wxUSE_ALL_FEATURES
8518 if test -z "$defaultval"; then
8519 if test x"$enablestring" = xdisable; then
8526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8527 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8528 # Check whether --enable-docview was given.
8529 if test "${enable_docview+set}" = set; then
8530 enableval=$enable_docview;
8531 if test "$enableval" = yes; then
8532 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
8534 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
8539 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8544 eval "$wx_cv_use_docview"
8546 if test x"$enablestring" = xdisable; then
8547 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8553 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8556 { echo "$as_me:$LINENO: result
: $result" >&5
8557 echo "${ECHO_T}$result" >&6; }
8561 defaultval=$wxUSE_ALL_FEATURES
8562 if test -z "$defaultval"; then
8563 if test x"$enablestring" = xdisable; then
8570 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-help" >&5
8571 echo $ECHO_N "checking
for --${enablestring:-enable}-help...
$ECHO_C" >&6; }
8572 # Check whether --enable-help was given.
8573 if test "${enable_help+set}" = set; then
8574 enableval=$enable_help;
8575 if test "$enableval" = yes; then
8576 wx_cv_use_help='wxUSE_HELP=yes'
8578 wx_cv_use_help='wxUSE_HELP=no'
8583 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8588 eval "$wx_cv_use_help"
8590 if test x
"$enablestring" = xdisable
; then
8591 if test $wxUSE_HELP = no
; then
8600 { echo "$as_me:$LINENO: result: $result" >&5
8601 echo "${ECHO_T}$result" >&6; }
8605 defaultval
=$wxUSE_ALL_FEATURES
8606 if test -z "$defaultval"; then
8607 if test x
"$enablestring" = xdisable
; then
8614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8615 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8616 # Check whether --enable-mshtmlhelp was given.
8617 if test "${enable_mshtmlhelp+set}" = set; then
8618 enableval
=$enable_mshtmlhelp;
8619 if test "$enableval" = yes; then
8620 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
8622 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
8627 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8632 eval "$wx_cv_use_mshtmlhelp"
8634 if test x"$enablestring" = xdisable; then
8635 if test $wxUSE_MS_HTML_HELP = no; then
8641 result=$wxUSE_MS_HTML_HELP
8644 { echo "$as_me:$LINENO: result: $result" >&5
8645 echo "${ECHO_T}$result" >&6; }
8649 defaultval=$wxUSE_ALL_FEATURES
8650 if test -z "$defaultval"; then
8651 if test x"$enablestring" = xdisable; then
8658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8659 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8660 # Check whether --enable-html was given.
8661 if test "${enable_html+set}" = set; then
8662 enableval=$enable_html;
8663 if test "$enableval" = yes; then
8664 wx_cv_use_html='wxUSE_HTML
=yes'
8666 wx_cv_use_html='wxUSE_HTML
=no
'
8671 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8676 eval "$wx_cv_use_html"
8678 if test x"$enablestring" = xdisable; then
8679 if test $wxUSE_HTML = no; then
8688 { echo "$as_me:$LINENO: result
: $result" >&5
8689 echo "${ECHO_T}$result" >&6; }
8693 defaultval=$wxUSE_ALL_FEATURES
8694 if test -z "$defaultval"; then
8695 if test x"$enablestring" = xdisable; then
8702 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-htmlhelp" >&5
8703 echo $ECHO_N "checking
for --${enablestring:-enable}-htmlhelp...
$ECHO_C" >&6; }
8704 # Check whether --enable-htmlhelp was given.
8705 if test "${enable_htmlhelp+set}" = set; then
8706 enableval=$enable_htmlhelp;
8707 if test "$enableval" = yes; then
8708 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8710 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8715 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8720 eval "$wx_cv_use_htmlhelp"
8722 if test x
"$enablestring" = xdisable
; then
8723 if test $wxUSE_WXHTML_HELP = no
; then
8729 result
=$wxUSE_WXHTML_HELP
8732 { echo "$as_me:$LINENO: result: $result" >&5
8733 echo "${ECHO_T}$result" >&6; }
8737 defaultval
=$wxUSE_ALL_FEATURES
8738 if test -z "$defaultval"; then
8739 if test x
"$enablestring" = xdisable
; then
8746 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8747 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8748 # Check whether --enable-xrc was given.
8749 if test "${enable_xrc+set}" = set; then
8750 enableval
=$enable_xrc;
8751 if test "$enableval" = yes; then
8752 wx_cv_use_xrc
='wxUSE_XRC=yes'
8754 wx_cv_use_xrc
='wxUSE_XRC=no'
8759 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8764 eval "$wx_cv_use_xrc"
8766 if test x"$enablestring" = xdisable; then
8767 if test $wxUSE_XRC = no; then
8776 { echo "$as_me:$LINENO: result: $result" >&5
8777 echo "${ECHO_T}$result" >&6; }
8781 defaultval=$wxUSE_ALL_FEATURES
8782 if test -z "$defaultval"; then
8783 if test x"$enablestring" = xdisable; then
8790 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8791 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8792 # Check whether --enable-aui was given.
8793 if test "${enable_aui+set}" = set; then
8794 enableval=$enable_aui;
8795 if test "$enableval" = yes; then
8796 wx_cv_use_aui='wxUSE_AUI
=yes'
8798 wx_cv_use_aui='wxUSE_AUI
=no
'
8803 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8808 eval "$wx_cv_use_aui"
8810 if test x"$enablestring" = xdisable; then
8811 if test $wxUSE_AUI = no; then
8820 { echo "$as_me:$LINENO: result
: $result" >&5
8821 echo "${ECHO_T}$result" >&6; }
8825 defaultval=$wxUSE_ALL_FEATURES
8826 if test -z "$defaultval"; then
8827 if test x"$enablestring" = xdisable; then
8834 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-propgrid" >&5
8835 echo $ECHO_N "checking
for --${enablestring:-enable}-propgrid...
$ECHO_C" >&6; }
8836 # Check whether --enable-propgrid was given.
8837 if test "${enable_propgrid+set}" = set; then
8838 enableval=$enable_propgrid;
8839 if test "$enableval" = yes; then
8840 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8842 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8847 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8852 eval "$wx_cv_use_propgrid"
8854 if test x
"$enablestring" = xdisable
; then
8855 if test $wxUSE_PROPGRID = no
; then
8861 result
=$wxUSE_PROPGRID
8864 { echo "$as_me:$LINENO: result: $result" >&5
8865 echo "${ECHO_T}$result" >&6; }
8869 defaultval
=$wxUSE_ALL_FEATURES
8870 if test -z "$defaultval"; then
8871 if test x
"$enablestring" = xdisable
; then
8878 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8879 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8880 # Check whether --enable-ribbon was given.
8881 if test "${enable_ribbon+set}" = set; then
8882 enableval
=$enable_ribbon;
8883 if test "$enableval" = yes; then
8884 wx_cv_use_ribbon
='wxUSE_RIBBON=yes'
8886 wx_cv_use_ribbon
='wxUSE_RIBBON=no'
8891 wx_cv_use_ribbon
='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8896 eval "$wx_cv_use_ribbon"
8898 if test x"$enablestring" = xdisable; then
8899 if test $wxUSE_RIBBON = no; then
8905 result=$wxUSE_RIBBON
8908 { echo "$as_me:$LINENO: result: $result" >&5
8909 echo "${ECHO_T}$result" >&6; }
8913 defaultval=$wxUSE_ALL_FEATURES
8914 if test -z "$defaultval"; then
8915 if test x"$enablestring" = xdisable; then
8922 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8923 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8924 # Check whether --enable-stc was given.
8925 if test "${enable_stc+set}" = set; then
8926 enableval=$enable_stc;
8927 if test "$enableval" = yes; then
8928 wx_cv_use_stc='wxUSE_STC
=yes'
8930 wx_cv_use_stc='wxUSE_STC
=no
'
8935 wx_cv_use_stc='wxUSE_STC
=${'DEFAULT_wxUSE_STC":-$defaultval}"
8940 eval "$wx_cv_use_stc"
8942 if test x"$enablestring" = xdisable; then
8943 if test $wxUSE_STC = no; then
8952 { echo "$as_me:$LINENO: result
: $result" >&5
8953 echo "${ECHO_T}$result" >&6; }
8957 defaultval=$wxUSE_ALL_FEATURES
8958 if test -z "$defaultval"; then
8959 if test x"$enablestring" = xdisable; then
8966 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-constraints" >&5
8967 echo $ECHO_N "checking
for --${enablestring:-enable}-constraints...
$ECHO_C" >&6; }
8968 # Check whether --enable-constraints was given.
8969 if test "${enable_constraints+set}" = set; then
8970 enableval=$enable_constraints;
8971 if test "$enableval" = yes; then
8972 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8974 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8979 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8984 eval "$wx_cv_use_constraints"
8986 if test x
"$enablestring" = xdisable
; then
8987 if test $wxUSE_CONSTRAINTS = no
; then
8993 result
=$wxUSE_CONSTRAINTS
8996 { echo "$as_me:$LINENO: result: $result" >&5
8997 echo "${ECHO_T}$result" >&6; }
9001 defaultval
=$wxUSE_ALL_FEATURES
9002 if test -z "$defaultval"; then
9003 if test x
"$enablestring" = xdisable
; then
9010 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9011 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9012 # Check whether --enable-loggui was given.
9013 if test "${enable_loggui+set}" = set; then
9014 enableval
=$enable_loggui;
9015 if test "$enableval" = yes; then
9016 wx_cv_use_loggui
='wxUSE_LOGGUI=yes'
9018 wx_cv_use_loggui
='wxUSE_LOGGUI=no'
9023 wx_cv_use_loggui
='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9028 eval "$wx_cv_use_loggui"
9030 if test x"$enablestring" = xdisable; then
9031 if test $wxUSE_LOGGUI = no; then
9037 result=$wxUSE_LOGGUI
9040 { echo "$as_me:$LINENO: result: $result" >&5
9041 echo "${ECHO_T}$result" >&6; }
9045 defaultval=$wxUSE_ALL_FEATURES
9046 if test -z "$defaultval"; then
9047 if test x"$enablestring" = xdisable; then
9054 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9055 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9056 # Check whether --enable-logwin was given.
9057 if test "${enable_logwin+set}" = set; then
9058 enableval=$enable_logwin;
9059 if test "$enableval" = yes; then
9060 wx_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
9062 wx_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
9067 wx_cv_use_logwin='wxUSE_LOGWINDOW
=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9072 eval "$wx_cv_use_logwin"
9074 if test x"$enablestring" = xdisable; then
9075 if test $wxUSE_LOGWINDOW = no; then
9081 result=$wxUSE_LOGWINDOW
9084 { echo "$as_me:$LINENO: result
: $result" >&5
9085 echo "${ECHO_T}$result" >&6; }
9089 defaultval=$wxUSE_ALL_FEATURES
9090 if test -z "$defaultval"; then
9091 if test x"$enablestring" = xdisable; then
9098 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-logdialog" >&5
9099 echo $ECHO_N "checking
for --${enablestring:-enable}-logdialog...
$ECHO_C" >&6; }
9100 # Check whether --enable-logdialog was given.
9101 if test "${enable_logdialog+set}" = set; then
9102 enableval=$enable_logdialog;
9103 if test "$enableval" = yes; then
9104 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9106 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9111 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9116 eval "$wx_cv_use_logdialog"
9118 if test x
"$enablestring" = xdisable
; then
9119 if test $wxUSE_LOGDIALOG = no
; then
9125 result
=$wxUSE_LOGDIALOG
9128 { echo "$as_me:$LINENO: result: $result" >&5
9129 echo "${ECHO_T}$result" >&6; }
9133 defaultval
=$wxUSE_ALL_FEATURES
9134 if test -z "$defaultval"; then
9135 if test x
"$enablestring" = xdisable
; then
9142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9143 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9144 # Check whether --enable-mdi was given.
9145 if test "${enable_mdi+set}" = set; then
9146 enableval
=$enable_mdi;
9147 if test "$enableval" = yes; then
9148 wx_cv_use_mdi
='wxUSE_MDI=yes'
9150 wx_cv_use_mdi
='wxUSE_MDI=no'
9155 wx_cv_use_mdi
='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9160 eval "$wx_cv_use_mdi"
9162 if test x"$enablestring" = xdisable; then
9163 if test $wxUSE_MDI = no; then
9172 { echo "$as_me:$LINENO: result: $result" >&5
9173 echo "${ECHO_T}$result" >&6; }
9177 defaultval=$wxUSE_ALL_FEATURES
9178 if test -z "$defaultval"; then
9179 if test x"$enablestring" = xdisable; then
9186 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9187 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9188 # Check whether --enable-mdidoc was given.
9189 if test "${enable_mdidoc+set}" = set; then
9190 enableval=$enable_mdidoc;
9191 if test "$enableval" = yes; then
9192 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
9194 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
9199 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9204 eval "$wx_cv_use_mdidoc"
9206 if test x"$enablestring" = xdisable; then
9207 if test $wxUSE_MDI_ARCHITECTURE = no; then
9213 result=$wxUSE_MDI_ARCHITECTURE
9216 { echo "$as_me:$LINENO: result
: $result" >&5
9217 echo "${ECHO_T}$result" >&6; }
9221 defaultval=$wxUSE_ALL_FEATURES
9222 if test -z "$defaultval"; then
9223 if test x"$enablestring" = xdisable; then
9230 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mediactrl" >&5
9231 echo $ECHO_N "checking
for --${enablestring:-enable}-mediactrl...
$ECHO_C" >&6; }
9232 # Check whether --enable-mediactrl was given.
9233 if test "${enable_mediactrl+set}" = set; then
9234 enableval=$enable_mediactrl;
9235 if test "$enableval" = yes; then
9236 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9238 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9243 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9248 eval "$wx_cv_use_mediactrl"
9250 if test x
"$enablestring" = xdisable
; then
9251 if test $wxUSE_MEDIACTRL = no
; then
9257 result
=$wxUSE_MEDIACTRL
9260 { echo "$as_me:$LINENO: result: $result" >&5
9261 echo "${ECHO_T}$result" >&6; }
9265 defaultval
=$wxUSE_ALL_FEATURES
9266 if test -z "$defaultval"; then
9267 if test x
"$enablestring" = xdisable
; then
9274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9275 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9276 # Check whether --enable-gstreamer8 was given.
9277 if test "${enable_gstreamer8+set}" = set; then
9278 enableval
=$enable_gstreamer8;
9279 if test "$enableval" = yes; then
9280 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
9282 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
9287 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9292 eval "$wx_cv_use_gstreamer8"
9294 if test x"$enablestring" = xdisable; then
9295 if test $wxUSE_GSTREAMER8 = no; then
9301 result=$wxUSE_GSTREAMER8
9304 { echo "$as_me:$LINENO: result: $result" >&5
9305 echo "${ECHO_T}$result" >&6; }
9309 defaultval=$wxUSE_ALL_FEATURES
9310 if test -z "$defaultval"; then
9311 if test x"$enablestring" = xdisable; then
9318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9319 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9320 # Check whether --enable-webkit was given.
9321 if test "${enable_webkit+set}" = set; then
9322 enableval=$enable_webkit;
9323 if test "$enableval" = yes; then
9324 wx_cv_use_webkit='wxUSE_WEBKIT
=yes'
9326 wx_cv_use_webkit='wxUSE_WEBKIT
=no
'
9331 wx_cv_use_webkit='wxUSE_WEBKIT
=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9336 eval "$wx_cv_use_webkit"
9338 if test x"$enablestring" = xdisable; then
9339 if test $wxUSE_WEBKIT = no; then
9345 result=$wxUSE_WEBKIT
9348 { echo "$as_me:$LINENO: result
: $result" >&5
9349 echo "${ECHO_T}$result" >&6; }
9353 defaultval=$wxUSE_ALL_FEATURES
9354 if test -z "$defaultval"; then
9355 if test x"$enablestring" = xdisable; then
9362 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-richtext" >&5
9363 echo $ECHO_N "checking
for --${enablestring:-enable}-richtext...
$ECHO_C" >&6; }
9364 # Check whether --enable-richtext was given.
9365 if test "${enable_richtext+set}" = set; then
9366 enableval=$enable_richtext;
9367 if test "$enableval" = yes; then
9368 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9370 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9375 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9380 eval "$wx_cv_use_richtext"
9382 if test x
"$enablestring" = xdisable
; then
9383 if test $wxUSE_RICHTEXT = no
; then
9389 result
=$wxUSE_RICHTEXT
9392 { echo "$as_me:$LINENO: result: $result" >&5
9393 echo "${ECHO_T}$result" >&6; }
9397 defaultval
=$wxUSE_ALL_FEATURES
9398 if test -z "$defaultval"; then
9399 if test x
"$enablestring" = xdisable
; then
9406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9407 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9408 # Check whether --enable-postscript was given.
9409 if test "${enable_postscript+set}" = set; then
9410 enableval
=$enable_postscript;
9411 if test "$enableval" = yes; then
9412 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
9414 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
9419 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9424 eval "$wx_cv_use_postscript"
9426 if test x"$enablestring" = xdisable; then
9427 if test $wxUSE_POSTSCRIPT = no; then
9433 result=$wxUSE_POSTSCRIPT
9436 { echo "$as_me:$LINENO: result: $result" >&5
9437 echo "${ECHO_T}$result" >&6; }
9441 defaultval=$wxUSE_ALL_FEATURES
9442 if test -z "$defaultval"; then
9443 if test x"$enablestring" = xdisable; then
9450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9451 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9452 # Check whether --enable-printarch was given.
9453 if test "${enable_printarch+set}" = set; then
9454 enableval=$enable_printarch;
9455 if test "$enableval" = yes; then
9456 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
9458 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
9463 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9468 eval "$wx_cv_use_printarch"
9470 if test x"$enablestring" = xdisable; then
9471 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9477 result=$wxUSE_PRINTING_ARCHITECTURE
9480 { echo "$as_me:$LINENO: result
: $result" >&5
9481 echo "${ECHO_T}$result" >&6; }
9485 defaultval=$wxUSE_ALL_FEATURES
9486 if test -z "$defaultval"; then
9487 if test x"$enablestring" = xdisable; then
9494 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-svg" >&5
9495 echo $ECHO_N "checking
for --${enablestring:-enable}-svg...
$ECHO_C" >&6; }
9496 # Check whether --enable-svg was given.
9497 if test "${enable_svg+set}" = set; then
9498 enableval=$enable_svg;
9499 if test "$enableval" = yes; then
9500 wx_cv_use_svg='wxUSE_SVG=yes'
9502 wx_cv_use_svg='wxUSE_SVG=no'
9507 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9512 eval "$wx_cv_use_svg"
9514 if test x
"$enablestring" = xdisable
; then
9515 if test $wxUSE_SVG = no
; then
9524 { echo "$as_me:$LINENO: result: $result" >&5
9525 echo "${ECHO_T}$result" >&6; }
9528 if test "$wxUSE_MAC" != 1; then
9531 defaultval
=$wxUSE_ALL_FEATURES
9532 if test -z "$defaultval"; then
9533 if test x
"$enablestring" = xdisable
; then
9540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9541 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9542 # Check whether --enable-graphics_ctx was given.
9543 if test "${enable_graphics_ctx+set}" = set; then
9544 enableval
=$enable_graphics_ctx;
9545 if test "$enableval" = yes; then
9546 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
9548 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
9553 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9558 eval "$wx_cv_use_graphics_ctx"
9560 if test x"$enablestring" = xdisable; then
9561 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9567 result=$wxUSE_GRAPHICS_CONTEXT
9570 { echo "$as_me:$LINENO: result: $result" >&5
9571 echo "${ECHO_T}$result" >&6; }
9578 defaultval=$wxUSE_ALL_FEATURES
9579 if test -z "$defaultval"; then
9580 if test x"$enablestring" = xdisable; then
9587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9588 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9589 # Check whether --enable-clipboard was given.
9590 if test "${enable_clipboard+set}" = set; then
9591 enableval=$enable_clipboard;
9592 if test "$enableval" = yes; then
9593 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
9595 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
9600 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9605 eval "$wx_cv_use_clipboard"
9607 if test x"$enablestring" = xdisable; then
9608 if test $wxUSE_CLIPBOARD = no; then
9614 result=$wxUSE_CLIPBOARD
9617 { echo "$as_me:$LINENO: result
: $result" >&5
9618 echo "${ECHO_T}$result" >&6; }
9622 defaultval=$wxUSE_ALL_FEATURES
9623 if test -z "$defaultval"; then
9624 if test x"$enablestring" = xdisable; then
9631 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dnd" >&5
9632 echo $ECHO_N "checking
for --${enablestring:-enable}-dnd...
$ECHO_C" >&6; }
9633 # Check whether --enable-dnd was given.
9634 if test "${enable_dnd+set}" = set; then
9635 enableval=$enable_dnd;
9636 if test "$enableval" = yes; then
9637 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9639 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9644 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9649 eval "$wx_cv_use_dnd"
9651 if test x
"$enablestring" = xdisable
; then
9652 if test $wxUSE_DRAG_AND_DROP = no
; then
9658 result
=$wxUSE_DRAG_AND_DROP
9661 { echo "$as_me:$LINENO: result: $result" >&5
9662 echo "${ECHO_T}$result" >&6; }
9666 defaultval
=$wxUSE_ALL_FEATURES
9667 if test -z "$defaultval"; then
9668 if test x
"$enablestring" = xdisable
; then
9675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9676 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9677 # Check whether --enable-metafile was given.
9678 if test "${enable_metafile+set}" = set; then
9679 enableval
=$enable_metafile;
9680 if test "$enableval" = yes; then
9681 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
9683 wx_cv_use_metafile
='wxUSE_METAFILE=no'
9688 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9693 eval "$wx_cv_use_metafile"
9695 if test x"$enablestring" = xdisable; then
9696 if test $wxUSE_METAFILE = no; then
9702 result=$wxUSE_METAFILE
9705 { echo "$as_me:$LINENO: result: $result" >&5
9706 echo "${ECHO_T}$result" >&6; }
9710 DEFAULT_wxUSE_CONTROLS=none
9712 enablestring=disable
9714 if test -z "$defaultval"; then
9715 if test x"$enablestring" = xdisable; then
9722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9723 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9724 # Check whether --enable-controls was given.
9725 if test "${enable_controls+set}" = set; then
9726 enableval=$enable_controls;
9727 if test "$enableval" = yes; then
9728 wx_cv_use_controls='wxUSE_CONTROLS
=yes'
9730 wx_cv_use_controls='wxUSE_CONTROLS
=no
'
9735 wx_cv_use_controls='wxUSE_CONTROLS
=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9740 eval "$wx_cv_use_controls"
9742 if test x"$enablestring" = xdisable; then
9743 if test $wxUSE_CONTROLS = no; then
9749 result=$wxUSE_CONTROLS
9752 { echo "$as_me:$LINENO: result
: $result" >&5
9753 echo "${ECHO_T}$result" >&6; }
9756 if test "$wxUSE_CONTROLS" = "no
"; then
9757 DEFAULT_wxUSE_ACCEL=no
9758 DEFAULT_wxUSE_ANIMATIONCTRL=no
9759 DEFAULT_wxUSE_BMPBUTTON=no
9760 DEFAULT_wxUSE_BUTTON=no
9761 DEFAULT_wxUSE_CALCTRL=no
9762 DEFAULT_wxUSE_CARET=no
9763 DEFAULT_wxUSE_CHECKBOX=no
9764 DEFAULT_wxUSE_CHECKLISTBOX=no
9765 DEFAULT_wxUSE_CHOICE=no
9766 DEFAULT_wxUSE_CHOICEBOOK=no
9767 DEFAULT_wxUSE_COLLPANE=no
9768 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9769 DEFAULT_wxUSE_COMBOBOX=no
9770 DEFAULT_wxUSE_COMBOBOX=no
9771 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9772 DEFAULT_wxUSE_DATAVIEWCTRL=no
9773 DEFAULT_wxUSE_DATEPICKCTRL=no
9774 DEFAULT_wxUSE_DETECT_SM=no
9775 DEFAULT_wxUSE_DIRPICKERCTRL=no
9776 DEFAULT_wxUSE_DISPLAY=no
9777 DEFAULT_wxUSE_FILECTRL=no
9778 DEFAULT_wxUSE_FILEPICKERCTRL=no
9779 DEFAULT_wxUSE_FONTPICKERCTRL=no
9780 DEFAULT_wxUSE_GAUGE=no
9781 DEFAULT_wxUSE_GRID=no
9782 DEFAULT_wxUSE_HEADERCTRL=no
9783 DEFAULT_wxUSE_HYPERLINKCTRL=no
9784 DEFAULT_wxUSE_IMAGLIST=no
9785 DEFAULT_wxUSE_LISTBOOK=no
9786 DEFAULT_wxUSE_LISTBOX=no
9787 DEFAULT_wxUSE_LISTCTRL=no
9788 DEFAULT_wxUSE_MARKUP=no
9789 DEFAULT_wxUSE_NOTEBOOK=no
9790 DEFAULT_wxUSE_POPUPWIN=no
9791 DEFAULT_wxUSE_RADIOBOX=no
9792 DEFAULT_wxUSE_RADIOBTN=no
9793 DEFAULT_wxUSE_RICHMSGDLG=no
9794 DEFAULT_wxUSE_REARRANGECTRL=no
9795 DEFAULT_wxUSE_SASH=no
9796 DEFAULT_wxUSE_SCROLLBAR=no
9797 DEFAULT_wxUSE_SEARCHCTRL=no
9798 DEFAULT_wxUSE_SLIDER=no
9799 DEFAULT_wxUSE_SPINBTN=no
9800 DEFAULT_wxUSE_SPINCTRL=no
9801 DEFAULT_wxUSE_SPLITTER=no
9802 DEFAULT_wxUSE_STATBMP=no
9803 DEFAULT_wxUSE_STATBOX=no
9804 DEFAULT_wxUSE_STATLINE=no
9805 DEFAULT_wxUSE_STATUSBAR=no
9806 DEFAULT_wxUSE_TIPWINDOW=no
9807 DEFAULT_wxUSE_TOGGLEBTN=no
9808 DEFAULT_wxUSE_TOOLBAR=no
9809 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9810 DEFAULT_wxUSE_TOOLBOOK=no
9811 DEFAULT_wxUSE_TOOLTIPS=no
9812 DEFAULT_wxUSE_TREEBOOK=no
9813 DEFAULT_wxUSE_TREECTRL=no
9818 defaultval=$wxUSE_ALL_FEATURES
9819 if test -z "$defaultval"; then
9820 if test x"$enablestring" = xdisable; then
9827 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-markup" >&5
9828 echo $ECHO_N "checking
for --${enablestring:-enable}-markup...
$ECHO_C" >&6; }
9829 # Check whether --enable-markup was given.
9830 if test "${enable_markup+set}" = set; then
9831 enableval=$enable_markup;
9832 if test "$enableval" = yes; then
9833 wx_cv_use_markup='wxUSE_MARKUP=yes'
9835 wx_cv_use_markup='wxUSE_MARKUP=no'
9840 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
9845 eval "$wx_cv_use_markup"
9847 if test x
"$enablestring" = xdisable
; then
9848 if test $wxUSE_MARKUP = no
; then
9854 result
=$wxUSE_MARKUP
9857 { echo "$as_me:$LINENO: result: $result" >&5
9858 echo "${ECHO_T}$result" >&6; }
9863 defaultval
=$wxUSE_ALL_FEATURES
9864 if test -z "$defaultval"; then
9865 if test x
"$enablestring" = xdisable
; then
9872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9873 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9874 # Check whether --enable-accel was given.
9875 if test "${enable_accel+set}" = set; then
9876 enableval
=$enable_accel;
9877 if test "$enableval" = yes; then
9878 wx_cv_use_accel
='wxUSE_ACCEL=yes'
9880 wx_cv_use_accel
='wxUSE_ACCEL=no'
9885 wx_cv_use_accel
='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9890 eval "$wx_cv_use_accel"
9892 if test x"$enablestring" = xdisable; then
9893 if test $wxUSE_ACCEL = no; then
9902 { echo "$as_me:$LINENO: result: $result" >&5
9903 echo "${ECHO_T}$result" >&6; }
9907 defaultval=$wxUSE_ALL_FEATURES
9908 if test -z "$defaultval"; then
9909 if test x"$enablestring" = xdisable; then
9916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9917 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9918 # Check whether --enable-animatectrl was given.
9919 if test "${enable_animatectrl+set}" = set; then
9920 enableval=$enable_animatectrl;
9921 if test "$enableval" = yes; then
9922 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=yes'
9924 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=no
'
9929 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9934 eval "$wx_cv_use_animatectrl"
9936 if test x"$enablestring" = xdisable; then
9937 if test $wxUSE_ANIMATIONCTRL = no; then
9943 result=$wxUSE_ANIMATIONCTRL
9946 { echo "$as_me:$LINENO: result
: $result" >&5
9947 echo "${ECHO_T}$result" >&6; }
9951 defaultval=$wxUSE_ALL_FEATURES
9952 if test -z "$defaultval"; then
9953 if test x"$enablestring" = xdisable; then
9960 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-artstd" >&5
9961 echo $ECHO_N "checking
for --${enablestring:-enable}-artstd...
$ECHO_C" >&6; }
9962 # Check whether --enable-artstd was given.
9963 if test "${enable_artstd+set}" = set; then
9964 enableval=$enable_artstd;
9965 if test "$enableval" = yes; then
9966 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
9968 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
9973 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
9978 eval "$wx_cv_use_artstd"
9980 if test x
"$enablestring" = xdisable
; then
9981 if test $wxUSE_ARTPROVIDER_STD = no
; then
9987 result
=$wxUSE_ARTPROVIDER_STD
9990 { echo "$as_me:$LINENO: result: $result" >&5
9991 echo "${ECHO_T}$result" >&6; }
9995 defaultval
=$wxUSE_ALL_FEATURES
9996 if test -z "$defaultval"; then
9997 if test x
"$enablestring" = xdisable
; then
10004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arttango" >&5
10005 echo $ECHO_N "checking for --${enablestring:-enable}-arttango... $ECHO_C" >&6; }
10006 # Check whether --enable-arttango was given.
10007 if test "${enable_arttango+set}" = set; then
10008 enableval
=$enable_arttango;
10009 if test "$enableval" = yes; then
10010 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=yes'
10012 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=no'
10017 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
10022 eval "$wx_cv_use_arttango"
10024 if test x"$enablestring" = xdisable; then
10025 if test $wxUSE_ARTPROVIDER_TANGO = no; then
10031 result=$wxUSE_ARTPROVIDER_TANGO
10034 { echo "$as_me:$LINENO: result: $result" >&5
10035 echo "${ECHO_T}$result" >&6; }
10039 defaultval=$wxUSE_ALL_FEATURES
10040 if test -z "$defaultval"; then
10041 if test x"$enablestring" = xdisable; then
10048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10049 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10050 # Check whether --enable-bmpbutton was given.
10051 if test "${enable_bmpbutton+set}" = set; then
10052 enableval=$enable_bmpbutton;
10053 if test "$enableval" = yes; then
10054 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
10056 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
10061 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10066 eval "$wx_cv_use_bmpbutton"
10068 if test x"$enablestring" = xdisable; then
10069 if test $wxUSE_BMPBUTTON = no; then
10075 result=$wxUSE_BMPBUTTON
10078 { echo "$as_me:$LINENO: result
: $result" >&5
10079 echo "${ECHO_T}$result" >&6; }
10083 defaultval=$wxUSE_ALL_FEATURES
10084 if test -z "$defaultval"; then
10085 if test x"$enablestring" = xdisable; then
10092 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-bmpcombobox" >&5
10093 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpcombobox...
$ECHO_C" >&6; }
10094 # Check whether --enable-bmpcombobox was given.
10095 if test "${enable_bmpcombobox+set}" = set; then
10096 enableval=$enable_bmpcombobox;
10097 if test "$enableval" = yes; then
10098 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10100 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10105 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10110 eval "$wx_cv_use_bmpcombobox"
10112 if test x
"$enablestring" = xdisable
; then
10113 if test $wxUSE_BITMAPCOMBOBOX = no
; then
10119 result
=$wxUSE_BITMAPCOMBOBOX
10122 { echo "$as_me:$LINENO: result: $result" >&5
10123 echo "${ECHO_T}$result" >&6; }
10127 defaultval
=$wxUSE_ALL_FEATURES
10128 if test -z "$defaultval"; then
10129 if test x
"$enablestring" = xdisable
; then
10136 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10137 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10138 # Check whether --enable-button was given.
10139 if test "${enable_button+set}" = set; then
10140 enableval
=$enable_button;
10141 if test "$enableval" = yes; then
10142 wx_cv_use_button
='wxUSE_BUTTON=yes'
10144 wx_cv_use_button
='wxUSE_BUTTON=no'
10149 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10154 eval "$wx_cv_use_button"
10156 if test x"$enablestring" = xdisable; then
10157 if test $wxUSE_BUTTON = no; then
10163 result=$wxUSE_BUTTON
10166 { echo "$as_me:$LINENO: result: $result" >&5
10167 echo "${ECHO_T}$result" >&6; }
10171 defaultval=$wxUSE_ALL_FEATURES
10172 if test -z "$defaultval"; then
10173 if test x"$enablestring" = xdisable; then
10180 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10181 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10182 # Check whether --enable-calendar was given.
10183 if test "${enable_calendar+set}" = set; then
10184 enableval=$enable_calendar;
10185 if test "$enableval" = yes; then
10186 wx_cv_use_calendar='wxUSE_CALCTRL
=yes'
10188 wx_cv_use_calendar='wxUSE_CALCTRL
=no
'
10193 wx_cv_use_calendar='wxUSE_CALCTRL
=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10198 eval "$wx_cv_use_calendar"
10200 if test x"$enablestring" = xdisable; then
10201 if test $wxUSE_CALCTRL = no; then
10207 result=$wxUSE_CALCTRL
10210 { echo "$as_me:$LINENO: result
: $result" >&5
10211 echo "${ECHO_T}$result" >&6; }
10215 defaultval=$wxUSE_ALL_FEATURES
10216 if test -z "$defaultval"; then
10217 if test x"$enablestring" = xdisable; then
10224 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-caret" >&5
10225 echo $ECHO_N "checking
for --${enablestring:-enable}-caret...
$ECHO_C" >&6; }
10226 # Check whether --enable-caret was given.
10227 if test "${enable_caret+set}" = set; then
10228 enableval=$enable_caret;
10229 if test "$enableval" = yes; then
10230 wx_cv_use_caret='wxUSE_CARET=yes'
10232 wx_cv_use_caret='wxUSE_CARET=no'
10237 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10242 eval "$wx_cv_use_caret"
10244 if test x
"$enablestring" = xdisable
; then
10245 if test $wxUSE_CARET = no
; then
10251 result
=$wxUSE_CARET
10254 { echo "$as_me:$LINENO: result: $result" >&5
10255 echo "${ECHO_T}$result" >&6; }
10259 defaultval
=$wxUSE_ALL_FEATURES
10260 if test -z "$defaultval"; then
10261 if test x
"$enablestring" = xdisable
; then
10268 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10269 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10270 # Check whether --enable-checkbox was given.
10271 if test "${enable_checkbox+set}" = set; then
10272 enableval
=$enable_checkbox;
10273 if test "$enableval" = yes; then
10274 wx_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
10276 wx_cv_use_checkbox
='wxUSE_CHECKBOX=no'
10281 wx_cv_use_checkbox
='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10286 eval "$wx_cv_use_checkbox"
10288 if test x"$enablestring" = xdisable; then
10289 if test $wxUSE_CHECKBOX = no; then
10295 result=$wxUSE_CHECKBOX
10298 { echo "$as_me:$LINENO: result: $result" >&5
10299 echo "${ECHO_T}$result" >&6; }
10303 defaultval=$wxUSE_ALL_FEATURES
10304 if test -z "$defaultval"; then
10305 if test x"$enablestring" = xdisable; then
10312 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10313 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10314 # Check whether --enable-checklst was given.
10315 if test "${enable_checklst+set}" = set; then
10316 enableval=$enable_checklst;
10317 if test "$enableval" = yes; then
10318 wx_cv_use_checklst='wxUSE_CHECKLST
=yes'
10320 wx_cv_use_checklst='wxUSE_CHECKLST
=no
'
10325 wx_cv_use_checklst='wxUSE_CHECKLST
=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10330 eval "$wx_cv_use_checklst"
10332 if test x"$enablestring" = xdisable; then
10333 if test $wxUSE_CHECKLST = no; then
10339 result=$wxUSE_CHECKLST
10342 { echo "$as_me:$LINENO: result
: $result" >&5
10343 echo "${ECHO_T}$result" >&6; }
10347 defaultval=$wxUSE_ALL_FEATURES
10348 if test -z "$defaultval"; then
10349 if test x"$enablestring" = xdisable; then
10356 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choice" >&5
10357 echo $ECHO_N "checking
for --${enablestring:-enable}-choice...
$ECHO_C" >&6; }
10358 # Check whether --enable-choice was given.
10359 if test "${enable_choice+set}" = set; then
10360 enableval=$enable_choice;
10361 if test "$enableval" = yes; then
10362 wx_cv_use_choice='wxUSE_CHOICE=yes'
10364 wx_cv_use_choice='wxUSE_CHOICE=no'
10369 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10374 eval "$wx_cv_use_choice"
10376 if test x
"$enablestring" = xdisable
; then
10377 if test $wxUSE_CHOICE = no
; then
10383 result
=$wxUSE_CHOICE
10386 { echo "$as_me:$LINENO: result: $result" >&5
10387 echo "${ECHO_T}$result" >&6; }
10391 defaultval
=$wxUSE_ALL_FEATURES
10392 if test -z "$defaultval"; then
10393 if test x
"$enablestring" = xdisable
; then
10400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10401 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10402 # Check whether --enable-choicebook was given.
10403 if test "${enable_choicebook+set}" = set; then
10404 enableval
=$enable_choicebook;
10405 if test "$enableval" = yes; then
10406 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
10408 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
10413 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10418 eval "$wx_cv_use_choicebook"
10420 if test x"$enablestring" = xdisable; then
10421 if test $wxUSE_CHOICEBOOK = no; then
10427 result=$wxUSE_CHOICEBOOK
10430 { echo "$as_me:$LINENO: result: $result" >&5
10431 echo "${ECHO_T}$result" >&6; }
10435 defaultval=$wxUSE_ALL_FEATURES
10436 if test -z "$defaultval"; then
10437 if test x"$enablestring" = xdisable; then
10444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10445 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10446 # Check whether --enable-collpane was given.
10447 if test "${enable_collpane+set}" = set; then
10448 enableval=$enable_collpane;
10449 if test "$enableval" = yes; then
10450 wx_cv_use_collpane='wxUSE_COLLPANE
=yes'
10452 wx_cv_use_collpane='wxUSE_COLLPANE
=no
'
10457 wx_cv_use_collpane='wxUSE_COLLPANE
=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10462 eval "$wx_cv_use_collpane"
10464 if test x"$enablestring" = xdisable; then
10465 if test $wxUSE_COLLPANE = no; then
10471 result=$wxUSE_COLLPANE
10474 { echo "$as_me:$LINENO: result
: $result" >&5
10475 echo "${ECHO_T}$result" >&6; }
10479 defaultval=$wxUSE_ALL_FEATURES
10480 if test -z "$defaultval"; then
10481 if test x"$enablestring" = xdisable; then
10488 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-colourpicker" >&5
10489 echo $ECHO_N "checking
for --${enablestring:-enable}-colourpicker...
$ECHO_C" >&6; }
10490 # Check whether --enable-colourpicker was given.
10491 if test "${enable_colourpicker+set}" = set; then
10492 enableval=$enable_colourpicker;
10493 if test "$enableval" = yes; then
10494 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10496 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10501 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10506 eval "$wx_cv_use_colourpicker"
10508 if test x
"$enablestring" = xdisable
; then
10509 if test $wxUSE_COLOURPICKERCTRL = no
; then
10515 result
=$wxUSE_COLOURPICKERCTRL
10518 { echo "$as_me:$LINENO: result: $result" >&5
10519 echo "${ECHO_T}$result" >&6; }
10523 defaultval
=$wxUSE_ALL_FEATURES
10524 if test -z "$defaultval"; then
10525 if test x
"$enablestring" = xdisable
; then
10532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10533 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10534 # Check whether --enable-combobox was given.
10535 if test "${enable_combobox+set}" = set; then
10536 enableval
=$enable_combobox;
10537 if test "$enableval" = yes; then
10538 wx_cv_use_combobox
='wxUSE_COMBOBOX=yes'
10540 wx_cv_use_combobox
='wxUSE_COMBOBOX=no'
10545 wx_cv_use_combobox
='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10550 eval "$wx_cv_use_combobox"
10552 if test x"$enablestring" = xdisable; then
10553 if test $wxUSE_COMBOBOX = no; then
10559 result=$wxUSE_COMBOBOX
10562 { echo "$as_me:$LINENO: result: $result" >&5
10563 echo "${ECHO_T}$result" >&6; }
10567 defaultval=$wxUSE_ALL_FEATURES
10568 if test -z "$defaultval"; then
10569 if test x"$enablestring" = xdisable; then
10576 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10577 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10578 # Check whether --enable-comboctrl was given.
10579 if test "${enable_comboctrl+set}" = set; then
10580 enableval=$enable_comboctrl;
10581 if test "$enableval" = yes; then
10582 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=yes'
10584 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=no
'
10589 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10594 eval "$wx_cv_use_comboctrl"
10596 if test x"$enablestring" = xdisable; then
10597 if test $wxUSE_COMBOCTRL = no; then
10603 result=$wxUSE_COMBOCTRL
10606 { echo "$as_me:$LINENO: result
: $result" >&5
10607 echo "${ECHO_T}$result" >&6; }
10611 defaultval=$wxUSE_ALL_FEATURES
10612 if test -z "$defaultval"; then
10613 if test x"$enablestring" = xdisable; then
10620 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-commandlinkbutton" >&5
10621 echo $ECHO_N "checking
for --${enablestring:-enable}-commandlinkbutton...
$ECHO_C" >&6; }
10622 # Check whether --enable-commandlinkbutton was given.
10623 if test "${enable_commandlinkbutton+set}" = set; then
10624 enableval=$enable_commandlinkbutton;
10625 if test "$enableval" = yes; then
10626 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10628 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10633 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10638 eval "$wx_cv_use_commandlinkbutton"
10640 if test x
"$enablestring" = xdisable
; then
10641 if test $wxUSE_COMMANDLINKBUTTON = no
; then
10647 result
=$wxUSE_COMMANDLINKBUTTON
10650 { echo "$as_me:$LINENO: result: $result" >&5
10651 echo "${ECHO_T}$result" >&6; }
10655 defaultval
=$wxUSE_ALL_FEATURES
10656 if test -z "$defaultval"; then
10657 if test x
"$enablestring" = xdisable
; then
10664 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10665 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10666 # Check whether --enable-dataviewctrl was given.
10667 if test "${enable_dataviewctrl+set}" = set; then
10668 enableval
=$enable_dataviewctrl;
10669 if test "$enableval" = yes; then
10670 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
10672 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
10677 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10682 eval "$wx_cv_use_dataviewctrl"
10684 if test x"$enablestring" = xdisable; then
10685 if test $wxUSE_DATAVIEWCTRL = no; then
10691 result=$wxUSE_DATAVIEWCTRL
10694 { echo "$as_me:$LINENO: result: $result" >&5
10695 echo "${ECHO_T}$result" >&6; }
10699 defaultval=$wxUSE_ALL_FEATURES
10700 if test -z "$defaultval"; then
10701 if test x"$enablestring" = xdisable; then
10708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10709 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10710 # Check whether --enable-datepick was given.
10711 if test "${enable_datepick+set}" = set; then
10712 enableval=$enable_datepick;
10713 if test "$enableval" = yes; then
10714 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
10716 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
10721 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10726 eval "$wx_cv_use_datepick"
10728 if test x"$enablestring" = xdisable; then
10729 if test $wxUSE_DATEPICKCTRL = no; then
10735 result=$wxUSE_DATEPICKCTRL
10738 { echo "$as_me:$LINENO: result
: $result" >&5
10739 echo "${ECHO_T}$result" >&6; }
10743 defaultval=$wxUSE_ALL_FEATURES
10744 if test -z "$defaultval"; then
10745 if test x"$enablestring" = xdisable; then
10752 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-detect_sm" >&5
10753 echo $ECHO_N "checking
for --${enablestring:-enable}-detect_sm...
$ECHO_C" >&6; }
10754 # Check whether --enable-detect_sm was given.
10755 if test "${enable_detect_sm+set}" = set; then
10756 enableval=$enable_detect_sm;
10757 if test "$enableval" = yes; then
10758 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10760 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10765 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10770 eval "$wx_cv_use_detect_sm"
10772 if test x
"$enablestring" = xdisable
; then
10773 if test $wxUSE_DETECT_SM = no
; then
10779 result
=$wxUSE_DETECT_SM
10782 { echo "$as_me:$LINENO: result: $result" >&5
10783 echo "${ECHO_T}$result" >&6; }
10787 defaultval
=$wxUSE_ALL_FEATURES
10788 if test -z "$defaultval"; then
10789 if test x
"$enablestring" = xdisable
; then
10796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10797 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10798 # Check whether --enable-dirpicker was given.
10799 if test "${enable_dirpicker+set}" = set; then
10800 enableval
=$enable_dirpicker;
10801 if test "$enableval" = yes; then
10802 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
10804 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
10809 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10814 eval "$wx_cv_use_dirpicker"
10816 if test x"$enablestring" = xdisable; then
10817 if test $wxUSE_DIRPICKERCTRL = no; then
10823 result=$wxUSE_DIRPICKERCTRL
10826 { echo "$as_me:$LINENO: result: $result" >&5
10827 echo "${ECHO_T}$result" >&6; }
10831 defaultval=$wxUSE_ALL_FEATURES
10832 if test -z "$defaultval"; then
10833 if test x"$enablestring" = xdisable; then
10840 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10841 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10842 # Check whether --enable-display was given.
10843 if test "${enable_display+set}" = set; then
10844 enableval=$enable_display;
10845 if test "$enableval" = yes; then
10846 wx_cv_use_display='wxUSE_DISPLAY
=yes'
10848 wx_cv_use_display='wxUSE_DISPLAY
=no
'
10853 wx_cv_use_display='wxUSE_DISPLAY
=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10858 eval "$wx_cv_use_display"
10860 if test x"$enablestring" = xdisable; then
10861 if test $wxUSE_DISPLAY = no; then
10867 result=$wxUSE_DISPLAY
10870 { echo "$as_me:$LINENO: result
: $result" >&5
10871 echo "${ECHO_T}$result" >&6; }
10875 defaultval=$wxUSE_ALL_FEATURES
10876 if test -z "$defaultval"; then
10877 if test x"$enablestring" = xdisable; then
10884 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-editablebox" >&5
10885 echo $ECHO_N "checking
for --${enablestring:-enable}-editablebox...
$ECHO_C" >&6; }
10886 # Check whether --enable-editablebox was given.
10887 if test "${enable_editablebox+set}" = set; then
10888 enableval=$enable_editablebox;
10889 if test "$enableval" = yes; then
10890 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10892 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10897 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10902 eval "$wx_cv_use_editablebox"
10904 if test x
"$enablestring" = xdisable
; then
10905 if test $wxUSE_EDITABLELISTBOX = no
; then
10911 result
=$wxUSE_EDITABLELISTBOX
10914 { echo "$as_me:$LINENO: result: $result" >&5
10915 echo "${ECHO_T}$result" >&6; }
10919 defaultval
=$wxUSE_ALL_FEATURES
10920 if test -z "$defaultval"; then
10921 if test x
"$enablestring" = xdisable
; then
10928 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10929 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10930 # Check whether --enable-filectrl was given.
10931 if test "${enable_filectrl+set}" = set; then
10932 enableval
=$enable_filectrl;
10933 if test "$enableval" = yes; then
10934 wx_cv_use_filectrl
='wxUSE_FILECTRL=yes'
10936 wx_cv_use_filectrl
='wxUSE_FILECTRL=no'
10941 wx_cv_use_filectrl
='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10946 eval "$wx_cv_use_filectrl"
10948 if test x"$enablestring" = xdisable; then
10949 if test $wxUSE_FILECTRL = no; then
10955 result=$wxUSE_FILECTRL
10958 { echo "$as_me:$LINENO: result: $result" >&5
10959 echo "${ECHO_T}$result" >&6; }
10963 defaultval=$wxUSE_ALL_FEATURES
10964 if test -z "$defaultval"; then
10965 if test x"$enablestring" = xdisable; then
10972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10973 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10974 # Check whether --enable-filepicker was given.
10975 if test "${enable_filepicker+set}" = set; then
10976 enableval=$enable_filepicker;
10977 if test "$enableval" = yes; then
10978 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=yes'
10980 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=no
'
10985 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10990 eval "$wx_cv_use_filepicker"
10992 if test x"$enablestring" = xdisable; then
10993 if test $wxUSE_FILEPICKERCTRL = no; then
10999 result=$wxUSE_FILEPICKERCTRL
11002 { echo "$as_me:$LINENO: result
: $result" >&5
11003 echo "${ECHO_T}$result" >&6; }
11007 defaultval=$wxUSE_ALL_FEATURES
11008 if test -z "$defaultval"; then
11009 if test x"$enablestring" = xdisable; then
11016 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontpicker" >&5
11017 echo $ECHO_N "checking
for --${enablestring:-enable}-fontpicker...
$ECHO_C" >&6; }
11018 # Check whether --enable-fontpicker was given.
11019 if test "${enable_fontpicker+set}" = set; then
11020 enableval=$enable_fontpicker;
11021 if test "$enableval" = yes; then
11022 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11024 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11029 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11034 eval "$wx_cv_use_fontpicker"
11036 if test x
"$enablestring" = xdisable
; then
11037 if test $wxUSE_FONTPICKERCTRL = no
; then
11043 result
=$wxUSE_FONTPICKERCTRL
11046 { echo "$as_me:$LINENO: result: $result" >&5
11047 echo "${ECHO_T}$result" >&6; }
11051 defaultval
=$wxUSE_ALL_FEATURES
11052 if test -z "$defaultval"; then
11053 if test x
"$enablestring" = xdisable
; then
11060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11061 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11062 # Check whether --enable-gauge was given.
11063 if test "${enable_gauge+set}" = set; then
11064 enableval
=$enable_gauge;
11065 if test "$enableval" = yes; then
11066 wx_cv_use_gauge
='wxUSE_GAUGE=yes'
11068 wx_cv_use_gauge
='wxUSE_GAUGE=no'
11073 wx_cv_use_gauge
='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11078 eval "$wx_cv_use_gauge"
11080 if test x"$enablestring" = xdisable; then
11081 if test $wxUSE_GAUGE = no; then
11087 result=$wxUSE_GAUGE
11090 { echo "$as_me:$LINENO: result: $result" >&5
11091 echo "${ECHO_T}$result" >&6; }
11095 defaultval=$wxUSE_ALL_FEATURES
11096 if test -z "$defaultval"; then
11097 if test x"$enablestring" = xdisable; then
11104 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11105 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11106 # Check whether --enable-grid was given.
11107 if test "${enable_grid+set}" = set; then
11108 enableval=$enable_grid;
11109 if test "$enableval" = yes; then
11110 wx_cv_use_grid='wxUSE_GRID
=yes'
11112 wx_cv_use_grid='wxUSE_GRID
=no
'
11117 wx_cv_use_grid='wxUSE_GRID
=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11122 eval "$wx_cv_use_grid"
11124 if test x"$enablestring" = xdisable; then
11125 if test $wxUSE_GRID = no; then
11134 { echo "$as_me:$LINENO: result
: $result" >&5
11135 echo "${ECHO_T}$result" >&6; }
11139 defaultval=$wxUSE_ALL_FEATURES
11140 if test -z "$defaultval"; then
11141 if test x"$enablestring" = xdisable; then
11148 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-headerctrl" >&5
11149 echo $ECHO_N "checking
for --${enablestring:-enable}-headerctrl...
$ECHO_C" >&6; }
11150 # Check whether --enable-headerctrl was given.
11151 if test "${enable_headerctrl+set}" = set; then
11152 enableval=$enable_headerctrl;
11153 if test "$enableval" = yes; then
11154 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11156 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11161 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11166 eval "$wx_cv_use_headerctrl"
11168 if test x
"$enablestring" = xdisable
; then
11169 if test $wxUSE_HEADERCTRL = no
; then
11175 result
=$wxUSE_HEADERCTRL
11178 { echo "$as_me:$LINENO: result: $result" >&5
11179 echo "${ECHO_T}$result" >&6; }
11183 defaultval
=$wxUSE_ALL_FEATURES
11184 if test -z "$defaultval"; then
11185 if test x
"$enablestring" = xdisable
; then
11192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11193 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11194 # Check whether --enable-hyperlink was given.
11195 if test "${enable_hyperlink+set}" = set; then
11196 enableval
=$enable_hyperlink;
11197 if test "$enableval" = yes; then
11198 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
11200 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
11205 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11210 eval "$wx_cv_use_hyperlink"
11212 if test x"$enablestring" = xdisable; then
11213 if test $wxUSE_HYPERLINKCTRL = no; then
11219 result=$wxUSE_HYPERLINKCTRL
11222 { echo "$as_me:$LINENO: result: $result" >&5
11223 echo "${ECHO_T}$result" >&6; }
11227 defaultval=$wxUSE_ALL_FEATURES
11228 if test -z "$defaultval"; then
11229 if test x"$enablestring" = xdisable; then
11236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11237 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11238 # Check whether --enable-imaglist was given.
11239 if test "${enable_imaglist+set}" = set; then
11240 enableval=$enable_imaglist;
11241 if test "$enableval" = yes; then
11242 wx_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
11244 wx_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
11249 wx_cv_use_imaglist='wxUSE_IMAGLIST
=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11254 eval "$wx_cv_use_imaglist"
11256 if test x"$enablestring" = xdisable; then
11257 if test $wxUSE_IMAGLIST = no; then
11263 result=$wxUSE_IMAGLIST
11266 { echo "$as_me:$LINENO: result
: $result" >&5
11267 echo "${ECHO_T}$result" >&6; }
11271 defaultval=$wxUSE_ALL_FEATURES
11272 if test -z "$defaultval"; then
11273 if test x"$enablestring" = xdisable; then
11280 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-infobar" >&5
11281 echo $ECHO_N "checking
for --${enablestring:-enable}-infobar...
$ECHO_C" >&6; }
11282 # Check whether --enable-infobar was given.
11283 if test "${enable_infobar+set}" = set; then
11284 enableval=$enable_infobar;
11285 if test "$enableval" = yes; then
11286 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11288 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11293 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11298 eval "$wx_cv_use_infobar"
11300 if test x
"$enablestring" = xdisable
; then
11301 if test $wxUSE_INFOBAR = no
; then
11307 result
=$wxUSE_INFOBAR
11310 { echo "$as_me:$LINENO: result: $result" >&5
11311 echo "${ECHO_T}$result" >&6; }
11315 defaultval
=$wxUSE_ALL_FEATURES
11316 if test -z "$defaultval"; then
11317 if test x
"$enablestring" = xdisable
; then
11324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11325 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11326 # Check whether --enable-listbook was given.
11327 if test "${enable_listbook+set}" = set; then
11328 enableval
=$enable_listbook;
11329 if test "$enableval" = yes; then
11330 wx_cv_use_listbook
='wxUSE_LISTBOOK=yes'
11332 wx_cv_use_listbook
='wxUSE_LISTBOOK=no'
11337 wx_cv_use_listbook
='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11342 eval "$wx_cv_use_listbook"
11344 if test x"$enablestring" = xdisable; then
11345 if test $wxUSE_LISTBOOK = no; then
11351 result=$wxUSE_LISTBOOK
11354 { echo "$as_me:$LINENO: result: $result" >&5
11355 echo "${ECHO_T}$result" >&6; }
11359 defaultval=$wxUSE_ALL_FEATURES
11360 if test -z "$defaultval"; then
11361 if test x"$enablestring" = xdisable; then
11368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11369 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11370 # Check whether --enable-listbox was given.
11371 if test "${enable_listbox+set}" = set; then
11372 enableval=$enable_listbox;
11373 if test "$enableval" = yes; then
11374 wx_cv_use_listbox='wxUSE_LISTBOX
=yes'
11376 wx_cv_use_listbox='wxUSE_LISTBOX
=no
'
11381 wx_cv_use_listbox='wxUSE_LISTBOX
=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11386 eval "$wx_cv_use_listbox"
11388 if test x"$enablestring" = xdisable; then
11389 if test $wxUSE_LISTBOX = no; then
11395 result=$wxUSE_LISTBOX
11398 { echo "$as_me:$LINENO: result
: $result" >&5
11399 echo "${ECHO_T}$result" >&6; }
11403 defaultval=$wxUSE_ALL_FEATURES
11404 if test -z "$defaultval"; then
11405 if test x"$enablestring" = xdisable; then
11412 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listctrl" >&5
11413 echo $ECHO_N "checking
for --${enablestring:-enable}-listctrl...
$ECHO_C" >&6; }
11414 # Check whether --enable-listctrl was given.
11415 if test "${enable_listctrl+set}" = set; then
11416 enableval=$enable_listctrl;
11417 if test "$enableval" = yes; then
11418 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11420 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11425 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11430 eval "$wx_cv_use_listctrl"
11432 if test x
"$enablestring" = xdisable
; then
11433 if test $wxUSE_LISTCTRL = no
; then
11439 result
=$wxUSE_LISTCTRL
11442 { echo "$as_me:$LINENO: result: $result" >&5
11443 echo "${ECHO_T}$result" >&6; }
11447 defaultval
=$wxUSE_ALL_FEATURES
11448 if test -z "$defaultval"; then
11449 if test x
"$enablestring" = xdisable
; then
11456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11457 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11458 # Check whether --enable-notebook was given.
11459 if test "${enable_notebook+set}" = set; then
11460 enableval
=$enable_notebook;
11461 if test "$enableval" = yes; then
11462 wx_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
11464 wx_cv_use_notebook
='wxUSE_NOTEBOOK=no'
11469 wx_cv_use_notebook
='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11474 eval "$wx_cv_use_notebook"
11476 if test x"$enablestring" = xdisable; then
11477 if test $wxUSE_NOTEBOOK = no; then
11483 result=$wxUSE_NOTEBOOK
11486 { echo "$as_me:$LINENO: result: $result" >&5
11487 echo "${ECHO_T}$result" >&6; }
11491 defaultval=$wxUSE_ALL_FEATURES
11492 if test -z "$defaultval"; then
11493 if test x"$enablestring" = xdisable; then
11500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11501 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11502 # Check whether --enable-notifmsg was given.
11503 if test "${enable_notifmsg+set}" = set; then
11504 enableval=$enable_notifmsg;
11505 if test "$enableval" = yes; then
11506 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=yes'
11508 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=no
'
11513 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11518 eval "$wx_cv_use_notifmsg"
11520 if test x"$enablestring" = xdisable; then
11521 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11527 result=$wxUSE_NOTIFICATION_MESSAGE
11530 { echo "$as_me:$LINENO: result
: $result" >&5
11531 echo "${ECHO_T}$result" >&6; }
11535 defaultval=$wxUSE_ALL_FEATURES
11536 if test -z "$defaultval"; then
11537 if test x"$enablestring" = xdisable; then
11544 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-odcombobox" >&5
11545 echo $ECHO_N "checking
for --${enablestring:-enable}-odcombobox...
$ECHO_C" >&6; }
11546 # Check whether --enable-odcombobox was given.
11547 if test "${enable_odcombobox+set}" = set; then
11548 enableval=$enable_odcombobox;
11549 if test "$enableval" = yes; then
11550 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11552 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11557 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11562 eval "$wx_cv_use_odcombobox"
11564 if test x
"$enablestring" = xdisable
; then
11565 if test $wxUSE_ODCOMBOBOX = no
; then
11571 result
=$wxUSE_ODCOMBOBOX
11574 { echo "$as_me:$LINENO: result: $result" >&5
11575 echo "${ECHO_T}$result" >&6; }
11579 defaultval
=$wxUSE_ALL_FEATURES
11580 if test -z "$defaultval"; then
11581 if test x
"$enablestring" = xdisable
; then
11588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11589 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11590 # Check whether --enable-popupwin was given.
11591 if test "${enable_popupwin+set}" = set; then
11592 enableval
=$enable_popupwin;
11593 if test "$enableval" = yes; then
11594 wx_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
11596 wx_cv_use_popupwin
='wxUSE_POPUPWIN=no'
11601 wx_cv_use_popupwin
='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11606 eval "$wx_cv_use_popupwin"
11608 if test x"$enablestring" = xdisable; then
11609 if test $wxUSE_POPUPWIN = no; then
11615 result=$wxUSE_POPUPWIN
11618 { echo "$as_me:$LINENO: result: $result" >&5
11619 echo "${ECHO_T}$result" >&6; }
11623 defaultval=$wxUSE_ALL_FEATURES
11624 if test -z "$defaultval"; then
11625 if test x"$enablestring" = xdisable; then
11632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11633 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11634 # Check whether --enable-radiobox was given.
11635 if test "${enable_radiobox+set}" = set; then
11636 enableval=$enable_radiobox;
11637 if test "$enableval" = yes; then
11638 wx_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
11640 wx_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
11645 wx_cv_use_radiobox='wxUSE_RADIOBOX
=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11650 eval "$wx_cv_use_radiobox"
11652 if test x"$enablestring" = xdisable; then
11653 if test $wxUSE_RADIOBOX = no; then
11659 result=$wxUSE_RADIOBOX
11662 { echo "$as_me:$LINENO: result
: $result" >&5
11663 echo "${ECHO_T}$result" >&6; }
11667 defaultval=$wxUSE_ALL_FEATURES
11668 if test -z "$defaultval"; then
11669 if test x"$enablestring" = xdisable; then
11676 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobtn" >&5
11677 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobtn...
$ECHO_C" >&6; }
11678 # Check whether --enable-radiobtn was given.
11679 if test "${enable_radiobtn+set}" = set; then
11680 enableval=$enable_radiobtn;
11681 if test "$enableval" = yes; then
11682 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11684 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11689 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11694 eval "$wx_cv_use_radiobtn"
11696 if test x
"$enablestring" = xdisable
; then
11697 if test $wxUSE_RADIOBTN = no
; then
11703 result
=$wxUSE_RADIOBTN
11706 { echo "$as_me:$LINENO: result: $result" >&5
11707 echo "${ECHO_T}$result" >&6; }
11711 defaultval
=$wxUSE_ALL_FEATURES
11712 if test -z "$defaultval"; then
11713 if test x
"$enablestring" = xdisable
; then
11720 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11721 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11722 # Check whether --enable-richmsgdlg was given.
11723 if test "${enable_richmsgdlg+set}" = set; then
11724 enableval
=$enable_richmsgdlg;
11725 if test "$enableval" = yes; then
11726 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=yes'
11728 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=no'
11733 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11738 eval "$wx_cv_use_richmsgdlg"
11740 if test x"$enablestring" = xdisable; then
11741 if test $wxUSE_RICHMSGDLG = no; then
11747 result=$wxUSE_RICHMSGDLG
11750 { echo "$as_me:$LINENO: result: $result" >&5
11751 echo "${ECHO_T}$result" >&6; }
11755 defaultval=$wxUSE_ALL_FEATURES
11756 if test -z "$defaultval"; then
11757 if test x"$enablestring" = xdisable; then
11764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11765 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11766 # Check whether --enable-rearrangectrl was given.
11767 if test "${enable_rearrangectrl+set}" = set; then
11768 enableval=$enable_rearrangectrl;
11769 if test "$enableval" = yes; then
11770 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=yes'
11772 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=no
'
11777 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11782 eval "$wx_cv_use_rearrangectrl"
11784 if test x"$enablestring" = xdisable; then
11785 if test $wxUSE_REARRANGECTRL = no; then
11791 result=$wxUSE_REARRANGECTRL
11794 { echo "$as_me:$LINENO: result
: $result" >&5
11795 echo "${ECHO_T}$result" >&6; }
11799 defaultval=$wxUSE_ALL_FEATURES
11800 if test -z "$defaultval"; then
11801 if test x"$enablestring" = xdisable; then
11808 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sash" >&5
11809 echo $ECHO_N "checking
for --${enablestring:-enable}-sash...
$ECHO_C" >&6; }
11810 # Check whether --enable-sash was given.
11811 if test "${enable_sash+set}" = set; then
11812 enableval=$enable_sash;
11813 if test "$enableval" = yes; then
11814 wx_cv_use_sash='wxUSE_SASH=yes'
11816 wx_cv_use_sash='wxUSE_SASH=no'
11821 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11826 eval "$wx_cv_use_sash"
11828 if test x
"$enablestring" = xdisable
; then
11829 if test $wxUSE_SASH = no
; then
11838 { echo "$as_me:$LINENO: result: $result" >&5
11839 echo "${ECHO_T}$result" >&6; }
11843 defaultval
=$wxUSE_ALL_FEATURES
11844 if test -z "$defaultval"; then
11845 if test x
"$enablestring" = xdisable
; then
11852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11853 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11854 # Check whether --enable-scrollbar was given.
11855 if test "${enable_scrollbar+set}" = set; then
11856 enableval
=$enable_scrollbar;
11857 if test "$enableval" = yes; then
11858 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
11860 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
11865 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11870 eval "$wx_cv_use_scrollbar"
11872 if test x"$enablestring" = xdisable; then
11873 if test $wxUSE_SCROLLBAR = no; then
11879 result=$wxUSE_SCROLLBAR
11882 { echo "$as_me:$LINENO: result: $result" >&5
11883 echo "${ECHO_T}$result" >&6; }
11887 defaultval=$wxUSE_ALL_FEATURES
11888 if test -z "$defaultval"; then
11889 if test x"$enablestring" = xdisable; then
11896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11897 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11898 # Check whether --enable-searchctrl was given.
11899 if test "${enable_searchctrl+set}" = set; then
11900 enableval=$enable_searchctrl;
11901 if test "$enableval" = yes; then
11902 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=yes'
11904 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=no
'
11909 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11914 eval "$wx_cv_use_searchctrl"
11916 if test x"$enablestring" = xdisable; then
11917 if test $wxUSE_SEARCHCTRL = no; then
11923 result=$wxUSE_SEARCHCTRL
11926 { echo "$as_me:$LINENO: result
: $result" >&5
11927 echo "${ECHO_T}$result" >&6; }
11931 defaultval=$wxUSE_ALL_FEATURES
11932 if test -z "$defaultval"; then
11933 if test x"$enablestring" = xdisable; then
11940 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-slider" >&5
11941 echo $ECHO_N "checking
for --${enablestring:-enable}-slider...
$ECHO_C" >&6; }
11942 # Check whether --enable-slider was given.
11943 if test "${enable_slider+set}" = set; then
11944 enableval=$enable_slider;
11945 if test "$enableval" = yes; then
11946 wx_cv_use_slider='wxUSE_SLIDER=yes'
11948 wx_cv_use_slider='wxUSE_SLIDER=no'
11953 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11958 eval "$wx_cv_use_slider"
11960 if test x
"$enablestring" = xdisable
; then
11961 if test $wxUSE_SLIDER = no
; then
11967 result
=$wxUSE_SLIDER
11970 { echo "$as_me:$LINENO: result: $result" >&5
11971 echo "${ECHO_T}$result" >&6; }
11975 defaultval
=$wxUSE_ALL_FEATURES
11976 if test -z "$defaultval"; then
11977 if test x
"$enablestring" = xdisable
; then
11984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11985 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11986 # Check whether --enable-spinbtn was given.
11987 if test "${enable_spinbtn+set}" = set; then
11988 enableval
=$enable_spinbtn;
11989 if test "$enableval" = yes; then
11990 wx_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
11992 wx_cv_use_spinbtn
='wxUSE_SPINBTN=no'
11997 wx_cv_use_spinbtn
='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12002 eval "$wx_cv_use_spinbtn"
12004 if test x"$enablestring" = xdisable; then
12005 if test $wxUSE_SPINBTN = no; then
12011 result=$wxUSE_SPINBTN
12014 { echo "$as_me:$LINENO: result: $result" >&5
12015 echo "${ECHO_T}$result" >&6; }
12019 defaultval=$wxUSE_ALL_FEATURES
12020 if test -z "$defaultval"; then
12021 if test x"$enablestring" = xdisable; then
12028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12029 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12030 # Check whether --enable-spinctrl was given.
12031 if test "${enable_spinctrl+set}" = set; then
12032 enableval=$enable_spinctrl;
12033 if test "$enableval" = yes; then
12034 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
12036 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
12041 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12046 eval "$wx_cv_use_spinctrl"
12048 if test x"$enablestring" = xdisable; then
12049 if test $wxUSE_SPINCTRL = no; then
12055 result=$wxUSE_SPINCTRL
12058 { echo "$as_me:$LINENO: result
: $result" >&5
12059 echo "${ECHO_T}$result" >&6; }
12063 defaultval=$wxUSE_ALL_FEATURES
12064 if test -z "$defaultval"; then
12065 if test x"$enablestring" = xdisable; then
12072 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splitter" >&5
12073 echo $ECHO_N "checking
for --${enablestring:-enable}-splitter...
$ECHO_C" >&6; }
12074 # Check whether --enable-splitter was given.
12075 if test "${enable_splitter+set}" = set; then
12076 enableval=$enable_splitter;
12077 if test "$enableval" = yes; then
12078 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12080 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12085 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12090 eval "$wx_cv_use_splitter"
12092 if test x
"$enablestring" = xdisable
; then
12093 if test $wxUSE_SPLITTER = no
; then
12099 result
=$wxUSE_SPLITTER
12102 { echo "$as_me:$LINENO: result: $result" >&5
12103 echo "${ECHO_T}$result" >&6; }
12107 defaultval
=$wxUSE_ALL_FEATURES
12108 if test -z "$defaultval"; then
12109 if test x
"$enablestring" = xdisable
; then
12116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12117 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12118 # Check whether --enable-statbmp was given.
12119 if test "${enable_statbmp+set}" = set; then
12120 enableval
=$enable_statbmp;
12121 if test "$enableval" = yes; then
12122 wx_cv_use_statbmp
='wxUSE_STATBMP=yes'
12124 wx_cv_use_statbmp
='wxUSE_STATBMP=no'
12129 wx_cv_use_statbmp
='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12134 eval "$wx_cv_use_statbmp"
12136 if test x"$enablestring" = xdisable; then
12137 if test $wxUSE_STATBMP = no; then
12143 result=$wxUSE_STATBMP
12146 { echo "$as_me:$LINENO: result: $result" >&5
12147 echo "${ECHO_T}$result" >&6; }
12151 defaultval=$wxUSE_ALL_FEATURES
12152 if test -z "$defaultval"; then
12153 if test x"$enablestring" = xdisable; then
12160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12161 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12162 # Check whether --enable-statbox was given.
12163 if test "${enable_statbox+set}" = set; then
12164 enableval=$enable_statbox;
12165 if test "$enableval" = yes; then
12166 wx_cv_use_statbox='wxUSE_STATBOX
=yes'
12168 wx_cv_use_statbox='wxUSE_STATBOX
=no
'
12173 wx_cv_use_statbox='wxUSE_STATBOX
=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12178 eval "$wx_cv_use_statbox"
12180 if test x"$enablestring" = xdisable; then
12181 if test $wxUSE_STATBOX = no; then
12187 result=$wxUSE_STATBOX
12190 { echo "$as_me:$LINENO: result
: $result" >&5
12191 echo "${ECHO_T}$result" >&6; }
12195 defaultval=$wxUSE_ALL_FEATURES
12196 if test -z "$defaultval"; then
12197 if test x"$enablestring" = xdisable; then
12204 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statline" >&5
12205 echo $ECHO_N "checking
for --${enablestring:-enable}-statline...
$ECHO_C" >&6; }
12206 # Check whether --enable-statline was given.
12207 if test "${enable_statline+set}" = set; then
12208 enableval=$enable_statline;
12209 if test "$enableval" = yes; then
12210 wx_cv_use_statline='wxUSE_STATLINE=yes'
12212 wx_cv_use_statline='wxUSE_STATLINE=no'
12217 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12222 eval "$wx_cv_use_statline"
12224 if test x
"$enablestring" = xdisable
; then
12225 if test $wxUSE_STATLINE = no
; then
12231 result
=$wxUSE_STATLINE
12234 { echo "$as_me:$LINENO: result: $result" >&5
12235 echo "${ECHO_T}$result" >&6; }
12239 defaultval
=$wxUSE_ALL_FEATURES
12240 if test -z "$defaultval"; then
12241 if test x
"$enablestring" = xdisable
; then
12248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12249 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12250 # Check whether --enable-stattext was given.
12251 if test "${enable_stattext+set}" = set; then
12252 enableval
=$enable_stattext;
12253 if test "$enableval" = yes; then
12254 wx_cv_use_stattext
='wxUSE_STATTEXT=yes'
12256 wx_cv_use_stattext
='wxUSE_STATTEXT=no'
12261 wx_cv_use_stattext
='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12266 eval "$wx_cv_use_stattext"
12268 if test x"$enablestring" = xdisable; then
12269 if test $wxUSE_STATTEXT = no; then
12275 result=$wxUSE_STATTEXT
12278 { echo "$as_me:$LINENO: result: $result" >&5
12279 echo "${ECHO_T}$result" >&6; }
12283 defaultval=$wxUSE_ALL_FEATURES
12284 if test -z "$defaultval"; then
12285 if test x"$enablestring" = xdisable; then
12292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12293 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12294 # Check whether --enable-statusbar was given.
12295 if test "${enable_statusbar+set}" = set; then
12296 enableval=$enable_statusbar;
12297 if test "$enableval" = yes; then
12298 wx_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
12300 wx_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
12305 wx_cv_use_statusbar='wxUSE_STATUSBAR
=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12310 eval "$wx_cv_use_statusbar"
12312 if test x"$enablestring" = xdisable; then
12313 if test $wxUSE_STATUSBAR = no; then
12319 result=$wxUSE_STATUSBAR
12322 { echo "$as_me:$LINENO: result
: $result" >&5
12323 echo "${ECHO_T}$result" >&6; }
12327 defaultval=$wxUSE_ALL_FEATURES
12328 if test -z "$defaultval"; then
12329 if test x"$enablestring" = xdisable; then
12336 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-taskbaricon" >&5
12337 echo $ECHO_N "checking
for --${enablestring:-enable}-taskbaricon...
$ECHO_C" >&6; }
12338 # Check whether --enable-taskbaricon was given.
12339 if test "${enable_taskbaricon+set}" = set; then
12340 enableval=$enable_taskbaricon;
12341 if test "$enableval" = yes; then
12342 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12344 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12349 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12354 eval "$wx_cv_use_taskbaricon"
12356 if test x
"$enablestring" = xdisable
; then
12357 if test $wxUSE_TASKBARICON = no
; then
12363 result
=$wxUSE_TASKBARICON
12366 { echo "$as_me:$LINENO: result: $result" >&5
12367 echo "${ECHO_T}$result" >&6; }
12371 defaultval
=$wxUSE_ALL_FEATURES
12372 if test -z "$defaultval"; then
12373 if test x
"$enablestring" = xdisable
; then
12380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12381 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12382 # Check whether --enable-tbarnative was given.
12383 if test "${enable_tbarnative+set}" = set; then
12384 enableval
=$enable_tbarnative;
12385 if test "$enableval" = yes; then
12386 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
12388 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
12393 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12398 eval "$wx_cv_use_tbarnative"
12400 if test x"$enablestring" = xdisable; then
12401 if test $wxUSE_TOOLBAR_NATIVE = no; then
12407 result=$wxUSE_TOOLBAR_NATIVE
12410 { echo "$as_me:$LINENO: result: $result" >&5
12411 echo "${ECHO_T}$result" >&6; }
12415 defaultval=$wxUSE_ALL_FEATURES
12416 if test -z "$defaultval"; then
12417 if test x"$enablestring" = xdisable; then
12424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12425 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12426 # Check whether --enable-textctrl was given.
12427 if test "${enable_textctrl+set}" = set; then
12428 enableval=$enable_textctrl;
12429 if test "$enableval" = yes; then
12430 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
12432 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
12437 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12442 eval "$wx_cv_use_textctrl"
12444 if test x"$enablestring" = xdisable; then
12445 if test $wxUSE_TEXTCTRL = no; then
12451 result=$wxUSE_TEXTCTRL
12454 { echo "$as_me:$LINENO: result
: $result" >&5
12455 echo "${ECHO_T}$result" >&6; }
12459 defaultval=$wxUSE_ALL_FEATURES
12460 if test -z "$defaultval"; then
12461 if test x"$enablestring" = xdisable; then
12468 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipwindow" >&5
12469 echo $ECHO_N "checking
for --${enablestring:-enable}-tipwindow...
$ECHO_C" >&6; }
12470 # Check whether --enable-tipwindow was given.
12471 if test "${enable_tipwindow+set}" = set; then
12472 enableval=$enable_tipwindow;
12473 if test "$enableval" = yes; then
12474 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12476 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12481 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12486 eval "$wx_cv_use_tipwindow"
12488 if test x
"$enablestring" = xdisable
; then
12489 if test $wxUSE_TIPWINDOW = no
; then
12495 result
=$wxUSE_TIPWINDOW
12498 { echo "$as_me:$LINENO: result: $result" >&5
12499 echo "${ECHO_T}$result" >&6; }
12503 defaultval
=$wxUSE_ALL_FEATURES
12504 if test -z "$defaultval"; then
12505 if test x
"$enablestring" = xdisable
; then
12512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12513 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12514 # Check whether --enable-togglebtn was given.
12515 if test "${enable_togglebtn+set}" = set; then
12516 enableval
=$enable_togglebtn;
12517 if test "$enableval" = yes; then
12518 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
12520 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
12525 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12530 eval "$wx_cv_use_togglebtn"
12532 if test x"$enablestring" = xdisable; then
12533 if test $wxUSE_TOGGLEBTN = no; then
12539 result=$wxUSE_TOGGLEBTN
12542 { echo "$as_me:$LINENO: result: $result" >&5
12543 echo "${ECHO_T}$result" >&6; }
12547 defaultval=$wxUSE_ALL_FEATURES
12548 if test -z "$defaultval"; then
12549 if test x"$enablestring" = xdisable; then
12556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12557 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12558 # Check whether --enable-toolbar was given.
12559 if test "${enable_toolbar+set}" = set; then
12560 enableval=$enable_toolbar;
12561 if test "$enableval" = yes; then
12562 wx_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
12564 wx_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
12569 wx_cv_use_toolbar='wxUSE_TOOLBAR
=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12574 eval "$wx_cv_use_toolbar"
12576 if test x"$enablestring" = xdisable; then
12577 if test $wxUSE_TOOLBAR = no; then
12583 result=$wxUSE_TOOLBAR
12586 { echo "$as_me:$LINENO: result
: $result" >&5
12587 echo "${ECHO_T}$result" >&6; }
12591 defaultval=$wxUSE_ALL_FEATURES
12592 if test -z "$defaultval"; then
12593 if test x"$enablestring" = xdisable; then
12600 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbook" >&5
12601 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbook...
$ECHO_C" >&6; }
12602 # Check whether --enable-toolbook was given.
12603 if test "${enable_toolbook+set}" = set; then
12604 enableval=$enable_toolbook;
12605 if test "$enableval" = yes; then
12606 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12608 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12613 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12618 eval "$wx_cv_use_toolbook"
12620 if test x
"$enablestring" = xdisable
; then
12621 if test $wxUSE_TOOLBOOK = no
; then
12627 result
=$wxUSE_TOOLBOOK
12630 { echo "$as_me:$LINENO: result: $result" >&5
12631 echo "${ECHO_T}$result" >&6; }
12635 defaultval
=$wxUSE_ALL_FEATURES
12636 if test -z "$defaultval"; then
12637 if test x
"$enablestring" = xdisable
; then
12644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12645 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12646 # Check whether --enable-treebook was given.
12647 if test "${enable_treebook+set}" = set; then
12648 enableval
=$enable_treebook;
12649 if test "$enableval" = yes; then
12650 wx_cv_use_treebook
='wxUSE_TREEBOOK=yes'
12652 wx_cv_use_treebook
='wxUSE_TREEBOOK=no'
12657 wx_cv_use_treebook
='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12662 eval "$wx_cv_use_treebook"
12664 if test x"$enablestring" = xdisable; then
12665 if test $wxUSE_TREEBOOK = no; then
12671 result=$wxUSE_TREEBOOK
12674 { echo "$as_me:$LINENO: result: $result" >&5
12675 echo "${ECHO_T}$result" >&6; }
12679 defaultval=$wxUSE_ALL_FEATURES
12680 if test -z "$defaultval"; then
12681 if test x"$enablestring" = xdisable; then
12688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12689 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12690 # Check whether --enable-treectrl was given.
12691 if test "${enable_treectrl+set}" = set; then
12692 enableval=$enable_treectrl;
12693 if test "$enableval" = yes; then
12694 wx_cv_use_treectrl='wxUSE_TREECTRL
=yes'
12696 wx_cv_use_treectrl='wxUSE_TREECTRL
=no
'
12701 wx_cv_use_treectrl='wxUSE_TREECTRL
=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12706 eval "$wx_cv_use_treectrl"
12708 if test x"$enablestring" = xdisable; then
12709 if test $wxUSE_TREECTRL = no; then
12715 result=$wxUSE_TREECTRL
12718 { echo "$as_me:$LINENO: result
: $result" >&5
12719 echo "${ECHO_T}$result" >&6; }
12725 defaultval=$wxUSE_ALL_FEATURES
12726 if test -z "$defaultval"; then
12727 if test x"$enablestring" = xdisable; then
12734 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-commondlg" >&5
12735 echo $ECHO_N "checking
for --${enablestring:-enable}-commondlg...
$ECHO_C" >&6; }
12736 # Check whether --enable-commondlg was given.
12737 if test "${enable_commondlg+set}" = set; then
12738 enableval=$enable_commondlg;
12739 if test "$enableval" = yes; then
12740 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12742 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12747 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12752 eval "$wx_cv_use_commondlg"
12754 if test x
"$enablestring" = xdisable
; then
12755 if test $wxUSE_COMMONDLGS = no
; then
12761 result
=$wxUSE_COMMONDLGS
12764 { echo "$as_me:$LINENO: result: $result" >&5
12765 echo "${ECHO_T}$result" >&6; }
12769 defaultval
=$wxUSE_ALL_FEATURES
12770 if test -z "$defaultval"; then
12771 if test x
"$enablestring" = xdisable
; then
12778 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12779 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12780 # Check whether --enable-aboutdlg was given.
12781 if test "${enable_aboutdlg+set}" = set; then
12782 enableval
=$enable_aboutdlg;
12783 if test "$enableval" = yes; then
12784 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
12786 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
12791 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12796 eval "$wx_cv_use_aboutdlg"
12798 if test x"$enablestring" = xdisable; then
12799 if test $wxUSE_ABOUTDLG = no; then
12805 result=$wxUSE_ABOUTDLG
12808 { echo "$as_me:$LINENO: result: $result" >&5
12809 echo "${ECHO_T}$result" >&6; }
12813 defaultval=$wxUSE_ALL_FEATURES
12814 if test -z "$defaultval"; then
12815 if test x"$enablestring" = xdisable; then
12822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12823 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12824 # Check whether --enable-choicedlg was given.
12825 if test "${enable_choicedlg+set}" = set; then
12826 enableval=$enable_choicedlg;
12827 if test "$enableval" = yes; then
12828 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
12830 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
12835 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12840 eval "$wx_cv_use_choicedlg"
12842 if test x"$enablestring" = xdisable; then
12843 if test $wxUSE_CHOICEDLG = no; then
12849 result=$wxUSE_CHOICEDLG
12852 { echo "$as_me:$LINENO: result
: $result" >&5
12853 echo "${ECHO_T}$result" >&6; }
12857 defaultval=$wxUSE_ALL_FEATURES
12858 if test -z "$defaultval"; then
12859 if test x"$enablestring" = xdisable; then
12866 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-coldlg" >&5
12867 echo $ECHO_N "checking
for --${enablestring:-enable}-coldlg...
$ECHO_C" >&6; }
12868 # Check whether --enable-coldlg was given.
12869 if test "${enable_coldlg+set}" = set; then
12870 enableval=$enable_coldlg;
12871 if test "$enableval" = yes; then
12872 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12874 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12879 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12884 eval "$wx_cv_use_coldlg"
12886 if test x
"$enablestring" = xdisable
; then
12887 if test $wxUSE_COLOURDLG = no
; then
12893 result
=$wxUSE_COLOURDLG
12896 { echo "$as_me:$LINENO: result: $result" >&5
12897 echo "${ECHO_T}$result" >&6; }
12901 defaultval
=$wxUSE_ALL_FEATURES
12902 if test -z "$defaultval"; then
12903 if test x
"$enablestring" = xdisable
; then
12910 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12911 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12912 # Check whether --enable-filedlg was given.
12913 if test "${enable_filedlg+set}" = set; then
12914 enableval
=$enable_filedlg;
12915 if test "$enableval" = yes; then
12916 wx_cv_use_filedlg
='wxUSE_FILEDLG=yes'
12918 wx_cv_use_filedlg
='wxUSE_FILEDLG=no'
12923 wx_cv_use_filedlg
='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12928 eval "$wx_cv_use_filedlg"
12930 if test x"$enablestring" = xdisable; then
12931 if test $wxUSE_FILEDLG = no; then
12937 result=$wxUSE_FILEDLG
12940 { echo "$as_me:$LINENO: result: $result" >&5
12941 echo "${ECHO_T}$result" >&6; }
12945 defaultval=$wxUSE_ALL_FEATURES
12946 if test -z "$defaultval"; then
12947 if test x"$enablestring" = xdisable; then
12954 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12955 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12956 # Check whether --enable-finddlg was given.
12957 if test "${enable_finddlg+set}" = set; then
12958 enableval=$enable_finddlg;
12959 if test "$enableval" = yes; then
12960 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
12962 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
12967 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12972 eval "$wx_cv_use_finddlg"
12974 if test x"$enablestring" = xdisable; then
12975 if test $wxUSE_FINDREPLDLG = no; then
12981 result=$wxUSE_FINDREPLDLG
12984 { echo "$as_me:$LINENO: result
: $result" >&5
12985 echo "${ECHO_T}$result" >&6; }
12989 defaultval=$wxUSE_ALL_FEATURES
12990 if test -z "$defaultval"; then
12991 if test x"$enablestring" = xdisable; then
12998 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontdlg" >&5
12999 echo $ECHO_N "checking
for --${enablestring:-enable}-fontdlg...
$ECHO_C" >&6; }
13000 # Check whether --enable-fontdlg was given.
13001 if test "${enable_fontdlg+set}" = set; then
13002 enableval=$enable_fontdlg;
13003 if test "$enableval" = yes; then
13004 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13006 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13011 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13016 eval "$wx_cv_use_fontdlg"
13018 if test x
"$enablestring" = xdisable
; then
13019 if test $wxUSE_FONTDLG = no
; then
13025 result
=$wxUSE_FONTDLG
13028 { echo "$as_me:$LINENO: result: $result" >&5
13029 echo "${ECHO_T}$result" >&6; }
13033 defaultval
=$wxUSE_ALL_FEATURES
13034 if test -z "$defaultval"; then
13035 if test x
"$enablestring" = xdisable
; then
13042 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13043 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13044 # Check whether --enable-dirdlg was given.
13045 if test "${enable_dirdlg+set}" = set; then
13046 enableval
=$enable_dirdlg;
13047 if test "$enableval" = yes; then
13048 wx_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
13050 wx_cv_use_dirdlg
='wxUSE_DIRDLG=no'
13055 wx_cv_use_dirdlg
='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13060 eval "$wx_cv_use_dirdlg"
13062 if test x"$enablestring" = xdisable; then
13063 if test $wxUSE_DIRDLG = no; then
13069 result=$wxUSE_DIRDLG
13072 { echo "$as_me:$LINENO: result: $result" >&5
13073 echo "${ECHO_T}$result" >&6; }
13077 defaultval=$wxUSE_ALL_FEATURES
13078 if test -z "$defaultval"; then
13079 if test x"$enablestring" = xdisable; then
13086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13087 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13088 # Check whether --enable-msgdlg was given.
13089 if test "${enable_msgdlg+set}" = set; then
13090 enableval=$enable_msgdlg;
13091 if test "$enableval" = yes; then
13092 wx_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
13094 wx_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
13099 wx_cv_use_msgdlg='wxUSE_MSGDLG
=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13104 eval "$wx_cv_use_msgdlg"
13106 if test x"$enablestring" = xdisable; then
13107 if test $wxUSE_MSGDLG = no; then
13113 result=$wxUSE_MSGDLG
13116 { echo "$as_me:$LINENO: result
: $result" >&5
13117 echo "${ECHO_T}$result" >&6; }
13121 defaultval=$wxUSE_ALL_FEATURES
13122 if test -z "$defaultval"; then
13123 if test x"$enablestring" = xdisable; then
13130 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-numberdlg" >&5
13131 echo $ECHO_N "checking
for --${enablestring:-enable}-numberdlg...
$ECHO_C" >&6; }
13132 # Check whether --enable-numberdlg was given.
13133 if test "${enable_numberdlg+set}" = set; then
13134 enableval=$enable_numberdlg;
13135 if test "$enableval" = yes; then
13136 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13138 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13143 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13148 eval "$wx_cv_use_numberdlg"
13150 if test x
"$enablestring" = xdisable
; then
13151 if test $wxUSE_NUMBERDLG = no
; then
13157 result
=$wxUSE_NUMBERDLG
13160 { echo "$as_me:$LINENO: result: $result" >&5
13161 echo "${ECHO_T}$result" >&6; }
13165 defaultval
=$wxUSE_ALL_FEATURES
13166 if test -z "$defaultval"; then
13167 if test x
"$enablestring" = xdisable
; then
13174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13175 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13176 # Check whether --enable-splash was given.
13177 if test "${enable_splash+set}" = set; then
13178 enableval
=$enable_splash;
13179 if test "$enableval" = yes; then
13180 wx_cv_use_splash
='wxUSE_SPLASH=yes'
13182 wx_cv_use_splash
='wxUSE_SPLASH=no'
13187 wx_cv_use_splash
='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13192 eval "$wx_cv_use_splash"
13194 if test x"$enablestring" = xdisable; then
13195 if test $wxUSE_SPLASH = no; then
13201 result=$wxUSE_SPLASH
13204 { echo "$as_me:$LINENO: result: $result" >&5
13205 echo "${ECHO_T}$result" >&6; }
13209 defaultval=$wxUSE_ALL_FEATURES
13210 if test -z "$defaultval"; then
13211 if test x"$enablestring" = xdisable; then
13218 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13219 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13220 # Check whether --enable-textdlg was given.
13221 if test "${enable_textdlg+set}" = set; then
13222 enableval=$enable_textdlg;
13223 if test "$enableval" = yes; then
13224 wx_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
13226 wx_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
13231 wx_cv_use_textdlg='wxUSE_TEXTDLG
=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13236 eval "$wx_cv_use_textdlg"
13238 if test x"$enablestring" = xdisable; then
13239 if test $wxUSE_TEXTDLG = no; then
13245 result=$wxUSE_TEXTDLG
13248 { echo "$as_me:$LINENO: result
: $result" >&5
13249 echo "${ECHO_T}$result" >&6; }
13253 defaultval=$wxUSE_ALL_FEATURES
13254 if test -z "$defaultval"; then
13255 if test x"$enablestring" = xdisable; then
13262 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipdlg" >&5
13263 echo $ECHO_N "checking
for --${enablestring:-enable}-tipdlg...
$ECHO_C" >&6; }
13264 # Check whether --enable-tipdlg was given.
13265 if test "${enable_tipdlg+set}" = set; then
13266 enableval=$enable_tipdlg;
13267 if test "$enableval" = yes; then
13268 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13270 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13275 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13280 eval "$wx_cv_use_tipdlg"
13282 if test x
"$enablestring" = xdisable
; then
13283 if test $wxUSE_STARTUP_TIPS = no
; then
13289 result
=$wxUSE_STARTUP_TIPS
13292 { echo "$as_me:$LINENO: result: $result" >&5
13293 echo "${ECHO_T}$result" >&6; }
13297 defaultval
=$wxUSE_ALL_FEATURES
13298 if test -z "$defaultval"; then
13299 if test x
"$enablestring" = xdisable
; then
13306 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13307 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13308 # Check whether --enable-progressdlg was given.
13309 if test "${enable_progressdlg+set}" = set; then
13310 enableval
=$enable_progressdlg;
13311 if test "$enableval" = yes; then
13312 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
13314 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
13319 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13324 eval "$wx_cv_use_progressdlg"
13326 if test x"$enablestring" = xdisable; then
13327 if test $wxUSE_PROGRESSDLG = no; then
13333 result=$wxUSE_PROGRESSDLG
13336 { echo "$as_me:$LINENO: result: $result" >&5
13337 echo "${ECHO_T}$result" >&6; }
13341 defaultval=$wxUSE_ALL_FEATURES
13342 if test -z "$defaultval"; then
13343 if test x"$enablestring" = xdisable; then
13350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13351 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13352 # Check whether --enable-wizarddlg was given.
13353 if test "${enable_wizarddlg+set}" = set; then
13354 enableval=$enable_wizarddlg;
13355 if test "$enableval" = yes; then
13356 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
13358 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
13363 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13368 eval "$wx_cv_use_wizarddlg"
13370 if test x"$enablestring" = xdisable; then
13371 if test $wxUSE_WIZARDDLG = no; then
13377 result=$wxUSE_WIZARDDLG
13380 { echo "$as_me:$LINENO: result
: $result" >&5
13381 echo "${ECHO_T}$result" >&6; }
13387 defaultval=$wxUSE_ALL_FEATURES
13388 if test -z "$defaultval"; then
13389 if test x"$enablestring" = xdisable; then
13396 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-menus" >&5
13397 echo $ECHO_N "checking
for --${enablestring:-enable}-menus...
$ECHO_C" >&6; }
13398 # Check whether --enable-menus was given.
13399 if test "${enable_menus+set}" = set; then
13400 enableval=$enable_menus;
13401 if test "$enableval" = yes; then
13402 wx_cv_use_menus='wxUSE_MENUS=yes'
13404 wx_cv_use_menus='wxUSE_MENUS=no'
13409 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13414 eval "$wx_cv_use_menus"
13416 if test x
"$enablestring" = xdisable
; then
13417 if test $wxUSE_MENUS = no
; then
13423 result
=$wxUSE_MENUS
13426 { echo "$as_me:$LINENO: result: $result" >&5
13427 echo "${ECHO_T}$result" >&6; }
13431 defaultval
=$wxUSE_ALL_FEATURES
13432 if test -z "$defaultval"; then
13433 if test x
"$enablestring" = xdisable
; then
13440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13441 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13442 # Check whether --enable-miniframe was given.
13443 if test "${enable_miniframe+set}" = set; then
13444 enableval
=$enable_miniframe;
13445 if test "$enableval" = yes; then
13446 wx_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
13448 wx_cv_use_miniframe
='wxUSE_MINIFRAME=no'
13453 wx_cv_use_miniframe
='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13458 eval "$wx_cv_use_miniframe"
13460 if test x"$enablestring" = xdisable; then
13461 if test $wxUSE_MINIFRAME = no; then
13467 result=$wxUSE_MINIFRAME
13470 { echo "$as_me:$LINENO: result: $result" >&5
13471 echo "${ECHO_T}$result" >&6; }
13475 defaultval=$wxUSE_ALL_FEATURES
13476 if test -z "$defaultval"; then
13477 if test x"$enablestring" = xdisable; then
13484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13485 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13486 # Check whether --enable-tooltips was given.
13487 if test "${enable_tooltips+set}" = set; then
13488 enableval=$enable_tooltips;
13489 if test "$enableval" = yes; then
13490 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
13492 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
13497 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13502 eval "$wx_cv_use_tooltips"
13504 if test x"$enablestring" = xdisable; then
13505 if test $wxUSE_TOOLTIPS = no; then
13511 result=$wxUSE_TOOLTIPS
13514 { echo "$as_me:$LINENO: result
: $result" >&5
13515 echo "${ECHO_T}$result" >&6; }
13519 defaultval=$wxUSE_ALL_FEATURES
13520 if test -z "$defaultval"; then
13521 if test x"$enablestring" = xdisable; then
13528 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splines" >&5
13529 echo $ECHO_N "checking
for --${enablestring:-enable}-splines...
$ECHO_C" >&6; }
13530 # Check whether --enable-splines was given.
13531 if test "${enable_splines+set}" = set; then
13532 enableval=$enable_splines;
13533 if test "$enableval" = yes; then
13534 wx_cv_use_splines='wxUSE_SPLINES=yes'
13536 wx_cv_use_splines='wxUSE_SPLINES=no'
13541 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13546 eval "$wx_cv_use_splines"
13548 if test x
"$enablestring" = xdisable
; then
13549 if test $wxUSE_SPLINES = no
; then
13555 result
=$wxUSE_SPLINES
13558 { echo "$as_me:$LINENO: result: $result" >&5
13559 echo "${ECHO_T}$result" >&6; }
13563 defaultval
=$wxUSE_ALL_FEATURES
13564 if test -z "$defaultval"; then
13565 if test x
"$enablestring" = xdisable
; then
13572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13573 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13574 # Check whether --enable-mousewheel was given.
13575 if test "${enable_mousewheel+set}" = set; then
13576 enableval
=$enable_mousewheel;
13577 if test "$enableval" = yes; then
13578 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
13580 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
13585 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13590 eval "$wx_cv_use_mousewheel"
13592 if test x"$enablestring" = xdisable; then
13593 if test $wxUSE_MOUSEWHEEL = no; then
13599 result=$wxUSE_MOUSEWHEEL
13602 { echo "$as_me:$LINENO: result: $result" >&5
13603 echo "${ECHO_T}$result" >&6; }
13607 defaultval=$wxUSE_ALL_FEATURES
13608 if test -z "$defaultval"; then
13609 if test x"$enablestring" = xdisable; then
13616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13617 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13618 # Check whether --enable-validators was given.
13619 if test "${enable_validators+set}" = set; then
13620 enableval=$enable_validators;
13621 if test "$enableval" = yes; then
13622 wx_cv_use_validators='wxUSE_VALIDATORS
=yes'
13624 wx_cv_use_validators='wxUSE_VALIDATORS
=no
'
13629 wx_cv_use_validators='wxUSE_VALIDATORS
=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13634 eval "$wx_cv_use_validators"
13636 if test x"$enablestring" = xdisable; then
13637 if test $wxUSE_VALIDATORS = no; then
13643 result=$wxUSE_VALIDATORS
13646 { echo "$as_me:$LINENO: result
: $result" >&5
13647 echo "${ECHO_T}$result" >&6; }
13651 defaultval=$wxUSE_ALL_FEATURES
13652 if test -z "$defaultval"; then
13653 if test x"$enablestring" = xdisable; then
13660 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-busyinfo" >&5
13661 echo $ECHO_N "checking
for --${enablestring:-enable}-busyinfo...
$ECHO_C" >&6; }
13662 # Check whether --enable-busyinfo was given.
13663 if test "${enable_busyinfo+set}" = set; then
13664 enableval=$enable_busyinfo;
13665 if test "$enableval" = yes; then
13666 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13668 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13673 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13678 eval "$wx_cv_use_busyinfo"
13680 if test x
"$enablestring" = xdisable
; then
13681 if test $wxUSE_BUSYINFO = no
; then
13687 result
=$wxUSE_BUSYINFO
13690 { echo "$as_me:$LINENO: result: $result" >&5
13691 echo "${ECHO_T}$result" >&6; }
13695 defaultval
=$wxUSE_ALL_FEATURES
13696 if test -z "$defaultval"; then
13697 if test x
"$enablestring" = xdisable
; then
13704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13705 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13706 # Check whether --enable-joystick was given.
13707 if test "${enable_joystick+set}" = set; then
13708 enableval
=$enable_joystick;
13709 if test "$enableval" = yes; then
13710 wx_cv_use_joystick
='wxUSE_JOYSTICK=yes'
13712 wx_cv_use_joystick
='wxUSE_JOYSTICK=no'
13717 wx_cv_use_joystick
='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13722 eval "$wx_cv_use_joystick"
13724 if test x"$enablestring" = xdisable; then
13725 if test $wxUSE_JOYSTICK = no; then
13731 result=$wxUSE_JOYSTICK
13734 { echo "$as_me:$LINENO: result: $result" >&5
13735 echo "${ECHO_T}$result" >&6; }
13739 defaultval=$wxUSE_ALL_FEATURES
13740 if test -z "$defaultval"; then
13741 if test x"$enablestring" = xdisable; then
13748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13749 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13750 # Check whether --enable-metafile was given.
13751 if test "${enable_metafile+set}" = set; then
13752 enableval=$enable_metafile;
13753 if test "$enableval" = yes; then
13754 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
13756 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
13761 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13766 eval "$wx_cv_use_metafile"
13768 if test x"$enablestring" = xdisable; then
13769 if test $wxUSE_METAFILE = no; then
13775 result=$wxUSE_METAFILE
13778 { echo "$as_me:$LINENO: result
: $result" >&5
13779 echo "${ECHO_T}$result" >&6; }
13783 defaultval=$wxUSE_ALL_FEATURES
13784 if test -z "$defaultval"; then
13785 if test x"$enablestring" = xdisable; then
13792 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dragimage" >&5
13793 echo $ECHO_N "checking
for --${enablestring:-enable}-dragimage...
$ECHO_C" >&6; }
13794 # Check whether --enable-dragimage was given.
13795 if test "${enable_dragimage+set}" = set; then
13796 enableval=$enable_dragimage;
13797 if test "$enableval" = yes; then
13798 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13800 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13805 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13810 eval "$wx_cv_use_dragimage"
13812 if test x
"$enablestring" = xdisable
; then
13813 if test $wxUSE_DRAGIMAGE = no
; then
13819 result
=$wxUSE_DRAGIMAGE
13822 { echo "$as_me:$LINENO: result: $result" >&5
13823 echo "${ECHO_T}$result" >&6; }
13827 defaultval
=$wxUSE_ALL_FEATURES
13828 if test -z "$defaultval"; then
13829 if test x
"$enablestring" = xdisable
; then
13836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13837 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13838 # Check whether --enable-accessibility was given.
13839 if test "${enable_accessibility+set}" = set; then
13840 enableval
=$enable_accessibility;
13841 if test "$enableval" = yes; then
13842 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
13844 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
13849 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13854 eval "$wx_cv_use_accessibility"
13856 if test x"$enablestring" = xdisable; then
13857 if test $wxUSE_ACCESSIBILITY = no; then
13863 result=$wxUSE_ACCESSIBILITY
13866 { echo "$as_me:$LINENO: result: $result" >&5
13867 echo "${ECHO_T}$result" >&6; }
13871 defaultval=$wxUSE_ALL_FEATURES
13872 if test -z "$defaultval"; then
13873 if test x"$enablestring" = xdisable; then
13880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
13881 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
13882 # Check whether --enable-uiactionsim was given.
13883 if test "${enable_uiactionsim+set}" = set; then
13884 enableval=$enable_uiactionsim;
13885 if test "$enableval" = yes; then
13886 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR
=yes'
13888 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR
=no
'
13893 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR
=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
13898 eval "$wx_cv_use_uiactionsim"
13900 if test x"$enablestring" = xdisable; then
13901 if test $wxUSE_UIACTIONSIMULATOR = no; then
13907 result=$wxUSE_UIACTIONSIMULATOR
13910 { echo "$as_me:$LINENO: result
: $result" >&5
13911 echo "${ECHO_T}$result" >&6; }
13917 defaultval=$wxUSE_ALL_FEATURES
13918 if test -z "$defaultval"; then
13919 if test x"$enablestring" = xdisable; then
13926 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-palette" >&5
13927 echo $ECHO_N "checking
for --${enablestring:-enable}-palette...
$ECHO_C" >&6; }
13928 # Check whether --enable-palette was given.
13929 if test "${enable_palette+set}" = set; then
13930 enableval=$enable_palette;
13931 if test "$enableval" = yes; then
13932 wx_cv_use_palette='wxUSE_PALETTE=yes'
13934 wx_cv_use_palette='wxUSE_PALETTE=no'
13939 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13944 eval "$wx_cv_use_palette"
13946 if test x
"$enablestring" = xdisable
; then
13947 if test $wxUSE_PALETTE = no
; then
13953 result
=$wxUSE_PALETTE
13956 { echo "$as_me:$LINENO: result: $result" >&5
13957 echo "${ECHO_T}$result" >&6; }
13961 defaultval
=$wxUSE_ALL_FEATURES
13962 if test -z "$defaultval"; then
13963 if test x
"$enablestring" = xdisable
; then
13970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13971 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13972 # Check whether --enable-image was given.
13973 if test "${enable_image+set}" = set; then
13974 enableval
=$enable_image;
13975 if test "$enableval" = yes; then
13976 wx_cv_use_image
='wxUSE_IMAGE=yes'
13978 wx_cv_use_image
='wxUSE_IMAGE=no'
13983 wx_cv_use_image
='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13988 eval "$wx_cv_use_image"
13990 if test x"$enablestring" = xdisable; then
13991 if test $wxUSE_IMAGE = no; then
13997 result=$wxUSE_IMAGE
14000 { echo "$as_me:$LINENO: result: $result" >&5
14001 echo "${ECHO_T}$result" >&6; }
14005 defaultval=$wxUSE_ALL_FEATURES
14006 if test -z "$defaultval"; then
14007 if test x"$enablestring" = xdisable; then
14014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14015 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14016 # Check whether --enable-gif was given.
14017 if test "${enable_gif+set}" = set; then
14018 enableval=$enable_gif;
14019 if test "$enableval" = yes; then
14020 wx_cv_use_gif='wxUSE_GIF
=yes'
14022 wx_cv_use_gif='wxUSE_GIF
=no
'
14027 wx_cv_use_gif='wxUSE_GIF
=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14032 eval "$wx_cv_use_gif"
14034 if test x"$enablestring" = xdisable; then
14035 if test $wxUSE_GIF = no; then
14044 { echo "$as_me:$LINENO: result
: $result" >&5
14045 echo "${ECHO_T}$result" >&6; }
14049 defaultval=$wxUSE_ALL_FEATURES
14050 if test -z "$defaultval"; then
14051 if test x"$enablestring" = xdisable; then
14058 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pcx" >&5
14059 echo $ECHO_N "checking
for --${enablestring:-enable}-pcx...
$ECHO_C" >&6; }
14060 # Check whether --enable-pcx was given.
14061 if test "${enable_pcx+set}" = set; then
14062 enableval=$enable_pcx;
14063 if test "$enableval" = yes; then
14064 wx_cv_use_pcx='wxUSE_PCX=yes'
14066 wx_cv_use_pcx='wxUSE_PCX=no'
14071 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14076 eval "$wx_cv_use_pcx"
14078 if test x
"$enablestring" = xdisable
; then
14079 if test $wxUSE_PCX = no
; then
14088 { echo "$as_me:$LINENO: result: $result" >&5
14089 echo "${ECHO_T}$result" >&6; }
14093 defaultval
=$wxUSE_ALL_FEATURES
14094 if test -z "$defaultval"; then
14095 if test x
"$enablestring" = xdisable
; then
14102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14103 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14104 # Check whether --enable-tga was given.
14105 if test "${enable_tga+set}" = set; then
14106 enableval
=$enable_tga;
14107 if test "$enableval" = yes; then
14108 wx_cv_use_tga
='wxUSE_TGA=yes'
14110 wx_cv_use_tga
='wxUSE_TGA=no'
14115 wx_cv_use_tga
='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14120 eval "$wx_cv_use_tga"
14122 if test x"$enablestring" = xdisable; then
14123 if test $wxUSE_TGA = no; then
14132 { echo "$as_me:$LINENO: result: $result" >&5
14133 echo "${ECHO_T}$result" >&6; }
14137 defaultval=$wxUSE_ALL_FEATURES
14138 if test -z "$defaultval"; then
14139 if test x"$enablestring" = xdisable; then
14146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14147 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14148 # Check whether --enable-iff was given.
14149 if test "${enable_iff+set}" = set; then
14150 enableval=$enable_iff;
14151 if test "$enableval" = yes; then
14152 wx_cv_use_iff='wxUSE_IFF
=yes'
14154 wx_cv_use_iff='wxUSE_IFF
=no
'
14159 wx_cv_use_iff='wxUSE_IFF
=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14164 eval "$wx_cv_use_iff"
14166 if test x"$enablestring" = xdisable; then
14167 if test $wxUSE_IFF = no; then
14176 { echo "$as_me:$LINENO: result
: $result" >&5
14177 echo "${ECHO_T}$result" >&6; }
14181 defaultval=$wxUSE_ALL_FEATURES
14182 if test -z "$defaultval"; then
14183 if test x"$enablestring" = xdisable; then
14190 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pnm" >&5
14191 echo $ECHO_N "checking
for --${enablestring:-enable}-pnm...
$ECHO_C" >&6; }
14192 # Check whether --enable-pnm was given.
14193 if test "${enable_pnm+set}" = set; then
14194 enableval=$enable_pnm;
14195 if test "$enableval" = yes; then
14196 wx_cv_use_pnm='wxUSE_PNM=yes'
14198 wx_cv_use_pnm='wxUSE_PNM=no'
14203 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14208 eval "$wx_cv_use_pnm"
14210 if test x
"$enablestring" = xdisable
; then
14211 if test $wxUSE_PNM = no
; then
14220 { echo "$as_me:$LINENO: result: $result" >&5
14221 echo "${ECHO_T}$result" >&6; }
14225 defaultval
=$wxUSE_ALL_FEATURES
14226 if test -z "$defaultval"; then
14227 if test x
"$enablestring" = xdisable
; then
14234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14235 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14236 # Check whether --enable-xpm was given.
14237 if test "${enable_xpm+set}" = set; then
14238 enableval
=$enable_xpm;
14239 if test "$enableval" = yes; then
14240 wx_cv_use_xpm
='wxUSE_XPM=yes'
14242 wx_cv_use_xpm
='wxUSE_XPM=no'
14247 wx_cv_use_xpm
='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14252 eval "$wx_cv_use_xpm"
14254 if test x"$enablestring" = xdisable; then
14255 if test $wxUSE_XPM = no; then
14264 { echo "$as_me:$LINENO: result: $result" >&5
14265 echo "${ECHO_T}$result" >&6; }
14269 defaultval=$wxUSE_ALL_FEATURES
14270 if test -z "$defaultval"; then
14271 if test x"$enablestring" = xdisable; then
14278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14279 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14280 # Check whether --enable-ico_cur was given.
14281 if test "${enable_ico_cur+set}" = set; then
14282 enableval=$enable_ico_cur;
14283 if test "$enableval" = yes; then
14284 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
14286 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
14291 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14296 eval "$wx_cv_use_ico_cur"
14298 if test x"$enablestring" = xdisable; then
14299 if test $wxUSE_ICO_CUR = no; then
14305 result=$wxUSE_ICO_CUR
14308 { echo "$as_me:$LINENO: result
: $result" >&5
14309 echo "${ECHO_T}$result" >&6; }
14315 defaultval=$wxUSE_ALL_FEATURES
14316 if test -z "$defaultval"; then
14317 if test x"$enablestring" = xdisable; then
14324 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dccache" >&5
14325 echo $ECHO_N "checking
for --${enablestring:-enable}-dccache...
$ECHO_C" >&6; }
14326 # Check whether --enable-dccache was given.
14327 if test "${enable_dccache+set}" = set; then
14328 enableval=$enable_dccache;
14329 if test "$enableval" = yes; then
14330 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14332 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14337 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14342 eval "$wx_cv_use_dccache"
14344 if test x
"$enablestring" = xdisable
; then
14345 if test $wxUSE_DC_CACHEING = no
; then
14351 result
=$wxUSE_DC_CACHEING
14354 { echo "$as_me:$LINENO: result: $result" >&5
14355 echo "${ECHO_T}$result" >&6; }
14359 defaultval
=$wxUSE_ALL_FEATURES
14360 if test -z "$defaultval"; then
14361 if test x
"$enablestring" = xdisable
; then
14368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14369 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14370 # Check whether --enable-ps-in-msw was given.
14371 if test "${enable_ps_in_msw+set}" = set; then
14372 enableval
=$enable_ps_in_msw;
14373 if test "$enableval" = yes; then
14374 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14376 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14381 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14386 eval "$wx_cv_use_ps_in_msw"
14388 if test x"$enablestring" = xdisable; then
14389 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14395 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14398 { echo "$as_me:$LINENO: result: $result" >&5
14399 echo "${ECHO_T}$result" >&6; }
14403 defaultval=$wxUSE_ALL_FEATURES
14404 if test -z "$defaultval"; then
14405 if test x"$enablestring" = xdisable; then
14412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14413 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14414 # Check whether --enable-ownerdrawn was given.
14415 if test "${enable_ownerdrawn+set}" = set; then
14416 enableval=$enable_ownerdrawn;
14417 if test "$enableval" = yes; then
14418 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=yes'
14420 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=no
'
14425 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14430 eval "$wx_cv_use_ownerdrawn"
14432 if test x"$enablestring" = xdisable; then
14433 if test $wxUSE_OWNER_DRAWN = no; then
14439 result=$wxUSE_OWNER_DRAWN
14442 { echo "$as_me:$LINENO: result
: $result" >&5
14443 echo "${ECHO_T}$result" >&6; }
14447 defaultval=$wxUSE_ALL_FEATURES
14448 if test -z "$defaultval"; then
14449 if test x"$enablestring" = xdisable; then
14456 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-uxtheme" >&5
14457 echo $ECHO_N "checking
for --${enablestring:-enable}-uxtheme...
$ECHO_C" >&6; }
14458 # Check whether --enable-uxtheme was given.
14459 if test "${enable_uxtheme+set}" = set; then
14460 enableval=$enable_uxtheme;
14461 if test "$enableval" = yes; then
14462 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14464 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14469 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14474 eval "$wx_cv_use_uxtheme"
14476 if test x
"$enablestring" = xdisable
; then
14477 if test $wxUSE_UXTHEME = no
; then
14483 result
=$wxUSE_UXTHEME
14486 { echo "$as_me:$LINENO: result: $result" >&5
14487 echo "${ECHO_T}$result" >&6; }
14491 defaultval
=$wxUSE_ALL_FEATURES
14492 if test -z "$defaultval"; then
14493 if test x
"$enablestring" = xdisable
; then
14500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14501 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14502 # Check whether --enable-wxdib was given.
14503 if test "${enable_wxdib+set}" = set; then
14504 enableval
=$enable_wxdib;
14505 if test "$enableval" = yes; then
14506 wx_cv_use_wxdib
='wxUSE_DIB=yes'
14508 wx_cv_use_wxdib
='wxUSE_DIB=no'
14513 wx_cv_use_wxdib
='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14518 eval "$wx_cv_use_wxdib"
14520 if test x"$enablestring" = xdisable; then
14521 if test $wxUSE_DIB = no; then
14530 { echo "$as_me:$LINENO: result: $result" >&5
14531 echo "${ECHO_T}$result" >&6; }
14534 if test "$wxUSE_MSW" != 1; then
14535 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14540 defaultval=$wxUSE_ALL_FEATURES
14541 if test -z "$defaultval"; then
14542 if test x"$enablestring" = xdisable; then
14549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14550 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14551 # Check whether --enable-autoidman was given.
14552 if test "${enable_autoidman+set}" = set; then
14553 enableval=$enable_autoidman;
14554 if test "$enableval" = yes; then
14555 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=yes'
14557 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=no
'
14562 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14567 eval "$wx_cv_use_autoidman"
14569 if test x"$enablestring" = xdisable; then
14570 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14576 result=$wxUSE_AUTOID_MANAGEMENT
14579 { echo "$as_me:$LINENO: result
: $result" >&5
14580 echo "${ECHO_T}$result" >&6; }
14586 cat >confcache <<\_ACEOF
14587 # This file is a shell script that caches the results of configure
14588 # tests run on this system so they can be shared between configure
14589 # scripts and configure runs, see configure's option --config-cache.
14590 # It is not useful on other systems. If it contains results you don't
14591 # want to keep, you may remove or edit it.
14593 # config.status only pays attention to the cache file if you give it
14594 # the --recheck option to rerun configure.
14596 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14597 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14598 # following values.
14602 # The following way of writing the cache mishandles newlines in values,
14603 # but we know of no workaround that is simple, portable, and efficient.
14604 # So, we kill variables containing newlines.
14605 # Ultrix sh set writes to stderr and can't be redirected directly,
14606 # and sets the high bit in the cache file unless we assign to the vars.
14608 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14609 eval ac_val=\$$ac_var
14613 *_cv_*) { echo "$as_me:$LINENO: WARNING
: Cache variable
$ac_var contains a newline.
" >&5
14614 echo "$as_me: WARNING
: Cache variable
$ac_var contains a newline.
" >&2;} ;;
14617 _ | IFS | as_nl) ;; #(
14618 *) $as_unset $ac_var ;;
14624 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14625 *${as_nl}ac_space=\ *)
14626 # `set' does not quote correctly, so add quotes (double-quote
14627 # substitution turns \\\\ into \\, and sed turns \\ into \).
14630 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14633 # `set' quotes correctly as required by POSIX, so do not add quotes.
14634 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14643 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14645 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14647 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14648 if test -w "$cache_file"; then
14649 test "x
$cache_file" != "x
/dev
/null
" &&
14650 { echo "$as_me:$LINENO: updating cache
$cache_file" >&5
14651 echo "$as_me: updating cache
$cache_file" >&6;}
14652 cat confcache >$cache_file
14654 { echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5
14655 echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14662 ac_cpp='$CPP $CPPFLAGS'
14663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14666 if test -n "$ac_tool_prefix"; then
14667 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
14668 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14669 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14670 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14671 if test "${ac_cv_prog_CC+set}" = set; then
14672 echo $ECHO_N "(cached
) $ECHO_C" >&6
14674 if test -n "$CC"; then
14675 ac_cv_prog_CC="$CC" # Let the user override the test.
14677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14678 for as_dir in $PATH
14681 test -z "$as_dir" && as_dir=.
14682 for ac_exec_ext in '' $ac_executable_extensions; do
14683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14684 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
14685 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14695 if test -n "$CC"; then
14696 { echo "$as_me:$LINENO: result
: $CC" >&5
14697 echo "${ECHO_T}$CC" >&6; }
14699 { echo "$as_me:$LINENO: result
: no
" >&5
14700 echo "${ECHO_T}no
" >&6; }
14705 if test -z "$ac_cv_prog_CC"; then
14707 # Extract the first word of "gcc
", so it can be a program name with args.
14708 set dummy gcc; ac_word=$2
14709 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14710 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14711 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14712 echo $ECHO_N "(cached
) $ECHO_C" >&6
14714 if test -n "$ac_ct_CC"; then
14715 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14718 for as_dir in $PATH
14721 test -z "$as_dir" && as_dir=.
14722 for ac_exec_ext in '' $ac_executable_extensions; do
14723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14724 ac_cv_prog_ac_ct_CC="gcc
"
14725 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14734 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14735 if test -n "$ac_ct_CC"; then
14736 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
14737 echo "${ECHO_T}$ac_ct_CC" >&6; }
14739 { echo "$as_me:$LINENO: result
: no
" >&5
14740 echo "${ECHO_T}no
" >&6; }
14743 if test "x
$ac_ct_CC" = x; then
14746 case $cross_compiling:$ac_tool_warned in
14748 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
14749 whose name does not start with the
host triplet. If you think this
14750 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14751 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
14752 whose name does not start with the
host triplet. If you think this
14753 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14754 ac_tool_warned=yes ;;
14759 CC="$ac_cv_prog_CC"
14762 if test -z "$CC"; then
14763 if test -n "$ac_tool_prefix"; then
14764 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
14765 set dummy ${ac_tool_prefix}cc; ac_word=$2
14766 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14767 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14768 if test "${ac_cv_prog_CC+set}" = set; then
14769 echo $ECHO_N "(cached
) $ECHO_C" >&6
14771 if test -n "$CC"; then
14772 ac_cv_prog_CC="$CC" # Let the user override the test.
14774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14775 for as_dir in $PATH
14778 test -z "$as_dir" && as_dir=.
14779 for ac_exec_ext in '' $ac_executable_extensions; do
14780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14781 ac_cv_prog_CC="${ac_tool_prefix}cc
"
14782 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14792 if test -n "$CC"; then
14793 { echo "$as_me:$LINENO: result
: $CC" >&5
14794 echo "${ECHO_T}$CC" >&6; }
14796 { echo "$as_me:$LINENO: result
: no
" >&5
14797 echo "${ECHO_T}no
" >&6; }
14803 if test -z "$CC"; then
14804 # Extract the first word of "cc
", so it can be a program name with args.
14805 set dummy cc; ac_word=$2
14806 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14807 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14808 if test "${ac_cv_prog_CC+set}" = set; then
14809 echo $ECHO_N "(cached
) $ECHO_C" >&6
14811 if test -n "$CC"; then
14812 ac_cv_prog_CC="$CC" # Let the user override the test.
14814 ac_prog_rejected=no
14815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14816 for as_dir in $PATH
14819 test -z "$as_dir" && as_dir=.
14820 for ac_exec_ext in '' $ac_executable_extensions; do
14821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14822 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
14823 ac_prog_rejected=yes
14827 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14834 if test $ac_prog_rejected = yes; then
14835 # We found a bogon in the path, so make sure we never use it.
14836 set dummy $ac_cv_prog_CC
14838 if test $# != 0; then
14839 # We chose a different compiler from the bogus one.
14840 # However, it has the same basename, so the bogon will be chosen
14841 # first if we set CC to just the basename; use the full file name.
14843 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
14849 if test -n "$CC"; then
14850 { echo "$as_me:$LINENO: result
: $CC" >&5
14851 echo "${ECHO_T}$CC" >&6; }
14853 { echo "$as_me:$LINENO: result
: no
" >&5
14854 echo "${ECHO_T}no
" >&6; }
14859 if test -z "$CC"; then
14860 if test -n "$ac_tool_prefix"; then
14861 for ac_prog in cl.exe
14863 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14864 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14865 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14866 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14867 if test "${ac_cv_prog_CC+set}" = set; then
14868 echo $ECHO_N "(cached
) $ECHO_C" >&6
14870 if test -n "$CC"; then
14871 ac_cv_prog_CC="$CC" # Let the user override the test.
14873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14874 for as_dir in $PATH
14877 test -z "$as_dir" && as_dir=.
14878 for ac_exec_ext in '' $ac_executable_extensions; do
14879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14880 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14881 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14891 if test -n "$CC"; then
14892 { echo "$as_me:$LINENO: result
: $CC" >&5
14893 echo "${ECHO_T}$CC" >&6; }
14895 { echo "$as_me:$LINENO: result
: no
" >&5
14896 echo "${ECHO_T}no
" >&6; }
14900 test -n "$CC" && break
14903 if test -z "$CC"; then
14905 for ac_prog in cl.exe
14907 # Extract the first word of "$ac_prog", so it can be a program name with args.
14908 set dummy $ac_prog; ac_word=$2
14909 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14910 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14911 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14912 echo $ECHO_N "(cached
) $ECHO_C" >&6
14914 if test -n "$ac_ct_CC"; then
14915 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14918 for as_dir in $PATH
14921 test -z "$as_dir" && as_dir=.
14922 for ac_exec_ext in '' $ac_executable_extensions; do
14923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14924 ac_cv_prog_ac_ct_CC="$ac_prog"
14925 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14934 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14935 if test -n "$ac_ct_CC"; then
14936 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
14937 echo "${ECHO_T}$ac_ct_CC" >&6; }
14939 { echo "$as_me:$LINENO: result
: no
" >&5
14940 echo "${ECHO_T}no
" >&6; }
14944 test -n "$ac_ct_CC" && break
14947 if test "x
$ac_ct_CC" = x; then
14950 case $cross_compiling:$ac_tool_warned in
14952 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
14953 whose name does not start with the
host triplet. If you think this
14954 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14955 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
14956 whose name does not start with the
host triplet. If you think this
14957 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14958 ac_tool_warned=yes ;;
14967 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
14968 See \
`config.log' for more details." >&5
14969 echo "$as_me: error: no acceptable C compiler found in \$PATH
14970 See \`config.log
' for more details." >&2;}
14971 { (exit 1); exit 1; }; }
14973 # Provide some information about the compiler.
14974 echo "$as_me:$LINENO: checking for C compiler version" >&5
14975 ac_compiler=`set X $ac_compile; echo $2`
14976 { (ac_try="$ac_compiler --version >&5"
14977 case "(($ac_try" in
14978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14979 *) ac_try_echo=$ac_try;;
14981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14982 (eval "$ac_compiler --version >&5") 2>&5
14984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14985 (exit $ac_status); }
14986 { (ac_try="$ac_compiler -v >&5"
14987 case "(($ac_try" in
14988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14989 *) ac_try_echo=$ac_try;;
14991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14992 (eval "$ac_compiler -v >&5") 2>&5
14994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14995 (exit $ac_status); }
14996 { (ac_try="$ac_compiler -V >&5"
14997 case "(($ac_try" in
14998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14999 *) ac_try_echo=$ac_try;;
15001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15002 (eval "$ac_compiler -V >&5") 2>&5
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); }
15007 cat >conftest.$ac_ext <<_ACEOF
15010 cat confdefs.h >>conftest.$ac_ext
15011 cat >>conftest.$ac_ext <<_ACEOF
15012 /* end confdefs.h. */
15022 ac_clean_files_save=$ac_clean_files
15023 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15024 # Try to create an executable without -o first, disregard a.out.
15025 # It will help us diagnose broken compilers, and finding out an intuition
15027 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15028 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15029 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
15031 # List of possible output files, starting from the most likely.
15032 # The algorithm is not robust to junk in `.', hence go to wildcards
(a.
*)
15033 # only as a last resort. b.out is created by i960 compilers.
15034 ac_files
='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
15036 # The IRIX 6 linker writes into existing files which may not be
15037 # executable, retaining their permissions. Remove them first so a
15038 # subsequent execution test works.
15040 for ac_file
in $ac_files
15043 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
15044 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
15049 if { (ac_try
="$ac_link_default"
15050 case "(($ac_try" in
15051 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15052 *) ac_try_echo=$ac_try;;
15054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15055 (eval "$ac_link_default") 2>&5
15057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15058 (exit $ac_status); }; then
15059 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
15060 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
15061 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15062 # so that the user can short-circuit this test for compilers unknown to
15064 for ac_file in $ac_files ''
15066 test -f "$ac_file" || continue
15068 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
15071 # We found the default executable, but exeext='' is most
15075 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
15077 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15079 # We set ac_cv_exeext here because the later test for it is not
15080 # safe: cross compilers may not add the suffix if given an `-o'
15081 # argument, so we may need to know it at that point already.
15082 # Even if this section looks crufty: it has the advantage of
15083 # actually working.
15089 test "$ac_cv_exeext" = no && ac_cv_exeext=
15095 { echo "$as_me:$LINENO: result: $ac_file" >&5
15096 echo "${ECHO_T}$ac_file" >&6; }
15097 if test -z "$ac_file"; then
15098 echo "$as_me: failed program was:" >&5
15099 sed 's
/^
/| /' conftest.$ac_ext >&5
15101 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15102 See \`config.log' for more details.
" >&5
15103 echo "$as_me: error
: C compiler cannot create executables
15104 See \
`config.log' for more details." >&2;}
15105 { (exit 77); exit 77; }; }
15108 ac_exeext=$ac_cv_exeext
15110 # Check that the compiler produces executables we can run. If not, either
15111 # the compiler is broken, or we cross compile.
15112 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15113 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15114 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15115 # If not cross compiling, check that we can run a simple program.
15116 if test "$cross_compiling" != yes; then
15117 if { ac_try='./$ac_file'
15118 { (case "(($ac_try" in
15119 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15120 *) ac_try_echo
=$ac_try;;
15122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15123 (eval "$ac_try") 2>&5
15125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15126 (exit $ac_status); }; }; then
15129 if test "$cross_compiling" = maybe
; then
15130 cross_compiling
=yes
15132 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15133 If you meant to cross compile, use \`--host'.
15134 See \`config.log' for more details." >&5
15135 echo "$as_me: error: cannot run C compiled programs.
15136 If you meant to cross compile, use \`--host'.
15137 See \`config.log' for more details." >&2;}
15138 { (exit 1); exit 1; }; }
15142 { echo "$as_me:$LINENO: result: yes" >&5
15143 echo "${ECHO_T}yes" >&6; }
15145 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
15146 ac_clean_files
=$ac_clean_files_save
15147 # Check that the compiler produces executables we can run. If not, either
15148 # the compiler is broken, or we cross compile.
15149 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15150 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15151 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15152 echo "${ECHO_T}$cross_compiling" >&6; }
15154 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15155 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15156 if { (ac_try
="$ac_link"
15157 case "(($ac_try" in
15158 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15159 *) ac_try_echo=$ac_try;;
15161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15162 (eval "$ac_link") 2>&5
15164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15165 (exit $ac_status); }; then
15166 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
15167 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
15168 # work properly (i.e., refer to `conftest.exe'), while it won't with
15170 for ac_file
in conftest.exe conftest conftest.
*; do
15171 test -f "$ac_file" || continue
15173 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
15174 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
15180 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15181 See \`config.log' for more details." >&5
15182 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15183 See \`config.log' for more details." >&2;}
15184 { (exit 1); exit 1; }; }
15187 rm -f conftest
$ac_cv_exeext
15188 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15189 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15191 rm -f conftest.
$ac_ext
15192 EXEEXT
=$ac_cv_exeext
15194 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15195 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15196 if test "${ac_cv_objext+set}" = set; then
15197 echo $ECHO_N "(cached) $ECHO_C" >&6
15199 cat >conftest.
$ac_ext <<_ACEOF
15202 cat confdefs.h
>>conftest.
$ac_ext
15203 cat >>conftest.
$ac_ext <<_ACEOF
15204 /* end confdefs.h. */
15214 rm -f conftest.o conftest.obj
15215 if { (ac_try
="$ac_compile"
15216 case "(($ac_try" in
15217 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15218 *) ac_try_echo=$ac_try;;
15220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15221 (eval "$ac_compile") 2>&5
15223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15224 (exit $ac_status); }; then
15225 for ac_file in conftest.o conftest.obj conftest.*; do
15226 test -f "$ac_file" || continue;
15228 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15229 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15234 echo "$as_me: failed program was:" >&5
15235 sed 's/^/| /' conftest.$ac_ext >&5
15237 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15238 See \`config.log
' for more details." >&5
15239 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15240 See \`config.log' for more details.
" >&2;}
15241 { (exit 1); exit 1; }; }
15244 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15246 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
15247 echo "${ECHO_T}$ac_cv_objext" >&6; }
15248 OBJEXT=$ac_cv_objext
15250 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
15251 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
15252 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15253 echo $ECHO_N "(cached
) $ECHO_C" >&6
15255 cat >conftest.$ac_ext <<_ACEOF
15258 cat confdefs.h >>conftest.$ac_ext
15259 cat >>conftest.$ac_ext <<_ACEOF
15260 /* end confdefs.h. */
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_compiler_gnu=yes
15292 echo "$as_me: failed program was
:" >&5
15293 sed 's/^/| /' conftest.$ac_ext >&5
15298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15299 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15302 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
15303 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15304 GCC=`test $ac_compiler_gnu = yes && echo yes`
15305 ac_test_CFLAGS=${CFLAGS+set}
15306 ac_save_CFLAGS=$CFLAGS
15307 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
15308 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
15309 if test "${ac_cv_prog_cc_g+set}" = set; then
15310 echo $ECHO_N "(cached
) $ECHO_C" >&6
15312 ac_save_c_werror_flag=$ac_c_werror_flag
15313 ac_c_werror_flag=yes
15316 cat >conftest.$ac_ext <<_ACEOF
15319 cat confdefs.h >>conftest.$ac_ext
15320 cat >>conftest.$ac_ext <<_ACEOF
15321 /* end confdefs.h. */
15331 rm -f conftest.$ac_objext
15332 if { (ac_try="$ac_compile"
15333 case "(($ac_try" in
15334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15335 *) ac_try_echo=$ac_try;;
15337 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15338 (eval "$ac_compile") 2>conftest.er1
15340 grep -v '^ *+' conftest.er1 >conftest.err
15342 cat conftest.err >&5
15343 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15344 (exit $ac_status); } && {
15345 test -z "$ac_c_werror_flag" ||
15346 test ! -s conftest.err
15347 } && test -s conftest.$ac_objext; then
15348 ac_cv_prog_cc_g=yes
15350 echo "$as_me: failed program was
:" >&5
15351 sed 's/^/| /' conftest.$ac_ext >&5
15354 cat >conftest.$ac_ext <<_ACEOF
15357 cat confdefs.h >>conftest.$ac_ext
15358 cat >>conftest.$ac_ext <<_ACEOF
15359 /* end confdefs.h. */
15369 rm -f conftest.$ac_objext
15370 if { (ac_try="$ac_compile"
15371 case "(($ac_try" in
15372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15373 *) ac_try_echo=$ac_try;;
15375 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15376 (eval "$ac_compile") 2>conftest.er1
15378 grep -v '^ *+' conftest.er1 >conftest.err
15380 cat conftest.err >&5
15381 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15382 (exit $ac_status); } && {
15383 test -z "$ac_c_werror_flag" ||
15384 test ! -s conftest.err
15385 } && test -s conftest.$ac_objext; then
15388 echo "$as_me: failed program was
:" >&5
15389 sed 's/^/| /' conftest.$ac_ext >&5
15391 ac_c_werror_flag=$ac_save_c_werror_flag
15393 cat >conftest.$ac_ext <<_ACEOF
15396 cat confdefs.h >>conftest.$ac_ext
15397 cat >>conftest.$ac_ext <<_ACEOF
15398 /* end confdefs.h. */
15408 rm -f conftest.$ac_objext
15409 if { (ac_try="$ac_compile"
15410 case "(($ac_try" in
15411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15412 *) ac_try_echo=$ac_try;;
15414 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15415 (eval "$ac_compile") 2>conftest.er1
15417 grep -v '^ *+' conftest.er1 >conftest.err
15419 cat conftest.err >&5
15420 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15421 (exit $ac_status); } && {
15422 test -z "$ac_c_werror_flag" ||
15423 test ! -s conftest.err
15424 } && test -s conftest.$ac_objext; then
15425 ac_cv_prog_cc_g=yes
15427 echo "$as_me: failed program was
:" >&5
15428 sed 's/^/| /' conftest.$ac_ext >&5
15433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15440 ac_c_werror_flag=$ac_save_c_werror_flag
15442 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
15443 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15444 if test "$ac_test_CFLAGS" = set; then
15445 CFLAGS=$ac_save_CFLAGS
15446 elif test $ac_cv_prog_cc_g = yes; then
15447 if test "$GCC" = yes; then
15453 if test "$GCC" = yes; then
15459 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
15460 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
15461 if test "${ac_cv_prog_cc_c89+set}" = set; then
15462 echo $ECHO_N "(cached
) $ECHO_C" >&6
15464 ac_cv_prog_cc_c89=no
15466 cat >conftest.$ac_ext <<_ACEOF
15469 cat confdefs.h >>conftest.$ac_ext
15470 cat >>conftest.$ac_ext <<_ACEOF
15471 /* end confdefs.h. */
15472 #include <stdarg.h>
15474 #include <sys/types.h>
15475 #include <sys/stat.h>
15476 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15477 struct buf { int x; };
15478 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15479 static char *e (p, i)
15485 static char *f (char * (*g) (char **, int), char **p, ...)
15490 s = g (p, va_arg (v,int));
15495 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15496 function prototypes and stuff, but not '\xHH' hex character constants.
15497 These don't provoke an error unfortunately, instead are silently treated
15498 as 'x'. The following induces an error, until -std is added to get
15499 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15500 array size at least. It's necessary to write '\x00'==0 to get something
15501 that's true only with -std. */
15502 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15504 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15505 inside strings and character constants. */
15507 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15509 int test (int i, double x);
15510 struct s1 {int (*f) (int a);};
15511 struct s2 {int (*f) (double a);};
15512 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15518 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15523 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15524 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15526 CC="$ac_save_CC $ac_arg"
15527 rm -f conftest.$ac_objext
15528 if { (ac_try="$ac_compile"
15529 case "(($ac_try" in
15530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15531 *) ac_try_echo=$ac_try;;
15533 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15534 (eval "$ac_compile") 2>conftest.er1
15536 grep -v '^ *+' conftest.er1 >conftest.err
15538 cat conftest.err >&5
15539 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15540 (exit $ac_status); } && {
15541 test -z "$ac_c_werror_flag" ||
15542 test ! -s conftest.err
15543 } && test -s conftest.$ac_objext; then
15544 ac_cv_prog_cc_c89=$ac_arg
15546 echo "$as_me: failed program was
:" >&5
15547 sed 's/^/| /' conftest.$ac_ext >&5
15552 rm -f core conftest.err conftest.$ac_objext
15553 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
15555 rm -f conftest.$ac_ext
15560 case "x
$ac_cv_prog_cc_c89" in
15562 { echo "$as_me:$LINENO: result
: none needed
" >&5
15563 echo "${ECHO_T}none needed
" >&6; } ;;
15565 { echo "$as_me:$LINENO: result
: unsupported
" >&5
15566 echo "${ECHO_T}unsupported
" >&6; } ;;
15568 CC="$CC $ac_cv_prog_cc_c89"
15569 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
15570 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15575 ac_cpp='$CPP $CPPFLAGS'
15576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15588 ac_cpp='$CPP $CPPFLAGS'
15589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15593 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
15594 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
15595 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15596 echo $ECHO_N "(cached
) $ECHO_C" >&6
15598 cat >conftest.$ac_ext <<_ACEOF
15601 cat confdefs.h >>conftest.$ac_ext
15602 cat >>conftest.$ac_ext <<_ACEOF
15603 /* end confdefs.h. */
15609 #ifndef __INTEL_COMPILER
15617 rm -f conftest.$ac_objext
15618 if { (ac_try="$ac_compile"
15619 case "(($ac_try" in
15620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15621 *) ac_try_echo=$ac_try;;
15623 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15624 (eval "$ac_compile") 2>conftest.er1
15626 grep -v '^ *+' conftest.er1 >conftest.err
15628 cat conftest.err >&5
15629 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15630 (exit $ac_status); } && {
15631 test -z "$ac_c_werror_flag" ||
15632 test ! -s conftest.err
15633 } && test -s conftest.$ac_objext; then
15634 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15636 echo "$as_me: failed program was
:" >&5
15637 sed 's/^/| /' conftest.$ac_ext >&5
15639 bakefile_cv_c_compiler___INTEL_COMPILER=no
15643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15647 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15648 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15649 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
15655 ac_cpp='$CPP $CPPFLAGS'
15656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15663 if test "$INTELCC" = "yes"; then
15667 ac_cpp='$CPP $CPPFLAGS'
15668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15672 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
15673 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
15674 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15675 echo $ECHO_N "(cached
) $ECHO_C" >&6
15677 cat >conftest.$ac_ext <<_ACEOF
15680 cat confdefs.h >>conftest.$ac_ext
15681 cat >>conftest.$ac_ext <<_ACEOF
15682 /* end confdefs.h. */
15688 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15696 rm -f conftest.$ac_objext
15697 if { (ac_try="$ac_compile"
15698 case "(($ac_try" in
15699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15700 *) ac_try_echo=$ac_try;;
15702 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15703 (eval "$ac_compile") 2>conftest.er1
15705 grep -v '^ *+' conftest.er1 >conftest.err
15707 cat conftest.err >&5
15708 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15709 (exit $ac_status); } && {
15710 test -z "$ac_c_werror_flag" ||
15711 test ! -s conftest.err
15712 } && test -s conftest.$ac_objext; then
15713 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15715 echo "$as_me: failed program was
:" >&5
15716 sed 's/^/| /' conftest.$ac_ext >&5
15718 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15726 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15727 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15728 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
15734 ac_cpp='$CPP $CPPFLAGS'
15735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15744 ac_cpp='$CPP $CPPFLAGS'
15745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15749 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
15750 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
15751 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15752 echo $ECHO_N "(cached
) $ECHO_C" >&6
15754 cat >conftest.$ac_ext <<_ACEOF
15757 cat confdefs.h >>conftest.$ac_ext
15758 cat >>conftest.$ac_ext <<_ACEOF
15759 /* end confdefs.h. */
15765 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15773 rm -f conftest.$ac_objext
15774 if { (ac_try="$ac_compile"
15775 case "(($ac_try" in
15776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15777 *) ac_try_echo=$ac_try;;
15779 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15780 (eval "$ac_compile") 2>conftest.er1
15782 grep -v '^ *+' conftest.er1 >conftest.err
15784 cat conftest.err >&5
15785 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15786 (exit $ac_status); } && {
15787 test -z "$ac_c_werror_flag" ||
15788 test ! -s conftest.err
15789 } && test -s conftest.$ac_objext; then
15790 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15792 echo "$as_me: failed program was
:" >&5
15793 sed 's/^/| /' conftest.$ac_ext >&5
15795 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15803 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15804 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15805 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
15811 ac_cpp='$CPP $CPPFLAGS'
15812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15820 if test "x
$GCC" != "xyes
"; then
15821 if test "xCC
" = "xC
"; then
15822 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
15823 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
15824 if test "${bakefile_cv_c_exto+set}" = set; then
15825 echo $ECHO_N "(cached
) $ECHO_C" >&6
15827 cat >conftest.$ac_ext <<_ACEOF
15830 cat confdefs.h >>conftest.$ac_ext
15831 cat >>conftest.$ac_ext <<_ACEOF
15832 /* end confdefs.h. */
15842 rm -f conftest.$ac_objext conftest.$ac_ext.o
15843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15844 (eval $ac_compile) 2>&5
15846 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15847 (exit $ac_status); }; then
15848 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15850 conftest.$ac_ext.o)
15851 bakefile_cv_c_exto="-ext o
"
15858 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15859 See \
`config.log' for more details." >&5
15860 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15861 See \`config.log
' for more details." >&2;}
15862 { (exit 1); exit 1; }; }
15866 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15869 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15870 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15871 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15872 if test "c" = "c"; then
15873 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15875 if test "c" = "cxx"; then
15876 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15880 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15881 unset ac_cv_prog_cc_g
15882 ac_test_CFLAGS=${CFLAGS+set}
15883 ac_save_CFLAGS=$CFLAGS
15884 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15885 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15886 if test "${ac_cv_prog_cc_g+set}" = set; then
15887 echo $ECHO_N "(cached) $ECHO_C" >&6
15889 ac_save_c_werror_flag=$ac_c_werror_flag
15890 ac_c_werror_flag=yes
15893 cat >conftest.$ac_ext <<_ACEOF
15896 cat confdefs.h >>conftest.$ac_ext
15897 cat >>conftest.$ac_ext <<_ACEOF
15898 /* end confdefs.h. */
15908 rm -f conftest.$ac_objext
15909 if { (ac_try="$ac_compile"
15910 case "(($ac_try" in
15911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15912 *) ac_try_echo=$ac_try;;
15914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15915 (eval "$ac_compile") 2>conftest.er1
15917 grep -v '^
*+' conftest.er1 >conftest.err
15919 cat conftest.err >&5
15920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15921 (exit $ac_status); } && {
15922 test -z "$ac_c_werror_flag" ||
15923 test ! -s conftest.err
15924 } && test -s conftest.$ac_objext; then
15925 ac_cv_prog_cc_g=yes
15927 echo "$as_me: failed program was:" >&5
15928 sed 's
/^
/| /' conftest.$ac_ext >&5
15931 cat >conftest.$ac_ext <<_ACEOF
15934 cat confdefs.h >>conftest.$ac_ext
15935 cat >>conftest.$ac_ext <<_ACEOF
15936 /* end confdefs.h. */
15946 rm -f conftest.$ac_objext
15947 if { (ac_try="$ac_compile"
15948 case "(($ac_try" in
15949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15950 *) ac_try_echo=$ac_try;;
15952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15953 (eval "$ac_compile") 2>conftest.er1
15955 grep -v '^
*+' conftest.er1 >conftest.err
15957 cat conftest.err >&5
15958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959 (exit $ac_status); } && {
15960 test -z "$ac_c_werror_flag" ||
15961 test ! -s conftest.err
15962 } && test -s conftest.$ac_objext; then
15965 echo "$as_me: failed program was:" >&5
15966 sed 's
/^
/| /' conftest.$ac_ext >&5
15968 ac_c_werror_flag=$ac_save_c_werror_flag
15970 cat >conftest.$ac_ext <<_ACEOF
15973 cat confdefs.h >>conftest.$ac_ext
15974 cat >>conftest.$ac_ext <<_ACEOF
15975 /* end confdefs.h. */
15985 rm -f conftest.$ac_objext
15986 if { (ac_try="$ac_compile"
15987 case "(($ac_try" in
15988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15989 *) ac_try_echo=$ac_try;;
15991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15992 (eval "$ac_compile") 2>conftest.er1
15994 grep -v '^
*+' conftest.er1 >conftest.err
15996 cat conftest.err >&5
15997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15998 (exit $ac_status); } && {
15999 test -z "$ac_c_werror_flag" ||
16000 test ! -s conftest.err
16001 } && test -s conftest.$ac_objext; then
16002 ac_cv_prog_cc_g=yes
16004 echo "$as_me: failed program was:" >&5
16005 sed 's
/^
/| /' conftest.$ac_ext >&5
16010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16017 ac_c_werror_flag=$ac_save_c_werror_flag
16019 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16020 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16021 if test "$ac_test_CFLAGS" = set; then
16022 CFLAGS=$ac_save_CFLAGS
16023 elif test $ac_cv_prog_cc_g = yes; then
16024 if test "$GCC" = yes; then
16030 if test "$GCC" = yes; then
16044 ac_cpp='$CPP $CPPFLAGS'
16045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16046 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16049 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16050 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16051 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16052 echo $ECHO_N "(cached) $ECHO_C" >&6
16054 cat >conftest.$ac_ext <<_ACEOF
16057 cat confdefs.h >>conftest.$ac_ext
16058 cat >>conftest.$ac_ext <<_ACEOF
16059 /* end confdefs.h. */
16073 rm -f conftest.$ac_objext
16074 if { (ac_try="$ac_compile"
16075 case "(($ac_try" in
16076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16077 *) ac_try_echo=$ac_try;;
16079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16080 (eval "$ac_compile") 2>conftest.er1
16082 grep -v '^
*+' conftest.er1 >conftest.err
16084 cat conftest.err >&5
16085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16086 (exit $ac_status); } && {
16087 test -z "$ac_c_werror_flag" ||
16088 test ! -s conftest.err
16089 } && test -s conftest.$ac_objext; then
16090 bakefile_cv_c_compiler___xlC__=yes
16092 echo "$as_me: failed program was:" >&5
16093 sed 's
/^
/| /' conftest.$ac_ext >&5
16095 bakefile_cv_c_compiler___xlC__=no
16099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16103 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16104 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16105 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16111 ac_cpp='$CPP $CPPFLAGS'
16112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16113 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16124 ac_cpp='$CPP $CPPFLAGS'
16125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16126 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16129 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16130 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16131 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16132 echo $ECHO_N "(cached) $ECHO_C" >&6
16134 cat >conftest.$ac_ext <<_ACEOF
16137 cat confdefs.h >>conftest.$ac_ext
16138 cat >>conftest.$ac_ext <<_ACEOF
16139 /* end confdefs.h. */
16153 rm -f conftest.$ac_objext
16154 if { (ac_try="$ac_compile"
16155 case "(($ac_try" in
16156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16157 *) ac_try_echo=$ac_try;;
16159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16160 (eval "$ac_compile") 2>conftest.er1
16162 grep -v '^
*+' conftest.er1 >conftest.err
16164 cat conftest.err >&5
16165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16166 (exit $ac_status); } && {
16167 test -z "$ac_c_werror_flag" ||
16168 test ! -s conftest.err
16169 } && test -s conftest.$ac_objext; then
16170 bakefile_cv_c_compiler___MWERKS__=yes
16172 echo "$as_me: failed program was:" >&5
16173 sed 's
/^
/| /' conftest.$ac_ext >&5
16175 bakefile_cv_c_compiler___MWERKS__=no
16179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16183 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16184 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16185 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
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
16198 if test "$MWCC" != "yes"; then
16202 ac_cpp='$CPP $CPPFLAGS'
16203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16204 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16207 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16208 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16209 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16210 echo $ECHO_N "(cached) $ECHO_C" >&6
16212 cat >conftest.$ac_ext <<_ACEOF
16215 cat confdefs.h >>conftest.$ac_ext
16216 cat >>conftest.$ac_ext <<_ACEOF
16217 /* end confdefs.h. */
16231 rm -f conftest.$ac_objext
16232 if { (ac_try="$ac_compile"
16233 case "(($ac_try" in
16234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16235 *) ac_try_echo=$ac_try;;
16237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16238 (eval "$ac_compile") 2>conftest.er1
16240 grep -v '^
*+' conftest.er1 >conftest.err
16242 cat conftest.err >&5
16243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244 (exit $ac_status); } && {
16245 test -z "$ac_c_werror_flag" ||
16246 test ! -s conftest.err
16247 } && test -s conftest.$ac_objext; then
16248 bakefile_cv_c_compiler___xlC__=yes
16250 echo "$as_me: failed program was:" >&5
16251 sed 's
/^
/| /' conftest.$ac_ext >&5
16253 bakefile_cv_c_compiler___xlC__=no
16257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16261 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16262 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16263 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16269 ac_cpp='$CPP $CPPFLAGS'
16270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16271 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16283 ac_cpp='$CPP $CPPFLAGS'
16284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16285 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16288 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16289 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16290 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16291 echo $ECHO_N "(cached) $ECHO_C" >&6
16293 cat >conftest.$ac_ext <<_ACEOF
16296 cat confdefs.h >>conftest.$ac_ext
16297 cat >>conftest.$ac_ext <<_ACEOF
16298 /* end confdefs.h. */
16304 #ifndef _SGI_COMPILER_VERSION
16312 rm -f conftest.$ac_objext
16313 if { (ac_try="$ac_compile"
16314 case "(($ac_try" in
16315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16316 *) ac_try_echo=$ac_try;;
16318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16319 (eval "$ac_compile") 2>conftest.er1
16321 grep -v '^
*+' conftest.er1 >conftest.err
16323 cat conftest.err >&5
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); } && {
16326 test -z "$ac_c_werror_flag" ||
16327 test ! -s conftest.err
16328 } && test -s conftest.$ac_objext; then
16329 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16331 echo "$as_me: failed program was:" >&5
16332 sed 's
/^
/| /' conftest.$ac_ext >&5
16334 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16342 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16343 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16344 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16350 ac_cpp='$CPP $CPPFLAGS'
16351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16352 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16360 if test "$INTELCC" != "yes"; then
16364 ac_cpp='$CPP $CPPFLAGS'
16365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16366 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16369 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16370 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16371 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16372 echo $ECHO_N "(cached) $ECHO_C" >&6
16374 cat >conftest.$ac_ext <<_ACEOF
16377 cat confdefs.h >>conftest.$ac_ext
16378 cat >>conftest.$ac_ext <<_ACEOF
16379 /* end confdefs.h. */
16393 rm -f conftest.$ac_objext
16394 if { (ac_try="$ac_compile"
16395 case "(($ac_try" in
16396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16397 *) ac_try_echo=$ac_try;;
16399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16400 (eval "$ac_compile") 2>conftest.er1
16402 grep -v '^
*+' conftest.er1 >conftest.err
16404 cat conftest.err >&5
16405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16406 (exit $ac_status); } && {
16407 test -z "$ac_c_werror_flag" ||
16408 test ! -s conftest.err
16409 } && test -s conftest.$ac_objext; then
16410 bakefile_cv_c_compiler___SUNPRO_C=yes
16412 echo "$as_me: failed program was:" >&5
16413 sed 's
/^
/| /' conftest.$ac_ext >&5
16415 bakefile_cv_c_compiler___SUNPRO_C=no
16419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16423 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16424 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16425 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16431 ac_cpp='$CPP $CPPFLAGS'
16432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16433 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16445 ac_cpp='$CPP $CPPFLAGS'
16446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16447 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16450 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16451 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16452 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16453 echo $ECHO_N "(cached) $ECHO_C" >&6
16455 cat >conftest.$ac_ext <<_ACEOF
16458 cat confdefs.h >>conftest.$ac_ext
16459 cat >>conftest.$ac_ext <<_ACEOF
16460 /* end confdefs.h. */
16474 rm -f conftest.$ac_objext
16475 if { (ac_try="$ac_compile"
16476 case "(($ac_try" in
16477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16478 *) ac_try_echo=$ac_try;;
16480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16481 (eval "$ac_compile") 2>conftest.er1
16483 grep -v '^
*+' conftest.er1 >conftest.err
16485 cat conftest.err >&5
16486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16487 (exit $ac_status); } && {
16488 test -z "$ac_c_werror_flag" ||
16489 test ! -s conftest.err
16490 } && test -s conftest.$ac_objext; then
16491 bakefile_cv_c_compiler___HP_cc=yes
16493 echo "$as_me: failed program was:" >&5
16494 sed 's
/^
/| /' conftest.$ac_ext >&5
16496 bakefile_cv_c_compiler___HP_cc=no
16500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16504 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16505 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16506 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16512 ac_cpp='$CPP $CPPFLAGS'
16513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16514 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16525 ac_cpp='$CPP $CPPFLAGS'
16526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16527 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16530 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16531 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16532 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16533 echo $ECHO_N "(cached) $ECHO_C" >&6
16535 cat >conftest.$ac_ext <<_ACEOF
16538 cat confdefs.h >>conftest.$ac_ext
16539 cat >>conftest.$ac_ext <<_ACEOF
16540 /* end confdefs.h. */
16554 rm -f conftest.$ac_objext
16555 if { (ac_try="$ac_compile"
16556 case "(($ac_try" in
16557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16558 *) ac_try_echo=$ac_try;;
16560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16561 (eval "$ac_compile") 2>conftest.er1
16563 grep -v '^
*+' conftest.er1 >conftest.err
16565 cat conftest.err >&5
16566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16567 (exit $ac_status); } && {
16568 test -z "$ac_c_werror_flag" ||
16569 test ! -s conftest.err
16570 } && test -s conftest.$ac_objext; then
16571 bakefile_cv_c_compiler___DECC=yes
16573 echo "$as_me: failed program was:" >&5
16574 sed 's
/^
/| /' conftest.$ac_ext >&5
16576 bakefile_cv_c_compiler___DECC=no
16580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16584 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16585 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16586 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16592 ac_cpp='$CPP $CPPFLAGS'
16593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16594 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16605 ac_cpp='$CPP $CPPFLAGS'
16606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16607 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16610 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16611 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16612 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16613 echo $ECHO_N "(cached) $ECHO_C" >&6
16615 cat >conftest.$ac_ext <<_ACEOF
16618 cat confdefs.h >>conftest.$ac_ext
16619 cat >>conftest.$ac_ext <<_ACEOF
16620 /* end confdefs.h. */
16634 rm -f conftest.$ac_objext
16635 if { (ac_try="$ac_compile"
16636 case "(($ac_try" in
16637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16638 *) ac_try_echo=$ac_try;;
16640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16641 (eval "$ac_compile") 2>conftest.er1
16643 grep -v '^
*+' conftest.er1 >conftest.err
16645 cat conftest.err >&5
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); } && {
16648 test -z "$ac_c_werror_flag" ||
16649 test ! -s conftest.err
16650 } && test -s conftest.$ac_objext; then
16651 bakefile_cv_c_compiler___SUNPRO_C=yes
16653 echo "$as_me: failed program was:" >&5
16654 sed 's
/^
/| /' conftest.$ac_ext >&5
16656 bakefile_cv_c_compiler___SUNPRO_C=no
16660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16664 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16665 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16666 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16672 ac_cpp='$CPP $CPPFLAGS'
16673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16674 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16686 ac_cpp='$CPP $CPPFLAGS'
16687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16688 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16690 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16691 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16692 # On Suns, sometimes $CPP names a directory.
16693 if test -n "$CPP" && test -d "$CPP"; then
16696 if test -z "$CPP"; then
16697 if test "${ac_cv_prog_CPP+set}" = set; then
16698 echo $ECHO_N "(cached) $ECHO_C" >&6
16700 # Double quotes because CPP needs to be expanded
16701 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16703 ac_preproc_ok=false
16704 for ac_c_preproc_warn_flag in '' yes
16706 # Use a header file that comes with gcc, so configuring glibc
16707 # with a fresh cross-compiler works.
16708 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16709 # <limits.h> exists even on freestanding compilers.
16710 # On the NeXT, cc -E runs the code through the compiler's parser
,
16711 # not just through cpp. "Syntax error" is here to catch this case.
16712 cat >conftest.
$ac_ext <<_ACEOF
16715 cat confdefs.h
>>conftest.
$ac_ext
16716 cat >>conftest.
$ac_ext <<_ACEOF
16717 /* end confdefs.h. */
16719 # include <limits.h>
16721 # include <assert.h>
16725 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16726 case "(($ac_try" in
16727 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16728 *) ac_try_echo=$ac_try;;
16730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16731 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16733 grep -v '^ *+' conftest.er1 >conftest.err
16735 cat conftest.err >&5
16736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 (exit $ac_status); } >/dev/null && {
16738 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16739 test ! -s conftest.err
16743 echo "$as_me: failed program was:" >&5
16744 sed 's/^/| /' conftest.$ac_ext >&5
16746 # Broken: fails on valid input.
16750 rm -f conftest.err conftest.$ac_ext
16752 # OK, works on sane cases. Now check whether nonexistent headers
16753 # can be detected and how.
16754 cat >conftest.$ac_ext <<_ACEOF
16757 cat confdefs.h >>conftest.$ac_ext
16758 cat >>conftest.$ac_ext <<_ACEOF
16759 /* end confdefs.h. */
16760 #include <ac_nonexistent.h>
16762 if { (ac_try="$ac_cpp conftest.$ac_ext"
16763 case "(($ac_try" in
16764 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16765 *) ac_try_echo
=$ac_try;;
16767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16768 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16770 grep -v '^ *+' conftest.er1
>conftest.err
16772 cat conftest.err
>&5
16773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774 (exit $ac_status); } >/dev
/null
&& {
16775 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16776 test ! -s conftest.err
16778 # Broken: success on invalid input.
16781 echo "$as_me: failed program was:" >&5
16782 sed 's/^/| /' conftest.
$ac_ext >&5
16784 # Passes both tests.
16789 rm -f conftest.err conftest.
$ac_ext
16792 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16793 rm -f conftest.err conftest.
$ac_ext
16794 if $ac_preproc_ok; then
16799 ac_cv_prog_CPP
=$CPP
16802 CPP
=$ac_cv_prog_CPP
16804 ac_cv_prog_CPP
=$CPP
16806 { echo "$as_me:$LINENO: result: $CPP" >&5
16807 echo "${ECHO_T}$CPP" >&6; }
16808 ac_preproc_ok
=false
16809 for ac_c_preproc_warn_flag
in '' yes
16811 # Use a header file that comes with gcc, so configuring glibc
16812 # with a fresh cross-compiler works.
16813 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16814 # <limits.h> exists even on freestanding compilers.
16815 # On the NeXT, cc -E runs the code through the compiler's parser,
16816 # not just through cpp. "Syntax error" is here to catch this case.
16817 cat >conftest.
$ac_ext <<_ACEOF
16820 cat confdefs.h
>>conftest.
$ac_ext
16821 cat >>conftest.
$ac_ext <<_ACEOF
16822 /* end confdefs.h. */
16824 # include <limits.h>
16826 # include <assert.h>
16830 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16831 case "(($ac_try" in
16832 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16833 *) ac_try_echo=$ac_try;;
16835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16836 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16838 grep -v '^ *+' conftest.er1 >conftest.err
16840 cat conftest.err >&5
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842 (exit $ac_status); } >/dev/null && {
16843 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16844 test ! -s conftest.err
16848 echo "$as_me: failed program was:" >&5
16849 sed 's/^/| /' conftest.$ac_ext >&5
16851 # Broken: fails on valid input.
16855 rm -f conftest.err conftest.$ac_ext
16857 # OK, works on sane cases. Now check whether nonexistent headers
16858 # can be detected and how.
16859 cat >conftest.$ac_ext <<_ACEOF
16862 cat confdefs.h >>conftest.$ac_ext
16863 cat >>conftest.$ac_ext <<_ACEOF
16864 /* end confdefs.h. */
16865 #include <ac_nonexistent.h>
16867 if { (ac_try="$ac_cpp conftest.$ac_ext"
16868 case "(($ac_try" in
16869 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16870 *) ac_try_echo
=$ac_try;;
16872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16873 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16875 grep -v '^ *+' conftest.er1
>conftest.err
16877 cat conftest.err
>&5
16878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16879 (exit $ac_status); } >/dev
/null
&& {
16880 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16881 test ! -s conftest.err
16883 # Broken: success on invalid input.
16886 echo "$as_me: failed program was:" >&5
16887 sed 's/^/| /' conftest.
$ac_ext >&5
16889 # Passes both tests.
16894 rm -f conftest.err conftest.
$ac_ext
16897 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16898 rm -f conftest.err conftest.
$ac_ext
16899 if $ac_preproc_ok; then
16902 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16903 See \`config.log' for more details." >&5
16904 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16905 See \`config.log' for more details." >&2;}
16906 { (exit 1); exit 1; }; }
16910 ac_cpp
='$CPP $CPPFLAGS'
16911 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16912 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16913 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16916 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16917 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16918 if test "${ac_cv_path_GREP+set}" = set; then
16919 echo $ECHO_N "(cached) $ECHO_C" >&6
16921 # Extract the first word of "grep ggrep" to use in msg output
16922 if test -z "$GREP"; then
16923 set dummy
grep ggrep
; ac_prog_name
=$2
16924 if test "${ac_cv_path_GREP+set}" = set; then
16925 echo $ECHO_N "(cached) $ECHO_C" >&6
16927 ac_path_GREP_found
=false
16928 # Loop through the user's path and test for each of PROGNAME-LIST
16929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16930 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16933 test -z "$as_dir" && as_dir
=.
16934 for ac_prog
in grep ggrep
; do
16935 for ac_exec_ext
in '' $ac_executable_extensions; do
16936 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16937 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16938 # Check for GNU ac_path_GREP and select it if it is found.
16939 # Check for GNU $ac_path_GREP
16940 case `"$ac_path_GREP" --version 2>&1` in
16942 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16945 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16948 cat "conftest.in" "conftest.in" >"conftest.tmp"
16949 mv "conftest.tmp" "conftest.in"
16950 cp "conftest.in" "conftest.nl"
16951 echo 'GREP' >> "conftest.nl"
16952 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16953 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16954 ac_count
=`expr $ac_count + 1`
16955 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16956 # Best one so far, save it but keep looking for a better one
16957 ac_cv_path_GREP
="$ac_path_GREP"
16958 ac_path_GREP_max
=$ac_count
16960 # 10*(2^10) chars as input seems more than enough
16961 test $ac_count -gt 10 && break
16963 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16967 $ac_path_GREP_found && break 3
16977 GREP
="$ac_cv_path_GREP"
16978 if test -z "$GREP"; then
16979 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16980 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16981 { (exit 1); exit 1; }; }
16985 ac_cv_path_GREP
=$GREP
16990 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16991 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16992 GREP
="$ac_cv_path_GREP"
16995 { echo "$as_me:$LINENO: checking for egrep" >&5
16996 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16997 if test "${ac_cv_path_EGREP+set}" = set; then
16998 echo $ECHO_N "(cached) $ECHO_C" >&6
17000 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
17001 then ac_cv_path_EGREP
="$GREP -E"
17003 # Extract the first word of "egrep" to use in msg output
17004 if test -z "$EGREP"; then
17005 set dummy
egrep; ac_prog_name
=$2
17006 if test "${ac_cv_path_EGREP+set}" = set; then
17007 echo $ECHO_N "(cached) $ECHO_C" >&6
17009 ac_path_EGREP_found
=false
17010 # Loop through the user's path and test for each of PROGNAME-LIST
17011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17012 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17015 test -z "$as_dir" && as_dir
=.
17016 for ac_prog
in egrep; do
17017 for ac_exec_ext
in '' $ac_executable_extensions; do
17018 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
17019 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17020 # Check for GNU ac_path_EGREP and select it if it is found.
17021 # Check for GNU $ac_path_EGREP
17022 case `"$ac_path_EGREP" --version 2>&1` in
17024 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
17027 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17030 cat "conftest.in" "conftest.in" >"conftest.tmp"
17031 mv "conftest.tmp" "conftest.in"
17032 cp "conftest.in" "conftest.nl"
17033 echo 'EGREP' >> "conftest.nl"
17034 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17035 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17036 ac_count
=`expr $ac_count + 1`
17037 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17038 # Best one so far, save it but keep looking for a better one
17039 ac_cv_path_EGREP
="$ac_path_EGREP"
17040 ac_path_EGREP_max
=$ac_count
17042 # 10*(2^10) chars as input seems more than enough
17043 test $ac_count -gt 10 && break
17045 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
17049 $ac_path_EGREP_found && break 3
17059 EGREP
="$ac_cv_path_EGREP"
17060 if test -z "$EGREP"; then
17061 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17062 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17063 { (exit 1); exit 1; }; }
17067 ac_cv_path_EGREP
=$EGREP
17073 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17074 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17075 EGREP
="$ac_cv_path_EGREP"
17078 if test $ac_cv_c_compiler_gnu = yes; then
17079 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17080 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17081 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17082 echo $ECHO_N "(cached) $ECHO_C" >&6
17084 ac_pattern
="Autoconf.*'x'"
17085 cat >conftest.
$ac_ext <<_ACEOF
17088 cat confdefs.h
>>conftest.
$ac_ext
17089 cat >>conftest.
$ac_ext <<_ACEOF
17090 /* end confdefs.h. */
17094 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17095 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
17096 ac_cv_prog_gcc_traditional
=yes
17098 ac_cv_prog_gcc_traditional
=no
17103 if test $ac_cv_prog_gcc_traditional = no
; then
17104 cat >conftest.
$ac_ext <<_ACEOF
17107 cat confdefs.h
>>conftest.
$ac_ext
17108 cat >>conftest.
$ac_ext <<_ACEOF
17109 /* end confdefs.h. */
17110 #include <termio.h>
17113 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17114 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
17115 ac_cv_prog_gcc_traditional
=yes
17121 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17122 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17123 if test $ac_cv_prog_gcc_traditional = yes; then
17124 CC
="$CC -traditional"
17129 CXXFLAGS
=${CXXFLAGS:=}
17131 ac_cpp
='$CXXCPP $CPPFLAGS'
17132 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17133 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17134 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17135 if test -z "$CXX"; then
17136 if test -n "$CCC"; then
17139 if test -n "$ac_tool_prefix"; then
17140 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
17142 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17143 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
17144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17146 if test "${ac_cv_prog_CXX+set}" = set; then
17147 echo $ECHO_N "(cached) $ECHO_C" >&6
17149 if test -n "$CXX"; then
17150 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
17152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17153 for as_dir
in $PATH
17156 test -z "$as_dir" && as_dir
=.
17157 for ac_exec_ext
in '' $ac_executable_extensions; do
17158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17159 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
17160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17169 CXX
=$ac_cv_prog_CXX
17170 if test -n "$CXX"; then
17171 { echo "$as_me:$LINENO: result: $CXX" >&5
17172 echo "${ECHO_T}$CXX" >&6; }
17174 { echo "$as_me:$LINENO: result: no" >&5
17175 echo "${ECHO_T}no" >&6; }
17179 test -n "$CXX" && break
17182 if test -z "$CXX"; then
17184 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
17186 # Extract the first word of "$ac_prog", so it can be a program name with args.
17187 set dummy
$ac_prog; ac_word
=$2
17188 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17190 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17191 echo $ECHO_N "(cached) $ECHO_C" >&6
17193 if test -n "$ac_ct_CXX"; then
17194 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
17196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17197 for as_dir
in $PATH
17200 test -z "$as_dir" && as_dir
=.
17201 for ac_exec_ext
in '' $ac_executable_extensions; do
17202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17203 ac_cv_prog_ac_ct_CXX
="$ac_prog"
17204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17213 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
17214 if test -n "$ac_ct_CXX"; then
17215 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17216 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17218 { echo "$as_me:$LINENO: result: no" >&5
17219 echo "${ECHO_T}no" >&6; }
17223 test -n "$ac_ct_CXX" && break
17226 if test "x$ac_ct_CXX" = x
; then
17229 case $cross_compiling:$ac_tool_warned in
17231 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17232 whose name does not start with the host triplet. If you think this
17233 configuration is useful to you, please write to autoconf@gnu.org." >&5
17234 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17235 whose name does not start with the host triplet. If you think this
17236 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17237 ac_tool_warned
=yes ;;
17245 # Provide some information about the compiler.
17246 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17247 ac_compiler
=`set X $ac_compile; echo $2`
17248 { (ac_try
="$ac_compiler --version >&5"
17249 case "(($ac_try" in
17250 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17251 *) ac_try_echo=$ac_try;;
17253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17254 (eval "$ac_compiler --version >&5") 2>&5
17256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17257 (exit $ac_status); }
17258 { (ac_try="$ac_compiler -v >&5"
17259 case "(($ac_try" in
17260 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17261 *) ac_try_echo
=$ac_try;;
17263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17264 (eval "$ac_compiler -v >&5") 2>&5
17266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17267 (exit $ac_status); }
17268 { (ac_try
="$ac_compiler -V >&5"
17269 case "(($ac_try" in
17270 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17271 *) ac_try_echo=$ac_try;;
17273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17274 (eval "$ac_compiler -V >&5") 2>&5
17276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17277 (exit $ac_status); }
17279 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17280 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17281 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17282 echo $ECHO_N "(cached) $ECHO_C" >&6
17284 cat >conftest.$ac_ext <<_ACEOF
17287 cat confdefs.h >>conftest.$ac_ext
17288 cat >>conftest.$ac_ext <<_ACEOF
17289 /* end confdefs.h. */
17302 rm -f conftest.$ac_objext
17303 if { (ac_try="$ac_compile"
17304 case "(($ac_try" in
17305 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17306 *) ac_try_echo
=$ac_try;;
17308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17309 (eval "$ac_compile") 2>conftest.er1
17311 grep -v '^ *+' conftest.er1
>conftest.err
17313 cat conftest.err
>&5
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17315 (exit $ac_status); } && {
17316 test -z "$ac_cxx_werror_flag" ||
17317 test ! -s conftest.err
17318 } && test -s conftest.
$ac_objext; then
17319 ac_compiler_gnu
=yes
17321 echo "$as_me: failed program was:" >&5
17322 sed 's/^/| /' conftest.
$ac_ext >&5
17327 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17328 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
17331 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17332 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17333 GXX
=`test $ac_compiler_gnu = yes && echo yes`
17334 ac_test_CXXFLAGS
=${CXXFLAGS+set}
17335 ac_save_CXXFLAGS
=$CXXFLAGS
17336 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17337 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17338 if test "${ac_cv_prog_cxx_g+set}" = set; then
17339 echo $ECHO_N "(cached) $ECHO_C" >&6
17341 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
17342 ac_cxx_werror_flag
=yes
17343 ac_cv_prog_cxx_g
=no
17345 cat >conftest.
$ac_ext <<_ACEOF
17348 cat confdefs.h
>>conftest.
$ac_ext
17349 cat >>conftest.
$ac_ext <<_ACEOF
17350 /* end confdefs.h. */
17360 rm -f conftest.
$ac_objext
17361 if { (ac_try
="$ac_compile"
17362 case "(($ac_try" in
17363 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17364 *) ac_try_echo=$ac_try;;
17366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17367 (eval "$ac_compile") 2>conftest.er1
17369 grep -v '^ *+' conftest.er1 >conftest.err
17371 cat conftest.err >&5
17372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17373 (exit $ac_status); } && {
17374 test -z "$ac_cxx_werror_flag" ||
17375 test ! -s conftest.err
17376 } && test -s conftest.$ac_objext; then
17377 ac_cv_prog_cxx_g=yes
17379 echo "$as_me: failed program was:" >&5
17380 sed 's/^/| /' conftest.$ac_ext >&5
17383 cat >conftest.$ac_ext <<_ACEOF
17386 cat confdefs.h >>conftest.$ac_ext
17387 cat >>conftest.$ac_ext <<_ACEOF
17388 /* end confdefs.h. */
17398 rm -f conftest.$ac_objext
17399 if { (ac_try="$ac_compile"
17400 case "(($ac_try" in
17401 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17402 *) ac_try_echo
=$ac_try;;
17404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17405 (eval "$ac_compile") 2>conftest.er1
17407 grep -v '^ *+' conftest.er1
>conftest.err
17409 cat conftest.err
>&5
17410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17411 (exit $ac_status); } && {
17412 test -z "$ac_cxx_werror_flag" ||
17413 test ! -s conftest.err
17414 } && test -s conftest.
$ac_objext; then
17417 echo "$as_me: failed program was:" >&5
17418 sed 's/^/| /' conftest.
$ac_ext >&5
17420 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
17422 cat >conftest.
$ac_ext <<_ACEOF
17425 cat confdefs.h
>>conftest.
$ac_ext
17426 cat >>conftest.
$ac_ext <<_ACEOF
17427 /* end confdefs.h. */
17437 rm -f conftest.
$ac_objext
17438 if { (ac_try
="$ac_compile"
17439 case "(($ac_try" in
17440 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17441 *) ac_try_echo=$ac_try;;
17443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17444 (eval "$ac_compile") 2>conftest.er1
17446 grep -v '^ *+' conftest.er1 >conftest.err
17448 cat conftest.err >&5
17449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17450 (exit $ac_status); } && {
17451 test -z "$ac_cxx_werror_flag" ||
17452 test ! -s conftest.err
17453 } && test -s conftest.$ac_objext; then
17454 ac_cv_prog_cxx_g=yes
17456 echo "$as_me: failed program was:" >&5
17457 sed 's/^/| /' conftest.$ac_ext >&5
17462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17469 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17471 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17472 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17473 if test "$ac_test_CXXFLAGS" = set; then
17474 CXXFLAGS=$ac_save_CXXFLAGS
17475 elif test $ac_cv_prog_cxx_g = yes; then
17476 if test "$GXX" = yes; then
17482 if test "$GXX" = yes; then
17489 ac_cpp='$CPP $CPPFLAGS'
17490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17502 ac_cpp='$CXXCPP $CPPFLAGS'
17503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17507 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17508 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17509 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17510 echo $ECHO_N "(cached) $ECHO_C" >&6
17512 cat >conftest.$ac_ext <<_ACEOF
17515 cat confdefs.h >>conftest.$ac_ext
17516 cat >>conftest.$ac_ext <<_ACEOF
17517 /* end confdefs.h. */
17523 #ifndef __INTEL_COMPILER
17531 rm -f conftest.$ac_objext
17532 if { (ac_try="$ac_compile"
17533 case "(($ac_try" in
17534 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17535 *) ac_try_echo
=$ac_try;;
17537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17538 (eval "$ac_compile") 2>conftest.er1
17540 grep -v '^ *+' conftest.er1
>conftest.err
17542 cat conftest.err
>&5
17543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17544 (exit $ac_status); } && {
17545 test -z "$ac_cxx_werror_flag" ||
17546 test ! -s conftest.err
17547 } && test -s conftest.
$ac_objext; then
17548 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
17550 echo "$as_me: failed program was:" >&5
17551 sed 's/^/| /' conftest.
$ac_ext >&5
17553 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
17557 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17561 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17562 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17563 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17569 ac_cpp
='$CPP $CPPFLAGS'
17570 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17571 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17572 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17577 if test "$INTELCXX" = "yes"; then
17581 ac_cpp
='$CXXCPP $CPPFLAGS'
17582 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17583 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17584 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17586 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17587 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17588 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17589 echo $ECHO_N "(cached) $ECHO_C" >&6
17591 cat >conftest.
$ac_ext <<_ACEOF
17594 cat confdefs.h
>>conftest.
$ac_ext
17595 cat >>conftest.
$ac_ext <<_ACEOF
17596 /* end confdefs.h. */
17602 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17610 rm -f conftest.
$ac_objext
17611 if { (ac_try
="$ac_compile"
17612 case "(($ac_try" in
17613 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17614 *) ac_try_echo=$ac_try;;
17616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17617 (eval "$ac_compile") 2>conftest.er1
17619 grep -v '^ *+' conftest.er1 >conftest.err
17621 cat conftest.err >&5
17622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17623 (exit $ac_status); } && {
17624 test -z "$ac_cxx_werror_flag" ||
17625 test ! -s conftest.err
17626 } && test -s conftest.$ac_objext; then
17627 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17629 echo "$as_me: failed program was:" >&5
17630 sed 's/^/| /' conftest.$ac_ext >&5
17632 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17640 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17641 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17642 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17648 ac_cpp='$CPP $CPPFLAGS'
17649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17658 ac_cpp='$CXXCPP $CPPFLAGS'
17659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17663 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17664 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17665 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17666 echo $ECHO_N "(cached) $ECHO_C" >&6
17668 cat >conftest.$ac_ext <<_ACEOF
17671 cat confdefs.h >>conftest.$ac_ext
17672 cat >>conftest.$ac_ext <<_ACEOF
17673 /* end confdefs.h. */
17679 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17687 rm -f conftest.$ac_objext
17688 if { (ac_try="$ac_compile"
17689 case "(($ac_try" in
17690 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17691 *) ac_try_echo
=$ac_try;;
17693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17694 (eval "$ac_compile") 2>conftest.er1
17696 grep -v '^ *+' conftest.er1
>conftest.err
17698 cat conftest.err
>&5
17699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17700 (exit $ac_status); } && {
17701 test -z "$ac_cxx_werror_flag" ||
17702 test ! -s conftest.err
17703 } && test -s conftest.
$ac_objext; then
17704 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
17706 echo "$as_me: failed program was:" >&5
17707 sed 's/^/| /' conftest.
$ac_ext >&5
17709 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
17713 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17717 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17718 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17719 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17725 ac_cpp
='$CPP $CPPFLAGS'
17726 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17727 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17728 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17734 if test "x$GCXX" != "xyes"; then
17735 if test "xCXX" = "xC"; then
17736 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17737 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17738 if test "${bakefile_cv_c_exto+set}" = set; then
17739 echo $ECHO_N "(cached) $ECHO_C" >&6
17741 cat >conftest.
$ac_ext <<_ACEOF
17744 cat confdefs.h
>>conftest.
$ac_ext
17745 cat >>conftest.
$ac_ext <<_ACEOF
17746 /* end confdefs.h. */
17756 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17758 (eval $ac_compile) 2>&5
17760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17761 (exit $ac_status); }; then
17762 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17764 conftest.
$ac_ext.o
)
17765 bakefile_cv_c_exto
="-ext o"
17772 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17773 See \`config.log' for more details." >&5
17774 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17775 See \`config.log' for more details." >&2;}
17776 { (exit 1); exit 1; }; }
17780 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17783 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17784 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17785 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17786 if test "c" = "c"; then
17787 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17789 if test "c" = "cxx"; then
17790 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17794 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17795 unset ac_cv_prog_cc_g
17796 ac_test_CFLAGS
=${CFLAGS+set}
17797 ac_save_CFLAGS
=$CFLAGS
17798 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17799 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17800 if test "${ac_cv_prog_cc_g+set}" = set; then
17801 echo $ECHO_N "(cached) $ECHO_C" >&6
17803 ac_save_c_werror_flag
=$ac_c_werror_flag
17804 ac_c_werror_flag
=yes
17807 cat >conftest.
$ac_ext <<_ACEOF
17810 cat confdefs.h
>>conftest.
$ac_ext
17811 cat >>conftest.
$ac_ext <<_ACEOF
17812 /* end confdefs.h. */
17822 rm -f conftest.
$ac_objext
17823 if { (ac_try
="$ac_compile"
17824 case "(($ac_try" in
17825 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17826 *) ac_try_echo=$ac_try;;
17828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17829 (eval "$ac_compile") 2>conftest.er1
17831 grep -v '^ *+' conftest.er1 >conftest.err
17833 cat conftest.err >&5
17834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17835 (exit $ac_status); } && {
17836 test -z "$ac_c_werror_flag" ||
17837 test ! -s conftest.err
17838 } && test -s conftest.$ac_objext; then
17839 ac_cv_prog_cc_g=yes
17841 echo "$as_me: failed program was:" >&5
17842 sed 's/^/| /' conftest.$ac_ext >&5
17845 cat >conftest.$ac_ext <<_ACEOF
17848 cat confdefs.h >>conftest.$ac_ext
17849 cat >>conftest.$ac_ext <<_ACEOF
17850 /* end confdefs.h. */
17860 rm -f conftest.$ac_objext
17861 if { (ac_try="$ac_compile"
17862 case "(($ac_try" in
17863 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17864 *) ac_try_echo
=$ac_try;;
17866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17867 (eval "$ac_compile") 2>conftest.er1
17869 grep -v '^ *+' conftest.er1
>conftest.err
17871 cat conftest.err
>&5
17872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873 (exit $ac_status); } && {
17874 test -z "$ac_c_werror_flag" ||
17875 test ! -s conftest.err
17876 } && test -s conftest.
$ac_objext; then
17879 echo "$as_me: failed program was:" >&5
17880 sed 's/^/| /' conftest.
$ac_ext >&5
17882 ac_c_werror_flag
=$ac_save_c_werror_flag
17884 cat >conftest.
$ac_ext <<_ACEOF
17887 cat confdefs.h
>>conftest.
$ac_ext
17888 cat >>conftest.
$ac_ext <<_ACEOF
17889 /* end confdefs.h. */
17899 rm -f conftest.
$ac_objext
17900 if { (ac_try
="$ac_compile"
17901 case "(($ac_try" in
17902 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17903 *) ac_try_echo=$ac_try;;
17905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17906 (eval "$ac_compile") 2>conftest.er1
17908 grep -v '^ *+' conftest.er1 >conftest.err
17910 cat conftest.err >&5
17911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17912 (exit $ac_status); } && {
17913 test -z "$ac_c_werror_flag" ||
17914 test ! -s conftest.err
17915 } && test -s conftest.$ac_objext; then
17916 ac_cv_prog_cc_g=yes
17918 echo "$as_me: failed program was:" >&5
17919 sed 's/^/| /' conftest.$ac_ext >&5
17924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17931 ac_c_werror_flag=$ac_save_c_werror_flag
17933 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17934 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17935 if test "$ac_test_CFLAGS" = set; then
17936 CFLAGS=$ac_save_CFLAGS
17937 elif test $ac_cv_prog_cc_g = yes; then
17938 if test "$GCC" = yes; then
17944 if test "$GCC" = yes; then
17958 ac_cpp='$CXXCPP $CPPFLAGS'
17959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17963 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17964 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17965 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17966 echo $ECHO_N "(cached) $ECHO_C" >&6
17968 cat >conftest.$ac_ext <<_ACEOF
17971 cat confdefs.h >>conftest.$ac_ext
17972 cat >>conftest.$ac_ext <<_ACEOF
17973 /* end confdefs.h. */
17987 rm -f conftest.$ac_objext
17988 if { (ac_try="$ac_compile"
17989 case "(($ac_try" in
17990 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17991 *) ac_try_echo
=$ac_try;;
17993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17994 (eval "$ac_compile") 2>conftest.er1
17996 grep -v '^ *+' conftest.er1
>conftest.err
17998 cat conftest.err
>&5
17999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000 (exit $ac_status); } && {
18001 test -z "$ac_cxx_werror_flag" ||
18002 test ! -s conftest.err
18003 } && test -s conftest.
$ac_objext; then
18004 bakefile_cv_cxx_compiler___xlC__
=yes
18006 echo "$as_me: failed program was:" >&5
18007 sed 's/^/| /' conftest.
$ac_ext >&5
18009 bakefile_cv_cxx_compiler___xlC__
=no
18013 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18017 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18018 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18019 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18025 ac_cpp
='$CPP $CPPFLAGS'
18026 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18027 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18028 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18038 ac_cpp
='$CXXCPP $CPPFLAGS'
18039 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18040 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18041 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18043 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18044 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18045 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18046 echo $ECHO_N "(cached) $ECHO_C" >&6
18048 cat >conftest.
$ac_ext <<_ACEOF
18051 cat confdefs.h
>>conftest.
$ac_ext
18052 cat >>conftest.
$ac_ext <<_ACEOF
18053 /* end confdefs.h. */
18067 rm -f conftest.
$ac_objext
18068 if { (ac_try
="$ac_compile"
18069 case "(($ac_try" in
18070 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18071 *) ac_try_echo=$ac_try;;
18073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18074 (eval "$ac_compile") 2>conftest.er1
18076 grep -v '^ *+' conftest.er1 >conftest.err
18078 cat conftest.err >&5
18079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18080 (exit $ac_status); } && {
18081 test -z "$ac_cxx_werror_flag" ||
18082 test ! -s conftest.err
18083 } && test -s conftest.$ac_objext; then
18084 bakefile_cv_cxx_compiler___MWERKS__=yes
18086 echo "$as_me: failed program was:" >&5
18087 sed 's/^/| /' conftest.$ac_ext >&5
18089 bakefile_cv_cxx_compiler___MWERKS__=no
18093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18097 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18098 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18099 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18105 ac_cpp='$CPP $CPPFLAGS'
18106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18112 if test "$MWCXX" != "yes"; then
18116 ac_cpp='$CXXCPP $CPPFLAGS'
18117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18121 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18122 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18123 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18124 echo $ECHO_N "(cached) $ECHO_C" >&6
18126 cat >conftest.$ac_ext <<_ACEOF
18129 cat confdefs.h >>conftest.$ac_ext
18130 cat >>conftest.$ac_ext <<_ACEOF
18131 /* end confdefs.h. */
18145 rm -f conftest.$ac_objext
18146 if { (ac_try="$ac_compile"
18147 case "(($ac_try" in
18148 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18149 *) ac_try_echo
=$ac_try;;
18151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18152 (eval "$ac_compile") 2>conftest.er1
18154 grep -v '^ *+' conftest.er1
>conftest.err
18156 cat conftest.err
>&5
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); } && {
18159 test -z "$ac_cxx_werror_flag" ||
18160 test ! -s conftest.err
18161 } && test -s conftest.
$ac_objext; then
18162 bakefile_cv_cxx_compiler___xlC__
=yes
18164 echo "$as_me: failed program was:" >&5
18165 sed 's/^/| /' conftest.
$ac_ext >&5
18167 bakefile_cv_cxx_compiler___xlC__
=no
18171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18175 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18176 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18177 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18183 ac_cpp
='$CPP $CPPFLAGS'
18184 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18185 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18186 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18197 ac_cpp
='$CXXCPP $CPPFLAGS'
18198 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18199 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18200 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18202 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18203 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18204 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18205 echo $ECHO_N "(cached) $ECHO_C" >&6
18207 cat >conftest.
$ac_ext <<_ACEOF
18210 cat confdefs.h
>>conftest.
$ac_ext
18211 cat >>conftest.
$ac_ext <<_ACEOF
18212 /* end confdefs.h. */
18218 #ifndef _SGI_COMPILER_VERSION
18226 rm -f conftest.
$ac_objext
18227 if { (ac_try
="$ac_compile"
18228 case "(($ac_try" in
18229 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18230 *) ac_try_echo=$ac_try;;
18232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18233 (eval "$ac_compile") 2>conftest.er1
18235 grep -v '^ *+' conftest.er1 >conftest.err
18237 cat conftest.err >&5
18238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18239 (exit $ac_status); } && {
18240 test -z "$ac_cxx_werror_flag" ||
18241 test ! -s conftest.err
18242 } && test -s conftest.$ac_objext; then
18243 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18245 echo "$as_me: failed program was:" >&5
18246 sed 's/^/| /' conftest.$ac_ext >&5
18248 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18256 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18257 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18258 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18264 ac_cpp='$CPP $CPPFLAGS'
18265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18274 if test "$INTELCXX" != "yes"; then
18278 ac_cpp='$CXXCPP $CPPFLAGS'
18279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18283 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18284 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18285 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18286 echo $ECHO_N "(cached) $ECHO_C" >&6
18288 cat >conftest.$ac_ext <<_ACEOF
18291 cat confdefs.h >>conftest.$ac_ext
18292 cat >>conftest.$ac_ext <<_ACEOF
18293 /* end confdefs.h. */
18299 #ifndef __SUNPRO_CC
18307 rm -f conftest.$ac_objext
18308 if { (ac_try="$ac_compile"
18309 case "(($ac_try" in
18310 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18311 *) ac_try_echo
=$ac_try;;
18313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18314 (eval "$ac_compile") 2>conftest.er1
18316 grep -v '^ *+' conftest.er1
>conftest.err
18318 cat conftest.err
>&5
18319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18320 (exit $ac_status); } && {
18321 test -z "$ac_cxx_werror_flag" ||
18322 test ! -s conftest.err
18323 } && test -s conftest.
$ac_objext; then
18324 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
18326 echo "$as_me: failed program was:" >&5
18327 sed 's/^/| /' conftest.
$ac_ext >&5
18329 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
18333 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18337 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18338 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18339 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18345 ac_cpp
='$CPP $CPPFLAGS'
18346 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18347 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18348 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18359 ac_cpp
='$CXXCPP $CPPFLAGS'
18360 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18361 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18362 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18364 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18365 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18366 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18367 echo $ECHO_N "(cached) $ECHO_C" >&6
18369 cat >conftest.
$ac_ext <<_ACEOF
18372 cat confdefs.h
>>conftest.
$ac_ext
18373 cat >>conftest.
$ac_ext <<_ACEOF
18374 /* end confdefs.h. */
18388 rm -f conftest.
$ac_objext
18389 if { (ac_try
="$ac_compile"
18390 case "(($ac_try" in
18391 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18392 *) ac_try_echo=$ac_try;;
18394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18395 (eval "$ac_compile") 2>conftest.er1
18397 grep -v '^ *+' conftest.er1 >conftest.err
18399 cat conftest.err >&5
18400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18401 (exit $ac_status); } && {
18402 test -z "$ac_cxx_werror_flag" ||
18403 test ! -s conftest.err
18404 } && test -s conftest.$ac_objext; then
18405 bakefile_cv_cxx_compiler___HP_aCC=yes
18407 echo "$as_me: failed program was:" >&5
18408 sed 's/^/| /' conftest.$ac_ext >&5
18410 bakefile_cv_cxx_compiler___HP_aCC=no
18414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18418 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18419 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18420 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18426 ac_cpp='$CPP $CPPFLAGS'
18427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18439 ac_cpp='$CXXCPP $CPPFLAGS'
18440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18444 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18445 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18446 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18447 echo $ECHO_N "(cached) $ECHO_C" >&6
18449 cat >conftest.$ac_ext <<_ACEOF
18452 cat confdefs.h >>conftest.$ac_ext
18453 cat >>conftest.$ac_ext <<_ACEOF
18454 /* end confdefs.h. */
18468 rm -f conftest.$ac_objext
18469 if { (ac_try="$ac_compile"
18470 case "(($ac_try" in
18471 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18472 *) ac_try_echo
=$ac_try;;
18474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18475 (eval "$ac_compile") 2>conftest.er1
18477 grep -v '^ *+' conftest.er1
>conftest.err
18479 cat conftest.err
>&5
18480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 (exit $ac_status); } && {
18482 test -z "$ac_cxx_werror_flag" ||
18483 test ! -s conftest.err
18484 } && test -s conftest.
$ac_objext; then
18485 bakefile_cv_cxx_compiler___DECCXX
=yes
18487 echo "$as_me: failed program was:" >&5
18488 sed 's/^/| /' conftest.
$ac_ext >&5
18490 bakefile_cv_cxx_compiler___DECCXX
=no
18494 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18498 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18499 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18500 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18506 ac_cpp
='$CPP $CPPFLAGS'
18507 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18508 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18509 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18519 ac_cpp
='$CXXCPP $CPPFLAGS'
18520 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18521 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18522 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18524 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18525 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18526 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18527 echo $ECHO_N "(cached) $ECHO_C" >&6
18529 cat >conftest.
$ac_ext <<_ACEOF
18532 cat confdefs.h
>>conftest.
$ac_ext
18533 cat >>conftest.
$ac_ext <<_ACEOF
18534 /* end confdefs.h. */
18540 #ifndef __SUNPRO_CC
18548 rm -f conftest.
$ac_objext
18549 if { (ac_try
="$ac_compile"
18550 case "(($ac_try" in
18551 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18552 *) ac_try_echo=$ac_try;;
18554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18555 (eval "$ac_compile") 2>conftest.er1
18557 grep -v '^ *+' conftest.er1 >conftest.err
18559 cat conftest.err >&5
18560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18561 (exit $ac_status); } && {
18562 test -z "$ac_cxx_werror_flag" ||
18563 test ! -s conftest.err
18564 } && test -s conftest.$ac_objext; then
18565 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18567 echo "$as_me: failed program was:" >&5
18568 sed 's/^/| /' conftest.$ac_ext >&5
18570 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18578 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18579 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18580 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18586 ac_cpp='$CPP $CPPFLAGS'
18587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18599 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18600 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18601 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18602 { (exit 1); exit 1; }; }
18605 if test "x$SUNCXX" != xyes; then
18606 if test -n "$ac_tool_prefix"; then
18607 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18608 set dummy ${ac_tool_prefix}ar; ac_word=$2
18609 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18611 if test "${ac_cv_prog_AR+set}" = set; then
18612 echo $ECHO_N "(cached) $ECHO_C" >&6
18614 if test -n "$AR"; then
18615 ac_cv_prog_AR="$AR" # Let the user override the test.
18617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18618 for as_dir in $PATH
18621 test -z "$as_dir" && as_dir=.
18622 for ac_exec_ext in '' $ac_executable_extensions; do
18623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18624 ac_cv_prog_AR="${ac_tool_prefix}ar"
18625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18635 if test -n "$AR"; then
18636 { echo "$as_me:$LINENO: result: $AR" >&5
18637 echo "${ECHO_T}$AR" >&6; }
18639 { echo "$as_me:$LINENO: result: no" >&5
18640 echo "${ECHO_T}no" >&6; }
18645 if test -z "$ac_cv_prog_AR"; then
18647 # Extract the first word of "ar", so it can be a program name with args.
18648 set dummy ar; ac_word=$2
18649 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18651 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18652 echo $ECHO_N "(cached) $ECHO_C" >&6
18654 if test -n "$ac_ct_AR"; then
18655 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18658 for as_dir in $PATH
18661 test -z "$as_dir" && as_dir=.
18662 for ac_exec_ext in '' $ac_executable_extensions; do
18663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18664 ac_cv_prog_ac_ct_AR="ar"
18665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18674 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18675 if test -n "$ac_ct_AR"; then
18676 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18677 echo "${ECHO_T}$ac_ct_AR" >&6; }
18679 { echo "$as_me:$LINENO: result: no" >&5
18680 echo "${ECHO_T}no" >&6; }
18683 if test "x$ac_ct_AR" = x; then
18686 case $cross_compiling:$ac_tool_warned in
18688 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18689 whose name does not start with the host triplet. If you think this
18690 configuration is useful to you, please write to autoconf@gnu.org." >&5
18691 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18692 whose name does not start with the host triplet. If you think this
18693 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18694 ac_tool_warned=yes ;;
18699 AR="$ac_cv_prog_AR"
18702 if test "x$AR" = "x" ; then
18703 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18704 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18705 { (exit 1); exit 1; }; }
18710 if test "$wxUSE_MAC" = 1; then
18712 retest_macosx_linking=no
18715 if test "x$wxUSE_MAC_ARCH" != xno; then
18716 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
18719 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18720 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18721 # Implicitly turn on the new --with-macosx-sdk using the default
18722 # SDK which provides the behavior this option has always had.
18723 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18724 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18725 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18726 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18727 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18728 wxUSE_MACOSX_SDK=yes
18731 # Complain to user if he specified an argument to --enable-universal_binary
18732 # and also 1) specified --with-macosx-sdk using the default (yes) or
18733 # 2) specified --with-macosx-sdk using a path or 3) specified
18734 # --without-macosx-sdk (no).
18735 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18736 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18737 See \`config.log
' for more details." >&5
18738 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18739 See \`config.log' for more details.
" >&2;}
18740 { (exit 1); exit 1; }; }
18742 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18743 # special-case the empty string because the below test simply
18744 # converts "no
" to the empty string anyway.
18745 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18746 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
18747 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
18750 OSX_ARCH_OPTS="-arch ppc
-arch i386
"
18751 if test "$wxUSE_OSX_COCOA" = 1; then
18752 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64
"
18754 { echo "$as_me:$LINENO: checking
for universal binary architectures
" >&5
18755 echo $ECHO_N "checking
for universal binary architectures...
$ECHO_C" >&6; }
18756 { echo "$as_me:$LINENO: result
: $OSX_ARCH_OPTS" >&5
18757 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
18759 retest_macosx_linking=yes
18761 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
18762 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
18766 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
18767 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
18768 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
18769 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
18770 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
18772 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
18774 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
18775 # TODO: Search for most recent SDK and use it.
18776 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
18780 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
18781 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
18782 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
18783 if ! test -d "$wxUSE_MACOSX_SDK"; then
18784 { { echo "$as_me:$LINENO: error
: not found
18785 See \
`config.log' for more details." >&5
18786 echo "$as_me: error: not found
18787 See \`config.log
' for more details." >&2;}
18788 { (exit 1); exit 1; }; }
18790 { echo "$as_me:$LINENO: result: exists" >&5
18791 echo "${ECHO_T}exists" >&6; }
18793 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18794 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18795 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18796 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18797 retest_macosx_linking=yes
18800 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18801 wxUSE_MACOSX_VERSION_MIN=
18802 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18803 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18804 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18805 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18807 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/'`
18809 # If that failed, try again with the new key
18810 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18812 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/'`
18816 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18817 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18818 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18819 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18821 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18822 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18823 wxUSE_MACOSX_VERSION_MIN=
18826 wxUSE_MACOSX_VERSION_MIN=
18828 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18829 for ac_prog in sw_vers
18831 # Extract the first word of "$ac_prog", so it can be a program name with args.
18832 set dummy $ac_prog; ac_word=$2
18833 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18835 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18836 echo $ECHO_N "(cached) $ECHO_C" >&6
18838 if test -n "$OSX_SW_VERS"; then
18839 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18842 for as_dir in $PATH
18845 test -z "$as_dir" && as_dir=.
18846 for ac_exec_ext in '' $ac_executable_extensions; do
18847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18848 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18858 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18859 if test -n "$OSX_SW_VERS"; then
18860 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18861 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
18863 { echo "$as_me:$LINENO: result: no" >&5
18864 echo "${ECHO_T}no" >&6; }
18868 test -n "$OSX_SW_VERS" && break
18871 if test "$OSX_SW_VERS" != ""; then
18872 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18874 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
18875 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
18879 case "$OSX_VERSION" in
18881 wxUSE_MACOSX_VERSION_MIN=10.4
18885 if test "$wxUSE_OSX_CARBON" = 1; then
18886 # otherwise configure stops on leopard for universal_binary
18887 wxUSE_MACOSX_VERSION_MIN=10.4
18889 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
18890 wxUSE_MACOSX_VERSION_MIN=10.5
18897 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18901 if test "$wxUSE_OSX_CARBON" = 1; then
18905 if test "x$NEEDS_GCC40" == "xyes"; then
18906 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18907 # and wants 10.4 compatible code, then 'downgrade
' to 4.0
18908 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18909 if test "x$CC" = "xgcc"; then
18910 CCVERSION=`$CC --version | grep 4.[2-9].`
18911 if test "x$CCVERSION" != "x"; then
18912 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18913 CC="/usr/bin/gcc-4.0"
18917 if test "x$CXX" = "xg++"; then
18918 CCVERSION=`$CXX --version | grep 4.[2-9].`
18919 if test "x$CCVERSION" != "x"; then
18920 CXX="/usr/bin/g++-4.0"
18925 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18926 if test "$wxUSE_OSX_IPHONE" = 1; then
18927 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
18929 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18931 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18932 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18933 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18934 retest_macosx_linking=yes
18937 if test "x$retest_macosx_linking" = "xyes"; then
18939 ac_cpp='$CPP $CPPFLAGS'
18940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18941 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18944 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18945 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18946 cat >conftest.$ac_ext <<_ACEOF
18949 cat confdefs.h >>conftest.$ac_ext
18950 cat >>conftest.$ac_ext <<_ACEOF
18951 /* end confdefs.h. */
18961 rm -f conftest.$ac_objext conftest$ac_exeext
18962 if { (ac_try="$ac_link"
18963 case "(($ac_try" in
18964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18965 *) ac_try_echo=$ac_try;;
18967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18968 (eval "$ac_link") 2>conftest.er1
18970 grep -v '^
*+' conftest.er1 >conftest.err
18972 cat conftest.err >&5
18973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18974 (exit $ac_status); } && {
18975 test -z "$ac_c_werror_flag" ||
18976 test ! -s conftest.err
18977 } && test -s conftest$ac_exeext &&
18978 $as_test_x conftest$ac_exeext; then
18979 { echo "$as_me:$LINENO: result: yes" >&5
18980 echo "${ECHO_T}yes" >&6; }
18982 echo "$as_me: failed program was:" >&5
18983 sed 's
/^
/| /' conftest.$ac_ext >&5
18985 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18986 See \`config.log' for more details.
" >&5
18987 echo "$as_me: error
: no. Try a different SDK
18988 See \
`config.log' for more details." >&2;}
18989 { (exit 1); exit 1; }; }; exit 1
18992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18993 conftest$ac_exeext conftest.$ac_ext
18995 ac_cpp='$CPP $CPPFLAGS'
18996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19002 ac_cpp='$CXXCPP $CPPFLAGS'
19003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19007 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19008 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
19009 cat >conftest.$ac_ext <<_ACEOF
19012 cat confdefs.h >>conftest.$ac_ext
19013 cat >>conftest.$ac_ext <<_ACEOF
19014 /* end confdefs.h. */
19024 rm -f conftest.$ac_objext conftest$ac_exeext
19025 if { (ac_try="$ac_link"
19026 case "(($ac_try" in
19027 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19028 *) ac_try_echo
=$ac_try;;
19030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19031 (eval "$ac_link") 2>conftest.er1
19033 grep -v '^ *+' conftest.er1
>conftest.err
19035 cat conftest.err
>&5
19036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19037 (exit $ac_status); } && {
19038 test -z "$ac_cxx_werror_flag" ||
19039 test ! -s conftest.err
19040 } && test -s conftest
$ac_exeext &&
19041 $as_test_x conftest
$ac_exeext; then
19042 { echo "$as_me:$LINENO: result: yes" >&5
19043 echo "${ECHO_T}yes" >&6; }
19045 echo "$as_me: failed program was:" >&5
19046 sed 's/^/| /' conftest.
$ac_ext >&5
19048 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19049 See \`config.log' for more details." >&5
19050 echo "$as_me: error: no. Try a different SDK
19051 See \`config.log' for more details." >&2;}
19052 { (exit 1); exit 1; }; }; exit 1
19055 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19056 conftest
$ac_exeext conftest.
$ac_ext
19058 ac_cpp
='$CPP $CPPFLAGS'
19059 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19060 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19061 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19069 INSTALL_PROGRAM
="cp -fp"
19070 INSTALL_DATA
="cp -fp"
19077 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
19078 CXXFLAGS
="-qunique $CXXFLAGS"
19082 powerpc
-*-darwin* )
19083 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19084 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19085 cat >conftest.
$ac_ext <<_ACEOF
19088 cat confdefs.h
>>conftest.
$ac_ext
19089 cat >>conftest.
$ac_ext <<_ACEOF
19090 /* end confdefs.h. */
19095 #ifndef __POWERPC__
19096 choke me for lack of PowerPC
19103 rm -f conftest.
$ac_objext
19104 if { (ac_try
="$ac_compile"
19105 case "(($ac_try" in
19106 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19107 *) ac_try_echo=$ac_try;;
19109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19110 (eval "$ac_compile") 2>conftest.er1
19112 grep -v '^ *+' conftest.er1 >conftest.err
19114 cat conftest.err >&5
19115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19116 (exit $ac_status); } && {
19117 test -z "$ac_c_werror_flag" ||
19118 test ! -s conftest.err
19119 } && test -s conftest.$ac_objext; then
19120 { echo "$as_me:$LINENO: result: yes" >&5
19121 echo "${ECHO_T}yes" >&6; }
19123 echo "$as_me: failed program was:" >&5
19124 sed 's/^/| /' conftest.$ac_ext >&5
19126 { echo "$as_me:$LINENO: result: no" >&5
19127 echo "${ECHO_T}no" >&6; }
19128 cat >>confdefs.h <<\_ACEOF
19129 #define __POWERPC__ 1
19135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19141 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19142 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19143 cat >conftest.$ac_ext <<_ACEOF
19146 cat confdefs.h >>conftest.$ac_ext
19147 cat >>conftest.$ac_ext <<_ACEOF
19148 /* end confdefs.h. */
19149 #include <CoreFoundation/CFBase.h>
19159 rm -f conftest.$ac_objext
19160 if { (ac_try="$ac_compile"
19161 case "(($ac_try" in
19162 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19163 *) ac_try_echo
=$ac_try;;
19165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19166 (eval "$ac_compile") 2>conftest.er1
19168 grep -v '^ *+' conftest.er1
>conftest.err
19170 cat conftest.err
>&5
19171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19172 (exit $ac_status); } && {
19173 test -z "$ac_c_werror_flag" ||
19174 test ! -s conftest.err
19175 } && test -s conftest.
$ac_objext; then
19176 { echo "$as_me:$LINENO: result: yes" >&5
19177 echo "${ECHO_T}yes" >&6; }
19179 echo "$as_me: failed program was:" >&5
19180 sed 's/^/| /' conftest.
$ac_ext >&5
19182 { echo "$as_me:$LINENO: result: no" >&5
19183 echo "${ECHO_T}no" >&6; }
19184 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19185 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19186 cat >conftest.
$ac_ext <<_ACEOF
19189 cat confdefs.h
>>conftest.
$ac_ext
19190 cat >>conftest.
$ac_ext <<_ACEOF
19191 /* end confdefs.h. */
19192 #define __CF_USE_FRAMEWORK_INCLUDES__
19193 #include <CoreFoundation/CFBase.h>
19203 rm -f conftest.
$ac_objext
19204 if { (ac_try
="$ac_compile"
19205 case "(($ac_try" in
19206 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19207 *) ac_try_echo=$ac_try;;
19209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19210 (eval "$ac_compile") 2>conftest.er1
19212 grep -v '^ *+' conftest.er1 >conftest.err
19214 cat conftest.err >&5
19215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19216 (exit $ac_status); } && {
19217 test -z "$ac_c_werror_flag" ||
19218 test ! -s conftest.err
19219 } && test -s conftest.$ac_objext; then
19220 { echo "$as_me:$LINENO: result: yes" >&5
19221 echo "${ECHO_T}yes" >&6; }
19222 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19224 echo "$as_me: failed program was:" >&5
19225 sed 's/^/| /' conftest.$ac_ext >&5
19227 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19228 See \`config.log
' for more details." >&5
19229 echo "$as_me: error: no. CoreFoundation not available.
19230 See \`config.log' for more details.
" >&2;}
19231 { (exit 1); exit 1; }; }
19235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19245 doesnt_want_win32=0
19248 if test "$wxUSE_MSW" = 1 ; then
19251 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
19252 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
19253 if test "${wx_cv_nocygwin+set}" = set; then
19254 echo $ECHO_N "(cached
) $ECHO_C" >&6
19257 cat >conftest.$ac_ext <<_ACEOF
19260 cat confdefs.h >>conftest.$ac_ext
19261 cat >>conftest.$ac_ext <<_ACEOF
19262 /* end confdefs.h. */
19276 rm -f conftest.$ac_objext
19277 if { (ac_try="$ac_compile"
19278 case "(($ac_try" in
19279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19280 *) ac_try_echo=$ac_try;;
19282 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19283 (eval "$ac_compile") 2>conftest.er1
19285 grep -v '^ *+' conftest.er1 >conftest.err
19287 cat conftest.err >&5
19288 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19289 (exit $ac_status); } && {
19290 test -z "$ac_c_werror_flag" ||
19291 test ! -s conftest.err
19292 } && test -s conftest.$ac_objext; then
19295 echo "$as_me: failed program was
:" >&5
19296 sed 's/^/| /' conftest.$ac_ext >&5
19302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19306 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
19307 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19309 if test "$wx_cv_nocygwin" = "yes"; then
19312 doesnt_want_win32=1
19315 if test "$wants_win32" = 1 ; then
19316 BAKEFILE_FORCE_PLATFORM=win32
19324 if test "$wxUSE_WINE" = "yes"; then
19326 LDFLAGS_GUI="-mwindows"
19329 if test "$wants_win32" = 1 ; then
19332 cat >>confdefs.h <<\_ACEOF
19333 #define __WIN32__ 1
19336 cat >>confdefs.h <<\_ACEOF
19337 #define __WIN95__ 1
19340 cat >>confdefs.h <<\_ACEOF
19341 #define __WINDOWS__ 1
19344 cat >>confdefs.h <<\_ACEOF
19345 #define __GNUWIN32__ 1
19348 cat >>confdefs.h <<\_ACEOF
19353 if test "$doesnt_want_win32" = 1 ; then
19358 if test "$USE_UNIX" = 1 ; then
19360 cat >>confdefs.h <<\_ACEOF
19367 *-pc-os2_emx | *-pc-os2-emx )
19368 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19369 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
19370 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
19371 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19372 echo $ECHO_N "(cached
) $ECHO_C" >&6
19374 ac_check_lib_save_LIBS=$LIBS
19375 LIBS="-lcExt $LIBS"
19376 cat >conftest.$ac_ext <<_ACEOF
19379 cat confdefs.h >>conftest.$ac_ext
19380 cat >>conftest.$ac_ext <<_ACEOF
19381 /* end confdefs.h. */
19383 /* Override any GCC internal prototype to avoid an error.
19384 Use char because int might match the return type of a GCC
19385 builtin and then its argument prototype would still apply. */
19398 rm -f conftest.$ac_objext conftest$ac_exeext
19399 if { (ac_try="$ac_link"
19400 case "(($ac_try" in
19401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19402 *) ac_try_echo=$ac_try;;
19404 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19405 (eval "$ac_link") 2>conftest.er1
19407 grep -v '^ *+' conftest.er1 >conftest.err
19409 cat conftest.err >&5
19410 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19411 (exit $ac_status); } && {
19412 test -z "$ac_c_werror_flag" ||
19413 test ! -s conftest.err
19414 } && test -s conftest$ac_exeext &&
19415 $as_test_x conftest$ac_exeext; then
19416 ac_cv_lib_cExt_drand48=yes
19418 echo "$as_me: failed program was
:" >&5
19419 sed 's/^/| /' conftest.$ac_ext >&5
19421 ac_cv_lib_cExt_drand48=no
19424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19425 conftest$ac_exeext conftest.$ac_ext
19426 LIBS=$ac_check_lib_save_LIBS
19428 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
19429 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19430 if test $ac_cv_lib_cExt_drand48 = yes; then
19431 LIBS="$LIBS -lcExt"
19435 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
19437 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
19438 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
19439 if test "${wx_cv_gccversion+set}" = set; then
19440 echo $ECHO_N "(cached
) $ECHO_C" >&6
19443 if test "$cross_compiling" = yes; then
19444 wx_cv_gccversion="EMX2
"
19447 cat >conftest.$ac_ext <<_ACEOF
19450 cat confdefs.h >>conftest.$ac_ext
19451 cat >>conftest.$ac_ext <<_ACEOF
19452 /* end confdefs.h. */
19458 FILE *f=fopen("conftestval
", "w
");
19463 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19465 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19475 rm -f conftest$ac_exeext
19476 if { (ac_try="$ac_link"
19477 case "(($ac_try" in
19478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19479 *) ac_try_echo=$ac_try;;
19481 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19482 (eval "$ac_link") 2>&5
19484 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19485 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19486 { (case "(($ac_try" in
19487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19488 *) ac_try_echo=$ac_try;;
19490 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19491 (eval "$ac_try") 2>&5
19493 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19494 (exit $ac_status); }; }; then
19495 wx_cv_gccversion=`cat conftestval`
19497 echo "$as_me: program exited with status
$ac_status" >&5
19498 echo "$as_me: failed program was
:" >&5
19499 sed 's/^/| /' conftest.$ac_ext >&5
19501 ( exit $ac_status )
19502 wx_cv_gccversion="EMX2
"
19504 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19510 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
19511 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19512 if test "$wx_cv_gccversion" = "EMX2
"; then
19513 LIBS="$LIBS -lstdcpp"
19514 LDFLAGS="$LDFLAGS -Zsysv-signals"
19516 if test "$wx_cv_gccversion" = "EMX3
"; then
19517 LIBS="$LIBS -lstdcxx -lgcc"
19518 LDFLAGS="$LDFLAGS -Zsysv-signals"
19520 LIBS="$LIBS -lstdc++"
19523 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
19524 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
19525 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
19532 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
19533 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
19534 if test "${ac_cv_string_strcasecmp+set}" = set; then
19535 echo $ECHO_N "(cached
) $ECHO_C" >&6
19538 cat >conftest.$ac_ext <<_ACEOF
19541 cat confdefs.h >>conftest.$ac_ext
19542 cat >>conftest.$ac_ext <<_ACEOF
19543 /* end confdefs.h. */
19545 #include <string.h>
19551 strcasecmp("foo
", "bar
");
19557 rm -f conftest.$ac_objext conftest$ac_exeext
19558 if { (ac_try="$ac_link"
19559 case "(($ac_try" in
19560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19561 *) ac_try_echo=$ac_try;;
19563 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19564 (eval "$ac_link") 2>conftest.er1
19566 grep -v '^ *+' conftest.er1 >conftest.err
19568 cat conftest.err >&5
19569 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19570 (exit $ac_status); } && {
19571 test -z "$ac_c_werror_flag" ||
19572 test ! -s conftest.err
19573 } && test -s conftest$ac_exeext &&
19574 $as_test_x conftest$ac_exeext; then
19575 ac_cv_string_strcasecmp=yes
19577 echo "$as_me: failed program was
:" >&5
19578 sed 's/^/| /' conftest.$ac_ext >&5
19580 ac_cv_string_strcasecmp=no
19584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19585 conftest$ac_exeext conftest.$ac_ext
19588 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
19589 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19591 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
19592 cat >>confdefs.h <<\_ACEOF
19593 #define HAVE_STRCASECMP_IN_STRING_H 1
19597 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
19598 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
19599 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19600 echo $ECHO_N "(cached
) $ECHO_C" >&6
19603 cat >conftest.$ac_ext <<_ACEOF
19606 cat confdefs.h >>conftest.$ac_ext
19607 cat >>conftest.$ac_ext <<_ACEOF
19608 /* end confdefs.h. */
19610 #include <strings.h>
19616 strcasecmp("foo
", "bar
");
19622 rm -f conftest.$ac_objext conftest$ac_exeext
19623 if { (ac_try="$ac_link"
19624 case "(($ac_try" in
19625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19626 *) ac_try_echo=$ac_try;;
19628 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19629 (eval "$ac_link") 2>conftest.er1
19631 grep -v '^ *+' conftest.er1 >conftest.err
19633 cat conftest.err >&5
19634 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19635 (exit $ac_status); } && {
19636 test -z "$ac_c_werror_flag" ||
19637 test ! -s conftest.err
19638 } && test -s conftest$ac_exeext &&
19639 $as_test_x conftest$ac_exeext; then
19640 ac_cv_strings_strcasecmp=yes
19642 echo "$as_me: failed program was
:" >&5
19643 sed 's/^/| /' conftest.$ac_ext >&5
19645 ac_cv_strings_strcasecmp=no
19649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19650 conftest$ac_exeext conftest.$ac_ext
19653 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
19654 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19656 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
19657 cat >>confdefs.h <<\_ACEOF
19658 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19662 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
19663 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
19664 { (exit 1); exit 1; }; }
19672 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
19673 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
19674 if test "${ac_cv_header_stdc+set}" = set; then
19675 echo $ECHO_N "(cached
) $ECHO_C" >&6
19677 cat >conftest.$ac_ext <<_ACEOF
19680 cat confdefs.h >>conftest.$ac_ext
19681 cat >>conftest.$ac_ext <<_ACEOF
19682 /* end confdefs.h. */
19683 #include <stdlib.h>
19684 #include <stdarg.h>
19685 #include <string.h>
19696 rm -f conftest.$ac_objext
19697 if { (ac_try="$ac_compile"
19698 case "(($ac_try" in
19699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19700 *) ac_try_echo=$ac_try;;
19702 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19703 (eval "$ac_compile") 2>conftest.er1
19705 grep -v '^ *+' conftest.er1 >conftest.err
19707 cat conftest.err >&5
19708 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19709 (exit $ac_status); } && {
19710 test -z "$ac_c_werror_flag" ||
19711 test ! -s conftest.err
19712 } && test -s conftest.$ac_objext; then
19713 ac_cv_header_stdc=yes
19715 echo "$as_me: failed program was
:" >&5
19716 sed 's/^/| /' conftest.$ac_ext >&5
19718 ac_cv_header_stdc=no
19721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19723 if test $ac_cv_header_stdc = yes; then
19724 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19725 cat >conftest.$ac_ext <<_ACEOF
19728 cat confdefs.h >>conftest.$ac_ext
19729 cat >>conftest.$ac_ext <<_ACEOF
19730 /* end confdefs.h. */
19731 #include <string.h>
19734 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19735 $EGREP "memchr
" >/dev/null 2>&1; then
19738 ac_cv_header_stdc=no
19744 if test $ac_cv_header_stdc = yes; then
19745 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19746 cat >conftest.$ac_ext <<_ACEOF
19749 cat confdefs.h >>conftest.$ac_ext
19750 cat >>conftest.$ac_ext <<_ACEOF
19751 /* end confdefs.h. */
19752 #include <stdlib.h>
19755 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19756 $EGREP "free
" >/dev/null 2>&1; then
19759 ac_cv_header_stdc=no
19765 if test $ac_cv_header_stdc = yes; then
19766 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19767 if test "$cross_compiling" = yes; then
19770 cat >conftest.$ac_ext <<_ACEOF
19773 cat confdefs.h >>conftest.$ac_ext
19774 cat >>conftest.$ac_ext <<_ACEOF
19775 /* end confdefs.h. */
19777 #include <stdlib.h>
19778 #if ((' ' & 0x0FF) == 0x020)
19779 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19780 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19782 # define ISLOWER(c) \
19783 (('a' <= (c) && (c) <= 'i') \
19784 || ('j' <= (c) && (c) <= 'r') \
19785 || ('s' <= (c) && (c) <= 'z'))
19786 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19789 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19794 for (i = 0; i < 256; i++)
19795 if (XOR (islower (i), ISLOWER (i))
19796 || toupper (i) != TOUPPER (i))
19801 rm -f conftest$ac_exeext
19802 if { (ac_try="$ac_link"
19803 case "(($ac_try" in
19804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19805 *) ac_try_echo=$ac_try;;
19807 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19808 (eval "$ac_link") 2>&5
19810 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19811 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19812 { (case "(($ac_try" in
19813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19814 *) ac_try_echo=$ac_try;;
19816 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19817 (eval "$ac_try") 2>&5
19819 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19820 (exit $ac_status); }; }; then
19823 echo "$as_me: program exited with status
$ac_status" >&5
19824 echo "$as_me: failed program was
:" >&5
19825 sed 's/^/| /' conftest.$ac_ext >&5
19827 ( exit $ac_status )
19828 ac_cv_header_stdc=no
19830 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19836 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
19837 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19838 if test $ac_cv_header_stdc = yes; then
19840 cat >>confdefs.h <<\_ACEOF
19841 #define STDC_HEADERS 1
19846 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19856 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19857 inttypes.h stdint.h unistd.h
19859 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19860 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19861 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19862 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19863 echo $ECHO_N "(cached
) $ECHO_C" >&6
19865 cat >conftest.$ac_ext <<_ACEOF
19868 cat confdefs.h >>conftest.$ac_ext
19869 cat >>conftest.$ac_ext <<_ACEOF
19870 /* end confdefs.h. */
19871 $ac_includes_default
19873 #include <$ac_header>
19875 rm -f conftest.$ac_objext
19876 if { (ac_try="$ac_compile"
19877 case "(($ac_try" in
19878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19879 *) ac_try_echo=$ac_try;;
19881 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19882 (eval "$ac_compile") 2>conftest.er1
19884 grep -v '^ *+' conftest.er1 >conftest.err
19886 cat conftest.err >&5
19887 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19888 (exit $ac_status); } && {
19889 test -z "$ac_c_werror_flag" ||
19890 test ! -s conftest.err
19891 } && test -s conftest.$ac_objext; then
19892 eval "$as_ac_Header=yes"
19894 echo "$as_me: failed program was
:" >&5
19895 sed 's/^/| /' conftest.$ac_ext >&5
19897 eval "$as_ac_Header=no
"
19900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19902 ac_res=`eval echo '${'$as_ac_Header'}'`
19903 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19904 echo "${ECHO_T}$ac_res" >&6; }
19905 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19906 cat >>confdefs.h <<_ACEOF
19907 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19917 for ac_header in langinfo.h wchar.h
19919 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19920 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19921 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19922 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19923 echo $ECHO_N "(cached
) $ECHO_C" >&6
19925 cat >conftest.$ac_ext <<_ACEOF
19928 cat confdefs.h >>conftest.$ac_ext
19929 cat >>conftest.$ac_ext <<_ACEOF
19930 /* end confdefs.h. */
19931 $ac_includes_default
19933 #include <$ac_header>
19935 rm -f conftest.$ac_objext
19936 if { (ac_try="$ac_compile"
19937 case "(($ac_try" in
19938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19939 *) ac_try_echo=$ac_try;;
19941 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19942 (eval "$ac_compile") 2>conftest.er1
19944 grep -v '^ *+' conftest.er1 >conftest.err
19946 cat conftest.err >&5
19947 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19948 (exit $ac_status); } && {
19949 test -z "$ac_c_werror_flag" ||
19950 test ! -s conftest.err
19951 } && test -s conftest.$ac_objext; then
19952 eval "$as_ac_Header=yes"
19954 echo "$as_me: failed program was
:" >&5
19955 sed 's/^/| /' conftest.$ac_ext >&5
19957 eval "$as_ac_Header=no
"
19960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19962 ac_res=`eval echo '${'$as_ac_Header'}'`
19963 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19964 echo "${ECHO_T}$ac_res" >&6; }
19965 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19966 cat >>confdefs.h <<_ACEOF
19967 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19975 if test "$ac_cv_header_wchar_h" != "yes"; then
19977 for ac_header in wcstr.h
19979 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19980 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19981 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19982 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19983 echo $ECHO_N "(cached
) $ECHO_C" >&6
19985 cat >conftest.$ac_ext <<_ACEOF
19988 cat confdefs.h >>conftest.$ac_ext
19989 cat >>conftest.$ac_ext <<_ACEOF
19990 /* end confdefs.h. */
19991 $ac_includes_default
19993 #include <$ac_header>
19995 rm -f conftest.$ac_objext
19996 if { (ac_try="$ac_compile"
19997 case "(($ac_try" in
19998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19999 *) ac_try_echo=$ac_try;;
20001 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20002 (eval "$ac_compile") 2>conftest.er1
20004 grep -v '^ *+' conftest.er1 >conftest.err
20006 cat conftest.err >&5
20007 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20008 (exit $ac_status); } && {
20009 test -z "$ac_c_werror_flag" ||
20010 test ! -s conftest.err
20011 } && test -s conftest.$ac_objext; then
20012 eval "$as_ac_Header=yes"
20014 echo "$as_me: failed program was
:" >&5
20015 sed 's/^/| /' conftest.$ac_ext >&5
20017 eval "$as_ac_Header=no
"
20020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20022 ac_res=`eval echo '${'$as_ac_Header'}'`
20023 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20024 echo "${ECHO_T}$ac_res" >&6; }
20025 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20026 cat >>confdefs.h <<_ACEOF
20027 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20037 *-pc-os2_emx | *-pc-os2-emx )
20038 if test $ac_cv_header_langinfo_h = "yes" \
20039 -a \( "$wx_cv_gccversion" = "EMX2
" \
20040 -o "$wx_cv_gccversion" = "EMX3
" \
20041 -o "$wx_cv_gccversion" = "Innotek5
" \); then
20042 LIBS="$LIBS -lintl"
20047 if test "$USE_UNIX" = 1 ; then
20049 for ac_header in sys/select.h
20051 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20052 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20053 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20054 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20055 echo $ECHO_N "(cached
) $ECHO_C" >&6
20057 cat >conftest.$ac_ext <<_ACEOF
20060 cat confdefs.h >>conftest.$ac_ext
20061 cat >>conftest.$ac_ext <<_ACEOF
20062 /* end confdefs.h. */
20063 $ac_includes_default
20065 #include <$ac_header>
20067 rm -f conftest.$ac_objext
20068 if { (ac_try="$ac_compile"
20069 case "(($ac_try" in
20070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20071 *) ac_try_echo=$ac_try;;
20073 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20074 (eval "$ac_compile") 2>conftest.er1
20076 grep -v '^ *+' conftest.er1 >conftest.err
20078 cat conftest.err >&5
20079 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20080 (exit $ac_status); } && {
20081 test -z "$ac_c_werror_flag" ||
20082 test ! -s conftest.err
20083 } && test -s conftest.$ac_objext; then
20084 eval "$as_ac_Header=yes"
20086 echo "$as_me: failed program was
:" >&5
20087 sed 's/^/| /' conftest.$ac_ext >&5
20089 eval "$as_ac_Header=no
"
20092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20094 ac_res=`eval echo '${'$as_ac_Header'}'`
20095 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20096 echo "${ECHO_T}$ac_res" >&6; }
20097 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20098 cat >>confdefs.h <<_ACEOF
20099 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20109 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
20110 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
20111 if test "${ac_cv_c_const+set}" = set; then
20112 echo $ECHO_N "(cached
) $ECHO_C" >&6
20114 cat >conftest.$ac_ext <<_ACEOF
20117 cat confdefs.h >>conftest.$ac_ext
20118 cat >>conftest.$ac_ext <<_ACEOF
20119 /* end confdefs.h. */
20124 /* FIXME: Include the comments suggested by Paul. */
20125 #ifndef __cplusplus
20126 /* Ultrix mips cc rejects this. */
20127 typedef int charset[2];
20129 /* SunOS 4.1.1 cc rejects this. */
20130 char const *const *pcpcc;
20132 /* NEC SVR4.0.2 mips cc rejects this. */
20133 struct point {int x, y;};
20134 static struct point const zero = {0,0};
20135 /* AIX XL C 1.02.0.0 rejects this.
20136 It does not let you subtract one const X* pointer from another in
20137 an arm of an if-expression whose if-part is not a constant
20139 const char *g = "string
";
20140 pcpcc = &g + (g ? g-g : 0);
20141 /* HPUX 7.0 cc rejects these. */
20143 ppc = (char**) pcpcc;
20144 pcpcc = (char const *const *) ppc;
20145 { /* SCO 3.2v4 cc rejects this. */
20147 char const *s = 0 ? (char *) 0 : (char const *) 0;
20152 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20153 int x[] = {25, 17};
20154 const int *foo = &x[0];
20157 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20158 typedef const int *iptr;
20162 { /* AIX XL C 1.02.0.0 rejects this saying
20163 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20164 struct s { int j; const int *ap[3]; };
20165 struct s *b; b->j = 5;
20167 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20168 const int foo = 10;
20169 if (!foo) return 0;
20171 return !cs[0] && !zero.x;
20178 rm -f conftest.$ac_objext
20179 if { (ac_try="$ac_compile"
20180 case "(($ac_try" in
20181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20182 *) ac_try_echo=$ac_try;;
20184 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20185 (eval "$ac_compile") 2>conftest.er1
20187 grep -v '^ *+' conftest.er1 >conftest.err
20189 cat conftest.err >&5
20190 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20191 (exit $ac_status); } && {
20192 test -z "$ac_c_werror_flag" ||
20193 test ! -s conftest.err
20194 } && test -s conftest.$ac_objext; then
20197 echo "$as_me: failed program was
:" >&5
20198 sed 's/^/| /' conftest.$ac_ext >&5
20203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20205 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
20206 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20207 if test $ac_cv_c_const = no; then
20209 cat >>confdefs.h <<\_ACEOF
20215 { echo "$as_me:$LINENO: checking
for inline
" >&5
20216 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
20217 if test "${ac_cv_c_inline+set}" = set; then
20218 echo $ECHO_N "(cached
) $ECHO_C" >&6
20221 for ac_kw in inline __inline__ __inline; do
20222 cat >conftest.$ac_ext <<_ACEOF
20225 cat confdefs.h >>conftest.$ac_ext
20226 cat >>conftest.$ac_ext <<_ACEOF
20227 /* end confdefs.h. */
20228 #ifndef __cplusplus
20230 static $ac_kw foo_t static_foo () {return 0; }
20231 $ac_kw foo_t foo () {return 0; }
20235 rm -f conftest.$ac_objext
20236 if { (ac_try="$ac_compile"
20237 case "(($ac_try" in
20238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20239 *) ac_try_echo=$ac_try;;
20241 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20242 (eval "$ac_compile") 2>conftest.er1
20244 grep -v '^ *+' conftest.er1 >conftest.err
20246 cat conftest.err >&5
20247 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20248 (exit $ac_status); } && {
20249 test -z "$ac_c_werror_flag" ||
20250 test ! -s conftest.err
20251 } && test -s conftest.$ac_objext; then
20252 ac_cv_c_inline=$ac_kw
20254 echo "$as_me: failed program was
:" >&5
20255 sed 's/^/| /' conftest.$ac_ext >&5
20260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20261 test "$ac_cv_c_inline" != no && break
20265 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
20266 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20269 case $ac_cv_c_inline in
20272 case $ac_cv_c_inline in
20274 *) ac_val=$ac_cv_c_inline;;
20276 cat >>confdefs.h <<_ACEOF
20277 #ifndef __cplusplus
20278 #define inline $ac_val
20285 { echo "$as_me:$LINENO: checking
for short
" >&5
20286 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
20287 if test "${ac_cv_type_short+set}" = set; then
20288 echo $ECHO_N "(cached
) $ECHO_C" >&6
20290 cat >conftest.$ac_ext <<_ACEOF
20293 cat confdefs.h >>conftest.$ac_ext
20294 cat >>conftest.$ac_ext <<_ACEOF
20295 /* end confdefs.h. */
20296 $ac_includes_default
20297 typedef short ac__type_new_;
20301 if ((ac__type_new_ *) 0)
20303 if (sizeof (ac__type_new_))
20309 rm -f conftest.$ac_objext
20310 if { (ac_try="$ac_compile"
20311 case "(($ac_try" in
20312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20313 *) ac_try_echo=$ac_try;;
20315 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20316 (eval "$ac_compile") 2>conftest.er1
20318 grep -v '^ *+' conftest.er1 >conftest.err
20320 cat conftest.err >&5
20321 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20322 (exit $ac_status); } && {
20323 test -z "$ac_c_werror_flag" ||
20324 test ! -s conftest.err
20325 } && test -s conftest.$ac_objext; then
20326 ac_cv_type_short=yes
20328 echo "$as_me: failed program was
:" >&5
20329 sed 's/^/| /' conftest.$ac_ext >&5
20331 ac_cv_type_short=no
20334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20336 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
20337 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20339 # The cast to long int works around a bug in the HP C Compiler
20340 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20341 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20342 # This bug is HP SR number 8606223364.
20343 { echo "$as_me:$LINENO: checking size of short
" >&5
20344 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
20345 if test "${ac_cv_sizeof_short+set}" = set; then
20346 echo $ECHO_N "(cached
) $ECHO_C" >&6
20348 if test "$cross_compiling" = yes; then
20349 # Depending upon the size, compute the lo and hi bounds.
20350 cat >conftest.$ac_ext <<_ACEOF
20353 cat confdefs.h >>conftest.$ac_ext
20354 cat >>conftest.$ac_ext <<_ACEOF
20355 /* end confdefs.h. */
20356 $ac_includes_default
20357 typedef short ac__type_sizeof_;
20361 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20368 rm -f conftest.$ac_objext
20369 if { (ac_try="$ac_compile"
20370 case "(($ac_try" in
20371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20372 *) ac_try_echo=$ac_try;;
20374 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20375 (eval "$ac_compile") 2>conftest.er1
20377 grep -v '^ *+' conftest.er1 >conftest.err
20379 cat conftest.err >&5
20380 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20381 (exit $ac_status); } && {
20382 test -z "$ac_c_werror_flag" ||
20383 test ! -s conftest.err
20384 } && test -s conftest.$ac_objext; then
20387 cat >conftest.$ac_ext <<_ACEOF
20390 cat confdefs.h >>conftest.$ac_ext
20391 cat >>conftest.$ac_ext <<_ACEOF
20392 /* end confdefs.h. */
20393 $ac_includes_default
20394 typedef short ac__type_sizeof_;
20398 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20405 rm -f conftest.$ac_objext
20406 if { (ac_try="$ac_compile"
20407 case "(($ac_try" in
20408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20409 *) ac_try_echo=$ac_try;;
20411 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20412 (eval "$ac_compile") 2>conftest.er1
20414 grep -v '^ *+' conftest.er1 >conftest.err
20416 cat conftest.err >&5
20417 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20418 (exit $ac_status); } && {
20419 test -z "$ac_c_werror_flag" ||
20420 test ! -s conftest.err
20421 } && test -s conftest.$ac_objext; then
20422 ac_hi=$ac_mid; break
20424 echo "$as_me: failed program was
:" >&5
20425 sed 's/^/| /' conftest.$ac_ext >&5
20427 ac_lo=`expr $ac_mid + 1`
20428 if test $ac_lo -le $ac_mid; then
20432 ac_mid=`expr 2 '*' $ac_mid + 1`
20435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20438 echo "$as_me: failed program was
:" >&5
20439 sed 's/^/| /' conftest.$ac_ext >&5
20441 cat >conftest.$ac_ext <<_ACEOF
20444 cat confdefs.h >>conftest.$ac_ext
20445 cat >>conftest.$ac_ext <<_ACEOF
20446 /* end confdefs.h. */
20447 $ac_includes_default
20448 typedef short ac__type_sizeof_;
20452 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20459 rm -f conftest.$ac_objext
20460 if { (ac_try="$ac_compile"
20461 case "(($ac_try" in
20462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20463 *) ac_try_echo=$ac_try;;
20465 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20466 (eval "$ac_compile") 2>conftest.er1
20468 grep -v '^ *+' conftest.er1 >conftest.err
20470 cat conftest.err >&5
20471 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20472 (exit $ac_status); } && {
20473 test -z "$ac_c_werror_flag" ||
20474 test ! -s conftest.err
20475 } && test -s conftest.$ac_objext; then
20478 cat >conftest.$ac_ext <<_ACEOF
20481 cat confdefs.h >>conftest.$ac_ext
20482 cat >>conftest.$ac_ext <<_ACEOF
20483 /* end confdefs.h. */
20484 $ac_includes_default
20485 typedef short ac__type_sizeof_;
20489 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20496 rm -f conftest.$ac_objext
20497 if { (ac_try="$ac_compile"
20498 case "(($ac_try" in
20499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20500 *) ac_try_echo=$ac_try;;
20502 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20503 (eval "$ac_compile") 2>conftest.er1
20505 grep -v '^ *+' conftest.er1 >conftest.err
20507 cat conftest.err >&5
20508 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20509 (exit $ac_status); } && {
20510 test -z "$ac_c_werror_flag" ||
20511 test ! -s conftest.err
20512 } && test -s conftest.$ac_objext; then
20513 ac_lo=$ac_mid; break
20515 echo "$as_me: failed program was
:" >&5
20516 sed 's/^/| /' conftest.$ac_ext >&5
20518 ac_hi=`expr '(' $ac_mid ')' - 1`
20519 if test $ac_mid -le $ac_hi; then
20523 ac_mid=`expr 2 '*' $ac_mid`
20526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20529 echo "$as_me: failed program was
:" >&5
20530 sed 's/^/| /' conftest.$ac_ext >&5
20535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20539 # Binary search between lo and hi bounds.
20540 while test "x
$ac_lo" != "x
$ac_hi"; do
20541 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20542 cat >conftest.$ac_ext <<_ACEOF
20545 cat confdefs.h >>conftest.$ac_ext
20546 cat >>conftest.$ac_ext <<_ACEOF
20547 /* end confdefs.h. */
20548 $ac_includes_default
20549 typedef short ac__type_sizeof_;
20553 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20560 rm -f conftest.$ac_objext
20561 if { (ac_try="$ac_compile"
20562 case "(($ac_try" in
20563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20564 *) ac_try_echo=$ac_try;;
20566 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20567 (eval "$ac_compile") 2>conftest.er1
20569 grep -v '^ *+' conftest.er1 >conftest.err
20571 cat conftest.err >&5
20572 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20573 (exit $ac_status); } && {
20574 test -z "$ac_c_werror_flag" ||
20575 test ! -s conftest.err
20576 } && test -s conftest.$ac_objext; then
20579 echo "$as_me: failed program was
:" >&5
20580 sed 's/^/| /' conftest.$ac_ext >&5
20582 ac_lo=`expr '(' $ac_mid ')' + 1`
20585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20588 ?*) ac_cv_sizeof_short=$ac_lo;;
20589 '') if test "$ac_cv_type_short" = yes; then
20590 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
20591 See \
`config.log' for more details." >&5
20592 echo "$as_me: error: cannot compute sizeof (short)
20593 See \`config.log
' for more details." >&2;}
20594 { (exit 77); exit 77; }; }
20596 ac_cv_sizeof_short=0
20600 cat >conftest.$ac_ext <<_ACEOF
20603 cat confdefs.h >>conftest.$ac_ext
20604 cat >>conftest.$ac_ext <<_ACEOF
20605 /* end confdefs.h. */
20606 $ac_includes_default
20607 typedef short ac__type_sizeof_;
20608 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20609 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20611 #include <stdlib.h>
20616 FILE *f = fopen ("conftest.val", "w");
20619 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20621 long int i = longval ();
20622 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20624 fprintf (f, "%ld\n", i);
20628 unsigned long int i = ulongval ();
20629 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20631 fprintf (f, "%lu\n", i);
20633 return ferror (f) || fclose (f) != 0;
20639 rm -f conftest$ac_exeext
20640 if { (ac_try="$ac_link"
20641 case "(($ac_try" in
20642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20643 *) ac_try_echo=$ac_try;;
20645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20646 (eval "$ac_link") 2>&5
20648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20649 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
20650 { (case "(($ac_try" in
20651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20652 *) ac_try_echo=$ac_try;;
20654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20655 (eval "$ac_try") 2>&5
20657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20658 (exit $ac_status); }; }; then
20659 ac_cv_sizeof_short=`cat conftest.val`
20661 echo "$as_me: program exited with status $ac_status" >&5
20662 echo "$as_me: failed program was:" >&5
20663 sed 's
/^
/| /' conftest.$ac_ext >&5
20665 ( exit $ac_status )
20666 if test "$ac_cv_type_short" = yes; then
20667 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20668 See \`config.log' for more details.
" >&5
20669 echo "$as_me: error
: cannot compute sizeof
(short
)
20670 See \
`config.log' for more details." >&2;}
20671 { (exit 77); exit 77; }; }
20673 ac_cv_sizeof_short=0
20676 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20680 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20681 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20685 cat >>confdefs.h <<_ACEOF
20686 #define SIZEOF_SHORT $ac_cv_sizeof_short
20690 { echo "$as_me:$LINENO: checking for void *" >&5
20691 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20692 if test "${ac_cv_type_void_p+set}" = set; then
20693 echo $ECHO_N "(cached) $ECHO_C" >&6
20695 cat >conftest.$ac_ext <<_ACEOF
20698 cat confdefs.h >>conftest.$ac_ext
20699 cat >>conftest.$ac_ext <<_ACEOF
20700 /* end confdefs.h. */
20701 $ac_includes_default
20702 typedef void * ac__type_new_;
20706 if ((ac__type_new_ *) 0)
20708 if (sizeof (ac__type_new_))
20714 rm -f conftest.$ac_objext
20715 if { (ac_try="$ac_compile"
20716 case "(($ac_try" in
20717 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20718 *) ac_try_echo
=$ac_try;;
20720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20721 (eval "$ac_compile") 2>conftest.er1
20723 grep -v '^ *+' conftest.er1
>conftest.err
20725 cat conftest.err
>&5
20726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20727 (exit $ac_status); } && {
20728 test -z "$ac_c_werror_flag" ||
20729 test ! -s conftest.err
20730 } && test -s conftest.
$ac_objext; then
20731 ac_cv_type_void_p
=yes
20733 echo "$as_me: failed program was:" >&5
20734 sed 's/^/| /' conftest.
$ac_ext >&5
20736 ac_cv_type_void_p
=no
20739 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20741 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20742 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20744 # The cast to long int works around a bug in the HP C Compiler
20745 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20746 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20747 # This bug is HP SR number 8606223364.
20748 { echo "$as_me:$LINENO: checking size of void *" >&5
20749 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20750 if test "${ac_cv_sizeof_void_p+set}" = set; then
20751 echo $ECHO_N "(cached) $ECHO_C" >&6
20753 if test "$cross_compiling" = yes; then
20754 # Depending upon the size, compute the lo and hi bounds.
20755 cat >conftest.
$ac_ext <<_ACEOF
20758 cat confdefs.h
>>conftest.
$ac_ext
20759 cat >>conftest.
$ac_ext <<_ACEOF
20760 /* end confdefs.h. */
20761 $ac_includes_default
20762 typedef void * ac__type_sizeof_;
20766 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20773 rm -f conftest.
$ac_objext
20774 if { (ac_try
="$ac_compile"
20775 case "(($ac_try" in
20776 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20777 *) ac_try_echo=$ac_try;;
20779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20780 (eval "$ac_compile") 2>conftest.er1
20782 grep -v '^ *+' conftest.er1 >conftest.err
20784 cat conftest.err >&5
20785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20786 (exit $ac_status); } && {
20787 test -z "$ac_c_werror_flag" ||
20788 test ! -s conftest.err
20789 } && test -s conftest.$ac_objext; then
20792 cat >conftest.$ac_ext <<_ACEOF
20795 cat confdefs.h >>conftest.$ac_ext
20796 cat >>conftest.$ac_ext <<_ACEOF
20797 /* end confdefs.h. */
20798 $ac_includes_default
20799 typedef void * ac__type_sizeof_;
20803 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20810 rm -f conftest.$ac_objext
20811 if { (ac_try="$ac_compile"
20812 case "(($ac_try" in
20813 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20814 *) ac_try_echo
=$ac_try;;
20816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20817 (eval "$ac_compile") 2>conftest.er1
20819 grep -v '^ *+' conftest.er1
>conftest.err
20821 cat conftest.err
>&5
20822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20823 (exit $ac_status); } && {
20824 test -z "$ac_c_werror_flag" ||
20825 test ! -s conftest.err
20826 } && test -s conftest.
$ac_objext; then
20827 ac_hi
=$ac_mid; break
20829 echo "$as_me: failed program was:" >&5
20830 sed 's/^/| /' conftest.
$ac_ext >&5
20832 ac_lo
=`expr $ac_mid + 1`
20833 if test $ac_lo -le $ac_mid; then
20837 ac_mid
=`expr 2 '*' $ac_mid + 1`
20840 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20843 echo "$as_me: failed program was:" >&5
20844 sed 's/^/| /' conftest.
$ac_ext >&5
20846 cat >conftest.
$ac_ext <<_ACEOF
20849 cat confdefs.h
>>conftest.
$ac_ext
20850 cat >>conftest.
$ac_ext <<_ACEOF
20851 /* end confdefs.h. */
20852 $ac_includes_default
20853 typedef void * ac__type_sizeof_;
20857 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20864 rm -f conftest.
$ac_objext
20865 if { (ac_try
="$ac_compile"
20866 case "(($ac_try" in
20867 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20868 *) ac_try_echo=$ac_try;;
20870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20871 (eval "$ac_compile") 2>conftest.er1
20873 grep -v '^ *+' conftest.er1 >conftest.err
20875 cat conftest.err >&5
20876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20877 (exit $ac_status); } && {
20878 test -z "$ac_c_werror_flag" ||
20879 test ! -s conftest.err
20880 } && test -s conftest.$ac_objext; then
20883 cat >conftest.$ac_ext <<_ACEOF
20886 cat confdefs.h >>conftest.$ac_ext
20887 cat >>conftest.$ac_ext <<_ACEOF
20888 /* end confdefs.h. */
20889 $ac_includes_default
20890 typedef void * ac__type_sizeof_;
20894 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20901 rm -f conftest.$ac_objext
20902 if { (ac_try="$ac_compile"
20903 case "(($ac_try" in
20904 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20905 *) ac_try_echo
=$ac_try;;
20907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20908 (eval "$ac_compile") 2>conftest.er1
20910 grep -v '^ *+' conftest.er1
>conftest.err
20912 cat conftest.err
>&5
20913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20914 (exit $ac_status); } && {
20915 test -z "$ac_c_werror_flag" ||
20916 test ! -s conftest.err
20917 } && test -s conftest.
$ac_objext; then
20918 ac_lo
=$ac_mid; break
20920 echo "$as_me: failed program was:" >&5
20921 sed 's/^/| /' conftest.
$ac_ext >&5
20923 ac_hi
=`expr '(' $ac_mid ')' - 1`
20924 if test $ac_mid -le $ac_hi; then
20928 ac_mid
=`expr 2 '*' $ac_mid`
20931 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20934 echo "$as_me: failed program was:" >&5
20935 sed 's/^/| /' conftest.
$ac_ext >&5
20940 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20943 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20944 # Binary search between lo and hi bounds.
20945 while test "x$ac_lo" != "x$ac_hi"; do
20946 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20947 cat >conftest.
$ac_ext <<_ACEOF
20950 cat confdefs.h
>>conftest.
$ac_ext
20951 cat >>conftest.
$ac_ext <<_ACEOF
20952 /* end confdefs.h. */
20953 $ac_includes_default
20954 typedef void * ac__type_sizeof_;
20958 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20965 rm -f conftest.
$ac_objext
20966 if { (ac_try
="$ac_compile"
20967 case "(($ac_try" in
20968 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20969 *) ac_try_echo=$ac_try;;
20971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20972 (eval "$ac_compile") 2>conftest.er1
20974 grep -v '^ *+' conftest.er1 >conftest.err
20976 cat conftest.err >&5
20977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20978 (exit $ac_status); } && {
20979 test -z "$ac_c_werror_flag" ||
20980 test ! -s conftest.err
20981 } && test -s conftest.$ac_objext; then
20984 echo "$as_me: failed program was:" >&5
20985 sed 's/^/| /' conftest.$ac_ext >&5
20987 ac_lo=`expr '(' $ac_mid ')' + 1`
20990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20993 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20994 '') if test "$ac_cv_type_void_p" = yes; then
20995 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20996 See \`config.log
' for more details." >&5
20997 echo "$as_me: error: cannot compute sizeof (void *)
20998 See \`config.log' for more details.
" >&2;}
20999 { (exit 77); exit 77; }; }
21001 ac_cv_sizeof_void_p=0
21005 cat >conftest.$ac_ext <<_ACEOF
21008 cat confdefs.h >>conftest.$ac_ext
21009 cat >>conftest.$ac_ext <<_ACEOF
21010 /* end confdefs.h. */
21011 $ac_includes_default
21012 typedef void * ac__type_sizeof_;
21013 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21014 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21016 #include <stdlib.h>
21021 FILE *f = fopen ("conftest.val
", "w
");
21024 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21026 long int i = longval ();
21027 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21029 fprintf (f, "%ld
\n", i);
21033 unsigned long int i = ulongval ();
21034 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21036 fprintf (f, "%lu
\n", i);
21038 return ferror (f) || fclose (f) != 0;
21044 rm -f conftest$ac_exeext
21045 if { (ac_try="$ac_link"
21046 case "(($ac_try" in
21047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21048 *) ac_try_echo=$ac_try;;
21050 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21051 (eval "$ac_link") 2>&5
21053 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21054 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21055 { (case "(($ac_try" in
21056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21057 *) ac_try_echo=$ac_try;;
21059 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21060 (eval "$ac_try") 2>&5
21062 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21063 (exit $ac_status); }; }; then
21064 ac_cv_sizeof_void_p=`cat conftest.val`
21066 echo "$as_me: program exited with status
$ac_status" >&5
21067 echo "$as_me: failed program was
:" >&5
21068 sed 's/^/| /' conftest.$ac_ext >&5
21070 ( exit $ac_status )
21071 if test "$ac_cv_type_void_p" = yes; then
21072 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
21073 See \
`config.log' for more details." >&5
21074 echo "$as_me: error: cannot compute sizeof (void *)
21075 See \`config.log
' for more details." >&2;}
21076 { (exit 77); exit 77; }; }
21078 ac_cv_sizeof_void_p=0
21081 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21085 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21086 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21090 cat >>confdefs.h <<_ACEOF
21091 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21095 { echo "$as_me:$LINENO: checking for int" >&5
21096 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21097 if test "${ac_cv_type_int+set}" = set; then
21098 echo $ECHO_N "(cached) $ECHO_C" >&6
21100 cat >conftest.$ac_ext <<_ACEOF
21103 cat confdefs.h >>conftest.$ac_ext
21104 cat >>conftest.$ac_ext <<_ACEOF
21105 /* end confdefs.h. */
21106 $ac_includes_default
21107 typedef int ac__type_new_;
21111 if ((ac__type_new_ *) 0)
21113 if (sizeof (ac__type_new_))
21119 rm -f conftest.$ac_objext
21120 if { (ac_try="$ac_compile"
21121 case "(($ac_try" in
21122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21123 *) ac_try_echo=$ac_try;;
21125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21126 (eval "$ac_compile") 2>conftest.er1
21128 grep -v '^
*+' conftest.er1 >conftest.err
21130 cat conftest.err >&5
21131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21132 (exit $ac_status); } && {
21133 test -z "$ac_c_werror_flag" ||
21134 test ! -s conftest.err
21135 } && test -s conftest.$ac_objext; then
21138 echo "$as_me: failed program was:" >&5
21139 sed 's
/^
/| /' conftest.$ac_ext >&5
21144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21146 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21147 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21149 # The cast to long int works around a bug in the HP C Compiler
21150 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21151 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21152 # This bug is HP SR number 8606223364.
21153 { echo "$as_me:$LINENO: checking size of int" >&5
21154 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21155 if test "${ac_cv_sizeof_int+set}" = set; then
21156 echo $ECHO_N "(cached) $ECHO_C" >&6
21158 if test "$cross_compiling" = yes; then
21159 # Depending upon the size, compute the lo and hi bounds.
21160 cat >conftest.
$ac_ext <<_ACEOF
21163 cat confdefs.h
>>conftest.
$ac_ext
21164 cat >>conftest.
$ac_ext <<_ACEOF
21165 /* end confdefs.h. */
21166 $ac_includes_default
21167 typedef int ac__type_sizeof_;
21171 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21178 rm -f conftest.
$ac_objext
21179 if { (ac_try
="$ac_compile"
21180 case "(($ac_try" in
21181 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21182 *) ac_try_echo=$ac_try;;
21184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21185 (eval "$ac_compile") 2>conftest.er1
21187 grep -v '^ *+' conftest.er1 >conftest.err
21189 cat conftest.err >&5
21190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21191 (exit $ac_status); } && {
21192 test -z "$ac_c_werror_flag" ||
21193 test ! -s conftest.err
21194 } && test -s conftest.$ac_objext; then
21197 cat >conftest.$ac_ext <<_ACEOF
21200 cat confdefs.h >>conftest.$ac_ext
21201 cat >>conftest.$ac_ext <<_ACEOF
21202 /* end confdefs.h. */
21203 $ac_includes_default
21204 typedef int ac__type_sizeof_;
21208 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21215 rm -f conftest.$ac_objext
21216 if { (ac_try="$ac_compile"
21217 case "(($ac_try" in
21218 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21219 *) ac_try_echo
=$ac_try;;
21221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21222 (eval "$ac_compile") 2>conftest.er1
21224 grep -v '^ *+' conftest.er1
>conftest.err
21226 cat conftest.err
>&5
21227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21228 (exit $ac_status); } && {
21229 test -z "$ac_c_werror_flag" ||
21230 test ! -s conftest.err
21231 } && test -s conftest.
$ac_objext; then
21232 ac_hi
=$ac_mid; break
21234 echo "$as_me: failed program was:" >&5
21235 sed 's/^/| /' conftest.
$ac_ext >&5
21237 ac_lo
=`expr $ac_mid + 1`
21238 if test $ac_lo -le $ac_mid; then
21242 ac_mid
=`expr 2 '*' $ac_mid + 1`
21245 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21248 echo "$as_me: failed program was:" >&5
21249 sed 's/^/| /' conftest.
$ac_ext >&5
21251 cat >conftest.
$ac_ext <<_ACEOF
21254 cat confdefs.h
>>conftest.
$ac_ext
21255 cat >>conftest.
$ac_ext <<_ACEOF
21256 /* end confdefs.h. */
21257 $ac_includes_default
21258 typedef int ac__type_sizeof_;
21262 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21269 rm -f conftest.
$ac_objext
21270 if { (ac_try
="$ac_compile"
21271 case "(($ac_try" in
21272 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21273 *) ac_try_echo=$ac_try;;
21275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21276 (eval "$ac_compile") 2>conftest.er1
21278 grep -v '^ *+' conftest.er1 >conftest.err
21280 cat conftest.err >&5
21281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21282 (exit $ac_status); } && {
21283 test -z "$ac_c_werror_flag" ||
21284 test ! -s conftest.err
21285 } && test -s conftest.$ac_objext; then
21288 cat >conftest.$ac_ext <<_ACEOF
21291 cat confdefs.h >>conftest.$ac_ext
21292 cat >>conftest.$ac_ext <<_ACEOF
21293 /* end confdefs.h. */
21294 $ac_includes_default
21295 typedef int ac__type_sizeof_;
21299 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21306 rm -f conftest.$ac_objext
21307 if { (ac_try="$ac_compile"
21308 case "(($ac_try" in
21309 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21310 *) ac_try_echo
=$ac_try;;
21312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21313 (eval "$ac_compile") 2>conftest.er1
21315 grep -v '^ *+' conftest.er1
>conftest.err
21317 cat conftest.err
>&5
21318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21319 (exit $ac_status); } && {
21320 test -z "$ac_c_werror_flag" ||
21321 test ! -s conftest.err
21322 } && test -s conftest.
$ac_objext; then
21323 ac_lo
=$ac_mid; break
21325 echo "$as_me: failed program was:" >&5
21326 sed 's/^/| /' conftest.
$ac_ext >&5
21328 ac_hi
=`expr '(' $ac_mid ')' - 1`
21329 if test $ac_mid -le $ac_hi; then
21333 ac_mid
=`expr 2 '*' $ac_mid`
21336 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21339 echo "$as_me: failed program was:" >&5
21340 sed 's/^/| /' conftest.
$ac_ext >&5
21345 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21348 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21349 # Binary search between lo and hi bounds.
21350 while test "x$ac_lo" != "x$ac_hi"; do
21351 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21352 cat >conftest.
$ac_ext <<_ACEOF
21355 cat confdefs.h
>>conftest.
$ac_ext
21356 cat >>conftest.
$ac_ext <<_ACEOF
21357 /* end confdefs.h. */
21358 $ac_includes_default
21359 typedef int ac__type_sizeof_;
21363 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21370 rm -f conftest.
$ac_objext
21371 if { (ac_try
="$ac_compile"
21372 case "(($ac_try" in
21373 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21374 *) ac_try_echo=$ac_try;;
21376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21377 (eval "$ac_compile") 2>conftest.er1
21379 grep -v '^ *+' conftest.er1 >conftest.err
21381 cat conftest.err >&5
21382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21383 (exit $ac_status); } && {
21384 test -z "$ac_c_werror_flag" ||
21385 test ! -s conftest.err
21386 } && test -s conftest.$ac_objext; then
21389 echo "$as_me: failed program was:" >&5
21390 sed 's/^/| /' conftest.$ac_ext >&5
21392 ac_lo=`expr '(' $ac_mid ')' + 1`
21395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21398 ?*) ac_cv_sizeof_int=$ac_lo;;
21399 '') if test "$ac_cv_type_int" = yes; then
21400 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21401 See \`config.log
' for more details." >&5
21402 echo "$as_me: error: cannot compute sizeof (int)
21403 See \`config.log' for more details.
" >&2;}
21404 { (exit 77); exit 77; }; }
21410 cat >conftest.$ac_ext <<_ACEOF
21413 cat confdefs.h >>conftest.$ac_ext
21414 cat >>conftest.$ac_ext <<_ACEOF
21415 /* end confdefs.h. */
21416 $ac_includes_default
21417 typedef int ac__type_sizeof_;
21418 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21419 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21421 #include <stdlib.h>
21426 FILE *f = fopen ("conftest.val
", "w
");
21429 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21431 long int i = longval ();
21432 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21434 fprintf (f, "%ld
\n", i);
21438 unsigned long int i = ulongval ();
21439 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21441 fprintf (f, "%lu
\n", i);
21443 return ferror (f) || fclose (f) != 0;
21449 rm -f conftest$ac_exeext
21450 if { (ac_try="$ac_link"
21451 case "(($ac_try" in
21452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21453 *) ac_try_echo=$ac_try;;
21455 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21456 (eval "$ac_link") 2>&5
21458 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21459 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21460 { (case "(($ac_try" in
21461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21462 *) ac_try_echo=$ac_try;;
21464 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21465 (eval "$ac_try") 2>&5
21467 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21468 (exit $ac_status); }; }; then
21469 ac_cv_sizeof_int=`cat conftest.val`
21471 echo "$as_me: program exited with status
$ac_status" >&5
21472 echo "$as_me: failed program was
:" >&5
21473 sed 's/^/| /' conftest.$ac_ext >&5
21475 ( exit $ac_status )
21476 if test "$ac_cv_type_int" = yes; then
21477 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
21478 See \
`config.log' for more details." >&5
21479 echo "$as_me: error: cannot compute sizeof (int)
21480 See \`config.log
' for more details." >&2;}
21481 { (exit 77); exit 77; }; }
21486 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21490 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21491 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21495 cat >>confdefs.h <<_ACEOF
21496 #define SIZEOF_INT $ac_cv_sizeof_int
21500 { echo "$as_me:$LINENO: checking for long" >&5
21501 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21502 if test "${ac_cv_type_long+set}" = set; then
21503 echo $ECHO_N "(cached) $ECHO_C" >&6
21505 cat >conftest.$ac_ext <<_ACEOF
21508 cat confdefs.h >>conftest.$ac_ext
21509 cat >>conftest.$ac_ext <<_ACEOF
21510 /* end confdefs.h. */
21511 $ac_includes_default
21512 typedef long ac__type_new_;
21516 if ((ac__type_new_ *) 0)
21518 if (sizeof (ac__type_new_))
21524 rm -f conftest.$ac_objext
21525 if { (ac_try="$ac_compile"
21526 case "(($ac_try" in
21527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21528 *) ac_try_echo=$ac_try;;
21530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21531 (eval "$ac_compile") 2>conftest.er1
21533 grep -v '^
*+' conftest.er1 >conftest.err
21535 cat conftest.err >&5
21536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21537 (exit $ac_status); } && {
21538 test -z "$ac_c_werror_flag" ||
21539 test ! -s conftest.err
21540 } && test -s conftest.$ac_objext; then
21541 ac_cv_type_long=yes
21543 echo "$as_me: failed program was:" >&5
21544 sed 's
/^
/| /' conftest.$ac_ext >&5
21549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21551 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21552 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21554 # The cast to long int works around a bug in the HP C Compiler
21555 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21556 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21557 # This bug is HP SR number 8606223364.
21558 { echo "$as_me:$LINENO: checking size of long" >&5
21559 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21560 if test "${ac_cv_sizeof_long+set}" = set; then
21561 echo $ECHO_N "(cached) $ECHO_C" >&6
21563 if test "$cross_compiling" = yes; then
21564 # Depending upon the size, compute the lo and hi bounds.
21565 cat >conftest.
$ac_ext <<_ACEOF
21568 cat confdefs.h
>>conftest.
$ac_ext
21569 cat >>conftest.
$ac_ext <<_ACEOF
21570 /* end confdefs.h. */
21571 $ac_includes_default
21572 typedef long ac__type_sizeof_;
21576 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21583 rm -f conftest.
$ac_objext
21584 if { (ac_try
="$ac_compile"
21585 case "(($ac_try" in
21586 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21587 *) ac_try_echo=$ac_try;;
21589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21590 (eval "$ac_compile") 2>conftest.er1
21592 grep -v '^ *+' conftest.er1 >conftest.err
21594 cat conftest.err >&5
21595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21596 (exit $ac_status); } && {
21597 test -z "$ac_c_werror_flag" ||
21598 test ! -s conftest.err
21599 } && test -s conftest.$ac_objext; then
21602 cat >conftest.$ac_ext <<_ACEOF
21605 cat confdefs.h >>conftest.$ac_ext
21606 cat >>conftest.$ac_ext <<_ACEOF
21607 /* end confdefs.h. */
21608 $ac_includes_default
21609 typedef long ac__type_sizeof_;
21613 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21620 rm -f conftest.$ac_objext
21621 if { (ac_try="$ac_compile"
21622 case "(($ac_try" in
21623 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21624 *) ac_try_echo
=$ac_try;;
21626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21627 (eval "$ac_compile") 2>conftest.er1
21629 grep -v '^ *+' conftest.er1
>conftest.err
21631 cat conftest.err
>&5
21632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21633 (exit $ac_status); } && {
21634 test -z "$ac_c_werror_flag" ||
21635 test ! -s conftest.err
21636 } && test -s conftest.
$ac_objext; then
21637 ac_hi
=$ac_mid; break
21639 echo "$as_me: failed program was:" >&5
21640 sed 's/^/| /' conftest.
$ac_ext >&5
21642 ac_lo
=`expr $ac_mid + 1`
21643 if test $ac_lo -le $ac_mid; then
21647 ac_mid
=`expr 2 '*' $ac_mid + 1`
21650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21653 echo "$as_me: failed program was:" >&5
21654 sed 's/^/| /' conftest.
$ac_ext >&5
21656 cat >conftest.
$ac_ext <<_ACEOF
21659 cat confdefs.h
>>conftest.
$ac_ext
21660 cat >>conftest.
$ac_ext <<_ACEOF
21661 /* end confdefs.h. */
21662 $ac_includes_default
21663 typedef long ac__type_sizeof_;
21667 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21674 rm -f conftest.
$ac_objext
21675 if { (ac_try
="$ac_compile"
21676 case "(($ac_try" in
21677 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21678 *) ac_try_echo=$ac_try;;
21680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21681 (eval "$ac_compile") 2>conftest.er1
21683 grep -v '^ *+' conftest.er1 >conftest.err
21685 cat conftest.err >&5
21686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21687 (exit $ac_status); } && {
21688 test -z "$ac_c_werror_flag" ||
21689 test ! -s conftest.err
21690 } && test -s conftest.$ac_objext; then
21693 cat >conftest.$ac_ext <<_ACEOF
21696 cat confdefs.h >>conftest.$ac_ext
21697 cat >>conftest.$ac_ext <<_ACEOF
21698 /* end confdefs.h. */
21699 $ac_includes_default
21700 typedef long ac__type_sizeof_;
21704 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21711 rm -f conftest.$ac_objext
21712 if { (ac_try="$ac_compile"
21713 case "(($ac_try" in
21714 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21715 *) ac_try_echo
=$ac_try;;
21717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21718 (eval "$ac_compile") 2>conftest.er1
21720 grep -v '^ *+' conftest.er1
>conftest.err
21722 cat conftest.err
>&5
21723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21724 (exit $ac_status); } && {
21725 test -z "$ac_c_werror_flag" ||
21726 test ! -s conftest.err
21727 } && test -s conftest.
$ac_objext; then
21728 ac_lo
=$ac_mid; break
21730 echo "$as_me: failed program was:" >&5
21731 sed 's/^/| /' conftest.
$ac_ext >&5
21733 ac_hi
=`expr '(' $ac_mid ')' - 1`
21734 if test $ac_mid -le $ac_hi; then
21738 ac_mid
=`expr 2 '*' $ac_mid`
21741 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21744 echo "$as_me: failed program was:" >&5
21745 sed 's/^/| /' conftest.
$ac_ext >&5
21750 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21753 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21754 # Binary search between lo and hi bounds.
21755 while test "x$ac_lo" != "x$ac_hi"; do
21756 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21757 cat >conftest.
$ac_ext <<_ACEOF
21760 cat confdefs.h
>>conftest.
$ac_ext
21761 cat >>conftest.
$ac_ext <<_ACEOF
21762 /* end confdefs.h. */
21763 $ac_includes_default
21764 typedef long ac__type_sizeof_;
21768 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21775 rm -f conftest.
$ac_objext
21776 if { (ac_try
="$ac_compile"
21777 case "(($ac_try" in
21778 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21779 *) ac_try_echo=$ac_try;;
21781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21782 (eval "$ac_compile") 2>conftest.er1
21784 grep -v '^ *+' conftest.er1 >conftest.err
21786 cat conftest.err >&5
21787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21788 (exit $ac_status); } && {
21789 test -z "$ac_c_werror_flag" ||
21790 test ! -s conftest.err
21791 } && test -s conftest.$ac_objext; then
21794 echo "$as_me: failed program was:" >&5
21795 sed 's/^/| /' conftest.$ac_ext >&5
21797 ac_lo=`expr '(' $ac_mid ')' + 1`
21800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21803 ?*) ac_cv_sizeof_long=$ac_lo;;
21804 '') if test "$ac_cv_type_long" = yes; then
21805 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21806 See \`config.log
' for more details." >&5
21807 echo "$as_me: error: cannot compute sizeof (long)
21808 See \`config.log' for more details.
" >&2;}
21809 { (exit 77); exit 77; }; }
21811 ac_cv_sizeof_long=0
21815 cat >conftest.$ac_ext <<_ACEOF
21818 cat confdefs.h >>conftest.$ac_ext
21819 cat >>conftest.$ac_ext <<_ACEOF
21820 /* end confdefs.h. */
21821 $ac_includes_default
21822 typedef long ac__type_sizeof_;
21823 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21824 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21826 #include <stdlib.h>
21831 FILE *f = fopen ("conftest.val
", "w
");
21834 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21836 long int i = longval ();
21837 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21839 fprintf (f, "%ld
\n", i);
21843 unsigned long int i = ulongval ();
21844 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21846 fprintf (f, "%lu
\n", i);
21848 return ferror (f) || fclose (f) != 0;
21854 rm -f conftest$ac_exeext
21855 if { (ac_try="$ac_link"
21856 case "(($ac_try" in
21857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21858 *) ac_try_echo=$ac_try;;
21860 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21861 (eval "$ac_link") 2>&5
21863 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21864 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21865 { (case "(($ac_try" in
21866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21867 *) ac_try_echo=$ac_try;;
21869 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21870 (eval "$ac_try") 2>&5
21872 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21873 (exit $ac_status); }; }; then
21874 ac_cv_sizeof_long=`cat conftest.val`
21876 echo "$as_me: program exited with status
$ac_status" >&5
21877 echo "$as_me: failed program was
:" >&5
21878 sed 's/^/| /' conftest.$ac_ext >&5
21880 ( exit $ac_status )
21881 if test "$ac_cv_type_long" = yes; then
21882 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
21883 See \
`config.log' for more details." >&5
21884 echo "$as_me: error: cannot compute sizeof (long)
21885 See \`config.log
' for more details." >&2;}
21886 { (exit 77); exit 77; }; }
21888 ac_cv_sizeof_long=0
21891 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21895 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21896 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21900 cat >>confdefs.h <<_ACEOF
21901 #define SIZEOF_LONG $ac_cv_sizeof_long
21905 { echo "$as_me:$LINENO: checking for size_t" >&5
21906 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21907 if test "${ac_cv_type_size_t+set}" = set; then
21908 echo $ECHO_N "(cached) $ECHO_C" >&6
21910 cat >conftest.$ac_ext <<_ACEOF
21913 cat confdefs.h >>conftest.$ac_ext
21914 cat >>conftest.$ac_ext <<_ACEOF
21915 /* end confdefs.h. */
21916 $ac_includes_default
21917 typedef size_t ac__type_new_;
21921 if ((ac__type_new_ *) 0)
21923 if (sizeof (ac__type_new_))
21929 rm -f conftest.$ac_objext
21930 if { (ac_try="$ac_compile"
21931 case "(($ac_try" in
21932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21933 *) ac_try_echo=$ac_try;;
21935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21936 (eval "$ac_compile") 2>conftest.er1
21938 grep -v '^
*+' conftest.er1 >conftest.err
21940 cat conftest.err >&5
21941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21942 (exit $ac_status); } && {
21943 test -z "$ac_c_werror_flag" ||
21944 test ! -s conftest.err
21945 } && test -s conftest.$ac_objext; then
21946 ac_cv_type_size_t=yes
21948 echo "$as_me: failed program was:" >&5
21949 sed 's
/^
/| /' conftest.$ac_ext >&5
21951 ac_cv_type_size_t=no
21954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21956 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21957 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21959 # The cast to long int works around a bug in the HP C Compiler
21960 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21961 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21962 # This bug is HP SR number 8606223364.
21963 { echo "$as_me:$LINENO: checking size of size_t" >&5
21964 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21965 if test "${ac_cv_sizeof_size_t+set}" = set; then
21966 echo $ECHO_N "(cached) $ECHO_C" >&6
21968 if test "$cross_compiling" = yes; then
21969 # Depending upon the size, compute the lo and hi bounds.
21970 cat >conftest.
$ac_ext <<_ACEOF
21973 cat confdefs.h
>>conftest.
$ac_ext
21974 cat >>conftest.
$ac_ext <<_ACEOF
21975 /* end confdefs.h. */
21976 $ac_includes_default
21977 typedef size_t ac__type_sizeof_;
21981 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21988 rm -f conftest.
$ac_objext
21989 if { (ac_try
="$ac_compile"
21990 case "(($ac_try" in
21991 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21992 *) ac_try_echo=$ac_try;;
21994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21995 (eval "$ac_compile") 2>conftest.er1
21997 grep -v '^ *+' conftest.er1 >conftest.err
21999 cat conftest.err >&5
22000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22001 (exit $ac_status); } && {
22002 test -z "$ac_c_werror_flag" ||
22003 test ! -s conftest.err
22004 } && test -s conftest.$ac_objext; then
22007 cat >conftest.$ac_ext <<_ACEOF
22010 cat confdefs.h >>conftest.$ac_ext
22011 cat >>conftest.$ac_ext <<_ACEOF
22012 /* end confdefs.h. */
22013 $ac_includes_default
22014 typedef size_t ac__type_sizeof_;
22018 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22025 rm -f conftest.$ac_objext
22026 if { (ac_try="$ac_compile"
22027 case "(($ac_try" in
22028 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22029 *) ac_try_echo
=$ac_try;;
22031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22032 (eval "$ac_compile") 2>conftest.er1
22034 grep -v '^ *+' conftest.er1
>conftest.err
22036 cat conftest.err
>&5
22037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22038 (exit $ac_status); } && {
22039 test -z "$ac_c_werror_flag" ||
22040 test ! -s conftest.err
22041 } && test -s conftest.
$ac_objext; then
22042 ac_hi
=$ac_mid; break
22044 echo "$as_me: failed program was:" >&5
22045 sed 's/^/| /' conftest.
$ac_ext >&5
22047 ac_lo
=`expr $ac_mid + 1`
22048 if test $ac_lo -le $ac_mid; then
22052 ac_mid
=`expr 2 '*' $ac_mid + 1`
22055 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22058 echo "$as_me: failed program was:" >&5
22059 sed 's/^/| /' conftest.
$ac_ext >&5
22061 cat >conftest.
$ac_ext <<_ACEOF
22064 cat confdefs.h
>>conftest.
$ac_ext
22065 cat >>conftest.
$ac_ext <<_ACEOF
22066 /* end confdefs.h. */
22067 $ac_includes_default
22068 typedef size_t ac__type_sizeof_;
22072 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22079 rm -f conftest.
$ac_objext
22080 if { (ac_try
="$ac_compile"
22081 case "(($ac_try" in
22082 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22083 *) ac_try_echo=$ac_try;;
22085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22086 (eval "$ac_compile") 2>conftest.er1
22088 grep -v '^ *+' conftest.er1 >conftest.err
22090 cat conftest.err >&5
22091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22092 (exit $ac_status); } && {
22093 test -z "$ac_c_werror_flag" ||
22094 test ! -s conftest.err
22095 } && test -s conftest.$ac_objext; then
22098 cat >conftest.$ac_ext <<_ACEOF
22101 cat confdefs.h >>conftest.$ac_ext
22102 cat >>conftest.$ac_ext <<_ACEOF
22103 /* end confdefs.h. */
22104 $ac_includes_default
22105 typedef size_t ac__type_sizeof_;
22109 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22116 rm -f conftest.$ac_objext
22117 if { (ac_try="$ac_compile"
22118 case "(($ac_try" in
22119 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22120 *) ac_try_echo
=$ac_try;;
22122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22123 (eval "$ac_compile") 2>conftest.er1
22125 grep -v '^ *+' conftest.er1
>conftest.err
22127 cat conftest.err
>&5
22128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22129 (exit $ac_status); } && {
22130 test -z "$ac_c_werror_flag" ||
22131 test ! -s conftest.err
22132 } && test -s conftest.
$ac_objext; then
22133 ac_lo
=$ac_mid; break
22135 echo "$as_me: failed program was:" >&5
22136 sed 's/^/| /' conftest.
$ac_ext >&5
22138 ac_hi
=`expr '(' $ac_mid ')' - 1`
22139 if test $ac_mid -le $ac_hi; then
22143 ac_mid
=`expr 2 '*' $ac_mid`
22146 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22149 echo "$as_me: failed program was:" >&5
22150 sed 's/^/| /' conftest.
$ac_ext >&5
22155 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22158 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22159 # Binary search between lo and hi bounds.
22160 while test "x$ac_lo" != "x$ac_hi"; do
22161 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22162 cat >conftest.
$ac_ext <<_ACEOF
22165 cat confdefs.h
>>conftest.
$ac_ext
22166 cat >>conftest.
$ac_ext <<_ACEOF
22167 /* end confdefs.h. */
22168 $ac_includes_default
22169 typedef size_t ac__type_sizeof_;
22173 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22180 rm -f conftest.
$ac_objext
22181 if { (ac_try
="$ac_compile"
22182 case "(($ac_try" in
22183 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22184 *) ac_try_echo=$ac_try;;
22186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22187 (eval "$ac_compile") 2>conftest.er1
22189 grep -v '^ *+' conftest.er1 >conftest.err
22191 cat conftest.err >&5
22192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22193 (exit $ac_status); } && {
22194 test -z "$ac_c_werror_flag" ||
22195 test ! -s conftest.err
22196 } && test -s conftest.$ac_objext; then
22199 echo "$as_me: failed program was:" >&5
22200 sed 's/^/| /' conftest.$ac_ext >&5
22202 ac_lo=`expr '(' $ac_mid ')' + 1`
22205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22208 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22209 '') if test "$ac_cv_type_size_t" = yes; then
22210 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22211 See \`config.log
' for more details." >&5
22212 echo "$as_me: error: cannot compute sizeof (size_t)
22213 See \`config.log' for more details.
" >&2;}
22214 { (exit 77); exit 77; }; }
22216 ac_cv_sizeof_size_t=0
22220 cat >conftest.$ac_ext <<_ACEOF
22223 cat confdefs.h >>conftest.$ac_ext
22224 cat >>conftest.$ac_ext <<_ACEOF
22225 /* end confdefs.h. */
22226 $ac_includes_default
22227 typedef size_t ac__type_sizeof_;
22228 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22229 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22231 #include <stdlib.h>
22236 FILE *f = fopen ("conftest.val
", "w
");
22239 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22241 long int i = longval ();
22242 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22244 fprintf (f, "%ld
\n", i);
22248 unsigned long int i = ulongval ();
22249 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22251 fprintf (f, "%lu
\n", i);
22253 return ferror (f) || fclose (f) != 0;
22259 rm -f conftest$ac_exeext
22260 if { (ac_try="$ac_link"
22261 case "(($ac_try" in
22262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22263 *) ac_try_echo=$ac_try;;
22265 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22266 (eval "$ac_link") 2>&5
22268 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22269 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22270 { (case "(($ac_try" in
22271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22272 *) ac_try_echo=$ac_try;;
22274 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22275 (eval "$ac_try") 2>&5
22277 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22278 (exit $ac_status); }; }; then
22279 ac_cv_sizeof_size_t=`cat conftest.val`
22281 echo "$as_me: program exited with status
$ac_status" >&5
22282 echo "$as_me: failed program was
:" >&5
22283 sed 's/^/| /' conftest.$ac_ext >&5
22285 ( exit $ac_status )
22286 if test "$ac_cv_type_size_t" = yes; then
22287 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
22288 See \
`config.log' for more details." >&5
22289 echo "$as_me: error: cannot compute sizeof (size_t)
22290 See \`config.log
' for more details." >&2;}
22291 { (exit 77); exit 77; }; }
22293 ac_cv_sizeof_size_t=0
22296 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22300 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22301 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22305 cat >>confdefs.h <<_ACEOF
22306 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22313 { echo "$as_me:$LINENO: checking for long long" >&5
22314 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22315 if test "${ac_cv_type_long_long+set}" = set; then
22316 echo $ECHO_N "(cached) $ECHO_C" >&6
22318 cat >conftest.$ac_ext <<_ACEOF
22321 cat confdefs.h >>conftest.$ac_ext
22322 cat >>conftest.$ac_ext <<_ACEOF
22323 /* end confdefs.h. */
22324 $ac_includes_default
22325 typedef long long ac__type_new_;
22329 if ((ac__type_new_ *) 0)
22331 if (sizeof (ac__type_new_))
22337 rm -f conftest.$ac_objext
22338 if { (ac_try="$ac_compile"
22339 case "(($ac_try" in
22340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22341 *) ac_try_echo=$ac_try;;
22343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22344 (eval "$ac_compile") 2>conftest.er1
22346 grep -v '^
*+' conftest.er1 >conftest.err
22348 cat conftest.err >&5
22349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22350 (exit $ac_status); } && {
22351 test -z "$ac_c_werror_flag" ||
22352 test ! -s conftest.err
22353 } && test -s conftest.$ac_objext; then
22354 ac_cv_type_long_long=yes
22356 echo "$as_me: failed program was:" >&5
22357 sed 's
/^
/| /' conftest.$ac_ext >&5
22359 ac_cv_type_long_long=no
22362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22364 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22365 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22367 # The cast to long int works around a bug in the HP C Compiler
22368 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22369 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22370 # This bug is HP SR number 8606223364.
22371 { echo "$as_me:$LINENO: checking size of long long" >&5
22372 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22373 if test "${ac_cv_sizeof_long_long+set}" = set; then
22374 echo $ECHO_N "(cached) $ECHO_C" >&6
22376 if test "$cross_compiling" = yes; then
22377 # Depending upon the size, compute the lo and hi bounds.
22378 cat >conftest.
$ac_ext <<_ACEOF
22381 cat confdefs.h
>>conftest.
$ac_ext
22382 cat >>conftest.
$ac_ext <<_ACEOF
22383 /* end confdefs.h. */
22384 $ac_includes_default
22385 typedef long long ac__type_sizeof_;
22389 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22396 rm -f conftest.
$ac_objext
22397 if { (ac_try
="$ac_compile"
22398 case "(($ac_try" in
22399 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22400 *) ac_try_echo=$ac_try;;
22402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22403 (eval "$ac_compile") 2>conftest.er1
22405 grep -v '^ *+' conftest.er1 >conftest.err
22407 cat conftest.err >&5
22408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22409 (exit $ac_status); } && {
22410 test -z "$ac_c_werror_flag" ||
22411 test ! -s conftest.err
22412 } && test -s conftest.$ac_objext; then
22415 cat >conftest.$ac_ext <<_ACEOF
22418 cat confdefs.h >>conftest.$ac_ext
22419 cat >>conftest.$ac_ext <<_ACEOF
22420 /* end confdefs.h. */
22421 $ac_includes_default
22422 typedef long long ac__type_sizeof_;
22426 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22433 rm -f conftest.$ac_objext
22434 if { (ac_try="$ac_compile"
22435 case "(($ac_try" in
22436 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22437 *) ac_try_echo
=$ac_try;;
22439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22440 (eval "$ac_compile") 2>conftest.er1
22442 grep -v '^ *+' conftest.er1
>conftest.err
22444 cat conftest.err
>&5
22445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22446 (exit $ac_status); } && {
22447 test -z "$ac_c_werror_flag" ||
22448 test ! -s conftest.err
22449 } && test -s conftest.
$ac_objext; then
22450 ac_hi
=$ac_mid; break
22452 echo "$as_me: failed program was:" >&5
22453 sed 's/^/| /' conftest.
$ac_ext >&5
22455 ac_lo
=`expr $ac_mid + 1`
22456 if test $ac_lo -le $ac_mid; then
22460 ac_mid
=`expr 2 '*' $ac_mid + 1`
22463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22466 echo "$as_me: failed program was:" >&5
22467 sed 's/^/| /' conftest.
$ac_ext >&5
22469 cat >conftest.
$ac_ext <<_ACEOF
22472 cat confdefs.h
>>conftest.
$ac_ext
22473 cat >>conftest.
$ac_ext <<_ACEOF
22474 /* end confdefs.h. */
22475 $ac_includes_default
22476 typedef long long ac__type_sizeof_;
22480 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22487 rm -f conftest.
$ac_objext
22488 if { (ac_try
="$ac_compile"
22489 case "(($ac_try" in
22490 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22491 *) ac_try_echo=$ac_try;;
22493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22494 (eval "$ac_compile") 2>conftest.er1
22496 grep -v '^ *+' conftest.er1 >conftest.err
22498 cat conftest.err >&5
22499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22500 (exit $ac_status); } && {
22501 test -z "$ac_c_werror_flag" ||
22502 test ! -s conftest.err
22503 } && test -s conftest.$ac_objext; then
22506 cat >conftest.$ac_ext <<_ACEOF
22509 cat confdefs.h >>conftest.$ac_ext
22510 cat >>conftest.$ac_ext <<_ACEOF
22511 /* end confdefs.h. */
22512 $ac_includes_default
22513 typedef long long ac__type_sizeof_;
22517 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22524 rm -f conftest.$ac_objext
22525 if { (ac_try="$ac_compile"
22526 case "(($ac_try" in
22527 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22528 *) ac_try_echo
=$ac_try;;
22530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22531 (eval "$ac_compile") 2>conftest.er1
22533 grep -v '^ *+' conftest.er1
>conftest.err
22535 cat conftest.err
>&5
22536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22537 (exit $ac_status); } && {
22538 test -z "$ac_c_werror_flag" ||
22539 test ! -s conftest.err
22540 } && test -s conftest.
$ac_objext; then
22541 ac_lo
=$ac_mid; break
22543 echo "$as_me: failed program was:" >&5
22544 sed 's/^/| /' conftest.
$ac_ext >&5
22546 ac_hi
=`expr '(' $ac_mid ')' - 1`
22547 if test $ac_mid -le $ac_hi; then
22551 ac_mid
=`expr 2 '*' $ac_mid`
22554 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22557 echo "$as_me: failed program was:" >&5
22558 sed 's/^/| /' conftest.
$ac_ext >&5
22563 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22567 # Binary search between lo and hi bounds.
22568 while test "x$ac_lo" != "x$ac_hi"; do
22569 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22570 cat >conftest.
$ac_ext <<_ACEOF
22573 cat confdefs.h
>>conftest.
$ac_ext
22574 cat >>conftest.
$ac_ext <<_ACEOF
22575 /* end confdefs.h. */
22576 $ac_includes_default
22577 typedef long long ac__type_sizeof_;
22581 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22588 rm -f conftest.
$ac_objext
22589 if { (ac_try
="$ac_compile"
22590 case "(($ac_try" in
22591 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22592 *) ac_try_echo=$ac_try;;
22594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22595 (eval "$ac_compile") 2>conftest.er1
22597 grep -v '^ *+' conftest.er1 >conftest.err
22599 cat conftest.err >&5
22600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22601 (exit $ac_status); } && {
22602 test -z "$ac_c_werror_flag" ||
22603 test ! -s conftest.err
22604 } && test -s conftest.$ac_objext; then
22607 echo "$as_me: failed program was:" >&5
22608 sed 's/^/| /' conftest.$ac_ext >&5
22610 ac_lo=`expr '(' $ac_mid ')' + 1`
22613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22616 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22617 '') if test "$ac_cv_type_long_long" = yes; then
22618 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22619 See \`config.log
' for more details." >&5
22620 echo "$as_me: error: cannot compute sizeof (long long)
22621 See \`config.log' for more details.
" >&2;}
22622 { (exit 77); exit 77; }; }
22624 ac_cv_sizeof_long_long=0
22628 cat >conftest.$ac_ext <<_ACEOF
22631 cat confdefs.h >>conftest.$ac_ext
22632 cat >>conftest.$ac_ext <<_ACEOF
22633 /* end confdefs.h. */
22634 $ac_includes_default
22635 typedef long long ac__type_sizeof_;
22636 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22637 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22639 #include <stdlib.h>
22644 FILE *f = fopen ("conftest.val
", "w
");
22647 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22649 long int i = longval ();
22650 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22652 fprintf (f, "%ld
\n", i);
22656 unsigned long int i = ulongval ();
22657 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22659 fprintf (f, "%lu
\n", i);
22661 return ferror (f) || fclose (f) != 0;
22667 rm -f conftest$ac_exeext
22668 if { (ac_try="$ac_link"
22669 case "(($ac_try" in
22670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22671 *) ac_try_echo=$ac_try;;
22673 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22674 (eval "$ac_link") 2>&5
22676 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22677 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22678 { (case "(($ac_try" in
22679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22680 *) ac_try_echo=$ac_try;;
22682 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22683 (eval "$ac_try") 2>&5
22685 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22686 (exit $ac_status); }; }; then
22687 ac_cv_sizeof_long_long=`cat conftest.val`
22689 echo "$as_me: program exited with status
$ac_status" >&5
22690 echo "$as_me: failed program was
:" >&5
22691 sed 's/^/| /' conftest.$ac_ext >&5
22693 ( exit $ac_status )
22694 if test "$ac_cv_type_long_long" = yes; then
22695 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22696 See \
`config.log' for more details." >&5
22697 echo "$as_me: error: cannot compute sizeof (long long)
22698 See \`config.log
' for more details." >&2;}
22699 { (exit 77); exit 77; }; }
22701 ac_cv_sizeof_long_long=0
22704 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22708 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22709 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22713 cat >>confdefs.h <<_ACEOF
22714 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22720 { echo "$as_me:$LINENO: checking for long long" >&5
22721 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22722 if test "${ac_cv_type_long_long+set}" = set; then
22723 echo $ECHO_N "(cached) $ECHO_C" >&6
22725 cat >conftest.$ac_ext <<_ACEOF
22728 cat confdefs.h >>conftest.$ac_ext
22729 cat >>conftest.$ac_ext <<_ACEOF
22730 /* end confdefs.h. */
22731 $ac_includes_default
22732 typedef long long ac__type_new_;
22736 if ((ac__type_new_ *) 0)
22738 if (sizeof (ac__type_new_))
22744 rm -f conftest.$ac_objext
22745 if { (ac_try="$ac_compile"
22746 case "(($ac_try" in
22747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22748 *) ac_try_echo=$ac_try;;
22750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22751 (eval "$ac_compile") 2>conftest.er1
22753 grep -v '^
*+' conftest.er1 >conftest.err
22755 cat conftest.err >&5
22756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22757 (exit $ac_status); } && {
22758 test -z "$ac_c_werror_flag" ||
22759 test ! -s conftest.err
22760 } && test -s conftest.$ac_objext; then
22761 ac_cv_type_long_long=yes
22763 echo "$as_me: failed program was:" >&5
22764 sed 's
/^
/| /' conftest.$ac_ext >&5
22766 ac_cv_type_long_long=no
22769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22771 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22772 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22774 # The cast to long int works around a bug in the HP C Compiler
22775 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22776 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22777 # This bug is HP SR number 8606223364.
22778 { echo "$as_me:$LINENO: checking size of long long" >&5
22779 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22780 if test "${ac_cv_sizeof_long_long+set}" = set; then
22781 echo $ECHO_N "(cached) $ECHO_C" >&6
22783 if test "$cross_compiling" = yes; then
22784 # Depending upon the size, compute the lo and hi bounds.
22785 cat >conftest.
$ac_ext <<_ACEOF
22788 cat confdefs.h
>>conftest.
$ac_ext
22789 cat >>conftest.
$ac_ext <<_ACEOF
22790 /* end confdefs.h. */
22791 $ac_includes_default
22792 typedef long long ac__type_sizeof_;
22796 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22803 rm -f conftest.
$ac_objext
22804 if { (ac_try
="$ac_compile"
22805 case "(($ac_try" in
22806 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22807 *) ac_try_echo=$ac_try;;
22809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22810 (eval "$ac_compile") 2>conftest.er1
22812 grep -v '^ *+' conftest.er1 >conftest.err
22814 cat conftest.err >&5
22815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22816 (exit $ac_status); } && {
22817 test -z "$ac_c_werror_flag" ||
22818 test ! -s conftest.err
22819 } && test -s conftest.$ac_objext; then
22822 cat >conftest.$ac_ext <<_ACEOF
22825 cat confdefs.h >>conftest.$ac_ext
22826 cat >>conftest.$ac_ext <<_ACEOF
22827 /* end confdefs.h. */
22828 $ac_includes_default
22829 typedef long long ac__type_sizeof_;
22833 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22840 rm -f conftest.$ac_objext
22841 if { (ac_try="$ac_compile"
22842 case "(($ac_try" in
22843 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22844 *) ac_try_echo
=$ac_try;;
22846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22847 (eval "$ac_compile") 2>conftest.er1
22849 grep -v '^ *+' conftest.er1
>conftest.err
22851 cat conftest.err
>&5
22852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22853 (exit $ac_status); } && {
22854 test -z "$ac_c_werror_flag" ||
22855 test ! -s conftest.err
22856 } && test -s conftest.
$ac_objext; then
22857 ac_hi
=$ac_mid; break
22859 echo "$as_me: failed program was:" >&5
22860 sed 's/^/| /' conftest.
$ac_ext >&5
22862 ac_lo
=`expr $ac_mid + 1`
22863 if test $ac_lo -le $ac_mid; then
22867 ac_mid
=`expr 2 '*' $ac_mid + 1`
22870 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22873 echo "$as_me: failed program was:" >&5
22874 sed 's/^/| /' conftest.
$ac_ext >&5
22876 cat >conftest.
$ac_ext <<_ACEOF
22879 cat confdefs.h
>>conftest.
$ac_ext
22880 cat >>conftest.
$ac_ext <<_ACEOF
22881 /* end confdefs.h. */
22882 $ac_includes_default
22883 typedef long long ac__type_sizeof_;
22887 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22894 rm -f conftest.
$ac_objext
22895 if { (ac_try
="$ac_compile"
22896 case "(($ac_try" in
22897 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22898 *) ac_try_echo=$ac_try;;
22900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22901 (eval "$ac_compile") 2>conftest.er1
22903 grep -v '^ *+' conftest.er1 >conftest.err
22905 cat conftest.err >&5
22906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22907 (exit $ac_status); } && {
22908 test -z "$ac_c_werror_flag" ||
22909 test ! -s conftest.err
22910 } && test -s conftest.$ac_objext; then
22913 cat >conftest.$ac_ext <<_ACEOF
22916 cat confdefs.h >>conftest.$ac_ext
22917 cat >>conftest.$ac_ext <<_ACEOF
22918 /* end confdefs.h. */
22919 $ac_includes_default
22920 typedef long long ac__type_sizeof_;
22924 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22931 rm -f conftest.$ac_objext
22932 if { (ac_try="$ac_compile"
22933 case "(($ac_try" in
22934 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22935 *) ac_try_echo
=$ac_try;;
22937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22938 (eval "$ac_compile") 2>conftest.er1
22940 grep -v '^ *+' conftest.er1
>conftest.err
22942 cat conftest.err
>&5
22943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22944 (exit $ac_status); } && {
22945 test -z "$ac_c_werror_flag" ||
22946 test ! -s conftest.err
22947 } && test -s conftest.
$ac_objext; then
22948 ac_lo
=$ac_mid; break
22950 echo "$as_me: failed program was:" >&5
22951 sed 's/^/| /' conftest.
$ac_ext >&5
22953 ac_hi
=`expr '(' $ac_mid ')' - 1`
22954 if test $ac_mid -le $ac_hi; then
22958 ac_mid
=`expr 2 '*' $ac_mid`
22961 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22964 echo "$as_me: failed program was:" >&5
22965 sed 's/^/| /' conftest.
$ac_ext >&5
22970 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22973 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22974 # Binary search between lo and hi bounds.
22975 while test "x$ac_lo" != "x$ac_hi"; do
22976 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22977 cat >conftest.
$ac_ext <<_ACEOF
22980 cat confdefs.h
>>conftest.
$ac_ext
22981 cat >>conftest.
$ac_ext <<_ACEOF
22982 /* end confdefs.h. */
22983 $ac_includes_default
22984 typedef long long ac__type_sizeof_;
22988 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22995 rm -f conftest.
$ac_objext
22996 if { (ac_try
="$ac_compile"
22997 case "(($ac_try" in
22998 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22999 *) ac_try_echo=$ac_try;;
23001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23002 (eval "$ac_compile") 2>conftest.er1
23004 grep -v '^ *+' conftest.er1 >conftest.err
23006 cat conftest.err >&5
23007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23008 (exit $ac_status); } && {
23009 test -z "$ac_c_werror_flag" ||
23010 test ! -s conftest.err
23011 } && test -s conftest.$ac_objext; then
23014 echo "$as_me: failed program was:" >&5
23015 sed 's/^/| /' conftest.$ac_ext >&5
23017 ac_lo=`expr '(' $ac_mid ')' + 1`
23020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23023 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23024 '') if test "$ac_cv_type_long_long" = yes; then
23025 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23026 See \`config.log
' for more details." >&5
23027 echo "$as_me: error: cannot compute sizeof (long long)
23028 See \`config.log' for more details.
" >&2;}
23029 { (exit 77); exit 77; }; }
23031 ac_cv_sizeof_long_long=0
23035 cat >conftest.$ac_ext <<_ACEOF
23038 cat confdefs.h >>conftest.$ac_ext
23039 cat >>conftest.$ac_ext <<_ACEOF
23040 /* end confdefs.h. */
23041 $ac_includes_default
23042 typedef long long ac__type_sizeof_;
23043 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23044 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23046 #include <stdlib.h>
23051 FILE *f = fopen ("conftest.val
", "w
");
23054 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23056 long int i = longval ();
23057 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23059 fprintf (f, "%ld
\n", i);
23063 unsigned long int i = ulongval ();
23064 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23066 fprintf (f, "%lu
\n", i);
23068 return ferror (f) || fclose (f) != 0;
23074 rm -f conftest$ac_exeext
23075 if { (ac_try="$ac_link"
23076 case "(($ac_try" in
23077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23078 *) ac_try_echo=$ac_try;;
23080 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23081 (eval "$ac_link") 2>&5
23083 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23084 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23085 { (case "(($ac_try" in
23086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23087 *) ac_try_echo=$ac_try;;
23089 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23090 (eval "$ac_try") 2>&5
23092 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23093 (exit $ac_status); }; }; then
23094 ac_cv_sizeof_long_long=`cat conftest.val`
23096 echo "$as_me: program exited with status
$ac_status" >&5
23097 echo "$as_me: failed program was
:" >&5
23098 sed 's/^/| /' conftest.$ac_ext >&5
23100 ( exit $ac_status )
23101 if test "$ac_cv_type_long_long" = yes; then
23102 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23103 See \
`config.log' for more details." >&5
23104 echo "$as_me: error: cannot compute sizeof (long long)
23105 See \`config.log
' for more details." >&2;}
23106 { (exit 77); exit 77; }; }
23108 ac_cv_sizeof_long_long=0
23111 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23115 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23116 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23120 cat >>confdefs.h <<_ACEOF
23121 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23125 if test "$ac_cv_sizeof_long_long" != 0; then
23126 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23130 { echo "$as_me:$LINENO: checking for long long" >&5
23131 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23132 if test "${ac_cv_type_long_long+set}" = set; then
23133 echo $ECHO_N "(cached) $ECHO_C" >&6
23135 cat >conftest.$ac_ext <<_ACEOF
23138 cat confdefs.h >>conftest.$ac_ext
23139 cat >>conftest.$ac_ext <<_ACEOF
23140 /* end confdefs.h. */
23141 $ac_includes_default
23142 typedef long long ac__type_new_;
23146 if ((ac__type_new_ *) 0)
23148 if (sizeof (ac__type_new_))
23154 rm -f conftest.$ac_objext
23155 if { (ac_try="$ac_compile"
23156 case "(($ac_try" in
23157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23158 *) ac_try_echo=$ac_try;;
23160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23161 (eval "$ac_compile") 2>conftest.er1
23163 grep -v '^
*+' conftest.er1 >conftest.err
23165 cat conftest.err >&5
23166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23167 (exit $ac_status); } && {
23168 test -z "$ac_c_werror_flag" ||
23169 test ! -s conftest.err
23170 } && test -s conftest.$ac_objext; then
23171 ac_cv_type_long_long=yes
23173 echo "$as_me: failed program was:" >&5
23174 sed 's
/^
/| /' conftest.$ac_ext >&5
23176 ac_cv_type_long_long=no
23179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23181 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23182 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23184 # The cast to long int works around a bug in the HP C Compiler
23185 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23186 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23187 # This bug is HP SR number 8606223364.
23188 { echo "$as_me:$LINENO: checking size of long long" >&5
23189 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23190 if test "${ac_cv_sizeof_long_long+set}" = set; then
23191 echo $ECHO_N "(cached) $ECHO_C" >&6
23193 if test "$cross_compiling" = yes; then
23194 # Depending upon the size, compute the lo and hi bounds.
23195 cat >conftest.
$ac_ext <<_ACEOF
23198 cat confdefs.h
>>conftest.
$ac_ext
23199 cat >>conftest.
$ac_ext <<_ACEOF
23200 /* end confdefs.h. */
23201 $ac_includes_default
23202 typedef long long ac__type_sizeof_;
23206 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23213 rm -f conftest.
$ac_objext
23214 if { (ac_try
="$ac_compile"
23215 case "(($ac_try" in
23216 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23217 *) ac_try_echo=$ac_try;;
23219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23220 (eval "$ac_compile") 2>conftest.er1
23222 grep -v '^ *+' conftest.er1 >conftest.err
23224 cat conftest.err >&5
23225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23226 (exit $ac_status); } && {
23227 test -z "$ac_c_werror_flag" ||
23228 test ! -s conftest.err
23229 } && test -s conftest.$ac_objext; then
23232 cat >conftest.$ac_ext <<_ACEOF
23235 cat confdefs.h >>conftest.$ac_ext
23236 cat >>conftest.$ac_ext <<_ACEOF
23237 /* end confdefs.h. */
23238 $ac_includes_default
23239 typedef long long ac__type_sizeof_;
23243 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23250 rm -f conftest.$ac_objext
23251 if { (ac_try="$ac_compile"
23252 case "(($ac_try" in
23253 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23254 *) ac_try_echo
=$ac_try;;
23256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23257 (eval "$ac_compile") 2>conftest.er1
23259 grep -v '^ *+' conftest.er1
>conftest.err
23261 cat conftest.err
>&5
23262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23263 (exit $ac_status); } && {
23264 test -z "$ac_c_werror_flag" ||
23265 test ! -s conftest.err
23266 } && test -s conftest.
$ac_objext; then
23267 ac_hi
=$ac_mid; break
23269 echo "$as_me: failed program was:" >&5
23270 sed 's/^/| /' conftest.
$ac_ext >&5
23272 ac_lo
=`expr $ac_mid + 1`
23273 if test $ac_lo -le $ac_mid; then
23277 ac_mid
=`expr 2 '*' $ac_mid + 1`
23280 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23283 echo "$as_me: failed program was:" >&5
23284 sed 's/^/| /' conftest.
$ac_ext >&5
23286 cat >conftest.
$ac_ext <<_ACEOF
23289 cat confdefs.h
>>conftest.
$ac_ext
23290 cat >>conftest.
$ac_ext <<_ACEOF
23291 /* end confdefs.h. */
23292 $ac_includes_default
23293 typedef long long ac__type_sizeof_;
23297 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23304 rm -f conftest.
$ac_objext
23305 if { (ac_try
="$ac_compile"
23306 case "(($ac_try" in
23307 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23308 *) ac_try_echo=$ac_try;;
23310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23311 (eval "$ac_compile") 2>conftest.er1
23313 grep -v '^ *+' conftest.er1 >conftest.err
23315 cat conftest.err >&5
23316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23317 (exit $ac_status); } && {
23318 test -z "$ac_c_werror_flag" ||
23319 test ! -s conftest.err
23320 } && test -s conftest.$ac_objext; then
23323 cat >conftest.$ac_ext <<_ACEOF
23326 cat confdefs.h >>conftest.$ac_ext
23327 cat >>conftest.$ac_ext <<_ACEOF
23328 /* end confdefs.h. */
23329 $ac_includes_default
23330 typedef long long ac__type_sizeof_;
23334 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23341 rm -f conftest.$ac_objext
23342 if { (ac_try="$ac_compile"
23343 case "(($ac_try" in
23344 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23345 *) ac_try_echo
=$ac_try;;
23347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23348 (eval "$ac_compile") 2>conftest.er1
23350 grep -v '^ *+' conftest.er1
>conftest.err
23352 cat conftest.err
>&5
23353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23354 (exit $ac_status); } && {
23355 test -z "$ac_c_werror_flag" ||
23356 test ! -s conftest.err
23357 } && test -s conftest.
$ac_objext; then
23358 ac_lo
=$ac_mid; break
23360 echo "$as_me: failed program was:" >&5
23361 sed 's/^/| /' conftest.
$ac_ext >&5
23363 ac_hi
=`expr '(' $ac_mid ')' - 1`
23364 if test $ac_mid -le $ac_hi; then
23368 ac_mid
=`expr 2 '*' $ac_mid`
23371 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23374 echo "$as_me: failed program was:" >&5
23375 sed 's/^/| /' conftest.
$ac_ext >&5
23380 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23383 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23384 # Binary search between lo and hi bounds.
23385 while test "x$ac_lo" != "x$ac_hi"; do
23386 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23387 cat >conftest.
$ac_ext <<_ACEOF
23390 cat confdefs.h
>>conftest.
$ac_ext
23391 cat >>conftest.
$ac_ext <<_ACEOF
23392 /* end confdefs.h. */
23393 $ac_includes_default
23394 typedef long long ac__type_sizeof_;
23398 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23405 rm -f conftest.
$ac_objext
23406 if { (ac_try
="$ac_compile"
23407 case "(($ac_try" in
23408 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23409 *) ac_try_echo=$ac_try;;
23411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23412 (eval "$ac_compile") 2>conftest.er1
23414 grep -v '^ *+' conftest.er1 >conftest.err
23416 cat conftest.err >&5
23417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23418 (exit $ac_status); } && {
23419 test -z "$ac_c_werror_flag" ||
23420 test ! -s conftest.err
23421 } && test -s conftest.$ac_objext; then
23424 echo "$as_me: failed program was:" >&5
23425 sed 's/^/| /' conftest.$ac_ext >&5
23427 ac_lo=`expr '(' $ac_mid ')' + 1`
23430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23433 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23434 '') if test "$ac_cv_type_long_long" = yes; then
23435 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23436 See \`config.log
' for more details." >&5
23437 echo "$as_me: error: cannot compute sizeof (long long)
23438 See \`config.log' for more details.
" >&2;}
23439 { (exit 77); exit 77; }; }
23441 ac_cv_sizeof_long_long=0
23445 cat >conftest.$ac_ext <<_ACEOF
23448 cat confdefs.h >>conftest.$ac_ext
23449 cat >>conftest.$ac_ext <<_ACEOF
23450 /* end confdefs.h. */
23451 $ac_includes_default
23452 typedef long long ac__type_sizeof_;
23453 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23454 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23456 #include <stdlib.h>
23461 FILE *f = fopen ("conftest.val
", "w
");
23464 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23466 long int i = longval ();
23467 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23469 fprintf (f, "%ld
\n", i);
23473 unsigned long int i = ulongval ();
23474 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23476 fprintf (f, "%lu
\n", i);
23478 return ferror (f) || fclose (f) != 0;
23484 rm -f conftest$ac_exeext
23485 if { (ac_try="$ac_link"
23486 case "(($ac_try" in
23487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23488 *) ac_try_echo=$ac_try;;
23490 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23491 (eval "$ac_link") 2>&5
23493 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23494 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23495 { (case "(($ac_try" in
23496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23497 *) ac_try_echo=$ac_try;;
23499 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23500 (eval "$ac_try") 2>&5
23502 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23503 (exit $ac_status); }; }; then
23504 ac_cv_sizeof_long_long=`cat conftest.val`
23506 echo "$as_me: program exited with status
$ac_status" >&5
23507 echo "$as_me: failed program was
:" >&5
23508 sed 's/^/| /' conftest.$ac_ext >&5
23510 ( exit $ac_status )
23511 if test "$ac_cv_type_long_long" = yes; then
23512 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23513 See \
`config.log' for more details." >&5
23514 echo "$as_me: error: cannot compute sizeof (long long)
23515 See \`config.log
' for more details." >&2;}
23516 { (exit 77); exit 77; }; }
23518 ac_cv_sizeof_long_long=0
23521 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23525 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23526 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23530 cat >>confdefs.h <<_ACEOF
23531 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23537 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23538 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23539 if test "${ac_cv_type_wchar_t+set}" = set; then
23540 echo $ECHO_N "(cached) $ECHO_C" >&6
23542 cat >conftest.$ac_ext <<_ACEOF
23545 cat confdefs.h >>conftest.$ac_ext
23546 cat >>conftest.$ac_ext <<_ACEOF
23547 /* end confdefs.h. */
23549 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23550 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23551 # error "fake wchar_t"
23553 #ifdef HAVE_WCHAR_H
23555 # include <stddef.h>
23557 # include <wchar.h>
23559 #ifdef HAVE_STDLIB_H
23560 # include <stdlib.h>
23566 typedef wchar_t ac__type_new_
;
23570 if ((ac__type_new_
*) 0)
23572 if (sizeof
(ac__type_new_
))
23578 rm -f conftest.
$ac_objext
23579 if { (ac_try
="$ac_compile"
23580 case "(($ac_try" in
23581 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23582 *) ac_try_echo=$ac_try;;
23584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23585 (eval "$ac_compile") 2>conftest.er1
23587 grep -v '^ *+' conftest.er1 >conftest.err
23589 cat conftest.err >&5
23590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23591 (exit $ac_status); } && {
23592 test -z "$ac_c_werror_flag" ||
23593 test ! -s conftest.err
23594 } && test -s conftest.$ac_objext; then
23595 ac_cv_type_wchar_t=yes
23597 echo "$as_me: failed program was:" >&5
23598 sed 's/^/| /' conftest.$ac_ext >&5
23600 ac_cv_type_wchar_t=no
23603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23605 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23606 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23608 # The cast to long int works around a bug in the HP C Compiler
23609 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23610 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
23611 # This bug is HP SR number 8606223364.
23612 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23613 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23614 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23615 echo $ECHO_N "(cached) $ECHO_C" >&6
23617 if test "$cross_compiling" = yes; then
23618 # Depending upon the size, compute the lo and hi bounds.
23619 cat >conftest.$ac_ext <<_ACEOF
23622 cat confdefs.h >>conftest.$ac_ext
23623 cat >>conftest.$ac_ext <<_ACEOF
23624 /* end confdefs.h. */
23626 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23627 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23628 # error "fake wchar_t"
23630 #ifdef HAVE_WCHAR_H
23632 # include <stddef.h>
23634 # include <wchar.h>
23636 #ifdef HAVE_STDLIB_H
23637 # include <stdlib.h>
23643 typedef wchar_t ac__type_sizeof_
;
23647 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
23654 rm -f conftest.
$ac_objext
23655 if { (ac_try
="$ac_compile"
23656 case "(($ac_try" in
23657 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23658 *) ac_try_echo=$ac_try;;
23660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23661 (eval "$ac_compile") 2>conftest.er1
23663 grep -v '^ *+' conftest.er1 >conftest.err
23665 cat conftest.err >&5
23666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23667 (exit $ac_status); } && {
23668 test -z "$ac_c_werror_flag" ||
23669 test ! -s conftest.err
23670 } && test -s conftest.$ac_objext; then
23673 cat >conftest.$ac_ext <<_ACEOF
23676 cat confdefs.h >>conftest.$ac_ext
23677 cat >>conftest.$ac_ext <<_ACEOF
23678 /* end confdefs.h. */
23680 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23681 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23682 # error "fake wchar_t"
23684 #ifdef HAVE_WCHAR_H
23686 # include <stddef.h>
23688 # include <wchar.h>
23690 #ifdef HAVE_STDLIB_H
23691 # include <stdlib.h>
23697 typedef wchar_t ac__type_sizeof_;
23701 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23708 rm -f conftest.$ac_objext
23709 if { (ac_try="$ac_compile"
23710 case "(($ac_try" in
23711 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23712 *) ac_try_echo
=$ac_try;;
23714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23715 (eval "$ac_compile") 2>conftest.er1
23717 grep -v '^ *+' conftest.er1
>conftest.err
23719 cat conftest.err
>&5
23720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23721 (exit $ac_status); } && {
23722 test -z "$ac_c_werror_flag" ||
23723 test ! -s conftest.err
23724 } && test -s conftest.
$ac_objext; then
23725 ac_hi
=$ac_mid; break
23727 echo "$as_me: failed program was:" >&5
23728 sed 's/^/| /' conftest.
$ac_ext >&5
23730 ac_lo
=`expr $ac_mid + 1`
23731 if test $ac_lo -le $ac_mid; then
23735 ac_mid
=`expr 2 '*' $ac_mid + 1`
23738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23741 echo "$as_me: failed program was:" >&5
23742 sed 's/^/| /' conftest.
$ac_ext >&5
23744 cat >conftest.
$ac_ext <<_ACEOF
23747 cat confdefs.h
>>conftest.
$ac_ext
23748 cat >>conftest.
$ac_ext <<_ACEOF
23749 /* end confdefs.h. */
23751 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23752 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23753 # error "fake wchar_t"
23755 #ifdef HAVE_WCHAR_H
23757 # include <stddef.h>
23759 # include <wchar.h>
23761 #ifdef HAVE_STDLIB_H
23762 # include <stdlib.h>
23768 typedef wchar_t ac__type_sizeof_;
23772 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23779 rm -f conftest.
$ac_objext
23780 if { (ac_try
="$ac_compile"
23781 case "(($ac_try" in
23782 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23783 *) ac_try_echo=$ac_try;;
23785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23786 (eval "$ac_compile") 2>conftest.er1
23788 grep -v '^ *+' conftest.er1 >conftest.err
23790 cat conftest.err >&5
23791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23792 (exit $ac_status); } && {
23793 test -z "$ac_c_werror_flag" ||
23794 test ! -s conftest.err
23795 } && test -s conftest.$ac_objext; then
23798 cat >conftest.$ac_ext <<_ACEOF
23801 cat confdefs.h >>conftest.$ac_ext
23802 cat >>conftest.$ac_ext <<_ACEOF
23803 /* end confdefs.h. */
23805 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23806 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23807 # error "fake wchar_t"
23809 #ifdef HAVE_WCHAR_H
23811 # include <stddef.h>
23813 # include <wchar.h>
23815 #ifdef HAVE_STDLIB_H
23816 # include <stdlib.h>
23822 typedef wchar_t ac__type_sizeof_;
23826 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23833 rm -f conftest.$ac_objext
23834 if { (ac_try="$ac_compile"
23835 case "(($ac_try" in
23836 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23837 *) ac_try_echo
=$ac_try;;
23839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23840 (eval "$ac_compile") 2>conftest.er1
23842 grep -v '^ *+' conftest.er1
>conftest.err
23844 cat conftest.err
>&5
23845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23846 (exit $ac_status); } && {
23847 test -z "$ac_c_werror_flag" ||
23848 test ! -s conftest.err
23849 } && test -s conftest.
$ac_objext; then
23850 ac_lo
=$ac_mid; break
23852 echo "$as_me: failed program was:" >&5
23853 sed 's/^/| /' conftest.
$ac_ext >&5
23855 ac_hi
=`expr '(' $ac_mid ')' - 1`
23856 if test $ac_mid -le $ac_hi; then
23860 ac_mid
=`expr 2 '*' $ac_mid`
23863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23866 echo "$as_me: failed program was:" >&5
23867 sed 's/^/| /' conftest.
$ac_ext >&5
23872 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23875 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23876 # Binary search between lo and hi bounds.
23877 while test "x$ac_lo" != "x$ac_hi"; do
23878 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23879 cat >conftest.
$ac_ext <<_ACEOF
23882 cat confdefs.h
>>conftest.
$ac_ext
23883 cat >>conftest.
$ac_ext <<_ACEOF
23884 /* end confdefs.h. */
23886 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23887 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23888 # error "fake wchar_t"
23890 #ifdef HAVE_WCHAR_H
23892 # include <stddef.h>
23894 # include <wchar.h>
23896 #ifdef HAVE_STDLIB_H
23897 # include <stdlib.h>
23903 typedef wchar_t ac__type_sizeof_;
23907 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23914 rm -f conftest.
$ac_objext
23915 if { (ac_try
="$ac_compile"
23916 case "(($ac_try" in
23917 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23918 *) ac_try_echo=$ac_try;;
23920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23921 (eval "$ac_compile") 2>conftest.er1
23923 grep -v '^ *+' conftest.er1 >conftest.err
23925 cat conftest.err >&5
23926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23927 (exit $ac_status); } && {
23928 test -z "$ac_c_werror_flag" ||
23929 test ! -s conftest.err
23930 } && test -s conftest.$ac_objext; then
23933 echo "$as_me: failed program was:" >&5
23934 sed 's/^/| /' conftest.$ac_ext >&5
23936 ac_lo=`expr '(' $ac_mid ')' + 1`
23939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23942 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23943 '') if test "$ac_cv_type_wchar_t" = yes; then
23944 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23945 See \`config.log
' for more details." >&5
23946 echo "$as_me: error: cannot compute sizeof (wchar_t)
23947 See \`config.log' for more details.
" >&2;}
23948 { (exit 77); exit 77; }; }
23950 ac_cv_sizeof_wchar_t=0
23954 cat >conftest.$ac_ext <<_ACEOF
23957 cat confdefs.h >>conftest.$ac_ext
23958 cat >>conftest.$ac_ext <<_ACEOF
23959 /* end confdefs.h. */
23961 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23962 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23963 # error "fake wchar_t
"
23965 #ifdef HAVE_WCHAR_H
23967 # include <stddef.h>
23969 # include <wchar.h>
23971 #ifdef HAVE_STDLIB_H
23972 # include <stdlib.h>
23978 typedef wchar_t ac__type_sizeof_;
23979 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23980 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23982 #include <stdlib.h>
23987 FILE *f = fopen ("conftest.val
", "w
");
23990 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23992 long int i = longval ();
23993 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23995 fprintf (f, "%ld
\n", i);
23999 unsigned long int i = ulongval ();
24000 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24002 fprintf (f, "%lu
\n", i);
24004 return ferror (f) || fclose (f) != 0;
24010 rm -f conftest$ac_exeext
24011 if { (ac_try="$ac_link"
24012 case "(($ac_try" in
24013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24014 *) ac_try_echo=$ac_try;;
24016 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24017 (eval "$ac_link") 2>&5
24019 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24020 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24021 { (case "(($ac_try" in
24022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24023 *) ac_try_echo=$ac_try;;
24025 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24026 (eval "$ac_try") 2>&5
24028 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24029 (exit $ac_status); }; }; then
24030 ac_cv_sizeof_wchar_t=`cat conftest.val`
24032 echo "$as_me: program exited with status
$ac_status" >&5
24033 echo "$as_me: failed program was
:" >&5
24034 sed 's/^/| /' conftest.$ac_ext >&5
24036 ( exit $ac_status )
24037 if test "$ac_cv_type_wchar_t" = yes; then
24038 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
24039 See \
`config.log' for more details." >&5
24040 echo "$as_me: error: cannot compute sizeof (wchar_t)
24041 See \`config.log
' for more details." >&2;}
24042 { (exit 77); exit 77; }; }
24044 ac_cv_sizeof_wchar_t=0
24047 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24051 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24052 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24056 cat >>confdefs.h <<_ACEOF
24057 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24061 if test "$ac_cv_sizeof_wchar_t" = 0; then
24062 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24063 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24064 { (exit 1); exit 1; }; }
24066 cat >>confdefs.h <<\_ACEOF
24067 #define wxUSE_WCHAR_T 1
24071 { echo "$as_me:$LINENO: checking for va_copy" >&5
24072 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24073 if test "${wx_cv_func_va_copy+set}" = set; then
24074 echo $ECHO_N "(cached) $ECHO_C" >&6
24078 ac_cpp='$CXXCPP $CPPFLAGS'
24079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24080 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24083 cat >conftest.$ac_ext <<_ACEOF
24085 #include <stdarg.h>
24086 void foo(char *f, ...)
24100 rm -f conftest.$ac_objext conftest$ac_exeext
24101 if { (ac_try="$ac_link"
24102 case "(($ac_try" in
24103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24104 *) ac_try_echo=$ac_try;;
24106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24107 (eval "$ac_link") 2>conftest.er1
24109 grep -v '^
*+' conftest.er1 >conftest.err
24111 cat conftest.err >&5
24112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24113 (exit $ac_status); } && {
24114 test -z "$ac_cxx_werror_flag" ||
24115 test ! -s conftest.err
24116 } && test -s conftest$ac_exeext &&
24117 $as_test_x conftest$ac_exeext; then
24118 wx_cv_func_va_copy=yes
24120 echo "$as_me: failed program was:" >&5
24121 sed 's
/^
/| /' conftest.$ac_ext >&5
24123 wx_cv_func_va_copy=no
24127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24128 conftest$ac_exeext conftest.$ac_ext
24130 ac_cpp='$CPP $CPPFLAGS'
24131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24132 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24138 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24139 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24141 if test $wx_cv_func_va_copy = "yes"; then
24142 cat >>confdefs.h <<\_ACEOF
24143 #define HAVE_VA_COPY 1
24147 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24148 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24149 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24150 echo $ECHO_N "(cached) $ECHO_C" >&6
24153 if test "$cross_compiling" = yes; then
24154 wx_cv_type_va_list_lvalue=yes
24157 cat >conftest.$ac_ext <<_ACEOF
24159 #include <stdarg.h>
24160 int foo(char *f, ...)
24165 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24173 return foo("hi", 17);
24176 rm -f conftest$ac_exeext
24177 if { (ac_try="$ac_link"
24178 case "(($ac_try" in
24179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24180 *) ac_try_echo=$ac_try;;
24182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24183 (eval "$ac_link") 2>&5
24185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24186 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24187 { (case "(($ac_try" in
24188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24189 *) ac_try_echo=$ac_try;;
24191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24192 (eval "$ac_try") 2>&5
24194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24195 (exit $ac_status); }; }; then
24196 wx_cv_type_va_list_lvalue=yes
24198 echo "$as_me: program exited with status $ac_status" >&5
24199 echo "$as_me: failed program was:" >&5
24200 sed 's
/^
/| /' conftest.$ac_ext >&5
24202 ( exit $ac_status )
24203 wx_cv_type_va_list_lvalue=no
24205 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24212 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24213 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24215 if test $wx_cv_type_va_list_lvalue != "yes"; then
24216 cat >>confdefs.h <<\_ACEOF
24217 #define VA_LIST_IS_ARRAY 1
24223 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24225 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24226 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24227 if test "${wx_cv_have_variadic_macros+set}" = set; then
24228 echo $ECHO_N "(cached) $ECHO_C" >&6
24232 ac_cpp='$CXXCPP $CPPFLAGS'
24233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24234 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24237 cat >conftest.$ac_ext <<_ACEOF
24240 cat confdefs.h >>conftest.$ac_ext
24241 cat >>conftest.$ac_ext <<_ACEOF
24242 /* end confdefs.h. */
24245 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24251 test("%s %d %p", "test", 1, 0);
24258 rm -f conftest.$ac_objext
24259 if { (ac_try="$ac_compile"
24260 case "(($ac_try" in
24261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24262 *) ac_try_echo=$ac_try;;
24264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24265 (eval "$ac_compile") 2>conftest.er1
24267 grep -v '^
*+' conftest.er1 >conftest.err
24269 cat conftest.err >&5
24270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24271 (exit $ac_status); } && {
24272 test -z "$ac_cxx_werror_flag" ||
24273 test ! -s conftest.err
24274 } && test -s conftest.$ac_objext; then
24275 wx_cv_have_variadic_macros=yes
24277 echo "$as_me: failed program was:" >&5
24278 sed 's
/^
/| /' conftest.$ac_ext >&5
24280 wx_cv_have_variadic_macros=no
24284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24286 ac_cpp='$CPP $CPPFLAGS'
24287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24288 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24294 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24295 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24297 if test $wx_cv_have_variadic_macros = "yes"; then
24298 cat >>confdefs.h <<\_ACEOF
24299 #define HAVE_VARIADIC_MACROS 1
24306 LARGEFILE_CPPFLAGS=
24307 # Check whether --enable-largefile was given.
24308 if test "${enable_largefile+set}" = set; then
24309 enableval=$enable_largefile;
24312 if test "$enable_largefile" != no; then
24315 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24316 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24317 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24318 echo $ECHO_N "(cached) $ECHO_C" >&6
24321 cat >conftest.$ac_ext <<_ACEOF
24324 cat confdefs.h >>conftest.$ac_ext
24325 cat >>conftest.$ac_ext <<_ACEOF
24326 /* end confdefs.h. */
24327 #define _FILE_OFFSET_BITS 64
24328 #include <sys/types.h>
24333 unsigned int field: sizeof(off_t) == 8;
24340 rm -f conftest.$ac_objext
24341 if { (ac_try="$ac_compile"
24342 case "(($ac_try" in
24343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24344 *) ac_try_echo=$ac_try;;
24346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24347 (eval "$ac_compile") 2>conftest.er1
24349 grep -v '^
*+' conftest.er1 >conftest.err
24351 cat conftest.err >&5
24352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24353 (exit $ac_status); } && {
24354 test -z "$ac_c_werror_flag" ||
24355 test ! -s conftest.err
24356 } && test -s conftest.$ac_objext; then
24357 ac_cv_sys_file_offset_bits=64
24359 echo "$as_me: failed program was:" >&5
24360 sed 's
/^
/| /' conftest.$ac_ext >&5
24362 ac_cv_sys_file_offset_bits=no
24365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24369 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24370 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24372 if test "$ac_cv_sys_file_offset_bits" != no; then
24374 cat >>confdefs.h <<_ACEOF
24375 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24380 if test "x$wx_largefile" != "xyes"; then
24382 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24383 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24384 if test "${ac_cv_sys_large_files+set}" = set; then
24385 echo $ECHO_N "(cached) $ECHO_C" >&6
24388 cat >conftest.$ac_ext <<_ACEOF
24391 cat confdefs.h >>conftest.$ac_ext
24392 cat >>conftest.$ac_ext <<_ACEOF
24393 /* end confdefs.h. */
24394 #define _LARGE_FILES 1
24395 #include <sys/types.h>
24400 unsigned int field: sizeof(off_t) == 8;
24407 rm -f conftest.$ac_objext
24408 if { (ac_try="$ac_compile"
24409 case "(($ac_try" in
24410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24411 *) ac_try_echo=$ac_try;;
24413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24414 (eval "$ac_compile") 2>conftest.er1
24416 grep -v '^
*+' conftest.er1 >conftest.err
24418 cat conftest.err >&5
24419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24420 (exit $ac_status); } && {
24421 test -z "$ac_c_werror_flag" ||
24422 test ! -s conftest.err
24423 } && test -s conftest.$ac_objext; then
24424 ac_cv_sys_large_files=1
24426 echo "$as_me: failed program was:" >&5
24427 sed 's
/^
/| /' conftest.$ac_ext >&5
24429 ac_cv_sys_large_files=no
24432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24436 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24437 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24439 if test "$ac_cv_sys_large_files" != no; then
24441 cat >>confdefs.h <<_ACEOF
24442 #define _LARGE_FILES $ac_cv_sys_large_files
24449 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24450 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24451 if test "x$wx_largefile" = "xyes"; then
24452 cat >>confdefs.h <<\_ACEOF
24453 #define HAVE_LARGEFILE_SUPPORT 1
24457 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24458 echo "${ECHO_T}$wx_largefile" >&6; }
24461 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24462 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24463 elif test "$ac_cv_sys_large_files" = 1; then
24464 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24467 if test -n "$LARGEFILE_CPPFLAGS"; then
24468 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24470 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24471 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24472 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24473 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24474 echo $ECHO_N "(cached) $ECHO_C" >&6
24478 ac_cpp='$CXXCPP $CPPFLAGS'
24479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24480 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24483 cat >conftest.$ac_ext <<_ACEOF
24486 cat confdefs.h >>conftest.$ac_ext
24487 cat >>conftest.$ac_ext <<_ACEOF
24488 /* end confdefs.h. */
24494 #ifndef __STDC_EXT__
24502 rm -f conftest.$ac_objext
24503 if { (ac_try="$ac_compile"
24504 case "(($ac_try" in
24505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24506 *) ac_try_echo=$ac_try;;
24508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24509 (eval "$ac_compile") 2>conftest.er1
24511 grep -v '^
*+' conftest.er1 >conftest.err
24513 cat conftest.err >&5
24514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24515 (exit $ac_status); } && {
24516 test -z "$ac_cxx_werror_flag" ||
24517 test ! -s conftest.err
24518 } && test -s conftest.$ac_objext; then
24519 wx_cv_STDC_EXT_required=no
24521 echo "$as_me: failed program was:" >&5
24522 sed 's
/^
/| /' conftest.$ac_ext >&5
24524 wx_cv_STDC_EXT_required=yes
24528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24530 ac_cpp='$CPP $CPPFLAGS'
24531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24532 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24538 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24539 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24540 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24541 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24547 ac_cpp='$CXXCPP $CPPFLAGS'
24548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24549 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24552 old_CPPFLAGS="$CPPFLAGS"
24553 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24554 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24555 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24556 if test "${ac_cv_sys_largefile_source+set}" = set; then
24557 echo $ECHO_N "(cached) $ECHO_C" >&6
24560 cat >conftest.$ac_ext <<_ACEOF
24563 cat confdefs.h >>conftest.$ac_ext
24564 cat >>conftest.$ac_ext <<_ACEOF
24565 /* end confdefs.h. */
24566 #include <sys/types.h> /* for off_t */
24571 int (*fp) (FILE *, off_t, int) = fseeko;
24572 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24577 rm -f conftest.$ac_objext conftest$ac_exeext
24578 if { (ac_try="$ac_link"
24579 case "(($ac_try" in
24580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24581 *) ac_try_echo=$ac_try;;
24583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24584 (eval "$ac_link") 2>conftest.er1
24586 grep -v '^
*+' conftest.er1 >conftest.err
24588 cat conftest.err >&5
24589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24590 (exit $ac_status); } && {
24591 test -z "$ac_cxx_werror_flag" ||
24592 test ! -s conftest.err
24593 } && test -s conftest$ac_exeext &&
24594 $as_test_x conftest$ac_exeext; then
24595 ac_cv_sys_largefile_source=no; break
24597 echo "$as_me: failed program was:" >&5
24598 sed 's
/^
/| /' conftest.$ac_ext >&5
24603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24604 conftest$ac_exeext conftest.$ac_ext
24605 cat >conftest.$ac_ext <<_ACEOF
24608 cat confdefs.h >>conftest.$ac_ext
24609 cat >>conftest.$ac_ext <<_ACEOF
24610 /* end confdefs.h. */
24611 #define _LARGEFILE_SOURCE 1
24612 #include <sys/types.h> /* for off_t */
24617 int (*fp) (FILE *, off_t, int) = fseeko;
24618 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24623 rm -f conftest.$ac_objext conftest$ac_exeext
24624 if { (ac_try="$ac_link"
24625 case "(($ac_try" in
24626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24627 *) ac_try_echo=$ac_try;;
24629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24630 (eval "$ac_link") 2>conftest.er1
24632 grep -v '^
*+' conftest.er1 >conftest.err
24634 cat conftest.err >&5
24635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24636 (exit $ac_status); } && {
24637 test -z "$ac_cxx_werror_flag" ||
24638 test ! -s conftest.err
24639 } && test -s conftest$ac_exeext &&
24640 $as_test_x conftest$ac_exeext; then
24641 ac_cv_sys_largefile_source=1; break
24643 echo "$as_me: failed program was:" >&5
24644 sed 's
/^
/| /' conftest.$ac_ext >&5
24649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24650 conftest$ac_exeext conftest.$ac_ext
24651 ac_cv_sys_largefile_source=unknown
24655 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24656 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24657 case $ac_cv_sys_largefile_source in #(
24660 cat >>confdefs.h <<_ACEOF
24661 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24667 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24668 # in glibc 2.1.3, but that breaks too many other things.
24669 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24670 if test $ac_cv_sys_largefile_source != unknown; then
24672 cat >>confdefs.h <<\_ACEOF
24673 #define HAVE_FSEEKO 1
24678 CPPFLAGS="$old_CPPFLAGS"
24680 ac_cpp='$CPP $CPPFLAGS'
24681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24682 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24685 if test "$ac_cv_sys_largefile_source" != no; then
24686 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24689 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24690 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24691 if test "${ac_cv_c_bigendian+set}" = set; then
24692 echo $ECHO_N "(cached) $ECHO_C" >&6
24694 ac_cv_c_bigendian=unknown
24695 # See if sys/param.h defines the BYTE_ORDER macro.
24696 cat >conftest.$ac_ext <<_ACEOF
24699 cat confdefs.h >>conftest.$ac_ext
24700 cat >>conftest.$ac_ext <<_ACEOF
24701 /* end confdefs.h. */
24702 #include <sys/types.h>
24703 #include <sys/param.h>
24708 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24709 bogus endian macros
24715 rm -f conftest.$ac_objext
24716 if { (ac_try="$ac_compile"
24717 case "(($ac_try" in
24718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24719 *) ac_try_echo=$ac_try;;
24721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24722 (eval "$ac_compile") 2>conftest.er1
24724 grep -v '^
*+' conftest.er1 >conftest.err
24726 cat conftest.err >&5
24727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24728 (exit $ac_status); } && {
24729 test -z "$ac_c_werror_flag" ||
24730 test ! -s conftest.err
24731 } && test -s conftest.$ac_objext; then
24732 # It does; now see whether it defined to BIG_ENDIAN or not.
24733 cat >conftest.$ac_ext <<_ACEOF
24736 cat confdefs.h >>conftest.$ac_ext
24737 cat >>conftest.$ac_ext <<_ACEOF
24738 /* end confdefs.h. */
24739 #include <sys/types.h>
24740 #include <sys/param.h>
24745 #if BYTE_ORDER != BIG_ENDIAN
24752 rm -f conftest.$ac_objext
24753 if { (ac_try="$ac_compile"
24754 case "(($ac_try" in
24755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24756 *) ac_try_echo=$ac_try;;
24758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24759 (eval "$ac_compile") 2>conftest.er1
24761 grep -v '^
*+' conftest.er1 >conftest.err
24763 cat conftest.err >&5
24764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24765 (exit $ac_status); } && {
24766 test -z "$ac_c_werror_flag" ||
24767 test ! -s conftest.err
24768 } && test -s conftest.$ac_objext; then
24769 ac_cv_c_bigendian=yes
24771 echo "$as_me: failed program was:" >&5
24772 sed 's
/^
/| /' conftest.$ac_ext >&5
24774 ac_cv_c_bigendian=no
24777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24779 echo "$as_me: failed program was:" >&5
24780 sed 's
/^
/| /' conftest.$ac_ext >&5
24785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24786 if test $ac_cv_c_bigendian = unknown; then
24787 if test "$cross_compiling" = yes; then
24788 ac_cv_c_bigendian=unknown
24790 cat >conftest.$ac_ext <<_ACEOF
24793 cat confdefs.h >>conftest.$ac_ext
24794 cat >>conftest.$ac_ext <<_ACEOF
24795 /* end confdefs.h. */
24797 /* Are we little or big endian? From Harbison&Steele. */
24801 char c[sizeof (long)];
24804 exit (u.c[sizeof (long) - 1] == 1);
24807 rm -f conftest$ac_exeext
24808 if { (ac_try="$ac_link"
24809 case "(($ac_try" in
24810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24811 *) ac_try_echo=$ac_try;;
24813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24814 (eval "$ac_link") 2>&5
24816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24817 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24818 { (case "(($ac_try" in
24819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24820 *) ac_try_echo=$ac_try;;
24822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24823 (eval "$ac_try") 2>&5
24825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24826 (exit $ac_status); }; }; then
24827 ac_cv_c_bigendian=no
24829 echo "$as_me: program exited with status $ac_status" >&5
24830 echo "$as_me: failed program was:" >&5
24831 sed 's
/^
/| /' conftest.$ac_ext >&5
24833 ( exit $ac_status )
24834 ac_cv_c_bigendian=yes
24836 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24842 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24843 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24844 if test $ac_cv_c_bigendian = unknown; then
24845 { 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
24846 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;}
24848 if test $ac_cv_c_bigendian = yes; then
24849 cat >>confdefs.h <<\_ACEOF
24850 #define WORDS_BIGENDIAN 1
24859 ac_cpp='$CXXCPP $CPPFLAGS'
24860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24861 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24866 for ac_header in iostream
24868 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24869 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24871 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24872 echo $ECHO_N "(cached) $ECHO_C" >&6
24874 cat >conftest.$ac_ext <<_ACEOF
24877 cat confdefs.h >>conftest.$ac_ext
24878 cat >>conftest.$ac_ext <<_ACEOF
24879 /* end confdefs.h. */
24882 #include <$ac_header>
24884 rm -f conftest.$ac_objext
24885 if { (ac_try="$ac_compile"
24886 case "(($ac_try" in
24887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24888 *) ac_try_echo=$ac_try;;
24890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24891 (eval "$ac_compile") 2>conftest.er1
24893 grep -v '^
*+' conftest.er1 >conftest.err
24895 cat conftest.err >&5
24896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24897 (exit $ac_status); } && {
24898 test -z "$ac_cxx_werror_flag" ||
24899 test ! -s conftest.err
24900 } && test -s conftest.$ac_objext; then
24901 eval "$as_ac_Header=yes"
24903 echo "$as_me: failed program was:" >&5
24904 sed 's
/^
/| /' conftest.$ac_ext >&5
24906 eval "$as_ac_Header=no"
24909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24911 ac_res=`eval echo '${'$as_ac_Header'}'`
24912 { echo "$as_me:$LINENO: result: $ac_res" >&5
24913 echo "${ECHO_T}$ac_res" >&6; }
24914 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24915 cat >>confdefs.h <<_ACEOF
24916 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24924 if test "$ac_cv_header_iostream" = "yes" ; then
24927 cat >>confdefs.h <<\_ACEOF
24928 #define wxUSE_IOSTREAMH 1
24934 ac_cpp='$CPP $CPPFLAGS'
24935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24936 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24942 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24943 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24944 if test "${wx_cv_explicit+set}" = set; then
24945 echo $ECHO_N "(cached) $ECHO_C" >&6
24950 ac_cpp='$CXXCPP $CPPFLAGS'
24951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24952 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24956 cat >conftest.$ac_ext <<_ACEOF
24959 cat confdefs.h >>conftest.$ac_ext
24960 cat >>conftest.$ac_ext <<_ACEOF
24961 /* end confdefs.h. */
24963 class Foo { public: explicit Foo(int) {} };
24975 rm -f conftest.$ac_objext
24976 if { (ac_try="$ac_compile"
24977 case "(($ac_try" in
24978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24979 *) ac_try_echo=$ac_try;;
24981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24982 (eval "$ac_compile") 2>conftest.er1
24984 grep -v '^
*+' conftest.er1 >conftest.err
24986 cat conftest.err >&5
24987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24988 (exit $ac_status); } && {
24989 test -z "$ac_cxx_werror_flag" ||
24990 test ! -s conftest.err
24991 } && test -s conftest.$ac_objext; then
24993 cat >conftest.$ac_ext <<_ACEOF
24996 cat confdefs.h >>conftest.$ac_ext
24997 cat >>conftest.$ac_ext <<_ACEOF
24998 /* end confdefs.h. */
25000 class Foo { public: explicit Foo(int) {} };
25001 static void TakeFoo(const Foo& foo) { }
25014 rm -f conftest.$ac_objext
25015 if { (ac_try="$ac_compile"
25016 case "(($ac_try" in
25017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25018 *) ac_try_echo=$ac_try;;
25020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25021 (eval "$ac_compile") 2>conftest.er1
25023 grep -v '^
*+' conftest.er1 >conftest.err
25025 cat conftest.err >&5
25026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25027 (exit $ac_status); } && {
25028 test -z "$ac_cxx_werror_flag" ||
25029 test ! -s conftest.err
25030 } && test -s conftest.$ac_objext; then
25033 echo "$as_me: failed program was:" >&5
25034 sed 's
/^
/| /' conftest.$ac_ext >&5
25040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25043 echo "$as_me: failed program was:" >&5
25044 sed 's
/^
/| /' conftest.$ac_ext >&5
25050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25053 ac_cpp='$CPP $CPPFLAGS'
25054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25055 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25060 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25061 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25063 if test "$wx_cv_explicit" = "yes"; then
25064 cat >>confdefs.h <<\_ACEOF
25065 #define HAVE_EXPLICIT 1
25071 if test "x$SUNCXX" = xyes; then
25072 CXXFLAGS="-features=tmplife $CXXFLAGS"
25075 if test "x$SUNCC" = xyes; then
25076 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25079 if test "x$SGICC" = "xyes"; then
25080 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25081 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25082 if test "${wx_cv_prog_sgicc744+set}" = set; then
25083 echo $ECHO_N "(cached) $ECHO_C" >&6
25086 cat >conftest.$ac_ext <<_ACEOF
25089 cat confdefs.h >>conftest.$ac_ext
25090 cat >>conftest.$ac_ext <<_ACEOF
25091 /* end confdefs.h. */
25097 #if _SGI_COMPILER_VERSION >= 744
25098 chock me: mipsPro is 7.4.4 or later
25105 rm -f conftest.$ac_objext
25106 if { (ac_try="$ac_compile"
25107 case "(($ac_try" in
25108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25109 *) ac_try_echo=$ac_try;;
25111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25112 (eval "$ac_compile") 2>conftest.er1
25114 grep -v '^
*+' conftest.er1 >conftest.err
25116 cat conftest.err >&5
25117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25118 (exit $ac_status); } && {
25119 test -z "$ac_c_werror_flag" ||
25120 test ! -s conftest.err
25121 } && test -s conftest.$ac_objext; then
25122 wx_cv_prog_sgicc744=no
25124 echo "$as_me: failed program was:" >&5
25125 sed 's
/^
/| /' conftest.$ac_ext >&5
25127 wx_cv_prog_sgicc744=yes
25131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25135 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25136 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25138 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25139 CFLAGS="-woff 3970 $CFLAGS"
25142 if test "x$SGICXX" = "xyes"; then
25143 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25144 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25145 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25146 echo $ECHO_N "(cached) $ECHO_C" >&6
25150 ac_cpp='$CXXCPP $CPPFLAGS'
25151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25152 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25155 cat >conftest.$ac_ext <<_ACEOF
25158 cat confdefs.h >>conftest.$ac_ext
25159 cat >>conftest.$ac_ext <<_ACEOF
25160 /* end confdefs.h. */
25166 #if _SGI_COMPILER_VERSION >= 744
25167 chock me: mipsPro is 7.4.4 or later
25174 rm -f conftest.$ac_objext
25175 if { (ac_try="$ac_compile"
25176 case "(($ac_try" in
25177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25178 *) ac_try_echo=$ac_try;;
25180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25181 (eval "$ac_compile") 2>conftest.er1
25183 grep -v '^
*+' conftest.er1 >conftest.err
25185 cat conftest.err >&5
25186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25187 (exit $ac_status); } && {
25188 test -z "$ac_cxx_werror_flag" ||
25189 test ! -s conftest.err
25190 } && test -s conftest.$ac_objext; then
25191 wx_cv_prog_sgicxx744=no
25193 echo "$as_me: failed program was:" >&5
25194 sed 's
/^
/| /' conftest.$ac_ext >&5
25196 wx_cv_prog_sgicxx744=yes
25200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25202 ac_cpp='$CPP $CPPFLAGS'
25203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25204 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25210 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25211 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25213 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25214 CXXFLAGS="-woff 3970 $CXXFLAGS"
25218 if test "x$HPCC" = "xyes"; then
25219 CFLAGS="+W 2011,2450 $CFLAGS"
25221 if test "x$HPCXX" = "xyes"; then
25222 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25225 if test "x$COMPAQCXX" = "xyes"; then
25226 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25230 ac_cpp='$CXXCPP $CPPFLAGS'
25231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25232 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25236 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25237 if test "$wxUSE_UNICODE" = "yes"; then
25238 std_string="std::wstring"
25239 char_type="wchar_t"
25241 std_string="std::string"
25245 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25246 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25247 if test "${wx_cv_class_stdstring+set}" = set; then
25248 echo $ECHO_N "(cached) $ECHO_C" >&6
25251 cat >conftest.$ac_ext <<_ACEOF
25254 cat confdefs.h >>conftest.$ac_ext
25255 cat >>conftest.$ac_ext <<_ACEOF
25256 /* end confdefs.h. */
25266 rm -f conftest.$ac_objext
25267 if { (ac_try="$ac_compile"
25268 case "(($ac_try" in
25269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25270 *) ac_try_echo=$ac_try;;
25272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25273 (eval "$ac_compile") 2>conftest.er1
25275 grep -v '^
*+' conftest.er1 >conftest.err
25277 cat conftest.err >&5
25278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25279 (exit $ac_status); } && {
25280 test -z "$ac_cxx_werror_flag" ||
25281 test ! -s conftest.err
25282 } && test -s conftest.$ac_objext; then
25283 wx_cv_class_stdstring=yes
25285 echo "$as_me: failed program was:" >&5
25286 sed 's
/^
/| /' conftest.$ac_ext >&5
25288 wx_cv_class_stdstring=no
25292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25296 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25297 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25299 if test "$wx_cv_class_stdstring" = yes; then
25300 if test "$wxUSE_UNICODE" = "yes"; then
25301 cat >>confdefs.h <<\_ACEOF
25302 #define HAVE_STD_WSTRING 1
25307 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25308 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25309 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25310 echo $ECHO_N "(cached) $ECHO_C" >&6
25313 cat >conftest.$ac_ext <<_ACEOF
25316 cat confdefs.h >>conftest.$ac_ext
25317 cat >>conftest.$ac_ext <<_ACEOF
25318 /* end confdefs.h. */
25320 #ifdef HAVE_WCHAR_H
25322 # include <stddef.h>
25324 # include <wchar.h>
25326 #ifdef HAVE_STDLIB_H
25327 # include <stdlib.h>
25335 std::basic_string<$char_type> foo;
25336 const $char_type* dummy = foo.c_str();
25341 rm -f conftest.$ac_objext
25342 if { (ac_try="$ac_compile"
25343 case "(($ac_try" in
25344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25345 *) ac_try_echo=$ac_try;;
25347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25348 (eval "$ac_compile") 2>conftest.er1
25350 grep -v '^
*+' conftest.er1 >conftest.err
25352 cat conftest.err >&5
25353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25354 (exit $ac_status); } && {
25355 test -z "$ac_cxx_werror_flag" ||
25356 test ! -s conftest.err
25357 } && test -s conftest.$ac_objext; then
25358 wx_cv_class_stdbasicstring=yes
25360 echo "$as_me: failed program was:" >&5
25361 sed 's
/^
/| /' conftest.$ac_ext >&5
25363 wx_cv_class_stdbasicstring=no
25367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25371 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25372 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25374 if test "$wx_cv_class_stdbasicstring" != yes; then
25375 if test "$wxUSE_STL" = "yes"; then
25376 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
25377 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25378 { (exit 1); exit 1; }; }
25379 elif test "$wxUSE_STD_STRING" = "yes"; then
25380 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
25381 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25382 { (exit 1); exit 1; }; }
25384 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25385 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25386 wxUSE_STD_STRING=no
25392 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25393 { echo "$as_me:$LINENO: checking for std::istream" >&5
25394 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25395 if test "${ac_cv_type_std__istream+set}" = set; then
25396 echo $ECHO_N "(cached) $ECHO_C" >&6
25398 cat >conftest.$ac_ext <<_ACEOF
25401 cat confdefs.h >>conftest.$ac_ext
25402 cat >>conftest.$ac_ext <<_ACEOF
25403 /* end confdefs.h. */
25404 #include <iostream>
25406 typedef std::istream ac__type_new_;
25410 if ((ac__type_new_ *) 0)
25412 if (sizeof (ac__type_new_))
25418 rm -f conftest.$ac_objext
25419 if { (ac_try="$ac_compile"
25420 case "(($ac_try" in
25421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25422 *) ac_try_echo=$ac_try;;
25424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25425 (eval "$ac_compile") 2>conftest.er1
25427 grep -v '^
*+' conftest.er1 >conftest.err
25429 cat conftest.err >&5
25430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25431 (exit $ac_status); } && {
25432 test -z "$ac_cxx_werror_flag" ||
25433 test ! -s conftest.err
25434 } && test -s conftest.$ac_objext; then
25435 ac_cv_type_std__istream=yes
25437 echo "$as_me: failed program was:" >&5
25438 sed 's
/^
/| /' conftest.$ac_ext >&5
25440 ac_cv_type_std__istream=no
25443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25445 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25446 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25447 if test $ac_cv_type_std__istream = yes; then
25449 cat >>confdefs.h <<_ACEOF
25450 #define HAVE_STD__ISTREAM 1
25455 wxUSE_STD_IOSTREAM=no
25457 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25458 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25459 if test "${ac_cv_type_std__ostream+set}" = set; then
25460 echo $ECHO_N "(cached) $ECHO_C" >&6
25462 cat >conftest.$ac_ext <<_ACEOF
25465 cat confdefs.h >>conftest.$ac_ext
25466 cat >>conftest.$ac_ext <<_ACEOF
25467 /* end confdefs.h. */
25468 #include <iostream>
25470 typedef std::ostream ac__type_new_;
25474 if ((ac__type_new_ *) 0)
25476 if (sizeof (ac__type_new_))
25482 rm -f conftest.$ac_objext
25483 if { (ac_try="$ac_compile"
25484 case "(($ac_try" in
25485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25486 *) ac_try_echo=$ac_try;;
25488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25489 (eval "$ac_compile") 2>conftest.er1
25491 grep -v '^
*+' conftest.er1 >conftest.err
25493 cat conftest.err >&5
25494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25495 (exit $ac_status); } && {
25496 test -z "$ac_cxx_werror_flag" ||
25497 test ! -s conftest.err
25498 } && test -s conftest.$ac_objext; then
25499 ac_cv_type_std__ostream=yes
25501 echo "$as_me: failed program was:" >&5
25502 sed 's
/^
/| /' conftest.$ac_ext >&5
25504 ac_cv_type_std__ostream=no
25507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25509 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25510 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25511 if test $ac_cv_type_std__ostream = yes; then
25513 cat >>confdefs.h <<_ACEOF
25514 #define HAVE_STD__OSTREAM 1
25519 wxUSE_STD_IOSTREAM=no
25523 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25524 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25525 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
25526 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25527 { (exit 1); exit 1; }; }
25529 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25530 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25535 if test "$wxUSE_STL" = "yes"; then
25536 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25537 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25538 if test "${wx_cv_lib_stl+set}" = set; then
25539 echo $ECHO_N "(cached) $ECHO_C" >&6
25541 cat >conftest.$ac_ext <<_ACEOF
25544 cat confdefs.h >>conftest.$ac_ext
25545 cat >>conftest.$ac_ext <<_ACEOF
25546 /* end confdefs.h. */
25548 #include <functional>
25549 #include <algorithm>
25555 std::vector<int> moo;
25556 std::list<int> foo;
25557 std::vector<int>::iterator it =
25558 std::find_if(moo.begin(), moo.end(),
25559 std::bind2nd(std::less<int>(), 3));
25564 rm -f conftest.$ac_objext
25565 if { (ac_try="$ac_compile"
25566 case "(($ac_try" in
25567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25568 *) ac_try_echo=$ac_try;;
25570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25571 (eval "$ac_compile") 2>conftest.er1
25573 grep -v '^
*+' conftest.er1 >conftest.err
25575 cat conftest.err >&5
25576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25577 (exit $ac_status); } && {
25578 test -z "$ac_cxx_werror_flag" ||
25579 test ! -s conftest.err
25580 } && test -s conftest.$ac_objext; then
25583 echo "$as_me: failed program was:" >&5
25584 sed 's
/^
/| /' conftest.$ac_ext >&5
25590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25593 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25594 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25596 if test "$wx_cv_lib_stl" != yes; then
25597 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
25598 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
25599 { (exit 1); exit 1; }; }
25602 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25603 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25604 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25605 echo $ECHO_N "(cached) $ECHO_C" >&6
25607 cat >conftest.$ac_ext <<_ACEOF
25610 cat confdefs.h >>conftest.$ac_ext
25611 cat >>conftest.$ac_ext <<_ACEOF
25612 /* end confdefs.h. */
25617 std::string foo, bar;
25619 foo.compare(1, 1, bar);
25620 foo.compare(1, 1, bar, 1, 1);
25622 foo.compare(1, 1, "");
25623 foo.compare(1, 1, "", 2);
25628 rm -f conftest.$ac_objext
25629 if { (ac_try="$ac_compile"
25630 case "(($ac_try" in
25631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25632 *) ac_try_echo=$ac_try;;
25634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25635 (eval "$ac_compile") 2>conftest.er1
25637 grep -v '^
*+' conftest.er1 >conftest.err
25639 cat conftest.err >&5
25640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25641 (exit $ac_status); } && {
25642 test -z "$ac_cxx_werror_flag" ||
25643 test ! -s conftest.err
25644 } && test -s conftest.$ac_objext; then
25645 wx_cv_func_stdstring_compare=yes
25647 echo "$as_me: failed program was:" >&5
25648 sed 's
/^
/| /' conftest.$ac_ext >&5
25650 wx_cv_func_stdstring_compare=no
25654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25657 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25658 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25660 if test "$wx_cv_func_stdstring_compare" = yes; then
25661 cat >>confdefs.h <<\_ACEOF
25662 #define HAVE_STD_STRING_COMPARE 1
25667 if test "$wx_cv_class_gnuhashmapset" = yes; then
25668 cat >>confdefs.h <<\_ACEOF
25669 #define HAVE_EXT_HASH_MAP 1
25672 cat >>confdefs.h <<\_ACEOF
25673 #define HAVE_GNU_CXX_HASH_MAP 1
25678 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25679 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25680 if test "${ac_cv_header_unordered_map+set}" = set; then
25681 echo $ECHO_N "(cached) $ECHO_C" >&6
25683 cat >conftest.$ac_ext <<_ACEOF
25686 cat confdefs.h >>conftest.$ac_ext
25687 cat >>conftest.$ac_ext <<_ACEOF
25688 /* end confdefs.h. */
25692 #include <unordered_map>
25694 rm -f conftest.$ac_objext
25695 if { (ac_try="$ac_compile"
25696 case "(($ac_try" in
25697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25698 *) ac_try_echo=$ac_try;;
25700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25701 (eval "$ac_compile") 2>conftest.er1
25703 grep -v '^
*+' conftest.er1 >conftest.err
25705 cat conftest.err >&5
25706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25707 (exit $ac_status); } && {
25708 test -z "$ac_cxx_werror_flag" ||
25709 test ! -s conftest.err
25710 } && test -s conftest.$ac_objext; then
25711 ac_cv_header_unordered_map=yes
25713 echo "$as_me: failed program was:" >&5
25714 sed 's
/^
/| /' conftest.$ac_ext >&5
25716 ac_cv_header_unordered_map=no
25719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25721 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25722 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25723 if test $ac_cv_header_unordered_map = yes; then
25724 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25725 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25726 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25727 echo $ECHO_N "(cached) $ECHO_C" >&6
25729 cat >conftest.$ac_ext <<_ACEOF
25732 cat confdefs.h >>conftest.$ac_ext
25733 cat >>conftest.$ac_ext <<_ACEOF
25734 /* end confdefs.h. */
25735 #include <unordered_map>
25736 #include <unordered_set>
25740 std::unordered_map<double*, char*> test1;
25741 std::unordered_set<char*> test2;
25746 rm -f conftest.$ac_objext
25747 if { (ac_try="$ac_compile"
25748 case "(($ac_try" in
25749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25750 *) ac_try_echo=$ac_try;;
25752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25753 (eval "$ac_compile") 2>conftest.er1
25755 grep -v '^
*+' conftest.er1 >conftest.err
25757 cat conftest.err >&5
25758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25759 (exit $ac_status); } && {
25760 test -z "$ac_cxx_werror_flag" ||
25761 test ! -s conftest.err
25762 } && test -s conftest.$ac_objext; then
25763 wx_cv_class_stdunorderedmapset=yes
25765 echo "$as_me: failed program was:" >&5
25766 sed 's
/^
/| /' conftest.$ac_ext >&5
25768 wx_cv_class_stdunorderedmapset=no
25771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25775 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25776 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25781 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25782 cat >>confdefs.h <<\_ACEOF
25783 #define HAVE_STD_UNORDERED_MAP 1
25786 cat >>confdefs.h <<\_ACEOF
25787 #define HAVE_STD_UNORDERED_SET 1
25791 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25792 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25793 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25794 echo $ECHO_N "(cached) $ECHO_C" >&6
25796 cat >conftest.$ac_ext <<_ACEOF
25799 cat confdefs.h >>conftest.$ac_ext
25800 cat >>conftest.$ac_ext <<_ACEOF
25801 /* end confdefs.h. */
25805 #include <tr1/unordered_map>
25807 rm -f conftest.$ac_objext
25808 if { (ac_try="$ac_compile"
25809 case "(($ac_try" in
25810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25811 *) ac_try_echo=$ac_try;;
25813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25814 (eval "$ac_compile") 2>conftest.er1
25816 grep -v '^
*+' conftest.er1 >conftest.err
25818 cat conftest.err >&5
25819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25820 (exit $ac_status); } && {
25821 test -z "$ac_cxx_werror_flag" ||
25822 test ! -s conftest.err
25823 } && test -s conftest.$ac_objext; then
25824 ac_cv_header_tr1_unordered_map=yes
25826 echo "$as_me: failed program was:" >&5
25827 sed 's
/^
/| /' conftest.$ac_ext >&5
25829 ac_cv_header_tr1_unordered_map=no
25832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25834 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25835 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25836 if test $ac_cv_header_tr1_unordered_map = yes; then
25837 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25838 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25839 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25840 echo $ECHO_N "(cached) $ECHO_C" >&6
25842 cat >conftest.$ac_ext <<_ACEOF
25845 cat confdefs.h >>conftest.$ac_ext
25846 cat >>conftest.$ac_ext <<_ACEOF
25847 /* end confdefs.h. */
25848 #include <tr1/unordered_map>
25849 #include <tr1/unordered_set>
25853 std::tr1::unordered_map<double*, char*> test1;
25854 std::tr1::unordered_set<char*> test2;
25855 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25856 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
25862 rm -f conftest.
$ac_objext
25863 if { (ac_try
="$ac_compile"
25864 case "(($ac_try" in
25865 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25866 *) ac_try_echo=$ac_try;;
25868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25869 (eval "$ac_compile") 2>conftest.er1
25871 grep -v '^ *+' conftest.er1 >conftest.err
25873 cat conftest.err >&5
25874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25875 (exit $ac_status); } && {
25876 test -z "$ac_cxx_werror_flag" ||
25877 test ! -s conftest.err
25878 } && test -s conftest.$ac_objext; then
25879 wx_cv_class_tr1unorderedmapset=yes
25881 echo "$as_me: failed program was:" >&5
25882 sed 's/^/| /' conftest.$ac_ext >&5
25884 wx_cv_class_tr1unorderedmapset=no
25887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25891 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25892 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25897 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25898 cat >>confdefs.h <<\_ACEOF
25899 #define HAVE_TR1_UNORDERED_MAP 1
25902 cat >>confdefs.h <<\_ACEOF
25903 #define HAVE_TR1_UNORDERED_SET 1
25907 { echo "$as_me:$LINENO: checking for hash_map" >&5
25908 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25909 if test "${ac_cv_header_hash_map+set}" = set; then
25910 echo $ECHO_N "(cached) $ECHO_C" >&6
25912 cat >conftest.$ac_ext <<_ACEOF
25915 cat confdefs.h >>conftest.$ac_ext
25916 cat >>conftest.$ac_ext <<_ACEOF
25917 /* end confdefs.h. */
25921 #include <hash_map>
25923 rm -f conftest.$ac_objext
25924 if { (ac_try="$ac_compile"
25925 case "(($ac_try" in
25926 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25927 *) ac_try_echo
=$ac_try;;
25929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25930 (eval "$ac_compile") 2>conftest.er1
25932 grep -v '^ *+' conftest.er1
>conftest.err
25934 cat conftest.err
>&5
25935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25936 (exit $ac_status); } && {
25937 test -z "$ac_cxx_werror_flag" ||
25938 test ! -s conftest.err
25939 } && test -s conftest.
$ac_objext; then
25940 ac_cv_header_hash_map
=yes
25942 echo "$as_me: failed program was:" >&5
25943 sed 's/^/| /' conftest.
$ac_ext >&5
25945 ac_cv_header_hash_map
=no
25948 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25950 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25951 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25952 if test $ac_cv_header_hash_map = yes; then
25953 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25954 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25955 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25956 echo $ECHO_N "(cached) $ECHO_C" >&6
25958 cat >conftest.
$ac_ext <<_ACEOF
25961 cat confdefs.h
>>conftest.
$ac_ext
25962 cat >>conftest.
$ac_ext <<_ACEOF
25963 /* end confdefs.h. */
25964 #include <hash_map>
25965 #include <hash_set>
25969 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25970 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25975 rm -f conftest.
$ac_objext
25976 if { (ac_try
="$ac_compile"
25977 case "(($ac_try" in
25978 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25979 *) ac_try_echo=$ac_try;;
25981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25982 (eval "$ac_compile") 2>conftest.er1
25984 grep -v '^ *+' conftest.er1 >conftest.err
25986 cat conftest.err >&5
25987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25988 (exit $ac_status); } && {
25989 test -z "$ac_cxx_werror_flag" ||
25990 test ! -s conftest.err
25991 } && test -s conftest.$ac_objext; then
25992 wx_cv_class_stdhashmapset=yes
25994 echo "$as_me: failed program was:" >&5
25995 sed 's/^/| /' conftest.$ac_ext >&5
25997 wx_cv_class_stdhashmapset=no
26000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26004 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26005 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26010 if test "$wx_cv_class_stdhashmapset" = yes; then
26011 cat >>confdefs.h <<\_ACEOF
26012 #define HAVE_HASH_MAP 1
26015 cat >>confdefs.h <<\_ACEOF
26016 #define HAVE_STD_HASH_MAP 1
26021 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26022 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26023 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26024 echo $ECHO_N "(cached) $ECHO_C" >&6
26026 cat >conftest.$ac_ext <<_ACEOF
26029 cat confdefs.h >>conftest.$ac_ext
26030 cat >>conftest.$ac_ext <<_ACEOF
26031 /* end confdefs.h. */
26035 #include <ext/hash_map>
26037 rm -f conftest.$ac_objext
26038 if { (ac_try="$ac_compile"
26039 case "(($ac_try" in
26040 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26041 *) ac_try_echo
=$ac_try;;
26043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26044 (eval "$ac_compile") 2>conftest.er1
26046 grep -v '^ *+' conftest.er1
>conftest.err
26048 cat conftest.err
>&5
26049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26050 (exit $ac_status); } && {
26051 test -z "$ac_cxx_werror_flag" ||
26052 test ! -s conftest.err
26053 } && test -s conftest.
$ac_objext; then
26054 ac_cv_header_ext_hash_map
=yes
26056 echo "$as_me: failed program was:" >&5
26057 sed 's/^/| /' conftest.
$ac_ext >&5
26059 ac_cv_header_ext_hash_map
=no
26062 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26064 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26065 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26066 if test $ac_cv_header_ext_hash_map = yes; then
26067 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26068 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26069 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26070 echo $ECHO_N "(cached) $ECHO_C" >&6
26072 cat >conftest.
$ac_ext <<_ACEOF
26075 cat confdefs.h
>>conftest.
$ac_ext
26076 cat >>conftest.
$ac_ext <<_ACEOF
26077 /* end confdefs.h. */
26078 #include <ext/hash_map>
26079 #include <ext/hash_set>
26083 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26084 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26089 rm -f conftest.
$ac_objext
26090 if { (ac_try
="$ac_compile"
26091 case "(($ac_try" in
26092 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26093 *) ac_try_echo=$ac_try;;
26095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26096 (eval "$ac_compile") 2>conftest.er1
26098 grep -v '^ *+' conftest.er1 >conftest.err
26100 cat conftest.err >&5
26101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26102 (exit $ac_status); } && {
26103 test -z "$ac_cxx_werror_flag" ||
26104 test ! -s conftest.err
26105 } && test -s conftest.$ac_objext; then
26106 wx_cv_class_gnuhashmapset=yes
26108 echo "$as_me: failed program was:" >&5
26109 sed 's/^/| /' conftest.$ac_ext >&5
26111 wx_cv_class_gnuhashmapset=no
26114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26118 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26119 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26129 ac_cpp='$CXXCPP $CPPFLAGS'
26130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26133 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26134 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26135 if test -z "$CXXCPP"; then
26136 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26137 echo $ECHO_N "(cached) $ECHO_C" >&6
26139 # Double quotes because CXXCPP needs to be expanded
26140 for CXXCPP in "$CXX -E" "/lib/cpp"
26142 ac_preproc_ok=false
26143 for ac_cxx_preproc_warn_flag in '' yes
26145 # Use a header file that comes with gcc, so configuring glibc
26146 # with a fresh cross-compiler works.
26147 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26148 # <limits.h> exists even on freestanding compilers.
26149 # On the NeXT, cc -E runs the code through the compiler's parser,
26150 # not just through cpp. "Syntax error" is here to catch this case.
26151 cat >conftest.$ac_ext <<_ACEOF
26154 cat confdefs.h >>conftest.$ac_ext
26155 cat >>conftest.$ac_ext <<_ACEOF
26156 /* end confdefs.h. */
26158 # include <limits.h>
26160 # include <assert.h>
26164 if { (ac_try="$ac_cpp conftest.$ac_ext"
26165 case "(($ac_try" in
26166 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26167 *) ac_try_echo
=$ac_try;;
26169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26170 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26172 grep -v '^ *+' conftest.er1
>conftest.err
26174 cat conftest.err
>&5
26175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26176 (exit $ac_status); } >/dev
/null
&& {
26177 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26178 test ! -s conftest.err
26182 echo "$as_me: failed program was:" >&5
26183 sed 's/^/| /' conftest.
$ac_ext >&5
26185 # Broken: fails on valid input.
26189 rm -f conftest.err conftest.
$ac_ext
26191 # OK, works on sane cases. Now check whether nonexistent headers
26192 # can be detected and how.
26193 cat >conftest.
$ac_ext <<_ACEOF
26196 cat confdefs.h
>>conftest.
$ac_ext
26197 cat >>conftest.
$ac_ext <<_ACEOF
26198 /* end confdefs.h. */
26199 #include <ac_nonexistent.h>
26201 if { (ac_try
="$ac_cpp conftest.$ac_ext"
26202 case "(($ac_try" in
26203 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26204 *) ac_try_echo=$ac_try;;
26206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26207 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26209 grep -v '^ *+' conftest.er1 >conftest.err
26211 cat conftest.err >&5
26212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26213 (exit $ac_status); } >/dev/null && {
26214 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26215 test ! -s conftest.err
26217 # Broken: success on invalid input.
26220 echo "$as_me: failed program was:" >&5
26221 sed 's/^/| /' conftest.$ac_ext >&5
26223 # Passes both tests.
26228 rm -f conftest.err conftest.$ac_ext
26231 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26232 rm -f conftest.err conftest.
$ac_ext
26233 if $ac_preproc_ok; then
26238 ac_cv_prog_CXXCPP
=$CXXCPP
26241 CXXCPP
=$ac_cv_prog_CXXCPP
26243 ac_cv_prog_CXXCPP
=$CXXCPP
26245 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26246 echo "${ECHO_T}$CXXCPP" >&6; }
26247 ac_preproc_ok
=false
26248 for ac_cxx_preproc_warn_flag
in '' yes
26250 # Use a header file that comes with gcc, so configuring glibc
26251 # with a fresh cross-compiler works.
26252 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26253 # <limits.h> exists even on freestanding compilers.
26254 # On the NeXT, cc -E runs the code through the compiler's parser,
26255 # not just through cpp. "Syntax error" is here to catch this case.
26256 cat >conftest.
$ac_ext <<_ACEOF
26259 cat confdefs.h
>>conftest.
$ac_ext
26260 cat >>conftest.
$ac_ext <<_ACEOF
26261 /* end confdefs.h. */
26263 # include <limits.h>
26265 # include <assert.h>
26269 if { (ac_try
="$ac_cpp conftest.$ac_ext"
26270 case "(($ac_try" in
26271 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26272 *) ac_try_echo=$ac_try;;
26274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26275 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26277 grep -v '^ *+' conftest.er1 >conftest.err
26279 cat conftest.err >&5
26280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26281 (exit $ac_status); } >/dev/null && {
26282 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26283 test ! -s conftest.err
26287 echo "$as_me: failed program was:" >&5
26288 sed 's/^/| /' conftest.$ac_ext >&5
26290 # Broken: fails on valid input.
26294 rm -f conftest.err conftest.$ac_ext
26296 # OK, works on sane cases. Now check whether nonexistent headers
26297 # can be detected and how.
26298 cat >conftest.$ac_ext <<_ACEOF
26301 cat confdefs.h >>conftest.$ac_ext
26302 cat >>conftest.$ac_ext <<_ACEOF
26303 /* end confdefs.h. */
26304 #include <ac_nonexistent.h>
26306 if { (ac_try="$ac_cpp conftest.$ac_ext"
26307 case "(($ac_try" in
26308 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26309 *) ac_try_echo
=$ac_try;;
26311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26312 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26314 grep -v '^ *+' conftest.er1
>conftest.err
26316 cat conftest.err
>&5
26317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26318 (exit $ac_status); } >/dev
/null
&& {
26319 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26320 test ! -s conftest.err
26322 # Broken: success on invalid input.
26325 echo "$as_me: failed program was:" >&5
26326 sed 's/^/| /' conftest.
$ac_ext >&5
26328 # Passes both tests.
26333 rm -f conftest.err conftest.
$ac_ext
26336 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26337 rm -f conftest.err conftest.
$ac_ext
26338 if $ac_preproc_ok; then
26341 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26342 See \`config.log' for more details." >&5
26343 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26344 See \`config.log' for more details." >&2;}
26345 { (exit 1); exit 1; }; }
26349 ac_cpp
='$CXXCPP $CPPFLAGS'
26350 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26351 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26352 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26357 for ac_header
in type_traits tr
1/type_traits
26359 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26360 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26361 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26363 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26364 echo $ECHO_N "(cached) $ECHO_C" >&6
26366 ac_res
=`eval echo '${'$as_ac_Header'}'`
26367 { echo "$as_me:$LINENO: result: $ac_res" >&5
26368 echo "${ECHO_T}$ac_res" >&6; }
26370 # Is the header compilable?
26371 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26372 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26373 cat >conftest.
$ac_ext <<_ACEOF
26376 cat confdefs.h
>>conftest.
$ac_ext
26377 cat >>conftest.
$ac_ext <<_ACEOF
26378 /* end confdefs.h. */
26379 $ac_includes_default
26380 #include <$ac_header>
26382 rm -f conftest.
$ac_objext
26383 if { (ac_try
="$ac_compile"
26384 case "(($ac_try" in
26385 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26386 *) ac_try_echo=$ac_try;;
26388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26389 (eval "$ac_compile") 2>conftest.er1
26391 grep -v '^ *+' conftest.er1 >conftest.err
26393 cat conftest.err >&5
26394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26395 (exit $ac_status); } && {
26396 test -z "$ac_cxx_werror_flag" ||
26397 test ! -s conftest.err
26398 } && test -s conftest.$ac_objext; then
26399 ac_header_compiler=yes
26401 echo "$as_me: failed program was:" >&5
26402 sed 's/^/| /' conftest.$ac_ext >&5
26404 ac_header_compiler=no
26407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26408 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26409 echo "${ECHO_T}$ac_header_compiler" >&6; }
26411 # Is the header present?
26412 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26413 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26414 cat >conftest.$ac_ext <<_ACEOF
26417 cat confdefs.h >>conftest.$ac_ext
26418 cat >>conftest.$ac_ext <<_ACEOF
26419 /* end confdefs.h. */
26420 #include <$ac_header>
26422 if { (ac_try="$ac_cpp conftest.$ac_ext"
26423 case "(($ac_try" in
26424 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26425 *) ac_try_echo
=$ac_try;;
26427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26428 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26430 grep -v '^ *+' conftest.er1
>conftest.err
26432 cat conftest.err
>&5
26433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26434 (exit $ac_status); } >/dev
/null
&& {
26435 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26436 test ! -s conftest.err
26438 ac_header_preproc
=yes
26440 echo "$as_me: failed program was:" >&5
26441 sed 's/^/| /' conftest.
$ac_ext >&5
26443 ac_header_preproc
=no
26446 rm -f conftest.err conftest.
$ac_ext
26447 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26448 echo "${ECHO_T}$ac_header_preproc" >&6; }
26450 # So? What about this header?
26451 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26453 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26454 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26455 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26456 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26457 ac_header_preproc
=yes
26460 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26461 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26462 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26463 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26464 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26465 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26466 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26467 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26468 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26469 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26470 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26471 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26473 ## ----------------------------------------- ##
26474 ## Report this to wx-dev@lists.wxwidgets.org ##
26475 ## ----------------------------------------- ##
26477 ) | sed "s/^/$as_me: WARNING: /" >&2
26480 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26481 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26482 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26483 echo $ECHO_N "(cached) $ECHO_C" >&6
26485 eval "$as_ac_Header=\$ac_header_preproc"
26487 ac_res
=`eval echo '${'$as_ac_Header'}'`
26488 { echo "$as_me:$LINENO: result: $ac_res" >&5
26489 echo "${ECHO_T}$ac_res" >&6; }
26492 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26493 cat >>confdefs.h
<<_ACEOF
26494 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26504 if test -n "$GCC"; then
26505 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26506 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26507 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26508 echo $ECHO_N "(cached) $ECHO_C" >&6
26511 cat >conftest.
$ac_ext <<_ACEOF
26514 cat confdefs.h
>>conftest.
$ac_ext
26515 cat >>conftest.
$ac_ext <<_ACEOF
26516 /* end confdefs.h. */
26522 unsigned int value=0;
26523 /* wxAtomicInc doesn't use return value here */
26524 __sync_fetch_and_add(&value, 2);
26525 __sync_sub_and_fetch(&value, 1);
26526 /* but wxAtomicDec does, so mimic that: */
26527 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26533 rm -f conftest.
$ac_objext conftest
$ac_exeext
26534 if { (ac_try
="$ac_link"
26535 case "(($ac_try" in
26536 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26537 *) ac_try_echo=$ac_try;;
26539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26540 (eval "$ac_link") 2>conftest.er1
26542 grep -v '^ *+' conftest.er1 >conftest.err
26544 cat conftest.err >&5
26545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26546 (exit $ac_status); } && {
26547 test -z "$ac_cxx_werror_flag" ||
26548 test ! -s conftest.err
26549 } && test -s conftest$ac_exeext &&
26550 $as_test_x conftest$ac_exeext; then
26551 wx_cv_cc_gcc_atomic_builtins=yes
26553 echo "$as_me: failed program was:" >&5
26554 sed 's/^/| /' conftest.$ac_ext >&5
26556 wx_cv_cc_gcc_atomic_builtins=no
26559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26560 conftest$ac_exeext conftest.$ac_ext
26564 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26565 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26566 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26567 cat >>confdefs.h <<\_ACEOF
26568 #define HAVE_GCC_ATOMIC_BUILTINS 1
26576 ac_cpp='$CPP $CPPFLAGS'
26577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26584 /usr/local/include \
26585 /usr/local/X11/include \
26586 /usr/local/include/X11 \
26587 /usr/local/X11R7/include \
26588 /usr/local/X11R6/include \
26589 /usr/local/include/X11R7 \
26590 /usr/local/include/X11R6 \
26592 /usr/Motif-2.1/include \
26593 /usr/Motif-1.2/include \
26594 /usr/include/Motif1.2 \
26597 /usr/openwin/include \
26601 /usr/X11R7/include \
26602 /usr/X11R6/include \
26603 /usr/X11R6.4/include \
26605 /usr/include/X11R7 \
26606 /usr/include/X11R6 \
26611 /usr/XFree86/include/X11 \
26614 /usr/local/X1R5/include \
26615 /usr/local/include/X11R5 \
26616 /usr/X11R5/include \
26617 /usr/include/X11R5 \
26619 /usr/local/X11R4/include \
26620 /usr/local/include/X11R4 \
26621 /usr/X11R4/include \
26622 /usr/include/X11R4 \
26624 /usr/openwin/share/include"
26626 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26627 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26631 if test "${wx_cv_std_libpath+set}" = set; then
26632 echo $ECHO_N "(cached) $ECHO_C" >&6
26635 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26636 for e in a so sl dylib dll.a; do
26638 if test -f $libc; then
26641 cat >conftest.$ac_ext <<_ACEOF
26642 int main() { return 0; }
26644 rm -f conftest.$ac_objext conftest$ac_exeext
26645 if { (ac_try="$ac_link"
26646 case "(($ac_try" in
26647 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26648 *) ac_try_echo
=$ac_try;;
26650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26651 (eval "$ac_link") 2>conftest.er1
26653 grep -v '^ *+' conftest.er1
>conftest.err
26655 cat conftest.err
>&5
26656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26657 (exit $ac_status); } && {
26658 test -z "$ac_c_werror_flag" ||
26659 test ! -s conftest.err
26660 } && test -s conftest
$ac_exeext &&
26661 $as_test_x conftest
$ac_exeext; then
26662 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
26664 echo "$as_me: failed program was:" >&5
26665 sed 's/^/| /' conftest.
$ac_ext >&5
26670 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26671 conftest
$ac_exeext conftest.
$ac_ext
26673 if test "x$wx_cv_std_libpath" != "x"; then
26679 if test "x$wx_cv_std_libpath" = "x"; then
26680 wx_cv_std_libpath
="lib"
26689 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26690 wx_cv_std_libpath
="lib/64"
26692 wx_cv_std_libpath
="lib"
26697 if test "$ac_cv_sizeof_void_p" = 8 -a \
26698 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26699 wx_cv_std_libpath
="lib64"
26701 wx_cv_std_libpath
="lib"
26706 wx_cv_std_libpath
="lib";
26710 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26711 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26713 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26715 if test "$build" != "$host" -a "$GCC" = yes; then
26716 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
26717 cross_root
=`dirname $cross_root`
26718 cross_root
=`dirname $cross_root`
26720 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26721 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26722 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
26724 if test -z "$PKG_CONFIG_PATH"; then
26725 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26726 export PKG_CONFIG_PATH
26729 if test -z "$x_includes" -o "$x_includes" = NONE
; then
26732 for ac_dir
in $SEARCH_INCLUDE /usr
/include
26734 if test -f "$ac_dir/X11/Intrinsic.h"; then
26735 ac_find_includes
=$ac_dir
26740 x_includes
=$ac_find_includes
26742 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
26745 for ac_dir
in $SEARCH_LIB
26747 for ac_extension
in a so sl dylib dll.a
; do
26748 if test -f "$ac_dir/libXt.$ac_extension"; then
26749 ac_find_libraries
=$ac_dir
26755 x_libraries
=$ac_find_libraries
26761 cat >confcache
<<\_ACEOF
26762 # This file is a shell script that caches the results of configure
26763 # tests run on this system so they can be shared between configure
26764 # scripts and configure runs, see configure's option --config-cache.
26765 # It is not useful on other systems. If it contains results you don't
26766 # want to keep, you may remove or edit it.
26768 # config.status only pays attention to the cache file if you give it
26769 # the --recheck option to rerun configure.
26771 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26772 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26773 # following values.
26777 # The following way of writing the cache mishandles newlines in values,
26778 # but we know of no workaround that is simple, portable, and efficient.
26779 # So, we kill variables containing newlines.
26780 # Ultrix sh set writes to stderr and can't be redirected directly,
26781 # and sets the high bit in the cache file unless we assign to the vars.
26783 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26784 eval ac_val
=\$
$ac_var
26788 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26789 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26792 _
| IFS
| as_nl
) ;; #(
26793 *) $as_unset $ac_var ;;
26799 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26800 *${as_nl}ac_space
=\
*)
26801 # `set' does not quote correctly, so add quotes (double-quote
26802 # substitution turns \\\\ into \\, and sed turns \\ into \).
26805 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26808 # `set' quotes correctly as required by POSIX, so do not add quotes.
26809 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26818 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26820 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26822 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26823 if test -w "$cache_file"; then
26824 test "x$cache_file" != "x/dev/null" &&
26825 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26826 echo "$as_me: updating cache $cache_file" >&6;}
26827 cat confcache
>$cache_file
26829 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26830 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26835 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26836 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26837 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26838 if test "${wx_cv_lib_glibc21+set}" = set; then
26839 echo $ECHO_N "(cached) $ECHO_C" >&6
26842 cat >conftest.
$ac_ext <<_ACEOF
26845 cat confdefs.h
>>conftest.
$ac_ext
26846 cat >>conftest.
$ac_ext <<_ACEOF
26847 /* end confdefs.h. */
26848 #include <features.h>
26853 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26861 rm -f conftest.
$ac_objext
26862 if { (ac_try
="$ac_compile"
26863 case "(($ac_try" in
26864 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26865 *) ac_try_echo=$ac_try;;
26867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26868 (eval "$ac_compile") 2>conftest.er1
26870 grep -v '^ *+' conftest.er1 >conftest.err
26872 cat conftest.err >&5
26873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26874 (exit $ac_status); } && {
26875 test -z "$ac_c_werror_flag" ||
26876 test ! -s conftest.err
26877 } && test -s conftest.$ac_objext; then
26879 wx_cv_lib_glibc21=yes
26882 echo "$as_me: failed program was:" >&5
26883 sed 's/^/| /' conftest.$ac_ext >&5
26886 wx_cv_lib_glibc21=no
26891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26894 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26895 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
26896 if test "$wx_cv_lib_glibc21" = "yes"; then
26897 cat >>confdefs.h <<\_ACEOF
26898 #define wxHAVE_GLIBC2 1
26904 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26905 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26906 cat >>confdefs.h <<\_ACEOF
26907 #define _GNU_SOURCE 1
26918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26919 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26921 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26922 echo $ECHO_N "(cached) $ECHO_C" >&6
26924 cat >conftest.$ac_ext <<_ACEOF
26927 cat confdefs.h >>conftest.$ac_ext
26928 cat >>conftest.$ac_ext <<_ACEOF
26929 /* end confdefs.h. */
26930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26932 #define $ac_func innocuous_$ac_func
26934 /* System header to define __stub macros and hopefully few prototypes,
26935 which can conflict with char $ac_func (); below.
26936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26937 <limits.h> exists even on freestanding compilers. */
26940 # include <limits.h>
26942 # include <assert.h>
26947 /* Override any GCC internal prototype to avoid an error.
26948 Use char because int might match the return type of a GCC
26949 builtin and then its argument prototype would still apply. */
26954 /* The GNU C library defines this for functions which it implements
26955 to always fail with ENOSYS. Some functions are actually named
26956 something starting with __ and the normal name is an alias. */
26957 #if defined __stub_$ac_func || defined __stub___$ac_func
26964 return $ac_func ();
26969 rm -f conftest.$ac_objext conftest$ac_exeext
26970 if { (ac_try="$ac_link"
26971 case "(($ac_try" in
26972 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26973 *) ac_try_echo
=$ac_try;;
26975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26976 (eval "$ac_link") 2>conftest.er1
26978 grep -v '^ *+' conftest.er1
>conftest.err
26980 cat conftest.err
>&5
26981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26982 (exit $ac_status); } && {
26983 test -z "$ac_c_werror_flag" ||
26984 test ! -s conftest.err
26985 } && test -s conftest
$ac_exeext &&
26986 $as_test_x conftest
$ac_exeext; then
26987 eval "$as_ac_var=yes"
26989 echo "$as_me: failed program was:" >&5
26990 sed 's/^/| /' conftest.
$ac_ext >&5
26992 eval "$as_ac_var=no"
26995 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26996 conftest
$ac_exeext conftest.
$ac_ext
26998 ac_res
=`eval echo '${'$as_ac_var'}'`
26999 { echo "$as_me:$LINENO: result: $ac_res" >&5
27000 echo "${ECHO_T}$ac_res" >&6; }
27001 if test `eval echo '${'$as_ac_var'}'` = yes; then
27002 cat >>confdefs.h
<<_ACEOF
27003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27010 for ac_func
in floor
27012 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27013 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27015 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27016 echo $ECHO_N "(cached) $ECHO_C" >&6
27018 cat >conftest.
$ac_ext <<_ACEOF
27021 cat confdefs.h
>>conftest.
$ac_ext
27022 cat >>conftest.
$ac_ext <<_ACEOF
27023 /* end confdefs.h. */
27024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27026 #define $ac_func innocuous_$ac_func
27028 /* System header to define __stub macros and hopefully few prototypes,
27029 which can conflict with char $ac_func (); below.
27030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27031 <limits.h> exists even on freestanding compilers. */
27034 # include <limits.h>
27036 # include <assert.h>
27041 /* Override any GCC internal prototype to avoid an error.
27042 Use char because int might match the return type of a GCC
27043 builtin and then its argument prototype would still apply. */
27048 /* The GNU C library defines this for functions which it implements
27049 to always fail with ENOSYS. Some functions are actually named
27050 something starting with __ and the normal name is an alias. */
27051 #if defined __stub_$ac_func || defined __stub___$ac_func
27058 return $ac_func ();
27063 rm -f conftest.
$ac_objext conftest
$ac_exeext
27064 if { (ac_try
="$ac_link"
27065 case "(($ac_try" in
27066 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27067 *) ac_try_echo=$ac_try;;
27069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27070 (eval "$ac_link") 2>conftest.er1
27072 grep -v '^ *+' conftest.er1 >conftest.err
27074 cat conftest.err >&5
27075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27076 (exit $ac_status); } && {
27077 test -z "$ac_c_werror_flag" ||
27078 test ! -s conftest.err
27079 } && test -s conftest$ac_exeext &&
27080 $as_test_x conftest$ac_exeext; then
27081 eval "$as_ac_var=yes"
27083 echo "$as_me: failed program was:" >&5
27084 sed 's/^/| /' conftest.$ac_ext >&5
27086 eval "$as_ac_var=no"
27089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27090 conftest$ac_exeext conftest.$ac_ext
27092 ac_res=`eval echo '${'$as_ac_var'}'`
27093 { echo "$as_me:$LINENO: result: $ac_res" >&5
27094 echo "${ECHO_T}$ac_res" >&6; }
27095 if test `eval echo '${'$as_ac_var'}'` = yes; then
27096 cat >>confdefs.h <<_ACEOF
27097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27103 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27104 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27105 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27106 { echo "$as_me:$LINENO: result: yes" >&5
27107 echo "${ECHO_T}yes" >&6; }
27109 { echo "$as_me:$LINENO: result: no" >&5
27110 echo "${ECHO_T}no" >&6; }
27112 # use different functions to avoid configure caching
27118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27119 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27121 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27122 echo $ECHO_N "(cached) $ECHO_C" >&6
27124 cat >conftest.$ac_ext <<_ACEOF
27127 cat confdefs.h >>conftest.$ac_ext
27128 cat >>conftest.$ac_ext <<_ACEOF
27129 /* end confdefs.h. */
27130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27132 #define $ac_func innocuous_$ac_func
27134 /* System header to define __stub macros and hopefully few prototypes,
27135 which can conflict with char $ac_func (); below.
27136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27137 <limits.h> exists even on freestanding compilers. */
27140 # include <limits.h>
27142 # include <assert.h>
27147 /* Override any GCC internal prototype to avoid an error.
27148 Use char because int might match the return type of a GCC
27149 builtin and then its argument prototype would still apply. */
27154 /* The GNU C library defines this for functions which it implements
27155 to always fail with ENOSYS. Some functions are actually named
27156 something starting with __ and the normal name is an alias. */
27157 #if defined __stub_$ac_func || defined __stub___$ac_func
27164 return $ac_func ();
27169 rm -f conftest.$ac_objext conftest$ac_exeext
27170 if { (ac_try="$ac_link"
27171 case "(($ac_try" in
27172 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27173 *) ac_try_echo
=$ac_try;;
27175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27176 (eval "$ac_link") 2>conftest.er1
27178 grep -v '^ *+' conftest.er1
>conftest.err
27180 cat conftest.err
>&5
27181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27182 (exit $ac_status); } && {
27183 test -z "$ac_c_werror_flag" ||
27184 test ! -s conftest.err
27185 } && test -s conftest
$ac_exeext &&
27186 $as_test_x conftest
$ac_exeext; then
27187 eval "$as_ac_var=yes"
27189 echo "$as_me: failed program was:" >&5
27190 sed 's/^/| /' conftest.
$ac_ext >&5
27192 eval "$as_ac_var=no"
27195 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27196 conftest
$ac_exeext conftest.
$ac_ext
27198 ac_res
=`eval echo '${'$as_ac_var'}'`
27199 { echo "$as_me:$LINENO: result: $ac_res" >&5
27200 echo "${ECHO_T}$ac_res" >&6; }
27201 if test `eval echo '${'$as_ac_var'}'` = yes; then
27202 cat >>confdefs.h
<<_ACEOF
27203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27210 for ac_func
in ceil
27212 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27213 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27215 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27216 echo $ECHO_N "(cached) $ECHO_C" >&6
27218 cat >conftest.
$ac_ext <<_ACEOF
27221 cat confdefs.h
>>conftest.
$ac_ext
27222 cat >>conftest.
$ac_ext <<_ACEOF
27223 /* end confdefs.h. */
27224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27226 #define $ac_func innocuous_$ac_func
27228 /* System header to define __stub macros and hopefully few prototypes,
27229 which can conflict with char $ac_func (); below.
27230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27231 <limits.h> exists even on freestanding compilers. */
27234 # include <limits.h>
27236 # include <assert.h>
27241 /* Override any GCC internal prototype to avoid an error.
27242 Use char because int might match the return type of a GCC
27243 builtin and then its argument prototype would still apply. */
27248 /* The GNU C library defines this for functions which it implements
27249 to always fail with ENOSYS. Some functions are actually named
27250 something starting with __ and the normal name is an alias. */
27251 #if defined __stub_$ac_func || defined __stub___$ac_func
27258 return $ac_func ();
27263 rm -f conftest.
$ac_objext conftest
$ac_exeext
27264 if { (ac_try
="$ac_link"
27265 case "(($ac_try" in
27266 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27267 *) ac_try_echo=$ac_try;;
27269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27270 (eval "$ac_link") 2>conftest.er1
27272 grep -v '^ *+' conftest.er1 >conftest.err
27274 cat conftest.err >&5
27275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27276 (exit $ac_status); } && {
27277 test -z "$ac_c_werror_flag" ||
27278 test ! -s conftest.err
27279 } && test -s conftest$ac_exeext &&
27280 $as_test_x conftest$ac_exeext; then
27281 eval "$as_ac_var=yes"
27283 echo "$as_me: failed program was:" >&5
27284 sed 's/^/| /' conftest.$ac_ext >&5
27286 eval "$as_ac_var=no"
27289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27290 conftest$ac_exeext conftest.$ac_ext
27292 ac_res=`eval echo '${'$as_ac_var'}'`
27293 { echo "$as_me:$LINENO: result: $ac_res" >&5
27294 echo "${ECHO_T}$ac_res" >&6; }
27295 if test `eval echo '${'$as_ac_var'}'` = yes; then
27296 cat >>confdefs.h <<_ACEOF
27297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27303 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27304 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27305 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27306 { echo "$as_me:$LINENO: result: yes" >&5
27307 echo "${ECHO_T}yes" >&6; }
27309 { echo "$as_me:$LINENO: result: no" >&5
27310 echo "${ECHO_T}no" >&6; }
27311 # not sure we should warn the user, crash, etc.
27316 ac_cpp='$CXXCPP $CPPFLAGS'
27317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27321 if test "wxUSE_UNICODE" = "yes"; then
27323 for wx_func in wcstoull
27325 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27326 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27327 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27328 echo $ECHO_N "(cached) $ECHO_C" >&6
27331 cat >conftest.$ac_ext <<_ACEOF
27335 cat confdefs.h >>conftest.$ac_ext
27336 cat >>conftest.$ac_ext <<_ACEOF
27337 /* end confdefs.h. */
27340 $ac_includes_default
27356 rm -f conftest.$ac_objext conftest$ac_exeext
27357 if { (ac_try="$ac_link"
27358 case "(($ac_try" in
27359 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27360 *) ac_try_echo
=$ac_try;;
27362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27363 (eval "$ac_link") 2>conftest.er1
27365 grep -v '^ *+' conftest.er1
>conftest.err
27367 cat conftest.err
>&5
27368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27369 (exit $ac_status); } && {
27370 test -z "$ac_cxx_werror_flag" ||
27371 test ! -s conftest.err
27372 } && test -s conftest
$ac_exeext &&
27373 $as_test_x conftest
$ac_exeext; then
27374 eval wx_cv_func_
$wx_func=yes
27376 echo "$as_me: failed program was:" >&5
27377 sed 's/^/| /' conftest.
$ac_ext >&5
27379 eval wx_cv_func_
$wx_func=no
27382 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27383 conftest
$ac_exeext conftest.
$ac_ext
27386 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
27387 { echo "$as_me:$LINENO: result: $ac_res" >&5
27388 echo "${ECHO_T}$ac_res" >&6; }
27390 if eval test \
$wx_cv_func_$wx_func = yes
27392 cat >>confdefs.h
<<_ACEOF
27393 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27405 for wx_func
in strtoull
27407 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27408 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27409 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27410 echo $ECHO_N "(cached) $ECHO_C" >&6
27413 cat >conftest.
$ac_ext <<_ACEOF
27417 cat confdefs.h
>>conftest.
$ac_ext
27418 cat >>conftest.
$ac_ext <<_ACEOF
27419 /* end confdefs.h. */
27422 $ac_includes_default
27438 rm -f conftest.
$ac_objext conftest
$ac_exeext
27439 if { (ac_try
="$ac_link"
27440 case "(($ac_try" in
27441 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27442 *) ac_try_echo=$ac_try;;
27444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27445 (eval "$ac_link") 2>conftest.er1
27447 grep -v '^ *+' conftest.er1 >conftest.err
27449 cat conftest.err >&5
27450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27451 (exit $ac_status); } && {
27452 test -z "$ac_cxx_werror_flag" ||
27453 test ! -s conftest.err
27454 } && test -s conftest$ac_exeext &&
27455 $as_test_x conftest$ac_exeext; then
27456 eval wx_cv_func_$wx_func=yes
27458 echo "$as_me: failed program was:" >&5
27459 sed 's/^/| /' conftest.$ac_ext >&5
27461 eval wx_cv_func_$wx_func=no
27464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27465 conftest$ac_exeext conftest.$ac_ext
27468 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27469 { echo "$as_me:$LINENO: result: $ac_res" >&5
27470 echo "${ECHO_T}$ac_res" >&6; }
27472 if eval test \$wx_cv_func_$wx_func = yes
27474 cat >>confdefs.h <<_ACEOF
27475 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27487 ac_cpp='$CPP $CPPFLAGS'
27488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27495 if test "$wxUSE_REGEX" != "no"; then
27496 cat >>confdefs.h <<\_ACEOF
27497 #define wxUSE_REGEX 1
27501 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27502 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27503 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27504 wxUSE_REGEX=builtin
27507 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27508 { echo "$as_me:$LINENO: checking for regex.h" >&5
27509 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27510 if test "${ac_cv_header_regex_h+set}" = set; then
27511 echo $ECHO_N "(cached) $ECHO_C" >&6
27513 cat >conftest.$ac_ext <<_ACEOF
27516 cat confdefs.h >>conftest.$ac_ext
27517 cat >>conftest.$ac_ext <<_ACEOF
27518 /* end confdefs.h. */
27523 rm -f conftest.$ac_objext
27524 if { (ac_try="$ac_compile"
27525 case "(($ac_try" in
27526 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27527 *) ac_try_echo
=$ac_try;;
27529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27530 (eval "$ac_compile") 2>conftest.er1
27532 grep -v '^ *+' conftest.er1
>conftest.err
27534 cat conftest.err
>&5
27535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27536 (exit $ac_status); } && {
27537 test -z "$ac_c_werror_flag" ||
27538 test ! -s conftest.err
27539 } && test -s conftest.
$ac_objext; then
27540 ac_cv_header_regex_h
=yes
27542 echo "$as_me: failed program was:" >&5
27543 sed 's/^/| /' conftest.
$ac_ext >&5
27545 ac_cv_header_regex_h
=no
27548 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27550 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27551 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27552 if test $ac_cv_header_regex_h = yes; then
27555 for ac_func
in regcomp re_search
27557 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27558 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27560 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27561 echo $ECHO_N "(cached) $ECHO_C" >&6
27563 cat >conftest.
$ac_ext <<_ACEOF
27566 cat confdefs.h
>>conftest.
$ac_ext
27567 cat >>conftest.
$ac_ext <<_ACEOF
27568 /* end confdefs.h. */
27569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27571 #define $ac_func innocuous_$ac_func
27573 /* System header to define __stub macros and hopefully few prototypes,
27574 which can conflict with char $ac_func (); below.
27575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27576 <limits.h> exists even on freestanding compilers. */
27579 # include <limits.h>
27581 # include <assert.h>
27586 /* Override any GCC internal prototype to avoid an error.
27587 Use char because int might match the return type of a GCC
27588 builtin and then its argument prototype would still apply. */
27593 /* The GNU C library defines this for functions which it implements
27594 to always fail with ENOSYS. Some functions are actually named
27595 something starting with __ and the normal name is an alias. */
27596 #if defined __stub_$ac_func || defined __stub___$ac_func
27603 return $ac_func ();
27608 rm -f conftest.
$ac_objext conftest
$ac_exeext
27609 if { (ac_try
="$ac_link"
27610 case "(($ac_try" in
27611 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27612 *) ac_try_echo=$ac_try;;
27614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27615 (eval "$ac_link") 2>conftest.er1
27617 grep -v '^ *+' conftest.er1 >conftest.err
27619 cat conftest.err >&5
27620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27621 (exit $ac_status); } && {
27622 test -z "$ac_c_werror_flag" ||
27623 test ! -s conftest.err
27624 } && test -s conftest$ac_exeext &&
27625 $as_test_x conftest$ac_exeext; then
27626 eval "$as_ac_var=yes"
27628 echo "$as_me: failed program was:" >&5
27629 sed 's/^/| /' conftest.$ac_ext >&5
27631 eval "$as_ac_var=no"
27634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27635 conftest$ac_exeext conftest.$ac_ext
27637 ac_res=`eval echo '${'$as_ac_var'}'`
27638 { echo "$as_me:$LINENO: result: $ac_res" >&5
27639 echo "${ECHO_T}$ac_res" >&6; }
27640 if test `eval echo '${'$as_ac_var'}'` = yes; then
27641 cat >>confdefs.h <<_ACEOF
27642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27652 if test "x$ac_cv_func_regcomp" != "xyes"; then
27653 if test "$wxUSE_REGEX" = "sys" ; then
27654 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27655 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27656 { (exit 1); exit 1; }; }
27658 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27659 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27660 wxUSE_REGEX=builtin
27664 cat >>confdefs.h <<\_ACEOF
27665 #define WX_NO_REGEX_ADVANCED 1
27674 if test "$wxUSE_ZLIB" != "no" ; then
27675 cat >>confdefs.h <<\_ACEOF
27676 #define wxUSE_ZLIB 1
27680 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27681 if test "$USE_DARWIN" = 1; then
27682 system_zlib_h_ok="yes"
27684 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27685 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27686 if test "${ac_cv_header_zlib_h+set}" = set; then
27687 echo $ECHO_N "(cached) $ECHO_C" >&6
27689 if test "$cross_compiling" = yes; then
27690 unset ac_cv_header_zlib_h
27693 cat >conftest.$ac_ext <<_ACEOF
27696 cat confdefs.h >>conftest.$ac_ext
27697 cat >>conftest.$ac_ext <<_ACEOF
27698 /* end confdefs.h. */
27705 FILE *f=fopen("conftestval", "w");
27708 ZLIB_VERSION[0] == '1' &&
27709 (ZLIB_VERSION[2] > '1' ||
27710 (ZLIB_VERSION[2] == '1' &&
27711 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27716 rm -f conftest$ac_exeext
27717 if { (ac_try="$ac_link"
27718 case "(($ac_try" in
27719 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27720 *) ac_try_echo
=$ac_try;;
27722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27723 (eval "$ac_link") 2>&5
27725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27726 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27727 { (case "(($ac_try" in
27728 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27729 *) ac_try_echo=$ac_try;;
27731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27732 (eval "$ac_try") 2>&5
27734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27735 (exit $ac_status); }; }; then
27736 ac_cv_header_zlib_h=`cat conftestval
`
27738 echo "$as_me: program exited with status $ac_status" >&5
27739 echo "$as_me: failed program was:" >&5
27740 sed 's/^/| /' conftest.$ac_ext >&5
27742 ( exit $ac_status )
27743 ac_cv_header_zlib_h=no
27745 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27751 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27752 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27753 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27754 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27755 if test "${ac_cv_header_zlib_h+set}" = set; then
27756 echo $ECHO_N "(cached) $ECHO_C" >&6
27758 cat >conftest.$ac_ext <<_ACEOF
27761 cat confdefs.h >>conftest.$ac_ext
27762 cat >>conftest.$ac_ext <<_ACEOF
27763 /* end confdefs.h. */
27768 rm -f conftest.$ac_objext
27769 if { (ac_try="$ac_compile"
27770 case "(($ac_try" in
27771 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27772 *) ac_try_echo
=$ac_try;;
27774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27775 (eval "$ac_compile") 2>conftest.er1
27777 grep -v '^ *+' conftest.er1
>conftest.err
27779 cat conftest.err
>&5
27780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27781 (exit $ac_status); } && {
27782 test -z "$ac_c_werror_flag" ||
27783 test ! -s conftest.err
27784 } && test -s conftest.
$ac_objext; then
27785 ac_cv_header_zlib_h
=yes
27787 echo "$as_me: failed program was:" >&5
27788 sed 's/^/| /' conftest.
$ac_ext >&5
27790 ac_cv_header_zlib_h
=no
27793 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27795 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27796 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27800 system_zlib_h_ok
=$ac_cv_header_zlib_h
27803 if test "$system_zlib_h_ok" = "yes"; then
27804 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27805 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27806 if test "${ac_cv_lib_z_deflate+set}" = set; then
27807 echo $ECHO_N "(cached) $ECHO_C" >&6
27809 ac_check_lib_save_LIBS
=$LIBS
27811 cat >conftest.
$ac_ext <<_ACEOF
27814 cat confdefs.h
>>conftest.
$ac_ext
27815 cat >>conftest.
$ac_ext <<_ACEOF
27816 /* end confdefs.h. */
27818 /* Override any GCC internal prototype to avoid an error.
27819 Use char because int might match the return type of a GCC
27820 builtin and then its argument prototype would still apply. */
27833 rm -f conftest.
$ac_objext conftest
$ac_exeext
27834 if { (ac_try
="$ac_link"
27835 case "(($ac_try" in
27836 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27837 *) ac_try_echo=$ac_try;;
27839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27840 (eval "$ac_link") 2>conftest.er1
27842 grep -v '^ *+' conftest.er1 >conftest.err
27844 cat conftest.err >&5
27845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27846 (exit $ac_status); } && {
27847 test -z "$ac_c_werror_flag" ||
27848 test ! -s conftest.err
27849 } && test -s conftest$ac_exeext &&
27850 $as_test_x conftest$ac_exeext; then
27851 ac_cv_lib_z_deflate=yes
27853 echo "$as_me: failed program was:" >&5
27854 sed 's/^/| /' conftest.$ac_ext >&5
27856 ac_cv_lib_z_deflate=no
27859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27860 conftest$ac_exeext conftest.$ac_ext
27861 LIBS=$ac_check_lib_save_LIBS
27863 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27864 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
27865 if test $ac_cv_lib_z_deflate = yes; then
27871 if test "x$ZLIB_LINK" = "x" ; then
27872 if test "$wxUSE_ZLIB" = "sys" ; then
27873 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27874 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27875 { (exit 1); exit 1; }; }
27877 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27878 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27889 if test "$wxUSE_LIBPNG" != "no" ; then
27890 cat >>confdefs.h <<\_ACEOF
27891 #define wxUSE_LIBPNG 1
27895 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27896 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27897 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27901 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27902 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27903 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27904 wxUSE_LIBPNG=builtin
27907 if test "$wxUSE_MGL" != 1 ; then
27908 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27909 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27910 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
27911 if test "${ac_cv_header_png_h+set}" = set; then
27912 echo $ECHO_N "(cached) $ECHO_C" >&6
27914 if test "$cross_compiling" = yes; then
27915 unset ac_cv_header_png_h
27918 cat >conftest.$ac_ext <<_ACEOF
27921 cat confdefs.h >>conftest.$ac_ext
27922 cat >>conftest.$ac_ext <<_ACEOF
27923 /* end confdefs.h. */
27930 FILE *f=fopen("conftestval", "w");
27933 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27938 rm -f conftest$ac_exeext
27939 if { (ac_try="$ac_link"
27940 case "(($ac_try" in
27941 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27942 *) ac_try_echo
=$ac_try;;
27944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27945 (eval "$ac_link") 2>&5
27947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27948 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27949 { (case "(($ac_try" in
27950 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27951 *) ac_try_echo=$ac_try;;
27953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27954 (eval "$ac_try") 2>&5
27956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27957 (exit $ac_status); }; }; then
27958 ac_cv_header_png_h=`cat conftestval
`
27960 echo "$as_me: program exited with status $ac_status" >&5
27961 echo "$as_me: failed program was:" >&5
27962 sed 's/^/| /' conftest.$ac_ext >&5
27964 ( exit $ac_status )
27965 ac_cv_header_png_h=no
27967 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27973 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27974 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27975 { echo "$as_me:$LINENO: checking for png.h" >&5
27976 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
27977 if test "${ac_cv_header_png_h+set}" = set; then
27978 echo $ECHO_N "(cached) $ECHO_C" >&6
27980 cat >conftest.$ac_ext <<_ACEOF
27983 cat confdefs.h >>conftest.$ac_ext
27984 cat >>conftest.$ac_ext <<_ACEOF
27985 /* end confdefs.h. */
27990 rm -f conftest.$ac_objext
27991 if { (ac_try="$ac_compile"
27992 case "(($ac_try" in
27993 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27994 *) ac_try_echo
=$ac_try;;
27996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27997 (eval "$ac_compile") 2>conftest.er1
27999 grep -v '^ *+' conftest.er1
>conftest.err
28001 cat conftest.err
>&5
28002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28003 (exit $ac_status); } && {
28004 test -z "$ac_c_werror_flag" ||
28005 test ! -s conftest.err
28006 } && test -s conftest.
$ac_objext; then
28007 ac_cv_header_png_h
=yes
28009 echo "$as_me: failed program was:" >&5
28010 sed 's/^/| /' conftest.
$ac_ext >&5
28012 ac_cv_header_png_h
=no
28015 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28017 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28018 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28022 if test "$ac_cv_header_png_h" = "yes"; then
28023 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28024 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28025 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28026 echo $ECHO_N "(cached) $ECHO_C" >&6
28028 ac_check_lib_save_LIBS
=$LIBS
28029 LIBS
="-lpng -lz -lm $LIBS"
28030 cat >conftest.
$ac_ext <<_ACEOF
28033 cat confdefs.h
>>conftest.
$ac_ext
28034 cat >>conftest.
$ac_ext <<_ACEOF
28035 /* end confdefs.h. */
28037 /* Override any GCC internal prototype to avoid an error.
28038 Use char because int might match the return type of a GCC
28039 builtin and then its argument prototype would still apply. */
28043 char png_sig_cmp ();
28047 return png_sig_cmp ();
28052 rm -f conftest.
$ac_objext conftest
$ac_exeext
28053 if { (ac_try
="$ac_link"
28054 case "(($ac_try" in
28055 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28056 *) ac_try_echo=$ac_try;;
28058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28059 (eval "$ac_link") 2>conftest.er1
28061 grep -v '^ *+' conftest.er1 >conftest.err
28063 cat conftest.err >&5
28064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28065 (exit $ac_status); } && {
28066 test -z "$ac_c_werror_flag" ||
28067 test ! -s conftest.err
28068 } && test -s conftest$ac_exeext &&
28069 $as_test_x conftest$ac_exeext; then
28070 ac_cv_lib_png_png_sig_cmp=yes
28072 echo "$as_me: failed program was:" >&5
28073 sed 's/^/| /' conftest.$ac_ext >&5
28075 ac_cv_lib_png_png_sig_cmp=no
28078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28079 conftest$ac_exeext conftest.$ac_ext
28080 LIBS=$ac_check_lib_save_LIBS
28082 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28083 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28084 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28085 PNG_LINK=" -lpng -lz"
28090 if test "x$PNG_LINK" = "x" ; then
28091 if test "$wxUSE_LIBPNG" = "sys" ; then
28092 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28093 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28094 { (exit 1); exit 1; }; }
28096 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28097 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28098 wxUSE_LIBPNG=builtin
28109 if test "$wxUSE_LIBJPEG" != "no" ; then
28110 cat >>confdefs.h <<\_ACEOF
28111 #define wxUSE_LIBJPEG 1
28115 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28116 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28117 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28121 if test "$wxUSE_MGL" != 1 ; then
28122 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28123 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28124 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28125 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28126 echo $ECHO_N "(cached) $ECHO_C" >&6
28128 cat >conftest.$ac_ext <<_ACEOF
28131 cat confdefs.h >>conftest.$ac_ext
28132 cat >>conftest.$ac_ext <<_ACEOF
28133 /* end confdefs.h. */
28135 #undef HAVE_STDLIB_H
28137 #include <jpeglib.h>
28148 rm -f conftest.$ac_objext
28149 if { (ac_try="$ac_compile"
28150 case "(($ac_try" in
28151 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28152 *) ac_try_echo
=$ac_try;;
28154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28155 (eval "$ac_compile") 2>conftest.er1
28157 grep -v '^ *+' conftest.er1
>conftest.err
28159 cat conftest.err
>&5
28160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28161 (exit $ac_status); } && {
28162 test -z "$ac_c_werror_flag" ||
28163 test ! -s conftest.err
28164 } && test -s conftest.
$ac_objext; then
28165 ac_cv_header_jpeglib_h
=yes
28167 echo "$as_me: failed program was:" >&5
28168 sed 's/^/| /' conftest.
$ac_ext >&5
28170 ac_cv_header_jpeglib_h
=no
28174 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28178 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28179 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28181 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28182 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28183 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28184 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28185 echo $ECHO_N "(cached) $ECHO_C" >&6
28187 ac_check_lib_save_LIBS
=$LIBS
28188 LIBS
="-ljpeg $LIBS"
28189 cat >conftest.
$ac_ext <<_ACEOF
28192 cat confdefs.h
>>conftest.
$ac_ext
28193 cat >>conftest.
$ac_ext <<_ACEOF
28194 /* end confdefs.h. */
28196 /* Override any GCC internal prototype to avoid an error.
28197 Use char because int might match the return type of a GCC
28198 builtin and then its argument prototype would still apply. */
28202 char jpeg_read_header ();
28206 return jpeg_read_header ();
28211 rm -f conftest.
$ac_objext conftest
$ac_exeext
28212 if { (ac_try
="$ac_link"
28213 case "(($ac_try" in
28214 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28215 *) ac_try_echo=$ac_try;;
28217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28218 (eval "$ac_link") 2>conftest.er1
28220 grep -v '^ *+' conftest.er1 >conftest.err
28222 cat conftest.err >&5
28223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28224 (exit $ac_status); } && {
28225 test -z "$ac_c_werror_flag" ||
28226 test ! -s conftest.err
28227 } && test -s conftest$ac_exeext &&
28228 $as_test_x conftest$ac_exeext; then
28229 ac_cv_lib_jpeg_jpeg_read_header=yes
28231 echo "$as_me: failed program was:" >&5
28232 sed 's/^/| /' conftest.$ac_ext >&5
28234 ac_cv_lib_jpeg_jpeg_read_header=no
28237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28238 conftest$ac_exeext conftest.$ac_ext
28239 LIBS=$ac_check_lib_save_LIBS
28241 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28242 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28243 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28244 JPEG_LINK=" -ljpeg"
28249 if test "x$JPEG_LINK" = "x" ; then
28250 if test "$wxUSE_LIBJPEG" = "sys" ; then
28251 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28252 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28253 { (exit 1); exit 1; }; }
28255 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28256 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28257 wxUSE_LIBJPEG=builtin
28262 if test "$wxUSE_MSW" = 1; then
28263 { echo "$as_me:$LINENO: checking for boolean" >&5
28264 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28265 if test "${ac_cv_type_boolean+set}" = set; then
28266 echo $ECHO_N "(cached) $ECHO_C" >&6
28268 cat >conftest.$ac_ext <<_ACEOF
28271 cat confdefs.h >>conftest.$ac_ext
28272 cat >>conftest.$ac_ext <<_ACEOF
28273 /* end confdefs.h. */
28274 #include <windows.h>
28276 typedef boolean ac__type_new_;
28280 if ((ac__type_new_ *) 0)
28282 if (sizeof (ac__type_new_))
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_cv_type_boolean
=yes
28307 echo "$as_me: failed program was:" >&5
28308 sed 's/^/| /' conftest.
$ac_ext >&5
28310 ac_cv_type_boolean
=no
28313 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28315 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28316 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28317 if test $ac_cv_type_boolean = yes; then
28319 cat >>confdefs.h
<<_ACEOF
28320 #define HAVE_BOOLEAN 1
28324 { echo "$as_me:$LINENO: checking for boolean" >&5
28325 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28326 if test "${ac_cv_type_boolean+set}" = set; then
28327 echo $ECHO_N "(cached) $ECHO_C" >&6
28329 cat >conftest.
$ac_ext <<_ACEOF
28332 cat confdefs.h
>>conftest.
$ac_ext
28333 cat >>conftest.
$ac_ext <<_ACEOF
28334 /* end confdefs.h. */
28336 #undef HAVE_BOOLEAN
28338 #include <jpeglib.h>
28341 typedef boolean ac__type_new_;
28345 if ((ac__type_new_ *) 0)
28347 if (sizeof (ac__type_new_))
28353 rm -f conftest.
$ac_objext
28354 if { (ac_try
="$ac_compile"
28355 case "(($ac_try" in
28356 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28357 *) ac_try_echo=$ac_try;;
28359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28360 (eval "$ac_compile") 2>conftest.er1
28362 grep -v '^ *+' conftest.er1 >conftest.err
28364 cat conftest.err >&5
28365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28366 (exit $ac_status); } && {
28367 test -z "$ac_c_werror_flag" ||
28368 test ! -s conftest.err
28369 } && test -s conftest.$ac_objext; then
28370 ac_cv_type_boolean=yes
28372 echo "$as_me: failed program was:" >&5
28373 sed 's/^/| /' conftest.$ac_ext >&5
28375 ac_cv_type_boolean=no
28378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28380 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28381 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28383 # The cast to long int works around a bug in the HP C Compiler
28384 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28385 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
28386 # This bug is HP SR number 8606223364.
28387 { echo "$as_me:$LINENO: checking size of boolean" >&5
28388 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28389 if test "${ac_cv_sizeof_boolean+set}" = set; then
28390 echo $ECHO_N "(cached) $ECHO_C" >&6
28392 if test "$cross_compiling" = yes; then
28393 # Depending upon the size, compute the lo and hi bounds.
28394 cat >conftest.$ac_ext <<_ACEOF
28397 cat confdefs.h >>conftest.$ac_ext
28398 cat >>conftest.$ac_ext <<_ACEOF
28399 /* end confdefs.h. */
28401 #undef HAVE_BOOLEAN
28403 #include <jpeglib.h>
28406 typedef boolean ac__type_sizeof_;
28410 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28417 rm -f conftest.$ac_objext
28418 if { (ac_try="$ac_compile"
28419 case "(($ac_try" in
28420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28421 *) ac_try_echo=$ac_try;;
28423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28424 (eval "$ac_compile") 2>conftest.er1
28426 grep -v '^
*+' conftest.er1 >conftest.err
28428 cat conftest.err >&5
28429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28430 (exit $ac_status); } && {
28431 test -z "$ac_c_werror_flag" ||
28432 test ! -s conftest.err
28433 } && test -s conftest.$ac_objext; then
28436 cat >conftest.$ac_ext <<_ACEOF
28439 cat confdefs.h >>conftest.$ac_ext
28440 cat >>conftest.$ac_ext <<_ACEOF
28441 /* end confdefs.h. */
28443 #undef HAVE_BOOLEAN
28445 #include <jpeglib.h>
28448 typedef boolean ac__type_sizeof_;
28452 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28459 rm -f conftest.$ac_objext
28460 if { (ac_try="$ac_compile"
28461 case "(($ac_try" in
28462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28463 *) ac_try_echo=$ac_try;;
28465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28466 (eval "$ac_compile") 2>conftest.er1
28468 grep -v '^
*+' conftest.er1 >conftest.err
28470 cat conftest.err >&5
28471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28472 (exit $ac_status); } && {
28473 test -z "$ac_c_werror_flag" ||
28474 test ! -s conftest.err
28475 } && test -s conftest.$ac_objext; then
28476 ac_hi=$ac_mid; break
28478 echo "$as_me: failed program was:" >&5
28479 sed 's
/^
/| /' conftest.$ac_ext >&5
28481 ac_lo=`expr $ac_mid + 1`
28482 if test $ac_lo -le $ac_mid; then
28486 ac_mid=`expr 2 '*' $ac_mid + 1`
28489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28492 echo "$as_me: failed program was:" >&5
28493 sed 's
/^
/| /' conftest.$ac_ext >&5
28495 cat >conftest.$ac_ext <<_ACEOF
28498 cat confdefs.h >>conftest.$ac_ext
28499 cat >>conftest.$ac_ext <<_ACEOF
28500 /* end confdefs.h. */
28502 #undef HAVE_BOOLEAN
28504 #include <jpeglib.h>
28507 typedef boolean ac__type_sizeof_;
28511 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28518 rm -f conftest.$ac_objext
28519 if { (ac_try="$ac_compile"
28520 case "(($ac_try" in
28521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28522 *) ac_try_echo=$ac_try;;
28524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28525 (eval "$ac_compile") 2>conftest.er1
28527 grep -v '^
*+' conftest.er1 >conftest.err
28529 cat conftest.err >&5
28530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28531 (exit $ac_status); } && {
28532 test -z "$ac_c_werror_flag" ||
28533 test ! -s conftest.err
28534 } && test -s conftest.$ac_objext; then
28537 cat >conftest.$ac_ext <<_ACEOF
28540 cat confdefs.h >>conftest.$ac_ext
28541 cat >>conftest.$ac_ext <<_ACEOF
28542 /* end confdefs.h. */
28544 #undef HAVE_BOOLEAN
28546 #include <jpeglib.h>
28549 typedef boolean ac__type_sizeof_;
28553 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28560 rm -f conftest.$ac_objext
28561 if { (ac_try="$ac_compile"
28562 case "(($ac_try" in
28563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28564 *) ac_try_echo=$ac_try;;
28566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28567 (eval "$ac_compile") 2>conftest.er1
28569 grep -v '^
*+' conftest.er1 >conftest.err
28571 cat conftest.err >&5
28572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28573 (exit $ac_status); } && {
28574 test -z "$ac_c_werror_flag" ||
28575 test ! -s conftest.err
28576 } && test -s conftest.$ac_objext; then
28577 ac_lo=$ac_mid; break
28579 echo "$as_me: failed program was:" >&5
28580 sed 's
/^
/| /' conftest.$ac_ext >&5
28582 ac_hi=`expr '(' $ac_mid ')' - 1`
28583 if test $ac_mid -le $ac_hi; then
28587 ac_mid=`expr 2 '*' $ac_mid`
28590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28593 echo "$as_me: failed program was:" >&5
28594 sed 's
/^
/| /' conftest.$ac_ext >&5
28599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28603 # Binary search between lo and hi bounds.
28604 while test "x$ac_lo" != "x$ac_hi"; do
28605 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28606 cat >conftest.$ac_ext <<_ACEOF
28609 cat confdefs.h >>conftest.$ac_ext
28610 cat >>conftest.$ac_ext <<_ACEOF
28611 /* end confdefs.h. */
28613 #undef HAVE_BOOLEAN
28615 #include <jpeglib.h>
28618 typedef boolean ac__type_sizeof_;
28622 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28629 rm -f conftest.$ac_objext
28630 if { (ac_try="$ac_compile"
28631 case "(($ac_try" in
28632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28633 *) ac_try_echo=$ac_try;;
28635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28636 (eval "$ac_compile") 2>conftest.er1
28638 grep -v '^
*+' conftest.er1 >conftest.err
28640 cat conftest.err >&5
28641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28642 (exit $ac_status); } && {
28643 test -z "$ac_c_werror_flag" ||
28644 test ! -s conftest.err
28645 } && test -s conftest.$ac_objext; then
28648 echo "$as_me: failed program was:" >&5
28649 sed 's
/^
/| /' conftest.$ac_ext >&5
28651 ac_lo=`expr '(' $ac_mid ')' + 1`
28654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28657 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28658 '') if test "$ac_cv_type_boolean" = yes; then
28659 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28660 See \`config.log' for more details.
" >&5
28661 echo "$as_me: error
: cannot compute sizeof
(boolean
)
28662 See \
`config.log' for more details." >&2;}
28663 { (exit 77); exit 77; }; }
28665 ac_cv_sizeof_boolean=0
28669 cat >conftest.$ac_ext <<_ACEOF
28672 cat confdefs.h >>conftest.$ac_ext
28673 cat >>conftest.$ac_ext <<_ACEOF
28674 /* end confdefs.h. */
28676 #undef HAVE_BOOLEAN
28678 #include <jpeglib.h>
28681 typedef boolean ac__type_sizeof_;
28682 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28683 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28685 #include <stdlib.h>
28690 FILE *f = fopen ("conftest.val", "w");
28693 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28695 long int i = longval ();
28696 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28698 fprintf (f, "%ld\n", i);
28702 unsigned long int i = ulongval ();
28703 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28705 fprintf (f, "%lu\n", i);
28707 return ferror (f) || fclose (f) != 0;
28713 rm -f conftest$ac_exeext
28714 if { (ac_try="$ac_link"
28715 case "(($ac_try" in
28716 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28717 *) ac_try_echo
=$ac_try;;
28719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28720 (eval "$ac_link") 2>&5
28722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28723 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28724 { (case "(($ac_try" in
28725 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28726 *) ac_try_echo=$ac_try;;
28728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28729 (eval "$ac_try") 2>&5
28731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28732 (exit $ac_status); }; }; then
28733 ac_cv_sizeof_boolean=`cat conftest.val
`
28735 echo "$as_me: program exited with status $ac_status" >&5
28736 echo "$as_me: failed program was:" >&5
28737 sed 's/^/| /' conftest.$ac_ext >&5
28739 ( exit $ac_status )
28740 if test "$ac_cv_type_boolean" = yes; then
28741 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28742 See \`config.log
' for more details." >&5
28743 echo "$as_me: error: cannot compute sizeof (boolean)
28744 See \`config.log' for more details.
" >&2;}
28745 { (exit 77); exit 77; }; }
28747 ac_cv_sizeof_boolean=0
28750 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28754 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
28755 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28759 cat >>confdefs.h <<_ACEOF
28760 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28764 cat >>confdefs.h <<_ACEOF
28765 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28779 TIFF_PREREQ_LINKS=-lm
28780 if test "$wxUSE_LIBTIFF" != "no
" ; then
28781 cat >>confdefs.h <<\_ACEOF
28782 #define wxUSE_LIBTIFF 1
28786 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
28787 if test "$wxUSE_LIBJPEG" = "sys
"; then
28788 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28790 if test "$wxUSE_ZLIB" = "sys
"; then
28791 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28793 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
28794 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
28795 if test "${ac_cv_header_tiffio_h+set}" = set; then
28796 echo $ECHO_N "(cached
) $ECHO_C" >&6
28798 cat >conftest.$ac_ext <<_ACEOF
28801 cat confdefs.h >>conftest.$ac_ext
28802 cat >>conftest.$ac_ext <<_ACEOF
28803 /* end confdefs.h. */
28807 #include <tiffio.h>
28809 rm -f conftest.$ac_objext
28810 if { (ac_try="$ac_compile"
28811 case "(($ac_try" in
28812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28813 *) ac_try_echo=$ac_try;;
28815 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28816 (eval "$ac_compile") 2>conftest.er1
28818 grep -v '^ *+' conftest.er1 >conftest.err
28820 cat conftest.err >&5
28821 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28822 (exit $ac_status); } && {
28823 test -z "$ac_c_werror_flag" ||
28824 test ! -s conftest.err
28825 } && test -s conftest.$ac_objext; then
28826 ac_cv_header_tiffio_h=yes
28828 echo "$as_me: failed program was
:" >&5
28829 sed 's/^/| /' conftest.$ac_ext >&5
28831 ac_cv_header_tiffio_h=no
28834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28836 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
28837 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28838 if test $ac_cv_header_tiffio_h = yes; then
28840 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
28841 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
28842 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28843 echo $ECHO_N "(cached
) $ECHO_C" >&6
28845 ac_check_lib_save_LIBS=$LIBS
28846 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28847 cat >conftest.$ac_ext <<_ACEOF
28850 cat confdefs.h >>conftest.$ac_ext
28851 cat >>conftest.$ac_ext <<_ACEOF
28852 /* end confdefs.h. */
28854 /* Override any GCC internal prototype to avoid an error.
28855 Use char because int might match the return type of a GCC
28856 builtin and then its argument prototype would still apply. */
28864 return TIFFError ();
28869 rm -f conftest.$ac_objext conftest$ac_exeext
28870 if { (ac_try="$ac_link"
28871 case "(($ac_try" in
28872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28873 *) ac_try_echo=$ac_try;;
28875 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28876 (eval "$ac_link") 2>conftest.er1
28878 grep -v '^ *+' conftest.er1 >conftest.err
28880 cat conftest.err >&5
28881 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28882 (exit $ac_status); } && {
28883 test -z "$ac_c_werror_flag" ||
28884 test ! -s conftest.err
28885 } && test -s conftest$ac_exeext &&
28886 $as_test_x conftest$ac_exeext; then
28887 ac_cv_lib_tiff_TIFFError=yes
28889 echo "$as_me: failed program was
:" >&5
28890 sed 's/^/| /' conftest.$ac_ext >&5
28892 ac_cv_lib_tiff_TIFFError=no
28895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28896 conftest$ac_exeext conftest.$ac_ext
28897 LIBS=$ac_check_lib_save_LIBS
28899 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
28900 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
28901 if test $ac_cv_lib_tiff_TIFFError = yes; then
28902 TIFF_LINK=" -ltiff"
28910 if test "x
$TIFF_LINK" = "x
" ; then
28911 if test "$wxUSE_LIBTIFF" = "sys
" ; then
28912 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
28913 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
28914 { (exit 1); exit 1; }; }
28916 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
28917 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
28918 wxUSE_LIBTIFF=builtin
28924 if test "$wxUSE_LIBTIFF" = "builtin" ; then
28925 if test "$wxUSE_LIBJPEG" = "no
"; then
28926 ac_configure_args="$ac_configure_args --disable-jpeg"
28928 subdirs="$subdirs src
/tiff
"
28934 if test "$wxUSE_EXPAT" != "no
"; then
28936 cat >>confdefs.h <<\_ACEOF
28937 #define wxUSE_EXPAT 1
28940 cat >>confdefs.h <<\_ACEOF
28941 #define wxUSE_XML 1
28945 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
28946 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
28947 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
28948 if test "${ac_cv_header_expat_h+set}" = set; then
28949 echo $ECHO_N "(cached
) $ECHO_C" >&6
28951 cat >conftest.$ac_ext <<_ACEOF
28954 cat confdefs.h >>conftest.$ac_ext
28955 cat >>conftest.$ac_ext <<_ACEOF
28956 /* end confdefs.h. */
28961 rm -f conftest.$ac_objext
28962 if { (ac_try="$ac_compile"
28963 case "(($ac_try" in
28964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28965 *) ac_try_echo=$ac_try;;
28967 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28968 (eval "$ac_compile") 2>conftest.er1
28970 grep -v '^ *+' conftest.er1 >conftest.err
28972 cat conftest.err >&5
28973 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28974 (exit $ac_status); } && {
28975 test -z "$ac_c_werror_flag" ||
28976 test ! -s conftest.err
28977 } && test -s conftest.$ac_objext; then
28978 ac_cv_header_expat_h=yes
28980 echo "$as_me: failed program was
:" >&5
28981 sed 's/^/| /' conftest.$ac_ext >&5
28983 ac_cv_header_expat_h=no
28986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28988 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
28989 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
28990 if test $ac_cv_header_expat_h = yes; then
28995 if test "x
$found_expat_h" = "x1
"; then
28996 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
28997 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
28998 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28999 echo $ECHO_N "(cached
) $ECHO_C" >&6
29003 ac_cpp='$CXXCPP $CPPFLAGS'
29004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29008 cat >conftest.$ac_ext <<_ACEOF
29011 cat confdefs.h >>conftest.$ac_ext
29012 cat >>conftest.$ac_ext <<_ACEOF
29013 /* end confdefs.h. */
29023 rm -f conftest.$ac_objext
29024 if { (ac_try="$ac_compile"
29025 case "(($ac_try" in
29026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29027 *) ac_try_echo=$ac_try;;
29029 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29030 (eval "$ac_compile") 2>conftest.er1
29032 grep -v '^ *+' conftest.er1 >conftest.err
29034 cat conftest.err >&5
29035 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29036 (exit $ac_status); } && {
29037 test -z "$ac_cxx_werror_flag" ||
29038 test ! -s conftest.err
29039 } && test -s conftest.$ac_objext; then
29040 wx_cv_expat_is_not_broken=yes
29042 echo "$as_me: failed program was
:" >&5
29043 sed 's/^/| /' conftest.$ac_ext >&5
29045 wx_cv_expat_is_not_broken=no
29049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29051 ac_cpp='$CPP $CPPFLAGS'
29052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29059 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
29060 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29061 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29062 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
29063 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
29064 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29065 echo $ECHO_N "(cached
) $ECHO_C" >&6
29067 ac_check_lib_save_LIBS=$LIBS
29068 LIBS="-lexpat $LIBS"
29069 cat >conftest.$ac_ext <<_ACEOF
29072 cat confdefs.h >>conftest.$ac_ext
29073 cat >>conftest.$ac_ext <<_ACEOF
29074 /* end confdefs.h. */
29076 /* Override any GCC internal prototype to avoid an error.
29077 Use char because int might match the return type of a GCC
29078 builtin and then its argument prototype would still apply. */
29082 char XML_ParserCreate ();
29086 return XML_ParserCreate ();
29091 rm -f conftest.$ac_objext conftest$ac_exeext
29092 if { (ac_try="$ac_link"
29093 case "(($ac_try" in
29094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29095 *) ac_try_echo=$ac_try;;
29097 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29098 (eval "$ac_link") 2>conftest.er1
29100 grep -v '^ *+' conftest.er1 >conftest.err
29102 cat conftest.err >&5
29103 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29104 (exit $ac_status); } && {
29105 test -z "$ac_c_werror_flag" ||
29106 test ! -s conftest.err
29107 } && test -s conftest$ac_exeext &&
29108 $as_test_x conftest$ac_exeext; then
29109 ac_cv_lib_expat_XML_ParserCreate=yes
29111 echo "$as_me: failed program was
:" >&5
29112 sed 's/^/| /' conftest.$ac_ext >&5
29114 ac_cv_lib_expat_XML_ParserCreate=no
29117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29118 conftest$ac_exeext conftest.$ac_ext
29119 LIBS=$ac_check_lib_save_LIBS
29121 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
29122 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29123 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29124 EXPAT_LINK=" -lexpat"
29129 if test "x
$EXPAT_LINK" = "x
" ; then
29130 if test "$wxUSE_EXPAT" = "sys
" ; then
29131 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
29132 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
29133 { (exit 1); exit 1; }; }
29135 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
29136 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
29137 wxUSE_EXPAT=builtin
29143 if test "$wxUSE_EXPAT" = "builtin" ; then
29144 subdirs="$subdirs src
/expat
"
29151 if test "$wxUSE_LIBMSPACK" != "no
"; then
29152 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
29153 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
29154 if test "${ac_cv_header_mspack_h+set}" = set; then
29155 echo $ECHO_N "(cached
) $ECHO_C" >&6
29157 cat >conftest.$ac_ext <<_ACEOF
29160 cat confdefs.h >>conftest.$ac_ext
29161 cat >>conftest.$ac_ext <<_ACEOF
29162 /* end confdefs.h. */
29165 #include <mspack.h>
29167 rm -f conftest.$ac_objext
29168 if { (ac_try="$ac_compile"
29169 case "(($ac_try" in
29170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29171 *) ac_try_echo=$ac_try;;
29173 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29174 (eval "$ac_compile") 2>conftest.er1
29176 grep -v '^ *+' conftest.er1 >conftest.err
29178 cat conftest.err >&5
29179 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29180 (exit $ac_status); } && {
29181 test -z "$ac_c_werror_flag" ||
29182 test ! -s conftest.err
29183 } && test -s conftest.$ac_objext; then
29184 ac_cv_header_mspack_h=yes
29186 echo "$as_me: failed program was
:" >&5
29187 sed 's/^/| /' conftest.$ac_ext >&5
29189 ac_cv_header_mspack_h=no
29192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29194 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
29195 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29196 if test $ac_cv_header_mspack_h = yes; then
29201 if test "x
$found_mspack_h" = "x1
"; then
29202 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
29203 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
29204 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29205 echo $ECHO_N "(cached
) $ECHO_C" >&6
29207 ac_check_lib_save_LIBS=$LIBS
29208 LIBS="-lmspack $LIBS"
29209 cat >conftest.$ac_ext <<_ACEOF
29212 cat confdefs.h >>conftest.$ac_ext
29213 cat >>conftest.$ac_ext <<_ACEOF
29214 /* end confdefs.h. */
29216 /* Override any GCC internal prototype to avoid an error.
29217 Use char because int might match the return type of a GCC
29218 builtin and then its argument prototype would still apply. */
29222 char mspack_create_chm_decompressor ();
29226 return mspack_create_chm_decompressor ();
29231 rm -f conftest.$ac_objext conftest$ac_exeext
29232 if { (ac_try="$ac_link"
29233 case "(($ac_try" in
29234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29235 *) ac_try_echo=$ac_try;;
29237 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29238 (eval "$ac_link") 2>conftest.er1
29240 grep -v '^ *+' conftest.er1 >conftest.err
29242 cat conftest.err >&5
29243 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29244 (exit $ac_status); } && {
29245 test -z "$ac_c_werror_flag" ||
29246 test ! -s conftest.err
29247 } && test -s conftest$ac_exeext &&
29248 $as_test_x conftest$ac_exeext; then
29249 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29251 echo "$as_me: failed program was
:" >&5
29252 sed 's/^/| /' conftest.$ac_ext >&5
29254 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29258 conftest$ac_exeext conftest.$ac_ext
29259 LIBS=$ac_check_lib_save_LIBS
29261 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29262 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29263 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29264 MSPACK_LINK=" -lmspack"
29268 if test "x
$MSPACK_LINK" = "x
" ; then
29273 if test "$wxUSE_LIBMSPACK" != "no
"; then
29274 cat >>confdefs.h <<\_ACEOF
29275 #define wxUSE_LIBMSPACK 1
29289 if test "$USE_WIN32" = 1 ; then
29291 for ac_header in w32api.h
29293 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
29294 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
29295 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
29296 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
29297 echo $ECHO_N "(cached
) $ECHO_C" >&6
29299 cat >conftest.$ac_ext <<_ACEOF
29302 cat confdefs.h >>conftest.$ac_ext
29303 cat >>conftest.$ac_ext <<_ACEOF
29304 /* end confdefs.h. */
29307 #include <$ac_header>
29309 rm -f conftest.$ac_objext
29310 if { (ac_try="$ac_compile"
29311 case "(($ac_try" in
29312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29313 *) ac_try_echo=$ac_try;;
29315 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29316 (eval "$ac_compile") 2>conftest.er1
29318 grep -v '^ *+' conftest.er1 >conftest.err
29320 cat conftest.err >&5
29321 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29322 (exit $ac_status); } && {
29323 test -z "$ac_c_werror_flag" ||
29324 test ! -s conftest.err
29325 } && test -s conftest.$ac_objext; then
29326 eval "$as_ac_Header=yes"
29328 echo "$as_me: failed program was
:" >&5
29329 sed 's/^/| /' conftest.$ac_ext >&5
29331 eval "$as_ac_Header=no
"
29334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29336 ac_res=`eval echo '${'$as_ac_Header'}'`
29337 { echo "$as_me:$LINENO: result
: $ac_res" >&5
29338 echo "${ECHO_T}$ac_res" >&6; }
29339 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29340 cat >>confdefs.h <<_ACEOF
29341 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
29348 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
29349 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
29350 if test "${ac_cv_header_windows_h+set}" = set; then
29351 echo $ECHO_N "(cached
) $ECHO_C" >&6
29353 cat >conftest.$ac_ext <<_ACEOF
29356 cat confdefs.h >>conftest.$ac_ext
29357 cat >>conftest.$ac_ext <<_ACEOF
29358 /* end confdefs.h. */
29361 #include <windows.h>
29363 rm -f conftest.$ac_objext
29364 if { (ac_try="$ac_compile"
29365 case "(($ac_try" in
29366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29367 *) ac_try_echo=$ac_try;;
29369 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29370 (eval "$ac_compile") 2>conftest.er1
29372 grep -v '^ *+' conftest.er1 >conftest.err
29374 cat conftest.err >&5
29375 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29376 (exit $ac_status); } && {
29377 test -z "$ac_c_werror_flag" ||
29378 test ! -s conftest.err
29379 } && test -s conftest.$ac_objext; then
29380 ac_cv_header_windows_h=yes
29382 echo "$as_me: failed program was
:" >&5
29383 sed 's/^/| /' conftest.$ac_ext >&5
29385 ac_cv_header_windows_h=no
29388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29390 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
29391 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29392 if test $ac_cv_header_windows_h = yes; then
29396 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
29397 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
29398 { (exit 1); exit 1; }; }
29404 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29406 x86_64-*-mingw32* )
29407 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64
"
29410 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29411 LIBS="$LIBS -loleacc"
29416 LIBS="$LIBS -lkernel32 -luser32"
29419 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
$WINDRES_CPU_DEFINE"
29420 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
29422 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
$WINDRES_CPU_DEFINE"
29424 WIN32INSTALL=win32install
29426 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
29427 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
29428 if test "${ac_cv_header_pbt_h+set}" = set; then
29429 echo $ECHO_N "(cached
) $ECHO_C" >&6
29431 cat >conftest.$ac_ext <<_ACEOF
29434 cat confdefs.h >>conftest.$ac_ext
29435 cat >>conftest.$ac_ext <<_ACEOF
29436 /* end confdefs.h. */
29441 rm -f conftest.$ac_objext
29442 if { (ac_try="$ac_compile"
29443 case "(($ac_try" in
29444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29445 *) ac_try_echo=$ac_try;;
29447 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29448 (eval "$ac_compile") 2>conftest.er1
29450 grep -v '^ *+' conftest.er1 >conftest.err
29452 cat conftest.err >&5
29453 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29454 (exit $ac_status); } && {
29455 test -z "$ac_c_werror_flag" ||
29456 test ! -s conftest.err
29457 } && test -s conftest.$ac_objext; then
29458 ac_cv_header_pbt_h=yes
29460 echo "$as_me: failed program was
:" >&5
29461 sed 's/^/| /' conftest.$ac_ext >&5
29463 ac_cv_header_pbt_h=no
29466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29468 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
29469 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29470 if test $ac_cv_header_pbt_h = yes; then
29473 cat >>confdefs.h <<\_ACEOF
29474 #define NEED_PBT_H 1
29482 if test "$wxUSE_GUI" = "yes"; then
29492 if test "$wxUSE_OLD_COCOA" = 1 ; then
29493 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29494 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
29495 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
29496 wxUSE_PRINTING_ARCHITECTURE=no
29498 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29499 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
29500 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
29501 wxUSE_DRAG_AND_DROP=no
29503 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29504 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
29505 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
29510 if test "$wxUSE_MSW" = 1 ; then
29516 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
29520 if test "$wxUSE_GTK" = 1; then
29521 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
29522 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
29524 gtk_version_cached=1
29525 if test "${wx_cv_lib_gtk+set}" = set; then
29526 echo $ECHO_N "(cached
) $ECHO_C" >&6
29529 gtk_version_cached=0
29530 { echo "$as_me:$LINENO: result
: " >&5
29531 echo "${ECHO_T}" >&6; }
29534 if test "$wxUSE_THREADS" = "yes"; then
29535 GTK_MODULES=gthread
29539 if test "x
$wxGTK_VERSION" != "x1
"
29543 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29548 # Check whether --enable-gtktest was given.
29549 if test "${enable_gtktest+set}" = set; then
29550 enableval=$enable_gtktest;
29556 pkg_config_args=gtk+-2.0
29557 for module in . $GTK_MODULES
29561 pkg_config_args="$pkg_config_args gthread
-2.0
"
29568 # Extract the first word of "pkg
-config", so it can be a program name with args.
29569 set dummy pkg-config; ac_word=$2
29570 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
29571 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
29572 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29573 echo $ECHO_N "(cached
) $ECHO_C" >&6
29575 case $PKG_CONFIG in
29577 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29581 for as_dir in $PATH
29584 test -z "$as_dir" && as_dir=.
29585 for ac_exec_ext in '' $ac_executable_extensions; do
29586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29587 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29588 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29595 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
29599 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29600 if test -n "$PKG_CONFIG"; then
29601 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
29602 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29604 { echo "$as_me:$LINENO: result
: no
" >&5
29605 echo "${ECHO_T}no
" >&6; }
29610 if test x$PKG_CONFIG != xno ; then
29611 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29614 echo "*** pkg
-config too old
; version
0.7 or better required.
"
29622 min_gtk_version=2.4.0
29623 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
29624 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
29626 if test x$PKG_CONFIG != xno ; then
29627 ## don't try to run the test against uninstalled libtool libs
29628 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29629 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
29633 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29640 if test x"$no_gtk" = x ; then
29641 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29642 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29643 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29644 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29645 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29646 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29647 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29648 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29649 if test "x
$enable_gtktest" = "xyes
" ; then
29650 ac_save_CFLAGS="$CFLAGS"
29651 ac_save_LIBS="$LIBS"
29652 CFLAGS="$CFLAGS $GTK_CFLAGS"
29653 LIBS="$GTK_LIBS $LIBS"
29655 if test "$cross_compiling" = yes; then
29656 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29658 cat >conftest.$ac_ext <<_ACEOF
29661 cat confdefs.h >>conftest.$ac_ext
29662 cat >>conftest.$ac_ext <<_ACEOF
29663 /* end confdefs.h. */
29665 #include <gtk/gtk.h>
29667 #include <stdlib.h>
29672 int major, minor, micro;
29675 system ("touch conf.gtktest
");
29677 /* HP/UX 9 (%@#!) writes to sscanf strings */
29678 tmp_version = g_strdup("$min_gtk_version");
29679 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29680 printf("%s
, bad version string
\n", "$min_gtk_version");
29684 if ((gtk_major_version != $gtk_config_major_version) ||
29685 (gtk_minor_version != $gtk_config_minor_version) ||
29686 (gtk_micro_version != $gtk_config_micro_version))
29688 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29689 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29690 gtk_major_version, gtk_minor_version, gtk_micro_version);
29691 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
29692 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29693 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29694 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29695 printf("*** required on your system.
\n");
29696 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
29697 printf("*** to point to the correct configuration files
\n");
29699 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29700 (gtk_minor_version != GTK_MINOR_VERSION) ||
29701 (gtk_micro_version != GTK_MICRO_VERSION))
29703 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29704 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29705 printf("*** library
(version
%d.
%d.
%d
)\n",
29706 gtk_major_version, gtk_minor_version, gtk_micro_version);
29710 if ((gtk_major_version > major) ||
29711 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29712 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29718 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29719 gtk_major_version, gtk_minor_version, gtk_micro_version);
29720 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29721 major, minor, micro);
29722 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29724 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29725 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
29726 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29727 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
29728 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
29729 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29730 printf("*** so that the correct libraries are found
at run
-time))\n");
29737 rm -f conftest$ac_exeext
29738 if { (ac_try="$ac_link"
29739 case "(($ac_try" in
29740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29741 *) ac_try_echo=$ac_try;;
29743 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29744 (eval "$ac_link") 2>&5
29746 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29747 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29748 { (case "(($ac_try" in
29749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29750 *) ac_try_echo=$ac_try;;
29752 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29753 (eval "$ac_try") 2>&5
29755 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29756 (exit $ac_status); }; }; then
29759 echo "$as_me: program exited with status
$ac_status" >&5
29760 echo "$as_me: failed program was
:" >&5
29761 sed 's/^/| /' conftest.$ac_ext >&5
29763 ( exit $ac_status )
29766 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29770 CFLAGS="$ac_save_CFLAGS"
29771 LIBS="$ac_save_LIBS"
29774 if test "x
$no_gtk" = x ; then
29775 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
29776 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
29779 { echo "$as_me:$LINENO: result
: no
" >&5
29780 echo "${ECHO_T}no
" >&6; }
29781 if test "$PKG_CONFIG" = "no
" ; then
29782 echo "*** A new enough version of pkg
-config was not found.
"
29783 echo "*** See http
://pkgconfig.sourceforge.net
"
29785 if test -f conf.gtktest ; then
29788 echo "*** Could not run GTK
+ test program
, checking why...
"
29789 ac_save_CFLAGS="$CFLAGS"
29790 ac_save_LIBS="$LIBS"
29791 CFLAGS="$CFLAGS $GTK_CFLAGS"
29792 LIBS="$LIBS $GTK_LIBS"
29793 cat >conftest.$ac_ext <<_ACEOF
29796 cat confdefs.h >>conftest.$ac_ext
29797 cat >>conftest.$ac_ext <<_ACEOF
29798 /* end confdefs.h. */
29800 #include <gtk/gtk.h>
29806 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29811 rm -f conftest.$ac_objext conftest$ac_exeext
29812 if { (ac_try="$ac_link"
29813 case "(($ac_try" in
29814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29815 *) ac_try_echo=$ac_try;;
29817 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29818 (eval "$ac_link") 2>conftest.er1
29820 grep -v '^ *+' conftest.er1 >conftest.err
29822 cat conftest.err >&5
29823 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29824 (exit $ac_status); } && {
29825 test -z "$ac_c_werror_flag" ||
29826 test ! -s conftest.err
29827 } && test -s conftest$ac_exeext &&
29828 $as_test_x conftest$ac_exeext; then
29829 echo "*** The
test program compiled
, but did not run. This usually means
"
29830 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
29831 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
29832 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29833 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29834 echo "*** is required on your system"
29836 echo "*** If you have an old version installed, it is best to remove it, although"
29837 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29839 echo "$as_me: failed program was:" >&5
29840 sed 's
/^
/| /' conftest.$ac_ext >&5
29842 echo "*** The test program failed to compile or link. See the file config.log for the"
29843 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29847 conftest$ac_exeext conftest.$ac_ext
29848 CFLAGS="$ac_save_CFLAGS"
29849 LIBS="$ac_save_LIBS"
29863 if test "$wxUSE_SHARED" != "yes"; then
29864 GTK_LIBS="$GTK_LIBS -lX11"
29869 if test -z "$wx_cv_lib_gtk"; then
29870 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29872 # Check whether --with-gtk-prefix was given.
29873 if test "${with_gtk_prefix+set}" = set; then
29874 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29876 gtk_config_prefix=""
29880 # Check whether --with-gtk-exec-prefix was given.
29881 if test "${with_gtk_exec_prefix+set}" = set; then
29882 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29884 gtk_config_exec_prefix=""
29887 # Check whether --enable-gtktest was given.
29888 if test "${enable_gtktest+set}" = set; then
29889 enableval=$enable_gtktest;
29895 for module in . $GTK_MODULES
29899 gtk_config_args="$gtk_config_args gthread"
29904 if test x$gtk_config_exec_prefix != x ; then
29905 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29906 if test x${GTK_CONFIG+set} != xset ; then
29907 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29910 if test x$gtk_config_prefix != x ; then
29911 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29912 if test x${GTK_CONFIG+set} != xset ; then
29913 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29917 # Extract the first word of "gtk-config", so it can be a program name with args.
29918 set dummy gtk-config; ac_word=$2
29919 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29921 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29922 echo $ECHO_N "(cached) $ECHO_C" >&6
29924 case $GTK_CONFIG in
29926 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29930 for as_dir in $PATH
29933 test -z "$as_dir" && as_dir=.
29934 for ac_exec_ext in '' $ac_executable_extensions; do
29935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29936 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29944 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29948 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29949 if test -n "$GTK_CONFIG"; then
29950 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29951 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29953 { echo "$as_me:$LINENO: result: no" >&5
29954 echo "${ECHO_T}no" >&6; }
29958 min_gtk_version=1.2.7
29959 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29960 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29962 if test "$GTK_CONFIG" = "no" ; then
29965 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29966 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29967 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29968 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
29969 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29970 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
29971 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29972 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
29973 if test "x$enable_gtktest" = "xyes" ; then
29974 ac_save_CFLAGS="$CFLAGS"
29975 ac_save_LIBS="$LIBS"
29976 CFLAGS="$CFLAGS $GTK_CFLAGS"
29977 LIBS="$GTK_LIBS $LIBS"
29979 if test "$cross_compiling" = yes; then
29980 echo $ac_n "cross compiling; assumed OK... $ac_c"
29982 cat >conftest.$ac_ext <<_ACEOF
29985 cat confdefs.h >>conftest.$ac_ext
29986 cat >>conftest.$ac_ext <<_ACEOF
29987 /* end confdefs.h. */
29989 #include <gtk/gtk.h>
29991 #include <stdlib.h>
29996 int major, minor, micro;
29999 system ("touch conf.gtktest");
30001 /* HP/UX 9 (%@#!) writes to sscanf strings */
30002 tmp_version = g_strdup("$min_gtk_version");
30003 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30004 printf("%s, bad version string\n", "$min_gtk_version");
30008 if ((gtk_major_version != $gtk_config_major_version) ||
30009 (gtk_minor_version != $gtk_config_minor_version) ||
30010 (gtk_micro_version != $gtk_config_micro_version))
30012 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30013 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30014 gtk_major_version, gtk_minor_version, gtk_micro_version);
30015 printf ("*** was found! If gtk-config was correct, then it is best\n");
30016 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30017 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30018 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30019 printf("*** required on your system.\n");
30020 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30021 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30022 printf("*** before re-running configure\n");
30024 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30025 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30026 (gtk_minor_version != GTK_MINOR_VERSION) ||
30027 (gtk_micro_version != GTK_MICRO_VERSION))
30029 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30030 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30031 printf("*** library (version %d.%d.%d)\n",
30032 gtk_major_version, gtk_minor_version, gtk_micro_version);
30034 #endif /* defined (GTK_MAJOR_VERSION) ... */
30037 if ((gtk_major_version > major) ||
30038 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30039 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30045 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30046 gtk_major_version, gtk_minor_version, gtk_micro_version);
30047 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30048 major, minor, micro);
30049 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30051 printf("*** If you have already installed a sufficiently new version, this error\n");
30052 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30053 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30054 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30055 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30056 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30057 printf("*** so that the correct libraries are found at run-time))\n");
30064 rm -f conftest$ac_exeext
30065 if { (ac_try="$ac_link"
30066 case "(($ac_try" in
30067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30068 *) ac_try_echo=$ac_try;;
30070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30071 (eval "$ac_link") 2>&5
30073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30074 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
30075 { (case "(($ac_try" in
30076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30077 *) ac_try_echo=$ac_try;;
30079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30080 (eval "$ac_try") 2>&5
30082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30083 (exit $ac_status); }; }; then
30086 echo "$as_me: program exited with status $ac_status" >&5
30087 echo "$as_me: failed program was:" >&5
30088 sed 's
/^
/| /' conftest.$ac_ext >&5
30090 ( exit $ac_status )
30093 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30097 CFLAGS="$ac_save_CFLAGS"
30098 LIBS="$ac_save_LIBS"
30101 if test "x$no_gtk" = x ; then
30102 { echo "$as_me:$LINENO: result: yes" >&5
30103 echo "${ECHO_T}yes" >&6; }
30104 wx_cv_lib_gtk=1.2.7
30106 { echo "$as_me:$LINENO: result: no" >&5
30107 echo "${ECHO_T}no" >&6; }
30108 if test "$GTK_CONFIG" = "no" ; then
30109 echo "*** The gtk-config script installed by GTK could not be found"
30110 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30111 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30112 echo "*** full path to gtk-config."
30114 if test -f conf.gtktest ; then
30117 echo "*** Could not run GTK test program, checking why..."
30118 CFLAGS="$CFLAGS $GTK_CFLAGS"
30119 LIBS="$LIBS $GTK_LIBS"
30120 cat >conftest.$ac_ext <<_ACEOF
30123 cat confdefs.h >>conftest.$ac_ext
30124 cat >>conftest.$ac_ext <<_ACEOF
30125 /* end confdefs.h. */
30127 #include <gtk/gtk.h>
30133 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30138 rm -f conftest.$ac_objext conftest$ac_exeext
30139 if { (ac_try="$ac_link"
30140 case "(($ac_try" in
30141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30142 *) ac_try_echo=$ac_try;;
30144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30145 (eval "$ac_link") 2>conftest.er1
30147 grep -v '^
*+' conftest.er1 >conftest.err
30149 cat conftest.err >&5
30150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30151 (exit $ac_status); } && {
30152 test -z "$ac_c_werror_flag" ||
30153 test ! -s conftest.err
30154 } && test -s conftest$ac_exeext &&
30155 $as_test_x conftest$ac_exeext; then
30156 echo "*** The test program compiled, but did not run. This usually means"
30157 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30158 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
30159 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
30160 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
30161 echo "*** is required on your system
"
30163 echo "*** If you have an old version installed
, it is best to remove it
, although
"
30164 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
30166 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
30167 echo "*** came with the system with the
command"
30169 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
30171 echo "$as_me: failed program was
:" >&5
30172 sed 's/^/| /' conftest.$ac_ext >&5
30174 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
30175 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
30176 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
30177 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
30180 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30181 conftest$ac_exeext conftest.$ac_ext
30182 CFLAGS="$ac_save_CFLAGS"
30183 LIBS="$ac_save_LIBS"
30195 if test -z "$wx_cv_lib_gtk"; then
30197 # Check whether --with-gtk-prefix was given.
30198 if test "${with_gtk_prefix+set}" = set; then
30199 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30201 gtk_config_prefix=""
30205 # Check whether --with-gtk-exec-prefix was given.
30206 if test "${with_gtk_exec_prefix+set}" = set; then
30207 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30209 gtk_config_exec_prefix=""
30212 # Check whether --enable-gtktest was given.
30213 if test "${enable_gtktest+set}" = set; then
30214 enableval=$enable_gtktest;
30220 for module in . $GTK_MODULES
30224 gtk_config_args="$gtk_config_args gthread
"
30229 if test x$gtk_config_exec_prefix != x ; then
30230 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30231 if test x${GTK_CONFIG+set} != xset ; then
30232 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30235 if test x$gtk_config_prefix != x ; then
30236 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30237 if test x${GTK_CONFIG+set} != xset ; then
30238 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30242 # Extract the first word of "gtk
-config", so it can be a program name with args.
30243 set dummy gtk-config; ac_word=$2
30244 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
30245 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
30246 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30247 echo $ECHO_N "(cached
) $ECHO_C" >&6
30249 case $GTK_CONFIG in
30251 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30255 for as_dir in $PATH
30258 test -z "$as_dir" && as_dir=.
30259 for ac_exec_ext in '' $ac_executable_extensions; do
30260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30261 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30262 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
30269 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
30273 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30274 if test -n "$GTK_CONFIG"; then
30275 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
30276 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30278 { echo "$as_me:$LINENO: result
: no
" >&5
30279 echo "${ECHO_T}no
" >&6; }
30283 min_gtk_version=1.2.3
30284 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
30285 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
30287 if test "$GTK_CONFIG" = "no
" ; then
30290 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30291 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30292 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30293 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30294 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30295 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30296 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30297 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30298 if test "x
$enable_gtktest" = "xyes
" ; then
30299 ac_save_CFLAGS="$CFLAGS"
30300 ac_save_LIBS="$LIBS"
30301 CFLAGS="$CFLAGS $GTK_CFLAGS"
30302 LIBS="$GTK_LIBS $LIBS"
30304 if test "$cross_compiling" = yes; then
30305 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
30307 cat >conftest.$ac_ext <<_ACEOF
30310 cat confdefs.h >>conftest.$ac_ext
30311 cat >>conftest.$ac_ext <<_ACEOF
30312 /* end confdefs.h. */
30314 #include <gtk/gtk.h>
30316 #include <stdlib.h>
30321 int major, minor, micro;
30324 system ("touch conf.gtktest
");
30326 /* HP/UX 9 (%@#!) writes to sscanf strings */
30327 tmp_version = g_strdup("$min_gtk_version");
30328 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
30329 printf("%s
, bad version string
\n", "$min_gtk_version");
30333 if ((gtk_major_version != $gtk_config_major_version) ||
30334 (gtk_minor_version != $gtk_config_minor_version) ||
30335 (gtk_micro_version != $gtk_config_micro_version))
30337 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
30338 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30339 gtk_major_version, gtk_minor_version, gtk_micro_version);
30340 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
30341 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
30342 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
30343 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
30344 printf("*** required on your system.
\n");
30345 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
30346 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
30347 printf("*** before re
-running configure
\n");
30349 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30350 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30351 (gtk_minor_version != GTK_MINOR_VERSION) ||
30352 (gtk_micro_version != GTK_MICRO_VERSION))
30354 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
30355 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30356 printf("*** library
(version
%d.
%d.
%d
)\n",
30357 gtk_major_version, gtk_minor_version, gtk_micro_version);
30359 #endif /* defined (GTK_MAJOR_VERSION) ... */
30362 if ((gtk_major_version > major) ||
30363 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30364 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30370 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
30371 gtk_major_version, gtk_minor_version, gtk_micro_version);
30372 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
30373 major, minor, micro);
30374 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
30376 printf("*** If you have already installed a sufficiently new version
, this error
\n");
30377 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
30378 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
30379 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
30380 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
30381 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
30382 printf("*** so that the correct libraries are found
at run
-time))\n");
30389 rm -f conftest$ac_exeext
30390 if { (ac_try="$ac_link"
30391 case "(($ac_try" in
30392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30393 *) ac_try_echo=$ac_try;;
30395 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30396 (eval "$ac_link") 2>&5
30398 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30399 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30400 { (case "(($ac_try" in
30401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30402 *) ac_try_echo=$ac_try;;
30404 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30405 (eval "$ac_try") 2>&5
30407 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30408 (exit $ac_status); }; }; then
30411 echo "$as_me: program exited with status
$ac_status" >&5
30412 echo "$as_me: failed program was
:" >&5
30413 sed 's/^/| /' conftest.$ac_ext >&5
30415 ( exit $ac_status )
30418 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30422 CFLAGS="$ac_save_CFLAGS"
30423 LIBS="$ac_save_LIBS"
30426 if test "x
$no_gtk" = x ; then
30427 { echo "$as_me:$LINENO: result
: yes" >&5
30428 echo "${ECHO_T}yes" >&6; }
30429 wx_cv_lib_gtk=1.2.3
30431 { echo "$as_me:$LINENO: result
: no
" >&5
30432 echo "${ECHO_T}no
" >&6; }
30433 if test "$GTK_CONFIG" = "no
" ; then
30434 echo "*** The gtk
-config script installed by GTK could not be found
"
30435 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
30436 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
30437 echo "*** full path to gtk
-config.
"
30439 if test -f conf.gtktest ; then
30442 echo "*** Could not run GTK
test program
, checking why...
"
30443 CFLAGS="$CFLAGS $GTK_CFLAGS"
30444 LIBS="$LIBS $GTK_LIBS"
30445 cat >conftest.$ac_ext <<_ACEOF
30448 cat confdefs.h >>conftest.$ac_ext
30449 cat >>conftest.$ac_ext <<_ACEOF
30450 /* end confdefs.h. */
30452 #include <gtk/gtk.h>
30458 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30463 rm -f conftest.$ac_objext conftest$ac_exeext
30464 if { (ac_try="$ac_link"
30465 case "(($ac_try" in
30466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30467 *) ac_try_echo=$ac_try;;
30469 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30470 (eval "$ac_link") 2>conftest.er1
30472 grep -v '^ *+' conftest.er1 >conftest.err
30474 cat conftest.err >&5
30475 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30476 (exit $ac_status); } && {
30477 test -z "$ac_c_werror_flag" ||
30478 test ! -s conftest.err
30479 } && test -s conftest$ac_exeext &&
30480 $as_test_x conftest$ac_exeext; then
30481 echo "*** The
test program compiled
, but did not run. This usually means
"
30482 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
30483 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
30484 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30485 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30486 echo "*** is required on your system"
30488 echo "*** If you have an old version installed, it is best to remove it, although"
30489 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30491 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30492 echo "*** came with the system with the command"
30494 echo "*** rpm --erase --nodeps gtk gtk-devel"
30496 echo "$as_me: failed program was:" >&5
30497 sed 's
/^
/| /' conftest.$ac_ext >&5
30499 echo "*** The test program failed to compile or link. See the file config.log for the"
30500 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30501 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30502 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30506 conftest$ac_exeext conftest.$ac_ext
30507 CFLAGS="$ac_save_CFLAGS"
30508 LIBS="$ac_save_LIBS"
30523 if test -z "$wx_cv_lib_gtk"; then
30526 wx_cv_cflags_gtk=$GTK_CFLAGS
30527 wx_cv_libs_gtk=$GTK_LIBS
30534 if test "$gtk_version_cached" = 1; then
30535 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30536 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30539 case "$wx_cv_lib_gtk" in
30548 *) { { echo "$as_me:$LINENO: error:
30549 The development files for GTK+ were not found. For GTK+ 2, please
30550 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30551 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30552 and that the version is 1.2.3 or above. Also check that the
30553 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
30554 --libs' are in the LD_LIBRARY_PATH or equivalent.
30556 echo "$as_me: error:
30557 The development files for GTK+ were not found. For GTK+ 2, please
30558 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30559 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30560 and that the version is 1.2.3 or above. Also check that the
30561 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
30562 --libs' are in the LD_LIBRARY_PATH or equivalent.
30564 { (exit 1); exit 1; }; }
30568 if test "$WXGTK2" = 1; then
30569 save_CFLAGS="$CFLAGS"
30571 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30572 LIBS="$LIBS $wx_cv_libs_gtk"
30574 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30575 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30576 cat >conftest.$ac_ext <<_ACEOF
30579 cat confdefs.h >>conftest.$ac_ext
30580 cat >>conftest.$ac_ext <<_ACEOF
30581 /* end confdefs.h. */
30583 #include <gtk/gtk.h>
30589 #if !GTK_CHECK_VERSION(2,18,0)
30597 rm -f conftest.$ac_objext
30598 if { (ac_try="$ac_compile"
30599 case "(($ac_try" in
30600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30601 *) ac_try_echo=$ac_try;;
30603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30604 (eval "$ac_compile") 2>conftest.er1
30606 grep -v '^
*+' conftest.er1 >conftest.err
30608 cat conftest.err >&5
30609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30610 (exit $ac_status); } && {
30611 test -z "$ac_c_werror_flag" ||
30612 test ! -s conftest.err
30613 } && test -s conftest.$ac_objext; then
30615 cat >>confdefs.h <<\_ACEOF
30616 #define __WXGTK218__ 1
30619 cat >>confdefs.h <<\_ACEOF
30620 #define __WXGTK210__ 1
30623 cat >>confdefs.h <<\_ACEOF
30624 #define __WXGTK26__ 1
30627 { echo "$as_me:$LINENO: result: yes" >&5
30628 echo "${ECHO_T}yes" >&6; }
30632 echo "$as_me: failed program was:" >&5
30633 sed 's
/^
/| /' conftest.$ac_ext >&5
30636 { echo "$as_me:$LINENO: result: no" >&5
30637 echo "${ECHO_T}no" >&6; }
30642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30644 if test "$ac_wxgtk218" = 0; then
30645 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30646 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30647 cat >conftest.$ac_ext <<_ACEOF
30650 cat confdefs.h >>conftest.$ac_ext
30651 cat >>conftest.$ac_ext <<_ACEOF
30652 /* end confdefs.h. */
30654 #include <gtk/gtk.h>
30660 #if !GTK_CHECK_VERSION(2,10,0)
30668 rm -f conftest.$ac_objext
30669 if { (ac_try="$ac_compile"
30670 case "(($ac_try" in
30671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30672 *) ac_try_echo=$ac_try;;
30674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30675 (eval "$ac_compile") 2>conftest.er1
30677 grep -v '^
*+' conftest.er1 >conftest.err
30679 cat conftest.err >&5
30680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30681 (exit $ac_status); } && {
30682 test -z "$ac_c_werror_flag" ||
30683 test ! -s conftest.err
30684 } && test -s conftest.$ac_objext; then
30686 cat >>confdefs.h <<\_ACEOF
30687 #define __WXGTK210__ 1
30690 cat >>confdefs.h <<\_ACEOF
30691 #define __WXGTK26__ 1
30694 { echo "$as_me:$LINENO: result: yes" >&5
30695 echo "${ECHO_T}yes" >&6; }
30699 echo "$as_me: failed program was:" >&5
30700 sed 's
/^
/| /' conftest.$ac_ext >&5
30703 { echo "$as_me:$LINENO: result: no" >&5
30704 echo "${ECHO_T}no" >&6; }
30709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30711 if test "$ac_wxgtk210" = 0; then
30712 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30713 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30714 cat >conftest.$ac_ext <<_ACEOF
30717 cat confdefs.h >>conftest.$ac_ext
30718 cat >>conftest.$ac_ext <<_ACEOF
30719 /* end confdefs.h. */
30721 #include <gtk/gtk.h>
30727 #if !GTK_CHECK_VERSION(2,6,0)
30735 rm -f conftest.$ac_objext
30736 if { (ac_try="$ac_compile"
30737 case "(($ac_try" in
30738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30739 *) ac_try_echo=$ac_try;;
30741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30742 (eval "$ac_compile") 2>conftest.er1
30744 grep -v '^
*+' conftest.er1 >conftest.err
30746 cat conftest.err >&5
30747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30748 (exit $ac_status); } && {
30749 test -z "$ac_c_werror_flag" ||
30750 test ! -s conftest.err
30751 } && test -s conftest.$ac_objext; then
30753 cat >>confdefs.h <<\_ACEOF
30754 #define __WXGTK26__ 1
30757 { echo "$as_me:$LINENO: result: yes" >&5
30758 echo "${ECHO_T}yes" >&6; }
30762 echo "$as_me: failed program was:" >&5
30763 sed 's
/^
/| /' conftest.$ac_ext >&5
30766 { echo "$as_me:$LINENO: result: no" >&5
30767 echo "${ECHO_T}no" >&6; }
30772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30776 CFLAGS="$save_CFLAGS"
30779 if test "$wxUSE_UNICODE" = "yes"; then
30780 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30781 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30785 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30786 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30787 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30788 echo $ECHO_N "(cached) $ECHO_C" >&6
30790 ac_check_lib_save_LIBS=$LIBS
30792 cat >conftest.$ac_ext <<_ACEOF
30795 cat confdefs.h >>conftest.$ac_ext
30796 cat >>conftest.$ac_ext <<_ACEOF
30797 /* end confdefs.h. */
30799 /* Override any GCC internal prototype to avoid an error.
30800 Use char because int might match the return type of a GCC
30801 builtin and then its argument prototype would still apply. */
30805 char gdk_im_open ();
30809 return gdk_im_open ();
30814 rm -f conftest.$ac_objext conftest$ac_exeext
30815 if { (ac_try="$ac_link"
30816 case "(($ac_try" in
30817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30818 *) ac_try_echo=$ac_try;;
30820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30821 (eval "$ac_link") 2>conftest.er1
30823 grep -v '^
*+' conftest.er1 >conftest.err
30825 cat conftest.err >&5
30826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30827 (exit $ac_status); } && {
30828 test -z "$ac_c_werror_flag" ||
30829 test ! -s conftest.err
30830 } && test -s conftest$ac_exeext &&
30831 $as_test_x conftest$ac_exeext; then
30832 ac_cv_lib_gdk_gdk_im_open=yes
30834 echo "$as_me: failed program was:" >&5
30835 sed 's
/^
/| /' conftest.$ac_ext >&5
30837 ac_cv_lib_gdk_gdk_im_open=no
30840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30841 conftest$ac_exeext conftest.$ac_ext
30842 LIBS=$ac_check_lib_save_LIBS
30844 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30845 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30846 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30847 cat >>confdefs.h <<\_ACEOF
30854 if test "$USE_DARWIN" != 1; then
30856 for ac_func in poll
30858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30859 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30861 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30862 echo $ECHO_N "(cached) $ECHO_C" >&6
30864 cat >conftest.$ac_ext <<_ACEOF
30867 cat confdefs.h >>conftest.$ac_ext
30868 cat >>conftest.$ac_ext <<_ACEOF
30869 /* end confdefs.h. */
30870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30872 #define $ac_func innocuous_$ac_func
30874 /* System header to define __stub macros and hopefully few prototypes,
30875 which can conflict with char $ac_func (); below.
30876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30877 <limits.h> exists even on freestanding compilers. */
30880 # include <limits.h>
30882 # include <assert.h>
30887 /* Override any GCC internal prototype to avoid an error.
30888 Use char because int might match the return type of a GCC
30889 builtin and then its argument prototype would still apply. */
30894 /* The GNU C library defines this for functions which it implements
30895 to always fail with ENOSYS. Some functions are actually named
30896 something starting with __ and the normal name is an alias. */
30897 #if defined __stub_$ac_func || defined __stub___$ac_func
30904 return $ac_func ();
30909 rm -f conftest.$ac_objext conftest$ac_exeext
30910 if { (ac_try="$ac_link"
30911 case "(($ac_try" in
30912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30913 *) ac_try_echo=$ac_try;;
30915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30916 (eval "$ac_link") 2>conftest.er1
30918 grep -v '^
*+' conftest.er1 >conftest.err
30920 cat conftest.err >&5
30921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30922 (exit $ac_status); } && {
30923 test -z "$ac_c_werror_flag" ||
30924 test ! -s conftest.err
30925 } && test -s conftest$ac_exeext &&
30926 $as_test_x conftest$ac_exeext; then
30927 eval "$as_ac_var=yes"
30929 echo "$as_me: failed program was:" >&5
30930 sed 's
/^
/| /' conftest.$ac_ext >&5
30932 eval "$as_ac_var=no"
30935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30936 conftest$ac_exeext conftest.$ac_ext
30938 ac_res=`eval echo '${'$as_ac_var'}'`
30939 { echo "$as_me:$LINENO: result: $ac_res" >&5
30940 echo "${ECHO_T}$ac_res" >&6; }
30941 if test `eval echo '${'$as_ac_var'}'` = yes; then
30942 cat >>confdefs.h <<_ACEOF
30943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30952 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
30953 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30955 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
30957 GTK_CHECKS_FLAGS="-DGTK_DISABLE_SINGLE_INCLUDES"
30958 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE $GTK_CHECKS_FLAGS"
30960 AFMINSTALL=afminstall
30964 if test "$wxUSE_GPE" = "yes"; then
30965 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
30966 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
30969 for ac_dir in $SEARCH_LIB
30971 for ac_extension in a so sl dylib dll.a; do
30972 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30973 ac_find_libraries=$ac_dir
30979 if test "$ac_find_libraries" != "" ; then
30981 if test "$ac_find_libraries" = "default location"; then
30984 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30986 if test $result = 0; then
30989 ac_path_to_link=" -L$ac_find_libraries"
30993 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30995 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30996 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30998 { echo "$as_me:$LINENO: result: not found" >&5
30999 echo "${ECHO_T}not found" >&6; }
31005 if test "$wxUSE_MGL" = 1; then
31006 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31007 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31008 if test "x$MGL_ROOT" = x ; then
31009 { echo "$as_me:$LINENO: result: not found" >&5
31010 echo "${ECHO_T}not found" >&6; }
31011 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31012 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31013 { (exit 1); exit 1; }; }
31015 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31016 echo "${ECHO_T}$MGL_ROOT" >&6; }
31019 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31020 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31023 if test "x$wxUSE_SHARED" = xyes ; then
31024 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31026 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31030 mgl_os_candidates="dos32/dj2"
31033 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31034 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31035 { (exit 1); exit 1; }; }
31041 for mgl_os_i in $mgl_os_candidates ; do
31042 if test "x$mgl_os" = x ; then
31043 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31044 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31045 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31050 if test "x$mgl_lib_type" = x ; then
31051 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31052 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31053 mgl_lib_type=release
31060 if test "x$mgl_os" = x ; then
31061 { echo "$as_me:$LINENO: result: not found" >&5
31062 echo "${ECHO_T}not found" >&6; }
31063 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31064 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31065 { (exit 1); exit 1; }; }
31067 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31068 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31070 wxUSE_UNIVERSAL="yes"
31072 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31073 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31075 AFMINSTALL=afminstall
31080 if test "$wxUSE_DFB" = 1; then
31083 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31084 if test -n "$ac_tool_prefix"; then
31085 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31086 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31089 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31090 echo $ECHO_N "(cached) $ECHO_C" >&6
31092 case $PKG_CONFIG in
31094 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31098 for as_dir in $PATH
31101 test -z "$as_dir" && as_dir=.
31102 for ac_exec_ext in '' $ac_executable_extensions; do
31103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31104 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31115 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31116 if test -n "$PKG_CONFIG"; then
31117 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31118 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31120 { echo "$as_me:$LINENO: result: no" >&5
31121 echo "${ECHO_T}no" >&6; }
31126 if test -z "$ac_cv_path_PKG_CONFIG"; then
31127 ac_pt_PKG_CONFIG=$PKG_CONFIG
31128 # Extract the first word of "pkg-config", so it can be a program name with args.
31129 set dummy pkg-config; ac_word=$2
31130 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31132 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31133 echo $ECHO_N "(cached) $ECHO_C" >&6
31135 case $ac_pt_PKG_CONFIG in
31137 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31141 for as_dir in $PATH
31144 test -z "$as_dir" && as_dir=.
31145 for ac_exec_ext in '' $ac_executable_extensions; do
31146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31147 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31158 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31159 if test -n "$ac_pt_PKG_CONFIG"; then
31160 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31161 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31163 { echo "$as_me:$LINENO: result: no" >&5
31164 echo "${ECHO_T}no" >&6; }
31167 if test "x$ac_pt_PKG_CONFIG" = x; then
31170 case $cross_compiling:$ac_tool_warned in
31172 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31173 whose name does not start with the host triplet. If you think this
31174 configuration is useful to you, please write to autoconf@gnu.org." >&5
31175 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31176 whose name does not start with the host triplet. If you think this
31177 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31178 ac_tool_warned=yes ;;
31180 PKG_CONFIG=$ac_pt_PKG_CONFIG
31183 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31187 if test -n "$PKG_CONFIG"; then
31188 _pkg_min_version=0.9.0
31189 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31190 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31191 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31192 { echo "$as_me:$LINENO: result: yes" >&5
31193 echo "${ECHO_T}yes" >&6; }
31195 { echo "$as_me:$LINENO: result: no" >&5
31196 echo "${ECHO_T}no" >&6; }
31204 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31205 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31207 if test -n "$PKG_CONFIG"; then
31208 if test -n "$DIRECTFB_CFLAGS"; then
31209 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31211 if test -n "$PKG_CONFIG" && \
31212 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31213 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31216 (exit $ac_status); }; then
31217 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31225 if test -n "$PKG_CONFIG"; then
31226 if test -n "$DIRECTFB_LIBS"; then
31227 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31229 if test -n "$PKG_CONFIG" && \
31230 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31231 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31234 (exit $ac_status); }; then
31235 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31246 if test $pkg_failed = yes; then
31248 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31249 _pkg_short_errors_supported=yes
31251 _pkg_short_errors_supported=no
31253 if test $_pkg_short_errors_supported = yes; then
31254 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31256 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31258 # Put the nasty error message in config.log where it belongs
31259 echo "$DIRECTFB_PKG_ERRORS" >&5
31262 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31263 echo "$as_me: error: DirectFB not found." >&2;}
31264 { (exit 1); exit 1; }; }
31267 elif test $pkg_failed = untried; then
31269 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31270 echo "$as_me: error: DirectFB not found." >&2;}
31271 { (exit 1); exit 1; }; }
31275 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31276 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31277 { echo "$as_me:$LINENO: result: yes" >&5
31278 echo "${ECHO_T}yes" >&6; }
31280 wxUSE_UNIVERSAL="yes"
31281 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31282 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31289 if test "$wxUSE_MICROWIN" = 1; then
31290 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31291 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31292 if test "x$MICROWINDOWS" = x ; then
31293 { echo "$as_me:$LINENO: result: not found" >&5
31294 echo "${ECHO_T}not found" >&6; }
31295 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31296 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31297 { (exit 1); exit 1; }; }
31299 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31300 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31303 if test -f $MICROWINDOWS/lib/libmwin.a; then
31304 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
31305 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
31307 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31308 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31309 { (exit 1); exit 1; }; }
31312 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31313 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31315 wxUSE_UNIVERSAL="yes"
31317 AFMINSTALL=afminstall
31319 GUIDIST=MICROWIN_DIST
31321 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31324 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31325 { echo "$as_me:$LINENO: checking for X" >&5
31326 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31329 # Check whether --with-x was given.
31330 if test "${with_x+set}" = set; then
31334 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
31335 if test "x$with_x" = xno; then
31336 # The user explicitly disabled X.
31339 case $x_includes,$x_libraries in #(
31340 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31341 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
31342 { (exit 1); exit 1; }; };; #(
31343 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31344 echo $ECHO_N "(cached) $ECHO_C" >&6
31346 # One or both of the vars are not set, and there is no cached value.
31347 ac_x_includes=no ac_x_libraries=no
31348 rm -f -r conftest.dir
31349 if mkdir conftest.dir; then
31351 cat >Imakefile <<'_ACEOF'
31353 @echo incroot='${INCROOT}'
31355 @echo usrlibdir='${USRLIBDIR}'
31357 @echo libdir='${LIBDIR}'
31359 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31360 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31361 for ac_var in incroot usrlibdir libdir; do
31362 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
31364 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31365 for ac_extension in a so sl; do
31366 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31367 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31368 ac_im_usrlibdir=$ac_im_libdir; break
31371 # Screen out bogus values from the imake configuration. They are
31372 # bogus both because they are the default anyway, and because
31373 # using them would break gcc on systems where it needs fixed includes.
31374 case $ac_im_incroot in
31375 /usr/include) ac_x_includes= ;;
31376 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31378 case $ac_im_usrlibdir in
31379 /usr/lib | /lib) ;;
31380 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31384 rm -f -r conftest.dir
31387 # Standard set of common directories for X headers.
31388 # Check X11 before X11Rn because it is often a symlink to the current release.
31400 /usr
/local
/X
11/include
31401 /usr
/local
/X
11R
6/include
31402 /usr
/local
/X
11R
5/include
31403 /usr
/local
/X
11R
4/include
31405 /usr
/local
/include
/X11
31406 /usr
/local
/include
/X11R6
31407 /usr
/local
/include
/X11R5
31408 /usr
/local
/include
/X11R4
31412 /usr
/XFree
86/include
/X11
31416 /usr
/unsupported
/include
31417 /usr
/athena
/include
31418 /usr
/local
/x
11r
5/include
31419 /usr
/lpp
/Xamples
/include
31421 /usr
/openwin
/include
31422 /usr
/openwin
/share
/include
'
31424 if test "$ac_x_includes" = no; then
31425 # Guess where to find include files, by looking for Xlib.h.
31426 # First, try using that file with no special directory specified.
31427 cat >conftest.$ac_ext <<_ACEOF
31430 cat confdefs.h >>conftest.$ac_ext
31431 cat >>conftest.$ac_ext <<_ACEOF
31432 /* end confdefs.h. */
31433 #include <X11/Xlib.h>
31435 if { (ac_try="$ac_cpp conftest.$ac_ext"
31436 case "(($ac_try" in
31437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31438 *) ac_try_echo=$ac_try;;
31440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31441 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31443 grep -v '^
*+' conftest.er1 >conftest.err
31445 cat conftest.err >&5
31446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31447 (exit $ac_status); } >/dev/null && {
31448 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31449 test ! -s conftest.err
31451 # We can compile using X headers with no special include directory.
31454 echo "$as_me: failed program was:" >&5
31455 sed 's
/^
/| /' conftest.$ac_ext >&5
31457 for ac_dir in $ac_x_header_dirs; do
31458 if test -r "$ac_dir/X11/Xlib.h"; then
31459 ac_x_includes=$ac_dir
31465 rm -f conftest.err conftest.$ac_ext
31466 fi # $ac_x_includes = no
31468 if test "$ac_x_libraries" = no; then
31469 # Check for the libraries.
31470 # See if we find them without any special options.
31471 # Don't add to
$LIBS permanently.
31474 cat >conftest.
$ac_ext <<_ACEOF
31477 cat confdefs.h
>>conftest.
$ac_ext
31478 cat >>conftest.
$ac_ext <<_ACEOF
31479 /* end confdefs.h. */
31480 #include <X11/Xlib.h>
31489 rm -f conftest.
$ac_objext conftest
$ac_exeext
31490 if { (ac_try
="$ac_link"
31491 case "(($ac_try" in
31492 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31493 *) ac_try_echo=$ac_try;;
31495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31496 (eval "$ac_link") 2>conftest.er1
31498 grep -v '^ *+' conftest.er1 >conftest.err
31500 cat conftest.err >&5
31501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31502 (exit $ac_status); } && {
31503 test -z "$ac_c_werror_flag" ||
31504 test ! -s conftest.err
31505 } && test -s conftest$ac_exeext &&
31506 $as_test_x conftest$ac_exeext; then
31508 # We can link X programs with no special library path.
31511 echo "$as_me: failed program was:" >&5
31512 sed 's/^/| /' conftest.$ac_ext >&5
31515 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
31517 # Don't even attempt the hair of trying to link an X program!
31518 for ac_extension in a so sl; do
31519 if test -r "$ac_dir/libX11.$ac_extension"; then
31520 ac_x_libraries=$ac_dir
31527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31528 conftest$ac_exeext conftest.$ac_ext
31529 fi # $ac_x_libraries = no
31531 case $ac_x_includes,$ac_x_libraries in #(
31532 no,* | *,no | *\'*)
31533 # Didn't find X, or a directory has "'" in its name.
31534 ac_cv_have_x="have_x=no";; #(
31536 # Record where we found X for the cache.
31537 ac_cv_have_x="have_x=yes\
31538 ac_x_includes='$ac_x_includes'\
31539 ac_x_libraries='$ac_x_libraries'"
31545 eval "$ac_cv_have_x"
31548 if test "$have_x" != yes; then
31549 { echo "$as_me:$LINENO: result: $have_x" >&5
31550 echo "${ECHO_T}$have_x" >&6; }
31553 # If each of the values was on the command line, it overrides each guess.
31554 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31555 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31556 # Update the cache value to reflect the command line values.
31557 ac_cv_have_x="have_x=yes\
31558 ac_x_includes='$x_includes'\
31559 ac_x_libraries='$x_libraries'"
31560 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31561 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31564 if test "$no_x" = yes; then
31565 # Not all programs may use this symbol, but it does not hurt to define it.
31567 cat >>confdefs.h <<\_ACEOF
31568 #define X_DISPLAY_MISSING 1
31571 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31573 if test -n "$x_includes"; then
31574 X_CFLAGS="$X_CFLAGS -I$x_includes"
31577 # It would also be nice to do this for all -L options, not just this one.
31578 if test -n "$x_libraries"; then
31579 X_LIBS="$X_LIBS -L$x_libraries"
31580 # For Solaris; some versions of Sun CC require a space after -R and
31581 # others require no space. Words are not sufficient . . . .
31582 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31583 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31584 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31585 ac_xsave_c_werror_flag=$ac_c_werror_flag
31586 ac_c_werror_flag=yes
31587 cat >conftest.$ac_ext <<_ACEOF
31590 cat confdefs.h >>conftest.$ac_ext
31591 cat >>conftest.$ac_ext <<_ACEOF
31592 /* end confdefs.h. */
31602 rm -f conftest.$ac_objext conftest$ac_exeext
31603 if { (ac_try="$ac_link"
31604 case "(($ac_try" in
31605 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31606 *) ac_try_echo
=$ac_try;;
31608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31609 (eval "$ac_link") 2>conftest.er1
31611 grep -v '^ *+' conftest.er1
>conftest.err
31613 cat conftest.err
>&5
31614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31615 (exit $ac_status); } && {
31616 test -z "$ac_c_werror_flag" ||
31617 test ! -s conftest.err
31618 } && test -s conftest
$ac_exeext &&
31619 $as_test_x conftest
$ac_exeext; then
31620 { echo "$as_me:$LINENO: result: no" >&5
31621 echo "${ECHO_T}no" >&6; }
31622 X_LIBS
="$X_LIBS -R$x_libraries"
31624 echo "$as_me: failed program was:" >&5
31625 sed 's/^/| /' conftest.
$ac_ext >&5
31627 LIBS
="$ac_xsave_LIBS -R $x_libraries"
31628 cat >conftest.
$ac_ext <<_ACEOF
31631 cat confdefs.h
>>conftest.
$ac_ext
31632 cat >>conftest.
$ac_ext <<_ACEOF
31633 /* end confdefs.h. */
31643 rm -f conftest.
$ac_objext conftest
$ac_exeext
31644 if { (ac_try
="$ac_link"
31645 case "(($ac_try" in
31646 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31647 *) ac_try_echo=$ac_try;;
31649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31650 (eval "$ac_link") 2>conftest.er1
31652 grep -v '^ *+' conftest.er1 >conftest.err
31654 cat conftest.err >&5
31655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31656 (exit $ac_status); } && {
31657 test -z "$ac_c_werror_flag" ||
31658 test ! -s conftest.err
31659 } && test -s conftest$ac_exeext &&
31660 $as_test_x conftest$ac_exeext; then
31661 { echo "$as_me:$LINENO: result: yes" >&5
31662 echo "${ECHO_T}yes" >&6; }
31663 X_LIBS="$X_LIBS -R $x_libraries"
31665 echo "$as_me: failed program was:" >&5
31666 sed 's/^/| /' conftest.$ac_ext >&5
31668 { echo "$as_me:$LINENO: result: neither works" >&5
31669 echo "${ECHO_T}neither works" >&6; }
31672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31673 conftest$ac_exeext conftest.$ac_ext
31676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31677 conftest$ac_exeext conftest.$ac_ext
31678 ac_c_werror_flag=$ac_xsave_c_werror_flag
31679 LIBS=$ac_xsave_LIBS
31682 # Check for system-dependent libraries X programs must link with.
31683 # Do this before checking for the system-independent R6 libraries
31684 # (-lICE), since we may need -lsocket or whatever for X linking.
31686 if test "$ISC" = yes; then
31687 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31689 # Martyn Johnson says this is needed for Ultrix, if the X
31690 # libraries were built with DECnet support. And Karl Berry says
31691 # the Alpha needs dnet_stub (dnet does not exist).
31692 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31693 cat >conftest.$ac_ext <<_ACEOF
31696 cat confdefs.h >>conftest.$ac_ext
31697 cat >>conftest.$ac_ext <<_ACEOF
31698 /* end confdefs.h. */
31700 /* Override any GCC internal prototype to avoid an error.
31701 Use char because int might match the return type of a GCC
31702 builtin and then its argument prototype would still apply. */
31706 char XOpenDisplay ();
31710 return XOpenDisplay ();
31715 rm -f conftest.$ac_objext conftest$ac_exeext
31716 if { (ac_try="$ac_link"
31717 case "(($ac_try" in
31718 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31719 *) ac_try_echo
=$ac_try;;
31721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31722 (eval "$ac_link") 2>conftest.er1
31724 grep -v '^ *+' conftest.er1
>conftest.err
31726 cat conftest.err
>&5
31727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31728 (exit $ac_status); } && {
31729 test -z "$ac_c_werror_flag" ||
31730 test ! -s conftest.err
31731 } && test -s conftest
$ac_exeext &&
31732 $as_test_x conftest
$ac_exeext; then
31735 echo "$as_me: failed program was:" >&5
31736 sed 's/^/| /' conftest.
$ac_ext >&5
31738 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31739 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31740 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31741 echo $ECHO_N "(cached) $ECHO_C" >&6
31743 ac_check_lib_save_LIBS
=$LIBS
31744 LIBS
="-ldnet $LIBS"
31745 cat >conftest.
$ac_ext <<_ACEOF
31748 cat confdefs.h
>>conftest.
$ac_ext
31749 cat >>conftest.
$ac_ext <<_ACEOF
31750 /* end confdefs.h. */
31752 /* Override any GCC internal prototype to avoid an error.
31753 Use char because int might match the return type of a GCC
31754 builtin and then its argument prototype would still apply. */
31762 return dnet_ntoa ();
31767 rm -f conftest.
$ac_objext conftest
$ac_exeext
31768 if { (ac_try
="$ac_link"
31769 case "(($ac_try" in
31770 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31771 *) ac_try_echo=$ac_try;;
31773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31774 (eval "$ac_link") 2>conftest.er1
31776 grep -v '^ *+' conftest.er1 >conftest.err
31778 cat conftest.err >&5
31779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31780 (exit $ac_status); } && {
31781 test -z "$ac_c_werror_flag" ||
31782 test ! -s conftest.err
31783 } && test -s conftest$ac_exeext &&
31784 $as_test_x conftest$ac_exeext; then
31785 ac_cv_lib_dnet_dnet_ntoa=yes
31787 echo "$as_me: failed program was:" >&5
31788 sed 's/^/| /' conftest.$ac_ext >&5
31790 ac_cv_lib_dnet_dnet_ntoa=no
31793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31794 conftest$ac_exeext conftest.$ac_ext
31795 LIBS=$ac_check_lib_save_LIBS
31797 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31798 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31799 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31800 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31803 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31804 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31805 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31806 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31807 echo $ECHO_N "(cached) $ECHO_C" >&6
31809 ac_check_lib_save_LIBS=$LIBS
31810 LIBS="-ldnet_stub $LIBS"
31811 cat >conftest.$ac_ext <<_ACEOF
31814 cat confdefs.h >>conftest.$ac_ext
31815 cat >>conftest.$ac_ext <<_ACEOF
31816 /* end confdefs.h. */
31818 /* Override any GCC internal prototype to avoid an error.
31819 Use char because int might match the return type of a GCC
31820 builtin and then its argument prototype would still apply. */
31828 return dnet_ntoa ();
31833 rm -f conftest.$ac_objext conftest$ac_exeext
31834 if { (ac_try="$ac_link"
31835 case "(($ac_try" in
31836 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31837 *) ac_try_echo
=$ac_try;;
31839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31840 (eval "$ac_link") 2>conftest.er1
31842 grep -v '^ *+' conftest.er1
>conftest.err
31844 cat conftest.err
>&5
31845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31846 (exit $ac_status); } && {
31847 test -z "$ac_c_werror_flag" ||
31848 test ! -s conftest.err
31849 } && test -s conftest
$ac_exeext &&
31850 $as_test_x conftest
$ac_exeext; then
31851 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
31853 echo "$as_me: failed program was:" >&5
31854 sed 's/^/| /' conftest.
$ac_ext >&5
31856 ac_cv_lib_dnet_stub_dnet_ntoa
=no
31859 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31860 conftest
$ac_exeext conftest.
$ac_ext
31861 LIBS
=$ac_check_lib_save_LIBS
31863 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31864 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31865 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31866 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
31872 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31873 conftest
$ac_exeext conftest.
$ac_ext
31874 LIBS
="$ac_xsave_LIBS"
31876 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31877 # to get the SysV transport functions.
31878 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31880 # The nsl library prevents programs from opening the X display
31881 # on Irix 5.2, according to T.E. Dickey.
31882 # The functions gethostbyname, getservbyname, and inet_addr are
31883 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31884 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31885 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31886 if test "${ac_cv_func_gethostbyname+set}" = set; then
31887 echo $ECHO_N "(cached) $ECHO_C" >&6
31889 cat >conftest.
$ac_ext <<_ACEOF
31892 cat confdefs.h
>>conftest.
$ac_ext
31893 cat >>conftest.
$ac_ext <<_ACEOF
31894 /* end confdefs.h. */
31895 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31897 #define gethostbyname innocuous_gethostbyname
31899 /* System header to define __stub macros and hopefully few prototypes,
31900 which can conflict with char gethostbyname (); below.
31901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31902 <limits.h> exists even on freestanding compilers. */
31905 # include <limits.h>
31907 # include <assert.h>
31910 #undef gethostbyname
31912 /* Override any GCC internal prototype to avoid an error.
31913 Use char because int might match the return type of a GCC
31914 builtin and then its argument prototype would still apply. */
31918 char gethostbyname ();
31919 /* The GNU C library defines this for functions which it implements
31920 to always fail with ENOSYS. Some functions are actually named
31921 something starting with __ and the normal name is an alias. */
31922 #if defined __stub_gethostbyname || defined __stub___gethostbyname
31929 return gethostbyname ();
31934 rm -f conftest.
$ac_objext conftest
$ac_exeext
31935 if { (ac_try
="$ac_link"
31936 case "(($ac_try" in
31937 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31938 *) ac_try_echo=$ac_try;;
31940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31941 (eval "$ac_link") 2>conftest.er1
31943 grep -v '^ *+' conftest.er1 >conftest.err
31945 cat conftest.err >&5
31946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31947 (exit $ac_status); } && {
31948 test -z "$ac_c_werror_flag" ||
31949 test ! -s conftest.err
31950 } && test -s conftest$ac_exeext &&
31951 $as_test_x conftest$ac_exeext; then
31952 ac_cv_func_gethostbyname=yes
31954 echo "$as_me: failed program was:" >&5
31955 sed 's/^/| /' conftest.$ac_ext >&5
31957 ac_cv_func_gethostbyname=no
31960 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31961 conftest$ac_exeext conftest.$ac_ext
31963 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31964 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
31966 if test $ac_cv_func_gethostbyname = no; then
31967 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31968 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
31969 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31970 echo $ECHO_N "(cached) $ECHO_C" >&6
31972 ac_check_lib_save_LIBS=$LIBS
31974 cat >conftest.$ac_ext <<_ACEOF
31977 cat confdefs.h >>conftest.$ac_ext
31978 cat >>conftest.$ac_ext <<_ACEOF
31979 /* end confdefs.h. */
31981 /* Override any GCC internal prototype to avoid an error.
31982 Use char because int might match the return type of a GCC
31983 builtin and then its argument prototype would still apply. */
31987 char gethostbyname ();
31991 return gethostbyname ();
31996 rm -f conftest.$ac_objext conftest$ac_exeext
31997 if { (ac_try="$ac_link"
31998 case "(($ac_try" in
31999 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32000 *) ac_try_echo
=$ac_try;;
32002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32003 (eval "$ac_link") 2>conftest.er1
32005 grep -v '^ *+' conftest.er1
>conftest.err
32007 cat conftest.err
>&5
32008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32009 (exit $ac_status); } && {
32010 test -z "$ac_c_werror_flag" ||
32011 test ! -s conftest.err
32012 } && test -s conftest
$ac_exeext &&
32013 $as_test_x conftest
$ac_exeext; then
32014 ac_cv_lib_nsl_gethostbyname
=yes
32016 echo "$as_me: failed program was:" >&5
32017 sed 's/^/| /' conftest.
$ac_ext >&5
32019 ac_cv_lib_nsl_gethostbyname
=no
32022 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32023 conftest
$ac_exeext conftest.
$ac_ext
32024 LIBS
=$ac_check_lib_save_LIBS
32026 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32027 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32028 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32029 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
32032 if test $ac_cv_lib_nsl_gethostbyname = no
; then
32033 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32034 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32035 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32036 echo $ECHO_N "(cached) $ECHO_C" >&6
32038 ac_check_lib_save_LIBS
=$LIBS
32040 cat >conftest.
$ac_ext <<_ACEOF
32043 cat confdefs.h
>>conftest.
$ac_ext
32044 cat >>conftest.
$ac_ext <<_ACEOF
32045 /* end confdefs.h. */
32047 /* Override any GCC internal prototype to avoid an error.
32048 Use char because int might match the return type of a GCC
32049 builtin and then its argument prototype would still apply. */
32053 char gethostbyname ();
32057 return gethostbyname ();
32062 rm -f conftest.
$ac_objext conftest
$ac_exeext
32063 if { (ac_try
="$ac_link"
32064 case "(($ac_try" in
32065 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32066 *) ac_try_echo=$ac_try;;
32068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32069 (eval "$ac_link") 2>conftest.er1
32071 grep -v '^ *+' conftest.er1 >conftest.err
32073 cat conftest.err >&5
32074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32075 (exit $ac_status); } && {
32076 test -z "$ac_c_werror_flag" ||
32077 test ! -s conftest.err
32078 } && test -s conftest$ac_exeext &&
32079 $as_test_x conftest$ac_exeext; then
32080 ac_cv_lib_bsd_gethostbyname=yes
32082 echo "$as_me: failed program was:" >&5
32083 sed 's/^/| /' conftest.$ac_ext >&5
32085 ac_cv_lib_bsd_gethostbyname=no
32088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32089 conftest$ac_exeext conftest.$ac_ext
32090 LIBS=$ac_check_lib_save_LIBS
32092 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32093 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32094 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32095 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32101 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32102 # socket/setsockopt and other routines are undefined under SCO ODT
32103 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32104 # on later versions), says Simon Leinen: it contains gethostby*
32105 # variants that don't use the name server (or something). -lsocket
32106 # must be given before -lnsl if both are needed. We assume that
32107 # if connect needs -lnsl, so does gethostbyname.
32108 { echo "$as_me:$LINENO: checking for connect" >&5
32109 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32110 if test "${ac_cv_func_connect+set}" = set; then
32111 echo $ECHO_N "(cached) $ECHO_C" >&6
32113 cat >conftest.$ac_ext <<_ACEOF
32116 cat confdefs.h >>conftest.$ac_ext
32117 cat >>conftest.$ac_ext <<_ACEOF
32118 /* end confdefs.h. */
32119 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32121 #define connect innocuous_connect
32123 /* System header to define __stub macros and hopefully few prototypes,
32124 which can conflict with char connect (); below.
32125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32126 <limits.h> exists even on freestanding compilers. */
32129 # include <limits.h>
32131 # include <assert.h>
32136 /* Override any GCC internal prototype to avoid an error.
32137 Use char because int might match the return type of a GCC
32138 builtin and then its argument prototype would still apply. */
32143 /* The GNU C library defines this for functions which it implements
32144 to always fail with ENOSYS. Some functions are actually named
32145 something starting with __ and the normal name is an alias. */
32146 #if defined __stub_connect || defined __stub___connect
32158 rm -f conftest.$ac_objext conftest$ac_exeext
32159 if { (ac_try="$ac_link"
32160 case "(($ac_try" in
32161 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32162 *) ac_try_echo
=$ac_try;;
32164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32165 (eval "$ac_link") 2>conftest.er1
32167 grep -v '^ *+' conftest.er1
>conftest.err
32169 cat conftest.err
>&5
32170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32171 (exit $ac_status); } && {
32172 test -z "$ac_c_werror_flag" ||
32173 test ! -s conftest.err
32174 } && test -s conftest
$ac_exeext &&
32175 $as_test_x conftest
$ac_exeext; then
32176 ac_cv_func_connect
=yes
32178 echo "$as_me: failed program was:" >&5
32179 sed 's/^/| /' conftest.
$ac_ext >&5
32181 ac_cv_func_connect
=no
32184 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32185 conftest
$ac_exeext conftest.
$ac_ext
32187 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32188 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32190 if test $ac_cv_func_connect = no
; then
32191 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32192 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32193 if test "${ac_cv_lib_socket_connect+set}" = set; then
32194 echo $ECHO_N "(cached) $ECHO_C" >&6
32196 ac_check_lib_save_LIBS
=$LIBS
32197 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
32198 cat >conftest.
$ac_ext <<_ACEOF
32201 cat confdefs.h
>>conftest.
$ac_ext
32202 cat >>conftest.
$ac_ext <<_ACEOF
32203 /* end confdefs.h. */
32205 /* Override any GCC internal prototype to avoid an error.
32206 Use char because int might match the return type of a GCC
32207 builtin and then its argument prototype would still apply. */
32220 rm -f conftest.
$ac_objext conftest
$ac_exeext
32221 if { (ac_try
="$ac_link"
32222 case "(($ac_try" in
32223 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32224 *) ac_try_echo=$ac_try;;
32226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32227 (eval "$ac_link") 2>conftest.er1
32229 grep -v '^ *+' conftest.er1 >conftest.err
32231 cat conftest.err >&5
32232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32233 (exit $ac_status); } && {
32234 test -z "$ac_c_werror_flag" ||
32235 test ! -s conftest.err
32236 } && test -s conftest$ac_exeext &&
32237 $as_test_x conftest$ac_exeext; then
32238 ac_cv_lib_socket_connect=yes
32240 echo "$as_me: failed program was:" >&5
32241 sed 's/^/| /' conftest.$ac_ext >&5
32243 ac_cv_lib_socket_connect=no
32246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32247 conftest$ac_exeext conftest.$ac_ext
32248 LIBS=$ac_check_lib_save_LIBS
32250 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32251 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32252 if test $ac_cv_lib_socket_connect = yes; then
32253 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32258 # Guillermo Gomez says -lposix is necessary on A/UX.
32259 { echo "$as_me:$LINENO: checking for remove" >&5
32260 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32261 if test "${ac_cv_func_remove+set}" = set; then
32262 echo $ECHO_N "(cached) $ECHO_C" >&6
32264 cat >conftest.$ac_ext <<_ACEOF
32267 cat confdefs.h >>conftest.$ac_ext
32268 cat >>conftest.$ac_ext <<_ACEOF
32269 /* end confdefs.h. */
32270 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32272 #define remove innocuous_remove
32274 /* System header to define __stub macros and hopefully few prototypes,
32275 which can conflict with char remove (); below.
32276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32277 <limits.h> exists even on freestanding compilers. */
32280 # include <limits.h>
32282 # include <assert.h>
32287 /* Override any GCC internal prototype to avoid an error.
32288 Use char because int might match the return type of a GCC
32289 builtin and then its argument prototype would still apply. */
32294 /* The GNU C library defines this for functions which it implements
32295 to always fail with ENOSYS. Some functions are actually named
32296 something starting with __ and the normal name is an alias. */
32297 #if defined __stub_remove || defined __stub___remove
32309 rm -f conftest.$ac_objext conftest$ac_exeext
32310 if { (ac_try="$ac_link"
32311 case "(($ac_try" in
32312 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32313 *) ac_try_echo
=$ac_try;;
32315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32316 (eval "$ac_link") 2>conftest.er1
32318 grep -v '^ *+' conftest.er1
>conftest.err
32320 cat conftest.err
>&5
32321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32322 (exit $ac_status); } && {
32323 test -z "$ac_c_werror_flag" ||
32324 test ! -s conftest.err
32325 } && test -s conftest
$ac_exeext &&
32326 $as_test_x conftest
$ac_exeext; then
32327 ac_cv_func_remove
=yes
32329 echo "$as_me: failed program was:" >&5
32330 sed 's/^/| /' conftest.
$ac_ext >&5
32332 ac_cv_func_remove
=no
32335 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32336 conftest
$ac_exeext conftest.
$ac_ext
32338 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32339 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32341 if test $ac_cv_func_remove = no
; then
32342 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32343 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32344 if test "${ac_cv_lib_posix_remove+set}" = set; then
32345 echo $ECHO_N "(cached) $ECHO_C" >&6
32347 ac_check_lib_save_LIBS
=$LIBS
32348 LIBS
="-lposix $LIBS"
32349 cat >conftest.
$ac_ext <<_ACEOF
32352 cat confdefs.h
>>conftest.
$ac_ext
32353 cat >>conftest.
$ac_ext <<_ACEOF
32354 /* end confdefs.h. */
32356 /* Override any GCC internal prototype to avoid an error.
32357 Use char because int might match the return type of a GCC
32358 builtin and then its argument prototype would still apply. */
32371 rm -f conftest.
$ac_objext conftest
$ac_exeext
32372 if { (ac_try
="$ac_link"
32373 case "(($ac_try" in
32374 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32375 *) ac_try_echo=$ac_try;;
32377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32378 (eval "$ac_link") 2>conftest.er1
32380 grep -v '^ *+' conftest.er1 >conftest.err
32382 cat conftest.err >&5
32383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32384 (exit $ac_status); } && {
32385 test -z "$ac_c_werror_flag" ||
32386 test ! -s conftest.err
32387 } && test -s conftest$ac_exeext &&
32388 $as_test_x conftest$ac_exeext; then
32389 ac_cv_lib_posix_remove=yes
32391 echo "$as_me: failed program was:" >&5
32392 sed 's/^/| /' conftest.$ac_ext >&5
32394 ac_cv_lib_posix_remove=no
32397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32398 conftest$ac_exeext conftest.$ac_ext
32399 LIBS=$ac_check_lib_save_LIBS
32401 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32402 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32403 if test $ac_cv_lib_posix_remove = yes; then
32404 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32409 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32410 { echo "$as_me:$LINENO: checking for shmat" >&5
32411 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32412 if test "${ac_cv_func_shmat+set}" = set; then
32413 echo $ECHO_N "(cached) $ECHO_C" >&6
32415 cat >conftest.$ac_ext <<_ACEOF
32418 cat confdefs.h >>conftest.$ac_ext
32419 cat >>conftest.$ac_ext <<_ACEOF
32420 /* end confdefs.h. */
32421 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32423 #define shmat innocuous_shmat
32425 /* System header to define __stub macros and hopefully few prototypes,
32426 which can conflict with char shmat (); below.
32427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32428 <limits.h> exists even on freestanding compilers. */
32431 # include <limits.h>
32433 # include <assert.h>
32438 /* Override any GCC internal prototype to avoid an error.
32439 Use char because int might match the return type of a GCC
32440 builtin and then its argument prototype would still apply. */
32445 /* The GNU C library defines this for functions which it implements
32446 to always fail with ENOSYS. Some functions are actually named
32447 something starting with __ and the normal name is an alias. */
32448 #if defined __stub_shmat || defined __stub___shmat
32460 rm -f conftest.$ac_objext conftest$ac_exeext
32461 if { (ac_try="$ac_link"
32462 case "(($ac_try" in
32463 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32464 *) ac_try_echo
=$ac_try;;
32466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32467 (eval "$ac_link") 2>conftest.er1
32469 grep -v '^ *+' conftest.er1
>conftest.err
32471 cat conftest.err
>&5
32472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32473 (exit $ac_status); } && {
32474 test -z "$ac_c_werror_flag" ||
32475 test ! -s conftest.err
32476 } && test -s conftest
$ac_exeext &&
32477 $as_test_x conftest
$ac_exeext; then
32478 ac_cv_func_shmat
=yes
32480 echo "$as_me: failed program was:" >&5
32481 sed 's/^/| /' conftest.
$ac_ext >&5
32483 ac_cv_func_shmat
=no
32486 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32487 conftest
$ac_exeext conftest.
$ac_ext
32489 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32490 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32492 if test $ac_cv_func_shmat = no
; then
32493 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32494 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32495 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32496 echo $ECHO_N "(cached) $ECHO_C" >&6
32498 ac_check_lib_save_LIBS
=$LIBS
32500 cat >conftest.
$ac_ext <<_ACEOF
32503 cat confdefs.h
>>conftest.
$ac_ext
32504 cat >>conftest.
$ac_ext <<_ACEOF
32505 /* end confdefs.h. */
32507 /* Override any GCC internal prototype to avoid an error.
32508 Use char because int might match the return type of a GCC
32509 builtin and then its argument prototype would still apply. */
32522 rm -f conftest.
$ac_objext conftest
$ac_exeext
32523 if { (ac_try
="$ac_link"
32524 case "(($ac_try" in
32525 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32526 *) ac_try_echo=$ac_try;;
32528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32529 (eval "$ac_link") 2>conftest.er1
32531 grep -v '^ *+' conftest.er1 >conftest.err
32533 cat conftest.err >&5
32534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32535 (exit $ac_status); } && {
32536 test -z "$ac_c_werror_flag" ||
32537 test ! -s conftest.err
32538 } && test -s conftest$ac_exeext &&
32539 $as_test_x conftest$ac_exeext; then
32540 ac_cv_lib_ipc_shmat=yes
32542 echo "$as_me: failed program was:" >&5
32543 sed 's/^/| /' conftest.$ac_ext >&5
32545 ac_cv_lib_ipc_shmat=no
32548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32549 conftest$ac_exeext conftest.$ac_ext
32550 LIBS=$ac_check_lib_save_LIBS
32552 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32553 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32554 if test $ac_cv_lib_ipc_shmat = yes; then
32555 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32561 # Check for libraries that X11R6 Xt/Xaw programs need.
32562 ac_save_LDFLAGS=$LDFLAGS
32563 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32564 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32565 # check for ICE first), but we must link in the order -lSM -lICE or
32566 # we get undefined symbols. So assume we have SM if we have ICE.
32567 # These have to be linked with before -lX11, unlike the other
32568 # libraries we check for below, so use a different variable.
32569 # John Interrante, Karl Berry
32570 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32571 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32572 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32573 echo $ECHO_N "(cached) $ECHO_C" >&6
32575 ac_check_lib_save_LIBS=$LIBS
32576 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32577 cat >conftest.$ac_ext <<_ACEOF
32580 cat confdefs.h >>conftest.$ac_ext
32581 cat >>conftest.$ac_ext <<_ACEOF
32582 /* end confdefs.h. */
32584 /* Override any GCC internal prototype to avoid an error.
32585 Use char because int might match the return type of a GCC
32586 builtin and then its argument prototype would still apply. */
32590 char IceConnectionNumber ();
32594 return IceConnectionNumber ();
32599 rm -f conftest.$ac_objext conftest$ac_exeext
32600 if { (ac_try="$ac_link"
32601 case "(($ac_try" in
32602 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32603 *) ac_try_echo
=$ac_try;;
32605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32606 (eval "$ac_link") 2>conftest.er1
32608 grep -v '^ *+' conftest.er1
>conftest.err
32610 cat conftest.err
>&5
32611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32612 (exit $ac_status); } && {
32613 test -z "$ac_c_werror_flag" ||
32614 test ! -s conftest.err
32615 } && test -s conftest
$ac_exeext &&
32616 $as_test_x conftest
$ac_exeext; then
32617 ac_cv_lib_ICE_IceConnectionNumber
=yes
32619 echo "$as_me: failed program was:" >&5
32620 sed 's/^/| /' conftest.
$ac_ext >&5
32622 ac_cv_lib_ICE_IceConnectionNumber
=no
32625 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32626 conftest
$ac_exeext conftest.
$ac_ext
32627 LIBS
=$ac_check_lib_save_LIBS
32629 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32630 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32631 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32632 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
32635 LDFLAGS
=$ac_save_LDFLAGS
32640 if test "$no_x" = "yes"; then
32641 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32642 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32643 { (exit 1); exit 1; }; }
32646 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32647 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
32648 AFMINSTALL
=afminstall
32649 COMPILED_X_PROGRAM
=0
32653 if test "$wxUSE_X11" = 1; then
32654 if test "$wxUSE_NANOX" = "yes"; then
32655 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32656 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32657 if test "x$MICROWIN" = x
; then
32658 { echo "$as_me:$LINENO: result: not found" >&5
32659 echo "${ECHO_T}not found" >&6; }
32660 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32661 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32662 { (exit 1); exit 1; }; }
32664 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32665 echo "${ECHO_T}$MICROWIN" >&6; }
32666 cat >>confdefs.h
<<\_ACEOF
32667 #define wxUSE_NANOX 1
32673 if test "$wxUSE_UNICODE" = "yes"; then
32676 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32677 if test -n "$ac_tool_prefix"; then
32678 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32679 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
32680 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32682 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32683 echo $ECHO_N "(cached) $ECHO_C" >&6
32685 case $PKG_CONFIG in
32687 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
32690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32691 for as_dir
in $PATH
32694 test -z "$as_dir" && as_dir
=.
32695 for ac_exec_ext
in '' $ac_executable_extensions; do
32696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32697 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32708 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
32709 if test -n "$PKG_CONFIG"; then
32710 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32711 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32713 { echo "$as_me:$LINENO: result: no" >&5
32714 echo "${ECHO_T}no" >&6; }
32719 if test -z "$ac_cv_path_PKG_CONFIG"; then
32720 ac_pt_PKG_CONFIG
=$PKG_CONFIG
32721 # Extract the first word of "pkg-config", so it can be a program name with args.
32722 set dummy pkg
-config; ac_word
=$2
32723 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32725 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32726 echo $ECHO_N "(cached) $ECHO_C" >&6
32728 case $ac_pt_PKG_CONFIG in
32730 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32734 for as_dir
in $PATH
32737 test -z "$as_dir" && as_dir
=.
32738 for ac_exec_ext
in '' $ac_executable_extensions; do
32739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32740 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32751 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
32752 if test -n "$ac_pt_PKG_CONFIG"; then
32753 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32754 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32756 { echo "$as_me:$LINENO: result: no" >&5
32757 echo "${ECHO_T}no" >&6; }
32760 if test "x$ac_pt_PKG_CONFIG" = x
; then
32763 case $cross_compiling:$ac_tool_warned in
32765 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32766 whose name does not start with the host triplet. If you think this
32767 configuration is useful to you, please write to autoconf@gnu.org." >&5
32768 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32769 whose name does not start with the host triplet. If you think this
32770 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32771 ac_tool_warned
=yes ;;
32773 PKG_CONFIG
=$ac_pt_PKG_CONFIG
32776 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
32780 if test -n "$PKG_CONFIG"; then
32781 _pkg_min_version
=0.9.0
32782 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32783 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32784 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32785 { echo "$as_me:$LINENO: result: yes" >&5
32786 echo "${ECHO_T}yes" >&6; }
32788 { echo "$as_me:$LINENO: result: no" >&5
32789 echo "${ECHO_T}no" >&6; }
32797 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32798 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32800 if test -n "$PKG_CONFIG"; then
32801 if test -n "$PANGOX_CFLAGS"; then
32802 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
32804 if test -n "$PKG_CONFIG" && \
32805 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32806 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32809 (exit $ac_status); }; then
32810 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32818 if test -n "$PKG_CONFIG"; then
32819 if test -n "$PANGOX_LIBS"; then
32820 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
32822 if test -n "$PKG_CONFIG" && \
32823 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32824 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32827 (exit $ac_status); }; then
32828 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32839 if test $pkg_failed = yes; then
32841 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32842 _pkg_short_errors_supported
=yes
32844 _pkg_short_errors_supported
=no
32846 if test $_pkg_short_errors_supported = yes; then
32847 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32849 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32851 # Put the nasty error message in config.log where it belongs
32852 echo "$PANGOX_PKG_ERRORS" >&5
32855 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32856 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32857 { (exit 1); exit 1; }; }
32860 elif test $pkg_failed = untried
; then
32862 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32863 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32864 { (exit 1); exit 1; }; }
32868 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
32869 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
32870 { echo "$as_me:$LINENO: result: yes" >&5
32871 echo "${ECHO_T}yes" >&6; }
32873 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
32874 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
32875 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
32880 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32881 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
32883 if test -n "$PKG_CONFIG"; then
32884 if test -n "$PANGOFT2_CFLAGS"; then
32885 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
32887 if test -n "$PKG_CONFIG" && \
32888 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32889 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32892 (exit $ac_status); }; then
32893 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32901 if test -n "$PKG_CONFIG"; then
32902 if test -n "$PANGOFT2_LIBS"; then
32903 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
32905 if test -n "$PKG_CONFIG" && \
32906 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32907 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32910 (exit $ac_status); }; then
32911 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32922 if test $pkg_failed = yes; then
32924 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32925 _pkg_short_errors_supported
=yes
32927 _pkg_short_errors_supported
=no
32929 if test $_pkg_short_errors_supported = yes; then
32930 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32932 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32934 # Put the nasty error message in config.log where it belongs
32935 echo "$PANGOFT2_PKG_ERRORS" >&5
32938 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32939 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32940 wxUSE_PRINTING_ARCHITECTURE
="no"
32943 elif test $pkg_failed = untried
; then
32945 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32946 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32947 wxUSE_PRINTING_ARCHITECTURE
="no"
32951 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
32952 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
32953 { echo "$as_me:$LINENO: result: yes" >&5
32954 echo "${ECHO_T}yes" >&6; }
32956 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
32957 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
32958 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32963 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32964 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
32966 if test -n "$PKG_CONFIG"; then
32967 if test -n "$PANGOXFT_CFLAGS"; then
32968 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
32970 if test -n "$PKG_CONFIG" && \
32971 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32972 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32975 (exit $ac_status); }; then
32976 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32984 if test -n "$PKG_CONFIG"; then
32985 if test -n "$PANGOXFT_LIBS"; then
32986 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
32988 if test -n "$PKG_CONFIG" && \
32989 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32990 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32993 (exit $ac_status); }; then
32994 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33005 if test $pkg_failed = yes; then
33007 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33008 _pkg_short_errors_supported
=yes
33010 _pkg_short_errors_supported
=no
33012 if test $_pkg_short_errors_supported = yes; then
33013 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33015 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33017 # Put the nasty error message in config.log where it belongs
33018 echo "$PANGOXFT_PKG_ERRORS" >&5
33021 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33022 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33025 elif test $pkg_failed = untried
; then
33027 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33028 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33032 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
33033 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
33034 { echo "$as_me:$LINENO: result: yes" >&5
33035 echo "${ECHO_T}yes" >&6; }
33037 cat >>confdefs.h
<<\_ACEOF
33038 #define HAVE_PANGO_XFT 1
33041 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
33042 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
33043 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33047 LIBS
="$LIBS $PANGOX_LIBS"
33049 for ac_func
in pango_font_family_is_monospace
33051 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33052 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33054 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33055 echo $ECHO_N "(cached) $ECHO_C" >&6
33057 cat >conftest.
$ac_ext <<_ACEOF
33060 cat confdefs.h
>>conftest.
$ac_ext
33061 cat >>conftest.
$ac_ext <<_ACEOF
33062 /* end confdefs.h. */
33063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33065 #define $ac_func innocuous_$ac_func
33067 /* System header to define __stub macros and hopefully few prototypes,
33068 which can conflict with char $ac_func (); below.
33069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33070 <limits.h> exists even on freestanding compilers. */
33073 # include <limits.h>
33075 # include <assert.h>
33080 /* Override any GCC internal prototype to avoid an error.
33081 Use char because int might match the return type of a GCC
33082 builtin and then its argument prototype would still apply. */
33087 /* The GNU C library defines this for functions which it implements
33088 to always fail with ENOSYS. Some functions are actually named
33089 something starting with __ and the normal name is an alias. */
33090 #if defined __stub_$ac_func || defined __stub___$ac_func
33097 return $ac_func ();
33102 rm -f conftest.
$ac_objext conftest
$ac_exeext
33103 if { (ac_try
="$ac_link"
33104 case "(($ac_try" in
33105 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33106 *) ac_try_echo=$ac_try;;
33108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33109 (eval "$ac_link") 2>conftest.er1
33111 grep -v '^ *+' conftest.er1 >conftest.err
33113 cat conftest.err >&5
33114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33115 (exit $ac_status); } && {
33116 test -z "$ac_c_werror_flag" ||
33117 test ! -s conftest.err
33118 } && test -s conftest$ac_exeext &&
33119 $as_test_x conftest$ac_exeext; then
33120 eval "$as_ac_var=yes"
33122 echo "$as_me: failed program was:" >&5
33123 sed 's/^/| /' conftest.$ac_ext >&5
33125 eval "$as_ac_var=no"
33128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33129 conftest$ac_exeext conftest.$ac_ext
33131 ac_res=`eval echo '${'$as_ac_var'}'`
33132 { echo "$as_me:$LINENO: result: $ac_res" >&5
33133 echo "${ECHO_T}$ac_res" >&6; }
33134 if test `eval echo '${'$as_ac_var'}'` = yes; then
33135 cat >>confdefs.h <<_ACEOF
33136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33145 wxUSE_UNIVERSAL="yes"
33147 if test "$wxUSE_NANOX" = "yes"; then
33148 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33149 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"
33150 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33152 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33159 if test "$wxUSE_MOTIF" = 1; then
33160 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33161 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33164 for ac_dir in $SEARCH_INCLUDE /usr/include
33166 if test -f "$ac_dir/Xm/Xm.h"; then
33167 ac_find_includes=$ac_dir
33172 if test "$ac_find_includes" != "" ; then
33173 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33174 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33176 if test "x$ac_find_includes" = "x/usr/include"; then
33177 ac_path_to_include=""
33179 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33181 if test $result = 0; then
33182 ac_path_to_include=""
33184 ac_path_to_include=" -I$ac_find_includes"
33188 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33190 save_CFLAGS=$CFLAGS
33191 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33193 cat >conftest.$ac_ext <<_ACEOF
33196 cat confdefs.h >>conftest.$ac_ext
33197 cat >>conftest.$ac_ext <<_ACEOF
33198 /* end confdefs.h. */
33207 version = xmUseVersion;
33213 rm -f conftest.$ac_objext
33214 if { (ac_try="$ac_compile"
33215 case "(($ac_try" in
33216 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33217 *) ac_try_echo
=$ac_try;;
33219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33220 (eval "$ac_compile") 2>conftest.er1
33222 grep -v '^ *+' conftest.er1
>conftest.err
33224 cat conftest.err
>&5
33225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33226 (exit $ac_status); } && {
33227 test -z "$ac_c_werror_flag" ||
33228 test ! -s conftest.err
33229 } && test -s conftest.
$ac_objext; then
33231 { echo "$as_me:$LINENO: result: found in default search path" >&5
33232 echo "${ECHO_T}found in default search path" >&6; }
33233 COMPILED_X_PROGRAM
=1
33236 echo "$as_me: failed program was:" >&5
33237 sed 's/^/| /' conftest.
$ac_ext >&5
33240 { echo "$as_me:$LINENO: result: no" >&5
33241 echo "${ECHO_T}no" >&6; }
33242 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33243 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33244 { (exit 1); exit 1; }; }
33249 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33251 CFLAGS
=$save_CFLAGS
33255 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33256 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33259 for ac_dir
in $SEARCH_LIB
33261 for ac_extension
in a so sl dylib dll.a
; do
33262 if test -f "$ac_dir/libXm.$ac_extension"; then
33263 ac_find_libraries
=$ac_dir
33270 if test "x$ac_find_libraries" != "x" ; then
33271 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33272 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33275 if test "$ac_find_libraries" = "default location"; then
33278 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
33280 if test $result = 0; then
33283 ac_path_to_link
=" -L$ac_find_libraries"
33287 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
33289 save_CFLAGS
=$CFLAGS
33290 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33292 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33294 cat >conftest.
$ac_ext <<_ACEOF
33297 cat confdefs.h
>>conftest.
$ac_ext
33298 cat >>conftest.
$ac_ext <<_ACEOF
33299 /* end confdefs.h. */
33308 version = xmUseVersion;
33314 rm -f conftest.
$ac_objext conftest
$ac_exeext
33315 if { (ac_try
="$ac_link"
33316 case "(($ac_try" in
33317 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33318 *) ac_try_echo=$ac_try;;
33320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33321 (eval "$ac_link") 2>conftest.er1
33323 grep -v '^ *+' conftest.er1 >conftest.err
33325 cat conftest.err >&5
33326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33327 (exit $ac_status); } && {
33328 test -z "$ac_c_werror_flag" ||
33329 test ! -s conftest.err
33330 } && test -s conftest$ac_exeext &&
33331 $as_test_x conftest$ac_exeext; then
33333 { echo "$as_me:$LINENO: result: found in default search path" >&5
33334 echo "${ECHO_T}found in default search path" >&6; }
33335 COMPILED_X_PROGRAM=1
33338 echo "$as_me: failed program was:" >&5
33339 sed 's/^/| /' conftest.$ac_ext >&5
33342 { echo "$as_me:$LINENO: result: no" >&5
33343 echo "${ECHO_T}no" >&6; }
33344 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33345 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33346 { (exit 1); exit 1; }; }
33351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33352 conftest$ac_exeext conftest.$ac_ext
33354 CFLAGS=$save_CFLAGS
33358 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33359 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33363 for libp in "" " -lXp"; do
33364 if test "$libs_found" = 0; then
33365 for libsm_ice in "" " -lSM -lICE"; do
33366 if test "$libs_found" = 0; then
33368 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33369 save_CFLAGS=$CFLAGS
33370 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33372 cat >conftest.$ac_ext <<_ACEOF
33375 cat confdefs.h >>conftest.$ac_ext
33376 cat >>conftest.$ac_ext <<_ACEOF
33377 /* end confdefs.h. */
33380 #include <Xm/List.h>
33386 XmString string = NULL;
33389 XmListAddItem(w, string, position);
33395 rm -f conftest.$ac_objext conftest$ac_exeext
33396 if { (ac_try="$ac_link"
33397 case "(($ac_try" in
33398 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33399 *) ac_try_echo
=$ac_try;;
33401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33402 (eval "$ac_link") 2>conftest.er1
33404 grep -v '^ *+' conftest.er1
>conftest.err
33406 cat conftest.err
>&5
33407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33408 (exit $ac_status); } && {
33409 test -z "$ac_c_werror_flag" ||
33410 test ! -s conftest.err
33411 } && test -s conftest
$ac_exeext &&
33412 $as_test_x conftest
$ac_exeext; then
33415 libsm_ice_link
="$libsm_ice"
33416 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33417 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33421 echo "$as_me: failed program was:" >&5
33422 sed 's/^/| /' conftest.
$ac_ext >&5
33428 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33429 conftest
$ac_exeext conftest.
$ac_ext
33432 CFLAGS
=$save_CFLAGS
33438 if test "$libs_found" = 0; then
33439 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33440 echo "${ECHO_T}can't find the right libraries" >&6; }
33441 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33442 echo "$as_me: error: can't link a simple motif program" >&2;}
33443 { (exit 1); exit 1; }; }
33446 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33447 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33448 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33449 echo $ECHO_N "(cached) $ECHO_C" >&6
33451 ac_check_lib_save_LIBS
=$LIBS
33453 cat >conftest.
$ac_ext <<_ACEOF
33456 cat confdefs.h
>>conftest.
$ac_ext
33457 cat >>conftest.
$ac_ext <<_ACEOF
33458 /* end confdefs.h. */
33460 /* Override any GCC internal prototype to avoid an error.
33461 Use char because int might match the return type of a GCC
33462 builtin and then its argument prototype would still apply. */
33466 char SgCreateList ();
33470 return SgCreateList ();
33475 rm -f conftest.
$ac_objext conftest
$ac_exeext
33476 if { (ac_try
="$ac_link"
33477 case "(($ac_try" in
33478 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33479 *) ac_try_echo=$ac_try;;
33481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33482 (eval "$ac_link") 2>conftest.er1
33484 grep -v '^ *+' conftest.er1 >conftest.err
33486 cat conftest.err >&5
33487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33488 (exit $ac_status); } && {
33489 test -z "$ac_c_werror_flag" ||
33490 test ! -s conftest.err
33491 } && test -s conftest$ac_exeext &&
33492 $as_test_x conftest$ac_exeext; then
33493 ac_cv_lib_Sgm_SgCreateList=yes
33495 echo "$as_me: failed program was:" >&5
33496 sed 's/^/| /' conftest.$ac_ext >&5
33498 ac_cv_lib_Sgm_SgCreateList=no
33501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33502 conftest$ac_exeext conftest.$ac_ext
33503 LIBS=$ac_check_lib_save_LIBS
33505 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33506 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33507 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33508 libsgm_link=" -lSgm"
33512 save_CFLAGS=$CFLAGS
33513 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33515 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33516 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33517 if test "${wx_cv_lib_motif2+set}" = set; then
33518 echo $ECHO_N "(cached) $ECHO_C" >&6
33520 cat >conftest.$ac_ext <<_ACEOF
33523 cat confdefs.h >>conftest.$ac_ext
33524 cat >>conftest.$ac_ext <<_ACEOF
33525 /* end confdefs.h. */
33533 #if XmVersion < 2000
33541 rm -f conftest.$ac_objext
33542 if { (ac_try="$ac_compile"
33543 case "(($ac_try" in
33544 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33545 *) ac_try_echo
=$ac_try;;
33547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33548 (eval "$ac_compile") 2>conftest.er1
33550 grep -v '^ *+' conftest.er1
>conftest.err
33552 cat conftest.err
>&5
33553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33554 (exit $ac_status); } && {
33555 test -z "$ac_c_werror_flag" ||
33556 test ! -s conftest.err
33557 } && test -s conftest.
$ac_objext; then
33558 wx_cv_lib_motif2
="yes"
33560 echo "$as_me: failed program was:" >&5
33561 sed 's/^/| /' conftest.
$ac_ext >&5
33563 wx_cv_lib_motif2
="no"
33566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33568 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33569 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33570 if test "$wx_cv_lib_motif2" = "yes"; then
33571 cat >>confdefs.h
<<\_ACEOF
33572 #define __WXMOTIF20__ 1
33576 cat >>confdefs.h
<<\_ACEOF
33577 #define __WXMOTIF20__ 0
33582 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33583 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33584 if test "${wx_cv_lib_lesstif+set}" = set; then
33585 echo $ECHO_N "(cached) $ECHO_C" >&6
33587 cat >conftest.
$ac_ext <<_ACEOF
33590 cat confdefs.h
>>conftest.
$ac_ext
33591 cat >>conftest.
$ac_ext <<_ACEOF
33592 /* end confdefs.h. */
33600 #if !defined(LesstifVersion) || LesstifVersion <= 0
33608 rm -f conftest.
$ac_objext
33609 if { (ac_try
="$ac_compile"
33610 case "(($ac_try" in
33611 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33612 *) ac_try_echo=$ac_try;;
33614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33615 (eval "$ac_compile") 2>conftest.er1
33617 grep -v '^ *+' conftest.er1 >conftest.err
33619 cat conftest.err >&5
33620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33621 (exit $ac_status); } && {
33622 test -z "$ac_c_werror_flag" ||
33623 test ! -s conftest.err
33624 } && test -s conftest.$ac_objext; then
33625 wx_cv_lib_lesstif="yes"
33627 echo "$as_me: failed program was:" >&5
33628 sed 's/^/| /' conftest.$ac_ext >&5
33630 wx_cv_lib_lesstif="no"
33633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33636 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33637 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33638 if test "$wx_cv_lib_lesstif" = "yes"; then
33639 cat >>confdefs.h <<\_ACEOF
33640 #define __WXLESSTIF__ 1
33644 cat >>confdefs.h <<\_ACEOF
33645 #define __WXLESSTIF__ 0
33650 CFLAGS=$save_CFLAGS
33652 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33657 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33658 if test "$wxUSE_LIBXPM" = "sys"; then
33659 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33660 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33663 for ac_dir in $SEARCH_LIB
33665 for ac_extension in a so sl dylib dll.a; do
33666 if test -f "$ac_dir/libXpm.$ac_extension"; then
33667 ac_find_libraries=$ac_dir
33673 if test "$ac_find_libraries" != "" ; then
33675 if test "$ac_find_libraries" = "default location"; then
33678 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33680 if test $result = 0; then
33683 ac_path_to_link=" -L$ac_find_libraries"
33687 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33688 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33689 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33691 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33692 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33693 if test "${wx_cv_x11_xpm_h+set}" = set; then
33694 echo $ECHO_N "(cached) $ECHO_C" >&6
33697 save_CFLAGS=$CFLAGS
33698 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33700 cat >conftest.$ac_ext <<_ACEOF
33703 cat confdefs.h >>conftest.$ac_ext
33704 cat >>conftest.$ac_ext <<_ACEOF
33705 /* end confdefs.h. */
33707 #include <X11/xpm.h>
33714 version = XpmLibraryVersion();
33720 rm -f conftest.$ac_objext
33721 if { (ac_try="$ac_compile"
33722 case "(($ac_try" in
33723 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33724 *) ac_try_echo
=$ac_try;;
33726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33727 (eval "$ac_compile") 2>conftest.er1
33729 grep -v '^ *+' conftest.er1
>conftest.err
33731 cat conftest.err
>&5
33732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33733 (exit $ac_status); } && {
33734 test -z "$ac_c_werror_flag" ||
33735 test ! -s conftest.err
33736 } && test -s conftest.
$ac_objext; then
33737 wx_cv_x11_xpm_h
=yes
33739 echo "$as_me: failed program was:" >&5
33740 sed 's/^/| /' conftest.
$ac_ext >&5
33746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33748 CFLAGS
=$save_CFLAGS
33752 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33753 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33755 if test $wx_cv_x11_xpm_h = "yes"; then
33756 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
33757 cat >>confdefs.h
<<\_ACEOF
33758 #define wxHAVE_LIB_XPM 1
33762 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33763 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33769 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33770 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33771 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33772 echo $ECHO_N "(cached) $ECHO_C" >&6
33774 ac_check_lib_save_LIBS
=$LIBS
33775 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33776 cat >conftest.
$ac_ext <<_ACEOF
33779 cat confdefs.h
>>conftest.
$ac_ext
33780 cat >>conftest.
$ac_ext <<_ACEOF
33781 /* end confdefs.h. */
33783 /* Override any GCC internal prototype to avoid an error.
33784 Use char because int might match the return type of a GCC
33785 builtin and then its argument prototype would still apply. */
33789 char XShapeQueryExtension ();
33793 return XShapeQueryExtension ();
33798 rm -f conftest.
$ac_objext conftest
$ac_exeext
33799 if { (ac_try
="$ac_link"
33800 case "(($ac_try" in
33801 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33802 *) ac_try_echo=$ac_try;;
33804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33805 (eval "$ac_link") 2>conftest.er1
33807 grep -v '^ *+' conftest.er1 >conftest.err
33809 cat conftest.err >&5
33810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33811 (exit $ac_status); } && {
33812 test -z "$ac_c_werror_flag" ||
33813 test ! -s conftest.err
33814 } && test -s conftest$ac_exeext &&
33815 $as_test_x conftest$ac_exeext; then
33816 ac_cv_lib_Xext_XShapeQueryExtension=yes
33818 echo "$as_me: failed program was:" >&5
33819 sed 's/^/| /' conftest.$ac_ext >&5
33821 ac_cv_lib_Xext_XShapeQueryExtension=no
33824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33825 conftest$ac_exeext conftest.$ac_ext
33826 LIBS=$ac_check_lib_save_LIBS
33828 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33829 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33830 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33832 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33838 if test "$wxHAVE_XEXT_LIB" = 1; then
33839 save_CFLAGS="$CFLAGS"
33840 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33842 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33843 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33844 cat >conftest.$ac_ext <<_ACEOF
33847 cat confdefs.h >>conftest.$ac_ext
33848 cat >>conftest.$ac_ext <<_ACEOF
33849 /* end confdefs.h. */
33851 #include <X11/Xlib.h>
33852 #include <X11/extensions/shape.h>
33858 int dummy1, dummy2;
33859 XShapeQueryExtension((Display*)NULL,
33860 (int*)NULL, (int*)NULL);
33866 rm -f conftest.$ac_objext
33867 if { (ac_try="$ac_compile"
33868 case "(($ac_try" in
33869 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33870 *) ac_try_echo
=$ac_try;;
33872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33873 (eval "$ac_compile") 2>conftest.er1
33875 grep -v '^ *+' conftest.er1
>conftest.err
33877 cat conftest.err
>&5
33878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33879 (exit $ac_status); } && {
33880 test -z "$ac_c_werror_flag" ||
33881 test ! -s conftest.err
33882 } && test -s conftest.
$ac_objext; then
33884 cat >>confdefs.h
<<\_ACEOF
33885 #define HAVE_XSHAPE 1
33888 { echo "$as_me:$LINENO: result: found" >&5
33889 echo "${ECHO_T}found" >&6; }
33892 echo "$as_me: failed program was:" >&5
33893 sed 's/^/| /' conftest.
$ac_ext >&5
33896 { echo "$as_me:$LINENO: result: not found" >&5
33897 echo "${ECHO_T}not found" >&6; }
33901 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33902 CFLAGS
="$save_CFLAGS"
33907 if test "$wxUSE_OSX_CARBON" = 1; then
33908 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33909 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33910 if test "$GCC" = yes; then
33911 { echo "$as_me:$LINENO: result: gcc" >&5
33912 echo "${ECHO_T}gcc" >&6; }
33913 CPPFLAGS_PASCAL
="-fpascal-strings"
33914 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33915 { echo "$as_me:$LINENO: result: xlc" >&5
33916 echo "${ECHO_T}xlc" >&6; }
33917 CPPFLAGS_PASCAL
="-qmacpstr"
33919 { echo "$as_me:$LINENO: result: none" >&5
33920 echo "${ECHO_T}none" >&6; }
33923 if test "x$wxUSE_UNIX" = "xyes"; then
33924 CPPFLAGS
="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33926 CPPFLAGS
="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
33930 GUIDIST
=OSX_CARBON_DIST
33931 WXBASEPORT
="_carbon"
33933 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33936 if test "$wxUSE_OSX_COCOA" = 1; then
33938 GUIDIST
=OSX_COCOA_DIST
33940 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33943 if test "$wxUSE_OSX_IPHONE" = 1; then
33947 if test "$wxUSE_OLD_COCOA" = 1; then
33952 if test "$wxUSE_PM" = 1; then
33955 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33956 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
33957 if test "${wx_cv_spbcdata+set}" = set; then
33958 echo $ECHO_N "(cached) $ECHO_C" >&6
33961 cat >conftest.
$ac_ext <<_ACEOF
33964 cat confdefs.h
>>conftest.
$ac_ext
33965 cat >>conftest.
$ac_ext <<_ACEOF
33966 /* end confdefs.h. */
33981 rm -f conftest.
$ac_objext
33982 if { (ac_try
="$ac_compile"
33983 case "(($ac_try" in
33984 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33985 *) ac_try_echo=$ac_try;;
33987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33988 (eval "$ac_compile") 2>conftest.er1
33990 grep -v '^ *+' conftest.er1 >conftest.err
33992 cat conftest.err >&5
33993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33994 (exit $ac_status); } && {
33995 test -z "$ac_c_werror_flag" ||
33996 test ! -s conftest.err
33997 } && test -s conftest.$ac_objext; then
34000 echo "$as_me: failed program was:" >&5
34001 sed 's/^/| /' conftest.$ac_ext >&5
34007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34011 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34012 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34014 if test $wx_cv_spbcdata = "yes"; then
34015 cat >>confdefs.h <<\_ACEOF
34016 #define HAVE_SPBCDATA 1
34022 if test "$TOOLKIT" = "PM" ; then
34025 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34028 if test "$wxUSE_UNIVERSAL" = "yes"; then
34029 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34033 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34034 DISTDIR="wx\$(TOOLKIT)"
34040 if test "$USE_WIN32" = 1 ; then
34044 GUIDIST="BASE_DIST"
34050 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34051 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34052 wxUSE_UNICODE_UTF8=yes
34053 elif test "$USE_OS2" = 1 ; then
34054 wxUSE_UNICODE_UTF8=yes
34056 wxUSE_UNICODE_UTF8=no
34061 if test "$wxUSE_GUI" = "yes"; then
34062 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34064 for ac_header in X11/Xlib.h
34066 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34067 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34069 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34070 echo $ECHO_N "(cached) $ECHO_C" >&6
34072 cat >conftest.$ac_ext <<_ACEOF
34075 cat confdefs.h >>conftest.$ac_ext
34076 cat >>conftest.$ac_ext <<_ACEOF
34077 /* end confdefs.h. */
34080 #include <$ac_header>
34082 rm -f conftest.$ac_objext
34083 if { (ac_try="$ac_compile"
34084 case "(($ac_try" in
34085 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34086 *) ac_try_echo
=$ac_try;;
34088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34089 (eval "$ac_compile") 2>conftest.er1
34091 grep -v '^ *+' conftest.er1
>conftest.err
34093 cat conftest.err
>&5
34094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34095 (exit $ac_status); } && {
34096 test -z "$ac_c_werror_flag" ||
34097 test ! -s conftest.err
34098 } && test -s conftest.
$ac_objext; then
34099 eval "$as_ac_Header=yes"
34101 echo "$as_me: failed program was:" >&5
34102 sed 's/^/| /' conftest.
$ac_ext >&5
34104 eval "$as_ac_Header=no"
34107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34109 ac_res
=`eval echo '${'$as_ac_Header'}'`
34110 { echo "$as_me:$LINENO: result: $ac_res" >&5
34111 echo "${ECHO_T}$ac_res" >&6; }
34112 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34113 cat >>confdefs.h
<<_ACEOF
34114 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34122 for ac_header
in X
11/XKBlib.h
34124 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34125 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34126 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34127 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34128 echo $ECHO_N "(cached) $ECHO_C" >&6
34130 cat >conftest.
$ac_ext <<_ACEOF
34133 cat confdefs.h
>>conftest.
$ac_ext
34134 cat >>conftest.
$ac_ext <<_ACEOF
34135 /* end confdefs.h. */
34137 #if HAVE_X11_XLIB_H
34138 #include <X11/Xlib.h>
34142 #include <$ac_header>
34144 rm -f conftest.
$ac_objext
34145 if { (ac_try
="$ac_compile"
34146 case "(($ac_try" in
34147 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34148 *) ac_try_echo=$ac_try;;
34150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34151 (eval "$ac_compile") 2>conftest.er1
34153 grep -v '^ *+' conftest.er1 >conftest.err
34155 cat conftest.err >&5
34156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34157 (exit $ac_status); } && {
34158 test -z "$ac_c_werror_flag" ||
34159 test ! -s conftest.err
34160 } && test -s conftest.$ac_objext; then
34161 eval "$as_ac_Header=yes"
34163 echo "$as_me: failed program was:" >&5
34164 sed 's/^/| /' conftest.$ac_ext >&5
34166 eval "$as_ac_Header=no"
34169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34171 ac_res=`eval echo '${'$as_ac_Header'}'`
34172 { echo "$as_me:$LINENO: result: $ac_res" >&5
34173 echo "${ECHO_T}$ac_res" >&6; }
34174 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34175 cat >>confdefs.h <<_ACEOF
34176 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34189 if test "$wxUSE_DISPLAY" = "yes"; then
34190 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34191 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34192 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34195 for ac_dir in $SEARCH_LIB
34197 for ac_extension in a so sl dylib dll.a; do
34198 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34199 ac_find_libraries=$ac_dir
34205 if test "$ac_find_libraries" != "" ; then
34207 if test "$ac_find_libraries" = "default location"; then
34210 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34212 if test $result = 0; then
34215 ac_path_to_link=" -L$ac_find_libraries"
34219 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34220 LDFLAGS="$LDFLAGS $ac_path_to_link"
34223 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34224 { echo "$as_me:$LINENO: result: yes" >&5
34225 echo "${ECHO_T}yes" >&6; }
34227 { echo "$as_me:$LINENO: result: no" >&5
34228 echo "${ECHO_T}no" >&6; }
34229 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34230 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34233 elif test "$wxUSE_MSW" = 1; then
34234 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34235 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34236 if test "${ac_cv_header_ddraw_h+set}" = set; then
34237 echo $ECHO_N "(cached) $ECHO_C" >&6
34239 cat >conftest.$ac_ext <<_ACEOF
34242 cat confdefs.h >>conftest.$ac_ext
34243 cat >>conftest.$ac_ext <<_ACEOF
34244 /* end confdefs.h. */
34245 #include <windows.h>
34249 rm -f conftest.$ac_objext
34250 if { (ac_try="$ac_compile"
34251 case "(($ac_try" in
34252 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34253 *) ac_try_echo
=$ac_try;;
34255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34256 (eval "$ac_compile") 2>conftest.er1
34258 grep -v '^ *+' conftest.er1
>conftest.err
34260 cat conftest.err
>&5
34261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34262 (exit $ac_status); } && {
34263 test -z "$ac_c_werror_flag" ||
34264 test ! -s conftest.err
34265 } && test -s conftest.
$ac_objext; then
34266 ac_cv_header_ddraw_h
=yes
34268 echo "$as_me: failed program was:" >&5
34269 sed 's/^/| /' conftest.
$ac_ext >&5
34271 ac_cv_header_ddraw_h
=no
34274 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34276 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34277 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34283 if test "$wxUSE_DISPLAY" = "yes"; then
34284 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34285 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34286 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34289 for ac_dir
in $SEARCH_LIB
34291 for ac_extension
in a so sl dylib dll.a
; do
34292 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34293 ac_find_libraries
=$ac_dir
34299 if test "$ac_find_libraries" != "" ; then
34300 { echo "$as_me:$LINENO: result: yes" >&5
34301 echo "${ECHO_T}yes" >&6; }
34303 for ac_header
in X
11/extensions
/xf86vmode.h
34305 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34306 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34307 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34308 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34309 echo $ECHO_N "(cached) $ECHO_C" >&6
34311 cat >conftest.
$ac_ext <<_ACEOF
34314 cat confdefs.h
>>conftest.
$ac_ext
34315 cat >>conftest.
$ac_ext <<_ACEOF
34316 /* end confdefs.h. */
34318 #if HAVE_X11_XLIB_H
34319 #include <X11/Xlib.h>
34323 #include <$ac_header>
34325 rm -f conftest.
$ac_objext
34326 if { (ac_try
="$ac_compile"
34327 case "(($ac_try" in
34328 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34329 *) ac_try_echo=$ac_try;;
34331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34332 (eval "$ac_compile") 2>conftest.er1
34334 grep -v '^ *+' conftest.er1 >conftest.err
34336 cat conftest.err >&5
34337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34338 (exit $ac_status); } && {
34339 test -z "$ac_c_werror_flag" ||
34340 test ! -s conftest.err
34341 } && test -s conftest.$ac_objext; then
34342 eval "$as_ac_Header=yes"
34344 echo "$as_me: failed program was:" >&5
34345 sed 's/^/| /' conftest.$ac_ext >&5
34347 eval "$as_ac_Header=no"
34350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34352 ac_res=`eval echo '${'$as_ac_Header'}'`
34353 { echo "$as_me:$LINENO: result: $ac_res" >&5
34354 echo "${ECHO_T}$ac_res" >&6; }
34355 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34356 cat >>confdefs.h <<_ACEOF
34357 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34360 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34367 { echo "$as_me:$LINENO: result: no" >&5
34368 echo "${ECHO_T}no" >&6; }
34373 if test "$wxUSE_DETECT_SM" = "yes"; then
34374 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34375 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34376 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34379 for ac_dir in $SEARCH_LIB
34381 for ac_extension in a so sl dylib dll.a; do
34382 if test -f "$ac_dir/libSM.$ac_extension"; then
34383 ac_find_libraries=$ac_dir
34389 if test "$ac_find_libraries" != "" ; then
34391 if test "$ac_find_libraries" = "default location"; then
34394 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34396 if test $result = 0; then
34399 ac_path_to_link=" -L$ac_find_libraries"
34403 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34404 LDFLAGS="$LDFLAGS $ac_path_to_link"
34406 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34407 { echo "$as_me:$LINENO: result: yes" >&5
34408 echo "${ECHO_T}yes" >&6; }
34410 { echo "$as_me:$LINENO: result: no" >&5
34411 echo "${ECHO_T}no" >&6; }
34412 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34413 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34414 wxUSE_DETECT_SM="no"
34417 wxUSE_DETECT_SM="no"
34424 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34427 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34428 OPENGL_LIBS="-framework OpenGL -framework AGL"
34429 elif test "$wxUSE_MSW" = 1; then
34430 OPENGL_LIBS="-lopengl32 -lglu32"
34431 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34433 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34434 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34437 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
34439 if test -f "$ac_dir/GL/gl.h"; then
34440 ac_find_includes=$ac_dir
34445 if test "$ac_find_includes" != "" ; then
34446 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34447 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34449 if test "x$ac_find_includes" = "x/usr/include"; then
34450 ac_path_to_include=""
34452 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34454 if test $result = 0; then
34455 ac_path_to_include=""
34457 ac_path_to_include=" -I$ac_find_includes"
34461 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34463 { echo "$as_me:$LINENO: result: not found" >&5
34464 echo "${ECHO_T}not found" >&6; }
34467 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34468 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34469 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34470 echo $ECHO_N "(cached) $ECHO_C" >&6
34472 cat >conftest.$ac_ext <<_ACEOF
34475 cat confdefs.h >>conftest.$ac_ext
34476 cat >>conftest.$ac_ext <<_ACEOF
34477 /* end confdefs.h. */
34482 rm -f conftest.$ac_objext
34483 if { (ac_try="$ac_compile"
34484 case "(($ac_try" in
34485 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34486 *) ac_try_echo
=$ac_try;;
34488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34489 (eval "$ac_compile") 2>conftest.er1
34491 grep -v '^ *+' conftest.er1
>conftest.err
34493 cat conftest.err
>&5
34494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34495 (exit $ac_status); } && {
34496 test -z "$ac_c_werror_flag" ||
34497 test ! -s conftest.err
34498 } && test -s conftest.
$ac_objext; then
34499 ac_cv_header_GL_gl_h
=yes
34501 echo "$as_me: failed program was:" >&5
34502 sed 's/^/| /' conftest.
$ac_ext >&5
34504 ac_cv_header_GL_gl_h
=no
34507 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34509 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34510 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34511 if test $ac_cv_header_GL_gl_h = yes; then
34513 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34514 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34515 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34516 echo $ECHO_N "(cached) $ECHO_C" >&6
34518 cat >conftest.
$ac_ext <<_ACEOF
34521 cat confdefs.h
>>conftest.
$ac_ext
34522 cat >>conftest.
$ac_ext <<_ACEOF
34523 /* end confdefs.h. */
34526 #include <GL/glu.h>
34528 rm -f conftest.
$ac_objext
34529 if { (ac_try
="$ac_compile"
34530 case "(($ac_try" in
34531 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34532 *) ac_try_echo=$ac_try;;
34534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34535 (eval "$ac_compile") 2>conftest.er1
34537 grep -v '^ *+' conftest.er1 >conftest.err
34539 cat conftest.err >&5
34540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34541 (exit $ac_status); } && {
34542 test -z "$ac_c_werror_flag" ||
34543 test ! -s conftest.err
34544 } && test -s conftest.$ac_objext; then
34545 ac_cv_header_GL_glu_h=yes
34547 echo "$as_me: failed program was:" >&5
34548 sed 's/^/| /' conftest.$ac_ext >&5
34550 ac_cv_header_GL_glu_h=no
34553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34555 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34556 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34557 if test $ac_cv_header_GL_glu_h = yes; then
34561 { echo "$as_me:$LINENO: checking for -lGL" >&5
34562 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34565 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib
34567 for ac_extension in a so sl dylib dll.a; do
34568 if test -f "$ac_dir/libGL.$ac_extension"; then
34569 ac_find_libraries=$ac_dir
34575 if test "$ac_find_libraries" != "" ; then
34576 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34577 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34580 if test "$ac_find_libraries" = "default location"; then
34583 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34585 if test $result = 0; then
34588 ac_path_to_link=" -L$ac_find_libraries"
34592 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34593 LDFLAGS_GL="$ac_path_to_link"
34596 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34597 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34600 for ac_dir in $SEARCH_LIB
34602 for ac_extension in a so sl dylib dll.a; do
34603 if test -f "$ac_dir/libGLU.$ac_extension"; then
34604 ac_find_libraries=$ac_dir
34610 if test "$ac_find_libraries" != "" ; then
34612 if test "$ac_find_libraries" = "default location"; then
34615 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34617 if test $result = 0; then
34620 ac_path_to_link=" -L$ac_find_libraries"
34624 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34625 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34626 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34630 OPENGL_LIBS="-lGL -lGLU"
34631 { echo "$as_me:$LINENO: result: yes" >&5
34632 echo "${ECHO_T}yes" >&6; }
34634 { echo "$as_me:$LINENO: result: no" >&5
34635 echo "${ECHO_T}no" >&6; }
34638 { echo "$as_me:$LINENO: result: no" >&5
34639 echo "${ECHO_T}no" >&6; }
34642 if test "$found_gl" != 1; then
34643 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34644 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34647 for ac_dir in $SEARCH_LIB
34649 for ac_extension in a so sl dylib dll.a; do
34650 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34651 ac_find_libraries=$ac_dir
34657 if test "$ac_find_libraries" != "" ; then
34659 if test "$ac_find_libraries" = "default location"; then
34662 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34664 if test $result = 0; then
34667 ac_path_to_link=" -L$ac_find_libraries"
34671 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34672 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34673 { echo "$as_me:$LINENO: result: yes" >&5
34674 echo "${ECHO_T}yes" >&6; }
34676 { echo "$as_me:$LINENO: result: no" >&5
34677 echo "${ECHO_T}no" >&6; }
34689 if test "x$OPENGL_LIBS" = "x"; then
34690 if test "$wxUSE_OPENGL" = "yes"; then
34691 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34692 echo "$as_me: error: OpenGL libraries not available" >&2;}
34693 { (exit 1); exit 1; }; }
34695 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34696 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34702 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34703 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34707 if test "$wxUSE_OPENGL" = "auto"; then
34711 if test "$wxUSE_OPENGL" = "yes"; then
34713 cat >>confdefs.h <<\_ACEOF
34714 #define wxUSE_OPENGL 1
34717 cat >>confdefs.h <<\_ACEOF
34718 #define wxUSE_GLCANVAS 1
34721 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34726 if test -n "$TOOLKIT" ; then
34727 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34732 if test "$wxUSE_SHARED" = "yes"; then
34736 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34737 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34742 if test "$wxUSE_SHARED" = "yes"; then
34746 *-*-cygwin* | *-*-mingw* )
34747 wx_cv_version_script=no
34751 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34752 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34753 if test "${wx_cv_version_script+set}" = set; then
34754 echo $ECHO_N "(cached) $ECHO_C" >&6
34757 echo "VER_1 { *; };" >conftest.sym
34758 echo "int main() { return 0; }" >conftest.cpp
34761 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34762 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34764 (eval $ac_try) 2>&5
34766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34767 (exit $ac_status); }; } ; then
34768 if test -s conftest.stderr ; then
34769 wx_cv_version_script=no
34771 wx_cv_version_script=yes
34774 wx_cv_version_script=no
34777 if test $wx_cv_version_script = yes
34779 echo "struct B { virtual ~B() { } }; \
34780 struct D : public B { }; \
34781 void F() { D d; }" > conftest.cpp
34784 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34785 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34787 (eval $ac_try) 2>&5
34789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34790 (exit $ac_status); }; } &&
34792 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34793 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34795 (eval $ac_try) 2>&5
34797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34798 (exit $ac_status); }; }
34801 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34802 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34804 (eval $ac_try) 2>&5
34806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34807 (exit $ac_status); }; }
34809 wx_cv_version_script=yes
34811 wx_cv_version_script=no
34816 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34817 rm -f conftest1.output conftest2.output conftest3.output
34820 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34821 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34823 if test $wx_cv_version_script = yes ; then
34824 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34830 if test "$wxUSE_VISIBILITY" != "no"; then
34833 if test -n "$GCC"; then
34834 CFLAGS_VISIBILITY="-fvisibility=hidden"
34835 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34836 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34837 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
34838 if test "${wx_cv_cc_visibility+set}" = set; then
34839 echo $ECHO_N "(cached) $ECHO_C" >&6
34842 wx_save_CXXFLAGS="$CXXFLAGS"
34843 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34845 ac_cpp='$CXXCPP $CPPFLAGS'
34846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34850 cat >conftest.$ac_ext <<_ACEOF
34853 cat confdefs.h >>conftest.$ac_ext
34854 cat >>conftest.$ac_ext <<_ACEOF
34855 /* end confdefs.h. */
34857 /* we need gcc >= 4.0, older versions with visibility support
34858 didn't have class visibility: */
34859 #if defined(__GNUC__) && __GNUC__ < 4
34860 error this gcc is too old;
34863 /* visibility only makes sense for ELF shared libs: */
34864 #if !defined(__ELF__) && !defined(__APPLE__)
34865 error this platform has no visibility;
34868 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34869 extern __attribute__((__visibility__("default"))) int exportedvar;
34870 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34871 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34872 class __attribute__((__visibility__("default"))) Foo {
34884 rm -f conftest.$ac_objext
34885 if { (ac_try="$ac_compile"
34886 case "(($ac_try" in
34887 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34888 *) ac_try_echo
=$ac_try;;
34890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34891 (eval "$ac_compile") 2>conftest.er1
34893 grep -v '^ *+' conftest.er1
>conftest.err
34895 cat conftest.err
>&5
34896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34897 (exit $ac_status); } && {
34898 test -z "$ac_cxx_werror_flag" ||
34899 test ! -s conftest.err
34900 } && test -s conftest.
$ac_objext; then
34901 wx_cv_cc_visibility
=yes
34903 echo "$as_me: failed program was:" >&5
34904 sed 's/^/| /' conftest.
$ac_ext >&5
34906 wx_cv_cc_visibility
=no
34909 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34911 ac_cpp
='$CPP $CPPFLAGS'
34912 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34913 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34914 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34916 CXXFLAGS
="$wx_save_CXXFLAGS"
34919 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
34920 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
34921 if test $wx_cv_cc_visibility = yes; then
34922 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
34923 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
34924 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
34925 echo $ECHO_N "(cached) $ECHO_C" >&6
34928 wx_save_CXXFLAGS
="$CXXFLAGS"
34929 wx_save_LDFLAGS
="$LDFLAGS"
34930 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34931 LDFLAGS
="$LDFLAGS -shared -fPIC"
34933 ac_cpp
='$CXXCPP $CPPFLAGS'
34934 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34935 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34936 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34938 cat >conftest.
$ac_ext <<_ACEOF
34941 cat confdefs.h
>>conftest.
$ac_ext
34942 cat >>conftest.
$ac_ext <<_ACEOF
34943 /* end confdefs.h. */
34951 std::string s("hello");
34958 rm -f conftest.
$ac_objext conftest
$ac_exeext
34959 if { (ac_try
="$ac_link"
34960 case "(($ac_try" in
34961 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34962 *) ac_try_echo=$ac_try;;
34964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34965 (eval "$ac_link") 2>conftest.er1
34967 grep -v '^ *+' conftest.er1 >conftest.err
34969 cat conftest.err >&5
34970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34971 (exit $ac_status); } && {
34972 test -z "$ac_cxx_werror_flag" ||
34973 test ! -s conftest.err
34974 } && test -s conftest$ac_exeext &&
34975 $as_test_x conftest$ac_exeext; then
34976 wx_cv_cc_broken_libstdcxx_visibility=no
34978 echo "$as_me: failed program was:" >&5
34979 sed 's/^/| /' conftest.$ac_ext >&5
34981 wx_cv_cc_broken_libstdcxx_visibility=yes
34984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34985 conftest$ac_exeext conftest.$ac_ext
34987 ac_cpp='$CPP $CPPFLAGS'
34988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34992 CXXFLAGS="$wx_save_CXXFLAGS"
34993 LDFLAGS="$wx_save_LDFLAGS"
34996 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
34997 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
34999 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35000 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
35001 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
35002 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
35003 echo $ECHO_N "(cached) $ECHO_C" >&6
35007 ac_cpp='$CXXCPP $CPPFLAGS'
35008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35012 cat >conftest.$ac_ext <<_ACEOF
35015 cat confdefs.h >>conftest.$ac_ext
35016 cat >>conftest.$ac_ext <<_ACEOF
35017 /* end confdefs.h. */
35019 #pragma GCC visibility push(default)
35021 #pragma GCC visibility pop
35027 std::string s("hello");
35034 rm -f conftest.$ac_objext conftest$ac_exeext
35035 if { (ac_try="$ac_link"
35036 case "(($ac_try" in
35037 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35038 *) ac_try_echo
=$ac_try;;
35040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35041 (eval "$ac_link") 2>conftest.er1
35043 grep -v '^ *+' conftest.er1
>conftest.err
35045 cat conftest.err
>&5
35046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35047 (exit $ac_status); } && {
35048 test -z "$ac_cxx_werror_flag" ||
35049 test ! -s conftest.err
35050 } && test -s conftest
$ac_exeext &&
35051 $as_test_x conftest
$ac_exeext; then
35052 wx_cv_cc_visibility_workaround
=no
35054 echo "$as_me: failed program was:" >&5
35055 sed 's/^/| /' conftest.
$ac_ext >&5
35057 wx_cv_cc_visibility_workaround
=yes
35060 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35061 conftest
$ac_exeext conftest.
$ac_ext
35063 ac_cpp
='$CPP $CPPFLAGS'
35064 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35065 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35066 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35071 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
35072 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
35074 if test $wx_cv_cc_visibility_workaround = no
; then
35075 wx_cv_cc_visibility
=no
35080 if test $wx_cv_cc_visibility = yes; then
35081 cat >>confdefs.h
<<\_ACEOF
35082 #define HAVE_VISIBILITY 1
35085 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35086 cat >>confdefs.h
<<\_ACEOF
35087 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
35092 CFLAGS_VISIBILITY
=""
35093 CXXFLAGS_VISIBILITY
=""
35101 if test "x$SUNCXX" = xyes
; then
35102 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
35103 WXCONFIG_RPATH
="-R\$libdir"
35106 *-*-linux* | *-*-gnu* )
35107 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
35108 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
35113 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
35115 saveLdflags
="$LDFLAGS"
35116 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
35117 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35118 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35119 cat >conftest.
$ac_ext <<_ACEOF
35122 cat confdefs.h
>>conftest.
$ac_ext
35123 cat >>conftest.
$ac_ext <<_ACEOF
35124 /* end confdefs.h. */
35134 rm -f conftest.
$ac_objext conftest
$ac_exeext
35135 if { (ac_try
="$ac_link"
35136 case "(($ac_try" in
35137 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35138 *) ac_try_echo=$ac_try;;
35140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35141 (eval "$ac_link") 2>conftest.er1
35143 grep -v '^ *+' conftest.er1 >conftest.err
35145 cat conftest.err >&5
35146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35147 (exit $ac_status); } && {
35148 test -z "$ac_c_werror_flag" ||
35149 test ! -s conftest.err
35150 } && test -s conftest$ac_exeext &&
35151 $as_test_x conftest$ac_exeext; then
35153 { echo "$as_me:$LINENO: result: yes" >&5
35154 echo "${ECHO_T}yes" >&6; }
35155 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35156 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35159 echo "$as_me: failed program was:" >&5
35160 sed 's/^/| /' conftest.$ac_ext >&5
35163 { echo "$as_me:$LINENO: result: no" >&5
35164 echo "${ECHO_T}no" >&6; }
35165 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35166 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35167 LDFLAGS="$saveLdflags -Wl,-R,/"
35168 cat >conftest.$ac_ext <<_ACEOF
35171 cat confdefs.h >>conftest.$ac_ext
35172 cat >>conftest.$ac_ext <<_ACEOF
35173 /* end confdefs.h. */
35183 rm -f conftest.$ac_objext conftest$ac_exeext
35184 if { (ac_try="$ac_link"
35185 case "(($ac_try" in
35186 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35187 *) ac_try_echo
=$ac_try;;
35189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35190 (eval "$ac_link") 2>conftest.er1
35192 grep -v '^ *+' conftest.er1
>conftest.err
35194 cat conftest.err
>&5
35195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35196 (exit $ac_status); } && {
35197 test -z "$ac_c_werror_flag" ||
35198 test ! -s conftest.err
35199 } && test -s conftest
$ac_exeext &&
35200 $as_test_x conftest
$ac_exeext; then
35202 { echo "$as_me:$LINENO: result: yes" >&5
35203 echo "${ECHO_T}yes" >&6; }
35204 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
35205 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
35208 echo "$as_me: failed program was:" >&5
35209 sed 's/^/| /' conftest.
$ac_ext >&5
35212 { echo "$as_me:$LINENO: result: no" >&5
35213 echo "${ECHO_T}no" >&6; }
35217 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35218 conftest
$ac_exeext conftest.
$ac_ext
35222 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35223 conftest
$ac_exeext conftest.
$ac_ext
35224 LDFLAGS
="$saveLdflags"
35228 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
35229 if test "$install_name_tool" -a -x "$install_name_tool"; then
35230 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35231 cat <<EOF >change-install-names
35233 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35234 for i in \${libnames} ; do
35235 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
35236 for dep in \${libnames} ; do
35237 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
35241 chmod +x change
-install-names
35242 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
35245 HEADER_PAD_OPTION
="-headerpad_max_install_names"
35248 *-*-cygwin* | *-*-mingw32* )
35252 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
35253 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
35259 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35261 if test $wxUSE_RPATH = "no"; then
35262 SAMPLES_RPATH_FLAG
=''
35263 DYLIB_PATH_POSTLINK
=''
35271 config_linkage_component
="-static"
35278 lib_unicode_suffix
=
35280 if test "$wxUSE_UNICODE" = "yes"; then
35281 lib_unicode_suffix
=u
35282 WX_CHARTYPE
="unicode"
35286 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
35287 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
35290 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35294 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35296 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35298 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35301 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35302 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35304 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35306 if test "${TOOLKIT_DIR}" = "os2"; then
35307 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35309 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35314 if test "$wxUSE_OLD_COCOA" = 1; then
35317 ac_cpp
='$CPP $CPPFLAGS'
35318 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35319 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35320 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35324 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35325 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35326 cat >conftest.
$ac_ext <<_ACEOF
35329 cat confdefs.h
>>conftest.
$ac_ext
35330 cat >>conftest.
$ac_ext <<_ACEOF
35331 /* end confdefs.h. */
35332 #include <AppKit/NSEvent.h>
35333 #include <CoreFoundation/CoreFoundation.h>
35343 rm -f conftest.
$ac_objext
35344 if { (ac_try
="$ac_compile"
35345 case "(($ac_try" in
35346 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35347 *) ac_try_echo=$ac_try;;
35349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35350 (eval "$ac_compile") 2>conftest.er1
35352 grep -v '^ *+' conftest.er1 >conftest.err
35354 cat conftest.err >&5
35355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35356 (exit $ac_status); } && {
35357 test -z "$ac_c_werror_flag" ||
35358 test ! -s conftest.err
35359 } && test -s conftest.$ac_objext; then
35360 { echo "$as_me:$LINENO: result: no" >&5
35361 echo "${ECHO_T}no" >&6; }
35363 echo "$as_me: failed program was:" >&5
35364 sed 's/^/| /' conftest.$ac_ext >&5
35366 { echo "$as_me:$LINENO: result: yes" >&5
35367 echo "${ECHO_T}yes" >&6; }
35368 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35369 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35370 cat >conftest.$ac_ext <<_ACEOF
35373 cat confdefs.h >>conftest.$ac_ext
35374 cat >>conftest.$ac_ext <<_ACEOF
35375 /* end confdefs.h. */
35376 #define __Point__ 1
35377 #include <AppKit/NSEvent.h>
35378 #include <CoreFoundation/CoreFoundation.h>
35388 rm -f conftest.$ac_objext
35389 if { (ac_try="$ac_compile"
35390 case "(($ac_try" in
35391 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35392 *) ac_try_echo
=$ac_try;;
35394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35395 (eval "$ac_compile") 2>conftest.er1
35397 grep -v '^ *+' conftest.er1
>conftest.err
35399 cat conftest.err
>&5
35400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35401 (exit $ac_status); } && {
35402 test -z "$ac_c_werror_flag" ||
35403 test ! -s conftest.err
35404 } && test -s conftest.
$ac_objext; then
35405 { echo "$as_me:$LINENO: result: yes" >&5
35406 echo "${ECHO_T}yes" >&6; }
35407 cat >>confdefs.h
<<\_ACEOF
35408 #define __Point__ 1
35413 echo "$as_me: failed program was:" >&5
35414 sed 's/^/| /' conftest.
$ac_ext >&5
35416 { { echo "$as_me:$LINENO: error: no
35417 See \`config.log' for more details." >&5
35418 echo "$as_me: error: no
35419 See \`config.log' for more details." >&2;}
35420 { (exit 1); exit 1; }; }
35424 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35428 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35430 ac_cpp
='$CPP $CPPFLAGS'
35431 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35432 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35433 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35438 { echo "$as_me:$LINENO: checking for mode_t" >&5
35439 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35440 if test "${ac_cv_type_mode_t+set}" = set; then
35441 echo $ECHO_N "(cached) $ECHO_C" >&6
35443 cat >conftest.
$ac_ext <<_ACEOF
35446 cat confdefs.h
>>conftest.
$ac_ext
35447 cat >>conftest.
$ac_ext <<_ACEOF
35448 /* end confdefs.h. */
35449 $ac_includes_default
35450 typedef mode_t ac__type_new_;
35454 if ((ac__type_new_ *) 0)
35456 if (sizeof (ac__type_new_))
35462 rm -f conftest.
$ac_objext
35463 if { (ac_try
="$ac_compile"
35464 case "(($ac_try" in
35465 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35466 *) ac_try_echo=$ac_try;;
35468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35469 (eval "$ac_compile") 2>conftest.er1
35471 grep -v '^ *+' conftest.er1 >conftest.err
35473 cat conftest.err >&5
35474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35475 (exit $ac_status); } && {
35476 test -z "$ac_c_werror_flag" ||
35477 test ! -s conftest.err
35478 } && test -s conftest.$ac_objext; then
35479 ac_cv_type_mode_t=yes
35481 echo "$as_me: failed program was:" >&5
35482 sed 's/^/| /' conftest.$ac_ext >&5
35484 ac_cv_type_mode_t=no
35487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35489 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35490 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35491 if test $ac_cv_type_mode_t = yes; then
35495 cat >>confdefs.h <<_ACEOF
35501 { echo "$as_me:$LINENO: checking for off_t" >&5
35502 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35503 if test "${ac_cv_type_off_t+set}" = set; then
35504 echo $ECHO_N "(cached) $ECHO_C" >&6
35506 cat >conftest.$ac_ext <<_ACEOF
35509 cat confdefs.h >>conftest.$ac_ext
35510 cat >>conftest.$ac_ext <<_ACEOF
35511 /* end confdefs.h. */
35512 $ac_includes_default
35513 typedef off_t ac__type_new_;
35517 if ((ac__type_new_ *) 0)
35519 if (sizeof (ac__type_new_))
35525 rm -f conftest.$ac_objext
35526 if { (ac_try="$ac_compile"
35527 case "(($ac_try" in
35528 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35529 *) ac_try_echo
=$ac_try;;
35531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35532 (eval "$ac_compile") 2>conftest.er1
35534 grep -v '^ *+' conftest.er1
>conftest.err
35536 cat conftest.err
>&5
35537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35538 (exit $ac_status); } && {
35539 test -z "$ac_c_werror_flag" ||
35540 test ! -s conftest.err
35541 } && test -s conftest.
$ac_objext; then
35542 ac_cv_type_off_t
=yes
35544 echo "$as_me: failed program was:" >&5
35545 sed 's/^/| /' conftest.
$ac_ext >&5
35547 ac_cv_type_off_t
=no
35550 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35552 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35553 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35554 if test $ac_cv_type_off_t = yes; then
35558 cat >>confdefs.h
<<_ACEOF
35559 #define off_t long int
35564 { echo "$as_me:$LINENO: checking for pid_t" >&5
35565 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35566 if test "${ac_cv_type_pid_t+set}" = set; then
35567 echo $ECHO_N "(cached) $ECHO_C" >&6
35569 cat >conftest.
$ac_ext <<_ACEOF
35572 cat confdefs.h
>>conftest.
$ac_ext
35573 cat >>conftest.
$ac_ext <<_ACEOF
35574 /* end confdefs.h. */
35575 $ac_includes_default
35576 typedef pid_t ac__type_new_;
35580 if ((ac__type_new_ *) 0)
35582 if (sizeof (ac__type_new_))
35588 rm -f conftest.
$ac_objext
35589 if { (ac_try
="$ac_compile"
35590 case "(($ac_try" in
35591 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35592 *) ac_try_echo=$ac_try;;
35594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35595 (eval "$ac_compile") 2>conftest.er1
35597 grep -v '^ *+' conftest.er1 >conftest.err
35599 cat conftest.err >&5
35600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35601 (exit $ac_status); } && {
35602 test -z "$ac_c_werror_flag" ||
35603 test ! -s conftest.err
35604 } && test -s conftest.$ac_objext; then
35605 ac_cv_type_pid_t=yes
35607 echo "$as_me: failed program was:" >&5
35608 sed 's/^/| /' conftest.$ac_ext >&5
35610 ac_cv_type_pid_t=no
35613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35615 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35616 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35617 if test $ac_cv_type_pid_t = yes; then
35621 cat >>confdefs.h <<_ACEOF
35627 { echo "$as_me:$LINENO: checking for size_t" >&5
35628 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35629 if test "${ac_cv_type_size_t+set}" = set; then
35630 echo $ECHO_N "(cached) $ECHO_C" >&6
35632 cat >conftest.$ac_ext <<_ACEOF
35635 cat confdefs.h >>conftest.$ac_ext
35636 cat >>conftest.$ac_ext <<_ACEOF
35637 /* end confdefs.h. */
35638 $ac_includes_default
35639 typedef size_t ac__type_new_;
35643 if ((ac__type_new_ *) 0)
35645 if (sizeof (ac__type_new_))
35651 rm -f conftest.$ac_objext
35652 if { (ac_try="$ac_compile"
35653 case "(($ac_try" in
35654 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35655 *) ac_try_echo
=$ac_try;;
35657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35658 (eval "$ac_compile") 2>conftest.er1
35660 grep -v '^ *+' conftest.er1
>conftest.err
35662 cat conftest.err
>&5
35663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35664 (exit $ac_status); } && {
35665 test -z "$ac_c_werror_flag" ||
35666 test ! -s conftest.err
35667 } && test -s conftest.
$ac_objext; then
35668 ac_cv_type_size_t
=yes
35670 echo "$as_me: failed program was:" >&5
35671 sed 's/^/| /' conftest.
$ac_ext >&5
35673 ac_cv_type_size_t
=no
35676 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35678 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35679 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35680 if test $ac_cv_type_size_t = yes; then
35684 cat >>confdefs.h
<<_ACEOF
35685 #define size_t unsigned int
35691 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35692 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35693 if test "${ac_cv_type_ssize_t+set}" = set; then
35694 echo $ECHO_N "(cached) $ECHO_C" >&6
35696 cat >conftest.
$ac_ext <<_ACEOF
35699 cat confdefs.h
>>conftest.
$ac_ext
35700 cat >>conftest.
$ac_ext <<_ACEOF
35701 /* end confdefs.h. */
35702 $ac_includes_default
35703 typedef ssize_t ac__type_new_;
35707 if ((ac__type_new_ *) 0)
35709 if (sizeof (ac__type_new_))
35715 rm -f conftest.
$ac_objext
35716 if { (ac_try
="$ac_compile"
35717 case "(($ac_try" in
35718 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35719 *) ac_try_echo=$ac_try;;
35721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35722 (eval "$ac_compile") 2>conftest.er1
35724 grep -v '^ *+' conftest.er1 >conftest.err
35726 cat conftest.err >&5
35727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35728 (exit $ac_status); } && {
35729 test -z "$ac_c_werror_flag" ||
35730 test ! -s conftest.err
35731 } && test -s conftest.$ac_objext; then
35732 ac_cv_type_ssize_t=yes
35734 echo "$as_me: failed program was:" >&5
35735 sed 's/^/| /' conftest.$ac_ext >&5
35737 ac_cv_type_ssize_t=no
35740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35742 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35743 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35744 if test $ac_cv_type_ssize_t = yes; then
35746 cat >>confdefs.h <<_ACEOF
35747 #define HAVE_SSIZE_T 1
35755 ac_cpp='$CXXCPP $CPPFLAGS'
35756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35759 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35760 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35761 if test "${wx_cv_size_t_is_uint+set}" = set; then
35762 echo $ECHO_N "(cached) $ECHO_C" >&6
35765 cat >conftest.$ac_ext <<_ACEOF
35768 cat confdefs.h >>conftest.$ac_ext
35769 cat >>conftest.$ac_ext <<_ACEOF
35770 /* end confdefs.h. */
35771 #include <stddef.h>
35778 struct Foo { void foo(size_t); void foo(unsigned int); };
35786 rm -f conftest.$ac_objext
35787 if { (ac_try="$ac_compile"
35788 case "(($ac_try" in
35789 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35790 *) ac_try_echo
=$ac_try;;
35792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35793 (eval "$ac_compile") 2>conftest.er1
35795 grep -v '^ *+' conftest.er1
>conftest.err
35797 cat conftest.err
>&5
35798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35799 (exit $ac_status); } && {
35800 test -z "$ac_cxx_werror_flag" ||
35801 test ! -s conftest.err
35802 } && test -s conftest.
$ac_objext; then
35803 wx_cv_size_t_is_uint
=no
35805 echo "$as_me: failed program was:" >&5
35806 sed 's/^/| /' conftest.
$ac_ext >&5
35808 wx_cv_size_t_is_uint
=yes
35812 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35816 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35817 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35819 if test "$wx_cv_size_t_is_uint" = "yes"; then
35820 cat >>confdefs.h
<<\_ACEOF
35821 #define wxSIZE_T_IS_UINT 1
35825 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35826 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35827 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35828 echo $ECHO_N "(cached) $ECHO_C" >&6
35830 cat >conftest.
$ac_ext <<_ACEOF
35833 cat confdefs.h
>>conftest.
$ac_ext
35834 cat >>conftest.
$ac_ext <<_ACEOF
35835 /* end confdefs.h. */
35836 #include <stddef.h>
35843 struct Foo { void foo(size_t); void foo(unsigned long); };
35851 rm -f conftest.
$ac_objext
35852 if { (ac_try
="$ac_compile"
35853 case "(($ac_try" in
35854 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35855 *) ac_try_echo=$ac_try;;
35857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35858 (eval "$ac_compile") 2>conftest.er1
35860 grep -v '^ *+' conftest.er1 >conftest.err
35862 cat conftest.err >&5
35863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35864 (exit $ac_status); } && {
35865 test -z "$ac_cxx_werror_flag" ||
35866 test ! -s conftest.err
35867 } && test -s conftest.$ac_objext; then
35868 wx_cv_size_t_is_ulong=no
35870 echo "$as_me: failed program was:" >&5
35871 sed 's/^/| /' conftest.$ac_ext >&5
35873 wx_cv_size_t_is_ulong=yes
35877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35880 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35881 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
35883 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35884 cat >>confdefs.h <<\_ACEOF
35885 #define wxSIZE_T_IS_ULONG 1
35891 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35892 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
35893 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35894 echo $ECHO_N "(cached) $ECHO_C" >&6
35896 cat >conftest.$ac_ext <<_ACEOF
35899 cat confdefs.h >>conftest.$ac_ext
35900 cat >>conftest.$ac_ext <<_ACEOF
35901 /* end confdefs.h. */
35909 struct Foo { void foo(wchar_t);
35910 void foo(unsigned short);
35911 void foo(unsigned int);
35912 void foo(unsigned long); };
35920 rm -f conftest.$ac_objext
35921 if { (ac_try="$ac_compile"
35922 case "(($ac_try" in
35923 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35924 *) ac_try_echo
=$ac_try;;
35926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35927 (eval "$ac_compile") 2>conftest.er1
35929 grep -v '^ *+' conftest.er1
>conftest.err
35931 cat conftest.err
>&5
35932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35933 (exit $ac_status); } && {
35934 test -z "$ac_cxx_werror_flag" ||
35935 test ! -s conftest.err
35936 } && test -s conftest.
$ac_objext; then
35937 wx_cv_wchar_t_is_separate_type
=yes
35939 echo "$as_me: failed program was:" >&5
35940 sed 's/^/| /' conftest.
$ac_ext >&5
35942 wx_cv_wchar_t_is_separate_type
=no
35946 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35949 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
35950 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
35952 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
35953 cat >>confdefs.h
<<\_ACEOF
35954 #define wxWCHAR_T_IS_REAL_TYPE 1
35958 cat >>confdefs.h
<<\_ACEOF
35959 #define wxWCHAR_T_IS_REAL_TYPE 0
35965 ac_cpp
='$CPP $CPPFLAGS'
35966 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35967 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35968 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35971 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35972 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
35973 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35974 echo $ECHO_N "(cached) $ECHO_C" >&6
35977 cat >conftest.
$ac_ext <<_ACEOF
35980 cat confdefs.h
>>conftest.
$ac_ext
35981 cat >>conftest.
$ac_ext <<_ACEOF
35982 /* end confdefs.h. */
35996 rm -f conftest.
$ac_objext
35997 if { (ac_try
="$ac_compile"
35998 case "(($ac_try" in
35999 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36000 *) ac_try_echo=$ac_try;;
36002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36003 (eval "$ac_compile") 2>conftest.er1
36005 grep -v '^ *+' conftest.er1 >conftest.err
36007 cat conftest.err >&5
36008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36009 (exit $ac_status); } && {
36010 test -z "$ac_c_werror_flag" ||
36011 test ! -s conftest.err
36012 } && test -s conftest.$ac_objext; then
36014 wx_cv_struct_pw_gecos=yes
36017 echo "$as_me: failed program was:" >&5
36018 sed 's/^/| /' conftest.$ac_ext >&5
36021 wx_cv_struct_pw_gecos=no
36026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36030 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36031 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36033 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36034 cat >>confdefs.h <<\_ACEOF
36035 #define HAVE_PW_GECOS 1
36044 for ac_func in wcslen
36046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36047 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36049 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36050 echo $ECHO_N "(cached) $ECHO_C" >&6
36052 cat >conftest.$ac_ext <<_ACEOF
36055 cat confdefs.h >>conftest.$ac_ext
36056 cat >>conftest.$ac_ext <<_ACEOF
36057 /* end confdefs.h. */
36058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36060 #define $ac_func innocuous_$ac_func
36062 /* System header to define __stub macros and hopefully few prototypes,
36063 which can conflict with char $ac_func (); below.
36064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36065 <limits.h> exists even on freestanding compilers. */
36068 # include <limits.h>
36070 # include <assert.h>
36075 /* Override any GCC internal prototype to avoid an error.
36076 Use char because int might match the return type of a GCC
36077 builtin and then its argument prototype would still apply. */
36082 /* The GNU C library defines this for functions which it implements
36083 to always fail with ENOSYS. Some functions are actually named
36084 something starting with __ and the normal name is an alias. */
36085 #if defined __stub_$ac_func || defined __stub___$ac_func
36092 return $ac_func ();
36097 rm -f conftest.$ac_objext conftest$ac_exeext
36098 if { (ac_try="$ac_link"
36099 case "(($ac_try" in
36100 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36101 *) ac_try_echo
=$ac_try;;
36103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36104 (eval "$ac_link") 2>conftest.er1
36106 grep -v '^ *+' conftest.er1
>conftest.err
36108 cat conftest.err
>&5
36109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36110 (exit $ac_status); } && {
36111 test -z "$ac_c_werror_flag" ||
36112 test ! -s conftest.err
36113 } && test -s conftest
$ac_exeext &&
36114 $as_test_x conftest
$ac_exeext; then
36115 eval "$as_ac_var=yes"
36117 echo "$as_me: failed program was:" >&5
36118 sed 's/^/| /' conftest.
$ac_ext >&5
36120 eval "$as_ac_var=no"
36123 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36124 conftest
$ac_exeext conftest.
$ac_ext
36126 ac_res
=`eval echo '${'$as_ac_var'}'`
36127 { echo "$as_me:$LINENO: result: $ac_res" >&5
36128 echo "${ECHO_T}$ac_res" >&6; }
36129 if test `eval echo '${'$as_ac_var'}'` = yes; then
36130 cat >>confdefs.h
<<_ACEOF
36131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36138 if test "$WCSLEN_FOUND" = 0; then
36139 if test "$TOOLKIT" = "MSW"; then
36140 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36141 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
36142 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36143 echo $ECHO_N "(cached) $ECHO_C" >&6
36145 ac_check_lib_save_LIBS
=$LIBS
36146 LIBS
="-lmsvcrt $LIBS"
36147 cat >conftest.
$ac_ext <<_ACEOF
36150 cat confdefs.h
>>conftest.
$ac_ext
36151 cat >>conftest.
$ac_ext <<_ACEOF
36152 /* end confdefs.h. */
36154 /* Override any GCC internal prototype to avoid an error.
36155 Use char because int might match the return type of a GCC
36156 builtin and then its argument prototype would still apply. */
36169 rm -f conftest.
$ac_objext conftest
$ac_exeext
36170 if { (ac_try
="$ac_link"
36171 case "(($ac_try" in
36172 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36173 *) ac_try_echo=$ac_try;;
36175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36176 (eval "$ac_link") 2>conftest.er1
36178 grep -v '^ *+' conftest.er1 >conftest.err
36180 cat conftest.err >&5
36181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36182 (exit $ac_status); } && {
36183 test -z "$ac_c_werror_flag" ||
36184 test ! -s conftest.err
36185 } && test -s conftest$ac_exeext &&
36186 $as_test_x conftest$ac_exeext; then
36187 ac_cv_lib_msvcrt_wcslen=yes
36189 echo "$as_me: failed program was:" >&5
36190 sed 's/^/| /' conftest.$ac_ext >&5
36192 ac_cv_lib_msvcrt_wcslen=no
36195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36196 conftest$ac_exeext conftest.$ac_ext
36197 LIBS=$ac_check_lib_save_LIBS
36199 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36200 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36201 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36206 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36207 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36208 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36209 echo $ECHO_N "(cached) $ECHO_C" >&6
36211 ac_check_lib_save_LIBS=$LIBS
36213 cat >conftest.$ac_ext <<_ACEOF
36216 cat confdefs.h >>conftest.$ac_ext
36217 cat >>conftest.$ac_ext <<_ACEOF
36218 /* end confdefs.h. */
36220 /* Override any GCC internal prototype to avoid an error.
36221 Use char because int might match the return type of a GCC
36222 builtin and then its argument prototype would still apply. */
36235 rm -f conftest.$ac_objext conftest$ac_exeext
36236 if { (ac_try="$ac_link"
36237 case "(($ac_try" in
36238 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36239 *) ac_try_echo
=$ac_try;;
36241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36242 (eval "$ac_link") 2>conftest.er1
36244 grep -v '^ *+' conftest.er1
>conftest.err
36246 cat conftest.err
>&5
36247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36248 (exit $ac_status); } && {
36249 test -z "$ac_c_werror_flag" ||
36250 test ! -s conftest.err
36251 } && test -s conftest
$ac_exeext &&
36252 $as_test_x conftest
$ac_exeext; then
36253 ac_cv_lib_w_wcslen
=yes
36255 echo "$as_me: failed program was:" >&5
36256 sed 's/^/| /' conftest.
$ac_ext >&5
36258 ac_cv_lib_w_wcslen
=no
36261 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36262 conftest
$ac_exeext conftest.
$ac_ext
36263 LIBS
=$ac_check_lib_save_LIBS
36265 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36266 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36267 if test $ac_cv_lib_w_wcslen = yes; then
36277 if test "$WCSLEN_FOUND" = 1; then
36278 cat >>confdefs.h
<<\_ACEOF
36279 #define HAVE_WCSLEN 1
36290 for ac_func
in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
36292 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36293 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36295 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36296 echo $ECHO_N "(cached) $ECHO_C" >&6
36298 cat >conftest.
$ac_ext <<_ACEOF
36301 cat confdefs.h
>>conftest.
$ac_ext
36302 cat >>conftest.
$ac_ext <<_ACEOF
36303 /* end confdefs.h. */
36304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36306 #define $ac_func innocuous_$ac_func
36308 /* System header to define __stub macros and hopefully few prototypes,
36309 which can conflict with char $ac_func (); below.
36310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36311 <limits.h> exists even on freestanding compilers. */
36314 # include <limits.h>
36316 # include <assert.h>
36321 /* Override any GCC internal prototype to avoid an error.
36322 Use char because int might match the return type of a GCC
36323 builtin and then its argument prototype would still apply. */
36328 /* The GNU C library defines this for functions which it implements
36329 to always fail with ENOSYS. Some functions are actually named
36330 something starting with __ and the normal name is an alias. */
36331 #if defined __stub_$ac_func || defined __stub___$ac_func
36338 return $ac_func ();
36343 rm -f conftest.
$ac_objext conftest
$ac_exeext
36344 if { (ac_try
="$ac_link"
36345 case "(($ac_try" in
36346 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36347 *) ac_try_echo=$ac_try;;
36349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36350 (eval "$ac_link") 2>conftest.er1
36352 grep -v '^ *+' conftest.er1 >conftest.err
36354 cat conftest.err >&5
36355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36356 (exit $ac_status); } && {
36357 test -z "$ac_c_werror_flag" ||
36358 test ! -s conftest.err
36359 } && test -s conftest$ac_exeext &&
36360 $as_test_x conftest$ac_exeext; then
36361 eval "$as_ac_var=yes"
36363 echo "$as_me: failed program was:" >&5
36364 sed 's/^/| /' conftest.$ac_ext >&5
36366 eval "$as_ac_var=no"
36369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36370 conftest$ac_exeext conftest.$ac_ext
36372 ac_res=`eval echo '${'$as_ac_var'}'`
36373 { echo "$as_me:$LINENO: result: $ac_res" >&5
36374 echo "${ECHO_T}$ac_res" >&6; }
36375 if test `eval echo '${'$as_ac_var'}'` = yes; then
36376 cat >>confdefs.h <<_ACEOF
36377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36384 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36385 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36388 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36389 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36390 if test "${ac_cv_type_mbstate_t+set}" = set; then
36391 echo $ECHO_N "(cached) $ECHO_C" >&6
36393 cat >conftest.$ac_ext <<_ACEOF
36396 cat confdefs.h >>conftest.$ac_ext
36397 cat >>conftest.$ac_ext <<_ACEOF
36398 /* end confdefs.h. */
36401 typedef mbstate_t ac__type_new_;
36405 if ((ac__type_new_ *) 0)
36407 if (sizeof (ac__type_new_))
36413 rm -f conftest.$ac_objext
36414 if { (ac_try="$ac_compile"
36415 case "(($ac_try" in
36416 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36417 *) ac_try_echo
=$ac_try;;
36419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36420 (eval "$ac_compile") 2>conftest.er1
36422 grep -v '^ *+' conftest.er1
>conftest.err
36424 cat conftest.err
>&5
36425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36426 (exit $ac_status); } && {
36427 test -z "$ac_c_werror_flag" ||
36428 test ! -s conftest.err
36429 } && test -s conftest.
$ac_objext; then
36430 ac_cv_type_mbstate_t
=yes
36432 echo "$as_me: failed program was:" >&5
36433 sed 's/^/| /' conftest.
$ac_ext >&5
36435 ac_cv_type_mbstate_t
=no
36438 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36440 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36441 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36442 if test $ac_cv_type_mbstate_t = yes; then
36444 cat >>confdefs.h
<<_ACEOF
36445 #define HAVE_MBSTATE_T 1
36449 for ac_func
in wcsrtombs
36451 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36452 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36454 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36455 echo $ECHO_N "(cached) $ECHO_C" >&6
36457 cat >conftest.
$ac_ext <<_ACEOF
36460 cat confdefs.h
>>conftest.
$ac_ext
36461 cat >>conftest.
$ac_ext <<_ACEOF
36462 /* end confdefs.h. */
36463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36465 #define $ac_func innocuous_$ac_func
36467 /* System header to define __stub macros and hopefully few prototypes,
36468 which can conflict with char $ac_func (); below.
36469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36470 <limits.h> exists even on freestanding compilers. */
36473 # include <limits.h>
36475 # include <assert.h>
36480 /* Override any GCC internal prototype to avoid an error.
36481 Use char because int might match the return type of a GCC
36482 builtin and then its argument prototype would still apply. */
36487 /* The GNU C library defines this for functions which it implements
36488 to always fail with ENOSYS. Some functions are actually named
36489 something starting with __ and the normal name is an alias. */
36490 #if defined __stub_$ac_func || defined __stub___$ac_func
36497 return $ac_func ();
36502 rm -f conftest.
$ac_objext conftest
$ac_exeext
36503 if { (ac_try
="$ac_link"
36504 case "(($ac_try" in
36505 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36506 *) ac_try_echo=$ac_try;;
36508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36509 (eval "$ac_link") 2>conftest.er1
36511 grep -v '^ *+' conftest.er1 >conftest.err
36513 cat conftest.err >&5
36514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36515 (exit $ac_status); } && {
36516 test -z "$ac_c_werror_flag" ||
36517 test ! -s conftest.err
36518 } && test -s conftest$ac_exeext &&
36519 $as_test_x conftest$ac_exeext; then
36520 eval "$as_ac_var=yes"
36522 echo "$as_me: failed program was:" >&5
36523 sed 's/^/| /' conftest.$ac_ext >&5
36525 eval "$as_ac_var=no"
36528 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36529 conftest$ac_exeext conftest.$ac_ext
36531 ac_res=`eval echo '${'$as_ac_var'}'`
36532 { echo "$as_me:$LINENO: result: $ac_res" >&5
36533 echo "${ECHO_T}$ac_res" >&6; }
36534 if test `eval echo '${'$as_ac_var'}'` = yes; then
36535 cat >>confdefs.h <<_ACEOF
36536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36548 for ac_func in snprintf vsnprintf vsscanf
36550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36551 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36553 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36554 echo $ECHO_N "(cached) $ECHO_C" >&6
36556 cat >conftest.$ac_ext <<_ACEOF
36559 cat confdefs.h >>conftest.$ac_ext
36560 cat >>conftest.$ac_ext <<_ACEOF
36561 /* end confdefs.h. */
36562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36564 #define $ac_func innocuous_$ac_func
36566 /* System header to define __stub macros and hopefully few prototypes,
36567 which can conflict with char $ac_func (); below.
36568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36569 <limits.h> exists even on freestanding compilers. */
36572 # include <limits.h>
36574 # include <assert.h>
36579 /* Override any GCC internal prototype to avoid an error.
36580 Use char because int might match the return type of a GCC
36581 builtin and then its argument prototype would still apply. */
36586 /* The GNU C library defines this for functions which it implements
36587 to always fail with ENOSYS. Some functions are actually named
36588 something starting with __ and the normal name is an alias. */
36589 #if defined __stub_$ac_func || defined __stub___$ac_func
36596 return $ac_func ();
36601 rm -f conftest.$ac_objext conftest$ac_exeext
36602 if { (ac_try="$ac_link"
36603 case "(($ac_try" in
36604 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36605 *) ac_try_echo
=$ac_try;;
36607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36608 (eval "$ac_link") 2>conftest.er1
36610 grep -v '^ *+' conftest.er1
>conftest.err
36612 cat conftest.err
>&5
36613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36614 (exit $ac_status); } && {
36615 test -z "$ac_c_werror_flag" ||
36616 test ! -s conftest.err
36617 } && test -s conftest
$ac_exeext &&
36618 $as_test_x conftest
$ac_exeext; then
36619 eval "$as_ac_var=yes"
36621 echo "$as_me: failed program was:" >&5
36622 sed 's/^/| /' conftest.
$ac_ext >&5
36624 eval "$as_ac_var=no"
36627 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36628 conftest
$ac_exeext conftest.
$ac_ext
36630 ac_res
=`eval echo '${'$as_ac_var'}'`
36631 { echo "$as_me:$LINENO: result: $ac_res" >&5
36632 echo "${ECHO_T}$ac_res" >&6; }
36633 if test `eval echo '${'$as_ac_var'}'` = yes; then
36634 cat >>confdefs.h
<<_ACEOF
36635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36643 ac_cpp
='$CXXCPP $CPPFLAGS'
36644 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36645 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36646 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36648 if test "$ac_cv_func_vsnprintf" = "yes"; then
36649 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36650 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36651 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36652 echo $ECHO_N "(cached) $ECHO_C" >&6
36655 cat >conftest.
$ac_ext <<_ACEOF
36658 cat confdefs.h
>>conftest.
$ac_ext
36659 cat >>conftest.
$ac_ext <<_ACEOF
36660 /* end confdefs.h. */
36663 #include <stdarg.h>
36665 #if __MSL__ >= 0x6000
36667 using namespace std;
36677 vsnprintf(buf, 10u, "%s", ap);
36683 rm -f conftest.
$ac_objext
36684 if { (ac_try
="$ac_compile"
36685 case "(($ac_try" in
36686 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36687 *) ac_try_echo=$ac_try;;
36689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36690 (eval "$ac_compile") 2>conftest.er1
36692 grep -v '^ *+' conftest.er1 >conftest.err
36694 cat conftest.err >&5
36695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36696 (exit $ac_status); } && {
36697 test -z "$ac_cxx_werror_flag" ||
36698 test ! -s conftest.err
36699 } && test -s conftest.$ac_objext; then
36700 wx_cv_func_vsnprintf_decl=yes
36702 echo "$as_me: failed program was:" >&5
36703 sed 's/^/| /' conftest.$ac_ext >&5
36705 wx_cv_func_vsnprintf_decl=no
36709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36713 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36714 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36716 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36717 cat >>confdefs.h <<\_ACEOF
36718 #define HAVE_VSNPRINTF_DECL 1
36722 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36723 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36724 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36725 echo $ECHO_N "(cached) $ECHO_C" >&6
36728 cat >conftest.$ac_ext <<_ACEOF
36731 cat confdefs.h >>conftest.$ac_ext
36732 cat >>conftest.$ac_ext <<_ACEOF
36733 /* end confdefs.h. */
36736 #include <stdarg.h>
36738 #if __MSL__ >= 0x6000
36740 using namespace std;
36750 const char *fmt = "%s";
36751 vsnprintf(buf, 10u, fmt, ap);
36757 rm -f conftest.$ac_objext
36758 if { (ac_try="$ac_compile"
36759 case "(($ac_try" in
36760 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36761 *) ac_try_echo
=$ac_try;;
36763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36764 (eval "$ac_compile") 2>conftest.er1
36766 grep -v '^ *+' conftest.er1
>conftest.err
36768 cat conftest.err
>&5
36769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36770 (exit $ac_status); } && {
36771 test -z "$ac_cxx_werror_flag" ||
36772 test ! -s conftest.err
36773 } && test -s conftest.
$ac_objext; then
36774 wx_cv_func_broken_vsnprintf_decl
=no
36776 echo "$as_me: failed program was:" >&5
36777 sed 's/^/| /' conftest.
$ac_ext >&5
36779 wx_cv_func_broken_vsnprintf_decl
=yes
36783 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36787 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36788 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36790 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36791 cat >>confdefs.h
<<\_ACEOF
36792 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36799 if test "$ac_cv_func_snprintf" = "yes"; then
36800 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36801 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36802 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36803 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. */
36814 #include <stdarg.h>
36816 #if __MSL__ >= 0x6000
36818 using namespace std;
36827 snprintf(buf, 10u, "%s", "wx");
36833 rm -f conftest.
$ac_objext
36834 if { (ac_try
="$ac_compile"
36835 case "(($ac_try" in
36836 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36837 *) ac_try_echo=$ac_try;;
36839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36840 (eval "$ac_compile") 2>conftest.er1
36842 grep -v '^ *+' conftest.er1 >conftest.err
36844 cat conftest.err >&5
36845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36846 (exit $ac_status); } && {
36847 test -z "$ac_cxx_werror_flag" ||
36848 test ! -s conftest.err
36849 } && test -s conftest.$ac_objext; then
36850 wx_cv_func_snprintf_decl=yes
36852 echo "$as_me: failed program was:" >&5
36853 sed 's/^/| /' conftest.$ac_ext >&5
36855 wx_cv_func_snprintf_decl=no
36859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36863 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36864 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36866 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36867 cat >>confdefs.h <<\_ACEOF
36868 #define HAVE_SNPRINTF_DECL 1
36873 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36875 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36876 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
36877 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36878 echo $ECHO_N "(cached) $ECHO_C" >&6
36881 if test "$cross_compiling" = yes; then
36883 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36884 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36885 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36886 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36887 wx_cv_func_snprintf_pos_params=no
36891 cat >conftest.$ac_ext <<_ACEOF
36894 cat confdefs.h >>conftest.$ac_ext
36895 cat >>conftest.$ac_ext <<_ACEOF
36896 /* end confdefs.h. */
36903 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36904 if (strcmp ("2 3 1", buffer) == 0)
36910 rm -f conftest$ac_exeext
36911 if { (ac_try="$ac_link"
36912 case "(($ac_try" in
36913 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36914 *) ac_try_echo
=$ac_try;;
36916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36917 (eval "$ac_link") 2>&5
36919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36920 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
36921 { (case "(($ac_try" in
36922 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36923 *) ac_try_echo=$ac_try;;
36925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36926 (eval "$ac_try") 2>&5
36928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36929 (exit $ac_status); }; }; then
36930 wx_cv_func_snprintf_pos_params=no
36932 echo "$as_me: program exited with status $ac_status" >&5
36933 echo "$as_me: failed program was:" >&5
36934 sed 's/^/| /' conftest.$ac_ext >&5
36936 ( exit $ac_status )
36937 wx_cv_func_snprintf_pos_params=yes
36939 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36946 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36947 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
36949 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36950 cat >>confdefs.h <<\_ACEOF
36951 #define HAVE_UNIX98_PRINTF 1
36958 if test "$ac_cv_func_vsscanf" = "yes"; then
36959 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
36960 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
36961 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
36962 echo $ECHO_N "(cached) $ECHO_C" >&6
36965 cat >conftest.$ac_ext <<_ACEOF
36968 cat confdefs.h >>conftest.$ac_ext
36969 cat >>conftest.$ac_ext <<_ACEOF
36970 /* end confdefs.h. */
36973 #include <stdarg.h>
36975 #if __MSL__ >= 0x6000
36977 using namespace std;
36987 vsscanf(buf, "%s", args);
36993 rm -f conftest.$ac_objext
36994 if { (ac_try="$ac_compile"
36995 case "(($ac_try" in
36996 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36997 *) ac_try_echo
=$ac_try;;
36999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37000 (eval "$ac_compile") 2>conftest.er1
37002 grep -v '^ *+' conftest.er1
>conftest.err
37004 cat conftest.err
>&5
37005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37006 (exit $ac_status); } && {
37007 test -z "$ac_cxx_werror_flag" ||
37008 test ! -s conftest.err
37009 } && test -s conftest.
$ac_objext; then
37010 wx_cv_func_vsscanf_decl
=yes
37012 echo "$as_me: failed program was:" >&5
37013 sed 's/^/| /' conftest.
$ac_ext >&5
37015 wx_cv_func_vsscanf_decl
=no
37019 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37023 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
37024 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
37026 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
37027 cat >>confdefs.h
<<\_ACEOF
37028 #define HAVE_VSSCANF_DECL 1
37034 ac_cpp
='$CPP $CPPFLAGS'
37035 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37036 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37037 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37040 if test "$wxUSE_UNICODE" = yes; then
37042 wchar_headers
="#include <stdio.h>
37043 #include <wchar.h>"
37047 for ac_header
in widec.h
37049 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37050 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37051 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37052 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37053 echo $ECHO_N "(cached) $ECHO_C" >&6
37055 cat >conftest.
$ac_ext <<_ACEOF
37058 cat confdefs.h
>>conftest.
$ac_ext
37059 cat >>conftest.
$ac_ext <<_ACEOF
37060 /* end confdefs.h. */
37061 $ac_includes_default
37063 #include <$ac_header>
37065 rm -f conftest.
$ac_objext
37066 if { (ac_try
="$ac_compile"
37067 case "(($ac_try" in
37068 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37069 *) ac_try_echo=$ac_try;;
37071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37072 (eval "$ac_compile") 2>conftest.er1
37074 grep -v '^ *+' conftest.er1 >conftest.err
37076 cat conftest.err >&5
37077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37078 (exit $ac_status); } && {
37079 test -z "$ac_c_werror_flag" ||
37080 test ! -s conftest.err
37081 } && test -s conftest.$ac_objext; then
37082 eval "$as_ac_Header=yes"
37084 echo "$as_me: failed program was:" >&5
37085 sed 's/^/| /' conftest.$ac_ext >&5
37087 eval "$as_ac_Header=no"
37090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37092 ac_res=`eval echo '${'$as_ac_Header'}'`
37093 { echo "$as_me:$LINENO: result: $ac_res" >&5
37094 echo "${ECHO_T}$ac_res" >&6; }
37095 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37096 cat >>confdefs.h <<_ACEOF
37097 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37104 if test "$ac_cv_header_widec_h" = "yes"; then
37105 wchar_headers="$wchar_headers
37106 #include <widec.h>"
37111 for wx_func in putws fputws wprintf vswprintf vswscanf
37113 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37114 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37115 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37116 echo $ECHO_N "(cached) $ECHO_C" >&6
37119 cat >conftest.$ac_ext <<_ACEOF
37123 cat confdefs.h >>conftest.$ac_ext
37124 cat >>conftest.$ac_ext <<_ACEOF
37125 /* end confdefs.h. */
37128 $ac_includes_default
37144 rm -f conftest.$ac_objext conftest$ac_exeext
37145 if { (ac_try="$ac_link"
37146 case "(($ac_try" in
37147 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37148 *) ac_try_echo
=$ac_try;;
37150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37151 (eval "$ac_link") 2>conftest.er1
37153 grep -v '^ *+' conftest.er1
>conftest.err
37155 cat conftest.err
>&5
37156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37157 (exit $ac_status); } && {
37158 test -z "$ac_c_werror_flag" ||
37159 test ! -s conftest.err
37160 } && test -s conftest
$ac_exeext &&
37161 $as_test_x conftest
$ac_exeext; then
37162 eval wx_cv_func_
$wx_func=yes
37164 echo "$as_me: failed program was:" >&5
37165 sed 's/^/| /' conftest.
$ac_ext >&5
37167 eval wx_cv_func_
$wx_func=no
37170 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37171 conftest
$ac_exeext conftest.
$ac_ext
37174 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37175 { echo "$as_me:$LINENO: result: $ac_res" >&5
37176 echo "${ECHO_T}$ac_res" >&6; }
37178 if eval test \
$wx_cv_func_$wx_func = yes
37180 cat >>confdefs.h
<<_ACEOF
37181 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37192 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37193 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37194 cat >conftest.
$ac_ext <<_ACEOF
37197 cat confdefs.h
>>conftest.
$ac_ext
37198 cat >>conftest.
$ac_ext <<_ACEOF
37199 /* end confdefs.h. */
37209 rm -f conftest.
$ac_objext
37210 if { (ac_try
="$ac_compile"
37211 case "(($ac_try" in
37212 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37213 *) ac_try_echo=$ac_try;;
37215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37216 (eval "$ac_compile") 2>conftest.er1
37218 grep -v '^ *+' conftest.er1 >conftest.err
37220 cat conftest.err >&5
37221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37222 (exit $ac_status); } && {
37223 test -z "$ac_c_werror_flag" ||
37224 test ! -s conftest.err
37225 } && test -s conftest.$ac_objext; then
37226 { echo "$as_me:$LINENO: result: yes" >&5
37227 echo "${ECHO_T}yes" >&6; }
37228 cat >>confdefs.h <<\_ACEOF
37229 #define HAVE__VSNWPRINTF 1
37233 echo "$as_me: failed program was:" >&5
37234 sed 's/^/| /' conftest.$ac_ext >&5
37236 { echo "$as_me:$LINENO: result: no" >&5
37237 echo "${ECHO_T}no" >&6; }
37240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37243 if test "$wxUSE_FILE" = "yes"; then
37245 for wx_func in fsync
37247 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37248 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37249 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37250 echo $ECHO_N "(cached) $ECHO_C" >&6
37253 cat >conftest.$ac_ext <<_ACEOF
37257 cat confdefs.h >>conftest.$ac_ext
37258 cat >>conftest.$ac_ext <<_ACEOF
37259 /* end confdefs.h. */
37262 $ac_includes_default
37278 rm -f conftest.$ac_objext conftest$ac_exeext
37279 if { (ac_try="$ac_link"
37280 case "(($ac_try" in
37281 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37282 *) ac_try_echo
=$ac_try;;
37284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37285 (eval "$ac_link") 2>conftest.er1
37287 grep -v '^ *+' conftest.er1
>conftest.err
37289 cat conftest.err
>&5
37290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37291 (exit $ac_status); } && {
37292 test -z "$ac_c_werror_flag" ||
37293 test ! -s conftest.err
37294 } && test -s conftest
$ac_exeext &&
37295 $as_test_x conftest
$ac_exeext; then
37296 eval wx_cv_func_
$wx_func=yes
37298 echo "$as_me: failed program was:" >&5
37299 sed 's/^/| /' conftest.
$ac_ext >&5
37301 eval wx_cv_func_
$wx_func=no
37304 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37305 conftest
$ac_exeext conftest.
$ac_ext
37308 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37309 { echo "$as_me:$LINENO: result: $ac_res" >&5
37310 echo "${ECHO_T}$ac_res" >&6; }
37312 if eval test \
$wx_cv_func_$wx_func = yes
37314 cat >>confdefs.h
<<_ACEOF
37315 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37328 ac_cpp
='$CXXCPP $CPPFLAGS'
37329 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37330 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37331 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37334 for wx_func
in round
37336 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37337 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37338 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37339 echo $ECHO_N "(cached) $ECHO_C" >&6
37342 cat >conftest.
$ac_ext <<_ACEOF
37346 cat confdefs.h
>>conftest.
$ac_ext
37347 cat >>conftest.
$ac_ext <<_ACEOF
37348 /* end confdefs.h. */
37351 $ac_includes_default
37367 rm -f conftest.
$ac_objext conftest
$ac_exeext
37368 if { (ac_try
="$ac_link"
37369 case "(($ac_try" in
37370 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37371 *) ac_try_echo=$ac_try;;
37373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37374 (eval "$ac_link") 2>conftest.er1
37376 grep -v '^ *+' conftest.er1 >conftest.err
37378 cat conftest.err >&5
37379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37380 (exit $ac_status); } && {
37381 test -z "$ac_cxx_werror_flag" ||
37382 test ! -s conftest.err
37383 } && test -s conftest$ac_exeext &&
37384 $as_test_x conftest$ac_exeext; then
37385 eval wx_cv_func_$wx_func=yes
37387 echo "$as_me: failed program was:" >&5
37388 sed 's/^/| /' conftest.$ac_ext >&5
37390 eval wx_cv_func_$wx_func=no
37393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37394 conftest$ac_exeext conftest.$ac_ext
37397 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37398 { echo "$as_me:$LINENO: result: $ac_res" >&5
37399 echo "${ECHO_T}$ac_res" >&6; }
37401 if eval test \$wx_cv_func_$wx_func = yes
37403 cat >>confdefs.h <<_ACEOF
37404 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37415 ac_cpp='$CPP $CPPFLAGS'
37416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37421 if test "$TOOLKIT" != "MSW"; then
37423 if test "$wxUSE_LIBICONV" != "no" ; then
37427 # Check whether --with-libiconv-prefix was given.
37428 if test "${with_libiconv_prefix+set}" = set; then
37429 withval=$with_libiconv_prefix;
37430 for dir in `echo "$withval" | tr : ' '`; do
37431 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37432 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37438 { echo "$as_me:$LINENO: checking for iconv" >&5
37439 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37440 if test "${am_cv_func_iconv+set}" = set; then
37441 echo $ECHO_N "(cached) $ECHO_C" >&6
37444 am_cv_func_iconv="no, consider installing GNU libiconv"
37446 cat >conftest.$ac_ext <<_ACEOF
37449 cat confdefs.h >>conftest.$ac_ext
37450 cat >>conftest.$ac_ext <<_ACEOF
37451 /* end confdefs.h. */
37452 #include <stdlib.h>
37457 iconv_t cd = iconv_open("","");
37458 iconv(cd,NULL,NULL,NULL,NULL);
37464 rm -f conftest.$ac_objext conftest$ac_exeext
37465 if { (ac_try="$ac_link"
37466 case "(($ac_try" in
37467 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37468 *) ac_try_echo
=$ac_try;;
37470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37471 (eval "$ac_link") 2>conftest.er1
37473 grep -v '^ *+' conftest.er1
>conftest.err
37475 cat conftest.err
>&5
37476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37477 (exit $ac_status); } && {
37478 test -z "$ac_c_werror_flag" ||
37479 test ! -s conftest.err
37480 } && test -s conftest
$ac_exeext &&
37481 $as_test_x conftest
$ac_exeext; then
37482 am_cv_func_iconv
=yes
37484 echo "$as_me: failed program was:" >&5
37485 sed 's/^/| /' conftest.
$ac_ext >&5
37490 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37491 conftest
$ac_exeext conftest.
$ac_ext
37492 if test "$am_cv_func_iconv" != yes; then
37493 am_save_LIBS
="$LIBS"
37494 LIBS
="$LIBS -liconv"
37495 cat >conftest.
$ac_ext <<_ACEOF
37498 cat confdefs.h
>>conftest.
$ac_ext
37499 cat >>conftest.
$ac_ext <<_ACEOF
37500 /* end confdefs.h. */
37501 #include <stdlib.h>
37506 iconv_t cd = iconv_open("","");
37507 iconv(cd,NULL,NULL,NULL,NULL);
37513 rm -f conftest.
$ac_objext conftest
$ac_exeext
37514 if { (ac_try
="$ac_link"
37515 case "(($ac_try" in
37516 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37517 *) ac_try_echo=$ac_try;;
37519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37520 (eval "$ac_link") 2>conftest.er1
37522 grep -v '^ *+' conftest.er1 >conftest.err
37524 cat conftest.err >&5
37525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37526 (exit $ac_status); } && {
37527 test -z "$ac_c_werror_flag" ||
37528 test ! -s conftest.err
37529 } && test -s conftest$ac_exeext &&
37530 $as_test_x conftest$ac_exeext; then
37531 am_cv_lib_iconv=yes
37532 am_cv_func_iconv=yes
37534 echo "$as_me: failed program was:" >&5
37535 sed 's/^/| /' conftest.$ac_ext >&5
37540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37541 conftest$ac_exeext conftest.$ac_ext
37542 LIBS="$am_save_LIBS"
37546 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37547 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37548 if test "$am_cv_func_iconv" = yes; then
37550 cat >>confdefs.h <<\_ACEOF
37551 #define HAVE_ICONV 1
37554 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37555 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37556 if test "${wx_cv_func_iconv_const+set}" = set; then
37557 echo $ECHO_N "(cached) $ECHO_C" >&6
37559 cat >conftest.$ac_ext <<_ACEOF
37562 cat confdefs.h >>conftest.$ac_ext
37563 cat >>conftest.$ac_ext <<_ACEOF
37564 /* end confdefs.h. */
37566 #include <stdlib.h>
37572 #if defined(__STDC__) || defined(__cplusplus)
37573 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37586 rm -f conftest.$ac_objext
37587 if { (ac_try="$ac_compile"
37588 case "(($ac_try" in
37589 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37590 *) ac_try_echo
=$ac_try;;
37592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37593 (eval "$ac_compile") 2>conftest.er1
37595 grep -v '^ *+' conftest.er1
>conftest.err
37597 cat conftest.err
>&5
37598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37599 (exit $ac_status); } && {
37600 test -z "$ac_c_werror_flag" ||
37601 test ! -s conftest.err
37602 } && test -s conftest.
$ac_objext; then
37603 wx_cv_func_iconv_const
="no"
37605 echo "$as_me: failed program was:" >&5
37606 sed 's/^/| /' conftest.
$ac_ext >&5
37608 wx_cv_func_iconv_const
="yes"
37612 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37615 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37616 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37619 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37620 iconv_const
="const"
37624 cat >>confdefs.h
<<_ACEOF
37625 #define ICONV_CONST $iconv_const
37630 if test "$am_cv_lib_iconv" = yes; then
37635 LIBS
="$LIBICONV $LIBS"
37638 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37640 for ac_func
in sigaction
37642 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37643 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37645 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37646 echo $ECHO_N "(cached) $ECHO_C" >&6
37648 cat >conftest.
$ac_ext <<_ACEOF
37651 cat confdefs.h
>>conftest.
$ac_ext
37652 cat >>conftest.
$ac_ext <<_ACEOF
37653 /* end confdefs.h. */
37654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37656 #define $ac_func innocuous_$ac_func
37658 /* System header to define __stub macros and hopefully few prototypes,
37659 which can conflict with char $ac_func (); below.
37660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37661 <limits.h> exists even on freestanding compilers. */
37664 # include <limits.h>
37666 # include <assert.h>
37671 /* Override any GCC internal prototype to avoid an error.
37672 Use char because int might match the return type of a GCC
37673 builtin and then its argument prototype would still apply. */
37678 /* The GNU C library defines this for functions which it implements
37679 to always fail with ENOSYS. Some functions are actually named
37680 something starting with __ and the normal name is an alias. */
37681 #if defined __stub_$ac_func || defined __stub___$ac_func
37688 return $ac_func ();
37693 rm -f conftest.
$ac_objext conftest
$ac_exeext
37694 if { (ac_try
="$ac_link"
37695 case "(($ac_try" in
37696 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37697 *) ac_try_echo=$ac_try;;
37699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37700 (eval "$ac_link") 2>conftest.er1
37702 grep -v '^ *+' conftest.er1 >conftest.err
37704 cat conftest.err >&5
37705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37706 (exit $ac_status); } && {
37707 test -z "$ac_c_werror_flag" ||
37708 test ! -s conftest.err
37709 } && test -s conftest$ac_exeext &&
37710 $as_test_x conftest$ac_exeext; then
37711 eval "$as_ac_var=yes"
37713 echo "$as_me: failed program was:" >&5
37714 sed 's/^/| /' conftest.$ac_ext >&5
37716 eval "$as_ac_var=no"
37719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37720 conftest$ac_exeext conftest.$ac_ext
37722 ac_res=`eval echo '${'$as_ac_var'}'`
37723 { echo "$as_me:$LINENO: result: $ac_res" >&5
37724 echo "${ECHO_T}$ac_res" >&6; }
37725 if test `eval echo '${'$as_ac_var'}'` = yes; then
37726 cat >>confdefs.h <<_ACEOF
37727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37734 if test "$ac_cv_func_sigaction" = "no"; then
37735 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37736 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37737 wxUSE_ON_FATAL_EXCEPTION=no
37740 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37741 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37742 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37743 if test "${wx_cv_type_sa_handler+set}" = set; then
37744 echo $ECHO_N "(cached) $ECHO_C" >&6
37748 ac_cpp='$CXXCPP $CPPFLAGS'
37749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37753 cat >conftest.$ac_ext <<_ACEOF
37756 cat confdefs.h >>conftest.$ac_ext
37757 cat >>conftest.$ac_ext <<_ACEOF
37758 /* end confdefs.h. */
37759 #include <signal.h>
37764 extern void testSigHandler(int);
37766 struct sigaction sa;
37767 sa.sa_handler = testSigHandler;
37773 rm -f conftest.$ac_objext
37774 if { (ac_try="$ac_compile"
37775 case "(($ac_try" in
37776 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37777 *) ac_try_echo
=$ac_try;;
37779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37780 (eval "$ac_compile") 2>conftest.er1
37782 grep -v '^ *+' conftest.er1
>conftest.err
37784 cat conftest.err
>&5
37785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37786 (exit $ac_status); } && {
37787 test -z "$ac_cxx_werror_flag" ||
37788 test ! -s conftest.err
37789 } && test -s conftest.
$ac_objext; then
37791 wx_cv_type_sa_handler
=int
37794 echo "$as_me: failed program was:" >&5
37795 sed 's/^/| /' conftest.
$ac_ext >&5
37798 wx_cv_type_sa_handler
=void
37802 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37804 ac_cpp
='$CPP $CPPFLAGS'
37805 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37806 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37807 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37811 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37812 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37814 cat >>confdefs.h
<<_ACEOF
37815 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37821 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37822 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37823 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37824 if test "${wx_cv_func_backtrace+set}" = set; then
37825 echo $ECHO_N "(cached) $ECHO_C" >&6
37829 ac_cpp
='$CXXCPP $CPPFLAGS'
37830 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37831 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37832 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37834 cat >conftest.
$ac_ext <<_ACEOF
37837 cat confdefs.h
>>conftest.
$ac_ext
37838 cat >>conftest.
$ac_ext <<_ACEOF
37839 /* end confdefs.h. */
37840 #include <execinfo.h>
37848 backtrace(trace, 1);
37849 messages = backtrace_symbols(trace, 1);
37855 rm -f conftest.
$ac_objext
37856 if { (ac_try
="$ac_compile"
37857 case "(($ac_try" in
37858 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37859 *) ac_try_echo=$ac_try;;
37861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37862 (eval "$ac_compile") 2>conftest.er1
37864 grep -v '^ *+' conftest.er1 >conftest.err
37866 cat conftest.err >&5
37867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37868 (exit $ac_status); } && {
37869 test -z "$ac_cxx_werror_flag" ||
37870 test ! -s conftest.err
37871 } && test -s conftest.$ac_objext; then
37872 wx_cv_func_backtrace=yes
37874 echo "$as_me: failed program was:" >&5
37875 sed 's/^/| /' conftest.$ac_ext >&5
37877 wx_cv_func_backtrace=no
37881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37883 ac_cpp='$CPP $CPPFLAGS'
37884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37891 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37892 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37895 if test "$wx_cv_func_backtrace" = "no"; then
37896 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37897 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37898 wxUSE_STACKWALKER=no
37900 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37901 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37902 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37903 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. */
37918 #include <cxxabi.h>
37924 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37930 rm -f conftest.$ac_objext conftest$ac_exeext
37931 if { (ac_try="$ac_link"
37932 case "(($ac_try" in
37933 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37934 *) ac_try_echo
=$ac_try;;
37936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37937 (eval "$ac_link") 2>conftest.er1
37939 grep -v '^ *+' conftest.er1
>conftest.err
37941 cat conftest.err
>&5
37942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37943 (exit $ac_status); } && {
37944 test -z "$ac_cxx_werror_flag" ||
37945 test ! -s conftest.err
37946 } && test -s conftest
$ac_exeext &&
37947 $as_test_x conftest
$ac_exeext; then
37948 wx_cv_func_cxa_demangle
=yes
37950 echo "$as_me: failed program was:" >&5
37951 sed 's/^/| /' conftest.
$ac_ext >&5
37953 wx_cv_func_cxa_demangle
=no
37957 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37958 conftest
$ac_exeext conftest.
$ac_ext
37960 ac_cpp
='$CPP $CPPFLAGS'
37961 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37962 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37963 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37968 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37969 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
37971 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37972 cat >>confdefs.h
<<\_ACEOF
37973 #define HAVE_CXA_DEMANGLE 1
37980 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
37981 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37982 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37983 wxUSE_STACKWALKER
=no
37989 for ac_func
in mkstemp mktemp
37991 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37992 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37994 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37995 echo $ECHO_N "(cached) $ECHO_C" >&6
37997 cat >conftest.
$ac_ext <<_ACEOF
38000 cat confdefs.h
>>conftest.
$ac_ext
38001 cat >>conftest.
$ac_ext <<_ACEOF
38002 /* end confdefs.h. */
38003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38005 #define $ac_func innocuous_$ac_func
38007 /* System header to define __stub macros and hopefully few prototypes,
38008 which can conflict with char $ac_func (); below.
38009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38010 <limits.h> exists even on freestanding compilers. */
38013 # include <limits.h>
38015 # include <assert.h>
38020 /* Override any GCC internal prototype to avoid an error.
38021 Use char because int might match the return type of a GCC
38022 builtin and then its argument prototype would still apply. */
38027 /* The GNU C library defines this for functions which it implements
38028 to always fail with ENOSYS. Some functions are actually named
38029 something starting with __ and the normal name is an alias. */
38030 #if defined __stub_$ac_func || defined __stub___$ac_func
38037 return $ac_func ();
38042 rm -f conftest.
$ac_objext conftest
$ac_exeext
38043 if { (ac_try
="$ac_link"
38044 case "(($ac_try" in
38045 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38046 *) ac_try_echo=$ac_try;;
38048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38049 (eval "$ac_link") 2>conftest.er1
38051 grep -v '^ *+' conftest.er1 >conftest.err
38053 cat conftest.err >&5
38054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38055 (exit $ac_status); } && {
38056 test -z "$ac_c_werror_flag" ||
38057 test ! -s conftest.err
38058 } && test -s conftest$ac_exeext &&
38059 $as_test_x conftest$ac_exeext; then
38060 eval "$as_ac_var=yes"
38062 echo "$as_me: failed program was:" >&5
38063 sed 's/^/| /' conftest.$ac_ext >&5
38065 eval "$as_ac_var=no"
38068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38069 conftest$ac_exeext conftest.$ac_ext
38071 ac_res=`eval echo '${'$as_ac_var'}'`
38072 { echo "$as_me:$LINENO: result: $ac_res" >&5
38073 echo "${ECHO_T}$ac_res" >&6; }
38074 if test `eval echo '${'$as_ac_var'}'` = yes; then
38075 cat >>confdefs.h <<_ACEOF
38076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38083 { echo "$as_me:$LINENO: checking for statfs" >&5
38084 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
38085 if test "${wx_cv_func_statfs+set}" = set; then
38086 echo $ECHO_N "(cached) $ECHO_C" >&6
38088 cat >conftest.$ac_ext <<_ACEOF
38091 cat confdefs.h >>conftest.$ac_ext
38092 cat >>conftest.$ac_ext <<_ACEOF
38093 /* end confdefs.h. */
38095 #if defined(__BSD__)
38096 #include <sys/param.h>
38097 #include <sys/mount.h>
38099 #include <sys/vfs.h>
38117 rm -f conftest.$ac_objext
38118 if { (ac_try="$ac_compile"
38119 case "(($ac_try" in
38120 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38121 *) ac_try_echo
=$ac_try;;
38123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38124 (eval "$ac_compile") 2>conftest.er1
38126 grep -v '^ *+' conftest.er1
>conftest.err
38128 cat conftest.err
>&5
38129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38130 (exit $ac_status); } && {
38131 test -z "$ac_c_werror_flag" ||
38132 test ! -s conftest.err
38133 } && test -s conftest.
$ac_objext; then
38134 wx_cv_func_statfs
=yes
38136 echo "$as_me: failed program was:" >&5
38137 sed 's/^/| /' conftest.
$ac_ext >&5
38139 wx_cv_func_statfs
=no
38143 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38146 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38147 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
38149 if test "$wx_cv_func_statfs" = "yes"; then
38150 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
38151 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
38152 if test "${wx_cv_func_statfs_decl+set}" = set; then
38153 echo $ECHO_N "(cached) $ECHO_C" >&6
38156 ac_cpp
='$CXXCPP $CPPFLAGS'
38157 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38158 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38159 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38161 cat >conftest.
$ac_ext <<_ACEOF
38164 cat confdefs.h
>>conftest.
$ac_ext
38165 cat >>conftest.
$ac_ext <<_ACEOF
38166 /* end confdefs.h. */
38168 #if defined(__BSD__)
38169 #include <sys/param.h>
38170 #include <sys/mount.h>
38172 #include <sys/vfs.h>
38186 rm -f conftest.
$ac_objext
38187 if { (ac_try
="$ac_compile"
38188 case "(($ac_try" in
38189 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38190 *) ac_try_echo=$ac_try;;
38192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38193 (eval "$ac_compile") 2>conftest.er1
38195 grep -v '^ *+' conftest.er1 >conftest.err
38197 cat conftest.err >&5
38198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38199 (exit $ac_status); } && {
38200 test -z "$ac_cxx_werror_flag" ||
38201 test ! -s conftest.err
38202 } && test -s conftest.$ac_objext; then
38203 wx_cv_func_statfs_decl=yes
38205 echo "$as_me: failed program was:" >&5
38206 sed 's/^/| /' conftest.$ac_ext >&5
38208 wx_cv_func_statfs_decl=no
38212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38214 ac_cpp='$CPP $CPPFLAGS'
38215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38221 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38222 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38224 if test "$wx_cv_func_statfs_decl" = "yes"; then
38225 cat >>confdefs.h <<\_ACEOF
38226 #define HAVE_STATFS_DECL 1
38231 wx_cv_type_statvfs_t="struct statfs"
38232 cat >>confdefs.h <<\_ACEOF
38233 #define HAVE_STATFS 1
38237 { echo "$as_me:$LINENO: checking for statvfs" >&5
38238 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38239 if test "${wx_cv_func_statvfs+set}" = set; then
38240 echo $ECHO_N "(cached) $ECHO_C" >&6
38242 cat >conftest.$ac_ext <<_ACEOF
38245 cat confdefs.h >>conftest.$ac_ext
38246 cat >>conftest.$ac_ext <<_ACEOF
38247 /* end confdefs.h. */
38249 #include <stddef.h>
38250 #include <sys/statvfs.h>
38256 statvfs("/", NULL);
38262 rm -f conftest.$ac_objext
38263 if { (ac_try="$ac_compile"
38264 case "(($ac_try" in
38265 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38266 *) ac_try_echo
=$ac_try;;
38268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38269 (eval "$ac_compile") 2>conftest.er1
38271 grep -v '^ *+' conftest.er1
>conftest.err
38273 cat conftest.err
>&5
38274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38275 (exit $ac_status); } && {
38276 test -z "$ac_c_werror_flag" ||
38277 test ! -s conftest.err
38278 } && test -s conftest.
$ac_objext; then
38279 wx_cv_func_statvfs
=yes
38281 echo "$as_me: failed program was:" >&5
38282 sed 's/^/| /' conftest.
$ac_ext >&5
38284 wx_cv_func_statvfs
=no
38288 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38291 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38292 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38294 if test "$wx_cv_func_statvfs" = "yes"; then
38295 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38296 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38297 if test "${wx_cv_type_statvfs_t+set}" = set; then
38298 echo $ECHO_N "(cached) $ECHO_C" >&6
38301 ac_cpp
='$CXXCPP $CPPFLAGS'
38302 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38303 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38304 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38306 cat >conftest.
$ac_ext <<_ACEOF
38309 cat confdefs.h
>>conftest.
$ac_ext
38310 cat >>conftest.
$ac_ext <<_ACEOF
38311 /* end confdefs.h. */
38313 #include <sys/statvfs.h>
38330 rm -f conftest.
$ac_objext
38331 if { (ac_try
="$ac_compile"
38332 case "(($ac_try" in
38333 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38334 *) ac_try_echo=$ac_try;;
38336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38337 (eval "$ac_compile") 2>conftest.er1
38339 grep -v '^ *+' conftest.er1 >conftest.err
38341 cat conftest.err >&5
38342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38343 (exit $ac_status); } && {
38344 test -z "$ac_cxx_werror_flag" ||
38345 test ! -s conftest.err
38346 } && test -s conftest.$ac_objext; then
38347 wx_cv_type_statvfs_t=statvfs_t
38349 echo "$as_me: failed program was:" >&5
38350 sed 's/^/| /' conftest.$ac_ext >&5
38353 cat >conftest.$ac_ext <<_ACEOF
38356 cat confdefs.h >>conftest.$ac_ext
38357 cat >>conftest.$ac_ext <<_ACEOF
38358 /* end confdefs.h. */
38360 #include <sys/statvfs.h>
38377 rm -f conftest.$ac_objext
38378 if { (ac_try="$ac_compile"
38379 case "(($ac_try" in
38380 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38381 *) ac_try_echo
=$ac_try;;
38383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38384 (eval "$ac_compile") 2>conftest.er1
38386 grep -v '^ *+' conftest.er1
>conftest.err
38388 cat conftest.err
>&5
38389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38390 (exit $ac_status); } && {
38391 test -z "$ac_cxx_werror_flag" ||
38392 test ! -s conftest.err
38393 } && test -s conftest.
$ac_objext; then
38394 wx_cv_type_statvfs_t
="struct statvfs"
38396 echo "$as_me: failed program was:" >&5
38397 sed 's/^/| /' conftest.
$ac_ext >&5
38399 wx_cv_type_statvfs_t
="unknown"
38403 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38408 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38410 ac_cpp
='$CPP $CPPFLAGS'
38411 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38412 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38413 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38417 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38418 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38420 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38421 cat >>confdefs.h
<<\_ACEOF
38422 #define HAVE_STATVFS 1
38427 wx_cv_type_statvfs_t
="unknown"
38431 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38432 cat >>confdefs.h
<<_ACEOF
38433 #define WX_STATFS_T $wx_cv_type_statvfs_t
38437 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38438 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38441 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38444 for ac_func
in fcntl flock
38446 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38447 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38449 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38450 echo $ECHO_N "(cached) $ECHO_C" >&6
38452 cat >conftest.
$ac_ext <<_ACEOF
38455 cat confdefs.h
>>conftest.
$ac_ext
38456 cat >>conftest.
$ac_ext <<_ACEOF
38457 /* end confdefs.h. */
38458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38460 #define $ac_func innocuous_$ac_func
38462 /* System header to define __stub macros and hopefully few prototypes,
38463 which can conflict with char $ac_func (); below.
38464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38465 <limits.h> exists even on freestanding compilers. */
38468 # include <limits.h>
38470 # include <assert.h>
38475 /* Override any GCC internal prototype to avoid an error.
38476 Use char because int might match the return type of a GCC
38477 builtin and then its argument prototype would still apply. */
38482 /* The GNU C library defines this for functions which it implements
38483 to always fail with ENOSYS. Some functions are actually named
38484 something starting with __ and the normal name is an alias. */
38485 #if defined __stub_$ac_func || defined __stub___$ac_func
38492 return $ac_func ();
38497 rm -f conftest.
$ac_objext conftest
$ac_exeext
38498 if { (ac_try
="$ac_link"
38499 case "(($ac_try" in
38500 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38501 *) ac_try_echo=$ac_try;;
38503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38504 (eval "$ac_link") 2>conftest.er1
38506 grep -v '^ *+' conftest.er1 >conftest.err
38508 cat conftest.err >&5
38509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38510 (exit $ac_status); } && {
38511 test -z "$ac_c_werror_flag" ||
38512 test ! -s conftest.err
38513 } && test -s conftest$ac_exeext &&
38514 $as_test_x conftest$ac_exeext; then
38515 eval "$as_ac_var=yes"
38517 echo "$as_me: failed program was:" >&5
38518 sed 's/^/| /' conftest.$ac_ext >&5
38520 eval "$as_ac_var=no"
38523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38524 conftest$ac_exeext conftest.$ac_ext
38526 ac_res=`eval echo '${'$as_ac_var'}'`
38527 { echo "$as_me:$LINENO: result: $ac_res" >&5
38528 echo "${ECHO_T}$ac_res" >&6; }
38529 if test `eval echo '${'$as_ac_var'}'` = yes; then
38530 cat >>confdefs.h <<_ACEOF
38531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38538 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38539 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38540 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38541 wxUSE_SNGLINST_CHECKER=no
38547 for ac_func in setenv putenv
38549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38550 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38552 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38553 echo $ECHO_N "(cached) $ECHO_C" >&6
38555 cat >conftest.$ac_ext <<_ACEOF
38558 cat confdefs.h >>conftest.$ac_ext
38559 cat >>conftest.$ac_ext <<_ACEOF
38560 /* end confdefs.h. */
38561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38563 #define $ac_func innocuous_$ac_func
38565 /* System header to define __stub macros and hopefully few prototypes,
38566 which can conflict with char $ac_func (); below.
38567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38568 <limits.h> exists even on freestanding compilers. */
38571 # include <limits.h>
38573 # include <assert.h>
38578 /* Override any GCC internal prototype to avoid an error.
38579 Use char because int might match the return type of a GCC
38580 builtin and then its argument prototype would still apply. */
38585 /* The GNU C library defines this for functions which it implements
38586 to always fail with ENOSYS. Some functions are actually named
38587 something starting with __ and the normal name is an alias. */
38588 #if defined __stub_$ac_func || defined __stub___$ac_func
38595 return $ac_func ();
38600 rm -f conftest.$ac_objext conftest$ac_exeext
38601 if { (ac_try="$ac_link"
38602 case "(($ac_try" in
38603 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38604 *) ac_try_echo
=$ac_try;;
38606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38607 (eval "$ac_link") 2>conftest.er1
38609 grep -v '^ *+' conftest.er1
>conftest.err
38611 cat conftest.err
>&5
38612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38613 (exit $ac_status); } && {
38614 test -z "$ac_c_werror_flag" ||
38615 test ! -s conftest.err
38616 } && test -s conftest
$ac_exeext &&
38617 $as_test_x conftest
$ac_exeext; then
38618 eval "$as_ac_var=yes"
38620 echo "$as_me: failed program was:" >&5
38621 sed 's/^/| /' conftest.
$ac_ext >&5
38623 eval "$as_ac_var=no"
38626 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38627 conftest
$ac_exeext conftest.
$ac_ext
38629 ac_res
=`eval echo '${'$as_ac_var'}'`
38630 { echo "$as_me:$LINENO: result: $ac_res" >&5
38631 echo "${ECHO_T}$ac_res" >&6; }
38632 if test `eval echo '${'$as_ac_var'}'` = yes; then
38633 cat >>confdefs.h
<<_ACEOF
38634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38640 if test "$ac_cv_func_setenv" = "yes"; then
38642 for ac_func
in unsetenv
38644 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38645 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38647 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38648 echo $ECHO_N "(cached) $ECHO_C" >&6
38650 cat >conftest.
$ac_ext <<_ACEOF
38653 cat confdefs.h
>>conftest.
$ac_ext
38654 cat >>conftest.
$ac_ext <<_ACEOF
38655 /* end confdefs.h. */
38656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38658 #define $ac_func innocuous_$ac_func
38660 /* System header to define __stub macros and hopefully few prototypes,
38661 which can conflict with char $ac_func (); below.
38662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38663 <limits.h> exists even on freestanding compilers. */
38666 # include <limits.h>
38668 # include <assert.h>
38673 /* Override any GCC internal prototype to avoid an error.
38674 Use char because int might match the return type of a GCC
38675 builtin and then its argument prototype would still apply. */
38680 /* The GNU C library defines this for functions which it implements
38681 to always fail with ENOSYS. Some functions are actually named
38682 something starting with __ and the normal name is an alias. */
38683 #if defined __stub_$ac_func || defined __stub___$ac_func
38690 return $ac_func ();
38695 rm -f conftest.
$ac_objext conftest
$ac_exeext
38696 if { (ac_try
="$ac_link"
38697 case "(($ac_try" in
38698 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38699 *) ac_try_echo=$ac_try;;
38701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38702 (eval "$ac_link") 2>conftest.er1
38704 grep -v '^ *+' conftest.er1 >conftest.err
38706 cat conftest.err >&5
38707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38708 (exit $ac_status); } && {
38709 test -z "$ac_c_werror_flag" ||
38710 test ! -s conftest.err
38711 } && test -s conftest$ac_exeext &&
38712 $as_test_x conftest$ac_exeext; then
38713 eval "$as_ac_var=yes"
38715 echo "$as_me: failed program was:" >&5
38716 sed 's/^/| /' conftest.$ac_ext >&5
38718 eval "$as_ac_var=no"
38721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38722 conftest$ac_exeext conftest.$ac_ext
38724 ac_res=`eval echo '${'$as_ac_var'}'`
38725 { echo "$as_me:$LINENO: result: $ac_res" >&5
38726 echo "${ECHO_T}$ac_res" >&6; }
38727 if test `eval echo '${'$as_ac_var'}'` = yes; then
38728 cat >>confdefs.h <<_ACEOF
38729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38737 HAVE_SOME_SLEEP_FUNC=0
38738 if test "$USE_BEOS" = 1; then
38739 cat >>confdefs.h <<\_ACEOF
38740 #define HAVE_SLEEP 1
38743 HAVE_SOME_SLEEP_FUNC=1
38746 if test "$USE_DARWIN" = 1; then
38747 cat >>confdefs.h <<\_ACEOF
38748 #define HAVE_USLEEP 1
38751 HAVE_SOME_SLEEP_FUNC=1
38754 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38757 for ac_func in nanosleep
38759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38760 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38762 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38763 echo $ECHO_N "(cached) $ECHO_C" >&6
38765 cat >conftest.$ac_ext <<_ACEOF
38768 cat confdefs.h >>conftest.$ac_ext
38769 cat >>conftest.$ac_ext <<_ACEOF
38770 /* end confdefs.h. */
38771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38773 #define $ac_func innocuous_$ac_func
38775 /* System header to define __stub macros and hopefully few prototypes,
38776 which can conflict with char $ac_func (); below.
38777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38778 <limits.h> exists even on freestanding compilers. */
38781 # include <limits.h>
38783 # include <assert.h>
38788 /* Override any GCC internal prototype to avoid an error.
38789 Use char because int might match the return type of a GCC
38790 builtin and then its argument prototype would still apply. */
38795 /* The GNU C library defines this for functions which it implements
38796 to always fail with ENOSYS. Some functions are actually named
38797 something starting with __ and the normal name is an alias. */
38798 #if defined __stub_$ac_func || defined __stub___$ac_func
38805 return $ac_func ();
38810 rm -f conftest.$ac_objext conftest$ac_exeext
38811 if { (ac_try="$ac_link"
38812 case "(($ac_try" in
38813 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38814 *) ac_try_echo
=$ac_try;;
38816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38817 (eval "$ac_link") 2>conftest.er1
38819 grep -v '^ *+' conftest.er1
>conftest.err
38821 cat conftest.err
>&5
38822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38823 (exit $ac_status); } && {
38824 test -z "$ac_c_werror_flag" ||
38825 test ! -s conftest.err
38826 } && test -s conftest
$ac_exeext &&
38827 $as_test_x conftest
$ac_exeext; then
38828 eval "$as_ac_var=yes"
38830 echo "$as_me: failed program was:" >&5
38831 sed 's/^/| /' conftest.
$ac_ext >&5
38833 eval "$as_ac_var=no"
38836 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38837 conftest
$ac_exeext conftest.
$ac_ext
38839 ac_res
=`eval echo '${'$as_ac_var'}'`
38840 { echo "$as_me:$LINENO: result: $ac_res" >&5
38841 echo "${ECHO_T}$ac_res" >&6; }
38842 if test `eval echo '${'$as_ac_var'}'` = yes; then
38843 cat >>confdefs.h
<<_ACEOF
38844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38846 cat >>confdefs.h
<<\_ACEOF
38847 #define HAVE_NANOSLEEP 1
38852 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38853 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38854 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38855 echo $ECHO_N "(cached) $ECHO_C" >&6
38857 ac_check_lib_save_LIBS
=$LIBS
38858 LIBS
="-lposix4 $LIBS"
38859 cat >conftest.
$ac_ext <<_ACEOF
38862 cat confdefs.h
>>conftest.
$ac_ext
38863 cat >>conftest.
$ac_ext <<_ACEOF
38864 /* end confdefs.h. */
38866 /* Override any GCC internal prototype to avoid an error.
38867 Use char because int might match the return type of a GCC
38868 builtin and then its argument prototype would still apply. */
38876 return nanosleep ();
38881 rm -f conftest.
$ac_objext conftest
$ac_exeext
38882 if { (ac_try
="$ac_link"
38883 case "(($ac_try" in
38884 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38885 *) ac_try_echo=$ac_try;;
38887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38888 (eval "$ac_link") 2>conftest.er1
38890 grep -v '^ *+' conftest.er1 >conftest.err
38892 cat conftest.err >&5
38893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38894 (exit $ac_status); } && {
38895 test -z "$ac_c_werror_flag" ||
38896 test ! -s conftest.err
38897 } && test -s conftest$ac_exeext &&
38898 $as_test_x conftest$ac_exeext; then
38899 ac_cv_lib_posix4_nanosleep=yes
38901 echo "$as_me: failed program was:" >&5
38902 sed 's/^/| /' conftest.$ac_ext >&5
38904 ac_cv_lib_posix4_nanosleep=no
38907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38908 conftest$ac_exeext conftest.$ac_ext
38909 LIBS=$ac_check_lib_save_LIBS
38911 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38912 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
38913 if test $ac_cv_lib_posix4_nanosleep = yes; then
38915 cat >>confdefs.h <<\_ACEOF
38916 #define HAVE_NANOSLEEP 1
38919 POSIX4_LINK=" -lposix4"
38924 for wx_func in usleep
38926 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38927 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38928 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38929 echo $ECHO_N "(cached) $ECHO_C" >&6
38932 cat >conftest.$ac_ext <<_ACEOF
38936 cat confdefs.h >>conftest.$ac_ext
38937 cat >>conftest.$ac_ext <<_ACEOF
38938 /* end confdefs.h. */
38941 $ac_includes_default
38957 rm -f conftest.$ac_objext conftest$ac_exeext
38958 if { (ac_try="$ac_link"
38959 case "(($ac_try" in
38960 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38961 *) ac_try_echo
=$ac_try;;
38963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38964 (eval "$ac_link") 2>conftest.er1
38966 grep -v '^ *+' conftest.er1
>conftest.err
38968 cat conftest.err
>&5
38969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38970 (exit $ac_status); } && {
38971 test -z "$ac_c_werror_flag" ||
38972 test ! -s conftest.err
38973 } && test -s conftest
$ac_exeext &&
38974 $as_test_x conftest
$ac_exeext; then
38975 eval wx_cv_func_
$wx_func=yes
38977 echo "$as_me: failed program was:" >&5
38978 sed 's/^/| /' conftest.
$ac_ext >&5
38980 eval wx_cv_func_
$wx_func=no
38983 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38984 conftest
$ac_exeext conftest.
$ac_ext
38987 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38988 { echo "$as_me:$LINENO: result: $ac_res" >&5
38989 echo "${ECHO_T}$ac_res" >&6; }
38991 if eval test \
$wx_cv_func_$wx_func = yes
38993 cat >>confdefs.h
<<_ACEOF
38994 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39000 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39001 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39018 for wx_func
in uname
39020 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39021 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39022 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39023 echo $ECHO_N "(cached) $ECHO_C" >&6
39026 cat >conftest.
$ac_ext <<_ACEOF
39030 cat confdefs.h
>>conftest.
$ac_ext
39031 cat >>conftest.
$ac_ext <<_ACEOF
39032 /* end confdefs.h. */
39034 #include <sys/utsname.h>
39035 $ac_includes_default
39051 rm -f conftest.
$ac_objext conftest
$ac_exeext
39052 if { (ac_try
="$ac_link"
39053 case "(($ac_try" in
39054 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39055 *) ac_try_echo=$ac_try;;
39057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39058 (eval "$ac_link") 2>conftest.er1
39060 grep -v '^ *+' conftest.er1 >conftest.err
39062 cat conftest.err >&5
39063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39064 (exit $ac_status); } && {
39065 test -z "$ac_c_werror_flag" ||
39066 test ! -s conftest.err
39067 } && test -s conftest$ac_exeext &&
39068 $as_test_x conftest$ac_exeext; then
39069 eval wx_cv_func_$wx_func=yes
39071 echo "$as_me: failed program was:" >&5
39072 sed 's/^/| /' conftest.$ac_ext >&5
39074 eval wx_cv_func_$wx_func=no
39077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39078 conftest$ac_exeext conftest.$ac_ext
39081 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39082 { echo "$as_me:$LINENO: result: $ac_res" >&5
39083 echo "${ECHO_T}$ac_res" >&6; }
39085 if eval test \$wx_cv_func_$wx_func = yes
39087 cat >>confdefs.h <<_ACEOF
39088 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39098 if test "$wx_cv_func_uname" != yes; then
39100 for wx_func in gethostname
39102 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39103 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39104 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39105 echo $ECHO_N "(cached) $ECHO_C" >&6
39108 cat >conftest.$ac_ext <<_ACEOF
39112 cat confdefs.h >>conftest.$ac_ext
39113 cat >>conftest.$ac_ext <<_ACEOF
39114 /* end confdefs.h. */
39117 $ac_includes_default
39133 rm -f conftest.$ac_objext conftest$ac_exeext
39134 if { (ac_try="$ac_link"
39135 case "(($ac_try" in
39136 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39137 *) ac_try_echo
=$ac_try;;
39139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39140 (eval "$ac_link") 2>conftest.er1
39142 grep -v '^ *+' conftest.er1
>conftest.err
39144 cat conftest.err
>&5
39145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39146 (exit $ac_status); } && {
39147 test -z "$ac_c_werror_flag" ||
39148 test ! -s conftest.err
39149 } && test -s conftest
$ac_exeext &&
39150 $as_test_x conftest
$ac_exeext; then
39151 eval wx_cv_func_
$wx_func=yes
39153 echo "$as_me: failed program was:" >&5
39154 sed 's/^/| /' conftest.
$ac_ext >&5
39156 eval wx_cv_func_
$wx_func=no
39159 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39160 conftest
$ac_exeext conftest.
$ac_ext
39163 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39164 { echo "$as_me:$LINENO: result: $ac_res" >&5
39165 echo "${ECHO_T}$ac_res" >&6; }
39167 if eval test \
$wx_cv_func_$wx_func = yes
39169 cat >>confdefs.h
<<_ACEOF
39170 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39183 for wx_func
in strtok_r
39185 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39186 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39187 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39188 echo $ECHO_N "(cached) $ECHO_C" >&6
39191 cat >conftest.
$ac_ext <<_ACEOF
39195 cat confdefs.h
>>conftest.
$ac_ext
39196 cat >>conftest.
$ac_ext <<_ACEOF
39197 /* end confdefs.h. */
39200 $ac_includes_default
39216 rm -f conftest.
$ac_objext conftest
$ac_exeext
39217 if { (ac_try
="$ac_link"
39218 case "(($ac_try" in
39219 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39220 *) ac_try_echo=$ac_try;;
39222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39223 (eval "$ac_link") 2>conftest.er1
39225 grep -v '^ *+' conftest.er1 >conftest.err
39227 cat conftest.err >&5
39228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39229 (exit $ac_status); } && {
39230 test -z "$ac_c_werror_flag" ||
39231 test ! -s conftest.err
39232 } && test -s conftest$ac_exeext &&
39233 $as_test_x conftest$ac_exeext; then
39234 eval wx_cv_func_$wx_func=yes
39236 echo "$as_me: failed program was:" >&5
39237 sed 's/^/| /' conftest.$ac_ext >&5
39239 eval wx_cv_func_$wx_func=no
39242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39243 conftest$ac_exeext conftest.$ac_ext
39246 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39247 { echo "$as_me:$LINENO: result: $ac_res" >&5
39248 echo "${ECHO_T}$ac_res" >&6; }
39250 if eval test \$wx_cv_func_$wx_func = yes
39252 cat >>confdefs.h <<_ACEOF
39253 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39266 for ac_func in inet_addr
39268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39269 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39271 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39272 echo $ECHO_N "(cached) $ECHO_C" >&6
39274 cat >conftest.$ac_ext <<_ACEOF
39277 cat confdefs.h >>conftest.$ac_ext
39278 cat >>conftest.$ac_ext <<_ACEOF
39279 /* end confdefs.h. */
39280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39282 #define $ac_func innocuous_$ac_func
39284 /* System header to define __stub macros and hopefully few prototypes,
39285 which can conflict with char $ac_func (); below.
39286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39287 <limits.h> exists even on freestanding compilers. */
39290 # include <limits.h>
39292 # include <assert.h>
39297 /* Override any GCC internal prototype to avoid an error.
39298 Use char because int might match the return type of a GCC
39299 builtin and then its argument prototype would still apply. */
39304 /* The GNU C library defines this for functions which it implements
39305 to always fail with ENOSYS. Some functions are actually named
39306 something starting with __ and the normal name is an alias. */
39307 #if defined __stub_$ac_func || defined __stub___$ac_func
39314 return $ac_func ();
39319 rm -f conftest.$ac_objext conftest$ac_exeext
39320 if { (ac_try="$ac_link"
39321 case "(($ac_try" in
39322 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39323 *) ac_try_echo
=$ac_try;;
39325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39326 (eval "$ac_link") 2>conftest.er1
39328 grep -v '^ *+' conftest.er1
>conftest.err
39330 cat conftest.err
>&5
39331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39332 (exit $ac_status); } && {
39333 test -z "$ac_c_werror_flag" ||
39334 test ! -s conftest.err
39335 } && test -s conftest
$ac_exeext &&
39336 $as_test_x conftest
$ac_exeext; then
39337 eval "$as_ac_var=yes"
39339 echo "$as_me: failed program was:" >&5
39340 sed 's/^/| /' conftest.
$ac_ext >&5
39342 eval "$as_ac_var=no"
39345 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39346 conftest
$ac_exeext conftest.
$ac_ext
39348 ac_res
=`eval echo '${'$as_ac_var'}'`
39349 { echo "$as_me:$LINENO: result: $ac_res" >&5
39350 echo "${ECHO_T}$ac_res" >&6; }
39351 if test `eval echo '${'$as_ac_var'}'` = yes; then
39352 cat >>confdefs.h
<<_ACEOF
39353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39355 cat >>confdefs.h
<<\_ACEOF
39356 #define HAVE_INET_ADDR 1
39361 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39362 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39363 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39364 echo $ECHO_N "(cached) $ECHO_C" >&6
39366 ac_check_lib_save_LIBS
=$LIBS
39368 cat >conftest.
$ac_ext <<_ACEOF
39371 cat confdefs.h
>>conftest.
$ac_ext
39372 cat >>conftest.
$ac_ext <<_ACEOF
39373 /* end confdefs.h. */
39375 /* Override any GCC internal prototype to avoid an error.
39376 Use char because int might match the return type of a GCC
39377 builtin and then its argument prototype would still apply. */
39385 return inet_addr ();
39390 rm -f conftest.
$ac_objext conftest
$ac_exeext
39391 if { (ac_try
="$ac_link"
39392 case "(($ac_try" in
39393 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39394 *) ac_try_echo=$ac_try;;
39396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39397 (eval "$ac_link") 2>conftest.er1
39399 grep -v '^ *+' conftest.er1 >conftest.err
39401 cat conftest.err >&5
39402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39403 (exit $ac_status); } && {
39404 test -z "$ac_c_werror_flag" ||
39405 test ! -s conftest.err
39406 } && test -s conftest$ac_exeext &&
39407 $as_test_x conftest$ac_exeext; then
39408 ac_cv_lib_nsl_inet_addr=yes
39410 echo "$as_me: failed program was:" >&5
39411 sed 's/^/| /' conftest.$ac_ext >&5
39413 ac_cv_lib_nsl_inet_addr=no
39416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39417 conftest$ac_exeext conftest.$ac_ext
39418 LIBS=$ac_check_lib_save_LIBS
39420 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39421 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39422 if test $ac_cv_lib_nsl_inet_addr = yes; then
39426 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39427 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39428 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39429 echo $ECHO_N "(cached) $ECHO_C" >&6
39431 ac_check_lib_save_LIBS=$LIBS
39432 LIBS="-lresolv $LIBS"
39433 cat >conftest.$ac_ext <<_ACEOF
39436 cat confdefs.h >>conftest.$ac_ext
39437 cat >>conftest.$ac_ext <<_ACEOF
39438 /* end confdefs.h. */
39440 /* Override any GCC internal prototype to avoid an error.
39441 Use char because int might match the return type of a GCC
39442 builtin and then its argument prototype would still apply. */
39450 return inet_addr ();
39455 rm -f conftest.$ac_objext conftest$ac_exeext
39456 if { (ac_try="$ac_link"
39457 case "(($ac_try" in
39458 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39459 *) ac_try_echo
=$ac_try;;
39461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39462 (eval "$ac_link") 2>conftest.er1
39464 grep -v '^ *+' conftest.er1
>conftest.err
39466 cat conftest.err
>&5
39467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39468 (exit $ac_status); } && {
39469 test -z "$ac_c_werror_flag" ||
39470 test ! -s conftest.err
39471 } && test -s conftest
$ac_exeext &&
39472 $as_test_x conftest
$ac_exeext; then
39473 ac_cv_lib_resolv_inet_addr
=yes
39475 echo "$as_me: failed program was:" >&5
39476 sed 's/^/| /' conftest.
$ac_ext >&5
39478 ac_cv_lib_resolv_inet_addr
=no
39481 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39482 conftest
$ac_exeext conftest.
$ac_ext
39483 LIBS
=$ac_check_lib_save_LIBS
39485 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39486 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39487 if test $ac_cv_lib_resolv_inet_addr = yes; then
39491 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39492 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39493 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39494 echo $ECHO_N "(cached) $ECHO_C" >&6
39496 ac_check_lib_save_LIBS
=$LIBS
39497 LIBS
="-lsocket $LIBS"
39498 cat >conftest.
$ac_ext <<_ACEOF
39501 cat confdefs.h
>>conftest.
$ac_ext
39502 cat >>conftest.
$ac_ext <<_ACEOF
39503 /* end confdefs.h. */
39505 /* Override any GCC internal prototype to avoid an error.
39506 Use char because int might match the return type of a GCC
39507 builtin and then its argument prototype would still apply. */
39515 return inet_addr ();
39520 rm -f conftest.
$ac_objext conftest
$ac_exeext
39521 if { (ac_try
="$ac_link"
39522 case "(($ac_try" in
39523 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39524 *) ac_try_echo=$ac_try;;
39526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39527 (eval "$ac_link") 2>conftest.er1
39529 grep -v '^ *+' conftest.er1 >conftest.err
39531 cat conftest.err >&5
39532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39533 (exit $ac_status); } && {
39534 test -z "$ac_c_werror_flag" ||
39535 test ! -s conftest.err
39536 } && test -s conftest$ac_exeext &&
39537 $as_test_x conftest$ac_exeext; then
39538 ac_cv_lib_socket_inet_addr=yes
39540 echo "$as_me: failed program was:" >&5
39541 sed 's/^/| /' conftest.$ac_ext >&5
39543 ac_cv_lib_socket_inet_addr=no
39546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39547 conftest$ac_exeext conftest.$ac_ext
39548 LIBS=$ac_check_lib_save_LIBS
39550 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39551 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39552 if test $ac_cv_lib_socket_inet_addr = yes; then
39572 for ac_func in inet_aton
39574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39575 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39577 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39578 echo $ECHO_N "(cached) $ECHO_C" >&6
39580 cat >conftest.$ac_ext <<_ACEOF
39583 cat confdefs.h >>conftest.$ac_ext
39584 cat >>conftest.$ac_ext <<_ACEOF
39585 /* end confdefs.h. */
39586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39588 #define $ac_func innocuous_$ac_func
39590 /* System header to define __stub macros and hopefully few prototypes,
39591 which can conflict with char $ac_func (); below.
39592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39593 <limits.h> exists even on freestanding compilers. */
39596 # include <limits.h>
39598 # include <assert.h>
39603 /* Override any GCC internal prototype to avoid an error.
39604 Use char because int might match the return type of a GCC
39605 builtin and then its argument prototype would still apply. */
39610 /* The GNU C library defines this for functions which it implements
39611 to always fail with ENOSYS. Some functions are actually named
39612 something starting with __ and the normal name is an alias. */
39613 #if defined __stub_$ac_func || defined __stub___$ac_func
39620 return $ac_func ();
39625 rm -f conftest.$ac_objext conftest$ac_exeext
39626 if { (ac_try="$ac_link"
39627 case "(($ac_try" in
39628 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39629 *) ac_try_echo
=$ac_try;;
39631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39632 (eval "$ac_link") 2>conftest.er1
39634 grep -v '^ *+' conftest.er1
>conftest.err
39636 cat conftest.err
>&5
39637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39638 (exit $ac_status); } && {
39639 test -z "$ac_c_werror_flag" ||
39640 test ! -s conftest.err
39641 } && test -s conftest
$ac_exeext &&
39642 $as_test_x conftest
$ac_exeext; then
39643 eval "$as_ac_var=yes"
39645 echo "$as_me: failed program was:" >&5
39646 sed 's/^/| /' conftest.
$ac_ext >&5
39648 eval "$as_ac_var=no"
39651 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39652 conftest
$ac_exeext conftest.
$ac_ext
39654 ac_res
=`eval echo '${'$as_ac_var'}'`
39655 { echo "$as_me:$LINENO: result: $ac_res" >&5
39656 echo "${ECHO_T}$ac_res" >&6; }
39657 if test `eval echo '${'$as_ac_var'}'` = yes; then
39658 cat >>confdefs.h
<<_ACEOF
39659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39661 cat >>confdefs.h
<<\_ACEOF
39662 #define HAVE_INET_ATON 1
39667 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39668 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39669 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39670 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39671 echo $ECHO_N "(cached) $ECHO_C" >&6
39673 ac_check_lib_save_LIBS
=$LIBS
39674 LIBS
="-l$INET_LINK $LIBS"
39675 cat >conftest.
$ac_ext <<_ACEOF
39678 cat confdefs.h
>>conftest.
$ac_ext
39679 cat >>conftest.
$ac_ext <<_ACEOF
39680 /* end confdefs.h. */
39682 /* Override any GCC internal prototype to avoid an error.
39683 Use char because int might match the return type of a GCC
39684 builtin and then its argument prototype would still apply. */
39692 return inet_aton ();
39697 rm -f conftest.
$ac_objext conftest
$ac_exeext
39698 if { (ac_try
="$ac_link"
39699 case "(($ac_try" in
39700 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39701 *) ac_try_echo=$ac_try;;
39703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39704 (eval "$ac_link") 2>conftest.er1
39706 grep -v '^ *+' conftest.er1 >conftest.err
39708 cat conftest.err >&5
39709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39710 (exit $ac_status); } && {
39711 test -z "$ac_c_werror_flag" ||
39712 test ! -s conftest.err
39713 } && test -s conftest$ac_exeext &&
39714 $as_test_x conftest$ac_exeext; then
39715 eval "$as_ac_Lib=yes"
39717 echo "$as_me: failed program was:" >&5
39718 sed 's/^/| /' conftest.$ac_ext >&5
39720 eval "$as_ac_Lib=no"
39723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39724 conftest$ac_exeext conftest.$ac_ext
39725 LIBS=$ac_check_lib_save_LIBS
39727 ac_res=`eval echo '${'$as_ac_Lib'}'`
39728 { echo "$as_me:$LINENO: result: $ac_res" >&5
39729 echo "${ECHO_T}$ac_res" >&6; }
39730 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39731 cat >>confdefs.h <<\_ACEOF
39732 #define HAVE_INET_ATON 1
39742 if test "x$INET_LINK" != "x"; then
39743 cat >>confdefs.h <<\_ACEOF
39744 #define HAVE_INET_ADDR 1
39747 INET_LINK=" -l$INET_LINK"
39751 for wx_func in fdopen
39753 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39754 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39755 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39756 echo $ECHO_N "(cached) $ECHO_C" >&6
39759 cat >conftest.$ac_ext <<_ACEOF
39763 cat confdefs.h >>conftest.$ac_ext
39764 cat >>conftest.$ac_ext <<_ACEOF
39765 /* end confdefs.h. */
39768 $ac_includes_default
39784 rm -f conftest.$ac_objext conftest$ac_exeext
39785 if { (ac_try="$ac_link"
39786 case "(($ac_try" in
39787 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39788 *) ac_try_echo
=$ac_try;;
39790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39791 (eval "$ac_link") 2>conftest.er1
39793 grep -v '^ *+' conftest.er1
>conftest.err
39795 cat conftest.err
>&5
39796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39797 (exit $ac_status); } && {
39798 test -z "$ac_c_werror_flag" ||
39799 test ! -s conftest.err
39800 } && test -s conftest
$ac_exeext &&
39801 $as_test_x conftest
$ac_exeext; then
39802 eval wx_cv_func_
$wx_func=yes
39804 echo "$as_me: failed program was:" >&5
39805 sed 's/^/| /' conftest.
$ac_ext >&5
39807 eval wx_cv_func_
$wx_func=no
39810 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39811 conftest
$ac_exeext conftest.
$ac_ext
39814 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39815 { echo "$as_me:$LINENO: result: $ac_res" >&5
39816 echo "${ECHO_T}$ac_res" >&6; }
39818 if eval test \
$wx_cv_func_$wx_func = yes
39820 cat >>confdefs.h
<<_ACEOF
39821 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39832 if test "$wxUSE_TARSTREAM" = "yes"; then
39834 for wx_func
in sysconf
39836 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39837 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39838 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39839 echo $ECHO_N "(cached) $ECHO_C" >&6
39842 cat >conftest.
$ac_ext <<_ACEOF
39846 cat confdefs.h
>>conftest.
$ac_ext
39847 cat >>conftest.
$ac_ext <<_ACEOF
39848 /* end confdefs.h. */
39851 $ac_includes_default
39867 rm -f conftest.
$ac_objext conftest
$ac_exeext
39868 if { (ac_try
="$ac_link"
39869 case "(($ac_try" in
39870 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39871 *) ac_try_echo=$ac_try;;
39873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39874 (eval "$ac_link") 2>conftest.er1
39876 grep -v '^ *+' conftest.er1 >conftest.err
39878 cat conftest.err >&5
39879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39880 (exit $ac_status); } && {
39881 test -z "$ac_c_werror_flag" ||
39882 test ! -s conftest.err
39883 } && test -s conftest$ac_exeext &&
39884 $as_test_x conftest$ac_exeext; then
39885 eval wx_cv_func_$wx_func=yes
39887 echo "$as_me: failed program was:" >&5
39888 sed 's/^/| /' conftest.$ac_ext >&5
39890 eval wx_cv_func_$wx_func=no
39893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39894 conftest$ac_exeext conftest.$ac_ext
39897 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39898 { echo "$as_me:$LINENO: result: $ac_res" >&5
39899 echo "${ECHO_T}$ac_res" >&6; }
39901 if eval test \$wx_cv_func_$wx_func = yes
39903 cat >>confdefs.h <<_ACEOF
39904 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39916 for wx_func in getpwuid_r
39918 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39919 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39920 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39921 echo $ECHO_N "(cached) $ECHO_C" >&6
39924 cat >conftest.$ac_ext <<_ACEOF
39928 cat confdefs.h >>conftest.$ac_ext
39929 cat >>conftest.$ac_ext <<_ACEOF
39930 /* end confdefs.h. */
39936 $ac_includes_default
39946 struct passwd pw, *ppw;
39948 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
39956 rm -f conftest.$ac_objext conftest$ac_exeext
39957 if { (ac_try="$ac_link"
39958 case "(($ac_try" in
39959 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39960 *) ac_try_echo
=$ac_try;;
39962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39963 (eval "$ac_link") 2>conftest.er1
39965 grep -v '^ *+' conftest.er1
>conftest.err
39967 cat conftest.err
>&5
39968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39969 (exit $ac_status); } && {
39970 test -z "$ac_c_werror_flag" ||
39971 test ! -s conftest.err
39972 } && test -s conftest
$ac_exeext &&
39973 $as_test_x conftest
$ac_exeext; then
39974 eval wx_cv_func_
$wx_func=yes
39976 echo "$as_me: failed program was:" >&5
39977 sed 's/^/| /' conftest.
$ac_ext >&5
39979 eval wx_cv_func_
$wx_func=no
39982 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39983 conftest
$ac_exeext conftest.
$ac_ext
39986 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39987 { echo "$as_me:$LINENO: result: $ac_res" >&5
39988 echo "${ECHO_T}$ac_res" >&6; }
39990 if eval test \
$wx_cv_func_$wx_func = yes
39992 cat >>confdefs.h
<<_ACEOF
39993 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40005 for wx_func
in getgrgid_r
40007 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40008 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40009 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40010 echo $ECHO_N "(cached) $ECHO_C" >&6
40013 cat >conftest.
$ac_ext <<_ACEOF
40017 cat confdefs.h
>>conftest.
$ac_ext
40018 cat >>conftest.
$ac_ext <<_ACEOF
40019 /* end confdefs.h. */
40025 $ac_includes_default
40035 struct group grp, *pgrp;
40037 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
40045 rm -f conftest.
$ac_objext conftest
$ac_exeext
40046 if { (ac_try
="$ac_link"
40047 case "(($ac_try" in
40048 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40049 *) ac_try_echo=$ac_try;;
40051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40052 (eval "$ac_link") 2>conftest.er1
40054 grep -v '^ *+' conftest.er1 >conftest.err
40056 cat conftest.err >&5
40057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40058 (exit $ac_status); } && {
40059 test -z "$ac_c_werror_flag" ||
40060 test ! -s conftest.err
40061 } && test -s conftest$ac_exeext &&
40062 $as_test_x conftest$ac_exeext; then
40063 eval wx_cv_func_$wx_func=yes
40065 echo "$as_me: failed program was:" >&5
40066 sed 's/^/| /' conftest.$ac_ext >&5
40068 eval wx_cv_func_$wx_func=no
40071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40072 conftest$ac_exeext conftest.$ac_ext
40075 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40076 { echo "$as_me:$LINENO: result: $ac_res" >&5
40077 echo "${ECHO_T}$ac_res" >&6; }
40079 if eval test \$wx_cv_func_$wx_func = yes
40081 cat >>confdefs.h <<_ACEOF
40082 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40098 cat >confcache <<\_ACEOF
40099 # This file is a shell script that caches the results of configure
40100 # tests run on this system so they can be shared between configure
40101 # scripts and configure runs, see configure's option --config-cache.
40102 # It is not useful on other systems. If it contains results you don't
40103 # want to keep, you may remove or edit it.
40105 # config.status only pays attention to the cache file if you give it
40106 # the --recheck option to rerun configure.
40108 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
40109 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40110 # following values.
40114 # The following way of writing the cache mishandles newlines in values,
40115 # but we know of no workaround that is simple, portable, and efficient.
40116 # So, we kill variables containing newlines.
40117 # Ultrix sh set writes to stderr and can't be redirected directly,
40118 # and sets the high bit in the cache file unless we assign to the vars.
40120 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40121 eval ac_val
=\$
$ac_var
40125 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40126 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40129 _
| IFS
| as_nl
) ;; #(
40130 *) $as_unset $ac_var ;;
40136 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40137 *${as_nl}ac_space
=\
*)
40138 # `set' does not quote correctly, so add quotes (double-quote
40139 # substitution turns \\\\ into \\, and sed turns \\ into \).
40142 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40145 # `set' quotes correctly as required by POSIX, so do not add quotes.
40146 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40155 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40157 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40159 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
40160 if test -w "$cache_file"; then
40161 test "x$cache_file" != "x/dev/null" &&
40162 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40163 echo "$as_me: updating cache $cache_file" >&6;}
40164 cat confcache
>$cache_file
40166 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40167 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40173 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40179 if test "$wxUSE_THREADS" = "yes" ; then
40180 if test "$USE_BEOS" = 1; then
40181 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40182 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40187 if test "$wxUSE_THREADS" = "yes" ; then
40190 THREAD_OPTS
="-pthread"
40191 if test "x$SUNCXX" = xyes
; then
40192 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
40196 *-*-solaris2* | *-*-sunos4* )
40197 if test "x$GCC" = "xyes"; then
40198 THREAD_OPTS
="-pthreads $THREAD_OPTS"
40202 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
40204 *-*-darwin* | *-*-cygwin* )
40208 THREAD_OPTS
="pthreads"
40211 if test "x$GCC" = "xyes"; then
40212 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
40220 if test "x$GCC" = "xyes"; then
40230 if test "x$GCC" != "xyes"; then
40231 THREAD_OPTS
="-Ethread"
40238 THREAD_OPTS
="none pthread"
40242 THREAD_OPTS
="$THREAD_OPTS pthread none"
40247 for flag
in $THREAD_OPTS; do
40250 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40251 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40255 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40256 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40257 THREADS_CFLAGS
="$flag"
40261 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40262 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40263 THREADS_LINK
="-l$flag"
40268 save_CFLAGS
="$CFLAGS"
40269 LIBS
="$THREADS_LINK $LIBS"
40270 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
40272 cat >conftest.
$ac_ext <<_ACEOF
40275 cat confdefs.h
>>conftest.
$ac_ext
40276 cat >>conftest.
$ac_ext <<_ACEOF
40277 /* end confdefs.h. */
40278 #include <pthread.h>
40282 pthread_create(0,0,0,0);
40287 rm -f conftest.
$ac_objext conftest
$ac_exeext
40288 if { (ac_try
="$ac_link"
40289 case "(($ac_try" in
40290 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40291 *) ac_try_echo=$ac_try;;
40293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40294 (eval "$ac_link") 2>conftest.er1
40296 grep -v '^ *+' conftest.er1 >conftest.err
40298 cat conftest.err >&5
40299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40300 (exit $ac_status); } && {
40301 test -z "$ac_c_werror_flag" ||
40302 test ! -s conftest.err
40303 } && test -s conftest$ac_exeext &&
40304 $as_test_x conftest$ac_exeext; then
40307 echo "$as_me: failed program was:" >&5
40308 sed 's/^/| /' conftest.$ac_ext >&5
40313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40314 conftest$ac_exeext conftest.$ac_ext
40317 CFLAGS="$save_CFLAGS"
40319 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40320 echo "${ECHO_T}$THREADS_OK" >&6; }
40321 if test "x$THREADS_OK" = "xyes"; then
40329 if test "x$THREADS_OK" != "xyes"; then
40331 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40332 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40334 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40335 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40336 LIBS="$THREADS_LINK $LIBS"
40338 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40339 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40343 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40344 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40345 flag="-D_THREAD_SAFE"
40348 flag="-D_THREAD_SAFE"
40351 flag="-D_REENTRANT"
40352 if test "x$GCC" != "xyes"; then
40353 flag="$flag -D_RWSTD_MULTI_THREAD"
40356 *solaris* | alpha*-osf*)
40357 flag="-D_REENTRANT"
40360 { echo "$as_me:$LINENO: result: ${flag}" >&5
40361 echo "${ECHO_T}${flag}" >&6; }
40362 if test "x$flag" != xno; then
40363 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40366 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40370 if test "$wxUSE_THREADS" = "yes" ; then
40372 for ac_func in thr_setconcurrency
40374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40375 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40377 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40378 echo $ECHO_N "(cached) $ECHO_C" >&6
40380 cat >conftest.$ac_ext <<_ACEOF
40383 cat confdefs.h >>conftest.$ac_ext
40384 cat >>conftest.$ac_ext <<_ACEOF
40385 /* end confdefs.h. */
40386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40388 #define $ac_func innocuous_$ac_func
40390 /* System header to define __stub macros and hopefully few prototypes,
40391 which can conflict with char $ac_func (); below.
40392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40393 <limits.h> exists even on freestanding compilers. */
40396 # include <limits.h>
40398 # include <assert.h>
40403 /* Override any GCC internal prototype to avoid an error.
40404 Use char because int might match the return type of a GCC
40405 builtin and then its argument prototype would still apply. */
40410 /* The GNU C library defines this for functions which it implements
40411 to always fail with ENOSYS. Some functions are actually named
40412 something starting with __ and the normal name is an alias. */
40413 #if defined __stub_$ac_func || defined __stub___$ac_func
40420 return $ac_func ();
40425 rm -f conftest.$ac_objext conftest$ac_exeext
40426 if { (ac_try="$ac_link"
40427 case "(($ac_try" in
40428 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40429 *) ac_try_echo
=$ac_try;;
40431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40432 (eval "$ac_link") 2>conftest.er1
40434 grep -v '^ *+' conftest.er1
>conftest.err
40436 cat conftest.err
>&5
40437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40438 (exit $ac_status); } && {
40439 test -z "$ac_c_werror_flag" ||
40440 test ! -s conftest.err
40441 } && test -s conftest
$ac_exeext &&
40442 $as_test_x conftest
$ac_exeext; then
40443 eval "$as_ac_var=yes"
40445 echo "$as_me: failed program was:" >&5
40446 sed 's/^/| /' conftest.
$ac_ext >&5
40448 eval "$as_ac_var=no"
40451 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40452 conftest
$ac_exeext conftest.
$ac_ext
40454 ac_res
=`eval echo '${'$as_ac_var'}'`
40455 { echo "$as_me:$LINENO: result: $ac_res" >&5
40456 echo "${ECHO_T}$ac_res" >&6; }
40457 if test `eval echo '${'$as_ac_var'}'` = yes; then
40458 cat >>confdefs.h
<<_ACEOF
40459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40466 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40467 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40468 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40469 echo $ECHO_N "(cached) $ECHO_C" >&6
40473 ac_cpp
='$CXXCPP $CPPFLAGS'
40474 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40475 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40476 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40478 cat >conftest.
$ac_ext <<_ACEOF
40481 cat confdefs.h
>>conftest.
$ac_ext
40482 cat >>conftest.
$ac_ext <<_ACEOF
40483 /* end confdefs.h. */
40484 #include <pthread.h>
40485 void ThreadCleanupFunc(void *p);
40492 pthread_cleanup_push(ThreadCleanupFunc, p);
40493 pthread_cleanup_pop(0);
40499 rm -f conftest.
$ac_objext
40500 if { (ac_try
="$ac_compile"
40501 case "(($ac_try" in
40502 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40503 *) ac_try_echo=$ac_try;;
40505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40506 (eval "$ac_compile") 2>conftest.er1
40508 grep -v '^ *+' conftest.er1 >conftest.err
40510 cat conftest.err >&5
40511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40512 (exit $ac_status); } && {
40513 test -z "$ac_cxx_werror_flag" ||
40514 test ! -s conftest.err
40515 } && test -s conftest.$ac_objext; then
40517 wx_cv_func_pthread_cleanup=yes
40520 echo "$as_me: failed program was:" >&5
40521 sed 's/^/| /' conftest.$ac_ext >&5
40524 wx_cv_func_pthread_cleanup=no
40529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40531 ac_cpp='$CPP $CPPFLAGS'
40532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40538 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40539 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40540 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40541 cat >>confdefs.h <<\_ACEOF
40542 #define wxHAVE_PTHREAD_CLEANUP 1
40548 for ac_header in sched.h
40550 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40551 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40552 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40553 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40554 echo $ECHO_N "(cached) $ECHO_C" >&6
40556 cat >conftest.$ac_ext <<_ACEOF
40559 cat confdefs.h >>conftest.$ac_ext
40560 cat >>conftest.$ac_ext <<_ACEOF
40561 /* end confdefs.h. */
40562 $ac_includes_default
40564 #include <$ac_header>
40566 rm -f conftest.$ac_objext
40567 if { (ac_try="$ac_compile"
40568 case "(($ac_try" in
40569 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40570 *) ac_try_echo
=$ac_try;;
40572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40573 (eval "$ac_compile") 2>conftest.er1
40575 grep -v '^ *+' conftest.er1
>conftest.err
40577 cat conftest.err
>&5
40578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40579 (exit $ac_status); } && {
40580 test -z "$ac_c_werror_flag" ||
40581 test ! -s conftest.err
40582 } && test -s conftest.
$ac_objext; then
40583 eval "$as_ac_Header=yes"
40585 echo "$as_me: failed program was:" >&5
40586 sed 's/^/| /' conftest.
$ac_ext >&5
40588 eval "$as_ac_Header=no"
40591 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40593 ac_res
=`eval echo '${'$as_ac_Header'}'`
40594 { echo "$as_me:$LINENO: result: $ac_res" >&5
40595 echo "${ECHO_T}$ac_res" >&6; }
40596 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40597 cat >>confdefs.h
<<_ACEOF
40598 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40605 if test "$ac_cv_header_sched_h" = "yes"; then
40606 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40607 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40608 if test "${ac_cv_func_sched_yield+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 sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40619 #define sched_yield innocuous_sched_yield
40621 /* System header to define __stub macros and hopefully few prototypes,
40622 which can conflict with char sched_yield (); 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>
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 sched_yield ();
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_sched_yield || defined __stub___sched_yield
40651 return sched_yield ();
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_sched_yield=yes
40676 echo "$as_me: failed program was:" >&5
40677 sed 's/^/| /' conftest.$ac_ext >&5
40679 ac_cv_func_sched_yield=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_sched_yield" >&5
40686 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40687 if test $ac_cv_func_sched_yield = yes; then
40688 cat >>confdefs.h <<\_ACEOF
40689 #define HAVE_SCHED_YIELD 1
40694 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40695 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40696 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40697 echo $ECHO_N "(cached) $ECHO_C" >&6
40699 ac_check_lib_save_LIBS=$LIBS
40700 LIBS="-lposix4 $LIBS"
40701 cat >conftest.$ac_ext <<_ACEOF
40704 cat confdefs.h >>conftest.$ac_ext
40705 cat >>conftest.$ac_ext <<_ACEOF
40706 /* end confdefs.h. */
40708 /* Override any GCC internal prototype to avoid an error.
40709 Use char because int might match the return type of a GCC
40710 builtin and then its argument prototype would still apply. */
40714 char sched_yield ();
40718 return sched_yield ();
40723 rm -f conftest.$ac_objext conftest$ac_exeext
40724 if { (ac_try="$ac_link"
40725 case "(($ac_try" in
40726 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40727 *) ac_try_echo
=$ac_try;;
40729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40730 (eval "$ac_link") 2>conftest.er1
40732 grep -v '^ *+' conftest.er1
>conftest.err
40734 cat conftest.err
>&5
40735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40736 (exit $ac_status); } && {
40737 test -z "$ac_c_werror_flag" ||
40738 test ! -s conftest.err
40739 } && test -s conftest
$ac_exeext &&
40740 $as_test_x conftest
$ac_exeext; then
40741 ac_cv_lib_posix4_sched_yield
=yes
40743 echo "$as_me: failed program was:" >&5
40744 sed 's/^/| /' conftest.
$ac_ext >&5
40746 ac_cv_lib_posix4_sched_yield
=no
40749 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40750 conftest
$ac_exeext conftest.
$ac_ext
40751 LIBS
=$ac_check_lib_save_LIBS
40753 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40754 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40755 if test $ac_cv_lib_posix4_sched_yield = yes; then
40756 cat >>confdefs.h
<<\_ACEOF
40757 #define HAVE_SCHED_YIELD 1
40759 POSIX4_LINK
=" -lposix4"
40761 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40762 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40773 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40774 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40775 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40776 echo $ECHO_N "(cached) $ECHO_C" >&6
40778 cat >conftest.
$ac_ext <<_ACEOF
40781 cat confdefs.h
>>conftest.
$ac_ext
40782 cat >>conftest.
$ac_ext <<_ACEOF
40783 /* end confdefs.h. */
40784 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40786 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40788 /* System header to define __stub macros and hopefully few prototypes,
40789 which can conflict with char pthread_attr_getschedpolicy (); below.
40790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40791 <limits.h> exists even on freestanding compilers. */
40794 # include <limits.h>
40796 # include <assert.h>
40799 #undef pthread_attr_getschedpolicy
40801 /* Override any GCC internal prototype to avoid an error.
40802 Use char because int might match the return type of a GCC
40803 builtin and then its argument prototype would still apply. */
40807 char pthread_attr_getschedpolicy ();
40808 /* The GNU C library defines this for functions which it implements
40809 to always fail with ENOSYS. Some functions are actually named
40810 something starting with __ and the normal name is an alias. */
40811 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40818 return pthread_attr_getschedpolicy ();
40823 rm -f conftest.
$ac_objext conftest
$ac_exeext
40824 if { (ac_try
="$ac_link"
40825 case "(($ac_try" in
40826 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40827 *) ac_try_echo=$ac_try;;
40829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40830 (eval "$ac_link") 2>conftest.er1
40832 grep -v '^ *+' conftest.er1 >conftest.err
40834 cat conftest.err >&5
40835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40836 (exit $ac_status); } && {
40837 test -z "$ac_c_werror_flag" ||
40838 test ! -s conftest.err
40839 } && test -s conftest$ac_exeext &&
40840 $as_test_x conftest$ac_exeext; then
40841 ac_cv_func_pthread_attr_getschedpolicy=yes
40843 echo "$as_me: failed program was:" >&5
40844 sed 's/^/| /' conftest.$ac_ext >&5
40846 ac_cv_func_pthread_attr_getschedpolicy=no
40849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40850 conftest$ac_exeext conftest.$ac_ext
40852 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40853 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40854 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40855 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40856 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40857 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40858 echo $ECHO_N "(cached) $ECHO_C" >&6
40860 cat >conftest.$ac_ext <<_ACEOF
40863 cat confdefs.h >>conftest.$ac_ext
40864 cat >>conftest.$ac_ext <<_ACEOF
40865 /* end confdefs.h. */
40866 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40868 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40870 /* System header to define __stub macros and hopefully few prototypes,
40871 which can conflict with char pthread_attr_setschedparam (); below.
40872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40873 <limits.h> exists even on freestanding compilers. */
40876 # include <limits.h>
40878 # include <assert.h>
40881 #undef pthread_attr_setschedparam
40883 /* Override any GCC internal prototype to avoid an error.
40884 Use char because int might match the return type of a GCC
40885 builtin and then its argument prototype would still apply. */
40889 char pthread_attr_setschedparam ();
40890 /* The GNU C library defines this for functions which it implements
40891 to always fail with ENOSYS. Some functions are actually named
40892 something starting with __ and the normal name is an alias. */
40893 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
40900 return pthread_attr_setschedparam ();
40905 rm -f conftest.$ac_objext conftest$ac_exeext
40906 if { (ac_try="$ac_link"
40907 case "(($ac_try" in
40908 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40909 *) ac_try_echo
=$ac_try;;
40911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40912 (eval "$ac_link") 2>conftest.er1
40914 grep -v '^ *+' conftest.er1
>conftest.err
40916 cat conftest.err
>&5
40917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40918 (exit $ac_status); } && {
40919 test -z "$ac_c_werror_flag" ||
40920 test ! -s conftest.err
40921 } && test -s conftest
$ac_exeext &&
40922 $as_test_x conftest
$ac_exeext; then
40923 ac_cv_func_pthread_attr_setschedparam
=yes
40925 echo "$as_me: failed program was:" >&5
40926 sed 's/^/| /' conftest.
$ac_ext >&5
40928 ac_cv_func_pthread_attr_setschedparam
=no
40931 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40932 conftest
$ac_exeext conftest.
$ac_ext
40934 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40935 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
40936 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40937 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40938 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
40939 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40940 echo $ECHO_N "(cached) $ECHO_C" >&6
40942 cat >conftest.
$ac_ext <<_ACEOF
40945 cat confdefs.h
>>conftest.
$ac_ext
40946 cat >>conftest.
$ac_ext <<_ACEOF
40947 /* end confdefs.h. */
40948 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40950 #define sched_get_priority_max innocuous_sched_get_priority_max
40952 /* System header to define __stub macros and hopefully few prototypes,
40953 which can conflict with char sched_get_priority_max (); below.
40954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40955 <limits.h> exists even on freestanding compilers. */
40958 # include <limits.h>
40960 # include <assert.h>
40963 #undef sched_get_priority_max
40965 /* Override any GCC internal prototype to avoid an error.
40966 Use char because int might match the return type of a GCC
40967 builtin and then its argument prototype would still apply. */
40971 char sched_get_priority_max ();
40972 /* The GNU C library defines this for functions which it implements
40973 to always fail with ENOSYS. Some functions are actually named
40974 something starting with __ and the normal name is an alias. */
40975 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
40982 return sched_get_priority_max ();
40987 rm -f conftest.
$ac_objext conftest
$ac_exeext
40988 if { (ac_try
="$ac_link"
40989 case "(($ac_try" in
40990 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40991 *) ac_try_echo=$ac_try;;
40993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40994 (eval "$ac_link") 2>conftest.er1
40996 grep -v '^ *+' conftest.er1 >conftest.err
40998 cat conftest.err >&5
40999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41000 (exit $ac_status); } && {
41001 test -z "$ac_c_werror_flag" ||
41002 test ! -s conftest.err
41003 } && test -s conftest$ac_exeext &&
41004 $as_test_x conftest$ac_exeext; then
41005 ac_cv_func_sched_get_priority_max=yes
41007 echo "$as_me: failed program was:" >&5
41008 sed 's/^/| /' conftest.$ac_ext >&5
41010 ac_cv_func_sched_get_priority_max=no
41013 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41014 conftest$ac_exeext conftest.$ac_ext
41016 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41017 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41018 if test $ac_cv_func_sched_get_priority_max = yes; then
41021 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41022 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41023 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41024 echo $ECHO_N "(cached) $ECHO_C" >&6
41026 ac_check_lib_save_LIBS=$LIBS
41027 LIBS="-lposix4 $LIBS"
41028 cat >conftest.$ac_ext <<_ACEOF
41031 cat confdefs.h >>conftest.$ac_ext
41032 cat >>conftest.$ac_ext <<_ACEOF
41033 /* end confdefs.h. */
41035 /* Override any GCC internal prototype to avoid an error.
41036 Use char because int might match the return type of a GCC
41037 builtin and then its argument prototype would still apply. */
41041 char sched_get_priority_max ();
41045 return sched_get_priority_max ();
41050 rm -f conftest.$ac_objext conftest$ac_exeext
41051 if { (ac_try="$ac_link"
41052 case "(($ac_try" in
41053 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41054 *) ac_try_echo
=$ac_try;;
41056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41057 (eval "$ac_link") 2>conftest.er1
41059 grep -v '^ *+' conftest.er1
>conftest.err
41061 cat conftest.err
>&5
41062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41063 (exit $ac_status); } && {
41064 test -z "$ac_c_werror_flag" ||
41065 test ! -s conftest.err
41066 } && test -s conftest
$ac_exeext &&
41067 $as_test_x conftest
$ac_exeext; then
41068 ac_cv_lib_posix4_sched_get_priority_max
=yes
41070 echo "$as_me: failed program was:" >&5
41071 sed 's/^/| /' conftest.
$ac_ext >&5
41073 ac_cv_lib_posix4_sched_get_priority_max
=no
41076 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41077 conftest
$ac_exeext conftest.
$ac_ext
41078 LIBS
=$ac_check_lib_save_LIBS
41080 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41081 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41082 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41085 POSIX4_LINK
=" -lposix4"
41099 if test "$HAVE_PRIOR_FUNCS" = 1; then
41100 cat >>confdefs.h
<<\_ACEOF
41101 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41105 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41106 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41109 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41110 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41111 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41112 echo $ECHO_N "(cached) $ECHO_C" >&6
41114 cat >conftest.
$ac_ext <<_ACEOF
41117 cat confdefs.h
>>conftest.
$ac_ext
41118 cat >>conftest.
$ac_ext <<_ACEOF
41119 /* end confdefs.h. */
41120 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41122 #define pthread_cancel innocuous_pthread_cancel
41124 /* System header to define __stub macros and hopefully few prototypes,
41125 which can conflict with char pthread_cancel (); below.
41126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41127 <limits.h> exists even on freestanding compilers. */
41130 # include <limits.h>
41132 # include <assert.h>
41135 #undef pthread_cancel
41137 /* Override any GCC internal prototype to avoid an error.
41138 Use char because int might match the return type of a GCC
41139 builtin and then its argument prototype would still apply. */
41143 char pthread_cancel ();
41144 /* The GNU C library defines this for functions which it implements
41145 to always fail with ENOSYS. Some functions are actually named
41146 something starting with __ and the normal name is an alias. */
41147 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41154 return pthread_cancel ();
41159 rm -f conftest.
$ac_objext conftest
$ac_exeext
41160 if { (ac_try
="$ac_link"
41161 case "(($ac_try" in
41162 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41163 *) ac_try_echo=$ac_try;;
41165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41166 (eval "$ac_link") 2>conftest.er1
41168 grep -v '^ *+' conftest.er1 >conftest.err
41170 cat conftest.err >&5
41171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41172 (exit $ac_status); } && {
41173 test -z "$ac_c_werror_flag" ||
41174 test ! -s conftest.err
41175 } && test -s conftest$ac_exeext &&
41176 $as_test_x conftest$ac_exeext; then
41177 ac_cv_func_pthread_cancel=yes
41179 echo "$as_me: failed program was:" >&5
41180 sed 's/^/| /' conftest.$ac_ext >&5
41182 ac_cv_func_pthread_cancel=no
41185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41186 conftest$ac_exeext conftest.$ac_ext
41188 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41189 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41190 if test $ac_cv_func_pthread_cancel = yes; then
41191 cat >>confdefs.h <<\_ACEOF
41192 #define HAVE_PTHREAD_CANCEL 1
41196 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41197 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41201 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41202 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41203 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41204 echo $ECHO_N "(cached) $ECHO_C" >&6
41206 cat >conftest.$ac_ext <<_ACEOF
41209 cat confdefs.h >>conftest.$ac_ext
41210 cat >>conftest.$ac_ext <<_ACEOF
41211 /* end confdefs.h. */
41212 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41214 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41216 /* System header to define __stub macros and hopefully few prototypes,
41217 which can conflict with char pthread_mutex_timedlock (); below.
41218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41219 <limits.h> exists even on freestanding compilers. */
41222 # include <limits.h>
41224 # include <assert.h>
41227 #undef pthread_mutex_timedlock
41229 /* Override any GCC internal prototype to avoid an error.
41230 Use char because int might match the return type of a GCC
41231 builtin and then its argument prototype would still apply. */
41235 char pthread_mutex_timedlock ();
41236 /* The GNU C library defines this for functions which it implements
41237 to always fail with ENOSYS. Some functions are actually named
41238 something starting with __ and the normal name is an alias. */
41239 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41246 return pthread_mutex_timedlock ();
41251 rm -f conftest.$ac_objext conftest$ac_exeext
41252 if { (ac_try="$ac_link"
41253 case "(($ac_try" in
41254 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41255 *) ac_try_echo
=$ac_try;;
41257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41258 (eval "$ac_link") 2>conftest.er1
41260 grep -v '^ *+' conftest.er1
>conftest.err
41262 cat conftest.err
>&5
41263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41264 (exit $ac_status); } && {
41265 test -z "$ac_c_werror_flag" ||
41266 test ! -s conftest.err
41267 } && test -s conftest
$ac_exeext &&
41268 $as_test_x conftest
$ac_exeext; then
41269 ac_cv_func_pthread_mutex_timedlock
=yes
41271 echo "$as_me: failed program was:" >&5
41272 sed 's/^/| /' conftest.
$ac_ext >&5
41274 ac_cv_func_pthread_mutex_timedlock
=no
41277 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41278 conftest
$ac_exeext conftest.
$ac_ext
41280 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41281 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41282 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41283 cat >>confdefs.h
<<\_ACEOF
41284 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41288 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41289 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41293 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41294 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41295 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41296 echo $ECHO_N "(cached) $ECHO_C" >&6
41298 cat >conftest.
$ac_ext <<_ACEOF
41301 cat confdefs.h
>>conftest.
$ac_ext
41302 cat >>conftest.
$ac_ext <<_ACEOF
41303 /* end confdefs.h. */
41304 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41306 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41308 /* System header to define __stub macros and hopefully few prototypes,
41309 which can conflict with char pthread_attr_setstacksize (); below.
41310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41311 <limits.h> exists even on freestanding compilers. */
41314 # include <limits.h>
41316 # include <assert.h>
41319 #undef pthread_attr_setstacksize
41321 /* Override any GCC internal prototype to avoid an error.
41322 Use char because int might match the return type of a GCC
41323 builtin and then its argument prototype would still apply. */
41327 char pthread_attr_setstacksize ();
41328 /* The GNU C library defines this for functions which it implements
41329 to always fail with ENOSYS. Some functions are actually named
41330 something starting with __ and the normal name is an alias. */
41331 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41338 return pthread_attr_setstacksize ();
41343 rm -f conftest.
$ac_objext conftest
$ac_exeext
41344 if { (ac_try
="$ac_link"
41345 case "(($ac_try" in
41346 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41347 *) ac_try_echo=$ac_try;;
41349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41350 (eval "$ac_link") 2>conftest.er1
41352 grep -v '^ *+' conftest.er1 >conftest.err
41354 cat conftest.err >&5
41355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41356 (exit $ac_status); } && {
41357 test -z "$ac_c_werror_flag" ||
41358 test ! -s conftest.err
41359 } && test -s conftest$ac_exeext &&
41360 $as_test_x conftest$ac_exeext; then
41361 ac_cv_func_pthread_attr_setstacksize=yes
41363 echo "$as_me: failed program was:" >&5
41364 sed 's/^/| /' conftest.$ac_ext >&5
41366 ac_cv_func_pthread_attr_setstacksize=no
41369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41370 conftest$ac_exeext conftest.$ac_ext
41372 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41373 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41374 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41375 cat >>confdefs.h <<\_ACEOF
41376 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41383 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41384 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41385 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41386 echo $ECHO_N "(cached) $ECHO_C" >&6
41389 cat >conftest.$ac_ext <<_ACEOF
41392 cat confdefs.h >>conftest.$ac_ext
41393 cat >>conftest.$ac_ext <<_ACEOF
41394 /* end confdefs.h. */
41395 #include <pthread.h>
41400 pthread_mutexattr_t attr;
41401 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41407 rm -f conftest.$ac_objext
41408 if { (ac_try="$ac_compile"
41409 case "(($ac_try" in
41410 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41411 *) ac_try_echo
=$ac_try;;
41413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41414 (eval "$ac_compile") 2>conftest.er1
41416 grep -v '^ *+' conftest.er1
>conftest.err
41418 cat conftest.err
>&5
41419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41420 (exit $ac_status); } && {
41421 test -z "$ac_c_werror_flag" ||
41422 test ! -s conftest.err
41423 } && test -s conftest.
$ac_objext; then
41424 wx_cv_type_pthread_mutexattr_t
=yes
41426 echo "$as_me: failed program was:" >&5
41427 sed 's/^/| /' conftest.
$ac_ext >&5
41429 wx_cv_type_pthread_mutexattr_t
=no
41433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41436 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41437 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41439 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41440 cat >>confdefs.h
<<\_ACEOF
41441 #define HAVE_PTHREAD_MUTEXATTR_T 1
41445 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41446 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41447 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41448 echo $ECHO_N "(cached) $ECHO_C" >&6
41451 cat >conftest.
$ac_ext <<_ACEOF
41454 cat confdefs.h
>>conftest.
$ac_ext
41455 cat >>conftest.
$ac_ext <<_ACEOF
41456 /* end confdefs.h. */
41457 #include <pthread.h>
41462 pthread_mutexattr_t attr;
41463 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41469 rm -f conftest.
$ac_objext
41470 if { (ac_try
="$ac_compile"
41471 case "(($ac_try" in
41472 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41473 *) ac_try_echo=$ac_try;;
41475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41476 (eval "$ac_compile") 2>conftest.er1
41478 grep -v '^ *+' conftest.er1 >conftest.err
41480 cat conftest.err >&5
41481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41482 (exit $ac_status); } && {
41483 test -z "$ac_c_werror_flag" ||
41484 test ! -s conftest.err
41485 } && test -s conftest.$ac_objext; then
41486 wx_cv_func_pthread_mutexattr_settype_decl=yes
41488 echo "$as_me: failed program was:" >&5
41489 sed 's/^/| /' conftest.$ac_ext >&5
41491 wx_cv_func_pthread_mutexattr_settype_decl=no
41495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41498 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41499 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41500 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41501 cat >>confdefs.h <<\_ACEOF
41502 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41507 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41508 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41509 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41510 echo $ECHO_N "(cached) $ECHO_C" >&6
41513 cat >conftest.$ac_ext <<_ACEOF
41516 cat confdefs.h >>conftest.$ac_ext
41517 cat >>conftest.$ac_ext <<_ACEOF
41518 /* end confdefs.h. */
41519 #include <pthread.h>
41524 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41530 rm -f conftest.$ac_objext
41531 if { (ac_try="$ac_compile"
41532 case "(($ac_try" in
41533 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41534 *) ac_try_echo
=$ac_try;;
41536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41537 (eval "$ac_compile") 2>conftest.er1
41539 grep -v '^ *+' conftest.er1
>conftest.err
41541 cat conftest.err
>&5
41542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41543 (exit $ac_status); } && {
41544 test -z "$ac_c_werror_flag" ||
41545 test ! -s conftest.err
41546 } && test -s conftest.
$ac_objext; then
41548 wx_cv_type_pthread_rec_mutex_init
=yes
41551 echo "$as_me: failed program was:" >&5
41552 sed 's/^/| /' conftest.
$ac_ext >&5
41555 wx_cv_type_pthread_rec_mutex_init
=no
41560 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41563 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41564 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41565 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41566 cat >>confdefs.h
<<\_ACEOF
41567 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41571 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41572 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41576 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41577 if test "$USE_NETBSD" = 1; then
41578 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41579 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41580 wxUSE_COMPILER_TLS
=no
41582 wxUSE_COMPILER_TLS
=yes
41586 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41587 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41588 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41589 if test "${wx_cv_cc___thread+set}" = set; then
41590 echo $ECHO_N "(cached) $ECHO_C" >&6
41593 cat >conftest.
$ac_ext <<_ACEOF
41596 cat confdefs.h
>>conftest.
$ac_ext
41597 cat >>conftest.
$ac_ext <<_ACEOF
41598 /* end confdefs.h. */
41599 #include <pthread.h>
41604 static __thread int n = 0;
41605 static __thread int *p = 0;
41611 rm -f conftest.
$ac_objext
41612 if { (ac_try
="$ac_compile"
41613 case "(($ac_try" in
41614 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41615 *) ac_try_echo=$ac_try;;
41617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41618 (eval "$ac_compile") 2>conftest.er1
41620 grep -v '^ *+' conftest.er1 >conftest.err
41622 cat conftest.err >&5
41623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41624 (exit $ac_status); } && {
41625 test -z "$ac_c_werror_flag" ||
41626 test ! -s conftest.err
41627 } && test -s conftest.$ac_objext; then
41628 wx_cv_cc___thread=yes
41630 echo "$as_me: failed program was:" >&5
41631 sed 's/^/| /' conftest.$ac_ext >&5
41633 wx_cv_cc___thread=no
41637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41641 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41642 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41644 if test "$wx_cv_cc___thread" = "yes"; then
41650 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41651 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41653 if test "x$GCC" = "xyes" ; then
41655 if test -z "" ; then
41657 ax_gcc_option_test="int main()
41664 ax_gcc_option_test=""
41669 # Dump the test program to file
41670 cat <<EOF > conftest.c
41671 $ax_gcc_option_test
41674 # Dump back the file to the log, useful for debugging purposes
41675 { ac_try='cat conftest.c 1>&5'
41676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41677 (eval $ac_try) 2>&5
41679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41680 (exit $ac_status); }; }
41682 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41684 (eval $ac_try) 2>&5
41686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41687 (exit $ac_status); }; } ; then
41689 { echo "$as_me:$LINENO: result: yes" >&5
41690 echo "${ECHO_T}yes" >&6; }
41692 ax_gcc_version_option=yes
41697 { echo "$as_me:$LINENO: result: no" >&5
41698 echo "${ECHO_T}no" >&6; }
41700 ax_gcc_version_option=no
41708 { echo "$as_me:$LINENO: result: no gcc available" >&5
41709 echo "${ECHO_T}no gcc available" >&6; }
41714 if test "x$GXX" = "xyes"; then
41716 if test "x$ax_gxx_version_option" != "no"; then
41718 { echo "$as_me:$LINENO: checking gxx version" >&5
41719 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41720 if test "${ax_cv_gxx_version+set}" = set; then
41721 echo $ECHO_N "(cached) $ECHO_C" >&6
41724 ax_cv_gxx_version="`$CXX -dumpversion`"
41725 if test "x$ax_cv_gxx_version" = "x"; then
41727 ax_cv_gxx_version=""
41733 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41734 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41735 GXX_VERSION=$ax_cv_gxx_version
41744 if test -n "$ax_cv_gxx_version"; then
41745 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41746 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41747 case "$ax_cv_gxx_version" in
41749 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41750 echo "${ECHO_T}no, it's broken" >&6; }
41751 wx_cv_cc___thread=no
41754 { echo "$as_me:$LINENO: result: yes, it works" >&5
41755 echo "${ECHO_T}yes, it works" >&6; }
41761 if test "$wx_cv_cc___thread" = "yes"; then
41762 cat >>confdefs.h <<\_ACEOF
41763 #define HAVE___THREAD_KEYWORD 1
41771 if test "$wxUSE_THREADS" = "yes" ; then
41773 x86_64-*-mingw32* )
41776 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41777 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41778 if test "${wx_cv_cflags_mthread+set}" = set; then
41779 echo $ECHO_N "(cached) $ECHO_C" >&6
41782 CFLAGS_OLD="$CFLAGS"
41783 CFLAGS="-mthreads $CFLAGS"
41784 cat >conftest.$ac_ext <<_ACEOF
41787 cat confdefs.h >>conftest.$ac_ext
41788 cat >>conftest.$ac_ext <<_ACEOF
41789 /* end confdefs.h. */
41799 rm -f conftest.$ac_objext
41800 if { (ac_try="$ac_compile"
41801 case "(($ac_try" in
41802 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41803 *) ac_try_echo
=$ac_try;;
41805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41806 (eval "$ac_compile") 2>conftest.er1
41808 grep -v '^ *+' conftest.er1
>conftest.err
41810 cat conftest.err
>&5
41811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41812 (exit $ac_status); } && {
41813 test -z "$ac_c_werror_flag" ||
41814 test ! -s conftest.err
41815 } && test -s conftest.
$ac_objext; then
41816 wx_cv_cflags_mthread
=yes
41818 echo "$as_me: failed program was:" >&5
41819 sed 's/^/| /' conftest.
$ac_ext >&5
41821 wx_cv_cflags_mthread
=no
41825 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41829 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41830 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41832 if test "$wx_cv_cflags_mthread" = "yes"; then
41833 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
41834 LDFLAGS
="$LDFLAGS -mthreads"
41836 CFLAGS
="$CFLAGS_OLD"
41840 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41841 LDFLAGS
="$LDFLAGS -Zmt"
41847 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41848 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41849 if test "${ac_cv_func_localtime_r+set}" = set; then
41850 echo $ECHO_N "(cached) $ECHO_C" >&6
41852 cat >conftest.
$ac_ext <<_ACEOF
41855 cat confdefs.h
>>conftest.
$ac_ext
41856 cat >>conftest.
$ac_ext <<_ACEOF
41857 /* end confdefs.h. */
41858 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41860 #define localtime_r innocuous_localtime_r
41862 /* System header to define __stub macros and hopefully few prototypes,
41863 which can conflict with char localtime_r (); below.
41864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41865 <limits.h> exists even on freestanding compilers. */
41868 # include <limits.h>
41870 # include <assert.h>
41875 /* Override any GCC internal prototype to avoid an error.
41876 Use char because int might match the return type of a GCC
41877 builtin and then its argument prototype would still apply. */
41881 char localtime_r ();
41882 /* The GNU C library defines this for functions which it implements
41883 to always fail with ENOSYS. Some functions are actually named
41884 something starting with __ and the normal name is an alias. */
41885 #if defined __stub_localtime_r || defined __stub___localtime_r
41892 return localtime_r ();
41897 rm -f conftest.
$ac_objext conftest
$ac_exeext
41898 if { (ac_try
="$ac_link"
41899 case "(($ac_try" in
41900 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41901 *) ac_try_echo=$ac_try;;
41903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41904 (eval "$ac_link") 2>conftest.er1
41906 grep -v '^ *+' conftest.er1 >conftest.err
41908 cat conftest.err >&5
41909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41910 (exit $ac_status); } && {
41911 test -z "$ac_c_werror_flag" ||
41912 test ! -s conftest.err
41913 } && test -s conftest$ac_exeext &&
41914 $as_test_x conftest$ac_exeext; then
41915 ac_cv_func_localtime_r=yes
41917 echo "$as_me: failed program was:" >&5
41918 sed 's/^/| /' conftest.$ac_ext >&5
41920 ac_cv_func_localtime_r=no
41923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41924 conftest$ac_exeext conftest.$ac_ext
41926 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41927 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
41928 if test $ac_cv_func_localtime_r = yes; then
41929 cat >>confdefs.h <<\_ACEOF
41930 #define HAVE_LOCALTIME_R 1
41935 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
41936 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
41937 if test "${ac_cv_func_gmtime_r+set}" = set; then
41938 echo $ECHO_N "(cached) $ECHO_C" >&6
41940 cat >conftest.$ac_ext <<_ACEOF
41943 cat confdefs.h >>conftest.$ac_ext
41944 cat >>conftest.$ac_ext <<_ACEOF
41945 /* end confdefs.h. */
41946 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41948 #define gmtime_r innocuous_gmtime_r
41950 /* System header to define __stub macros and hopefully few prototypes,
41951 which can conflict with char gmtime_r (); below.
41952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41953 <limits.h> exists even on freestanding compilers. */
41956 # include <limits.h>
41958 # include <assert.h>
41963 /* Override any GCC internal prototype to avoid an error.
41964 Use char because int might match the return type of a GCC
41965 builtin and then its argument prototype would still apply. */
41970 /* The GNU C library defines this for functions which it implements
41971 to always fail with ENOSYS. Some functions are actually named
41972 something starting with __ and the normal name is an alias. */
41973 #if defined __stub_gmtime_r || defined __stub___gmtime_r
41980 return gmtime_r ();
41985 rm -f conftest.$ac_objext conftest$ac_exeext
41986 if { (ac_try="$ac_link"
41987 case "(($ac_try" in
41988 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41989 *) ac_try_echo
=$ac_try;;
41991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41992 (eval "$ac_link") 2>conftest.er1
41994 grep -v '^ *+' conftest.er1
>conftest.err
41996 cat conftest.err
>&5
41997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41998 (exit $ac_status); } && {
41999 test -z "$ac_c_werror_flag" ||
42000 test ! -s conftest.err
42001 } && test -s conftest
$ac_exeext &&
42002 $as_test_x conftest
$ac_exeext; then
42003 ac_cv_func_gmtime_r
=yes
42005 echo "$as_me: failed program was:" >&5
42006 sed 's/^/| /' conftest.
$ac_ext >&5
42008 ac_cv_func_gmtime_r
=no
42011 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42012 conftest
$ac_exeext conftest.
$ac_ext
42014 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42015 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42016 if test $ac_cv_func_gmtime_r = yes; then
42017 cat >>confdefs.h
<<\_ACEOF
42018 #define HAVE_GMTIME_R 1
42027 ac_cpp
='$CPP $CPPFLAGS'
42028 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42029 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42030 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42032 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42033 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42035 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42036 echo $ECHO_N "(cached) $ECHO_C" >&6
42040 ################################################################
42042 ac_cv_func_which_gethostbyname_r
=unknown
42045 # ONE ARGUMENT (sanity check)
42048 # This should fail, as there is no variant of gethostbyname_r() that takes
42049 # a single argument. If it actually compiles, then we can assume that
42050 # netdb.h is not declaring the function, and the compiler is thereby
42051 # assuming an implicit prototype. In which case, we're out of luck.
42053 cat >conftest.
$ac_ext <<_ACEOF
42056 cat confdefs.h
>>conftest.
$ac_ext
42057 cat >>conftest.
$ac_ext <<_ACEOF
42058 /* end confdefs.h. */
42064 char *name = "www.gnu.org";
42065 (void)gethostbyname_r(name) /* ; */
42071 rm -f conftest.
$ac_objext
42072 if { (ac_try
="$ac_compile"
42073 case "(($ac_try" in
42074 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42075 *) ac_try_echo=$ac_try;;
42077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42078 (eval "$ac_compile") 2>conftest.er1
42080 grep -v '^ *+' conftest.er1 >conftest.err
42082 cat conftest.err >&5
42083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42084 (exit $ac_status); } && {
42085 test -z "$ac_c_werror_flag" ||
42086 test ! -s conftest.err
42087 } && test -s conftest.$ac_objext; then
42088 ac_cv_func_which_gethostbyname_r=no
42090 echo "$as_me: failed program was:" >&5
42091 sed 's/^/| /' conftest.$ac_ext >&5
42096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42103 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42105 cat >conftest.$ac_ext <<_ACEOF
42108 cat confdefs.h >>conftest.$ac_ext
42109 cat >>conftest.$ac_ext <<_ACEOF
42110 /* end confdefs.h. */
42116 char *name = "www.gnu.org";
42117 struct hostent ret, *retp;
42121 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42127 rm -f conftest.$ac_objext
42128 if { (ac_try="$ac_compile"
42129 case "(($ac_try" in
42130 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42131 *) ac_try_echo
=$ac_try;;
42133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42134 (eval "$ac_compile") 2>conftest.er1
42136 grep -v '^ *+' conftest.er1
>conftest.err
42138 cat conftest.err
>&5
42139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42140 (exit $ac_status); } && {
42141 test -z "$ac_c_werror_flag" ||
42142 test ! -s conftest.err
42143 } && test -s conftest.
$ac_objext; then
42144 ac_cv_func_which_gethostbyname_r
=six
42146 echo "$as_me: failed program was:" >&5
42147 sed 's/^/| /' conftest.
$ac_ext >&5
42152 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42161 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42163 cat >conftest.
$ac_ext <<_ACEOF
42166 cat confdefs.h
>>conftest.
$ac_ext
42167 cat >>conftest.
$ac_ext <<_ACEOF
42168 /* end confdefs.h. */
42174 char *name = "www.gnu.org";
42175 struct hostent ret;
42179 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42185 rm -f conftest.
$ac_objext
42186 if { (ac_try
="$ac_compile"
42187 case "(($ac_try" in
42188 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42189 *) ac_try_echo=$ac_try;;
42191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42192 (eval "$ac_compile") 2>conftest.er1
42194 grep -v '^ *+' conftest.er1 >conftest.err
42196 cat conftest.err >&5
42197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42198 (exit $ac_status); } && {
42199 test -z "$ac_c_werror_flag" ||
42200 test ! -s conftest.err
42201 } && test -s conftest.$ac_objext; then
42202 ac_cv_func_which_gethostbyname_r=five
42204 echo "$as_me: failed program was:" >&5
42205 sed 's/^/| /' conftest.$ac_ext >&5
42210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42216 # (e.g. AIX, HP-UX, Tru64)
42219 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42221 cat >conftest.$ac_ext <<_ACEOF
42224 cat confdefs.h >>conftest.$ac_ext
42225 cat >>conftest.$ac_ext <<_ACEOF
42226 /* end confdefs.h. */
42232 char *name = "www.gnu.org";
42233 struct hostent ret;
42234 struct hostent_data data;
42235 (void)gethostbyname_r(name, &ret, &data) /* ; */
42241 rm -f conftest.$ac_objext
42242 if { (ac_try="$ac_compile"
42243 case "(($ac_try" in
42244 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42245 *) ac_try_echo
=$ac_try;;
42247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42248 (eval "$ac_compile") 2>conftest.er1
42250 grep -v '^ *+' conftest.er1
>conftest.err
42252 cat conftest.err
>&5
42253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42254 (exit $ac_status); } && {
42255 test -z "$ac_c_werror_flag" ||
42256 test ! -s conftest.err
42257 } && test -s conftest.
$ac_objext; then
42258 ac_cv_func_which_gethostbyname_r
=three
42260 echo "$as_me: failed program was:" >&5
42261 sed 's/^/| /' conftest.
$ac_ext >&5
42266 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42270 ################################################################
42275 case "$ac_cv_func_which_gethostbyname_r" in
42277 { echo "$as_me:$LINENO: result: three" >&5
42278 echo "${ECHO_T}three" >&6; }
42279 cat >>confdefs.h
<<\_ACEOF
42280 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42286 { echo "$as_me:$LINENO: result: five" >&5
42287 echo "${ECHO_T}five" >&6; }
42288 cat >>confdefs.h
<<\_ACEOF
42289 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42295 { echo "$as_me:$LINENO: result: six" >&5
42296 echo "${ECHO_T}six" >&6; }
42297 cat >>confdefs.h
<<\_ACEOF
42298 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42304 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42305 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42309 { echo "$as_me:$LINENO: result: can't tell" >&5
42310 echo "${ECHO_T}can't tell" >&6; }
42314 { { echo "$as_me:$LINENO: error: internal error" >&5
42315 echo "$as_me: error: internal error" >&2;}
42316 { (exit 1); exit 1; }; }
42321 ac_cpp
='$CPP $CPPFLAGS'
42322 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42323 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42324 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42328 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42329 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42330 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42331 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42332 if test "${ac_cv_func_gethostbyname+set}" = set; then
42333 echo $ECHO_N "(cached) $ECHO_C" >&6
42335 cat >conftest.
$ac_ext <<_ACEOF
42338 cat confdefs.h
>>conftest.
$ac_ext
42339 cat >>conftest.
$ac_ext <<_ACEOF
42340 /* end confdefs.h. */
42341 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42343 #define gethostbyname innocuous_gethostbyname
42345 /* System header to define __stub macros and hopefully few prototypes,
42346 which can conflict with char gethostbyname (); below.
42347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42348 <limits.h> exists even on freestanding compilers. */
42351 # include <limits.h>
42353 # include <assert.h>
42356 #undef gethostbyname
42358 /* Override any GCC internal prototype to avoid an error.
42359 Use char because int might match the return type of a GCC
42360 builtin and then its argument prototype would still apply. */
42364 char gethostbyname ();
42365 /* The GNU C library defines this for functions which it implements
42366 to always fail with ENOSYS. Some functions are actually named
42367 something starting with __ and the normal name is an alias. */
42368 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42375 return gethostbyname ();
42380 rm -f conftest.
$ac_objext conftest
$ac_exeext
42381 if { (ac_try
="$ac_link"
42382 case "(($ac_try" in
42383 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42384 *) ac_try_echo=$ac_try;;
42386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42387 (eval "$ac_link") 2>conftest.er1
42389 grep -v '^ *+' conftest.er1 >conftest.err
42391 cat conftest.err >&5
42392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42393 (exit $ac_status); } && {
42394 test -z "$ac_c_werror_flag" ||
42395 test ! -s conftest.err
42396 } && test -s conftest$ac_exeext &&
42397 $as_test_x conftest$ac_exeext; then
42398 ac_cv_func_gethostbyname=yes
42400 echo "$as_me: failed program was:" >&5
42401 sed 's/^/| /' conftest.$ac_ext >&5
42403 ac_cv_func_gethostbyname=no
42406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42407 conftest$ac_exeext conftest.$ac_ext
42409 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42410 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42411 if test $ac_cv_func_gethostbyname = yes; then
42412 cat >>confdefs.h <<\_ACEOF
42413 #define HAVE_GETHOSTBYNAME 1
42420 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42421 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42422 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42423 echo $ECHO_N "(cached) $ECHO_C" >&6
42427 ac_cpp='$CXXCPP $CPPFLAGS'
42428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42433 cat >conftest.$ac_ext <<_ACEOF
42436 cat confdefs.h >>conftest.$ac_ext
42437 cat >>conftest.$ac_ext <<_ACEOF
42438 /* end confdefs.h. */
42446 struct servent *se, *res;
42449 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42455 rm -f conftest.$ac_objext
42456 if { (ac_try="$ac_compile"
42457 case "(($ac_try" in
42458 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42459 *) ac_try_echo
=$ac_try;;
42461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42462 (eval "$ac_compile") 2>conftest.er1
42464 grep -v '^ *+' conftest.er1
>conftest.err
42466 cat conftest.err
>&5
42467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42468 (exit $ac_status); } && {
42469 test -z "$ac_cxx_werror_flag" ||
42470 test ! -s conftest.err
42471 } && test -s conftest.
$ac_objext; then
42472 ac_cv_func_which_getservbyname_r
=six
42474 echo "$as_me: failed program was:" >&5
42475 sed 's/^/| /' conftest.
$ac_ext >&5
42478 cat >conftest.
$ac_ext <<_ACEOF
42481 cat confdefs.h
>>conftest.
$ac_ext
42482 cat >>conftest.
$ac_ext <<_ACEOF
42483 /* end confdefs.h. */
42491 struct servent *se;
42494 (void) getservbyname_r(name, proto, se, buffer, buflen)
42500 rm -f conftest.
$ac_objext
42501 if { (ac_try
="$ac_compile"
42502 case "(($ac_try" in
42503 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42504 *) ac_try_echo=$ac_try;;
42506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42507 (eval "$ac_compile") 2>conftest.er1
42509 grep -v '^ *+' conftest.er1 >conftest.err
42511 cat conftest.err >&5
42512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42513 (exit $ac_status); } && {
42514 test -z "$ac_cxx_werror_flag" ||
42515 test ! -s conftest.err
42516 } && test -s conftest.$ac_objext; then
42517 ac_cv_func_which_getservbyname_r=five
42519 echo "$as_me: failed program was:" >&5
42520 sed 's/^/| /' conftest.$ac_ext >&5
42523 cat >conftest.$ac_ext <<_ACEOF
42526 cat confdefs.h >>conftest.$ac_ext
42527 cat >>conftest.$ac_ext <<_ACEOF
42528 /* end confdefs.h. */
42536 struct servent *se;
42537 struct servent_data data;
42538 (void) getservbyname_r(name, proto, se, &data);
42544 rm -f conftest.$ac_objext
42545 if { (ac_try="$ac_compile"
42546 case "(($ac_try" in
42547 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42548 *) ac_try_echo
=$ac_try;;
42550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42551 (eval "$ac_compile") 2>conftest.er1
42553 grep -v '^ *+' conftest.er1
>conftest.err
42555 cat conftest.err
>&5
42556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42557 (exit $ac_status); } && {
42558 test -z "$ac_cxx_werror_flag" ||
42559 test ! -s conftest.err
42560 } && test -s conftest.
$ac_objext; then
42561 ac_cv_func_which_getservbyname_r
=four
42563 echo "$as_me: failed program was:" >&5
42564 sed 's/^/| /' conftest.
$ac_ext >&5
42566 ac_cv_func_which_getservbyname_r
=no
42570 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42580 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42582 ac_cpp
='$CPP $CPPFLAGS'
42583 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42584 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42585 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42590 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42591 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42593 if test $ac_cv_func_which_getservbyname_r = six
; then
42594 cat >>confdefs.h
<<\_ACEOF
42595 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42598 elif test $ac_cv_func_which_getservbyname_r = five
; then
42599 cat >>confdefs.h
<<\_ACEOF
42600 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42603 elif test $ac_cv_func_which_getservbyname_r = four
; then
42604 cat >>confdefs.h
<<\_ACEOF
42605 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42611 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42612 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42614 for ac_func
in getservbyname
42616 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42617 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42619 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42620 echo $ECHO_N "(cached) $ECHO_C" >&6
42622 cat >conftest.
$ac_ext <<_ACEOF
42625 cat confdefs.h
>>conftest.
$ac_ext
42626 cat >>conftest.
$ac_ext <<_ACEOF
42627 /* end confdefs.h. */
42628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42630 #define $ac_func innocuous_$ac_func
42632 /* System header to define __stub macros and hopefully few prototypes,
42633 which can conflict with char $ac_func (); below.
42634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42635 <limits.h> exists even on freestanding compilers. */
42638 # include <limits.h>
42640 # include <assert.h>
42645 /* Override any GCC internal prototype to avoid an error.
42646 Use char because int might match the return type of a GCC
42647 builtin and then its argument prototype would still apply. */
42652 /* The GNU C library defines this for functions which it implements
42653 to always fail with ENOSYS. Some functions are actually named
42654 something starting with __ and the normal name is an alias. */
42655 #if defined __stub_$ac_func || defined __stub___$ac_func
42662 return $ac_func ();
42667 rm -f conftest.
$ac_objext conftest
$ac_exeext
42668 if { (ac_try
="$ac_link"
42669 case "(($ac_try" in
42670 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42671 *) ac_try_echo=$ac_try;;
42673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42674 (eval "$ac_link") 2>conftest.er1
42676 grep -v '^ *+' conftest.er1 >conftest.err
42678 cat conftest.err >&5
42679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42680 (exit $ac_status); } && {
42681 test -z "$ac_c_werror_flag" ||
42682 test ! -s conftest.err
42683 } && test -s conftest$ac_exeext &&
42684 $as_test_x conftest$ac_exeext; then
42685 eval "$as_ac_var=yes"
42687 echo "$as_me: failed program was:" >&5
42688 sed 's/^/| /' conftest.$ac_ext >&5
42690 eval "$as_ac_var=no"
42693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42694 conftest$ac_exeext conftest.$ac_ext
42696 ac_res=`eval echo '${'$as_ac_var'}'`
42697 { echo "$as_me:$LINENO: result: $ac_res" >&5
42698 echo "${ECHO_T}$ac_res" >&6; }
42699 if test `eval echo '${'$as_ac_var'}'` = yes; then
42700 cat >>confdefs.h <<_ACEOF
42701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42703 cat >>confdefs.h <<\_ACEOF
42704 #define HAVE_GETSERVBYNAME 1
42712 if test "$wxUSE_THREADS" = "yes"; then
42713 cat >>confdefs.h <<\_ACEOF
42714 #define wxUSE_THREADS 1
42718 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42720 if test "$wx_cv_func_strtok_r" = "yes"; then
42721 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42722 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42723 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42724 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42725 { echo "$as_me:$LINENO: result: yes" >&5
42726 echo "${ECHO_T}yes" >&6; }
42728 { echo "$as_me:$LINENO: result: no" >&5
42729 echo "${ECHO_T}no" >&6; }
42734 if test "$WXGTK2" = 1 ; then
42735 cat >>confdefs.h <<_ACEOF
42736 #define __WXGTK20__ $WXGTK2
42742 if test "$WXGTK12" = 1 ; then
42743 cat >>confdefs.h <<_ACEOF
42744 #define __WXGTK12__ $WXGTK12
42749 if test "$WXGTK127" = 1 ; then
42750 cat >>confdefs.h <<_ACEOF
42751 #define __WXGTK127__ $WXGTK127
42756 if test "$WXGPE" = 1 ; then
42757 cat >>confdefs.h <<_ACEOF
42758 #define __WXGPE__ $WXGPE
42764 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev
/null
`; then
42765 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42766 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42767 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42771 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42772 wxUSE_DEBUG_INFO=yes
42773 if test "$GCC" = yes; then
42774 DEBUG_CFLAGS="-ggdb"
42778 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42779 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
42781 if test "$wxUSE_GTK" = 1 ; then
42782 if test "x$wxGTK_VERSION" = "x1" ; then
42783 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42788 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42789 cat >>confdefs.h <<\_ACEOF
42790 #define wxUSE_MEMORY_TRACING 1
42793 cat >>confdefs.h <<\_ACEOF
42794 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42797 cat >>confdefs.h <<\_ACEOF
42798 #define wxUSE_DEBUG_NEW_ALWAYS 1
42801 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42804 if test "$wxUSE_DMALLOC" = "yes" ; then
42805 DMALLOC_LIBS="-ldmallocthcxx"
42809 if test "$wxUSE_PROFILE" = "yes" ; then
42810 PROFILE_FLAGS=" -pg"
42813 if test "$GCC" = "yes" ; then
42814 if test "$wxUSE_NO_RTTI" = "yes" ; then
42815 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
42817 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42818 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42820 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42821 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42826 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42829 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42835 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev
/null
`; then
42836 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42837 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42839 if test "$wxUSE_OPTIMISE" = "no" ; then
42840 if test "$GCC" = yes ; then
42841 OPTIMISE_CFLAGS="-O0"
42844 if test "$GCC" = yes ; then
42846 *-pc-os2_emx | *-pc-os2-emx )
42847 OPTIMISE_CFLAGS="-O2"
42850 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42854 OPTIMISE_CFLAGS="-O"
42860 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42861 cat >>confdefs.h <<\_ACEOF
42862 #define WXWIN_COMPATIBILITY_2_6 1
42866 WXWIN_COMPATIBILITY_2_8="yes"
42869 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42870 cat >>confdefs.h <<\_ACEOF
42871 #define WXWIN_COMPATIBILITY_2_8 1
42877 if test "$wxUSE_GUI" = "yes"; then
42878 cat >>confdefs.h <<\_ACEOF
42879 #define wxUSE_GUI 1
42886 if test "$wxUSE_UNIX" = "yes"; then
42887 cat >>confdefs.h <<\_ACEOF
42888 #define wxUSE_UNIX 1
42894 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42898 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42899 if test "$USE_DOS" = 1; then
42903 for ac_func in dlopen
42905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42906 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42908 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42909 echo $ECHO_N "(cached) $ECHO_C" >&6
42911 cat >conftest.$ac_ext <<_ACEOF
42914 cat confdefs.h >>conftest.$ac_ext
42915 cat >>conftest.$ac_ext <<_ACEOF
42916 /* end confdefs.h. */
42917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42919 #define $ac_func innocuous_$ac_func
42921 /* System header to define __stub macros and hopefully few prototypes,
42922 which can conflict with char $ac_func (); below.
42923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42924 <limits.h> exists even on freestanding compilers. */
42927 # include <limits.h>
42929 # include <assert.h>
42934 /* Override any GCC internal prototype to avoid an error.
42935 Use char because int might match the return type of a GCC
42936 builtin and then its argument prototype would still apply. */
42941 /* The GNU C library defines this for functions which it implements
42942 to always fail with ENOSYS. Some functions are actually named
42943 something starting with __ and the normal name is an alias. */
42944 #if defined __stub_$ac_func || defined __stub___$ac_func
42951 return $ac_func ();
42956 rm -f conftest.$ac_objext conftest$ac_exeext
42957 if { (ac_try="$ac_link"
42958 case "(($ac_try" in
42959 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42960 *) ac_try_echo
=$ac_try;;
42962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42963 (eval "$ac_link") 2>conftest.er1
42965 grep -v '^ *+' conftest.er1
>conftest.err
42967 cat conftest.err
>&5
42968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42969 (exit $ac_status); } && {
42970 test -z "$ac_c_werror_flag" ||
42971 test ! -s conftest.err
42972 } && test -s conftest
$ac_exeext &&
42973 $as_test_x conftest
$ac_exeext; then
42974 eval "$as_ac_var=yes"
42976 echo "$as_me: failed program was:" >&5
42977 sed 's/^/| /' conftest.
$ac_ext >&5
42979 eval "$as_ac_var=no"
42982 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42983 conftest
$ac_exeext conftest.
$ac_ext
42985 ac_res
=`eval echo '${'$as_ac_var'}'`
42986 { echo "$as_me:$LINENO: result: $ac_res" >&5
42987 echo "${ECHO_T}$ac_res" >&6; }
42988 if test `eval echo '${'$as_ac_var'}'` = yes; then
42989 cat >>confdefs.h
<<_ACEOF
42990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42993 cat >>confdefs.h
<<\_ACEOF
42994 #define HAVE_DLOPEN 1
43001 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43002 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43003 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43004 echo $ECHO_N "(cached) $ECHO_C" >&6
43006 ac_check_lib_save_LIBS
=$LIBS
43008 cat >conftest.
$ac_ext <<_ACEOF
43011 cat confdefs.h
>>conftest.
$ac_ext
43012 cat >>conftest.
$ac_ext <<_ACEOF
43013 /* end confdefs.h. */
43015 /* Override any GCC internal prototype to avoid an error.
43016 Use char because int might match the return type of a GCC
43017 builtin and then its argument prototype would still apply. */
43030 rm -f conftest.
$ac_objext conftest
$ac_exeext
43031 if { (ac_try
="$ac_link"
43032 case "(($ac_try" in
43033 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43034 *) ac_try_echo=$ac_try;;
43036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43037 (eval "$ac_link") 2>conftest.er1
43039 grep -v '^ *+' conftest.er1 >conftest.err
43041 cat conftest.err >&5
43042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43043 (exit $ac_status); } && {
43044 test -z "$ac_c_werror_flag" ||
43045 test ! -s conftest.err
43046 } && test -s conftest$ac_exeext &&
43047 $as_test_x conftest$ac_exeext; then
43048 ac_cv_lib_dl_dlopen=yes
43050 echo "$as_me: failed program was:" >&5
43051 sed 's/^/| /' conftest.$ac_ext >&5
43053 ac_cv_lib_dl_dlopen=no
43056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43057 conftest$ac_exeext conftest.$ac_ext
43058 LIBS=$ac_check_lib_save_LIBS
43060 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43061 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43062 if test $ac_cv_lib_dl_dlopen = yes; then
43064 cat >>confdefs.h <<\_ACEOF
43065 #define HAVE_DLOPEN 1
43069 DL_LINK=" -ldl$DL_LINK"
43074 for ac_func in shl_load
43076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43077 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43079 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43080 echo $ECHO_N "(cached) $ECHO_C" >&6
43082 cat >conftest.$ac_ext <<_ACEOF
43085 cat confdefs.h >>conftest.$ac_ext
43086 cat >>conftest.$ac_ext <<_ACEOF
43087 /* end confdefs.h. */
43088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43090 #define $ac_func innocuous_$ac_func
43092 /* System header to define __stub macros and hopefully few prototypes,
43093 which can conflict with char $ac_func (); below.
43094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43095 <limits.h> exists even on freestanding compilers. */
43098 # include <limits.h>
43100 # include <assert.h>
43105 /* Override any GCC internal prototype to avoid an error.
43106 Use char because int might match the return type of a GCC
43107 builtin and then its argument prototype would still apply. */
43112 /* The GNU C library defines this for functions which it implements
43113 to always fail with ENOSYS. Some functions are actually named
43114 something starting with __ and the normal name is an alias. */
43115 #if defined __stub_$ac_func || defined __stub___$ac_func
43122 return $ac_func ();
43127 rm -f conftest.$ac_objext conftest$ac_exeext
43128 if { (ac_try="$ac_link"
43129 case "(($ac_try" in
43130 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43131 *) ac_try_echo
=$ac_try;;
43133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43134 (eval "$ac_link") 2>conftest.er1
43136 grep -v '^ *+' conftest.er1
>conftest.err
43138 cat conftest.err
>&5
43139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43140 (exit $ac_status); } && {
43141 test -z "$ac_c_werror_flag" ||
43142 test ! -s conftest.err
43143 } && test -s conftest
$ac_exeext &&
43144 $as_test_x conftest
$ac_exeext; then
43145 eval "$as_ac_var=yes"
43147 echo "$as_me: failed program was:" >&5
43148 sed 's/^/| /' conftest.
$ac_ext >&5
43150 eval "$as_ac_var=no"
43153 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43154 conftest
$ac_exeext conftest.
$ac_ext
43156 ac_res
=`eval echo '${'$as_ac_var'}'`
43157 { echo "$as_me:$LINENO: result: $ac_res" >&5
43158 echo "${ECHO_T}$ac_res" >&6; }
43159 if test `eval echo '${'$as_ac_var'}'` = yes; then
43160 cat >>confdefs.h
<<_ACEOF
43161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43164 cat >>confdefs.h
<<\_ACEOF
43165 #define HAVE_SHL_LOAD 1
43172 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43173 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43174 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43175 echo $ECHO_N "(cached) $ECHO_C" >&6
43177 ac_check_lib_save_LIBS
=$LIBS
43178 LIBS
="-lshl_load $LIBS"
43179 cat >conftest.
$ac_ext <<_ACEOF
43182 cat confdefs.h
>>conftest.
$ac_ext
43183 cat >>conftest.
$ac_ext <<_ACEOF
43184 /* end confdefs.h. */
43186 /* Override any GCC internal prototype to avoid an error.
43187 Use char because int might match the return type of a GCC
43188 builtin and then its argument prototype would still apply. */
43201 rm -f conftest.
$ac_objext conftest
$ac_exeext
43202 if { (ac_try
="$ac_link"
43203 case "(($ac_try" in
43204 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43205 *) ac_try_echo=$ac_try;;
43207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43208 (eval "$ac_link") 2>conftest.er1
43210 grep -v '^ *+' conftest.er1 >conftest.err
43212 cat conftest.err >&5
43213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43214 (exit $ac_status); } && {
43215 test -z "$ac_c_werror_flag" ||
43216 test ! -s conftest.err
43217 } && test -s conftest$ac_exeext &&
43218 $as_test_x conftest$ac_exeext; then
43219 ac_cv_lib_shl_load_dld=yes
43221 echo "$as_me: failed program was:" >&5
43222 sed 's/^/| /' conftest.$ac_ext >&5
43224 ac_cv_lib_shl_load_dld=no
43227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43228 conftest$ac_exeext conftest.$ac_ext
43229 LIBS=$ac_check_lib_save_LIBS
43231 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43232 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43233 if test $ac_cv_lib_shl_load_dld = yes; then
43236 DL_LINK=" -ldld$DL_LINK"
43252 if test "$HAVE_DL_FUNCS" = 1; then
43254 for ac_func in dlerror
43256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43257 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43259 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43260 echo $ECHO_N "(cached) $ECHO_C" >&6
43262 cat >conftest.$ac_ext <<_ACEOF
43265 cat confdefs.h >>conftest.$ac_ext
43266 cat >>conftest.$ac_ext <<_ACEOF
43267 /* end confdefs.h. */
43268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43270 #define $ac_func innocuous_$ac_func
43272 /* System header to define __stub macros and hopefully few prototypes,
43273 which can conflict with char $ac_func (); below.
43274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43275 <limits.h> exists even on freestanding compilers. */
43278 # include <limits.h>
43280 # include <assert.h>
43285 /* Override any GCC internal prototype to avoid an error.
43286 Use char because int might match the return type of a GCC
43287 builtin and then its argument prototype would still apply. */
43292 /* The GNU C library defines this for functions which it implements
43293 to always fail with ENOSYS. Some functions are actually named
43294 something starting with __ and the normal name is an alias. */
43295 #if defined __stub_$ac_func || defined __stub___$ac_func
43302 return $ac_func ();
43307 rm -f conftest.$ac_objext conftest$ac_exeext
43308 if { (ac_try="$ac_link"
43309 case "(($ac_try" in
43310 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43311 *) ac_try_echo
=$ac_try;;
43313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43314 (eval "$ac_link") 2>conftest.er1
43316 grep -v '^ *+' conftest.er1
>conftest.err
43318 cat conftest.err
>&5
43319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43320 (exit $ac_status); } && {
43321 test -z "$ac_c_werror_flag" ||
43322 test ! -s conftest.err
43323 } && test -s conftest
$ac_exeext &&
43324 $as_test_x conftest
$ac_exeext; then
43325 eval "$as_ac_var=yes"
43327 echo "$as_me: failed program was:" >&5
43328 sed 's/^/| /' conftest.
$ac_ext >&5
43330 eval "$as_ac_var=no"
43333 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43334 conftest
$ac_exeext conftest.
$ac_ext
43336 ac_res
=`eval echo '${'$as_ac_var'}'`
43337 { echo "$as_me:$LINENO: result: $ac_res" >&5
43338 echo "${ECHO_T}$ac_res" >&6; }
43339 if test `eval echo '${'$as_ac_var'}'` = yes; then
43340 cat >>confdefs.h
<<_ACEOF
43341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43343 cat >>confdefs.h
<<\_ACEOF
43344 #define HAVE_DLERROR 1
43349 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43350 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43351 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43352 echo $ECHO_N "(cached) $ECHO_C" >&6
43354 ac_check_lib_save_LIBS
=$LIBS
43356 cat >conftest.
$ac_ext <<_ACEOF
43359 cat confdefs.h
>>conftest.
$ac_ext
43360 cat >>conftest.
$ac_ext <<_ACEOF
43361 /* end confdefs.h. */
43363 /* Override any GCC internal prototype to avoid an error.
43364 Use char because int might match the return type of a GCC
43365 builtin and then its argument prototype would still apply. */
43378 rm -f conftest.
$ac_objext conftest
$ac_exeext
43379 if { (ac_try
="$ac_link"
43380 case "(($ac_try" in
43381 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43382 *) ac_try_echo=$ac_try;;
43384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43385 (eval "$ac_link") 2>conftest.er1
43387 grep -v '^ *+' conftest.er1 >conftest.err
43389 cat conftest.err >&5
43390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43391 (exit $ac_status); } && {
43392 test -z "$ac_c_werror_flag" ||
43393 test ! -s conftest.err
43394 } && test -s conftest$ac_exeext &&
43395 $as_test_x conftest$ac_exeext; then
43396 ac_cv_lib_dl_dlerror=yes
43398 echo "$as_me: failed program was:" >&5
43399 sed 's/^/| /' conftest.$ac_ext >&5
43401 ac_cv_lib_dl_dlerror=no
43404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43405 conftest$ac_exeext conftest.$ac_ext
43406 LIBS=$ac_check_lib_save_LIBS
43408 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43409 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43410 if test $ac_cv_lib_dl_dlerror = yes; then
43411 cat >>confdefs.h <<\_ACEOF
43412 #define HAVE_DLERROR 1
43425 if test "$USE_DARWIN" = 1; then
43429 if test "$HAVE_DL_FUNCS" = 0; then
43430 if test "$HAVE_SHL_FUNCS" = 0; then
43431 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43432 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43433 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43434 wxUSE_DYNAMIC_LOADER=no
43435 wxUSE_DYNLIB_CLASS=no
43437 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43438 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43445 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43446 cat >>confdefs.h <<\_ACEOF
43447 #define wxUSE_DYNAMIC_LOADER 1
43451 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43452 cat >>confdefs.h <<\_ACEOF
43453 #define wxUSE_DYNLIB_CLASS 1
43460 if test "$wxUSE_PLUGINS" = "yes" ; then
43461 if test "$wxUSE_SHARED" = "no" ; then
43462 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43463 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43466 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43467 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43468 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43471 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43472 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43473 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43476 if test "$wxUSE_PLUGINS" = "yes" ; then
43477 cat >>confdefs.h <<\_ACEOF
43478 #define wxUSE_PLUGINS 1
43485 if test "$wxUSE_FSWATCHER" = "yes"; then
43486 if test "$wxUSE_MSW" != "1"; then
43487 if test "$wxUSE_UNIX" = "yes"; then
43489 for ac_header in sys/inotify.h
43491 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43492 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43494 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43495 echo $ECHO_N "(cached) $ECHO_C" >&6
43497 cat >conftest.$ac_ext <<_ACEOF
43500 cat confdefs.h >>conftest.$ac_ext
43501 cat >>conftest.$ac_ext <<_ACEOF
43502 /* end confdefs.h. */
43503 $ac_includes_default
43505 #include <$ac_header>
43507 rm -f conftest.$ac_objext
43508 if { (ac_try="$ac_compile"
43509 case "(($ac_try" in
43510 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43511 *) ac_try_echo
=$ac_try;;
43513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43514 (eval "$ac_compile") 2>conftest.er1
43516 grep -v '^ *+' conftest.er1
>conftest.err
43518 cat conftest.err
>&5
43519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43520 (exit $ac_status); } && {
43521 test -z "$ac_c_werror_flag" ||
43522 test ! -s conftest.err
43523 } && test -s conftest.
$ac_objext; then
43524 eval "$as_ac_Header=yes"
43526 echo "$as_me: failed program was:" >&5
43527 sed 's/^/| /' conftest.
$ac_ext >&5
43529 eval "$as_ac_Header=no"
43532 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43534 ac_res
=`eval echo '${'$as_ac_Header'}'`
43535 { echo "$as_me:$LINENO: result: $ac_res" >&5
43536 echo "${ECHO_T}$ac_res" >&6; }
43537 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43538 cat >>confdefs.h
<<_ACEOF
43539 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43546 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43547 cat >>confdefs.h
<<\_ACEOF
43548 #define wxHAS_INOTIFY 1
43553 for ac_header
in sys
/event.h
43555 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43556 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43557 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43558 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43559 echo $ECHO_N "(cached) $ECHO_C" >&6
43561 cat >conftest.
$ac_ext <<_ACEOF
43564 cat confdefs.h
>>conftest.
$ac_ext
43565 cat >>conftest.
$ac_ext <<_ACEOF
43566 /* end confdefs.h. */
43567 $ac_includes_default
43569 #include <$ac_header>
43571 rm -f conftest.
$ac_objext
43572 if { (ac_try
="$ac_compile"
43573 case "(($ac_try" in
43574 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43575 *) ac_try_echo=$ac_try;;
43577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43578 (eval "$ac_compile") 2>conftest.er1
43580 grep -v '^ *+' conftest.er1 >conftest.err
43582 cat conftest.err >&5
43583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43584 (exit $ac_status); } && {
43585 test -z "$ac_c_werror_flag" ||
43586 test ! -s conftest.err
43587 } && test -s conftest.$ac_objext; then
43588 eval "$as_ac_Header=yes"
43590 echo "$as_me: failed program was:" >&5
43591 sed 's/^/| /' conftest.$ac_ext >&5
43593 eval "$as_ac_Header=no"
43596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43598 ac_res=`eval echo '${'$as_ac_Header'}'`
43599 { echo "$as_me:$LINENO: result: $ac_res" >&5
43600 echo "${ECHO_T}$ac_res" >&6; }
43601 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43602 cat >>confdefs.h <<_ACEOF
43603 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43610 if test "$ac_cv_header_sys_event_h" = "yes"; then
43611 cat >>confdefs.h <<\_ACEOF
43612 #define wxHAS_KQUEUE 1
43624 if test "$wxUSE_FSWATCHER" = "yes"; then
43625 cat >>confdefs.h <<\_ACEOF
43626 #define wxUSE_FSWATCHER 1
43629 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43631 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43632 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43637 if test "$wxUSE_STL" = "yes"; then
43638 cat >>confdefs.h <<\_ACEOF
43639 #define wxUSE_STL 1
43644 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43645 cat >>confdefs.h <<\_ACEOF
43646 #define wxUSE_EXTENDED_RTTI 1
43651 if test "$wxUSE_ANY" = "yes"; then
43652 cat >>confdefs.h <<\_ACEOF
43653 #define wxUSE_ANY 1
43658 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43659 cat >>confdefs.h <<\_ACEOF
43660 #define wxUSE_APPLE_IEEE 1
43665 if test "$wxUSE_TIMER" = "yes"; then
43666 cat >>confdefs.h <<\_ACEOF
43667 #define wxUSE_TIMER 1
43672 if test "$USE_UNIX" = 1 ; then
43673 if test "$wxUSE_MGL" != 1; then
43674 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43675 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43676 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43677 echo $ECHO_N "(cached) $ECHO_C" >&6
43680 cat >conftest.$ac_ext <<_ACEOF
43683 cat confdefs.h >>conftest.$ac_ext
43684 cat >>conftest.$ac_ext <<_ACEOF
43685 /* end confdefs.h. */
43687 #include <sys/ioctl.h>
43688 #include <sys/soundcard.h>
43694 ioctl(0, SNDCTL_DSP_SPEED, 0);
43700 rm -f conftest.$ac_objext conftest$ac_exeext
43701 if { (ac_try="$ac_link"
43702 case "(($ac_try" in
43703 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43704 *) ac_try_echo
=$ac_try;;
43706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43707 (eval "$ac_link") 2>conftest.er1
43709 grep -v '^ *+' conftest.er1
>conftest.err
43711 cat conftest.err
>&5
43712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43713 (exit $ac_status); } && {
43714 test -z "$ac_c_werror_flag" ||
43715 test ! -s conftest.err
43716 } && test -s conftest
$ac_exeext &&
43717 $as_test_x conftest
$ac_exeext; then
43718 ac_cv_header_sys_soundcard
=yes
43720 echo "$as_me: failed program was:" >&5
43721 sed 's/^/| /' conftest.
$ac_ext >&5
43725 LIBS
="$saveLibs -lossaudio"
43726 cat >conftest.
$ac_ext <<_ACEOF
43729 cat confdefs.h
>>conftest.
$ac_ext
43730 cat >>conftest.
$ac_ext <<_ACEOF
43731 /* end confdefs.h. */
43733 #include <sys/ioctl.h>
43734 #include <sys/soundcard.h>
43740 ioctl(0, SNDCTL_DSP_SPEED, 0);
43746 rm -f conftest.
$ac_objext conftest
$ac_exeext
43747 if { (ac_try
="$ac_link"
43748 case "(($ac_try" in
43749 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43750 *) ac_try_echo=$ac_try;;
43752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43753 (eval "$ac_link") 2>conftest.er1
43755 grep -v '^ *+' conftest.er1 >conftest.err
43757 cat conftest.err >&5
43758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43759 (exit $ac_status); } && {
43760 test -z "$ac_c_werror_flag" ||
43761 test ! -s conftest.err
43762 } && test -s conftest$ac_exeext &&
43763 $as_test_x conftest$ac_exeext; then
43764 ac_cv_header_sys_soundcard=yes
43766 echo "$as_me: failed program was:" >&5
43767 sed 's/^/| /' conftest.$ac_ext >&5
43771 ac_cv_header_sys_soundcard=no
43776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43777 conftest$ac_exeext conftest.$ac_ext
43782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43783 conftest$ac_exeext conftest.$ac_ext
43786 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43787 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43790 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43791 cat >>confdefs.h <<\_ACEOF
43792 #define HAVE_SYS_SOUNDCARD_H 1
43799 if test "$wxUSE_SOUND" = "yes"; then
43800 if test "$USE_UNIX" = 1 ; then
43801 if test "$wxUSE_LIBSDL" != "no"; then
43803 # Check whether --with-sdl-prefix was given.
43804 if test "${with_sdl_prefix+set}" = set; then
43805 withval=$with_sdl_prefix; sdl_prefix="$withval"
43811 # Check whether --with-sdl-exec-prefix was given.
43812 if test "${with_sdl_exec_prefix+set}" = set; then
43813 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43818 # Check whether --enable-sdltest was given.
43819 if test "${enable_sdltest+set}" = set; then
43820 enableval=$enable_sdltest;
43826 if test x$sdl_exec_prefix != x ; then
43827 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43828 if test x${SDL_CONFIG+set} != xset ; then
43829 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43832 if test x$sdl_prefix != x ; then
43833 sdl_args="$sdl_args --prefix=$sdl_prefix"
43834 if test x${SDL_CONFIG+set} != xset ; then
43835 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43839 if test "x$prefix" != xNONE; then
43840 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43842 # Extract the first word of "sdl-config", so it can be a program name with args.
43843 set dummy sdl-config; ac_word=$2
43844 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43846 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43847 echo $ECHO_N "(cached) $ECHO_C" >&6
43849 case $SDL_CONFIG in
43851 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43855 for as_dir in $PATH
43858 test -z "$as_dir" && as_dir=.
43859 for ac_exec_ext in '' $ac_executable_extensions; do
43860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43861 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43869 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43873 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43874 if test -n "$SDL_CONFIG"; then
43875 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43876 echo "${ECHO_T}$SDL_CONFIG" >&6; }
43878 { echo "$as_me:$LINENO: result: no" >&5
43879 echo "${ECHO_T}no" >&6; }
43883 min_sdl_version=1.2.0
43884 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43885 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
43887 if test "$SDL_CONFIG" = "no" ; then
43890 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43891 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43893 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43894 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43895 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43896 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43897 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43898 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43899 if test "x$enable_sdltest" = "xyes" ; then
43900 ac_save_CFLAGS="$CFLAGS"
43901 ac_save_CXXFLAGS="$CXXFLAGS"
43902 ac_save_LIBS="$LIBS"
43903 CFLAGS="$CFLAGS $SDL_CFLAGS"
43904 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43905 LIBS="$LIBS $SDL_LIBS"
43907 if test "$cross_compiling" = yes; then
43908 echo $ac_n "cross compiling; assumed OK... $ac_c"
43910 cat >conftest.$ac_ext <<_ACEOF
43913 cat confdefs.h >>conftest.$ac_ext
43914 cat >>conftest.$ac_ext <<_ACEOF
43915 /* end confdefs.h. */
43918 #include <stdlib.h>
43919 #include <string.h>
43923 my_strdup (char *str)
43929 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43930 strcpy (new_str, str);
43938 int main (int argc, char *argv[])
43940 int major, minor, micro;
43943 /* This hangs on some systems (?)
43944 system ("touch conf.sdltest");
43946 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43948 /* HP/UX 9 (%@#!) writes to sscanf strings */
43949 tmp_version = my_strdup("$min_sdl_version");
43950 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
43951 printf("%s, bad version string\n", "$min_sdl_version");
43955 if (($sdl_major_version > major) ||
43956 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43957 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43963 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43964 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43965 printf("*** best to upgrade to the required version.\n");
43966 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43967 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43968 printf("*** config.cache before re-running configure\n");
43975 rm -f conftest$ac_exeext
43976 if { (ac_try="$ac_link"
43977 case "(($ac_try" in
43978 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43979 *) ac_try_echo
=$ac_try;;
43981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43982 (eval "$ac_link") 2>&5
43984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43985 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43986 { (case "(($ac_try" in
43987 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43988 *) ac_try_echo=$ac_try;;
43990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43991 (eval "$ac_try") 2>&5
43993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43994 (exit $ac_status); }; }; then
43997 echo "$as_me: program exited with status $ac_status" >&5
43998 echo "$as_me: failed program was:" >&5
43999 sed 's/^/| /' conftest.$ac_ext >&5
44001 ( exit $ac_status )
44004 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44008 CFLAGS="$ac_save_CFLAGS"
44009 CXXFLAGS="$ac_save_CXXFLAGS"
44010 LIBS="$ac_save_LIBS"
44013 if test "x$no_sdl" = x ; then
44014 { echo "$as_me:$LINENO: result: yes" >&5
44015 echo "${ECHO_T}yes" >&6; }
44017 EXTRALIBS_SDL="$SDL_LIBS"
44018 CFLAGS="$SDL_CFLAGS $CFLAGS"
44019 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44020 cat >>confdefs.h <<\_ACEOF
44021 #define wxUSE_LIBSDL 1
44026 { echo "$as_me:$LINENO: result: no" >&5
44027 echo "${ECHO_T}no" >&6; }
44028 if test "$SDL_CONFIG" = "no" ; then
44029 echo "*** The sdl-config script installed by SDL could not be found"
44030 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44031 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44032 echo "*** full path to sdl-config."
44034 if test -f conf.sdltest ; then
44037 echo "*** Could not run SDL test program, checking why..."
44038 CFLAGS="$CFLAGS $SDL_CFLAGS"
44039 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44040 LIBS="$LIBS $SDL_LIBS"
44041 cat >conftest.$ac_ext <<_ACEOF
44044 cat confdefs.h >>conftest.$ac_ext
44045 cat >>conftest.$ac_ext <<_ACEOF
44046 /* end confdefs.h. */
44051 int main(int argc, char *argv[])
44054 #define main K_and_R_C_main
44064 rm -f conftest.$ac_objext conftest$ac_exeext
44065 if { (ac_try="$ac_link"
44066 case "(($ac_try" in
44067 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44068 *) ac_try_echo
=$ac_try;;
44070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44071 (eval "$ac_link") 2>conftest.er1
44073 grep -v '^ *+' conftest.er1
>conftest.err
44075 cat conftest.err
>&5
44076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44077 (exit $ac_status); } && {
44078 test -z "$ac_c_werror_flag" ||
44079 test ! -s conftest.err
44080 } && test -s conftest
$ac_exeext &&
44081 $as_test_x conftest
$ac_exeext; then
44082 echo "*** The test program compiled, but did not run. This usually means"
44083 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44084 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44085 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44086 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44087 echo "*** is required on your system"
44089 echo "*** If you have an old version installed, it is best to remove it, although"
44090 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44092 echo "$as_me: failed program was:" >&5
44093 sed 's/^/| /' conftest.
$ac_ext >&5
44095 echo "*** The test program failed to compile or link. See the file config.log for the"
44096 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44097 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44098 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44101 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44102 conftest
$ac_exeext conftest.
$ac_ext
44103 CFLAGS
="$ac_save_CFLAGS"
44104 CXXFLAGS
="$ac_save_CXXFLAGS"
44105 LIBS
="$ac_save_LIBS"
44116 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44121 if test "$wxUSE_MGL" = 1; then
44122 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44123 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44129 if test "$wxUSE_SOUND" = "yes"; then
44130 cat >>confdefs.h
<<\_ACEOF
44131 #define wxUSE_SOUND 1
44134 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
44137 if test "$WXGTK2" = 1; then
44140 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44141 if test -n "$ac_tool_prefix"; then
44142 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44143 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
44144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44146 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44147 echo $ECHO_N "(cached) $ECHO_C" >&6
44149 case $PKG_CONFIG in
44151 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
44154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44155 for as_dir
in $PATH
44158 test -z "$as_dir" && as_dir
=.
44159 for ac_exec_ext
in '' $ac_executable_extensions; do
44160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44161 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44172 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
44173 if test -n "$PKG_CONFIG"; then
44174 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44175 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44177 { echo "$as_me:$LINENO: result: no" >&5
44178 echo "${ECHO_T}no" >&6; }
44183 if test -z "$ac_cv_path_PKG_CONFIG"; then
44184 ac_pt_PKG_CONFIG
=$PKG_CONFIG
44185 # Extract the first word of "pkg-config", so it can be a program name with args.
44186 set dummy pkg
-config; ac_word
=$2
44187 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44189 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44190 echo $ECHO_N "(cached) $ECHO_C" >&6
44192 case $ac_pt_PKG_CONFIG in
44194 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44198 for as_dir
in $PATH
44201 test -z "$as_dir" && as_dir
=.
44202 for ac_exec_ext
in '' $ac_executable_extensions; do
44203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44204 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44215 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
44216 if test -n "$ac_pt_PKG_CONFIG"; then
44217 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44218 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44220 { echo "$as_me:$LINENO: result: no" >&5
44221 echo "${ECHO_T}no" >&6; }
44224 if test "x$ac_pt_PKG_CONFIG" = x
; then
44227 case $cross_compiling:$ac_tool_warned in
44229 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44230 whose name does not start with the host triplet. If you think this
44231 configuration is useful to you, please write to autoconf@gnu.org." >&5
44232 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44233 whose name does not start with the host triplet. If you think this
44234 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44235 ac_tool_warned
=yes ;;
44237 PKG_CONFIG
=$ac_pt_PKG_CONFIG
44240 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
44244 if test -n "$PKG_CONFIG"; then
44245 _pkg_min_version
=0.9.0
44246 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44247 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44248 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44249 { echo "$as_me:$LINENO: result: yes" >&5
44250 echo "${ECHO_T}yes" >&6; }
44252 { echo "$as_me:$LINENO: result: no" >&5
44253 echo "${ECHO_T}no" >&6; }
44259 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44261 if test "$wxUSE_GTKPRINT" = "yes" ; then
44265 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44266 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44268 if test -n "$PKG_CONFIG"; then
44269 if test -n "$GTKPRINT_CFLAGS"; then
44270 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
44272 if test -n "$PKG_CONFIG" && \
44273 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44274 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44277 (exit $ac_status); }; then
44278 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44286 if test -n "$PKG_CONFIG"; then
44287 if test -n "$GTKPRINT_LIBS"; then
44288 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
44290 if test -n "$PKG_CONFIG" && \
44291 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44292 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44295 (exit $ac_status); }; then
44296 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44307 if test $pkg_failed = yes; then
44309 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44310 _pkg_short_errors_supported
=yes
44312 _pkg_short_errors_supported
=no
44314 if test $_pkg_short_errors_supported = yes; then
44315 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44317 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44319 # Put the nasty error message in config.log where it belongs
44320 echo "$GTKPRINT_PKG_ERRORS" >&5
44323 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44324 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44325 wxUSE_GTKPRINT
="no"
44328 elif test $pkg_failed = untried
; then
44330 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44331 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44332 wxUSE_GTKPRINT
="no"
44336 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
44337 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
44338 { echo "$as_me:$LINENO: result: yes" >&5
44339 echo "${ECHO_T}yes" >&6; }
44341 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
44342 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
44343 cat >>confdefs.h
<<\_ACEOF
44344 #define wxUSE_GTKPRINT 1
44351 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44355 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44356 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44358 if test -n "$PKG_CONFIG"; then
44359 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44360 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
44362 if test -n "$PKG_CONFIG" && \
44363 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44364 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44367 (exit $ac_status); }; then
44368 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44376 if test -n "$PKG_CONFIG"; then
44377 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44378 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
44380 if test -n "$PKG_CONFIG" && \
44381 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44382 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44385 (exit $ac_status); }; then
44386 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44397 if test $pkg_failed = yes; then
44399 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44400 _pkg_short_errors_supported
=yes
44402 _pkg_short_errors_supported
=no
44404 if test $_pkg_short_errors_supported = yes; then
44405 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44407 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44409 # Put the nasty error message in config.log where it belongs
44410 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44413 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44414 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44415 wxUSE_LIBGNOMEPRINT
="no"
44418 elif test $pkg_failed = untried
; then
44420 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44421 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44422 wxUSE_LIBGNOMEPRINT
="no"
44426 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44427 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44428 { echo "$as_me:$LINENO: result: yes" >&5
44429 echo "${ECHO_T}yes" >&6; }
44431 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44432 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44433 cat >>confdefs.h
<<\_ACEOF
44434 #define wxUSE_LIBGNOMEPRINT 1
44442 if test "$wxUSE_MIMETYPE" = "yes" ; then
44443 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44447 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44448 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44450 if test -n "$PKG_CONFIG"; then
44451 if test -n "$GNOMEVFS_CFLAGS"; then
44452 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
44454 if test -n "$PKG_CONFIG" && \
44455 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44456 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44459 (exit $ac_status); }; then
44460 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44468 if test -n "$PKG_CONFIG"; then
44469 if test -n "$GNOMEVFS_LIBS"; then
44470 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
44472 if test -n "$PKG_CONFIG" && \
44473 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44474 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44477 (exit $ac_status); }; then
44478 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44489 if test $pkg_failed = yes; then
44491 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44492 _pkg_short_errors_supported
=yes
44494 _pkg_short_errors_supported
=no
44496 if test $_pkg_short_errors_supported = yes; then
44497 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44499 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44501 # Put the nasty error message in config.log where it belongs
44502 echo "$GNOMEVFS_PKG_ERRORS" >&5
44505 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44506 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44507 wxUSE_LIBGNOMEVFS
="no"
44510 elif test $pkg_failed = untried
; then
44512 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44513 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44514 wxUSE_LIBGNOMEVFS
="no"
44518 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
44519 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
44520 { echo "$as_me:$LINENO: result: yes" >&5
44521 echo "${ECHO_T}yes" >&6; }
44523 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
44524 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
44525 cat >>confdefs.h
<<\_ACEOF
44526 #define wxUSE_LIBGNOMEVFS 1
44534 if test "$wxUSE_LIBHILDON" = "yes" ; then
44537 { echo "$as_me:$LINENO: checking for HILDON" >&5
44538 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44540 if test -n "$PKG_CONFIG"; then
44541 if test -n "$HILDON_CFLAGS"; then
44542 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
44544 if test -n "$PKG_CONFIG" && \
44545 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44546 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44549 (exit $ac_status); }; then
44550 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44558 if test -n "$PKG_CONFIG"; then
44559 if test -n "$HILDON_LIBS"; then
44560 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
44562 if test -n "$PKG_CONFIG" && \
44563 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44564 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44567 (exit $ac_status); }; then
44568 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44579 if test $pkg_failed = yes; then
44581 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44582 _pkg_short_errors_supported
=yes
44584 _pkg_short_errors_supported
=no
44586 if test $_pkg_short_errors_supported = yes; then
44587 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44589 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44591 # Put the nasty error message in config.log where it belongs
44592 echo "$HILDON_PKG_ERRORS" >&5
44595 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44596 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44597 wxUSE_LIBHILDON
="no"
44601 elif test $pkg_failed = untried
; then
44603 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44604 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44605 wxUSE_LIBHILDON
="no"
44610 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
44611 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
44612 { echo "$as_me:$LINENO: result: yes" >&5
44613 echo "${ECHO_T}yes" >&6; }
44615 EXTRALIBS_HILDON
="$HILDON_LIBS"
44616 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
44617 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
44618 cat >>confdefs.h
<<\_ACEOF
44619 #define wxUSE_LIBHILDON 1
44626 if test "$ac_hildon_lgpl" = 0 ; then
44629 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44630 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44632 if test -n "$PKG_CONFIG"; then
44633 if test -n "$HILDON2_CFLAGS"; then
44634 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
44636 if test -n "$PKG_CONFIG" && \
44637 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44638 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44641 (exit $ac_status); }; then
44642 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44650 if test -n "$PKG_CONFIG"; then
44651 if test -n "$HILDON2_LIBS"; then
44652 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
44654 if test -n "$PKG_CONFIG" && \
44655 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44656 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44659 (exit $ac_status); }; then
44660 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44671 if test $pkg_failed = yes; then
44673 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44674 _pkg_short_errors_supported
=yes
44676 _pkg_short_errors_supported
=no
44678 if test $_pkg_short_errors_supported = yes; then
44679 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44681 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44683 # Put the nasty error message in config.log where it belongs
44684 echo "$HILDON2_PKG_ERRORS" >&5
44687 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44688 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44689 wxUSE_LIBHILDON2
="no"
44692 elif test $pkg_failed = untried
; then
44694 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44695 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44696 wxUSE_LIBHILDON2
="no"
44700 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
44701 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
44702 { echo "$as_me:$LINENO: result: yes" >&5
44703 echo "${ECHO_T}yes" >&6; }
44705 EXTRALIBS_HILDON
="$HILDON2_LIBS"
44706 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
44707 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
44708 cat >>confdefs.h
<<\_ACEOF
44709 #define wxUSE_LIBHILDON2 1
44718 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44719 cat >>confdefs.h
<<\_ACEOF
44720 #define wxUSE_CMDLINE_PARSER 1
44725 if test "$wxUSE_STOPWATCH" = "yes"; then
44726 cat >>confdefs.h
<<\_ACEOF
44727 #define wxUSE_STOPWATCH 1
44732 if test "$wxUSE_DATETIME" = "yes"; then
44733 cat >>confdefs.h
<<\_ACEOF
44734 #define wxUSE_DATETIME 1
44739 if test "$wxUSE_FILE" = "yes"; then
44740 cat >>confdefs.h
<<\_ACEOF
44741 #define wxUSE_FILE 1
44746 if test "$wxUSE_FFILE" = "yes"; then
44747 cat >>confdefs.h
<<\_ACEOF
44748 #define wxUSE_FFILE 1
44753 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44754 if test "$wxUSE_STREAMS" != yes; then
44755 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44756 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44757 wxUSE_ARCHIVE_STREAMS
=no
44759 cat >>confdefs.h
<<\_ACEOF
44760 #define wxUSE_ARCHIVE_STREAMS 1
44766 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44767 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44768 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44769 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44770 elif test "$wxUSE_ZLIB" = "no"; then
44771 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44772 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44774 cat >>confdefs.h
<<\_ACEOF
44775 #define wxUSE_ZIPSTREAM 1
44781 if test "$wxUSE_TARSTREAM" = "yes"; then
44782 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44783 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44784 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44786 cat >>confdefs.h
<<\_ACEOF
44787 #define wxUSE_TARSTREAM 1
44793 if test "$wxUSE_FILE_HISTORY" = "yes"; then
44794 cat >>confdefs.h
<<\_ACEOF
44795 #define wxUSE_FILE_HISTORY 1
44800 if test "$wxUSE_FILESYSTEM" = "yes"; then
44801 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
44802 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44803 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44804 wxUSE_FILESYSTEM
=no
44806 cat >>confdefs.h
<<\_ACEOF
44807 #define wxUSE_FILESYSTEM 1
44813 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44814 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44815 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44816 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44818 cat >>confdefs.h
<<\_ACEOF
44819 #define wxUSE_FS_ARCHIVE 1
44825 if test "$wxUSE_FS_ZIP" = "yes"; then
44826 if test "$wxUSE_FS_ARCHIVE" != yes; then
44827 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44828 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44830 cat >>confdefs.h
<<\_ACEOF
44831 #define wxUSE_FS_ZIP 1
44837 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44838 if test "$USE_UNIX" != 1; then
44839 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44840 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44841 wxUSE_ON_FATAL_EXCEPTION
=no
44843 cat >>confdefs.h
<<\_ACEOF
44844 #define wxUSE_ON_FATAL_EXCEPTION 1
44850 if test "$wxUSE_STACKWALKER" = "yes"; then
44851 cat >>confdefs.h
<<\_ACEOF
44852 #define wxUSE_STACKWALKER 1
44857 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44858 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
44859 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44860 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44861 wxUSE_DEBUGREPORT
=no
44863 cat >>confdefs.h
<<\_ACEOF
44864 #define wxUSE_DEBUGREPORT 1
44867 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44868 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
44873 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44874 cat >>confdefs.h
<<\_ACEOF
44875 #define wxUSE_SNGLINST_CHECKER 1
44880 if test "$wxUSE_BUSYINFO" = "yes"; then
44881 cat >>confdefs.h
<<\_ACEOF
44882 #define wxUSE_BUSYINFO 1
44887 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44888 cat >>confdefs.h
<<\_ACEOF
44889 #define wxUSE_STD_IOSTREAM 1
44894 if test "$wxUSE_STD_STRING" = "yes"; then
44895 cat >>confdefs.h
<<\_ACEOF
44896 #define wxUSE_STD_STRING 1
44901 if test "$wxUSE_STDPATHS" = "yes"; then
44902 cat >>confdefs.h
<<\_ACEOF
44903 #define wxUSE_STDPATHS 1
44908 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44909 cat >>confdefs.h
<<\_ACEOF
44910 #define wxUSE_TEXTBUFFER 1
44915 if test "$wxUSE_TEXTFILE" = "yes"; then
44916 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44917 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44918 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44920 cat >>confdefs.h
<<\_ACEOF
44921 #define wxUSE_TEXTFILE 1
44927 if test "$wxUSE_CONFIG" = "yes" ; then
44928 if test "$wxUSE_TEXTFILE" != "yes"; then
44929 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44930 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44932 cat >>confdefs.h
<<\_ACEOF
44933 #define wxUSE_CONFIG 1
44936 cat >>confdefs.h
<<\_ACEOF
44937 #define wxUSE_CONFIG_NATIVE 1
44940 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
44944 if test "$wxUSE_INTL" = "yes" ; then
44945 if test "$wxUSE_FILE" != "yes"; then
44946 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44947 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44949 cat >>confdefs.h
<<\_ACEOF
44950 #define wxUSE_INTL 1
44953 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
44954 GUIDIST
="$GUIDIST INTL_DIST"
44958 if test "$wxUSE_XLOCALE" = "yes" ; then
44959 cat >>confdefs.h
<<\_ACEOF
44960 #define wxUSE_XLOCALE 1
44963 { echo "$as_me:$LINENO: checking for locale_t" >&5
44964 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
44965 if test "${ac_cv_type_locale_t+set}" = set; then
44966 echo $ECHO_N "(cached) $ECHO_C" >&6
44968 cat >conftest.
$ac_ext <<_ACEOF
44971 cat confdefs.h
>>conftest.
$ac_ext
44972 cat >>conftest.
$ac_ext <<_ACEOF
44973 /* end confdefs.h. */
44974 #include <xlocale.h>
44975 #include <locale.h>
44977 typedef locale_t ac__type_new_;
44981 if ((ac__type_new_ *) 0)
44983 if (sizeof (ac__type_new_))
44989 rm -f conftest.
$ac_objext
44990 if { (ac_try
="$ac_compile"
44991 case "(($ac_try" in
44992 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44993 *) ac_try_echo=$ac_try;;
44995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44996 (eval "$ac_compile") 2>conftest.er1
44998 grep -v '^ *+' conftest.er1 >conftest.err
45000 cat conftest.err >&5
45001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45002 (exit $ac_status); } && {
45003 test -z "$ac_c_werror_flag" ||
45004 test ! -s conftest.err
45005 } && test -s conftest.$ac_objext; then
45006 ac_cv_type_locale_t=yes
45008 echo "$as_me: failed program was:" >&5
45009 sed 's/^/| /' conftest.$ac_ext >&5
45011 ac_cv_type_locale_t=no
45014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45016 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
45017 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
45018 if test $ac_cv_type_locale_t = yes; then
45020 cat >>confdefs.h <<_ACEOF
45021 #define HAVE_LOCALE_T 1
45029 if test "$wxUSE_LOG" = "yes"; then
45030 cat >>confdefs.h <<\_ACEOF
45031 #define wxUSE_LOG 1
45035 if test "$wxUSE_LOGGUI" = "yes"; then
45036 cat >>confdefs.h <<\_ACEOF
45037 #define wxUSE_LOGGUI 1
45042 if test "$wxUSE_LOGWINDOW" = "yes"; then
45043 cat >>confdefs.h <<\_ACEOF
45044 #define wxUSE_LOGWINDOW 1
45049 if test "$wxUSE_LOGDIALOG" = "yes"; then
45050 cat >>confdefs.h <<\_ACEOF
45051 #define wxUSE_LOG_DIALOG 1
45056 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45059 if test "$wxUSE_LONGLONG" = "yes"; then
45060 cat >>confdefs.h <<\_ACEOF
45061 #define wxUSE_LONGLONG 1
45066 if test "$wxUSE_GEOMETRY" = "yes"; then
45067 cat >>confdefs.h <<\_ACEOF
45068 #define wxUSE_GEOMETRY 1
45073 if test "$wxUSE_BASE64" = "yes"; then
45074 cat >>confdefs.h <<\_ACEOF
45075 #define wxUSE_BASE64 1
45080 if test "$wxUSE_STREAMS" = "yes" ; then
45081 cat >>confdefs.h <<\_ACEOF
45082 #define wxUSE_STREAMS 1
45087 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45088 cat >>confdefs.h <<\_ACEOF
45089 #define wxUSE_PRINTF_POS_PARAMS 1
45094 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45095 cat >>confdefs.h <<\_ACEOF
45096 #define wxUSE_OBJC_UNIQUIFYING 1
45102 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45103 cat >>confdefs.h <<\_ACEOF
45104 #define wxUSE_CONSOLE_EVENTLOOP 1
45108 if test "$wxUSE_UNIX" = "yes"; then
45109 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45110 cat >>confdefs.h <<\_ACEOF
45111 #define wxUSE_SELECT_DISPATCHER 1
45116 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45118 for ac_header in sys/epoll.h
45120 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45121 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45123 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45124 echo $ECHO_N "(cached) $ECHO_C" >&6
45126 cat >conftest.$ac_ext <<_ACEOF
45129 cat confdefs.h >>conftest.$ac_ext
45130 cat >>conftest.$ac_ext <<_ACEOF
45131 /* end confdefs.h. */
45132 $ac_includes_default
45134 #include <$ac_header>
45136 rm -f conftest.$ac_objext
45137 if { (ac_try="$ac_compile"
45138 case "(($ac_try" in
45139 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45140 *) ac_try_echo
=$ac_try;;
45142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45143 (eval "$ac_compile") 2>conftest.er1
45145 grep -v '^ *+' conftest.er1
>conftest.err
45147 cat conftest.err
>&5
45148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45149 (exit $ac_status); } && {
45150 test -z "$ac_c_werror_flag" ||
45151 test ! -s conftest.err
45152 } && test -s conftest.
$ac_objext; then
45153 eval "$as_ac_Header=yes"
45155 echo "$as_me: failed program was:" >&5
45156 sed 's/^/| /' conftest.
$ac_ext >&5
45158 eval "$as_ac_Header=no"
45161 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45163 ac_res
=`eval echo '${'$as_ac_Header'}'`
45164 { echo "$as_me:$LINENO: result: $ac_res" >&5
45165 echo "${ECHO_T}$ac_res" >&6; }
45166 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45167 cat >>confdefs.h
<<_ACEOF
45168 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45175 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45176 cat >>confdefs.h
<<\_ACEOF
45177 #define wxUSE_EPOLL_DISPATCHER 1
45181 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45182 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45191 for ac_func
in gettimeofday ftime
45193 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45194 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45196 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45197 echo $ECHO_N "(cached) $ECHO_C" >&6
45199 cat >conftest.
$ac_ext <<_ACEOF
45202 cat confdefs.h
>>conftest.
$ac_ext
45203 cat >>conftest.
$ac_ext <<_ACEOF
45204 /* end confdefs.h. */
45205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45207 #define $ac_func innocuous_$ac_func
45209 /* System header to define __stub macros and hopefully few prototypes,
45210 which can conflict with char $ac_func (); below.
45211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45212 <limits.h> exists even on freestanding compilers. */
45215 # include <limits.h>
45217 # include <assert.h>
45222 /* Override any GCC internal prototype to avoid an error.
45223 Use char because int might match the return type of a GCC
45224 builtin and then its argument prototype would still apply. */
45229 /* The GNU C library defines this for functions which it implements
45230 to always fail with ENOSYS. Some functions are actually named
45231 something starting with __ and the normal name is an alias. */
45232 #if defined __stub_$ac_func || defined __stub___$ac_func
45239 return $ac_func ();
45244 rm -f conftest.
$ac_objext conftest
$ac_exeext
45245 if { (ac_try
="$ac_link"
45246 case "(($ac_try" in
45247 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45248 *) ac_try_echo=$ac_try;;
45250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45251 (eval "$ac_link") 2>conftest.er1
45253 grep -v '^ *+' conftest.er1 >conftest.err
45255 cat conftest.err >&5
45256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45257 (exit $ac_status); } && {
45258 test -z "$ac_c_werror_flag" ||
45259 test ! -s conftest.err
45260 } && test -s conftest$ac_exeext &&
45261 $as_test_x conftest$ac_exeext; then
45262 eval "$as_ac_var=yes"
45264 echo "$as_me: failed program was:" >&5
45265 sed 's/^/| /' conftest.$ac_ext >&5
45267 eval "$as_ac_var=no"
45270 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45271 conftest$ac_exeext conftest.$ac_ext
45273 ac_res=`eval echo '${'$as_ac_var'}'`
45274 { echo "$as_me:$LINENO: result: $ac_res" >&5
45275 echo "${ECHO_T}$ac_res" >&6; }
45276 if test `eval echo '${'$as_ac_var'}'` = yes; then
45277 cat >>confdefs.h <<_ACEOF
45278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45285 if test "$ac_cv_func_gettimeofday" = "yes"; then
45286 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45287 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45288 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45289 echo $ECHO_N "(cached) $ECHO_C" >&6
45292 cat >conftest.$ac_ext <<_ACEOF
45295 cat confdefs.h >>conftest.$ac_ext
45296 cat >>conftest.$ac_ext <<_ACEOF
45297 /* end confdefs.h. */
45299 #include <sys/time.h>
45300 #include <unistd.h>
45307 gettimeofday(&tv, NULL);
45313 rm -f conftest.$ac_objext
45314 if { (ac_try="$ac_compile"
45315 case "(($ac_try" in
45316 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45317 *) ac_try_echo
=$ac_try;;
45319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45320 (eval "$ac_compile") 2>conftest.er1
45322 grep -v '^ *+' conftest.er1
>conftest.err
45324 cat conftest.err
>&5
45325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45326 (exit $ac_status); } && {
45327 test -z "$ac_c_werror_flag" ||
45328 test ! -s conftest.err
45329 } && test -s conftest.
$ac_objext; then
45330 wx_cv_func_gettimeofday_has_2_args
=yes
45332 echo "$as_me: failed program was:" >&5
45333 sed 's/^/| /' conftest.
$ac_ext >&5
45335 cat >conftest.
$ac_ext <<_ACEOF
45338 cat confdefs.h
>>conftest.
$ac_ext
45339 cat >>conftest.
$ac_ext <<_ACEOF
45340 /* end confdefs.h. */
45342 #include <sys/time.h>
45343 #include <unistd.h>
45356 rm -f conftest.
$ac_objext
45357 if { (ac_try
="$ac_compile"
45358 case "(($ac_try" in
45359 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45360 *) ac_try_echo=$ac_try;;
45362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45363 (eval "$ac_compile") 2>conftest.er1
45365 grep -v '^ *+' conftest.er1 >conftest.err
45367 cat conftest.err >&5
45368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45369 (exit $ac_status); } && {
45370 test -z "$ac_c_werror_flag" ||
45371 test ! -s conftest.err
45372 } && test -s conftest.$ac_objext; then
45373 wx_cv_func_gettimeofday_has_2_args=no
45375 echo "$as_me: failed program was:" >&5
45376 sed 's/^/| /' conftest.$ac_ext >&5
45379 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45380 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45381 wx_cv_func_gettimeofday_has_2_args=unknown
45386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45393 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45394 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45396 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45397 cat >>confdefs.h <<\_ACEOF
45398 #define WX_GETTIMEOFDAY_NO_TZ 1
45404 if test "$wxUSE_DATETIME" = "yes"; then
45405 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45406 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45407 if test "${wx_cv_var_timezone+set}" = set; then
45408 echo $ECHO_N "(cached) $ECHO_C" >&6
45412 ac_cpp='$CXXCPP $CPPFLAGS'
45413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45417 cat >conftest.$ac_ext <<_ACEOF
45420 cat confdefs.h >>conftest.$ac_ext
45421 cat >>conftest.$ac_ext <<_ACEOF
45422 /* end confdefs.h. */
45437 rm -f conftest.$ac_objext
45438 if { (ac_try="$ac_compile"
45439 case "(($ac_try" in
45440 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45441 *) ac_try_echo
=$ac_try;;
45443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45444 (eval "$ac_compile") 2>conftest.er1
45446 grep -v '^ *+' conftest.er1
>conftest.err
45448 cat conftest.err
>&5
45449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45450 (exit $ac_status); } && {
45451 test -z "$ac_cxx_werror_flag" ||
45452 test ! -s conftest.err
45453 } && test -s conftest.
$ac_objext; then
45455 wx_cv_var_timezone
=timezone
45458 echo "$as_me: failed program was:" >&5
45459 sed 's/^/| /' conftest.
$ac_ext >&5
45462 cat >conftest.
$ac_ext <<_ACEOF
45465 cat confdefs.h
>>conftest.
$ac_ext
45466 cat >>conftest.
$ac_ext <<_ACEOF
45467 /* end confdefs.h. */
45482 rm -f conftest.
$ac_objext
45483 if { (ac_try
="$ac_compile"
45484 case "(($ac_try" in
45485 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45486 *) ac_try_echo=$ac_try;;
45488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45489 (eval "$ac_compile") 2>conftest.er1
45491 grep -v '^ *+' conftest.er1 >conftest.err
45493 cat conftest.err >&5
45494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45495 (exit $ac_status); } && {
45496 test -z "$ac_cxx_werror_flag" ||
45497 test ! -s conftest.err
45498 } && test -s conftest.$ac_objext; then
45500 wx_cv_var_timezone=_timezone
45503 echo "$as_me: failed program was:" >&5
45504 sed 's/^/| /' conftest.$ac_ext >&5
45507 cat >conftest.$ac_ext <<_ACEOF
45510 cat confdefs.h >>conftest.$ac_ext
45511 cat >>conftest.$ac_ext <<_ACEOF
45512 /* end confdefs.h. */
45527 rm -f conftest.$ac_objext
45528 if { (ac_try="$ac_compile"
45529 case "(($ac_try" in
45530 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45531 *) ac_try_echo
=$ac_try;;
45533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45534 (eval "$ac_compile") 2>conftest.er1
45536 grep -v '^ *+' conftest.er1
>conftest.err
45538 cat conftest.err
>&5
45539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45540 (exit $ac_status); } && {
45541 test -z "$ac_cxx_werror_flag" ||
45542 test ! -s conftest.err
45543 } && test -s conftest.
$ac_objext; then
45545 wx_cv_var_timezone
=__timezone
45548 echo "$as_me: failed program was:" >&5
45549 sed 's/^/| /' conftest.
$ac_ext >&5
45552 if test "$USE_DOS" = 0 ; then
45553 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45554 echo "$as_me: WARNING: no timezone variable" >&2;}
45560 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45565 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45570 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45572 ac_cpp
='$CPP $CPPFLAGS'
45573 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45574 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45575 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45580 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45581 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45583 if test "x$wx_cv_var_timezone" != x
; then
45584 cat >>confdefs.h
<<_ACEOF
45585 #define WX_TIMEZONE $wx_cv_var_timezone
45591 for ac_func
in localtime
45593 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45594 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45596 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45597 echo $ECHO_N "(cached) $ECHO_C" >&6
45599 cat >conftest.
$ac_ext <<_ACEOF
45602 cat confdefs.h
>>conftest.
$ac_ext
45603 cat >>conftest.
$ac_ext <<_ACEOF
45604 /* end confdefs.h. */
45605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45607 #define $ac_func innocuous_$ac_func
45609 /* System header to define __stub macros and hopefully few prototypes,
45610 which can conflict with char $ac_func (); below.
45611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45612 <limits.h> exists even on freestanding compilers. */
45615 # include <limits.h>
45617 # include <assert.h>
45622 /* Override any GCC internal prototype to avoid an error.
45623 Use char because int might match the return type of a GCC
45624 builtin and then its argument prototype would still apply. */
45629 /* The GNU C library defines this for functions which it implements
45630 to always fail with ENOSYS. Some functions are actually named
45631 something starting with __ and the normal name is an alias. */
45632 #if defined __stub_$ac_func || defined __stub___$ac_func
45639 return $ac_func ();
45644 rm -f conftest.
$ac_objext conftest
$ac_exeext
45645 if { (ac_try
="$ac_link"
45646 case "(($ac_try" in
45647 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45648 *) ac_try_echo=$ac_try;;
45650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45651 (eval "$ac_link") 2>conftest.er1
45653 grep -v '^ *+' conftest.er1 >conftest.err
45655 cat conftest.err >&5
45656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45657 (exit $ac_status); } && {
45658 test -z "$ac_c_werror_flag" ||
45659 test ! -s conftest.err
45660 } && test -s conftest$ac_exeext &&
45661 $as_test_x conftest$ac_exeext; then
45662 eval "$as_ac_var=yes"
45664 echo "$as_me: failed program was:" >&5
45665 sed 's/^/| /' conftest.$ac_ext >&5
45667 eval "$as_ac_var=no"
45670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45671 conftest$ac_exeext conftest.$ac_ext
45673 ac_res=`eval echo '${'$as_ac_var'}'`
45674 { echo "$as_me:$LINENO: result: $ac_res" >&5
45675 echo "${ECHO_T}$ac_res" >&6; }
45676 if test `eval echo '${'$as_ac_var'}'` = yes; then
45677 cat >>confdefs.h <<_ACEOF
45678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45685 if test "$ac_cv_func_localtime" = "yes"; then
45686 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45687 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45688 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45689 echo $ECHO_N "(cached) $ECHO_C" >&6
45692 cat >conftest.$ac_ext <<_ACEOF
45695 cat confdefs.h >>conftest.$ac_ext
45696 cat >>conftest.$ac_ext <<_ACEOF
45697 /* end confdefs.h. */
45712 rm -f conftest.$ac_objext
45713 if { (ac_try="$ac_compile"
45714 case "(($ac_try" in
45715 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45716 *) ac_try_echo
=$ac_try;;
45718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45719 (eval "$ac_compile") 2>conftest.er1
45721 grep -v '^ *+' conftest.er1
>conftest.err
45723 cat conftest.err
>&5
45724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45725 (exit $ac_status); } && {
45726 test -z "$ac_c_werror_flag" ||
45727 test ! -s conftest.err
45728 } && test -s conftest.
$ac_objext; then
45730 wx_cv_struct_tm_has_gmtoff
=yes
45733 echo "$as_me: failed program was:" >&5
45734 sed 's/^/| /' conftest.
$ac_ext >&5
45736 wx_cv_struct_tm_has_gmtoff
=no
45740 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45743 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45744 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45747 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45748 cat >>confdefs.h
<<\_ACEOF
45749 #define WX_GMTOFF_IN_TM 1
45754 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
45758 if test "$wxUSE_SOCKETS" = "yes"; then
45759 if test "$wxUSE_MGL" = 1; then
45760 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45761 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45766 if test "$wxUSE_SOCKETS" = "yes"; then
45767 if test "$TOOLKIT" != "MSW"; then
45768 { echo "$as_me:$LINENO: checking for socket" >&5
45769 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45770 if test "${ac_cv_func_socket+set}" = set; then
45771 echo $ECHO_N "(cached) $ECHO_C" >&6
45773 cat >conftest.
$ac_ext <<_ACEOF
45776 cat confdefs.h
>>conftest.
$ac_ext
45777 cat >>conftest.
$ac_ext <<_ACEOF
45778 /* end confdefs.h. */
45779 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45781 #define socket innocuous_socket
45783 /* System header to define __stub macros and hopefully few prototypes,
45784 which can conflict with char socket (); below.
45785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45786 <limits.h> exists even on freestanding compilers. */
45789 # include <limits.h>
45791 # include <assert.h>
45796 /* Override any GCC internal prototype to avoid an error.
45797 Use char because int might match the return type of a GCC
45798 builtin and then its argument prototype would still apply. */
45803 /* The GNU C library defines this for functions which it implements
45804 to always fail with ENOSYS. Some functions are actually named
45805 something starting with __ and the normal name is an alias. */
45806 #if defined __stub_socket || defined __stub___socket
45818 rm -f conftest.
$ac_objext conftest
$ac_exeext
45819 if { (ac_try
="$ac_link"
45820 case "(($ac_try" in
45821 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45822 *) ac_try_echo=$ac_try;;
45824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45825 (eval "$ac_link") 2>conftest.er1
45827 grep -v '^ *+' conftest.er1 >conftest.err
45829 cat conftest.err >&5
45830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45831 (exit $ac_status); } && {
45832 test -z "$ac_c_werror_flag" ||
45833 test ! -s conftest.err
45834 } && test -s conftest$ac_exeext &&
45835 $as_test_x conftest$ac_exeext; then
45836 ac_cv_func_socket=yes
45838 echo "$as_me: failed program was:" >&5
45839 sed 's/^/| /' conftest.$ac_ext >&5
45841 ac_cv_func_socket=no
45844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45845 conftest$ac_exeext conftest.$ac_ext
45847 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45848 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45849 if test $ac_cv_func_socket = yes; then
45853 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45854 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45855 if test "${ac_cv_lib_socket_socket+set}" = set; then
45856 echo $ECHO_N "(cached) $ECHO_C" >&6
45858 ac_check_lib_save_LIBS=$LIBS
45859 LIBS="-lsocket $LIBS"
45860 cat >conftest.$ac_ext <<_ACEOF
45863 cat confdefs.h >>conftest.$ac_ext
45864 cat >>conftest.$ac_ext <<_ACEOF
45865 /* end confdefs.h. */
45867 /* Override any GCC internal prototype to avoid an error.
45868 Use char because int might match the return type of a GCC
45869 builtin and then its argument prototype would still apply. */
45882 rm -f conftest.$ac_objext conftest$ac_exeext
45883 if { (ac_try="$ac_link"
45884 case "(($ac_try" in
45885 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45886 *) ac_try_echo
=$ac_try;;
45888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45889 (eval "$ac_link") 2>conftest.er1
45891 grep -v '^ *+' conftest.er1
>conftest.err
45893 cat conftest.err
>&5
45894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45895 (exit $ac_status); } && {
45896 test -z "$ac_c_werror_flag" ||
45897 test ! -s conftest.err
45898 } && test -s conftest
$ac_exeext &&
45899 $as_test_x conftest
$ac_exeext; then
45900 ac_cv_lib_socket_socket
=yes
45902 echo "$as_me: failed program was:" >&5
45903 sed 's/^/| /' conftest.
$ac_ext >&5
45905 ac_cv_lib_socket_socket
=no
45908 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45909 conftest
$ac_exeext conftest.
$ac_ext
45910 LIBS
=$ac_check_lib_save_LIBS
45912 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45913 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
45914 if test $ac_cv_lib_socket_socket = yes; then
45915 if test "$INET_LINK" != " -lsocket"; then
45916 INET_LINK
="$INET_LINK -lsocket"
45920 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45921 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45934 if test "$wxUSE_SOCKETS" = "yes" ; then
45935 if test "$TOOLKIT" != "MSW"; then
45936 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45937 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
45938 if test "${wx_cv_type_getsockname3+set}" = set; then
45939 echo $ECHO_N "(cached) $ECHO_C" >&6
45943 ac_cpp
='$CXXCPP $CPPFLAGS'
45944 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45945 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45946 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45948 cat >conftest.
$ac_ext <<_ACEOF
45951 cat confdefs.h
>>conftest.
$ac_ext
45952 cat >>conftest.
$ac_ext <<_ACEOF
45953 /* end confdefs.h. */
45955 #include <sys/types.h>
45956 #include <sys/socket.h>
45963 getsockname(0, 0, &len);
45969 rm -f conftest.
$ac_objext
45970 if { (ac_try
="$ac_compile"
45971 case "(($ac_try" in
45972 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45973 *) ac_try_echo=$ac_try;;
45975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45976 (eval "$ac_compile") 2>conftest.er1
45978 grep -v '^ *+' conftest.er1 >conftest.err
45980 cat conftest.err >&5
45981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45982 (exit $ac_status); } && {
45983 test -z "$ac_cxx_werror_flag" ||
45984 test ! -s conftest.err
45985 } && test -s conftest.$ac_objext; then
45986 wx_cv_type_getsockname3=socklen_t
45988 echo "$as_me: failed program was:" >&5
45989 sed 's/^/| /' conftest.$ac_ext >&5
45992 CFLAGS_OLD="$CFLAGS"
45993 if test "$GCC" = yes ; then
45994 CFLAGS="-Werror $CFLAGS"
45997 cat >conftest.$ac_ext <<_ACEOF
46000 cat confdefs.h >>conftest.$ac_ext
46001 cat >>conftest.$ac_ext <<_ACEOF
46002 /* end confdefs.h. */
46004 #include <sys/types.h>
46005 #include <sys/socket.h>
46012 getsockname(0, 0, &len);
46018 rm -f conftest.$ac_objext
46019 if { (ac_try="$ac_compile"
46020 case "(($ac_try" in
46021 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46022 *) ac_try_echo
=$ac_try;;
46024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46025 (eval "$ac_compile") 2>conftest.er1
46027 grep -v '^ *+' conftest.er1
>conftest.err
46029 cat conftest.err
>&5
46030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46031 (exit $ac_status); } && {
46032 test -z "$ac_cxx_werror_flag" ||
46033 test ! -s conftest.err
46034 } && test -s conftest.
$ac_objext; then
46035 wx_cv_type_getsockname3
=size_t
46037 echo "$as_me: failed program was:" >&5
46038 sed 's/^/| /' conftest.
$ac_ext >&5
46040 cat >conftest.
$ac_ext <<_ACEOF
46043 cat confdefs.h
>>conftest.
$ac_ext
46044 cat >>conftest.
$ac_ext <<_ACEOF
46045 /* end confdefs.h. */
46047 #include <sys/types.h>
46048 #include <sys/socket.h>
46055 getsockname(0, 0, &len);
46061 rm -f conftest.
$ac_objext
46062 if { (ac_try
="$ac_compile"
46063 case "(($ac_try" in
46064 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46065 *) ac_try_echo=$ac_try;;
46067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46068 (eval "$ac_compile") 2>conftest.er1
46070 grep -v '^ *+' conftest.er1 >conftest.err
46072 cat conftest.err >&5
46073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46074 (exit $ac_status); } && {
46075 test -z "$ac_cxx_werror_flag" ||
46076 test ! -s conftest.err
46077 } && test -s conftest.$ac_objext; then
46078 wx_cv_type_getsockname3=int
46080 echo "$as_me: failed program was:" >&5
46081 sed 's/^/| /' conftest.$ac_ext >&5
46083 wx_cv_type_getsockname3=unknown
46087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46093 CFLAGS="$CFLAGS_OLD"
46098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46100 ac_cpp='$CPP $CPPFLAGS'
46101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46107 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46108 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46110 if test "$wx_cv_type_getsockname3" = "unknown"; then
46112 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46113 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46115 cat >>confdefs.h <<_ACEOF
46116 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46120 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46121 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46122 if test "${wx_cv_type_getsockopt5+set}" = set; then
46123 echo $ECHO_N "(cached) $ECHO_C" >&6
46127 ac_cpp='$CXXCPP $CPPFLAGS'
46128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46132 cat >conftest.$ac_ext <<_ACEOF
46135 cat confdefs.h >>conftest.$ac_ext
46136 cat >>conftest.$ac_ext <<_ACEOF
46137 /* end confdefs.h. */
46139 #include <sys/types.h>
46140 #include <sys/socket.h>
46147 getsockopt(0, 0, 0, 0, &len);
46153 rm -f conftest.$ac_objext
46154 if { (ac_try="$ac_compile"
46155 case "(($ac_try" in
46156 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46157 *) ac_try_echo
=$ac_try;;
46159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46160 (eval "$ac_compile") 2>conftest.er1
46162 grep -v '^ *+' conftest.er1
>conftest.err
46164 cat conftest.err
>&5
46165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46166 (exit $ac_status); } && {
46167 test -z "$ac_cxx_werror_flag" ||
46168 test ! -s conftest.err
46169 } && test -s conftest.
$ac_objext; then
46170 wx_cv_type_getsockopt5
=socklen_t
46172 echo "$as_me: failed program was:" >&5
46173 sed 's/^/| /' conftest.
$ac_ext >&5
46176 cat >conftest.
$ac_ext <<_ACEOF
46179 cat confdefs.h
>>conftest.
$ac_ext
46180 cat >>conftest.
$ac_ext <<_ACEOF
46181 /* end confdefs.h. */
46183 #include <sys/types.h>
46184 #include <sys/socket.h>
46191 getsockopt(0, 0, 0, 0, &len);
46197 rm -f conftest.
$ac_objext
46198 if { (ac_try
="$ac_compile"
46199 case "(($ac_try" in
46200 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46201 *) ac_try_echo=$ac_try;;
46203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46204 (eval "$ac_compile") 2>conftest.er1
46206 grep -v '^ *+' conftest.er1 >conftest.err
46208 cat conftest.err >&5
46209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46210 (exit $ac_status); } && {
46211 test -z "$ac_cxx_werror_flag" ||
46212 test ! -s conftest.err
46213 } && test -s conftest.$ac_objext; then
46214 wx_cv_type_getsockopt5=size_t
46216 echo "$as_me: failed program was:" >&5
46217 sed 's/^/| /' conftest.$ac_ext >&5
46219 cat >conftest.$ac_ext <<_ACEOF
46222 cat confdefs.h >>conftest.$ac_ext
46223 cat >>conftest.$ac_ext <<_ACEOF
46224 /* end confdefs.h. */
46226 #include <sys/types.h>
46227 #include <sys/socket.h>
46234 getsockopt(0, 0, 0, 0, &len);
46240 rm -f conftest.$ac_objext
46241 if { (ac_try="$ac_compile"
46242 case "(($ac_try" in
46243 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46244 *) ac_try_echo
=$ac_try;;
46246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46247 (eval "$ac_compile") 2>conftest.er1
46249 grep -v '^ *+' conftest.er1
>conftest.err
46251 cat conftest.err
>&5
46252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46253 (exit $ac_status); } && {
46254 test -z "$ac_cxx_werror_flag" ||
46255 test ! -s conftest.err
46256 } && test -s conftest.
$ac_objext; then
46257 wx_cv_type_getsockopt5
=int
46259 echo "$as_me: failed program was:" >&5
46260 sed 's/^/| /' conftest.
$ac_ext >&5
46262 wx_cv_type_getsockopt5
=unknown
46266 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46270 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46275 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46277 ac_cpp
='$CPP $CPPFLAGS'
46278 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46279 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46280 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46284 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46285 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46287 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46289 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46290 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46292 cat >>confdefs.h
<<_ACEOF
46293 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46300 if test "$wxUSE_SOCKETS" = "yes" ; then
46301 if test "$wxUSE_IPV6" = "yes"; then
46302 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46303 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46304 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46305 echo $ECHO_N "(cached) $ECHO_C" >&6
46308 cat >conftest.
$ac_ext <<_ACEOF
46311 cat confdefs.h
>>conftest.
$ac_ext
46312 cat >>conftest.
$ac_ext <<_ACEOF
46313 /* end confdefs.h. */
46315 #include <sys/types.h>
46316 #include <sys/socket.h>
46317 #include <netinet/in.h>
46323 struct sockaddr_in6 sa6;
46329 rm -f conftest.
$ac_objext
46330 if { (ac_try
="$ac_compile"
46331 case "(($ac_try" in
46332 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46333 *) ac_try_echo=$ac_try;;
46335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46336 (eval "$ac_compile") 2>conftest.er1
46338 grep -v '^ *+' conftest.er1 >conftest.err
46340 cat conftest.err >&5
46341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46342 (exit $ac_status); } && {
46343 test -z "$ac_c_werror_flag" ||
46344 test ! -s conftest.err
46345 } && test -s conftest.$ac_objext; then
46346 wx_cv_type_sockaddr_in6=yes
46348 echo "$as_me: failed program was:" >&5
46349 sed 's/^/| /' conftest.$ac_ext >&5
46351 wx_cv_type_sockaddr_in6=no
46355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46359 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46360 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46362 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46363 cat >>confdefs.h <<\_ACEOF
46364 #define wxUSE_IPV6 1
46368 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46369 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46373 cat >>confdefs.h <<\_ACEOF
46374 #define wxUSE_SOCKETS 1
46377 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46380 if test "$wxUSE_PROTOCOL" = "yes"; then
46381 if test "$wxUSE_SOCKETS" != "yes"; then
46382 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46383 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46388 if test "$wxUSE_PROTOCOL" = "yes"; then
46389 cat >>confdefs.h <<\_ACEOF
46390 #define wxUSE_PROTOCOL 1
46394 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46395 cat >>confdefs.h <<\_ACEOF
46396 #define wxUSE_PROTOCOL_HTTP 1
46400 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46401 cat >>confdefs.h <<\_ACEOF
46402 #define wxUSE_PROTOCOL_FTP 1
46406 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46407 cat >>confdefs.h <<\_ACEOF
46408 #define wxUSE_PROTOCOL_FILE 1
46413 if test "$wxUSE_FS_INET" = "yes"; then
46414 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46415 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46420 if test "$wxUSE_URL" = "yes"; then
46421 if test "$wxUSE_PROTOCOL" != "yes"; then
46422 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46423 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46426 if test "$wxUSE_URL" = "yes"; then
46427 cat >>confdefs.h <<\_ACEOF
46428 #define wxUSE_URL 1
46434 if test "$wxUSE_VARIANT" = "yes"; then
46435 cat >>confdefs.h <<\_ACEOF
46436 #define wxUSE_VARIANT 1
46441 if test "$wxUSE_FS_INET" = "yes"; then
46442 cat >>confdefs.h <<\_ACEOF
46443 #define wxUSE_FS_INET 1
46449 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46452 if test "$TOOLKIT" = "MSW"; then
46455 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46456 if test "$USE_DARWIN" = 1; then
46457 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46458 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46460 ac_cpp='$CXXCPP $CPPFLAGS'
46461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46465 cat >conftest.$ac_ext <<_ACEOF
46468 cat confdefs.h >>conftest.$ac_ext
46469 cat >>conftest.$ac_ext <<_ACEOF
46470 /* end confdefs.h. */
46471 #include <IOKit/hid/IOHIDLib.h>
46475 IOHIDQueueInterface *qi = NULL;
46476 IOHIDCallbackFunction cb = NULL;
46477 qi->setEventCallout(NULL, cb, NULL, NULL);
46482 rm -f conftest.$ac_objext
46483 if { (ac_try="$ac_compile"
46484 case "(($ac_try" in
46485 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46486 *) ac_try_echo
=$ac_try;;
46488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46489 (eval "$ac_compile") 2>conftest.er1
46491 grep -v '^ *+' conftest.er1
>conftest.err
46493 cat conftest.err
>&5
46494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46495 (exit $ac_status); } && {
46496 test -z "$ac_cxx_werror_flag" ||
46497 test ! -s conftest.err
46498 } && test -s conftest.
$ac_objext; then
46502 echo "$as_me: failed program was:" >&5
46503 sed 's/^/| /' conftest.
$ac_ext >&5
46508 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46510 ac_cpp
='$CPP $CPPFLAGS'
46511 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46512 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46513 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46515 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46516 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46520 if test "$wxUSE_MGL" != 1; then
46522 for ac_header
in linux
/joystick.h
46524 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46525 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46526 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46527 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46528 echo $ECHO_N "(cached) $ECHO_C" >&6
46530 cat >conftest.
$ac_ext <<_ACEOF
46533 cat confdefs.h
>>conftest.
$ac_ext
46534 cat >>conftest.
$ac_ext <<_ACEOF
46535 /* end confdefs.h. */
46536 $ac_includes_default
46538 #include <$ac_header>
46540 rm -f conftest.
$ac_objext
46541 if { (ac_try
="$ac_compile"
46542 case "(($ac_try" in
46543 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46544 *) ac_try_echo=$ac_try;;
46546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46547 (eval "$ac_compile") 2>conftest.er1
46549 grep -v '^ *+' conftest.er1 >conftest.err
46551 cat conftest.err >&5
46552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46553 (exit $ac_status); } && {
46554 test -z "$ac_c_werror_flag" ||
46555 test ! -s conftest.err
46556 } && test -s conftest.$ac_objext; then
46557 eval "$as_ac_Header=yes"
46559 echo "$as_me: failed program was:" >&5
46560 sed 's/^/| /' conftest.$ac_ext >&5
46562 eval "$as_ac_Header=no"
46565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46567 ac_res=`eval echo '${'$as_ac_Header'}'`
46568 { echo "$as_me:$LINENO: result: $ac_res" >&5
46569 echo "${ECHO_T}$ac_res" >&6; }
46570 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46571 cat >>confdefs.h <<_ACEOF
46572 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46582 if test "$wxUSE_JOYSTICK" = "yes"; then
46583 cat >>confdefs.h <<\_ACEOF
46584 #define wxUSE_JOYSTICK 1
46587 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46589 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46590 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46596 if test "$wxUSE_FONTENUM" = "yes" ; then
46597 cat >>confdefs.h <<\_ACEOF
46598 #define wxUSE_FONTENUM 1
46603 if test "$wxUSE_FONTMAP" = "yes" ; then
46604 cat >>confdefs.h <<\_ACEOF
46605 #define wxUSE_FONTMAP 1
46610 if test "$wxUSE_UNICODE" = "yes" ; then
46611 cat >>confdefs.h <<\_ACEOF
46612 #define wxUSE_UNICODE 1
46616 if test "$USE_WIN32" != 1; then
46617 wxUSE_UNICODE_MSLU=no
46620 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46621 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46622 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46623 if test "${ac_cv_lib_unicows_main+set}" = set; then
46624 echo $ECHO_N "(cached) $ECHO_C" >&6
46626 ac_check_lib_save_LIBS=$LIBS
46627 LIBS="-lunicows $LIBS"
46628 cat >conftest.$ac_ext <<_ACEOF
46631 cat confdefs.h >>conftest.$ac_ext
46632 cat >>conftest.$ac_ext <<_ACEOF
46633 /* end confdefs.h. */
46644 rm -f conftest.$ac_objext conftest$ac_exeext
46645 if { (ac_try="$ac_link"
46646 case "(($ac_try" in
46647 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46648 *) ac_try_echo
=$ac_try;;
46650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46651 (eval "$ac_link") 2>conftest.er1
46653 grep -v '^ *+' conftest.er1
>conftest.err
46655 cat conftest.err
>&5
46656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46657 (exit $ac_status); } && {
46658 test -z "$ac_c_werror_flag" ||
46659 test ! -s conftest.err
46660 } && test -s conftest
$ac_exeext &&
46661 $as_test_x conftest
$ac_exeext; then
46662 ac_cv_lib_unicows_main
=yes
46664 echo "$as_me: failed program was:" >&5
46665 sed 's/^/| /' conftest.
$ac_ext >&5
46667 ac_cv_lib_unicows_main
=no
46670 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46671 conftest
$ac_exeext conftest.
$ac_ext
46672 LIBS
=$ac_check_lib_save_LIBS
46674 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46675 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46676 if test $ac_cv_lib_unicows_main = yes; then
46678 cat >>confdefs.h
<<\_ACEOF
46679 #define wxUSE_UNICODE_MSLU 1
46685 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46686 Applications will only run on Windows NT/2000/XP!" >&5
46687 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46688 Applications will only run on Windows NT/2000/XP!" >&2;}
46689 wxUSE_UNICODE_MSLU
=no
46696 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46697 cat >>confdefs.h
<<\_ACEOF
46698 #define wxUSE_UNICODE_UTF8 1
46702 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46703 cat >>confdefs.h
<<\_ACEOF
46704 #define wxUSE_UTF8_LOCALE_ONLY 1
46711 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46712 cat >>confdefs.h
<<\_ACEOF
46713 #define wxUSE_CONSTRAINTS 1
46716 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
46719 if test "$wxUSE_MDI" = "yes"; then
46720 cat >>confdefs.h
<<\_ACEOF
46721 #define wxUSE_MDI 1
46725 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46726 cat >>confdefs.h
<<\_ACEOF
46727 #define wxUSE_MDI_ARCHITECTURE 1
46730 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
46734 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46735 cat >>confdefs.h
<<\_ACEOF
46736 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46739 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
46742 if test "$wxUSE_HELP" = "yes"; then
46743 cat >>confdefs.h
<<\_ACEOF
46744 #define wxUSE_HELP 1
46747 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
46749 if test "$wxUSE_MSW" = 1; then
46750 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46751 cat >>confdefs.h
<<\_ACEOF
46752 #define wxUSE_MS_HTML_HELP 1
46758 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46759 if test "$wxUSE_HTML" = "yes"; then
46760 cat >>confdefs.h
<<\_ACEOF
46761 #define wxUSE_WXHTML_HELP 1
46765 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46766 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46767 wxUSE_WXHTML_HELP
=no
46772 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46773 cat >>confdefs.h
<<\_ACEOF
46774 #define wxUSE_PRINTING_ARCHITECTURE 1
46777 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
46780 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46781 cat >>confdefs.h
<<\_ACEOF
46782 #define wxUSE_POSTSCRIPT 1
46787 cat >>confdefs.h
<<\_ACEOF
46788 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46792 if test "$wxUSE_SVG" = "yes"; then
46793 cat >>confdefs.h
<<\_ACEOF
46794 #define wxUSE_SVG 1
46800 if test "$wxUSE_METAFILE" = "yes"; then
46801 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46802 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46803 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46809 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
46810 -o "$wxUSE_CLIPBOARD" = "yes" \
46811 -o "$wxUSE_OLE" = "yes" \
46812 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
46813 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46814 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46815 if test "${ac_cv_header_ole2_h+set}" = set; then
46816 echo $ECHO_N "(cached) $ECHO_C" >&6
46818 cat >conftest.
$ac_ext <<_ACEOF
46821 cat confdefs.h
>>conftest.
$ac_ext
46822 cat >>conftest.
$ac_ext <<_ACEOF
46823 /* end confdefs.h. */
46828 rm -f conftest.
$ac_objext
46829 if { (ac_try
="$ac_compile"
46830 case "(($ac_try" in
46831 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46832 *) ac_try_echo=$ac_try;;
46834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46835 (eval "$ac_compile") 2>conftest.er1
46837 grep -v '^ *+' conftest.er1 >conftest.err
46839 cat conftest.err >&5
46840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46841 (exit $ac_status); } && {
46842 test -z "$ac_c_werror_flag" ||
46843 test ! -s conftest.err
46844 } && test -s conftest.$ac_objext; then
46845 ac_cv_header_ole2_h=yes
46847 echo "$as_me: failed program was:" >&5
46848 sed 's/^/| /' conftest.$ac_ext >&5
46850 ac_cv_header_ole2_h=no
46853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46855 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46856 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
46860 if test "$ac_cv_header_ole2_h" = "yes" ; then
46861 if test "$GCC" = yes ; then
46862 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46863 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
46864 cat >conftest.$ac_ext <<_ACEOF
46867 cat confdefs.h >>conftest.$ac_ext
46868 cat >>conftest.$ac_ext <<_ACEOF
46869 /* end confdefs.h. */
46870 #include <windows.h>
46880 rm -f conftest.$ac_objext
46881 if { (ac_try="$ac_compile"
46882 case "(($ac_try" in
46883 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46884 *) ac_try_echo
=$ac_try;;
46886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46887 (eval "$ac_compile") 2>conftest.er1
46889 grep -v '^ *+' conftest.er1
>conftest.err
46891 cat conftest.err
>&5
46892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46893 (exit $ac_status); } && {
46894 test -z "$ac_c_werror_flag" ||
46895 test ! -s conftest.err
46896 } && test -s conftest.
$ac_objext; then
46897 { echo "$as_me:$LINENO: result: no" >&5
46898 echo "${ECHO_T}no" >&6; }
46900 echo "$as_me: failed program was:" >&5
46901 sed 's/^/| /' conftest.
$ac_ext >&5
46903 { echo "$as_me:$LINENO: result: yes" >&5
46904 echo "${ECHO_T}yes" >&6; }
46905 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46909 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46910 if test "$wxUSE_OLE" = "yes" ; then
46911 cat >>confdefs.h
<<\_ACEOF
46912 #define wxUSE_OLE 1
46915 cat >>confdefs.h
<<\_ACEOF
46916 #define wxUSE_OLE_AUTOMATION 1
46919 cat >>confdefs.h
<<\_ACEOF
46920 #define wxUSE_ACTIVEX 1
46923 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
46927 if test "$wxUSE_DATAOBJ" = "yes" ; then
46928 cat >>confdefs.h
<<\_ACEOF
46929 #define wxUSE_DATAOBJ 1
46934 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46935 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46938 wxUSE_DRAG_AND_DROP
=no
46943 if test "$wxUSE_METAFILE" = "yes"; then
46944 cat >>confdefs.h
<<\_ACEOF
46945 #define wxUSE_METAFILE 1
46949 cat >>confdefs.h
<<\_ACEOF
46950 #define wxUSE_ENH_METAFILE 1
46956 if test "$wxUSE_IPC" = "yes"; then
46957 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46958 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46959 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46963 if test "$wxUSE_IPC" = "yes"; then
46964 cat >>confdefs.h
<<\_ACEOF
46965 #define wxUSE_IPC 1
46968 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
46972 if test "$wxUSE_DATAOBJ" = "yes"; then
46973 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46974 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46975 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46978 cat >>confdefs.h
<<\_ACEOF
46979 #define wxUSE_DATAOBJ 1
46984 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46985 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46987 wxUSE_DRAG_AND_DROP
=no
46990 if test "$wxUSE_CLIPBOARD" = "yes"; then
46991 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46992 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46993 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46997 if test "$wxUSE_CLIPBOARD" = "yes"; then
46998 cat >>confdefs.h
<<\_ACEOF
46999 #define wxUSE_CLIPBOARD 1
47005 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47006 if test "$wxUSE_GTK" = 1; then
47007 if test "$WXGTK12" != 1; then
47008 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47009 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47010 wxUSE_DRAG_AND_DROP
=no
47014 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47015 "$wxUSE_DFB" = 1; then
47016 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47017 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47018 wxUSE_DRAG_AND_DROP
=no
47021 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47022 cat >>confdefs.h
<<\_ACEOF
47023 #define wxUSE_DRAG_AND_DROP 1
47030 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47031 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
47034 if test "$wxUSE_CLIPBOARD" = "yes"; then
47035 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
47038 if test "$wxUSE_SPLINES" = "yes" ; then
47039 cat >>confdefs.h
<<\_ACEOF
47040 #define wxUSE_SPLINES 1
47045 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47046 cat >>confdefs.h
<<\_ACEOF
47047 #define wxUSE_MOUSEWHEEL 1
47052 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
47053 cat >>confdefs.h
<<\_ACEOF
47054 #define wxUSE_UIACTIONSIMULATOR 1
47057 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS uiaction"
47062 if test "$wxUSE_CONTROLS" = "yes"; then
47066 if test "$wxUSE_MARKUP" = "yes"; then
47067 cat >>confdefs.h
<<\_ACEOF
47068 #define wxUSE_MARKUP 1
47073 if test "$wxUSE_ACCEL" = "yes"; then
47074 cat >>confdefs.h
<<\_ACEOF
47075 #define wxUSE_ACCEL 1
47081 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47082 cat >>confdefs.h
<<\_ACEOF
47083 #define wxUSE_ANIMATIONCTRL 1
47087 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
47090 if test "$wxUSE_BUTTON" = "yes"; then
47091 cat >>confdefs.h
<<\_ACEOF
47092 #define wxUSE_BUTTON 1
47098 if test "$wxUSE_BMPBUTTON" = "yes"; then
47099 cat >>confdefs.h
<<\_ACEOF
47100 #define wxUSE_BMPBUTTON 1
47106 if test "$wxUSE_CALCTRL" = "yes"; then
47107 cat >>confdefs.h
<<\_ACEOF
47108 #define wxUSE_CALENDARCTRL 1
47112 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
47115 if test "$wxUSE_CARET" = "yes"; then
47116 cat >>confdefs.h
<<\_ACEOF
47117 #define wxUSE_CARET 1
47121 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
47124 if test "$wxUSE_COLLPANE" = "yes"; then
47125 cat >>confdefs.h
<<\_ACEOF
47126 #define wxUSE_COLLPANE 1
47130 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
47133 if test "$wxUSE_COMBOBOX" = "yes"; then
47134 cat >>confdefs.h
<<\_ACEOF
47135 #define wxUSE_COMBOBOX 1
47141 if test "$wxUSE_COMBOCTRL" = "yes"; then
47142 cat >>confdefs.h
<<\_ACEOF
47143 #define wxUSE_COMBOCTRL 1
47149 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
47150 cat >>confdefs.h
<<\_ACEOF
47151 #define wxUSE_COMMANDLINKBUTTON 1
47157 if test "$wxUSE_CHOICE" = "yes"; then
47158 cat >>confdefs.h
<<\_ACEOF
47159 #define wxUSE_CHOICE 1
47165 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47166 cat >>confdefs.h
<<\_ACEOF
47167 #define wxUSE_CHOICEBOOK 1
47173 if test "$wxUSE_CHECKBOX" = "yes"; then
47174 cat >>confdefs.h
<<\_ACEOF
47175 #define wxUSE_CHECKBOX 1
47181 if test "$wxUSE_CHECKLST" = "yes"; then
47182 cat >>confdefs.h
<<\_ACEOF
47183 #define wxUSE_CHECKLISTBOX 1
47189 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47190 cat >>confdefs.h
<<\_ACEOF
47191 #define wxUSE_COLOURPICKERCTRL 1
47197 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47198 cat >>confdefs.h
<<\_ACEOF
47199 #define wxUSE_DATEPICKCTRL 1
47205 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47206 cat >>confdefs.h
<<\_ACEOF
47207 #define wxUSE_DIRPICKERCTRL 1
47213 if test "$wxUSE_FILECTRL" = "yes"; then
47214 cat >>confdefs.h
<<\_ACEOF
47215 #define wxUSE_FILECTRL 1
47221 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47222 cat >>confdefs.h
<<\_ACEOF
47223 #define wxUSE_FILEPICKERCTRL 1
47229 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47230 cat >>confdefs.h
<<\_ACEOF
47231 #define wxUSE_FONTPICKERCTRL 1
47237 if test "$wxUSE_DISPLAY" = "yes"; then
47238 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47239 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47240 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47243 cat >>confdefs.h
<<\_ACEOF
47244 #define wxUSE_DISPLAY 1
47247 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
47251 if test "$wxUSE_DETECT_SM" = "yes"; then
47252 cat >>confdefs.h
<<\_ACEOF
47253 #define wxUSE_DETECT_SM 1
47258 if test "$wxUSE_GAUGE" = "yes"; then
47259 cat >>confdefs.h
<<\_ACEOF
47260 #define wxUSE_GAUGE 1
47266 if test "$wxUSE_GRID" = "yes"; then
47267 cat >>confdefs.h
<<\_ACEOF
47268 #define wxUSE_GRID 1
47272 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
47275 if test "$wxUSE_HEADERCTRL" = "yes"; then
47276 cat >>confdefs.h
<<\_ACEOF
47277 #define wxUSE_HEADERCTRL 1
47283 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47284 cat >>confdefs.h
<<\_ACEOF
47285 #define wxUSE_HYPERLINKCTRL 1
47291 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47292 cat >>confdefs.h
<<\_ACEOF
47293 #define wxUSE_BITMAPCOMBOBOX 1
47299 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47300 cat >>confdefs.h
<<\_ACEOF
47301 #define wxUSE_DATAVIEWCTRL 1
47305 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
47308 if test "$wxUSE_IMAGLIST" = "yes"; then
47309 cat >>confdefs.h
<<\_ACEOF
47310 #define wxUSE_IMAGLIST 1
47315 if test "$wxUSE_INFOBAR" = "yes"; then
47316 cat >>confdefs.h
<<\_ACEOF
47317 #define wxUSE_INFOBAR 1
47322 if test "$wxUSE_LISTBOOK" = "yes"; then
47323 cat >>confdefs.h
<<\_ACEOF
47324 #define wxUSE_LISTBOOK 1
47330 if test "$wxUSE_LISTBOX" = "yes"; then
47331 cat >>confdefs.h
<<\_ACEOF
47332 #define wxUSE_LISTBOX 1
47338 if test "$wxUSE_LISTCTRL" = "yes"; then
47339 if test "$wxUSE_IMAGLIST" = "yes"; then
47340 cat >>confdefs.h
<<\_ACEOF
47341 #define wxUSE_LISTCTRL 1
47345 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
47347 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47348 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47352 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47353 cat >>confdefs.h
<<\_ACEOF
47354 #define wxUSE_EDITABLELISTBOX 1
47360 if test "$wxUSE_NOTEBOOK" = "yes"; then
47361 cat >>confdefs.h
<<\_ACEOF
47362 #define wxUSE_NOTEBOOK 1
47366 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
47369 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47370 cat >>confdefs.h
<<\_ACEOF
47371 #define wxUSE_NOTIFICATION_MESSAGE 1
47376 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47377 cat >>confdefs.h
<<\_ACEOF
47378 #define wxUSE_ODCOMBOBOX 1
47382 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
47385 if test "$wxUSE_RADIOBOX" = "yes"; then
47386 cat >>confdefs.h
<<\_ACEOF
47387 #define wxUSE_RADIOBOX 1
47393 if test "$wxUSE_RADIOBTN" = "yes"; then
47394 cat >>confdefs.h
<<\_ACEOF
47395 #define wxUSE_RADIOBTN 1
47401 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47402 cat >>confdefs.h
<<\_ACEOF
47403 #define wxUSE_REARRANGECTRL 1
47408 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47409 cat >>confdefs.h
<<\_ACEOF
47410 #define wxUSE_RICHMSGDLG 1
47415 if test "$wxUSE_SASH" = "yes"; then
47416 cat >>confdefs.h
<<\_ACEOF
47417 #define wxUSE_SASH 1
47420 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
47423 if test "$wxUSE_SCROLLBAR" = "yes"; then
47424 cat >>confdefs.h
<<\_ACEOF
47425 #define wxUSE_SCROLLBAR 1
47429 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
47432 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47433 cat >>confdefs.h
<<\_ACEOF
47434 #define wxUSE_SEARCHCTRL 1
47440 if test "$wxUSE_SLIDER" = "yes"; then
47441 cat >>confdefs.h
<<\_ACEOF
47442 #define wxUSE_SLIDER 1
47448 if test "$wxUSE_SPINBTN" = "yes"; then
47449 cat >>confdefs.h
<<\_ACEOF
47450 #define wxUSE_SPINBTN 1
47456 if test "$wxUSE_SPINCTRL" = "yes"; then
47457 cat >>confdefs.h
<<\_ACEOF
47458 #define wxUSE_SPINCTRL 1
47464 if test "$wxUSE_SPLITTER" = "yes"; then
47465 cat >>confdefs.h
<<\_ACEOF
47466 #define wxUSE_SPLITTER 1
47469 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
47472 if test "$wxUSE_STATBMP" = "yes"; then
47473 cat >>confdefs.h
<<\_ACEOF
47474 #define wxUSE_STATBMP 1
47480 if test "$wxUSE_STATBOX" = "yes"; then
47481 cat >>confdefs.h
<<\_ACEOF
47482 #define wxUSE_STATBOX 1
47488 if test "$wxUSE_STATTEXT" = "yes"; then
47489 cat >>confdefs.h
<<\_ACEOF
47490 #define wxUSE_STATTEXT 1
47496 if test "$wxUSE_STATLINE" = "yes"; then
47497 cat >>confdefs.h
<<\_ACEOF
47498 #define wxUSE_STATLINE 1
47504 if test "$wxUSE_STATUSBAR" = "yes"; then
47505 cat >>confdefs.h
<<\_ACEOF
47506 #define wxUSE_NATIVE_STATUSBAR 1
47509 cat >>confdefs.h
<<\_ACEOF
47510 #define wxUSE_STATUSBAR 1
47515 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
47518 if test "$wxUSE_TEXTCTRL" = "yes"; then
47519 cat >>confdefs.h
<<\_ACEOF
47520 #define wxUSE_TEXTCTRL 1
47524 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
47526 cat >>confdefs.h
<<\_ACEOF
47527 #define wxUSE_RICHEDIT 1
47530 cat >>confdefs.h
<<\_ACEOF
47531 #define wxUSE_RICHEDIT2 1
47536 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47537 if test "$wxUSE_OLD_COCOA" = 1 ; then
47538 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47539 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47543 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47544 cat >>confdefs.h
<<\_ACEOF
47545 #define wxUSE_TOGGLEBTN 1
47552 if test "$wxUSE_TOOLBAR" = "yes"; then
47553 cat >>confdefs.h
<<\_ACEOF
47554 #define wxUSE_TOOLBAR 1
47559 if test "$wxUSE_UNIVERSAL" = "yes"; then
47560 wxUSE_TOOLBAR_NATIVE
="no"
47562 wxUSE_TOOLBAR_NATIVE
="yes"
47563 cat >>confdefs.h
<<\_ACEOF
47564 #define wxUSE_TOOLBAR_NATIVE 1
47569 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
47572 if test "$wxUSE_TOOLTIPS" = "yes"; then
47573 if test "$wxUSE_MOTIF" = 1; then
47574 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47575 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47577 if test "$wxUSE_UNIVERSAL" = "yes"; then
47578 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47579 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47581 cat >>confdefs.h
<<\_ACEOF
47582 #define wxUSE_TOOLTIPS 1
47589 if test "$wxUSE_TREEBOOK" = "yes"; then
47590 cat >>confdefs.h
<<\_ACEOF
47591 #define wxUSE_TREEBOOK 1
47597 if test "$wxUSE_TOOLBOOK" = "yes"; then
47598 cat >>confdefs.h
<<\_ACEOF
47599 #define wxUSE_TOOLBOOK 1
47605 if test "$wxUSE_TREECTRL" = "yes"; then
47606 if test "$wxUSE_IMAGLIST" = "yes"; then
47607 cat >>confdefs.h
<<\_ACEOF
47608 #define wxUSE_TREECTRL 1
47612 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
47614 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47615 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47619 if test "$wxUSE_POPUPWIN" = "yes"; then
47620 if test "$wxUSE_OLD_COCOA" = 1 ; then
47621 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47622 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47624 if test "$wxUSE_PM" = 1; then
47625 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47626 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47628 cat >>confdefs.h
<<\_ACEOF
47629 #define wxUSE_POPUPWIN 1
47632 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
47639 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47640 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47641 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47642 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47644 cat >>confdefs.h
<<\_ACEOF
47645 #define wxUSE_DIALUP_MANAGER 1
47648 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
47652 if test "$wxUSE_TIPWINDOW" = "yes"; then
47653 if test "$wxUSE_PM" = 1; then
47654 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47655 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47657 cat >>confdefs.h
<<\_ACEOF
47658 #define wxUSE_TIPWINDOW 1
47664 if test "$USES_CONTROLS" = 1; then
47665 cat >>confdefs.h
<<\_ACEOF
47666 #define wxUSE_CONTROLS 1
47672 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47673 cat >>confdefs.h
<<\_ACEOF
47674 #define wxUSE_ACCESSIBILITY 1
47677 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
47680 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
47681 cat >>confdefs.h
<<\_ACEOF
47682 #define wxUSE_ARTPROVIDER_STD 1
47687 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
47688 if test "$wxUSE_GTK" != 1; then
47689 if test "$wxUSE_LIBPNG" != no
-a \
47690 "$wxUSE_IMAGE" = yes -a \
47691 "$wxUSE_STREAMS" = yes; then
47692 wxUSE_ARTPROVIDER_TANGO
="yes"
47697 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
47698 cat >>confdefs.h
<<\_ACEOF
47699 #define wxUSE_ARTPROVIDER_TANGO 1
47704 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47705 cat >>confdefs.h
<<\_ACEOF
47706 #define wxUSE_DRAGIMAGE 1
47709 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
47712 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47713 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47714 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47715 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47717 cat >>confdefs.h
<<\_ACEOF
47718 #define wxUSE_EXCEPTIONS 1
47721 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
47726 if test "$wxUSE_HTML" = "yes"; then
47727 cat >>confdefs.h
<<\_ACEOF
47728 #define wxUSE_HTML 1
47732 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47734 if test "$wxUSE_WEBKIT" = "yes"; then
47735 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47736 old_CPPFLAGS
="$CPPFLAGS"
47737 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
47738 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47739 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47740 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47741 echo $ECHO_N "(cached) $ECHO_C" >&6
47743 cat >conftest.
$ac_ext <<_ACEOF
47746 cat confdefs.h
>>conftest.
$ac_ext
47747 cat >>conftest.
$ac_ext <<_ACEOF
47748 /* end confdefs.h. */
47750 #include <Carbon/Carbon.h>
47751 #include <WebKit/WebKit.h>
47754 #include <WebKit/HIWebView.h>
47756 rm -f conftest.
$ac_objext
47757 if { (ac_try
="$ac_compile"
47758 case "(($ac_try" in
47759 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47760 *) ac_try_echo=$ac_try;;
47762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47763 (eval "$ac_compile") 2>conftest.er1
47765 grep -v '^ *+' conftest.er1 >conftest.err
47767 cat conftest.err >&5
47768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47769 (exit $ac_status); } && {
47770 test -z "$ac_c_werror_flag" ||
47771 test ! -s conftest.err
47772 } && test -s conftest.$ac_objext; then
47773 ac_cv_header_WebKit_HIWebView_h=yes
47775 echo "$as_me: failed program was:" >&5
47776 sed 's/^/| /' conftest.$ac_ext >&5
47778 ac_cv_header_WebKit_HIWebView_h=no
47781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47783 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47784 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47785 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47787 cat >>confdefs.h <<\_ACEOF
47788 #define wxUSE_WEBKIT 1
47791 WEBKIT_LINK="-framework WebKit"
47795 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47796 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47802 CPPFLAGS="$old_CPPFLAGS"
47803 elif test "$wxUSE_OLD_COCOA" = 1; then
47804 cat >>confdefs.h <<\_ACEOF
47805 #define wxUSE_WEBKIT 1
47811 if test "$wxUSE_WEBKIT" = "yes"; then
47812 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47817 if test "$wxUSE_XRC" = "yes"; then
47818 if test "$wxUSE_XML" != "yes"; then
47819 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47820 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47823 cat >>confdefs.h <<\_ACEOF
47824 #define wxUSE_XRC 1
47828 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47833 if test "$wxUSE_AUI" = "yes"; then
47834 cat >>confdefs.h <<\_ACEOF
47835 #define wxUSE_AUI 1
47839 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47843 if test "$wxUSE_PROPGRID" = "yes"; then
47844 cat >>confdefs.h <<\_ACEOF
47845 #define wxUSE_PROPGRID 1
47849 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
47853 if test "$wxUSE_RIBBON" = "yes"; then
47854 cat >>confdefs.h <<\_ACEOF
47855 #define wxUSE_RIBBON 1
47859 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
47863 if test "$wxUSE_STC" = "yes"; then
47864 cat >>confdefs.h <<\_ACEOF
47865 #define wxUSE_STC 1
47869 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
47871 # Extract the first word of "python", so it can be a program name with args.
47872 set dummy python; ac_word=$2
47873 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47875 if test "${ac_cv_path_PYTHON+set}" = set; then
47876 echo $ECHO_N "(cached) $ECHO_C" >&6
47880 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
47883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47884 for as_dir in $PATH
47887 test -z "$as_dir" && as_dir=.
47888 for ac_exec_ext in '' $ac_executable_extensions; do
47889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47890 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
47891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47901 PYTHON=$ac_cv_path_PYTHON
47902 if test -n "$PYTHON"; then
47903 { echo "$as_me:$LINENO: result: $PYTHON" >&5
47904 echo "${ECHO_T}$PYTHON" >&6; }
47906 { echo "$as_me:$LINENO: result: no" >&5
47907 echo "${ECHO_T}no" >&6; }
47911 if test "x$PYTHON" = "x"; then
47917 if test "$wxUSE_MENUS" = "yes"; then
47918 cat >>confdefs.h <<\_ACEOF
47919 #define wxUSE_MENUS 1
47922 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
47925 if test "$wxUSE_METAFILE" = "yes"; then
47926 cat >>confdefs.h <<\_ACEOF
47927 #define wxUSE_METAFILE 1
47932 if test "$wxUSE_MIMETYPE" = "yes"; then
47933 cat >>confdefs.h <<\_ACEOF
47934 #define wxUSE_MIMETYPE 1
47939 if test "$wxUSE_MINIFRAME" = "yes"; then
47940 cat >>confdefs.h <<\_ACEOF
47941 #define wxUSE_MINIFRAME 1
47946 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47947 cat >>confdefs.h <<\_ACEOF
47948 #define wxUSE_SYSTEM_OPTIONS 1
47953 if test "$wxUSE_TASKBARICON" = "yes"; then
47954 cat >>confdefs.h <<\_ACEOF
47955 #define wxUSE_TASKBARICON 1
47958 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
47962 if test "$wxUSE_VALIDATORS" = "yes"; then
47963 cat >>confdefs.h <<\_ACEOF
47964 #define wxUSE_VALIDATORS 1
47967 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47970 if test "$wxUSE_PALETTE" = "yes" ; then
47971 if test "$wxUSE_DFB" = 1; then
47972 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47973 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47976 cat >>confdefs.h <<\_ACEOF
47977 #define wxUSE_PALETTE 1
47983 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47984 LIBS=" -lunicows $LIBS"
47988 if test "$wxUSE_RICHTEXT" = "yes"; then
47989 cat >>confdefs.h <<\_ACEOF
47990 #define wxUSE_RICHTEXT 1
47994 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47998 if test "$wxUSE_IMAGE" = "yes" ; then
47999 cat >>confdefs.h <<\_ACEOF
48000 #define wxUSE_IMAGE 1
48004 if test "$wxUSE_GIF" = "yes" ; then
48005 cat >>confdefs.h <<\_ACEOF
48006 #define wxUSE_GIF 1
48011 if test "$wxUSE_PCX" = "yes" ; then
48012 cat >>confdefs.h <<\_ACEOF
48013 #define wxUSE_PCX 1
48018 if test "$wxUSE_TGA" = "yes" ; then
48019 cat >>confdefs.h <<\_ACEOF
48020 #define wxUSE_TGA 1
48025 if test "$wxUSE_IFF" = "yes" ; then
48026 cat >>confdefs.h <<\_ACEOF
48027 #define wxUSE_IFF 1
48032 if test "$wxUSE_PNM" = "yes" ; then
48033 cat >>confdefs.h <<\_ACEOF
48034 #define wxUSE_PNM 1
48039 if test "$wxUSE_XPM" = "yes" ; then
48040 cat >>confdefs.h <<\_ACEOF
48041 #define wxUSE_XPM 1
48046 if test "$wxUSE_ICO_CUR" = "yes" ; then
48047 cat >>confdefs.h <<\_ACEOF
48048 #define wxUSE_ICO_CUR 1
48055 if test "$wxUSE_ABOUTDLG" = "yes"; then
48056 cat >>confdefs.h <<\_ACEOF
48057 #define wxUSE_ABOUTDLG 1
48062 if test "$wxUSE_CHOICEDLG" = "yes"; then
48063 cat >>confdefs.h <<\_ACEOF
48064 #define wxUSE_CHOICEDLG 1
48069 if test "$wxUSE_COLOURDLG" = "yes"; then
48070 cat >>confdefs.h <<\_ACEOF
48071 #define wxUSE_COLOURDLG 1
48076 if test "$wxUSE_FILEDLG" = "yes"; then
48077 cat >>confdefs.h <<\_ACEOF
48078 #define wxUSE_FILEDLG 1
48083 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48084 cat >>confdefs.h <<\_ACEOF
48085 #define wxUSE_FINDREPLDLG 1
48090 if test "$wxUSE_FONTDLG" = "yes"; then
48091 cat >>confdefs.h <<\_ACEOF
48092 #define wxUSE_FONTDLG 1
48097 if test "$wxUSE_DIRDLG" = "yes"; then
48098 if test "$wxUSE_TREECTRL" != "yes"; then
48099 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48100 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48102 cat >>confdefs.h <<\_ACEOF
48103 #define wxUSE_DIRDLG 1
48109 if test "$wxUSE_MSGDLG" = "yes"; then
48110 cat >>confdefs.h <<\_ACEOF
48111 #define wxUSE_MSGDLG 1
48116 if test "$wxUSE_NUMBERDLG" = "yes"; then
48117 cat >>confdefs.h <<\_ACEOF
48118 #define wxUSE_NUMBERDLG 1
48123 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48124 cat >>confdefs.h <<\_ACEOF
48125 #define wxUSE_PROGRESSDLG 1
48130 if test "$wxUSE_SPLASH" = "yes"; then
48131 cat >>confdefs.h <<\_ACEOF
48132 #define wxUSE_SPLASH 1
48135 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48138 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48139 cat >>confdefs.h <<\_ACEOF
48140 #define wxUSE_STARTUP_TIPS 1
48145 if test "$wxUSE_TEXTDLG" = "yes"; then
48146 cat >>confdefs.h <<\_ACEOF
48147 #define wxUSE_TEXTDLG 1
48152 if test "$wxUSE_WIZARDDLG" = "yes"; then
48153 cat >>confdefs.h <<\_ACEOF
48154 #define wxUSE_WIZARDDLG 1
48157 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48161 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48162 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48163 cat >>confdefs.h <<\_ACEOF
48164 #define wxUSE_OWNER_DRAWN 1
48171 if test "$wxUSE_MSW" = 1 ; then
48173 if test "$wxUSE_DC_CACHEING" = "yes"; then
48174 cat >>confdefs.h <<\_ACEOF
48175 #define wxUSE_DC_CACHEING 1
48180 if test "$wxUSE_DIB" = "yes"; then
48181 cat >>confdefs.h <<\_ACEOF
48182 #define wxUSE_WXDIB 1
48187 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48188 cat >>confdefs.h <<\_ACEOF
48189 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48194 if test "$wxUSE_UXTHEME" = "yes"; then
48195 cat >>confdefs.h <<\_ACEOF
48196 #define wxUSE_UXTHEME 1
48203 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48204 cat >>confdefs.h <<\_ACEOF
48205 #define wxUSE_AUTOID_MANAGEMENT 1
48210 if test "$USE_WIN32" = 1 ; then
48211 if test "$wxUSE_INICONF" = "yes"; then
48212 cat >>confdefs.h <<\_ACEOF
48213 #define wxUSE_INICONF 1
48218 if test "$wxUSE_REGKEY" = "yes"; then
48219 cat >>confdefs.h <<\_ACEOF
48220 #define wxUSE_REGKEY 1
48227 if test "$wxUSE_MAC" = 1; then
48228 wxUSE_GRAPHICS_CONTEXT="yes"
48231 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48233 if test "$wxUSE_MSW" = 1; then
48234 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
48235 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
48236 if test "${wx_cv_lib_gdiplus+set}" = set; then
48237 echo $ECHO_N "(cached) $ECHO_C" >&6
48241 ac_cpp='$CXXCPP $CPPFLAGS'
48242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48246 cat >conftest.$ac_ext <<_ACEOF
48249 cat confdefs.h >>conftest.$ac_ext
48250 cat >>conftest.$ac_ext <<_ACEOF
48251 /* end confdefs.h. */
48252 #include <windows.h>
48253 #include <gdiplus.h>
48258 using namespace Gdiplus;
48264 rm -f conftest.$ac_objext
48265 if { (ac_try="$ac_compile"
48266 case "(($ac_try" in
48267 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48268 *) ac_try_echo
=$ac_try;;
48270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48271 (eval "$ac_compile") 2>conftest.er1
48273 grep -v '^ *+' conftest.er1
>conftest.err
48275 cat conftest.err
>&5
48276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48277 (exit $ac_status); } && {
48278 test -z "$ac_cxx_werror_flag" ||
48279 test ! -s conftest.err
48280 } && test -s conftest.
$ac_objext; then
48281 wx_cv_lib_gdiplus
=yes
48283 echo "$as_me: failed program was:" >&5
48284 sed 's/^/| /' conftest.
$ac_ext >&5
48286 wx_cv_lib_gdiplus
=no
48290 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48292 ac_cpp
='$CPP $CPPFLAGS'
48293 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48294 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48295 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48300 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48301 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48302 if test "$wx_cv_lib_gdiplus" = "yes"; then
48305 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
48308 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48309 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48311 if test -n "$PKG_CONFIG"; then
48312 if test -n "$CAIRO_CFLAGS"; then
48313 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
48315 if test -n "$PKG_CONFIG" && \
48316 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48317 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48320 (exit $ac_status); }; then
48321 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48329 if test -n "$PKG_CONFIG"; then
48330 if test -n "$CAIRO_LIBS"; then
48331 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
48333 if test -n "$PKG_CONFIG" && \
48334 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48335 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48338 (exit $ac_status); }; then
48339 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48350 if test $pkg_failed = yes; then
48352 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48353 _pkg_short_errors_supported
=yes
48355 _pkg_short_errors_supported
=no
48357 if test $_pkg_short_errors_supported = yes; then
48358 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48360 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48362 # Put the nasty error message in config.log where it belongs
48363 echo "$CAIRO_PKG_ERRORS" >&5
48365 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48366 echo "$as_me: WARNING: Cairo library not found" >&2;}
48368 elif test $pkg_failed = untried
; then
48369 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48370 echo "$as_me: WARNING: Cairo library not found" >&2;}
48373 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
48374 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
48375 { echo "$as_me:$LINENO: result: yes" >&5
48376 echo "${ECHO_T}yes" >&6; }
48379 if test "$wx_has_graphics" = 1; then
48381 LIBS
="$LIBS $CAIRO_LIBS"
48383 for ac_func
in cairo_push_group
48385 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48386 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48388 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48389 echo $ECHO_N "(cached) $ECHO_C" >&6
48391 cat >conftest.
$ac_ext <<_ACEOF
48394 cat confdefs.h
>>conftest.
$ac_ext
48395 cat >>conftest.
$ac_ext <<_ACEOF
48396 /* end confdefs.h. */
48397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48399 #define $ac_func innocuous_$ac_func
48401 /* System header to define __stub macros and hopefully few prototypes,
48402 which can conflict with char $ac_func (); below.
48403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48404 <limits.h> exists even on freestanding compilers. */
48407 # include <limits.h>
48409 # include <assert.h>
48414 /* Override any GCC internal prototype to avoid an error.
48415 Use char because int might match the return type of a GCC
48416 builtin and then its argument prototype would still apply. */
48421 /* The GNU C library defines this for functions which it implements
48422 to always fail with ENOSYS. Some functions are actually named
48423 something starting with __ and the normal name is an alias. */
48424 #if defined __stub_$ac_func || defined __stub___$ac_func
48431 return $ac_func ();
48436 rm -f conftest.
$ac_objext conftest
$ac_exeext
48437 if { (ac_try
="$ac_link"
48438 case "(($ac_try" in
48439 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48440 *) ac_try_echo=$ac_try;;
48442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48443 (eval "$ac_link") 2>conftest.er1
48445 grep -v '^ *+' conftest.er1 >conftest.err
48447 cat conftest.err >&5
48448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48449 (exit $ac_status); } && {
48450 test -z "$ac_c_werror_flag" ||
48451 test ! -s conftest.err
48452 } && test -s conftest$ac_exeext &&
48453 $as_test_x conftest$ac_exeext; then
48454 eval "$as_ac_var=yes"
48456 echo "$as_me: failed program was:" >&5
48457 sed 's/^/| /' conftest.$ac_ext >&5
48459 eval "$as_ac_var=no"
48462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48463 conftest$ac_exeext conftest.$ac_ext
48465 ac_res=`eval echo '${'$as_ac_var'}'`
48466 { echo "$as_me:$LINENO: result: $ac_res" >&5
48467 echo "${ECHO_T}$ac_res" >&6; }
48468 if test `eval echo '${'$as_ac_var'}'` = yes; then
48469 cat >>confdefs.h <<_ACEOF
48470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48477 if test "$ac_cv_func_cairo_push_group" = "no"; then
48479 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
48480 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
48482 cat >>confdefs.h <<\_ACEOF
48483 #define wxUSE_CAIRO 1
48487 if test "$wxUSE_GTK" != 1; then
48488 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
48489 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
48497 if test "$wx_has_graphics" = 1; then
48498 cat >>confdefs.h <<\_ACEOF
48499 #define wxUSE_GRAPHICS_CONTEXT 1
48503 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
48504 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
48511 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
48514 if test "$wxUSE_GTK" = 1; then
48515 wxUSE_GSTREAMER="no"
48517 GST_VERSION_MAJOR=0
48518 GST_VERSION_MINOR=10
48519 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48521 if test "$wxUSE_GSTREAMER8" = "no"; then
48524 { echo "$as_me:$LINENO: checking for GST" >&5
48525 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48527 if test -n "$PKG_CONFIG"; then
48528 if test -n "$GST_CFLAGS"; then
48529 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48531 if test -n "$PKG_CONFIG" && \
48532 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48533 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48536 (exit $ac_status); }; then
48537 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
48545 if test -n "$PKG_CONFIG"; then
48546 if test -n "$GST_LIBS"; then
48547 pkg_cv_GST_LIBS="$GST_LIBS"
48549 if test -n "$PKG_CONFIG" && \
48550 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48551 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48554 (exit $ac_status); }; then
48555 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
48566 if test $pkg_failed = yes; then
48568 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48569 _pkg_short_errors_supported=yes
48571 _pkg_short_errors_supported=no
48573 if test $_pkg_short_errors_supported = yes; then
48574 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48576 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48578 # Put the nasty error message in config.log where it belongs
48579 echo "$GST_PKG_ERRORS" >&5
48582 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48583 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48584 GST_VERSION_MINOR=8
48587 elif test $pkg_failed = untried; then
48589 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48590 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48591 GST_VERSION_MINOR=8
48595 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48596 GST_LIBS=$pkg_cv_GST_LIBS
48597 { echo "$as_me:$LINENO: result: yes" >&5
48598 echo "${ECHO_T}yes" >&6; }
48600 wxUSE_GSTREAMER="yes"
48601 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48605 GST_VERSION_MINOR=8
48608 if test $GST_VERSION_MINOR = "8"; then
48609 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48612 { echo "$as_me:$LINENO: checking for GST" >&5
48613 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48615 if test -n "$PKG_CONFIG"; then
48616 if test -n "$GST_CFLAGS"; then
48617 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48619 if test -n "$PKG_CONFIG" && \
48620 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48621 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48624 (exit $ac_status); }; then
48625 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
48633 if test -n "$PKG_CONFIG"; then
48634 if test -n "$GST_LIBS"; then
48635 pkg_cv_GST_LIBS="$GST_LIBS"
48637 if test -n "$PKG_CONFIG" && \
48638 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48639 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48642 (exit $ac_status); }; then
48643 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
48654 if test $pkg_failed = yes; then
48656 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48657 _pkg_short_errors_supported=yes
48659 _pkg_short_errors_supported=no
48661 if test $_pkg_short_errors_supported = yes; then
48662 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48664 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48666 # Put the nasty error message in config.log where it belongs
48667 echo "$GST_PKG_ERRORS" >&5
48670 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48671 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48673 elif test $pkg_failed = untried; then
48675 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48676 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48679 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48680 GST_LIBS=$pkg_cv_GST_LIBS
48681 { echo "$as_me:$LINENO: result: yes" >&5
48682 echo "${ECHO_T}yes" >&6; }
48683 wxUSE_GSTREAMER="yes"
48688 if test "$wxUSE_GSTREAMER" = "yes"; then
48689 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48690 EXTRALIBS_MEDIA="$GST_LIBS"
48692 cat >>confdefs.h <<\_ACEOF
48693 #define wxUSE_GSTREAMER 1
48701 if test $USE_MEDIA = 1; then
48702 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48703 cat >>confdefs.h <<\_ACEOF
48704 #define wxUSE_MEDIACTRL 1
48708 if test "$wxUSE_MEDIACTRL" = "yes"; then
48709 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
48710 echo "$as_me: error: GStreamer not available" >&2;}
48711 { (exit 1); exit 1; }; }
48713 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
48714 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
48720 if test "$cross_compiling" != "no"; then
48723 OSINFO=`uname
-s -r -m`
48724 OSINFO="\"$OSINFO\""
48727 cat >>confdefs.h <<_ACEOF
48728 #define WXWIN_OS_DESCRIPTION $OSINFO
48733 if test "x$prefix" != "xNONE"; then
48736 wxPREFIX=$ac_default_prefix
48739 cat >>confdefs.h <<_ACEOF
48740 #define wxINSTALL_PREFIX "$wxPREFIX"
48746 STD_BASE_LIBS="base"
48748 BUILT_WX_LIBS="base"
48749 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
48751 if test "$wxUSE_SOCKETS" = "yes" ; then
48752 STD_BASE_LIBS="net $STD_BASE_LIBS"
48753 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48755 if test "$wxUSE_XML" = "yes" ; then
48756 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48757 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48760 if test "$wxUSE_GUI" = "yes"; then
48761 STD_GUI_LIBS="adv core"
48762 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
48764 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48765 STD_GUI_LIBS="qa $STD_GUI_LIBS"
48766 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
48768 if test "$wxUSE_HTML" = "yes" ; then
48769 STD_GUI_LIBS="html $STD_GUI_LIBS"
48770 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
48772 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48773 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
48775 if test "$wxUSE_OPENGL" = "yes" ; then
48776 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
48778 if test "$wxUSE_AUI" = "yes" ; then
48779 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
48781 if test "$wxUSE_PROPGRID" = "yes" ; then
48782 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
48784 if test "$wxUSE_RIBBON" = "yes" ; then
48785 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
48787 if test "$wxUSE_RICHTEXT" = "yes" ; then
48788 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
48790 if test "$wxUSE_STC" = "yes" ; then
48791 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
48793 if test "$wxUSE_XRC" = "yes" ; then
48794 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
48795 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
48806 if test "$wxUSE_MAC" = 1 ; then
48807 if test "$USE_DARWIN" = 1; then
48808 if test "$wxUSE_OSX_IPHONE" = 1; then
48809 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
48811 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
48815 if test "$wxUSE_OLD_COCOA" = 1 ; then
48816 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
48817 if test "$wxUSE_MEDIACTRL" = "yes"; then
48818 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
48821 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
48822 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48825 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
48826 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
48828 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48830 if test "$wxUSE_GUI" = "yes"; then
48833 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48834 erase event exec font image minimal render \
48835 shaped svg taborder vscroll widgets wrapsizer"
48837 if test "$wxUSE_MONOLITHIC" != "yes"; then
48838 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
48840 if test "$TOOLKIT" = "MSW"; then
48841 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
48842 if test "$wxUSE_UNIVERSAL" != "yes"; then
48843 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
48846 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48847 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
48850 SAMPLES_SUBDIRS="console"
48851 if test "$wxUSE_SOCKETS" = "yes" ; then
48852 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
48854 if test "$wxUSE_IPC" = "yes" ; then
48855 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
48860 if test "x$INTELCC" = "xyes" ; then
48861 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
48862 elif test "$GCC" = yes ; then
48863 CWARNINGS="-Wall -Wundef"
48866 if test "x$INTELCXX" = "xyes" ; then
48867 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
48868 elif test "$GXX" = yes ; then
48869 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
48870 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
48871 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
48872 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
48873 echo $ECHO_N "(cached) $ECHO_C" >&6
48875 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
48878 ac_cpp='$CXXCPP $CPPFLAGS'
48879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48883 ac_save_CXXFLAGS="$CXXFLAGS"
48884 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
48885 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
48886 cat >conftest.$ac_ext <<_ACEOF
48889 cat confdefs.h >>conftest.$ac_ext
48890 cat >>conftest.$ac_ext <<_ACEOF
48891 /* end confdefs.h. */
48901 rm -f conftest.$ac_objext
48902 if { (ac_try="$ac_compile"
48903 case "(($ac_try" in
48904 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48905 *) ac_try_echo
=$ac_try;;
48907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48908 (eval "$ac_compile") 2>conftest.er1
48910 grep -v '^ *+' conftest.er1
>conftest.err
48912 cat conftest.err
>&5
48913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48914 (exit $ac_status); } && {
48915 test -z "$ac_cxx_werror_flag" ||
48916 test ! -s conftest.err
48917 } && test -s conftest.
$ac_objext; then
48918 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
48920 echo "$as_me: failed program was:" >&5
48921 sed 's/^/| /' conftest.
$ac_ext >&5
48926 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48928 CXXFLAGS
="$ac_save_CXXFLAGS"
48930 ac_cpp
='$CPP $CPPFLAGS'
48931 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48932 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48933 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48937 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
48938 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
48939 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
48943 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
48944 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
48945 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
48947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48948 (exit $ac_status); }
48949 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
48950 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
48952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48953 (exit $ac_status); }
48954 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
48960 if test "$wxUSE_MAC" = 1 ; then
48961 CXXWARNINGS
="$CXXWARNINGS -Wno-deprecated-declarations"
48966 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
48967 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48970 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
48971 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
48972 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
48975 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48976 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48977 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48978 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
48979 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
48981 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48984 if test "x$MWCC" = "xyes"; then
48986 CC
="$CC -cwd source -I-"
48987 CXX
="$CXX -cwd source -I-"
48992 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48993 EXTRALIBS_XML
="$EXPAT_LINK"
48994 EXTRALIBS_HTML
="$MSPACK_LINK"
48995 EXTRALIBS_MEDIA
="$GST_LIBS"
48996 EXTRALIBS_STC
="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48997 if test "$wxUSE_GUI" = "yes"; then
48998 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49000 if test "$wxUSE_OPENGL" = "yes"; then
49001 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
49004 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
49006 WXCONFIG_LIBS
="$LIBS"
49008 if test "$wxUSE_REGEX" = "builtin" ; then
49009 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49011 if test "$wxUSE_EXPAT" = "builtin" ; then
49012 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
49014 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49015 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
49017 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49018 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
49020 if test "$wxUSE_LIBPNG" = "builtin" ; then
49021 wxconfig_3rdparty
="png $wxconfig_3rdparty"
49023 if test "$wxUSE_ZLIB" = "builtin" ; then
49024 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
49027 for i
in $wxconfig_3rdparty ; do
49028 WXCONFIG_LIBS
="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49032 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49035 case "$wxUNIV_THEMES" in
49037 cat >>confdefs.h
<<\_ACEOF
49038 #define wxUSE_ALL_THEMES 1
49044 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
49045 cat >>confdefs.h
<<_ACEOF
49046 #define wxUSE_THEME_$t 1
49062 if test $wxUSE_MONOLITHIC = "yes" ; then
49068 if test $wxUSE_PLUGINS = "yes" ; then
49074 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49080 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49112 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
49125 TOOLKIT_DESC
="GTK+"
49126 if test "$WXGTK2" = 1; then
49127 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
49128 if test "$wxUSE_GTKPRINT" = "yes" ; then
49129 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
49131 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49132 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
49134 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49135 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
49137 if test "$wxUSE_LIBHILDON" = "yes"; then
49138 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
49140 if test "$wxUSE_LIBHILDON2" = "yes"; then
49141 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
49144 if test "$TOOLKIT_EXTRA" != ""; then
49145 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49151 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
49155 TOOLKIT_DESC
="base only"
49159 if test "$wxUSE_WINE" = "yes"; then
49160 BAKEFILE_FORCE_PLATFORM
=win32
49163 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49165 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49166 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49167 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49168 echo $ECHO_N "(cached) $ECHO_C" >&6
49171 echo '#include <stdio.h>
49172 const wchar_t test_var[] = L"awidetest";' > conftest.h
49174 echo '#include "conftest.h"
49177 printf("%ls", test_var);
49181 wx_cv_gcc_pch_bug
="pch not supported"
49183 if $CXX conftest.h
>/dev
/null
2>&1
49187 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
49189 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
49190 grep awidetest
>/dev
/null
49192 wx_cv_gcc_pch_bug
=no
49194 wx_cv_gcc_pch_bug
=yes
49199 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
49202 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49203 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49205 if test "$wx_cv_gcc_pch_bug" = yes; then
49216 if test "x$BAKEFILE_HOST" = "x"; then
49217 if test "x${host}" = "x" ; then
49218 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49219 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49220 { (exit 1); exit 1; }; }
49223 BAKEFILE_HOST
="${host}"
49226 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49228 if test -n "$ac_tool_prefix"; then
49229 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49230 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
49231 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49233 if test "${ac_cv_prog_RANLIB+set}" = set; then
49234 echo $ECHO_N "(cached) $ECHO_C" >&6
49236 if test -n "$RANLIB"; then
49237 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
49239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49240 for as_dir
in $PATH
49243 test -z "$as_dir" && as_dir
=.
49244 for ac_exec_ext
in '' $ac_executable_extensions; do
49245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49246 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
49247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49256 RANLIB
=$ac_cv_prog_RANLIB
49257 if test -n "$RANLIB"; then
49258 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49259 echo "${ECHO_T}$RANLIB" >&6; }
49261 { echo "$as_me:$LINENO: result: no" >&5
49262 echo "${ECHO_T}no" >&6; }
49267 if test -z "$ac_cv_prog_RANLIB"; then
49268 ac_ct_RANLIB
=$RANLIB
49269 # Extract the first word of "ranlib", so it can be a program name with args.
49270 set dummy ranlib
; ac_word
=$2
49271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49273 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49274 echo $ECHO_N "(cached) $ECHO_C" >&6
49276 if test -n "$ac_ct_RANLIB"; then
49277 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
49279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49280 for as_dir
in $PATH
49283 test -z "$as_dir" && as_dir
=.
49284 for ac_exec_ext
in '' $ac_executable_extensions; do
49285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49286 ac_cv_prog_ac_ct_RANLIB
="ranlib"
49287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49296 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
49297 if test -n "$ac_ct_RANLIB"; then
49298 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49299 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49301 { echo "$as_me:$LINENO: result: no" >&5
49302 echo "${ECHO_T}no" >&6; }
49305 if test "x$ac_ct_RANLIB" = x
; then
49308 case $cross_compiling:$ac_tool_warned in
49310 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49311 whose name does not start with the host triplet. If you think this
49312 configuration is useful to you, please write to autoconf@gnu.org." >&5
49313 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49314 whose name does not start with the host triplet. If you think this
49315 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49316 ac_tool_warned
=yes ;;
49318 RANLIB
=$ac_ct_RANLIB
49321 RANLIB
="$ac_cv_prog_RANLIB"
49324 # Find a good install program. We prefer a C program (faster),
49325 # so one script is as good as another. But avoid the broken or
49326 # incompatible versions:
49327 # SysV /etc/install, /usr/sbin/install
49328 # SunOS /usr/etc/install
49329 # IRIX /sbin/install
49331 # AmigaOS /C/install, which installs bootblocks on floppy discs
49332 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49333 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49334 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49335 # OS/2's system install, which has a completely different semantic
49336 # ./install, which can be erroneously created by make from ./install.sh.
49337 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49338 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49339 if test -z "$INSTALL"; then
49340 if test "${ac_cv_path_install+set}" = set; then
49341 echo $ECHO_N "(cached) $ECHO_C" >&6
49343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49344 for as_dir
in $PATH
49347 test -z "$as_dir" && as_dir
=.
49348 # Account for people who put trailing slashes in PATH elements.
49350 .
/ | .
// | /cC
/* | \
49351 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
49352 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
49355 # OSF1 and SCO ODT 3.0 have their own names for install.
49356 # Don't use installbsd from OSF since it installs stuff as root
49358 for ac_prog
in ginstall scoinst
install; do
49359 for ac_exec_ext
in '' $ac_executable_extensions; do
49360 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49361 if test $ac_prog = install &&
49362 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49363 # AIX install. It has an incompatible calling convention.
49365 elif test $ac_prog = install &&
49366 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49367 # program-specific install script used by HP pwplus--don't use.
49370 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
49383 if test "${ac_cv_path_install+set}" = set; then
49384 INSTALL
=$ac_cv_path_install
49386 # As a last resort, use the slow shell script. Don't cache a
49387 # value for INSTALL within a source directory, because that will
49388 # break other packages using the cache if that directory is
49389 # removed, or if the value is a relative name.
49390 INSTALL
=$ac_install_sh
49393 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49394 echo "${ECHO_T}$INSTALL" >&6; }
49396 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49397 # It thinks the first close brace ends the variable substitution.
49398 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
49400 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
49402 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
49404 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49405 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49407 if test "$LN_S" = "ln -s"; then
49408 { echo "$as_me:$LINENO: result: yes" >&5
49409 echo "${ECHO_T}yes" >&6; }
49411 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49412 echo "${ECHO_T}no, using $LN_S" >&6; }
49416 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49417 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49418 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49419 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
49420 echo $ECHO_N "(cached) $ECHO_C" >&6
49422 cat >conftest.
make <<\_ACEOF
49425 @
echo '@@@%%%=$(MAKE)=@@@%%%'
49427 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49428 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49429 *@@@
%%%=?
*=@@@
%%%*)
49430 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
49432 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
49434 rm -f conftest.
make
49436 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
49437 { echo "$as_me:$LINENO: result: yes" >&5
49438 echo "${ECHO_T}yes" >&6; }
49441 { echo "$as_me:$LINENO: result: no" >&5
49442 echo "${ECHO_T}no" >&6; }
49443 SET_MAKE
="MAKE=${MAKE-make}"
49448 if test "x$SUNCXX" = "xyes"; then
49450 AROPTIONS
="-xar -o"
49452 elif test "x$SGICC" = "xyes"; then
49457 if test -n "$ac_tool_prefix"; then
49458 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49459 set dummy
${ac_tool_prefix}ar; ac_word
=$2
49460 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49462 if test "${ac_cv_prog_AR+set}" = set; then
49463 echo $ECHO_N "(cached) $ECHO_C" >&6
49465 if test -n "$AR"; then
49466 ac_cv_prog_AR
="$AR" # Let the user override the test.
49468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49469 for as_dir
in $PATH
49472 test -z "$as_dir" && as_dir
=.
49473 for ac_exec_ext
in '' $ac_executable_extensions; do
49474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49475 ac_cv_prog_AR
="${ac_tool_prefix}ar"
49476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49486 if test -n "$AR"; then
49487 { echo "$as_me:$LINENO: result: $AR" >&5
49488 echo "${ECHO_T}$AR" >&6; }
49490 { echo "$as_me:$LINENO: result: no" >&5
49491 echo "${ECHO_T}no" >&6; }
49496 if test -z "$ac_cv_prog_AR"; then
49498 # Extract the first word of "ar", so it can be a program name with args.
49499 set dummy
ar; ac_word
=$2
49500 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49502 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49503 echo $ECHO_N "(cached) $ECHO_C" >&6
49505 if test -n "$ac_ct_AR"; then
49506 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
49508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49509 for as_dir
in $PATH
49512 test -z "$as_dir" && as_dir
=.
49513 for ac_exec_ext
in '' $ac_executable_extensions; do
49514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49515 ac_cv_prog_ac_ct_AR
="ar"
49516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49525 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
49526 if test -n "$ac_ct_AR"; then
49527 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49528 echo "${ECHO_T}$ac_ct_AR" >&6; }
49530 { echo "$as_me:$LINENO: result: no" >&5
49531 echo "${ECHO_T}no" >&6; }
49534 if test "x$ac_ct_AR" = x
; then
49537 case $cross_compiling:$ac_tool_warned in
49539 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49540 whose name does not start with the host triplet. If you think this
49541 configuration is useful to you, please write to autoconf@gnu.org." >&5
49542 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49543 whose name does not start with the host triplet. If you think this
49544 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49545 ac_tool_warned
=yes ;;
49550 AR
="$ac_cv_prog_AR"
49557 if test -n "$ac_tool_prefix"; then
49558 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49559 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
49560 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49562 if test "${ac_cv_prog_STRIP+set}" = set; then
49563 echo $ECHO_N "(cached) $ECHO_C" >&6
49565 if test -n "$STRIP"; then
49566 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
49568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49569 for as_dir
in $PATH
49572 test -z "$as_dir" && as_dir
=.
49573 for ac_exec_ext
in '' $ac_executable_extensions; do
49574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49575 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
49576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49585 STRIP
=$ac_cv_prog_STRIP
49586 if test -n "$STRIP"; then
49587 { echo "$as_me:$LINENO: result: $STRIP" >&5
49588 echo "${ECHO_T}$STRIP" >&6; }
49590 { echo "$as_me:$LINENO: result: no" >&5
49591 echo "${ECHO_T}no" >&6; }
49596 if test -z "$ac_cv_prog_STRIP"; then
49598 # Extract the first word of "strip", so it can be a program name with args.
49599 set dummy strip
; ac_word
=$2
49600 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49602 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49603 echo $ECHO_N "(cached) $ECHO_C" >&6
49605 if test -n "$ac_ct_STRIP"; then
49606 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
49608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49609 for as_dir
in $PATH
49612 test -z "$as_dir" && as_dir
=.
49613 for ac_exec_ext
in '' $ac_executable_extensions; do
49614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49615 ac_cv_prog_ac_ct_STRIP
="strip"
49616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49625 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
49626 if test -n "$ac_ct_STRIP"; then
49627 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49628 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49630 { echo "$as_me:$LINENO: result: no" >&5
49631 echo "${ECHO_T}no" >&6; }
49634 if test "x$ac_ct_STRIP" = x
; then
49637 case $cross_compiling:$ac_tool_warned in
49639 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49640 whose name does not start with the host triplet. If you think this
49641 configuration is useful to you, please write to autoconf@gnu.org." >&5
49642 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49643 whose name does not start with the host triplet. If you think this
49644 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49645 ac_tool_warned
=yes ;;
49650 STRIP
="$ac_cv_prog_STRIP"
49653 if test -n "$ac_tool_prefix"; then
49654 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49655 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
49656 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49658 if test "${ac_cv_prog_NM+set}" = set; then
49659 echo $ECHO_N "(cached) $ECHO_C" >&6
49661 if test -n "$NM"; then
49662 ac_cv_prog_NM
="$NM" # Let the user override the test.
49664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49665 for as_dir
in $PATH
49668 test -z "$as_dir" && as_dir
=.
49669 for ac_exec_ext
in '' $ac_executable_extensions; do
49670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49671 ac_cv_prog_NM
="${ac_tool_prefix}nm"
49672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49682 if test -n "$NM"; then
49683 { echo "$as_me:$LINENO: result: $NM" >&5
49684 echo "${ECHO_T}$NM" >&6; }
49686 { echo "$as_me:$LINENO: result: no" >&5
49687 echo "${ECHO_T}no" >&6; }
49692 if test -z "$ac_cv_prog_NM"; then
49694 # Extract the first word of "nm", so it can be a program name with args.
49695 set dummy nm
; ac_word
=$2
49696 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49698 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49699 echo $ECHO_N "(cached) $ECHO_C" >&6
49701 if test -n "$ac_ct_NM"; then
49702 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
49704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49705 for as_dir
in $PATH
49708 test -z "$as_dir" && as_dir
=.
49709 for ac_exec_ext
in '' $ac_executable_extensions; do
49710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49711 ac_cv_prog_ac_ct_NM
="nm"
49712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49721 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
49722 if test -n "$ac_ct_NM"; then
49723 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49724 echo "${ECHO_T}$ac_ct_NM" >&6; }
49726 { echo "$as_me:$LINENO: result: no" >&5
49727 echo "${ECHO_T}no" >&6; }
49730 if test "x$ac_ct_NM" = x
; then
49733 case $cross_compiling:$ac_tool_warned in
49735 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49736 whose name does not start with the host triplet. If you think this
49737 configuration is useful to you, please write to autoconf@gnu.org." >&5
49738 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49739 whose name does not start with the host triplet. If you think this
49740 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49741 ac_tool_warned
=yes ;;
49746 NM
="$ac_cv_prog_NM"
49750 { echo "$as_me:$LINENO: checking for command to install directories" >&5
49751 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
49752 INSTALL_TEST_DIR
=acbftest$$
49753 $INSTALL -d $INSTALL_TEST_DIR > /dev
/null
2>&1
49754 if test $?
= 0 -a -d $INSTALL_TEST_DIR; then
49755 rmdir $INSTALL_TEST_DIR
49756 INSTALL_DIR
='$(INSTALL) -d'
49757 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
49758 echo "${ECHO_T}$INSTALL -d" >&6; }
49760 INSTALL_DIR
="mkdir -p"
49761 { echo "$as_me:$LINENO: result: mkdir -p" >&5
49762 echo "${ECHO_T}mkdir -p" >&6; }
49767 case ${BAKEFILE_HOST} in
49768 *-*-cygwin* | *-*-mingw32* )
49769 LDFLAGS_GUI
="-mwindows"
49775 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49776 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49777 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49778 echo $ECHO_N "(cached) $ECHO_C" >&6
49781 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
49782 egrep -s GNU
> /dev
/null
); then
49783 bakefile_cv_prog_makeisgnu
="yes"
49785 bakefile_cv_prog_makeisgnu
="no"
49789 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49790 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49792 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49809 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49810 case "${BAKEFILE_HOST}" in
49817 *-pc-os2_emx | *-pc-os2-emx )
49827 powerpc
-apple-macos* )
49836 case "$BAKEFILE_FORCE_PLATFORM" in
49857 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
49858 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
49859 { (exit 1); exit 1; }; }
49874 # Check whether --enable-omf was given.
49875 if test "${enable_omf+set}" = set; then
49876 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
49880 case "${BAKEFILE_HOST}" in
49882 if test "x$GCC" = "xyes"; then
49883 CFLAGS
="$CFLAGS -fno-common"
49884 CXXFLAGS
="$CXXFLAGS -fno-common"
49886 if test "x$XLCC" = "xyes"; then
49887 CFLAGS
="$CFLAGS -qnocommon"
49888 CXXFLAGS
="$CXXFLAGS -qnocommon"
49892 *-pc-os2_emx | *-pc-os2-emx )
49893 if test "x$bk_os2_use_omf" = "xyes" ; then
49896 LDFLAGS
="-Zomf $LDFLAGS"
49897 CFLAGS
="-Zomf $CFLAGS"
49898 CXXFLAGS
="-Zomf $CXXFLAGS"
49906 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
49912 SO_SUFFIX_MODULE
="so"
49917 DLLPREFIX_MODULE
=""
49921 case "${BAKEFILE_HOST}" in
49926 SO_SUFFIX_MODULE
="sl"
49930 SO_SUFFIX_MODULE
="a"
49934 SO_SUFFIX_MODULE
="dll"
49935 DLLIMP_SUFFIX
="dll.a"
49942 SO_SUFFIX_MODULE
="dll"
49943 DLLIMP_SUFFIX
="dll.a"
49953 *-pc-os2_emx | *-pc-os2-emx )
49955 SO_SUFFIX_MODULE
="dll"
49956 DLLIMP_SUFFIX
=$OS2_LIBEXT
49960 LIBEXT
=".$OS2_LIBEXT"
49965 SO_SUFFIX_MODULE
="bundle"
49969 if test "x$DLLIMP_SUFFIX" = "x" ; then
49970 DLLIMP_SUFFIX
="$SO_SUFFIX"
49985 if test "x$GCC" = "xyes"; then
49989 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
49990 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
49993 case "${BAKEFILE_HOST}" in
49995 if test "x$GCC" != "xyes"; then
49996 LDFLAGS
="$LDFLAGS -L/usr/lib"
49998 SHARED_LD_CC
="${CC} -b -o"
49999 SHARED_LD_CXX
="${CXX} -b -o"
50005 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
50007 elif test "x$SUNCXX" = "xyes"; then
50008 SHARED_LD_CC
="${CC} -G -o"
50009 SHARED_LD_CXX
="${CXX} -G -o"
50015 if test "x$SUNCXX" = xyes
; then
50016 SHARED_LD_CC
="${CC} -G -o"
50017 SHARED_LD_CXX
="${CXX} -G -o"
50025 cat <<EOF >shared-ld-sh
50027 #-----------------------------------------------------------------------------
50028 #-- Name: distrib/mac/shared-ld-sh
50029 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50030 #-- Author: Gilles Depeyrot
50031 #-- Copyright: (c) 2002 Gilles Depeyrot
50032 #-- Licence: any use permitted
50033 #-----------------------------------------------------------------------------
50038 linking_flag="-dynamiclib"
50039 ldargs="-r -keep_private_externs -nostdlib"
50041 if test "x${D}CXX" = "x"; then
50045 while test ${D}# -gt 0; do
50052 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50053 # collect these options and values
50054 args="${D}{args} ${D}1 ${D}2"
50059 # collect these options and values
50060 ldargs="${D}{ldargs} ${D}1 ${D}2"
50065 # collect these load args
50066 ldargs="${D}{ldargs} ${D}1"
50069 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50070 # collect these options
50071 args="${D}{args} ${D}1"
50074 -dynamiclib|-bundle)
50075 linking_flag="${D}1"
50079 echo "shared-ld: unhandled option '${D}1'"
50083 *.o | *.a | *.dylib)
50084 # collect object files
50085 objects="${D}{objects} ${D}1"
50089 echo "shared-ld: unhandled argument '${D}1'"
50100 # Link one module containing all the others
50102 if test ${D}{verbose} = 1; then
50103 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50105 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50109 # Link the shared library from the single module created, but only if the
50110 # previous command didn't fail:
50112 if test ${D}{status} = 0; then
50113 if test ${D}{verbose} = 1; then
50114 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50116 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50121 # Remove intermediate module
50123 rm -f master.${D}${D}.o
50128 chmod +x shared
-ld-sh
50130 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50131 SHARED_LD_MODULE_CXX
="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
50134 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50135 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50136 if test "${bakefile_cv_gcc31+set}" = set; then
50137 echo $ECHO_N "(cached) $ECHO_C" >&6
50140 cat >conftest.
$ac_ext <<_ACEOF
50143 cat confdefs.h
>>conftest.
$ac_ext
50144 cat >>conftest.
$ac_ext <<_ACEOF
50145 /* end confdefs.h. */
50151 #if (__GNUC__ < 3) || \
50152 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50160 rm -f conftest.
$ac_objext
50161 if { (ac_try
="$ac_compile"
50162 case "(($ac_try" in
50163 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50164 *) ac_try_echo=$ac_try;;
50166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50167 (eval "$ac_compile") 2>conftest.er1
50169 grep -v '^ *+' conftest.er1 >conftest.err
50171 cat conftest.err >&5
50172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50173 (exit $ac_status); } && {
50174 test -z "$ac_c_werror_flag" ||
50175 test ! -s conftest.err
50176 } && test -s conftest.$ac_objext; then
50178 bakefile_cv_gcc31=yes
50181 echo "$as_me: failed program was:" >&5
50182 sed 's/^/| /' conftest.$ac_ext >&5
50185 bakefile_cv_gcc31=no
50190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50193 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50194 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50195 if test "$bakefile_cv_gcc31" = "no"; then
50196 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50197 SHARED_LD_CXX="$SHARED_LD_CC"
50199 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50200 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50203 if test "x$GCC" == "xyes"; then
50204 PIC_FLAG="-dynamic -fPIC"
50206 if test "x$XLCC" = "xyes"; then
50207 PIC_FLAG="-dynamic -DPIC"
50212 if test "x$GCC" = "xyes"; then
50215 case "${BAKEFILE_HOST}" in
50217 LD_EXPFULL="-Wl,-bexpfull"
50221 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50222 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50224 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50225 set dummy makeC++SharedLib; ac_word=$2
50226 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50228 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50229 echo $ECHO_N "(cached) $ECHO_C" >&6
50231 if test -n "$AIX_CXX_LD"; then
50232 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50235 for as_dir in $PATH
50238 test -z "$as_dir" && as_dir=.
50239 for ac_exec_ext in '' $ac_executable_extensions; do
50240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50241 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50249 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50252 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50253 if test -n "$AIX_CXX_LD"; then
50254 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50255 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50257 { echo "$as_me:$LINENO: result: no" >&5
50258 echo "${ECHO_T}no" >&6; }
50262 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50263 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50268 SHARED_LD_CC="${LD} -nostart -o"
50269 SHARED_LD_CXX="${LD} -nostart -o"
50273 if test "x$GCC" != "xyes"; then
50278 *-*-cygwin* | *-*-mingw32* )
50280 SHARED_LD_CC="\$(CC) -shared -o"
50281 SHARED_LD_CXX="\$(CXX) -shared -o"
50285 *-pc-os2_emx | *-pc-os2-emx )
50286 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50287 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50291 cat <<EOF >dllar.sh
50294 # dllar - a tool to build both a .dll and an .a file
50295 # from a set of object (.o) files for EMX/OS2.
50297 # Written by Andrew Zabolotny, bit@freya.etu.ru
50298 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50300 # This script will accept a set of files on the command line.
50301 # All the public symbols from the .o files will be exported into
50302 # a .DEF file, then linker will be run (through gcc) against them to
50303 # build a shared library consisting of all given .o files. All libraries
50304 # (.a) will be first decompressed into component .o files then act as
50305 # described above. You can optionally give a description (-d "description")
50306 # which will be put into .DLL. To see the list of accepted options (as well
50307 # as command-line format) simply run this program without options. The .DLL
50308 # is built to be imported by name (there is no guarantee that new versions
50309 # of the library you build will have same ordinals for same symbols).
50311 # dllar is free software; you can redistribute it and/or modify
50312 # it under the terms of the GNU General Public License as published by
50313 # the Free Software Foundation; either version 2, or (at your option)
50314 # any later version.
50316 # dllar is distributed in the hope that it will be useful,
50317 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50318 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50319 # GNU General Public License for more details.
50321 # You should have received a copy of the GNU General Public License
50322 # along with dllar; see the file COPYING. If not, write to the Free
50323 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50326 # To successfuly run this program you will need:
50327 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50328 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50330 # (used to build the .dll)
50332 # (used to create .def file from .o files)
50334 # (used to create .a file from .def file)
50335 # - GNU text utilites (cat, sort, uniq)
50336 # used to process emxexp output
50337 # - GNU file utilities (mv, rm)
50339 # - lxlite (optional, see flag below)
50340 # (used for general .dll cleanup)
50347 # basnam, variant of basename, which does _not_ remove the path, _iff_
50348 # second argument (suffix to remove) is given
50352 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50355 echo ${D}1 | sed 's/'${D}2'${D}//'
50358 echo "error in basnam ${D}*"
50364 # Cleanup temporary files and output
50367 for i in ${D}inputFiles ; do
50370 rm -rf \`basnam
${D}i
!\
`
50377 # Kill result in case of failure as there is just to many stupid make/nmake
50378 # things out there which doesn't do this.
50379 if [ ${D}# -eq 0 ]; then
50380 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50384 # Print usage and exit script with rc=1.
50386 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50387 echo ' [-name-mangler-script script.sh]'
50388 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50389 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50390 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50391 echo ' [*.o] [*.a]'
50392 echo '*> "output_file" should have no extension.'
50393 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50394 echo ' The import library name is derived from this and is set to "name".a,'
50395 echo ' unless overridden by -import'
50396 echo '*> "importlib_name" should have no extension.'
50397 echo ' If it has the .o, or .a extension, it is automatically removed.'
50398 echo ' This name is used as the import library name and may be longer and'
50399 echo ' more descriptive than the DLL name which has to follow the old '
50400 echo ' 8.3 convention of FAT.'
50401 echo '*> "script.sh may be given to override the output_file name by a'
50402 echo ' different name. It is mainly useful if the regular make process'
50403 echo ' of some package does not take into account OS/2 restriction of'
50404 echo ' DLL name lengths. It takes the importlib name as input and is'
50405 echo ' supposed to procude a shorter name as output. The script should'
50406 echo ' expect to get importlib_name without extension and should produce'
50407 echo ' a (max.) 8 letter name without extension.'
50408 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50409 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50410 echo ' These flags will be put at the start of GCC command line.'
50411 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50412 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50413 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50414 echo ' If the last character of a symbol is "*", all symbols beginning'
50415 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50416 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50417 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50418 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50419 echo ' C runtime DLLs.'
50420 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50421 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50422 echo ' unchanged to GCC at the end of command line.'
50423 echo '*> If you create a DLL from a library and you do not specify -o,'
50424 echo ' the basename for DLL and import library will be set to library name,'
50425 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50426 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50427 echo ' library will be renamed into gcc_s.a.'
50430 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50431 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50436 # Execute a command.
50437 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50438 # @Uses Whatever CleanUp() uses.
50444 if [ ${D}rcCmd -ne 0 ]; then
50445 echo "command failed, exit code="${D}rcCmd
50460 CFLAGS="-s -Zcrtdll"
50462 EXPORT_BY_ORDINALS=0
50467 case ${D}curDirS in
50471 curDirS=${D}{curDirS}"/"
50474 # Parse commandline
50477 while [ ${D}1 ]; do
50480 EXPORT_BY_ORDINALS=1;
50490 -name-mangler-script)
50511 exclude_symbols=${D}{exclude_symbols}${D}1" "
50515 library_flags=${D}{library_flags}${D}1" "
50534 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50537 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
50538 if [ ${D}omfLinking -eq 1 ]; then
50539 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50541 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50546 if [ ${D}libsToLink -ne 0 ]; then
50547 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50549 for file in ${D}1 ; do
50550 if [ -f ${D}file ]; then
50551 inputFiles="${D}{inputFiles} ${D}file"
50555 if [ ${D}found -eq 0 ]; then
50556 echo "ERROR: No file(s) found: "${D}1
50563 done # iterate cmdline words
50566 if [ -z "${D}inputFiles" ]; then
50567 echo "dllar: no input files"
50571 # Now extract all .o files from .a files
50573 for file in ${D}inputFiles ; do
50584 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50589 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
50591 if [ ${D}? -ne 0 ]; then
50592 echo "Failed to create subdirectory ./${D}dirname"
50596 # Append '!' to indicate archive
50597 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50598 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50601 for subfile in ${D}dirname/*.o* ; do
50602 if [ -f ${D}subfile ]; then
50604 if [ -s ${D}subfile ]; then
50605 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50606 newInputFiles="${D}newInputFiles ${D}subfile"
50610 if [ ${D}found -eq 0 ]; then
50611 echo "WARNING: there are no files in archive \\'${D}file\\'"
50615 newInputFiles="${D}{newInputFiles} ${D}file"
50619 inputFiles="${D}newInputFiles"
50621 # Output filename(s).
50623 if [ -z ${D}outFile ]; then
50625 set outFile ${D}inputFiles; outFile=${D}2
50628 # If it is an archive, remove the '!' and the '_%' suffixes
50629 case ${D}outFile in
50631 outFile=\`basnam
${D}outFile _
%!\
`
50636 case ${D}outFile in
50638 outFile=\`basnam
${D}outFile .dll\
`
50641 outFile=\`basnam
${D}outFile .DLL\
`
50644 outFile=\`basnam
${D}outFile .o\
`
50647 outFile=\`basnam
${D}outFile .obj\
`
50650 outFile=\`basnam
${D}outFile .a\
`
50653 outFile=\`basnam
${D}outFile .lib\
`
50658 case ${D}outimpFile in
50660 outimpFile=\`basnam
${D}outimpFile .a\
`
50663 outimpFile=\`basnam
${D}outimpFile .lib\
`
50668 if [ -z ${D}outimpFile ]; then
50669 outimpFile=${D}outFile
50671 defFile="${D}{outFile}.def"
50672 arcFile="${D}{outimpFile}.a"
50673 arcFile2="${D}{outimpFile}.lib"
50675 #create ${D}dllFile as something matching 8.3 restrictions,
50676 if [ -z ${D}renameScript ] ; then
50677 dllFile="${D}outFile"
50679 dllFile=\`${D}renameScript
${D}outimpFile\
`
50682 if [ ${D}do_backup -ne 0 ] ; then
50683 if [ -f ${D}arcFile ] ; then
50684 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50686 if [ -f ${D}arcFile2 ] ; then
50687 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50691 # Extract public symbols from all the object files.
50692 tmpdefFile=${D}{defFile}_%
50693 rm -f ${D}tmpdefFile
50694 for file in ${D}inputFiles ; do
50699 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50704 # Create the def file.
50706 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
50707 dllFile="${D}{dllFile}.dll"
50708 if [ ! -z ${D}description ]; then
50709 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50711 echo "EXPORTS" >> ${D}defFile
50713 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50714 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50716 # Checks if the export is ok or not.
50717 for word in ${D}exclude_symbols; do
50718 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50719 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50723 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50724 sed "=" < ${D}tmpdefFile | \\
50728 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50730 ' > ${D}{tmpdefFile}%
50731 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50733 rm -f ${D}{tmpdefFile}%
50735 cat ${D}tmpdefFile >> ${D}defFile
50736 rm -f ${D}tmpdefFile
50738 # Do linking, create implib, and apply lxlite.
50740 for file in ${D}inputFiles ; do
50745 gccCmdl="${D}gccCmdl ${D}file"
50749 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50750 touch "${D}{outFile}.dll"
50752 doCommand "emximp -o ${D}arcFile ${D}defFile"
50753 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50755 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50758 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50760 doCommand "emxomf -s -l ${D}arcFile"
50770 powerpc-apple-macos* | \
50771 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50781 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50782 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50783 { (exit 1); exit 1; }; }
50786 if test "x$PIC_FLAG" != "x" ; then
50787 PIC_FLAG="$PIC_FLAG -DPIC"
50790 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50791 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50793 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50794 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50809 USE_SOTWOSYMLINKS=0
50813 case "${BAKEFILE_HOST}" in
50814 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
50815 *-*-k*bsd*-gnu | *-*-mirbsd* )
50816 if test "x$SUNCXX" = "xyes"; then
50819 SONAME_FLAG="-Wl,-soname,"
50823 USE_SOTWOSYMLINKS=1
50835 USE_SOTWOSYMLINKS=1
50853 # Check whether --enable-dependency-tracking was given.
50854 if test "${enable_dependency_tracking+set}" = set; then
50855 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
50859 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50860 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50863 if test "x$bk_use_trackdeps" = "xno" ; then
50865 { echo "$as_me:$LINENO: result: disabled" >&5
50866 echo "${ECHO_T}disabled" >&6; }
50870 if test "x$GCC" = "xyes"; then
50872 case "${BAKEFILE_HOST}" in
50874 DEPSFLAG="-no-cpp-precomp -MMD"
50880 { echo "$as_me:$LINENO: result: gcc" >&5
50881 echo "${ECHO_T}gcc" >&6; }
50882 elif test "x$MWCC" = "xyes"; then
50885 { echo "$as_me:$LINENO: result: mwcc" >&5
50886 echo "${ECHO_T}mwcc" >&6; }
50887 elif test "x$SUNCC" = "xyes"; then
50890 { echo "$as_me:$LINENO: result: Sun cc" >&5
50891 echo "${ECHO_T}Sun cc" >&6; }
50892 elif test "x$SGICC" = "xyes"; then
50895 { echo "$as_me:$LINENO: result: SGI cc" >&5
50896 echo "${ECHO_T}SGI cc" >&6; }
50897 elif test "x$HPCC" = "xyes"; then
50900 { echo "$as_me:$LINENO: result: HP cc" >&5
50901 echo "${ECHO_T}HP cc" >&6; }
50902 elif test "x$COMPAQCC" = "xyes"; then
50905 { echo "$as_me:$LINENO: result: Compaq cc" >&5
50906 echo "${ECHO_T}Compaq cc" >&6; }
50909 { echo "$as_me:$LINENO: result: none" >&5
50910 echo "${ECHO_T}none" >&6; }
50913 if test $DEPS_TRACKING = 1 ; then
50919 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50920 # script. It is used to track C/C++ files dependencies in portable way.
50922 # Permission is given to use this file in any way.
50924 DEPSMODE=${DEPSMODE}
50925 DEPSFLAG="${DEPSFLAG}"
50928 if test ${D}DEPSMODE = gcc ; then
50929 ${D}* ${D}{DEPSFLAG}
50932 # determine location of created files:
50933 while test ${D}# -gt 0; do
50947 objfilebase=\`basename ${D}objfile\
`
50948 builddir=\`dirname ${D}objfile\
`
50949 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
50950 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
50951 depsdir=${D}builddir/${D}DEPSDIRBASE
50952 mkdir -p ${D}depsdir
50954 # if the compiler failed, we're done:
50955 if test ${D}{status} != 0 ; then
50960 # move created file to the location we want it in:
50961 if test -f ${D}depfile ; then
50962 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50965 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50966 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\
`
50967 if test ! -f ${D}depfile ; then
50968 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50969 depfile="${D}objfile.d"
50971 if test -f ${D}depfile ; then
50972 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50978 elif test ${D}DEPSMODE = mwcc ; then
50979 ${D}* || exit ${D}?
50980 # Run mwcc again with -MM and redirect into the dep file we want
50981 # NOTE: We can't use shift here because we need ${D}* to be valid
50983 for arg in ${D}* ; do
50984 if test "${D}prevarg" = "-o"; then
50998 objfilebase=\`basename ${D}objfile\
`
50999 builddir=\`dirname ${D}objfile\
`
51000 depsdir=${D}builddir/${D}DEPSDIRBASE
51001 mkdir -p ${D}depsdir
51003 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
51006 elif test ${D}DEPSMODE = unixcc; then
51007 ${D}* || exit ${D}?
51008 # Run compiler again with deps flag and redirect into the dep file.
51009 # It doesn't work if the '-o FILE' option is used, but without it the
51010 # dependency file will contain the wrong name for the object. So it is
51011 # removed from the command line, and the dep file is fixed with sed.
51013 while test ${D}# -gt 0; do
51020 eval arg${D}#=\\${D}1
51021 cmd="${D}cmd \\${D}arg${D}#"
51027 objfilebase=\`basename ${D}objfile\
`
51028 builddir=\`dirname ${D}objfile\
`
51029 depsdir=${D}builddir/${D}DEPSDIRBASE
51030 mkdir -p ${D}depsdir
51032 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
51042 BK_DEPS="`pwd`/bk-deps"
51050 case ${BAKEFILE_HOST} in
51051 *-*-cygwin* | *-*-mingw32* )
51052 if test -n "$ac_tool_prefix"; then
51053 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51054 set dummy ${ac_tool_prefix}windres; ac_word=$2
51055 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51057 if test "${ac_cv_prog_WINDRES+set}" = set; then
51058 echo $ECHO_N "(cached) $ECHO_C" >&6
51060 if test -n "$WINDRES"; then
51061 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51064 for as_dir in $PATH
51067 test -z "$as_dir" && as_dir=.
51068 for ac_exec_ext in '' $ac_executable_extensions; do
51069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51070 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51080 WINDRES=$ac_cv_prog_WINDRES
51081 if test -n "$WINDRES"; then
51082 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51083 echo "${ECHO_T}$WINDRES" >&6; }
51085 { echo "$as_me:$LINENO: result: no" >&5
51086 echo "${ECHO_T}no" >&6; }
51091 if test -z "$ac_cv_prog_WINDRES"; then
51092 ac_ct_WINDRES=$WINDRES
51093 # Extract the first word of "windres", so it can be a program name with args.
51094 set dummy windres; ac_word=$2
51095 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51097 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51098 echo $ECHO_N "(cached) $ECHO_C" >&6
51100 if test -n "$ac_ct_WINDRES"; then
51101 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51104 for as_dir in $PATH
51107 test -z "$as_dir" && as_dir=.
51108 for ac_exec_ext in '' $ac_executable_extensions; do
51109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51110 ac_cv_prog_ac_ct_WINDRES="windres"
51111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51120 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51121 if test -n "$ac_ct_WINDRES"; then
51122 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51123 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51125 { echo "$as_me:$LINENO: result: no" >&5
51126 echo "${ECHO_T}no" >&6; }
51129 if test "x$ac_ct_WINDRES" = x; then
51132 case $cross_compiling:$ac_tool_warned in
51134 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51135 whose name does not start with the host triplet. If you think this
51136 configuration is useful to you, please write to autoconf@gnu.org." >&5
51137 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51138 whose name does not start with the host triplet. If you think this
51139 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51140 ac_tool_warned=yes ;;
51142 WINDRES=$ac_ct_WINDRES
51145 WINDRES="$ac_cv_prog_WINDRES"
51150 *-*-darwin* | powerpc-apple-macos* )
51151 # Extract the first word of "Rez", so it can be a program name with args.
51152 set dummy Rez; ac_word=$2
51153 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51155 if test "${ac_cv_prog_REZ+set}" = set; then
51156 echo $ECHO_N "(cached) $ECHO_C" >&6
51158 if test -n "$REZ"; then
51159 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51162 for as_dir in $PATH
51165 test -z "$as_dir" && as_dir=.
51166 for ac_exec_ext in '' $ac_executable_extensions; do
51167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51168 ac_cv_prog_REZ="Rez"
51169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51176 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51179 REZ=$ac_cv_prog_REZ
51180 if test -n "$REZ"; then
51181 { echo "$as_me:$LINENO: result: $REZ" >&5
51182 echo "${ECHO_T}$REZ" >&6; }
51184 { echo "$as_me:$LINENO: result: no" >&5
51185 echo "${ECHO_T}no" >&6; }
51189 # Extract the first word of "SetFile", so it can be a program name with args.
51190 set dummy SetFile; ac_word=$2
51191 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51193 if test "${ac_cv_prog_SETFILE+set}" = set; then
51194 echo $ECHO_N "(cached) $ECHO_C" >&6
51196 if test -n "$SETFILE"; then
51197 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51200 for as_dir in $PATH
51203 test -z "$as_dir" && as_dir=.
51204 for ac_exec_ext in '' $ac_executable_extensions; do
51205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51206 ac_cv_prog_SETFILE="SetFile"
51207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51214 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51217 SETFILE=$ac_cv_prog_SETFILE
51218 if test -n "$SETFILE"; then
51219 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51220 echo "${ECHO_T}$SETFILE" >&6; }
51222 { echo "$as_me:$LINENO: result: no" >&5
51223 echo "${ECHO_T}no" >&6; }
51238 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
51241 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
51245 # Check whether --enable-precomp-headers was given.
51246 if test "${enable_precomp_headers+set}" = set; then
51247 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51256 case ${BAKEFILE_HOST} in
51262 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51263 if test "x$GCC" = "xyes"; then
51264 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51265 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51266 cat >conftest.$ac_ext <<_ACEOF
51269 cat confdefs.h >>conftest.$ac_ext
51270 cat >>conftest.$ac_ext <<_ACEOF
51271 /* end confdefs.h. */
51277 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51278 There is no PCH support
51281 There is no PCH support
51283 #if (__GNUC__ == 3) && \
51284 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51285 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51286 ( defined(__INTEL_COMPILER) )
51287 There is no PCH support
51294 rm -f conftest.$ac_objext
51295 if { (ac_try="$ac_compile"
51296 case "(($ac_try" in
51297 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51298 *) ac_try_echo
=$ac_try;;
51300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51301 (eval "$ac_compile") 2>conftest.er1
51303 grep -v '^ *+' conftest.er1
>conftest.err
51305 cat conftest.err
>&5
51306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51307 (exit $ac_status); } && {
51308 test -z "$ac_c_werror_flag" ||
51309 test ! -s conftest.err
51310 } && test -s conftest.
$ac_objext; then
51312 { echo "$as_me:$LINENO: result: yes" >&5
51313 echo "${ECHO_T}yes" >&6; }
51317 echo "$as_me: failed program was:" >&5
51318 sed 's/^/| /' conftest.
$ac_ext >&5
51321 if test "$INTELCXX8" = "yes"; then
51322 { echo "$as_me:$LINENO: result: yes" >&5
51323 echo "${ECHO_T}yes" >&6; }
51325 if test "$INTELCXX10" = "yes"; then
51326 ICC_PCH_CREATE_SWITCH
="-pch-create"
51327 ICC_PCH_USE_SWITCH
="-pch-use"
51329 ICC_PCH_CREATE_SWITCH
="-create-pch"
51330 ICC_PCH_USE_SWITCH
="-use-pch"
51333 { echo "$as_me:$LINENO: result: no" >&5
51334 echo "${ECHO_T}no" >&6; }
51339 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51340 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51344 cat <<EOF >bk-make-pch
51347 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51348 # script. It is used to generated precompiled headers.
51350 # Permission is given to use this file in any way.
51357 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
51362 while test ${D}{#} -gt 0; do
51366 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51367 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51368 headerfile="${D}{incdir}/${D}{header}"
51371 -use-pch|-use_pch|-pch-use )
51376 if test ${D}add_to_cmdline = 1 ; then
51377 compiler="${D}{compiler} ${D}{1}"
51382 if test "x${D}{headerfile}" = "x" ; then
51383 echo "error: can't find header ${D}{header} in include paths" >&2
51385 if test -f ${D}{outfile} ; then
51386 rm -f ${D}{outfile}
51388 mkdir -p \`dirname ${D}{outfile}\`
51390 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51391 mkdir -p ${D}{builddir}/.deps
51392 if test "x${GCC_PCH}" = "x1" ; then
51393 # can do this because gcc is >= 3.4:
51394 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51395 elif test "x${ICC_PCH}" = "x1" ; then
51396 filename=pch_gen-${D}${D}
51397 file=${D}{filename}.c
51398 dfile=${D}{filename}.d
51399 cat > ${D}file <<EOT
51400 #include "${D}header"
51402 # using -MF icc complains about differing command lines in creation/use
51403 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
51404 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51405 rm -f ${D}file ${D}dfile ${D}{filename}.o
51411 chmod +x bk
-make-pch
51412 BK_MAKE_PCH
="`pwd`/bk-make-pch"
51423 COND_BUILD_DEBUG
="#"
51424 if test "x$BUILD" = "xdebug" ; then
51425 COND_BUILD_DEBUG
=""
51428 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
51429 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51430 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
51433 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
51434 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51435 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
51438 COND_BUILD_DEBUG_UNICODE_0
="#"
51439 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51440 COND_BUILD_DEBUG_UNICODE_0
=""
51443 COND_BUILD_DEBUG_UNICODE_1
="#"
51444 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51445 COND_BUILD_DEBUG_UNICODE_1
=""
51448 COND_BUILD_RELEASE
="#"
51449 if test "x$BUILD" = "xrelease" ; then
51450 COND_BUILD_RELEASE
=""
51453 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
51454 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51455 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
51458 COND_BUILD_RELEASE_UNICODE_0
="#"
51459 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51460 COND_BUILD_RELEASE_UNICODE_0
=""
51463 COND_BUILD_RELEASE_UNICODE_1
="#"
51464 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51465 COND_BUILD_RELEASE_UNICODE_1
=""
51468 COND_BUILD_debug
="#"
51469 if test "x$BUILD" = "xdebug" ; then
51470 COND_BUILD_debug
=""
51473 COND_BUILD_debug_DEBUG_FLAG_default
="#"
51474 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51475 COND_BUILD_debug_DEBUG_FLAG_default
=""
51478 COND_BUILD_debug_DEBUG_INFO_default
="#"
51479 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51480 COND_BUILD_debug_DEBUG_INFO_default
=""
51483 COND_BUILD_debug_UNICODE_0
="#"
51484 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51485 COND_BUILD_debug_UNICODE_0
=""
51488 COND_BUILD_debug_UNICODE_1
="#"
51489 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51490 COND_BUILD_debug_UNICODE_1
=""
51493 COND_BUILD_release
="#"
51494 if test "x$BUILD" = "xrelease" ; then
51495 COND_BUILD_release
=""
51498 COND_BUILD_release_DEBUG_INFO_default
="#"
51499 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51500 COND_BUILD_release_DEBUG_INFO_default
=""
51503 COND_BUILD_release_UNICODE_0
="#"
51504 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51505 COND_BUILD_release_UNICODE_0
=""
51508 COND_BUILD_release_UNICODE_1
="#"
51509 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51510 COND_BUILD_release_UNICODE_1
=""
51513 COND_DEBUG_FLAG_0
="#"
51514 if test "x$DEBUG_FLAG" = "x0" ; then
51515 COND_DEBUG_FLAG_0
=""
51518 COND_DEBUG_FLAG_1
="#"
51519 if test "x$DEBUG_FLAG" = "x1" ; then
51520 COND_DEBUG_FLAG_1
=""
51523 COND_DEBUG_INFO_0
="#"
51524 if test "x$DEBUG_INFO" = "x0" ; then
51525 COND_DEBUG_INFO_0
=""
51528 COND_DEBUG_INFO_1
="#"
51529 if test "x$DEBUG_INFO" = "x1" ; then
51530 COND_DEBUG_INFO_1
=""
51533 COND_DEPS_TRACKING_0
="#"
51534 if test "x$DEPS_TRACKING" = "x0" ; then
51535 COND_DEPS_TRACKING_0
=""
51538 COND_DEPS_TRACKING_1
="#"
51539 if test "x$DEPS_TRACKING" = "x1" ; then
51540 COND_DEPS_TRACKING_1
=""
51544 if test "x$GCC_PCH" = "x1" ; then
51549 if test "x$ICC_PCH" = "x1" ; then
51553 COND_MONOLITHIC_0
="#"
51554 if test "x$MONOLITHIC" = "x0" ; then
51555 COND_MONOLITHIC_0
=""
51558 COND_MONOLITHIC_0_SHARED_0
="#"
51559 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51560 COND_MONOLITHIC_0_SHARED_0
=""
51563 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
51564 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51565 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
51568 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
51569 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51570 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
51573 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
51574 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51575 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
51578 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
51579 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51580 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
51583 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
51584 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51585 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
51588 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
51589 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51590 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
51593 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
="#"
51594 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51595 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
=""
51598 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
51599 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51600 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
51603 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
51604 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51605 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
51608 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
51609 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51610 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
51613 COND_MONOLITHIC_0_SHARED_1
="#"
51614 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51615 COND_MONOLITHIC_0_SHARED_1
=""
51618 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
51619 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51620 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
51623 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
51624 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51625 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
51628 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
51629 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51630 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
51633 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
51634 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51635 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
51638 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
51639 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51640 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
51643 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
51644 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
51645 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
51648 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
="#"
51649 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
51650 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
=""
51653 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
51654 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51655 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
51658 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
51659 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51660 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
51663 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
51664 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51665 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
51668 COND_MONOLITHIC_0_USE_AUI_1
="#"
51669 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51670 COND_MONOLITHIC_0_USE_AUI_1
=""
51673 COND_MONOLITHIC_0_USE_GUI_1
="#"
51674 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51675 COND_MONOLITHIC_0_USE_GUI_1
=""
51678 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
51679 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51680 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
51683 COND_MONOLITHIC_0_USE_HTML_1
="#"
51684 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51685 COND_MONOLITHIC_0_USE_HTML_1
=""
51688 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
51689 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51690 COND_MONOLITHIC_0_USE_MEDIA_1
=""
51693 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
51694 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51695 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
51698 COND_MONOLITHIC_0_USE_QA_1
="#"
51699 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51700 COND_MONOLITHIC_0_USE_QA_1
=""
51703 COND_MONOLITHIC_0_USE_RIBBON_1
="#"
51704 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51705 COND_MONOLITHIC_0_USE_RIBBON_1
=""
51708 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
51709 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51710 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
51713 COND_MONOLITHIC_0_USE_STC_1
="#"
51714 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51715 COND_MONOLITHIC_0_USE_STC_1
=""
51718 COND_MONOLITHIC_0_USE_XRC_1
="#"
51719 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51720 COND_MONOLITHIC_0_USE_XRC_1
=""
51723 COND_MONOLITHIC_1
="#"
51724 if test "x$MONOLITHIC" = "x1" ; then
51725 COND_MONOLITHIC_1
=""
51728 COND_MONOLITHIC_1_SHARED_0
="#"
51729 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51730 COND_MONOLITHIC_1_SHARED_0
=""
51733 COND_MONOLITHIC_1_SHARED_1
="#"
51734 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51735 COND_MONOLITHIC_1_SHARED_1
=""
51738 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
51739 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51740 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
51743 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
51744 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51745 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
51748 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
51749 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51750 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
51753 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
51754 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51755 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
51758 COND_PLATFORM_MACOSX_1
="#"
51759 if test "x$PLATFORM_MACOSX" = "x1" ; then
51760 COND_PLATFORM_MACOSX_1
=""
51763 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
51764 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
51765 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
51768 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
="#"
51769 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51770 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
=""
51773 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
51774 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51775 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
51778 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
51779 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51780 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
51783 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
51784 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51785 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
51788 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
51789 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51790 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
51793 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
51794 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51795 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
51798 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
51799 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51800 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
51803 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
51804 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51805 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
51808 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
51809 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51810 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
51813 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
51814 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51815 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
51818 COND_PLATFORM_MACOS_1
="#"
51819 if test "x$PLATFORM_MACOS" = "x1" ; then
51820 COND_PLATFORM_MACOS_1
=""
51823 COND_PLATFORM_MAC_0
="#"
51824 if test "x$PLATFORM_MAC" = "x0" ; then
51825 COND_PLATFORM_MAC_0
=""
51828 COND_PLATFORM_MAC_1
="#"
51829 if test "x$PLATFORM_MAC" = "x1" ; then
51830 COND_PLATFORM_MAC_1
=""
51833 COND_PLATFORM_MSDOS_0
="#"
51834 if test "x$PLATFORM_MSDOS" = "x0" ; then
51835 COND_PLATFORM_MSDOS_0
=""
51838 COND_PLATFORM_MSDOS_1
="#"
51839 if test "x$PLATFORM_MSDOS" = "x1" ; then
51840 COND_PLATFORM_MSDOS_1
=""
51843 COND_PLATFORM_OS2_1
="#"
51844 if test "x$PLATFORM_OS2" = "x1" ; then
51845 COND_PLATFORM_OS2_1
=""
51848 COND_PLATFORM_UNIX_0
="#"
51849 if test "x$PLATFORM_UNIX" = "x0" ; then
51850 COND_PLATFORM_UNIX_0
=""
51853 COND_PLATFORM_UNIX_1
="#"
51854 if test "x$PLATFORM_UNIX" = "x1" ; then
51855 COND_PLATFORM_UNIX_1
=""
51858 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
51859 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51860 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
51863 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
51864 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51865 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
51868 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
51869 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51870 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
51873 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
51874 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51875 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
51878 COND_PLATFORM_WIN32_0
="#"
51879 if test "x$PLATFORM_WIN32" = "x0" ; then
51880 COND_PLATFORM_WIN32_0
=""
51883 COND_PLATFORM_WIN32_1
="#"
51884 if test "x$PLATFORM_WIN32" = "x1" ; then
51885 COND_PLATFORM_WIN32_1
=""
51888 COND_PLATFORM_WIN32_1_SHARED_0
="#"
51889 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51890 COND_PLATFORM_WIN32_1_SHARED_0
=""
51894 if test "x$SHARED" = "x0" ; then
51898 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
51899 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51900 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
51903 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
51904 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51905 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
51908 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
51909 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51910 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
51913 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
51914 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51915 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
51918 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
51919 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51920 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
51923 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
51924 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51925 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
51928 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
51929 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51930 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
51933 COND_SHARED_0_USE_STC_1
="#"
51934 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51935 COND_SHARED_0_USE_STC_1
=""
51938 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
51939 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51940 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
51943 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
51944 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51945 COND_SHARED_0_wxUSE_REGEX_builtin
=""
51948 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
51949 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51950 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
51954 if test "x$SHARED" = "x1" ; then
51958 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
51959 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51960 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
51964 if test "x$TOOLKIT" = "x" ; then
51968 COND_TOOLKIT_COCOA
="#"
51969 if test "x$TOOLKIT" = "xCOCOA" ; then
51970 COND_TOOLKIT_COCOA
=""
51973 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
51974 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51975 COND_TOOLKIT_COCOA_USE_GUI_1
=""
51978 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
51979 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51980 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
51983 COND_TOOLKIT_DFB
="#"
51984 if test "x$TOOLKIT" = "xDFB" ; then
51985 COND_TOOLKIT_DFB
=""
51988 COND_TOOLKIT_DFB_USE_GUI_1
="#"
51989 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51990 COND_TOOLKIT_DFB_USE_GUI_1
=""
51993 COND_TOOLKIT_GTK
="#"
51994 if test "x$TOOLKIT" = "xGTK" ; then
51995 COND_TOOLKIT_GTK
=""
51998 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
51999 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52000 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
52003 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
52004 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52005 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
52008 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
52009 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52010 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
52013 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
52014 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52015 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
52018 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
52019 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52020 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
52023 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
52024 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52025 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
52028 COND_TOOLKIT_GTK_USE_GUI_1
="#"
52029 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52030 COND_TOOLKIT_GTK_USE_GUI_1
=""
52033 COND_TOOLKIT_MAC
="#"
52034 if test "x$TOOLKIT" = "xMAC" ; then
52035 COND_TOOLKIT_MAC
=""
52038 COND_TOOLKIT_MGL
="#"
52039 if test "x$TOOLKIT" = "xMGL" ; then
52040 COND_TOOLKIT_MGL
=""
52043 COND_TOOLKIT_MGL_USE_GUI_1
="#"
52044 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52045 COND_TOOLKIT_MGL_USE_GUI_1
=""
52048 COND_TOOLKIT_MOTIF
="#"
52049 if test "x$TOOLKIT" = "xMOTIF" ; then
52050 COND_TOOLKIT_MOTIF
=""
52053 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
52054 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52055 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
52058 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
52059 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52060 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
52063 COND_TOOLKIT_MSW
="#"
52064 if test "x$TOOLKIT" = "xMSW" ; then
52065 COND_TOOLKIT_MSW
=""
52068 COND_TOOLKIT_MSW_USE_GUI_1
="#"
52069 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52070 COND_TOOLKIT_MSW_USE_GUI_1
=""
52073 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
52074 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52075 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
52078 COND_TOOLKIT_MSW_WXUNIV_0
="#"
52079 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52080 COND_TOOLKIT_MSW_WXUNIV_0
=""
52083 COND_TOOLKIT_OSX_CARBON
="#"
52084 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
52085 COND_TOOLKIT_OSX_CARBON
=""
52088 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
52089 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52090 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
52093 COND_TOOLKIT_OSX_COCOA
="#"
52094 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
52095 COND_TOOLKIT_OSX_COCOA
=""
52098 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
52099 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52100 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
52103 COND_TOOLKIT_OSX_IPHONE
="#"
52104 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
52105 COND_TOOLKIT_OSX_IPHONE
=""
52108 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
52109 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52110 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
52113 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
52114 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52115 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
52118 COND_TOOLKIT_PM
="#"
52119 if test "x$TOOLKIT" = "xPM" ; then
52123 COND_TOOLKIT_PM_USE_GUI_1
="#"
52124 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52125 COND_TOOLKIT_PM_USE_GUI_1
=""
52128 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
52129 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52130 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
52133 COND_TOOLKIT_WINCE
="#"
52134 if test "x$TOOLKIT" = "xWINCE" ; then
52135 COND_TOOLKIT_WINCE
=""
52138 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
52139 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52140 COND_TOOLKIT_WINCE_USE_GUI_1
=""
52143 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
52144 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52145 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
52148 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
52149 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52150 COND_TOOLKIT_WINCE_WXUNIV_0
=""
52153 COND_TOOLKIT_X11
="#"
52154 if test "x$TOOLKIT" = "xX11" ; then
52155 COND_TOOLKIT_X11
=""
52158 COND_TOOLKIT_X11_USE_GUI_1
="#"
52159 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52160 COND_TOOLKIT_X11_USE_GUI_1
=""
52164 if test "x$UNICODE" = "x1" ; then
52168 COND_USE_CAIRO_1
="#"
52169 if test "x$USE_CAIRO" = "x1" ; then
52170 COND_USE_CAIRO_1
=""
52173 COND_USE_EXCEPTIONS_0
="#"
52174 if test "x$USE_EXCEPTIONS" = "x0" ; then
52175 COND_USE_EXCEPTIONS_0
=""
52178 COND_USE_EXCEPTIONS_1
="#"
52179 if test "x$USE_EXCEPTIONS" = "x1" ; then
52180 COND_USE_EXCEPTIONS_1
=""
52184 if test "x$USE_GUI" = "x0" ; then
52189 if test "x$USE_GUI" = "x1" ; then
52193 COND_USE_GUI_1_USE_OPENGL_1
="#"
52194 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52195 COND_USE_GUI_1_USE_OPENGL_1
=""
52198 COND_USE_GUI_1_WXUNIV_0
="#"
52199 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52200 COND_USE_GUI_1_WXUNIV_0
=""
52203 COND_USE_GUI_1_WXUNIV_1
="#"
52204 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52205 COND_USE_GUI_1_WXUNIV_1
=""
52208 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
52209 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52210 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
52213 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
52214 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52215 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
52218 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
52219 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52220 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
52223 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
52224 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52225 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
52228 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
52229 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52230 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
52233 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
52234 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52235 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
52238 COND_USE_OPENGL_1
="#"
52239 if test "x$USE_OPENGL" = "x1" ; then
52240 COND_USE_OPENGL_1
=""
52244 if test "x$USE_PCH" = "x1" ; then
52248 COND_USE_PLUGINS_0
="#"
52249 if test "x$USE_PLUGINS" = "x0" ; then
52250 COND_USE_PLUGINS_0
=""
52253 COND_USE_RTTI_0
="#"
52254 if test "x$USE_RTTI" = "x0" ; then
52258 COND_USE_RTTI_1
="#"
52259 if test "x$USE_RTTI" = "x1" ; then
52263 COND_USE_SOTWOSYMLINKS_1
="#"
52264 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
52265 COND_USE_SOTWOSYMLINKS_1
=""
52268 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
52269 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52270 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
52273 COND_USE_SOVERLINUX_1
="#"
52274 if test "x$USE_SOVERLINUX" = "x1" ; then
52275 COND_USE_SOVERLINUX_1
=""
52278 COND_USE_SOVERSION_0
="#"
52279 if test "x$USE_SOVERSION" = "x0" ; then
52280 COND_USE_SOVERSION_0
=""
52283 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
="#"
52284 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
52285 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
=""
52288 COND_USE_SOVERSOLARIS_1
="#"
52289 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52290 COND_USE_SOVERSOLARIS_1
=""
52294 if test "x$USE_STC" = "x1" ; then
52298 COND_USE_THREADS_0
="#"
52299 if test "x$USE_THREADS" = "x0" ; then
52300 COND_USE_THREADS_0
=""
52303 COND_USE_THREADS_1
="#"
52304 if test "x$USE_THREADS" = "x1" ; then
52305 COND_USE_THREADS_1
=""
52309 if test "x$USE_XRC" = "x1" ; then
52313 COND_WINDOWS_IMPLIB_1
="#"
52314 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52315 COND_WINDOWS_IMPLIB_1
=""
52318 COND_WITH_PLUGIN_SDL_1
="#"
52319 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52320 COND_WITH_PLUGIN_SDL_1
=""
52324 if test "x$WXUNIV" = "x0" ; then
52329 if test "x$WXUNIV" = "x1" ; then
52333 COND_WXUSE_EXPAT_BUILTIN
="#"
52334 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52335 COND_WXUSE_EXPAT_BUILTIN
=""
52338 COND_WXUSE_LIBJPEG_BUILTIN
="#"
52339 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52340 COND_WXUSE_LIBJPEG_BUILTIN
=""
52343 COND_WXUSE_LIBPNG_BUILTIN
="#"
52344 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52345 COND_WXUSE_LIBPNG_BUILTIN
=""
52348 COND_WXUSE_LIBTIFF_BUILTIN
="#"
52349 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52350 COND_WXUSE_LIBTIFF_BUILTIN
=""
52353 COND_WXUSE_REGEX_BUILTIN
="#"
52354 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52355 COND_WXUSE_REGEX_BUILTIN
=""
52358 COND_WXUSE_ZLIB_BUILTIN
="#"
52359 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52360 COND_WXUSE_ZLIB_BUILTIN
=""
52363 COND_wxUSE_EXPAT_builtin
="#"
52364 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52365 COND_wxUSE_EXPAT_builtin
=""
52368 COND_wxUSE_LIBJPEG_builtin
="#"
52369 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52370 COND_wxUSE_LIBJPEG_builtin
=""
52373 COND_wxUSE_LIBPNG_builtin
="#"
52374 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52375 COND_wxUSE_LIBPNG_builtin
=""
52378 COND_wxUSE_LIBTIFF_builtin
="#"
52379 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52380 COND_wxUSE_LIBTIFF_builtin
=""
52383 COND_wxUSE_REGEX_builtin
="#"
52384 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52385 COND_wxUSE_REGEX_builtin
=""
52388 COND_wxUSE_ZLIB_builtin
="#"
52389 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52390 COND_wxUSE_ZLIB_builtin
=""
52395 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52396 { { 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
52397 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;}
52398 { (exit 1); exit 1; }; }
52401 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52402 { { 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
52403 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;}
52404 { (exit 1); exit 1; }; }
52411 ?
:* ) # Drive letter, considered as absolute.
52414 INSTALL
=`pwd`/${INSTALL} ;;
52417 if test "$wxUSE_GUI" = "yes"; then
52419 if test "$wxUSE_MSW" = 1 ; then
52420 if test "x$WINDRES" = "x"; then
52421 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52422 echo "$as_me: error: Required windres program not found" >&2;}
52423 { (exit 1); exit 1; }; }
52429 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52430 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52431 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52433 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52435 # Extract the first word of "DeRez", so it can be a program name with args.
52436 set dummy DeRez
; ac_word
=$2
52437 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52439 if test "${ac_cv_prog_DEREZ+set}" = set; then
52440 echo $ECHO_N "(cached) $ECHO_C" >&6
52442 if test -n "$DEREZ"; then
52443 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
52445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52446 for as_dir
in $PATH
52449 test -z "$as_dir" && as_dir
=.
52450 for ac_exec_ext
in '' $ac_executable_extensions; do
52451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52452 ac_cv_prog_DEREZ
="DeRez"
52453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52460 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
52463 DEREZ
=$ac_cv_prog_DEREZ
52464 if test -n "$DEREZ"; then
52465 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52466 echo "${ECHO_T}$DEREZ" >&6; }
52468 { echo "$as_me:$LINENO: result: no" >&5
52469 echo "${ECHO_T}no" >&6; }
52474 MACSETFILE
="\$(SETFILE)"
52476 if test "$wxUSE_OSX_CARBON" = 1; then
52477 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52479 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
52481 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52482 RESCOMP
="cat /dev/null \| $REZ"
52483 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52489 if test "$wxUSE_PM" = 1; then
52491 WXCONFIG_RESFLAGS
="-ep"
52493 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
52495 POSTLINK_COMMAND
="@true"
52502 if test $GCC_PCH = 1
52504 if test "$wx_cv_gcc_pch_bug" = yes; then
52505 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52506 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52507 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52508 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52509 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52510 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52513 # Our WX_PRECOMP flag does not make sense for any language except C++ because
52514 # the headers that benefit from precompilation are mostly C++ headers.
52515 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
52516 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
52517 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52521 if test "$wxUSE_MAC" = 1 ; then
52522 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52523 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
52529 if test "$wxUSE_SHARED" = "yes"; then
52531 *-pc-os2_emx | *-pc-os2-emx )
52532 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52533 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52534 cp -p ${srcdir}/src
/os
2/dllnames.sh .
52535 cp -p ${srcdir}/src
/os
2/dllar.sh .
52539 if test "$wxUSE_OMF" = "yes"; then
52541 *-pc-os2_emx | *-pc-os2-emx )
52542 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
52543 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
52544 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
52549 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52554 if test "$GCC" = yes; then
52555 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
52556 LIBS
=`echo $LIBS | sed 's/-mt//'`
52557 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52562 if test "x$SUNCXX" = xyes
; then
52563 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
52564 LIBS
=`echo $LIBS | sed 's/-pthread//'`
52565 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52570 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
52571 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52572 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
52573 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
52575 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52636 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52637 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52638 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52639 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
52640 echo $ECHO_N "(cached) $ECHO_C" >&6
52642 cat >conftest.
make <<\_ACEOF
52645 @
echo '@@@%%%=$(MAKE)=@@@%%%'
52647 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52648 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52649 *@@@
%%%=?
*=@@@
%%%*)
52650 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
52652 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
52654 rm -f conftest.
make
52656 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
52657 { echo "$as_me:$LINENO: result: yes" >&5
52658 echo "${ECHO_T}yes" >&6; }
52661 { echo "$as_me:$LINENO: result: no" >&5
52662 echo "${ECHO_T}no" >&6; }
52663 SET_MAKE
="MAKE=${MAKE-make}"
52668 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52671 if test "$USE_WIN32" = 1; then
52672 ac_config_commands
="$ac_config_commands rcdefs.h"
52676 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52679 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52682 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
52685 if test "$wx_cv_version_script" = "yes"; then
52686 ac_config_files
="$ac_config_files version-script"
52689 ac_config_files
="$ac_config_files Makefile"
52692 ac_config_commands
="$ac_config_commands wx-config"
52696 if test "$wxWITH_SUBDIRS" != "no"; then
52697 if test "$wxUSE_GUI" = "yes"; then
52698 SUBDIRS
="samples demos utils"
52700 SUBDIRS
="samples utils"
52705 # Check whether --with-cppunit-prefix was given.
52706 if test "${with_cppunit_prefix+set}" = set; then
52707 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
52709 cppunit_config_prefix
=""
52713 # Check whether --with-cppunit-exec-prefix was given.
52714 if test "${with_cppunit_exec_prefix+set}" = set; then
52715 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
52717 cppunit_config_exec_prefix
=""
52721 if test x
$cppunit_config_exec_prefix != x
; then
52722 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52723 if test x
${CPPUNIT_CONFIG+set} != xset
; then
52724 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
52727 if test x
$cppunit_config_prefix != x
; then
52728 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
52729 if test x
${CPPUNIT_CONFIG+set} != xset
; then
52730 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
52734 # Extract the first word of "cppunit-config", so it can be a program name with args.
52735 set dummy cppunit
-config; ac_word
=$2
52736 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52737 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52738 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52739 echo $ECHO_N "(cached) $ECHO_C" >&6
52741 case $CPPUNIT_CONFIG in
52743 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52747 for as_dir
in $PATH
52750 test -z "$as_dir" && as_dir
=.
52751 for ac_exec_ext
in '' $ac_executable_extensions; do
52752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52753 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
52754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52761 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
52765 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
52766 if test -n "$CPPUNIT_CONFIG"; then
52767 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52768 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52770 { echo "$as_me:$LINENO: result: no" >&5
52771 echo "${ECHO_T}no" >&6; }
52775 cppunit_version_min
=1.8.0
52777 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52778 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52780 if test "$CPPUNIT_CONFIG" = "no" ; then
52781 { echo "$as_me:$LINENO: result: no" >&5
52782 echo "${ECHO_T}no" >&6; }
52785 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
52786 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
52787 cppunit_version
=`$CPPUNIT_CONFIG --version`
52789 cppunit_major_version
=`echo $cppunit_version | \
52790 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52791 cppunit_minor_version
=`echo $cppunit_version | \
52792 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52793 cppunit_micro_version
=`echo $cppunit_version | \
52794 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52796 cppunit_major_min
=`echo $cppunit_version_min | \
52797 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52798 cppunit_minor_min
=`echo $cppunit_version_min | \
52799 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52800 cppunit_micro_min
=`echo $cppunit_version_min | \
52801 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52803 cppunit_version_proper
=`expr \
52804 $cppunit_major_version \> $cppunit_major_min \| \
52805 $cppunit_major_version \= $cppunit_major_min \& \
52806 $cppunit_minor_version \> $cppunit_minor_min \| \
52807 $cppunit_major_version \= $cppunit_major_min \& \
52808 $cppunit_minor_version \= $cppunit_minor_min \& \
52809 $cppunit_micro_version \>= $cppunit_micro_min `
52811 if test "$cppunit_version_proper" = "1" ; then
52812 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52813 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52815 { echo "$as_me:$LINENO: result: no" >&5
52816 echo "${ECHO_T}no" >&6; }
52821 if test "x$no_cppunit" = x
; then
52822 SUBDIRS
="$SUBDIRS tests"
52833 for subdir
in $SUBDIRS; do
52834 if test -d ${srcdir}/${subdir} ; then
52835 if test "$wxUSE_GUI" = "yes"; then
52836 if test ${subdir} = "samples"; then
52837 makefiles
="samples/Makefile.in $makefiles"
52838 for sample
in $SAMPLES_SUBDIRS; do
52839 if test -d $srcdir/samples
/$sample; then
52840 makefiles
="samples/$sample/Makefile.in $makefiles"
52844 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
52845 eval "disabled=\$$disabled_var"
52846 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
52847 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52850 if test ${subdir} = "samples"; then
52851 makefiles
="samples/Makefile.in $makefiles"
52852 for sample
in `echo $SAMPLES_SUBDIRS`; do
52853 if test -d $srcdir/samples
/$sample; then
52854 makefiles
="samples/$sample/Makefile.in $makefiles"
52857 elif test ${subdir} = "utils"; then
52859 for util
in ifacecheck
; do
52860 if test -d $srcdir/utils
/$util ; then
52861 makefiles
="utils/$util/src/Makefile.in \
52866 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
52870 for mkin
in $makefiles ; do
52871 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52872 ac_config_files
="$ac_config_files $mk"
52878 cat >confcache
<<\_ACEOF
52879 # This file is a shell script that caches the results of configure
52880 # tests run on this system so they can be shared between configure
52881 # scripts and configure runs, see configure's option --config-cache.
52882 # It is not useful on other systems. If it contains results you don't
52883 # want to keep, you may remove or edit it.
52885 # config.status only pays attention to the cache file if you give it
52886 # the --recheck option to rerun configure.
52888 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52889 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52890 # following values.
52894 # The following way of writing the cache mishandles newlines in values,
52895 # but we know of no workaround that is simple, portable, and efficient.
52896 # So, we kill variables containing newlines.
52897 # Ultrix sh set writes to stderr and can't be redirected directly,
52898 # and sets the high bit in the cache file unless we assign to the vars.
52900 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52901 eval ac_val
=\$
$ac_var
52905 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52906 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52909 _
| IFS
| as_nl
) ;; #(
52910 *) $as_unset $ac_var ;;
52916 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52917 *${as_nl}ac_space
=\
*)
52918 # `set' does not quote correctly, so add quotes (double-quote
52919 # substitution turns \\\\ into \\, and sed turns \\ into \).
52922 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52925 # `set' quotes correctly as required by POSIX, so do not add quotes.
52926 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52935 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52937 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52939 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
52940 if test -w "$cache_file"; then
52941 test "x$cache_file" != "x/dev/null" &&
52942 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52943 echo "$as_me: updating cache $cache_file" >&6;}
52944 cat confcache
>$cache_file
52946 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52947 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52952 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
52953 # Let make expand exec_prefix.
52954 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
52956 DEFS
=-DHAVE_CONFIG_H
52960 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
52961 # 1. Remove the extension, and $U if already installed.
52962 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
52963 ac_i
=`echo "$ac_i" | sed "$ac_script"`
52964 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52965 # will be set to the directory where LIBOBJS objects are built.
52966 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52967 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52969 LIBOBJS
=$ac_libobjs
52971 LTLIBOBJS
=$ac_ltlibobjs
52975 : ${CONFIG_STATUS=./config.status}
52976 ac_clean_files_save
=$ac_clean_files
52977 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
52978 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52979 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52980 cat >$CONFIG_STATUS <<_ACEOF
52982 # Generated by $as_me.
52983 # Run this file to recreate the current configuration.
52984 # Compiler output produced by configure, useful for debugging
52985 # configure, is in config.log if it exists.
52988 ac_cs_recheck=false
52990 SHELL=\${CONFIG_SHELL-$SHELL}
52993 cat >>$CONFIG_STATUS <<\_ACEOF
52994 ## --------------------- ##
52995 ## M4sh Initialization. ##
52996 ## --------------------- ##
52998 # Be more Bourne compatible
52999 DUALCASE
=1; export DUALCASE
# for MKS sh
53000 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
53003 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53004 # is contrary to our usage. Disable this feature.
53005 alias -g '${1+"$@"}'='"$@"'
53006 setopt NO_GLOB_SUBST
53008 case `(set -o) 2>/dev/null` in
53009 *posix
*) set -o posix
;;
53018 # Avoid depending upon Character Ranges.
53019 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
53020 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53021 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
53022 as_cr_digits
='0123456789'
53023 as_cr_alnum
=$as_cr_Letters$as_cr_digits
53025 # The user is always right.
53026 if test "${PATH_SEPARATOR+set}" != set; then
53027 echo "#! /bin/sh" >conf$$.sh
53028 echo "exit 0" >>conf$$.sh
53030 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53038 # Support unset when possible.
53039 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
53047 # We need space, tab and new line, in precisely that order. Quoting is
53048 # there to prevent editors from complaining about space-tab.
53049 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53050 # splitting by setting IFS to empty value.)
53055 # Find who we are. Look in the path if we contain no directory separator.
53057 *[\\/]* ) as_myself
=$0 ;;
53058 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53059 for as_dir
in $PATH
53062 test -z "$as_dir" && as_dir
=.
53063 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
53069 # We did not find ourselves, most probably we were run as `sh COMMAND'
53070 # in which case we are not to be found in the path.
53071 if test "x$as_myself" = x
; then
53074 if test ! -f "$as_myself"; then
53075 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53076 { (exit 1); exit 1; }
53079 # Work around bugs in pre-3.0 UWIN ksh.
53080 for as_var
in ENV MAIL MAILPATH
53081 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53089 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53090 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53091 LC_TELEPHONE LC_TIME
53093 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53094 eval $as_var=C
; export $as_var
53096 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53100 # Required to use basename.
53101 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53102 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53108 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53109 as_basename
=basename
53115 # Name of the executable.
53116 as_me
=`$as_basename -- "$0" ||
53117 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53118 X"$0" : 'X\(//\)$' \| \
53119 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53121 sed '/^.*\/\([^/][^/]*\)\/*$/{
53140 as_lineno_1
=$LINENO
53141 as_lineno_2
=$LINENO
53142 test "x$as_lineno_1" != "x$as_lineno_2" &&
53143 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53145 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53146 # uniformly replaced by the line number. The first 'sed' inserts a
53147 # line-number line after each line using $LINENO; the second 'sed'
53148 # does the real work. The second script uses 'N' to pair each
53149 # line-number line with the line containing $LINENO, and appends
53150 # trailing '-' during substitution so that $LINENO is not a special
53151 # case at line end.
53152 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53153 # scripts with optimization help from Paolo Bonzini. Blame Lee
53154 # E. McMahon (1931-1989) for sed's syntax. :-)
53166 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53169 ' >$as_me.lineno
&&
53170 chmod +x
"$as_me.lineno" ||
53171 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53172 { (exit 1); exit 1; }; }
53174 # Don't try to exec as it changes $[0], causing all sort of problems
53175 # (the dirname of $[0] is not the place where we might find the
53176 # original and so on. Autoconf is especially sensitive to this).
53177 .
"./$as_me.lineno"
53178 # Exit status is that of the last command.
53183 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
53189 ECHO_C
= ECHO_N
= ECHO_T
=
53190 case `echo -n x` in
53192 case `echo 'x\c'` in
53193 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
53200 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53201 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53207 rm -f conf$$ conf$$.exe conf$$.
file
53208 if test -d conf$$.dir
; then
53209 rm -f conf$$.dir
/conf$$.
file
53215 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
53217 # ... but there are two gotchas:
53218 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53219 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53220 # In both cases, we have to default to `cp -p'.
53221 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
53223 elif ln conf$$.
file conf$$
2>/dev
/null
; then
53228 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
53229 rmdir conf$$.dir
2>/dev
/null
53231 if mkdir -p .
2>/dev
/null
; then
53234 test -d .
/-p && rmdir .
/-p
53238 if test -x / >/dev
/null
2>&1; then
53239 as_test_x
='test -x'
53241 if ls -dL / >/dev
/null
2>&1; then
53248 if test -d "$1"; then
53254 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53255 ???[sx]*):;;*)false;;esac;fi
53259 as_executable_p
=$as_test_x
53261 # Sed expression to map a string onto a valid CPP name.
53262 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53264 # Sed expression to map a string onto a valid variable name.
53265 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53270 # Save the log message, to keep $[0] and so on meaningful, and to
53271 # report actual input values of CONFIG_FILES etc. instead of their
53272 # values after options handling.
53274 This file was extended by wxWidgets $as_me 2.9.2, which was
53275 generated by GNU Autoconf 2.61. Invocation command line was
53277 CONFIG_FILES = $CONFIG_FILES
53278 CONFIG_HEADERS = $CONFIG_HEADERS
53279 CONFIG_LINKS = $CONFIG_LINKS
53280 CONFIG_COMMANDS = $CONFIG_COMMANDS
53283 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53288 cat >>$CONFIG_STATUS <<_ACEOF
53289 # Files that config.status was made for.
53290 config_files="$ac_config_files"
53291 config_headers="$ac_config_headers"
53292 config_commands="$ac_config_commands"
53296 cat >>$CONFIG_STATUS <<\_ACEOF
53298 \`$as_me' instantiates files from templates according to the
53299 current configuration.
53301 Usage: $0 [OPTIONS] [FILE]...
53303 -h, --help print this help, then exit
53304 -V, --version print version number and configuration settings, then exit
53305 -q, --quiet do not print progress messages
53306 -d, --debug don't remove temporary files
53307 --recheck update $as_me by reconfiguring in the same conditions
53308 --file=FILE[:TEMPLATE]
53309 instantiate the configuration file FILE
53310 --header=FILE[:TEMPLATE]
53311 instantiate the configuration header FILE
53313 Configuration files:
53316 Configuration headers:
53319 Configuration commands:
53322 Report bugs to <bug-autoconf@gnu.org>."
53325 cat >>$CONFIG_STATUS <<_ACEOF
53327 wxWidgets config.status 2.9.2
53328 configured by $0, generated by GNU Autoconf 2.61,
53329 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53331 Copyright (C) 2006 Free Software Foundation, Inc.
53332 This config.status script is free software; the Free Software Foundation
53333 gives unlimited permission to copy, distribute and modify it."
53340 cat >>$CONFIG_STATUS <<\_ACEOF
53341 # If no file are specified by the user, then we need to provide default
53342 # value. By we need to know if files were specified by the user.
53348 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
53349 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
53360 # Handling of the options.
53361 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53363 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53364 echo "$ac_cs_version"; exit ;;
53365 --debug | --debu | --deb | --de | --d | -d )
53367 --file | --fil | --fi | --f )
53369 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
53370 ac_need_defaults
=false
;;
53371 --header | --heade | --head | --hea )
53373 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
53374 ac_need_defaults
=false
;;
53376 # Conflict between --help and --header
53377 { echo "$as_me: error: ambiguous option: $1
53378 Try \`$0 --help' for more information." >&2
53379 { (exit 1); exit 1; }; };;
53380 --help | --hel | -h )
53381 echo "$ac_cs_usage"; exit ;;
53382 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53383 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53386 # This is an error.
53387 -*) { echo "$as_me: error: unrecognized option: $1
53388 Try \`$0 --help' for more information." >&2
53389 { (exit 1); exit 1; }; } ;;
53391 *) ac_config_targets
="$ac_config_targets $1"
53392 ac_need_defaults
=false
;;
53398 ac_configure_extra_args
=
53400 if $ac_cs_silent; then
53402 ac_configure_extra_args
="$ac_configure_extra_args --silent"
53406 cat >>$CONFIG_STATUS <<_ACEOF
53407 if \$ac_cs_recheck; then
53408 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53409 CONFIG_SHELL=$SHELL
53410 export CONFIG_SHELL
53411 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53415 cat >>$CONFIG_STATUS <<\_ACEOF
53419 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53420 ## Running $as_me. ##
53426 cat >>$CONFIG_STATUS <<_ACEOF
53432 infile="$srcdir/include/wx/msw/genrcdefs.h"
53433 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53436 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53437 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53438 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53444 cat >>$CONFIG_STATUS <<\_ACEOF
53446 # Handling of arguments.
53447 for ac_config_target
in $ac_config_targets
53449 case $ac_config_target in
53450 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53451 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
53452 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53453 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53454 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53455 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
53456 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
53457 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
53458 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
53460 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53461 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53462 { (exit 1); exit 1; }; };;
53467 # If the user did not use the arguments to specify the items to instantiate,
53468 # then the envvar interface is used. Set only those that are not.
53469 # We use the long form for the default assignment because of an extremely
53470 # bizarre bug on SunOS 4.1.3.
53471 if $ac_need_defaults; then
53472 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
53473 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
53474 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
53477 # Have a temporary directory for convenience. Make it in the build tree
53478 # simply because there is no reason against having it here, and in addition,
53479 # creating and moving files from /tmp can sometimes cause problems.
53480 # Hook for its removal unless debugging.
53481 # Note that there is a small window in which the directory will not be cleaned:
53482 # after its creation but before its name has been assigned to `$tmp'.
53486 trap 'exit_status=$?
53487 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53489 trap '{ (exit 1); exit 1; }' 1 2 13 15
53491 # Create a (secure) tmp directory for tmp files.
53494 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53495 test -n "$tmp" && test -d "$tmp"
53498 tmp
=.
/conf$$
-$RANDOM
53499 (umask 077 && mkdir "$tmp")
53502 echo "$me: cannot create a temporary directory in ." >&2
53503 { (exit 1); exit 1; }
53507 # Set up the sed scripts for CONFIG_FILES section.
53510 # No need to generate the scripts if there are no CONFIG_FILES.
53511 # This happens for instance when ./config.status config.h
53512 if test -n "$CONFIG_FILES"; then
53519 for ac_last_try
in false false false false false
:; do
53520 cat >conf$
$subs.
sed <<_ACEOF
53521 SHELL!$SHELL$ac_delim
53522 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53523 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53524 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53525 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53526 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53527 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53528 exec_prefix!$exec_prefix$ac_delim
53529 prefix!$prefix$ac_delim
53530 program_transform_name!$program_transform_name$ac_delim
53531 bindir!$bindir$ac_delim
53532 sbindir!$sbindir$ac_delim
53533 libexecdir!$libexecdir$ac_delim
53534 datarootdir!$datarootdir$ac_delim
53535 datadir!$datadir$ac_delim
53536 sysconfdir!$sysconfdir$ac_delim
53537 sharedstatedir!$sharedstatedir$ac_delim
53538 localstatedir!$localstatedir$ac_delim
53539 includedir!$includedir$ac_delim
53540 oldincludedir!$oldincludedir$ac_delim
53541 docdir!$docdir$ac_delim
53542 infodir!$infodir$ac_delim
53543 htmldir!$htmldir$ac_delim
53544 dvidir!$dvidir$ac_delim
53545 pdfdir!$pdfdir$ac_delim
53546 psdir!$psdir$ac_delim
53547 libdir!$libdir$ac_delim
53548 localedir!$localedir$ac_delim
53549 mandir!$mandir$ac_delim
53550 DEFS!$DEFS$ac_delim
53551 ECHO_C!$ECHO_C$ac_delim
53552 ECHO_N!$ECHO_N$ac_delim
53553 ECHO_T!$ECHO_T$ac_delim
53554 LIBS!$LIBS$ac_delim
53555 build_alias!$build_alias$ac_delim
53556 host_alias!$host_alias$ac_delim
53557 target_alias!$target_alias$ac_delim
53558 build!$build$ac_delim
53559 build_cpu!$build_cpu$ac_delim
53560 build_vendor!$build_vendor$ac_delim
53561 build_os!$build_os$ac_delim
53562 host!$host$ac_delim
53563 host_cpu!$host_cpu$ac_delim
53564 host_vendor!$host_vendor$ac_delim
53565 host_os!$host_os$ac_delim
53566 wx_top_builddir!$wx_top_builddir$ac_delim
53568 CFLAGS!$CFLAGS$ac_delim
53569 LDFLAGS!$LDFLAGS$ac_delim
53570 CPPFLAGS!$CPPFLAGS$ac_delim
53571 ac_ct_CC!$ac_ct_CC$ac_delim
53572 EXEEXT!$EXEEXT$ac_delim
53573 OBJEXT!$OBJEXT$ac_delim
53575 GREP!$GREP$ac_delim
53576 EGREP!$EGREP$ac_delim
53578 CXXFLAGS!$CXXFLAGS$ac_delim
53579 ac_ct_CXX!$ac_ct_CXX$ac_delim
53581 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
53582 CXXCPP!$CXXCPP$ac_delim
53583 subdirs!$subdirs$ac_delim
53584 PKG_CONFIG!$PKG_CONFIG$ac_delim
53585 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53586 GTK_LIBS!$GTK_LIBS$ac_delim
53587 GTK_CONFIG!$GTK_CONFIG$ac_delim
53588 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53589 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53590 XMKMF!$XMKMF$ac_delim
53591 X_CFLAGS!$X_CFLAGS$ac_delim
53592 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53593 X_LIBS!$X_LIBS$ac_delim
53594 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53595 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53596 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53597 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53598 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53599 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53600 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53601 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53602 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53603 LIBICONV!$LIBICONV$ac_delim
53604 GXX_VERSION!$GXX_VERSION$ac_delim
53605 SDL_CONFIG!$SDL_CONFIG$ac_delim
53606 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53607 SDL_LIBS!$SDL_LIBS$ac_delim
53608 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53609 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53610 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53611 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53612 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53613 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53614 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53615 HILDON_LIBS!$HILDON_LIBS$ac_delim
53616 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
53617 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
53620 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53622 elif $ac_last_try; then
53623 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53624 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53625 { (exit 1); exit 1; }; }
53627 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53631 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53632 if test -n "$ac_eof"; then
53633 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53634 ac_eof
=`expr $ac_eof + 1`
53637 cat >>$CONFIG_STATUS <<_ACEOF
53638 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53639 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53642 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53643 s/^/s,@/; s/!/@,|#_!!_#|/
53646 s/'"$ac_delim"'$/,g/; t
53648 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53649 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53650 rm -f conf$
$subs.
sed
53651 cat >>$CONFIG_STATUS <<_ACEOF
53657 for ac_last_try
in false false false false false
:; do
53658 cat >conf$
$subs.
sed <<_ACEOF
53659 PYTHON!$PYTHON$ac_delim
53660 COND_PYTHON!$COND_PYTHON$ac_delim
53661 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53662 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53663 GST_CFLAGS!$GST_CFLAGS$ac_delim
53664 GST_LIBS!$GST_LIBS$ac_delim
53665 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53666 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53667 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53668 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53669 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53670 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53671 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53672 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53673 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53674 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53675 VENDOR!$VENDOR$ac_delim
53676 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53677 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53678 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53679 WXUNIV!$WXUNIV$ac_delim
53680 MONOLITHIC!$MONOLITHIC$ac_delim
53681 USE_PLUGINS!$USE_PLUGINS$ac_delim
53682 CXXWARNINGS!$CXXWARNINGS$ac_delim
53683 EXTRALIBS!$EXTRALIBS$ac_delim
53684 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53685 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53686 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
53687 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53688 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53689 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53690 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
53691 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53692 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53693 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53694 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53695 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53696 UNICODE!$UNICODE$ac_delim
53697 DEBUG_INFO!$DEBUG_INFO$ac_delim
53698 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53699 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53700 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53701 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
53702 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
53703 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53704 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
53705 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53706 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53707 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53708 RANLIB!$RANLIB$ac_delim
53709 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53710 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53711 INSTALL_DATA!$INSTALL_DATA$ac_delim
53712 LN_S!$LN_S$ac_delim
53713 SET_MAKE!$SET_MAKE$ac_delim
53714 MAKE_SET!$MAKE_SET$ac_delim
53715 AROPTIONS!$AROPTIONS$ac_delim
53716 STRIP!$STRIP$ac_delim
53718 INSTALL_DIR!$INSTALL_DIR$ac_delim
53719 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53720 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53721 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53722 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53723 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53724 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53725 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53726 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53727 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53728 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53729 SO_SUFFIX!$SO_SUFFIX$ac_delim
53730 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53731 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53732 LIBPREFIX!$LIBPREFIX$ac_delim
53733 LIBEXT!$LIBEXT$ac_delim
53734 DLLPREFIX!$DLLPREFIX$ac_delim
53735 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53736 dlldir!$dlldir$ac_delim
53737 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53738 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53739 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53740 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53741 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53742 PIC_FLAG!$PIC_FLAG$ac_delim
53743 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53744 USE_SOVERSION!$USE_SOVERSION$ac_delim
53745 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53746 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53747 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53748 USE_MACVERSION!$USE_MACVERSION$ac_delim
53749 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
53750 SONAME_FLAG!$SONAME_FLAG$ac_delim
53751 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53752 BK_DEPS!$BK_DEPS$ac_delim
53753 WINDRES!$WINDRES$ac_delim
53755 SETFILE!$SETFILE$ac_delim
53758 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53760 elif $ac_last_try; then
53761 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53762 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53763 { (exit 1); exit 1; }; }
53765 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53769 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53770 if test -n "$ac_eof"; then
53771 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53772 ac_eof
=`expr $ac_eof + 1`
53775 cat >>$CONFIG_STATUS <<_ACEOF
53776 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53777 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53780 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53781 s/^/s,@/; s/!/@,|#_!!_#|/
53784 s/'"$ac_delim"'$/,g/; t
53786 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53787 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53788 rm -f conf$
$subs.
sed
53789 cat >>$CONFIG_STATUS <<_ACEOF
53795 for ac_last_try
in false false false false false
:; do
53796 cat >conf$
$subs.
sed <<_ACEOF
53797 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
53798 GCC_PCH!$GCC_PCH$ac_delim
53799 ICC_PCH!$ICC_PCH$ac_delim
53800 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
53801 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
53802 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53803 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53804 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53805 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53806 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53807 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53808 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53809 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53810 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53811 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53812 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
53813 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
53814 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
53815 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
53816 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
53817 COND_BUILD_release!$COND_BUILD_release$ac_delim
53818 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
53819 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
53820 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
53821 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
53822 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53823 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53824 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53825 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53826 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53827 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53828 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53829 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53830 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53831 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53835 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53836 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
53837 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
53838 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53839 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53840 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53841 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53842 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53845 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53846 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53847 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
53848 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
53849 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53850 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53851 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53852 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53853 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53854 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53855 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53856 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53857 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
53858 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53859 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
53860 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53861 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53862 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53863 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53864 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53865 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53866 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53867 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53868 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53869 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53870 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53871 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
53872 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
53873 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53874 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
53875 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53876 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
53877 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53878 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
53879 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53880 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
53881 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53882 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53883 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
53884 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53885 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53886 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53887 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53888 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53889 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53890 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53891 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53892 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53893 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53896 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53898 elif $ac_last_try; then
53899 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53900 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53901 { (exit 1); exit 1; }; }
53903 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53907 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53908 if test -n "$ac_eof"; then
53909 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53910 ac_eof
=`expr $ac_eof + 1`
53913 cat >>$CONFIG_STATUS <<_ACEOF
53914 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53915 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53918 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53919 s/^/s,@/; s/!/@,|#_!!_#|/
53922 s/'"$ac_delim"'$/,g/; t
53924 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53925 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53926 rm -f conf$
$subs.
sed
53927 cat >>$CONFIG_STATUS <<_ACEOF
53933 for ac_last_try
in false false false false false
:; do
53934 cat >conf$
$subs.
sed <<_ACEOF
53935 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53936 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53937 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
53938 COND_SHARED_0!$COND_SHARED_0$ac_delim
53939 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53940 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53941 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53942 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53943 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53944 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53945 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53946 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53947 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
53948 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
53949 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
53950 COND_SHARED_1!$COND_SHARED_1$ac_delim
53951 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53952 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53953 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53954 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53955 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53956 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53957 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53958 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53959 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53960 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53961 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53962 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53963 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53964 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53965 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53966 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53967 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53968 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53969 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53970 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53971 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53972 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53973 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53974 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53975 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53976 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
53977 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53978 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
53979 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53980 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
53981 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53982 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
53983 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53984 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53985 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53986 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53987 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53988 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53989 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53990 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53991 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53992 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53993 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
53994 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53995 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53996 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53997 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53998 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53999 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54000 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54001 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54002 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54003 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54004 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54005 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54006 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54007 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54008 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54009 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54010 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54011 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54012 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
54013 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54014 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54015 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54016 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
54017 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54018 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54019 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54020 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54021 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54022 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54023 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54024 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54025 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54026 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54027 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54028 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54029 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54030 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54031 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54034 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54036 elif $ac_last_try; then
54037 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54038 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54039 { (exit 1); exit 1; }; }
54041 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54045 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54046 if test -n "$ac_eof"; then
54047 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54048 ac_eof
=`expr $ac_eof + 1`
54051 cat >>$CONFIG_STATUS <<_ACEOF
54052 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54053 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54056 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54057 s/^/s,@/; s/!/@,|#_!!_#|/
54060 s/'"$ac_delim"'$/,g/; t
54062 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54063 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54064 rm -f conf$
$subs.
sed
54065 cat >>$CONFIG_STATUS <<_ACEOF
54071 for ac_last_try
in false false false false false
:; do
54072 cat >conf$
$subs.
sed <<_ACEOF
54073 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
54074 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
54075 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
54076 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
54077 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
54078 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
54079 DEREZ!$DEREZ$ac_delim
54080 SHARED!$SHARED$ac_delim
54081 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54082 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54083 USE_GUI!$USE_GUI$ac_delim
54084 AFMINSTALL!$AFMINSTALL$ac_delim
54085 WIN32INSTALL!$WIN32INSTALL$ac_delim
54086 TOOLKIT!$TOOLKIT$ac_delim
54087 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54088 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54089 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54090 cross_compiling!$cross_compiling$ac_delim
54091 WIDGET_SET!$WIDGET_SET$ac_delim
54092 WX_RELEASE!$WX_RELEASE$ac_delim
54093 WX_VERSION!$WX_VERSION$ac_delim
54094 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54095 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54096 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54097 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54098 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54099 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54100 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54101 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
54102 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54103 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54104 GUIDIST!$GUIDIST$ac_delim
54105 DISTDIR!$DISTDIR$ac_delim
54106 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54107 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54108 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54109 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54110 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54111 RESCOMP!$RESCOMP$ac_delim
54112 RESFLAGS!$RESFLAGS$ac_delim
54113 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54114 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54115 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54116 LIBWXMACRES!$LIBWXMACRES$ac_delim
54117 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54118 MACSETFILE!$MACSETFILE$ac_delim
54120 DLLTOOL!$DLLTOOL$ac_delim
54121 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54122 LIBOBJS!$LIBOBJS$ac_delim
54123 LTLIBOBJS!$LTLIBOBJS$ac_delim
54126 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
54128 elif $ac_last_try; then
54129 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54130 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54131 { (exit 1); exit 1; }; }
54133 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54137 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54138 if test -n "$ac_eof"; then
54139 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54140 ac_eof
=`expr $ac_eof + 1`
54143 cat >>$CONFIG_STATUS <<_ACEOF
54144 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54145 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54148 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54149 s/^/s,@/; s/!/@,|#_!!_#|/
54152 s/'"$ac_delim"'$/,g/; t
54154 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54155 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54156 rm -f conf$
$subs.
sed
54157 cat >>$CONFIG_STATUS <<_ACEOF
54164 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54165 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54166 # trailing colons and then remove the whole line if VPATH becomes empty
54167 # (actually we leave an empty line to preserve line numbers).
54168 if test "x$srcdir" = x.
; then
54169 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
54170 s/:*\$(srcdir):*/:/
54171 s/:*\${srcdir}:*/:/
54173 s/^\([^=]*=[ ]*\):*/\1/
54179 cat >>$CONFIG_STATUS <<\_ACEOF
54180 fi # test -n "$CONFIG_FILES"
54183 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
54186 :[FHLC
]) ac_mode
=$ac_tag; continue;;
54188 case $ac_mode$ac_tag in
54190 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54191 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54192 { (exit 1); exit 1; }; };;
54193 :[FH
]-) ac_tag
=-:-;;
54194 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
54211 -) ac_f
="$tmp/stdin";;
54212 *) # Look for the file first in the build tree, then in the source tree
54213 # (if the path is not absolute). The absolute path cannot be DOS-style,
54214 # because $ac_f cannot contain `:'.
54218 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
54220 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54221 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54222 { (exit 1); exit 1; }; };;
54224 ac_file_inputs
="$ac_file_inputs $ac_f"
54227 # Let's still pretend it is `configure' which instantiates (i.e., don't
54228 # use $as_me), people would be surprised to read:
54229 # /* config.h. Generated by config.status. */
54230 configure_input
="Generated from "`IFS=:
54231 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54232 if test x
"$ac_file" != x
-; then
54233 configure_input
="$ac_file. $configure_input"
54234 { echo "$as_me:$LINENO: creating $ac_file" >&5
54235 echo "$as_me: creating $ac_file" >&6;}
54239 *:-:* | *:-) cat >"$tmp/stdin";;
54244 ac_dir
=`$as_dirname -- "$ac_file" ||
54245 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54246 X"$ac_file" : 'X\(//\)[^/]' \| \
54247 X"$ac_file" : 'X\(//\)$' \| \
54248 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54250 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54254 /^X\(\/\/\)[^/].*/{
54269 -*) as_dir
=.
/$as_dir;;
54271 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54275 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54276 *) as_qdir
=$as_dir;;
54278 as_dirs
="'$as_qdir' $as_dirs"
54279 as_dir
=`$as_dirname -- "$as_dir" ||
54280 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54281 X"$as_dir" : 'X\(//\)[^/]' \| \
54282 X"$as_dir" : 'X\(//\)$' \| \
54283 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54285 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54289 /^X\(\/\/\)[^/].*/{
54302 test -d "$as_dir" && break
54304 test -z "$as_dirs" || eval "mkdir $as_dirs"
54305 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54306 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54307 { (exit 1); exit 1; }; }; }
54311 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54313 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54314 # A ".." for each directory in $ac_dir_suffix.
54315 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54316 case $ac_top_builddir_sub in
54317 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54318 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54321 ac_abs_top_builddir
=$ac_pwd
54322 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54323 # for backward compatibility:
54324 ac_top_builddir
=$ac_top_build_prefix
54327 .
) # We are building in place.
54329 ac_top_srcdir
=$ac_top_builddir_sub
54330 ac_abs_top_srcdir
=$ac_pwd ;;
54331 [\\/]* | ?
:[\\/]* ) # Absolute name.
54332 ac_srcdir
=$srcdir$ac_dir_suffix;
54333 ac_top_srcdir
=$srcdir
54334 ac_abs_top_srcdir
=$srcdir ;;
54335 *) # Relative name.
54336 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54337 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54338 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54340 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54350 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
54351 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
54355 cat >>$CONFIG_STATUS <<\_ACEOF
54356 # If the template does not know about datarootdir, expand it.
54357 # FIXME: This hack should be removed a few years after 2.60.
54358 ac_datarootdir_hack
=; ac_datarootdir_seen
=
54360 case `sed -n '/datarootdir/ {
54369 ' $ac_file_inputs` in
54370 *datarootdir
*) ac_datarootdir_seen
=yes;;
54371 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
54372 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54373 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54375 cat >>$CONFIG_STATUS <<_ACEOF
54376 ac_datarootdir_hack='
54377 s&@datadir@&$datadir&g
54378 s&@docdir@&$docdir&g
54379 s&@infodir@&$infodir&g
54380 s&@localedir@&$localedir&g
54381 s&@mandir@&$mandir&g
54382 s&\\\${datarootdir}&$datarootdir&g' ;;
54386 # Neutralize VPATH when `$srcdir' = `.'.
54387 # Shell code in configure.ac might set extrasub.
54388 # FIXME: do we really want to maintain this feature?
54389 cat >>$CONFIG_STATUS <<_ACEOF
54393 cat >>$CONFIG_STATUS <<\_ACEOF
54395 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
54396 s
&@configure_input@
&$configure_input&;t t
54397 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
54398 s
&@srcdir@
&$ac_srcdir&;t t
54399 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
54400 s
&@top_srcdir@
&$ac_top_srcdir&;t t
54401 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
54402 s
&@builddir@
&$ac_builddir&;t t
54403 s
&@abs_builddir@
&$ac_abs_builddir&;t t
54404 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
54405 s
&@INSTALL@
&$ac_INSTALL&;t t
54406 $ac_datarootdir_hack
54407 " $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
54409 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54410 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
54411 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
54412 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
54413 which seems to be undefined. Please make sure it is defined." >&5
54414 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
54415 which seems to be undefined. Please make sure it is defined." >&2;}
54419 -) cat "$tmp/out"; rm -f "$tmp/out";;
54420 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54429 # Transform confdefs.h into a sed script `conftest.defines', that
54430 # substitutes the proper values into config.h.in to produce config.h.
54431 rm -f conftest.defines conftest.
tail
54432 # First, append a space to every undef/define line, to ease matching.
54433 echo 's/$/ /' >conftest.defines
54434 # Then, protect against being on the right side of a sed subst, or in
54435 # an unquoted here document, in config.status. If some macros were
54436 # called several times there might be several #defines for the same
54437 # symbol, which is useless. But do not sort them, since the last
54438 # AC_DEFINE must be honored.
54439 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
54440 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54441 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54442 # PARAMS is the parameter list in the macro definition--in most cases, it's
54443 # just an empty string.
54444 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54445 ac_dB
='\\)[ (].*,\\1define\\2'
54453 s/^[ ]*#[ ]*define[ ][ ]*//
54458 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54459 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54460 ' >>conftest.defines
54462 # Remove the space that was appended to ease matching.
54463 # Then replace #undef with comments. This is necessary, for
54464 # example, in the case of _POSIX_SOURCE, which is predefined and required
54465 # on some systems where configure will not decide to define it.
54466 # (The regexp can be short, since the line contains either #define or #undef.)
54468 s,^[ #]*u.*,/* & */,' >>conftest.defines
54470 # Break up conftest.defines:
54471 ac_max_sed_lines
=50
54473 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54474 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54475 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54477 ac_in
='$ac_file_inputs'
54478 ac_out
='"$tmp/out1"'
54479 ac_nxt
='"$tmp/out2"'
54483 # Write a here document:
54484 cat >>$CONFIG_STATUS <<_ACEOF
54485 # First, check the format of the line:
54486 cat >"\$tmp/defines.sed" <<\\CEOF
54487 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54488 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54492 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
54494 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54495 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
54496 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
54497 grep . conftest.
tail >/dev
/null
|| break
54498 rm -f conftest.defines
54499 mv conftest.
tail conftest.defines
54501 rm -f conftest.defines conftest.
tail
54503 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54504 cat >>$CONFIG_STATUS <<\_ACEOF
54505 if test x
"$ac_file" != x
-; then
54506 echo "/* $configure_input */" >"$tmp/config.h"
54507 cat "$ac_result" >>"$tmp/config.h"
54508 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
54509 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54510 echo "$as_me: $ac_file is unchanged" >&6;}
54513 mv "$tmp/config.h" $ac_file
54516 echo "/* $configure_input */"
54522 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54523 echo "$as_me: executing $ac_file commands" >&6;}
54528 case $ac_file$ac_mode in
54530 mkdir -p $outdir &&
54531 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54533 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
54534 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
54535 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
54536 "wx-config":C
) rm -f wx
-config
54537 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
54544 { (exit 0); exit 0; }
54546 chmod +x
$CONFIG_STATUS
54547 ac_clean_files
=$ac_clean_files_save
54550 # configure is writing to config.log, and then calls config.status.
54551 # config.status does its own redirection, appending to config.log.
54552 # Unfortunately, on DOS this fails, as config.log is still kept open
54553 # by configure, so config.status won't be able to write to it; its
54554 # output is simply discarded. So we exec the FD to /dev/null,
54555 # effectively closing config.log, so it can be properly (re)opened and
54556 # appended to by config.status. When coming back to configure, we
54557 # need to make the FD available again.
54558 if test "$no_create" != yes; then
54560 ac_config_status_args
=
54561 test "$silent" = yes &&
54562 ac_config_status_args
="$ac_config_status_args --quiet"
54564 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
54566 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54567 # would make configure fail if this is the last instruction.
54568 $ac_cs_success || { (exit 1); exit 1; }
54572 # CONFIG_SUBDIRS section.
54574 if test "$no_recursion" != yes; then
54576 # Remove --cache-file and --srcdir arguments so they do not pile up.
54577 ac_sub_configure_args
=
54579 eval "set x $ac_configure_args"
54583 if test -n "$ac_prev"; then
54588 -cache-file | --cache-file | --cache-fil | --cache-fi \
54589 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54590 ac_prev
=cache_file
;;
54591 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54592 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54595 --config-cache | -C)
54597 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54599 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54601 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54603 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54607 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54609 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
54613 # Always prepend --prefix to ensure using the same prefix
54614 # in subdir configurations.
54615 ac_arg
="--prefix=$prefix"
54617 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54619 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
54622 if test "$silent" = yes; then
54623 ac_sub_configure_args
="--silent $ac_sub_configure_args"
54627 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
54629 # Do not complain, so a configure script can configure whichever
54630 # parts of a large source tree are present.
54631 test -d "$srcdir/$ac_dir" || continue
54633 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54634 echo "$as_me:$LINENO: $ac_msg" >&5
54638 -*) as_dir
=.
/$as_dir;;
54640 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54644 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54645 *) as_qdir
=$as_dir;;
54647 as_dirs
="'$as_qdir' $as_dirs"
54648 as_dir
=`$as_dirname -- "$as_dir" ||
54649 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54650 X"$as_dir" : 'X\(//\)[^/]' \| \
54651 X"$as_dir" : 'X\(//\)$' \| \
54652 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54654 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54658 /^X\(\/\/\)[^/].*/{
54671 test -d "$as_dir" && break
54673 test -z "$as_dirs" || eval "mkdir $as_dirs"
54674 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54675 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54676 { (exit 1); exit 1; }; }; }
54680 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54682 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54683 # A ".." for each directory in $ac_dir_suffix.
54684 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54685 case $ac_top_builddir_sub in
54686 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54687 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54690 ac_abs_top_builddir
=$ac_pwd
54691 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54692 # for backward compatibility:
54693 ac_top_builddir
=$ac_top_build_prefix
54696 .
) # We are building in place.
54698 ac_top_srcdir
=$ac_top_builddir_sub
54699 ac_abs_top_srcdir
=$ac_pwd ;;
54700 [\\/]* | ?
:[\\/]* ) # Absolute name.
54701 ac_srcdir
=$srcdir$ac_dir_suffix;
54702 ac_top_srcdir
=$srcdir
54703 ac_abs_top_srcdir
=$srcdir ;;
54704 *) # Relative name.
54705 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54706 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54707 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54709 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54714 # Check for guested configure; otherwise get Cygnus style configure.
54715 if test -f "$ac_srcdir/configure.gnu"; then
54716 ac_sub_configure
=$ac_srcdir/configure.gnu
54717 elif test -f "$ac_srcdir/configure"; then
54718 ac_sub_configure
=$ac_srcdir/configure
54719 elif test -f "$ac_srcdir/configure.in"; then
54720 # This should be Cygnus configure.
54721 ac_sub_configure
=$ac_aux_dir/configure
54723 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54724 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54728 # The recursion is here.
54729 if test -n "$ac_sub_configure"; then
54730 # Make the cache file name correct relative to the subdirectory.
54731 case $cache_file in
54732 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
54733 *) # Relative name.
54734 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
54737 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54738 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54739 # The eval makes quoting arguments work.
54740 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54741 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54742 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54743 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54744 { (exit 1); exit 1; }; }
54753 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54755 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54756 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54757 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54758 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54759 if test "$wxUSE_UNICODE" = "yes"; then
54760 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54761 echo " (using UTF-8)"
54763 echo " (using wchar_t)"
54769 echo " What level of wxWidgets compatibility should be enabled?"
54770 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54771 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54773 echo " Which libraries should wxWidgets use?"
54774 echo " STL ${wxUSE_STL}"
54775 echo " jpeg ${wxUSE_LIBJPEG-none}"
54776 echo " png ${wxUSE_LIBPNG-none}"
54777 echo " regex ${wxUSE_REGEX}"
54778 echo " tiff ${wxUSE_LIBTIFF-none}"
54779 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54780 echo " xpm ${wxUSE_LIBXPM-none}"
54782 echo " zlib ${wxUSE_ZLIB}"
54783 echo " expat ${wxUSE_EXPAT}"
54784 echo " libmspack ${wxUSE_LIBMSPACK}"
54785 echo " sdl ${wxUSE_LIBSDL}"