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 standard C++ classes for everything
1693 --enable-std_containers use standard C++ container classes
1694 --enable-std_iostreams use standard C++ stream classes
1695 --enable-std_string use standard C++ string classes
1696 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
1697 --disable-unicode compile without Unicode support
1698 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1699 --enable-utf8 use UTF-8 representation for strings (Unix only)
1700 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1701 --enable-extended_rtti use extended RTTI (XTI)
1702 --enable-omf use OMF object format
1703 --disable-optimise compile without optimisations
1704 --enable-profile create code with profiling information
1705 --enable-no_rtti create code without RTTI information
1706 --enable-no_exceptions create code without C++ exceptions handling
1707 --enable-permissive compile code disregarding strict ANSI
1708 --enable-no_deps create code without dependency information
1709 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1710 --enable-universal_binary create universal binary with Mac PPC and i386
(and x86_64
if using Cocoa
) architectures
1711 --enable-macosx_arch=ARCH build
for just the specified architecture
1712 --enable-compat26 enable wxWidgets
2.6 compatibility
1713 --disable-compat28 disable wxWidgets
2.8 compatibility
1714 --disable-rpath disable use of rpath
for uninstalled builds
1715 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1716 --disable-visibility disable use of ELF symbols visibility even
if supported
1717 --disable-tls disable use of compiler TLS support
1718 --enable-intl use internationalization system
1719 --enable-xlocale use x
-locale support
(requires wxLocale
)
1720 --enable-config use wxConfig
(and derived
) classes
1721 --enable-protocols use wxProtocol and derived classes
1722 --enable-ftp use wxFTP
(requires wxProtocol
1723 --enable-http use wxHTTP
(requires wxProtocol
1724 --enable-fileproto use wxFileProto class
(requires wxProtocol
1725 --enable-sockets use socket
/network classes
1726 --enable-ipv6 enable IPv6 support
in wxSocket
1727 --enable-ole use OLE classes
(Win32 only
)
1728 --enable-dataobj use data object classes
1729 --enable-ipc use interprocess communication
(wxSocket etc.
)
1730 --enable-baseevtloop use event loop
in console programs too
1731 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1732 --enable-selectloop use wxSelectDispatcher class
1733 --enable-any use wxAny class
1734 --enable-apple_ieee use the Apple IEEE codec
1735 --enable-arcstream use wxArchive streams
1736 --enable-base64 use base64 encoding
/decoding functions
1737 --enable-backtrace use wxStackWalker class
for getting backtraces
1738 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1739 --enable-cmdline use wxCmdLineParser class
1740 --enable-datetime use wxDateTime class
1741 --enable-debugreport use wxDebugReport class
1742 --enable-dialupman use dialup network classes
1743 --enable-dynlib use wxLibrary class
for DLL loading
1744 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1745 --enable-exceptions build exception
-safe library
1746 --enable-ffile use wxFFile class
1747 --enable-file use wxFile class
1748 --enable-filehistory use wxFileHistory class
1749 --enable-filesystem use virtual
file systems classes
1750 --enable-fontenum use wxFontEnumerator class
1751 --enable-fontmap use font encodings conversion classes
1752 --enable-fs_archive use virtual archive filesystems
1753 --enable-fs_inet use virtual HTTP
/FTP filesystems
1754 --enable-fs_zip now replaced by fs_archive
1755 --enable-fswatcher use wxFileSystemWatcher class
1756 --enable-geometry use geometry class
1757 --enable-log use logging system
1758 --enable-longlong use wxLongLong class
1759 --enable-mimetype use wxMimeTypesManager
1760 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1761 --enable-snglinst use wxSingleInstanceChecker class
1762 --enable-sound use wxSound class
1763 --enable-stdpaths use wxStandardPaths class
1764 --enable-stopwatch use wxStopWatch class
1765 --enable-streams use wxStream etc classes
1766 --enable-sysoptions use wxSystemOptions
1767 --enable-tarstream use wxTar streams
1768 --enable-textbuf use wxTextBuffer class
1769 --enable-textfile use wxTextFile class
1770 --enable-timer use wxTimer class
1771 --enable-variant use wxVariant class
1772 --enable-zipstream use wxZip streams
1773 --enable-url use wxURL class
1774 --enable-protocol use wxProtocol class
1775 --enable-protocol-http HTTP support
in wxProtocol
1776 --enable-protocol-ftp FTP support
in wxProtocol
1777 --enable-protocol-file FILE support
in wxProtocol
1778 --enable-threads use threads
1779 --enable-iniconf use wxIniConfig
(Win32 only
)
1780 --enable-regkey use wxRegKey class
(Win32 only
)
1781 --enable-docview use document view architecture
1782 --enable-help use
help subsystem
1783 --enable-mshtmlhelp use MS HTML Help
(win32
)
1784 --enable-html use wxHTML sub
-library
1785 --enable-htmlhelp use wxHTML
-based help
1786 --enable-xrc use XRC resources sub
-library
1787 --enable-aui use AUI docking library
1788 --enable-propgrid use wxPropertyGrid library
1789 --enable-ribbon use wxRibbon library
1790 --enable-stc use wxStyledTextCtrl library
1791 --enable-constraints use layout
-constraints system
1792 --enable-loggui use standard GUI logger
1793 --enable-logwin use wxLogWindow
1794 --enable-logdialog use wxLogDialog
1795 --enable-mdi use multiple document interface architecture
1796 --enable-mdidoc use docview architecture with MDI
1797 --enable-mediactrl use wxMediaCtrl class
1798 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1799 --enable-webkit use wxWebKitCtrl
(Mac
)
1800 --enable-richtext use wxRichTextCtrl
1801 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1802 --enable-printarch use printing architecture
1803 --enable-svg use wxSVGFileDC device context
1804 --enable-graphics_ctx use graphics context
2D drawing API
1805 --enable-clipboard use wxClipboard class
1806 --enable-dnd use Drag
'n'Drop classes
1807 --enable-metafile use win32 metafiles
1808 --disable-controls disable compilation of all standard controls
1809 --enable-markup support wxControl
::SetLabelMarkup
1810 --enable-accel use accelerators
1811 --enable-animatectrl use wxAnimationCtrl class
1812 --enable-artstd use standard XPM icons
in wxArtProvider
1813 --enable-arttango use Tango icons
in wxArtProvider
1814 --enable-bmpbutton use wxBitmapButton class
1815 --enable-bmpcombobox use wxBitmapComboBox class
1816 --enable-button use wxButton class
1817 --enable-calendar use wxCalendarCtrl class
1818 --enable-caret use wxCaret class
1819 --enable-checkbox use wxCheckBox class
1820 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1821 --enable-choice use wxChoice class
1822 --enable-choicebook use wxChoicebook class
1823 --enable-collpane use wxCollapsiblePane class
1824 --enable-colourpicker use wxColourPickerCtrl class
1825 --enable-combobox use wxComboBox class
1826 --enable-comboctrl use wxComboCtrl class
1827 --enable-commandlinkbutton use wxCommmandLinkButton class
1828 --enable-dataviewctrl use wxDataViewCtrl class
1829 --enable-datepick use wxDatePickerCtrl class
1830 --enable-detect_sm use code to detect X11 session manager
1831 --enable-dirpicker use wxDirPickerCtrl class
1832 --enable-display use wxDisplay class
1833 --enable-editablebox use wxEditableListBox class
1834 --enable-filectrl use wxFileCtrl class
1835 --enable-filepicker use wxFilePickerCtrl class
1836 --enable-fontpicker use wxFontPickerCtrl class
1837 --enable-gauge use wxGauge class
1838 --enable-grid use wxGrid class
1839 --enable-headerctrl use wxHeaderCtrl class
1840 --enable-hyperlink use wxHyperlinkCtrl class
1841 --enable-imaglist use wxImageList class
1842 --enable-infobar use wxInfoBar class
1843 --enable-listbook use wxListbook class
1844 --enable-listbox use wxListBox class
1845 --enable-listctrl use wxListCtrl class
1846 --enable-notebook use wxNotebook class
1847 --enable-notifmsg use wxNotificationMessage class
1848 --enable-odcombobox use wxOwnerDrawnComboBox class
1849 --enable-popupwin use wxPopUpWindow class
1850 --enable-radiobox use wxRadioBox class
1851 --enable-radiobtn use wxRadioButton class
1852 --enable-richmsgdlg use wxRichMessageDialog class
1853 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
1854 --enable-sash use wxSashWindow class
1855 --enable-scrollbar use wxScrollBar class and scrollable windows
1856 --enable-searchctrl use wxSearchCtrl class
1857 --enable-slider use wxSlider class
1858 --enable-spinbtn use wxSpinButton class
1859 --enable-spinctrl use wxSpinCtrl class
1860 --enable-splitter use wxSplitterWindow class
1861 --enable-statbmp use wxStaticBitmap class
1862 --enable-statbox use wxStaticBox class
1863 --enable-statline use wxStaticLine class
1864 --enable-stattext use wxStaticText class
1865 --enable-statusbar use wxStatusBar class
1866 --enable-taskbaricon use wxTaskBarIcon class
1867 --enable-tbarnative use native wxToolBar class
1868 --enable-textctrl use wxTextCtrl class
1869 --enable-tipwindow use wxTipWindow class
1870 --enable-togglebtn use wxToggleButton class
1871 --enable-toolbar use wxToolBar class
1872 --enable-toolbook use wxToolbook class
1873 --enable-treebook use wxTreebook class
1874 --enable-treectrl use wxTreeCtrl class
1875 --enable-commondlg use all common dialogs
1876 --enable-aboutdlg use wxAboutBox
1877 --enable-choicedlg use wxChoiceDialog
1878 --enable-coldlg use wxColourDialog
1879 --enable-filedlg use wxFileDialog
1880 --enable-finddlg use wxFindReplaceDialog
1881 --enable-fontdlg use wxFontDialog
1882 --enable-dirdlg use wxDirDialog
1883 --enable-msgdlg use wxMessageDialog
1884 --enable-numberdlg use wxNumberEntryDialog
1885 --enable-splash use wxSplashScreen
1886 --enable-textdlg use wxTextDialog
1887 --enable-tipdlg use startup tips
1888 --enable-progressdlg use wxProgressDialog
1889 --enable-wizarddlg use wxWizard
1890 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1891 --enable-miniframe use wxMiniFrame class
1892 --enable-tooltips use wxToolTip class
1893 --enable-splines use spline drawing code
1894 --enable-mousewheel use mousewheel
1895 --enable-validators use wxValidator and derived classes
1896 --enable-busyinfo use wxBusyInfo
1897 --enable-joystick use wxJoystick
1898 --enable-metafiles use wxMetaFile
(Win32 only
)
1899 --enable-dragimage use wxDragImage
1900 --enable-accessibility enable accessibility support
1901 --enable-uiactionsim use wxUIActionSimulator
(experimental
)
1902 --enable-dctransform use wxDC
::SetTransformMatrix and related
1903 --enable-palette use wxPalette class
1904 --enable-image use wxImage class
1905 --enable-gif use gif images
(GIF
file format
)
1906 --enable-pcx use pcx images
(PCX
file format
)
1907 --enable-tga use tga images
(TGA
file format
)
1908 --enable-iff use iff images
(IFF
file format
)
1909 --enable-pnm use pnm images
(PNM
file format
)
1910 --enable-xpm use xpm images
(XPM
file format
)
1911 --enable-ico_cur use Windows ICO and CUR formats
1912 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1913 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1914 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1915 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1916 --enable-wxdib use wxDIB class
(Win32 only
)
1917 --enable-autoidman use automatic ids management
1918 --disable-largefile omit support
for large files
1919 --disable-gtktest do not try to compile and run a
test GTK
+ program
1920 --disable-gtktest Do not try to compile and run a
test GTK program
1921 --disable-sdltest Do not try to compile and run a
test SDL program
1922 --enable-omf use OMF object format
(OS
/2)
1923 --disable-dependency-tracking
1924 don
't use dependency tracking even if the compiler
1926 --disable-precomp-headers
1927 don't use precompiled headers even
if compiler can
1930 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1931 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1932 --without-subdirs don
't generate makefiles for samples/demos/...
1933 --with-flavour=NAME specify a name to identify this build
1934 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1935 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1936 --with-motif use Motif/Lesstif
1937 --with-osx_carbon use Mac OS X (Carbon)
1938 --with-osx_cocoa use Mac OS X (Cocoa)
1939 --with-osx_iphone use iPhone OS X port
1940 --with-osx use Mac OS X (default port, currently Carbon)
1941 --with-carbon same as --with-osx_carbon
1942 --with-cocoa same as --with-osx_cocoa
1943 --with-iphone same as --with-osx_iphone
1944 --with-mac same as --with-osx
1945 --with-old_cocoa use old, deprecated, Cocoa port
1946 --with-wine use Wine
1947 --with-msw use MS-Windows
1948 --with-pm use OS/2 Presentation Manager
1949 --with-mgl use SciTech MGL
1950 --with-directfb use DirectFB
1951 --with-microwin use MicroWindows
1953 --with-libpng use libpng (PNG image format)
1954 --with-libjpeg use libjpeg (JPEG file format)
1955 --with-libtiff use libtiff (TIFF file format)
1956 --with-libxpm use libxpm (XPM file format)
1957 --with-libiconv use libiconv (character conversion)
1958 --with-libmspack use libmspack (CHM help files loading)
1959 --without-gtkprint don't use GTK printing support
1960 --without-gnomeprint don
't use GNOME printing libraries
1961 --with-gnomevfs use GNOME VFS for associating MIME types
1962 --with-hildon use Hildon framework for Nokia 770/800/810
1963 --with-opengl use OpenGL (or Mesa)
1964 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1965 --with-sdl use SDL for audio on Unix
1966 --with-regex enable support for wxRegEx class
1967 --with-zlib use zlib for LZW compression
1968 --with-expat enable XML support using expat parser
1969 --with-macosx-sdk=PATH use an OS X SDK at PATH
1970 --with-macosx-version-min=VER build binaries which require at least this OS X version
1971 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1972 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1973 --with-x use the X Window System
1974 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1975 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1976 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1977 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1978 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1980 Some influential environment variables:
1981 CC C compiler command
1982 CFLAGS C compiler flags
1983 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1984 nonstandard directory <lib dir>
1985 LIBS libraries to pass to the linker, e.g. -l<library>
1986 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1987 you have headers in a nonstandard directory <include dir>
1989 CXX C++ compiler command
1990 CXXFLAGS C++ compiler flags
1991 CXXCPP C++ preprocessor
1992 PKG_CONFIG path to pkg-config utility
1994 C compiler flags for DIRECTFB, overriding pkg-config
1996 linker flags for DIRECTFB, overriding pkg-config
1997 XMKMF Path to xmkmf, Makefile generator for X Window System
1999 C compiler flags for PANGOX, overriding pkg-config
2000 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2002 C compiler flags for PANGOFT2, overriding pkg-config
2004 linker flags for PANGOFT2, overriding pkg-config
2006 C compiler flags for PANGOXFT, overriding pkg-config
2008 linker flags for PANGOXFT, overriding pkg-config
2010 C compiler flags for GTKPRINT, overriding pkg-config
2012 linker flags for GTKPRINT, overriding pkg-config
2013 LIBGNOMEPRINTUI_CFLAGS
2014 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2015 LIBGNOMEPRINTUI_LIBS
2016 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2018 C compiler flags for GNOMEVFS, overriding pkg-config
2020 linker flags for GNOMEVFS, overriding pkg-config
2022 C compiler flags for HILDON, overriding pkg-config
2023 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2025 C compiler flags for HILDON2, overriding pkg-config
2027 linker flags for HILDON2, overriding pkg-config
2029 C compiler flags for CAIRO, overriding pkg-config
2030 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2031 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2032 GST_LIBS linker flags for GST, overriding pkg-config
2034 Use these variables to override the choices made by `configure' or to
help
2035 it to
find libraries and programs with nonstandard names
/locations.
2037 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2042 if test "$ac_init_help" = "recursive"; then
2043 # If there are subdirs, report their specific --help.
2044 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2045 test -d "$ac_dir" || continue
2049 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2051 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2052 # A ".." for each directory in $ac_dir_suffix.
2053 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2054 case $ac_top_builddir_sub in
2055 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2056 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2059 ac_abs_top_builddir
=$ac_pwd
2060 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2061 # for backward compatibility:
2062 ac_top_builddir
=$ac_top_build_prefix
2065 .
) # We are building in place.
2067 ac_top_srcdir
=$ac_top_builddir_sub
2068 ac_abs_top_srcdir
=$ac_pwd ;;
2069 [\\/]* | ?
:[\\/]* ) # Absolute name.
2070 ac_srcdir
=$srcdir$ac_dir_suffix;
2071 ac_top_srcdir
=$srcdir
2072 ac_abs_top_srcdir
=$srcdir ;;
2074 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2075 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2076 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2078 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2080 cd "$ac_dir" || { ac_status
=$?
; continue; }
2081 # Check for guested configure.
2082 if test -f "$ac_srcdir/configure.gnu"; then
2084 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2085 elif test -f "$ac_srcdir/configure"; then
2087 $SHELL "$ac_srcdir/configure" --help=recursive
2089 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2091 cd "$ac_pwd" || { ac_status
=$?
; break; }
2095 test -n "$ac_init_help" && exit $ac_status
2096 if $ac_init_version; then
2098 wxWidgets configure
2.9.2
2099 generated by GNU Autoconf
2.61
2101 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2102 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2103 This configure
script is free software
; the Free Software Foundation
2104 gives unlimited permission to copy
, distribute and modify it.
2108 cat >config.log
<<_ACEOF
2109 This file contains any messages produced by compilers while
2110 running configure, to aid debugging if configure makes a mistake.
2112 It was created by wxWidgets $as_me 2.9.2, which was
2113 generated by GNU Autoconf 2.61. Invocation command line was
2125 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2126 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2127 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2128 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2129 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2131 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2132 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2134 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2135 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2136 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2137 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2138 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2139 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2140 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2148 test -z "$as_dir" && as_dir
=.
2149 echo "PATH: $as_dir"
2165 # Keep a trace of the command line.
2166 # Strip out --no-create and --no-recursion so they do not pile up.
2167 # Strip out --silent because we don't want to record it for future runs.
2168 # Also quote any args containing shell meta-characters.
2169 # Make two passes to allow for proper duplicate-argument suppression.
2173 ac_must_keep_next
=false
2179 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2180 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2181 | -silent | --silent | --silen | --sile | --sil)
2184 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2187 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2189 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2190 if test $ac_must_keep_next = true
; then
2191 ac_must_keep_next
=false
# Got value, back to normal.
2194 *=* | --config-cache | -C | -disable-* | --disable-* \
2195 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2196 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2197 | -with-* | --with-* | -without-* | --without-* | --x)
2198 case "$ac_configure_args0 " in
2199 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2202 -* ) ac_must_keep_next
=true
;;
2205 ac_configure_args
="$ac_configure_args '$ac_arg'"
2210 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2211 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2213 # When interrupted or exit'd, cleanup temporary files, and complete
2214 # config.log. We remove comments because anyway the quotes in there
2215 # would cause problems or look ugly.
2216 # WARNING: Use '\'' to represent an apostrophe within the trap.
2217 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2218 trap 'exit_status=$?
2219 # Save into config.log some information that might help in debugging.
2224 ## ---------------- ##
2225 ## Cache variables. ##
2226 ## ---------------- ##
2229 # The following way of writing the cache mishandles newlines in values,
2231 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2232 eval ac_val=\$$ac_var
2236 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2237 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2240 _ | IFS | as_nl) ;; #(
2241 *) $as_unset $ac_var ;;
2246 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2247 *${as_nl}ac_space=\ *)
2249 "s/'\''/'\''\\\\'\'''\''/g;
2250 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2253 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2261 ## ----------------- ##
2262 ## Output variables. ##
2263 ## ----------------- ##
2266 for ac_var in $ac_subst_vars
2268 eval ac_val=\$$ac_var
2270 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2272 echo "$ac_var='\''$ac_val'\''"
2276 if test -n "$ac_subst_files"; then
2278 ## ------------------- ##
2279 ## File substitutions. ##
2280 ## ------------------- ##
2283 for ac_var
in $ac_subst_files
2285 eval ac_val
=\$
$ac_var
2287 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2289 echo "$ac_var='\''$ac_val'\''"
2294 if test -s confdefs.h; then
2304 test "$ac_signal" != 0 &&
2305 echo "$as_me: caught signal $ac_signal"
2306 echo "$as_me: exit $exit_status"
2308 rm -f core *.core core.conftest.* &&
2309 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2312 for ac_signal
in 1 2 13 15; do
2313 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2317 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2318 rm -f -r conftest
* confdefs.h
2320 # Predefined preprocessor variables.
2322 cat >>confdefs.h
<<_ACEOF
2323 #define PACKAGE_NAME "$PACKAGE_NAME"
2327 cat >>confdefs.h
<<_ACEOF
2328 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2332 cat >>confdefs.h
<<_ACEOF
2333 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2337 cat >>confdefs.h
<<_ACEOF
2338 #define PACKAGE_STRING "$PACKAGE_STRING"
2342 cat >>confdefs.h
<<_ACEOF
2343 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2347 # Let the site file select an alternate cache file if it wants to.
2348 # Prefer explicitly selected file to automatically selected ones.
2349 if test -n "$CONFIG_SITE"; then
2350 set x
"$CONFIG_SITE"
2351 elif test "x$prefix" != xNONE
; then
2352 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2354 set x
"$ac_default_prefix/share/config.site" \
2355 "$ac_default_prefix/etc/config.site"
2360 if test -r "$ac_site_file"; then
2361 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2362 echo "$as_me: loading site script $ac_site_file" >&6;}
2363 sed 's/^/| /' "$ac_site_file" >&5
2368 if test -r "$cache_file"; then
2369 # Some versions of bash will fail to source /dev/null (special
2370 # files actually), so we avoid doing that.
2371 if test -f "$cache_file"; then
2372 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2373 echo "$as_me: loading cache $cache_file" >&6;}
2375 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2376 *) .
"./$cache_file";;
2380 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2381 echo "$as_me: creating cache $cache_file" >&6;}
2385 # Check that the precious variables saved in the cache have kept the same
2387 ac_cache_corrupted
=false
2388 for ac_var
in $ac_precious_vars; do
2389 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2390 eval ac_new_set
=\
$ac_env_${ac_var}_set
2391 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2392 eval ac_new_val
=\
$ac_env_${ac_var}_value
2393 case $ac_old_set,$ac_new_set in
2395 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2396 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2397 ac_cache_corrupted
=: ;;
2399 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2400 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2401 ac_cache_corrupted
=: ;;
2404 if test "x$ac_old_val" != "x$ac_new_val"; then
2405 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2406 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2407 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2408 echo "$as_me: former value: $ac_old_val" >&2;}
2409 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2410 echo "$as_me: current value: $ac_new_val" >&2;}
2411 ac_cache_corrupted
=:
2414 # Pass precious variables to config.status.
2415 if test "$ac_new_set" = set; then
2417 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2418 *) ac_arg
=$ac_var=$ac_new_val ;;
2420 case " $ac_configure_args " in
2421 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2422 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2426 if $ac_cache_corrupted; then
2427 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2428 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2429 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2430 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2431 { (exit 1); exit 1; }; }
2459 ac_cpp
='$CPP $CPPFLAGS'
2460 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2461 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2462 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2469 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2470 if test -f "$ac_dir/install-sh"; then
2472 ac_install_sh
="$ac_aux_dir/install-sh -c"
2474 elif test -f "$ac_dir/install.sh"; then
2476 ac_install_sh
="$ac_aux_dir/install.sh -c"
2478 elif test -f "$ac_dir/shtool"; then
2480 ac_install_sh
="$ac_aux_dir/shtool install -c"
2484 if test -z "$ac_aux_dir"; then
2485 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2486 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2487 { (exit 1); exit 1; }; }
2490 # These three variables are undocumented and unsupported,
2491 # and are intended to be withdrawn in a future Autoconf release.
2492 # They can cause serious problems if a builder's source tree is in a directory
2493 # whose full name contains unusual characters.
2494 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2495 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2496 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2499 # Make sure we can run config.sub.
2500 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2501 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2502 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2503 { (exit 1); exit 1; }; }
2505 { echo "$as_me:$LINENO: checking build system type" >&5
2506 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2507 if test "${ac_cv_build+set}" = set; then
2508 echo $ECHO_N "(cached) $ECHO_C" >&6
2510 ac_build_alias
=$build_alias
2511 test "x$ac_build_alias" = x
&&
2512 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2513 test "x$ac_build_alias" = x
&&
2514 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2515 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2516 { (exit 1); exit 1; }; }
2517 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2518 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2519 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2520 { (exit 1); exit 1; }; }
2523 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2524 echo "${ECHO_T}$ac_cv_build" >&6; }
2525 case $ac_cv_build in
2527 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2528 echo "$as_me: error: invalid value of canonical build" >&2;}
2529 { (exit 1); exit 1; }; };;
2532 ac_save_IFS
=$IFS; IFS
='-'
2538 # Remember, the first character of IFS is used to create $*,
2539 # except with old shells:
2542 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2545 { echo "$as_me:$LINENO: checking host system type" >&5
2546 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2547 if test "${ac_cv_host+set}" = set; then
2548 echo $ECHO_N "(cached) $ECHO_C" >&6
2550 if test "x$host_alias" = x
; then
2551 ac_cv_host
=$ac_cv_build
2553 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2554 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2555 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2556 { (exit 1); exit 1; }; }
2560 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2561 echo "${ECHO_T}$ac_cv_host" >&6; }
2564 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2565 echo "$as_me: error: invalid value of canonical host" >&2;}
2566 { (exit 1); exit 1; }; };;
2569 ac_save_IFS
=$IFS; IFS
='-'
2575 # Remember, the first character of IFS is used to create $*,
2576 # except with old shells:
2579 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2583 if test "$cross_compiling" != "no"; then
2584 HOST_PREFIX
="${host_alias}-"
2585 HOST_SUFFIX
="-$host_alias"
2592 wx_major_version_number
=2
2593 wx_minor_version_number
=9
2595 wx_subrelease_number
=0
2597 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2598 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2599 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2601 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2604 wx_top_builddir
="`pwd`"
2617 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2623 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2629 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2631 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2633 DEFAULT_wxUSE_OLD_COCOA
=0
2635 DEFAULT_wxUSE_OSX_CARBON
=0
2636 DEFAULT_wxUSE_OSX_COCOA
=0
2637 DEFAULT_wxUSE_OSX_IPHONE
=0
2639 DEFAULT_wxUSE_MICROWIN
=0
2640 DEFAULT_wxUSE_MOTIF
=0
2646 DEFAULT_DEFAULT_wxUSE_OLD_COCOA
=0
2647 DEFAULT_DEFAULT_wxUSE_GTK
=0
2648 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2649 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2650 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=0
2651 DEFAULT_DEFAULT_wxUSE_MGL
=0
2652 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2653 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2654 DEFAULT_DEFAULT_wxUSE_MSW
=0
2655 DEFAULT_DEFAULT_wxUSE_PM
=0
2656 DEFAULT_DEFAULT_wxUSE_X11
=0
2657 DEFAULT_DEFAULT_wxUSE_DFB
=0
2661 DYLIB_RPATH_INSTALL
=
2662 DYLIB_RPATH_POSTLINK
=
2664 DEFAULT_STD_FLAG
=yes
2669 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2670 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2671 cat >>confdefs.h
<<\_ACEOF
2676 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2680 cat >>confdefs.h
<<\_ACEOF
2685 if test "x$TMP" = "xalpha"; then
2687 cat >>confdefs.h
<<\_ACEOF
2692 DEFAULT_DEFAULT_wxUSE_GTK
=1
2694 *-*-gnu* | *-*-k*bsd
*-gnu )
2697 if test "x$TMP" = "xalpha"; then
2699 cat >>confdefs.h
<<\_ACEOF
2704 DEFAULT_DEFAULT_wxUSE_GTK
=1
2706 *-*-irix5* | *-*-irix6* )
2709 cat >>confdefs.h
<<\_ACEOF
2713 cat >>confdefs.h
<<\_ACEOF
2717 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2721 cat >>confdefs.h
<<\_ACEOF
2725 DEFAULT_DEFAULT_wxUSE_X11
=1
2731 cat >>confdefs.h
<<\_ACEOF
2735 cat >>confdefs.h
<<\_ACEOF
2736 #define __SOLARIS__ 1
2739 cat >>confdefs.h
<<\_ACEOF
2743 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2744 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2750 cat >>confdefs.h
<<\_ACEOF
2754 cat >>confdefs.h
<<\_ACEOF
2758 cat >>confdefs.h
<<\_ACEOF
2762 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2767 cat >>confdefs.h
<<\_ACEOF
2768 #define __FREEBSD__ 1
2771 cat >>confdefs.h
<<\_ACEOF
2775 DEFAULT_DEFAULT_wxUSE_GTK
=1
2777 *-*-openbsd*|*-*-mirbsd*)
2780 cat >>confdefs.h
<<\_ACEOF
2781 #define __OPENBSD__ 1
2784 cat >>confdefs.h
<<\_ACEOF
2788 DEFAULT_DEFAULT_wxUSE_GTK
=1
2793 cat >>confdefs.h
<<\_ACEOF
2794 #define __NETBSD__ 1
2797 cat >>confdefs.h
<<\_ACEOF
2801 DEFAULT_DEFAULT_wxUSE_GTK
=1
2802 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2804 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2809 cat >>confdefs.h
<<\_ACEOF
2813 cat >>confdefs.h
<<\_ACEOF
2817 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2818 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2823 cat >>confdefs.h
<<\_ACEOF
2827 cat >>confdefs.h
<<\_ACEOF
2831 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2836 cat >>confdefs.h
<<\_ACEOF
2840 cat >>confdefs.h
<<\_ACEOF
2844 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2850 cat >>confdefs.h
<<\_ACEOF
2854 cat >>confdefs.h
<<\_ACEOF
2858 cat >>confdefs.h
<<\_ACEOF
2862 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2869 cat >>confdefs.h
<<\_ACEOF
2870 #define __UNIXWARE__ 1
2875 *-*-cygwin* | *-*-mingw32* )
2877 DEFAULT_DEFAULT_wxUSE_MSW
=1
2883 cat >>confdefs.h
<<\_ACEOF
2888 DEFAULT_DEFAULT_wxUSE_MGL
=1
2891 *-pc-os2_emx | *-pc-os2-emx )
2892 cat >>confdefs.h
<<\_ACEOF
2897 cat >>confdefs.h
<<\_ACEOF
2902 DEFAULT_DEFAULT_wxUSE_PM
=1
2904 LDFLAGS
="$LDFLAGS -Zcrtdll"
2905 ac_executable_extensions
=".exe"
2906 export ac_executable_extensions
2910 for ac_dir
in $PATH; do
2912 if test -z "$ac_TEMP_PATH"; then
2913 ac_TEMP_PATH
="$ac_dir"
2915 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2918 export PATH
="$ac_TEMP_PATH"
2926 cat >>confdefs.h
<<\_ACEOF
2930 cat >>confdefs.h
<<\_ACEOF
2931 #define __DARWIN__ 1
2934 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=1
2940 cat >>confdefs.h
<<\_ACEOF
2944 cat >>confdefs.h
<<\_ACEOF
2945 #define __DARWIN__ 1
2948 cat >>confdefs.h
<<\_ACEOF
2949 #define TARGET_CARBON 1
2952 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2957 cat >>confdefs.h
<<\_ACEOF
2964 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2965 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2966 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2967 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2969 DEFAULT_DEFAULT_wxUSE_X11
=1
2970 DEFAULT_wxUSE_SHARED
=no
2975 DEFAULT_wxUSE_ALL_FEATURES
=yes
2977 DEFAULT_wxUSE_STD_CONTAINERS
=no
2978 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2979 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2981 DEFAULT_wxUSE_DMALLOC
=no
2982 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2983 DEFAULT_wxUSE_LIBHILDON
=no
2984 DEFAULT_wxUSE_LIBHILDON2
=no
2985 DEFAULT_wxUSE_LIBMSPACK
=no
2986 DEFAULT_wxUSE_LIBSDL
=no
2988 DEFAULT_wxUSE_ACCESSIBILITY
=no
2989 DEFAULT_wxUSE_IPV6
=no
2990 DEFAULT_wxUSE_GSTREAMER8
=no
2992 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=auto
2993 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2994 DEFAULT_wxUSE_OPENGL
=auto
2995 DEFAULT_wxUSE_MEDIACTRL
=auto
2996 DEFAULT_wxUSE_COMPILER_TLS
=auto
2998 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
3000 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
3001 DEFAULT_wxUSE_MAC_ARCH
=no
3003 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
3005 DEFAULT_wxUSE_GTK2
=yes
3007 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
3013 enablestring
=disable
3015 if test -z "$defaultval"; then
3016 if test x
"$enablestring" = xdisable
; then
3023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3024 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3025 # Check whether --enable-gui was given.
3026 if test "${enable_gui+set}" = set; then
3027 enableval
=$enable_gui;
3028 if test "$enableval" = yes; then
3029 wx_cv_use_gui
='wxUSE_GUI=yes'
3031 wx_cv_use_gui
='wxUSE_GUI=no'
3036 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3041 eval "$wx_cv_use_gui"
3043 if test x"$enablestring" = xdisable; then
3044 if test $wxUSE_GUI = no; then
3053 { echo "$as_me:$LINENO: result: $result" >&5
3054 echo "${ECHO_T}$result" >&6; }
3059 if test -z "$defaultval"; then
3060 if test x"$enablestring" = xdisable; then
3067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3068 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3069 # Check whether --enable-monolithic was given.
3070 if test "${enable_monolithic+set}" = set; then
3071 enableval=$enable_monolithic;
3072 if test "$enableval" = yes; then
3073 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3075 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3080 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3085 eval "$wx_cv_use_monolithic"
3087 if test x"$enablestring" = xdisable; then
3088 if test $wxUSE_MONOLITHIC = no; then
3094 result=$wxUSE_MONOLITHIC
3097 { echo "$as_me:$LINENO: result
: $result" >&5
3098 echo "${ECHO_T}$result" >&6; }
3103 if test -z "$defaultval"; then
3104 if test x"$enablestring" = xdisable; then
3111 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3112 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3113 # Check whether --enable-plugins was given.
3114 if test "${enable_plugins+set}" = set; then
3115 enableval=$enable_plugins;
3116 if test "$enableval" = yes; then
3117 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3119 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3124 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3129 eval "$wx_cv_use_plugins"
3131 if test x
"$enablestring" = xdisable
; then
3132 if test $wxUSE_PLUGINS = no
; then
3138 result
=$wxUSE_PLUGINS
3141 { echo "$as_me:$LINENO: result: $result" >&5
3142 echo "${ECHO_T}$result" >&6; }
3146 defaultval
=$wxUSE_ALL_FEATURES
3147 if test -z "$defaultval"; then
3148 if test x
"$withstring" = xwithout
; then
3154 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3155 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3157 # Check whether --with-subdirs was given.
3158 if test "${with_subdirs+set}" = set; then
3159 withval
=$with_subdirs;
3160 if test "$withval" = yes; then
3161 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3163 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3168 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3173 eval "$wx_cv_use_subdirs"
3175 if test x"$withstring" = xwithout; then
3176 if test $wxWITH_SUBDIRS = yes; then
3182 result=$wxWITH_SUBDIRS
3185 { echo "$as_me:$LINENO: result: $result" >&5
3186 echo "${ECHO_T}$result" >&6; }
3189 # Check whether --with-flavour was given.
3190 if test "${with_flavour+set}" = set; then
3191 withval=$with_flavour; WX_FLAVOUR="$withval"
3197 if test -z "$defaultval"; then
3198 if test x"$enablestring" = xdisable; then
3205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3206 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3207 # Check whether --enable-official_build was given.
3208 if test "${enable_official_build+set}" = set; then
3209 enableval=$enable_official_build;
3210 if test "$enableval" = yes; then
3211 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3213 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3218 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3223 eval "$wx_cv_use_official_build"
3225 if test x"$enablestring" = xdisable; then
3226 if test $wxUSE_OFFICIAL_BUILD = no; then
3232 result=$wxUSE_OFFICIAL_BUILD
3235 { echo "$as_me:$LINENO: result
: $result" >&5
3236 echo "${ECHO_T}$result" >&6; }
3238 # Check whether --enable-vendor was given.
3239 if test "${enable_vendor+set}" = set; then
3240 enableval=$enable_vendor; VENDOR="$enableval"
3243 if test "x
$VENDOR" = "x
"; then
3248 enablestring=disable
3250 if test -z "$defaultval"; then
3251 if test x"$enablestring" = xdisable; then
3258 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3259 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3260 # Check whether --enable-all-features was given.
3261 if test "${enable_all_features+set}" = set; then
3262 enableval=$enable_all_features;
3263 if test "$enableval" = yes; then
3264 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3266 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3271 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3276 eval "$wx_cv_use_all_features"
3278 if test x
"$enablestring" = xdisable
; then
3279 if test $wxUSE_ALL_FEATURES = no
; then
3285 result
=$wxUSE_ALL_FEATURES
3288 { echo "$as_me:$LINENO: result: $result" >&5
3289 echo "${ECHO_T}$result" >&6; }
3292 if test "$wxUSE_ALL_FEATURES" = "no"; then
3293 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=no
3294 DEFAULT_wxUSE_MEDIACTRL
=no
3298 if test "$wxUSE_GUI" = "yes"; then
3303 if test -z "$defaultval"; then
3304 if test x
"$enablestring" = xdisable
; then
3311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3312 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3313 # Check whether --enable-universal was given.
3314 if test "${enable_universal+set}" = set; then
3315 enableval
=$enable_universal;
3316 if test "$enableval" = yes; then
3317 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3319 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3324 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3329 eval "$wx_cv_use_universal"
3331 if test x"$enablestring" = xdisable; then
3332 if test $wxUSE_UNIVERSAL = no; then
3338 result=$wxUSE_UNIVERSAL
3341 { echo "$as_me:$LINENO: result: $result" >&5
3342 echo "${ECHO_T}$result" >&6; }
3344 if test "$wxUSE_UNIVERSAL" = "yes"; then
3346 # Check whether --with-themes was given.
3347 if test "${with_themes+set}" = set; then
3348 withval=$with_themes; wxUNIV_THEMES="$withval"
3354 # Check whether --with-gtk was given.
3355 if test "${with_gtk+set}" = set; then
3356 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3360 # Check whether --with-motif was given.
3361 if test "${with_motif+set}" = set; then
3362 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3366 # Check whether --with-osx_carbon was given.
3367 if test "${with_osx_carbon+set}" = set; then
3368 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3372 # Check whether --with-osx_cocoa was given.
3373 if test "${with_osx_cocoa+set}" = set; then
3374 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3378 # Check whether --with-osx_iphone was given.
3379 if test "${with_osx_iphone+set}" = set; then
3380 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3384 # Check whether --with-osx was given.
3385 if test "${with_osx+set}" = set; then
3386 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3390 # Check whether --with-carbon was given.
3391 if test "${with_carbon+set}" = set; then
3392 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3396 # Check whether --with-cocoa was given.
3397 if test "${with_cocoa+set}" = set; then
3398 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3402 # Check whether --with-iphone was given.
3403 if test "${with_iphone+set}" = set; then
3404 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3408 # Check whether --with-mac was given.
3409 if test "${with_mac+set}" = set; then
3410 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3414 # Check whether --with-old_cocoa was given.
3415 if test "${with_old_cocoa+set}" = set; then
3416 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3420 # Check whether --with-wine was given.
3421 if test "${with_wine+set}" = set; then
3422 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3426 # Check whether --with-msw was given.
3427 if test "${with_msw+set}" = set; then
3428 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3432 # Check whether --with-pm was given.
3433 if test "${with_pm+set}" = set; then
3434 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3438 # Check whether --with-mgl was given.
3439 if test "${with_mgl+set}" = set; then
3440 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3444 # Check whether --with-directfb was given.
3445 if test "${with_directfb+set}" = set; then
3446 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3450 # Check whether --with-microwin was given.
3451 if test "${with_microwin+set}" = set; then
3452 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3456 # Check whether --with-x11 was given.
3457 if test "${with_x11+set}" = set; then
3458 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3464 if test -z "$defaultval"; then
3465 if test x"$enablestring" = xdisable; then
3472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3473 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3474 # Check whether --enable-nanox was given.
3475 if test "${enable_nanox+set}" = set; then
3476 enableval=$enable_nanox;
3477 if test "$enableval" = yes; then
3478 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3480 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3485 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3490 eval "$wx_cv_use_nanox"
3492 if test x"$enablestring" = xdisable; then
3493 if test $wxUSE_NANOX = no; then
3502 { echo "$as_me:$LINENO: result
: $result" >&5
3503 echo "${ECHO_T}$result" >&6; }
3506 # Check whether --enable-gtk2 was given.
3507 if test "${enable_gtk2+set}" = set; then
3508 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3514 if test -z "$defaultval"; then
3515 if test x"$enablestring" = xdisable; then
3522 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3523 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3524 # Check whether --enable-gpe was given.
3525 if test "${enable_gpe+set}" = set; then
3526 enableval=$enable_gpe;
3527 if test "$enableval" = yes; then
3528 wx_cv_use_gpe='wxUSE_GPE=yes'
3530 wx_cv_use_gpe='wxUSE_GPE=no'
3535 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3540 eval "$wx_cv_use_gpe"
3542 if test x
"$enablestring" = xdisable
; then
3543 if test $wxUSE_GPE = no
; then
3552 { echo "$as_me:$LINENO: result: $result" >&5
3553 echo "${ECHO_T}$result" >&6; }
3557 { echo "$as_me:$LINENO: checking for toolkit" >&5
3558 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3562 # In Wine, we need to default to MSW, not GTK or MOTIF
3563 if test "$wxUSE_WINE" = "yes"; then
3564 DEFAULT_DEFAULT_wxUSE_GTK
=0
3565 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3566 DEFAULT_DEFAULT_wxUSE_MSW
=1
3573 if test "$wxUSE_GUI" = "yes"; then
3575 if test "$USE_BEOS" = 1; then
3576 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3577 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3578 { (exit 1); exit 1; }; }
3581 if test "$TOOLKIT_GIVEN" = 1; then
3582 for toolkit
in $ALL_TOOLKITS; do
3584 eval "value=\$${var}"
3585 if test "x$value" = "xno"; then
3587 elif test "x$value" != "x"; then
3591 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3592 eval "wx${toolkit}_VERSION=$value"
3596 for toolkit
in $ALL_TOOLKITS; do
3597 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3598 eval "wxUSE_$toolkit=\$${var}"
3602 NUM_TOOLKITS
=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3603 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3604 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3607 *-pc-os2_emx | *-pc-os2-emx )
3608 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3611 case "$NUM_TOOLKITS" in
3615 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3616 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3617 { (exit 1); exit 1; }; }
3620 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3621 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3622 { (exit 1); exit 1; }; }
3625 # to be removed when --disable-gtk2 isn't needed
3626 if test "x$wxUSE_GTK2" = "xyes"; then
3629 elif test "x$wxUSE_GTK2" = "xno"; then
3634 for toolkit
in $ALL_TOOLKITS; do
3636 eval "value=\$${var}"
3637 if test "$value" = 1; then
3638 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3639 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3640 echo "${ECHO_T}$toolkit_echo" >&6; }
3644 if test "x$host_alias" != "x"; then
3645 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3646 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3648 { echo "$as_me:$LINENO: result: base only" >&5
3649 echo "${ECHO_T}base only" >&6; }
3654 if test "$wxUSE_OSX_CARBON" = 1 \
3655 -o "$wxUSE_OSX_COCOA" = 1 \
3656 -o "$wxUSE_OSX_IPHONE" = 1; then
3662 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3663 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3665 # Check whether --with-libpng was given.
3666 if test "${with_libpng+set}" = set; then
3667 withval
=$with_libpng;
3668 if test "$withval" = yes; then
3669 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3670 elif test "$withval" = no
; then
3671 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3672 elif test "$withval" = sys
; then
3673 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3674 elif test "$withval" = builtin; then
3675 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3677 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3678 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3679 { (exit 1); exit 1; }; }
3684 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3689 eval "$wx_cv_use_libpng"
3691 if test "$wxUSE_LIBPNG" = yes; then
3692 { echo "$as_me:$LINENO: result: yes" >&5
3693 echo "${ECHO_T}yes" >&6; }
3694 elif test "$wxUSE_LIBPNG" = no; then
3695 { echo "$as_me:$LINENO: result: no" >&5
3696 echo "${ECHO_T}no" >&6; }
3697 elif test "$wxUSE_LIBPNG" = sys; then
3698 { echo "$as_me:$LINENO: result: system version" >&5
3699 echo "${ECHO_T}system version" >&6; }
3700 elif test "$wxUSE_LIBPNG" = builtin; then
3701 { echo "$as_me:$LINENO: result: builtin version" >&5
3702 echo "${ECHO_T}builtin version" >&6; }
3704 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3705 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3706 { (exit 1); exit 1; }; }
3710 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3711 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3713 # Check whether --with-libjpeg was given.
3714 if test "${with_libjpeg+set}" = set; then
3715 withval=$with_libjpeg;
3716 if test "$withval" = yes; then
3717 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3718 elif test "$withval" = no; then
3719 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3720 elif test "$withval" = sys; then
3721 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3722 elif test "$withval" = builtin; then
3723 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3725 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3726 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3727 { (exit 1); exit 1; }; }
3732 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3737 eval "$wx_cv_use_libjpeg"
3739 if test "$wxUSE_LIBJPEG" = yes; then
3740 { echo "$as_me:$LINENO: result
: yes" >&5
3741 echo "${ECHO_T}yes" >&6; }
3742 elif test "$wxUSE_LIBJPEG" = no; then
3743 { echo "$as_me:$LINENO: result
: no
" >&5
3744 echo "${ECHO_T}no
" >&6; }
3745 elif test "$wxUSE_LIBJPEG" = sys; then
3746 { echo "$as_me:$LINENO: result
: system version
" >&5
3747 echo "${ECHO_T}system version
" >&6; }
3748 elif test "$wxUSE_LIBJPEG" = builtin; then
3749 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3750 echo "${ECHO_T}builtin version
" >&6; }
3752 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3753 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3754 { (exit 1); exit 1; }; }
3758 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3759 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3761 # Check whether --with-libtiff was given.
3762 if test "${with_libtiff+set}" = set; then
3763 withval=$with_libtiff;
3764 if test "$withval" = yes; then
3765 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3766 elif test "$withval" = no; then
3767 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3768 elif test "$withval" = sys; then
3769 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3770 elif test "$withval" = builtin; then
3771 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3773 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3774 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3775 { (exit 1); exit 1; }; }
3780 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3785 eval "$wx_cv_use_libtiff"
3787 if test "$wxUSE_LIBTIFF" = yes; then
3788 { echo "$as_me:$LINENO: result: yes" >&5
3789 echo "${ECHO_T}yes" >&6; }
3790 elif test "$wxUSE_LIBTIFF" = no
; then
3791 { echo "$as_me:$LINENO: result: no" >&5
3792 echo "${ECHO_T}no" >&6; }
3793 elif test "$wxUSE_LIBTIFF" = sys
; then
3794 { echo "$as_me:$LINENO: result: system version" >&5
3795 echo "${ECHO_T}system version" >&6; }
3796 elif test "$wxUSE_LIBTIFF" = builtin; then
3797 { echo "$as_me:$LINENO: result: builtin version" >&5
3798 echo "${ECHO_T}builtin version" >&6; }
3800 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3801 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3802 { (exit 1); exit 1; }; }
3806 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3807 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3809 # Check whether --with-libxpm was given.
3810 if test "${with_libxpm+set}" = set; then
3811 withval
=$with_libxpm;
3812 if test "$withval" = yes; then
3813 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3814 elif test "$withval" = no
; then
3815 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3816 elif test "$withval" = sys
; then
3817 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3818 elif test "$withval" = builtin; then
3819 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3821 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3822 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3823 { (exit 1); exit 1; }; }
3828 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3833 eval "$wx_cv_use_libxpm"
3835 if test "$wxUSE_LIBXPM" = yes; then
3836 { echo "$as_me:$LINENO: result: yes" >&5
3837 echo "${ECHO_T}yes" >&6; }
3838 elif test "$wxUSE_LIBXPM" = no; then
3839 { echo "$as_me:$LINENO: result: no" >&5
3840 echo "${ECHO_T}no" >&6; }
3841 elif test "$wxUSE_LIBXPM" = sys; then
3842 { echo "$as_me:$LINENO: result: system version" >&5
3843 echo "${ECHO_T}system version" >&6; }
3844 elif test "$wxUSE_LIBXPM" = builtin; then
3845 { echo "$as_me:$LINENO: result: builtin version" >&5
3846 echo "${ECHO_T}builtin version" >&6; }
3848 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3849 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3850 { (exit 1); exit 1; }; }
3855 defaultval=$wxUSE_ALL_FEATURES
3856 if test -z "$defaultval"; then
3857 if test x"$withstring" = xwithout; then
3863 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3864 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3866 # Check whether --with-libiconv was given.
3867 if test "${with_libiconv+set}" = set; then
3868 withval=$with_libiconv;
3869 if test "$withval" = yes; then
3870 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3872 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3877 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3882 eval "$wx_cv_use_libiconv"
3884 if test x"$withstring" = xwithout; then
3885 if test $wxUSE_LIBICONV = yes; then
3891 result=$wxUSE_LIBICONV
3894 { echo "$as_me:$LINENO: result
: $result" >&5
3895 echo "${ECHO_T}$result" >&6; }
3899 defaultval=$wxUSE_ALL_FEATURES
3900 if test -z "$defaultval"; then
3901 if test x"$withstring" = xwithout; then
3907 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3908 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3910 # Check whether --with-libmspack was given.
3911 if test "${with_libmspack+set}" = set; then
3912 withval=$with_libmspack;
3913 if test "$withval" = yes; then
3914 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3916 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3921 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3926 eval "$wx_cv_use_libmspack"
3928 if test x
"$withstring" = xwithout
; then
3929 if test $wxUSE_LIBMSPACK = yes; then
3935 result
=$wxUSE_LIBMSPACK
3938 { echo "$as_me:$LINENO: result: $result" >&5
3939 echo "${ECHO_T}$result" >&6; }
3943 defaultval
=$wxUSE_ALL_FEATURES
3944 if test -z "$defaultval"; then
3945 if test x
"$withstring" = xwithout
; then
3951 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3952 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3954 # Check whether --with-gtkprint was given.
3955 if test "${with_gtkprint+set}" = set; then
3956 withval
=$with_gtkprint;
3957 if test "$withval" = yes; then
3958 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3960 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3965 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3970 eval "$wx_cv_use_gtkprint"
3972 if test x"$withstring" = xwithout; then
3973 if test $wxUSE_GTKPRINT = yes; then
3979 result=$wxUSE_GTKPRINT
3982 { echo "$as_me:$LINENO: result: $result" >&5
3983 echo "${ECHO_T}$result" >&6; }
3987 defaultval=$wxUSE_ALL_FEATURES
3988 if test -z "$defaultval"; then
3989 if test x"$withstring" = xwithout; then
3995 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3996 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3998 # Check whether --with-gnomeprint was given.
3999 if test "${with_gnomeprint+set}" = set; then
4000 withval=$with_gnomeprint;
4001 if test "$withval" = yes; then
4002 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
4004 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
4009 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4014 eval "$wx_cv_use_gnomeprint"
4016 if test x"$withstring" = xwithout; then
4017 if test $wxUSE_LIBGNOMEPRINT = yes; then
4023 result=$wxUSE_LIBGNOMEPRINT
4026 { echo "$as_me:$LINENO: result
: $result" >&5
4027 echo "${ECHO_T}$result" >&6; }
4031 defaultval=$wxUSE_ALL_FEATURES
4032 if test -z "$defaultval"; then
4033 if test x"$withstring" = xwithout; then
4039 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
4040 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
4042 # Check whether --with-gnomevfs was given.
4043 if test "${with_gnomevfs+set}" = set; then
4044 withval=$with_gnomevfs;
4045 if test "$withval" = yes; then
4046 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4048 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4053 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4058 eval "$wx_cv_use_gnomevfs"
4060 if test x
"$withstring" = xwithout
; then
4061 if test $wxUSE_LIBGNOMEVFS = yes; then
4067 result
=$wxUSE_LIBGNOMEVFS
4070 { echo "$as_me:$LINENO: result: $result" >&5
4071 echo "${ECHO_T}$result" >&6; }
4075 defaultval
=$wxUSE_ALL_FEATURES
4076 if test -z "$defaultval"; then
4077 if test x
"$withstring" = xwithout
; then
4083 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4084 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4086 # Check whether --with-hildon was given.
4087 if test "${with_hildon+set}" = set; then
4088 withval
=$with_hildon;
4089 if test "$withval" = yes; then
4090 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
4092 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
4097 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4102 eval "$wx_cv_use_hildon"
4104 if test x"$withstring" = xwithout; then
4105 if test $wxUSE_LIBHILDON = yes; then
4111 result=$wxUSE_LIBHILDON
4114 { echo "$as_me:$LINENO: result: $result" >&5
4115 echo "${ECHO_T}$result" >&6; }
4119 defaultval=$wxUSE_ALL_FEATURES
4120 if test -z "$defaultval"; then
4121 if test x"$withstring" = xwithout; then
4127 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4128 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4130 # Check whether --with-opengl was given.
4131 if test "${with_opengl+set}" = set; then
4132 withval=$with_opengl;
4133 if test "$withval" = yes; then
4134 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4136 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4141 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4146 eval "$wx_cv_use_opengl"
4148 if test x"$withstring" = xwithout; then
4149 if test $wxUSE_OPENGL = yes; then
4155 result=$wxUSE_OPENGL
4158 { echo "$as_me:$LINENO: result
: $result" >&5
4159 echo "${ECHO_T}$result" >&6; }
4166 defaultval=$wxUSE_ALL_FEATURES
4167 if test -z "$defaultval"; then
4168 if test x"$withstring" = xwithout; then
4174 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4175 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4177 # Check whether --with-dmalloc was given.
4178 if test "${with_dmalloc+set}" = set; then
4179 withval=$with_dmalloc;
4180 if test "$withval" = yes; then
4181 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4183 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4188 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4193 eval "$wx_cv_use_dmalloc"
4195 if test x
"$withstring" = xwithout
; then
4196 if test $wxUSE_DMALLOC = yes; then
4202 result
=$wxUSE_DMALLOC
4205 { echo "$as_me:$LINENO: result: $result" >&5
4206 echo "${ECHO_T}$result" >&6; }
4210 defaultval
=$wxUSE_ALL_FEATURES
4211 if test -z "$defaultval"; then
4212 if test x
"$withstring" = xwithout
; then
4218 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4219 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4221 # Check whether --with-sdl was given.
4222 if test "${with_sdl+set}" = set; then
4224 if test "$withval" = yes; then
4225 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4227 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4232 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4237 eval "$wx_cv_use_sdl"
4239 if test x"$withstring" = xwithout; then
4240 if test $wxUSE_LIBSDL = yes; then
4246 result=$wxUSE_LIBSDL
4249 { echo "$as_me:$LINENO: result: $result" >&5
4250 echo "${ECHO_T}$result" >&6; }
4253 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4254 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4256 # Check whether --with-regex was given.
4257 if test "${with_regex+set}" = set; then
4258 withval=$with_regex;
4259 if test "$withval" = yes; then
4260 wx_cv_use_regex='wxUSE_REGEX
=yes'
4261 elif test "$withval" = no; then
4262 wx_cv_use_regex='wxUSE_REGEX
=no
'
4263 elif test "$withval" = sys; then
4264 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4265 elif test "$withval" = builtin; then
4266 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4268 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4269 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4270 { (exit 1); exit 1; }; }
4275 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4280 eval "$wx_cv_use_regex"
4282 if test "$wxUSE_REGEX" = yes; then
4283 { echo "$as_me:$LINENO: result
: yes" >&5
4284 echo "${ECHO_T}yes" >&6; }
4285 elif test "$wxUSE_REGEX" = no; then
4286 { echo "$as_me:$LINENO: result
: no
" >&5
4287 echo "${ECHO_T}no
" >&6; }
4288 elif test "$wxUSE_REGEX" = sys; then
4289 { echo "$as_me:$LINENO: result
: system version
" >&5
4290 echo "${ECHO_T}system version
" >&6; }
4291 elif test "$wxUSE_REGEX" = builtin; then
4292 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4293 echo "${ECHO_T}builtin version
" >&6; }
4295 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4296 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4297 { (exit 1); exit 1; }; }
4301 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4302 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4304 # Check whether --with-zlib was given.
4305 if test "${with_zlib+set}" = set; then
4307 if test "$withval" = yes; then
4308 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4309 elif test "$withval" = no; then
4310 wx_cv_use_zlib='wxUSE_ZLIB=no'
4311 elif test "$withval" = sys; then
4312 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4313 elif test "$withval" = builtin; then
4314 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4316 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4317 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4318 { (exit 1); exit 1; }; }
4323 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4328 eval "$wx_cv_use_zlib"
4330 if test "$wxUSE_ZLIB" = yes; then
4331 { echo "$as_me:$LINENO: result: yes" >&5
4332 echo "${ECHO_T}yes" >&6; }
4333 elif test "$wxUSE_ZLIB" = no
; then
4334 { echo "$as_me:$LINENO: result: no" >&5
4335 echo "${ECHO_T}no" >&6; }
4336 elif test "$wxUSE_ZLIB" = sys
; then
4337 { echo "$as_me:$LINENO: result: system version" >&5
4338 echo "${ECHO_T}system version" >&6; }
4339 elif test "$wxUSE_ZLIB" = builtin; then
4340 { echo "$as_me:$LINENO: result: builtin version" >&5
4341 echo "${ECHO_T}builtin version" >&6; }
4343 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4344 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4345 { (exit 1); exit 1; }; }
4349 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4350 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4352 # Check whether --with-expat was given.
4353 if test "${with_expat+set}" = set; then
4354 withval
=$with_expat;
4355 if test "$withval" = yes; then
4356 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4357 elif test "$withval" = no
; then
4358 wx_cv_use_expat
='wxUSE_EXPAT=no'
4359 elif test "$withval" = sys
; then
4360 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4361 elif test "$withval" = builtin; then
4362 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4364 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4365 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4366 { (exit 1); exit 1; }; }
4371 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4376 eval "$wx_cv_use_expat"
4378 if test "$wxUSE_EXPAT" = yes; then
4379 { echo "$as_me:$LINENO: result: yes" >&5
4380 echo "${ECHO_T}yes" >&6; }
4381 elif test "$wxUSE_EXPAT" = no; then
4382 { echo "$as_me:$LINENO: result: no" >&5
4383 echo "${ECHO_T}no" >&6; }
4384 elif test "$wxUSE_EXPAT" = sys; then
4385 { echo "$as_me:$LINENO: result: system version" >&5
4386 echo "${ECHO_T}system version" >&6; }
4387 elif test "$wxUSE_EXPAT" = builtin; then
4388 { echo "$as_me:$LINENO: result: builtin version" >&5
4389 echo "${ECHO_T}builtin version" >&6; }
4391 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4392 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4393 { (exit 1); exit 1; }; }
4397 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4398 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4400 # Check whether --with-macosx-sdk was given.
4401 if test "${with_macosx_sdk+set}" = set; then
4402 withval=$with_macosx_sdk;
4403 wxUSE_MACOSX_SDK=$withval
4404 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4408 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4409 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4411 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4412 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4414 # Check whether --with-macosx-version-min was given.
4415 if test "${with_macosx_version_min+set}" = set; then
4416 withval=$with_macosx_version_min;
4417 wxUSE_MACOSX_VERSION_MIN=$withval
4418 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4422 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4423 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4426 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4427 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4428 # Check whether --enable-debug was given.
4429 if test "${enable_debug+set}" = set; then
4430 enableval=$enable_debug;
4431 if test "$enableval" = yes; then
4433 elif test "$enableval" = no; then
4435 elif test "$enableval" = max; then
4437 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4439 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4440 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4441 { (exit 1); exit 1; }; }
4450 case "$wxUSE_DEBUG" in
4452 DEFAULT_wxUSE_DEBUG_FLAG=yes
4453 DEFAULT_wxUSE_DEBUG_INFO=yes
4455 DEFAULT_wxUSE_OPTIMISE=no
4459 DEFAULT_wxUSE_DEBUG_FLAG=no
4460 DEFAULT_wxUSE_DEBUG_INFO=no
4464 DEFAULT_wxUSE_DEBUG_FLAG=yes
4465 DEFAULT_wxUSE_DEBUG_INFO=no
4470 enablestring=disable
4472 if test -z "$defaultval"; then
4473 if test x"$enablestring" = xdisable; then
4480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4481 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4482 # Check whether --enable-debug_flag was given.
4483 if test "${enable_debug_flag+set}" = set; then
4484 enableval=$enable_debug_flag;
4485 if test "$enableval" = yes; then
4486 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
4488 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
4493 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4498 eval "$wx_cv_use_debug_flag"
4500 if test x"$enablestring" = xdisable; then
4501 if test $wxUSE_DEBUG_FLAG = no; then
4507 result=$wxUSE_DEBUG_FLAG
4510 { echo "$as_me:$LINENO: result
: $result" >&5
4511 echo "${ECHO_T}$result" >&6; }
4516 if test -z "$defaultval"; then
4517 if test x"$enablestring" = xdisable; then
4524 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_info" >&5
4525 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_info...
$ECHO_C" >&6; }
4526 # Check whether --enable-debug_info was given.
4527 if test "${enable_debug_info+set}" = set; then
4528 enableval=$enable_debug_info;
4529 if test "$enableval" = yes; then
4530 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4532 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4537 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4542 eval "$wx_cv_use_debug_info"
4544 if test x
"$enablestring" = xdisable
; then
4545 if test $wxUSE_DEBUG_INFO = no
; then
4551 result
=$wxUSE_DEBUG_INFO
4554 { echo "$as_me:$LINENO: result: $result" >&5
4555 echo "${ECHO_T}$result" >&6; }
4562 if test -z "$defaultval"; then
4563 if test x
"$enablestring" = xdisable
; then
4570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4571 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4572 # Check whether --enable-debug_gdb was given.
4573 if test "${enable_debug_gdb+set}" = set; then
4574 enableval
=$enable_debug_gdb;
4575 if test "$enableval" = yes; then
4576 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4578 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4583 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4588 eval "$wx_cv_use_debug_gdb"
4590 if test x"$enablestring" = xdisable; then
4591 if test $wxUSE_DEBUG_GDB = no; then
4597 result=$wxUSE_DEBUG_GDB
4600 { echo "$as_me:$LINENO: result: $result" >&5
4601 echo "${ECHO_T}$result" >&6; }
4606 if test -z "$defaultval"; then
4607 if test x"$enablestring" = xdisable; then
4614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4615 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4616 # Check whether --enable-debug_cntxt was given.
4617 if test "${enable_debug_cntxt+set}" = set; then
4618 enableval=$enable_debug_cntxt;
4619 if test "$enableval" = yes; then
4620 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
4622 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
4627 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4632 eval "$wx_cv_use_debug_cntxt"
4634 if test x"$enablestring" = xdisable; then
4635 if test $wxUSE_DEBUG_CONTEXT = no; then
4641 result=$wxUSE_DEBUG_CONTEXT
4644 { echo "$as_me:$LINENO: result
: $result" >&5
4645 echo "${ECHO_T}$result" >&6; }
4650 if test -z "$defaultval"; then
4651 if test x"$enablestring" = xdisable; then
4658 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mem_tracing" >&5
4659 echo $ECHO_N "checking
for --${enablestring:-enable}-mem_tracing...
$ECHO_C" >&6; }
4660 # Check whether --enable-mem_tracing was given.
4661 if test "${enable_mem_tracing+set}" = set; then
4662 enableval=$enable_mem_tracing;
4663 if test "$enableval" = yes; then
4664 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4666 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4671 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4676 eval "$wx_cv_use_mem_tracing"
4678 if test x
"$enablestring" = xdisable
; then
4679 if test $wxUSE_MEM_TRACING = no
; then
4685 result
=$wxUSE_MEM_TRACING
4688 { echo "$as_me:$LINENO: result: $result" >&5
4689 echo "${ECHO_T}$result" >&6; }
4694 enablestring
=disable
4696 if test -z "$defaultval"; then
4697 if test x
"$enablestring" = xdisable
; then
4704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4705 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4706 # Check whether --enable-shared was given.
4707 if test "${enable_shared+set}" = set; then
4708 enableval
=$enable_shared;
4709 if test "$enableval" = yes; then
4710 wx_cv_use_shared
='wxUSE_SHARED=yes'
4712 wx_cv_use_shared
='wxUSE_SHARED=no'
4717 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4722 eval "$wx_cv_use_shared"
4724 if test x"$enablestring" = xdisable; then
4725 if test $wxUSE_SHARED = no; then
4731 result=$wxUSE_SHARED
4734 { echo "$as_me:$LINENO: result: $result" >&5
4735 echo "${ECHO_T}$result" >&6; }
4740 if test -z "$defaultval"; then
4741 if test x"$enablestring" = xdisable; then
4748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4749 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4750 # Check whether --enable-stl was given.
4751 if test "${enable_stl+set}" = set; then
4752 enableval=$enable_stl;
4753 if test "$enableval" = yes; then
4754 wx_cv_use_stl='wxUSE_STL
=yes'
4756 wx_cv_use_stl='wxUSE_STL
=no
'
4761 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
4766 eval "$wx_cv_use_stl"
4768 if test x"$enablestring" = xdisable; then
4769 if test $wxUSE_STL = no; then
4778 { echo "$as_me:$LINENO: result
: $result" >&5
4779 echo "${ECHO_T}$result" >&6; }
4781 if test "$wxUSE_STL" = "yes"; then
4782 DEFAULT_wxUSE_STD_CONTAINERS=yes
4783 DEFAULT_wxUSE_STD_IOSTREAM=yes
4784 DEFAULT_wxUSE_STD_STRING=yes
4789 if test -z "$defaultval"; then
4790 if test x"$enablestring" = xdisable; then
4797 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_containers" >&5
4798 echo $ECHO_N "checking
for --${enablestring:-enable}-std_containers...
$ECHO_C" >&6; }
4799 # Check whether --enable-std_containers was given.
4800 if test "${enable_std_containers+set}" = set; then
4801 enableval=$enable_std_containers;
4802 if test "$enableval" = yes; then
4803 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
4805 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
4810 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
4815 eval "$wx_cv_use_std_containers"
4817 if test x
"$enablestring" = xdisable
; then
4818 if test $wxUSE_STD_CONTAINERS = no
; then
4824 result
=$wxUSE_STD_CONTAINERS
4827 { echo "$as_me:$LINENO: result: $result" >&5
4828 echo "${ECHO_T}$result" >&6; }
4833 if test -z "$defaultval"; then
4834 if test x
"$enablestring" = xdisable
; then
4841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4842 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4843 # Check whether --enable-std_iostreams was given.
4844 if test "${enable_std_iostreams+set}" = set; then
4845 enableval
=$enable_std_iostreams;
4846 if test "$enableval" = yes; then
4847 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4849 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4854 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4859 eval "$wx_cv_use_std_iostreams"
4861 if test x"$enablestring" = xdisable; then
4862 if test $wxUSE_STD_IOSTREAM = no; then
4868 result=$wxUSE_STD_IOSTREAM
4871 { echo "$as_me:$LINENO: result: $result" >&5
4872 echo "${ECHO_T}$result" >&6; }
4877 if test -z "$defaultval"; then
4878 if test x"$enablestring" = xdisable; then
4885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4886 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4887 # Check whether --enable-std_string was given.
4888 if test "${enable_std_string+set}" = set; then
4889 enableval=$enable_std_string;
4890 if test "$enableval" = yes; then
4891 wx_cv_use_std_string='wxUSE_STD_STRING
=yes'
4893 wx_cv_use_std_string='wxUSE_STD_STRING
=no
'
4898 wx_cv_use_std_string='wxUSE_STD_STRING
=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4903 eval "$wx_cv_use_std_string"
4905 if test x"$enablestring" = xdisable; then
4906 if test $wxUSE_STD_STRING = no; then
4912 result=$wxUSE_STD_STRING
4915 { echo "$as_me:$LINENO: result
: $result" >&5
4916 echo "${ECHO_T}$result" >&6; }
4921 if test -z "$defaultval"; then
4922 if test x"$enablestring" = xdisable; then
4929 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
4930 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string_conv_in_wxstring...
$ECHO_C" >&6; }
4931 # Check whether --enable-std_string_conv_in_wxstring was given.
4932 if test "${enable_std_string_conv_in_wxstring+set}" = set; then
4933 enableval=$enable_std_string_conv_in_wxstring;
4934 if test "$enableval" = yes; then
4935 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
4937 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
4942 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
4947 eval "$wx_cv_use_std_string_conv_in_wxstring"
4949 if test x
"$enablestring" = xdisable
; then
4950 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no
; then
4956 result
=$wxUSE_STD_STRING_CONV_IN_WXSTRING
4959 { echo "$as_me:$LINENO: result: $result" >&5
4960 echo "${ECHO_T}$result" >&6; }
4963 enablestring
=disable
4965 if test -z "$defaultval"; then
4966 if test x
"$enablestring" = xdisable
; then
4973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4974 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4975 # Check whether --enable-unicode was given.
4976 if test "${enable_unicode+set}" = set; then
4977 enableval
=$enable_unicode;
4978 if test "$enableval" = yes; then
4979 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4981 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4986 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4991 eval "$wx_cv_use_unicode"
4993 if test x"$enablestring" = xdisable; then
4994 if test $wxUSE_UNICODE = no; then
5000 result=$wxUSE_UNICODE
5003 { echo "$as_me:$LINENO: result: $result" >&5
5004 echo "${ECHO_T}$result" >&6; }
5009 if test -z "$defaultval"; then
5010 if test x"$enablestring" = xdisable; then
5017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5018 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
5019 # Check whether --enable-mslu was given.
5020 if test "${enable_mslu+set}" = set; then
5021 enableval=$enable_mslu;
5022 if test "$enableval" = yes; then
5023 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5025 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5030 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5035 eval "$wx_cv_use_mslu"
5037 if test x"$enablestring" = xdisable; then
5038 if test $wxUSE_UNICODE_MSLU = no; then
5044 result=$wxUSE_UNICODE_MSLU
5047 { echo "$as_me:$LINENO: result
: $result" >&5
5048 echo "${ECHO_T}$result" >&6; }
5052 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
5053 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
5054 # Check whether --enable-utf8 was given.
5055 if test "${enable_utf8+set}" = set; then
5056 enableval=$enable_utf8;
5057 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
5061 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5066 eval "$wx_cv_use_utf8"
5068 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
5069 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5074 if test -z "$defaultval"; then
5075 if test x"$enablestring" = xdisable; then
5082 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
5083 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
5084 # Check whether --enable-utf8only was given.
5085 if test "${enable_utf8only+set}" = set; then
5086 enableval=$enable_utf8only;
5087 if test "$enableval" = yes; then
5088 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5090 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5095 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5100 eval "$wx_cv_use_utf8only"
5102 if test x
"$enablestring" = xdisable
; then
5103 if test $wxUSE_UNICODE_UTF8_LOCALE = no
; then
5109 result
=$wxUSE_UNICODE_UTF8_LOCALE
5112 { echo "$as_me:$LINENO: result: $result" >&5
5113 echo "${ECHO_T}$result" >&6; }
5118 if test -z "$defaultval"; then
5119 if test x
"$enablestring" = xdisable
; then
5126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5127 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5128 # Check whether --enable-extended_rtti was given.
5129 if test "${enable_extended_rtti+set}" = set; then
5130 enableval
=$enable_extended_rtti;
5131 if test "$enableval" = yes; then
5132 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
5134 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
5139 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5144 eval "$wx_cv_use_extended_rtti"
5146 if test x"$enablestring" = xdisable; then
5147 if test $wxUSE_EXTENDED_RTTI = no; then
5153 result=$wxUSE_EXTENDED_RTTI
5156 { echo "$as_me:$LINENO: result: $result" >&5
5157 echo "${ECHO_T}$result" >&6; }
5159 if test "$USE_OS2" = 1; then
5160 DEFAULT_wxUSE_OMF=no
5164 if test -z "$defaultval"; then
5165 if test x"$enablestring" = xdisable; then
5172 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5173 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5174 # Check whether --enable-omf was given.
5175 if test "${enable_omf+set}" = set; then
5176 enableval=$enable_omf;
5177 if test "$enableval" = yes; then
5178 wx_cv_use_omf='wxUSE_OMF
=yes'
5180 wx_cv_use_omf='wxUSE_OMF
=no
'
5185 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5190 eval "$wx_cv_use_omf"
5192 if test x"$enablestring" = xdisable; then
5193 if test $wxUSE_OMF = no; then
5202 { echo "$as_me:$LINENO: result
: $result" >&5
5203 echo "${ECHO_T}$result" >&6; }
5208 enablestring=disable
5210 if test -z "$defaultval"; then
5211 if test x"$enablestring" = xdisable; then
5218 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-optimise" >&5
5219 echo $ECHO_N "checking
for --${enablestring:-enable}-optimise...
$ECHO_C" >&6; }
5220 # Check whether --enable-optimise was given.
5221 if test "${enable_optimise+set}" = set; then
5222 enableval=$enable_optimise;
5223 if test "$enableval" = yes; then
5224 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5226 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5231 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5236 eval "$wx_cv_use_optimise"
5238 if test x
"$enablestring" = xdisable
; then
5239 if test $wxUSE_OPTIMISE = no
; then
5245 result
=$wxUSE_OPTIMISE
5248 { echo "$as_me:$LINENO: result: $result" >&5
5249 echo "${ECHO_T}$result" >&6; }
5255 if test -z "$defaultval"; then
5256 if test x
"$enablestring" = xdisable
; then
5263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5264 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5265 # Check whether --enable-profile was given.
5266 if test "${enable_profile+set}" = set; then
5267 enableval
=$enable_profile;
5268 if test "$enableval" = yes; then
5269 wx_cv_use_profile
='wxUSE_PROFILE=yes'
5271 wx_cv_use_profile
='wxUSE_PROFILE=no'
5276 wx_cv_use_profile
='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5281 eval "$wx_cv_use_profile"
5283 if test x"$enablestring" = xdisable; then
5284 if test $wxUSE_PROFILE = no; then
5290 result=$wxUSE_PROFILE
5293 { echo "$as_me:$LINENO: result: $result" >&5
5294 echo "${ECHO_T}$result" >&6; }
5299 if test -z "$defaultval"; then
5300 if test x"$enablestring" = xdisable; then
5307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5308 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5309 # Check whether --enable-no_rtti was given.
5310 if test "${enable_no_rtti+set}" = set; then
5311 enableval=$enable_no_rtti;
5312 if test "$enableval" = yes; then
5313 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
5315 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
5320 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5325 eval "$wx_cv_use_no_rtti"
5327 if test x"$enablestring" = xdisable; then
5328 if test $wxUSE_NO_RTTI = no; then
5334 result=$wxUSE_NO_RTTI
5337 { echo "$as_me:$LINENO: result
: $result" >&5
5338 echo "${ECHO_T}$result" >&6; }
5343 if test -z "$defaultval"; then
5344 if test x"$enablestring" = xdisable; then
5351 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_exceptions" >&5
5352 echo $ECHO_N "checking
for --${enablestring:-enable}-no_exceptions...
$ECHO_C" >&6; }
5353 # Check whether --enable-no_exceptions was given.
5354 if test "${enable_no_exceptions+set}" = set; then
5355 enableval=$enable_no_exceptions;
5356 if test "$enableval" = yes; then
5357 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5359 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5364 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5369 eval "$wx_cv_use_no_exceptions"
5371 if test x
"$enablestring" = xdisable
; then
5372 if test $wxUSE_NO_EXCEPTIONS = no
; then
5378 result
=$wxUSE_NO_EXCEPTIONS
5381 { echo "$as_me:$LINENO: result: $result" >&5
5382 echo "${ECHO_T}$result" >&6; }
5387 if test -z "$defaultval"; then
5388 if test x
"$enablestring" = xdisable
; then
5395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5396 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5397 # Check whether --enable-permissive was given.
5398 if test "${enable_permissive+set}" = set; then
5399 enableval
=$enable_permissive;
5400 if test "$enableval" = yes; then
5401 wx_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
5403 wx_cv_use_permissive
='wxUSE_PERMISSIVE=no'
5408 wx_cv_use_permissive
='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5413 eval "$wx_cv_use_permissive"
5415 if test x"$enablestring" = xdisable; then
5416 if test $wxUSE_PERMISSIVE = no; then
5422 result=$wxUSE_PERMISSIVE
5425 { echo "$as_me:$LINENO: result: $result" >&5
5426 echo "${ECHO_T}$result" >&6; }
5431 if test -z "$defaultval"; then
5432 if test x"$enablestring" = xdisable; then
5439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5440 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5441 # Check whether --enable-no_deps was given.
5442 if test "${enable_no_deps+set}" = set; then
5443 enableval=$enable_no_deps;
5444 if test "$enableval" = yes; then
5445 wx_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
5447 wx_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
5452 wx_cv_use_no_deps='wxUSE_NO_DEPS
=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5457 eval "$wx_cv_use_no_deps"
5459 if test x"$enablestring" = xdisable; then
5460 if test $wxUSE_NO_DEPS = no; then
5466 result=$wxUSE_NO_DEPS
5469 { echo "$as_me:$LINENO: result
: $result" >&5
5470 echo "${ECHO_T}$result" >&6; }
5473 enablestring=disable
5475 if test -z "$defaultval"; then
5476 if test x"$enablestring" = xdisable; then
5483 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-vararg_macros" >&5
5484 echo $ECHO_N "checking
for --${enablestring:-enable}-vararg_macros...
$ECHO_C" >&6; }
5485 # Check whether --enable-vararg_macros was given.
5486 if test "${enable_vararg_macros+set}" = set; then
5487 enableval=$enable_vararg_macros;
5488 if test "$enableval" = yes; then
5489 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5491 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5496 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5501 eval "$wx_cv_use_vararg_macros"
5503 if test x
"$enablestring" = xdisable
; then
5504 if test $wxUSE_VARARG_MACROS = no
; then
5510 result
=$wxUSE_VARARG_MACROS
5513 { echo "$as_me:$LINENO: result: $result" >&5
5514 echo "${ECHO_T}$result" >&6; }
5519 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5520 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5521 # Check whether --enable-universal_binary was given.
5522 if test "${enable_universal_binary+set}" = set; then
5523 enableval
=$enable_universal_binary;
5524 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
5528 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5533 eval "$wx_cv_use_universal_binary"
5535 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5536 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5541 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5542 # Check whether --enable-macosx_arch was given.
5543 if test "${enable_macosx_arch+set}" = set; then
5544 enableval
=$enable_macosx_arch;
5545 wx_cv_use_macosx_arch
="wxUSE_MAC_ARCH='$enableval'"
5549 wx_cv_use_macosx_arch
='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
5554 eval "$wx_cv_use_macosx_arch"
5556 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5557 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5563 if test -z "$defaultval"; then
5564 if test x
"$enablestring" = xdisable
; then
5571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5572 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5573 # Check whether --enable-compat26 was given.
5574 if test "${enable_compat26+set}" = set; then
5575 enableval
=$enable_compat26;
5576 if test "$enableval" = yes; then
5577 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
5579 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
5584 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5589 eval "$wx_cv_use_compat26"
5591 if test x"$enablestring" = xdisable; then
5592 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5598 result=$WXWIN_COMPATIBILITY_2_6
5601 { echo "$as_me:$LINENO: result: $result" >&5
5602 echo "${ECHO_T}$result" >&6; }
5605 enablestring=disable
5607 if test -z "$defaultval"; then
5608 if test x"$enablestring" = xdisable; then
5615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5616 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5617 # Check whether --enable-compat28 was given.
5618 if test "${enable_compat28+set}" = set; then
5619 enableval=$enable_compat28;
5620 if test "$enableval" = yes; then
5621 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=yes'
5623 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=no
'
5628 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5633 eval "$wx_cv_use_compat28"
5635 if test x"$enablestring" = xdisable; then
5636 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5642 result=$WXWIN_COMPATIBILITY_2_8
5645 { echo "$as_me:$LINENO: result
: $result" >&5
5646 echo "${ECHO_T}$result" >&6; }
5650 enablestring=disable
5652 if test -z "$defaultval"; then
5653 if test x"$enablestring" = xdisable; then
5660 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-rpath" >&5
5661 echo $ECHO_N "checking
for --${enablestring:-enable}-rpath...
$ECHO_C" >&6; }
5662 # Check whether --enable-rpath was given.
5663 if test "${enable_rpath+set}" = set; then
5664 enableval=$enable_rpath;
5665 if test "$enableval" = yes; then
5666 wx_cv_use_rpath='wxUSE_RPATH=yes'
5668 wx_cv_use_rpath='wxUSE_RPATH=no'
5673 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5678 eval "$wx_cv_use_rpath"
5680 if test x
"$enablestring" = xdisable
; then
5681 if test $wxUSE_RPATH = no
; then
5690 { echo "$as_me:$LINENO: result: $result" >&5
5691 echo "${ECHO_T}$result" >&6; }
5697 if test -z "$defaultval"; then
5698 if test x
"$enablestring" = xdisable
; then
5705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5706 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5707 # Check whether --enable-objc_uniquifying was given.
5708 if test "${enable_objc_uniquifying+set}" = set; then
5709 enableval
=$enable_objc_uniquifying;
5710 if test "$enableval" = yes; then
5711 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=yes'
5713 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=no'
5718 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5723 eval "$wx_cv_use_objc_uniquifying"
5725 if test x"$enablestring" = xdisable; then
5726 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5732 result=$wxUSE_OBJC_UNIQUIFYING
5735 { echo "$as_me:$LINENO: result: $result" >&5
5736 echo "${ECHO_T}$result" >&6; }
5740 enablestring=disable
5742 if test -z "$defaultval"; then
5743 if test x"$enablestring" = xdisable; then
5750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5751 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5752 # Check whether --enable-visibility was given.
5753 if test "${enable_visibility+set}" = set; then
5754 enableval=$enable_visibility;
5755 if test "$enableval" = yes; then
5756 wx_cv_use_visibility='wxUSE_VISIBILITY
=yes'
5758 wx_cv_use_visibility='wxUSE_VISIBILITY
=no
'
5763 wx_cv_use_visibility='wxUSE_VISIBILITY
=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5768 eval "$wx_cv_use_visibility"
5770 if test x"$enablestring" = xdisable; then
5771 if test $wxUSE_VISIBILITY = no; then
5777 result=$wxUSE_VISIBILITY
5780 { echo "$as_me:$LINENO: result
: $result" >&5
5781 echo "${ECHO_T}$result" >&6; }
5784 enablestring=disable
5786 if test -z "$defaultval"; then
5787 if test x"$enablestring" = xdisable; then
5794 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tls" >&5
5795 echo $ECHO_N "checking
for --${enablestring:-enable}-tls...
$ECHO_C" >&6; }
5796 # Check whether --enable-tls was given.
5797 if test "${enable_tls+set}" = set; then
5798 enableval=$enable_tls;
5799 if test "$enableval" = yes; then
5800 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5802 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5807 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5812 eval "$wx_cv_use_tls"
5814 if test x
"$enablestring" = xdisable
; then
5815 if test $wxUSE_COMPILER_TLS = no
; then
5821 result
=$wxUSE_COMPILER_TLS
5824 { echo "$as_me:$LINENO: result: $result" >&5
5825 echo "${ECHO_T}$result" >&6; }
5831 defaultval
=$wxUSE_ALL_FEATURES
5832 if test -z "$defaultval"; then
5833 if test x
"$enablestring" = xdisable
; then
5840 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5841 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5842 # Check whether --enable-intl was given.
5843 if test "${enable_intl+set}" = set; then
5844 enableval
=$enable_intl;
5845 if test "$enableval" = yes; then
5846 wx_cv_use_intl
='wxUSE_INTL=yes'
5848 wx_cv_use_intl
='wxUSE_INTL=no'
5853 wx_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5858 eval "$wx_cv_use_intl"
5860 if test x"$enablestring" = xdisable; then
5861 if test $wxUSE_INTL = no; then
5870 { echo "$as_me:$LINENO: result: $result" >&5
5871 echo "${ECHO_T}$result" >&6; }
5875 defaultval=$wxUSE_ALL_FEATURES
5876 if test -z "$defaultval"; then
5877 if test x"$enablestring" = xdisable; then
5884 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5885 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5886 # Check whether --enable-xlocale was given.
5887 if test "${enable_xlocale+set}" = set; then
5888 enableval=$enable_xlocale;
5889 if test "$enableval" = yes; then
5890 wx_cv_use_xlocale='wxUSE_XLOCALE
=yes'
5892 wx_cv_use_xlocale='wxUSE_XLOCALE
=no
'
5897 wx_cv_use_xlocale='wxUSE_XLOCALE
=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5902 eval "$wx_cv_use_xlocale"
5904 if test x"$enablestring" = xdisable; then
5905 if test $wxUSE_XLOCALE = no; then
5911 result=$wxUSE_XLOCALE
5914 { echo "$as_me:$LINENO: result
: $result" >&5
5915 echo "${ECHO_T}$result" >&6; }
5919 defaultval=$wxUSE_ALL_FEATURES
5920 if test -z "$defaultval"; then
5921 if test x"$enablestring" = xdisable; then
5928 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-config" >&5
5929 echo $ECHO_N "checking
for --${enablestring:-enable}-config...
$ECHO_C" >&6; }
5930 # Check whether --enable-config was given.
5931 if test "${enable_config+set}" = set; then
5932 enableval=$enable_config;
5933 if test "$enableval" = yes; then
5934 wx_cv_use_config='wxUSE_CONFIG=yes'
5936 wx_cv_use_config='wxUSE_CONFIG=no'
5941 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5946 eval "$wx_cv_use_config"
5948 if test x
"$enablestring" = xdisable
; then
5949 if test $wxUSE_CONFIG = no
; then
5955 result
=$wxUSE_CONFIG
5958 { echo "$as_me:$LINENO: result: $result" >&5
5959 echo "${ECHO_T}$result" >&6; }
5964 defaultval
=$wxUSE_ALL_FEATURES
5965 if test -z "$defaultval"; then
5966 if test x
"$enablestring" = xdisable
; then
5973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5974 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5975 # Check whether --enable-protocols was given.
5976 if test "${enable_protocols+set}" = set; then
5977 enableval
=$enable_protocols;
5978 if test "$enableval" = yes; then
5979 wx_cv_use_protocols
='wxUSE_PROTOCOL=yes'
5981 wx_cv_use_protocols
='wxUSE_PROTOCOL=no'
5986 wx_cv_use_protocols
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5991 eval "$wx_cv_use_protocols"
5993 if test x"$enablestring" = xdisable; then
5994 if test $wxUSE_PROTOCOL = no; then
6000 result=$wxUSE_PROTOCOL
6003 { echo "$as_me:$LINENO: result: $result" >&5
6004 echo "${ECHO_T}$result" >&6; }
6008 defaultval=$wxUSE_ALL_FEATURES
6009 if test -z "$defaultval"; then
6010 if test x"$enablestring" = xdisable; then
6017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6018 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6019 # Check whether --enable-ftp was given.
6020 if test "${enable_ftp+set}" = set; then
6021 enableval=$enable_ftp;
6022 if test "$enableval" = yes; then
6023 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
6025 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
6030 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6035 eval "$wx_cv_use_ftp"
6037 if test x"$enablestring" = xdisable; then
6038 if test $wxUSE_PROTOCOL_FTP = no; then
6044 result=$wxUSE_PROTOCOL_FTP
6047 { echo "$as_me:$LINENO: result
: $result" >&5
6048 echo "${ECHO_T}$result" >&6; }
6052 defaultval=$wxUSE_ALL_FEATURES
6053 if test -z "$defaultval"; then
6054 if test x"$enablestring" = xdisable; then
6061 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-http" >&5
6062 echo $ECHO_N "checking
for --${enablestring:-enable}-http...
$ECHO_C" >&6; }
6063 # Check whether --enable-http was given.
6064 if test "${enable_http+set}" = set; then
6065 enableval=$enable_http;
6066 if test "$enableval" = yes; then
6067 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6069 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6074 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6079 eval "$wx_cv_use_http"
6081 if test x
"$enablestring" = xdisable
; then
6082 if test $wxUSE_PROTOCOL_HTTP = no
; then
6088 result
=$wxUSE_PROTOCOL_HTTP
6091 { echo "$as_me:$LINENO: result: $result" >&5
6092 echo "${ECHO_T}$result" >&6; }
6096 defaultval
=$wxUSE_ALL_FEATURES
6097 if test -z "$defaultval"; then
6098 if test x
"$enablestring" = xdisable
; then
6105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6106 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6107 # Check whether --enable-fileproto was given.
6108 if test "${enable_fileproto+set}" = set; then
6109 enableval
=$enable_fileproto;
6110 if test "$enableval" = yes; then
6111 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
6113 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
6118 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6123 eval "$wx_cv_use_fileproto"
6125 if test x"$enablestring" = xdisable; then
6126 if test $wxUSE_PROTOCOL_FILE = no; then
6132 result=$wxUSE_PROTOCOL_FILE
6135 { echo "$as_me:$LINENO: result: $result" >&5
6136 echo "${ECHO_T}$result" >&6; }
6140 defaultval=$wxUSE_ALL_FEATURES
6141 if test -z "$defaultval"; then
6142 if test x"$enablestring" = xdisable; then
6149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6150 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6151 # Check whether --enable-sockets was given.
6152 if test "${enable_sockets+set}" = set; then
6153 enableval=$enable_sockets;
6154 if test "$enableval" = yes; then
6155 wx_cv_use_sockets='wxUSE_SOCKETS
=yes'
6157 wx_cv_use_sockets='wxUSE_SOCKETS
=no
'
6162 wx_cv_use_sockets='wxUSE_SOCKETS
=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6167 eval "$wx_cv_use_sockets"
6169 if test x"$enablestring" = xdisable; then
6170 if test $wxUSE_SOCKETS = no; then
6176 result=$wxUSE_SOCKETS
6179 { echo "$as_me:$LINENO: result
: $result" >&5
6180 echo "${ECHO_T}$result" >&6; }
6184 defaultval=$wxUSE_ALL_FEATURES
6185 if test -z "$defaultval"; then
6186 if test x"$enablestring" = xdisable; then
6193 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ipv6" >&5
6194 echo $ECHO_N "checking
for --${enablestring:-enable}-ipv6...
$ECHO_C" >&6; }
6195 # Check whether --enable-ipv6 was given.
6196 if test "${enable_ipv6+set}" = set; then
6197 enableval=$enable_ipv6;
6198 if test "$enableval" = yes; then
6199 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6201 wx_cv_use_ipv6='wxUSE_IPV6=no'
6206 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6211 eval "$wx_cv_use_ipv6"
6213 if test x
"$enablestring" = xdisable
; then
6214 if test $wxUSE_IPV6 = no
; then
6223 { echo "$as_me:$LINENO: result: $result" >&5
6224 echo "${ECHO_T}$result" >&6; }
6228 defaultval
=$wxUSE_ALL_FEATURES
6229 if test -z "$defaultval"; then
6230 if test x
"$enablestring" = xdisable
; then
6237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6238 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6239 # Check whether --enable-ole was given.
6240 if test "${enable_ole+set}" = set; then
6241 enableval
=$enable_ole;
6242 if test "$enableval" = yes; then
6243 wx_cv_use_ole
='wxUSE_OLE=yes'
6245 wx_cv_use_ole
='wxUSE_OLE=no'
6250 wx_cv_use_ole
='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6255 eval "$wx_cv_use_ole"
6257 if test x"$enablestring" = xdisable; then
6258 if test $wxUSE_OLE = no; then
6267 { echo "$as_me:$LINENO: result: $result" >&5
6268 echo "${ECHO_T}$result" >&6; }
6272 defaultval=$wxUSE_ALL_FEATURES
6273 if test -z "$defaultval"; then
6274 if test x"$enablestring" = xdisable; then
6281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6282 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6283 # Check whether --enable-dataobj was given.
6284 if test "${enable_dataobj+set}" = set; then
6285 enableval=$enable_dataobj;
6286 if test "$enableval" = yes; then
6287 wx_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
6289 wx_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
6294 wx_cv_use_dataobj='wxUSE_DATAOBJ
=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6299 eval "$wx_cv_use_dataobj"
6301 if test x"$enablestring" = xdisable; then
6302 if test $wxUSE_DATAOBJ = no; then
6308 result=$wxUSE_DATAOBJ
6311 { echo "$as_me:$LINENO: result
: $result" >&5
6312 echo "${ECHO_T}$result" >&6; }
6317 defaultval=$wxUSE_ALL_FEATURES
6318 if test -z "$defaultval"; then
6319 if test x"$enablestring" = xdisable; then
6326 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ipc" >&5
6327 echo $ECHO_N "checking
for --${enablestring:-enable}-ipc...
$ECHO_C" >&6; }
6328 # Check whether --enable-ipc was given.
6329 if test "${enable_ipc+set}" = set; then
6330 enableval=$enable_ipc;
6331 if test "$enableval" = yes; then
6332 wx_cv_use_ipc='wxUSE_IPC=yes'
6334 wx_cv_use_ipc='wxUSE_IPC=no'
6339 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6344 eval "$wx_cv_use_ipc"
6346 if test x
"$enablestring" = xdisable
; then
6347 if test $wxUSE_IPC = no
; then
6356 { echo "$as_me:$LINENO: result: $result" >&5
6357 echo "${ECHO_T}$result" >&6; }
6362 defaultval
=$wxUSE_ALL_FEATURES
6363 if test -z "$defaultval"; then
6364 if test x
"$enablestring" = xdisable
; then
6371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6372 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6373 # Check whether --enable-baseevtloop was given.
6374 if test "${enable_baseevtloop+set}" = set; then
6375 enableval
=$enable_baseevtloop;
6376 if test "$enableval" = yes; then
6377 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=yes'
6379 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=no'
6384 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6389 eval "$wx_cv_use_baseevtloop"
6391 if test x"$enablestring" = xdisable; then
6392 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6398 result=$wxUSE_CONSOLE_EVENTLOOP
6401 { echo "$as_me:$LINENO: result: $result" >&5
6402 echo "${ECHO_T}$result" >&6; }
6406 defaultval=$wxUSE_ALL_FEATURES
6407 if test -z "$defaultval"; then
6408 if test x"$enablestring" = xdisable; then
6415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6416 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6417 # Check whether --enable-epollloop was given.
6418 if test "${enable_epollloop+set}" = set; then
6419 enableval=$enable_epollloop;
6420 if test "$enableval" = yes; then
6421 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=yes'
6423 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=no
'
6428 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6433 eval "$wx_cv_use_epollloop"
6435 if test x"$enablestring" = xdisable; then
6436 if test $wxUSE_EPOLL_DISPATCHER = no; then
6442 result=$wxUSE_EPOLL_DISPATCHER
6445 { echo "$as_me:$LINENO: result
: $result" >&5
6446 echo "${ECHO_T}$result" >&6; }
6450 defaultval=$wxUSE_ALL_FEATURES
6451 if test -z "$defaultval"; then
6452 if test x"$enablestring" = xdisable; then
6459 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-selectloop" >&5
6460 echo $ECHO_N "checking
for --${enablestring:-enable}-selectloop...
$ECHO_C" >&6; }
6461 # Check whether --enable-selectloop was given.
6462 if test "${enable_selectloop+set}" = set; then
6463 enableval=$enable_selectloop;
6464 if test "$enableval" = yes; then
6465 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6467 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6472 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6477 eval "$wx_cv_use_selectloop"
6479 if test x
"$enablestring" = xdisable
; then
6480 if test $wxUSE_SELECT_DISPATCHER = no
; then
6486 result
=$wxUSE_SELECT_DISPATCHER
6489 { echo "$as_me:$LINENO: result: $result" >&5
6490 echo "${ECHO_T}$result" >&6; }
6495 defaultval
=$wxUSE_ALL_FEATURES
6496 if test -z "$defaultval"; then
6497 if test x
"$enablestring" = xdisable
; then
6504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6505 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6506 # Check whether --enable-any was given.
6507 if test "${enable_any+set}" = set; then
6508 enableval
=$enable_any;
6509 if test "$enableval" = yes; then
6510 wx_cv_use_any
='wxUSE_ANY=yes'
6512 wx_cv_use_any
='wxUSE_ANY=no'
6517 wx_cv_use_any
='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6522 eval "$wx_cv_use_any"
6524 if test x"$enablestring" = xdisable; then
6525 if test $wxUSE_ANY = no; then
6534 { echo "$as_me:$LINENO: result: $result" >&5
6535 echo "${ECHO_T}$result" >&6; }
6539 defaultval=$wxUSE_ALL_FEATURES
6540 if test -z "$defaultval"; then
6541 if test x"$enablestring" = xdisable; then
6548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6549 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6550 # Check whether --enable-apple_ieee was given.
6551 if test "${enable_apple_ieee+set}" = set; then
6552 enableval=$enable_apple_ieee;
6553 if test "$enableval" = yes; then
6554 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6556 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6561 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6566 eval "$wx_cv_use_apple_ieee"
6568 if test x"$enablestring" = xdisable; then
6569 if test $wxUSE_APPLE_IEEE = no; then
6575 result=$wxUSE_APPLE_IEEE
6578 { echo "$as_me:$LINENO: result
: $result" >&5
6579 echo "${ECHO_T}$result" >&6; }
6583 defaultval=$wxUSE_ALL_FEATURES
6584 if test -z "$defaultval"; then
6585 if test x"$enablestring" = xdisable; then
6592 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
6593 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6; }
6594 # Check whether --enable-arcstream was given.
6595 if test "${enable_arcstream+set}" = set; then
6596 enableval=$enable_arcstream;
6597 if test "$enableval" = yes; then
6598 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6600 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6605 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6610 eval "$wx_cv_use_arcstream"
6612 if test x
"$enablestring" = xdisable
; then
6613 if test $wxUSE_ARCHIVE_STREAMS = no
; then
6619 result
=$wxUSE_ARCHIVE_STREAMS
6622 { echo "$as_me:$LINENO: result: $result" >&5
6623 echo "${ECHO_T}$result" >&6; }
6627 defaultval
=$wxUSE_ALL_FEATURES
6628 if test -z "$defaultval"; then
6629 if test x
"$enablestring" = xdisable
; then
6636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6637 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6638 # Check whether --enable-base64 was given.
6639 if test "${enable_base64+set}" = set; then
6640 enableval
=$enable_base64;
6641 if test "$enableval" = yes; then
6642 wx_cv_use_base64
='wxUSE_BASE64=yes'
6644 wx_cv_use_base64
='wxUSE_BASE64=no'
6649 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6654 eval "$wx_cv_use_base64"
6656 if test x"$enablestring" = xdisable; then
6657 if test $wxUSE_BASE64 = no; then
6663 result=$wxUSE_BASE64
6666 { echo "$as_me:$LINENO: result: $result" >&5
6667 echo "${ECHO_T}$result" >&6; }
6671 defaultval=$wxUSE_ALL_FEATURES
6672 if test -z "$defaultval"; then
6673 if test x"$enablestring" = xdisable; then
6680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6681 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6682 # Check whether --enable-backtrace was given.
6683 if test "${enable_backtrace+set}" = set; then
6684 enableval=$enable_backtrace;
6685 if test "$enableval" = yes; then
6686 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
6688 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
6693 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6698 eval "$wx_cv_use_backtrace"
6700 if test x"$enablestring" = xdisable; then
6701 if test $wxUSE_STACKWALKER = no; then
6707 result=$wxUSE_STACKWALKER
6710 { echo "$as_me:$LINENO: result
: $result" >&5
6711 echo "${ECHO_T}$result" >&6; }
6715 defaultval=$wxUSE_ALL_FEATURES
6716 if test -z "$defaultval"; then
6717 if test x"$enablestring" = xdisable; then
6724 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-catch_segvs" >&5
6725 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6; }
6726 # Check whether --enable-catch_segvs was given.
6727 if test "${enable_catch_segvs+set}" = set; then
6728 enableval=$enable_catch_segvs;
6729 if test "$enableval" = yes; then
6730 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6732 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6737 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6742 eval "$wx_cv_use_catch_segvs"
6744 if test x
"$enablestring" = xdisable
; then
6745 if test $wxUSE_ON_FATAL_EXCEPTION = no
; then
6751 result
=$wxUSE_ON_FATAL_EXCEPTION
6754 { echo "$as_me:$LINENO: result: $result" >&5
6755 echo "${ECHO_T}$result" >&6; }
6759 defaultval
=$wxUSE_ALL_FEATURES
6760 if test -z "$defaultval"; then
6761 if test x
"$enablestring" = xdisable
; then
6768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6769 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6770 # Check whether --enable-cmdline was given.
6771 if test "${enable_cmdline+set}" = set; then
6772 enableval
=$enable_cmdline;
6773 if test "$enableval" = yes; then
6774 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
6776 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
6781 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6786 eval "$wx_cv_use_cmdline"
6788 if test x"$enablestring" = xdisable; then
6789 if test $wxUSE_CMDLINE_PARSER = no; then
6795 result=$wxUSE_CMDLINE_PARSER
6798 { echo "$as_me:$LINENO: result: $result" >&5
6799 echo "${ECHO_T}$result" >&6; }
6803 defaultval=$wxUSE_ALL_FEATURES
6804 if test -z "$defaultval"; then
6805 if test x"$enablestring" = xdisable; then
6812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6813 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6814 # Check whether --enable-datetime was given.
6815 if test "${enable_datetime+set}" = set; then
6816 enableval=$enable_datetime;
6817 if test "$enableval" = yes; then
6818 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
6820 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
6825 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6830 eval "$wx_cv_use_datetime"
6832 if test x"$enablestring" = xdisable; then
6833 if test $wxUSE_DATETIME = no; then
6839 result=$wxUSE_DATETIME
6842 { echo "$as_me:$LINENO: result
: $result" >&5
6843 echo "${ECHO_T}$result" >&6; }
6847 defaultval=$wxUSE_ALL_FEATURES
6848 if test -z "$defaultval"; then
6849 if test x"$enablestring" = xdisable; then
6856 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
6857 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6; }
6858 # Check whether --enable-debugreport was given.
6859 if test "${enable_debugreport+set}" = set; then
6860 enableval=$enable_debugreport;
6861 if test "$enableval" = yes; then
6862 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6864 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6869 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6874 eval "$wx_cv_use_debugreport"
6876 if test x
"$enablestring" = xdisable
; then
6877 if test $wxUSE_DEBUGREPORT = no
; then
6883 result
=$wxUSE_DEBUGREPORT
6886 { echo "$as_me:$LINENO: result: $result" >&5
6887 echo "${ECHO_T}$result" >&6; }
6891 defaultval
=$wxUSE_ALL_FEATURES
6892 if test -z "$defaultval"; then
6893 if test x
"$enablestring" = xdisable
; then
6900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6901 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6902 # Check whether --enable-dialupman was given.
6903 if test "${enable_dialupman+set}" = set; then
6904 enableval
=$enable_dialupman;
6905 if test "$enableval" = yes; then
6906 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
6908 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
6913 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6918 eval "$wx_cv_use_dialupman"
6920 if test x"$enablestring" = xdisable; then
6921 if test $wxUSE_DIALUP_MANAGER = no; then
6927 result=$wxUSE_DIALUP_MANAGER
6930 { echo "$as_me:$LINENO: result: $result" >&5
6931 echo "${ECHO_T}$result" >&6; }
6935 defaultval=$wxUSE_ALL_FEATURES
6936 if test -z "$defaultval"; then
6937 if test x"$enablestring" = xdisable; then
6944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6945 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6946 # Check whether --enable-dynlib was given.
6947 if test "${enable_dynlib+set}" = set; then
6948 enableval=$enable_dynlib;
6949 if test "$enableval" = yes; then
6950 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
6952 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
6957 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6962 eval "$wx_cv_use_dynlib"
6964 if test x"$enablestring" = xdisable; then
6965 if test $wxUSE_DYNLIB_CLASS = no; then
6971 result=$wxUSE_DYNLIB_CLASS
6974 { echo "$as_me:$LINENO: result
: $result" >&5
6975 echo "${ECHO_T}$result" >&6; }
6979 defaultval=$wxUSE_ALL_FEATURES
6980 if test -z "$defaultval"; then
6981 if test x"$enablestring" = xdisable; then
6988 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
6989 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6; }
6990 # Check whether --enable-dynamicloader was given.
6991 if test "${enable_dynamicloader+set}" = set; then
6992 enableval=$enable_dynamicloader;
6993 if test "$enableval" = yes; then
6994 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6996 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7001 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7006 eval "$wx_cv_use_dynamicloader"
7008 if test x
"$enablestring" = xdisable
; then
7009 if test $wxUSE_DYNAMIC_LOADER = no
; then
7015 result
=$wxUSE_DYNAMIC_LOADER
7018 { echo "$as_me:$LINENO: result: $result" >&5
7019 echo "${ECHO_T}$result" >&6; }
7023 defaultval
=$wxUSE_ALL_FEATURES
7024 if test -z "$defaultval"; then
7025 if test x
"$enablestring" = xdisable
; then
7032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7033 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7034 # Check whether --enable-exceptions was given.
7035 if test "${enable_exceptions+set}" = set; then
7036 enableval
=$enable_exceptions;
7037 if test "$enableval" = yes; then
7038 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
7040 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
7045 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7050 eval "$wx_cv_use_exceptions"
7052 if test x"$enablestring" = xdisable; then
7053 if test $wxUSE_EXCEPTIONS = no; then
7059 result=$wxUSE_EXCEPTIONS
7062 { echo "$as_me:$LINENO: result: $result" >&5
7063 echo "${ECHO_T}$result" >&6; }
7067 defaultval=$wxUSE_ALL_FEATURES
7068 if test -z "$defaultval"; then
7069 if test x"$enablestring" = xdisable; then
7076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7077 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7078 # Check whether --enable-ffile was given.
7079 if test "${enable_ffile+set}" = set; then
7080 enableval=$enable_ffile;
7081 if test "$enableval" = yes; then
7082 wx_cv_use_ffile='wxUSE_FFILE
=yes'
7084 wx_cv_use_ffile='wxUSE_FFILE
=no
'
7089 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7094 eval "$wx_cv_use_ffile"
7096 if test x"$enablestring" = xdisable; then
7097 if test $wxUSE_FFILE = no; then
7106 { echo "$as_me:$LINENO: result
: $result" >&5
7107 echo "${ECHO_T}$result" >&6; }
7111 defaultval=$wxUSE_ALL_FEATURES
7112 if test -z "$defaultval"; then
7113 if test x"$enablestring" = xdisable; then
7120 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
7121 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6; }
7122 # Check whether --enable-file was given.
7123 if test "${enable_file+set}" = set; then
7124 enableval=$enable_file;
7125 if test "$enableval" = yes; then
7126 wx_cv_use_file='wxUSE_FILE=yes'
7128 wx_cv_use_file='wxUSE_FILE=no'
7133 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7138 eval "$wx_cv_use_file"
7140 if test x
"$enablestring" = xdisable
; then
7141 if test $wxUSE_FILE = no
; then
7150 { echo "$as_me:$LINENO: result: $result" >&5
7151 echo "${ECHO_T}$result" >&6; }
7155 defaultval
=$wxUSE_ALL_FEATURES
7156 if test -z "$defaultval"; then
7157 if test x
"$enablestring" = xdisable
; then
7164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7165 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7166 # Check whether --enable-filehistory was given.
7167 if test "${enable_filehistory+set}" = set; then
7168 enableval
=$enable_filehistory;
7169 if test "$enableval" = yes; then
7170 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=yes'
7172 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=no'
7177 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7182 eval "$wx_cv_use_filehistory"
7184 if test x"$enablestring" = xdisable; then
7185 if test $wxUSE_FILE_HISTORY = no; then
7191 result=$wxUSE_FILE_HISTORY
7194 { echo "$as_me:$LINENO: result: $result" >&5
7195 echo "${ECHO_T}$result" >&6; }
7199 defaultval=$wxUSE_ALL_FEATURES
7200 if test -z "$defaultval"; then
7201 if test x"$enablestring" = xdisable; then
7208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7209 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7210 # Check whether --enable-filesystem was given.
7211 if test "${enable_filesystem+set}" = set; then
7212 enableval=$enable_filesystem;
7213 if test "$enableval" = yes; then
7214 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
7216 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
7221 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7226 eval "$wx_cv_use_filesystem"
7228 if test x"$enablestring" = xdisable; then
7229 if test $wxUSE_FILESYSTEM = no; then
7235 result=$wxUSE_FILESYSTEM
7238 { echo "$as_me:$LINENO: result
: $result" >&5
7239 echo "${ECHO_T}$result" >&6; }
7243 defaultval=$wxUSE_ALL_FEATURES
7244 if test -z "$defaultval"; then
7245 if test x"$enablestring" = xdisable; then
7252 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontenum" >&5
7253 echo $ECHO_N "checking
for --${enablestring:-enable}-fontenum...
$ECHO_C" >&6; }
7254 # Check whether --enable-fontenum was given.
7255 if test "${enable_fontenum+set}" = set; then
7256 enableval=$enable_fontenum;
7257 if test "$enableval" = yes; then
7258 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7260 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7265 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7270 eval "$wx_cv_use_fontenum"
7272 if test x
"$enablestring" = xdisable
; then
7273 if test $wxUSE_FONTENUM = no
; then
7279 result
=$wxUSE_FONTENUM
7282 { echo "$as_me:$LINENO: result: $result" >&5
7283 echo "${ECHO_T}$result" >&6; }
7287 defaultval
=$wxUSE_ALL_FEATURES
7288 if test -z "$defaultval"; then
7289 if test x
"$enablestring" = xdisable
; then
7296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7297 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7298 # Check whether --enable-fontmap was given.
7299 if test "${enable_fontmap+set}" = set; then
7300 enableval
=$enable_fontmap;
7301 if test "$enableval" = yes; then
7302 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
7304 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
7309 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7314 eval "$wx_cv_use_fontmap"
7316 if test x"$enablestring" = xdisable; then
7317 if test $wxUSE_FONTMAP = no; then
7323 result=$wxUSE_FONTMAP
7326 { echo "$as_me:$LINENO: result: $result" >&5
7327 echo "${ECHO_T}$result" >&6; }
7331 defaultval=$wxUSE_ALL_FEATURES
7332 if test -z "$defaultval"; then
7333 if test x"$enablestring" = xdisable; then
7340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7341 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7342 # Check whether --enable-fs_archive was given.
7343 if test "${enable_fs_archive+set}" = set; then
7344 enableval=$enable_fs_archive;
7345 if test "$enableval" = yes; then
7346 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
7348 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
7353 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7358 eval "$wx_cv_use_fs_archive"
7360 if test x"$enablestring" = xdisable; then
7361 if test $wxUSE_FS_ARCHIVE = no; then
7367 result=$wxUSE_FS_ARCHIVE
7370 { echo "$as_me:$LINENO: result
: $result" >&5
7371 echo "${ECHO_T}$result" >&6; }
7375 defaultval=$wxUSE_ALL_FEATURES
7376 if test -z "$defaultval"; then
7377 if test x"$enablestring" = xdisable; then
7384 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_inet" >&5
7385 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_inet...
$ECHO_C" >&6; }
7386 # Check whether --enable-fs_inet was given.
7387 if test "${enable_fs_inet+set}" = set; then
7388 enableval=$enable_fs_inet;
7389 if test "$enableval" = yes; then
7390 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7392 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7397 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7402 eval "$wx_cv_use_fs_inet"
7404 if test x
"$enablestring" = xdisable
; then
7405 if test $wxUSE_FS_INET = no
; then
7411 result
=$wxUSE_FS_INET
7414 { echo "$as_me:$LINENO: result: $result" >&5
7415 echo "${ECHO_T}$result" >&6; }
7419 defaultval
=$wxUSE_ALL_FEATURES
7420 if test -z "$defaultval"; then
7421 if test x
"$enablestring" = xdisable
; then
7428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7429 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7430 # Check whether --enable-fs_zip was given.
7431 if test "${enable_fs_zip+set}" = set; then
7432 enableval
=$enable_fs_zip;
7433 if test "$enableval" = yes; then
7434 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
7436 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
7441 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7446 eval "$wx_cv_use_fs_zip"
7448 if test x"$enablestring" = xdisable; then
7449 if test $wxUSE_FS_ZIP = no; then
7455 result=$wxUSE_FS_ZIP
7458 { echo "$as_me:$LINENO: result: $result" >&5
7459 echo "${ECHO_T}$result" >&6; }
7463 defaultval=$wxUSE_ALL_FEATURES
7464 if test -z "$defaultval"; then
7465 if test x"$enablestring" = xdisable; then
7472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7473 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7474 # Check whether --enable-fswatcher was given.
7475 if test "${enable_fswatcher+set}" = set; then
7476 enableval=$enable_fswatcher;
7477 if test "$enableval" = yes; then
7478 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=yes'
7480 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=no
'
7485 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7490 eval "$wx_cv_use_fswatcher"
7492 if test x"$enablestring" = xdisable; then
7493 if test $wxUSE_FSWATCHER = no; then
7499 result=$wxUSE_FSWATCHER
7502 { echo "$as_me:$LINENO: result
: $result" >&5
7503 echo "${ECHO_T}$result" >&6; }
7507 defaultval=$wxUSE_ALL_FEATURES
7508 if test -z "$defaultval"; then
7509 if test x"$enablestring" = xdisable; then
7516 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-geometry" >&5
7517 echo $ECHO_N "checking
for --${enablestring:-enable}-geometry...
$ECHO_C" >&6; }
7518 # Check whether --enable-geometry was given.
7519 if test "${enable_geometry+set}" = set; then
7520 enableval=$enable_geometry;
7521 if test "$enableval" = yes; then
7522 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7524 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7529 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7534 eval "$wx_cv_use_geometry"
7536 if test x
"$enablestring" = xdisable
; then
7537 if test $wxUSE_GEOMETRY = no
; then
7543 result
=$wxUSE_GEOMETRY
7546 { echo "$as_me:$LINENO: result: $result" >&5
7547 echo "${ECHO_T}$result" >&6; }
7551 defaultval
=$wxUSE_ALL_FEATURES
7552 if test -z "$defaultval"; then
7553 if test x
"$enablestring" = xdisable
; then
7560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7561 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7562 # Check whether --enable-log was given.
7563 if test "${enable_log+set}" = set; then
7564 enableval
=$enable_log;
7565 if test "$enableval" = yes; then
7566 wx_cv_use_log
='wxUSE_LOG=yes'
7568 wx_cv_use_log
='wxUSE_LOG=no'
7573 wx_cv_use_log
='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7578 eval "$wx_cv_use_log"
7580 if test x"$enablestring" = xdisable; then
7581 if test $wxUSE_LOG = no; then
7590 { echo "$as_me:$LINENO: result: $result" >&5
7591 echo "${ECHO_T}$result" >&6; }
7595 defaultval=$wxUSE_ALL_FEATURES
7596 if test -z "$defaultval"; then
7597 if test x"$enablestring" = xdisable; then
7604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7605 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7606 # Check whether --enable-longlong was given.
7607 if test "${enable_longlong+set}" = set; then
7608 enableval=$enable_longlong;
7609 if test "$enableval" = yes; then
7610 wx_cv_use_longlong='wxUSE_LONGLONG
=yes'
7612 wx_cv_use_longlong='wxUSE_LONGLONG
=no
'
7617 wx_cv_use_longlong='wxUSE_LONGLONG
=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7622 eval "$wx_cv_use_longlong"
7624 if test x"$enablestring" = xdisable; then
7625 if test $wxUSE_LONGLONG = no; then
7631 result=$wxUSE_LONGLONG
7634 { echo "$as_me:$LINENO: result
: $result" >&5
7635 echo "${ECHO_T}$result" >&6; }
7639 defaultval=$wxUSE_ALL_FEATURES
7640 if test -z "$defaultval"; then
7641 if test x"$enablestring" = xdisable; then
7648 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mimetype" >&5
7649 echo $ECHO_N "checking
for --${enablestring:-enable}-mimetype...
$ECHO_C" >&6; }
7650 # Check whether --enable-mimetype was given.
7651 if test "${enable_mimetype+set}" = set; then
7652 enableval=$enable_mimetype;
7653 if test "$enableval" = yes; then
7654 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7656 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7661 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7666 eval "$wx_cv_use_mimetype"
7668 if test x
"$enablestring" = xdisable
; then
7669 if test $wxUSE_MIMETYPE = no
; then
7675 result
=$wxUSE_MIMETYPE
7678 { echo "$as_me:$LINENO: result: $result" >&5
7679 echo "${ECHO_T}$result" >&6; }
7683 defaultval
=$wxUSE_ALL_FEATURES
7684 if test -z "$defaultval"; then
7685 if test x
"$enablestring" = xdisable
; then
7692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7693 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7694 # Check whether --enable-printfposparam was given.
7695 if test "${enable_printfposparam+set}" = set; then
7696 enableval
=$enable_printfposparam;
7697 if test "$enableval" = yes; then
7698 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
7700 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
7705 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7710 eval "$wx_cv_use_printfposparam"
7712 if test x"$enablestring" = xdisable; then
7713 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7719 result=$wxUSE_PRINTF_POS_PARAMS
7722 { echo "$as_me:$LINENO: result: $result" >&5
7723 echo "${ECHO_T}$result" >&6; }
7727 defaultval=$wxUSE_ALL_FEATURES
7728 if test -z "$defaultval"; then
7729 if test x"$enablestring" = xdisable; then
7736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7737 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7738 # Check whether --enable-snglinst was given.
7739 if test "${enable_snglinst+set}" = set; then
7740 enableval=$enable_snglinst;
7741 if test "$enableval" = yes; then
7742 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
7744 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
7749 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7754 eval "$wx_cv_use_snglinst"
7756 if test x"$enablestring" = xdisable; then
7757 if test $wxUSE_SNGLINST_CHECKER = no; then
7763 result=$wxUSE_SNGLINST_CHECKER
7766 { echo "$as_me:$LINENO: result
: $result" >&5
7767 echo "${ECHO_T}$result" >&6; }
7771 defaultval=$wxUSE_ALL_FEATURES
7772 if test -z "$defaultval"; then
7773 if test x"$enablestring" = xdisable; then
7780 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sound" >&5
7781 echo $ECHO_N "checking
for --${enablestring:-enable}-sound...
$ECHO_C" >&6; }
7782 # Check whether --enable-sound was given.
7783 if test "${enable_sound+set}" = set; then
7784 enableval=$enable_sound;
7785 if test "$enableval" = yes; then
7786 wx_cv_use_sound='wxUSE_SOUND=yes'
7788 wx_cv_use_sound='wxUSE_SOUND=no'
7793 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7798 eval "$wx_cv_use_sound"
7800 if test x
"$enablestring" = xdisable
; then
7801 if test $wxUSE_SOUND = no
; then
7810 { echo "$as_me:$LINENO: result: $result" >&5
7811 echo "${ECHO_T}$result" >&6; }
7815 defaultval
=$wxUSE_ALL_FEATURES
7816 if test -z "$defaultval"; then
7817 if test x
"$enablestring" = xdisable
; then
7824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7825 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7826 # Check whether --enable-stdpaths was given.
7827 if test "${enable_stdpaths+set}" = set; then
7828 enableval
=$enable_stdpaths;
7829 if test "$enableval" = yes; then
7830 wx_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
7832 wx_cv_use_stdpaths
='wxUSE_STDPATHS=no'
7837 wx_cv_use_stdpaths
='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7842 eval "$wx_cv_use_stdpaths"
7844 if test x"$enablestring" = xdisable; then
7845 if test $wxUSE_STDPATHS = no; then
7851 result=$wxUSE_STDPATHS
7854 { echo "$as_me:$LINENO: result: $result" >&5
7855 echo "${ECHO_T}$result" >&6; }
7859 defaultval=$wxUSE_ALL_FEATURES
7860 if test -z "$defaultval"; then
7861 if test x"$enablestring" = xdisable; then
7868 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7869 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7870 # Check whether --enable-stopwatch was given.
7871 if test "${enable_stopwatch+set}" = set; then
7872 enableval=$enable_stopwatch;
7873 if test "$enableval" = yes; then
7874 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
7876 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
7881 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7886 eval "$wx_cv_use_stopwatch"
7888 if test x"$enablestring" = xdisable; then
7889 if test $wxUSE_STOPWATCH = no; then
7895 result=$wxUSE_STOPWATCH
7898 { echo "$as_me:$LINENO: result
: $result" >&5
7899 echo "${ECHO_T}$result" >&6; }
7903 defaultval=$wxUSE_ALL_FEATURES
7904 if test -z "$defaultval"; then
7905 if test x"$enablestring" = xdisable; then
7912 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-streams" >&5
7913 echo $ECHO_N "checking
for --${enablestring:-enable}-streams...
$ECHO_C" >&6; }
7914 # Check whether --enable-streams was given.
7915 if test "${enable_streams+set}" = set; then
7916 enableval=$enable_streams;
7917 if test "$enableval" = yes; then
7918 wx_cv_use_streams='wxUSE_STREAMS=yes'
7920 wx_cv_use_streams='wxUSE_STREAMS=no'
7925 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7930 eval "$wx_cv_use_streams"
7932 if test x
"$enablestring" = xdisable
; then
7933 if test $wxUSE_STREAMS = no
; then
7939 result
=$wxUSE_STREAMS
7942 { echo "$as_me:$LINENO: result: $result" >&5
7943 echo "${ECHO_T}$result" >&6; }
7947 defaultval
=$wxUSE_ALL_FEATURES
7948 if test -z "$defaultval"; then
7949 if test x
"$enablestring" = xdisable
; then
7956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7957 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7958 # Check whether --enable-sysoptions was given.
7959 if test "${enable_sysoptions+set}" = set; then
7960 enableval
=$enable_sysoptions;
7961 if test "$enableval" = yes; then
7962 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=yes'
7964 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=no'
7969 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7974 eval "$wx_cv_use_sysoptions"
7976 if test x"$enablestring" = xdisable; then
7977 if test $wxUSE_SYSTEM_OPTIONS = no; then
7983 result=$wxUSE_SYSTEM_OPTIONS
7986 { echo "$as_me:$LINENO: result: $result" >&5
7987 echo "${ECHO_T}$result" >&6; }
7991 defaultval=$wxUSE_ALL_FEATURES
7992 if test -z "$defaultval"; then
7993 if test x"$enablestring" = xdisable; then
8000 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8001 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8002 # Check whether --enable-tarstream was given.
8003 if test "${enable_tarstream+set}" = set; then
8004 enableval=$enable_tarstream;
8005 if test "$enableval" = yes; then
8006 wx_cv_use_tarstream='wxUSE_TARSTREAM
=yes'
8008 wx_cv_use_tarstream='wxUSE_TARSTREAM
=no
'
8013 wx_cv_use_tarstream='wxUSE_TARSTREAM
=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8018 eval "$wx_cv_use_tarstream"
8020 if test x"$enablestring" = xdisable; then
8021 if test $wxUSE_TARSTREAM = no; then
8027 result=$wxUSE_TARSTREAM
8030 { echo "$as_me:$LINENO: result
: $result" >&5
8031 echo "${ECHO_T}$result" >&6; }
8035 defaultval=$wxUSE_ALL_FEATURES
8036 if test -z "$defaultval"; then
8037 if test x"$enablestring" = xdisable; then
8044 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textbuf" >&5
8045 echo $ECHO_N "checking
for --${enablestring:-enable}-textbuf...
$ECHO_C" >&6; }
8046 # Check whether --enable-textbuf was given.
8047 if test "${enable_textbuf+set}" = set; then
8048 enableval=$enable_textbuf;
8049 if test "$enableval" = yes; then
8050 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8052 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8057 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8062 eval "$wx_cv_use_textbuf"
8064 if test x
"$enablestring" = xdisable
; then
8065 if test $wxUSE_TEXTBUFFER = no
; then
8071 result
=$wxUSE_TEXTBUFFER
8074 { echo "$as_me:$LINENO: result: $result" >&5
8075 echo "${ECHO_T}$result" >&6; }
8079 defaultval
=$wxUSE_ALL_FEATURES
8080 if test -z "$defaultval"; then
8081 if test x
"$enablestring" = xdisable
; then
8088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8089 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8090 # Check whether --enable-textfile was given.
8091 if test "${enable_textfile+set}" = set; then
8092 enableval
=$enable_textfile;
8093 if test "$enableval" = yes; then
8094 wx_cv_use_textfile
='wxUSE_TEXTFILE=yes'
8096 wx_cv_use_textfile
='wxUSE_TEXTFILE=no'
8101 wx_cv_use_textfile
='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8106 eval "$wx_cv_use_textfile"
8108 if test x"$enablestring" = xdisable; then
8109 if test $wxUSE_TEXTFILE = no; then
8115 result=$wxUSE_TEXTFILE
8118 { echo "$as_me:$LINENO: result: $result" >&5
8119 echo "${ECHO_T}$result" >&6; }
8123 defaultval=$wxUSE_ALL_FEATURES
8124 if test -z "$defaultval"; then
8125 if test x"$enablestring" = xdisable; then
8132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8133 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8134 # Check whether --enable-timer was given.
8135 if test "${enable_timer+set}" = set; then
8136 enableval=$enable_timer;
8137 if test "$enableval" = yes; then
8138 wx_cv_use_timer='wxUSE_TIMER
=yes'
8140 wx_cv_use_timer='wxUSE_TIMER
=no
'
8145 wx_cv_use_timer='wxUSE_TIMER
=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8150 eval "$wx_cv_use_timer"
8152 if test x"$enablestring" = xdisable; then
8153 if test $wxUSE_TIMER = no; then
8162 { echo "$as_me:$LINENO: result
: $result" >&5
8163 echo "${ECHO_T}$result" >&6; }
8167 defaultval=$wxUSE_ALL_FEATURES
8168 if test -z "$defaultval"; then
8169 if test x"$enablestring" = xdisable; then
8176 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-variant" >&5
8177 echo $ECHO_N "checking
for --${enablestring:-enable}-variant...
$ECHO_C" >&6; }
8178 # Check whether --enable-variant was given.
8179 if test "${enable_variant+set}" = set; then
8180 enableval=$enable_variant;
8181 if test "$enableval" = yes; then
8182 wx_cv_use_variant='wxUSE_VARIANT=yes'
8184 wx_cv_use_variant='wxUSE_VARIANT=no'
8189 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8194 eval "$wx_cv_use_variant"
8196 if test x
"$enablestring" = xdisable
; then
8197 if test $wxUSE_VARIANT = no
; then
8203 result
=$wxUSE_VARIANT
8206 { echo "$as_me:$LINENO: result: $result" >&5
8207 echo "${ECHO_T}$result" >&6; }
8211 defaultval
=$wxUSE_ALL_FEATURES
8212 if test -z "$defaultval"; then
8213 if test x
"$enablestring" = xdisable
; then
8220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8221 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8222 # Check whether --enable-zipstream was given.
8223 if test "${enable_zipstream+set}" = set; then
8224 enableval
=$enable_zipstream;
8225 if test "$enableval" = yes; then
8226 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
8228 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
8233 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8238 eval "$wx_cv_use_zipstream"
8240 if test x"$enablestring" = xdisable; then
8241 if test $wxUSE_ZIPSTREAM = no; then
8247 result=$wxUSE_ZIPSTREAM
8250 { echo "$as_me:$LINENO: result: $result" >&5
8251 echo "${ECHO_T}$result" >&6; }
8256 defaultval=$wxUSE_ALL_FEATURES
8257 if test -z "$defaultval"; then
8258 if test x"$enablestring" = xdisable; then
8265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8266 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8267 # Check whether --enable-url was given.
8268 if test "${enable_url+set}" = set; then
8269 enableval=$enable_url;
8270 if test "$enableval" = yes; then
8271 wx_cv_use_url='wxUSE_URL
=yes'
8273 wx_cv_use_url='wxUSE_URL
=no
'
8278 wx_cv_use_url='wxUSE_URL
=${'DEFAULT_wxUSE_URL":-$defaultval}"
8283 eval "$wx_cv_use_url"
8285 if test x"$enablestring" = xdisable; then
8286 if test $wxUSE_URL = no; then
8295 { echo "$as_me:$LINENO: result
: $result" >&5
8296 echo "${ECHO_T}$result" >&6; }
8300 defaultval=$wxUSE_ALL_FEATURES
8301 if test -z "$defaultval"; then
8302 if test x"$enablestring" = xdisable; then
8309 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol" >&5
8310 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol...
$ECHO_C" >&6; }
8311 # Check whether --enable-protocol was given.
8312 if test "${enable_protocol+set}" = set; then
8313 enableval=$enable_protocol;
8314 if test "$enableval" = yes; then
8315 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8317 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8322 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8327 eval "$wx_cv_use_protocol"
8329 if test x
"$enablestring" = xdisable
; then
8330 if test $wxUSE_PROTOCOL = no
; then
8336 result
=$wxUSE_PROTOCOL
8339 { echo "$as_me:$LINENO: result: $result" >&5
8340 echo "${ECHO_T}$result" >&6; }
8344 defaultval
=$wxUSE_ALL_FEATURES
8345 if test -z "$defaultval"; then
8346 if test x
"$enablestring" = xdisable
; then
8353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8354 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8355 # Check whether --enable-protocol_http was given.
8356 if test "${enable_protocol_http+set}" = set; then
8357 enableval
=$enable_protocol_http;
8358 if test "$enableval" = yes; then
8359 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
8361 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
8366 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8371 eval "$wx_cv_use_protocol_http"
8373 if test x"$enablestring" = xdisable; then
8374 if test $wxUSE_PROTOCOL_HTTP = no; then
8380 result=$wxUSE_PROTOCOL_HTTP
8383 { echo "$as_me:$LINENO: result: $result" >&5
8384 echo "${ECHO_T}$result" >&6; }
8388 defaultval=$wxUSE_ALL_FEATURES
8389 if test -z "$defaultval"; then
8390 if test x"$enablestring" = xdisable; then
8397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8398 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8399 # Check whether --enable-protocol_ftp was given.
8400 if test "${enable_protocol_ftp+set}" = set; then
8401 enableval=$enable_protocol_ftp;
8402 if test "$enableval" = yes; then
8403 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
8405 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
8410 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8415 eval "$wx_cv_use_protocol_ftp"
8417 if test x"$enablestring" = xdisable; then
8418 if test $wxUSE_PROTOCOL_FTP = no; then
8424 result=$wxUSE_PROTOCOL_FTP
8427 { echo "$as_me:$LINENO: result
: $result" >&5
8428 echo "${ECHO_T}$result" >&6; }
8432 defaultval=$wxUSE_ALL_FEATURES
8433 if test -z "$defaultval"; then
8434 if test x"$enablestring" = xdisable; then
8441 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_file" >&5
8442 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_file...
$ECHO_C" >&6; }
8443 # Check whether --enable-protocol_file was given.
8444 if test "${enable_protocol_file+set}" = set; then
8445 enableval=$enable_protocol_file;
8446 if test "$enableval" = yes; then
8447 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8449 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8454 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8459 eval "$wx_cv_use_protocol_file"
8461 if test x
"$enablestring" = xdisable
; then
8462 if test $wxUSE_PROTOCOL_FILE = no
; then
8468 result
=$wxUSE_PROTOCOL_FILE
8471 { echo "$as_me:$LINENO: result: $result" >&5
8472 echo "${ECHO_T}$result" >&6; }
8477 defaultval
=$wxUSE_ALL_FEATURES
8478 if test -z "$defaultval"; then
8479 if test x
"$enablestring" = xdisable
; then
8486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8487 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8488 # Check whether --enable-threads was given.
8489 if test "${enable_threads+set}" = set; then
8490 enableval
=$enable_threads;
8491 if test "$enableval" = yes; then
8492 wx_cv_use_threads
='wxUSE_THREADS=yes'
8494 wx_cv_use_threads
='wxUSE_THREADS=no'
8499 wx_cv_use_threads
='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8504 eval "$wx_cv_use_threads"
8506 if test x"$enablestring" = xdisable; then
8507 if test $wxUSE_THREADS = no; then
8513 result=$wxUSE_THREADS
8516 { echo "$as_me:$LINENO: result: $result" >&5
8517 echo "${ECHO_T}$result" >&6; }
8523 if test -z "$defaultval"; then
8524 if test x"$enablestring" = xdisable; then
8531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8532 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8533 # Check whether --enable-iniconf was given.
8534 if test "${enable_iniconf+set}" = set; then
8535 enableval=$enable_iniconf;
8536 if test "$enableval" = yes; then
8537 wx_cv_use_iniconf='wxUSE_INICONF
=yes'
8539 wx_cv_use_iniconf='wxUSE_INICONF
=no
'
8544 wx_cv_use_iniconf='wxUSE_INICONF
=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8549 eval "$wx_cv_use_iniconf"
8551 if test x"$enablestring" = xdisable; then
8552 if test $wxUSE_INICONF = no; then
8558 result=$wxUSE_INICONF
8561 { echo "$as_me:$LINENO: result
: $result" >&5
8562 echo "${ECHO_T}$result" >&6; }
8566 defaultval=$wxUSE_ALL_FEATURES
8567 if test -z "$defaultval"; then
8568 if test x"$enablestring" = xdisable; then
8575 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-regkey" >&5
8576 echo $ECHO_N "checking
for --${enablestring:-enable}-regkey...
$ECHO_C" >&6; }
8577 # Check whether --enable-regkey was given.
8578 if test "${enable_regkey+set}" = set; then
8579 enableval=$enable_regkey;
8580 if test "$enableval" = yes; then
8581 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8583 wx_cv_use_regkey='wxUSE_REGKEY=no'
8588 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8593 eval "$wx_cv_use_regkey"
8595 if test x
"$enablestring" = xdisable
; then
8596 if test $wxUSE_REGKEY = no
; then
8602 result
=$wxUSE_REGKEY
8605 { echo "$as_me:$LINENO: result: $result" >&5
8606 echo "${ECHO_T}$result" >&6; }
8609 if test "$wxUSE_GUI" = "yes"; then
8614 defaultval
=$wxUSE_ALL_FEATURES
8615 if test -z "$defaultval"; then
8616 if test x
"$enablestring" = xdisable
; then
8623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8624 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8625 # Check whether --enable-docview was given.
8626 if test "${enable_docview+set}" = set; then
8627 enableval
=$enable_docview;
8628 if test "$enableval" = yes; then
8629 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8631 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8636 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8641 eval "$wx_cv_use_docview"
8643 if test x"$enablestring" = xdisable; then
8644 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8650 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8653 { echo "$as_me:$LINENO: result: $result" >&5
8654 echo "${ECHO_T}$result" >&6; }
8658 defaultval=$wxUSE_ALL_FEATURES
8659 if test -z "$defaultval"; then
8660 if test x"$enablestring" = xdisable; then
8667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8668 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8669 # Check whether --enable-help was given.
8670 if test "${enable_help+set}" = set; then
8671 enableval=$enable_help;
8672 if test "$enableval" = yes; then
8673 wx_cv_use_help='wxUSE_HELP
=yes'
8675 wx_cv_use_help='wxUSE_HELP
=no
'
8680 wx_cv_use_help='wxUSE_HELP
=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8685 eval "$wx_cv_use_help"
8687 if test x"$enablestring" = xdisable; then
8688 if test $wxUSE_HELP = no; then
8697 { echo "$as_me:$LINENO: result
: $result" >&5
8698 echo "${ECHO_T}$result" >&6; }
8702 defaultval=$wxUSE_ALL_FEATURES
8703 if test -z "$defaultval"; then
8704 if test x"$enablestring" = xdisable; then
8711 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mshtmlhelp" >&5
8712 echo $ECHO_N "checking
for --${enablestring:-enable}-mshtmlhelp...
$ECHO_C" >&6; }
8713 # Check whether --enable-mshtmlhelp was given.
8714 if test "${enable_mshtmlhelp+set}" = set; then
8715 enableval=$enable_mshtmlhelp;
8716 if test "$enableval" = yes; then
8717 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8719 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8724 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8729 eval "$wx_cv_use_mshtmlhelp"
8731 if test x
"$enablestring" = xdisable
; then
8732 if test $wxUSE_MS_HTML_HELP = no
; then
8738 result
=$wxUSE_MS_HTML_HELP
8741 { echo "$as_me:$LINENO: result: $result" >&5
8742 echo "${ECHO_T}$result" >&6; }
8746 defaultval
=$wxUSE_ALL_FEATURES
8747 if test -z "$defaultval"; then
8748 if test x
"$enablestring" = xdisable
; then
8755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8756 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8757 # Check whether --enable-html was given.
8758 if test "${enable_html+set}" = set; then
8759 enableval
=$enable_html;
8760 if test "$enableval" = yes; then
8761 wx_cv_use_html
='wxUSE_HTML=yes'
8763 wx_cv_use_html
='wxUSE_HTML=no'
8768 wx_cv_use_html
='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8773 eval "$wx_cv_use_html"
8775 if test x"$enablestring" = xdisable; then
8776 if test $wxUSE_HTML = no; then
8785 { echo "$as_me:$LINENO: result: $result" >&5
8786 echo "${ECHO_T}$result" >&6; }
8790 defaultval=$wxUSE_ALL_FEATURES
8791 if test -z "$defaultval"; then
8792 if test x"$enablestring" = xdisable; then
8799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8800 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8801 # Check whether --enable-htmlhelp was given.
8802 if test "${enable_htmlhelp+set}" = set; then
8803 enableval=$enable_htmlhelp;
8804 if test "$enableval" = yes; then
8805 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
8807 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
8812 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8817 eval "$wx_cv_use_htmlhelp"
8819 if test x"$enablestring" = xdisable; then
8820 if test $wxUSE_WXHTML_HELP = no; then
8826 result=$wxUSE_WXHTML_HELP
8829 { echo "$as_me:$LINENO: result
: $result" >&5
8830 echo "${ECHO_T}$result" >&6; }
8834 defaultval=$wxUSE_ALL_FEATURES
8835 if test -z "$defaultval"; then
8836 if test x"$enablestring" = xdisable; then
8843 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xrc" >&5
8844 echo $ECHO_N "checking
for --${enablestring:-enable}-xrc...
$ECHO_C" >&6; }
8845 # Check whether --enable-xrc was given.
8846 if test "${enable_xrc+set}" = set; then
8847 enableval=$enable_xrc;
8848 if test "$enableval" = yes; then
8849 wx_cv_use_xrc='wxUSE_XRC=yes'
8851 wx_cv_use_xrc='wxUSE_XRC=no'
8856 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8861 eval "$wx_cv_use_xrc"
8863 if test x
"$enablestring" = xdisable
; then
8864 if test $wxUSE_XRC = no
; then
8873 { echo "$as_me:$LINENO: result: $result" >&5
8874 echo "${ECHO_T}$result" >&6; }
8878 defaultval
=$wxUSE_ALL_FEATURES
8879 if test -z "$defaultval"; then
8880 if test x
"$enablestring" = xdisable
; then
8887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8888 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8889 # Check whether --enable-aui was given.
8890 if test "${enable_aui+set}" = set; then
8891 enableval
=$enable_aui;
8892 if test "$enableval" = yes; then
8893 wx_cv_use_aui
='wxUSE_AUI=yes'
8895 wx_cv_use_aui
='wxUSE_AUI=no'
8900 wx_cv_use_aui
='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8905 eval "$wx_cv_use_aui"
8907 if test x"$enablestring" = xdisable; then
8908 if test $wxUSE_AUI = no; then
8917 { echo "$as_me:$LINENO: result: $result" >&5
8918 echo "${ECHO_T}$result" >&6; }
8922 defaultval=$wxUSE_ALL_FEATURES
8923 if test -z "$defaultval"; then
8924 if test x"$enablestring" = xdisable; then
8931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8932 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8933 # Check whether --enable-propgrid was given.
8934 if test "${enable_propgrid+set}" = set; then
8935 enableval=$enable_propgrid;
8936 if test "$enableval" = yes; then
8937 wx_cv_use_propgrid='wxUSE_PROPGRID
=yes'
8939 wx_cv_use_propgrid='wxUSE_PROPGRID
=no
'
8944 wx_cv_use_propgrid='wxUSE_PROPGRID
=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8949 eval "$wx_cv_use_propgrid"
8951 if test x"$enablestring" = xdisable; then
8952 if test $wxUSE_PROPGRID = no; then
8958 result=$wxUSE_PROPGRID
8961 { echo "$as_me:$LINENO: result
: $result" >&5
8962 echo "${ECHO_T}$result" >&6; }
8966 defaultval=$wxUSE_ALL_FEATURES
8967 if test -z "$defaultval"; then
8968 if test x"$enablestring" = xdisable; then
8975 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ribbon" >&5
8976 echo $ECHO_N "checking
for --${enablestring:-enable}-ribbon...
$ECHO_C" >&6; }
8977 # Check whether --enable-ribbon was given.
8978 if test "${enable_ribbon+set}" = set; then
8979 enableval=$enable_ribbon;
8980 if test "$enableval" = yes; then
8981 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8983 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8988 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8993 eval "$wx_cv_use_ribbon"
8995 if test x
"$enablestring" = xdisable
; then
8996 if test $wxUSE_RIBBON = no
; then
9002 result
=$wxUSE_RIBBON
9005 { echo "$as_me:$LINENO: result: $result" >&5
9006 echo "${ECHO_T}$result" >&6; }
9010 defaultval
=$wxUSE_ALL_FEATURES
9011 if test -z "$defaultval"; then
9012 if test x
"$enablestring" = xdisable
; then
9019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9020 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9021 # Check whether --enable-stc was given.
9022 if test "${enable_stc+set}" = set; then
9023 enableval
=$enable_stc;
9024 if test "$enableval" = yes; then
9025 wx_cv_use_stc
='wxUSE_STC=yes'
9027 wx_cv_use_stc
='wxUSE_STC=no'
9032 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9037 eval "$wx_cv_use_stc"
9039 if test x"$enablestring" = xdisable; then
9040 if test $wxUSE_STC = no; then
9049 { echo "$as_me:$LINENO: result: $result" >&5
9050 echo "${ECHO_T}$result" >&6; }
9054 defaultval=$wxUSE_ALL_FEATURES
9055 if test -z "$defaultval"; then
9056 if test x"$enablestring" = xdisable; then
9063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9064 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9065 # Check whether --enable-constraints was given.
9066 if test "${enable_constraints+set}" = set; then
9067 enableval=$enable_constraints;
9068 if test "$enableval" = yes; then
9069 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
9071 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
9076 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9081 eval "$wx_cv_use_constraints"
9083 if test x"$enablestring" = xdisable; then
9084 if test $wxUSE_CONSTRAINTS = no; then
9090 result=$wxUSE_CONSTRAINTS
9093 { echo "$as_me:$LINENO: result
: $result" >&5
9094 echo "${ECHO_T}$result" >&6; }
9098 defaultval=$wxUSE_ALL_FEATURES
9099 if test -z "$defaultval"; then
9100 if test x"$enablestring" = xdisable; then
9107 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-loggui" >&5
9108 echo $ECHO_N "checking
for --${enablestring:-enable}-loggui...
$ECHO_C" >&6; }
9109 # Check whether --enable-loggui was given.
9110 if test "${enable_loggui+set}" = set; then
9111 enableval=$enable_loggui;
9112 if test "$enableval" = yes; then
9113 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9115 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9120 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9125 eval "$wx_cv_use_loggui"
9127 if test x
"$enablestring" = xdisable
; then
9128 if test $wxUSE_LOGGUI = no
; then
9134 result
=$wxUSE_LOGGUI
9137 { echo "$as_me:$LINENO: result: $result" >&5
9138 echo "${ECHO_T}$result" >&6; }
9142 defaultval
=$wxUSE_ALL_FEATURES
9143 if test -z "$defaultval"; then
9144 if test x
"$enablestring" = xdisable
; then
9151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9152 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9153 # Check whether --enable-logwin was given.
9154 if test "${enable_logwin+set}" = set; then
9155 enableval
=$enable_logwin;
9156 if test "$enableval" = yes; then
9157 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
9159 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
9164 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9169 eval "$wx_cv_use_logwin"
9171 if test x"$enablestring" = xdisable; then
9172 if test $wxUSE_LOGWINDOW = no; then
9178 result=$wxUSE_LOGWINDOW
9181 { echo "$as_me:$LINENO: result: $result" >&5
9182 echo "${ECHO_T}$result" >&6; }
9186 defaultval=$wxUSE_ALL_FEATURES
9187 if test -z "$defaultval"; then
9188 if test x"$enablestring" = xdisable; then
9195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9196 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9197 # Check whether --enable-logdialog was given.
9198 if test "${enable_logdialog+set}" = set; then
9199 enableval=$enable_logdialog;
9200 if test "$enableval" = yes; then
9201 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
9203 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
9208 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9213 eval "$wx_cv_use_logdialog"
9215 if test x"$enablestring" = xdisable; then
9216 if test $wxUSE_LOGDIALOG = no; then
9222 result=$wxUSE_LOGDIALOG
9225 { echo "$as_me:$LINENO: result
: $result" >&5
9226 echo "${ECHO_T}$result" >&6; }
9230 defaultval=$wxUSE_ALL_FEATURES
9231 if test -z "$defaultval"; then
9232 if test x"$enablestring" = xdisable; then
9239 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdi" >&5
9240 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
9241 # Check whether --enable-mdi was given.
9242 if test "${enable_mdi+set}" = set; then
9243 enableval=$enable_mdi;
9244 if test "$enableval" = yes; then
9245 wx_cv_use_mdi='wxUSE_MDI=yes'
9247 wx_cv_use_mdi='wxUSE_MDI=no'
9252 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9257 eval "$wx_cv_use_mdi"
9259 if test x
"$enablestring" = xdisable
; then
9260 if test $wxUSE_MDI = no
; then
9269 { echo "$as_me:$LINENO: result: $result" >&5
9270 echo "${ECHO_T}$result" >&6; }
9274 defaultval
=$wxUSE_ALL_FEATURES
9275 if test -z "$defaultval"; then
9276 if test x
"$enablestring" = xdisable
; then
9283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9284 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9285 # Check whether --enable-mdidoc was given.
9286 if test "${enable_mdidoc+set}" = set; then
9287 enableval
=$enable_mdidoc;
9288 if test "$enableval" = yes; then
9289 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
9291 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
9296 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9301 eval "$wx_cv_use_mdidoc"
9303 if test x"$enablestring" = xdisable; then
9304 if test $wxUSE_MDI_ARCHITECTURE = no; then
9310 result=$wxUSE_MDI_ARCHITECTURE
9313 { echo "$as_me:$LINENO: result: $result" >&5
9314 echo "${ECHO_T}$result" >&6; }
9318 defaultval=$wxUSE_ALL_FEATURES
9319 if test -z "$defaultval"; then
9320 if test x"$enablestring" = xdisable; then
9327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9328 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9329 # Check whether --enable-mediactrl was given.
9330 if test "${enable_mediactrl+set}" = set; then
9331 enableval=$enable_mediactrl;
9332 if test "$enableval" = yes; then
9333 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
9335 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
9340 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9345 eval "$wx_cv_use_mediactrl"
9347 if test x"$enablestring" = xdisable; then
9348 if test $wxUSE_MEDIACTRL = no; then
9354 result=$wxUSE_MEDIACTRL
9357 { echo "$as_me:$LINENO: result
: $result" >&5
9358 echo "${ECHO_T}$result" >&6; }
9362 defaultval=$wxUSE_ALL_FEATURES
9363 if test -z "$defaultval"; then
9364 if test x"$enablestring" = xdisable; then
9371 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gstreamer8" >&5
9372 echo $ECHO_N "checking
for --${enablestring:-enable}-gstreamer8...
$ECHO_C" >&6; }
9373 # Check whether --enable-gstreamer8 was given.
9374 if test "${enable_gstreamer8+set}" = set; then
9375 enableval=$enable_gstreamer8;
9376 if test "$enableval" = yes; then
9377 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9379 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9384 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9389 eval "$wx_cv_use_gstreamer8"
9391 if test x
"$enablestring" = xdisable
; then
9392 if test $wxUSE_GSTREAMER8 = no
; then
9398 result
=$wxUSE_GSTREAMER8
9401 { echo "$as_me:$LINENO: result: $result" >&5
9402 echo "${ECHO_T}$result" >&6; }
9406 defaultval
=$wxUSE_ALL_FEATURES
9407 if test -z "$defaultval"; then
9408 if test x
"$enablestring" = xdisable
; then
9415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9416 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9417 # Check whether --enable-webkit was given.
9418 if test "${enable_webkit+set}" = set; then
9419 enableval
=$enable_webkit;
9420 if test "$enableval" = yes; then
9421 wx_cv_use_webkit
='wxUSE_WEBKIT=yes'
9423 wx_cv_use_webkit
='wxUSE_WEBKIT=no'
9428 wx_cv_use_webkit
='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9433 eval "$wx_cv_use_webkit"
9435 if test x"$enablestring" = xdisable; then
9436 if test $wxUSE_WEBKIT = no; then
9442 result=$wxUSE_WEBKIT
9445 { echo "$as_me:$LINENO: result: $result" >&5
9446 echo "${ECHO_T}$result" >&6; }
9450 defaultval=$wxUSE_ALL_FEATURES
9451 if test -z "$defaultval"; then
9452 if test x"$enablestring" = xdisable; then
9459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9460 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9461 # Check whether --enable-richtext was given.
9462 if test "${enable_richtext+set}" = set; then
9463 enableval=$enable_richtext;
9464 if test "$enableval" = yes; then
9465 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
9467 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
9472 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9477 eval "$wx_cv_use_richtext"
9479 if test x"$enablestring" = xdisable; then
9480 if test $wxUSE_RICHTEXT = no; then
9486 result=$wxUSE_RICHTEXT
9489 { echo "$as_me:$LINENO: result
: $result" >&5
9490 echo "${ECHO_T}$result" >&6; }
9494 defaultval=$wxUSE_ALL_FEATURES
9495 if test -z "$defaultval"; then
9496 if test x"$enablestring" = xdisable; then
9503 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-postscript" >&5
9504 echo $ECHO_N "checking
for --${enablestring:-enable}-postscript...
$ECHO_C" >&6; }
9505 # Check whether --enable-postscript was given.
9506 if test "${enable_postscript+set}" = set; then
9507 enableval=$enable_postscript;
9508 if test "$enableval" = yes; then
9509 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9511 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9516 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9521 eval "$wx_cv_use_postscript"
9523 if test x
"$enablestring" = xdisable
; then
9524 if test $wxUSE_POSTSCRIPT = no
; then
9530 result
=$wxUSE_POSTSCRIPT
9533 { echo "$as_me:$LINENO: result: $result" >&5
9534 echo "${ECHO_T}$result" >&6; }
9538 defaultval
=$wxUSE_ALL_FEATURES
9539 if test -z "$defaultval"; then
9540 if test x
"$enablestring" = xdisable
; then
9547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9548 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9549 # Check whether --enable-printarch was given.
9550 if test "${enable_printarch+set}" = set; then
9551 enableval
=$enable_printarch;
9552 if test "$enableval" = yes; then
9553 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
9555 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
9560 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9565 eval "$wx_cv_use_printarch"
9567 if test x"$enablestring" = xdisable; then
9568 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9574 result=$wxUSE_PRINTING_ARCHITECTURE
9577 { echo "$as_me:$LINENO: result: $result" >&5
9578 echo "${ECHO_T}$result" >&6; }
9582 defaultval=$wxUSE_ALL_FEATURES
9583 if test -z "$defaultval"; then
9584 if test x"$enablestring" = xdisable; then
9591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9592 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9593 # Check whether --enable-svg was given.
9594 if test "${enable_svg+set}" = set; then
9595 enableval=$enable_svg;
9596 if test "$enableval" = yes; then
9597 wx_cv_use_svg='wxUSE_SVG
=yes'
9599 wx_cv_use_svg='wxUSE_SVG
=no
'
9604 wx_cv_use_svg='wxUSE_SVG
=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9609 eval "$wx_cv_use_svg"
9611 if test x"$enablestring" = xdisable; then
9612 if test $wxUSE_SVG = no; then
9621 { echo "$as_me:$LINENO: result
: $result" >&5
9622 echo "${ECHO_T}$result" >&6; }
9625 if test "$wxUSE_MAC" != 1; then
9628 defaultval=$wxUSE_ALL_FEATURES
9629 if test -z "$defaultval"; then
9630 if test x"$enablestring" = xdisable; then
9637 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-graphics_ctx" >&5
9638 echo $ECHO_N "checking
for --${enablestring:-enable}-graphics_ctx...
$ECHO_C" >&6; }
9639 # Check whether --enable-graphics_ctx was given.
9640 if test "${enable_graphics_ctx+set}" = set; then
9641 enableval=$enable_graphics_ctx;
9642 if test "$enableval" = yes; then
9643 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9645 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9650 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9655 eval "$wx_cv_use_graphics_ctx"
9657 if test x
"$enablestring" = xdisable
; then
9658 if test $wxUSE_GRAPHICS_CONTEXT = no
; then
9664 result
=$wxUSE_GRAPHICS_CONTEXT
9667 { echo "$as_me:$LINENO: result: $result" >&5
9668 echo "${ECHO_T}$result" >&6; }
9675 defaultval
=$wxUSE_ALL_FEATURES
9676 if test -z "$defaultval"; then
9677 if test x
"$enablestring" = xdisable
; then
9684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9685 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9686 # Check whether --enable-clipboard was given.
9687 if test "${enable_clipboard+set}" = set; then
9688 enableval
=$enable_clipboard;
9689 if test "$enableval" = yes; then
9690 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
9692 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
9697 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9702 eval "$wx_cv_use_clipboard"
9704 if test x"$enablestring" = xdisable; then
9705 if test $wxUSE_CLIPBOARD = no; then
9711 result=$wxUSE_CLIPBOARD
9714 { echo "$as_me:$LINENO: result: $result" >&5
9715 echo "${ECHO_T}$result" >&6; }
9719 defaultval=$wxUSE_ALL_FEATURES
9720 if test -z "$defaultval"; then
9721 if test x"$enablestring" = xdisable; then
9728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9729 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9730 # Check whether --enable-dnd was given.
9731 if test "${enable_dnd+set}" = set; then
9732 enableval=$enable_dnd;
9733 if test "$enableval" = yes; then
9734 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
9736 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
9741 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9746 eval "$wx_cv_use_dnd"
9748 if test x"$enablestring" = xdisable; then
9749 if test $wxUSE_DRAG_AND_DROP = no; then
9755 result=$wxUSE_DRAG_AND_DROP
9758 { echo "$as_me:$LINENO: result
: $result" >&5
9759 echo "${ECHO_T}$result" >&6; }
9763 defaultval=$wxUSE_ALL_FEATURES
9764 if test -z "$defaultval"; then
9765 if test x"$enablestring" = xdisable; then
9772 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
9773 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
9774 # Check whether --enable-metafile was given.
9775 if test "${enable_metafile+set}" = set; then
9776 enableval=$enable_metafile;
9777 if test "$enableval" = yes; then
9778 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9780 wx_cv_use_metafile='wxUSE_METAFILE=no'
9785 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9790 eval "$wx_cv_use_metafile"
9792 if test x
"$enablestring" = xdisable
; then
9793 if test $wxUSE_METAFILE = no
; then
9799 result
=$wxUSE_METAFILE
9802 { echo "$as_me:$LINENO: result: $result" >&5
9803 echo "${ECHO_T}$result" >&6; }
9807 DEFAULT_wxUSE_CONTROLS
=none
9809 enablestring
=disable
9811 if test -z "$defaultval"; then
9812 if test x
"$enablestring" = xdisable
; then
9819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9820 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9821 # Check whether --enable-controls was given.
9822 if test "${enable_controls+set}" = set; then
9823 enableval
=$enable_controls;
9824 if test "$enableval" = yes; then
9825 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9827 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9832 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9837 eval "$wx_cv_use_controls"
9839 if test x"$enablestring" = xdisable; then
9840 if test $wxUSE_CONTROLS = no; then
9846 result=$wxUSE_CONTROLS
9849 { echo "$as_me:$LINENO: result: $result" >&5
9850 echo "${ECHO_T}$result" >&6; }
9853 if test "$wxUSE_CONTROLS" = "no"; then
9854 DEFAULT_wxUSE_ACCEL=no
9855 DEFAULT_wxUSE_ANIMATIONCTRL=no
9856 DEFAULT_wxUSE_BMPBUTTON=no
9857 DEFAULT_wxUSE_BUTTON=no
9858 DEFAULT_wxUSE_CALCTRL=no
9859 DEFAULT_wxUSE_CARET=no
9860 DEFAULT_wxUSE_CHECKBOX=no
9861 DEFAULT_wxUSE_CHECKLISTBOX=no
9862 DEFAULT_wxUSE_CHOICE=no
9863 DEFAULT_wxUSE_CHOICEBOOK=no
9864 DEFAULT_wxUSE_COLLPANE=no
9865 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9866 DEFAULT_wxUSE_COMBOBOX=no
9867 DEFAULT_wxUSE_COMBOBOX=no
9868 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9869 DEFAULT_wxUSE_DATAVIEWCTRL=no
9870 DEFAULT_wxUSE_DATEPICKCTRL=no
9871 DEFAULT_wxUSE_DETECT_SM=no
9872 DEFAULT_wxUSE_DIRPICKERCTRL=no
9873 DEFAULT_wxUSE_DISPLAY=no
9874 DEFAULT_wxUSE_FILECTRL=no
9875 DEFAULT_wxUSE_FILEPICKERCTRL=no
9876 DEFAULT_wxUSE_FONTPICKERCTRL=no
9877 DEFAULT_wxUSE_GAUGE=no
9878 DEFAULT_wxUSE_GRID=no
9879 DEFAULT_wxUSE_HEADERCTRL=no
9880 DEFAULT_wxUSE_HYPERLINKCTRL=no
9881 DEFAULT_wxUSE_IMAGLIST=no
9882 DEFAULT_wxUSE_LISTBOOK=no
9883 DEFAULT_wxUSE_LISTBOX=no
9884 DEFAULT_wxUSE_LISTCTRL=no
9885 DEFAULT_wxUSE_MARKUP=no
9886 DEFAULT_wxUSE_NOTEBOOK=no
9887 DEFAULT_wxUSE_POPUPWIN=no
9888 DEFAULT_wxUSE_RADIOBOX=no
9889 DEFAULT_wxUSE_RADIOBTN=no
9890 DEFAULT_wxUSE_RICHMSGDLG=no
9891 DEFAULT_wxUSE_REARRANGECTRL=no
9892 DEFAULT_wxUSE_SASH=no
9893 DEFAULT_wxUSE_SCROLLBAR=no
9894 DEFAULT_wxUSE_SEARCHCTRL=no
9895 DEFAULT_wxUSE_SLIDER=no
9896 DEFAULT_wxUSE_SPINBTN=no
9897 DEFAULT_wxUSE_SPINCTRL=no
9898 DEFAULT_wxUSE_SPLITTER=no
9899 DEFAULT_wxUSE_STATBMP=no
9900 DEFAULT_wxUSE_STATBOX=no
9901 DEFAULT_wxUSE_STATLINE=no
9902 DEFAULT_wxUSE_STATUSBAR=no
9903 DEFAULT_wxUSE_TIPWINDOW=no
9904 DEFAULT_wxUSE_TOGGLEBTN=no
9905 DEFAULT_wxUSE_TOOLBAR=no
9906 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9907 DEFAULT_wxUSE_TOOLBOOK=no
9908 DEFAULT_wxUSE_TOOLTIPS=no
9909 DEFAULT_wxUSE_TREEBOOK=no
9910 DEFAULT_wxUSE_TREECTRL=no
9915 defaultval=$wxUSE_ALL_FEATURES
9916 if test -z "$defaultval"; then
9917 if test x"$enablestring" = xdisable; then
9924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-markup" >&5
9925 echo $ECHO_N "checking for --${enablestring:-enable}-markup... $ECHO_C" >&6; }
9926 # Check whether --enable-markup was given.
9927 if test "${enable_markup+set}" = set; then
9928 enableval=$enable_markup;
9929 if test "$enableval" = yes; then
9930 wx_cv_use_markup='wxUSE_MARKUP
=yes'
9932 wx_cv_use_markup='wxUSE_MARKUP
=no
'
9937 wx_cv_use_markup='wxUSE_MARKUP
=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
9942 eval "$wx_cv_use_markup"
9944 if test x"$enablestring" = xdisable; then
9945 if test $wxUSE_MARKUP = no; then
9951 result=$wxUSE_MARKUP
9954 { echo "$as_me:$LINENO: result
: $result" >&5
9955 echo "${ECHO_T}$result" >&6; }
9960 defaultval=$wxUSE_ALL_FEATURES
9961 if test -z "$defaultval"; then
9962 if test x"$enablestring" = xdisable; then
9969 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accel" >&5
9970 echo $ECHO_N "checking
for --${enablestring:-enable}-accel...
$ECHO_C" >&6; }
9971 # Check whether --enable-accel was given.
9972 if test "${enable_accel+set}" = set; then
9973 enableval=$enable_accel;
9974 if test "$enableval" = yes; then
9975 wx_cv_use_accel='wxUSE_ACCEL=yes'
9977 wx_cv_use_accel='wxUSE_ACCEL=no'
9982 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9987 eval "$wx_cv_use_accel"
9989 if test x
"$enablestring" = xdisable
; then
9990 if test $wxUSE_ACCEL = no
; then
9999 { echo "$as_me:$LINENO: result: $result" >&5
10000 echo "${ECHO_T}$result" >&6; }
10004 defaultval
=$wxUSE_ALL_FEATURES
10005 if test -z "$defaultval"; then
10006 if test x
"$enablestring" = xdisable
; then
10013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10014 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10015 # Check whether --enable-animatectrl was given.
10016 if test "${enable_animatectrl+set}" = set; then
10017 enableval
=$enable_animatectrl;
10018 if test "$enableval" = yes; then
10019 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
10021 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
10026 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10031 eval "$wx_cv_use_animatectrl"
10033 if test x"$enablestring" = xdisable; then
10034 if test $wxUSE_ANIMATIONCTRL = no; then
10040 result=$wxUSE_ANIMATIONCTRL
10043 { echo "$as_me:$LINENO: result: $result" >&5
10044 echo "${ECHO_T}$result" >&6; }
10048 defaultval=$wxUSE_ALL_FEATURES
10049 if test -z "$defaultval"; then
10050 if test x"$enablestring" = xdisable; then
10057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-artstd" >&5
10058 echo $ECHO_N "checking for --${enablestring:-enable}-artstd... $ECHO_C" >&6; }
10059 # Check whether --enable-artstd was given.
10060 if test "${enable_artstd+set}" = set; then
10061 enableval=$enable_artstd;
10062 if test "$enableval" = yes; then
10063 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD
=yes'
10065 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD
=no
'
10070 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD
=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
10075 eval "$wx_cv_use_artstd"
10077 if test x"$enablestring" = xdisable; then
10078 if test $wxUSE_ARTPROVIDER_STD = no; then
10084 result=$wxUSE_ARTPROVIDER_STD
10087 { echo "$as_me:$LINENO: result
: $result" >&5
10088 echo "${ECHO_T}$result" >&6; }
10092 defaultval=$wxUSE_ALL_FEATURES
10093 if test -z "$defaultval"; then
10094 if test x"$enablestring" = xdisable; then
10101 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arttango" >&5
10102 echo $ECHO_N "checking
for --${enablestring:-enable}-arttango...
$ECHO_C" >&6; }
10103 # Check whether --enable-arttango was given.
10104 if test "${enable_arttango+set}" = set; then
10105 enableval=$enable_arttango;
10106 if test "$enableval" = yes; then
10107 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
10109 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
10114 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
10119 eval "$wx_cv_use_arttango"
10121 if test x
"$enablestring" = xdisable
; then
10122 if test $wxUSE_ARTPROVIDER_TANGO = no
; then
10128 result
=$wxUSE_ARTPROVIDER_TANGO
10131 { echo "$as_me:$LINENO: result: $result" >&5
10132 echo "${ECHO_T}$result" >&6; }
10136 defaultval
=$wxUSE_ALL_FEATURES
10137 if test -z "$defaultval"; then
10138 if test x
"$enablestring" = xdisable
; then
10145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10146 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10147 # Check whether --enable-bmpbutton was given.
10148 if test "${enable_bmpbutton+set}" = set; then
10149 enableval
=$enable_bmpbutton;
10150 if test "$enableval" = yes; then
10151 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
10153 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
10158 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10163 eval "$wx_cv_use_bmpbutton"
10165 if test x"$enablestring" = xdisable; then
10166 if test $wxUSE_BMPBUTTON = no; then
10172 result=$wxUSE_BMPBUTTON
10175 { echo "$as_me:$LINENO: result: $result" >&5
10176 echo "${ECHO_T}$result" >&6; }
10180 defaultval=$wxUSE_ALL_FEATURES
10181 if test -z "$defaultval"; then
10182 if test x"$enablestring" = xdisable; then
10189 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10190 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10191 # Check whether --enable-bmpcombobox was given.
10192 if test "${enable_bmpcombobox+set}" = set; then
10193 enableval=$enable_bmpcombobox;
10194 if test "$enableval" = yes; then
10195 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=yes'
10197 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=no
'
10202 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10207 eval "$wx_cv_use_bmpcombobox"
10209 if test x"$enablestring" = xdisable; then
10210 if test $wxUSE_BITMAPCOMBOBOX = no; then
10216 result=$wxUSE_BITMAPCOMBOBOX
10219 { echo "$as_me:$LINENO: result
: $result" >&5
10220 echo "${ECHO_T}$result" >&6; }
10224 defaultval=$wxUSE_ALL_FEATURES
10225 if test -z "$defaultval"; then
10226 if test x"$enablestring" = xdisable; then
10233 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-button" >&5
10234 echo $ECHO_N "checking
for --${enablestring:-enable}-button...
$ECHO_C" >&6; }
10235 # Check whether --enable-button was given.
10236 if test "${enable_button+set}" = set; then
10237 enableval=$enable_button;
10238 if test "$enableval" = yes; then
10239 wx_cv_use_button='wxUSE_BUTTON=yes'
10241 wx_cv_use_button='wxUSE_BUTTON=no'
10246 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10251 eval "$wx_cv_use_button"
10253 if test x
"$enablestring" = xdisable
; then
10254 if test $wxUSE_BUTTON = no
; then
10260 result
=$wxUSE_BUTTON
10263 { echo "$as_me:$LINENO: result: $result" >&5
10264 echo "${ECHO_T}$result" >&6; }
10268 defaultval
=$wxUSE_ALL_FEATURES
10269 if test -z "$defaultval"; then
10270 if test x
"$enablestring" = xdisable
; then
10277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10278 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10279 # Check whether --enable-calendar was given.
10280 if test "${enable_calendar+set}" = set; then
10281 enableval
=$enable_calendar;
10282 if test "$enableval" = yes; then
10283 wx_cv_use_calendar
='wxUSE_CALCTRL=yes'
10285 wx_cv_use_calendar
='wxUSE_CALCTRL=no'
10290 wx_cv_use_calendar
='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10295 eval "$wx_cv_use_calendar"
10297 if test x"$enablestring" = xdisable; then
10298 if test $wxUSE_CALCTRL = no; then
10304 result=$wxUSE_CALCTRL
10307 { echo "$as_me:$LINENO: result: $result" >&5
10308 echo "${ECHO_T}$result" >&6; }
10312 defaultval=$wxUSE_ALL_FEATURES
10313 if test -z "$defaultval"; then
10314 if test x"$enablestring" = xdisable; then
10321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10322 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10323 # Check whether --enable-caret was given.
10324 if test "${enable_caret+set}" = set; then
10325 enableval=$enable_caret;
10326 if test "$enableval" = yes; then
10327 wx_cv_use_caret='wxUSE_CARET
=yes'
10329 wx_cv_use_caret='wxUSE_CARET
=no
'
10334 wx_cv_use_caret='wxUSE_CARET
=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10339 eval "$wx_cv_use_caret"
10341 if test x"$enablestring" = xdisable; then
10342 if test $wxUSE_CARET = no; then
10348 result=$wxUSE_CARET
10351 { echo "$as_me:$LINENO: result
: $result" >&5
10352 echo "${ECHO_T}$result" >&6; }
10356 defaultval=$wxUSE_ALL_FEATURES
10357 if test -z "$defaultval"; then
10358 if test x"$enablestring" = xdisable; then
10365 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checkbox" >&5
10366 echo $ECHO_N "checking
for --${enablestring:-enable}-checkbox...
$ECHO_C" >&6; }
10367 # Check whether --enable-checkbox was given.
10368 if test "${enable_checkbox+set}" = set; then
10369 enableval=$enable_checkbox;
10370 if test "$enableval" = yes; then
10371 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10373 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10378 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10383 eval "$wx_cv_use_checkbox"
10385 if test x
"$enablestring" = xdisable
; then
10386 if test $wxUSE_CHECKBOX = no
; then
10392 result
=$wxUSE_CHECKBOX
10395 { echo "$as_me:$LINENO: result: $result" >&5
10396 echo "${ECHO_T}$result" >&6; }
10400 defaultval
=$wxUSE_ALL_FEATURES
10401 if test -z "$defaultval"; then
10402 if test x
"$enablestring" = xdisable
; then
10409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10410 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10411 # Check whether --enable-checklst was given.
10412 if test "${enable_checklst+set}" = set; then
10413 enableval
=$enable_checklst;
10414 if test "$enableval" = yes; then
10415 wx_cv_use_checklst
='wxUSE_CHECKLST=yes'
10417 wx_cv_use_checklst
='wxUSE_CHECKLST=no'
10422 wx_cv_use_checklst
='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10427 eval "$wx_cv_use_checklst"
10429 if test x"$enablestring" = xdisable; then
10430 if test $wxUSE_CHECKLST = no; then
10436 result=$wxUSE_CHECKLST
10439 { echo "$as_me:$LINENO: result: $result" >&5
10440 echo "${ECHO_T}$result" >&6; }
10444 defaultval=$wxUSE_ALL_FEATURES
10445 if test -z "$defaultval"; then
10446 if test x"$enablestring" = xdisable; then
10453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10454 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10455 # Check whether --enable-choice was given.
10456 if test "${enable_choice+set}" = set; then
10457 enableval=$enable_choice;
10458 if test "$enableval" = yes; then
10459 wx_cv_use_choice='wxUSE_CHOICE
=yes'
10461 wx_cv_use_choice='wxUSE_CHOICE
=no
'
10466 wx_cv_use_choice='wxUSE_CHOICE
=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10471 eval "$wx_cv_use_choice"
10473 if test x"$enablestring" = xdisable; then
10474 if test $wxUSE_CHOICE = no; then
10480 result=$wxUSE_CHOICE
10483 { echo "$as_me:$LINENO: result
: $result" >&5
10484 echo "${ECHO_T}$result" >&6; }
10488 defaultval=$wxUSE_ALL_FEATURES
10489 if test -z "$defaultval"; then
10490 if test x"$enablestring" = xdisable; then
10497 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicebook" >&5
10498 echo $ECHO_N "checking
for --${enablestring:-enable}-choicebook...
$ECHO_C" >&6; }
10499 # Check whether --enable-choicebook was given.
10500 if test "${enable_choicebook+set}" = set; then
10501 enableval=$enable_choicebook;
10502 if test "$enableval" = yes; then
10503 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10505 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10510 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10515 eval "$wx_cv_use_choicebook"
10517 if test x
"$enablestring" = xdisable
; then
10518 if test $wxUSE_CHOICEBOOK = no
; then
10524 result
=$wxUSE_CHOICEBOOK
10527 { echo "$as_me:$LINENO: result: $result" >&5
10528 echo "${ECHO_T}$result" >&6; }
10532 defaultval
=$wxUSE_ALL_FEATURES
10533 if test -z "$defaultval"; then
10534 if test x
"$enablestring" = xdisable
; then
10541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10542 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10543 # Check whether --enable-collpane was given.
10544 if test "${enable_collpane+set}" = set; then
10545 enableval
=$enable_collpane;
10546 if test "$enableval" = yes; then
10547 wx_cv_use_collpane
='wxUSE_COLLPANE=yes'
10549 wx_cv_use_collpane
='wxUSE_COLLPANE=no'
10554 wx_cv_use_collpane
='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10559 eval "$wx_cv_use_collpane"
10561 if test x"$enablestring" = xdisable; then
10562 if test $wxUSE_COLLPANE = no; then
10568 result=$wxUSE_COLLPANE
10571 { echo "$as_me:$LINENO: result: $result" >&5
10572 echo "${ECHO_T}$result" >&6; }
10576 defaultval=$wxUSE_ALL_FEATURES
10577 if test -z "$defaultval"; then
10578 if test x"$enablestring" = xdisable; then
10585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10586 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10587 # Check whether --enable-colourpicker was given.
10588 if test "${enable_colourpicker+set}" = set; then
10589 enableval=$enable_colourpicker;
10590 if test "$enableval" = yes; then
10591 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
10593 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
10598 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10603 eval "$wx_cv_use_colourpicker"
10605 if test x"$enablestring" = xdisable; then
10606 if test $wxUSE_COLOURPICKERCTRL = no; then
10612 result=$wxUSE_COLOURPICKERCTRL
10615 { echo "$as_me:$LINENO: result
: $result" >&5
10616 echo "${ECHO_T}$result" >&6; }
10620 defaultval=$wxUSE_ALL_FEATURES
10621 if test -z "$defaultval"; then
10622 if test x"$enablestring" = xdisable; then
10629 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-combobox" >&5
10630 echo $ECHO_N "checking
for --${enablestring:-enable}-combobox...
$ECHO_C" >&6; }
10631 # Check whether --enable-combobox was given.
10632 if test "${enable_combobox+set}" = set; then
10633 enableval=$enable_combobox;
10634 if test "$enableval" = yes; then
10635 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10637 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10642 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10647 eval "$wx_cv_use_combobox"
10649 if test x
"$enablestring" = xdisable
; then
10650 if test $wxUSE_COMBOBOX = no
; then
10656 result
=$wxUSE_COMBOBOX
10659 { echo "$as_me:$LINENO: result: $result" >&5
10660 echo "${ECHO_T}$result" >&6; }
10664 defaultval
=$wxUSE_ALL_FEATURES
10665 if test -z "$defaultval"; then
10666 if test x
"$enablestring" = xdisable
; then
10673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10674 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10675 # Check whether --enable-comboctrl was given.
10676 if test "${enable_comboctrl+set}" = set; then
10677 enableval
=$enable_comboctrl;
10678 if test "$enableval" = yes; then
10679 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
10681 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
10686 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10691 eval "$wx_cv_use_comboctrl"
10693 if test x"$enablestring" = xdisable; then
10694 if test $wxUSE_COMBOCTRL = no; then
10700 result=$wxUSE_COMBOCTRL
10703 { echo "$as_me:$LINENO: result: $result" >&5
10704 echo "${ECHO_T}$result" >&6; }
10708 defaultval=$wxUSE_ALL_FEATURES
10709 if test -z "$defaultval"; then
10710 if test x"$enablestring" = xdisable; then
10717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commandlinkbutton" >&5
10718 echo $ECHO_N "checking for --${enablestring:-enable}-commandlinkbutton... $ECHO_C" >&6; }
10719 # Check whether --enable-commandlinkbutton was given.
10720 if test "${enable_commandlinkbutton+set}" = set; then
10721 enableval=$enable_commandlinkbutton;
10722 if test "$enableval" = yes; then
10723 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON
=yes'
10725 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON
=no
'
10730 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON
=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10735 eval "$wx_cv_use_commandlinkbutton"
10737 if test x"$enablestring" = xdisable; then
10738 if test $wxUSE_COMMANDLINKBUTTON = no; then
10744 result=$wxUSE_COMMANDLINKBUTTON
10747 { echo "$as_me:$LINENO: result
: $result" >&5
10748 echo "${ECHO_T}$result" >&6; }
10752 defaultval=$wxUSE_ALL_FEATURES
10753 if test -z "$defaultval"; then
10754 if test x"$enablestring" = xdisable; then
10761 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataviewctrl" >&5
10762 echo $ECHO_N "checking
for --${enablestring:-enable}-dataviewctrl...
$ECHO_C" >&6; }
10763 # Check whether --enable-dataviewctrl was given.
10764 if test "${enable_dataviewctrl+set}" = set; then
10765 enableval=$enable_dataviewctrl;
10766 if test "$enableval" = yes; then
10767 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10769 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10774 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10779 eval "$wx_cv_use_dataviewctrl"
10781 if test x
"$enablestring" = xdisable
; then
10782 if test $wxUSE_DATAVIEWCTRL = no
; then
10788 result
=$wxUSE_DATAVIEWCTRL
10791 { echo "$as_me:$LINENO: result: $result" >&5
10792 echo "${ECHO_T}$result" >&6; }
10796 defaultval
=$wxUSE_ALL_FEATURES
10797 if test -z "$defaultval"; then
10798 if test x
"$enablestring" = xdisable
; then
10805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10806 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10807 # Check whether --enable-datepick was given.
10808 if test "${enable_datepick+set}" = set; then
10809 enableval
=$enable_datepick;
10810 if test "$enableval" = yes; then
10811 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
10813 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
10818 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10823 eval "$wx_cv_use_datepick"
10825 if test x"$enablestring" = xdisable; then
10826 if test $wxUSE_DATEPICKCTRL = no; then
10832 result=$wxUSE_DATEPICKCTRL
10835 { echo "$as_me:$LINENO: result: $result" >&5
10836 echo "${ECHO_T}$result" >&6; }
10840 defaultval=$wxUSE_ALL_FEATURES
10841 if test -z "$defaultval"; then
10842 if test x"$enablestring" = xdisable; then
10849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10850 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10851 # Check whether --enable-detect_sm was given.
10852 if test "${enable_detect_sm+set}" = set; then
10853 enableval=$enable_detect_sm;
10854 if test "$enableval" = yes; then
10855 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=yes'
10857 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=no
'
10862 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10867 eval "$wx_cv_use_detect_sm"
10869 if test x"$enablestring" = xdisable; then
10870 if test $wxUSE_DETECT_SM = no; then
10876 result=$wxUSE_DETECT_SM
10879 { echo "$as_me:$LINENO: result
: $result" >&5
10880 echo "${ECHO_T}$result" >&6; }
10884 defaultval=$wxUSE_ALL_FEATURES
10885 if test -z "$defaultval"; then
10886 if test x"$enablestring" = xdisable; then
10893 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirpicker" >&5
10894 echo $ECHO_N "checking
for --${enablestring:-enable}-dirpicker...
$ECHO_C" >&6; }
10895 # Check whether --enable-dirpicker was given.
10896 if test "${enable_dirpicker+set}" = set; then
10897 enableval=$enable_dirpicker;
10898 if test "$enableval" = yes; then
10899 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10901 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10906 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10911 eval "$wx_cv_use_dirpicker"
10913 if test x
"$enablestring" = xdisable
; then
10914 if test $wxUSE_DIRPICKERCTRL = no
; then
10920 result
=$wxUSE_DIRPICKERCTRL
10923 { echo "$as_me:$LINENO: result: $result" >&5
10924 echo "${ECHO_T}$result" >&6; }
10928 defaultval
=$wxUSE_ALL_FEATURES
10929 if test -z "$defaultval"; then
10930 if test x
"$enablestring" = xdisable
; then
10937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10938 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10939 # Check whether --enable-display was given.
10940 if test "${enable_display+set}" = set; then
10941 enableval
=$enable_display;
10942 if test "$enableval" = yes; then
10943 wx_cv_use_display
='wxUSE_DISPLAY=yes'
10945 wx_cv_use_display
='wxUSE_DISPLAY=no'
10950 wx_cv_use_display
='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10955 eval "$wx_cv_use_display"
10957 if test x"$enablestring" = xdisable; then
10958 if test $wxUSE_DISPLAY = no; then
10964 result=$wxUSE_DISPLAY
10967 { echo "$as_me:$LINENO: result: $result" >&5
10968 echo "${ECHO_T}$result" >&6; }
10972 defaultval=$wxUSE_ALL_FEATURES
10973 if test -z "$defaultval"; then
10974 if test x"$enablestring" = xdisable; then
10981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10982 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10983 # Check whether --enable-editablebox was given.
10984 if test "${enable_editablebox+set}" = set; then
10985 enableval=$enable_editablebox;
10986 if test "$enableval" = yes; then
10987 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=yes'
10989 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=no
'
10994 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10999 eval "$wx_cv_use_editablebox"
11001 if test x"$enablestring" = xdisable; then
11002 if test $wxUSE_EDITABLELISTBOX = no; then
11008 result=$wxUSE_EDITABLELISTBOX
11011 { echo "$as_me:$LINENO: result
: $result" >&5
11012 echo "${ECHO_T}$result" >&6; }
11016 defaultval=$wxUSE_ALL_FEATURES
11017 if test -z "$defaultval"; then
11018 if test x"$enablestring" = xdisable; then
11025 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filectrl" >&5
11026 echo $ECHO_N "checking
for --${enablestring:-enable}-filectrl...
$ECHO_C" >&6; }
11027 # Check whether --enable-filectrl was given.
11028 if test "${enable_filectrl+set}" = set; then
11029 enableval=$enable_filectrl;
11030 if test "$enableval" = yes; then
11031 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
11033 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
11038 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
11043 eval "$wx_cv_use_filectrl"
11045 if test x
"$enablestring" = xdisable
; then
11046 if test $wxUSE_FILECTRL = no
; then
11052 result
=$wxUSE_FILECTRL
11055 { echo "$as_me:$LINENO: result: $result" >&5
11056 echo "${ECHO_T}$result" >&6; }
11060 defaultval
=$wxUSE_ALL_FEATURES
11061 if test -z "$defaultval"; then
11062 if test x
"$enablestring" = xdisable
; then
11069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11070 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11071 # Check whether --enable-filepicker was given.
11072 if test "${enable_filepicker+set}" = set; then
11073 enableval
=$enable_filepicker;
11074 if test "$enableval" = yes; then
11075 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
11077 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
11082 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11087 eval "$wx_cv_use_filepicker"
11089 if test x"$enablestring" = xdisable; then
11090 if test $wxUSE_FILEPICKERCTRL = no; then
11096 result=$wxUSE_FILEPICKERCTRL
11099 { echo "$as_me:$LINENO: result: $result" >&5
11100 echo "${ECHO_T}$result" >&6; }
11104 defaultval=$wxUSE_ALL_FEATURES
11105 if test -z "$defaultval"; then
11106 if test x"$enablestring" = xdisable; then
11113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11114 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11115 # Check whether --enable-fontpicker was given.
11116 if test "${enable_fontpicker+set}" = set; then
11117 enableval=$enable_fontpicker;
11118 if test "$enableval" = yes; then
11119 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=yes'
11121 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=no
'
11126 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11131 eval "$wx_cv_use_fontpicker"
11133 if test x"$enablestring" = xdisable; then
11134 if test $wxUSE_FONTPICKERCTRL = no; then
11140 result=$wxUSE_FONTPICKERCTRL
11143 { echo "$as_me:$LINENO: result
: $result" >&5
11144 echo "${ECHO_T}$result" >&6; }
11148 defaultval=$wxUSE_ALL_FEATURES
11149 if test -z "$defaultval"; then
11150 if test x"$enablestring" = xdisable; then
11157 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gauge" >&5
11158 echo $ECHO_N "checking
for --${enablestring:-enable}-gauge...
$ECHO_C" >&6; }
11159 # Check whether --enable-gauge was given.
11160 if test "${enable_gauge+set}" = set; then
11161 enableval=$enable_gauge;
11162 if test "$enableval" = yes; then
11163 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11165 wx_cv_use_gauge='wxUSE_GAUGE=no'
11170 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11175 eval "$wx_cv_use_gauge"
11177 if test x
"$enablestring" = xdisable
; then
11178 if test $wxUSE_GAUGE = no
; then
11184 result
=$wxUSE_GAUGE
11187 { echo "$as_me:$LINENO: result: $result" >&5
11188 echo "${ECHO_T}$result" >&6; }
11192 defaultval
=$wxUSE_ALL_FEATURES
11193 if test -z "$defaultval"; then
11194 if test x
"$enablestring" = xdisable
; then
11201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11202 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11203 # Check whether --enable-grid was given.
11204 if test "${enable_grid+set}" = set; then
11205 enableval
=$enable_grid;
11206 if test "$enableval" = yes; then
11207 wx_cv_use_grid
='wxUSE_GRID=yes'
11209 wx_cv_use_grid
='wxUSE_GRID=no'
11214 wx_cv_use_grid
='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11219 eval "$wx_cv_use_grid"
11221 if test x"$enablestring" = xdisable; then
11222 if test $wxUSE_GRID = no; then
11231 { echo "$as_me:$LINENO: result: $result" >&5
11232 echo "${ECHO_T}$result" >&6; }
11236 defaultval=$wxUSE_ALL_FEATURES
11237 if test -z "$defaultval"; then
11238 if test x"$enablestring" = xdisable; then
11245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
11246 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
11247 # Check whether --enable-headerctrl was given.
11248 if test "${enable_headerctrl+set}" = set; then
11249 enableval=$enable_headerctrl;
11250 if test "$enableval" = yes; then
11251 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=yes'
11253 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=no
'
11258 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11263 eval "$wx_cv_use_headerctrl"
11265 if test x"$enablestring" = xdisable; then
11266 if test $wxUSE_HEADERCTRL = no; then
11272 result=$wxUSE_HEADERCTRL
11275 { echo "$as_me:$LINENO: result
: $result" >&5
11276 echo "${ECHO_T}$result" >&6; }
11280 defaultval=$wxUSE_ALL_FEATURES
11281 if test -z "$defaultval"; then
11282 if test x"$enablestring" = xdisable; then
11289 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-hyperlink" >&5
11290 echo $ECHO_N "checking
for --${enablestring:-enable}-hyperlink...
$ECHO_C" >&6; }
11291 # Check whether --enable-hyperlink was given.
11292 if test "${enable_hyperlink+set}" = set; then
11293 enableval=$enable_hyperlink;
11294 if test "$enableval" = yes; then
11295 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11297 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11302 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11307 eval "$wx_cv_use_hyperlink"
11309 if test x
"$enablestring" = xdisable
; then
11310 if test $wxUSE_HYPERLINKCTRL = no
; then
11316 result
=$wxUSE_HYPERLINKCTRL
11319 { echo "$as_me:$LINENO: result: $result" >&5
11320 echo "${ECHO_T}$result" >&6; }
11324 defaultval
=$wxUSE_ALL_FEATURES
11325 if test -z "$defaultval"; then
11326 if test x
"$enablestring" = xdisable
; then
11333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11334 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11335 # Check whether --enable-imaglist was given.
11336 if test "${enable_imaglist+set}" = set; then
11337 enableval
=$enable_imaglist;
11338 if test "$enableval" = yes; then
11339 wx_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
11341 wx_cv_use_imaglist
='wxUSE_IMAGLIST=no'
11346 wx_cv_use_imaglist
='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11351 eval "$wx_cv_use_imaglist"
11353 if test x"$enablestring" = xdisable; then
11354 if test $wxUSE_IMAGLIST = no; then
11360 result=$wxUSE_IMAGLIST
11363 { echo "$as_me:$LINENO: result: $result" >&5
11364 echo "${ECHO_T}$result" >&6; }
11368 defaultval=$wxUSE_ALL_FEATURES
11369 if test -z "$defaultval"; then
11370 if test x"$enablestring" = xdisable; then
11377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11378 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11379 # Check whether --enable-infobar was given.
11380 if test "${enable_infobar+set}" = set; then
11381 enableval=$enable_infobar;
11382 if test "$enableval" = yes; then
11383 wx_cv_use_infobar='wxUSE_INFOBAR
=yes'
11385 wx_cv_use_infobar='wxUSE_INFOBAR
=no
'
11390 wx_cv_use_infobar='wxUSE_INFOBAR
=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11395 eval "$wx_cv_use_infobar"
11397 if test x"$enablestring" = xdisable; then
11398 if test $wxUSE_INFOBAR = no; then
11404 result=$wxUSE_INFOBAR
11407 { echo "$as_me:$LINENO: result
: $result" >&5
11408 echo "${ECHO_T}$result" >&6; }
11412 defaultval=$wxUSE_ALL_FEATURES
11413 if test -z "$defaultval"; then
11414 if test x"$enablestring" = xdisable; then
11421 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbook" >&5
11422 echo $ECHO_N "checking
for --${enablestring:-enable}-listbook...
$ECHO_C" >&6; }
11423 # Check whether --enable-listbook was given.
11424 if test "${enable_listbook+set}" = set; then
11425 enableval=$enable_listbook;
11426 if test "$enableval" = yes; then
11427 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11429 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11434 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11439 eval "$wx_cv_use_listbook"
11441 if test x
"$enablestring" = xdisable
; then
11442 if test $wxUSE_LISTBOOK = no
; then
11448 result
=$wxUSE_LISTBOOK
11451 { echo "$as_me:$LINENO: result: $result" >&5
11452 echo "${ECHO_T}$result" >&6; }
11456 defaultval
=$wxUSE_ALL_FEATURES
11457 if test -z "$defaultval"; then
11458 if test x
"$enablestring" = xdisable
; then
11465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11466 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11467 # Check whether --enable-listbox was given.
11468 if test "${enable_listbox+set}" = set; then
11469 enableval
=$enable_listbox;
11470 if test "$enableval" = yes; then
11471 wx_cv_use_listbox
='wxUSE_LISTBOX=yes'
11473 wx_cv_use_listbox
='wxUSE_LISTBOX=no'
11478 wx_cv_use_listbox
='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11483 eval "$wx_cv_use_listbox"
11485 if test x"$enablestring" = xdisable; then
11486 if test $wxUSE_LISTBOX = no; then
11492 result=$wxUSE_LISTBOX
11495 { echo "$as_me:$LINENO: result: $result" >&5
11496 echo "${ECHO_T}$result" >&6; }
11500 defaultval=$wxUSE_ALL_FEATURES
11501 if test -z "$defaultval"; then
11502 if test x"$enablestring" = xdisable; then
11509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11510 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11511 # Check whether --enable-listctrl was given.
11512 if test "${enable_listctrl+set}" = set; then
11513 enableval=$enable_listctrl;
11514 if test "$enableval" = yes; then
11515 wx_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
11517 wx_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
11522 wx_cv_use_listctrl='wxUSE_LISTCTRL
=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11527 eval "$wx_cv_use_listctrl"
11529 if test x"$enablestring" = xdisable; then
11530 if test $wxUSE_LISTCTRL = no; then
11536 result=$wxUSE_LISTCTRL
11539 { echo "$as_me:$LINENO: result
: $result" >&5
11540 echo "${ECHO_T}$result" >&6; }
11544 defaultval=$wxUSE_ALL_FEATURES
11545 if test -z "$defaultval"; then
11546 if test x"$enablestring" = xdisable; then
11553 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-notebook" >&5
11554 echo $ECHO_N "checking
for --${enablestring:-enable}-notebook...
$ECHO_C" >&6; }
11555 # Check whether --enable-notebook was given.
11556 if test "${enable_notebook+set}" = set; then
11557 enableval=$enable_notebook;
11558 if test "$enableval" = yes; then
11559 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11561 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11566 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11571 eval "$wx_cv_use_notebook"
11573 if test x
"$enablestring" = xdisable
; then
11574 if test $wxUSE_NOTEBOOK = no
; then
11580 result
=$wxUSE_NOTEBOOK
11583 { echo "$as_me:$LINENO: result: $result" >&5
11584 echo "${ECHO_T}$result" >&6; }
11588 defaultval
=$wxUSE_ALL_FEATURES
11589 if test -z "$defaultval"; then
11590 if test x
"$enablestring" = xdisable
; then
11597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11598 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11599 # Check whether --enable-notifmsg was given.
11600 if test "${enable_notifmsg+set}" = set; then
11601 enableval
=$enable_notifmsg;
11602 if test "$enableval" = yes; then
11603 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=yes'
11605 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=no'
11610 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11615 eval "$wx_cv_use_notifmsg"
11617 if test x"$enablestring" = xdisable; then
11618 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11624 result=$wxUSE_NOTIFICATION_MESSAGE
11627 { echo "$as_me:$LINENO: result: $result" >&5
11628 echo "${ECHO_T}$result" >&6; }
11632 defaultval=$wxUSE_ALL_FEATURES
11633 if test -z "$defaultval"; then
11634 if test x"$enablestring" = xdisable; then
11641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11642 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11643 # Check whether --enable-odcombobox was given.
11644 if test "${enable_odcombobox+set}" = set; then
11645 enableval=$enable_odcombobox;
11646 if test "$enableval" = yes; then
11647 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=yes'
11649 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=no
'
11654 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11659 eval "$wx_cv_use_odcombobox"
11661 if test x"$enablestring" = xdisable; then
11662 if test $wxUSE_ODCOMBOBOX = no; then
11668 result=$wxUSE_ODCOMBOBOX
11671 { echo "$as_me:$LINENO: result
: $result" >&5
11672 echo "${ECHO_T}$result" >&6; }
11676 defaultval=$wxUSE_ALL_FEATURES
11677 if test -z "$defaultval"; then
11678 if test x"$enablestring" = xdisable; then
11685 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-popupwin" >&5
11686 echo $ECHO_N "checking
for --${enablestring:-enable}-popupwin...
$ECHO_C" >&6; }
11687 # Check whether --enable-popupwin was given.
11688 if test "${enable_popupwin+set}" = set; then
11689 enableval=$enable_popupwin;
11690 if test "$enableval" = yes; then
11691 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11693 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11698 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11703 eval "$wx_cv_use_popupwin"
11705 if test x
"$enablestring" = xdisable
; then
11706 if test $wxUSE_POPUPWIN = no
; then
11712 result
=$wxUSE_POPUPWIN
11715 { echo "$as_me:$LINENO: result: $result" >&5
11716 echo "${ECHO_T}$result" >&6; }
11720 defaultval
=$wxUSE_ALL_FEATURES
11721 if test -z "$defaultval"; then
11722 if test x
"$enablestring" = xdisable
; then
11729 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11730 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11731 # Check whether --enable-radiobox was given.
11732 if test "${enable_radiobox+set}" = set; then
11733 enableval
=$enable_radiobox;
11734 if test "$enableval" = yes; then
11735 wx_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
11737 wx_cv_use_radiobox
='wxUSE_RADIOBOX=no'
11742 wx_cv_use_radiobox
='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11747 eval "$wx_cv_use_radiobox"
11749 if test x"$enablestring" = xdisable; then
11750 if test $wxUSE_RADIOBOX = no; then
11756 result=$wxUSE_RADIOBOX
11759 { echo "$as_me:$LINENO: result: $result" >&5
11760 echo "${ECHO_T}$result" >&6; }
11764 defaultval=$wxUSE_ALL_FEATURES
11765 if test -z "$defaultval"; then
11766 if test x"$enablestring" = xdisable; then
11773 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11774 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11775 # Check whether --enable-radiobtn was given.
11776 if test "${enable_radiobtn+set}" = set; then
11777 enableval=$enable_radiobtn;
11778 if test "$enableval" = yes; then
11779 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
11781 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
11786 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11791 eval "$wx_cv_use_radiobtn"
11793 if test x"$enablestring" = xdisable; then
11794 if test $wxUSE_RADIOBTN = no; then
11800 result=$wxUSE_RADIOBTN
11803 { echo "$as_me:$LINENO: result
: $result" >&5
11804 echo "${ECHO_T}$result" >&6; }
11808 defaultval=$wxUSE_ALL_FEATURES
11809 if test -z "$defaultval"; then
11810 if test x"$enablestring" = xdisable; then
11817 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-richmsgdlg" >&5
11818 echo $ECHO_N "checking
for --${enablestring:-enable}-richmsgdlg...
$ECHO_C" >&6; }
11819 # Check whether --enable-richmsgdlg was given.
11820 if test "${enable_richmsgdlg+set}" = set; then
11821 enableval=$enable_richmsgdlg;
11822 if test "$enableval" = yes; then
11823 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
11825 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
11830 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11835 eval "$wx_cv_use_richmsgdlg"
11837 if test x
"$enablestring" = xdisable
; then
11838 if test $wxUSE_RICHMSGDLG = no
; then
11844 result
=$wxUSE_RICHMSGDLG
11847 { echo "$as_me:$LINENO: result: $result" >&5
11848 echo "${ECHO_T}$result" >&6; }
11852 defaultval
=$wxUSE_ALL_FEATURES
11853 if test -z "$defaultval"; then
11854 if test x
"$enablestring" = xdisable
; then
11861 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11862 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11863 # Check whether --enable-rearrangectrl was given.
11864 if test "${enable_rearrangectrl+set}" = set; then
11865 enableval
=$enable_rearrangectrl;
11866 if test "$enableval" = yes; then
11867 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=yes'
11869 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=no'
11874 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11879 eval "$wx_cv_use_rearrangectrl"
11881 if test x"$enablestring" = xdisable; then
11882 if test $wxUSE_REARRANGECTRL = no; then
11888 result=$wxUSE_REARRANGECTRL
11891 { echo "$as_me:$LINENO: result: $result" >&5
11892 echo "${ECHO_T}$result" >&6; }
11896 defaultval=$wxUSE_ALL_FEATURES
11897 if test -z "$defaultval"; then
11898 if test x"$enablestring" = xdisable; then
11905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11906 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11907 # Check whether --enable-sash was given.
11908 if test "${enable_sash+set}" = set; then
11909 enableval=$enable_sash;
11910 if test "$enableval" = yes; then
11911 wx_cv_use_sash='wxUSE_SASH
=yes'
11913 wx_cv_use_sash='wxUSE_SASH
=no
'
11918 wx_cv_use_sash='wxUSE_SASH
=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11923 eval "$wx_cv_use_sash"
11925 if test x"$enablestring" = xdisable; then
11926 if test $wxUSE_SASH = no; then
11935 { echo "$as_me:$LINENO: result
: $result" >&5
11936 echo "${ECHO_T}$result" >&6; }
11940 defaultval=$wxUSE_ALL_FEATURES
11941 if test -z "$defaultval"; then
11942 if test x"$enablestring" = xdisable; then
11949 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-scrollbar" >&5
11950 echo $ECHO_N "checking
for --${enablestring:-enable}-scrollbar...
$ECHO_C" >&6; }
11951 # Check whether --enable-scrollbar was given.
11952 if test "${enable_scrollbar+set}" = set; then
11953 enableval=$enable_scrollbar;
11954 if test "$enableval" = yes; then
11955 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11957 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11962 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11967 eval "$wx_cv_use_scrollbar"
11969 if test x
"$enablestring" = xdisable
; then
11970 if test $wxUSE_SCROLLBAR = no
; then
11976 result
=$wxUSE_SCROLLBAR
11979 { echo "$as_me:$LINENO: result: $result" >&5
11980 echo "${ECHO_T}$result" >&6; }
11984 defaultval
=$wxUSE_ALL_FEATURES
11985 if test -z "$defaultval"; then
11986 if test x
"$enablestring" = xdisable
; then
11993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11994 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11995 # Check whether --enable-searchctrl was given.
11996 if test "${enable_searchctrl+set}" = set; then
11997 enableval
=$enable_searchctrl;
11998 if test "$enableval" = yes; then
11999 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=yes'
12001 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=no'
12006 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12011 eval "$wx_cv_use_searchctrl"
12013 if test x"$enablestring" = xdisable; then
12014 if test $wxUSE_SEARCHCTRL = no; then
12020 result=$wxUSE_SEARCHCTRL
12023 { echo "$as_me:$LINENO: result: $result" >&5
12024 echo "${ECHO_T}$result" >&6; }
12028 defaultval=$wxUSE_ALL_FEATURES
12029 if test -z "$defaultval"; then
12030 if test x"$enablestring" = xdisable; then
12037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12038 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12039 # Check whether --enable-slider was given.
12040 if test "${enable_slider+set}" = set; then
12041 enableval=$enable_slider;
12042 if test "$enableval" = yes; then
12043 wx_cv_use_slider='wxUSE_SLIDER
=yes'
12045 wx_cv_use_slider='wxUSE_SLIDER
=no
'
12050 wx_cv_use_slider='wxUSE_SLIDER
=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12055 eval "$wx_cv_use_slider"
12057 if test x"$enablestring" = xdisable; then
12058 if test $wxUSE_SLIDER = no; then
12064 result=$wxUSE_SLIDER
12067 { echo "$as_me:$LINENO: result
: $result" >&5
12068 echo "${ECHO_T}$result" >&6; }
12072 defaultval=$wxUSE_ALL_FEATURES
12073 if test -z "$defaultval"; then
12074 if test x"$enablestring" = xdisable; then
12081 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinbtn" >&5
12082 echo $ECHO_N "checking
for --${enablestring:-enable}-spinbtn...
$ECHO_C" >&6; }
12083 # Check whether --enable-spinbtn was given.
12084 if test "${enable_spinbtn+set}" = set; then
12085 enableval=$enable_spinbtn;
12086 if test "$enableval" = yes; then
12087 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12089 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12094 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12099 eval "$wx_cv_use_spinbtn"
12101 if test x
"$enablestring" = xdisable
; then
12102 if test $wxUSE_SPINBTN = no
; then
12108 result
=$wxUSE_SPINBTN
12111 { echo "$as_me:$LINENO: result: $result" >&5
12112 echo "${ECHO_T}$result" >&6; }
12116 defaultval
=$wxUSE_ALL_FEATURES
12117 if test -z "$defaultval"; then
12118 if test x
"$enablestring" = xdisable
; then
12125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12126 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12127 # Check whether --enable-spinctrl was given.
12128 if test "${enable_spinctrl+set}" = set; then
12129 enableval
=$enable_spinctrl;
12130 if test "$enableval" = yes; then
12131 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
12133 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
12138 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12143 eval "$wx_cv_use_spinctrl"
12145 if test x"$enablestring" = xdisable; then
12146 if test $wxUSE_SPINCTRL = no; then
12152 result=$wxUSE_SPINCTRL
12155 { echo "$as_me:$LINENO: result: $result" >&5
12156 echo "${ECHO_T}$result" >&6; }
12160 defaultval=$wxUSE_ALL_FEATURES
12161 if test -z "$defaultval"; then
12162 if test x"$enablestring" = xdisable; then
12169 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12170 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12171 # Check whether --enable-splitter was given.
12172 if test "${enable_splitter+set}" = set; then
12173 enableval=$enable_splitter;
12174 if test "$enableval" = yes; then
12175 wx_cv_use_splitter='wxUSE_SPLITTER
=yes'
12177 wx_cv_use_splitter='wxUSE_SPLITTER
=no
'
12182 wx_cv_use_splitter='wxUSE_SPLITTER
=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12187 eval "$wx_cv_use_splitter"
12189 if test x"$enablestring" = xdisable; then
12190 if test $wxUSE_SPLITTER = no; then
12196 result=$wxUSE_SPLITTER
12199 { echo "$as_me:$LINENO: result
: $result" >&5
12200 echo "${ECHO_T}$result" >&6; }
12204 defaultval=$wxUSE_ALL_FEATURES
12205 if test -z "$defaultval"; then
12206 if test x"$enablestring" = xdisable; then
12213 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbmp" >&5
12214 echo $ECHO_N "checking
for --${enablestring:-enable}-statbmp...
$ECHO_C" >&6; }
12215 # Check whether --enable-statbmp was given.
12216 if test "${enable_statbmp+set}" = set; then
12217 enableval=$enable_statbmp;
12218 if test "$enableval" = yes; then
12219 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12221 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12226 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12231 eval "$wx_cv_use_statbmp"
12233 if test x
"$enablestring" = xdisable
; then
12234 if test $wxUSE_STATBMP = no
; then
12240 result
=$wxUSE_STATBMP
12243 { echo "$as_me:$LINENO: result: $result" >&5
12244 echo "${ECHO_T}$result" >&6; }
12248 defaultval
=$wxUSE_ALL_FEATURES
12249 if test -z "$defaultval"; then
12250 if test x
"$enablestring" = xdisable
; then
12257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12258 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12259 # Check whether --enable-statbox was given.
12260 if test "${enable_statbox+set}" = set; then
12261 enableval
=$enable_statbox;
12262 if test "$enableval" = yes; then
12263 wx_cv_use_statbox
='wxUSE_STATBOX=yes'
12265 wx_cv_use_statbox
='wxUSE_STATBOX=no'
12270 wx_cv_use_statbox
='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12275 eval "$wx_cv_use_statbox"
12277 if test x"$enablestring" = xdisable; then
12278 if test $wxUSE_STATBOX = no; then
12284 result=$wxUSE_STATBOX
12287 { echo "$as_me:$LINENO: result: $result" >&5
12288 echo "${ECHO_T}$result" >&6; }
12292 defaultval=$wxUSE_ALL_FEATURES
12293 if test -z "$defaultval"; then
12294 if test x"$enablestring" = xdisable; then
12301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12302 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12303 # Check whether --enable-statline was given.
12304 if test "${enable_statline+set}" = set; then
12305 enableval=$enable_statline;
12306 if test "$enableval" = yes; then
12307 wx_cv_use_statline='wxUSE_STATLINE
=yes'
12309 wx_cv_use_statline='wxUSE_STATLINE
=no
'
12314 wx_cv_use_statline='wxUSE_STATLINE
=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12319 eval "$wx_cv_use_statline"
12321 if test x"$enablestring" = xdisable; then
12322 if test $wxUSE_STATLINE = no; then
12328 result=$wxUSE_STATLINE
12331 { echo "$as_me:$LINENO: result
: $result" >&5
12332 echo "${ECHO_T}$result" >&6; }
12336 defaultval=$wxUSE_ALL_FEATURES
12337 if test -z "$defaultval"; then
12338 if test x"$enablestring" = xdisable; then
12345 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stattext" >&5
12346 echo $ECHO_N "checking
for --${enablestring:-enable}-stattext...
$ECHO_C" >&6; }
12347 # Check whether --enable-stattext was given.
12348 if test "${enable_stattext+set}" = set; then
12349 enableval=$enable_stattext;
12350 if test "$enableval" = yes; then
12351 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12353 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12358 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12363 eval "$wx_cv_use_stattext"
12365 if test x
"$enablestring" = xdisable
; then
12366 if test $wxUSE_STATTEXT = no
; then
12372 result
=$wxUSE_STATTEXT
12375 { echo "$as_me:$LINENO: result: $result" >&5
12376 echo "${ECHO_T}$result" >&6; }
12380 defaultval
=$wxUSE_ALL_FEATURES
12381 if test -z "$defaultval"; then
12382 if test x
"$enablestring" = xdisable
; then
12389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12390 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12391 # Check whether --enable-statusbar was given.
12392 if test "${enable_statusbar+set}" = set; then
12393 enableval
=$enable_statusbar;
12394 if test "$enableval" = yes; then
12395 wx_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
12397 wx_cv_use_statusbar
='wxUSE_STATUSBAR=no'
12402 wx_cv_use_statusbar
='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12407 eval "$wx_cv_use_statusbar"
12409 if test x"$enablestring" = xdisable; then
12410 if test $wxUSE_STATUSBAR = no; then
12416 result=$wxUSE_STATUSBAR
12419 { echo "$as_me:$LINENO: result: $result" >&5
12420 echo "${ECHO_T}$result" >&6; }
12424 defaultval=$wxUSE_ALL_FEATURES
12425 if test -z "$defaultval"; then
12426 if test x"$enablestring" = xdisable; then
12433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12434 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12435 # Check whether --enable-taskbaricon was given.
12436 if test "${enable_taskbaricon+set}" = set; then
12437 enableval=$enable_taskbaricon;
12438 if test "$enableval" = yes; then
12439 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=yes'
12441 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=no
'
12446 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12451 eval "$wx_cv_use_taskbaricon"
12453 if test x"$enablestring" = xdisable; then
12454 if test $wxUSE_TASKBARICON = no; then
12460 result=$wxUSE_TASKBARICON
12463 { echo "$as_me:$LINENO: result
: $result" >&5
12464 echo "${ECHO_T}$result" >&6; }
12468 defaultval=$wxUSE_ALL_FEATURES
12469 if test -z "$defaultval"; then
12470 if test x"$enablestring" = xdisable; then
12477 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tbarnative" >&5
12478 echo $ECHO_N "checking
for --${enablestring:-enable}-tbarnative...
$ECHO_C" >&6; }
12479 # Check whether --enable-tbarnative was given.
12480 if test "${enable_tbarnative+set}" = set; then
12481 enableval=$enable_tbarnative;
12482 if test "$enableval" = yes; then
12483 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12485 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12490 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12495 eval "$wx_cv_use_tbarnative"
12497 if test x
"$enablestring" = xdisable
; then
12498 if test $wxUSE_TOOLBAR_NATIVE = no
; then
12504 result
=$wxUSE_TOOLBAR_NATIVE
12507 { echo "$as_me:$LINENO: result: $result" >&5
12508 echo "${ECHO_T}$result" >&6; }
12512 defaultval
=$wxUSE_ALL_FEATURES
12513 if test -z "$defaultval"; then
12514 if test x
"$enablestring" = xdisable
; then
12521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12522 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12523 # Check whether --enable-textctrl was given.
12524 if test "${enable_textctrl+set}" = set; then
12525 enableval
=$enable_textctrl;
12526 if test "$enableval" = yes; then
12527 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
12529 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
12534 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12539 eval "$wx_cv_use_textctrl"
12541 if test x"$enablestring" = xdisable; then
12542 if test $wxUSE_TEXTCTRL = no; then
12548 result=$wxUSE_TEXTCTRL
12551 { echo "$as_me:$LINENO: result: $result" >&5
12552 echo "${ECHO_T}$result" >&6; }
12556 defaultval=$wxUSE_ALL_FEATURES
12557 if test -z "$defaultval"; then
12558 if test x"$enablestring" = xdisable; then
12565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12566 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12567 # Check whether --enable-tipwindow was given.
12568 if test "${enable_tipwindow+set}" = set; then
12569 enableval=$enable_tipwindow;
12570 if test "$enableval" = yes; then
12571 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
12573 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
12578 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12583 eval "$wx_cv_use_tipwindow"
12585 if test x"$enablestring" = xdisable; then
12586 if test $wxUSE_TIPWINDOW = no; then
12592 result=$wxUSE_TIPWINDOW
12595 { echo "$as_me:$LINENO: result
: $result" >&5
12596 echo "${ECHO_T}$result" >&6; }
12600 defaultval=$wxUSE_ALL_FEATURES
12601 if test -z "$defaultval"; then
12602 if test x"$enablestring" = xdisable; then
12609 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-togglebtn" >&5
12610 echo $ECHO_N "checking
for --${enablestring:-enable}-togglebtn...
$ECHO_C" >&6; }
12611 # Check whether --enable-togglebtn was given.
12612 if test "${enable_togglebtn+set}" = set; then
12613 enableval=$enable_togglebtn;
12614 if test "$enableval" = yes; then
12615 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12617 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12622 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12627 eval "$wx_cv_use_togglebtn"
12629 if test x
"$enablestring" = xdisable
; then
12630 if test $wxUSE_TOGGLEBTN = no
; then
12636 result
=$wxUSE_TOGGLEBTN
12639 { echo "$as_me:$LINENO: result: $result" >&5
12640 echo "${ECHO_T}$result" >&6; }
12644 defaultval
=$wxUSE_ALL_FEATURES
12645 if test -z "$defaultval"; then
12646 if test x
"$enablestring" = xdisable
; then
12653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12654 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12655 # Check whether --enable-toolbar was given.
12656 if test "${enable_toolbar+set}" = set; then
12657 enableval
=$enable_toolbar;
12658 if test "$enableval" = yes; then
12659 wx_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
12661 wx_cv_use_toolbar
='wxUSE_TOOLBAR=no'
12666 wx_cv_use_toolbar
='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12671 eval "$wx_cv_use_toolbar"
12673 if test x"$enablestring" = xdisable; then
12674 if test $wxUSE_TOOLBAR = no; then
12680 result=$wxUSE_TOOLBAR
12683 { echo "$as_me:$LINENO: result: $result" >&5
12684 echo "${ECHO_T}$result" >&6; }
12688 defaultval=$wxUSE_ALL_FEATURES
12689 if test -z "$defaultval"; then
12690 if test x"$enablestring" = xdisable; then
12697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12698 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12699 # Check whether --enable-toolbook was given.
12700 if test "${enable_toolbook+set}" = set; then
12701 enableval=$enable_toolbook;
12702 if test "$enableval" = yes; then
12703 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=yes'
12705 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=no
'
12710 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12715 eval "$wx_cv_use_toolbook"
12717 if test x"$enablestring" = xdisable; then
12718 if test $wxUSE_TOOLBOOK = no; then
12724 result=$wxUSE_TOOLBOOK
12727 { echo "$as_me:$LINENO: result
: $result" >&5
12728 echo "${ECHO_T}$result" >&6; }
12732 defaultval=$wxUSE_ALL_FEATURES
12733 if test -z "$defaultval"; then
12734 if test x"$enablestring" = xdisable; then
12741 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treebook" >&5
12742 echo $ECHO_N "checking
for --${enablestring:-enable}-treebook...
$ECHO_C" >&6; }
12743 # Check whether --enable-treebook was given.
12744 if test "${enable_treebook+set}" = set; then
12745 enableval=$enable_treebook;
12746 if test "$enableval" = yes; then
12747 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12749 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12754 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12759 eval "$wx_cv_use_treebook"
12761 if test x
"$enablestring" = xdisable
; then
12762 if test $wxUSE_TREEBOOK = no
; then
12768 result
=$wxUSE_TREEBOOK
12771 { echo "$as_me:$LINENO: result: $result" >&5
12772 echo "${ECHO_T}$result" >&6; }
12776 defaultval
=$wxUSE_ALL_FEATURES
12777 if test -z "$defaultval"; then
12778 if test x
"$enablestring" = xdisable
; then
12785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12786 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12787 # Check whether --enable-treectrl was given.
12788 if test "${enable_treectrl+set}" = set; then
12789 enableval
=$enable_treectrl;
12790 if test "$enableval" = yes; then
12791 wx_cv_use_treectrl
='wxUSE_TREECTRL=yes'
12793 wx_cv_use_treectrl
='wxUSE_TREECTRL=no'
12798 wx_cv_use_treectrl
='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12803 eval "$wx_cv_use_treectrl"
12805 if test x"$enablestring" = xdisable; then
12806 if test $wxUSE_TREECTRL = no; then
12812 result=$wxUSE_TREECTRL
12815 { echo "$as_me:$LINENO: result: $result" >&5
12816 echo "${ECHO_T}$result" >&6; }
12822 defaultval=$wxUSE_ALL_FEATURES
12823 if test -z "$defaultval"; then
12824 if test x"$enablestring" = xdisable; then
12831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12832 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12833 # Check whether --enable-commondlg was given.
12834 if test "${enable_commondlg+set}" = set; then
12835 enableval=$enable_commondlg;
12836 if test "$enableval" = yes; then
12837 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
12839 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
12844 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12849 eval "$wx_cv_use_commondlg"
12851 if test x"$enablestring" = xdisable; then
12852 if test $wxUSE_COMMONDLGS = no; then
12858 result=$wxUSE_COMMONDLGS
12861 { echo "$as_me:$LINENO: result
: $result" >&5
12862 echo "${ECHO_T}$result" >&6; }
12866 defaultval=$wxUSE_ALL_FEATURES
12867 if test -z "$defaultval"; then
12868 if test x"$enablestring" = xdisable; then
12875 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-aboutdlg" >&5
12876 echo $ECHO_N "checking
for --${enablestring:-enable}-aboutdlg...
$ECHO_C" >&6; }
12877 # Check whether --enable-aboutdlg was given.
12878 if test "${enable_aboutdlg+set}" = set; then
12879 enableval=$enable_aboutdlg;
12880 if test "$enableval" = yes; then
12881 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12883 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12888 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12893 eval "$wx_cv_use_aboutdlg"
12895 if test x
"$enablestring" = xdisable
; then
12896 if test $wxUSE_ABOUTDLG = no
; then
12902 result
=$wxUSE_ABOUTDLG
12905 { echo "$as_me:$LINENO: result: $result" >&5
12906 echo "${ECHO_T}$result" >&6; }
12910 defaultval
=$wxUSE_ALL_FEATURES
12911 if test -z "$defaultval"; then
12912 if test x
"$enablestring" = xdisable
; then
12919 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12920 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12921 # Check whether --enable-choicedlg was given.
12922 if test "${enable_choicedlg+set}" = set; then
12923 enableval
=$enable_choicedlg;
12924 if test "$enableval" = yes; then
12925 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
12927 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
12932 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12937 eval "$wx_cv_use_choicedlg"
12939 if test x"$enablestring" = xdisable; then
12940 if test $wxUSE_CHOICEDLG = no; then
12946 result=$wxUSE_CHOICEDLG
12949 { echo "$as_me:$LINENO: result: $result" >&5
12950 echo "${ECHO_T}$result" >&6; }
12954 defaultval=$wxUSE_ALL_FEATURES
12955 if test -z "$defaultval"; then
12956 if test x"$enablestring" = xdisable; then
12963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12964 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12965 # Check whether --enable-coldlg was given.
12966 if test "${enable_coldlg+set}" = set; then
12967 enableval=$enable_coldlg;
12968 if test "$enableval" = yes; then
12969 wx_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
12971 wx_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
12976 wx_cv_use_coldlg='wxUSE_COLOURDLG
=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12981 eval "$wx_cv_use_coldlg"
12983 if test x"$enablestring" = xdisable; then
12984 if test $wxUSE_COLOURDLG = no; then
12990 result=$wxUSE_COLOURDLG
12993 { echo "$as_me:$LINENO: result
: $result" >&5
12994 echo "${ECHO_T}$result" >&6; }
12998 defaultval=$wxUSE_ALL_FEATURES
12999 if test -z "$defaultval"; then
13000 if test x"$enablestring" = xdisable; then
13007 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filedlg" >&5
13008 echo $ECHO_N "checking
for --${enablestring:-enable}-filedlg...
$ECHO_C" >&6; }
13009 # Check whether --enable-filedlg was given.
13010 if test "${enable_filedlg+set}" = set; then
13011 enableval=$enable_filedlg;
13012 if test "$enableval" = yes; then
13013 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13015 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13020 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13025 eval "$wx_cv_use_filedlg"
13027 if test x
"$enablestring" = xdisable
; then
13028 if test $wxUSE_FILEDLG = no
; then
13034 result
=$wxUSE_FILEDLG
13037 { echo "$as_me:$LINENO: result: $result" >&5
13038 echo "${ECHO_T}$result" >&6; }
13042 defaultval
=$wxUSE_ALL_FEATURES
13043 if test -z "$defaultval"; then
13044 if test x
"$enablestring" = xdisable
; then
13051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13052 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13053 # Check whether --enable-finddlg was given.
13054 if test "${enable_finddlg+set}" = set; then
13055 enableval
=$enable_finddlg;
13056 if test "$enableval" = yes; then
13057 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
13059 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
13064 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13069 eval "$wx_cv_use_finddlg"
13071 if test x"$enablestring" = xdisable; then
13072 if test $wxUSE_FINDREPLDLG = no; then
13078 result=$wxUSE_FINDREPLDLG
13081 { echo "$as_me:$LINENO: result: $result" >&5
13082 echo "${ECHO_T}$result" >&6; }
13086 defaultval=$wxUSE_ALL_FEATURES
13087 if test -z "$defaultval"; then
13088 if test x"$enablestring" = xdisable; then
13095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13096 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13097 # Check whether --enable-fontdlg was given.
13098 if test "${enable_fontdlg+set}" = set; then
13099 enableval=$enable_fontdlg;
13100 if test "$enableval" = yes; then
13101 wx_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
13103 wx_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
13108 wx_cv_use_fontdlg='wxUSE_FONTDLG
=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13113 eval "$wx_cv_use_fontdlg"
13115 if test x"$enablestring" = xdisable; then
13116 if test $wxUSE_FONTDLG = no; then
13122 result=$wxUSE_FONTDLG
13125 { echo "$as_me:$LINENO: result
: $result" >&5
13126 echo "${ECHO_T}$result" >&6; }
13130 defaultval=$wxUSE_ALL_FEATURES
13131 if test -z "$defaultval"; then
13132 if test x"$enablestring" = xdisable; then
13139 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirdlg" >&5
13140 echo $ECHO_N "checking
for --${enablestring:-enable}-dirdlg...
$ECHO_C" >&6; }
13141 # Check whether --enable-dirdlg was given.
13142 if test "${enable_dirdlg+set}" = set; then
13143 enableval=$enable_dirdlg;
13144 if test "$enableval" = yes; then
13145 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13147 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13152 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13157 eval "$wx_cv_use_dirdlg"
13159 if test x
"$enablestring" = xdisable
; then
13160 if test $wxUSE_DIRDLG = no
; then
13166 result
=$wxUSE_DIRDLG
13169 { echo "$as_me:$LINENO: result: $result" >&5
13170 echo "${ECHO_T}$result" >&6; }
13174 defaultval
=$wxUSE_ALL_FEATURES
13175 if test -z "$defaultval"; then
13176 if test x
"$enablestring" = xdisable
; then
13183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13184 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13185 # Check whether --enable-msgdlg was given.
13186 if test "${enable_msgdlg+set}" = set; then
13187 enableval
=$enable_msgdlg;
13188 if test "$enableval" = yes; then
13189 wx_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
13191 wx_cv_use_msgdlg
='wxUSE_MSGDLG=no'
13196 wx_cv_use_msgdlg
='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13201 eval "$wx_cv_use_msgdlg"
13203 if test x"$enablestring" = xdisable; then
13204 if test $wxUSE_MSGDLG = no; then
13210 result=$wxUSE_MSGDLG
13213 { echo "$as_me:$LINENO: result: $result" >&5
13214 echo "${ECHO_T}$result" >&6; }
13218 defaultval=$wxUSE_ALL_FEATURES
13219 if test -z "$defaultval"; then
13220 if test x"$enablestring" = xdisable; then
13227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13228 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13229 # Check whether --enable-numberdlg was given.
13230 if test "${enable_numberdlg+set}" = set; then
13231 enableval=$enable_numberdlg;
13232 if test "$enableval" = yes; then
13233 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
13235 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
13240 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13245 eval "$wx_cv_use_numberdlg"
13247 if test x"$enablestring" = xdisable; then
13248 if test $wxUSE_NUMBERDLG = no; then
13254 result=$wxUSE_NUMBERDLG
13257 { echo "$as_me:$LINENO: result
: $result" >&5
13258 echo "${ECHO_T}$result" >&6; }
13262 defaultval=$wxUSE_ALL_FEATURES
13263 if test -z "$defaultval"; then
13264 if test x"$enablestring" = xdisable; then
13271 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splash" >&5
13272 echo $ECHO_N "checking
for --${enablestring:-enable}-splash...
$ECHO_C" >&6; }
13273 # Check whether --enable-splash was given.
13274 if test "${enable_splash+set}" = set; then
13275 enableval=$enable_splash;
13276 if test "$enableval" = yes; then
13277 wx_cv_use_splash='wxUSE_SPLASH=yes'
13279 wx_cv_use_splash='wxUSE_SPLASH=no'
13284 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13289 eval "$wx_cv_use_splash"
13291 if test x
"$enablestring" = xdisable
; then
13292 if test $wxUSE_SPLASH = no
; then
13298 result
=$wxUSE_SPLASH
13301 { echo "$as_me:$LINENO: result: $result" >&5
13302 echo "${ECHO_T}$result" >&6; }
13306 defaultval
=$wxUSE_ALL_FEATURES
13307 if test -z "$defaultval"; then
13308 if test x
"$enablestring" = xdisable
; then
13315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13316 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13317 # Check whether --enable-textdlg was given.
13318 if test "${enable_textdlg+set}" = set; then
13319 enableval
=$enable_textdlg;
13320 if test "$enableval" = yes; then
13321 wx_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
13323 wx_cv_use_textdlg
='wxUSE_TEXTDLG=no'
13328 wx_cv_use_textdlg
='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13333 eval "$wx_cv_use_textdlg"
13335 if test x"$enablestring" = xdisable; then
13336 if test $wxUSE_TEXTDLG = no; then
13342 result=$wxUSE_TEXTDLG
13345 { echo "$as_me:$LINENO: result: $result" >&5
13346 echo "${ECHO_T}$result" >&6; }
13350 defaultval=$wxUSE_ALL_FEATURES
13351 if test -z "$defaultval"; then
13352 if test x"$enablestring" = xdisable; then
13359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13360 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13361 # Check whether --enable-tipdlg was given.
13362 if test "${enable_tipdlg+set}" = set; then
13363 enableval=$enable_tipdlg;
13364 if test "$enableval" = yes; then
13365 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
13367 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
13372 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13377 eval "$wx_cv_use_tipdlg"
13379 if test x"$enablestring" = xdisable; then
13380 if test $wxUSE_STARTUP_TIPS = no; then
13386 result=$wxUSE_STARTUP_TIPS
13389 { echo "$as_me:$LINENO: result
: $result" >&5
13390 echo "${ECHO_T}$result" >&6; }
13394 defaultval=$wxUSE_ALL_FEATURES
13395 if test -z "$defaultval"; then
13396 if test x"$enablestring" = xdisable; then
13403 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-progressdlg" >&5
13404 echo $ECHO_N "checking
for --${enablestring:-enable}-progressdlg...
$ECHO_C" >&6; }
13405 # Check whether --enable-progressdlg was given.
13406 if test "${enable_progressdlg+set}" = set; then
13407 enableval=$enable_progressdlg;
13408 if test "$enableval" = yes; then
13409 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13411 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13416 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13421 eval "$wx_cv_use_progressdlg"
13423 if test x
"$enablestring" = xdisable
; then
13424 if test $wxUSE_PROGRESSDLG = no
; then
13430 result
=$wxUSE_PROGRESSDLG
13433 { echo "$as_me:$LINENO: result: $result" >&5
13434 echo "${ECHO_T}$result" >&6; }
13438 defaultval
=$wxUSE_ALL_FEATURES
13439 if test -z "$defaultval"; then
13440 if test x
"$enablestring" = xdisable
; then
13447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13448 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13449 # Check whether --enable-wizarddlg was given.
13450 if test "${enable_wizarddlg+set}" = set; then
13451 enableval
=$enable_wizarddlg;
13452 if test "$enableval" = yes; then
13453 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
13455 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
13460 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13465 eval "$wx_cv_use_wizarddlg"
13467 if test x"$enablestring" = xdisable; then
13468 if test $wxUSE_WIZARDDLG = no; then
13474 result=$wxUSE_WIZARDDLG
13477 { echo "$as_me:$LINENO: result: $result" >&5
13478 echo "${ECHO_T}$result" >&6; }
13484 defaultval=$wxUSE_ALL_FEATURES
13485 if test -z "$defaultval"; then
13486 if test x"$enablestring" = xdisable; then
13493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13494 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13495 # Check whether --enable-menus was given.
13496 if test "${enable_menus+set}" = set; then
13497 enableval=$enable_menus;
13498 if test "$enableval" = yes; then
13499 wx_cv_use_menus='wxUSE_MENUS
=yes'
13501 wx_cv_use_menus='wxUSE_MENUS
=no
'
13506 wx_cv_use_menus='wxUSE_MENUS
=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13511 eval "$wx_cv_use_menus"
13513 if test x"$enablestring" = xdisable; then
13514 if test $wxUSE_MENUS = no; then
13520 result=$wxUSE_MENUS
13523 { echo "$as_me:$LINENO: result
: $result" >&5
13524 echo "${ECHO_T}$result" >&6; }
13528 defaultval=$wxUSE_ALL_FEATURES
13529 if test -z "$defaultval"; then
13530 if test x"$enablestring" = xdisable; then
13537 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-miniframe" >&5
13538 echo $ECHO_N "checking
for --${enablestring:-enable}-miniframe...
$ECHO_C" >&6; }
13539 # Check whether --enable-miniframe was given.
13540 if test "${enable_miniframe+set}" = set; then
13541 enableval=$enable_miniframe;
13542 if test "$enableval" = yes; then
13543 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13545 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13550 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13555 eval "$wx_cv_use_miniframe"
13557 if test x
"$enablestring" = xdisable
; then
13558 if test $wxUSE_MINIFRAME = no
; then
13564 result
=$wxUSE_MINIFRAME
13567 { echo "$as_me:$LINENO: result: $result" >&5
13568 echo "${ECHO_T}$result" >&6; }
13572 defaultval
=$wxUSE_ALL_FEATURES
13573 if test -z "$defaultval"; then
13574 if test x
"$enablestring" = xdisable
; then
13581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13582 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13583 # Check whether --enable-tooltips was given.
13584 if test "${enable_tooltips+set}" = set; then
13585 enableval
=$enable_tooltips;
13586 if test "$enableval" = yes; then
13587 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
13589 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
13594 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13599 eval "$wx_cv_use_tooltips"
13601 if test x"$enablestring" = xdisable; then
13602 if test $wxUSE_TOOLTIPS = no; then
13608 result=$wxUSE_TOOLTIPS
13611 { echo "$as_me:$LINENO: result: $result" >&5
13612 echo "${ECHO_T}$result" >&6; }
13616 defaultval=$wxUSE_ALL_FEATURES
13617 if test -z "$defaultval"; then
13618 if test x"$enablestring" = xdisable; then
13625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13626 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13627 # Check whether --enable-splines was given.
13628 if test "${enable_splines+set}" = set; then
13629 enableval=$enable_splines;
13630 if test "$enableval" = yes; then
13631 wx_cv_use_splines='wxUSE_SPLINES
=yes'
13633 wx_cv_use_splines='wxUSE_SPLINES
=no
'
13638 wx_cv_use_splines='wxUSE_SPLINES
=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13643 eval "$wx_cv_use_splines"
13645 if test x"$enablestring" = xdisable; then
13646 if test $wxUSE_SPLINES = no; then
13652 result=$wxUSE_SPLINES
13655 { echo "$as_me:$LINENO: result
: $result" >&5
13656 echo "${ECHO_T}$result" >&6; }
13660 defaultval=$wxUSE_ALL_FEATURES
13661 if test -z "$defaultval"; then
13662 if test x"$enablestring" = xdisable; then
13669 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mousewheel" >&5
13670 echo $ECHO_N "checking
for --${enablestring:-enable}-mousewheel...
$ECHO_C" >&6; }
13671 # Check whether --enable-mousewheel was given.
13672 if test "${enable_mousewheel+set}" = set; then
13673 enableval=$enable_mousewheel;
13674 if test "$enableval" = yes; then
13675 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13677 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13682 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13687 eval "$wx_cv_use_mousewheel"
13689 if test x
"$enablestring" = xdisable
; then
13690 if test $wxUSE_MOUSEWHEEL = no
; then
13696 result
=$wxUSE_MOUSEWHEEL
13699 { echo "$as_me:$LINENO: result: $result" >&5
13700 echo "${ECHO_T}$result" >&6; }
13704 defaultval
=$wxUSE_ALL_FEATURES
13705 if test -z "$defaultval"; then
13706 if test x
"$enablestring" = xdisable
; then
13713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13714 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13715 # Check whether --enable-validators was given.
13716 if test "${enable_validators+set}" = set; then
13717 enableval
=$enable_validators;
13718 if test "$enableval" = yes; then
13719 wx_cv_use_validators
='wxUSE_VALIDATORS=yes'
13721 wx_cv_use_validators
='wxUSE_VALIDATORS=no'
13726 wx_cv_use_validators
='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13731 eval "$wx_cv_use_validators"
13733 if test x"$enablestring" = xdisable; then
13734 if test $wxUSE_VALIDATORS = no; then
13740 result=$wxUSE_VALIDATORS
13743 { echo "$as_me:$LINENO: result: $result" >&5
13744 echo "${ECHO_T}$result" >&6; }
13748 defaultval=$wxUSE_ALL_FEATURES
13749 if test -z "$defaultval"; then
13750 if test x"$enablestring" = xdisable; then
13757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13758 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13759 # Check whether --enable-busyinfo was given.
13760 if test "${enable_busyinfo+set}" = set; then
13761 enableval=$enable_busyinfo;
13762 if test "$enableval" = yes; then
13763 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
13765 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
13770 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13775 eval "$wx_cv_use_busyinfo"
13777 if test x"$enablestring" = xdisable; then
13778 if test $wxUSE_BUSYINFO = no; then
13784 result=$wxUSE_BUSYINFO
13787 { echo "$as_me:$LINENO: result
: $result" >&5
13788 echo "${ECHO_T}$result" >&6; }
13792 defaultval=$wxUSE_ALL_FEATURES
13793 if test -z "$defaultval"; then
13794 if test x"$enablestring" = xdisable; then
13801 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-joystick" >&5
13802 echo $ECHO_N "checking
for --${enablestring:-enable}-joystick...
$ECHO_C" >&6; }
13803 # Check whether --enable-joystick was given.
13804 if test "${enable_joystick+set}" = set; then
13805 enableval=$enable_joystick;
13806 if test "$enableval" = yes; then
13807 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13809 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13814 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13819 eval "$wx_cv_use_joystick"
13821 if test x
"$enablestring" = xdisable
; then
13822 if test $wxUSE_JOYSTICK = no
; then
13828 result
=$wxUSE_JOYSTICK
13831 { echo "$as_me:$LINENO: result: $result" >&5
13832 echo "${ECHO_T}$result" >&6; }
13836 defaultval
=$wxUSE_ALL_FEATURES
13837 if test -z "$defaultval"; then
13838 if test x
"$enablestring" = xdisable
; then
13845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13846 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13847 # Check whether --enable-metafile was given.
13848 if test "${enable_metafile+set}" = set; then
13849 enableval
=$enable_metafile;
13850 if test "$enableval" = yes; then
13851 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
13853 wx_cv_use_metafile
='wxUSE_METAFILE=no'
13858 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13863 eval "$wx_cv_use_metafile"
13865 if test x"$enablestring" = xdisable; then
13866 if test $wxUSE_METAFILE = no; then
13872 result=$wxUSE_METAFILE
13875 { echo "$as_me:$LINENO: result: $result" >&5
13876 echo "${ECHO_T}$result" >&6; }
13880 defaultval=$wxUSE_ALL_FEATURES
13881 if test -z "$defaultval"; then
13882 if test x"$enablestring" = xdisable; then
13889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13890 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13891 # Check whether --enable-dragimage was given.
13892 if test "${enable_dragimage+set}" = set; then
13893 enableval=$enable_dragimage;
13894 if test "$enableval" = yes; then
13895 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
13897 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
13902 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13907 eval "$wx_cv_use_dragimage"
13909 if test x"$enablestring" = xdisable; then
13910 if test $wxUSE_DRAGIMAGE = no; then
13916 result=$wxUSE_DRAGIMAGE
13919 { echo "$as_me:$LINENO: result
: $result" >&5
13920 echo "${ECHO_T}$result" >&6; }
13924 defaultval=$wxUSE_ALL_FEATURES
13925 if test -z "$defaultval"; then
13926 if test x"$enablestring" = xdisable; then
13933 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accessibility" >&5
13934 echo $ECHO_N "checking
for --${enablestring:-enable}-accessibility...
$ECHO_C" >&6; }
13935 # Check whether --enable-accessibility was given.
13936 if test "${enable_accessibility+set}" = set; then
13937 enableval=$enable_accessibility;
13938 if test "$enableval" = yes; then
13939 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13941 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13946 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13951 eval "$wx_cv_use_accessibility"
13953 if test x
"$enablestring" = xdisable
; then
13954 if test $wxUSE_ACCESSIBILITY = no
; then
13960 result
=$wxUSE_ACCESSIBILITY
13963 { echo "$as_me:$LINENO: result: $result" >&5
13964 echo "${ECHO_T}$result" >&6; }
13968 defaultval
=$wxUSE_ALL_FEATURES
13969 if test -z "$defaultval"; then
13970 if test x
"$enablestring" = xdisable
; then
13977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
13978 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
13979 # Check whether --enable-uiactionsim was given.
13980 if test "${enable_uiactionsim+set}" = set; then
13981 enableval
=$enable_uiactionsim;
13982 if test "$enableval" = yes; then
13983 wx_cv_use_uiactionsim
='wxUSE_UIACTIONSIMULATOR=yes'
13985 wx_cv_use_uiactionsim
='wxUSE_UIACTIONSIMULATOR=no'
13990 wx_cv_use_uiactionsim
='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
13995 eval "$wx_cv_use_uiactionsim"
13997 if test x"$enablestring" = xdisable; then
13998 if test $wxUSE_UIACTIONSIMULATOR = no; then
14004 result=$wxUSE_UIACTIONSIMULATOR
14007 { echo "$as_me:$LINENO: result: $result" >&5
14008 echo "${ECHO_T}$result" >&6; }
14012 defaultval=$wxUSE_ALL_FEATURES
14013 if test -z "$defaultval"; then
14014 if test x"$enablestring" = xdisable; then
14021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dctransform" >&5
14022 echo $ECHO_N "checking for --${enablestring:-enable}-dctransform... $ECHO_C" >&6; }
14023 # Check whether --enable-dctransform was given.
14024 if test "${enable_dctransform+set}" = set; then
14025 enableval=$enable_dctransform;
14026 if test "$enableval" = yes; then
14027 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX
=yes'
14029 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX
=no
'
14034 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX
=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
14039 eval "$wx_cv_use_dctransform"
14041 if test x"$enablestring" = xdisable; then
14042 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
14048 result=$wxUSE_DC_TRANSFORM_MATRIX
14051 { echo "$as_me:$LINENO: result
: $result" >&5
14052 echo "${ECHO_T}$result" >&6; }
14058 defaultval=$wxUSE_ALL_FEATURES
14059 if test -z "$defaultval"; then
14060 if test x"$enablestring" = xdisable; then
14067 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-palette" >&5
14068 echo $ECHO_N "checking
for --${enablestring:-enable}-palette...
$ECHO_C" >&6; }
14069 # Check whether --enable-palette was given.
14070 if test "${enable_palette+set}" = set; then
14071 enableval=$enable_palette;
14072 if test "$enableval" = yes; then
14073 wx_cv_use_palette='wxUSE_PALETTE=yes'
14075 wx_cv_use_palette='wxUSE_PALETTE=no'
14080 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14085 eval "$wx_cv_use_palette"
14087 if test x
"$enablestring" = xdisable
; then
14088 if test $wxUSE_PALETTE = no
; then
14094 result
=$wxUSE_PALETTE
14097 { echo "$as_me:$LINENO: result: $result" >&5
14098 echo "${ECHO_T}$result" >&6; }
14102 defaultval
=$wxUSE_ALL_FEATURES
14103 if test -z "$defaultval"; then
14104 if test x
"$enablestring" = xdisable
; then
14111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14112 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14113 # Check whether --enable-image was given.
14114 if test "${enable_image+set}" = set; then
14115 enableval
=$enable_image;
14116 if test "$enableval" = yes; then
14117 wx_cv_use_image
='wxUSE_IMAGE=yes'
14119 wx_cv_use_image
='wxUSE_IMAGE=no'
14124 wx_cv_use_image
='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14129 eval "$wx_cv_use_image"
14131 if test x"$enablestring" = xdisable; then
14132 if test $wxUSE_IMAGE = no; then
14138 result=$wxUSE_IMAGE
14141 { echo "$as_me:$LINENO: result: $result" >&5
14142 echo "${ECHO_T}$result" >&6; }
14146 defaultval=$wxUSE_ALL_FEATURES
14147 if test -z "$defaultval"; then
14148 if test x"$enablestring" = xdisable; then
14155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14156 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14157 # Check whether --enable-gif was given.
14158 if test "${enable_gif+set}" = set; then
14159 enableval=$enable_gif;
14160 if test "$enableval" = yes; then
14161 wx_cv_use_gif='wxUSE_GIF
=yes'
14163 wx_cv_use_gif='wxUSE_GIF
=no
'
14168 wx_cv_use_gif='wxUSE_GIF
=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14173 eval "$wx_cv_use_gif"
14175 if test x"$enablestring" = xdisable; then
14176 if test $wxUSE_GIF = no; then
14185 { echo "$as_me:$LINENO: result
: $result" >&5
14186 echo "${ECHO_T}$result" >&6; }
14190 defaultval=$wxUSE_ALL_FEATURES
14191 if test -z "$defaultval"; then
14192 if test x"$enablestring" = xdisable; then
14199 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pcx" >&5
14200 echo $ECHO_N "checking
for --${enablestring:-enable}-pcx...
$ECHO_C" >&6; }
14201 # Check whether --enable-pcx was given.
14202 if test "${enable_pcx+set}" = set; then
14203 enableval=$enable_pcx;
14204 if test "$enableval" = yes; then
14205 wx_cv_use_pcx='wxUSE_PCX=yes'
14207 wx_cv_use_pcx='wxUSE_PCX=no'
14212 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14217 eval "$wx_cv_use_pcx"
14219 if test x
"$enablestring" = xdisable
; then
14220 if test $wxUSE_PCX = no
; then
14229 { echo "$as_me:$LINENO: result: $result" >&5
14230 echo "${ECHO_T}$result" >&6; }
14234 defaultval
=$wxUSE_ALL_FEATURES
14235 if test -z "$defaultval"; then
14236 if test x
"$enablestring" = xdisable
; then
14243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14244 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14245 # Check whether --enable-tga was given.
14246 if test "${enable_tga+set}" = set; then
14247 enableval
=$enable_tga;
14248 if test "$enableval" = yes; then
14249 wx_cv_use_tga
='wxUSE_TGA=yes'
14251 wx_cv_use_tga
='wxUSE_TGA=no'
14256 wx_cv_use_tga
='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14261 eval "$wx_cv_use_tga"
14263 if test x"$enablestring" = xdisable; then
14264 if test $wxUSE_TGA = no; then
14273 { echo "$as_me:$LINENO: result: $result" >&5
14274 echo "${ECHO_T}$result" >&6; }
14278 defaultval=$wxUSE_ALL_FEATURES
14279 if test -z "$defaultval"; then
14280 if test x"$enablestring" = xdisable; then
14287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14288 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14289 # Check whether --enable-iff was given.
14290 if test "${enable_iff+set}" = set; then
14291 enableval=$enable_iff;
14292 if test "$enableval" = yes; then
14293 wx_cv_use_iff='wxUSE_IFF
=yes'
14295 wx_cv_use_iff='wxUSE_IFF
=no
'
14300 wx_cv_use_iff='wxUSE_IFF
=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14305 eval "$wx_cv_use_iff"
14307 if test x"$enablestring" = xdisable; then
14308 if test $wxUSE_IFF = no; then
14317 { echo "$as_me:$LINENO: result
: $result" >&5
14318 echo "${ECHO_T}$result" >&6; }
14322 defaultval=$wxUSE_ALL_FEATURES
14323 if test -z "$defaultval"; then
14324 if test x"$enablestring" = xdisable; then
14331 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pnm" >&5
14332 echo $ECHO_N "checking
for --${enablestring:-enable}-pnm...
$ECHO_C" >&6; }
14333 # Check whether --enable-pnm was given.
14334 if test "${enable_pnm+set}" = set; then
14335 enableval=$enable_pnm;
14336 if test "$enableval" = yes; then
14337 wx_cv_use_pnm='wxUSE_PNM=yes'
14339 wx_cv_use_pnm='wxUSE_PNM=no'
14344 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14349 eval "$wx_cv_use_pnm"
14351 if test x
"$enablestring" = xdisable
; then
14352 if test $wxUSE_PNM = no
; then
14361 { echo "$as_me:$LINENO: result: $result" >&5
14362 echo "${ECHO_T}$result" >&6; }
14366 defaultval
=$wxUSE_ALL_FEATURES
14367 if test -z "$defaultval"; then
14368 if test x
"$enablestring" = xdisable
; then
14375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14376 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14377 # Check whether --enable-xpm was given.
14378 if test "${enable_xpm+set}" = set; then
14379 enableval
=$enable_xpm;
14380 if test "$enableval" = yes; then
14381 wx_cv_use_xpm
='wxUSE_XPM=yes'
14383 wx_cv_use_xpm
='wxUSE_XPM=no'
14388 wx_cv_use_xpm
='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14393 eval "$wx_cv_use_xpm"
14395 if test x"$enablestring" = xdisable; then
14396 if test $wxUSE_XPM = no; then
14405 { echo "$as_me:$LINENO: result: $result" >&5
14406 echo "${ECHO_T}$result" >&6; }
14410 defaultval=$wxUSE_ALL_FEATURES
14411 if test -z "$defaultval"; then
14412 if test x"$enablestring" = xdisable; then
14419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14420 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14421 # Check whether --enable-ico_cur was given.
14422 if test "${enable_ico_cur+set}" = set; then
14423 enableval=$enable_ico_cur;
14424 if test "$enableval" = yes; then
14425 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
14427 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
14432 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14437 eval "$wx_cv_use_ico_cur"
14439 if test x"$enablestring" = xdisable; then
14440 if test $wxUSE_ICO_CUR = no; then
14446 result=$wxUSE_ICO_CUR
14449 { echo "$as_me:$LINENO: result
: $result" >&5
14450 echo "${ECHO_T}$result" >&6; }
14456 defaultval=$wxUSE_ALL_FEATURES
14457 if test -z "$defaultval"; then
14458 if test x"$enablestring" = xdisable; then
14465 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dccache" >&5
14466 echo $ECHO_N "checking
for --${enablestring:-enable}-dccache...
$ECHO_C" >&6; }
14467 # Check whether --enable-dccache was given.
14468 if test "${enable_dccache+set}" = set; then
14469 enableval=$enable_dccache;
14470 if test "$enableval" = yes; then
14471 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14473 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14478 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14483 eval "$wx_cv_use_dccache"
14485 if test x
"$enablestring" = xdisable
; then
14486 if test $wxUSE_DC_CACHEING = no
; then
14492 result
=$wxUSE_DC_CACHEING
14495 { echo "$as_me:$LINENO: result: $result" >&5
14496 echo "${ECHO_T}$result" >&6; }
14500 defaultval
=$wxUSE_ALL_FEATURES
14501 if test -z "$defaultval"; then
14502 if test x
"$enablestring" = xdisable
; then
14509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14510 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14511 # Check whether --enable-ps-in-msw was given.
14512 if test "${enable_ps_in_msw+set}" = set; then
14513 enableval
=$enable_ps_in_msw;
14514 if test "$enableval" = yes; then
14515 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14517 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14522 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14527 eval "$wx_cv_use_ps_in_msw"
14529 if test x"$enablestring" = xdisable; then
14530 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14536 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14539 { echo "$as_me:$LINENO: result: $result" >&5
14540 echo "${ECHO_T}$result" >&6; }
14544 defaultval=$wxUSE_ALL_FEATURES
14545 if test -z "$defaultval"; then
14546 if test x"$enablestring" = xdisable; then
14553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14554 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14555 # Check whether --enable-ownerdrawn was given.
14556 if test "${enable_ownerdrawn+set}" = set; then
14557 enableval=$enable_ownerdrawn;
14558 if test "$enableval" = yes; then
14559 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=yes'
14561 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=no
'
14566 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14571 eval "$wx_cv_use_ownerdrawn"
14573 if test x"$enablestring" = xdisable; then
14574 if test $wxUSE_OWNER_DRAWN = no; then
14580 result=$wxUSE_OWNER_DRAWN
14583 { echo "$as_me:$LINENO: result
: $result" >&5
14584 echo "${ECHO_T}$result" >&6; }
14588 defaultval=$wxUSE_ALL_FEATURES
14589 if test -z "$defaultval"; then
14590 if test x"$enablestring" = xdisable; then
14597 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-uxtheme" >&5
14598 echo $ECHO_N "checking
for --${enablestring:-enable}-uxtheme...
$ECHO_C" >&6; }
14599 # Check whether --enable-uxtheme was given.
14600 if test "${enable_uxtheme+set}" = set; then
14601 enableval=$enable_uxtheme;
14602 if test "$enableval" = yes; then
14603 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14605 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14610 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14615 eval "$wx_cv_use_uxtheme"
14617 if test x
"$enablestring" = xdisable
; then
14618 if test $wxUSE_UXTHEME = no
; then
14624 result
=$wxUSE_UXTHEME
14627 { echo "$as_me:$LINENO: result: $result" >&5
14628 echo "${ECHO_T}$result" >&6; }
14632 defaultval
=$wxUSE_ALL_FEATURES
14633 if test -z "$defaultval"; then
14634 if test x
"$enablestring" = xdisable
; then
14641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14642 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14643 # Check whether --enable-wxdib was given.
14644 if test "${enable_wxdib+set}" = set; then
14645 enableval
=$enable_wxdib;
14646 if test "$enableval" = yes; then
14647 wx_cv_use_wxdib
='wxUSE_DIB=yes'
14649 wx_cv_use_wxdib
='wxUSE_DIB=no'
14654 wx_cv_use_wxdib
='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14659 eval "$wx_cv_use_wxdib"
14661 if test x"$enablestring" = xdisable; then
14662 if test $wxUSE_DIB = no; then
14671 { echo "$as_me:$LINENO: result: $result" >&5
14672 echo "${ECHO_T}$result" >&6; }
14675 if test "$wxUSE_MSW" != 1; then
14676 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14681 defaultval=$wxUSE_ALL_FEATURES
14682 if test -z "$defaultval"; then
14683 if test x"$enablestring" = xdisable; then
14690 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14691 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14692 # Check whether --enable-autoidman was given.
14693 if test "${enable_autoidman+set}" = set; then
14694 enableval=$enable_autoidman;
14695 if test "$enableval" = yes; then
14696 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=yes'
14698 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=no
'
14703 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14708 eval "$wx_cv_use_autoidman"
14710 if test x"$enablestring" = xdisable; then
14711 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14717 result=$wxUSE_AUTOID_MANAGEMENT
14720 { echo "$as_me:$LINENO: result
: $result" >&5
14721 echo "${ECHO_T}$result" >&6; }
14727 cat >confcache <<\_ACEOF
14728 # This file is a shell script that caches the results of configure
14729 # tests run on this system so they can be shared between configure
14730 # scripts and configure runs, see configure's option --config-cache.
14731 # It is not useful on other systems. If it contains results you don't
14732 # want to keep, you may remove or edit it.
14734 # config.status only pays attention to the cache file if you give it
14735 # the --recheck option to rerun configure.
14737 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14738 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14739 # following values.
14743 # The following way of writing the cache mishandles newlines in values,
14744 # but we know of no workaround that is simple, portable, and efficient.
14745 # So, we kill variables containing newlines.
14746 # Ultrix sh set writes to stderr and can't be redirected directly,
14747 # and sets the high bit in the cache file unless we assign to the vars.
14749 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14750 eval ac_val=\$$ac_var
14754 *_cv_*) { echo "$as_me:$LINENO: WARNING
: Cache variable
$ac_var contains a newline.
" >&5
14755 echo "$as_me: WARNING
: Cache variable
$ac_var contains a newline.
" >&2;} ;;
14758 _ | IFS | as_nl) ;; #(
14759 *) $as_unset $ac_var ;;
14765 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14766 *${as_nl}ac_space=\ *)
14767 # `set' does not quote correctly, so add quotes (double-quote
14768 # substitution turns \\\\ into \\, and sed turns \\ into \).
14771 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14774 # `set' quotes correctly as required by POSIX, so do not add quotes.
14775 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14784 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14786 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14788 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14789 if test -w "$cache_file"; then
14790 test "x
$cache_file" != "x
/dev
/null
" &&
14791 { echo "$as_me:$LINENO: updating cache
$cache_file" >&5
14792 echo "$as_me: updating cache
$cache_file" >&6;}
14793 cat confcache >$cache_file
14795 { echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5
14796 echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14803 ac_cpp='$CPP $CPPFLAGS'
14804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14807 if test -n "$ac_tool_prefix"; then
14808 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
14809 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14810 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14811 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14812 if test "${ac_cv_prog_CC+set}" = set; then
14813 echo $ECHO_N "(cached
) $ECHO_C" >&6
14815 if test -n "$CC"; then
14816 ac_cv_prog_CC="$CC" # Let the user override the test.
14818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14819 for as_dir in $PATH
14822 test -z "$as_dir" && as_dir=.
14823 for ac_exec_ext in '' $ac_executable_extensions; do
14824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14825 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
14826 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14836 if test -n "$CC"; then
14837 { echo "$as_me:$LINENO: result
: $CC" >&5
14838 echo "${ECHO_T}$CC" >&6; }
14840 { echo "$as_me:$LINENO: result
: no
" >&5
14841 echo "${ECHO_T}no
" >&6; }
14846 if test -z "$ac_cv_prog_CC"; then
14848 # Extract the first word of "gcc
", so it can be a program name with args.
14849 set dummy gcc; ac_word=$2
14850 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14851 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14852 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14853 echo $ECHO_N "(cached
) $ECHO_C" >&6
14855 if test -n "$ac_ct_CC"; then
14856 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14859 for as_dir in $PATH
14862 test -z "$as_dir" && as_dir=.
14863 for ac_exec_ext in '' $ac_executable_extensions; do
14864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14865 ac_cv_prog_ac_ct_CC="gcc
"
14866 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14875 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14876 if test -n "$ac_ct_CC"; then
14877 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
14878 echo "${ECHO_T}$ac_ct_CC" >&6; }
14880 { echo "$as_me:$LINENO: result
: no
" >&5
14881 echo "${ECHO_T}no
" >&6; }
14884 if test "x
$ac_ct_CC" = x; then
14887 case $cross_compiling:$ac_tool_warned in
14889 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
14890 whose name does not start with the
host triplet. If you think this
14891 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14892 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
14893 whose name does not start with the
host triplet. If you think this
14894 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14895 ac_tool_warned=yes ;;
14900 CC="$ac_cv_prog_CC"
14903 if test -z "$CC"; then
14904 if test -n "$ac_tool_prefix"; then
14905 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
14906 set dummy ${ac_tool_prefix}cc; ac_word=$2
14907 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14908 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14909 if test "${ac_cv_prog_CC+set}" = set; then
14910 echo $ECHO_N "(cached
) $ECHO_C" >&6
14912 if test -n "$CC"; then
14913 ac_cv_prog_CC="$CC" # Let the user override the test.
14915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14916 for as_dir in $PATH
14919 test -z "$as_dir" && as_dir=.
14920 for ac_exec_ext in '' $ac_executable_extensions; do
14921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14922 ac_cv_prog_CC="${ac_tool_prefix}cc
"
14923 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14933 if test -n "$CC"; then
14934 { echo "$as_me:$LINENO: result
: $CC" >&5
14935 echo "${ECHO_T}$CC" >&6; }
14937 { echo "$as_me:$LINENO: result
: no
" >&5
14938 echo "${ECHO_T}no
" >&6; }
14944 if test -z "$CC"; then
14945 # Extract the first word of "cc
", so it can be a program name with args.
14946 set dummy cc; ac_word=$2
14947 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14948 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14949 if test "${ac_cv_prog_CC+set}" = set; then
14950 echo $ECHO_N "(cached
) $ECHO_C" >&6
14952 if test -n "$CC"; then
14953 ac_cv_prog_CC="$CC" # Let the user override the test.
14955 ac_prog_rejected=no
14956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14957 for as_dir in $PATH
14960 test -z "$as_dir" && as_dir=.
14961 for ac_exec_ext in '' $ac_executable_extensions; do
14962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14963 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
14964 ac_prog_rejected=yes
14968 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14975 if test $ac_prog_rejected = yes; then
14976 # We found a bogon in the path, so make sure we never use it.
14977 set dummy $ac_cv_prog_CC
14979 if test $# != 0; then
14980 # We chose a different compiler from the bogus one.
14981 # However, it has the same basename, so the bogon will be chosen
14982 # first if we set CC to just the basename; use the full file name.
14984 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
14990 if test -n "$CC"; then
14991 { echo "$as_me:$LINENO: result
: $CC" >&5
14992 echo "${ECHO_T}$CC" >&6; }
14994 { echo "$as_me:$LINENO: result
: no
" >&5
14995 echo "${ECHO_T}no
" >&6; }
15000 if test -z "$CC"; then
15001 if test -n "$ac_tool_prefix"; then
15002 for ac_prog in cl.exe
15004 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15005 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15006 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
15007 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
15008 if test "${ac_cv_prog_CC+set}" = set; then
15009 echo $ECHO_N "(cached
) $ECHO_C" >&6
15011 if test -n "$CC"; then
15012 ac_cv_prog_CC="$CC" # Let the user override the test.
15014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15015 for as_dir in $PATH
15018 test -z "$as_dir" && as_dir=.
15019 for ac_exec_ext in '' $ac_executable_extensions; do
15020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15021 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15022 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
15032 if test -n "$CC"; then
15033 { echo "$as_me:$LINENO: result
: $CC" >&5
15034 echo "${ECHO_T}$CC" >&6; }
15036 { echo "$as_me:$LINENO: result
: no
" >&5
15037 echo "${ECHO_T}no
" >&6; }
15041 test -n "$CC" && break
15044 if test -z "$CC"; then
15046 for ac_prog in cl.exe
15048 # Extract the first word of "$ac_prog", so it can be a program name with args.
15049 set dummy $ac_prog; ac_word=$2
15050 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
15051 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
15052 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15053 echo $ECHO_N "(cached
) $ECHO_C" >&6
15055 if test -n "$ac_ct_CC"; then
15056 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15059 for as_dir in $PATH
15062 test -z "$as_dir" && as_dir=.
15063 for ac_exec_ext in '' $ac_executable_extensions; do
15064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15065 ac_cv_prog_ac_ct_CC="$ac_prog"
15066 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
15075 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15076 if test -n "$ac_ct_CC"; then
15077 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
15078 echo "${ECHO_T}$ac_ct_CC" >&6; }
15080 { echo "$as_me:$LINENO: result
: no
" >&5
15081 echo "${ECHO_T}no
" >&6; }
15085 test -n "$ac_ct_CC" && break
15088 if test "x
$ac_ct_CC" = x; then
15091 case $cross_compiling:$ac_tool_warned in
15093 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
15094 whose name does not start with the
host triplet. If you think this
15095 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
15096 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
15097 whose name does not start with the
host triplet. If you think this
15098 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
15099 ac_tool_warned=yes ;;
15108 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
15109 See \
`config.log' for more details." >&5
15110 echo "$as_me: error: no acceptable C compiler found in \$PATH
15111 See \`config.log
' for more details." >&2;}
15112 { (exit 1); exit 1; }; }
15114 # Provide some information about the compiler.
15115 echo "$as_me:$LINENO: checking for C compiler version" >&5
15116 ac_compiler=`set X $ac_compile; echo $2`
15117 { (ac_try="$ac_compiler --version >&5"
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_compiler --version >&5") 2>&5
15125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15126 (exit $ac_status); }
15127 { (ac_try="$ac_compiler -v >&5"
15128 case "(($ac_try" in
15129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15130 *) ac_try_echo=$ac_try;;
15132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15133 (eval "$ac_compiler -v >&5") 2>&5
15135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15136 (exit $ac_status); }
15137 { (ac_try="$ac_compiler -V >&5"
15138 case "(($ac_try" in
15139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15140 *) ac_try_echo=$ac_try;;
15142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15143 (eval "$ac_compiler -V >&5") 2>&5
15145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15146 (exit $ac_status); }
15148 cat >conftest.$ac_ext <<_ACEOF
15151 cat confdefs.h >>conftest.$ac_ext
15152 cat >>conftest.$ac_ext <<_ACEOF
15153 /* end confdefs.h. */
15163 ac_clean_files_save=$ac_clean_files
15164 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15165 # Try to create an executable without -o first, disregard a.out.
15166 # It will help us diagnose broken compilers, and finding out an intuition
15168 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15169 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15170 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
15172 # List of possible output files, starting from the most likely.
15173 # The algorithm is not robust to junk in `.', hence go to wildcards
(a.
*)
15174 # only as a last resort. b.out is created by i960 compilers.
15175 ac_files
='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
15177 # The IRIX 6 linker writes into existing files which may not be
15178 # executable, retaining their permissions. Remove them first so a
15179 # subsequent execution test works.
15181 for ac_file
in $ac_files
15184 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
15185 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
15190 if { (ac_try
="$ac_link_default"
15191 case "(($ac_try" in
15192 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15193 *) ac_try_echo=$ac_try;;
15195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15196 (eval "$ac_link_default") 2>&5
15198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15199 (exit $ac_status); }; then
15200 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
15201 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
15202 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15203 # so that the user can short-circuit this test for compilers unknown to
15205 for ac_file in $ac_files ''
15207 test -f "$ac_file" || continue
15209 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
15212 # We found the default executable, but exeext='' is most
15216 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
15218 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15220 # We set ac_cv_exeext here because the later test for it is not
15221 # safe: cross compilers may not add the suffix if given an `-o'
15222 # argument, so we may need to know it at that point already.
15223 # Even if this section looks crufty: it has the advantage of
15224 # actually working.
15230 test "$ac_cv_exeext" = no && ac_cv_exeext=
15236 { echo "$as_me:$LINENO: result: $ac_file" >&5
15237 echo "${ECHO_T}$ac_file" >&6; }
15238 if test -z "$ac_file"; then
15239 echo "$as_me: failed program was:" >&5
15240 sed 's
/^
/| /' conftest.$ac_ext >&5
15242 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15243 See \`config.log' for more details.
" >&5
15244 echo "$as_me: error
: C compiler cannot create executables
15245 See \
`config.log' for more details." >&2;}
15246 { (exit 77); exit 77; }; }
15249 ac_exeext=$ac_cv_exeext
15251 # Check that the compiler produces executables we can run. If not, either
15252 # the compiler is broken, or we cross compile.
15253 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15254 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15255 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15256 # If not cross compiling, check that we can run a simple program.
15257 if test "$cross_compiling" != yes; then
15258 if { ac_try='./$ac_file'
15259 { (case "(($ac_try" in
15260 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15261 *) ac_try_echo
=$ac_try;;
15263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15264 (eval "$ac_try") 2>&5
15266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15267 (exit $ac_status); }; }; then
15270 if test "$cross_compiling" = maybe
; then
15271 cross_compiling
=yes
15273 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15274 If you meant to cross compile, use \`--host'.
15275 See \`config.log' for more details." >&5
15276 echo "$as_me: error: cannot run C compiled programs.
15277 If you meant to cross compile, use \`--host'.
15278 See \`config.log' for more details." >&2;}
15279 { (exit 1); exit 1; }; }
15283 { echo "$as_me:$LINENO: result: yes" >&5
15284 echo "${ECHO_T}yes" >&6; }
15286 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
15287 ac_clean_files
=$ac_clean_files_save
15288 # Check that the compiler produces executables we can run. If not, either
15289 # the compiler is broken, or we cross compile.
15290 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15291 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15292 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15293 echo "${ECHO_T}$cross_compiling" >&6; }
15295 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15296 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15297 if { (ac_try
="$ac_link"
15298 case "(($ac_try" in
15299 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15300 *) ac_try_echo=$ac_try;;
15302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15303 (eval "$ac_link") 2>&5
15305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306 (exit $ac_status); }; then
15307 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
15308 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
15309 # work properly (i.e., refer to `conftest.exe'), while it won't with
15311 for ac_file
in conftest.exe conftest conftest.
*; do
15312 test -f "$ac_file" || continue
15314 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
15315 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
15321 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15322 See \`config.log' for more details." >&5
15323 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15324 See \`config.log' for more details." >&2;}
15325 { (exit 1); exit 1; }; }
15328 rm -f conftest
$ac_cv_exeext
15329 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15330 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15332 rm -f conftest.
$ac_ext
15333 EXEEXT
=$ac_cv_exeext
15335 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15336 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15337 if test "${ac_cv_objext+set}" = set; then
15338 echo $ECHO_N "(cached) $ECHO_C" >&6
15340 cat >conftest.
$ac_ext <<_ACEOF
15343 cat confdefs.h
>>conftest.
$ac_ext
15344 cat >>conftest.
$ac_ext <<_ACEOF
15345 /* end confdefs.h. */
15355 rm -f conftest.o conftest.obj
15356 if { (ac_try
="$ac_compile"
15357 case "(($ac_try" in
15358 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15359 *) ac_try_echo=$ac_try;;
15361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15362 (eval "$ac_compile") 2>&5
15364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15365 (exit $ac_status); }; then
15366 for ac_file in conftest.o conftest.obj conftest.*; do
15367 test -f "$ac_file" || continue;
15369 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15370 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15375 echo "$as_me: failed program was:" >&5
15376 sed 's/^/| /' conftest.$ac_ext >&5
15378 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15379 See \`config.log
' for more details." >&5
15380 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15381 See \`config.log' for more details.
" >&2;}
15382 { (exit 1); exit 1; }; }
15385 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15387 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
15388 echo "${ECHO_T}$ac_cv_objext" >&6; }
15389 OBJEXT=$ac_cv_objext
15391 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
15392 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
15393 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15394 echo $ECHO_N "(cached
) $ECHO_C" >&6
15396 cat >conftest.$ac_ext <<_ACEOF
15399 cat confdefs.h >>conftest.$ac_ext
15400 cat >>conftest.$ac_ext <<_ACEOF
15401 /* end confdefs.h. */
15414 rm -f conftest.$ac_objext
15415 if { (ac_try="$ac_compile"
15416 case "(($ac_try" in
15417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15418 *) ac_try_echo=$ac_try;;
15420 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15421 (eval "$ac_compile") 2>conftest.er1
15423 grep -v '^ *+' conftest.er1 >conftest.err
15425 cat conftest.err >&5
15426 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15427 (exit $ac_status); } && {
15428 test -z "$ac_c_werror_flag" ||
15429 test ! -s conftest.err
15430 } && test -s conftest.$ac_objext; then
15431 ac_compiler_gnu=yes
15433 echo "$as_me: failed program was
:" >&5
15434 sed 's/^/| /' conftest.$ac_ext >&5
15439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15440 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15443 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
15444 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15445 GCC=`test $ac_compiler_gnu = yes && echo yes`
15446 ac_test_CFLAGS=${CFLAGS+set}
15447 ac_save_CFLAGS=$CFLAGS
15448 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
15449 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
15450 if test "${ac_cv_prog_cc_g+set}" = set; then
15451 echo $ECHO_N "(cached
) $ECHO_C" >&6
15453 ac_save_c_werror_flag=$ac_c_werror_flag
15454 ac_c_werror_flag=yes
15457 cat >conftest.$ac_ext <<_ACEOF
15460 cat confdefs.h >>conftest.$ac_ext
15461 cat >>conftest.$ac_ext <<_ACEOF
15462 /* end confdefs.h. */
15472 rm -f conftest.$ac_objext
15473 if { (ac_try="$ac_compile"
15474 case "(($ac_try" in
15475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15476 *) ac_try_echo=$ac_try;;
15478 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15479 (eval "$ac_compile") 2>conftest.er1
15481 grep -v '^ *+' conftest.er1 >conftest.err
15483 cat conftest.err >&5
15484 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15485 (exit $ac_status); } && {
15486 test -z "$ac_c_werror_flag" ||
15487 test ! -s conftest.err
15488 } && test -s conftest.$ac_objext; then
15489 ac_cv_prog_cc_g=yes
15491 echo "$as_me: failed program was
:" >&5
15492 sed 's/^/| /' conftest.$ac_ext >&5
15495 cat >conftest.$ac_ext <<_ACEOF
15498 cat confdefs.h >>conftest.$ac_ext
15499 cat >>conftest.$ac_ext <<_ACEOF
15500 /* end confdefs.h. */
15510 rm -f conftest.$ac_objext
15511 if { (ac_try="$ac_compile"
15512 case "(($ac_try" in
15513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15514 *) ac_try_echo=$ac_try;;
15516 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15517 (eval "$ac_compile") 2>conftest.er1
15519 grep -v '^ *+' conftest.er1 >conftest.err
15521 cat conftest.err >&5
15522 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15523 (exit $ac_status); } && {
15524 test -z "$ac_c_werror_flag" ||
15525 test ! -s conftest.err
15526 } && test -s conftest.$ac_objext; then
15529 echo "$as_me: failed program was
:" >&5
15530 sed 's/^/| /' conftest.$ac_ext >&5
15532 ac_c_werror_flag=$ac_save_c_werror_flag
15534 cat >conftest.$ac_ext <<_ACEOF
15537 cat confdefs.h >>conftest.$ac_ext
15538 cat >>conftest.$ac_ext <<_ACEOF
15539 /* end confdefs.h. */
15549 rm -f conftest.$ac_objext
15550 if { (ac_try="$ac_compile"
15551 case "(($ac_try" in
15552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15553 *) ac_try_echo=$ac_try;;
15555 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15556 (eval "$ac_compile") 2>conftest.er1
15558 grep -v '^ *+' conftest.er1 >conftest.err
15560 cat conftest.err >&5
15561 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15562 (exit $ac_status); } && {
15563 test -z "$ac_c_werror_flag" ||
15564 test ! -s conftest.err
15565 } && test -s conftest.$ac_objext; then
15566 ac_cv_prog_cc_g=yes
15568 echo "$as_me: failed program was
:" >&5
15569 sed 's/^/| /' conftest.$ac_ext >&5
15574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15581 ac_c_werror_flag=$ac_save_c_werror_flag
15583 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
15584 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15585 if test "$ac_test_CFLAGS" = set; then
15586 CFLAGS=$ac_save_CFLAGS
15587 elif test $ac_cv_prog_cc_g = yes; then
15588 if test "$GCC" = yes; then
15594 if test "$GCC" = yes; then
15600 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
15601 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
15602 if test "${ac_cv_prog_cc_c89+set}" = set; then
15603 echo $ECHO_N "(cached
) $ECHO_C" >&6
15605 ac_cv_prog_cc_c89=no
15607 cat >conftest.$ac_ext <<_ACEOF
15610 cat confdefs.h >>conftest.$ac_ext
15611 cat >>conftest.$ac_ext <<_ACEOF
15612 /* end confdefs.h. */
15613 #include <stdarg.h>
15615 #include <sys/types.h>
15616 #include <sys/stat.h>
15617 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15618 struct buf { int x; };
15619 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15620 static char *e (p, i)
15626 static char *f (char * (*g) (char **, int), char **p, ...)
15631 s = g (p, va_arg (v,int));
15636 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15637 function prototypes and stuff, but not '\xHH' hex character constants.
15638 These don't provoke an error unfortunately, instead are silently treated
15639 as 'x'. The following induces an error, until -std is added to get
15640 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15641 array size at least. It's necessary to write '\x00'==0 to get something
15642 that's true only with -std. */
15643 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15645 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15646 inside strings and character constants. */
15648 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15650 int test (int i, double x);
15651 struct s1 {int (*f) (int a);};
15652 struct s2 {int (*f) (double a);};
15653 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15659 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15664 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15665 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15667 CC="$ac_save_CC $ac_arg"
15668 rm -f conftest.$ac_objext
15669 if { (ac_try="$ac_compile"
15670 case "(($ac_try" in
15671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15672 *) ac_try_echo=$ac_try;;
15674 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15675 (eval "$ac_compile") 2>conftest.er1
15677 grep -v '^ *+' conftest.er1 >conftest.err
15679 cat conftest.err >&5
15680 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15681 (exit $ac_status); } && {
15682 test -z "$ac_c_werror_flag" ||
15683 test ! -s conftest.err
15684 } && test -s conftest.$ac_objext; then
15685 ac_cv_prog_cc_c89=$ac_arg
15687 echo "$as_me: failed program was
:" >&5
15688 sed 's/^/| /' conftest.$ac_ext >&5
15693 rm -f core conftest.err conftest.$ac_objext
15694 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
15696 rm -f conftest.$ac_ext
15701 case "x
$ac_cv_prog_cc_c89" in
15703 { echo "$as_me:$LINENO: result
: none needed
" >&5
15704 echo "${ECHO_T}none needed
" >&6; } ;;
15706 { echo "$as_me:$LINENO: result
: unsupported
" >&5
15707 echo "${ECHO_T}unsupported
" >&6; } ;;
15709 CC="$CC $ac_cv_prog_cc_c89"
15710 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
15711 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15716 ac_cpp='$CPP $CPPFLAGS'
15717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15729 ac_cpp='$CPP $CPPFLAGS'
15730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15734 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
15735 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
15736 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15737 echo $ECHO_N "(cached
) $ECHO_C" >&6
15739 cat >conftest.$ac_ext <<_ACEOF
15742 cat confdefs.h >>conftest.$ac_ext
15743 cat >>conftest.$ac_ext <<_ACEOF
15744 /* end confdefs.h. */
15750 #ifndef __INTEL_COMPILER
15758 rm -f conftest.$ac_objext
15759 if { (ac_try="$ac_compile"
15760 case "(($ac_try" in
15761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15762 *) ac_try_echo=$ac_try;;
15764 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15765 (eval "$ac_compile") 2>conftest.er1
15767 grep -v '^ *+' conftest.er1 >conftest.err
15769 cat conftest.err >&5
15770 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15771 (exit $ac_status); } && {
15772 test -z "$ac_c_werror_flag" ||
15773 test ! -s conftest.err
15774 } && test -s conftest.$ac_objext; then
15775 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15777 echo "$as_me: failed program was
:" >&5
15778 sed 's/^/| /' conftest.$ac_ext >&5
15780 bakefile_cv_c_compiler___INTEL_COMPILER=no
15784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15788 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15789 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15790 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
15796 ac_cpp='$CPP $CPPFLAGS'
15797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15804 if test "$INTELCC" = "yes"; then
15808 ac_cpp='$CPP $CPPFLAGS'
15809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15813 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
15814 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
15815 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15816 echo $ECHO_N "(cached
) $ECHO_C" >&6
15818 cat >conftest.$ac_ext <<_ACEOF
15821 cat confdefs.h >>conftest.$ac_ext
15822 cat >>conftest.$ac_ext <<_ACEOF
15823 /* end confdefs.h. */
15829 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15837 rm -f conftest.$ac_objext
15838 if { (ac_try="$ac_compile"
15839 case "(($ac_try" in
15840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15841 *) ac_try_echo=$ac_try;;
15843 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15844 (eval "$ac_compile") 2>conftest.er1
15846 grep -v '^ *+' conftest.er1 >conftest.err
15848 cat conftest.err >&5
15849 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15850 (exit $ac_status); } && {
15851 test -z "$ac_c_werror_flag" ||
15852 test ! -s conftest.err
15853 } && test -s conftest.$ac_objext; then
15854 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15856 echo "$as_me: failed program was
:" >&5
15857 sed 's/^/| /' conftest.$ac_ext >&5
15859 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15867 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15868 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15869 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
15875 ac_cpp='$CPP $CPPFLAGS'
15876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15885 ac_cpp='$CPP $CPPFLAGS'
15886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15890 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
15891 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
15892 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15893 echo $ECHO_N "(cached
) $ECHO_C" >&6
15895 cat >conftest.$ac_ext <<_ACEOF
15898 cat confdefs.h >>conftest.$ac_ext
15899 cat >>conftest.$ac_ext <<_ACEOF
15900 /* end confdefs.h. */
15906 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15914 rm -f conftest.$ac_objext
15915 if { (ac_try="$ac_compile"
15916 case "(($ac_try" in
15917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15918 *) ac_try_echo=$ac_try;;
15920 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15921 (eval "$ac_compile") 2>conftest.er1
15923 grep -v '^ *+' conftest.er1 >conftest.err
15925 cat conftest.err >&5
15926 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15927 (exit $ac_status); } && {
15928 test -z "$ac_c_werror_flag" ||
15929 test ! -s conftest.err
15930 } && test -s conftest.$ac_objext; then
15931 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15933 echo "$as_me: failed program was
:" >&5
15934 sed 's/^/| /' conftest.$ac_ext >&5
15936 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15944 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15945 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15946 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
15952 ac_cpp='$CPP $CPPFLAGS'
15953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15961 if test "x
$GCC" != "xyes
"; then
15962 if test "xCC
" = "xC
"; then
15963 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
15964 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
15965 if test "${bakefile_cv_c_exto+set}" = set; then
15966 echo $ECHO_N "(cached
) $ECHO_C" >&6
15968 cat >conftest.$ac_ext <<_ACEOF
15971 cat confdefs.h >>conftest.$ac_ext
15972 cat >>conftest.$ac_ext <<_ACEOF
15973 /* end confdefs.h. */
15983 rm -f conftest.$ac_objext conftest.$ac_ext.o
15984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15985 (eval $ac_compile) 2>&5
15987 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15988 (exit $ac_status); }; then
15989 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15991 conftest.$ac_ext.o)
15992 bakefile_cv_c_exto="-ext o
"
15999 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
16000 See \
`config.log' for more details." >&5
16001 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16002 See \`config.log
' for more details." >&2;}
16003 { (exit 1); exit 1; }; }
16007 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16010 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16011 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16012 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16013 if test "c" = "c"; then
16014 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16016 if test "c" = "cxx"; then
16017 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16021 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16022 unset ac_cv_prog_cc_g
16023 ac_test_CFLAGS=${CFLAGS+set}
16024 ac_save_CFLAGS=$CFLAGS
16025 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16026 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16027 if test "${ac_cv_prog_cc_g+set}" = set; then
16028 echo $ECHO_N "(cached) $ECHO_C" >&6
16030 ac_save_c_werror_flag=$ac_c_werror_flag
16031 ac_c_werror_flag=yes
16034 cat >conftest.$ac_ext <<_ACEOF
16037 cat confdefs.h >>conftest.$ac_ext
16038 cat >>conftest.$ac_ext <<_ACEOF
16039 /* end confdefs.h. */
16049 rm -f conftest.$ac_objext
16050 if { (ac_try="$ac_compile"
16051 case "(($ac_try" in
16052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16053 *) ac_try_echo=$ac_try;;
16055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16056 (eval "$ac_compile") 2>conftest.er1
16058 grep -v '^
*+' conftest.er1 >conftest.err
16060 cat conftest.err >&5
16061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16062 (exit $ac_status); } && {
16063 test -z "$ac_c_werror_flag" ||
16064 test ! -s conftest.err
16065 } && test -s conftest.$ac_objext; then
16066 ac_cv_prog_cc_g=yes
16068 echo "$as_me: failed program was:" >&5
16069 sed 's
/^
/| /' conftest.$ac_ext >&5
16072 cat >conftest.$ac_ext <<_ACEOF
16075 cat confdefs.h >>conftest.$ac_ext
16076 cat >>conftest.$ac_ext <<_ACEOF
16077 /* end confdefs.h. */
16087 rm -f conftest.$ac_objext
16088 if { (ac_try="$ac_compile"
16089 case "(($ac_try" in
16090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16091 *) ac_try_echo=$ac_try;;
16093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16094 (eval "$ac_compile") 2>conftest.er1
16096 grep -v '^
*+' conftest.er1 >conftest.err
16098 cat conftest.err >&5
16099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16100 (exit $ac_status); } && {
16101 test -z "$ac_c_werror_flag" ||
16102 test ! -s conftest.err
16103 } && test -s conftest.$ac_objext; then
16106 echo "$as_me: failed program was:" >&5
16107 sed 's
/^
/| /' conftest.$ac_ext >&5
16109 ac_c_werror_flag=$ac_save_c_werror_flag
16111 cat >conftest.$ac_ext <<_ACEOF
16114 cat confdefs.h >>conftest.$ac_ext
16115 cat >>conftest.$ac_ext <<_ACEOF
16116 /* end confdefs.h. */
16126 rm -f conftest.$ac_objext
16127 if { (ac_try="$ac_compile"
16128 case "(($ac_try" in
16129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16130 *) ac_try_echo=$ac_try;;
16132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16133 (eval "$ac_compile") 2>conftest.er1
16135 grep -v '^
*+' conftest.er1 >conftest.err
16137 cat conftest.err >&5
16138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139 (exit $ac_status); } && {
16140 test -z "$ac_c_werror_flag" ||
16141 test ! -s conftest.err
16142 } && test -s conftest.$ac_objext; then
16143 ac_cv_prog_cc_g=yes
16145 echo "$as_me: failed program was:" >&5
16146 sed 's
/^
/| /' conftest.$ac_ext >&5
16151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16158 ac_c_werror_flag=$ac_save_c_werror_flag
16160 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16161 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16162 if test "$ac_test_CFLAGS" = set; then
16163 CFLAGS=$ac_save_CFLAGS
16164 elif test $ac_cv_prog_cc_g = yes; then
16165 if test "$GCC" = yes; then
16171 if test "$GCC" = yes; then
16185 ac_cpp='$CPP $CPPFLAGS'
16186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16187 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16190 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16191 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16192 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16193 echo $ECHO_N "(cached) $ECHO_C" >&6
16195 cat >conftest.$ac_ext <<_ACEOF
16198 cat confdefs.h >>conftest.$ac_ext
16199 cat >>conftest.$ac_ext <<_ACEOF
16200 /* end confdefs.h. */
16214 rm -f conftest.$ac_objext
16215 if { (ac_try="$ac_compile"
16216 case "(($ac_try" in
16217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16218 *) ac_try_echo=$ac_try;;
16220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16221 (eval "$ac_compile") 2>conftest.er1
16223 grep -v '^
*+' conftest.er1 >conftest.err
16225 cat conftest.err >&5
16226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16227 (exit $ac_status); } && {
16228 test -z "$ac_c_werror_flag" ||
16229 test ! -s conftest.err
16230 } && test -s conftest.$ac_objext; then
16231 bakefile_cv_c_compiler___xlC__=yes
16233 echo "$as_me: failed program was:" >&5
16234 sed 's
/^
/| /' conftest.$ac_ext >&5
16236 bakefile_cv_c_compiler___xlC__=no
16240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16244 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16245 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16246 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16252 ac_cpp='$CPP $CPPFLAGS'
16253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16254 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16265 ac_cpp='$CPP $CPPFLAGS'
16266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16267 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16270 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16271 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16272 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16273 echo $ECHO_N "(cached) $ECHO_C" >&6
16275 cat >conftest.$ac_ext <<_ACEOF
16278 cat confdefs.h >>conftest.$ac_ext
16279 cat >>conftest.$ac_ext <<_ACEOF
16280 /* end confdefs.h. */
16294 rm -f conftest.$ac_objext
16295 if { (ac_try="$ac_compile"
16296 case "(($ac_try" in
16297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16298 *) ac_try_echo=$ac_try;;
16300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16301 (eval "$ac_compile") 2>conftest.er1
16303 grep -v '^
*+' conftest.er1 >conftest.err
16305 cat conftest.err >&5
16306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16307 (exit $ac_status); } && {
16308 test -z "$ac_c_werror_flag" ||
16309 test ! -s conftest.err
16310 } && test -s conftest.$ac_objext; then
16311 bakefile_cv_c_compiler___MWERKS__=yes
16313 echo "$as_me: failed program was:" >&5
16314 sed 's
/^
/| /' conftest.$ac_ext >&5
16316 bakefile_cv_c_compiler___MWERKS__=no
16320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16324 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16325 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16326 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16332 ac_cpp='$CPP $CPPFLAGS'
16333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16334 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16339 if test "$MWCC" != "yes"; then
16343 ac_cpp='$CPP $CPPFLAGS'
16344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16345 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16348 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16349 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16350 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16351 echo $ECHO_N "(cached) $ECHO_C" >&6
16353 cat >conftest.$ac_ext <<_ACEOF
16356 cat confdefs.h >>conftest.$ac_ext
16357 cat >>conftest.$ac_ext <<_ACEOF
16358 /* end confdefs.h. */
16372 rm -f conftest.$ac_objext
16373 if { (ac_try="$ac_compile"
16374 case "(($ac_try" in
16375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16376 *) ac_try_echo=$ac_try;;
16378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16379 (eval "$ac_compile") 2>conftest.er1
16381 grep -v '^
*+' conftest.er1 >conftest.err
16383 cat conftest.err >&5
16384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16385 (exit $ac_status); } && {
16386 test -z "$ac_c_werror_flag" ||
16387 test ! -s conftest.err
16388 } && test -s conftest.$ac_objext; then
16389 bakefile_cv_c_compiler___xlC__=yes
16391 echo "$as_me: failed program was:" >&5
16392 sed 's
/^
/| /' conftest.$ac_ext >&5
16394 bakefile_cv_c_compiler___xlC__=no
16398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16402 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16403 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16404 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16410 ac_cpp='$CPP $CPPFLAGS'
16411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16412 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16424 ac_cpp='$CPP $CPPFLAGS'
16425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16426 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16429 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16430 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16431 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16432 echo $ECHO_N "(cached) $ECHO_C" >&6
16434 cat >conftest.$ac_ext <<_ACEOF
16437 cat confdefs.h >>conftest.$ac_ext
16438 cat >>conftest.$ac_ext <<_ACEOF
16439 /* end confdefs.h. */
16445 #ifndef _SGI_COMPILER_VERSION
16453 rm -f conftest.$ac_objext
16454 if { (ac_try="$ac_compile"
16455 case "(($ac_try" in
16456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16457 *) ac_try_echo=$ac_try;;
16459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16460 (eval "$ac_compile") 2>conftest.er1
16462 grep -v '^
*+' conftest.er1 >conftest.err
16464 cat conftest.err >&5
16465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16466 (exit $ac_status); } && {
16467 test -z "$ac_c_werror_flag" ||
16468 test ! -s conftest.err
16469 } && test -s conftest.$ac_objext; then
16470 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16472 echo "$as_me: failed program was:" >&5
16473 sed 's
/^
/| /' conftest.$ac_ext >&5
16475 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16483 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16484 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16485 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16491 ac_cpp='$CPP $CPPFLAGS'
16492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16493 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16501 if test "$INTELCC" != "yes"; then
16505 ac_cpp='$CPP $CPPFLAGS'
16506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16507 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16510 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16511 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16512 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16513 echo $ECHO_N "(cached) $ECHO_C" >&6
16515 cat >conftest.$ac_ext <<_ACEOF
16518 cat confdefs.h >>conftest.$ac_ext
16519 cat >>conftest.$ac_ext <<_ACEOF
16520 /* end confdefs.h. */
16534 rm -f conftest.$ac_objext
16535 if { (ac_try="$ac_compile"
16536 case "(($ac_try" in
16537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16538 *) ac_try_echo=$ac_try;;
16540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16541 (eval "$ac_compile") 2>conftest.er1
16543 grep -v '^
*+' conftest.er1 >conftest.err
16545 cat conftest.err >&5
16546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547 (exit $ac_status); } && {
16548 test -z "$ac_c_werror_flag" ||
16549 test ! -s conftest.err
16550 } && test -s conftest.$ac_objext; then
16551 bakefile_cv_c_compiler___SUNPRO_C=yes
16553 echo "$as_me: failed program was:" >&5
16554 sed 's
/^
/| /' conftest.$ac_ext >&5
16556 bakefile_cv_c_compiler___SUNPRO_C=no
16560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16564 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16565 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16566 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16572 ac_cpp='$CPP $CPPFLAGS'
16573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16574 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16586 ac_cpp='$CPP $CPPFLAGS'
16587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16588 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16591 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16592 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16593 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16594 echo $ECHO_N "(cached) $ECHO_C" >&6
16596 cat >conftest.$ac_ext <<_ACEOF
16599 cat confdefs.h >>conftest.$ac_ext
16600 cat >>conftest.$ac_ext <<_ACEOF
16601 /* end confdefs.h. */
16615 rm -f conftest.$ac_objext
16616 if { (ac_try="$ac_compile"
16617 case "(($ac_try" in
16618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16619 *) ac_try_echo=$ac_try;;
16621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16622 (eval "$ac_compile") 2>conftest.er1
16624 grep -v '^
*+' conftest.er1 >conftest.err
16626 cat conftest.err >&5
16627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16628 (exit $ac_status); } && {
16629 test -z "$ac_c_werror_flag" ||
16630 test ! -s conftest.err
16631 } && test -s conftest.$ac_objext; then
16632 bakefile_cv_c_compiler___HP_cc=yes
16634 echo "$as_me: failed program was:" >&5
16635 sed 's
/^
/| /' conftest.$ac_ext >&5
16637 bakefile_cv_c_compiler___HP_cc=no
16641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16645 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16646 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16647 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16653 ac_cpp='$CPP $CPPFLAGS'
16654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16655 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16666 ac_cpp='$CPP $CPPFLAGS'
16667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16668 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16671 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16672 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16673 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16674 echo $ECHO_N "(cached) $ECHO_C" >&6
16676 cat >conftest.$ac_ext <<_ACEOF
16679 cat confdefs.h >>conftest.$ac_ext
16680 cat >>conftest.$ac_ext <<_ACEOF
16681 /* end confdefs.h. */
16695 rm -f conftest.$ac_objext
16696 if { (ac_try="$ac_compile"
16697 case "(($ac_try" in
16698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16699 *) ac_try_echo=$ac_try;;
16701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16702 (eval "$ac_compile") 2>conftest.er1
16704 grep -v '^
*+' conftest.er1 >conftest.err
16706 cat conftest.err >&5
16707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16708 (exit $ac_status); } && {
16709 test -z "$ac_c_werror_flag" ||
16710 test ! -s conftest.err
16711 } && test -s conftest.$ac_objext; then
16712 bakefile_cv_c_compiler___DECC=yes
16714 echo "$as_me: failed program was:" >&5
16715 sed 's
/^
/| /' conftest.$ac_ext >&5
16717 bakefile_cv_c_compiler___DECC=no
16721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16725 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16726 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16727 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16733 ac_cpp='$CPP $CPPFLAGS'
16734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16735 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16746 ac_cpp='$CPP $CPPFLAGS'
16747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16748 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16751 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16752 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16753 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16754 echo $ECHO_N "(cached) $ECHO_C" >&6
16756 cat >conftest.$ac_ext <<_ACEOF
16759 cat confdefs.h >>conftest.$ac_ext
16760 cat >>conftest.$ac_ext <<_ACEOF
16761 /* end confdefs.h. */
16775 rm -f conftest.$ac_objext
16776 if { (ac_try="$ac_compile"
16777 case "(($ac_try" in
16778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16779 *) ac_try_echo=$ac_try;;
16781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16782 (eval "$ac_compile") 2>conftest.er1
16784 grep -v '^
*+' conftest.er1 >conftest.err
16786 cat conftest.err >&5
16787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16788 (exit $ac_status); } && {
16789 test -z "$ac_c_werror_flag" ||
16790 test ! -s conftest.err
16791 } && test -s conftest.$ac_objext; then
16792 bakefile_cv_c_compiler___SUNPRO_C=yes
16794 echo "$as_me: failed program was:" >&5
16795 sed 's
/^
/| /' conftest.$ac_ext >&5
16797 bakefile_cv_c_compiler___SUNPRO_C=no
16801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16805 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16806 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16807 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16813 ac_cpp='$CPP $CPPFLAGS'
16814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16815 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16827 ac_cpp='$CPP $CPPFLAGS'
16828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16829 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16831 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16832 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16833 # On Suns, sometimes $CPP names a directory.
16834 if test -n "$CPP" && test -d "$CPP"; then
16837 if test -z "$CPP"; then
16838 if test "${ac_cv_prog_CPP+set}" = set; then
16839 echo $ECHO_N "(cached) $ECHO_C" >&6
16841 # Double quotes because CPP needs to be expanded
16842 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16844 ac_preproc_ok=false
16845 for ac_c_preproc_warn_flag in '' yes
16847 # Use a header file that comes with gcc, so configuring glibc
16848 # with a fresh cross-compiler works.
16849 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16850 # <limits.h> exists even on freestanding compilers.
16851 # On the NeXT, cc -E runs the code through the compiler's parser
,
16852 # not just through cpp. "Syntax error" is here to catch this case.
16853 cat >conftest.
$ac_ext <<_ACEOF
16856 cat confdefs.h
>>conftest.
$ac_ext
16857 cat >>conftest.
$ac_ext <<_ACEOF
16858 /* end confdefs.h. */
16860 # include <limits.h>
16862 # include <assert.h>
16866 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16867 case "(($ac_try" in
16868 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16869 *) ac_try_echo=$ac_try;;
16871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16872 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16874 grep -v '^ *+' conftest.er1 >conftest.err
16876 cat conftest.err >&5
16877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16878 (exit $ac_status); } >/dev/null && {
16879 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16880 test ! -s conftest.err
16884 echo "$as_me: failed program was:" >&5
16885 sed 's/^/| /' conftest.$ac_ext >&5
16887 # Broken: fails on valid input.
16891 rm -f conftest.err conftest.$ac_ext
16893 # OK, works on sane cases. Now check whether nonexistent headers
16894 # can be detected and how.
16895 cat >conftest.$ac_ext <<_ACEOF
16898 cat confdefs.h >>conftest.$ac_ext
16899 cat >>conftest.$ac_ext <<_ACEOF
16900 /* end confdefs.h. */
16901 #include <ac_nonexistent.h>
16903 if { (ac_try="$ac_cpp conftest.$ac_ext"
16904 case "(($ac_try" in
16905 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16906 *) ac_try_echo
=$ac_try;;
16908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16909 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16911 grep -v '^ *+' conftest.er1
>conftest.err
16913 cat conftest.err
>&5
16914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16915 (exit $ac_status); } >/dev
/null
&& {
16916 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16917 test ! -s conftest.err
16919 # Broken: success on invalid input.
16922 echo "$as_me: failed program was:" >&5
16923 sed 's/^/| /' conftest.
$ac_ext >&5
16925 # Passes both tests.
16930 rm -f conftest.err conftest.
$ac_ext
16933 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16934 rm -f conftest.err conftest.
$ac_ext
16935 if $ac_preproc_ok; then
16940 ac_cv_prog_CPP
=$CPP
16943 CPP
=$ac_cv_prog_CPP
16945 ac_cv_prog_CPP
=$CPP
16947 { echo "$as_me:$LINENO: result: $CPP" >&5
16948 echo "${ECHO_T}$CPP" >&6; }
16949 ac_preproc_ok
=false
16950 for ac_c_preproc_warn_flag
in '' yes
16952 # Use a header file that comes with gcc, so configuring glibc
16953 # with a fresh cross-compiler works.
16954 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16955 # <limits.h> exists even on freestanding compilers.
16956 # On the NeXT, cc -E runs the code through the compiler's parser,
16957 # not just through cpp. "Syntax error" is here to catch this case.
16958 cat >conftest.
$ac_ext <<_ACEOF
16961 cat confdefs.h
>>conftest.
$ac_ext
16962 cat >>conftest.
$ac_ext <<_ACEOF
16963 /* end confdefs.h. */
16965 # include <limits.h>
16967 # include <assert.h>
16971 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16972 case "(($ac_try" in
16973 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16974 *) ac_try_echo=$ac_try;;
16976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16977 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16979 grep -v '^ *+' conftest.er1 >conftest.err
16981 cat conftest.err >&5
16982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983 (exit $ac_status); } >/dev/null && {
16984 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16985 test ! -s conftest.err
16989 echo "$as_me: failed program was:" >&5
16990 sed 's/^/| /' conftest.$ac_ext >&5
16992 # Broken: fails on valid input.
16996 rm -f conftest.err conftest.$ac_ext
16998 # OK, works on sane cases. Now check whether nonexistent headers
16999 # can be detected and how.
17000 cat >conftest.$ac_ext <<_ACEOF
17003 cat confdefs.h >>conftest.$ac_ext
17004 cat >>conftest.$ac_ext <<_ACEOF
17005 /* end confdefs.h. */
17006 #include <ac_nonexistent.h>
17008 if { (ac_try="$ac_cpp conftest.$ac_ext"
17009 case "(($ac_try" in
17010 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17011 *) ac_try_echo
=$ac_try;;
17013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17014 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17016 grep -v '^ *+' conftest.er1
>conftest.err
17018 cat conftest.err
>&5
17019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17020 (exit $ac_status); } >/dev
/null
&& {
17021 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17022 test ! -s conftest.err
17024 # Broken: success on invalid input.
17027 echo "$as_me: failed program was:" >&5
17028 sed 's/^/| /' conftest.
$ac_ext >&5
17030 # Passes both tests.
17035 rm -f conftest.err conftest.
$ac_ext
17038 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17039 rm -f conftest.err conftest.
$ac_ext
17040 if $ac_preproc_ok; then
17043 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17044 See \`config.log' for more details." >&5
17045 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17046 See \`config.log' for more details." >&2;}
17047 { (exit 1); exit 1; }; }
17051 ac_cpp
='$CPP $CPPFLAGS'
17052 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17053 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17054 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17057 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17058 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17059 if test "${ac_cv_path_GREP+set}" = set; then
17060 echo $ECHO_N "(cached) $ECHO_C" >&6
17062 # Extract the first word of "grep ggrep" to use in msg output
17063 if test -z "$GREP"; then
17064 set dummy
grep ggrep
; ac_prog_name
=$2
17065 if test "${ac_cv_path_GREP+set}" = set; then
17066 echo $ECHO_N "(cached) $ECHO_C" >&6
17068 ac_path_GREP_found
=false
17069 # Loop through the user's path and test for each of PROGNAME-LIST
17070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17071 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17074 test -z "$as_dir" && as_dir
=.
17075 for ac_prog
in grep ggrep
; do
17076 for ac_exec_ext
in '' $ac_executable_extensions; do
17077 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
17078 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17079 # Check for GNU ac_path_GREP and select it if it is found.
17080 # Check for GNU $ac_path_GREP
17081 case `"$ac_path_GREP" --version 2>&1` in
17083 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
17086 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17089 cat "conftest.in" "conftest.in" >"conftest.tmp"
17090 mv "conftest.tmp" "conftest.in"
17091 cp "conftest.in" "conftest.nl"
17092 echo 'GREP' >> "conftest.nl"
17093 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17094 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17095 ac_count
=`expr $ac_count + 1`
17096 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17097 # Best one so far, save it but keep looking for a better one
17098 ac_cv_path_GREP
="$ac_path_GREP"
17099 ac_path_GREP_max
=$ac_count
17101 # 10*(2^10) chars as input seems more than enough
17102 test $ac_count -gt 10 && break
17104 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
17108 $ac_path_GREP_found && break 3
17118 GREP
="$ac_cv_path_GREP"
17119 if test -z "$GREP"; then
17120 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17121 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17122 { (exit 1); exit 1; }; }
17126 ac_cv_path_GREP
=$GREP
17131 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17132 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17133 GREP
="$ac_cv_path_GREP"
17136 { echo "$as_me:$LINENO: checking for egrep" >&5
17137 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17138 if test "${ac_cv_path_EGREP+set}" = set; then
17139 echo $ECHO_N "(cached) $ECHO_C" >&6
17141 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
17142 then ac_cv_path_EGREP
="$GREP -E"
17144 # Extract the first word of "egrep" to use in msg output
17145 if test -z "$EGREP"; then
17146 set dummy
egrep; ac_prog_name
=$2
17147 if test "${ac_cv_path_EGREP+set}" = set; then
17148 echo $ECHO_N "(cached) $ECHO_C" >&6
17150 ac_path_EGREP_found
=false
17151 # Loop through the user's path and test for each of PROGNAME-LIST
17152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17153 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17156 test -z "$as_dir" && as_dir
=.
17157 for ac_prog
in egrep; do
17158 for ac_exec_ext
in '' $ac_executable_extensions; do
17159 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
17160 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17161 # Check for GNU ac_path_EGREP and select it if it is found.
17162 # Check for GNU $ac_path_EGREP
17163 case `"$ac_path_EGREP" --version 2>&1` in
17165 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
17168 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17171 cat "conftest.in" "conftest.in" >"conftest.tmp"
17172 mv "conftest.tmp" "conftest.in"
17173 cp "conftest.in" "conftest.nl"
17174 echo 'EGREP' >> "conftest.nl"
17175 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17176 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17177 ac_count
=`expr $ac_count + 1`
17178 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17179 # Best one so far, save it but keep looking for a better one
17180 ac_cv_path_EGREP
="$ac_path_EGREP"
17181 ac_path_EGREP_max
=$ac_count
17183 # 10*(2^10) chars as input seems more than enough
17184 test $ac_count -gt 10 && break
17186 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
17190 $ac_path_EGREP_found && break 3
17200 EGREP
="$ac_cv_path_EGREP"
17201 if test -z "$EGREP"; then
17202 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17203 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17204 { (exit 1); exit 1; }; }
17208 ac_cv_path_EGREP
=$EGREP
17214 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17215 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17216 EGREP
="$ac_cv_path_EGREP"
17219 if test $ac_cv_c_compiler_gnu = yes; then
17220 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17221 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17222 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17223 echo $ECHO_N "(cached) $ECHO_C" >&6
17225 ac_pattern
="Autoconf.*'x'"
17226 cat >conftest.
$ac_ext <<_ACEOF
17229 cat confdefs.h
>>conftest.
$ac_ext
17230 cat >>conftest.
$ac_ext <<_ACEOF
17231 /* end confdefs.h. */
17235 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17236 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
17237 ac_cv_prog_gcc_traditional
=yes
17239 ac_cv_prog_gcc_traditional
=no
17244 if test $ac_cv_prog_gcc_traditional = no
; then
17245 cat >conftest.
$ac_ext <<_ACEOF
17248 cat confdefs.h
>>conftest.
$ac_ext
17249 cat >>conftest.
$ac_ext <<_ACEOF
17250 /* end confdefs.h. */
17251 #include <termio.h>
17254 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17255 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
17256 ac_cv_prog_gcc_traditional
=yes
17262 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17263 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17264 if test $ac_cv_prog_gcc_traditional = yes; then
17265 CC
="$CC -traditional"
17270 CXXFLAGS
=${CXXFLAGS:=}
17272 ac_cpp
='$CXXCPP $CPPFLAGS'
17273 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17274 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17275 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17276 if test -z "$CXX"; then
17277 if test -n "$CCC"; then
17280 if test -n "$ac_tool_prefix"; then
17281 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
17283 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17284 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
17285 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17287 if test "${ac_cv_prog_CXX+set}" = set; then
17288 echo $ECHO_N "(cached) $ECHO_C" >&6
17290 if test -n "$CXX"; then
17291 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
17293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17294 for as_dir
in $PATH
17297 test -z "$as_dir" && as_dir
=.
17298 for ac_exec_ext
in '' $ac_executable_extensions; do
17299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17300 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
17301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17310 CXX
=$ac_cv_prog_CXX
17311 if test -n "$CXX"; then
17312 { echo "$as_me:$LINENO: result: $CXX" >&5
17313 echo "${ECHO_T}$CXX" >&6; }
17315 { echo "$as_me:$LINENO: result: no" >&5
17316 echo "${ECHO_T}no" >&6; }
17320 test -n "$CXX" && break
17323 if test -z "$CXX"; then
17325 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
17327 # Extract the first word of "$ac_prog", so it can be a program name with args.
17328 set dummy
$ac_prog; ac_word
=$2
17329 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17331 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17332 echo $ECHO_N "(cached) $ECHO_C" >&6
17334 if test -n "$ac_ct_CXX"; then
17335 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
17337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17338 for as_dir
in $PATH
17341 test -z "$as_dir" && as_dir
=.
17342 for ac_exec_ext
in '' $ac_executable_extensions; do
17343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17344 ac_cv_prog_ac_ct_CXX
="$ac_prog"
17345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17354 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
17355 if test -n "$ac_ct_CXX"; then
17356 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17357 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17359 { echo "$as_me:$LINENO: result: no" >&5
17360 echo "${ECHO_T}no" >&6; }
17364 test -n "$ac_ct_CXX" && break
17367 if test "x$ac_ct_CXX" = x
; then
17370 case $cross_compiling:$ac_tool_warned in
17372 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17373 whose name does not start with the host triplet. If you think this
17374 configuration is useful to you, please write to autoconf@gnu.org." >&5
17375 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17376 whose name does not start with the host triplet. If you think this
17377 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17378 ac_tool_warned
=yes ;;
17386 # Provide some information about the compiler.
17387 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17388 ac_compiler
=`set X $ac_compile; echo $2`
17389 { (ac_try
="$ac_compiler --version >&5"
17390 case "(($ac_try" in
17391 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17392 *) ac_try_echo=$ac_try;;
17394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17395 (eval "$ac_compiler --version >&5") 2>&5
17397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17398 (exit $ac_status); }
17399 { (ac_try="$ac_compiler -v >&5"
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_compiler -v >&5") 2>&5
17407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408 (exit $ac_status); }
17409 { (ac_try
="$ac_compiler -V >&5"
17410 case "(($ac_try" in
17411 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17412 *) ac_try_echo=$ac_try;;
17414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17415 (eval "$ac_compiler -V >&5") 2>&5
17417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17418 (exit $ac_status); }
17420 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17421 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17422 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17423 echo $ECHO_N "(cached) $ECHO_C" >&6
17425 cat >conftest.$ac_ext <<_ACEOF
17428 cat confdefs.h >>conftest.$ac_ext
17429 cat >>conftest.$ac_ext <<_ACEOF
17430 /* end confdefs.h. */
17443 rm -f conftest.$ac_objext
17444 if { (ac_try="$ac_compile"
17445 case "(($ac_try" in
17446 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17447 *) ac_try_echo
=$ac_try;;
17449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17450 (eval "$ac_compile") 2>conftest.er1
17452 grep -v '^ *+' conftest.er1
>conftest.err
17454 cat conftest.err
>&5
17455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17456 (exit $ac_status); } && {
17457 test -z "$ac_cxx_werror_flag" ||
17458 test ! -s conftest.err
17459 } && test -s conftest.
$ac_objext; then
17460 ac_compiler_gnu
=yes
17462 echo "$as_me: failed program was:" >&5
17463 sed 's/^/| /' conftest.
$ac_ext >&5
17468 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17469 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
17472 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17473 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17474 GXX
=`test $ac_compiler_gnu = yes && echo yes`
17475 ac_test_CXXFLAGS
=${CXXFLAGS+set}
17476 ac_save_CXXFLAGS
=$CXXFLAGS
17477 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17478 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17479 if test "${ac_cv_prog_cxx_g+set}" = set; then
17480 echo $ECHO_N "(cached) $ECHO_C" >&6
17482 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
17483 ac_cxx_werror_flag
=yes
17484 ac_cv_prog_cxx_g
=no
17486 cat >conftest.
$ac_ext <<_ACEOF
17489 cat confdefs.h
>>conftest.
$ac_ext
17490 cat >>conftest.
$ac_ext <<_ACEOF
17491 /* end confdefs.h. */
17501 rm -f conftest.
$ac_objext
17502 if { (ac_try
="$ac_compile"
17503 case "(($ac_try" in
17504 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17505 *) ac_try_echo=$ac_try;;
17507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17508 (eval "$ac_compile") 2>conftest.er1
17510 grep -v '^ *+' conftest.er1 >conftest.err
17512 cat conftest.err >&5
17513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17514 (exit $ac_status); } && {
17515 test -z "$ac_cxx_werror_flag" ||
17516 test ! -s conftest.err
17517 } && test -s conftest.$ac_objext; then
17518 ac_cv_prog_cxx_g=yes
17520 echo "$as_me: failed program was:" >&5
17521 sed 's/^/| /' conftest.$ac_ext >&5
17524 cat >conftest.$ac_ext <<_ACEOF
17527 cat confdefs.h >>conftest.$ac_ext
17528 cat >>conftest.$ac_ext <<_ACEOF
17529 /* end confdefs.h. */
17539 rm -f conftest.$ac_objext
17540 if { (ac_try="$ac_compile"
17541 case "(($ac_try" in
17542 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17543 *) ac_try_echo
=$ac_try;;
17545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17546 (eval "$ac_compile") 2>conftest.er1
17548 grep -v '^ *+' conftest.er1
>conftest.err
17550 cat conftest.err
>&5
17551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17552 (exit $ac_status); } && {
17553 test -z "$ac_cxx_werror_flag" ||
17554 test ! -s conftest.err
17555 } && test -s conftest.
$ac_objext; then
17558 echo "$as_me: failed program was:" >&5
17559 sed 's/^/| /' conftest.
$ac_ext >&5
17561 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
17563 cat >conftest.
$ac_ext <<_ACEOF
17566 cat confdefs.h
>>conftest.
$ac_ext
17567 cat >>conftest.
$ac_ext <<_ACEOF
17568 /* end confdefs.h. */
17578 rm -f conftest.
$ac_objext
17579 if { (ac_try
="$ac_compile"
17580 case "(($ac_try" in
17581 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17582 *) ac_try_echo=$ac_try;;
17584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17585 (eval "$ac_compile") 2>conftest.er1
17587 grep -v '^ *+' conftest.er1 >conftest.err
17589 cat conftest.err >&5
17590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17591 (exit $ac_status); } && {
17592 test -z "$ac_cxx_werror_flag" ||
17593 test ! -s conftest.err
17594 } && test -s conftest.$ac_objext; then
17595 ac_cv_prog_cxx_g=yes
17597 echo "$as_me: failed program was:" >&5
17598 sed 's/^/| /' conftest.$ac_ext >&5
17603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17610 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17612 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17613 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17614 if test "$ac_test_CXXFLAGS" = set; then
17615 CXXFLAGS=$ac_save_CXXFLAGS
17616 elif test $ac_cv_prog_cxx_g = yes; then
17617 if test "$GXX" = yes; then
17623 if test "$GXX" = yes; then
17630 ac_cpp='$CPP $CPPFLAGS'
17631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17643 ac_cpp='$CXXCPP $CPPFLAGS'
17644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17648 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17649 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17650 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17651 echo $ECHO_N "(cached) $ECHO_C" >&6
17653 cat >conftest.$ac_ext <<_ACEOF
17656 cat confdefs.h >>conftest.$ac_ext
17657 cat >>conftest.$ac_ext <<_ACEOF
17658 /* end confdefs.h. */
17664 #ifndef __INTEL_COMPILER
17672 rm -f conftest.$ac_objext
17673 if { (ac_try="$ac_compile"
17674 case "(($ac_try" in
17675 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17676 *) ac_try_echo
=$ac_try;;
17678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17679 (eval "$ac_compile") 2>conftest.er1
17681 grep -v '^ *+' conftest.er1
>conftest.err
17683 cat conftest.err
>&5
17684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685 (exit $ac_status); } && {
17686 test -z "$ac_cxx_werror_flag" ||
17687 test ! -s conftest.err
17688 } && test -s conftest.
$ac_objext; then
17689 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
17691 echo "$as_me: failed program was:" >&5
17692 sed 's/^/| /' conftest.
$ac_ext >&5
17694 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
17698 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17702 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17703 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17704 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17710 ac_cpp
='$CPP $CPPFLAGS'
17711 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17712 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17713 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17718 if test "$INTELCXX" = "yes"; then
17722 ac_cpp
='$CXXCPP $CPPFLAGS'
17723 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17724 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17725 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17727 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17728 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17729 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17730 echo $ECHO_N "(cached) $ECHO_C" >&6
17732 cat >conftest.
$ac_ext <<_ACEOF
17735 cat confdefs.h
>>conftest.
$ac_ext
17736 cat >>conftest.
$ac_ext <<_ACEOF
17737 /* end confdefs.h. */
17743 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17751 rm -f conftest.
$ac_objext
17752 if { (ac_try
="$ac_compile"
17753 case "(($ac_try" in
17754 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17755 *) ac_try_echo=$ac_try;;
17757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17758 (eval "$ac_compile") 2>conftest.er1
17760 grep -v '^ *+' conftest.er1 >conftest.err
17762 cat conftest.err >&5
17763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17764 (exit $ac_status); } && {
17765 test -z "$ac_cxx_werror_flag" ||
17766 test ! -s conftest.err
17767 } && test -s conftest.$ac_objext; then
17768 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17770 echo "$as_me: failed program was:" >&5
17771 sed 's/^/| /' conftest.$ac_ext >&5
17773 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17781 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17782 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17783 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17789 ac_cpp='$CPP $CPPFLAGS'
17790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17799 ac_cpp='$CXXCPP $CPPFLAGS'
17800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17804 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17805 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17806 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17807 echo $ECHO_N "(cached) $ECHO_C" >&6
17809 cat >conftest.$ac_ext <<_ACEOF
17812 cat confdefs.h >>conftest.$ac_ext
17813 cat >>conftest.$ac_ext <<_ACEOF
17814 /* end confdefs.h. */
17820 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17828 rm -f conftest.$ac_objext
17829 if { (ac_try="$ac_compile"
17830 case "(($ac_try" in
17831 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17832 *) ac_try_echo
=$ac_try;;
17834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17835 (eval "$ac_compile") 2>conftest.er1
17837 grep -v '^ *+' conftest.er1
>conftest.err
17839 cat conftest.err
>&5
17840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17841 (exit $ac_status); } && {
17842 test -z "$ac_cxx_werror_flag" ||
17843 test ! -s conftest.err
17844 } && test -s conftest.
$ac_objext; then
17845 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
17847 echo "$as_me: failed program was:" >&5
17848 sed 's/^/| /' conftest.
$ac_ext >&5
17850 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
17854 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17858 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17859 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17860 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17866 ac_cpp
='$CPP $CPPFLAGS'
17867 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17868 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17869 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17875 if test "x$GCXX" != "xyes"; then
17876 if test "xCXX" = "xC"; then
17877 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17878 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17879 if test "${bakefile_cv_c_exto+set}" = set; then
17880 echo $ECHO_N "(cached) $ECHO_C" >&6
17882 cat >conftest.
$ac_ext <<_ACEOF
17885 cat confdefs.h
>>conftest.
$ac_ext
17886 cat >>conftest.
$ac_ext <<_ACEOF
17887 /* end confdefs.h. */
17897 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17899 (eval $ac_compile) 2>&5
17901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17902 (exit $ac_status); }; then
17903 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17905 conftest.
$ac_ext.o
)
17906 bakefile_cv_c_exto
="-ext o"
17913 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17914 See \`config.log' for more details." >&5
17915 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17916 See \`config.log' for more details." >&2;}
17917 { (exit 1); exit 1; }; }
17921 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17924 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17925 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17926 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17927 if test "c" = "c"; then
17928 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17930 if test "c" = "cxx"; then
17931 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17935 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17936 unset ac_cv_prog_cc_g
17937 ac_test_CFLAGS
=${CFLAGS+set}
17938 ac_save_CFLAGS
=$CFLAGS
17939 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17940 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17941 if test "${ac_cv_prog_cc_g+set}" = set; then
17942 echo $ECHO_N "(cached) $ECHO_C" >&6
17944 ac_save_c_werror_flag
=$ac_c_werror_flag
17945 ac_c_werror_flag
=yes
17948 cat >conftest.
$ac_ext <<_ACEOF
17951 cat confdefs.h
>>conftest.
$ac_ext
17952 cat >>conftest.
$ac_ext <<_ACEOF
17953 /* end confdefs.h. */
17963 rm -f conftest.
$ac_objext
17964 if { (ac_try
="$ac_compile"
17965 case "(($ac_try" in
17966 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17967 *) ac_try_echo=$ac_try;;
17969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17970 (eval "$ac_compile") 2>conftest.er1
17972 grep -v '^ *+' conftest.er1 >conftest.err
17974 cat conftest.err >&5
17975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17976 (exit $ac_status); } && {
17977 test -z "$ac_c_werror_flag" ||
17978 test ! -s conftest.err
17979 } && test -s conftest.$ac_objext; then
17980 ac_cv_prog_cc_g=yes
17982 echo "$as_me: failed program was:" >&5
17983 sed 's/^/| /' conftest.$ac_ext >&5
17986 cat >conftest.$ac_ext <<_ACEOF
17989 cat confdefs.h >>conftest.$ac_ext
17990 cat >>conftest.$ac_ext <<_ACEOF
17991 /* end confdefs.h. */
18001 rm -f conftest.$ac_objext
18002 if { (ac_try="$ac_compile"
18003 case "(($ac_try" in
18004 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18005 *) ac_try_echo
=$ac_try;;
18007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18008 (eval "$ac_compile") 2>conftest.er1
18010 grep -v '^ *+' conftest.er1
>conftest.err
18012 cat conftest.err
>&5
18013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18014 (exit $ac_status); } && {
18015 test -z "$ac_c_werror_flag" ||
18016 test ! -s conftest.err
18017 } && test -s conftest.
$ac_objext; then
18020 echo "$as_me: failed program was:" >&5
18021 sed 's/^/| /' conftest.
$ac_ext >&5
18023 ac_c_werror_flag
=$ac_save_c_werror_flag
18025 cat >conftest.
$ac_ext <<_ACEOF
18028 cat confdefs.h
>>conftest.
$ac_ext
18029 cat >>conftest.
$ac_ext <<_ACEOF
18030 /* end confdefs.h. */
18040 rm -f conftest.
$ac_objext
18041 if { (ac_try
="$ac_compile"
18042 case "(($ac_try" in
18043 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18044 *) ac_try_echo=$ac_try;;
18046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18047 (eval "$ac_compile") 2>conftest.er1
18049 grep -v '^ *+' conftest.er1 >conftest.err
18051 cat conftest.err >&5
18052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18053 (exit $ac_status); } && {
18054 test -z "$ac_c_werror_flag" ||
18055 test ! -s conftest.err
18056 } && test -s conftest.$ac_objext; then
18057 ac_cv_prog_cc_g=yes
18059 echo "$as_me: failed program was:" >&5
18060 sed 's/^/| /' conftest.$ac_ext >&5
18065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18072 ac_c_werror_flag=$ac_save_c_werror_flag
18074 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18075 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18076 if test "$ac_test_CFLAGS" = set; then
18077 CFLAGS=$ac_save_CFLAGS
18078 elif test $ac_cv_prog_cc_g = yes; then
18079 if test "$GCC" = yes; then
18085 if test "$GCC" = yes; then
18099 ac_cpp='$CXXCPP $CPPFLAGS'
18100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18104 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18105 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18106 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18107 echo $ECHO_N "(cached) $ECHO_C" >&6
18109 cat >conftest.$ac_ext <<_ACEOF
18112 cat confdefs.h >>conftest.$ac_ext
18113 cat >>conftest.$ac_ext <<_ACEOF
18114 /* end confdefs.h. */
18128 rm -f conftest.$ac_objext
18129 if { (ac_try="$ac_compile"
18130 case "(($ac_try" in
18131 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18132 *) ac_try_echo
=$ac_try;;
18134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18135 (eval "$ac_compile") 2>conftest.er1
18137 grep -v '^ *+' conftest.er1
>conftest.err
18139 cat conftest.err
>&5
18140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18141 (exit $ac_status); } && {
18142 test -z "$ac_cxx_werror_flag" ||
18143 test ! -s conftest.err
18144 } && test -s conftest.
$ac_objext; then
18145 bakefile_cv_cxx_compiler___xlC__
=yes
18147 echo "$as_me: failed program was:" >&5
18148 sed 's/^/| /' conftest.
$ac_ext >&5
18150 bakefile_cv_cxx_compiler___xlC__
=no
18154 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18158 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18159 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18160 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18166 ac_cpp
='$CPP $CPPFLAGS'
18167 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18168 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18169 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18179 ac_cpp
='$CXXCPP $CPPFLAGS'
18180 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18181 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18182 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18184 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18185 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18186 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18187 echo $ECHO_N "(cached) $ECHO_C" >&6
18189 cat >conftest.
$ac_ext <<_ACEOF
18192 cat confdefs.h
>>conftest.
$ac_ext
18193 cat >>conftest.
$ac_ext <<_ACEOF
18194 /* end confdefs.h. */
18208 rm -f conftest.
$ac_objext
18209 if { (ac_try
="$ac_compile"
18210 case "(($ac_try" in
18211 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18212 *) ac_try_echo=$ac_try;;
18214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18215 (eval "$ac_compile") 2>conftest.er1
18217 grep -v '^ *+' conftest.er1 >conftest.err
18219 cat conftest.err >&5
18220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18221 (exit $ac_status); } && {
18222 test -z "$ac_cxx_werror_flag" ||
18223 test ! -s conftest.err
18224 } && test -s conftest.$ac_objext; then
18225 bakefile_cv_cxx_compiler___MWERKS__=yes
18227 echo "$as_me: failed program was:" >&5
18228 sed 's/^/| /' conftest.$ac_ext >&5
18230 bakefile_cv_cxx_compiler___MWERKS__=no
18234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18238 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18239 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18240 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18246 ac_cpp='$CPP $CPPFLAGS'
18247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18253 if test "$MWCXX" != "yes"; then
18257 ac_cpp='$CXXCPP $CPPFLAGS'
18258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18262 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18263 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18264 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18265 echo $ECHO_N "(cached) $ECHO_C" >&6
18267 cat >conftest.$ac_ext <<_ACEOF
18270 cat confdefs.h >>conftest.$ac_ext
18271 cat >>conftest.$ac_ext <<_ACEOF
18272 /* end confdefs.h. */
18286 rm -f conftest.$ac_objext
18287 if { (ac_try="$ac_compile"
18288 case "(($ac_try" in
18289 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18290 *) ac_try_echo
=$ac_try;;
18292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18293 (eval "$ac_compile") 2>conftest.er1
18295 grep -v '^ *+' conftest.er1
>conftest.err
18297 cat conftest.err
>&5
18298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18299 (exit $ac_status); } && {
18300 test -z "$ac_cxx_werror_flag" ||
18301 test ! -s conftest.err
18302 } && test -s conftest.
$ac_objext; then
18303 bakefile_cv_cxx_compiler___xlC__
=yes
18305 echo "$as_me: failed program was:" >&5
18306 sed 's/^/| /' conftest.
$ac_ext >&5
18308 bakefile_cv_cxx_compiler___xlC__
=no
18312 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18316 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18317 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18318 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18324 ac_cpp
='$CPP $CPPFLAGS'
18325 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18326 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18327 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18338 ac_cpp
='$CXXCPP $CPPFLAGS'
18339 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18340 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18341 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18343 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18344 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18345 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18346 echo $ECHO_N "(cached) $ECHO_C" >&6
18348 cat >conftest.
$ac_ext <<_ACEOF
18351 cat confdefs.h
>>conftest.
$ac_ext
18352 cat >>conftest.
$ac_ext <<_ACEOF
18353 /* end confdefs.h. */
18359 #ifndef _SGI_COMPILER_VERSION
18367 rm -f conftest.
$ac_objext
18368 if { (ac_try
="$ac_compile"
18369 case "(($ac_try" in
18370 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18371 *) ac_try_echo=$ac_try;;
18373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18374 (eval "$ac_compile") 2>conftest.er1
18376 grep -v '^ *+' conftest.er1 >conftest.err
18378 cat conftest.err >&5
18379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18380 (exit $ac_status); } && {
18381 test -z "$ac_cxx_werror_flag" ||
18382 test ! -s conftest.err
18383 } && test -s conftest.$ac_objext; then
18384 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18386 echo "$as_me: failed program was:" >&5
18387 sed 's/^/| /' conftest.$ac_ext >&5
18389 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18397 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18398 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18399 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18405 ac_cpp='$CPP $CPPFLAGS'
18406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18415 if test "$INTELCXX" != "yes"; then
18419 ac_cpp='$CXXCPP $CPPFLAGS'
18420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18424 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18425 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18426 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18427 echo $ECHO_N "(cached) $ECHO_C" >&6
18429 cat >conftest.$ac_ext <<_ACEOF
18432 cat confdefs.h >>conftest.$ac_ext
18433 cat >>conftest.$ac_ext <<_ACEOF
18434 /* end confdefs.h. */
18440 #ifndef __SUNPRO_CC
18448 rm -f conftest.$ac_objext
18449 if { (ac_try="$ac_compile"
18450 case "(($ac_try" in
18451 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18452 *) ac_try_echo
=$ac_try;;
18454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18455 (eval "$ac_compile") 2>conftest.er1
18457 grep -v '^ *+' conftest.er1
>conftest.err
18459 cat conftest.err
>&5
18460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18461 (exit $ac_status); } && {
18462 test -z "$ac_cxx_werror_flag" ||
18463 test ! -s conftest.err
18464 } && test -s conftest.
$ac_objext; then
18465 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
18467 echo "$as_me: failed program was:" >&5
18468 sed 's/^/| /' conftest.
$ac_ext >&5
18470 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
18474 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18478 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18479 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18480 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18486 ac_cpp
='$CPP $CPPFLAGS'
18487 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18488 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18489 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18500 ac_cpp
='$CXXCPP $CPPFLAGS'
18501 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18502 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18503 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18505 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18506 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18507 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18508 echo $ECHO_N "(cached) $ECHO_C" >&6
18510 cat >conftest.
$ac_ext <<_ACEOF
18513 cat confdefs.h
>>conftest.
$ac_ext
18514 cat >>conftest.
$ac_ext <<_ACEOF
18515 /* end confdefs.h. */
18529 rm -f conftest.
$ac_objext
18530 if { (ac_try
="$ac_compile"
18531 case "(($ac_try" in
18532 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18533 *) ac_try_echo=$ac_try;;
18535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18536 (eval "$ac_compile") 2>conftest.er1
18538 grep -v '^ *+' conftest.er1 >conftest.err
18540 cat conftest.err >&5
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542 (exit $ac_status); } && {
18543 test -z "$ac_cxx_werror_flag" ||
18544 test ! -s conftest.err
18545 } && test -s conftest.$ac_objext; then
18546 bakefile_cv_cxx_compiler___HP_aCC=yes
18548 echo "$as_me: failed program was:" >&5
18549 sed 's/^/| /' conftest.$ac_ext >&5
18551 bakefile_cv_cxx_compiler___HP_aCC=no
18555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18559 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18560 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18561 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18567 ac_cpp='$CPP $CPPFLAGS'
18568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18580 ac_cpp='$CXXCPP $CPPFLAGS'
18581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18585 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18586 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18587 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18588 echo $ECHO_N "(cached) $ECHO_C" >&6
18590 cat >conftest.$ac_ext <<_ACEOF
18593 cat confdefs.h >>conftest.$ac_ext
18594 cat >>conftest.$ac_ext <<_ACEOF
18595 /* end confdefs.h. */
18609 rm -f conftest.$ac_objext
18610 if { (ac_try="$ac_compile"
18611 case "(($ac_try" in
18612 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18613 *) ac_try_echo
=$ac_try;;
18615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18616 (eval "$ac_compile") 2>conftest.er1
18618 grep -v '^ *+' conftest.er1
>conftest.err
18620 cat conftest.err
>&5
18621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18622 (exit $ac_status); } && {
18623 test -z "$ac_cxx_werror_flag" ||
18624 test ! -s conftest.err
18625 } && test -s conftest.
$ac_objext; then
18626 bakefile_cv_cxx_compiler___DECCXX
=yes
18628 echo "$as_me: failed program was:" >&5
18629 sed 's/^/| /' conftest.
$ac_ext >&5
18631 bakefile_cv_cxx_compiler___DECCXX
=no
18635 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18639 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18640 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18641 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18647 ac_cpp
='$CPP $CPPFLAGS'
18648 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18649 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18650 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18660 ac_cpp
='$CXXCPP $CPPFLAGS'
18661 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18662 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18663 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18665 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18666 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18667 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18668 echo $ECHO_N "(cached) $ECHO_C" >&6
18670 cat >conftest.
$ac_ext <<_ACEOF
18673 cat confdefs.h
>>conftest.
$ac_ext
18674 cat >>conftest.
$ac_ext <<_ACEOF
18675 /* end confdefs.h. */
18681 #ifndef __SUNPRO_CC
18689 rm -f conftest.
$ac_objext
18690 if { (ac_try
="$ac_compile"
18691 case "(($ac_try" in
18692 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18693 *) ac_try_echo=$ac_try;;
18695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18696 (eval "$ac_compile") 2>conftest.er1
18698 grep -v '^ *+' conftest.er1 >conftest.err
18700 cat conftest.err >&5
18701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18702 (exit $ac_status); } && {
18703 test -z "$ac_cxx_werror_flag" ||
18704 test ! -s conftest.err
18705 } && test -s conftest.$ac_objext; then
18706 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18708 echo "$as_me: failed program was:" >&5
18709 sed 's/^/| /' conftest.$ac_ext >&5
18711 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18719 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18720 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18721 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18727 ac_cpp='$CPP $CPPFLAGS'
18728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18740 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18741 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18742 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18743 { (exit 1); exit 1; }; }
18746 if test "x$SUNCXX" != xyes; then
18747 if test -n "$ac_tool_prefix"; then
18748 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18749 set dummy ${ac_tool_prefix}ar; ac_word=$2
18750 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18752 if test "${ac_cv_prog_AR+set}" = set; then
18753 echo $ECHO_N "(cached) $ECHO_C" >&6
18755 if test -n "$AR"; then
18756 ac_cv_prog_AR="$AR" # Let the user override the test.
18758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18759 for as_dir in $PATH
18762 test -z "$as_dir" && as_dir=.
18763 for ac_exec_ext in '' $ac_executable_extensions; do
18764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18765 ac_cv_prog_AR="${ac_tool_prefix}ar"
18766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18776 if test -n "$AR"; then
18777 { echo "$as_me:$LINENO: result: $AR" >&5
18778 echo "${ECHO_T}$AR" >&6; }
18780 { echo "$as_me:$LINENO: result: no" >&5
18781 echo "${ECHO_T}no" >&6; }
18786 if test -z "$ac_cv_prog_AR"; then
18788 # Extract the first word of "ar", so it can be a program name with args.
18789 set dummy ar; ac_word=$2
18790 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18792 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18793 echo $ECHO_N "(cached) $ECHO_C" >&6
18795 if test -n "$ac_ct_AR"; then
18796 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18799 for as_dir in $PATH
18802 test -z "$as_dir" && as_dir=.
18803 for ac_exec_ext in '' $ac_executable_extensions; do
18804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18805 ac_cv_prog_ac_ct_AR="ar"
18806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18815 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18816 if test -n "$ac_ct_AR"; then
18817 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18818 echo "${ECHO_T}$ac_ct_AR" >&6; }
18820 { echo "$as_me:$LINENO: result: no" >&5
18821 echo "${ECHO_T}no" >&6; }
18824 if test "x$ac_ct_AR" = x; then
18827 case $cross_compiling:$ac_tool_warned in
18829 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18830 whose name does not start with the host triplet. If you think this
18831 configuration is useful to you, please write to autoconf@gnu.org." >&5
18832 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18833 whose name does not start with the host triplet. If you think this
18834 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18835 ac_tool_warned=yes ;;
18840 AR="$ac_cv_prog_AR"
18843 if test "x$AR" = "x" ; then
18844 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18845 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18846 { (exit 1); exit 1; }; }
18851 if test "$wxUSE_MAC" = 1; then
18853 retest_macosx_linking=no
18856 if test "x$wxUSE_MAC_ARCH" != xno; then
18857 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
18860 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18861 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18862 # Implicitly turn on the new --with-macosx-sdk using the default
18863 # SDK which provides the behaviour this option has always had.
18864 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18865 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18866 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18867 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18868 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18869 wxUSE_MACOSX_SDK=yes
18872 # Complain to user if he specified an argument to --enable-universal_binary
18873 # and also 1) specified --with-macosx-sdk using the default (yes) or
18874 # 2) specified --with-macosx-sdk using a path or 3) specified
18875 # --without-macosx-sdk (no).
18876 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18877 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18878 See \`config.log
' for more details." >&5
18879 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18880 See \`config.log' for more details.
" >&2;}
18881 { (exit 1); exit 1; }; }
18883 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18884 # special-case the empty string because the below test simply
18885 # converts "no
" to the empty string anyway.
18886 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18887 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
18888 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
18891 OSX_ARCH_OPTS="-arch ppc
-arch i386
"
18892 if test "$wxUSE_OSX_COCOA" = 1; then
18893 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64
"
18895 { echo "$as_me:$LINENO: checking
for universal binary architectures
" >&5
18896 echo $ECHO_N "checking
for universal binary architectures...
$ECHO_C" >&6; }
18897 { echo "$as_me:$LINENO: result
: $OSX_ARCH_OPTS" >&5
18898 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
18900 retest_macosx_linking=yes
18902 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
18903 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
18907 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
18908 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
18909 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
18910 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
18911 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
18913 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
18915 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
18916 # TODO: Search for most recent SDK and use it.
18917 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
18921 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
18922 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
18923 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
18924 if ! test -d "$wxUSE_MACOSX_SDK"; then
18925 { { echo "$as_me:$LINENO: error
: not found
18926 See \
`config.log' for more details." >&5
18927 echo "$as_me: error: not found
18928 See \`config.log
' for more details." >&2;}
18929 { (exit 1); exit 1; }; }
18931 { echo "$as_me:$LINENO: result: exists" >&5
18932 echo "${ECHO_T}exists" >&6; }
18934 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18935 retest_macosx_linking=yes
18938 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18939 wxUSE_MACOSX_VERSION_MIN=
18940 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18941 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18942 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18943 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18945 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/'`
18947 # If that failed, try again with the new key
18948 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18950 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/'`
18954 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18955 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18956 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18957 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18959 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18960 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18961 wxUSE_MACOSX_VERSION_MIN=
18964 wxUSE_MACOSX_VERSION_MIN=
18966 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18967 for ac_prog in sw_vers
18969 # Extract the first word of "$ac_prog", so it can be a program name with args.
18970 set dummy $ac_prog; ac_word=$2
18971 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18973 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18974 echo $ECHO_N "(cached) $ECHO_C" >&6
18976 if test -n "$OSX_SW_VERS"; then
18977 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18980 for as_dir in $PATH
18983 test -z "$as_dir" && as_dir=.
18984 for ac_exec_ext in '' $ac_executable_extensions; do
18985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18986 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18996 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18997 if test -n "$OSX_SW_VERS"; then
18998 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18999 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
19001 { echo "$as_me:$LINENO: result: no" >&5
19002 echo "${ECHO_T}no" >&6; }
19006 test -n "$OSX_SW_VERS" && break
19009 if test "$OSX_SW_VERS" != ""; then
19010 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
19012 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
19013 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
19017 case "$OSX_VERSION" in
19019 wxUSE_MACOSX_VERSION_MIN=10.4
19023 if test "$wxUSE_OSX_CARBON" = 1; then
19024 # otherwise configure stops on leopard for universal_binary
19025 wxUSE_MACOSX_VERSION_MIN=10.4
19027 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
19028 wxUSE_MACOSX_VERSION_MIN=10.5
19035 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
19039 if test "$wxUSE_OSX_CARBON" = 1; then
19043 if test "x$NEEDS_GCC40" == "xyes"; then
19044 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
19045 # and wants 10.4 compatible code, then 'downgrade
' to 4.0
19046 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19047 if test "x$CC" = "xgcc"; then
19048 CCVERSION=`$CC --version | grep 4.[2-9].`
19049 if test "x$CCVERSION" != "x"; then
19050 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
19055 if test "x$CXX" = "xg++"; then
19056 CCVERSION=`$CXX --version | grep 4.[2-9].`
19057 if test "x$CCVERSION" != "x"; then
19063 if test "x$MACOSX_SDK_OPTS" != "x"; then
19064 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19065 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19066 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19069 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19070 if test "$wxUSE_OSX_IPHONE" = 1; then
19071 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19073 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19075 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19076 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19077 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19078 retest_macosx_linking=yes
19081 if test "x$retest_macosx_linking" = "xyes"; then
19083 ac_cpp='$CPP $CPPFLAGS'
19084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
19085 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
19086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19088 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
19089 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
19090 cat >conftest.$ac_ext <<_ACEOF
19093 cat confdefs.h >>conftest.$ac_ext
19094 cat >>conftest.$ac_ext <<_ACEOF
19095 /* end confdefs.h. */
19105 rm -f conftest.$ac_objext conftest$ac_exeext
19106 if { (ac_try="$ac_link"
19107 case "(($ac_try" in
19108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19109 *) ac_try_echo=$ac_try;;
19111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19112 (eval "$ac_link") 2>conftest.er1
19114 grep -v '^
*+' conftest.er1 >conftest.err
19116 cat conftest.err >&5
19117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19118 (exit $ac_status); } && {
19119 test -z "$ac_c_werror_flag" ||
19120 test ! -s conftest.err
19121 } && test -s conftest$ac_exeext &&
19122 $as_test_x conftest$ac_exeext; then
19123 { echo "$as_me:$LINENO: result: yes" >&5
19124 echo "${ECHO_T}yes" >&6; }
19126 echo "$as_me: failed program was:" >&5
19127 sed 's
/^
/| /' conftest.$ac_ext >&5
19129 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19130 See \`config.log' for more details.
" >&5
19131 echo "$as_me: error
: no. Try a different SDK
19132 See \
`config.log' for more details." >&2;}
19133 { (exit 1); exit 1; }; }; exit 1
19136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19137 conftest$ac_exeext conftest.$ac_ext
19139 ac_cpp='$CPP $CPPFLAGS'
19140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19146 ac_cpp='$CXXCPP $CPPFLAGS'
19147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19151 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19152 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
19153 cat >conftest.$ac_ext <<_ACEOF
19156 cat confdefs.h >>conftest.$ac_ext
19157 cat >>conftest.$ac_ext <<_ACEOF
19158 /* end confdefs.h. */
19168 rm -f conftest.$ac_objext conftest$ac_exeext
19169 if { (ac_try="$ac_link"
19170 case "(($ac_try" in
19171 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19172 *) ac_try_echo
=$ac_try;;
19174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19175 (eval "$ac_link") 2>conftest.er1
19177 grep -v '^ *+' conftest.er1
>conftest.err
19179 cat conftest.err
>&5
19180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19181 (exit $ac_status); } && {
19182 test -z "$ac_cxx_werror_flag" ||
19183 test ! -s conftest.err
19184 } && test -s conftest
$ac_exeext &&
19185 $as_test_x conftest
$ac_exeext; then
19186 { echo "$as_me:$LINENO: result: yes" >&5
19187 echo "${ECHO_T}yes" >&6; }
19189 echo "$as_me: failed program was:" >&5
19190 sed 's/^/| /' conftest.
$ac_ext >&5
19192 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19193 See \`config.log' for more details." >&5
19194 echo "$as_me: error: no. Try a different SDK
19195 See \`config.log' for more details." >&2;}
19196 { (exit 1); exit 1; }; }; exit 1
19199 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19200 conftest
$ac_exeext conftest.
$ac_ext
19202 ac_cpp
='$CPP $CPPFLAGS'
19203 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19204 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19205 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19213 INSTALL_PROGRAM
="cp -fp"
19214 INSTALL_DATA
="cp -fp"
19221 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
19222 CXXFLAGS
="-qunique $CXXFLAGS"
19226 powerpc
-*-darwin* )
19227 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19228 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19229 cat >conftest.
$ac_ext <<_ACEOF
19232 cat confdefs.h
>>conftest.
$ac_ext
19233 cat >>conftest.
$ac_ext <<_ACEOF
19234 /* end confdefs.h. */
19239 #ifndef __POWERPC__
19240 choke me for lack of PowerPC
19247 rm -f conftest.
$ac_objext
19248 if { (ac_try
="$ac_compile"
19249 case "(($ac_try" in
19250 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19251 *) ac_try_echo=$ac_try;;
19253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19254 (eval "$ac_compile") 2>conftest.er1
19256 grep -v '^ *+' conftest.er1 >conftest.err
19258 cat conftest.err >&5
19259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19260 (exit $ac_status); } && {
19261 test -z "$ac_c_werror_flag" ||
19262 test ! -s conftest.err
19263 } && test -s conftest.$ac_objext; then
19264 { echo "$as_me:$LINENO: result: yes" >&5
19265 echo "${ECHO_T}yes" >&6; }
19267 echo "$as_me: failed program was:" >&5
19268 sed 's/^/| /' conftest.$ac_ext >&5
19270 { echo "$as_me:$LINENO: result: no" >&5
19271 echo "${ECHO_T}no" >&6; }
19272 cat >>confdefs.h <<\_ACEOF
19273 #define __POWERPC__ 1
19279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19285 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19286 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19287 cat >conftest.$ac_ext <<_ACEOF
19290 cat confdefs.h >>conftest.$ac_ext
19291 cat >>conftest.$ac_ext <<_ACEOF
19292 /* end confdefs.h. */
19293 #include <CoreFoundation/CFBase.h>
19303 rm -f conftest.$ac_objext
19304 if { (ac_try="$ac_compile"
19305 case "(($ac_try" in
19306 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19307 *) ac_try_echo
=$ac_try;;
19309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19310 (eval "$ac_compile") 2>conftest.er1
19312 grep -v '^ *+' conftest.er1
>conftest.err
19314 cat conftest.err
>&5
19315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19316 (exit $ac_status); } && {
19317 test -z "$ac_c_werror_flag" ||
19318 test ! -s conftest.err
19319 } && test -s conftest.
$ac_objext; then
19320 { echo "$as_me:$LINENO: result: yes" >&5
19321 echo "${ECHO_T}yes" >&6; }
19323 echo "$as_me: failed program was:" >&5
19324 sed 's/^/| /' conftest.
$ac_ext >&5
19326 { echo "$as_me:$LINENO: result: no" >&5
19327 echo "${ECHO_T}no" >&6; }
19328 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19329 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19330 cat >conftest.
$ac_ext <<_ACEOF
19333 cat confdefs.h
>>conftest.
$ac_ext
19334 cat >>conftest.
$ac_ext <<_ACEOF
19335 /* end confdefs.h. */
19336 #define __CF_USE_FRAMEWORK_INCLUDES__
19337 #include <CoreFoundation/CFBase.h>
19347 rm -f conftest.
$ac_objext
19348 if { (ac_try
="$ac_compile"
19349 case "(($ac_try" in
19350 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19351 *) ac_try_echo=$ac_try;;
19353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19354 (eval "$ac_compile") 2>conftest.er1
19356 grep -v '^ *+' conftest.er1 >conftest.err
19358 cat conftest.err >&5
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); } && {
19361 test -z "$ac_c_werror_flag" ||
19362 test ! -s conftest.err
19363 } && test -s conftest.$ac_objext; then
19364 { echo "$as_me:$LINENO: result: yes" >&5
19365 echo "${ECHO_T}yes" >&6; }
19366 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19368 echo "$as_me: failed program was:" >&5
19369 sed 's/^/| /' conftest.$ac_ext >&5
19371 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19372 See \`config.log
' for more details." >&5
19373 echo "$as_me: error: no. CoreFoundation not available.
19374 See \`config.log' for more details.
" >&2;}
19375 { (exit 1); exit 1; }; }
19379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19389 doesnt_want_win32=0
19392 if test "$wxUSE_MSW" = 1 ; then
19395 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
19396 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
19397 if test "${wx_cv_nocygwin+set}" = set; then
19398 echo $ECHO_N "(cached
) $ECHO_C" >&6
19401 cat >conftest.$ac_ext <<_ACEOF
19404 cat confdefs.h >>conftest.$ac_ext
19405 cat >>conftest.$ac_ext <<_ACEOF
19406 /* end confdefs.h. */
19420 rm -f conftest.$ac_objext
19421 if { (ac_try="$ac_compile"
19422 case "(($ac_try" in
19423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19424 *) ac_try_echo=$ac_try;;
19426 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19427 (eval "$ac_compile") 2>conftest.er1
19429 grep -v '^ *+' conftest.er1 >conftest.err
19431 cat conftest.err >&5
19432 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19433 (exit $ac_status); } && {
19434 test -z "$ac_c_werror_flag" ||
19435 test ! -s conftest.err
19436 } && test -s conftest.$ac_objext; then
19439 echo "$as_me: failed program was
:" >&5
19440 sed 's/^/| /' conftest.$ac_ext >&5
19446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19450 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
19451 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19453 if test "$wx_cv_nocygwin" = "yes"; then
19456 doesnt_want_win32=1
19459 if test "$wants_win32" = 1 ; then
19460 BAKEFILE_FORCE_PLATFORM=win32
19468 if test "$wxUSE_WINE" = "yes"; then
19470 LDFLAGS_GUI="-mwindows"
19473 if test "$wants_win32" = 1 ; then
19476 cat >>confdefs.h <<\_ACEOF
19477 #define __WIN32__ 1
19480 cat >>confdefs.h <<\_ACEOF
19481 #define __WIN95__ 1
19484 cat >>confdefs.h <<\_ACEOF
19485 #define __WINDOWS__ 1
19488 cat >>confdefs.h <<\_ACEOF
19489 #define __GNUWIN32__ 1
19492 cat >>confdefs.h <<\_ACEOF
19497 if test "$doesnt_want_win32" = 1 ; then
19502 if test "$USE_UNIX" = 1 ; then
19504 cat >>confdefs.h <<\_ACEOF
19511 *-pc-os2_emx | *-pc-os2-emx )
19512 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19513 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
19514 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
19515 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19516 echo $ECHO_N "(cached
) $ECHO_C" >&6
19518 ac_check_lib_save_LIBS=$LIBS
19519 LIBS="-lcExt $LIBS"
19520 cat >conftest.$ac_ext <<_ACEOF
19523 cat confdefs.h >>conftest.$ac_ext
19524 cat >>conftest.$ac_ext <<_ACEOF
19525 /* end confdefs.h. */
19527 /* Override any GCC internal prototype to avoid an error.
19528 Use char because int might match the return type of a GCC
19529 builtin and then its argument prototype would still apply. */
19542 rm -f conftest.$ac_objext conftest$ac_exeext
19543 if { (ac_try="$ac_link"
19544 case "(($ac_try" in
19545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19546 *) ac_try_echo=$ac_try;;
19548 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19549 (eval "$ac_link") 2>conftest.er1
19551 grep -v '^ *+' conftest.er1 >conftest.err
19553 cat conftest.err >&5
19554 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19555 (exit $ac_status); } && {
19556 test -z "$ac_c_werror_flag" ||
19557 test ! -s conftest.err
19558 } && test -s conftest$ac_exeext &&
19559 $as_test_x conftest$ac_exeext; then
19560 ac_cv_lib_cExt_drand48=yes
19562 echo "$as_me: failed program was
:" >&5
19563 sed 's/^/| /' conftest.$ac_ext >&5
19565 ac_cv_lib_cExt_drand48=no
19568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19569 conftest$ac_exeext conftest.$ac_ext
19570 LIBS=$ac_check_lib_save_LIBS
19572 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
19573 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19574 if test $ac_cv_lib_cExt_drand48 = yes; then
19575 LIBS="$LIBS -lcExt"
19579 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
19581 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
19582 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
19583 if test "${wx_cv_gccversion+set}" = set; then
19584 echo $ECHO_N "(cached
) $ECHO_C" >&6
19587 if test "$cross_compiling" = yes; then
19588 wx_cv_gccversion="EMX2
"
19591 cat >conftest.$ac_ext <<_ACEOF
19594 cat confdefs.h >>conftest.$ac_ext
19595 cat >>conftest.$ac_ext <<_ACEOF
19596 /* end confdefs.h. */
19602 FILE *f=fopen("conftestval
", "w
");
19607 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19609 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19619 rm -f conftest$ac_exeext
19620 if { (ac_try="$ac_link"
19621 case "(($ac_try" in
19622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19623 *) ac_try_echo=$ac_try;;
19625 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19626 (eval "$ac_link") 2>&5
19628 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19629 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19630 { (case "(($ac_try" in
19631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19632 *) ac_try_echo=$ac_try;;
19634 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19635 (eval "$ac_try") 2>&5
19637 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19638 (exit $ac_status); }; }; then
19639 wx_cv_gccversion=`cat conftestval`
19641 echo "$as_me: program exited with status
$ac_status" >&5
19642 echo "$as_me: failed program was
:" >&5
19643 sed 's/^/| /' conftest.$ac_ext >&5
19645 ( exit $ac_status )
19646 wx_cv_gccversion="EMX2
"
19648 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19654 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
19655 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19656 if test "$wx_cv_gccversion" = "EMX2
"; then
19657 LIBS="$LIBS -lstdcpp"
19658 LDFLAGS="$LDFLAGS -Zsysv-signals"
19660 if test "$wx_cv_gccversion" = "EMX3
"; then
19661 LIBS="$LIBS -lstdcxx -lgcc"
19662 LDFLAGS="$LDFLAGS -Zsysv-signals"
19664 LIBS="$LIBS -lstdc++"
19667 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
19668 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
19669 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
19676 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
19677 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
19678 if test "${ac_cv_string_strcasecmp+set}" = set; then
19679 echo $ECHO_N "(cached
) $ECHO_C" >&6
19682 cat >conftest.$ac_ext <<_ACEOF
19685 cat confdefs.h >>conftest.$ac_ext
19686 cat >>conftest.$ac_ext <<_ACEOF
19687 /* end confdefs.h. */
19689 #include <string.h>
19695 strcasecmp("foo
", "bar
");
19701 rm -f conftest.$ac_objext conftest$ac_exeext
19702 if { (ac_try="$ac_link"
19703 case "(($ac_try" in
19704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19705 *) ac_try_echo=$ac_try;;
19707 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19708 (eval "$ac_link") 2>conftest.er1
19710 grep -v '^ *+' conftest.er1 >conftest.err
19712 cat conftest.err >&5
19713 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19714 (exit $ac_status); } && {
19715 test -z "$ac_c_werror_flag" ||
19716 test ! -s conftest.err
19717 } && test -s conftest$ac_exeext &&
19718 $as_test_x conftest$ac_exeext; then
19719 ac_cv_string_strcasecmp=yes
19721 echo "$as_me: failed program was
:" >&5
19722 sed 's/^/| /' conftest.$ac_ext >&5
19724 ac_cv_string_strcasecmp=no
19728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19729 conftest$ac_exeext conftest.$ac_ext
19732 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
19733 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19735 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
19736 cat >>confdefs.h <<\_ACEOF
19737 #define HAVE_STRCASECMP_IN_STRING_H 1
19741 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
19742 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
19743 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19744 echo $ECHO_N "(cached
) $ECHO_C" >&6
19747 cat >conftest.$ac_ext <<_ACEOF
19750 cat confdefs.h >>conftest.$ac_ext
19751 cat >>conftest.$ac_ext <<_ACEOF
19752 /* end confdefs.h. */
19754 #include <strings.h>
19760 strcasecmp("foo
", "bar
");
19766 rm -f conftest.$ac_objext conftest$ac_exeext
19767 if { (ac_try="$ac_link"
19768 case "(($ac_try" in
19769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19770 *) ac_try_echo=$ac_try;;
19772 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19773 (eval "$ac_link") 2>conftest.er1
19775 grep -v '^ *+' conftest.er1 >conftest.err
19777 cat conftest.err >&5
19778 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19779 (exit $ac_status); } && {
19780 test -z "$ac_c_werror_flag" ||
19781 test ! -s conftest.err
19782 } && test -s conftest$ac_exeext &&
19783 $as_test_x conftest$ac_exeext; then
19784 ac_cv_strings_strcasecmp=yes
19786 echo "$as_me: failed program was
:" >&5
19787 sed 's/^/| /' conftest.$ac_ext >&5
19789 ac_cv_strings_strcasecmp=no
19793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19794 conftest$ac_exeext conftest.$ac_ext
19797 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
19798 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19800 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
19801 cat >>confdefs.h <<\_ACEOF
19802 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19806 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
19807 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
19808 { (exit 1); exit 1; }; }
19816 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
19817 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
19818 if test "${ac_cv_header_stdc+set}" = set; then
19819 echo $ECHO_N "(cached
) $ECHO_C" >&6
19821 cat >conftest.$ac_ext <<_ACEOF
19824 cat confdefs.h >>conftest.$ac_ext
19825 cat >>conftest.$ac_ext <<_ACEOF
19826 /* end confdefs.h. */
19827 #include <stdlib.h>
19828 #include <stdarg.h>
19829 #include <string.h>
19840 rm -f conftest.$ac_objext
19841 if { (ac_try="$ac_compile"
19842 case "(($ac_try" in
19843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19844 *) ac_try_echo=$ac_try;;
19846 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19847 (eval "$ac_compile") 2>conftest.er1
19849 grep -v '^ *+' conftest.er1 >conftest.err
19851 cat conftest.err >&5
19852 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19853 (exit $ac_status); } && {
19854 test -z "$ac_c_werror_flag" ||
19855 test ! -s conftest.err
19856 } && test -s conftest.$ac_objext; then
19857 ac_cv_header_stdc=yes
19859 echo "$as_me: failed program was
:" >&5
19860 sed 's/^/| /' conftest.$ac_ext >&5
19862 ac_cv_header_stdc=no
19865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19867 if test $ac_cv_header_stdc = yes; then
19868 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19869 cat >conftest.$ac_ext <<_ACEOF
19872 cat confdefs.h >>conftest.$ac_ext
19873 cat >>conftest.$ac_ext <<_ACEOF
19874 /* end confdefs.h. */
19875 #include <string.h>
19878 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19879 $EGREP "memchr
" >/dev/null 2>&1; then
19882 ac_cv_header_stdc=no
19888 if test $ac_cv_header_stdc = yes; then
19889 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19890 cat >conftest.$ac_ext <<_ACEOF
19893 cat confdefs.h >>conftest.$ac_ext
19894 cat >>conftest.$ac_ext <<_ACEOF
19895 /* end confdefs.h. */
19896 #include <stdlib.h>
19899 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19900 $EGREP "free
" >/dev/null 2>&1; then
19903 ac_cv_header_stdc=no
19909 if test $ac_cv_header_stdc = yes; then
19910 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19911 if test "$cross_compiling" = yes; then
19914 cat >conftest.$ac_ext <<_ACEOF
19917 cat confdefs.h >>conftest.$ac_ext
19918 cat >>conftest.$ac_ext <<_ACEOF
19919 /* end confdefs.h. */
19921 #include <stdlib.h>
19922 #if ((' ' & 0x0FF) == 0x020)
19923 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19924 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19926 # define ISLOWER(c) \
19927 (('a' <= (c) && (c) <= 'i') \
19928 || ('j' <= (c) && (c) <= 'r') \
19929 || ('s' <= (c) && (c) <= 'z'))
19930 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19933 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19938 for (i = 0; i < 256; i++)
19939 if (XOR (islower (i), ISLOWER (i))
19940 || toupper (i) != TOUPPER (i))
19945 rm -f conftest$ac_exeext
19946 if { (ac_try="$ac_link"
19947 case "(($ac_try" in
19948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19949 *) ac_try_echo=$ac_try;;
19951 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19952 (eval "$ac_link") 2>&5
19954 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19955 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19956 { (case "(($ac_try" in
19957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19958 *) ac_try_echo=$ac_try;;
19960 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19961 (eval "$ac_try") 2>&5
19963 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19964 (exit $ac_status); }; }; then
19967 echo "$as_me: program exited with status
$ac_status" >&5
19968 echo "$as_me: failed program was
:" >&5
19969 sed 's/^/| /' conftest.$ac_ext >&5
19971 ( exit $ac_status )
19972 ac_cv_header_stdc=no
19974 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19980 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
19981 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19982 if test $ac_cv_header_stdc = yes; then
19984 cat >>confdefs.h <<\_ACEOF
19985 #define STDC_HEADERS 1
19990 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20000 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20001 inttypes.h stdint.h unistd.h
20003 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20004 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20005 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20006 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20007 echo $ECHO_N "(cached
) $ECHO_C" >&6
20009 cat >conftest.$ac_ext <<_ACEOF
20012 cat confdefs.h >>conftest.$ac_ext
20013 cat >>conftest.$ac_ext <<_ACEOF
20014 /* end confdefs.h. */
20015 $ac_includes_default
20017 #include <$ac_header>
20019 rm -f conftest.$ac_objext
20020 if { (ac_try="$ac_compile"
20021 case "(($ac_try" in
20022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20023 *) ac_try_echo=$ac_try;;
20025 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20026 (eval "$ac_compile") 2>conftest.er1
20028 grep -v '^ *+' conftest.er1 >conftest.err
20030 cat conftest.err >&5
20031 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20032 (exit $ac_status); } && {
20033 test -z "$ac_c_werror_flag" ||
20034 test ! -s conftest.err
20035 } && test -s conftest.$ac_objext; then
20036 eval "$as_ac_Header=yes"
20038 echo "$as_me: failed program was
:" >&5
20039 sed 's/^/| /' conftest.$ac_ext >&5
20041 eval "$as_ac_Header=no
"
20044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20046 ac_res=`eval echo '${'$as_ac_Header'}'`
20047 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20048 echo "${ECHO_T}$ac_res" >&6; }
20049 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20050 cat >>confdefs.h <<_ACEOF
20051 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20061 for ac_header in langinfo.h wchar.h
20063 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20064 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20065 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20066 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20067 echo $ECHO_N "(cached
) $ECHO_C" >&6
20069 cat >conftest.$ac_ext <<_ACEOF
20072 cat confdefs.h >>conftest.$ac_ext
20073 cat >>conftest.$ac_ext <<_ACEOF
20074 /* end confdefs.h. */
20075 $ac_includes_default
20077 #include <$ac_header>
20079 rm -f conftest.$ac_objext
20080 if { (ac_try="$ac_compile"
20081 case "(($ac_try" in
20082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20083 *) ac_try_echo=$ac_try;;
20085 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20086 (eval "$ac_compile") 2>conftest.er1
20088 grep -v '^ *+' conftest.er1 >conftest.err
20090 cat conftest.err >&5
20091 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20092 (exit $ac_status); } && {
20093 test -z "$ac_c_werror_flag" ||
20094 test ! -s conftest.err
20095 } && test -s conftest.$ac_objext; then
20096 eval "$as_ac_Header=yes"
20098 echo "$as_me: failed program was
:" >&5
20099 sed 's/^/| /' conftest.$ac_ext >&5
20101 eval "$as_ac_Header=no
"
20104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20106 ac_res=`eval echo '${'$as_ac_Header'}'`
20107 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20108 echo "${ECHO_T}$ac_res" >&6; }
20109 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20110 cat >>confdefs.h <<_ACEOF
20111 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20119 if test "$ac_cv_header_wchar_h" != "yes"; then
20121 for ac_header in wcstr.h
20123 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20124 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20125 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20126 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20127 echo $ECHO_N "(cached
) $ECHO_C" >&6
20129 cat >conftest.$ac_ext <<_ACEOF
20132 cat confdefs.h >>conftest.$ac_ext
20133 cat >>conftest.$ac_ext <<_ACEOF
20134 /* end confdefs.h. */
20135 $ac_includes_default
20137 #include <$ac_header>
20139 rm -f conftest.$ac_objext
20140 if { (ac_try="$ac_compile"
20141 case "(($ac_try" in
20142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20143 *) ac_try_echo=$ac_try;;
20145 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20146 (eval "$ac_compile") 2>conftest.er1
20148 grep -v '^ *+' conftest.er1 >conftest.err
20150 cat conftest.err >&5
20151 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20152 (exit $ac_status); } && {
20153 test -z "$ac_c_werror_flag" ||
20154 test ! -s conftest.err
20155 } && test -s conftest.$ac_objext; then
20156 eval "$as_ac_Header=yes"
20158 echo "$as_me: failed program was
:" >&5
20159 sed 's/^/| /' conftest.$ac_ext >&5
20161 eval "$as_ac_Header=no
"
20164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20166 ac_res=`eval echo '${'$as_ac_Header'}'`
20167 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20168 echo "${ECHO_T}$ac_res" >&6; }
20169 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20170 cat >>confdefs.h <<_ACEOF
20171 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20181 *-pc-os2_emx | *-pc-os2-emx )
20182 if test $ac_cv_header_langinfo_h = "yes" \
20183 -a \( "$wx_cv_gccversion" = "EMX2
" \
20184 -o "$wx_cv_gccversion" = "EMX3
" \
20185 -o "$wx_cv_gccversion" = "Innotek5
" \); then
20186 LIBS="$LIBS -lintl"
20191 if test "$USE_UNIX" = 1 ; then
20193 for ac_header in sys/select.h
20195 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20196 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20197 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20198 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20199 echo $ECHO_N "(cached
) $ECHO_C" >&6
20201 cat >conftest.$ac_ext <<_ACEOF
20204 cat confdefs.h >>conftest.$ac_ext
20205 cat >>conftest.$ac_ext <<_ACEOF
20206 /* end confdefs.h. */
20207 $ac_includes_default
20209 #include <$ac_header>
20211 rm -f conftest.$ac_objext
20212 if { (ac_try="$ac_compile"
20213 case "(($ac_try" in
20214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20215 *) ac_try_echo=$ac_try;;
20217 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20218 (eval "$ac_compile") 2>conftest.er1
20220 grep -v '^ *+' conftest.er1 >conftest.err
20222 cat conftest.err >&5
20223 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20224 (exit $ac_status); } && {
20225 test -z "$ac_c_werror_flag" ||
20226 test ! -s conftest.err
20227 } && test -s conftest.$ac_objext; then
20228 eval "$as_ac_Header=yes"
20230 echo "$as_me: failed program was
:" >&5
20231 sed 's/^/| /' conftest.$ac_ext >&5
20233 eval "$as_ac_Header=no
"
20236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20238 ac_res=`eval echo '${'$as_ac_Header'}'`
20239 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20240 echo "${ECHO_T}$ac_res" >&6; }
20241 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20242 cat >>confdefs.h <<_ACEOF
20243 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20253 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
20254 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
20255 if test "${ac_cv_c_const+set}" = set; then
20256 echo $ECHO_N "(cached
) $ECHO_C" >&6
20258 cat >conftest.$ac_ext <<_ACEOF
20261 cat confdefs.h >>conftest.$ac_ext
20262 cat >>conftest.$ac_ext <<_ACEOF
20263 /* end confdefs.h. */
20268 /* FIXME: Include the comments suggested by Paul. */
20269 #ifndef __cplusplus
20270 /* Ultrix mips cc rejects this. */
20271 typedef int charset[2];
20273 /* SunOS 4.1.1 cc rejects this. */
20274 char const *const *pcpcc;
20276 /* NEC SVR4.0.2 mips cc rejects this. */
20277 struct point {int x, y;};
20278 static struct point const zero = {0,0};
20279 /* AIX XL C 1.02.0.0 rejects this.
20280 It does not let you subtract one const X* pointer from another in
20281 an arm of an if-expression whose if-part is not a constant
20283 const char *g = "string
";
20284 pcpcc = &g + (g ? g-g : 0);
20285 /* HPUX 7.0 cc rejects these. */
20287 ppc = (char**) pcpcc;
20288 pcpcc = (char const *const *) ppc;
20289 { /* SCO 3.2v4 cc rejects this. */
20291 char const *s = 0 ? (char *) 0 : (char const *) 0;
20296 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20297 int x[] = {25, 17};
20298 const int *foo = &x[0];
20301 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20302 typedef const int *iptr;
20306 { /* AIX XL C 1.02.0.0 rejects this saying
20307 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20308 struct s { int j; const int *ap[3]; };
20309 struct s *b; b->j = 5;
20311 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20312 const int foo = 10;
20313 if (!foo) return 0;
20315 return !cs[0] && !zero.x;
20322 rm -f conftest.$ac_objext
20323 if { (ac_try="$ac_compile"
20324 case "(($ac_try" in
20325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20326 *) ac_try_echo=$ac_try;;
20328 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20329 (eval "$ac_compile") 2>conftest.er1
20331 grep -v '^ *+' conftest.er1 >conftest.err
20333 cat conftest.err >&5
20334 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20335 (exit $ac_status); } && {
20336 test -z "$ac_c_werror_flag" ||
20337 test ! -s conftest.err
20338 } && test -s conftest.$ac_objext; then
20341 echo "$as_me: failed program was
:" >&5
20342 sed 's/^/| /' conftest.$ac_ext >&5
20347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20349 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
20350 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20351 if test $ac_cv_c_const = no; then
20353 cat >>confdefs.h <<\_ACEOF
20359 { echo "$as_me:$LINENO: checking
for inline
" >&5
20360 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
20361 if test "${ac_cv_c_inline+set}" = set; then
20362 echo $ECHO_N "(cached
) $ECHO_C" >&6
20365 for ac_kw in inline __inline__ __inline; do
20366 cat >conftest.$ac_ext <<_ACEOF
20369 cat confdefs.h >>conftest.$ac_ext
20370 cat >>conftest.$ac_ext <<_ACEOF
20371 /* end confdefs.h. */
20372 #ifndef __cplusplus
20374 static $ac_kw foo_t static_foo () {return 0; }
20375 $ac_kw foo_t foo () {return 0; }
20379 rm -f conftest.$ac_objext
20380 if { (ac_try="$ac_compile"
20381 case "(($ac_try" in
20382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20383 *) ac_try_echo=$ac_try;;
20385 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20386 (eval "$ac_compile") 2>conftest.er1
20388 grep -v '^ *+' conftest.er1 >conftest.err
20390 cat conftest.err >&5
20391 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20392 (exit $ac_status); } && {
20393 test -z "$ac_c_werror_flag" ||
20394 test ! -s conftest.err
20395 } && test -s conftest.$ac_objext; then
20396 ac_cv_c_inline=$ac_kw
20398 echo "$as_me: failed program was
:" >&5
20399 sed 's/^/| /' conftest.$ac_ext >&5
20404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20405 test "$ac_cv_c_inline" != no && break
20409 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
20410 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20413 case $ac_cv_c_inline in
20416 case $ac_cv_c_inline in
20418 *) ac_val=$ac_cv_c_inline;;
20420 cat >>confdefs.h <<_ACEOF
20421 #ifndef __cplusplus
20422 #define inline $ac_val
20429 { echo "$as_me:$LINENO: checking
for short
" >&5
20430 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
20431 if test "${ac_cv_type_short+set}" = set; then
20432 echo $ECHO_N "(cached
) $ECHO_C" >&6
20434 cat >conftest.$ac_ext <<_ACEOF
20437 cat confdefs.h >>conftest.$ac_ext
20438 cat >>conftest.$ac_ext <<_ACEOF
20439 /* end confdefs.h. */
20440 $ac_includes_default
20441 typedef short ac__type_new_;
20445 if ((ac__type_new_ *) 0)
20447 if (sizeof (ac__type_new_))
20453 rm -f conftest.$ac_objext
20454 if { (ac_try="$ac_compile"
20455 case "(($ac_try" in
20456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20457 *) ac_try_echo=$ac_try;;
20459 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20460 (eval "$ac_compile") 2>conftest.er1
20462 grep -v '^ *+' conftest.er1 >conftest.err
20464 cat conftest.err >&5
20465 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20466 (exit $ac_status); } && {
20467 test -z "$ac_c_werror_flag" ||
20468 test ! -s conftest.err
20469 } && test -s conftest.$ac_objext; then
20470 ac_cv_type_short=yes
20472 echo "$as_me: failed program was
:" >&5
20473 sed 's/^/| /' conftest.$ac_ext >&5
20475 ac_cv_type_short=no
20478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20480 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
20481 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20483 # The cast to long int works around a bug in the HP C Compiler
20484 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20485 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20486 # This bug is HP SR number 8606223364.
20487 { echo "$as_me:$LINENO: checking size of short
" >&5
20488 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
20489 if test "${ac_cv_sizeof_short+set}" = set; then
20490 echo $ECHO_N "(cached
) $ECHO_C" >&6
20492 if test "$cross_compiling" = yes; then
20493 # Depending upon the size, compute the lo and hi bounds.
20494 cat >conftest.$ac_ext <<_ACEOF
20497 cat confdefs.h >>conftest.$ac_ext
20498 cat >>conftest.$ac_ext <<_ACEOF
20499 /* end confdefs.h. */
20500 $ac_includes_default
20501 typedef short ac__type_sizeof_;
20505 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20512 rm -f conftest.$ac_objext
20513 if { (ac_try="$ac_compile"
20514 case "(($ac_try" in
20515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20516 *) ac_try_echo=$ac_try;;
20518 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20519 (eval "$ac_compile") 2>conftest.er1
20521 grep -v '^ *+' conftest.er1 >conftest.err
20523 cat conftest.err >&5
20524 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20525 (exit $ac_status); } && {
20526 test -z "$ac_c_werror_flag" ||
20527 test ! -s conftest.err
20528 } && test -s conftest.$ac_objext; then
20531 cat >conftest.$ac_ext <<_ACEOF
20534 cat confdefs.h >>conftest.$ac_ext
20535 cat >>conftest.$ac_ext <<_ACEOF
20536 /* end confdefs.h. */
20537 $ac_includes_default
20538 typedef short ac__type_sizeof_;
20542 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20549 rm -f conftest.$ac_objext
20550 if { (ac_try="$ac_compile"
20551 case "(($ac_try" in
20552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20553 *) ac_try_echo=$ac_try;;
20555 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20556 (eval "$ac_compile") 2>conftest.er1
20558 grep -v '^ *+' conftest.er1 >conftest.err
20560 cat conftest.err >&5
20561 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20562 (exit $ac_status); } && {
20563 test -z "$ac_c_werror_flag" ||
20564 test ! -s conftest.err
20565 } && test -s conftest.$ac_objext; then
20566 ac_hi=$ac_mid; break
20568 echo "$as_me: failed program was
:" >&5
20569 sed 's/^/| /' conftest.$ac_ext >&5
20571 ac_lo=`expr $ac_mid + 1`
20572 if test $ac_lo -le $ac_mid; then
20576 ac_mid=`expr 2 '*' $ac_mid + 1`
20579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20582 echo "$as_me: failed program was
:" >&5
20583 sed 's/^/| /' conftest.$ac_ext >&5
20585 cat >conftest.$ac_ext <<_ACEOF
20588 cat confdefs.h >>conftest.$ac_ext
20589 cat >>conftest.$ac_ext <<_ACEOF
20590 /* end confdefs.h. */
20591 $ac_includes_default
20592 typedef short ac__type_sizeof_;
20596 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20603 rm -f conftest.$ac_objext
20604 if { (ac_try="$ac_compile"
20605 case "(($ac_try" in
20606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20607 *) ac_try_echo=$ac_try;;
20609 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20610 (eval "$ac_compile") 2>conftest.er1
20612 grep -v '^ *+' conftest.er1 >conftest.err
20614 cat conftest.err >&5
20615 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20616 (exit $ac_status); } && {
20617 test -z "$ac_c_werror_flag" ||
20618 test ! -s conftest.err
20619 } && test -s conftest.$ac_objext; then
20622 cat >conftest.$ac_ext <<_ACEOF
20625 cat confdefs.h >>conftest.$ac_ext
20626 cat >>conftest.$ac_ext <<_ACEOF
20627 /* end confdefs.h. */
20628 $ac_includes_default
20629 typedef short ac__type_sizeof_;
20633 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20640 rm -f conftest.$ac_objext
20641 if { (ac_try="$ac_compile"
20642 case "(($ac_try" in
20643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20644 *) ac_try_echo=$ac_try;;
20646 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20647 (eval "$ac_compile") 2>conftest.er1
20649 grep -v '^ *+' conftest.er1 >conftest.err
20651 cat conftest.err >&5
20652 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20653 (exit $ac_status); } && {
20654 test -z "$ac_c_werror_flag" ||
20655 test ! -s conftest.err
20656 } && test -s conftest.$ac_objext; then
20657 ac_lo=$ac_mid; break
20659 echo "$as_me: failed program was
:" >&5
20660 sed 's/^/| /' conftest.$ac_ext >&5
20662 ac_hi=`expr '(' $ac_mid ')' - 1`
20663 if test $ac_mid -le $ac_hi; then
20667 ac_mid=`expr 2 '*' $ac_mid`
20670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20673 echo "$as_me: failed program was
:" >&5
20674 sed 's/^/| /' conftest.$ac_ext >&5
20679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20683 # Binary search between lo and hi bounds.
20684 while test "x
$ac_lo" != "x
$ac_hi"; do
20685 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20686 cat >conftest.$ac_ext <<_ACEOF
20689 cat confdefs.h >>conftest.$ac_ext
20690 cat >>conftest.$ac_ext <<_ACEOF
20691 /* end confdefs.h. */
20692 $ac_includes_default
20693 typedef short ac__type_sizeof_;
20697 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20704 rm -f conftest.$ac_objext
20705 if { (ac_try="$ac_compile"
20706 case "(($ac_try" in
20707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20708 *) ac_try_echo=$ac_try;;
20710 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20711 (eval "$ac_compile") 2>conftest.er1
20713 grep -v '^ *+' conftest.er1 >conftest.err
20715 cat conftest.err >&5
20716 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20717 (exit $ac_status); } && {
20718 test -z "$ac_c_werror_flag" ||
20719 test ! -s conftest.err
20720 } && test -s conftest.$ac_objext; then
20723 echo "$as_me: failed program was
:" >&5
20724 sed 's/^/| /' conftest.$ac_ext >&5
20726 ac_lo=`expr '(' $ac_mid ')' + 1`
20729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20732 ?*) ac_cv_sizeof_short=$ac_lo;;
20733 '') if test "$ac_cv_type_short" = yes; then
20734 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
20735 See \
`config.log' for more details." >&5
20736 echo "$as_me: error: cannot compute sizeof (short)
20737 See \`config.log
' for more details." >&2;}
20738 { (exit 77); exit 77; }; }
20740 ac_cv_sizeof_short=0
20744 cat >conftest.$ac_ext <<_ACEOF
20747 cat confdefs.h >>conftest.$ac_ext
20748 cat >>conftest.$ac_ext <<_ACEOF
20749 /* end confdefs.h. */
20750 $ac_includes_default
20751 typedef short ac__type_sizeof_;
20752 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20753 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20755 #include <stdlib.h>
20760 FILE *f = fopen ("conftest.val", "w");
20763 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20765 long int i = longval ();
20766 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20768 fprintf (f, "%ld\n", i);
20772 unsigned long int i = ulongval ();
20773 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20775 fprintf (f, "%lu\n", i);
20777 return ferror (f) || fclose (f) != 0;
20783 rm -f conftest$ac_exeext
20784 if { (ac_try="$ac_link"
20785 case "(($ac_try" in
20786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20787 *) ac_try_echo=$ac_try;;
20789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20790 (eval "$ac_link") 2>&5
20792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20793 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
20794 { (case "(($ac_try" in
20795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20796 *) ac_try_echo=$ac_try;;
20798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20799 (eval "$ac_try") 2>&5
20801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20802 (exit $ac_status); }; }; then
20803 ac_cv_sizeof_short=`cat conftest.val`
20805 echo "$as_me: program exited with status $ac_status" >&5
20806 echo "$as_me: failed program was:" >&5
20807 sed 's
/^
/| /' conftest.$ac_ext >&5
20809 ( exit $ac_status )
20810 if test "$ac_cv_type_short" = yes; then
20811 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20812 See \`config.log' for more details.
" >&5
20813 echo "$as_me: error
: cannot compute sizeof
(short
)
20814 See \
`config.log' for more details." >&2;}
20815 { (exit 77); exit 77; }; }
20817 ac_cv_sizeof_short=0
20820 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20824 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20825 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20829 cat >>confdefs.h <<_ACEOF
20830 #define SIZEOF_SHORT $ac_cv_sizeof_short
20834 { echo "$as_me:$LINENO: checking for void *" >&5
20835 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20836 if test "${ac_cv_type_void_p+set}" = set; then
20837 echo $ECHO_N "(cached) $ECHO_C" >&6
20839 cat >conftest.$ac_ext <<_ACEOF
20842 cat confdefs.h >>conftest.$ac_ext
20843 cat >>conftest.$ac_ext <<_ACEOF
20844 /* end confdefs.h. */
20845 $ac_includes_default
20846 typedef void * ac__type_new_;
20850 if ((ac__type_new_ *) 0)
20852 if (sizeof (ac__type_new_))
20858 rm -f conftest.$ac_objext
20859 if { (ac_try="$ac_compile"
20860 case "(($ac_try" in
20861 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20862 *) ac_try_echo
=$ac_try;;
20864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20865 (eval "$ac_compile") 2>conftest.er1
20867 grep -v '^ *+' conftest.er1
>conftest.err
20869 cat conftest.err
>&5
20870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20871 (exit $ac_status); } && {
20872 test -z "$ac_c_werror_flag" ||
20873 test ! -s conftest.err
20874 } && test -s conftest.
$ac_objext; then
20875 ac_cv_type_void_p
=yes
20877 echo "$as_me: failed program was:" >&5
20878 sed 's/^/| /' conftest.
$ac_ext >&5
20880 ac_cv_type_void_p
=no
20883 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20885 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20886 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20888 # The cast to long int works around a bug in the HP C Compiler
20889 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20890 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20891 # This bug is HP SR number 8606223364.
20892 { echo "$as_me:$LINENO: checking size of void *" >&5
20893 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20894 if test "${ac_cv_sizeof_void_p+set}" = set; then
20895 echo $ECHO_N "(cached) $ECHO_C" >&6
20897 if test "$cross_compiling" = yes; then
20898 # Depending upon the size, compute the lo and hi bounds.
20899 cat >conftest.
$ac_ext <<_ACEOF
20902 cat confdefs.h
>>conftest.
$ac_ext
20903 cat >>conftest.
$ac_ext <<_ACEOF
20904 /* end confdefs.h. */
20905 $ac_includes_default
20906 typedef void * ac__type_sizeof_;
20910 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20917 rm -f conftest.
$ac_objext
20918 if { (ac_try
="$ac_compile"
20919 case "(($ac_try" in
20920 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20921 *) ac_try_echo=$ac_try;;
20923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20924 (eval "$ac_compile") 2>conftest.er1
20926 grep -v '^ *+' conftest.er1 >conftest.err
20928 cat conftest.err >&5
20929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20930 (exit $ac_status); } && {
20931 test -z "$ac_c_werror_flag" ||
20932 test ! -s conftest.err
20933 } && test -s conftest.$ac_objext; then
20936 cat >conftest.$ac_ext <<_ACEOF
20939 cat confdefs.h >>conftest.$ac_ext
20940 cat >>conftest.$ac_ext <<_ACEOF
20941 /* end confdefs.h. */
20942 $ac_includes_default
20943 typedef void * ac__type_sizeof_;
20947 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20954 rm -f conftest.$ac_objext
20955 if { (ac_try="$ac_compile"
20956 case "(($ac_try" in
20957 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20958 *) ac_try_echo
=$ac_try;;
20960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20961 (eval "$ac_compile") 2>conftest.er1
20963 grep -v '^ *+' conftest.er1
>conftest.err
20965 cat conftest.err
>&5
20966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20967 (exit $ac_status); } && {
20968 test -z "$ac_c_werror_flag" ||
20969 test ! -s conftest.err
20970 } && test -s conftest.
$ac_objext; then
20971 ac_hi
=$ac_mid; break
20973 echo "$as_me: failed program was:" >&5
20974 sed 's/^/| /' conftest.
$ac_ext >&5
20976 ac_lo
=`expr $ac_mid + 1`
20977 if test $ac_lo -le $ac_mid; then
20981 ac_mid
=`expr 2 '*' $ac_mid + 1`
20984 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20987 echo "$as_me: failed program was:" >&5
20988 sed 's/^/| /' conftest.
$ac_ext >&5
20990 cat >conftest.
$ac_ext <<_ACEOF
20993 cat confdefs.h
>>conftest.
$ac_ext
20994 cat >>conftest.
$ac_ext <<_ACEOF
20995 /* end confdefs.h. */
20996 $ac_includes_default
20997 typedef void * ac__type_sizeof_;
21001 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21008 rm -f conftest.
$ac_objext
21009 if { (ac_try
="$ac_compile"
21010 case "(($ac_try" in
21011 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21012 *) ac_try_echo=$ac_try;;
21014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21015 (eval "$ac_compile") 2>conftest.er1
21017 grep -v '^ *+' conftest.er1 >conftest.err
21019 cat conftest.err >&5
21020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21021 (exit $ac_status); } && {
21022 test -z "$ac_c_werror_flag" ||
21023 test ! -s conftest.err
21024 } && test -s conftest.$ac_objext; then
21027 cat >conftest.$ac_ext <<_ACEOF
21030 cat confdefs.h >>conftest.$ac_ext
21031 cat >>conftest.$ac_ext <<_ACEOF
21032 /* end confdefs.h. */
21033 $ac_includes_default
21034 typedef void * ac__type_sizeof_;
21038 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21045 rm -f conftest.$ac_objext
21046 if { (ac_try="$ac_compile"
21047 case "(($ac_try" in
21048 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21049 *) ac_try_echo
=$ac_try;;
21051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21052 (eval "$ac_compile") 2>conftest.er1
21054 grep -v '^ *+' conftest.er1
>conftest.err
21056 cat conftest.err
>&5
21057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21058 (exit $ac_status); } && {
21059 test -z "$ac_c_werror_flag" ||
21060 test ! -s conftest.err
21061 } && test -s conftest.
$ac_objext; then
21062 ac_lo
=$ac_mid; break
21064 echo "$as_me: failed program was:" >&5
21065 sed 's/^/| /' conftest.
$ac_ext >&5
21067 ac_hi
=`expr '(' $ac_mid ')' - 1`
21068 if test $ac_mid -le $ac_hi; then
21072 ac_mid
=`expr 2 '*' $ac_mid`
21075 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21078 echo "$as_me: failed program was:" >&5
21079 sed 's/^/| /' conftest.
$ac_ext >&5
21084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21088 # Binary search between lo and hi bounds.
21089 while test "x$ac_lo" != "x$ac_hi"; do
21090 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21091 cat >conftest.
$ac_ext <<_ACEOF
21094 cat confdefs.h
>>conftest.
$ac_ext
21095 cat >>conftest.
$ac_ext <<_ACEOF
21096 /* end confdefs.h. */
21097 $ac_includes_default
21098 typedef void * ac__type_sizeof_;
21102 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21109 rm -f conftest.
$ac_objext
21110 if { (ac_try
="$ac_compile"
21111 case "(($ac_try" in
21112 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21113 *) ac_try_echo=$ac_try;;
21115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21116 (eval "$ac_compile") 2>conftest.er1
21118 grep -v '^ *+' conftest.er1 >conftest.err
21120 cat conftest.err >&5
21121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21122 (exit $ac_status); } && {
21123 test -z "$ac_c_werror_flag" ||
21124 test ! -s conftest.err
21125 } && test -s conftest.$ac_objext; then
21128 echo "$as_me: failed program was:" >&5
21129 sed 's/^/| /' conftest.$ac_ext >&5
21131 ac_lo=`expr '(' $ac_mid ')' + 1`
21134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21137 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21138 '') if test "$ac_cv_type_void_p" = yes; then
21139 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21140 See \`config.log
' for more details." >&5
21141 echo "$as_me: error: cannot compute sizeof (void *)
21142 See \`config.log' for more details.
" >&2;}
21143 { (exit 77); exit 77; }; }
21145 ac_cv_sizeof_void_p=0
21149 cat >conftest.$ac_ext <<_ACEOF
21152 cat confdefs.h >>conftest.$ac_ext
21153 cat >>conftest.$ac_ext <<_ACEOF
21154 /* end confdefs.h. */
21155 $ac_includes_default
21156 typedef void * ac__type_sizeof_;
21157 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21158 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21160 #include <stdlib.h>
21165 FILE *f = fopen ("conftest.val
", "w
");
21168 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21170 long int i = longval ();
21171 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21173 fprintf (f, "%ld
\n", i);
21177 unsigned long int i = ulongval ();
21178 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21180 fprintf (f, "%lu
\n", i);
21182 return ferror (f) || fclose (f) != 0;
21188 rm -f conftest$ac_exeext
21189 if { (ac_try="$ac_link"
21190 case "(($ac_try" in
21191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21192 *) ac_try_echo=$ac_try;;
21194 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21195 (eval "$ac_link") 2>&5
21197 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21198 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21199 { (case "(($ac_try" in
21200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21201 *) ac_try_echo=$ac_try;;
21203 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21204 (eval "$ac_try") 2>&5
21206 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21207 (exit $ac_status); }; }; then
21208 ac_cv_sizeof_void_p=`cat conftest.val`
21210 echo "$as_me: program exited with status
$ac_status" >&5
21211 echo "$as_me: failed program was
:" >&5
21212 sed 's/^/| /' conftest.$ac_ext >&5
21214 ( exit $ac_status )
21215 if test "$ac_cv_type_void_p" = yes; then
21216 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
21217 See \
`config.log' for more details." >&5
21218 echo "$as_me: error: cannot compute sizeof (void *)
21219 See \`config.log
' for more details." >&2;}
21220 { (exit 77); exit 77; }; }
21222 ac_cv_sizeof_void_p=0
21225 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21229 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21230 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21234 cat >>confdefs.h <<_ACEOF
21235 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21239 { echo "$as_me:$LINENO: checking for int" >&5
21240 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21241 if test "${ac_cv_type_int+set}" = set; then
21242 echo $ECHO_N "(cached) $ECHO_C" >&6
21244 cat >conftest.$ac_ext <<_ACEOF
21247 cat confdefs.h >>conftest.$ac_ext
21248 cat >>conftest.$ac_ext <<_ACEOF
21249 /* end confdefs.h. */
21250 $ac_includes_default
21251 typedef int ac__type_new_;
21255 if ((ac__type_new_ *) 0)
21257 if (sizeof (ac__type_new_))
21263 rm -f conftest.$ac_objext
21264 if { (ac_try="$ac_compile"
21265 case "(($ac_try" in
21266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21267 *) ac_try_echo=$ac_try;;
21269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21270 (eval "$ac_compile") 2>conftest.er1
21272 grep -v '^
*+' conftest.er1 >conftest.err
21274 cat conftest.err >&5
21275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21276 (exit $ac_status); } && {
21277 test -z "$ac_c_werror_flag" ||
21278 test ! -s conftest.err
21279 } && test -s conftest.$ac_objext; then
21282 echo "$as_me: failed program was:" >&5
21283 sed 's
/^
/| /' conftest.$ac_ext >&5
21288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21290 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21291 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21293 # The cast to long int works around a bug in the HP C Compiler
21294 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21295 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21296 # This bug is HP SR number 8606223364.
21297 { echo "$as_me:$LINENO: checking size of int" >&5
21298 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21299 if test "${ac_cv_sizeof_int+set}" = set; then
21300 echo $ECHO_N "(cached) $ECHO_C" >&6
21302 if test "$cross_compiling" = yes; then
21303 # Depending upon the size, compute the lo and hi bounds.
21304 cat >conftest.
$ac_ext <<_ACEOF
21307 cat confdefs.h
>>conftest.
$ac_ext
21308 cat >>conftest.
$ac_ext <<_ACEOF
21309 /* end confdefs.h. */
21310 $ac_includes_default
21311 typedef int ac__type_sizeof_;
21315 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21322 rm -f conftest.
$ac_objext
21323 if { (ac_try
="$ac_compile"
21324 case "(($ac_try" in
21325 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21326 *) ac_try_echo=$ac_try;;
21328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21329 (eval "$ac_compile") 2>conftest.er1
21331 grep -v '^ *+' conftest.er1 >conftest.err
21333 cat conftest.err >&5
21334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21335 (exit $ac_status); } && {
21336 test -z "$ac_c_werror_flag" ||
21337 test ! -s conftest.err
21338 } && test -s conftest.$ac_objext; then
21341 cat >conftest.$ac_ext <<_ACEOF
21344 cat confdefs.h >>conftest.$ac_ext
21345 cat >>conftest.$ac_ext <<_ACEOF
21346 /* end confdefs.h. */
21347 $ac_includes_default
21348 typedef int ac__type_sizeof_;
21352 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21359 rm -f conftest.$ac_objext
21360 if { (ac_try="$ac_compile"
21361 case "(($ac_try" in
21362 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21363 *) ac_try_echo
=$ac_try;;
21365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21366 (eval "$ac_compile") 2>conftest.er1
21368 grep -v '^ *+' conftest.er1
>conftest.err
21370 cat conftest.err
>&5
21371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21372 (exit $ac_status); } && {
21373 test -z "$ac_c_werror_flag" ||
21374 test ! -s conftest.err
21375 } && test -s conftest.
$ac_objext; then
21376 ac_hi
=$ac_mid; break
21378 echo "$as_me: failed program was:" >&5
21379 sed 's/^/| /' conftest.
$ac_ext >&5
21381 ac_lo
=`expr $ac_mid + 1`
21382 if test $ac_lo -le $ac_mid; then
21386 ac_mid
=`expr 2 '*' $ac_mid + 1`
21389 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21392 echo "$as_me: failed program was:" >&5
21393 sed 's/^/| /' conftest.
$ac_ext >&5
21395 cat >conftest.
$ac_ext <<_ACEOF
21398 cat confdefs.h
>>conftest.
$ac_ext
21399 cat >>conftest.
$ac_ext <<_ACEOF
21400 /* end confdefs.h. */
21401 $ac_includes_default
21402 typedef int ac__type_sizeof_;
21406 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21413 rm -f conftest.
$ac_objext
21414 if { (ac_try
="$ac_compile"
21415 case "(($ac_try" in
21416 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21417 *) ac_try_echo=$ac_try;;
21419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21420 (eval "$ac_compile") 2>conftest.er1
21422 grep -v '^ *+' conftest.er1 >conftest.err
21424 cat conftest.err >&5
21425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21426 (exit $ac_status); } && {
21427 test -z "$ac_c_werror_flag" ||
21428 test ! -s conftest.err
21429 } && test -s conftest.$ac_objext; then
21432 cat >conftest.$ac_ext <<_ACEOF
21435 cat confdefs.h >>conftest.$ac_ext
21436 cat >>conftest.$ac_ext <<_ACEOF
21437 /* end confdefs.h. */
21438 $ac_includes_default
21439 typedef int ac__type_sizeof_;
21443 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21450 rm -f conftest.$ac_objext
21451 if { (ac_try="$ac_compile"
21452 case "(($ac_try" in
21453 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21454 *) ac_try_echo
=$ac_try;;
21456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21457 (eval "$ac_compile") 2>conftest.er1
21459 grep -v '^ *+' conftest.er1
>conftest.err
21461 cat conftest.err
>&5
21462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21463 (exit $ac_status); } && {
21464 test -z "$ac_c_werror_flag" ||
21465 test ! -s conftest.err
21466 } && test -s conftest.
$ac_objext; then
21467 ac_lo
=$ac_mid; break
21469 echo "$as_me: failed program was:" >&5
21470 sed 's/^/| /' conftest.
$ac_ext >&5
21472 ac_hi
=`expr '(' $ac_mid ')' - 1`
21473 if test $ac_mid -le $ac_hi; then
21477 ac_mid
=`expr 2 '*' $ac_mid`
21480 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21483 echo "$as_me: failed program was:" >&5
21484 sed 's/^/| /' conftest.
$ac_ext >&5
21489 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21492 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21493 # Binary search between lo and hi bounds.
21494 while test "x$ac_lo" != "x$ac_hi"; do
21495 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21496 cat >conftest.
$ac_ext <<_ACEOF
21499 cat confdefs.h
>>conftest.
$ac_ext
21500 cat >>conftest.
$ac_ext <<_ACEOF
21501 /* end confdefs.h. */
21502 $ac_includes_default
21503 typedef int ac__type_sizeof_;
21507 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21514 rm -f conftest.
$ac_objext
21515 if { (ac_try
="$ac_compile"
21516 case "(($ac_try" in
21517 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21518 *) ac_try_echo=$ac_try;;
21520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21521 (eval "$ac_compile") 2>conftest.er1
21523 grep -v '^ *+' conftest.er1 >conftest.err
21525 cat conftest.err >&5
21526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21527 (exit $ac_status); } && {
21528 test -z "$ac_c_werror_flag" ||
21529 test ! -s conftest.err
21530 } && test -s conftest.$ac_objext; then
21533 echo "$as_me: failed program was:" >&5
21534 sed 's/^/| /' conftest.$ac_ext >&5
21536 ac_lo=`expr '(' $ac_mid ')' + 1`
21539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21542 ?*) ac_cv_sizeof_int=$ac_lo;;
21543 '') if test "$ac_cv_type_int" = yes; then
21544 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21545 See \`config.log
' for more details." >&5
21546 echo "$as_me: error: cannot compute sizeof (int)
21547 See \`config.log' for more details.
" >&2;}
21548 { (exit 77); exit 77; }; }
21554 cat >conftest.$ac_ext <<_ACEOF
21557 cat confdefs.h >>conftest.$ac_ext
21558 cat >>conftest.$ac_ext <<_ACEOF
21559 /* end confdefs.h. */
21560 $ac_includes_default
21561 typedef int ac__type_sizeof_;
21562 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21563 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21565 #include <stdlib.h>
21570 FILE *f = fopen ("conftest.val
", "w
");
21573 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21575 long int i = longval ();
21576 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21578 fprintf (f, "%ld
\n", i);
21582 unsigned long int i = ulongval ();
21583 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21585 fprintf (f, "%lu
\n", i);
21587 return ferror (f) || fclose (f) != 0;
21593 rm -f conftest$ac_exeext
21594 if { (ac_try="$ac_link"
21595 case "(($ac_try" in
21596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21597 *) ac_try_echo=$ac_try;;
21599 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21600 (eval "$ac_link") 2>&5
21602 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21603 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21604 { (case "(($ac_try" in
21605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21606 *) ac_try_echo=$ac_try;;
21608 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21609 (eval "$ac_try") 2>&5
21611 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21612 (exit $ac_status); }; }; then
21613 ac_cv_sizeof_int=`cat conftest.val`
21615 echo "$as_me: program exited with status
$ac_status" >&5
21616 echo "$as_me: failed program was
:" >&5
21617 sed 's/^/| /' conftest.$ac_ext >&5
21619 ( exit $ac_status )
21620 if test "$ac_cv_type_int" = yes; then
21621 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
21622 See \
`config.log' for more details." >&5
21623 echo "$as_me: error: cannot compute sizeof (int)
21624 See \`config.log
' for more details." >&2;}
21625 { (exit 77); exit 77; }; }
21630 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21634 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21635 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21639 cat >>confdefs.h <<_ACEOF
21640 #define SIZEOF_INT $ac_cv_sizeof_int
21644 { echo "$as_me:$LINENO: checking for long" >&5
21645 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21646 if test "${ac_cv_type_long+set}" = set; then
21647 echo $ECHO_N "(cached) $ECHO_C" >&6
21649 cat >conftest.$ac_ext <<_ACEOF
21652 cat confdefs.h >>conftest.$ac_ext
21653 cat >>conftest.$ac_ext <<_ACEOF
21654 /* end confdefs.h. */
21655 $ac_includes_default
21656 typedef long ac__type_new_;
21660 if ((ac__type_new_ *) 0)
21662 if (sizeof (ac__type_new_))
21668 rm -f conftest.$ac_objext
21669 if { (ac_try="$ac_compile"
21670 case "(($ac_try" in
21671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21672 *) ac_try_echo=$ac_try;;
21674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21675 (eval "$ac_compile") 2>conftest.er1
21677 grep -v '^
*+' conftest.er1 >conftest.err
21679 cat conftest.err >&5
21680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21681 (exit $ac_status); } && {
21682 test -z "$ac_c_werror_flag" ||
21683 test ! -s conftest.err
21684 } && test -s conftest.$ac_objext; then
21685 ac_cv_type_long=yes
21687 echo "$as_me: failed program was:" >&5
21688 sed 's
/^
/| /' conftest.$ac_ext >&5
21693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21695 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21696 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21698 # The cast to long int works around a bug in the HP C Compiler
21699 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21700 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21701 # This bug is HP SR number 8606223364.
21702 { echo "$as_me:$LINENO: checking size of long" >&5
21703 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21704 if test "${ac_cv_sizeof_long+set}" = set; then
21705 echo $ECHO_N "(cached) $ECHO_C" >&6
21707 if test "$cross_compiling" = yes; then
21708 # Depending upon the size, compute the lo and hi bounds.
21709 cat >conftest.
$ac_ext <<_ACEOF
21712 cat confdefs.h
>>conftest.
$ac_ext
21713 cat >>conftest.
$ac_ext <<_ACEOF
21714 /* end confdefs.h. */
21715 $ac_includes_default
21716 typedef long ac__type_sizeof_;
21720 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21727 rm -f conftest.
$ac_objext
21728 if { (ac_try
="$ac_compile"
21729 case "(($ac_try" in
21730 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21731 *) ac_try_echo=$ac_try;;
21733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21734 (eval "$ac_compile") 2>conftest.er1
21736 grep -v '^ *+' conftest.er1 >conftest.err
21738 cat conftest.err >&5
21739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21740 (exit $ac_status); } && {
21741 test -z "$ac_c_werror_flag" ||
21742 test ! -s conftest.err
21743 } && test -s conftest.$ac_objext; then
21746 cat >conftest.$ac_ext <<_ACEOF
21749 cat confdefs.h >>conftest.$ac_ext
21750 cat >>conftest.$ac_ext <<_ACEOF
21751 /* end confdefs.h. */
21752 $ac_includes_default
21753 typedef long ac__type_sizeof_;
21757 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21764 rm -f conftest.$ac_objext
21765 if { (ac_try="$ac_compile"
21766 case "(($ac_try" in
21767 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21768 *) ac_try_echo
=$ac_try;;
21770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21771 (eval "$ac_compile") 2>conftest.er1
21773 grep -v '^ *+' conftest.er1
>conftest.err
21775 cat conftest.err
>&5
21776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21777 (exit $ac_status); } && {
21778 test -z "$ac_c_werror_flag" ||
21779 test ! -s conftest.err
21780 } && test -s conftest.
$ac_objext; then
21781 ac_hi
=$ac_mid; break
21783 echo "$as_me: failed program was:" >&5
21784 sed 's/^/| /' conftest.
$ac_ext >&5
21786 ac_lo
=`expr $ac_mid + 1`
21787 if test $ac_lo -le $ac_mid; then
21791 ac_mid
=`expr 2 '*' $ac_mid + 1`
21794 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21797 echo "$as_me: failed program was:" >&5
21798 sed 's/^/| /' conftest.
$ac_ext >&5
21800 cat >conftest.
$ac_ext <<_ACEOF
21803 cat confdefs.h
>>conftest.
$ac_ext
21804 cat >>conftest.
$ac_ext <<_ACEOF
21805 /* end confdefs.h. */
21806 $ac_includes_default
21807 typedef long ac__type_sizeof_;
21811 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21818 rm -f conftest.
$ac_objext
21819 if { (ac_try
="$ac_compile"
21820 case "(($ac_try" in
21821 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21822 *) ac_try_echo=$ac_try;;
21824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21825 (eval "$ac_compile") 2>conftest.er1
21827 grep -v '^ *+' conftest.er1 >conftest.err
21829 cat conftest.err >&5
21830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21831 (exit $ac_status); } && {
21832 test -z "$ac_c_werror_flag" ||
21833 test ! -s conftest.err
21834 } && test -s conftest.$ac_objext; then
21837 cat >conftest.$ac_ext <<_ACEOF
21840 cat confdefs.h >>conftest.$ac_ext
21841 cat >>conftest.$ac_ext <<_ACEOF
21842 /* end confdefs.h. */
21843 $ac_includes_default
21844 typedef long ac__type_sizeof_;
21848 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21855 rm -f conftest.$ac_objext
21856 if { (ac_try="$ac_compile"
21857 case "(($ac_try" in
21858 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21859 *) ac_try_echo
=$ac_try;;
21861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21862 (eval "$ac_compile") 2>conftest.er1
21864 grep -v '^ *+' conftest.er1
>conftest.err
21866 cat conftest.err
>&5
21867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21868 (exit $ac_status); } && {
21869 test -z "$ac_c_werror_flag" ||
21870 test ! -s conftest.err
21871 } && test -s conftest.
$ac_objext; then
21872 ac_lo
=$ac_mid; break
21874 echo "$as_me: failed program was:" >&5
21875 sed 's/^/| /' conftest.
$ac_ext >&5
21877 ac_hi
=`expr '(' $ac_mid ')' - 1`
21878 if test $ac_mid -le $ac_hi; then
21882 ac_mid
=`expr 2 '*' $ac_mid`
21885 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21888 echo "$as_me: failed program was:" >&5
21889 sed 's/^/| /' conftest.
$ac_ext >&5
21894 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21897 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21898 # Binary search between lo and hi bounds.
21899 while test "x$ac_lo" != "x$ac_hi"; do
21900 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21901 cat >conftest.
$ac_ext <<_ACEOF
21904 cat confdefs.h
>>conftest.
$ac_ext
21905 cat >>conftest.
$ac_ext <<_ACEOF
21906 /* end confdefs.h. */
21907 $ac_includes_default
21908 typedef long ac__type_sizeof_;
21912 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21919 rm -f conftest.
$ac_objext
21920 if { (ac_try
="$ac_compile"
21921 case "(($ac_try" in
21922 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21923 *) ac_try_echo=$ac_try;;
21925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21926 (eval "$ac_compile") 2>conftest.er1
21928 grep -v '^ *+' conftest.er1 >conftest.err
21930 cat conftest.err >&5
21931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21932 (exit $ac_status); } && {
21933 test -z "$ac_c_werror_flag" ||
21934 test ! -s conftest.err
21935 } && test -s conftest.$ac_objext; then
21938 echo "$as_me: failed program was:" >&5
21939 sed 's/^/| /' conftest.$ac_ext >&5
21941 ac_lo=`expr '(' $ac_mid ')' + 1`
21944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21947 ?*) ac_cv_sizeof_long=$ac_lo;;
21948 '') if test "$ac_cv_type_long" = yes; then
21949 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21950 See \`config.log
' for more details." >&5
21951 echo "$as_me: error: cannot compute sizeof (long)
21952 See \`config.log' for more details.
" >&2;}
21953 { (exit 77); exit 77; }; }
21955 ac_cv_sizeof_long=0
21959 cat >conftest.$ac_ext <<_ACEOF
21962 cat confdefs.h >>conftest.$ac_ext
21963 cat >>conftest.$ac_ext <<_ACEOF
21964 /* end confdefs.h. */
21965 $ac_includes_default
21966 typedef long ac__type_sizeof_;
21967 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21968 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21970 #include <stdlib.h>
21975 FILE *f = fopen ("conftest.val
", "w
");
21978 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21980 long int i = longval ();
21981 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21983 fprintf (f, "%ld
\n", i);
21987 unsigned long int i = ulongval ();
21988 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21990 fprintf (f, "%lu
\n", i);
21992 return ferror (f) || fclose (f) != 0;
21998 rm -f conftest$ac_exeext
21999 if { (ac_try="$ac_link"
22000 case "(($ac_try" in
22001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22002 *) ac_try_echo=$ac_try;;
22004 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22005 (eval "$ac_link") 2>&5
22007 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22008 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22009 { (case "(($ac_try" in
22010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22011 *) ac_try_echo=$ac_try;;
22013 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22014 (eval "$ac_try") 2>&5
22016 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22017 (exit $ac_status); }; }; then
22018 ac_cv_sizeof_long=`cat conftest.val`
22020 echo "$as_me: program exited with status
$ac_status" >&5
22021 echo "$as_me: failed program was
:" >&5
22022 sed 's/^/| /' conftest.$ac_ext >&5
22024 ( exit $ac_status )
22025 if test "$ac_cv_type_long" = yes; then
22026 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
22027 See \
`config.log' for more details." >&5
22028 echo "$as_me: error: cannot compute sizeof (long)
22029 See \`config.log
' for more details." >&2;}
22030 { (exit 77); exit 77; }; }
22032 ac_cv_sizeof_long=0
22035 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22039 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22040 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22044 cat >>confdefs.h <<_ACEOF
22045 #define SIZEOF_LONG $ac_cv_sizeof_long
22049 { echo "$as_me:$LINENO: checking for size_t" >&5
22050 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22051 if test "${ac_cv_type_size_t+set}" = set; then
22052 echo $ECHO_N "(cached) $ECHO_C" >&6
22054 cat >conftest.$ac_ext <<_ACEOF
22057 cat confdefs.h >>conftest.$ac_ext
22058 cat >>conftest.$ac_ext <<_ACEOF
22059 /* end confdefs.h. */
22060 $ac_includes_default
22061 typedef size_t ac__type_new_;
22065 if ((ac__type_new_ *) 0)
22067 if (sizeof (ac__type_new_))
22073 rm -f conftest.$ac_objext
22074 if { (ac_try="$ac_compile"
22075 case "(($ac_try" in
22076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22077 *) ac_try_echo=$ac_try;;
22079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22080 (eval "$ac_compile") 2>conftest.er1
22082 grep -v '^
*+' conftest.er1 >conftest.err
22084 cat conftest.err >&5
22085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22086 (exit $ac_status); } && {
22087 test -z "$ac_c_werror_flag" ||
22088 test ! -s conftest.err
22089 } && test -s conftest.$ac_objext; then
22090 ac_cv_type_size_t=yes
22092 echo "$as_me: failed program was:" >&5
22093 sed 's
/^
/| /' conftest.$ac_ext >&5
22095 ac_cv_type_size_t=no
22098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22100 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22101 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22103 # The cast to long int works around a bug in the HP C Compiler
22104 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22105 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22106 # This bug is HP SR number 8606223364.
22107 { echo "$as_me:$LINENO: checking size of size_t" >&5
22108 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22109 if test "${ac_cv_sizeof_size_t+set}" = set; then
22110 echo $ECHO_N "(cached) $ECHO_C" >&6
22112 if test "$cross_compiling" = yes; then
22113 # Depending upon the size, compute the lo and hi bounds.
22114 cat >conftest.
$ac_ext <<_ACEOF
22117 cat confdefs.h
>>conftest.
$ac_ext
22118 cat >>conftest.
$ac_ext <<_ACEOF
22119 /* end confdefs.h. */
22120 $ac_includes_default
22121 typedef size_t ac__type_sizeof_;
22125 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22132 rm -f conftest.
$ac_objext
22133 if { (ac_try
="$ac_compile"
22134 case "(($ac_try" in
22135 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22136 *) ac_try_echo=$ac_try;;
22138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22139 (eval "$ac_compile") 2>conftest.er1
22141 grep -v '^ *+' conftest.er1 >conftest.err
22143 cat conftest.err >&5
22144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22145 (exit $ac_status); } && {
22146 test -z "$ac_c_werror_flag" ||
22147 test ! -s conftest.err
22148 } && test -s conftest.$ac_objext; then
22151 cat >conftest.$ac_ext <<_ACEOF
22154 cat confdefs.h >>conftest.$ac_ext
22155 cat >>conftest.$ac_ext <<_ACEOF
22156 /* end confdefs.h. */
22157 $ac_includes_default
22158 typedef size_t ac__type_sizeof_;
22162 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22169 rm -f conftest.$ac_objext
22170 if { (ac_try="$ac_compile"
22171 case "(($ac_try" in
22172 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22173 *) ac_try_echo
=$ac_try;;
22175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22176 (eval "$ac_compile") 2>conftest.er1
22178 grep -v '^ *+' conftest.er1
>conftest.err
22180 cat conftest.err
>&5
22181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22182 (exit $ac_status); } && {
22183 test -z "$ac_c_werror_flag" ||
22184 test ! -s conftest.err
22185 } && test -s conftest.
$ac_objext; then
22186 ac_hi
=$ac_mid; break
22188 echo "$as_me: failed program was:" >&5
22189 sed 's/^/| /' conftest.
$ac_ext >&5
22191 ac_lo
=`expr $ac_mid + 1`
22192 if test $ac_lo -le $ac_mid; then
22196 ac_mid
=`expr 2 '*' $ac_mid + 1`
22199 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22202 echo "$as_me: failed program was:" >&5
22203 sed 's/^/| /' conftest.
$ac_ext >&5
22205 cat >conftest.
$ac_ext <<_ACEOF
22208 cat confdefs.h
>>conftest.
$ac_ext
22209 cat >>conftest.
$ac_ext <<_ACEOF
22210 /* end confdefs.h. */
22211 $ac_includes_default
22212 typedef size_t ac__type_sizeof_;
22216 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22223 rm -f conftest.
$ac_objext
22224 if { (ac_try
="$ac_compile"
22225 case "(($ac_try" in
22226 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22227 *) ac_try_echo=$ac_try;;
22229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22230 (eval "$ac_compile") 2>conftest.er1
22232 grep -v '^ *+' conftest.er1 >conftest.err
22234 cat conftest.err >&5
22235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22236 (exit $ac_status); } && {
22237 test -z "$ac_c_werror_flag" ||
22238 test ! -s conftest.err
22239 } && test -s conftest.$ac_objext; then
22242 cat >conftest.$ac_ext <<_ACEOF
22245 cat confdefs.h >>conftest.$ac_ext
22246 cat >>conftest.$ac_ext <<_ACEOF
22247 /* end confdefs.h. */
22248 $ac_includes_default
22249 typedef size_t ac__type_sizeof_;
22253 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22260 rm -f conftest.$ac_objext
22261 if { (ac_try="$ac_compile"
22262 case "(($ac_try" in
22263 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22264 *) ac_try_echo
=$ac_try;;
22266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22267 (eval "$ac_compile") 2>conftest.er1
22269 grep -v '^ *+' conftest.er1
>conftest.err
22271 cat conftest.err
>&5
22272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22273 (exit $ac_status); } && {
22274 test -z "$ac_c_werror_flag" ||
22275 test ! -s conftest.err
22276 } && test -s conftest.
$ac_objext; then
22277 ac_lo
=$ac_mid; break
22279 echo "$as_me: failed program was:" >&5
22280 sed 's/^/| /' conftest.
$ac_ext >&5
22282 ac_hi
=`expr '(' $ac_mid ')' - 1`
22283 if test $ac_mid -le $ac_hi; then
22287 ac_mid
=`expr 2 '*' $ac_mid`
22290 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22293 echo "$as_me: failed program was:" >&5
22294 sed 's/^/| /' conftest.
$ac_ext >&5
22299 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22302 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22303 # Binary search between lo and hi bounds.
22304 while test "x$ac_lo" != "x$ac_hi"; do
22305 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22306 cat >conftest.
$ac_ext <<_ACEOF
22309 cat confdefs.h
>>conftest.
$ac_ext
22310 cat >>conftest.
$ac_ext <<_ACEOF
22311 /* end confdefs.h. */
22312 $ac_includes_default
22313 typedef size_t ac__type_sizeof_;
22317 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22324 rm -f conftest.
$ac_objext
22325 if { (ac_try
="$ac_compile"
22326 case "(($ac_try" in
22327 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22328 *) ac_try_echo=$ac_try;;
22330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22331 (eval "$ac_compile") 2>conftest.er1
22333 grep -v '^ *+' conftest.er1 >conftest.err
22335 cat conftest.err >&5
22336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22337 (exit $ac_status); } && {
22338 test -z "$ac_c_werror_flag" ||
22339 test ! -s conftest.err
22340 } && test -s conftest.$ac_objext; then
22343 echo "$as_me: failed program was:" >&5
22344 sed 's/^/| /' conftest.$ac_ext >&5
22346 ac_lo=`expr '(' $ac_mid ')' + 1`
22349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22352 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22353 '') if test "$ac_cv_type_size_t" = yes; then
22354 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22355 See \`config.log
' for more details." >&5
22356 echo "$as_me: error: cannot compute sizeof (size_t)
22357 See \`config.log' for more details.
" >&2;}
22358 { (exit 77); exit 77; }; }
22360 ac_cv_sizeof_size_t=0
22364 cat >conftest.$ac_ext <<_ACEOF
22367 cat confdefs.h >>conftest.$ac_ext
22368 cat >>conftest.$ac_ext <<_ACEOF
22369 /* end confdefs.h. */
22370 $ac_includes_default
22371 typedef size_t ac__type_sizeof_;
22372 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22373 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22375 #include <stdlib.h>
22380 FILE *f = fopen ("conftest.val
", "w
");
22383 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22385 long int i = longval ();
22386 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22388 fprintf (f, "%ld
\n", i);
22392 unsigned long int i = ulongval ();
22393 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22395 fprintf (f, "%lu
\n", i);
22397 return ferror (f) || fclose (f) != 0;
22403 rm -f conftest$ac_exeext
22404 if { (ac_try="$ac_link"
22405 case "(($ac_try" in
22406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22407 *) ac_try_echo=$ac_try;;
22409 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22410 (eval "$ac_link") 2>&5
22412 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22413 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22414 { (case "(($ac_try" in
22415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22416 *) ac_try_echo=$ac_try;;
22418 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22419 (eval "$ac_try") 2>&5
22421 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22422 (exit $ac_status); }; }; then
22423 ac_cv_sizeof_size_t=`cat conftest.val`
22425 echo "$as_me: program exited with status
$ac_status" >&5
22426 echo "$as_me: failed program was
:" >&5
22427 sed 's/^/| /' conftest.$ac_ext >&5
22429 ( exit $ac_status )
22430 if test "$ac_cv_type_size_t" = yes; then
22431 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
22432 See \
`config.log' for more details." >&5
22433 echo "$as_me: error: cannot compute sizeof (size_t)
22434 See \`config.log
' for more details." >&2;}
22435 { (exit 77); exit 77; }; }
22437 ac_cv_sizeof_size_t=0
22440 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22444 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22445 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22449 cat >>confdefs.h <<_ACEOF
22450 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22457 { echo "$as_me:$LINENO: checking for long long" >&5
22458 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22459 if test "${ac_cv_type_long_long+set}" = set; then
22460 echo $ECHO_N "(cached) $ECHO_C" >&6
22462 cat >conftest.$ac_ext <<_ACEOF
22465 cat confdefs.h >>conftest.$ac_ext
22466 cat >>conftest.$ac_ext <<_ACEOF
22467 /* end confdefs.h. */
22468 $ac_includes_default
22469 typedef long long ac__type_new_;
22473 if ((ac__type_new_ *) 0)
22475 if (sizeof (ac__type_new_))
22481 rm -f conftest.$ac_objext
22482 if { (ac_try="$ac_compile"
22483 case "(($ac_try" in
22484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22485 *) ac_try_echo=$ac_try;;
22487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22488 (eval "$ac_compile") 2>conftest.er1
22490 grep -v '^
*+' conftest.er1 >conftest.err
22492 cat conftest.err >&5
22493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22494 (exit $ac_status); } && {
22495 test -z "$ac_c_werror_flag" ||
22496 test ! -s conftest.err
22497 } && test -s conftest.$ac_objext; then
22498 ac_cv_type_long_long=yes
22500 echo "$as_me: failed program was:" >&5
22501 sed 's
/^
/| /' conftest.$ac_ext >&5
22503 ac_cv_type_long_long=no
22506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22508 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22509 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22511 # The cast to long int works around a bug in the HP C Compiler
22512 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22513 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22514 # This bug is HP SR number 8606223364.
22515 { echo "$as_me:$LINENO: checking size of long long" >&5
22516 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22517 if test "${ac_cv_sizeof_long_long+set}" = set; then
22518 echo $ECHO_N "(cached) $ECHO_C" >&6
22520 if test "$cross_compiling" = yes; then
22521 # Depending upon the size, compute the lo and hi bounds.
22522 cat >conftest.
$ac_ext <<_ACEOF
22525 cat confdefs.h
>>conftest.
$ac_ext
22526 cat >>conftest.
$ac_ext <<_ACEOF
22527 /* end confdefs.h. */
22528 $ac_includes_default
22529 typedef long long ac__type_sizeof_;
22533 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22540 rm -f conftest.
$ac_objext
22541 if { (ac_try
="$ac_compile"
22542 case "(($ac_try" in
22543 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22544 *) ac_try_echo=$ac_try;;
22546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22547 (eval "$ac_compile") 2>conftest.er1
22549 grep -v '^ *+' conftest.er1 >conftest.err
22551 cat conftest.err >&5
22552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22553 (exit $ac_status); } && {
22554 test -z "$ac_c_werror_flag" ||
22555 test ! -s conftest.err
22556 } && test -s conftest.$ac_objext; then
22559 cat >conftest.$ac_ext <<_ACEOF
22562 cat confdefs.h >>conftest.$ac_ext
22563 cat >>conftest.$ac_ext <<_ACEOF
22564 /* end confdefs.h. */
22565 $ac_includes_default
22566 typedef long long ac__type_sizeof_;
22570 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22577 rm -f conftest.$ac_objext
22578 if { (ac_try="$ac_compile"
22579 case "(($ac_try" in
22580 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22581 *) ac_try_echo
=$ac_try;;
22583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22584 (eval "$ac_compile") 2>conftest.er1
22586 grep -v '^ *+' conftest.er1
>conftest.err
22588 cat conftest.err
>&5
22589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22590 (exit $ac_status); } && {
22591 test -z "$ac_c_werror_flag" ||
22592 test ! -s conftest.err
22593 } && test -s conftest.
$ac_objext; then
22594 ac_hi
=$ac_mid; break
22596 echo "$as_me: failed program was:" >&5
22597 sed 's/^/| /' conftest.
$ac_ext >&5
22599 ac_lo
=`expr $ac_mid + 1`
22600 if test $ac_lo -le $ac_mid; then
22604 ac_mid
=`expr 2 '*' $ac_mid + 1`
22607 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22610 echo "$as_me: failed program was:" >&5
22611 sed 's/^/| /' conftest.
$ac_ext >&5
22613 cat >conftest.
$ac_ext <<_ACEOF
22616 cat confdefs.h
>>conftest.
$ac_ext
22617 cat >>conftest.
$ac_ext <<_ACEOF
22618 /* end confdefs.h. */
22619 $ac_includes_default
22620 typedef long long ac__type_sizeof_;
22624 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22631 rm -f conftest.
$ac_objext
22632 if { (ac_try
="$ac_compile"
22633 case "(($ac_try" in
22634 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22635 *) ac_try_echo=$ac_try;;
22637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22638 (eval "$ac_compile") 2>conftest.er1
22640 grep -v '^ *+' conftest.er1 >conftest.err
22642 cat conftest.err >&5
22643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22644 (exit $ac_status); } && {
22645 test -z "$ac_c_werror_flag" ||
22646 test ! -s conftest.err
22647 } && test -s conftest.$ac_objext; then
22650 cat >conftest.$ac_ext <<_ACEOF
22653 cat confdefs.h >>conftest.$ac_ext
22654 cat >>conftest.$ac_ext <<_ACEOF
22655 /* end confdefs.h. */
22656 $ac_includes_default
22657 typedef long long ac__type_sizeof_;
22661 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22668 rm -f conftest.$ac_objext
22669 if { (ac_try="$ac_compile"
22670 case "(($ac_try" in
22671 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22672 *) ac_try_echo
=$ac_try;;
22674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22675 (eval "$ac_compile") 2>conftest.er1
22677 grep -v '^ *+' conftest.er1
>conftest.err
22679 cat conftest.err
>&5
22680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22681 (exit $ac_status); } && {
22682 test -z "$ac_c_werror_flag" ||
22683 test ! -s conftest.err
22684 } && test -s conftest.
$ac_objext; then
22685 ac_lo
=$ac_mid; break
22687 echo "$as_me: failed program was:" >&5
22688 sed 's/^/| /' conftest.
$ac_ext >&5
22690 ac_hi
=`expr '(' $ac_mid ')' - 1`
22691 if test $ac_mid -le $ac_hi; then
22695 ac_mid
=`expr 2 '*' $ac_mid`
22698 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22701 echo "$as_me: failed program was:" >&5
22702 sed 's/^/| /' conftest.
$ac_ext >&5
22707 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22710 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22711 # Binary search between lo and hi bounds.
22712 while test "x$ac_lo" != "x$ac_hi"; do
22713 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22714 cat >conftest.
$ac_ext <<_ACEOF
22717 cat confdefs.h
>>conftest.
$ac_ext
22718 cat >>conftest.
$ac_ext <<_ACEOF
22719 /* end confdefs.h. */
22720 $ac_includes_default
22721 typedef long long ac__type_sizeof_;
22725 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22732 rm -f conftest.
$ac_objext
22733 if { (ac_try
="$ac_compile"
22734 case "(($ac_try" in
22735 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22736 *) ac_try_echo=$ac_try;;
22738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22739 (eval "$ac_compile") 2>conftest.er1
22741 grep -v '^ *+' conftest.er1 >conftest.err
22743 cat conftest.err >&5
22744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22745 (exit $ac_status); } && {
22746 test -z "$ac_c_werror_flag" ||
22747 test ! -s conftest.err
22748 } && test -s conftest.$ac_objext; then
22751 echo "$as_me: failed program was:" >&5
22752 sed 's/^/| /' conftest.$ac_ext >&5
22754 ac_lo=`expr '(' $ac_mid ')' + 1`
22757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22760 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22761 '') if test "$ac_cv_type_long_long" = yes; then
22762 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22763 See \`config.log
' for more details." >&5
22764 echo "$as_me: error: cannot compute sizeof (long long)
22765 See \`config.log' for more details.
" >&2;}
22766 { (exit 77); exit 77; }; }
22768 ac_cv_sizeof_long_long=0
22772 cat >conftest.$ac_ext <<_ACEOF
22775 cat confdefs.h >>conftest.$ac_ext
22776 cat >>conftest.$ac_ext <<_ACEOF
22777 /* end confdefs.h. */
22778 $ac_includes_default
22779 typedef long long ac__type_sizeof_;
22780 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22781 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22783 #include <stdlib.h>
22788 FILE *f = fopen ("conftest.val
", "w
");
22791 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22793 long int i = longval ();
22794 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22796 fprintf (f, "%ld
\n", i);
22800 unsigned long int i = ulongval ();
22801 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22803 fprintf (f, "%lu
\n", i);
22805 return ferror (f) || fclose (f) != 0;
22811 rm -f conftest$ac_exeext
22812 if { (ac_try="$ac_link"
22813 case "(($ac_try" in
22814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22815 *) ac_try_echo=$ac_try;;
22817 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22818 (eval "$ac_link") 2>&5
22820 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22821 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22822 { (case "(($ac_try" in
22823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22824 *) ac_try_echo=$ac_try;;
22826 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22827 (eval "$ac_try") 2>&5
22829 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22830 (exit $ac_status); }; }; then
22831 ac_cv_sizeof_long_long=`cat conftest.val`
22833 echo "$as_me: program exited with status
$ac_status" >&5
22834 echo "$as_me: failed program was
:" >&5
22835 sed 's/^/| /' conftest.$ac_ext >&5
22837 ( exit $ac_status )
22838 if test "$ac_cv_type_long_long" = yes; then
22839 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22840 See \
`config.log' for more details." >&5
22841 echo "$as_me: error: cannot compute sizeof (long long)
22842 See \`config.log
' for more details." >&2;}
22843 { (exit 77); exit 77; }; }
22845 ac_cv_sizeof_long_long=0
22848 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22852 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22853 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22857 cat >>confdefs.h <<_ACEOF
22858 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22864 { echo "$as_me:$LINENO: checking for long long" >&5
22865 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22866 if test "${ac_cv_type_long_long+set}" = set; then
22867 echo $ECHO_N "(cached) $ECHO_C" >&6
22869 cat >conftest.$ac_ext <<_ACEOF
22872 cat confdefs.h >>conftest.$ac_ext
22873 cat >>conftest.$ac_ext <<_ACEOF
22874 /* end confdefs.h. */
22875 $ac_includes_default
22876 typedef long long ac__type_new_;
22880 if ((ac__type_new_ *) 0)
22882 if (sizeof (ac__type_new_))
22888 rm -f conftest.$ac_objext
22889 if { (ac_try="$ac_compile"
22890 case "(($ac_try" in
22891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22892 *) ac_try_echo=$ac_try;;
22894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22895 (eval "$ac_compile") 2>conftest.er1
22897 grep -v '^
*+' conftest.er1 >conftest.err
22899 cat conftest.err >&5
22900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22901 (exit $ac_status); } && {
22902 test -z "$ac_c_werror_flag" ||
22903 test ! -s conftest.err
22904 } && test -s conftest.$ac_objext; then
22905 ac_cv_type_long_long=yes
22907 echo "$as_me: failed program was:" >&5
22908 sed 's
/^
/| /' conftest.$ac_ext >&5
22910 ac_cv_type_long_long=no
22913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22915 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22916 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22918 # The cast to long int works around a bug in the HP C Compiler
22919 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22920 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22921 # This bug is HP SR number 8606223364.
22922 { echo "$as_me:$LINENO: checking size of long long" >&5
22923 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22924 if test "${ac_cv_sizeof_long_long+set}" = set; then
22925 echo $ECHO_N "(cached) $ECHO_C" >&6
22927 if test "$cross_compiling" = yes; then
22928 # Depending upon the size, compute the lo and hi bounds.
22929 cat >conftest.
$ac_ext <<_ACEOF
22932 cat confdefs.h
>>conftest.
$ac_ext
22933 cat >>conftest.
$ac_ext <<_ACEOF
22934 /* end confdefs.h. */
22935 $ac_includes_default
22936 typedef long long ac__type_sizeof_;
22940 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22947 rm -f conftest.
$ac_objext
22948 if { (ac_try
="$ac_compile"
22949 case "(($ac_try" in
22950 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22951 *) ac_try_echo=$ac_try;;
22953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22954 (eval "$ac_compile") 2>conftest.er1
22956 grep -v '^ *+' conftest.er1 >conftest.err
22958 cat conftest.err >&5
22959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22960 (exit $ac_status); } && {
22961 test -z "$ac_c_werror_flag" ||
22962 test ! -s conftest.err
22963 } && test -s conftest.$ac_objext; then
22966 cat >conftest.$ac_ext <<_ACEOF
22969 cat confdefs.h >>conftest.$ac_ext
22970 cat >>conftest.$ac_ext <<_ACEOF
22971 /* end confdefs.h. */
22972 $ac_includes_default
22973 typedef long long ac__type_sizeof_;
22977 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22984 rm -f conftest.$ac_objext
22985 if { (ac_try="$ac_compile"
22986 case "(($ac_try" in
22987 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22988 *) ac_try_echo
=$ac_try;;
22990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22991 (eval "$ac_compile") 2>conftest.er1
22993 grep -v '^ *+' conftest.er1
>conftest.err
22995 cat conftest.err
>&5
22996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22997 (exit $ac_status); } && {
22998 test -z "$ac_c_werror_flag" ||
22999 test ! -s conftest.err
23000 } && test -s conftest.
$ac_objext; then
23001 ac_hi
=$ac_mid; break
23003 echo "$as_me: failed program was:" >&5
23004 sed 's/^/| /' conftest.
$ac_ext >&5
23006 ac_lo
=`expr $ac_mid + 1`
23007 if test $ac_lo -le $ac_mid; then
23011 ac_mid
=`expr 2 '*' $ac_mid + 1`
23014 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23017 echo "$as_me: failed program was:" >&5
23018 sed 's/^/| /' conftest.
$ac_ext >&5
23020 cat >conftest.
$ac_ext <<_ACEOF
23023 cat confdefs.h
>>conftest.
$ac_ext
23024 cat >>conftest.
$ac_ext <<_ACEOF
23025 /* end confdefs.h. */
23026 $ac_includes_default
23027 typedef long long ac__type_sizeof_;
23031 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23038 rm -f conftest.
$ac_objext
23039 if { (ac_try
="$ac_compile"
23040 case "(($ac_try" in
23041 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23042 *) ac_try_echo=$ac_try;;
23044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23045 (eval "$ac_compile") 2>conftest.er1
23047 grep -v '^ *+' conftest.er1 >conftest.err
23049 cat conftest.err >&5
23050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23051 (exit $ac_status); } && {
23052 test -z "$ac_c_werror_flag" ||
23053 test ! -s conftest.err
23054 } && test -s conftest.$ac_objext; then
23057 cat >conftest.$ac_ext <<_ACEOF
23060 cat confdefs.h >>conftest.$ac_ext
23061 cat >>conftest.$ac_ext <<_ACEOF
23062 /* end confdefs.h. */
23063 $ac_includes_default
23064 typedef long long ac__type_sizeof_;
23068 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23075 rm -f conftest.$ac_objext
23076 if { (ac_try="$ac_compile"
23077 case "(($ac_try" in
23078 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23079 *) ac_try_echo
=$ac_try;;
23081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23082 (eval "$ac_compile") 2>conftest.er1
23084 grep -v '^ *+' conftest.er1
>conftest.err
23086 cat conftest.err
>&5
23087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23088 (exit $ac_status); } && {
23089 test -z "$ac_c_werror_flag" ||
23090 test ! -s conftest.err
23091 } && test -s conftest.
$ac_objext; then
23092 ac_lo
=$ac_mid; break
23094 echo "$as_me: failed program was:" >&5
23095 sed 's/^/| /' conftest.
$ac_ext >&5
23097 ac_hi
=`expr '(' $ac_mid ')' - 1`
23098 if test $ac_mid -le $ac_hi; then
23102 ac_mid
=`expr 2 '*' $ac_mid`
23105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23108 echo "$as_me: failed program was:" >&5
23109 sed 's/^/| /' conftest.
$ac_ext >&5
23114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23117 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23118 # Binary search between lo and hi bounds.
23119 while test "x$ac_lo" != "x$ac_hi"; do
23120 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23121 cat >conftest.
$ac_ext <<_ACEOF
23124 cat confdefs.h
>>conftest.
$ac_ext
23125 cat >>conftest.
$ac_ext <<_ACEOF
23126 /* end confdefs.h. */
23127 $ac_includes_default
23128 typedef long long ac__type_sizeof_;
23132 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23139 rm -f conftest.
$ac_objext
23140 if { (ac_try
="$ac_compile"
23141 case "(($ac_try" in
23142 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23143 *) ac_try_echo=$ac_try;;
23145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23146 (eval "$ac_compile") 2>conftest.er1
23148 grep -v '^ *+' conftest.er1 >conftest.err
23150 cat conftest.err >&5
23151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23152 (exit $ac_status); } && {
23153 test -z "$ac_c_werror_flag" ||
23154 test ! -s conftest.err
23155 } && test -s conftest.$ac_objext; then
23158 echo "$as_me: failed program was:" >&5
23159 sed 's/^/| /' conftest.$ac_ext >&5
23161 ac_lo=`expr '(' $ac_mid ')' + 1`
23164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23167 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23168 '') if test "$ac_cv_type_long_long" = yes; then
23169 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23170 See \`config.log
' for more details." >&5
23171 echo "$as_me: error: cannot compute sizeof (long long)
23172 See \`config.log' for more details.
" >&2;}
23173 { (exit 77); exit 77; }; }
23175 ac_cv_sizeof_long_long=0
23179 cat >conftest.$ac_ext <<_ACEOF
23182 cat confdefs.h >>conftest.$ac_ext
23183 cat >>conftest.$ac_ext <<_ACEOF
23184 /* end confdefs.h. */
23185 $ac_includes_default
23186 typedef long long ac__type_sizeof_;
23187 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23188 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23190 #include <stdlib.h>
23195 FILE *f = fopen ("conftest.val
", "w
");
23198 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23200 long int i = longval ();
23201 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23203 fprintf (f, "%ld
\n", i);
23207 unsigned long int i = ulongval ();
23208 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23210 fprintf (f, "%lu
\n", i);
23212 return ferror (f) || fclose (f) != 0;
23218 rm -f conftest$ac_exeext
23219 if { (ac_try="$ac_link"
23220 case "(($ac_try" in
23221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23222 *) ac_try_echo=$ac_try;;
23224 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23225 (eval "$ac_link") 2>&5
23227 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23228 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23229 { (case "(($ac_try" in
23230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23231 *) ac_try_echo=$ac_try;;
23233 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23234 (eval "$ac_try") 2>&5
23236 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23237 (exit $ac_status); }; }; then
23238 ac_cv_sizeof_long_long=`cat conftest.val`
23240 echo "$as_me: program exited with status
$ac_status" >&5
23241 echo "$as_me: failed program was
:" >&5
23242 sed 's/^/| /' conftest.$ac_ext >&5
23244 ( exit $ac_status )
23245 if test "$ac_cv_type_long_long" = yes; then
23246 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23247 See \
`config.log' for more details." >&5
23248 echo "$as_me: error: cannot compute sizeof (long long)
23249 See \`config.log
' for more details." >&2;}
23250 { (exit 77); exit 77; }; }
23252 ac_cv_sizeof_long_long=0
23255 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23259 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23260 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23264 cat >>confdefs.h <<_ACEOF
23265 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23269 if test "$ac_cv_sizeof_long_long" != 0; then
23270 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23274 { echo "$as_me:$LINENO: checking for long long" >&5
23275 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23276 if test "${ac_cv_type_long_long+set}" = set; then
23277 echo $ECHO_N "(cached) $ECHO_C" >&6
23279 cat >conftest.$ac_ext <<_ACEOF
23282 cat confdefs.h >>conftest.$ac_ext
23283 cat >>conftest.$ac_ext <<_ACEOF
23284 /* end confdefs.h. */
23285 $ac_includes_default
23286 typedef long long ac__type_new_;
23290 if ((ac__type_new_ *) 0)
23292 if (sizeof (ac__type_new_))
23298 rm -f conftest.$ac_objext
23299 if { (ac_try="$ac_compile"
23300 case "(($ac_try" in
23301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23302 *) ac_try_echo=$ac_try;;
23304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23305 (eval "$ac_compile") 2>conftest.er1
23307 grep -v '^
*+' conftest.er1 >conftest.err
23309 cat conftest.err >&5
23310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23311 (exit $ac_status); } && {
23312 test -z "$ac_c_werror_flag" ||
23313 test ! -s conftest.err
23314 } && test -s conftest.$ac_objext; then
23315 ac_cv_type_long_long=yes
23317 echo "$as_me: failed program was:" >&5
23318 sed 's
/^
/| /' conftest.$ac_ext >&5
23320 ac_cv_type_long_long=no
23323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23325 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23326 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23328 # The cast to long int works around a bug in the HP C Compiler
23329 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23330 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23331 # This bug is HP SR number 8606223364.
23332 { echo "$as_me:$LINENO: checking size of long long" >&5
23333 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23334 if test "${ac_cv_sizeof_long_long+set}" = set; then
23335 echo $ECHO_N "(cached) $ECHO_C" >&6
23337 if test "$cross_compiling" = yes; then
23338 # Depending upon the size, compute the lo and hi bounds.
23339 cat >conftest.
$ac_ext <<_ACEOF
23342 cat confdefs.h
>>conftest.
$ac_ext
23343 cat >>conftest.
$ac_ext <<_ACEOF
23344 /* end confdefs.h. */
23345 $ac_includes_default
23346 typedef long long ac__type_sizeof_;
23350 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23357 rm -f conftest.
$ac_objext
23358 if { (ac_try
="$ac_compile"
23359 case "(($ac_try" in
23360 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23361 *) ac_try_echo=$ac_try;;
23363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23364 (eval "$ac_compile") 2>conftest.er1
23366 grep -v '^ *+' conftest.er1 >conftest.err
23368 cat conftest.err >&5
23369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23370 (exit $ac_status); } && {
23371 test -z "$ac_c_werror_flag" ||
23372 test ! -s conftest.err
23373 } && test -s conftest.$ac_objext; then
23376 cat >conftest.$ac_ext <<_ACEOF
23379 cat confdefs.h >>conftest.$ac_ext
23380 cat >>conftest.$ac_ext <<_ACEOF
23381 /* end confdefs.h. */
23382 $ac_includes_default
23383 typedef long long ac__type_sizeof_;
23387 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23394 rm -f conftest.$ac_objext
23395 if { (ac_try="$ac_compile"
23396 case "(($ac_try" in
23397 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23398 *) ac_try_echo
=$ac_try;;
23400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23401 (eval "$ac_compile") 2>conftest.er1
23403 grep -v '^ *+' conftest.er1
>conftest.err
23405 cat conftest.err
>&5
23406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23407 (exit $ac_status); } && {
23408 test -z "$ac_c_werror_flag" ||
23409 test ! -s conftest.err
23410 } && test -s conftest.
$ac_objext; then
23411 ac_hi
=$ac_mid; break
23413 echo "$as_me: failed program was:" >&5
23414 sed 's/^/| /' conftest.
$ac_ext >&5
23416 ac_lo
=`expr $ac_mid + 1`
23417 if test $ac_lo -le $ac_mid; then
23421 ac_mid
=`expr 2 '*' $ac_mid + 1`
23424 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23427 echo "$as_me: failed program was:" >&5
23428 sed 's/^/| /' conftest.
$ac_ext >&5
23430 cat >conftest.
$ac_ext <<_ACEOF
23433 cat confdefs.h
>>conftest.
$ac_ext
23434 cat >>conftest.
$ac_ext <<_ACEOF
23435 /* end confdefs.h. */
23436 $ac_includes_default
23437 typedef long long ac__type_sizeof_;
23441 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23448 rm -f conftest.
$ac_objext
23449 if { (ac_try
="$ac_compile"
23450 case "(($ac_try" in
23451 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23452 *) ac_try_echo=$ac_try;;
23454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23455 (eval "$ac_compile") 2>conftest.er1
23457 grep -v '^ *+' conftest.er1 >conftest.err
23459 cat conftest.err >&5
23460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23461 (exit $ac_status); } && {
23462 test -z "$ac_c_werror_flag" ||
23463 test ! -s conftest.err
23464 } && test -s conftest.$ac_objext; then
23467 cat >conftest.$ac_ext <<_ACEOF
23470 cat confdefs.h >>conftest.$ac_ext
23471 cat >>conftest.$ac_ext <<_ACEOF
23472 /* end confdefs.h. */
23473 $ac_includes_default
23474 typedef long long ac__type_sizeof_;
23478 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23485 rm -f conftest.$ac_objext
23486 if { (ac_try="$ac_compile"
23487 case "(($ac_try" in
23488 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23489 *) ac_try_echo
=$ac_try;;
23491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23492 (eval "$ac_compile") 2>conftest.er1
23494 grep -v '^ *+' conftest.er1
>conftest.err
23496 cat conftest.err
>&5
23497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23498 (exit $ac_status); } && {
23499 test -z "$ac_c_werror_flag" ||
23500 test ! -s conftest.err
23501 } && test -s conftest.
$ac_objext; then
23502 ac_lo
=$ac_mid; break
23504 echo "$as_me: failed program was:" >&5
23505 sed 's/^/| /' conftest.
$ac_ext >&5
23507 ac_hi
=`expr '(' $ac_mid ')' - 1`
23508 if test $ac_mid -le $ac_hi; then
23512 ac_mid
=`expr 2 '*' $ac_mid`
23515 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23518 echo "$as_me: failed program was:" >&5
23519 sed 's/^/| /' conftest.
$ac_ext >&5
23524 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23527 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23528 # Binary search between lo and hi bounds.
23529 while test "x$ac_lo" != "x$ac_hi"; do
23530 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23531 cat >conftest.
$ac_ext <<_ACEOF
23534 cat confdefs.h
>>conftest.
$ac_ext
23535 cat >>conftest.
$ac_ext <<_ACEOF
23536 /* end confdefs.h. */
23537 $ac_includes_default
23538 typedef long long ac__type_sizeof_;
23542 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23549 rm -f conftest.
$ac_objext
23550 if { (ac_try
="$ac_compile"
23551 case "(($ac_try" in
23552 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23553 *) ac_try_echo=$ac_try;;
23555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23556 (eval "$ac_compile") 2>conftest.er1
23558 grep -v '^ *+' conftest.er1 >conftest.err
23560 cat conftest.err >&5
23561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23562 (exit $ac_status); } && {
23563 test -z "$ac_c_werror_flag" ||
23564 test ! -s conftest.err
23565 } && test -s conftest.$ac_objext; then
23568 echo "$as_me: failed program was:" >&5
23569 sed 's/^/| /' conftest.$ac_ext >&5
23571 ac_lo=`expr '(' $ac_mid ')' + 1`
23574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23577 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23578 '') if test "$ac_cv_type_long_long" = yes; then
23579 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23580 See \`config.log
' for more details." >&5
23581 echo "$as_me: error: cannot compute sizeof (long long)
23582 See \`config.log' for more details.
" >&2;}
23583 { (exit 77); exit 77; }; }
23585 ac_cv_sizeof_long_long=0
23589 cat >conftest.$ac_ext <<_ACEOF
23592 cat confdefs.h >>conftest.$ac_ext
23593 cat >>conftest.$ac_ext <<_ACEOF
23594 /* end confdefs.h. */
23595 $ac_includes_default
23596 typedef long long ac__type_sizeof_;
23597 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23598 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23600 #include <stdlib.h>
23605 FILE *f = fopen ("conftest.val
", "w
");
23608 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23610 long int i = longval ();
23611 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23613 fprintf (f, "%ld
\n", i);
23617 unsigned long int i = ulongval ();
23618 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23620 fprintf (f, "%lu
\n", i);
23622 return ferror (f) || fclose (f) != 0;
23628 rm -f conftest$ac_exeext
23629 if { (ac_try="$ac_link"
23630 case "(($ac_try" in
23631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23632 *) ac_try_echo=$ac_try;;
23634 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23635 (eval "$ac_link") 2>&5
23637 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23638 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23639 { (case "(($ac_try" in
23640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23641 *) ac_try_echo=$ac_try;;
23643 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23644 (eval "$ac_try") 2>&5
23646 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23647 (exit $ac_status); }; }; then
23648 ac_cv_sizeof_long_long=`cat conftest.val`
23650 echo "$as_me: program exited with status
$ac_status" >&5
23651 echo "$as_me: failed program was
:" >&5
23652 sed 's/^/| /' conftest.$ac_ext >&5
23654 ( exit $ac_status )
23655 if test "$ac_cv_type_long_long" = yes; then
23656 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23657 See \
`config.log' for more details." >&5
23658 echo "$as_me: error: cannot compute sizeof (long long)
23659 See \`config.log
' for more details." >&2;}
23660 { (exit 77); exit 77; }; }
23662 ac_cv_sizeof_long_long=0
23665 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23669 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23670 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23674 cat >>confdefs.h <<_ACEOF
23675 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23681 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23682 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23683 if test "${ac_cv_type_wchar_t+set}" = set; then
23684 echo $ECHO_N "(cached) $ECHO_C" >&6
23686 cat >conftest.$ac_ext <<_ACEOF
23689 cat confdefs.h >>conftest.$ac_ext
23690 cat >>conftest.$ac_ext <<_ACEOF
23691 /* end confdefs.h. */
23693 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23694 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23695 # error "fake wchar_t"
23697 #ifdef HAVE_WCHAR_H
23699 # include <stddef.h>
23701 # include <wchar.h>
23703 #ifdef HAVE_STDLIB_H
23704 # include <stdlib.h>
23710 typedef wchar_t ac__type_new_
;
23714 if ((ac__type_new_
*) 0)
23716 if (sizeof
(ac__type_new_
))
23722 rm -f conftest.
$ac_objext
23723 if { (ac_try
="$ac_compile"
23724 case "(($ac_try" in
23725 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23726 *) ac_try_echo=$ac_try;;
23728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23729 (eval "$ac_compile") 2>conftest.er1
23731 grep -v '^ *+' conftest.er1 >conftest.err
23733 cat conftest.err >&5
23734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23735 (exit $ac_status); } && {
23736 test -z "$ac_c_werror_flag" ||
23737 test ! -s conftest.err
23738 } && test -s conftest.$ac_objext; then
23739 ac_cv_type_wchar_t=yes
23741 echo "$as_me: failed program was:" >&5
23742 sed 's/^/| /' conftest.$ac_ext >&5
23744 ac_cv_type_wchar_t=no
23747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23749 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23750 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23752 # The cast to long int works around a bug in the HP C Compiler
23753 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23754 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
23755 # This bug is HP SR number 8606223364.
23756 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23757 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23758 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23759 echo $ECHO_N "(cached) $ECHO_C" >&6
23761 if test "$cross_compiling" = yes; then
23762 # Depending upon the size, compute the lo and hi bounds.
23763 cat >conftest.$ac_ext <<_ACEOF
23766 cat confdefs.h >>conftest.$ac_ext
23767 cat >>conftest.$ac_ext <<_ACEOF
23768 /* end confdefs.h. */
23770 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23771 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23772 # error "fake wchar_t"
23774 #ifdef HAVE_WCHAR_H
23776 # include <stddef.h>
23778 # include <wchar.h>
23780 #ifdef HAVE_STDLIB_H
23781 # include <stdlib.h>
23787 typedef wchar_t ac__type_sizeof_
;
23791 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
23798 rm -f conftest.
$ac_objext
23799 if { (ac_try
="$ac_compile"
23800 case "(($ac_try" in
23801 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23802 *) ac_try_echo=$ac_try;;
23804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23805 (eval "$ac_compile") 2>conftest.er1
23807 grep -v '^ *+' conftest.er1 >conftest.err
23809 cat conftest.err >&5
23810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23811 (exit $ac_status); } && {
23812 test -z "$ac_c_werror_flag" ||
23813 test ! -s conftest.err
23814 } && test -s conftest.$ac_objext; then
23817 cat >conftest.$ac_ext <<_ACEOF
23820 cat confdefs.h >>conftest.$ac_ext
23821 cat >>conftest.$ac_ext <<_ACEOF
23822 /* end confdefs.h. */
23824 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23825 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23826 # error "fake wchar_t"
23828 #ifdef HAVE_WCHAR_H
23830 # include <stddef.h>
23832 # include <wchar.h>
23834 #ifdef HAVE_STDLIB_H
23835 # include <stdlib.h>
23841 typedef wchar_t ac__type_sizeof_;
23845 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23852 rm -f conftest.$ac_objext
23853 if { (ac_try="$ac_compile"
23854 case "(($ac_try" in
23855 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23856 *) ac_try_echo
=$ac_try;;
23858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23859 (eval "$ac_compile") 2>conftest.er1
23861 grep -v '^ *+' conftest.er1
>conftest.err
23863 cat conftest.err
>&5
23864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23865 (exit $ac_status); } && {
23866 test -z "$ac_c_werror_flag" ||
23867 test ! -s conftest.err
23868 } && test -s conftest.
$ac_objext; then
23869 ac_hi
=$ac_mid; break
23871 echo "$as_me: failed program was:" >&5
23872 sed 's/^/| /' conftest.
$ac_ext >&5
23874 ac_lo
=`expr $ac_mid + 1`
23875 if test $ac_lo -le $ac_mid; then
23879 ac_mid
=`expr 2 '*' $ac_mid + 1`
23882 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23885 echo "$as_me: failed program was:" >&5
23886 sed 's/^/| /' conftest.
$ac_ext >&5
23888 cat >conftest.
$ac_ext <<_ACEOF
23891 cat confdefs.h
>>conftest.
$ac_ext
23892 cat >>conftest.
$ac_ext <<_ACEOF
23893 /* end confdefs.h. */
23895 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23896 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23897 # error "fake wchar_t"
23899 #ifdef HAVE_WCHAR_H
23901 # include <stddef.h>
23903 # include <wchar.h>
23905 #ifdef HAVE_STDLIB_H
23906 # include <stdlib.h>
23912 typedef wchar_t ac__type_sizeof_;
23916 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23923 rm -f conftest.
$ac_objext
23924 if { (ac_try
="$ac_compile"
23925 case "(($ac_try" in
23926 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23927 *) ac_try_echo=$ac_try;;
23929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23930 (eval "$ac_compile") 2>conftest.er1
23932 grep -v '^ *+' conftest.er1 >conftest.err
23934 cat conftest.err >&5
23935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23936 (exit $ac_status); } && {
23937 test -z "$ac_c_werror_flag" ||
23938 test ! -s conftest.err
23939 } && test -s conftest.$ac_objext; then
23942 cat >conftest.$ac_ext <<_ACEOF
23945 cat confdefs.h >>conftest.$ac_ext
23946 cat >>conftest.$ac_ext <<_ACEOF
23947 /* end confdefs.h. */
23949 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23950 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23951 # error "fake wchar_t"
23953 #ifdef HAVE_WCHAR_H
23955 # include <stddef.h>
23957 # include <wchar.h>
23959 #ifdef HAVE_STDLIB_H
23960 # include <stdlib.h>
23966 typedef wchar_t ac__type_sizeof_;
23970 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23977 rm -f conftest.$ac_objext
23978 if { (ac_try="$ac_compile"
23979 case "(($ac_try" in
23980 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23981 *) ac_try_echo
=$ac_try;;
23983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23984 (eval "$ac_compile") 2>conftest.er1
23986 grep -v '^ *+' conftest.er1
>conftest.err
23988 cat conftest.err
>&5
23989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23990 (exit $ac_status); } && {
23991 test -z "$ac_c_werror_flag" ||
23992 test ! -s conftest.err
23993 } && test -s conftest.
$ac_objext; then
23994 ac_lo
=$ac_mid; break
23996 echo "$as_me: failed program was:" >&5
23997 sed 's/^/| /' conftest.
$ac_ext >&5
23999 ac_hi
=`expr '(' $ac_mid ')' - 1`
24000 if test $ac_mid -le $ac_hi; then
24004 ac_mid
=`expr 2 '*' $ac_mid`
24007 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24010 echo "$as_me: failed program was:" >&5
24011 sed 's/^/| /' conftest.
$ac_ext >&5
24016 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24019 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24020 # Binary search between lo and hi bounds.
24021 while test "x$ac_lo" != "x$ac_hi"; do
24022 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24023 cat >conftest.
$ac_ext <<_ACEOF
24026 cat confdefs.h
>>conftest.
$ac_ext
24027 cat >>conftest.
$ac_ext <<_ACEOF
24028 /* end confdefs.h. */
24030 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24031 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24032 # error "fake wchar_t"
24034 #ifdef HAVE_WCHAR_H
24036 # include <stddef.h>
24038 # include <wchar.h>
24040 #ifdef HAVE_STDLIB_H
24041 # include <stdlib.h>
24047 typedef wchar_t ac__type_sizeof_;
24051 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24058 rm -f conftest.
$ac_objext
24059 if { (ac_try
="$ac_compile"
24060 case "(($ac_try" in
24061 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24062 *) ac_try_echo=$ac_try;;
24064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24065 (eval "$ac_compile") 2>conftest.er1
24067 grep -v '^ *+' conftest.er1 >conftest.err
24069 cat conftest.err >&5
24070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24071 (exit $ac_status); } && {
24072 test -z "$ac_c_werror_flag" ||
24073 test ! -s conftest.err
24074 } && test -s conftest.$ac_objext; then
24077 echo "$as_me: failed program was:" >&5
24078 sed 's/^/| /' conftest.$ac_ext >&5
24080 ac_lo=`expr '(' $ac_mid ')' + 1`
24083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24086 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24087 '') if test "$ac_cv_type_wchar_t" = yes; then
24088 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24089 See \`config.log
' for more details." >&5
24090 echo "$as_me: error: cannot compute sizeof (wchar_t)
24091 See \`config.log' for more details.
" >&2;}
24092 { (exit 77); exit 77; }; }
24094 ac_cv_sizeof_wchar_t=0
24098 cat >conftest.$ac_ext <<_ACEOF
24101 cat confdefs.h >>conftest.$ac_ext
24102 cat >>conftest.$ac_ext <<_ACEOF
24103 /* end confdefs.h. */
24105 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24106 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24107 # error "fake wchar_t
"
24109 #ifdef HAVE_WCHAR_H
24111 # include <stddef.h>
24113 # include <wchar.h>
24115 #ifdef HAVE_STDLIB_H
24116 # include <stdlib.h>
24122 typedef wchar_t ac__type_sizeof_;
24123 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24124 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24126 #include <stdlib.h>
24131 FILE *f = fopen ("conftest.val
", "w
");
24134 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24136 long int i = longval ();
24137 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24139 fprintf (f, "%ld
\n", i);
24143 unsigned long int i = ulongval ();
24144 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24146 fprintf (f, "%lu
\n", i);
24148 return ferror (f) || fclose (f) != 0;
24154 rm -f conftest$ac_exeext
24155 if { (ac_try="$ac_link"
24156 case "(($ac_try" in
24157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24158 *) ac_try_echo=$ac_try;;
24160 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24161 (eval "$ac_link") 2>&5
24163 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24164 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24165 { (case "(($ac_try" in
24166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24167 *) ac_try_echo=$ac_try;;
24169 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24170 (eval "$ac_try") 2>&5
24172 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24173 (exit $ac_status); }; }; then
24174 ac_cv_sizeof_wchar_t=`cat conftest.val`
24176 echo "$as_me: program exited with status
$ac_status" >&5
24177 echo "$as_me: failed program was
:" >&5
24178 sed 's/^/| /' conftest.$ac_ext >&5
24180 ( exit $ac_status )
24181 if test "$ac_cv_type_wchar_t" = yes; then
24182 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
24183 See \
`config.log' for more details." >&5
24184 echo "$as_me: error: cannot compute sizeof (wchar_t)
24185 See \`config.log
' for more details." >&2;}
24186 { (exit 77); exit 77; }; }
24188 ac_cv_sizeof_wchar_t=0
24191 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24195 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24196 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24200 cat >>confdefs.h <<_ACEOF
24201 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24205 if test "$ac_cv_sizeof_wchar_t" = 0; then
24206 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24207 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24208 { (exit 1); exit 1; }; }
24210 cat >>confdefs.h <<\_ACEOF
24211 #define wxUSE_WCHAR_T 1
24215 { echo "$as_me:$LINENO: checking for va_copy" >&5
24216 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24217 if test "${wx_cv_func_va_copy+set}" = set; then
24218 echo $ECHO_N "(cached) $ECHO_C" >&6
24222 ac_cpp='$CXXCPP $CPPFLAGS'
24223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24224 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24227 cat >conftest.$ac_ext <<_ACEOF
24229 #include <stdarg.h>
24230 void foo(char *f, ...)
24244 rm -f conftest.$ac_objext conftest$ac_exeext
24245 if { (ac_try="$ac_link"
24246 case "(($ac_try" in
24247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24248 *) ac_try_echo=$ac_try;;
24250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24251 (eval "$ac_link") 2>conftest.er1
24253 grep -v '^
*+' conftest.er1 >conftest.err
24255 cat conftest.err >&5
24256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24257 (exit $ac_status); } && {
24258 test -z "$ac_cxx_werror_flag" ||
24259 test ! -s conftest.err
24260 } && test -s conftest$ac_exeext &&
24261 $as_test_x conftest$ac_exeext; then
24262 wx_cv_func_va_copy=yes
24264 echo "$as_me: failed program was:" >&5
24265 sed 's
/^
/| /' conftest.$ac_ext >&5
24267 wx_cv_func_va_copy=no
24271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24272 conftest$ac_exeext conftest.$ac_ext
24274 ac_cpp='$CPP $CPPFLAGS'
24275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24276 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24282 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24283 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24285 if test $wx_cv_func_va_copy = "yes"; then
24286 cat >>confdefs.h <<\_ACEOF
24287 #define HAVE_VA_COPY 1
24291 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24292 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24293 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24294 echo $ECHO_N "(cached) $ECHO_C" >&6
24297 if test "$cross_compiling" = yes; then
24298 wx_cv_type_va_list_lvalue=yes
24301 cat >conftest.$ac_ext <<_ACEOF
24303 #include <stdarg.h>
24304 int foo(char *f, ...)
24309 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24317 return foo("hi", 17);
24320 rm -f conftest$ac_exeext
24321 if { (ac_try="$ac_link"
24322 case "(($ac_try" in
24323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24324 *) ac_try_echo=$ac_try;;
24326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24327 (eval "$ac_link") 2>&5
24329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24330 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24331 { (case "(($ac_try" in
24332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24333 *) ac_try_echo=$ac_try;;
24335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24336 (eval "$ac_try") 2>&5
24338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24339 (exit $ac_status); }; }; then
24340 wx_cv_type_va_list_lvalue=yes
24342 echo "$as_me: program exited with status $ac_status" >&5
24343 echo "$as_me: failed program was:" >&5
24344 sed 's
/^
/| /' conftest.$ac_ext >&5
24346 ( exit $ac_status )
24347 wx_cv_type_va_list_lvalue=no
24349 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24356 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24357 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24359 if test $wx_cv_type_va_list_lvalue != "yes"; then
24360 cat >>confdefs.h <<\_ACEOF
24361 #define VA_LIST_IS_ARRAY 1
24367 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24369 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24370 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24371 if test "${wx_cv_have_variadic_macros+set}" = set; then
24372 echo $ECHO_N "(cached) $ECHO_C" >&6
24376 ac_cpp='$CXXCPP $CPPFLAGS'
24377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24378 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24381 cat >conftest.$ac_ext <<_ACEOF
24384 cat confdefs.h >>conftest.$ac_ext
24385 cat >>conftest.$ac_ext <<_ACEOF
24386 /* end confdefs.h. */
24389 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24395 test("%s %d %p", "test", 1, 0);
24402 rm -f conftest.$ac_objext
24403 if { (ac_try="$ac_compile"
24404 case "(($ac_try" in
24405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24406 *) ac_try_echo=$ac_try;;
24408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24409 (eval "$ac_compile") 2>conftest.er1
24411 grep -v '^
*+' conftest.er1 >conftest.err
24413 cat conftest.err >&5
24414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24415 (exit $ac_status); } && {
24416 test -z "$ac_cxx_werror_flag" ||
24417 test ! -s conftest.err
24418 } && test -s conftest.$ac_objext; then
24419 wx_cv_have_variadic_macros=yes
24421 echo "$as_me: failed program was:" >&5
24422 sed 's
/^
/| /' conftest.$ac_ext >&5
24424 wx_cv_have_variadic_macros=no
24428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24430 ac_cpp='$CPP $CPPFLAGS'
24431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24432 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24438 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24439 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24441 if test $wx_cv_have_variadic_macros = "yes"; then
24442 cat >>confdefs.h <<\_ACEOF
24443 #define HAVE_VARIADIC_MACROS 1
24450 LARGEFILE_CPPFLAGS=
24451 # Check whether --enable-largefile was given.
24452 if test "${enable_largefile+set}" = set; then
24453 enableval=$enable_largefile;
24456 if test "$enable_largefile" != no; then
24459 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24460 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24461 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24462 echo $ECHO_N "(cached) $ECHO_C" >&6
24465 cat >conftest.$ac_ext <<_ACEOF
24468 cat confdefs.h >>conftest.$ac_ext
24469 cat >>conftest.$ac_ext <<_ACEOF
24470 /* end confdefs.h. */
24471 #define _FILE_OFFSET_BITS 64
24472 #include <sys/types.h>
24477 unsigned int field: sizeof(off_t) == 8;
24484 rm -f conftest.$ac_objext
24485 if { (ac_try="$ac_compile"
24486 case "(($ac_try" in
24487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24488 *) ac_try_echo=$ac_try;;
24490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24491 (eval "$ac_compile") 2>conftest.er1
24493 grep -v '^
*+' conftest.er1 >conftest.err
24495 cat conftest.err >&5
24496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24497 (exit $ac_status); } && {
24498 test -z "$ac_c_werror_flag" ||
24499 test ! -s conftest.err
24500 } && test -s conftest.$ac_objext; then
24501 ac_cv_sys_file_offset_bits=64
24503 echo "$as_me: failed program was:" >&5
24504 sed 's
/^
/| /' conftest.$ac_ext >&5
24506 ac_cv_sys_file_offset_bits=no
24509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24513 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24514 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24516 if test "$ac_cv_sys_file_offset_bits" != no; then
24518 cat >>confdefs.h <<_ACEOF
24519 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24524 if test "x$wx_largefile" != "xyes"; then
24526 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24527 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24528 if test "${ac_cv_sys_large_files+set}" = set; then
24529 echo $ECHO_N "(cached) $ECHO_C" >&6
24532 cat >conftest.$ac_ext <<_ACEOF
24535 cat confdefs.h >>conftest.$ac_ext
24536 cat >>conftest.$ac_ext <<_ACEOF
24537 /* end confdefs.h. */
24538 #define _LARGE_FILES 1
24539 #include <sys/types.h>
24544 unsigned int field: sizeof(off_t) == 8;
24551 rm -f conftest.$ac_objext
24552 if { (ac_try="$ac_compile"
24553 case "(($ac_try" in
24554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24555 *) ac_try_echo=$ac_try;;
24557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24558 (eval "$ac_compile") 2>conftest.er1
24560 grep -v '^
*+' conftest.er1 >conftest.err
24562 cat conftest.err >&5
24563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24564 (exit $ac_status); } && {
24565 test -z "$ac_c_werror_flag" ||
24566 test ! -s conftest.err
24567 } && test -s conftest.$ac_objext; then
24568 ac_cv_sys_large_files=1
24570 echo "$as_me: failed program was:" >&5
24571 sed 's
/^
/| /' conftest.$ac_ext >&5
24573 ac_cv_sys_large_files=no
24576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24580 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24581 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24583 if test "$ac_cv_sys_large_files" != no; then
24585 cat >>confdefs.h <<_ACEOF
24586 #define _LARGE_FILES $ac_cv_sys_large_files
24593 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24594 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24595 if test "x$wx_largefile" = "xyes"; then
24596 cat >>confdefs.h <<\_ACEOF
24597 #define HAVE_LARGEFILE_SUPPORT 1
24601 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24602 echo "${ECHO_T}$wx_largefile" >&6; }
24605 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24606 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24607 elif test "$ac_cv_sys_large_files" = 1; then
24608 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24611 if test -n "$LARGEFILE_CPPFLAGS"; then
24612 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24614 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24615 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24616 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24617 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24618 echo $ECHO_N "(cached) $ECHO_C" >&6
24622 ac_cpp='$CXXCPP $CPPFLAGS'
24623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24624 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24627 cat >conftest.$ac_ext <<_ACEOF
24630 cat confdefs.h >>conftest.$ac_ext
24631 cat >>conftest.$ac_ext <<_ACEOF
24632 /* end confdefs.h. */
24638 #ifndef __STDC_EXT__
24646 rm -f conftest.$ac_objext
24647 if { (ac_try="$ac_compile"
24648 case "(($ac_try" in
24649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24650 *) ac_try_echo=$ac_try;;
24652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24653 (eval "$ac_compile") 2>conftest.er1
24655 grep -v '^
*+' conftest.er1 >conftest.err
24657 cat conftest.err >&5
24658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24659 (exit $ac_status); } && {
24660 test -z "$ac_cxx_werror_flag" ||
24661 test ! -s conftest.err
24662 } && test -s conftest.$ac_objext; then
24663 wx_cv_STDC_EXT_required=no
24665 echo "$as_me: failed program was:" >&5
24666 sed 's
/^
/| /' conftest.$ac_ext >&5
24668 wx_cv_STDC_EXT_required=yes
24672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24674 ac_cpp='$CPP $CPPFLAGS'
24675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24676 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24682 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24683 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24684 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24685 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24691 ac_cpp='$CXXCPP $CPPFLAGS'
24692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24693 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24696 old_CPPFLAGS="$CPPFLAGS"
24697 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24698 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24699 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24700 if test "${ac_cv_sys_largefile_source+set}" = set; then
24701 echo $ECHO_N "(cached) $ECHO_C" >&6
24704 cat >conftest.$ac_ext <<_ACEOF
24707 cat confdefs.h >>conftest.$ac_ext
24708 cat >>conftest.$ac_ext <<_ACEOF
24709 /* end confdefs.h. */
24710 #include <sys/types.h> /* for off_t */
24715 int (*fp) (FILE *, off_t, int) = fseeko;
24716 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24721 rm -f conftest.$ac_objext conftest$ac_exeext
24722 if { (ac_try="$ac_link"
24723 case "(($ac_try" in
24724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24725 *) ac_try_echo=$ac_try;;
24727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24728 (eval "$ac_link") 2>conftest.er1
24730 grep -v '^
*+' conftest.er1 >conftest.err
24732 cat conftest.err >&5
24733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24734 (exit $ac_status); } && {
24735 test -z "$ac_cxx_werror_flag" ||
24736 test ! -s conftest.err
24737 } && test -s conftest$ac_exeext &&
24738 $as_test_x conftest$ac_exeext; then
24739 ac_cv_sys_largefile_source=no; break
24741 echo "$as_me: failed program was:" >&5
24742 sed 's
/^
/| /' conftest.$ac_ext >&5
24747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24748 conftest$ac_exeext conftest.$ac_ext
24749 cat >conftest.$ac_ext <<_ACEOF
24752 cat confdefs.h >>conftest.$ac_ext
24753 cat >>conftest.$ac_ext <<_ACEOF
24754 /* end confdefs.h. */
24755 #define _LARGEFILE_SOURCE 1
24756 #include <sys/types.h> /* for off_t */
24761 int (*fp) (FILE *, off_t, int) = fseeko;
24762 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24767 rm -f conftest.$ac_objext conftest$ac_exeext
24768 if { (ac_try="$ac_link"
24769 case "(($ac_try" in
24770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24771 *) ac_try_echo=$ac_try;;
24773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24774 (eval "$ac_link") 2>conftest.er1
24776 grep -v '^
*+' conftest.er1 >conftest.err
24778 cat conftest.err >&5
24779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24780 (exit $ac_status); } && {
24781 test -z "$ac_cxx_werror_flag" ||
24782 test ! -s conftest.err
24783 } && test -s conftest$ac_exeext &&
24784 $as_test_x conftest$ac_exeext; then
24785 ac_cv_sys_largefile_source=1; break
24787 echo "$as_me: failed program was:" >&5
24788 sed 's
/^
/| /' conftest.$ac_ext >&5
24793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24794 conftest$ac_exeext conftest.$ac_ext
24795 ac_cv_sys_largefile_source=unknown
24799 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24800 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24801 case $ac_cv_sys_largefile_source in #(
24804 cat >>confdefs.h <<_ACEOF
24805 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24811 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24812 # in glibc 2.1.3, but that breaks too many other things.
24813 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24814 if test $ac_cv_sys_largefile_source != unknown; then
24816 cat >>confdefs.h <<\_ACEOF
24817 #define HAVE_FSEEKO 1
24822 CPPFLAGS="$old_CPPFLAGS"
24824 ac_cpp='$CPP $CPPFLAGS'
24825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24826 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24829 if test "$ac_cv_sys_largefile_source" != no; then
24830 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24833 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24834 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24835 if test "${ac_cv_c_bigendian+set}" = set; then
24836 echo $ECHO_N "(cached) $ECHO_C" >&6
24838 ac_cv_c_bigendian=unknown
24839 # See if sys/param.h defines the BYTE_ORDER macro.
24840 cat >conftest.$ac_ext <<_ACEOF
24843 cat confdefs.h >>conftest.$ac_ext
24844 cat >>conftest.$ac_ext <<_ACEOF
24845 /* end confdefs.h. */
24846 #include <sys/types.h>
24847 #include <sys/param.h>
24852 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24853 bogus endian macros
24859 rm -f conftest.$ac_objext
24860 if { (ac_try="$ac_compile"
24861 case "(($ac_try" in
24862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24863 *) ac_try_echo=$ac_try;;
24865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24866 (eval "$ac_compile") 2>conftest.er1
24868 grep -v '^
*+' conftest.er1 >conftest.err
24870 cat conftest.err >&5
24871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24872 (exit $ac_status); } && {
24873 test -z "$ac_c_werror_flag" ||
24874 test ! -s conftest.err
24875 } && test -s conftest.$ac_objext; then
24876 # It does; now see whether it defined to BIG_ENDIAN or not.
24877 cat >conftest.$ac_ext <<_ACEOF
24880 cat confdefs.h >>conftest.$ac_ext
24881 cat >>conftest.$ac_ext <<_ACEOF
24882 /* end confdefs.h. */
24883 #include <sys/types.h>
24884 #include <sys/param.h>
24889 #if BYTE_ORDER != BIG_ENDIAN
24896 rm -f conftest.$ac_objext
24897 if { (ac_try="$ac_compile"
24898 case "(($ac_try" in
24899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24900 *) ac_try_echo=$ac_try;;
24902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24903 (eval "$ac_compile") 2>conftest.er1
24905 grep -v '^
*+' conftest.er1 >conftest.err
24907 cat conftest.err >&5
24908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24909 (exit $ac_status); } && {
24910 test -z "$ac_c_werror_flag" ||
24911 test ! -s conftest.err
24912 } && test -s conftest.$ac_objext; then
24913 ac_cv_c_bigendian=yes
24915 echo "$as_me: failed program was:" >&5
24916 sed 's
/^
/| /' conftest.$ac_ext >&5
24918 ac_cv_c_bigendian=no
24921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24923 echo "$as_me: failed program was:" >&5
24924 sed 's
/^
/| /' conftest.$ac_ext >&5
24929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24930 if test $ac_cv_c_bigendian = unknown; then
24931 if test "$cross_compiling" = yes; then
24932 ac_cv_c_bigendian=unknown
24934 cat >conftest.$ac_ext <<_ACEOF
24937 cat confdefs.h >>conftest.$ac_ext
24938 cat >>conftest.$ac_ext <<_ACEOF
24939 /* end confdefs.h. */
24941 /* Are we little or big endian? From Harbison&Steele. */
24945 char c[sizeof (long)];
24948 exit (u.c[sizeof (long) - 1] == 1);
24951 rm -f conftest$ac_exeext
24952 if { (ac_try="$ac_link"
24953 case "(($ac_try" in
24954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24955 *) ac_try_echo=$ac_try;;
24957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24958 (eval "$ac_link") 2>&5
24960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24961 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24962 { (case "(($ac_try" in
24963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24964 *) ac_try_echo=$ac_try;;
24966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24967 (eval "$ac_try") 2>&5
24969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24970 (exit $ac_status); }; }; then
24971 ac_cv_c_bigendian=no
24973 echo "$as_me: program exited with status $ac_status" >&5
24974 echo "$as_me: failed program was:" >&5
24975 sed 's
/^
/| /' conftest.$ac_ext >&5
24977 ( exit $ac_status )
24978 ac_cv_c_bigendian=yes
24980 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24986 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24987 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24988 if test $ac_cv_c_bigendian = unknown; then
24989 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
24990 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
24992 if test $ac_cv_c_bigendian = yes; then
24993 cat >>confdefs.h <<\_ACEOF
24994 #define WORDS_BIGENDIAN 1
25003 ac_cpp='$CXXCPP $CPPFLAGS'
25004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25005 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25010 for ac_header in iostream
25012 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25013 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25014 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25015 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25016 echo $ECHO_N "(cached) $ECHO_C" >&6
25018 cat >conftest.$ac_ext <<_ACEOF
25021 cat confdefs.h >>conftest.$ac_ext
25022 cat >>conftest.$ac_ext <<_ACEOF
25023 /* end confdefs.h. */
25026 #include <$ac_header>
25028 rm -f conftest.$ac_objext
25029 if { (ac_try="$ac_compile"
25030 case "(($ac_try" in
25031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25032 *) ac_try_echo=$ac_try;;
25034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25035 (eval "$ac_compile") 2>conftest.er1
25037 grep -v '^
*+' conftest.er1 >conftest.err
25039 cat conftest.err >&5
25040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25041 (exit $ac_status); } && {
25042 test -z "$ac_cxx_werror_flag" ||
25043 test ! -s conftest.err
25044 } && test -s conftest.$ac_objext; then
25045 eval "$as_ac_Header=yes"
25047 echo "$as_me: failed program was:" >&5
25048 sed 's
/^
/| /' conftest.$ac_ext >&5
25050 eval "$as_ac_Header=no"
25053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25055 ac_res=`eval echo '${'$as_ac_Header'}'`
25056 { echo "$as_me:$LINENO: result: $ac_res" >&5
25057 echo "${ECHO_T}$ac_res" >&6; }
25058 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25059 cat >>confdefs.h <<_ACEOF
25060 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25068 if test "$ac_cv_header_iostream" = "yes" ; then
25071 cat >>confdefs.h <<\_ACEOF
25072 #define wxUSE_IOSTREAMH 1
25078 ac_cpp='$CPP $CPPFLAGS'
25079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25080 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25086 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25087 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25088 if test "${wx_cv_explicit+set}" = set; then
25089 echo $ECHO_N "(cached) $ECHO_C" >&6
25094 ac_cpp='$CXXCPP $CPPFLAGS'
25095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25096 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25100 cat >conftest.$ac_ext <<_ACEOF
25103 cat confdefs.h >>conftest.$ac_ext
25104 cat >>conftest.$ac_ext <<_ACEOF
25105 /* end confdefs.h. */
25107 class Foo { public: explicit Foo(int) {} };
25119 rm -f conftest.$ac_objext
25120 if { (ac_try="$ac_compile"
25121 case "(($ac_try" in
25122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25123 *) ac_try_echo=$ac_try;;
25125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25126 (eval "$ac_compile") 2>conftest.er1
25128 grep -v '^
*+' conftest.er1 >conftest.err
25130 cat conftest.err >&5
25131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25132 (exit $ac_status); } && {
25133 test -z "$ac_cxx_werror_flag" ||
25134 test ! -s conftest.err
25135 } && test -s conftest.$ac_objext; then
25137 cat >conftest.$ac_ext <<_ACEOF
25140 cat confdefs.h >>conftest.$ac_ext
25141 cat >>conftest.$ac_ext <<_ACEOF
25142 /* end confdefs.h. */
25144 class Foo { public: explicit Foo(int) {} };
25145 static void TakeFoo(const Foo& foo) { }
25158 rm -f conftest.$ac_objext
25159 if { (ac_try="$ac_compile"
25160 case "(($ac_try" in
25161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25162 *) ac_try_echo=$ac_try;;
25164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25165 (eval "$ac_compile") 2>conftest.er1
25167 grep -v '^
*+' conftest.er1 >conftest.err
25169 cat conftest.err >&5
25170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25171 (exit $ac_status); } && {
25172 test -z "$ac_cxx_werror_flag" ||
25173 test ! -s conftest.err
25174 } && test -s conftest.$ac_objext; then
25177 echo "$as_me: failed program was:" >&5
25178 sed 's
/^
/| /' conftest.$ac_ext >&5
25184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25187 echo "$as_me: failed program was:" >&5
25188 sed 's
/^
/| /' conftest.$ac_ext >&5
25194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25197 ac_cpp='$CPP $CPPFLAGS'
25198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25199 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25204 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25205 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25207 if test "$wx_cv_explicit" = "yes"; then
25208 cat >>confdefs.h <<\_ACEOF
25209 #define HAVE_EXPLICIT 1
25215 if test "x$SUNCXX" = xyes; then
25216 CXXFLAGS="-features=tmplife $CXXFLAGS"
25219 if test "x$SUNCC" = xyes; then
25220 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25223 if test "x$SGICC" = "xyes"; then
25224 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25225 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25226 if test "${wx_cv_prog_sgicc744+set}" = set; then
25227 echo $ECHO_N "(cached) $ECHO_C" >&6
25230 cat >conftest.$ac_ext <<_ACEOF
25233 cat confdefs.h >>conftest.$ac_ext
25234 cat >>conftest.$ac_ext <<_ACEOF
25235 /* end confdefs.h. */
25241 #if _SGI_COMPILER_VERSION >= 744
25242 chock me: mipsPro is 7.4.4 or later
25249 rm -f conftest.$ac_objext
25250 if { (ac_try="$ac_compile"
25251 case "(($ac_try" in
25252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25253 *) ac_try_echo=$ac_try;;
25255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25256 (eval "$ac_compile") 2>conftest.er1
25258 grep -v '^
*+' conftest.er1 >conftest.err
25260 cat conftest.err >&5
25261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25262 (exit $ac_status); } && {
25263 test -z "$ac_c_werror_flag" ||
25264 test ! -s conftest.err
25265 } && test -s conftest.$ac_objext; then
25266 wx_cv_prog_sgicc744=no
25268 echo "$as_me: failed program was:" >&5
25269 sed 's
/^
/| /' conftest.$ac_ext >&5
25271 wx_cv_prog_sgicc744=yes
25275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25279 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25280 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25282 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25283 CFLAGS="-woff 3970 $CFLAGS"
25286 if test "x$SGICXX" = "xyes"; then
25287 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25288 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25289 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25290 echo $ECHO_N "(cached) $ECHO_C" >&6
25294 ac_cpp='$CXXCPP $CPPFLAGS'
25295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25296 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25299 cat >conftest.$ac_ext <<_ACEOF
25302 cat confdefs.h >>conftest.$ac_ext
25303 cat >>conftest.$ac_ext <<_ACEOF
25304 /* end confdefs.h. */
25310 #if _SGI_COMPILER_VERSION >= 744
25311 chock me: mipsPro is 7.4.4 or later
25318 rm -f conftest.$ac_objext
25319 if { (ac_try="$ac_compile"
25320 case "(($ac_try" in
25321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25322 *) ac_try_echo=$ac_try;;
25324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25325 (eval "$ac_compile") 2>conftest.er1
25327 grep -v '^
*+' conftest.er1 >conftest.err
25329 cat conftest.err >&5
25330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25331 (exit $ac_status); } && {
25332 test -z "$ac_cxx_werror_flag" ||
25333 test ! -s conftest.err
25334 } && test -s conftest.$ac_objext; then
25335 wx_cv_prog_sgicxx744=no
25337 echo "$as_me: failed program was:" >&5
25338 sed 's
/^
/| /' conftest.$ac_ext >&5
25340 wx_cv_prog_sgicxx744=yes
25344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25346 ac_cpp='$CPP $CPPFLAGS'
25347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25348 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25354 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25355 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25357 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25358 CXXFLAGS="-woff 3970 $CXXFLAGS"
25362 if test "x$HPCC" = "xyes"; then
25363 CFLAGS="+W 2011,2450 $CFLAGS"
25365 if test "x$HPCXX" = "xyes"; then
25366 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25369 if test "x$COMPAQCXX" = "xyes"; then
25370 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25374 ac_cpp='$CXXCPP $CPPFLAGS'
25375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25376 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25380 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25381 if test "$wxUSE_UNICODE" = "yes"; then
25382 std_string="std::wstring"
25383 char_type="wchar_t"
25385 std_string="std::string"
25389 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25390 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25391 if test "${wx_cv_class_stdstring+set}" = set; then
25392 echo $ECHO_N "(cached) $ECHO_C" >&6
25395 cat >conftest.$ac_ext <<_ACEOF
25398 cat confdefs.h >>conftest.$ac_ext
25399 cat >>conftest.$ac_ext <<_ACEOF
25400 /* end confdefs.h. */
25410 rm -f conftest.$ac_objext
25411 if { (ac_try="$ac_compile"
25412 case "(($ac_try" in
25413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25414 *) ac_try_echo=$ac_try;;
25416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25417 (eval "$ac_compile") 2>conftest.er1
25419 grep -v '^
*+' conftest.er1 >conftest.err
25421 cat conftest.err >&5
25422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25423 (exit $ac_status); } && {
25424 test -z "$ac_cxx_werror_flag" ||
25425 test ! -s conftest.err
25426 } && test -s conftest.$ac_objext; then
25427 wx_cv_class_stdstring=yes
25429 echo "$as_me: failed program was:" >&5
25430 sed 's
/^
/| /' conftest.$ac_ext >&5
25432 wx_cv_class_stdstring=no
25436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25440 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25441 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25443 if test "$wx_cv_class_stdstring" = yes; then
25444 if test "$wxUSE_UNICODE" = "yes"; then
25445 cat >>confdefs.h <<\_ACEOF
25446 #define HAVE_STD_WSTRING 1
25451 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25452 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25453 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25454 echo $ECHO_N "(cached) $ECHO_C" >&6
25457 cat >conftest.$ac_ext <<_ACEOF
25460 cat confdefs.h >>conftest.$ac_ext
25461 cat >>conftest.$ac_ext <<_ACEOF
25462 /* end confdefs.h. */
25464 #ifdef HAVE_WCHAR_H
25466 # include <stddef.h>
25468 # include <wchar.h>
25470 #ifdef HAVE_STDLIB_H
25471 # include <stdlib.h>
25479 std::basic_string<$char_type> foo;
25480 const $char_type* dummy = foo.c_str();
25485 rm -f conftest.$ac_objext
25486 if { (ac_try="$ac_compile"
25487 case "(($ac_try" in
25488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25489 *) ac_try_echo=$ac_try;;
25491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25492 (eval "$ac_compile") 2>conftest.er1
25494 grep -v '^
*+' conftest.er1 >conftest.err
25496 cat conftest.err >&5
25497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25498 (exit $ac_status); } && {
25499 test -z "$ac_cxx_werror_flag" ||
25500 test ! -s conftest.err
25501 } && test -s conftest.$ac_objext; then
25502 wx_cv_class_stdbasicstring=yes
25504 echo "$as_me: failed program was:" >&5
25505 sed 's
/^
/| /' conftest.$ac_ext >&5
25507 wx_cv_class_stdbasicstring=no
25511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25515 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25516 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25518 if test "$wx_cv_class_stdbasicstring" != yes; then
25519 if test "$wxUSE_STL" = "yes"; then
25520 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
25521 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25522 { (exit 1); exit 1; }; }
25523 elif test "$wxUSE_STD_STRING" = "yes"; then
25524 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
25525 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25526 { (exit 1); exit 1; }; }
25528 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25529 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25530 wxUSE_STD_STRING=no
25536 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25537 { echo "$as_me:$LINENO: checking for std::istream" >&5
25538 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25539 if test "${ac_cv_type_std__istream+set}" = set; then
25540 echo $ECHO_N "(cached) $ECHO_C" >&6
25542 cat >conftest.$ac_ext <<_ACEOF
25545 cat confdefs.h >>conftest.$ac_ext
25546 cat >>conftest.$ac_ext <<_ACEOF
25547 /* end confdefs.h. */
25548 #include <iostream>
25550 typedef std::istream ac__type_new_;
25554 if ((ac__type_new_ *) 0)
25556 if (sizeof (ac__type_new_))
25562 rm -f conftest.$ac_objext
25563 if { (ac_try="$ac_compile"
25564 case "(($ac_try" in
25565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25566 *) ac_try_echo=$ac_try;;
25568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25569 (eval "$ac_compile") 2>conftest.er1
25571 grep -v '^
*+' conftest.er1 >conftest.err
25573 cat conftest.err >&5
25574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25575 (exit $ac_status); } && {
25576 test -z "$ac_cxx_werror_flag" ||
25577 test ! -s conftest.err
25578 } && test -s conftest.$ac_objext; then
25579 ac_cv_type_std__istream=yes
25581 echo "$as_me: failed program was:" >&5
25582 sed 's
/^
/| /' conftest.$ac_ext >&5
25584 ac_cv_type_std__istream=no
25587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25589 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25590 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25591 if test $ac_cv_type_std__istream = yes; then
25593 cat >>confdefs.h <<_ACEOF
25594 #define HAVE_STD__ISTREAM 1
25599 wxUSE_STD_IOSTREAM=no
25601 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25602 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25603 if test "${ac_cv_type_std__ostream+set}" = set; then
25604 echo $ECHO_N "(cached) $ECHO_C" >&6
25606 cat >conftest.$ac_ext <<_ACEOF
25609 cat confdefs.h >>conftest.$ac_ext
25610 cat >>conftest.$ac_ext <<_ACEOF
25611 /* end confdefs.h. */
25612 #include <iostream>
25614 typedef std::ostream ac__type_new_;
25618 if ((ac__type_new_ *) 0)
25620 if (sizeof (ac__type_new_))
25626 rm -f conftest.$ac_objext
25627 if { (ac_try="$ac_compile"
25628 case "(($ac_try" in
25629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25630 *) ac_try_echo=$ac_try;;
25632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25633 (eval "$ac_compile") 2>conftest.er1
25635 grep -v '^
*+' conftest.er1 >conftest.err
25637 cat conftest.err >&5
25638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25639 (exit $ac_status); } && {
25640 test -z "$ac_cxx_werror_flag" ||
25641 test ! -s conftest.err
25642 } && test -s conftest.$ac_objext; then
25643 ac_cv_type_std__ostream=yes
25645 echo "$as_me: failed program was:" >&5
25646 sed 's
/^
/| /' conftest.$ac_ext >&5
25648 ac_cv_type_std__ostream=no
25651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25653 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25654 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25655 if test $ac_cv_type_std__ostream = yes; then
25657 cat >>confdefs.h <<_ACEOF
25658 #define HAVE_STD__OSTREAM 1
25663 wxUSE_STD_IOSTREAM=no
25667 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25668 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25669 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
25670 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25671 { (exit 1); exit 1; }; }
25673 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25674 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25679 if test "$wxUSE_STL" = "yes"; then
25680 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25681 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25682 if test "${wx_cv_lib_stl+set}" = set; then
25683 echo $ECHO_N "(cached) $ECHO_C" >&6
25685 cat >conftest.$ac_ext <<_ACEOF
25688 cat confdefs.h >>conftest.$ac_ext
25689 cat >>conftest.$ac_ext <<_ACEOF
25690 /* end confdefs.h. */
25692 #include <functional>
25693 #include <algorithm>
25699 std::vector<int> moo;
25700 std::list<int> foo;
25701 std::vector<int>::iterator it =
25702 std::find_if(moo.begin(), moo.end(),
25703 std::bind2nd(std::less<int>(), 3));
25708 rm -f conftest.$ac_objext
25709 if { (ac_try="$ac_compile"
25710 case "(($ac_try" in
25711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25712 *) ac_try_echo=$ac_try;;
25714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25715 (eval "$ac_compile") 2>conftest.er1
25717 grep -v '^
*+' conftest.er1 >conftest.err
25719 cat conftest.err >&5
25720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25721 (exit $ac_status); } && {
25722 test -z "$ac_cxx_werror_flag" ||
25723 test ! -s conftest.err
25724 } && test -s conftest.$ac_objext; then
25727 echo "$as_me: failed program was:" >&5
25728 sed 's
/^
/| /' conftest.$ac_ext >&5
25734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25737 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25738 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25740 if test "$wx_cv_lib_stl" != yes; then
25741 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
25742 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
25743 { (exit 1); exit 1; }; }
25746 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25747 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25748 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25749 echo $ECHO_N "(cached) $ECHO_C" >&6
25751 cat >conftest.$ac_ext <<_ACEOF
25754 cat confdefs.h >>conftest.$ac_ext
25755 cat >>conftest.$ac_ext <<_ACEOF
25756 /* end confdefs.h. */
25761 std::string foo, bar;
25763 foo.compare(1, 1, bar);
25764 foo.compare(1, 1, bar, 1, 1);
25766 foo.compare(1, 1, "");
25767 foo.compare(1, 1, "", 2);
25772 rm -f conftest.$ac_objext
25773 if { (ac_try="$ac_compile"
25774 case "(($ac_try" in
25775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25776 *) ac_try_echo=$ac_try;;
25778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25779 (eval "$ac_compile") 2>conftest.er1
25781 grep -v '^
*+' conftest.er1 >conftest.err
25783 cat conftest.err >&5
25784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25785 (exit $ac_status); } && {
25786 test -z "$ac_cxx_werror_flag" ||
25787 test ! -s conftest.err
25788 } && test -s conftest.$ac_objext; then
25789 wx_cv_func_stdstring_compare=yes
25791 echo "$as_me: failed program was:" >&5
25792 sed 's
/^
/| /' conftest.$ac_ext >&5
25794 wx_cv_func_stdstring_compare=no
25798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25801 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25802 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25804 if test "$wx_cv_func_stdstring_compare" = yes; then
25805 cat >>confdefs.h <<\_ACEOF
25806 #define HAVE_STD_STRING_COMPARE 1
25811 if test "$wx_cv_class_gnuhashmapset" = yes; then
25812 cat >>confdefs.h <<\_ACEOF
25813 #define HAVE_EXT_HASH_MAP 1
25816 cat >>confdefs.h <<\_ACEOF
25817 #define HAVE_GNU_CXX_HASH_MAP 1
25822 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25823 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25824 if test "${ac_cv_header_unordered_map+set}" = set; then
25825 echo $ECHO_N "(cached) $ECHO_C" >&6
25827 cat >conftest.$ac_ext <<_ACEOF
25830 cat confdefs.h >>conftest.$ac_ext
25831 cat >>conftest.$ac_ext <<_ACEOF
25832 /* end confdefs.h. */
25836 #include <unordered_map>
25838 rm -f conftest.$ac_objext
25839 if { (ac_try="$ac_compile"
25840 case "(($ac_try" in
25841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25842 *) ac_try_echo=$ac_try;;
25844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25845 (eval "$ac_compile") 2>conftest.er1
25847 grep -v '^
*+' conftest.er1 >conftest.err
25849 cat conftest.err >&5
25850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25851 (exit $ac_status); } && {
25852 test -z "$ac_cxx_werror_flag" ||
25853 test ! -s conftest.err
25854 } && test -s conftest.$ac_objext; then
25855 ac_cv_header_unordered_map=yes
25857 echo "$as_me: failed program was:" >&5
25858 sed 's
/^
/| /' conftest.$ac_ext >&5
25860 ac_cv_header_unordered_map=no
25863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25865 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25866 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25867 if test $ac_cv_header_unordered_map = yes; then
25868 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25869 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25870 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25871 echo $ECHO_N "(cached) $ECHO_C" >&6
25873 cat >conftest.$ac_ext <<_ACEOF
25876 cat confdefs.h >>conftest.$ac_ext
25877 cat >>conftest.$ac_ext <<_ACEOF
25878 /* end confdefs.h. */
25879 #include <unordered_map>
25880 #include <unordered_set>
25884 std::unordered_map<double*, char*> test1;
25885 std::unordered_set<char*> test2;
25890 rm -f conftest.$ac_objext
25891 if { (ac_try="$ac_compile"
25892 case "(($ac_try" in
25893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25894 *) ac_try_echo=$ac_try;;
25896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25897 (eval "$ac_compile") 2>conftest.er1
25899 grep -v '^
*+' conftest.er1 >conftest.err
25901 cat conftest.err >&5
25902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25903 (exit $ac_status); } && {
25904 test -z "$ac_cxx_werror_flag" ||
25905 test ! -s conftest.err
25906 } && test -s conftest.$ac_objext; then
25907 wx_cv_class_stdunorderedmapset=yes
25909 echo "$as_me: failed program was:" >&5
25910 sed 's
/^
/| /' conftest.$ac_ext >&5
25912 wx_cv_class_stdunorderedmapset=no
25915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25919 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25920 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25925 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25926 cat >>confdefs.h <<\_ACEOF
25927 #define HAVE_STD_UNORDERED_MAP 1
25930 cat >>confdefs.h <<\_ACEOF
25931 #define HAVE_STD_UNORDERED_SET 1
25935 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25936 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25937 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25938 echo $ECHO_N "(cached) $ECHO_C" >&6
25940 cat >conftest.$ac_ext <<_ACEOF
25943 cat confdefs.h >>conftest.$ac_ext
25944 cat >>conftest.$ac_ext <<_ACEOF
25945 /* end confdefs.h. */
25949 #include <tr1/unordered_map>
25951 rm -f conftest.$ac_objext
25952 if { (ac_try="$ac_compile"
25953 case "(($ac_try" in
25954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25955 *) ac_try_echo=$ac_try;;
25957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25958 (eval "$ac_compile") 2>conftest.er1
25960 grep -v '^
*+' conftest.er1 >conftest.err
25962 cat conftest.err >&5
25963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25964 (exit $ac_status); } && {
25965 test -z "$ac_cxx_werror_flag" ||
25966 test ! -s conftest.err
25967 } && test -s conftest.$ac_objext; then
25968 ac_cv_header_tr1_unordered_map=yes
25970 echo "$as_me: failed program was:" >&5
25971 sed 's
/^
/| /' conftest.$ac_ext >&5
25973 ac_cv_header_tr1_unordered_map=no
25976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25978 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25979 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25980 if test $ac_cv_header_tr1_unordered_map = yes; then
25981 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25982 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25983 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25984 echo $ECHO_N "(cached) $ECHO_C" >&6
25986 cat >conftest.$ac_ext <<_ACEOF
25989 cat confdefs.h >>conftest.$ac_ext
25990 cat >>conftest.$ac_ext <<_ACEOF
25991 /* end confdefs.h. */
25992 #include <tr1/unordered_map>
25993 #include <tr1/unordered_set>
25997 std::tr1::unordered_map<double*, char*> test1;
25998 std::tr1::unordered_set<char*> test2;
25999 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
26000 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
26006 rm -f conftest.
$ac_objext
26007 if { (ac_try
="$ac_compile"
26008 case "(($ac_try" in
26009 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26010 *) ac_try_echo=$ac_try;;
26012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26013 (eval "$ac_compile") 2>conftest.er1
26015 grep -v '^ *+' conftest.er1 >conftest.err
26017 cat conftest.err >&5
26018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26019 (exit $ac_status); } && {
26020 test -z "$ac_cxx_werror_flag" ||
26021 test ! -s conftest.err
26022 } && test -s conftest.$ac_objext; then
26023 wx_cv_class_tr1unorderedmapset=yes
26025 echo "$as_me: failed program was:" >&5
26026 sed 's/^/| /' conftest.$ac_ext >&5
26028 wx_cv_class_tr1unorderedmapset=no
26031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26035 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
26036 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
26041 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
26042 cat >>confdefs.h <<\_ACEOF
26043 #define HAVE_TR1_UNORDERED_MAP 1
26046 cat >>confdefs.h <<\_ACEOF
26047 #define HAVE_TR1_UNORDERED_SET 1
26051 { echo "$as_me:$LINENO: checking for hash_map" >&5
26052 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26053 if test "${ac_cv_header_hash_map+set}" = set; then
26054 echo $ECHO_N "(cached) $ECHO_C" >&6
26056 cat >conftest.$ac_ext <<_ACEOF
26059 cat confdefs.h >>conftest.$ac_ext
26060 cat >>conftest.$ac_ext <<_ACEOF
26061 /* end confdefs.h. */
26065 #include <hash_map>
26067 rm -f conftest.$ac_objext
26068 if { (ac_try="$ac_compile"
26069 case "(($ac_try" in
26070 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26071 *) ac_try_echo
=$ac_try;;
26073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26074 (eval "$ac_compile") 2>conftest.er1
26076 grep -v '^ *+' conftest.er1
>conftest.err
26078 cat conftest.err
>&5
26079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26080 (exit $ac_status); } && {
26081 test -z "$ac_cxx_werror_flag" ||
26082 test ! -s conftest.err
26083 } && test -s conftest.
$ac_objext; then
26084 ac_cv_header_hash_map
=yes
26086 echo "$as_me: failed program was:" >&5
26087 sed 's/^/| /' conftest.
$ac_ext >&5
26089 ac_cv_header_hash_map
=no
26092 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26094 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26095 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26096 if test $ac_cv_header_hash_map = yes; then
26097 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
26098 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
26099 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26100 echo $ECHO_N "(cached) $ECHO_C" >&6
26102 cat >conftest.
$ac_ext <<_ACEOF
26105 cat confdefs.h
>>conftest.
$ac_ext
26106 cat >>conftest.
$ac_ext <<_ACEOF
26107 /* end confdefs.h. */
26108 #include <hash_map>
26109 #include <hash_set>
26113 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26114 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26119 rm -f conftest.
$ac_objext
26120 if { (ac_try
="$ac_compile"
26121 case "(($ac_try" in
26122 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26123 *) ac_try_echo=$ac_try;;
26125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26126 (eval "$ac_compile") 2>conftest.er1
26128 grep -v '^ *+' conftest.er1 >conftest.err
26130 cat conftest.err >&5
26131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26132 (exit $ac_status); } && {
26133 test -z "$ac_cxx_werror_flag" ||
26134 test ! -s conftest.err
26135 } && test -s conftest.$ac_objext; then
26136 wx_cv_class_stdhashmapset=yes
26138 echo "$as_me: failed program was:" >&5
26139 sed 's/^/| /' conftest.$ac_ext >&5
26141 wx_cv_class_stdhashmapset=no
26144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26148 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26149 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26154 if test "$wx_cv_class_stdhashmapset" = yes; then
26155 cat >>confdefs.h <<\_ACEOF
26156 #define HAVE_HASH_MAP 1
26159 cat >>confdefs.h <<\_ACEOF
26160 #define HAVE_STD_HASH_MAP 1
26165 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26166 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26167 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26168 echo $ECHO_N "(cached) $ECHO_C" >&6
26170 cat >conftest.$ac_ext <<_ACEOF
26173 cat confdefs.h >>conftest.$ac_ext
26174 cat >>conftest.$ac_ext <<_ACEOF
26175 /* end confdefs.h. */
26179 #include <ext/hash_map>
26181 rm -f conftest.$ac_objext
26182 if { (ac_try="$ac_compile"
26183 case "(($ac_try" in
26184 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26185 *) ac_try_echo
=$ac_try;;
26187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26188 (eval "$ac_compile") 2>conftest.er1
26190 grep -v '^ *+' conftest.er1
>conftest.err
26192 cat conftest.err
>&5
26193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26194 (exit $ac_status); } && {
26195 test -z "$ac_cxx_werror_flag" ||
26196 test ! -s conftest.err
26197 } && test -s conftest.
$ac_objext; then
26198 ac_cv_header_ext_hash_map
=yes
26200 echo "$as_me: failed program was:" >&5
26201 sed 's/^/| /' conftest.
$ac_ext >&5
26203 ac_cv_header_ext_hash_map
=no
26206 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26208 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26209 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26210 if test $ac_cv_header_ext_hash_map = yes; then
26211 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26212 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26213 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26214 echo $ECHO_N "(cached) $ECHO_C" >&6
26216 cat >conftest.
$ac_ext <<_ACEOF
26219 cat confdefs.h
>>conftest.
$ac_ext
26220 cat >>conftest.
$ac_ext <<_ACEOF
26221 /* end confdefs.h. */
26222 #include <ext/hash_map>
26223 #include <ext/hash_set>
26227 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26228 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26233 rm -f conftest.
$ac_objext
26234 if { (ac_try
="$ac_compile"
26235 case "(($ac_try" in
26236 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26237 *) ac_try_echo=$ac_try;;
26239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26240 (eval "$ac_compile") 2>conftest.er1
26242 grep -v '^ *+' conftest.er1 >conftest.err
26244 cat conftest.err >&5
26245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26246 (exit $ac_status); } && {
26247 test -z "$ac_cxx_werror_flag" ||
26248 test ! -s conftest.err
26249 } && test -s conftest.$ac_objext; then
26250 wx_cv_class_gnuhashmapset=yes
26252 echo "$as_me: failed program was:" >&5
26253 sed 's/^/| /' conftest.$ac_ext >&5
26255 wx_cv_class_gnuhashmapset=no
26258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26262 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26263 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26273 ac_cpp='$CXXCPP $CPPFLAGS'
26274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26277 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26278 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26279 if test -z "$CXXCPP"; then
26280 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26281 echo $ECHO_N "(cached) $ECHO_C" >&6
26283 # Double quotes because CXXCPP needs to be expanded
26284 for CXXCPP in "$CXX -E" "/lib/cpp"
26286 ac_preproc_ok=false
26287 for ac_cxx_preproc_warn_flag in '' yes
26289 # Use a header file that comes with gcc, so configuring glibc
26290 # with a fresh cross-compiler works.
26291 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26292 # <limits.h> exists even on freestanding compilers.
26293 # On the NeXT, cc -E runs the code through the compiler's parser,
26294 # not just through cpp. "Syntax error" is here to catch this case.
26295 cat >conftest.$ac_ext <<_ACEOF
26298 cat confdefs.h >>conftest.$ac_ext
26299 cat >>conftest.$ac_ext <<_ACEOF
26300 /* end confdefs.h. */
26302 # include <limits.h>
26304 # include <assert.h>
26308 if { (ac_try="$ac_cpp conftest.$ac_ext"
26309 case "(($ac_try" in
26310 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26311 *) ac_try_echo
=$ac_try;;
26313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26314 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26316 grep -v '^ *+' conftest.er1
>conftest.err
26318 cat conftest.err
>&5
26319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26320 (exit $ac_status); } >/dev
/null
&& {
26321 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26322 test ! -s conftest.err
26326 echo "$as_me: failed program was:" >&5
26327 sed 's/^/| /' conftest.
$ac_ext >&5
26329 # Broken: fails on valid input.
26333 rm -f conftest.err conftest.
$ac_ext
26335 # OK, works on sane cases. Now check whether nonexistent headers
26336 # can be detected and how.
26337 cat >conftest.
$ac_ext <<_ACEOF
26340 cat confdefs.h
>>conftest.
$ac_ext
26341 cat >>conftest.
$ac_ext <<_ACEOF
26342 /* end confdefs.h. */
26343 #include <ac_nonexistent.h>
26345 if { (ac_try
="$ac_cpp conftest.$ac_ext"
26346 case "(($ac_try" in
26347 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26348 *) ac_try_echo=$ac_try;;
26350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26351 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26353 grep -v '^ *+' conftest.er1 >conftest.err
26355 cat conftest.err >&5
26356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26357 (exit $ac_status); } >/dev/null && {
26358 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26359 test ! -s conftest.err
26361 # Broken: success on invalid input.
26364 echo "$as_me: failed program was:" >&5
26365 sed 's/^/| /' conftest.$ac_ext >&5
26367 # Passes both tests.
26372 rm -f conftest.err conftest.$ac_ext
26375 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26376 rm -f conftest.err conftest.
$ac_ext
26377 if $ac_preproc_ok; then
26382 ac_cv_prog_CXXCPP
=$CXXCPP
26385 CXXCPP
=$ac_cv_prog_CXXCPP
26387 ac_cv_prog_CXXCPP
=$CXXCPP
26389 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26390 echo "${ECHO_T}$CXXCPP" >&6; }
26391 ac_preproc_ok
=false
26392 for ac_cxx_preproc_warn_flag
in '' yes
26394 # Use a header file that comes with gcc, so configuring glibc
26395 # with a fresh cross-compiler works.
26396 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26397 # <limits.h> exists even on freestanding compilers.
26398 # On the NeXT, cc -E runs the code through the compiler's parser,
26399 # not just through cpp. "Syntax error" is here to catch this case.
26400 cat >conftest.
$ac_ext <<_ACEOF
26403 cat confdefs.h
>>conftest.
$ac_ext
26404 cat >>conftest.
$ac_ext <<_ACEOF
26405 /* end confdefs.h. */
26407 # include <limits.h>
26409 # include <assert.h>
26413 if { (ac_try
="$ac_cpp conftest.$ac_ext"
26414 case "(($ac_try" in
26415 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26416 *) ac_try_echo=$ac_try;;
26418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26419 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26421 grep -v '^ *+' conftest.er1 >conftest.err
26423 cat conftest.err >&5
26424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26425 (exit $ac_status); } >/dev/null && {
26426 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26427 test ! -s conftest.err
26431 echo "$as_me: failed program was:" >&5
26432 sed 's/^/| /' conftest.$ac_ext >&5
26434 # Broken: fails on valid input.
26438 rm -f conftest.err conftest.$ac_ext
26440 # OK, works on sane cases. Now check whether nonexistent headers
26441 # can be detected and how.
26442 cat >conftest.$ac_ext <<_ACEOF
26445 cat confdefs.h >>conftest.$ac_ext
26446 cat >>conftest.$ac_ext <<_ACEOF
26447 /* end confdefs.h. */
26448 #include <ac_nonexistent.h>
26450 if { (ac_try="$ac_cpp conftest.$ac_ext"
26451 case "(($ac_try" in
26452 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26453 *) ac_try_echo
=$ac_try;;
26455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26456 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26458 grep -v '^ *+' conftest.er1
>conftest.err
26460 cat conftest.err
>&5
26461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26462 (exit $ac_status); } >/dev
/null
&& {
26463 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26464 test ! -s conftest.err
26466 # Broken: success on invalid input.
26469 echo "$as_me: failed program was:" >&5
26470 sed 's/^/| /' conftest.
$ac_ext >&5
26472 # Passes both tests.
26477 rm -f conftest.err conftest.
$ac_ext
26480 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26481 rm -f conftest.err conftest.
$ac_ext
26482 if $ac_preproc_ok; then
26485 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26486 See \`config.log' for more details." >&5
26487 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26488 See \`config.log' for more details." >&2;}
26489 { (exit 1); exit 1; }; }
26493 ac_cpp
='$CXXCPP $CPPFLAGS'
26494 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26495 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26496 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26501 for ac_header
in type_traits tr
1/type_traits
26503 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26504 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26505 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26506 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26507 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26508 echo $ECHO_N "(cached) $ECHO_C" >&6
26510 ac_res
=`eval echo '${'$as_ac_Header'}'`
26511 { echo "$as_me:$LINENO: result: $ac_res" >&5
26512 echo "${ECHO_T}$ac_res" >&6; }
26514 # Is the header compilable?
26515 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26516 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26517 cat >conftest.
$ac_ext <<_ACEOF
26520 cat confdefs.h
>>conftest.
$ac_ext
26521 cat >>conftest.
$ac_ext <<_ACEOF
26522 /* end confdefs.h. */
26523 $ac_includes_default
26524 #include <$ac_header>
26526 rm -f conftest.
$ac_objext
26527 if { (ac_try
="$ac_compile"
26528 case "(($ac_try" in
26529 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26530 *) ac_try_echo=$ac_try;;
26532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26533 (eval "$ac_compile") 2>conftest.er1
26535 grep -v '^ *+' conftest.er1 >conftest.err
26537 cat conftest.err >&5
26538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26539 (exit $ac_status); } && {
26540 test -z "$ac_cxx_werror_flag" ||
26541 test ! -s conftest.err
26542 } && test -s conftest.$ac_objext; then
26543 ac_header_compiler=yes
26545 echo "$as_me: failed program was:" >&5
26546 sed 's/^/| /' conftest.$ac_ext >&5
26548 ac_header_compiler=no
26551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26552 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26553 echo "${ECHO_T}$ac_header_compiler" >&6; }
26555 # Is the header present?
26556 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26557 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26558 cat >conftest.$ac_ext <<_ACEOF
26561 cat confdefs.h >>conftest.$ac_ext
26562 cat >>conftest.$ac_ext <<_ACEOF
26563 /* end confdefs.h. */
26564 #include <$ac_header>
26566 if { (ac_try="$ac_cpp conftest.$ac_ext"
26567 case "(($ac_try" in
26568 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26569 *) ac_try_echo
=$ac_try;;
26571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26572 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26574 grep -v '^ *+' conftest.er1
>conftest.err
26576 cat conftest.err
>&5
26577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26578 (exit $ac_status); } >/dev
/null
&& {
26579 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26580 test ! -s conftest.err
26582 ac_header_preproc
=yes
26584 echo "$as_me: failed program was:" >&5
26585 sed 's/^/| /' conftest.
$ac_ext >&5
26587 ac_header_preproc
=no
26590 rm -f conftest.err conftest.
$ac_ext
26591 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26592 echo "${ECHO_T}$ac_header_preproc" >&6; }
26594 # So? What about this header?
26595 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26597 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26598 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26599 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26600 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26601 ac_header_preproc
=yes
26604 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26605 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26606 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26607 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26608 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26609 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26610 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26611 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26612 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26613 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26614 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26615 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26617 ## ----------------------------------------- ##
26618 ## Report this to wx-dev@lists.wxwidgets.org ##
26619 ## ----------------------------------------- ##
26621 ) | sed "s/^/$as_me: WARNING: /" >&2
26624 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26626 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26627 echo $ECHO_N "(cached) $ECHO_C" >&6
26629 eval "$as_ac_Header=\$ac_header_preproc"
26631 ac_res
=`eval echo '${'$as_ac_Header'}'`
26632 { echo "$as_me:$LINENO: result: $ac_res" >&5
26633 echo "${ECHO_T}$ac_res" >&6; }
26636 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26637 cat >>confdefs.h
<<_ACEOF
26638 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26648 if test -n "$GCC"; then
26649 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26650 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26651 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26652 echo $ECHO_N "(cached) $ECHO_C" >&6
26655 cat >conftest.
$ac_ext <<_ACEOF
26658 cat confdefs.h
>>conftest.
$ac_ext
26659 cat >>conftest.
$ac_ext <<_ACEOF
26660 /* end confdefs.h. */
26666 unsigned int value=0;
26667 /* wxAtomicInc doesn't use return value here */
26668 __sync_fetch_and_add(&value, 2);
26669 __sync_sub_and_fetch(&value, 1);
26670 /* but wxAtomicDec does, so mimic that: */
26671 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26677 rm -f conftest.
$ac_objext conftest
$ac_exeext
26678 if { (ac_try
="$ac_link"
26679 case "(($ac_try" in
26680 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26681 *) ac_try_echo=$ac_try;;
26683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26684 (eval "$ac_link") 2>conftest.er1
26686 grep -v '^ *+' conftest.er1 >conftest.err
26688 cat conftest.err >&5
26689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26690 (exit $ac_status); } && {
26691 test -z "$ac_cxx_werror_flag" ||
26692 test ! -s conftest.err
26693 } && test -s conftest$ac_exeext &&
26694 $as_test_x conftest$ac_exeext; then
26695 wx_cv_cc_gcc_atomic_builtins=yes
26697 echo "$as_me: failed program was:" >&5
26698 sed 's/^/| /' conftest.$ac_ext >&5
26700 wx_cv_cc_gcc_atomic_builtins=no
26703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26704 conftest$ac_exeext conftest.$ac_ext
26708 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26709 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26710 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26711 cat >>confdefs.h <<\_ACEOF
26712 #define HAVE_GCC_ATOMIC_BUILTINS 1
26720 ac_cpp='$CPP $CPPFLAGS'
26721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26728 /usr/local/include \
26729 /usr/local/X11/include \
26730 /usr/local/include/X11 \
26731 /usr/local/X11R7/include \
26732 /usr/local/X11R6/include \
26733 /usr/local/include/X11R7 \
26734 /usr/local/include/X11R6 \
26736 /usr/Motif-2.1/include \
26737 /usr/Motif-1.2/include \
26738 /usr/include/Motif1.2 \
26741 /usr/openwin/include \
26745 /usr/X11R7/include \
26746 /usr/X11R6/include \
26747 /usr/X11R6.4/include \
26749 /usr/include/X11R7 \
26750 /usr/include/X11R6 \
26755 /usr/XFree86/include/X11 \
26758 /usr/local/X1R5/include \
26759 /usr/local/include/X11R5 \
26760 /usr/X11R5/include \
26761 /usr/include/X11R5 \
26763 /usr/local/X11R4/include \
26764 /usr/local/include/X11R4 \
26765 /usr/X11R4/include \
26766 /usr/include/X11R4 \
26768 /usr/openwin/share/include"
26770 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26771 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26775 if test "${wx_cv_std_libpath+set}" = set; then
26776 echo $ECHO_N "(cached) $ECHO_C" >&6
26779 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26780 for e in a so sl dylib dll.a; do
26782 if test -f $libc; then
26785 cat >conftest.$ac_ext <<_ACEOF
26786 int main() { return 0; }
26788 rm -f conftest.$ac_objext conftest$ac_exeext
26789 if { (ac_try="$ac_link"
26790 case "(($ac_try" in
26791 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26792 *) ac_try_echo
=$ac_try;;
26794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26795 (eval "$ac_link") 2>conftest.er1
26797 grep -v '^ *+' conftest.er1
>conftest.err
26799 cat conftest.err
>&5
26800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26801 (exit $ac_status); } && {
26802 test -z "$ac_c_werror_flag" ||
26803 test ! -s conftest.err
26804 } && test -s conftest
$ac_exeext &&
26805 $as_test_x conftest
$ac_exeext; then
26806 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
26808 echo "$as_me: failed program was:" >&5
26809 sed 's/^/| /' conftest.
$ac_ext >&5
26814 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26815 conftest
$ac_exeext conftest.
$ac_ext
26817 if test "x$wx_cv_std_libpath" != "x"; then
26823 if test "x$wx_cv_std_libpath" = "x"; then
26824 wx_cv_std_libpath
="lib"
26833 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26834 wx_cv_std_libpath
="lib/64"
26836 wx_cv_std_libpath
="lib"
26841 if test "$ac_cv_sizeof_void_p" = 8 -a \
26842 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26843 wx_cv_std_libpath
="lib64"
26845 wx_cv_std_libpath
="lib"
26850 wx_cv_std_libpath
="lib";
26854 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26855 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26857 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26859 if test "$build" != "$host" -a "$GCC" = yes; then
26860 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
26861 cross_root
=`dirname $cross_root`
26862 cross_root
=`dirname $cross_root`
26864 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26865 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26866 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
26868 if test -z "$PKG_CONFIG_PATH"; then
26869 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26870 export PKG_CONFIG_PATH
26873 if test -z "$x_includes" -o "$x_includes" = NONE
; then
26876 for ac_dir
in $SEARCH_INCLUDE /usr
/include
26878 if test -f "$ac_dir/X11/Intrinsic.h"; then
26879 ac_find_includes
=$ac_dir
26884 x_includes
=$ac_find_includes
26886 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
26889 for ac_dir
in $SEARCH_LIB
26891 for ac_extension
in a so sl dylib dll.a
; do
26892 if test -f "$ac_dir/libXt.$ac_extension"; then
26893 ac_find_libraries
=$ac_dir
26899 x_libraries
=$ac_find_libraries
26905 cat >confcache
<<\_ACEOF
26906 # This file is a shell script that caches the results of configure
26907 # tests run on this system so they can be shared between configure
26908 # scripts and configure runs, see configure's option --config-cache.
26909 # It is not useful on other systems. If it contains results you don't
26910 # want to keep, you may remove or edit it.
26912 # config.status only pays attention to the cache file if you give it
26913 # the --recheck option to rerun configure.
26915 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26916 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26917 # following values.
26921 # The following way of writing the cache mishandles newlines in values,
26922 # but we know of no workaround that is simple, portable, and efficient.
26923 # So, we kill variables containing newlines.
26924 # Ultrix sh set writes to stderr and can't be redirected directly,
26925 # and sets the high bit in the cache file unless we assign to the vars.
26927 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26928 eval ac_val
=\$
$ac_var
26932 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26933 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26936 _
| IFS
| as_nl
) ;; #(
26937 *) $as_unset $ac_var ;;
26943 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26944 *${as_nl}ac_space
=\
*)
26945 # `set' does not quote correctly, so add quotes (double-quote
26946 # substitution turns \\\\ into \\, and sed turns \\ into \).
26949 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26952 # `set' quotes correctly as required by POSIX, so do not add quotes.
26953 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26962 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26964 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26966 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26967 if test -w "$cache_file"; then
26968 test "x$cache_file" != "x/dev/null" &&
26969 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26970 echo "$as_me: updating cache $cache_file" >&6;}
26971 cat confcache
>$cache_file
26973 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26974 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26979 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26980 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26981 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26982 if test "${wx_cv_lib_glibc21+set}" = set; then
26983 echo $ECHO_N "(cached) $ECHO_C" >&6
26986 cat >conftest.
$ac_ext <<_ACEOF
26989 cat confdefs.h
>>conftest.
$ac_ext
26990 cat >>conftest.
$ac_ext <<_ACEOF
26991 /* end confdefs.h. */
26992 #include <features.h>
26997 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27005 rm -f conftest.
$ac_objext
27006 if { (ac_try
="$ac_compile"
27007 case "(($ac_try" in
27008 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27009 *) ac_try_echo=$ac_try;;
27011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27012 (eval "$ac_compile") 2>conftest.er1
27014 grep -v '^ *+' conftest.er1 >conftest.err
27016 cat conftest.err >&5
27017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27018 (exit $ac_status); } && {
27019 test -z "$ac_c_werror_flag" ||
27020 test ! -s conftest.err
27021 } && test -s conftest.$ac_objext; then
27023 wx_cv_lib_glibc21=yes
27026 echo "$as_me: failed program was:" >&5
27027 sed 's/^/| /' conftest.$ac_ext >&5
27030 wx_cv_lib_glibc21=no
27035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27038 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27039 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27040 if test "$wx_cv_lib_glibc21" = "yes"; then
27041 cat >>confdefs.h <<\_ACEOF
27042 #define wxHAVE_GLIBC2 1
27048 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27049 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27050 cat >>confdefs.h <<\_ACEOF
27051 #define _GNU_SOURCE 1
27062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27063 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27065 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27066 echo $ECHO_N "(cached) $ECHO_C" >&6
27068 cat >conftest.$ac_ext <<_ACEOF
27071 cat confdefs.h >>conftest.$ac_ext
27072 cat >>conftest.$ac_ext <<_ACEOF
27073 /* end confdefs.h. */
27074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27076 #define $ac_func innocuous_$ac_func
27078 /* System header to define __stub macros and hopefully few prototypes,
27079 which can conflict with char $ac_func (); below.
27080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27081 <limits.h> exists even on freestanding compilers. */
27084 # include <limits.h>
27086 # include <assert.h>
27091 /* Override any GCC internal prototype to avoid an error.
27092 Use char because int might match the return type of a GCC
27093 builtin and then its argument prototype would still apply. */
27098 /* The GNU C library defines this for functions which it implements
27099 to always fail with ENOSYS. Some functions are actually named
27100 something starting with __ and the normal name is an alias. */
27101 #if defined __stub_$ac_func || defined __stub___$ac_func
27108 return $ac_func ();
27113 rm -f conftest.$ac_objext conftest$ac_exeext
27114 if { (ac_try="$ac_link"
27115 case "(($ac_try" in
27116 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27117 *) ac_try_echo
=$ac_try;;
27119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27120 (eval "$ac_link") 2>conftest.er1
27122 grep -v '^ *+' conftest.er1
>conftest.err
27124 cat conftest.err
>&5
27125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27126 (exit $ac_status); } && {
27127 test -z "$ac_c_werror_flag" ||
27128 test ! -s conftest.err
27129 } && test -s conftest
$ac_exeext &&
27130 $as_test_x conftest
$ac_exeext; then
27131 eval "$as_ac_var=yes"
27133 echo "$as_me: failed program was:" >&5
27134 sed 's/^/| /' conftest.
$ac_ext >&5
27136 eval "$as_ac_var=no"
27139 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27140 conftest
$ac_exeext conftest.
$ac_ext
27142 ac_res
=`eval echo '${'$as_ac_var'}'`
27143 { echo "$as_me:$LINENO: result: $ac_res" >&5
27144 echo "${ECHO_T}$ac_res" >&6; }
27145 if test `eval echo '${'$as_ac_var'}'` = yes; then
27146 cat >>confdefs.h
<<_ACEOF
27147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27154 for ac_func
in floor
27156 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27157 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27159 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27160 echo $ECHO_N "(cached) $ECHO_C" >&6
27162 cat >conftest.
$ac_ext <<_ACEOF
27165 cat confdefs.h
>>conftest.
$ac_ext
27166 cat >>conftest.
$ac_ext <<_ACEOF
27167 /* end confdefs.h. */
27168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27170 #define $ac_func innocuous_$ac_func
27172 /* System header to define __stub macros and hopefully few prototypes,
27173 which can conflict with char $ac_func (); below.
27174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27175 <limits.h> exists even on freestanding compilers. */
27178 # include <limits.h>
27180 # include <assert.h>
27185 /* Override any GCC internal prototype to avoid an error.
27186 Use char because int might match the return type of a GCC
27187 builtin and then its argument prototype would still apply. */
27192 /* The GNU C library defines this for functions which it implements
27193 to always fail with ENOSYS. Some functions are actually named
27194 something starting with __ and the normal name is an alias. */
27195 #if defined __stub_$ac_func || defined __stub___$ac_func
27202 return $ac_func ();
27207 rm -f conftest.
$ac_objext conftest
$ac_exeext
27208 if { (ac_try
="$ac_link"
27209 case "(($ac_try" in
27210 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27211 *) ac_try_echo=$ac_try;;
27213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27214 (eval "$ac_link") 2>conftest.er1
27216 grep -v '^ *+' conftest.er1 >conftest.err
27218 cat conftest.err >&5
27219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27220 (exit $ac_status); } && {
27221 test -z "$ac_c_werror_flag" ||
27222 test ! -s conftest.err
27223 } && test -s conftest$ac_exeext &&
27224 $as_test_x conftest$ac_exeext; then
27225 eval "$as_ac_var=yes"
27227 echo "$as_me: failed program was:" >&5
27228 sed 's/^/| /' conftest.$ac_ext >&5
27230 eval "$as_ac_var=no"
27233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27234 conftest$ac_exeext conftest.$ac_ext
27236 ac_res=`eval echo '${'$as_ac_var'}'`
27237 { echo "$as_me:$LINENO: result: $ac_res" >&5
27238 echo "${ECHO_T}$ac_res" >&6; }
27239 if test `eval echo '${'$as_ac_var'}'` = yes; then
27240 cat >>confdefs.h <<_ACEOF
27241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27247 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27248 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27249 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27250 { echo "$as_me:$LINENO: result: yes" >&5
27251 echo "${ECHO_T}yes" >&6; }
27253 { echo "$as_me:$LINENO: result: no" >&5
27254 echo "${ECHO_T}no" >&6; }
27256 # use different functions to avoid configure caching
27262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27263 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27265 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27266 echo $ECHO_N "(cached) $ECHO_C" >&6
27268 cat >conftest.$ac_ext <<_ACEOF
27271 cat confdefs.h >>conftest.$ac_ext
27272 cat >>conftest.$ac_ext <<_ACEOF
27273 /* end confdefs.h. */
27274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27276 #define $ac_func innocuous_$ac_func
27278 /* System header to define __stub macros and hopefully few prototypes,
27279 which can conflict with char $ac_func (); below.
27280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27281 <limits.h> exists even on freestanding compilers. */
27284 # include <limits.h>
27286 # include <assert.h>
27291 /* Override any GCC internal prototype to avoid an error.
27292 Use char because int might match the return type of a GCC
27293 builtin and then its argument prototype would still apply. */
27298 /* The GNU C library defines this for functions which it implements
27299 to always fail with ENOSYS. Some functions are actually named
27300 something starting with __ and the normal name is an alias. */
27301 #if defined __stub_$ac_func || defined __stub___$ac_func
27308 return $ac_func ();
27313 rm -f conftest.$ac_objext conftest$ac_exeext
27314 if { (ac_try="$ac_link"
27315 case "(($ac_try" in
27316 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27317 *) ac_try_echo
=$ac_try;;
27319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27320 (eval "$ac_link") 2>conftest.er1
27322 grep -v '^ *+' conftest.er1
>conftest.err
27324 cat conftest.err
>&5
27325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27326 (exit $ac_status); } && {
27327 test -z "$ac_c_werror_flag" ||
27328 test ! -s conftest.err
27329 } && test -s conftest
$ac_exeext &&
27330 $as_test_x conftest
$ac_exeext; then
27331 eval "$as_ac_var=yes"
27333 echo "$as_me: failed program was:" >&5
27334 sed 's/^/| /' conftest.
$ac_ext >&5
27336 eval "$as_ac_var=no"
27339 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27340 conftest
$ac_exeext conftest.
$ac_ext
27342 ac_res
=`eval echo '${'$as_ac_var'}'`
27343 { echo "$as_me:$LINENO: result: $ac_res" >&5
27344 echo "${ECHO_T}$ac_res" >&6; }
27345 if test `eval echo '${'$as_ac_var'}'` = yes; then
27346 cat >>confdefs.h
<<_ACEOF
27347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27354 for ac_func
in ceil
27356 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27357 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27359 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27360 echo $ECHO_N "(cached) $ECHO_C" >&6
27362 cat >conftest.
$ac_ext <<_ACEOF
27365 cat confdefs.h
>>conftest.
$ac_ext
27366 cat >>conftest.
$ac_ext <<_ACEOF
27367 /* end confdefs.h. */
27368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27370 #define $ac_func innocuous_$ac_func
27372 /* System header to define __stub macros and hopefully few prototypes,
27373 which can conflict with char $ac_func (); below.
27374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27375 <limits.h> exists even on freestanding compilers. */
27378 # include <limits.h>
27380 # include <assert.h>
27385 /* Override any GCC internal prototype to avoid an error.
27386 Use char because int might match the return type of a GCC
27387 builtin and then its argument prototype would still apply. */
27392 /* The GNU C library defines this for functions which it implements
27393 to always fail with ENOSYS. Some functions are actually named
27394 something starting with __ and the normal name is an alias. */
27395 #if defined __stub_$ac_func || defined __stub___$ac_func
27402 return $ac_func ();
27407 rm -f conftest.
$ac_objext conftest
$ac_exeext
27408 if { (ac_try
="$ac_link"
27409 case "(($ac_try" in
27410 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27411 *) ac_try_echo=$ac_try;;
27413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27414 (eval "$ac_link") 2>conftest.er1
27416 grep -v '^ *+' conftest.er1 >conftest.err
27418 cat conftest.err >&5
27419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27420 (exit $ac_status); } && {
27421 test -z "$ac_c_werror_flag" ||
27422 test ! -s conftest.err
27423 } && test -s conftest$ac_exeext &&
27424 $as_test_x conftest$ac_exeext; then
27425 eval "$as_ac_var=yes"
27427 echo "$as_me: failed program was:" >&5
27428 sed 's/^/| /' conftest.$ac_ext >&5
27430 eval "$as_ac_var=no"
27433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27434 conftest$ac_exeext conftest.$ac_ext
27436 ac_res=`eval echo '${'$as_ac_var'}'`
27437 { echo "$as_me:$LINENO: result: $ac_res" >&5
27438 echo "${ECHO_T}$ac_res" >&6; }
27439 if test `eval echo '${'$as_ac_var'}'` = yes; then
27440 cat >>confdefs.h <<_ACEOF
27441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27447 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27448 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27449 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27450 { echo "$as_me:$LINENO: result: yes" >&5
27451 echo "${ECHO_T}yes" >&6; }
27453 { echo "$as_me:$LINENO: result: no" >&5
27454 echo "${ECHO_T}no" >&6; }
27455 # not sure we should warn the user, crash, etc.
27460 ac_cpp='$CXXCPP $CPPFLAGS'
27461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27465 if test "wxUSE_UNICODE" = "yes"; then
27467 for wx_func in wcstoull
27469 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27470 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27471 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27472 echo $ECHO_N "(cached) $ECHO_C" >&6
27475 cat >conftest.$ac_ext <<_ACEOF
27479 cat confdefs.h >>conftest.$ac_ext
27480 cat >>conftest.$ac_ext <<_ACEOF
27481 /* end confdefs.h. */
27484 $ac_includes_default
27500 rm -f conftest.$ac_objext conftest$ac_exeext
27501 if { (ac_try="$ac_link"
27502 case "(($ac_try" in
27503 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27504 *) ac_try_echo
=$ac_try;;
27506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27507 (eval "$ac_link") 2>conftest.er1
27509 grep -v '^ *+' conftest.er1
>conftest.err
27511 cat conftest.err
>&5
27512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27513 (exit $ac_status); } && {
27514 test -z "$ac_cxx_werror_flag" ||
27515 test ! -s conftest.err
27516 } && test -s conftest
$ac_exeext &&
27517 $as_test_x conftest
$ac_exeext; then
27518 eval wx_cv_func_
$wx_func=yes
27520 echo "$as_me: failed program was:" >&5
27521 sed 's/^/| /' conftest.
$ac_ext >&5
27523 eval wx_cv_func_
$wx_func=no
27526 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27527 conftest
$ac_exeext conftest.
$ac_ext
27530 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
27531 { echo "$as_me:$LINENO: result: $ac_res" >&5
27532 echo "${ECHO_T}$ac_res" >&6; }
27534 if eval test \
$wx_cv_func_$wx_func = yes
27536 cat >>confdefs.h
<<_ACEOF
27537 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27549 for wx_func
in strtoull
27551 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27552 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27553 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27554 echo $ECHO_N "(cached) $ECHO_C" >&6
27557 cat >conftest.
$ac_ext <<_ACEOF
27561 cat confdefs.h
>>conftest.
$ac_ext
27562 cat >>conftest.
$ac_ext <<_ACEOF
27563 /* end confdefs.h. */
27566 $ac_includes_default
27582 rm -f conftest.
$ac_objext conftest
$ac_exeext
27583 if { (ac_try
="$ac_link"
27584 case "(($ac_try" in
27585 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27586 *) ac_try_echo=$ac_try;;
27588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27589 (eval "$ac_link") 2>conftest.er1
27591 grep -v '^ *+' conftest.er1 >conftest.err
27593 cat conftest.err >&5
27594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27595 (exit $ac_status); } && {
27596 test -z "$ac_cxx_werror_flag" ||
27597 test ! -s conftest.err
27598 } && test -s conftest$ac_exeext &&
27599 $as_test_x conftest$ac_exeext; then
27600 eval wx_cv_func_$wx_func=yes
27602 echo "$as_me: failed program was:" >&5
27603 sed 's/^/| /' conftest.$ac_ext >&5
27605 eval wx_cv_func_$wx_func=no
27608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27609 conftest$ac_exeext conftest.$ac_ext
27612 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27613 { echo "$as_me:$LINENO: result: $ac_res" >&5
27614 echo "${ECHO_T}$ac_res" >&6; }
27616 if eval test \$wx_cv_func_$wx_func = yes
27618 cat >>confdefs.h <<_ACEOF
27619 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27631 ac_cpp='$CPP $CPPFLAGS'
27632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27639 if test "$wxUSE_REGEX" != "no"; then
27640 cat >>confdefs.h <<\_ACEOF
27641 #define wxUSE_REGEX 1
27645 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27646 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27647 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27648 wxUSE_REGEX=builtin
27651 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27652 { echo "$as_me:$LINENO: checking for regex.h" >&5
27653 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27654 if test "${ac_cv_header_regex_h+set}" = set; then
27655 echo $ECHO_N "(cached) $ECHO_C" >&6
27657 cat >conftest.$ac_ext <<_ACEOF
27660 cat confdefs.h >>conftest.$ac_ext
27661 cat >>conftest.$ac_ext <<_ACEOF
27662 /* end confdefs.h. */
27667 rm -f conftest.$ac_objext
27668 if { (ac_try="$ac_compile"
27669 case "(($ac_try" in
27670 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27671 *) ac_try_echo
=$ac_try;;
27673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27674 (eval "$ac_compile") 2>conftest.er1
27676 grep -v '^ *+' conftest.er1
>conftest.err
27678 cat conftest.err
>&5
27679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27680 (exit $ac_status); } && {
27681 test -z "$ac_c_werror_flag" ||
27682 test ! -s conftest.err
27683 } && test -s conftest.
$ac_objext; then
27684 ac_cv_header_regex_h
=yes
27686 echo "$as_me: failed program was:" >&5
27687 sed 's/^/| /' conftest.
$ac_ext >&5
27689 ac_cv_header_regex_h
=no
27692 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27694 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27695 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27696 if test $ac_cv_header_regex_h = yes; then
27699 for ac_func
in regcomp re_search
27701 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27702 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27704 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27705 echo $ECHO_N "(cached) $ECHO_C" >&6
27707 cat >conftest.
$ac_ext <<_ACEOF
27710 cat confdefs.h
>>conftest.
$ac_ext
27711 cat >>conftest.
$ac_ext <<_ACEOF
27712 /* end confdefs.h. */
27713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27715 #define $ac_func innocuous_$ac_func
27717 /* System header to define __stub macros and hopefully few prototypes,
27718 which can conflict with char $ac_func (); below.
27719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27720 <limits.h> exists even on freestanding compilers. */
27723 # include <limits.h>
27725 # include <assert.h>
27730 /* Override any GCC internal prototype to avoid an error.
27731 Use char because int might match the return type of a GCC
27732 builtin and then its argument prototype would still apply. */
27737 /* The GNU C library defines this for functions which it implements
27738 to always fail with ENOSYS. Some functions are actually named
27739 something starting with __ and the normal name is an alias. */
27740 #if defined __stub_$ac_func || defined __stub___$ac_func
27747 return $ac_func ();
27752 rm -f conftest.
$ac_objext conftest
$ac_exeext
27753 if { (ac_try
="$ac_link"
27754 case "(($ac_try" in
27755 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27756 *) ac_try_echo=$ac_try;;
27758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27759 (eval "$ac_link") 2>conftest.er1
27761 grep -v '^ *+' conftest.er1 >conftest.err
27763 cat conftest.err >&5
27764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27765 (exit $ac_status); } && {
27766 test -z "$ac_c_werror_flag" ||
27767 test ! -s conftest.err
27768 } && test -s conftest$ac_exeext &&
27769 $as_test_x conftest$ac_exeext; then
27770 eval "$as_ac_var=yes"
27772 echo "$as_me: failed program was:" >&5
27773 sed 's/^/| /' conftest.$ac_ext >&5
27775 eval "$as_ac_var=no"
27778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27779 conftest$ac_exeext conftest.$ac_ext
27781 ac_res=`eval echo '${'$as_ac_var'}'`
27782 { echo "$as_me:$LINENO: result: $ac_res" >&5
27783 echo "${ECHO_T}$ac_res" >&6; }
27784 if test `eval echo '${'$as_ac_var'}'` = yes; then
27785 cat >>confdefs.h <<_ACEOF
27786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27796 if test "x$ac_cv_func_regcomp" != "xyes"; then
27797 if test "$wxUSE_REGEX" = "sys" ; then
27798 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27799 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27800 { (exit 1); exit 1; }; }
27802 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27803 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27804 wxUSE_REGEX=builtin
27808 cat >>confdefs.h <<\_ACEOF
27809 #define WX_NO_REGEX_ADVANCED 1
27818 if test "$wxUSE_ZLIB" != "no" ; then
27819 cat >>confdefs.h <<\_ACEOF
27820 #define wxUSE_ZLIB 1
27824 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27825 if test "$USE_DARWIN" = 1; then
27826 system_zlib_h_ok="yes"
27828 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27829 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27830 if test "${ac_cv_header_zlib_h+set}" = set; then
27831 echo $ECHO_N "(cached) $ECHO_C" >&6
27833 if test "$cross_compiling" = yes; then
27834 unset ac_cv_header_zlib_h
27837 cat >conftest.$ac_ext <<_ACEOF
27840 cat confdefs.h >>conftest.$ac_ext
27841 cat >>conftest.$ac_ext <<_ACEOF
27842 /* end confdefs.h. */
27849 FILE *f=fopen("conftestval", "w");
27852 ZLIB_VERSION[0] == '1' &&
27853 (ZLIB_VERSION[2] > '1' ||
27854 (ZLIB_VERSION[2] == '1' &&
27855 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27860 rm -f conftest$ac_exeext
27861 if { (ac_try="$ac_link"
27862 case "(($ac_try" in
27863 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27864 *) ac_try_echo
=$ac_try;;
27866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27867 (eval "$ac_link") 2>&5
27869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27870 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27871 { (case "(($ac_try" in
27872 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27873 *) ac_try_echo=$ac_try;;
27875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27876 (eval "$ac_try") 2>&5
27878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27879 (exit $ac_status); }; }; then
27880 ac_cv_header_zlib_h=`cat conftestval
`
27882 echo "$as_me: program exited with status $ac_status" >&5
27883 echo "$as_me: failed program was:" >&5
27884 sed 's/^/| /' conftest.$ac_ext >&5
27886 ( exit $ac_status )
27887 ac_cv_header_zlib_h=no
27889 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27895 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27896 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27897 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27898 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27899 if test "${ac_cv_header_zlib_h+set}" = set; then
27900 echo $ECHO_N "(cached) $ECHO_C" >&6
27902 cat >conftest.$ac_ext <<_ACEOF
27905 cat confdefs.h >>conftest.$ac_ext
27906 cat >>conftest.$ac_ext <<_ACEOF
27907 /* end confdefs.h. */
27912 rm -f conftest.$ac_objext
27913 if { (ac_try="$ac_compile"
27914 case "(($ac_try" in
27915 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27916 *) ac_try_echo
=$ac_try;;
27918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27919 (eval "$ac_compile") 2>conftest.er1
27921 grep -v '^ *+' conftest.er1
>conftest.err
27923 cat conftest.err
>&5
27924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27925 (exit $ac_status); } && {
27926 test -z "$ac_c_werror_flag" ||
27927 test ! -s conftest.err
27928 } && test -s conftest.
$ac_objext; then
27929 ac_cv_header_zlib_h
=yes
27931 echo "$as_me: failed program was:" >&5
27932 sed 's/^/| /' conftest.
$ac_ext >&5
27934 ac_cv_header_zlib_h
=no
27937 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27939 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27940 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27944 system_zlib_h_ok
=$ac_cv_header_zlib_h
27947 if test "$system_zlib_h_ok" = "yes"; then
27948 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27949 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27950 if test "${ac_cv_lib_z_deflate+set}" = set; then
27951 echo $ECHO_N "(cached) $ECHO_C" >&6
27953 ac_check_lib_save_LIBS
=$LIBS
27955 cat >conftest.
$ac_ext <<_ACEOF
27958 cat confdefs.h
>>conftest.
$ac_ext
27959 cat >>conftest.
$ac_ext <<_ACEOF
27960 /* end confdefs.h. */
27962 /* Override any GCC internal prototype to avoid an error.
27963 Use char because int might match the return type of a GCC
27964 builtin and then its argument prototype would still apply. */
27977 rm -f conftest.
$ac_objext conftest
$ac_exeext
27978 if { (ac_try
="$ac_link"
27979 case "(($ac_try" in
27980 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27981 *) ac_try_echo=$ac_try;;
27983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27984 (eval "$ac_link") 2>conftest.er1
27986 grep -v '^ *+' conftest.er1 >conftest.err
27988 cat conftest.err >&5
27989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27990 (exit $ac_status); } && {
27991 test -z "$ac_c_werror_flag" ||
27992 test ! -s conftest.err
27993 } && test -s conftest$ac_exeext &&
27994 $as_test_x conftest$ac_exeext; then
27995 ac_cv_lib_z_deflate=yes
27997 echo "$as_me: failed program was:" >&5
27998 sed 's/^/| /' conftest.$ac_ext >&5
28000 ac_cv_lib_z_deflate=no
28003 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28004 conftest$ac_exeext conftest.$ac_ext
28005 LIBS=$ac_check_lib_save_LIBS
28007 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28008 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28009 if test $ac_cv_lib_z_deflate = yes; then
28015 if test "x$ZLIB_LINK" = "x" ; then
28016 if test "$wxUSE_ZLIB" = "sys" ; then
28017 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28018 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28019 { (exit 1); exit 1; }; }
28021 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28022 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28033 if test "$wxUSE_LIBPNG" != "no" ; then
28034 cat >>confdefs.h <<\_ACEOF
28035 #define wxUSE_LIBPNG 1
28039 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28040 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28041 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28045 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28046 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28047 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28048 wxUSE_LIBPNG=builtin
28051 if test "$wxUSE_MGL" != 1 ; then
28052 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28053 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28054 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28055 if test "${ac_cv_header_png_h+set}" = set; then
28056 echo $ECHO_N "(cached) $ECHO_C" >&6
28058 if test "$cross_compiling" = yes; then
28059 unset ac_cv_header_png_h
28062 cat >conftest.$ac_ext <<_ACEOF
28065 cat confdefs.h >>conftest.$ac_ext
28066 cat >>conftest.$ac_ext <<_ACEOF
28067 /* end confdefs.h. */
28074 FILE *f=fopen("conftestval", "w");
28077 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28082 rm -f conftest$ac_exeext
28083 if { (ac_try="$ac_link"
28084 case "(($ac_try" in
28085 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28086 *) ac_try_echo
=$ac_try;;
28088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28089 (eval "$ac_link") 2>&5
28091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28092 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28093 { (case "(($ac_try" in
28094 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28095 *) ac_try_echo=$ac_try;;
28097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28098 (eval "$ac_try") 2>&5
28100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28101 (exit $ac_status); }; }; then
28102 ac_cv_header_png_h=`cat conftestval
`
28104 echo "$as_me: program exited with status $ac_status" >&5
28105 echo "$as_me: failed program was:" >&5
28106 sed 's/^/| /' conftest.$ac_ext >&5
28108 ( exit $ac_status )
28109 ac_cv_header_png_h=no
28111 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28117 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28118 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28119 { echo "$as_me:$LINENO: checking for png.h" >&5
28120 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28121 if test "${ac_cv_header_png_h+set}" = set; then
28122 echo $ECHO_N "(cached) $ECHO_C" >&6
28124 cat >conftest.$ac_ext <<_ACEOF
28127 cat confdefs.h >>conftest.$ac_ext
28128 cat >>conftest.$ac_ext <<_ACEOF
28129 /* end confdefs.h. */
28134 rm -f conftest.$ac_objext
28135 if { (ac_try="$ac_compile"
28136 case "(($ac_try" in
28137 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28138 *) ac_try_echo
=$ac_try;;
28140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28141 (eval "$ac_compile") 2>conftest.er1
28143 grep -v '^ *+' conftest.er1
>conftest.err
28145 cat conftest.err
>&5
28146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28147 (exit $ac_status); } && {
28148 test -z "$ac_c_werror_flag" ||
28149 test ! -s conftest.err
28150 } && test -s conftest.
$ac_objext; then
28151 ac_cv_header_png_h
=yes
28153 echo "$as_me: failed program was:" >&5
28154 sed 's/^/| /' conftest.
$ac_ext >&5
28156 ac_cv_header_png_h
=no
28159 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28161 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28162 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28166 if test "$ac_cv_header_png_h" = "yes"; then
28167 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28168 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28169 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28170 echo $ECHO_N "(cached) $ECHO_C" >&6
28172 ac_check_lib_save_LIBS
=$LIBS
28173 LIBS
="-lpng -lz -lm $LIBS"
28174 cat >conftest.
$ac_ext <<_ACEOF
28177 cat confdefs.h
>>conftest.
$ac_ext
28178 cat >>conftest.
$ac_ext <<_ACEOF
28179 /* end confdefs.h. */
28181 /* Override any GCC internal prototype to avoid an error.
28182 Use char because int might match the return type of a GCC
28183 builtin and then its argument prototype would still apply. */
28187 char png_sig_cmp ();
28191 return png_sig_cmp ();
28196 rm -f conftest.
$ac_objext conftest
$ac_exeext
28197 if { (ac_try
="$ac_link"
28198 case "(($ac_try" in
28199 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28200 *) ac_try_echo=$ac_try;;
28202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28203 (eval "$ac_link") 2>conftest.er1
28205 grep -v '^ *+' conftest.er1 >conftest.err
28207 cat conftest.err >&5
28208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28209 (exit $ac_status); } && {
28210 test -z "$ac_c_werror_flag" ||
28211 test ! -s conftest.err
28212 } && test -s conftest$ac_exeext &&
28213 $as_test_x conftest$ac_exeext; then
28214 ac_cv_lib_png_png_sig_cmp=yes
28216 echo "$as_me: failed program was:" >&5
28217 sed 's/^/| /' conftest.$ac_ext >&5
28219 ac_cv_lib_png_png_sig_cmp=no
28222 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28223 conftest$ac_exeext conftest.$ac_ext
28224 LIBS=$ac_check_lib_save_LIBS
28226 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28227 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28228 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28229 PNG_LINK=" -lpng -lz"
28234 if test "x$PNG_LINK" = "x" ; then
28235 if test "$wxUSE_LIBPNG" = "sys" ; then
28236 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28237 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28238 { (exit 1); exit 1; }; }
28240 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28241 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28242 wxUSE_LIBPNG=builtin
28253 if test "$wxUSE_LIBJPEG" != "no" ; then
28254 cat >>confdefs.h <<\_ACEOF
28255 #define wxUSE_LIBJPEG 1
28259 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28260 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28261 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28265 if test "$wxUSE_MGL" != 1 ; then
28266 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28267 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28268 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28269 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28270 echo $ECHO_N "(cached) $ECHO_C" >&6
28272 cat >conftest.$ac_ext <<_ACEOF
28275 cat confdefs.h >>conftest.$ac_ext
28276 cat >>conftest.$ac_ext <<_ACEOF
28277 /* end confdefs.h. */
28279 #undef HAVE_STDLIB_H
28281 #include <jpeglib.h>
28292 rm -f conftest.$ac_objext
28293 if { (ac_try="$ac_compile"
28294 case "(($ac_try" in
28295 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28296 *) ac_try_echo
=$ac_try;;
28298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28299 (eval "$ac_compile") 2>conftest.er1
28301 grep -v '^ *+' conftest.er1
>conftest.err
28303 cat conftest.err
>&5
28304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28305 (exit $ac_status); } && {
28306 test -z "$ac_c_werror_flag" ||
28307 test ! -s conftest.err
28308 } && test -s conftest.
$ac_objext; then
28309 ac_cv_header_jpeglib_h
=yes
28311 echo "$as_me: failed program was:" >&5
28312 sed 's/^/| /' conftest.
$ac_ext >&5
28314 ac_cv_header_jpeglib_h
=no
28318 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28322 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28323 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28325 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28326 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28327 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28328 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28329 echo $ECHO_N "(cached) $ECHO_C" >&6
28331 ac_check_lib_save_LIBS
=$LIBS
28332 LIBS
="-ljpeg $LIBS"
28333 cat >conftest.
$ac_ext <<_ACEOF
28336 cat confdefs.h
>>conftest.
$ac_ext
28337 cat >>conftest.
$ac_ext <<_ACEOF
28338 /* end confdefs.h. */
28340 /* Override any GCC internal prototype to avoid an error.
28341 Use char because int might match the return type of a GCC
28342 builtin and then its argument prototype would still apply. */
28346 char jpeg_read_header ();
28350 return jpeg_read_header ();
28355 rm -f conftest.
$ac_objext conftest
$ac_exeext
28356 if { (ac_try
="$ac_link"
28357 case "(($ac_try" in
28358 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28359 *) ac_try_echo=$ac_try;;
28361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28362 (eval "$ac_link") 2>conftest.er1
28364 grep -v '^ *+' conftest.er1 >conftest.err
28366 cat conftest.err >&5
28367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28368 (exit $ac_status); } && {
28369 test -z "$ac_c_werror_flag" ||
28370 test ! -s conftest.err
28371 } && test -s conftest$ac_exeext &&
28372 $as_test_x conftest$ac_exeext; then
28373 ac_cv_lib_jpeg_jpeg_read_header=yes
28375 echo "$as_me: failed program was:" >&5
28376 sed 's/^/| /' conftest.$ac_ext >&5
28378 ac_cv_lib_jpeg_jpeg_read_header=no
28381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28382 conftest$ac_exeext conftest.$ac_ext
28383 LIBS=$ac_check_lib_save_LIBS
28385 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28386 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28387 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28388 JPEG_LINK=" -ljpeg"
28393 if test "x$JPEG_LINK" = "x" ; then
28394 if test "$wxUSE_LIBJPEG" = "sys" ; then
28395 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28396 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28397 { (exit 1); exit 1; }; }
28399 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28400 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28401 wxUSE_LIBJPEG=builtin
28406 if test "$wxUSE_MSW" = 1; then
28407 { echo "$as_me:$LINENO: checking for boolean" >&5
28408 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28409 if test "${ac_cv_type_boolean+set}" = set; then
28410 echo $ECHO_N "(cached) $ECHO_C" >&6
28412 cat >conftest.$ac_ext <<_ACEOF
28415 cat confdefs.h >>conftest.$ac_ext
28416 cat >>conftest.$ac_ext <<_ACEOF
28417 /* end confdefs.h. */
28418 #include <windows.h>
28420 typedef boolean ac__type_new_;
28424 if ((ac__type_new_ *) 0)
28426 if (sizeof (ac__type_new_))
28432 rm -f conftest.$ac_objext
28433 if { (ac_try="$ac_compile"
28434 case "(($ac_try" in
28435 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28436 *) ac_try_echo
=$ac_try;;
28438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28439 (eval "$ac_compile") 2>conftest.er1
28441 grep -v '^ *+' conftest.er1
>conftest.err
28443 cat conftest.err
>&5
28444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28445 (exit $ac_status); } && {
28446 test -z "$ac_c_werror_flag" ||
28447 test ! -s conftest.err
28448 } && test -s conftest.
$ac_objext; then
28449 ac_cv_type_boolean
=yes
28451 echo "$as_me: failed program was:" >&5
28452 sed 's/^/| /' conftest.
$ac_ext >&5
28454 ac_cv_type_boolean
=no
28457 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28459 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28460 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28461 if test $ac_cv_type_boolean = yes; then
28463 cat >>confdefs.h
<<_ACEOF
28464 #define HAVE_BOOLEAN 1
28468 { echo "$as_me:$LINENO: checking for boolean" >&5
28469 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28470 if test "${ac_cv_type_boolean+set}" = set; then
28471 echo $ECHO_N "(cached) $ECHO_C" >&6
28473 cat >conftest.
$ac_ext <<_ACEOF
28476 cat confdefs.h
>>conftest.
$ac_ext
28477 cat >>conftest.
$ac_ext <<_ACEOF
28478 /* end confdefs.h. */
28480 #undef HAVE_BOOLEAN
28482 #include <jpeglib.h>
28485 typedef boolean ac__type_new_;
28489 if ((ac__type_new_ *) 0)
28491 if (sizeof (ac__type_new_))
28497 rm -f conftest.
$ac_objext
28498 if { (ac_try
="$ac_compile"
28499 case "(($ac_try" in
28500 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28501 *) ac_try_echo=$ac_try;;
28503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28504 (eval "$ac_compile") 2>conftest.er1
28506 grep -v '^ *+' conftest.er1 >conftest.err
28508 cat conftest.err >&5
28509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28510 (exit $ac_status); } && {
28511 test -z "$ac_c_werror_flag" ||
28512 test ! -s conftest.err
28513 } && test -s conftest.$ac_objext; then
28514 ac_cv_type_boolean=yes
28516 echo "$as_me: failed program was:" >&5
28517 sed 's/^/| /' conftest.$ac_ext >&5
28519 ac_cv_type_boolean=no
28522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28524 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28525 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28527 # The cast to long int works around a bug in the HP C Compiler
28528 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28529 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
28530 # This bug is HP SR number 8606223364.
28531 { echo "$as_me:$LINENO: checking size of boolean" >&5
28532 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28533 if test "${ac_cv_sizeof_boolean+set}" = set; then
28534 echo $ECHO_N "(cached) $ECHO_C" >&6
28536 if test "$cross_compiling" = yes; then
28537 # Depending upon the size, compute the lo and hi bounds.
28538 cat >conftest.$ac_ext <<_ACEOF
28541 cat confdefs.h >>conftest.$ac_ext
28542 cat >>conftest.$ac_ext <<_ACEOF
28543 /* end confdefs.h. */
28545 #undef HAVE_BOOLEAN
28547 #include <jpeglib.h>
28550 typedef boolean ac__type_sizeof_;
28554 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28561 rm -f conftest.$ac_objext
28562 if { (ac_try="$ac_compile"
28563 case "(($ac_try" in
28564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28565 *) ac_try_echo=$ac_try;;
28567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28568 (eval "$ac_compile") 2>conftest.er1
28570 grep -v '^
*+' conftest.er1 >conftest.err
28572 cat conftest.err >&5
28573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28574 (exit $ac_status); } && {
28575 test -z "$ac_c_werror_flag" ||
28576 test ! -s conftest.err
28577 } && test -s conftest.$ac_objext; then
28580 cat >conftest.$ac_ext <<_ACEOF
28583 cat confdefs.h >>conftest.$ac_ext
28584 cat >>conftest.$ac_ext <<_ACEOF
28585 /* end confdefs.h. */
28587 #undef HAVE_BOOLEAN
28589 #include <jpeglib.h>
28592 typedef boolean ac__type_sizeof_;
28596 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28603 rm -f conftest.$ac_objext
28604 if { (ac_try="$ac_compile"
28605 case "(($ac_try" in
28606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28607 *) ac_try_echo=$ac_try;;
28609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28610 (eval "$ac_compile") 2>conftest.er1
28612 grep -v '^
*+' conftest.er1 >conftest.err
28614 cat conftest.err >&5
28615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28616 (exit $ac_status); } && {
28617 test -z "$ac_c_werror_flag" ||
28618 test ! -s conftest.err
28619 } && test -s conftest.$ac_objext; then
28620 ac_hi=$ac_mid; break
28622 echo "$as_me: failed program was:" >&5
28623 sed 's
/^
/| /' conftest.$ac_ext >&5
28625 ac_lo=`expr $ac_mid + 1`
28626 if test $ac_lo -le $ac_mid; then
28630 ac_mid=`expr 2 '*' $ac_mid + 1`
28633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28636 echo "$as_me: failed program was:" >&5
28637 sed 's
/^
/| /' conftest.$ac_ext >&5
28639 cat >conftest.$ac_ext <<_ACEOF
28642 cat confdefs.h >>conftest.$ac_ext
28643 cat >>conftest.$ac_ext <<_ACEOF
28644 /* end confdefs.h. */
28646 #undef HAVE_BOOLEAN
28648 #include <jpeglib.h>
28651 typedef boolean ac__type_sizeof_;
28655 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28662 rm -f conftest.$ac_objext
28663 if { (ac_try="$ac_compile"
28664 case "(($ac_try" in
28665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28666 *) ac_try_echo=$ac_try;;
28668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28669 (eval "$ac_compile") 2>conftest.er1
28671 grep -v '^
*+' conftest.er1 >conftest.err
28673 cat conftest.err >&5
28674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28675 (exit $ac_status); } && {
28676 test -z "$ac_c_werror_flag" ||
28677 test ! -s conftest.err
28678 } && test -s conftest.$ac_objext; then
28681 cat >conftest.$ac_ext <<_ACEOF
28684 cat confdefs.h >>conftest.$ac_ext
28685 cat >>conftest.$ac_ext <<_ACEOF
28686 /* end confdefs.h. */
28688 #undef HAVE_BOOLEAN
28690 #include <jpeglib.h>
28693 typedef boolean ac__type_sizeof_;
28697 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28704 rm -f conftest.$ac_objext
28705 if { (ac_try="$ac_compile"
28706 case "(($ac_try" in
28707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28708 *) ac_try_echo=$ac_try;;
28710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28711 (eval "$ac_compile") 2>conftest.er1
28713 grep -v '^
*+' conftest.er1 >conftest.err
28715 cat conftest.err >&5
28716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28717 (exit $ac_status); } && {
28718 test -z "$ac_c_werror_flag" ||
28719 test ! -s conftest.err
28720 } && test -s conftest.$ac_objext; then
28721 ac_lo=$ac_mid; break
28723 echo "$as_me: failed program was:" >&5
28724 sed 's
/^
/| /' conftest.$ac_ext >&5
28726 ac_hi=`expr '(' $ac_mid ')' - 1`
28727 if test $ac_mid -le $ac_hi; then
28731 ac_mid=`expr 2 '*' $ac_mid`
28734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28737 echo "$as_me: failed program was:" >&5
28738 sed 's
/^
/| /' conftest.$ac_ext >&5
28743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28747 # Binary search between lo and hi bounds.
28748 while test "x$ac_lo" != "x$ac_hi"; do
28749 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28750 cat >conftest.$ac_ext <<_ACEOF
28753 cat confdefs.h >>conftest.$ac_ext
28754 cat >>conftest.$ac_ext <<_ACEOF
28755 /* end confdefs.h. */
28757 #undef HAVE_BOOLEAN
28759 #include <jpeglib.h>
28762 typedef boolean ac__type_sizeof_;
28766 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28773 rm -f conftest.$ac_objext
28774 if { (ac_try="$ac_compile"
28775 case "(($ac_try" in
28776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28777 *) ac_try_echo=$ac_try;;
28779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28780 (eval "$ac_compile") 2>conftest.er1
28782 grep -v '^
*+' conftest.er1 >conftest.err
28784 cat conftest.err >&5
28785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28786 (exit $ac_status); } && {
28787 test -z "$ac_c_werror_flag" ||
28788 test ! -s conftest.err
28789 } && test -s conftest.$ac_objext; then
28792 echo "$as_me: failed program was:" >&5
28793 sed 's
/^
/| /' conftest.$ac_ext >&5
28795 ac_lo=`expr '(' $ac_mid ')' + 1`
28798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28801 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28802 '') if test "$ac_cv_type_boolean" = yes; then
28803 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28804 See \`config.log' for more details.
" >&5
28805 echo "$as_me: error
: cannot compute sizeof
(boolean
)
28806 See \
`config.log' for more details." >&2;}
28807 { (exit 77); exit 77; }; }
28809 ac_cv_sizeof_boolean=0
28813 cat >conftest.$ac_ext <<_ACEOF
28816 cat confdefs.h >>conftest.$ac_ext
28817 cat >>conftest.$ac_ext <<_ACEOF
28818 /* end confdefs.h. */
28820 #undef HAVE_BOOLEAN
28822 #include <jpeglib.h>
28825 typedef boolean ac__type_sizeof_;
28826 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28827 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28829 #include <stdlib.h>
28834 FILE *f = fopen ("conftest.val", "w");
28837 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28839 long int i = longval ();
28840 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28842 fprintf (f, "%ld\n", i);
28846 unsigned long int i = ulongval ();
28847 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28849 fprintf (f, "%lu\n", i);
28851 return ferror (f) || fclose (f) != 0;
28857 rm -f conftest$ac_exeext
28858 if { (ac_try="$ac_link"
28859 case "(($ac_try" in
28860 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28861 *) ac_try_echo
=$ac_try;;
28863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28864 (eval "$ac_link") 2>&5
28866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28867 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28868 { (case "(($ac_try" in
28869 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28870 *) ac_try_echo=$ac_try;;
28872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28873 (eval "$ac_try") 2>&5
28875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28876 (exit $ac_status); }; }; then
28877 ac_cv_sizeof_boolean=`cat conftest.val
`
28879 echo "$as_me: program exited with status $ac_status" >&5
28880 echo "$as_me: failed program was:" >&5
28881 sed 's/^/| /' conftest.$ac_ext >&5
28883 ( exit $ac_status )
28884 if test "$ac_cv_type_boolean" = yes; then
28885 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28886 See \`config.log
' for more details." >&5
28887 echo "$as_me: error: cannot compute sizeof (boolean)
28888 See \`config.log' for more details.
" >&2;}
28889 { (exit 77); exit 77; }; }
28891 ac_cv_sizeof_boolean=0
28894 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28898 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
28899 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28903 cat >>confdefs.h <<_ACEOF
28904 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28908 cat >>confdefs.h <<_ACEOF
28909 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28923 TIFF_PREREQ_LINKS=-lm
28924 if test "$wxUSE_LIBTIFF" != "no
" ; then
28925 cat >>confdefs.h <<\_ACEOF
28926 #define wxUSE_LIBTIFF 1
28930 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
28931 if test "$wxUSE_LIBJPEG" = "sys
"; then
28932 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28934 if test "$wxUSE_ZLIB" = "sys
"; then
28935 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28937 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
28938 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
28939 if test "${ac_cv_header_tiffio_h+set}" = set; then
28940 echo $ECHO_N "(cached
) $ECHO_C" >&6
28942 cat >conftest.$ac_ext <<_ACEOF
28945 cat confdefs.h >>conftest.$ac_ext
28946 cat >>conftest.$ac_ext <<_ACEOF
28947 /* end confdefs.h. */
28951 #include <tiffio.h>
28953 rm -f conftest.$ac_objext
28954 if { (ac_try="$ac_compile"
28955 case "(($ac_try" in
28956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28957 *) ac_try_echo=$ac_try;;
28959 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28960 (eval "$ac_compile") 2>conftest.er1
28962 grep -v '^ *+' conftest.er1 >conftest.err
28964 cat conftest.err >&5
28965 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28966 (exit $ac_status); } && {
28967 test -z "$ac_c_werror_flag" ||
28968 test ! -s conftest.err
28969 } && test -s conftest.$ac_objext; then
28970 ac_cv_header_tiffio_h=yes
28972 echo "$as_me: failed program was
:" >&5
28973 sed 's/^/| /' conftest.$ac_ext >&5
28975 ac_cv_header_tiffio_h=no
28978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28980 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
28981 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28982 if test $ac_cv_header_tiffio_h = yes; then
28984 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
28985 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
28986 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28987 echo $ECHO_N "(cached
) $ECHO_C" >&6
28989 ac_check_lib_save_LIBS=$LIBS
28990 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28991 cat >conftest.$ac_ext <<_ACEOF
28994 cat confdefs.h >>conftest.$ac_ext
28995 cat >>conftest.$ac_ext <<_ACEOF
28996 /* end confdefs.h. */
28998 /* Override any GCC internal prototype to avoid an error.
28999 Use char because int might match the return type of a GCC
29000 builtin and then its argument prototype would still apply. */
29008 return TIFFError ();
29013 rm -f conftest.$ac_objext conftest$ac_exeext
29014 if { (ac_try="$ac_link"
29015 case "(($ac_try" in
29016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29017 *) ac_try_echo=$ac_try;;
29019 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29020 (eval "$ac_link") 2>conftest.er1
29022 grep -v '^ *+' conftest.er1 >conftest.err
29024 cat conftest.err >&5
29025 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29026 (exit $ac_status); } && {
29027 test -z "$ac_c_werror_flag" ||
29028 test ! -s conftest.err
29029 } && test -s conftest$ac_exeext &&
29030 $as_test_x conftest$ac_exeext; then
29031 ac_cv_lib_tiff_TIFFError=yes
29033 echo "$as_me: failed program was
:" >&5
29034 sed 's/^/| /' conftest.$ac_ext >&5
29036 ac_cv_lib_tiff_TIFFError=no
29039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29040 conftest$ac_exeext conftest.$ac_ext
29041 LIBS=$ac_check_lib_save_LIBS
29043 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
29044 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29045 if test $ac_cv_lib_tiff_TIFFError = yes; then
29046 TIFF_LINK=" -ltiff"
29054 if test "x
$TIFF_LINK" = "x
" ; then
29055 if test "$wxUSE_LIBTIFF" = "sys
" ; then
29056 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
29057 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
29058 { (exit 1); exit 1; }; }
29060 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
29061 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
29062 wxUSE_LIBTIFF=builtin
29068 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29069 if test "$wxUSE_LIBJPEG" = "no
"; then
29070 ac_configure_args="$ac_configure_args --disable-jpeg"
29072 subdirs="$subdirs src
/tiff
"
29078 if test "$wxUSE_EXPAT" != "no
"; then
29080 cat >>confdefs.h <<\_ACEOF
29081 #define wxUSE_EXPAT 1
29084 cat >>confdefs.h <<\_ACEOF
29085 #define wxUSE_XML 1
29089 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
29090 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
29091 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
29092 if test "${ac_cv_header_expat_h+set}" = set; then
29093 echo $ECHO_N "(cached
) $ECHO_C" >&6
29095 cat >conftest.$ac_ext <<_ACEOF
29098 cat confdefs.h >>conftest.$ac_ext
29099 cat >>conftest.$ac_ext <<_ACEOF
29100 /* end confdefs.h. */
29105 rm -f conftest.$ac_objext
29106 if { (ac_try="$ac_compile"
29107 case "(($ac_try" in
29108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29109 *) ac_try_echo=$ac_try;;
29111 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29112 (eval "$ac_compile") 2>conftest.er1
29114 grep -v '^ *+' conftest.er1 >conftest.err
29116 cat conftest.err >&5
29117 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29118 (exit $ac_status); } && {
29119 test -z "$ac_c_werror_flag" ||
29120 test ! -s conftest.err
29121 } && test -s conftest.$ac_objext; then
29122 ac_cv_header_expat_h=yes
29124 echo "$as_me: failed program was
:" >&5
29125 sed 's/^/| /' conftest.$ac_ext >&5
29127 ac_cv_header_expat_h=no
29130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29132 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
29133 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29134 if test $ac_cv_header_expat_h = yes; then
29139 if test "x
$found_expat_h" = "x1
"; then
29140 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
29141 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
29142 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29143 echo $ECHO_N "(cached
) $ECHO_C" >&6
29147 ac_cpp='$CXXCPP $CPPFLAGS'
29148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29152 cat >conftest.$ac_ext <<_ACEOF
29155 cat confdefs.h >>conftest.$ac_ext
29156 cat >>conftest.$ac_ext <<_ACEOF
29157 /* end confdefs.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_cxx_werror_flag" ||
29182 test ! -s conftest.err
29183 } && test -s conftest.$ac_objext; then
29184 wx_cv_expat_is_not_broken=yes
29186 echo "$as_me: failed program was
:" >&5
29187 sed 's/^/| /' conftest.$ac_ext >&5
29189 wx_cv_expat_is_not_broken=no
29193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29195 ac_cpp='$CPP $CPPFLAGS'
29196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29203 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
29204 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29205 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29206 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
29207 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
29208 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29209 echo $ECHO_N "(cached
) $ECHO_C" >&6
29211 ac_check_lib_save_LIBS=$LIBS
29212 LIBS="-lexpat $LIBS"
29213 cat >conftest.$ac_ext <<_ACEOF
29216 cat confdefs.h >>conftest.$ac_ext
29217 cat >>conftest.$ac_ext <<_ACEOF
29218 /* end confdefs.h. */
29220 /* Override any GCC internal prototype to avoid an error.
29221 Use char because int might match the return type of a GCC
29222 builtin and then its argument prototype would still apply. */
29226 char XML_ParserCreate ();
29230 return XML_ParserCreate ();
29235 rm -f conftest.$ac_objext conftest$ac_exeext
29236 if { (ac_try="$ac_link"
29237 case "(($ac_try" in
29238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29239 *) ac_try_echo=$ac_try;;
29241 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29242 (eval "$ac_link") 2>conftest.er1
29244 grep -v '^ *+' conftest.er1 >conftest.err
29246 cat conftest.err >&5
29247 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29248 (exit $ac_status); } && {
29249 test -z "$ac_c_werror_flag" ||
29250 test ! -s conftest.err
29251 } && test -s conftest$ac_exeext &&
29252 $as_test_x conftest$ac_exeext; then
29253 ac_cv_lib_expat_XML_ParserCreate=yes
29255 echo "$as_me: failed program was
:" >&5
29256 sed 's/^/| /' conftest.$ac_ext >&5
29258 ac_cv_lib_expat_XML_ParserCreate=no
29261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29262 conftest$ac_exeext conftest.$ac_ext
29263 LIBS=$ac_check_lib_save_LIBS
29265 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
29266 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29267 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29268 EXPAT_LINK=" -lexpat"
29273 if test "x
$EXPAT_LINK" = "x
" ; then
29274 if test "$wxUSE_EXPAT" = "sys
" ; then
29275 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
29276 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
29277 { (exit 1); exit 1; }; }
29279 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
29280 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
29281 wxUSE_EXPAT=builtin
29287 if test "$wxUSE_EXPAT" = "builtin" ; then
29288 subdirs="$subdirs src
/expat
"
29295 if test "$wxUSE_LIBMSPACK" != "no
"; then
29296 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
29297 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
29298 if test "${ac_cv_header_mspack_h+set}" = set; then
29299 echo $ECHO_N "(cached
) $ECHO_C" >&6
29301 cat >conftest.$ac_ext <<_ACEOF
29304 cat confdefs.h >>conftest.$ac_ext
29305 cat >>conftest.$ac_ext <<_ACEOF
29306 /* end confdefs.h. */
29309 #include <mspack.h>
29311 rm -f conftest.$ac_objext
29312 if { (ac_try="$ac_compile"
29313 case "(($ac_try" in
29314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29315 *) ac_try_echo=$ac_try;;
29317 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29318 (eval "$ac_compile") 2>conftest.er1
29320 grep -v '^ *+' conftest.er1 >conftest.err
29322 cat conftest.err >&5
29323 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29324 (exit $ac_status); } && {
29325 test -z "$ac_c_werror_flag" ||
29326 test ! -s conftest.err
29327 } && test -s conftest.$ac_objext; then
29328 ac_cv_header_mspack_h=yes
29330 echo "$as_me: failed program was
:" >&5
29331 sed 's/^/| /' conftest.$ac_ext >&5
29333 ac_cv_header_mspack_h=no
29336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29338 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
29339 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29340 if test $ac_cv_header_mspack_h = yes; then
29345 if test "x
$found_mspack_h" = "x1
"; then
29346 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
29347 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
29348 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29349 echo $ECHO_N "(cached
) $ECHO_C" >&6
29351 ac_check_lib_save_LIBS=$LIBS
29352 LIBS="-lmspack $LIBS"
29353 cat >conftest.$ac_ext <<_ACEOF
29356 cat confdefs.h >>conftest.$ac_ext
29357 cat >>conftest.$ac_ext <<_ACEOF
29358 /* end confdefs.h. */
29360 /* Override any GCC internal prototype to avoid an error.
29361 Use char because int might match the return type of a GCC
29362 builtin and then its argument prototype would still apply. */
29366 char mspack_create_chm_decompressor ();
29370 return mspack_create_chm_decompressor ();
29375 rm -f conftest.$ac_objext conftest$ac_exeext
29376 if { (ac_try="$ac_link"
29377 case "(($ac_try" in
29378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29379 *) ac_try_echo=$ac_try;;
29381 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29382 (eval "$ac_link") 2>conftest.er1
29384 grep -v '^ *+' conftest.er1 >conftest.err
29386 cat conftest.err >&5
29387 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29388 (exit $ac_status); } && {
29389 test -z "$ac_c_werror_flag" ||
29390 test ! -s conftest.err
29391 } && test -s conftest$ac_exeext &&
29392 $as_test_x conftest$ac_exeext; then
29393 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29395 echo "$as_me: failed program was
:" >&5
29396 sed 's/^/| /' conftest.$ac_ext >&5
29398 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29402 conftest$ac_exeext conftest.$ac_ext
29403 LIBS=$ac_check_lib_save_LIBS
29405 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29406 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29407 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29408 MSPACK_LINK=" -lmspack"
29412 if test "x
$MSPACK_LINK" = "x
" ; then
29417 if test "$wxUSE_LIBMSPACK" != "no
"; then
29418 cat >>confdefs.h <<\_ACEOF
29419 #define wxUSE_LIBMSPACK 1
29433 if test "$USE_WIN32" = 1 ; then
29435 for ac_header in w32api.h
29437 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
29438 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
29439 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
29440 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
29441 echo $ECHO_N "(cached
) $ECHO_C" >&6
29443 cat >conftest.$ac_ext <<_ACEOF
29446 cat confdefs.h >>conftest.$ac_ext
29447 cat >>conftest.$ac_ext <<_ACEOF
29448 /* end confdefs.h. */
29451 #include <$ac_header>
29453 rm -f conftest.$ac_objext
29454 if { (ac_try="$ac_compile"
29455 case "(($ac_try" in
29456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29457 *) ac_try_echo=$ac_try;;
29459 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29460 (eval "$ac_compile") 2>conftest.er1
29462 grep -v '^ *+' conftest.er1 >conftest.err
29464 cat conftest.err >&5
29465 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29466 (exit $ac_status); } && {
29467 test -z "$ac_c_werror_flag" ||
29468 test ! -s conftest.err
29469 } && test -s conftest.$ac_objext; then
29470 eval "$as_ac_Header=yes"
29472 echo "$as_me: failed program was
:" >&5
29473 sed 's/^/| /' conftest.$ac_ext >&5
29475 eval "$as_ac_Header=no
"
29478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29480 ac_res=`eval echo '${'$as_ac_Header'}'`
29481 { echo "$as_me:$LINENO: result
: $ac_res" >&5
29482 echo "${ECHO_T}$ac_res" >&6; }
29483 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29484 cat >>confdefs.h <<_ACEOF
29485 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
29492 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
29493 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
29494 if test "${ac_cv_header_windows_h+set}" = set; then
29495 echo $ECHO_N "(cached
) $ECHO_C" >&6
29497 cat >conftest.$ac_ext <<_ACEOF
29500 cat confdefs.h >>conftest.$ac_ext
29501 cat >>conftest.$ac_ext <<_ACEOF
29502 /* end confdefs.h. */
29505 #include <windows.h>
29507 rm -f conftest.$ac_objext
29508 if { (ac_try="$ac_compile"
29509 case "(($ac_try" in
29510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29511 *) ac_try_echo=$ac_try;;
29513 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29514 (eval "$ac_compile") 2>conftest.er1
29516 grep -v '^ *+' conftest.er1 >conftest.err
29518 cat conftest.err >&5
29519 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29520 (exit $ac_status); } && {
29521 test -z "$ac_c_werror_flag" ||
29522 test ! -s conftest.err
29523 } && test -s conftest.$ac_objext; then
29524 ac_cv_header_windows_h=yes
29526 echo "$as_me: failed program was
:" >&5
29527 sed 's/^/| /' conftest.$ac_ext >&5
29529 ac_cv_header_windows_h=no
29532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29534 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
29535 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29536 if test $ac_cv_header_windows_h = yes; then
29540 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
29541 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
29542 { (exit 1); exit 1; }; }
29548 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29550 x86_64-*-mingw32* )
29551 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64
"
29554 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29555 LIBS="$LIBS -loleacc"
29560 LIBS="$LIBS -lkernel32 -luser32"
29563 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
$WINDRES_CPU_DEFINE"
29564 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
29566 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
$WINDRES_CPU_DEFINE"
29568 WIN32INSTALL=win32install
29570 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
29571 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
29572 if test "${ac_cv_header_pbt_h+set}" = set; then
29573 echo $ECHO_N "(cached
) $ECHO_C" >&6
29575 cat >conftest.$ac_ext <<_ACEOF
29578 cat confdefs.h >>conftest.$ac_ext
29579 cat >>conftest.$ac_ext <<_ACEOF
29580 /* end confdefs.h. */
29585 rm -f conftest.$ac_objext
29586 if { (ac_try="$ac_compile"
29587 case "(($ac_try" in
29588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29589 *) ac_try_echo=$ac_try;;
29591 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29592 (eval "$ac_compile") 2>conftest.er1
29594 grep -v '^ *+' conftest.er1 >conftest.err
29596 cat conftest.err >&5
29597 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29598 (exit $ac_status); } && {
29599 test -z "$ac_c_werror_flag" ||
29600 test ! -s conftest.err
29601 } && test -s conftest.$ac_objext; then
29602 ac_cv_header_pbt_h=yes
29604 echo "$as_me: failed program was
:" >&5
29605 sed 's/^/| /' conftest.$ac_ext >&5
29607 ac_cv_header_pbt_h=no
29610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29612 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
29613 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29614 if test $ac_cv_header_pbt_h = yes; then
29617 cat >>confdefs.h <<\_ACEOF
29618 #define NEED_PBT_H 1
29626 if test "$wxUSE_GUI" = "yes"; then
29636 if test "$wxUSE_OLD_COCOA" = 1 ; then
29637 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29638 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
29639 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
29640 wxUSE_PRINTING_ARCHITECTURE=no
29642 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29643 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
29644 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
29645 wxUSE_DRAG_AND_DROP=no
29647 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29648 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
29649 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
29654 if test "$wxUSE_MSW" = 1 ; then
29660 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
29664 if test "$wxUSE_GTK" = 1; then
29665 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
29666 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
29668 gtk_version_cached=1
29669 if test "${wx_cv_lib_gtk+set}" = set; then
29670 echo $ECHO_N "(cached
) $ECHO_C" >&6
29673 gtk_version_cached=0
29674 { echo "$as_me:$LINENO: result
: " >&5
29675 echo "${ECHO_T}" >&6; }
29678 if test "$wxUSE_THREADS" = "yes"; then
29679 GTK_MODULES=gthread
29683 if test "x
$wxGTK_VERSION" != "x1
"
29687 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29692 # Check whether --enable-gtktest was given.
29693 if test "${enable_gtktest+set}" = set; then
29694 enableval=$enable_gtktest;
29700 pkg_config_args=gtk+-2.0
29701 for module in . $GTK_MODULES
29705 pkg_config_args="$pkg_config_args gthread
-2.0
"
29712 # Extract the first word of "pkg
-config", so it can be a program name with args.
29713 set dummy pkg-config; ac_word=$2
29714 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
29715 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
29716 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29717 echo $ECHO_N "(cached
) $ECHO_C" >&6
29719 case $PKG_CONFIG in
29721 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29725 for as_dir in $PATH
29728 test -z "$as_dir" && as_dir=.
29729 for ac_exec_ext in '' $ac_executable_extensions; do
29730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29731 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29732 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29739 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
29743 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29744 if test -n "$PKG_CONFIG"; then
29745 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
29746 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29748 { echo "$as_me:$LINENO: result
: no
" >&5
29749 echo "${ECHO_T}no
" >&6; }
29754 if test x$PKG_CONFIG != xno ; then
29755 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29758 echo "*** pkg
-config too old
; version
0.7 or better required.
"
29766 min_gtk_version=2.4.0
29767 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
29768 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
29770 if test x$PKG_CONFIG != xno ; then
29771 ## don't try to run the test against uninstalled libtool libs
29772 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29773 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
29777 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29784 if test x"$no_gtk" = x ; then
29785 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29786 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29787 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29788 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29789 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29790 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29791 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29792 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29793 if test "x
$enable_gtktest" = "xyes
" ; then
29794 ac_save_CFLAGS="$CFLAGS"
29795 ac_save_LIBS="$LIBS"
29796 CFLAGS="$CFLAGS $GTK_CFLAGS"
29797 LIBS="$GTK_LIBS $LIBS"
29799 if test "$cross_compiling" = yes; then
29800 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29802 cat >conftest.$ac_ext <<_ACEOF
29805 cat confdefs.h >>conftest.$ac_ext
29806 cat >>conftest.$ac_ext <<_ACEOF
29807 /* end confdefs.h. */
29809 #include <gtk/gtk.h>
29811 #include <stdlib.h>
29816 int major, minor, micro;
29819 system ("touch conf.gtktest
");
29821 /* HP/UX 9 (%@#!) writes to sscanf strings */
29822 tmp_version = g_strdup("$min_gtk_version");
29823 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29824 printf("%s
, bad version string
\n", "$min_gtk_version");
29828 if ((gtk_major_version != $gtk_config_major_version) ||
29829 (gtk_minor_version != $gtk_config_minor_version) ||
29830 (gtk_micro_version != $gtk_config_micro_version))
29832 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29833 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29834 gtk_major_version, gtk_minor_version, gtk_micro_version);
29835 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
29836 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29837 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29838 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29839 printf("*** required on your system.
\n");
29840 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
29841 printf("*** to point to the correct configuration files
\n");
29843 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29844 (gtk_minor_version != GTK_MINOR_VERSION) ||
29845 (gtk_micro_version != GTK_MICRO_VERSION))
29847 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29848 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29849 printf("*** library
(version
%d.
%d.
%d
)\n",
29850 gtk_major_version, gtk_minor_version, gtk_micro_version);
29854 if ((gtk_major_version > major) ||
29855 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29856 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29862 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29863 gtk_major_version, gtk_minor_version, gtk_micro_version);
29864 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29865 major, minor, micro);
29866 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29868 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29869 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
29870 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29871 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
29872 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
29873 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29874 printf("*** so that the correct libraries are found
at run
-time))\n");
29881 rm -f conftest$ac_exeext
29882 if { (ac_try="$ac_link"
29883 case "(($ac_try" in
29884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29885 *) ac_try_echo=$ac_try;;
29887 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29888 (eval "$ac_link") 2>&5
29890 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29891 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29892 { (case "(($ac_try" in
29893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29894 *) ac_try_echo=$ac_try;;
29896 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29897 (eval "$ac_try") 2>&5
29899 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29900 (exit $ac_status); }; }; then
29903 echo "$as_me: program exited with status
$ac_status" >&5
29904 echo "$as_me: failed program was
:" >&5
29905 sed 's/^/| /' conftest.$ac_ext >&5
29907 ( exit $ac_status )
29910 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29914 CFLAGS="$ac_save_CFLAGS"
29915 LIBS="$ac_save_LIBS"
29918 if test "x
$no_gtk" = x ; then
29919 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
29920 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
29923 { echo "$as_me:$LINENO: result
: no
" >&5
29924 echo "${ECHO_T}no
" >&6; }
29925 if test "$PKG_CONFIG" = "no
" ; then
29926 echo "*** A new enough version of pkg
-config was not found.
"
29927 echo "*** See http
://pkgconfig.sourceforge.net
"
29929 if test -f conf.gtktest ; then
29932 echo "*** Could not run GTK
+ test program
, checking why...
"
29933 ac_save_CFLAGS="$CFLAGS"
29934 ac_save_LIBS="$LIBS"
29935 CFLAGS="$CFLAGS $GTK_CFLAGS"
29936 LIBS="$LIBS $GTK_LIBS"
29937 cat >conftest.$ac_ext <<_ACEOF
29940 cat confdefs.h >>conftest.$ac_ext
29941 cat >>conftest.$ac_ext <<_ACEOF
29942 /* end confdefs.h. */
29944 #include <gtk/gtk.h>
29950 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29955 rm -f conftest.$ac_objext conftest$ac_exeext
29956 if { (ac_try="$ac_link"
29957 case "(($ac_try" in
29958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29959 *) ac_try_echo=$ac_try;;
29961 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29962 (eval "$ac_link") 2>conftest.er1
29964 grep -v '^ *+' conftest.er1 >conftest.err
29966 cat conftest.err >&5
29967 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29968 (exit $ac_status); } && {
29969 test -z "$ac_c_werror_flag" ||
29970 test ! -s conftest.err
29971 } && test -s conftest$ac_exeext &&
29972 $as_test_x conftest$ac_exeext; then
29973 echo "*** The
test program compiled
, but did not run. This usually means
"
29974 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
29975 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
29976 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29977 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29978 echo "*** is required on your system"
29980 echo "*** If you have an old version installed, it is best to remove it, although"
29981 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29983 echo "$as_me: failed program was:" >&5
29984 sed 's
/^
/| /' conftest.$ac_ext >&5
29986 echo "*** The test program failed to compile or link. See the file config.log for the"
29987 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29991 conftest$ac_exeext conftest.$ac_ext
29992 CFLAGS="$ac_save_CFLAGS"
29993 LIBS="$ac_save_LIBS"
30005 GTK_LIBS="$GTK_LIBS -lX11"
30008 if test -z "$wx_cv_lib_gtk"; then
30009 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30011 # Check whether --with-gtk-prefix was given.
30012 if test "${with_gtk_prefix+set}" = set; then
30013 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30015 gtk_config_prefix=""
30019 # Check whether --with-gtk-exec-prefix was given.
30020 if test "${with_gtk_exec_prefix+set}" = set; then
30021 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30023 gtk_config_exec_prefix=""
30026 # Check whether --enable-gtktest was given.
30027 if test "${enable_gtktest+set}" = set; then
30028 enableval=$enable_gtktest;
30034 for module in . $GTK_MODULES
30038 gtk_config_args="$gtk_config_args gthread"
30043 if test x$gtk_config_exec_prefix != x ; then
30044 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30045 if test x${GTK_CONFIG+set} != xset ; then
30046 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30049 if test x$gtk_config_prefix != x ; then
30050 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30051 if test x${GTK_CONFIG+set} != xset ; then
30052 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30056 # Extract the first word of "gtk-config", so it can be a program name with args.
30057 set dummy gtk-config; ac_word=$2
30058 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30060 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30061 echo $ECHO_N "(cached) $ECHO_C" >&6
30063 case $GTK_CONFIG in
30065 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30069 for as_dir in $PATH
30072 test -z "$as_dir" && as_dir=.
30073 for ac_exec_ext in '' $ac_executable_extensions; do
30074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30075 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30083 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30087 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30088 if test -n "$GTK_CONFIG"; then
30089 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30090 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30092 { echo "$as_me:$LINENO: result: no" >&5
30093 echo "${ECHO_T}no" >&6; }
30097 min_gtk_version=1.2.7
30098 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30099 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30101 if test "$GTK_CONFIG" = "no" ; then
30104 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30105 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30106 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30107 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
30108 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30109 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
30110 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30111 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
30112 if test "x$enable_gtktest" = "xyes" ; then
30113 ac_save_CFLAGS="$CFLAGS"
30114 ac_save_LIBS="$LIBS"
30115 CFLAGS="$CFLAGS $GTK_CFLAGS"
30116 LIBS="$GTK_LIBS $LIBS"
30118 if test "$cross_compiling" = yes; then
30119 echo $ac_n "cross compiling; assumed OK... $ac_c"
30121 cat >conftest.$ac_ext <<_ACEOF
30124 cat confdefs.h >>conftest.$ac_ext
30125 cat >>conftest.$ac_ext <<_ACEOF
30126 /* end confdefs.h. */
30128 #include <gtk/gtk.h>
30130 #include <stdlib.h>
30135 int major, minor, micro;
30138 system ("touch conf.gtktest");
30140 /* HP/UX 9 (%@#!) writes to sscanf strings */
30141 tmp_version = g_strdup("$min_gtk_version");
30142 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30143 printf("%s, bad version string\n", "$min_gtk_version");
30147 if ((gtk_major_version != $gtk_config_major_version) ||
30148 (gtk_minor_version != $gtk_config_minor_version) ||
30149 (gtk_micro_version != $gtk_config_micro_version))
30151 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30152 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30153 gtk_major_version, gtk_minor_version, gtk_micro_version);
30154 printf ("*** was found! If gtk-config was correct, then it is best\n");
30155 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30156 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30157 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30158 printf("*** required on your system.\n");
30159 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30160 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30161 printf("*** before re-running configure\n");
30163 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30164 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30165 (gtk_minor_version != GTK_MINOR_VERSION) ||
30166 (gtk_micro_version != GTK_MICRO_VERSION))
30168 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30169 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30170 printf("*** library (version %d.%d.%d)\n",
30171 gtk_major_version, gtk_minor_version, gtk_micro_version);
30173 #endif /* defined (GTK_MAJOR_VERSION) ... */
30176 if ((gtk_major_version > major) ||
30177 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30178 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30184 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30185 gtk_major_version, gtk_minor_version, gtk_micro_version);
30186 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30187 major, minor, micro);
30188 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30190 printf("*** If you have already installed a sufficiently new version, this error\n");
30191 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30192 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30193 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30194 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30195 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30196 printf("*** so that the correct libraries are found at run-time))\n");
30203 rm -f conftest$ac_exeext
30204 if { (ac_try="$ac_link"
30205 case "(($ac_try" in
30206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30207 *) ac_try_echo=$ac_try;;
30209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30210 (eval "$ac_link") 2>&5
30212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30213 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
30214 { (case "(($ac_try" in
30215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30216 *) ac_try_echo=$ac_try;;
30218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30219 (eval "$ac_try") 2>&5
30221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30222 (exit $ac_status); }; }; then
30225 echo "$as_me: program exited with status $ac_status" >&5
30226 echo "$as_me: failed program was:" >&5
30227 sed 's
/^
/| /' conftest.$ac_ext >&5
30229 ( exit $ac_status )
30232 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30236 CFLAGS="$ac_save_CFLAGS"
30237 LIBS="$ac_save_LIBS"
30240 if test "x$no_gtk" = x ; then
30241 { echo "$as_me:$LINENO: result: yes" >&5
30242 echo "${ECHO_T}yes" >&6; }
30243 wx_cv_lib_gtk=1.2.7
30245 { echo "$as_me:$LINENO: result: no" >&5
30246 echo "${ECHO_T}no" >&6; }
30247 if test "$GTK_CONFIG" = "no" ; then
30248 echo "*** The gtk-config script installed by GTK could not be found"
30249 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30250 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30251 echo "*** full path to gtk-config."
30253 if test -f conf.gtktest ; then
30256 echo "*** Could not run GTK test program, checking why..."
30257 CFLAGS="$CFLAGS $GTK_CFLAGS"
30258 LIBS="$LIBS $GTK_LIBS"
30259 cat >conftest.$ac_ext <<_ACEOF
30262 cat confdefs.h >>conftest.$ac_ext
30263 cat >>conftest.$ac_ext <<_ACEOF
30264 /* end confdefs.h. */
30266 #include <gtk/gtk.h>
30272 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30277 rm -f conftest.$ac_objext conftest$ac_exeext
30278 if { (ac_try="$ac_link"
30279 case "(($ac_try" in
30280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30281 *) ac_try_echo=$ac_try;;
30283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30284 (eval "$ac_link") 2>conftest.er1
30286 grep -v '^
*+' conftest.er1 >conftest.err
30288 cat conftest.err >&5
30289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30290 (exit $ac_status); } && {
30291 test -z "$ac_c_werror_flag" ||
30292 test ! -s conftest.err
30293 } && test -s conftest$ac_exeext &&
30294 $as_test_x conftest$ac_exeext; then
30295 echo "*** The test program compiled, but did not run. This usually means"
30296 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30297 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
30298 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
30299 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
30300 echo "*** is required on your system
"
30302 echo "*** If you have an old version installed
, it is best to remove it
, although
"
30303 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
30305 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
30306 echo "*** came with the system with the
command"
30308 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
30310 echo "$as_me: failed program was
:" >&5
30311 sed 's/^/| /' conftest.$ac_ext >&5
30313 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
30314 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
30315 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
30316 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
30319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30320 conftest$ac_exeext conftest.$ac_ext
30321 CFLAGS="$ac_save_CFLAGS"
30322 LIBS="$ac_save_LIBS"
30334 if test -z "$wx_cv_lib_gtk"; then
30336 # Check whether --with-gtk-prefix was given.
30337 if test "${with_gtk_prefix+set}" = set; then
30338 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30340 gtk_config_prefix=""
30344 # Check whether --with-gtk-exec-prefix was given.
30345 if test "${with_gtk_exec_prefix+set}" = set; then
30346 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30348 gtk_config_exec_prefix=""
30351 # Check whether --enable-gtktest was given.
30352 if test "${enable_gtktest+set}" = set; then
30353 enableval=$enable_gtktest;
30359 for module in . $GTK_MODULES
30363 gtk_config_args="$gtk_config_args gthread
"
30368 if test x$gtk_config_exec_prefix != x ; then
30369 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30370 if test x${GTK_CONFIG+set} != xset ; then
30371 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30374 if test x$gtk_config_prefix != x ; then
30375 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30376 if test x${GTK_CONFIG+set} != xset ; then
30377 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30381 # Extract the first word of "gtk
-config", so it can be a program name with args.
30382 set dummy gtk-config; ac_word=$2
30383 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
30384 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
30385 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30386 echo $ECHO_N "(cached
) $ECHO_C" >&6
30388 case $GTK_CONFIG in
30390 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30394 for as_dir in $PATH
30397 test -z "$as_dir" && as_dir=.
30398 for ac_exec_ext in '' $ac_executable_extensions; do
30399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30400 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30401 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
30408 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
30412 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30413 if test -n "$GTK_CONFIG"; then
30414 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
30415 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30417 { echo "$as_me:$LINENO: result
: no
" >&5
30418 echo "${ECHO_T}no
" >&6; }
30422 min_gtk_version=1.2.3
30423 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
30424 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
30426 if test "$GTK_CONFIG" = "no
" ; then
30429 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30430 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30431 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30432 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30433 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30434 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30435 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30436 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30437 if test "x
$enable_gtktest" = "xyes
" ; then
30438 ac_save_CFLAGS="$CFLAGS"
30439 ac_save_LIBS="$LIBS"
30440 CFLAGS="$CFLAGS $GTK_CFLAGS"
30441 LIBS="$GTK_LIBS $LIBS"
30443 if test "$cross_compiling" = yes; then
30444 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
30446 cat >conftest.$ac_ext <<_ACEOF
30449 cat confdefs.h >>conftest.$ac_ext
30450 cat >>conftest.$ac_ext <<_ACEOF
30451 /* end confdefs.h. */
30453 #include <gtk/gtk.h>
30455 #include <stdlib.h>
30460 int major, minor, micro;
30463 system ("touch conf.gtktest
");
30465 /* HP/UX 9 (%@#!) writes to sscanf strings */
30466 tmp_version = g_strdup("$min_gtk_version");
30467 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
30468 printf("%s
, bad version string
\n", "$min_gtk_version");
30472 if ((gtk_major_version != $gtk_config_major_version) ||
30473 (gtk_minor_version != $gtk_config_minor_version) ||
30474 (gtk_micro_version != $gtk_config_micro_version))
30476 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
30477 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30478 gtk_major_version, gtk_minor_version, gtk_micro_version);
30479 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
30480 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
30481 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
30482 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
30483 printf("*** required on your system.
\n");
30484 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
30485 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
30486 printf("*** before re
-running configure
\n");
30488 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30489 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30490 (gtk_minor_version != GTK_MINOR_VERSION) ||
30491 (gtk_micro_version != GTK_MICRO_VERSION))
30493 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
30494 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30495 printf("*** library
(version
%d.
%d.
%d
)\n",
30496 gtk_major_version, gtk_minor_version, gtk_micro_version);
30498 #endif /* defined (GTK_MAJOR_VERSION) ... */
30501 if ((gtk_major_version > major) ||
30502 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30503 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30509 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
30510 gtk_major_version, gtk_minor_version, gtk_micro_version);
30511 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
30512 major, minor, micro);
30513 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
30515 printf("*** If you have already installed a sufficiently new version
, this error
\n");
30516 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
30517 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
30518 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
30519 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
30520 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
30521 printf("*** so that the correct libraries are found
at run
-time))\n");
30528 rm -f conftest$ac_exeext
30529 if { (ac_try="$ac_link"
30530 case "(($ac_try" in
30531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30532 *) ac_try_echo=$ac_try;;
30534 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30535 (eval "$ac_link") 2>&5
30537 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30538 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30539 { (case "(($ac_try" in
30540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30541 *) ac_try_echo=$ac_try;;
30543 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30544 (eval "$ac_try") 2>&5
30546 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30547 (exit $ac_status); }; }; then
30550 echo "$as_me: program exited with status
$ac_status" >&5
30551 echo "$as_me: failed program was
:" >&5
30552 sed 's/^/| /' conftest.$ac_ext >&5
30554 ( exit $ac_status )
30557 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30561 CFLAGS="$ac_save_CFLAGS"
30562 LIBS="$ac_save_LIBS"
30565 if test "x
$no_gtk" = x ; then
30566 { echo "$as_me:$LINENO: result
: yes" >&5
30567 echo "${ECHO_T}yes" >&6; }
30568 wx_cv_lib_gtk=1.2.3
30570 { echo "$as_me:$LINENO: result
: no
" >&5
30571 echo "${ECHO_T}no
" >&6; }
30572 if test "$GTK_CONFIG" = "no
" ; then
30573 echo "*** The gtk
-config script installed by GTK could not be found
"
30574 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
30575 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
30576 echo "*** full path to gtk
-config.
"
30578 if test -f conf.gtktest ; then
30581 echo "*** Could not run GTK
test program
, checking why...
"
30582 CFLAGS="$CFLAGS $GTK_CFLAGS"
30583 LIBS="$LIBS $GTK_LIBS"
30584 cat >conftest.$ac_ext <<_ACEOF
30587 cat confdefs.h >>conftest.$ac_ext
30588 cat >>conftest.$ac_ext <<_ACEOF
30589 /* end confdefs.h. */
30591 #include <gtk/gtk.h>
30597 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30602 rm -f conftest.$ac_objext conftest$ac_exeext
30603 if { (ac_try="$ac_link"
30604 case "(($ac_try" in
30605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30606 *) ac_try_echo=$ac_try;;
30608 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30609 (eval "$ac_link") 2>conftest.er1
30611 grep -v '^ *+' conftest.er1 >conftest.err
30613 cat conftest.err >&5
30614 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30615 (exit $ac_status); } && {
30616 test -z "$ac_c_werror_flag" ||
30617 test ! -s conftest.err
30618 } && test -s conftest$ac_exeext &&
30619 $as_test_x conftest$ac_exeext; then
30620 echo "*** The
test program compiled
, but did not run. This usually means
"
30621 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
30622 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
30623 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30624 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30625 echo "*** is required on your system"
30627 echo "*** If you have an old version installed, it is best to remove it, although"
30628 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30630 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30631 echo "*** came with the system with the command"
30633 echo "*** rpm --erase --nodeps gtk gtk-devel"
30635 echo "$as_me: failed program was:" >&5
30636 sed 's
/^
/| /' conftest.$ac_ext >&5
30638 echo "*** The test program failed to compile or link. See the file config.log for the"
30639 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30640 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30641 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30645 conftest$ac_exeext conftest.$ac_ext
30646 CFLAGS="$ac_save_CFLAGS"
30647 LIBS="$ac_save_LIBS"
30662 if test -z "$wx_cv_lib_gtk"; then
30665 wx_cv_cflags_gtk=$GTK_CFLAGS
30666 wx_cv_libs_gtk=$GTK_LIBS
30673 if test "$gtk_version_cached" = 1; then
30674 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30675 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30678 case "$wx_cv_lib_gtk" in
30687 *) { { echo "$as_me:$LINENO: error:
30688 The development files for GTK+ were not found. For GTK+ 2, please
30689 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30690 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30691 and that the version is 1.2.3 or above. Also check that the
30692 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
30693 --libs' are in the LD_LIBRARY_PATH or equivalent.
30695 echo "$as_me: error:
30696 The development files for GTK+ were not found. For GTK+ 2, please
30697 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30698 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30699 and that the version is 1.2.3 or above. Also check that the
30700 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
30701 --libs' are in the LD_LIBRARY_PATH or equivalent.
30703 { (exit 1); exit 1; }; }
30707 if test "$WXGTK2" = 1; then
30708 save_CFLAGS="$CFLAGS"
30710 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30711 LIBS="$LIBS $wx_cv_libs_gtk"
30713 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30714 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30715 cat >conftest.$ac_ext <<_ACEOF
30718 cat confdefs.h >>conftest.$ac_ext
30719 cat >>conftest.$ac_ext <<_ACEOF
30720 /* end confdefs.h. */
30722 #include <gtk/gtk.h>
30728 #if !GTK_CHECK_VERSION(2,18,0)
30736 rm -f conftest.$ac_objext
30737 if { (ac_try="$ac_compile"
30738 case "(($ac_try" in
30739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30740 *) ac_try_echo=$ac_try;;
30742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30743 (eval "$ac_compile") 2>conftest.er1
30745 grep -v '^
*+' conftest.er1 >conftest.err
30747 cat conftest.err >&5
30748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30749 (exit $ac_status); } && {
30750 test -z "$ac_c_werror_flag" ||
30751 test ! -s conftest.err
30752 } && test -s conftest.$ac_objext; then
30754 cat >>confdefs.h <<\_ACEOF
30755 #define __WXGTK218__ 1
30758 cat >>confdefs.h <<\_ACEOF
30759 #define __WXGTK210__ 1
30762 cat >>confdefs.h <<\_ACEOF
30763 #define __WXGTK26__ 1
30766 { echo "$as_me:$LINENO: result: yes" >&5
30767 echo "${ECHO_T}yes" >&6; }
30771 echo "$as_me: failed program was:" >&5
30772 sed 's
/^
/| /' conftest.$ac_ext >&5
30775 { echo "$as_me:$LINENO: result: no" >&5
30776 echo "${ECHO_T}no" >&6; }
30781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30783 if test "$ac_wxgtk218" = 0; then
30784 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30785 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30786 cat >conftest.$ac_ext <<_ACEOF
30789 cat confdefs.h >>conftest.$ac_ext
30790 cat >>conftest.$ac_ext <<_ACEOF
30791 /* end confdefs.h. */
30793 #include <gtk/gtk.h>
30799 #if !GTK_CHECK_VERSION(2,10,0)
30807 rm -f conftest.$ac_objext
30808 if { (ac_try="$ac_compile"
30809 case "(($ac_try" in
30810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30811 *) ac_try_echo=$ac_try;;
30813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30814 (eval "$ac_compile") 2>conftest.er1
30816 grep -v '^
*+' conftest.er1 >conftest.err
30818 cat conftest.err >&5
30819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30820 (exit $ac_status); } && {
30821 test -z "$ac_c_werror_flag" ||
30822 test ! -s conftest.err
30823 } && test -s conftest.$ac_objext; then
30825 cat >>confdefs.h <<\_ACEOF
30826 #define __WXGTK210__ 1
30829 cat >>confdefs.h <<\_ACEOF
30830 #define __WXGTK26__ 1
30833 { echo "$as_me:$LINENO: result: yes" >&5
30834 echo "${ECHO_T}yes" >&6; }
30838 echo "$as_me: failed program was:" >&5
30839 sed 's
/^
/| /' conftest.$ac_ext >&5
30842 { echo "$as_me:$LINENO: result: no" >&5
30843 echo "${ECHO_T}no" >&6; }
30848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30850 if test "$ac_wxgtk210" = 0; then
30851 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30852 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30853 cat >conftest.$ac_ext <<_ACEOF
30856 cat confdefs.h >>conftest.$ac_ext
30857 cat >>conftest.$ac_ext <<_ACEOF
30858 /* end confdefs.h. */
30860 #include <gtk/gtk.h>
30866 #if !GTK_CHECK_VERSION(2,6,0)
30874 rm -f conftest.$ac_objext
30875 if { (ac_try="$ac_compile"
30876 case "(($ac_try" in
30877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30878 *) ac_try_echo=$ac_try;;
30880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30881 (eval "$ac_compile") 2>conftest.er1
30883 grep -v '^
*+' conftest.er1 >conftest.err
30885 cat conftest.err >&5
30886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30887 (exit $ac_status); } && {
30888 test -z "$ac_c_werror_flag" ||
30889 test ! -s conftest.err
30890 } && test -s conftest.$ac_objext; then
30892 cat >>confdefs.h <<\_ACEOF
30893 #define __WXGTK26__ 1
30896 { echo "$as_me:$LINENO: result: yes" >&5
30897 echo "${ECHO_T}yes" >&6; }
30901 echo "$as_me: failed program was:" >&5
30902 sed 's
/^
/| /' conftest.$ac_ext >&5
30905 { echo "$as_me:$LINENO: result: no" >&5
30906 echo "${ECHO_T}no" >&6; }
30911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30915 CFLAGS="$save_CFLAGS"
30918 if test "$wxUSE_UNICODE" = "yes"; then
30919 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30920 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30924 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30925 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30926 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30927 echo $ECHO_N "(cached) $ECHO_C" >&6
30929 ac_check_lib_save_LIBS=$LIBS
30931 cat >conftest.$ac_ext <<_ACEOF
30934 cat confdefs.h >>conftest.$ac_ext
30935 cat >>conftest.$ac_ext <<_ACEOF
30936 /* end confdefs.h. */
30938 /* Override any GCC internal prototype to avoid an error.
30939 Use char because int might match the return type of a GCC
30940 builtin and then its argument prototype would still apply. */
30944 char gdk_im_open ();
30948 return gdk_im_open ();
30953 rm -f conftest.$ac_objext conftest$ac_exeext
30954 if { (ac_try="$ac_link"
30955 case "(($ac_try" in
30956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30957 *) ac_try_echo=$ac_try;;
30959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30960 (eval "$ac_link") 2>conftest.er1
30962 grep -v '^
*+' conftest.er1 >conftest.err
30964 cat conftest.err >&5
30965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30966 (exit $ac_status); } && {
30967 test -z "$ac_c_werror_flag" ||
30968 test ! -s conftest.err
30969 } && test -s conftest$ac_exeext &&
30970 $as_test_x conftest$ac_exeext; then
30971 ac_cv_lib_gdk_gdk_im_open=yes
30973 echo "$as_me: failed program was:" >&5
30974 sed 's
/^
/| /' conftest.$ac_ext >&5
30976 ac_cv_lib_gdk_gdk_im_open=no
30979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30980 conftest$ac_exeext conftest.$ac_ext
30981 LIBS=$ac_check_lib_save_LIBS
30983 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30984 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30985 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30986 cat >>confdefs.h <<\_ACEOF
30993 if test "$USE_DARWIN" != 1; then
30995 for ac_func in poll
30997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30998 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31000 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31001 echo $ECHO_N "(cached) $ECHO_C" >&6
31003 cat >conftest.$ac_ext <<_ACEOF
31006 cat confdefs.h >>conftest.$ac_ext
31007 cat >>conftest.$ac_ext <<_ACEOF
31008 /* end confdefs.h. */
31009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31011 #define $ac_func innocuous_$ac_func
31013 /* System header to define __stub macros and hopefully few prototypes,
31014 which can conflict with char $ac_func (); below.
31015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31016 <limits.h> exists even on freestanding compilers. */
31019 # include <limits.h>
31021 # include <assert.h>
31026 /* Override any GCC internal prototype to avoid an error.
31027 Use char because int might match the return type of a GCC
31028 builtin and then its argument prototype would still apply. */
31033 /* The GNU C library defines this for functions which it implements
31034 to always fail with ENOSYS. Some functions are actually named
31035 something starting with __ and the normal name is an alias. */
31036 #if defined __stub_$ac_func || defined __stub___$ac_func
31043 return $ac_func ();
31048 rm -f conftest.$ac_objext conftest$ac_exeext
31049 if { (ac_try="$ac_link"
31050 case "(($ac_try" in
31051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31052 *) ac_try_echo=$ac_try;;
31054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31055 (eval "$ac_link") 2>conftest.er1
31057 grep -v '^
*+' conftest.er1 >conftest.err
31059 cat conftest.err >&5
31060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31061 (exit $ac_status); } && {
31062 test -z "$ac_c_werror_flag" ||
31063 test ! -s conftest.err
31064 } && test -s conftest$ac_exeext &&
31065 $as_test_x conftest$ac_exeext; then
31066 eval "$as_ac_var=yes"
31068 echo "$as_me: failed program was:" >&5
31069 sed 's
/^
/| /' conftest.$ac_ext >&5
31071 eval "$as_ac_var=no"
31074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31075 conftest$ac_exeext conftest.$ac_ext
31077 ac_res=`eval echo '${'$as_ac_var'}'`
31078 { echo "$as_me:$LINENO: result: $ac_res" >&5
31079 echo "${ECHO_T}$ac_res" >&6; }
31080 if test `eval echo '${'$as_ac_var'}'` = yes; then
31081 cat >>confdefs.h <<_ACEOF
31082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31091 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31092 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31094 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
31096 AFMINSTALL=afminstall
31100 if test "$wxUSE_GPE" = "yes"; then
31101 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31102 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31105 for ac_dir in $SEARCH_LIB
31107 for ac_extension in a so sl dylib dll.a; do
31108 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31109 ac_find_libraries=$ac_dir
31115 if test "$ac_find_libraries" != "" ; then
31117 if test "$ac_find_libraries" = "default location"; then
31120 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31122 if test $result = 0; then
31125 ac_path_to_link=" -L$ac_find_libraries"
31129 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31131 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31132 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31134 { echo "$as_me:$LINENO: result: not found" >&5
31135 echo "${ECHO_T}not found" >&6; }
31141 if test "$wxUSE_MGL" = 1; then
31142 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31143 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31144 if test "x$MGL_ROOT" = x ; then
31145 { echo "$as_me:$LINENO: result: not found" >&5
31146 echo "${ECHO_T}not found" >&6; }
31147 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31148 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31149 { (exit 1); exit 1; }; }
31151 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31152 echo "${ECHO_T}$MGL_ROOT" >&6; }
31155 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31156 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31159 if test "x$wxUSE_SHARED" = xyes ; then
31160 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31162 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31166 mgl_os_candidates="dos32/dj2"
31169 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31170 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31171 { (exit 1); exit 1; }; }
31177 for mgl_os_i in $mgl_os_candidates ; do
31178 if test "x$mgl_os" = x ; then
31179 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31180 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31181 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31186 if test "x$mgl_lib_type" = x ; then
31187 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31188 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31189 mgl_lib_type=release
31196 if test "x$mgl_os" = x ; then
31197 { echo "$as_me:$LINENO: result: not found" >&5
31198 echo "${ECHO_T}not found" >&6; }
31199 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31200 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31201 { (exit 1); exit 1; }; }
31203 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31204 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31206 wxUSE_UNIVERSAL="yes"
31208 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31209 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31211 AFMINSTALL=afminstall
31216 if test "$wxUSE_DFB" = 1; then
31219 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31220 if test -n "$ac_tool_prefix"; then
31221 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31222 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31223 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31225 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31226 echo $ECHO_N "(cached) $ECHO_C" >&6
31228 case $PKG_CONFIG in
31230 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31234 for as_dir in $PATH
31237 test -z "$as_dir" && as_dir=.
31238 for ac_exec_ext in '' $ac_executable_extensions; do
31239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31240 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31251 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31252 if test -n "$PKG_CONFIG"; then
31253 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31254 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31256 { echo "$as_me:$LINENO: result: no" >&5
31257 echo "${ECHO_T}no" >&6; }
31262 if test -z "$ac_cv_path_PKG_CONFIG"; then
31263 ac_pt_PKG_CONFIG=$PKG_CONFIG
31264 # Extract the first word of "pkg-config", so it can be a program name with args.
31265 set dummy pkg-config; ac_word=$2
31266 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31268 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31269 echo $ECHO_N "(cached) $ECHO_C" >&6
31271 case $ac_pt_PKG_CONFIG in
31273 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31277 for as_dir in $PATH
31280 test -z "$as_dir" && as_dir=.
31281 for ac_exec_ext in '' $ac_executable_extensions; do
31282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31283 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31294 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31295 if test -n "$ac_pt_PKG_CONFIG"; then
31296 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31297 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31299 { echo "$as_me:$LINENO: result: no" >&5
31300 echo "${ECHO_T}no" >&6; }
31303 if test "x$ac_pt_PKG_CONFIG" = x; then
31306 case $cross_compiling:$ac_tool_warned in
31308 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31309 whose name does not start with the host triplet. If you think this
31310 configuration is useful to you, please write to autoconf@gnu.org." >&5
31311 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31312 whose name does not start with the host triplet. If you think this
31313 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31314 ac_tool_warned=yes ;;
31316 PKG_CONFIG=$ac_pt_PKG_CONFIG
31319 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31323 if test -n "$PKG_CONFIG"; then
31324 _pkg_min_version=0.9.0
31325 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31326 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31327 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31328 { echo "$as_me:$LINENO: result: yes" >&5
31329 echo "${ECHO_T}yes" >&6; }
31331 { echo "$as_me:$LINENO: result: no" >&5
31332 echo "${ECHO_T}no" >&6; }
31340 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31341 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31343 if test -n "$PKG_CONFIG"; then
31344 if test -n "$DIRECTFB_CFLAGS"; then
31345 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31347 if test -n "$PKG_CONFIG" && \
31348 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31349 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31352 (exit $ac_status); }; then
31353 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31361 if test -n "$PKG_CONFIG"; then
31362 if test -n "$DIRECTFB_LIBS"; then
31363 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31365 if test -n "$PKG_CONFIG" && \
31366 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31367 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31370 (exit $ac_status); }; then
31371 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31382 if test $pkg_failed = yes; then
31384 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31385 _pkg_short_errors_supported=yes
31387 _pkg_short_errors_supported=no
31389 if test $_pkg_short_errors_supported = yes; then
31390 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31392 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31394 # Put the nasty error message in config.log where it belongs
31395 echo "$DIRECTFB_PKG_ERRORS" >&5
31398 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31399 echo "$as_me: error: DirectFB not found." >&2;}
31400 { (exit 1); exit 1; }; }
31403 elif test $pkg_failed = untried; then
31405 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31406 echo "$as_me: error: DirectFB not found." >&2;}
31407 { (exit 1); exit 1; }; }
31411 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31412 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31413 { echo "$as_me:$LINENO: result: yes" >&5
31414 echo "${ECHO_T}yes" >&6; }
31416 wxUSE_UNIVERSAL="yes"
31417 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31418 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31425 if test "$wxUSE_MICROWIN" = 1; then
31426 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31427 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31428 if test "x$MICROWINDOWS" = x ; then
31429 { echo "$as_me:$LINENO: result: not found" >&5
31430 echo "${ECHO_T}not found" >&6; }
31431 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31432 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31433 { (exit 1); exit 1; }; }
31435 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31436 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31439 if test -f $MICROWINDOWS/lib/libmwin.a; then
31440 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
31441 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
31443 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31444 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31445 { (exit 1); exit 1; }; }
31448 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31449 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31451 wxUSE_UNIVERSAL="yes"
31453 AFMINSTALL=afminstall
31455 GUIDIST=MICROWIN_DIST
31457 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31460 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31461 { echo "$as_me:$LINENO: checking for X" >&5
31462 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31465 # Check whether --with-x was given.
31466 if test "${with_x+set}" = set; then
31470 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
31471 if test "x$with_x" = xno; then
31472 # The user explicitly disabled X.
31475 case $x_includes,$x_libraries in #(
31476 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31477 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
31478 { (exit 1); exit 1; }; };; #(
31479 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31480 echo $ECHO_N "(cached) $ECHO_C" >&6
31482 # One or both of the vars are not set, and there is no cached value.
31483 ac_x_includes=no ac_x_libraries=no
31484 rm -f -r conftest.dir
31485 if mkdir conftest.dir; then
31487 cat >Imakefile <<'_ACEOF'
31489 @echo incroot='${INCROOT}'
31491 @echo usrlibdir='${USRLIBDIR}'
31493 @echo libdir='${LIBDIR}'
31495 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31496 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31497 for ac_var in incroot usrlibdir libdir; do
31498 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
31500 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31501 for ac_extension in a so sl; do
31502 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31503 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31504 ac_im_usrlibdir=$ac_im_libdir; break
31507 # Screen out bogus values from the imake configuration. They are
31508 # bogus both because they are the default anyway, and because
31509 # using them would break gcc on systems where it needs fixed includes.
31510 case $ac_im_incroot in
31511 /usr/include) ac_x_includes= ;;
31512 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31514 case $ac_im_usrlibdir in
31515 /usr/lib | /lib) ;;
31516 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31520 rm -f -r conftest.dir
31523 # Standard set of common directories for X headers.
31524 # Check X11 before X11Rn because it is often a symlink to the current release.
31536 /usr
/local
/X
11/include
31537 /usr
/local
/X
11R
6/include
31538 /usr
/local
/X
11R
5/include
31539 /usr
/local
/X
11R
4/include
31541 /usr
/local
/include
/X11
31542 /usr
/local
/include
/X11R6
31543 /usr
/local
/include
/X11R5
31544 /usr
/local
/include
/X11R4
31548 /usr
/XFree
86/include
/X11
31552 /usr
/unsupported
/include
31553 /usr
/athena
/include
31554 /usr
/local
/x
11r
5/include
31555 /usr
/lpp
/Xamples
/include
31557 /usr
/openwin
/include
31558 /usr
/openwin
/share
/include
'
31560 if test "$ac_x_includes" = no; then
31561 # Guess where to find include files, by looking for Xlib.h.
31562 # First, try using that file with no special directory specified.
31563 cat >conftest.$ac_ext <<_ACEOF
31566 cat confdefs.h >>conftest.$ac_ext
31567 cat >>conftest.$ac_ext <<_ACEOF
31568 /* end confdefs.h. */
31569 #include <X11/Xlib.h>
31571 if { (ac_try="$ac_cpp conftest.$ac_ext"
31572 case "(($ac_try" in
31573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31574 *) ac_try_echo=$ac_try;;
31576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31577 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31579 grep -v '^
*+' conftest.er1 >conftest.err
31581 cat conftest.err >&5
31582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31583 (exit $ac_status); } >/dev/null && {
31584 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31585 test ! -s conftest.err
31587 # We can compile using X headers with no special include directory.
31590 echo "$as_me: failed program was:" >&5
31591 sed 's
/^
/| /' conftest.$ac_ext >&5
31593 for ac_dir in $ac_x_header_dirs; do
31594 if test -r "$ac_dir/X11/Xlib.h"; then
31595 ac_x_includes=$ac_dir
31601 rm -f conftest.err conftest.$ac_ext
31602 fi # $ac_x_includes = no
31604 if test "$ac_x_libraries" = no; then
31605 # Check for the libraries.
31606 # See if we find them without any special options.
31607 # Don't add to
$LIBS permanently.
31610 cat >conftest.
$ac_ext <<_ACEOF
31613 cat confdefs.h
>>conftest.
$ac_ext
31614 cat >>conftest.
$ac_ext <<_ACEOF
31615 /* end confdefs.h. */
31616 #include <X11/Xlib.h>
31625 rm -f conftest.
$ac_objext conftest
$ac_exeext
31626 if { (ac_try
="$ac_link"
31627 case "(($ac_try" in
31628 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31629 *) ac_try_echo=$ac_try;;
31631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31632 (eval "$ac_link") 2>conftest.er1
31634 grep -v '^ *+' conftest.er1 >conftest.err
31636 cat conftest.err >&5
31637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31638 (exit $ac_status); } && {
31639 test -z "$ac_c_werror_flag" ||
31640 test ! -s conftest.err
31641 } && test -s conftest$ac_exeext &&
31642 $as_test_x conftest$ac_exeext; then
31644 # We can link X programs with no special library path.
31647 echo "$as_me: failed program was:" >&5
31648 sed 's/^/| /' conftest.$ac_ext >&5
31651 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
31653 # Don't even attempt the hair of trying to link an X program!
31654 for ac_extension in a so sl; do
31655 if test -r "$ac_dir/libX11.$ac_extension"; then
31656 ac_x_libraries=$ac_dir
31663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31664 conftest$ac_exeext conftest.$ac_ext
31665 fi # $ac_x_libraries = no
31667 case $ac_x_includes,$ac_x_libraries in #(
31668 no,* | *,no | *\'*)
31669 # Didn't find X, or a directory has "'" in its name.
31670 ac_cv_have_x="have_x=no";; #(
31672 # Record where we found X for the cache.
31673 ac_cv_have_x="have_x=yes\
31674 ac_x_includes='$ac_x_includes'\
31675 ac_x_libraries='$ac_x_libraries'"
31681 eval "$ac_cv_have_x"
31684 if test "$have_x" != yes; then
31685 { echo "$as_me:$LINENO: result: $have_x" >&5
31686 echo "${ECHO_T}$have_x" >&6; }
31689 # If each of the values was on the command line, it overrides each guess.
31690 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31691 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31692 # Update the cache value to reflect the command line values.
31693 ac_cv_have_x="have_x=yes\
31694 ac_x_includes='$x_includes'\
31695 ac_x_libraries='$x_libraries'"
31696 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31697 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31700 if test "$no_x" = yes; then
31701 # Not all programs may use this symbol, but it does not hurt to define it.
31703 cat >>confdefs.h <<\_ACEOF
31704 #define X_DISPLAY_MISSING 1
31707 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31709 if test -n "$x_includes"; then
31710 X_CFLAGS="$X_CFLAGS -I$x_includes"
31713 # It would also be nice to do this for all -L options, not just this one.
31714 if test -n "$x_libraries"; then
31715 X_LIBS="$X_LIBS -L$x_libraries"
31716 # For Solaris; some versions of Sun CC require a space after -R and
31717 # others require no space. Words are not sufficient . . . .
31718 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31719 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31720 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31721 ac_xsave_c_werror_flag=$ac_c_werror_flag
31722 ac_c_werror_flag=yes
31723 cat >conftest.$ac_ext <<_ACEOF
31726 cat confdefs.h >>conftest.$ac_ext
31727 cat >>conftest.$ac_ext <<_ACEOF
31728 /* end confdefs.h. */
31738 rm -f conftest.$ac_objext conftest$ac_exeext
31739 if { (ac_try="$ac_link"
31740 case "(($ac_try" in
31741 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31742 *) ac_try_echo
=$ac_try;;
31744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31745 (eval "$ac_link") 2>conftest.er1
31747 grep -v '^ *+' conftest.er1
>conftest.err
31749 cat conftest.err
>&5
31750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31751 (exit $ac_status); } && {
31752 test -z "$ac_c_werror_flag" ||
31753 test ! -s conftest.err
31754 } && test -s conftest
$ac_exeext &&
31755 $as_test_x conftest
$ac_exeext; then
31756 { echo "$as_me:$LINENO: result: no" >&5
31757 echo "${ECHO_T}no" >&6; }
31758 X_LIBS
="$X_LIBS -R$x_libraries"
31760 echo "$as_me: failed program was:" >&5
31761 sed 's/^/| /' conftest.
$ac_ext >&5
31763 LIBS
="$ac_xsave_LIBS -R $x_libraries"
31764 cat >conftest.
$ac_ext <<_ACEOF
31767 cat confdefs.h
>>conftest.
$ac_ext
31768 cat >>conftest.
$ac_ext <<_ACEOF
31769 /* end confdefs.h. */
31779 rm -f conftest.
$ac_objext conftest
$ac_exeext
31780 if { (ac_try
="$ac_link"
31781 case "(($ac_try" in
31782 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31783 *) ac_try_echo=$ac_try;;
31785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31786 (eval "$ac_link") 2>conftest.er1
31788 grep -v '^ *+' conftest.er1 >conftest.err
31790 cat conftest.err >&5
31791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31792 (exit $ac_status); } && {
31793 test -z "$ac_c_werror_flag" ||
31794 test ! -s conftest.err
31795 } && test -s conftest$ac_exeext &&
31796 $as_test_x conftest$ac_exeext; then
31797 { echo "$as_me:$LINENO: result: yes" >&5
31798 echo "${ECHO_T}yes" >&6; }
31799 X_LIBS="$X_LIBS -R $x_libraries"
31801 echo "$as_me: failed program was:" >&5
31802 sed 's/^/| /' conftest.$ac_ext >&5
31804 { echo "$as_me:$LINENO: result: neither works" >&5
31805 echo "${ECHO_T}neither works" >&6; }
31808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31809 conftest$ac_exeext conftest.$ac_ext
31812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31813 conftest$ac_exeext conftest.$ac_ext
31814 ac_c_werror_flag=$ac_xsave_c_werror_flag
31815 LIBS=$ac_xsave_LIBS
31818 # Check for system-dependent libraries X programs must link with.
31819 # Do this before checking for the system-independent R6 libraries
31820 # (-lICE), since we may need -lsocket or whatever for X linking.
31822 if test "$ISC" = yes; then
31823 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31825 # Martyn Johnson says this is needed for Ultrix, if the X
31826 # libraries were built with DECnet support. And Karl Berry says
31827 # the Alpha needs dnet_stub (dnet does not exist).
31828 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31829 cat >conftest.$ac_ext <<_ACEOF
31832 cat confdefs.h >>conftest.$ac_ext
31833 cat >>conftest.$ac_ext <<_ACEOF
31834 /* end confdefs.h. */
31836 /* Override any GCC internal prototype to avoid an error.
31837 Use char because int might match the return type of a GCC
31838 builtin and then its argument prototype would still apply. */
31842 char XOpenDisplay ();
31846 return XOpenDisplay ();
31851 rm -f conftest.$ac_objext conftest$ac_exeext
31852 if { (ac_try="$ac_link"
31853 case "(($ac_try" in
31854 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31855 *) ac_try_echo
=$ac_try;;
31857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31858 (eval "$ac_link") 2>conftest.er1
31860 grep -v '^ *+' conftest.er1
>conftest.err
31862 cat conftest.err
>&5
31863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31864 (exit $ac_status); } && {
31865 test -z "$ac_c_werror_flag" ||
31866 test ! -s conftest.err
31867 } && test -s conftest
$ac_exeext &&
31868 $as_test_x conftest
$ac_exeext; then
31871 echo "$as_me: failed program was:" >&5
31872 sed 's/^/| /' conftest.
$ac_ext >&5
31874 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31875 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31876 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31877 echo $ECHO_N "(cached) $ECHO_C" >&6
31879 ac_check_lib_save_LIBS
=$LIBS
31880 LIBS
="-ldnet $LIBS"
31881 cat >conftest.
$ac_ext <<_ACEOF
31884 cat confdefs.h
>>conftest.
$ac_ext
31885 cat >>conftest.
$ac_ext <<_ACEOF
31886 /* end confdefs.h. */
31888 /* Override any GCC internal prototype to avoid an error.
31889 Use char because int might match the return type of a GCC
31890 builtin and then its argument prototype would still apply. */
31898 return dnet_ntoa ();
31903 rm -f conftest.
$ac_objext conftest
$ac_exeext
31904 if { (ac_try
="$ac_link"
31905 case "(($ac_try" in
31906 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31907 *) ac_try_echo=$ac_try;;
31909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31910 (eval "$ac_link") 2>conftest.er1
31912 grep -v '^ *+' conftest.er1 >conftest.err
31914 cat conftest.err >&5
31915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31916 (exit $ac_status); } && {
31917 test -z "$ac_c_werror_flag" ||
31918 test ! -s conftest.err
31919 } && test -s conftest$ac_exeext &&
31920 $as_test_x conftest$ac_exeext; then
31921 ac_cv_lib_dnet_dnet_ntoa=yes
31923 echo "$as_me: failed program was:" >&5
31924 sed 's/^/| /' conftest.$ac_ext >&5
31926 ac_cv_lib_dnet_dnet_ntoa=no
31929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31930 conftest$ac_exeext conftest.$ac_ext
31931 LIBS=$ac_check_lib_save_LIBS
31933 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31934 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31935 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31936 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31939 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31940 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31941 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31942 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31943 echo $ECHO_N "(cached) $ECHO_C" >&6
31945 ac_check_lib_save_LIBS=$LIBS
31946 LIBS="-ldnet_stub $LIBS"
31947 cat >conftest.$ac_ext <<_ACEOF
31950 cat confdefs.h >>conftest.$ac_ext
31951 cat >>conftest.$ac_ext <<_ACEOF
31952 /* end confdefs.h. */
31954 /* Override any GCC internal prototype to avoid an error.
31955 Use char because int might match the return type of a GCC
31956 builtin and then its argument prototype would still apply. */
31964 return dnet_ntoa ();
31969 rm -f conftest.$ac_objext conftest$ac_exeext
31970 if { (ac_try="$ac_link"
31971 case "(($ac_try" in
31972 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31973 *) ac_try_echo
=$ac_try;;
31975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31976 (eval "$ac_link") 2>conftest.er1
31978 grep -v '^ *+' conftest.er1
>conftest.err
31980 cat conftest.err
>&5
31981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31982 (exit $ac_status); } && {
31983 test -z "$ac_c_werror_flag" ||
31984 test ! -s conftest.err
31985 } && test -s conftest
$ac_exeext &&
31986 $as_test_x conftest
$ac_exeext; then
31987 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
31989 echo "$as_me: failed program was:" >&5
31990 sed 's/^/| /' conftest.
$ac_ext >&5
31992 ac_cv_lib_dnet_stub_dnet_ntoa
=no
31995 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31996 conftest
$ac_exeext conftest.
$ac_ext
31997 LIBS
=$ac_check_lib_save_LIBS
31999 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32000 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32001 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32002 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
32008 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32009 conftest
$ac_exeext conftest.
$ac_ext
32010 LIBS
="$ac_xsave_LIBS"
32012 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32013 # to get the SysV transport functions.
32014 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32016 # The nsl library prevents programs from opening the X display
32017 # on Irix 5.2, according to T.E. Dickey.
32018 # The functions gethostbyname, getservbyname, and inet_addr are
32019 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32020 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32021 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32022 if test "${ac_cv_func_gethostbyname+set}" = set; then
32023 echo $ECHO_N "(cached) $ECHO_C" >&6
32025 cat >conftest.
$ac_ext <<_ACEOF
32028 cat confdefs.h
>>conftest.
$ac_ext
32029 cat >>conftest.
$ac_ext <<_ACEOF
32030 /* end confdefs.h. */
32031 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32033 #define gethostbyname innocuous_gethostbyname
32035 /* System header to define __stub macros and hopefully few prototypes,
32036 which can conflict with char gethostbyname (); below.
32037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32038 <limits.h> exists even on freestanding compilers. */
32041 # include <limits.h>
32043 # include <assert.h>
32046 #undef gethostbyname
32048 /* Override any GCC internal prototype to avoid an error.
32049 Use char because int might match the return type of a GCC
32050 builtin and then its argument prototype would still apply. */
32054 char gethostbyname ();
32055 /* The GNU C library defines this for functions which it implements
32056 to always fail with ENOSYS. Some functions are actually named
32057 something starting with __ and the normal name is an alias. */
32058 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32065 return gethostbyname ();
32070 rm -f conftest.
$ac_objext conftest
$ac_exeext
32071 if { (ac_try
="$ac_link"
32072 case "(($ac_try" in
32073 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32074 *) ac_try_echo=$ac_try;;
32076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32077 (eval "$ac_link") 2>conftest.er1
32079 grep -v '^ *+' conftest.er1 >conftest.err
32081 cat conftest.err >&5
32082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32083 (exit $ac_status); } && {
32084 test -z "$ac_c_werror_flag" ||
32085 test ! -s conftest.err
32086 } && test -s conftest$ac_exeext &&
32087 $as_test_x conftest$ac_exeext; then
32088 ac_cv_func_gethostbyname=yes
32090 echo "$as_me: failed program was:" >&5
32091 sed 's/^/| /' conftest.$ac_ext >&5
32093 ac_cv_func_gethostbyname=no
32096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32097 conftest$ac_exeext conftest.$ac_ext
32099 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32100 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32102 if test $ac_cv_func_gethostbyname = no; then
32103 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32104 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32105 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32106 echo $ECHO_N "(cached) $ECHO_C" >&6
32108 ac_check_lib_save_LIBS=$LIBS
32110 cat >conftest.$ac_ext <<_ACEOF
32113 cat confdefs.h >>conftest.$ac_ext
32114 cat >>conftest.$ac_ext <<_ACEOF
32115 /* end confdefs.h. */
32117 /* Override any GCC internal prototype to avoid an error.
32118 Use char because int might match the return type of a GCC
32119 builtin and then its argument prototype would still apply. */
32123 char gethostbyname ();
32127 return gethostbyname ();
32132 rm -f conftest.$ac_objext conftest$ac_exeext
32133 if { (ac_try="$ac_link"
32134 case "(($ac_try" in
32135 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32136 *) ac_try_echo
=$ac_try;;
32138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32139 (eval "$ac_link") 2>conftest.er1
32141 grep -v '^ *+' conftest.er1
>conftest.err
32143 cat conftest.err
>&5
32144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32145 (exit $ac_status); } && {
32146 test -z "$ac_c_werror_flag" ||
32147 test ! -s conftest.err
32148 } && test -s conftest
$ac_exeext &&
32149 $as_test_x conftest
$ac_exeext; then
32150 ac_cv_lib_nsl_gethostbyname
=yes
32152 echo "$as_me: failed program was:" >&5
32153 sed 's/^/| /' conftest.
$ac_ext >&5
32155 ac_cv_lib_nsl_gethostbyname
=no
32158 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32159 conftest
$ac_exeext conftest.
$ac_ext
32160 LIBS
=$ac_check_lib_save_LIBS
32162 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32163 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32164 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32165 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
32168 if test $ac_cv_lib_nsl_gethostbyname = no
; then
32169 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32170 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32171 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32172 echo $ECHO_N "(cached) $ECHO_C" >&6
32174 ac_check_lib_save_LIBS
=$LIBS
32176 cat >conftest.
$ac_ext <<_ACEOF
32179 cat confdefs.h
>>conftest.
$ac_ext
32180 cat >>conftest.
$ac_ext <<_ACEOF
32181 /* end confdefs.h. */
32183 /* Override any GCC internal prototype to avoid an error.
32184 Use char because int might match the return type of a GCC
32185 builtin and then its argument prototype would still apply. */
32189 char gethostbyname ();
32193 return gethostbyname ();
32198 rm -f conftest.
$ac_objext conftest
$ac_exeext
32199 if { (ac_try
="$ac_link"
32200 case "(($ac_try" in
32201 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32202 *) ac_try_echo=$ac_try;;
32204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32205 (eval "$ac_link") 2>conftest.er1
32207 grep -v '^ *+' conftest.er1 >conftest.err
32209 cat conftest.err >&5
32210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32211 (exit $ac_status); } && {
32212 test -z "$ac_c_werror_flag" ||
32213 test ! -s conftest.err
32214 } && test -s conftest$ac_exeext &&
32215 $as_test_x conftest$ac_exeext; then
32216 ac_cv_lib_bsd_gethostbyname=yes
32218 echo "$as_me: failed program was:" >&5
32219 sed 's/^/| /' conftest.$ac_ext >&5
32221 ac_cv_lib_bsd_gethostbyname=no
32224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32225 conftest$ac_exeext conftest.$ac_ext
32226 LIBS=$ac_check_lib_save_LIBS
32228 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32229 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32230 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32231 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32237 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32238 # socket/setsockopt and other routines are undefined under SCO ODT
32239 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32240 # on later versions), says Simon Leinen: it contains gethostby*
32241 # variants that don't use the name server (or something). -lsocket
32242 # must be given before -lnsl if both are needed. We assume that
32243 # if connect needs -lnsl, so does gethostbyname.
32244 { echo "$as_me:$LINENO: checking for connect" >&5
32245 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32246 if test "${ac_cv_func_connect+set}" = set; then
32247 echo $ECHO_N "(cached) $ECHO_C" >&6
32249 cat >conftest.$ac_ext <<_ACEOF
32252 cat confdefs.h >>conftest.$ac_ext
32253 cat >>conftest.$ac_ext <<_ACEOF
32254 /* end confdefs.h. */
32255 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32257 #define connect innocuous_connect
32259 /* System header to define __stub macros and hopefully few prototypes,
32260 which can conflict with char connect (); below.
32261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32262 <limits.h> exists even on freestanding compilers. */
32265 # include <limits.h>
32267 # include <assert.h>
32272 /* Override any GCC internal prototype to avoid an error.
32273 Use char because int might match the return type of a GCC
32274 builtin and then its argument prototype would still apply. */
32279 /* The GNU C library defines this for functions which it implements
32280 to always fail with ENOSYS. Some functions are actually named
32281 something starting with __ and the normal name is an alias. */
32282 #if defined __stub_connect || defined __stub___connect
32294 rm -f conftest.$ac_objext conftest$ac_exeext
32295 if { (ac_try="$ac_link"
32296 case "(($ac_try" in
32297 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32298 *) ac_try_echo
=$ac_try;;
32300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32301 (eval "$ac_link") 2>conftest.er1
32303 grep -v '^ *+' conftest.er1
>conftest.err
32305 cat conftest.err
>&5
32306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32307 (exit $ac_status); } && {
32308 test -z "$ac_c_werror_flag" ||
32309 test ! -s conftest.err
32310 } && test -s conftest
$ac_exeext &&
32311 $as_test_x conftest
$ac_exeext; then
32312 ac_cv_func_connect
=yes
32314 echo "$as_me: failed program was:" >&5
32315 sed 's/^/| /' conftest.
$ac_ext >&5
32317 ac_cv_func_connect
=no
32320 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32321 conftest
$ac_exeext conftest.
$ac_ext
32323 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32324 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32326 if test $ac_cv_func_connect = no
; then
32327 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32328 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32329 if test "${ac_cv_lib_socket_connect+set}" = set; then
32330 echo $ECHO_N "(cached) $ECHO_C" >&6
32332 ac_check_lib_save_LIBS
=$LIBS
32333 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
32334 cat >conftest.
$ac_ext <<_ACEOF
32337 cat confdefs.h
>>conftest.
$ac_ext
32338 cat >>conftest.
$ac_ext <<_ACEOF
32339 /* end confdefs.h. */
32341 /* Override any GCC internal prototype to avoid an error.
32342 Use char because int might match the return type of a GCC
32343 builtin and then its argument prototype would still apply. */
32356 rm -f conftest.
$ac_objext conftest
$ac_exeext
32357 if { (ac_try
="$ac_link"
32358 case "(($ac_try" in
32359 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32360 *) ac_try_echo=$ac_try;;
32362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32363 (eval "$ac_link") 2>conftest.er1
32365 grep -v '^ *+' conftest.er1 >conftest.err
32367 cat conftest.err >&5
32368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32369 (exit $ac_status); } && {
32370 test -z "$ac_c_werror_flag" ||
32371 test ! -s conftest.err
32372 } && test -s conftest$ac_exeext &&
32373 $as_test_x conftest$ac_exeext; then
32374 ac_cv_lib_socket_connect=yes
32376 echo "$as_me: failed program was:" >&5
32377 sed 's/^/| /' conftest.$ac_ext >&5
32379 ac_cv_lib_socket_connect=no
32382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32383 conftest$ac_exeext conftest.$ac_ext
32384 LIBS=$ac_check_lib_save_LIBS
32386 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32387 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32388 if test $ac_cv_lib_socket_connect = yes; then
32389 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32394 # Guillermo Gomez says -lposix is necessary on A/UX.
32395 { echo "$as_me:$LINENO: checking for remove" >&5
32396 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32397 if test "${ac_cv_func_remove+set}" = set; then
32398 echo $ECHO_N "(cached) $ECHO_C" >&6
32400 cat >conftest.$ac_ext <<_ACEOF
32403 cat confdefs.h >>conftest.$ac_ext
32404 cat >>conftest.$ac_ext <<_ACEOF
32405 /* end confdefs.h. */
32406 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32408 #define remove innocuous_remove
32410 /* System header to define __stub macros and hopefully few prototypes,
32411 which can conflict with char remove (); below.
32412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32413 <limits.h> exists even on freestanding compilers. */
32416 # include <limits.h>
32418 # include <assert.h>
32423 /* Override any GCC internal prototype to avoid an error.
32424 Use char because int might match the return type of a GCC
32425 builtin and then its argument prototype would still apply. */
32430 /* The GNU C library defines this for functions which it implements
32431 to always fail with ENOSYS. Some functions are actually named
32432 something starting with __ and the normal name is an alias. */
32433 #if defined __stub_remove || defined __stub___remove
32445 rm -f conftest.$ac_objext conftest$ac_exeext
32446 if { (ac_try="$ac_link"
32447 case "(($ac_try" in
32448 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32449 *) ac_try_echo
=$ac_try;;
32451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32452 (eval "$ac_link") 2>conftest.er1
32454 grep -v '^ *+' conftest.er1
>conftest.err
32456 cat conftest.err
>&5
32457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32458 (exit $ac_status); } && {
32459 test -z "$ac_c_werror_flag" ||
32460 test ! -s conftest.err
32461 } && test -s conftest
$ac_exeext &&
32462 $as_test_x conftest
$ac_exeext; then
32463 ac_cv_func_remove
=yes
32465 echo "$as_me: failed program was:" >&5
32466 sed 's/^/| /' conftest.
$ac_ext >&5
32468 ac_cv_func_remove
=no
32471 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32472 conftest
$ac_exeext conftest.
$ac_ext
32474 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32475 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32477 if test $ac_cv_func_remove = no
; then
32478 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32479 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32480 if test "${ac_cv_lib_posix_remove+set}" = set; then
32481 echo $ECHO_N "(cached) $ECHO_C" >&6
32483 ac_check_lib_save_LIBS
=$LIBS
32484 LIBS
="-lposix $LIBS"
32485 cat >conftest.
$ac_ext <<_ACEOF
32488 cat confdefs.h
>>conftest.
$ac_ext
32489 cat >>conftest.
$ac_ext <<_ACEOF
32490 /* end confdefs.h. */
32492 /* Override any GCC internal prototype to avoid an error.
32493 Use char because int might match the return type of a GCC
32494 builtin and then its argument prototype would still apply. */
32507 rm -f conftest.
$ac_objext conftest
$ac_exeext
32508 if { (ac_try
="$ac_link"
32509 case "(($ac_try" in
32510 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32511 *) ac_try_echo=$ac_try;;
32513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32514 (eval "$ac_link") 2>conftest.er1
32516 grep -v '^ *+' conftest.er1 >conftest.err
32518 cat conftest.err >&5
32519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32520 (exit $ac_status); } && {
32521 test -z "$ac_c_werror_flag" ||
32522 test ! -s conftest.err
32523 } && test -s conftest$ac_exeext &&
32524 $as_test_x conftest$ac_exeext; then
32525 ac_cv_lib_posix_remove=yes
32527 echo "$as_me: failed program was:" >&5
32528 sed 's/^/| /' conftest.$ac_ext >&5
32530 ac_cv_lib_posix_remove=no
32533 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32534 conftest$ac_exeext conftest.$ac_ext
32535 LIBS=$ac_check_lib_save_LIBS
32537 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32538 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32539 if test $ac_cv_lib_posix_remove = yes; then
32540 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32545 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32546 { echo "$as_me:$LINENO: checking for shmat" >&5
32547 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32548 if test "${ac_cv_func_shmat+set}" = set; then
32549 echo $ECHO_N "(cached) $ECHO_C" >&6
32551 cat >conftest.$ac_ext <<_ACEOF
32554 cat confdefs.h >>conftest.$ac_ext
32555 cat >>conftest.$ac_ext <<_ACEOF
32556 /* end confdefs.h. */
32557 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32559 #define shmat innocuous_shmat
32561 /* System header to define __stub macros and hopefully few prototypes,
32562 which can conflict with char shmat (); below.
32563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32564 <limits.h> exists even on freestanding compilers. */
32567 # include <limits.h>
32569 # include <assert.h>
32574 /* Override any GCC internal prototype to avoid an error.
32575 Use char because int might match the return type of a GCC
32576 builtin and then its argument prototype would still apply. */
32581 /* The GNU C library defines this for functions which it implements
32582 to always fail with ENOSYS. Some functions are actually named
32583 something starting with __ and the normal name is an alias. */
32584 #if defined __stub_shmat || defined __stub___shmat
32596 rm -f conftest.$ac_objext conftest$ac_exeext
32597 if { (ac_try="$ac_link"
32598 case "(($ac_try" in
32599 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32600 *) ac_try_echo
=$ac_try;;
32602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32603 (eval "$ac_link") 2>conftest.er1
32605 grep -v '^ *+' conftest.er1
>conftest.err
32607 cat conftest.err
>&5
32608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32609 (exit $ac_status); } && {
32610 test -z "$ac_c_werror_flag" ||
32611 test ! -s conftest.err
32612 } && test -s conftest
$ac_exeext &&
32613 $as_test_x conftest
$ac_exeext; then
32614 ac_cv_func_shmat
=yes
32616 echo "$as_me: failed program was:" >&5
32617 sed 's/^/| /' conftest.
$ac_ext >&5
32619 ac_cv_func_shmat
=no
32622 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32623 conftest
$ac_exeext conftest.
$ac_ext
32625 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32626 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32628 if test $ac_cv_func_shmat = no
; then
32629 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32630 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32631 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32632 echo $ECHO_N "(cached) $ECHO_C" >&6
32634 ac_check_lib_save_LIBS
=$LIBS
32636 cat >conftest.
$ac_ext <<_ACEOF
32639 cat confdefs.h
>>conftest.
$ac_ext
32640 cat >>conftest.
$ac_ext <<_ACEOF
32641 /* end confdefs.h. */
32643 /* Override any GCC internal prototype to avoid an error.
32644 Use char because int might match the return type of a GCC
32645 builtin and then its argument prototype would still apply. */
32658 rm -f conftest.
$ac_objext conftest
$ac_exeext
32659 if { (ac_try
="$ac_link"
32660 case "(($ac_try" in
32661 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32662 *) ac_try_echo=$ac_try;;
32664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32665 (eval "$ac_link") 2>conftest.er1
32667 grep -v '^ *+' conftest.er1 >conftest.err
32669 cat conftest.err >&5
32670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32671 (exit $ac_status); } && {
32672 test -z "$ac_c_werror_flag" ||
32673 test ! -s conftest.err
32674 } && test -s conftest$ac_exeext &&
32675 $as_test_x conftest$ac_exeext; then
32676 ac_cv_lib_ipc_shmat=yes
32678 echo "$as_me: failed program was:" >&5
32679 sed 's/^/| /' conftest.$ac_ext >&5
32681 ac_cv_lib_ipc_shmat=no
32684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32685 conftest$ac_exeext conftest.$ac_ext
32686 LIBS=$ac_check_lib_save_LIBS
32688 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32689 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32690 if test $ac_cv_lib_ipc_shmat = yes; then
32691 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32697 # Check for libraries that X11R6 Xt/Xaw programs need.
32698 ac_save_LDFLAGS=$LDFLAGS
32699 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32700 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32701 # check for ICE first), but we must link in the order -lSM -lICE or
32702 # we get undefined symbols. So assume we have SM if we have ICE.
32703 # These have to be linked with before -lX11, unlike the other
32704 # libraries we check for below, so use a different variable.
32705 # John Interrante, Karl Berry
32706 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32707 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32708 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32709 echo $ECHO_N "(cached) $ECHO_C" >&6
32711 ac_check_lib_save_LIBS=$LIBS
32712 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32713 cat >conftest.$ac_ext <<_ACEOF
32716 cat confdefs.h >>conftest.$ac_ext
32717 cat >>conftest.$ac_ext <<_ACEOF
32718 /* end confdefs.h. */
32720 /* Override any GCC internal prototype to avoid an error.
32721 Use char because int might match the return type of a GCC
32722 builtin and then its argument prototype would still apply. */
32726 char IceConnectionNumber ();
32730 return IceConnectionNumber ();
32735 rm -f conftest.$ac_objext conftest$ac_exeext
32736 if { (ac_try="$ac_link"
32737 case "(($ac_try" in
32738 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32739 *) ac_try_echo
=$ac_try;;
32741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32742 (eval "$ac_link") 2>conftest.er1
32744 grep -v '^ *+' conftest.er1
>conftest.err
32746 cat conftest.err
>&5
32747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32748 (exit $ac_status); } && {
32749 test -z "$ac_c_werror_flag" ||
32750 test ! -s conftest.err
32751 } && test -s conftest
$ac_exeext &&
32752 $as_test_x conftest
$ac_exeext; then
32753 ac_cv_lib_ICE_IceConnectionNumber
=yes
32755 echo "$as_me: failed program was:" >&5
32756 sed 's/^/| /' conftest.
$ac_ext >&5
32758 ac_cv_lib_ICE_IceConnectionNumber
=no
32761 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32762 conftest
$ac_exeext conftest.
$ac_ext
32763 LIBS
=$ac_check_lib_save_LIBS
32765 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32766 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32767 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32768 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
32771 LDFLAGS
=$ac_save_LDFLAGS
32776 if test "$no_x" = "yes"; then
32777 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32778 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32779 { (exit 1); exit 1; }; }
32782 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32783 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
32784 AFMINSTALL
=afminstall
32785 COMPILED_X_PROGRAM
=0
32789 if test "$wxUSE_X11" = 1; then
32790 if test "$wxUSE_NANOX" = "yes"; then
32791 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32792 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32793 if test "x$MICROWIN" = x
; then
32794 { echo "$as_me:$LINENO: result: not found" >&5
32795 echo "${ECHO_T}not found" >&6; }
32796 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32797 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32798 { (exit 1); exit 1; }; }
32800 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32801 echo "${ECHO_T}$MICROWIN" >&6; }
32802 cat >>confdefs.h
<<\_ACEOF
32803 #define wxUSE_NANOX 1
32809 if test "$wxUSE_UNICODE" = "yes"; then
32812 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32813 if test -n "$ac_tool_prefix"; then
32814 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32815 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
32816 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32818 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32819 echo $ECHO_N "(cached) $ECHO_C" >&6
32821 case $PKG_CONFIG in
32823 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
32826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32827 for as_dir
in $PATH
32830 test -z "$as_dir" && as_dir
=.
32831 for ac_exec_ext
in '' $ac_executable_extensions; do
32832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32833 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32844 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
32845 if test -n "$PKG_CONFIG"; then
32846 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32847 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32849 { echo "$as_me:$LINENO: result: no" >&5
32850 echo "${ECHO_T}no" >&6; }
32855 if test -z "$ac_cv_path_PKG_CONFIG"; then
32856 ac_pt_PKG_CONFIG
=$PKG_CONFIG
32857 # Extract the first word of "pkg-config", so it can be a program name with args.
32858 set dummy pkg
-config; ac_word
=$2
32859 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32861 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32862 echo $ECHO_N "(cached) $ECHO_C" >&6
32864 case $ac_pt_PKG_CONFIG in
32866 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32870 for as_dir
in $PATH
32873 test -z "$as_dir" && as_dir
=.
32874 for ac_exec_ext
in '' $ac_executable_extensions; do
32875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32876 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32887 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
32888 if test -n "$ac_pt_PKG_CONFIG"; then
32889 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32890 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32892 { echo "$as_me:$LINENO: result: no" >&5
32893 echo "${ECHO_T}no" >&6; }
32896 if test "x$ac_pt_PKG_CONFIG" = x
; then
32899 case $cross_compiling:$ac_tool_warned in
32901 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32902 whose name does not start with the host triplet. If you think this
32903 configuration is useful to you, please write to autoconf@gnu.org." >&5
32904 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32905 whose name does not start with the host triplet. If you think this
32906 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32907 ac_tool_warned
=yes ;;
32909 PKG_CONFIG
=$ac_pt_PKG_CONFIG
32912 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
32916 if test -n "$PKG_CONFIG"; then
32917 _pkg_min_version
=0.9.0
32918 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32919 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32920 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32921 { echo "$as_me:$LINENO: result: yes" >&5
32922 echo "${ECHO_T}yes" >&6; }
32924 { echo "$as_me:$LINENO: result: no" >&5
32925 echo "${ECHO_T}no" >&6; }
32933 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32934 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32936 if test -n "$PKG_CONFIG"; then
32937 if test -n "$PANGOX_CFLAGS"; then
32938 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
32940 if test -n "$PKG_CONFIG" && \
32941 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32942 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32945 (exit $ac_status); }; then
32946 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32954 if test -n "$PKG_CONFIG"; then
32955 if test -n "$PANGOX_LIBS"; then
32956 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
32958 if test -n "$PKG_CONFIG" && \
32959 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32960 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32963 (exit $ac_status); }; then
32964 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32975 if test $pkg_failed = yes; then
32977 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32978 _pkg_short_errors_supported
=yes
32980 _pkg_short_errors_supported
=no
32982 if test $_pkg_short_errors_supported = yes; then
32983 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32985 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32987 # Put the nasty error message in config.log where it belongs
32988 echo "$PANGOX_PKG_ERRORS" >&5
32991 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32992 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32993 { (exit 1); exit 1; }; }
32996 elif test $pkg_failed = untried
; then
32998 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32999 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33000 { (exit 1); exit 1; }; }
33004 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
33005 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
33006 { echo "$as_me:$LINENO: result: yes" >&5
33007 echo "${ECHO_T}yes" >&6; }
33009 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
33010 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
33011 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
33016 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33017 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33019 if test -n "$PKG_CONFIG"; then
33020 if test -n "$PANGOFT2_CFLAGS"; then
33021 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
33023 if test -n "$PKG_CONFIG" && \
33024 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33025 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33028 (exit $ac_status); }; then
33029 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33037 if test -n "$PKG_CONFIG"; then
33038 if test -n "$PANGOFT2_LIBS"; then
33039 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
33041 if test -n "$PKG_CONFIG" && \
33042 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33043 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33046 (exit $ac_status); }; then
33047 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33058 if test $pkg_failed = yes; then
33060 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33061 _pkg_short_errors_supported
=yes
33063 _pkg_short_errors_supported
=no
33065 if test $_pkg_short_errors_supported = yes; then
33066 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33068 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33070 # Put the nasty error message in config.log where it belongs
33071 echo "$PANGOFT2_PKG_ERRORS" >&5
33074 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33075 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33076 wxUSE_PRINTING_ARCHITECTURE
="no"
33079 elif test $pkg_failed = untried
; then
33081 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33082 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33083 wxUSE_PRINTING_ARCHITECTURE
="no"
33087 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
33088 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
33089 { echo "$as_me:$LINENO: result: yes" >&5
33090 echo "${ECHO_T}yes" >&6; }
33092 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
33093 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
33094 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33099 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33100 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33102 if test -n "$PKG_CONFIG"; then
33103 if test -n "$PANGOXFT_CFLAGS"; then
33104 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
33106 if test -n "$PKG_CONFIG" && \
33107 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33108 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33111 (exit $ac_status); }; then
33112 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33120 if test -n "$PKG_CONFIG"; then
33121 if test -n "$PANGOXFT_LIBS"; then
33122 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
33124 if test -n "$PKG_CONFIG" && \
33125 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33126 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33129 (exit $ac_status); }; then
33130 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33141 if test $pkg_failed = yes; then
33143 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33144 _pkg_short_errors_supported
=yes
33146 _pkg_short_errors_supported
=no
33148 if test $_pkg_short_errors_supported = yes; then
33149 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33151 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33153 # Put the nasty error message in config.log where it belongs
33154 echo "$PANGOXFT_PKG_ERRORS" >&5
33157 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33158 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33161 elif test $pkg_failed = untried
; then
33163 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33164 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33168 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
33169 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
33170 { echo "$as_me:$LINENO: result: yes" >&5
33171 echo "${ECHO_T}yes" >&6; }
33173 cat >>confdefs.h
<<\_ACEOF
33174 #define HAVE_PANGO_XFT 1
33177 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
33178 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
33179 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33183 LIBS
="$LIBS $PANGOX_LIBS"
33185 for ac_func
in pango_font_family_is_monospace
33187 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33188 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33190 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33191 echo $ECHO_N "(cached) $ECHO_C" >&6
33193 cat >conftest.
$ac_ext <<_ACEOF
33196 cat confdefs.h
>>conftest.
$ac_ext
33197 cat >>conftest.
$ac_ext <<_ACEOF
33198 /* end confdefs.h. */
33199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33201 #define $ac_func innocuous_$ac_func
33203 /* System header to define __stub macros and hopefully few prototypes,
33204 which can conflict with char $ac_func (); below.
33205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33206 <limits.h> exists even on freestanding compilers. */
33209 # include <limits.h>
33211 # include <assert.h>
33216 /* Override any GCC internal prototype to avoid an error.
33217 Use char because int might match the return type of a GCC
33218 builtin and then its argument prototype would still apply. */
33223 /* The GNU C library defines this for functions which it implements
33224 to always fail with ENOSYS. Some functions are actually named
33225 something starting with __ and the normal name is an alias. */
33226 #if defined __stub_$ac_func || defined __stub___$ac_func
33233 return $ac_func ();
33238 rm -f conftest.
$ac_objext conftest
$ac_exeext
33239 if { (ac_try
="$ac_link"
33240 case "(($ac_try" in
33241 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33242 *) ac_try_echo=$ac_try;;
33244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33245 (eval "$ac_link") 2>conftest.er1
33247 grep -v '^ *+' conftest.er1 >conftest.err
33249 cat conftest.err >&5
33250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33251 (exit $ac_status); } && {
33252 test -z "$ac_c_werror_flag" ||
33253 test ! -s conftest.err
33254 } && test -s conftest$ac_exeext &&
33255 $as_test_x conftest$ac_exeext; then
33256 eval "$as_ac_var=yes"
33258 echo "$as_me: failed program was:" >&5
33259 sed 's/^/| /' conftest.$ac_ext >&5
33261 eval "$as_ac_var=no"
33264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33265 conftest$ac_exeext conftest.$ac_ext
33267 ac_res=`eval echo '${'$as_ac_var'}'`
33268 { echo "$as_me:$LINENO: result: $ac_res" >&5
33269 echo "${ECHO_T}$ac_res" >&6; }
33270 if test `eval echo '${'$as_ac_var'}'` = yes; then
33271 cat >>confdefs.h <<_ACEOF
33272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33281 wxUSE_UNIVERSAL="yes"
33283 if test "$wxUSE_NANOX" = "yes"; then
33284 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33285 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"
33286 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33288 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33295 if test "$wxUSE_MOTIF" = 1; then
33296 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33297 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33300 for ac_dir in $SEARCH_INCLUDE /usr/include
33302 if test -f "$ac_dir/Xm/Xm.h"; then
33303 ac_find_includes=$ac_dir
33308 if test "$ac_find_includes" != "" ; then
33309 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33310 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33312 if test "x$ac_find_includes" = "x/usr/include"; then
33313 ac_path_to_include=""
33315 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33317 if test $result = 0; then
33318 ac_path_to_include=""
33320 ac_path_to_include=" -I$ac_find_includes"
33324 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33326 save_CFLAGS=$CFLAGS
33327 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33329 cat >conftest.$ac_ext <<_ACEOF
33332 cat confdefs.h >>conftest.$ac_ext
33333 cat >>conftest.$ac_ext <<_ACEOF
33334 /* end confdefs.h. */
33343 version = xmUseVersion;
33349 rm -f conftest.$ac_objext
33350 if { (ac_try="$ac_compile"
33351 case "(($ac_try" in
33352 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33353 *) ac_try_echo
=$ac_try;;
33355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33356 (eval "$ac_compile") 2>conftest.er1
33358 grep -v '^ *+' conftest.er1
>conftest.err
33360 cat conftest.err
>&5
33361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33362 (exit $ac_status); } && {
33363 test -z "$ac_c_werror_flag" ||
33364 test ! -s conftest.err
33365 } && test -s conftest.
$ac_objext; then
33367 { echo "$as_me:$LINENO: result: found in default search path" >&5
33368 echo "${ECHO_T}found in default search path" >&6; }
33369 COMPILED_X_PROGRAM
=1
33372 echo "$as_me: failed program was:" >&5
33373 sed 's/^/| /' conftest.
$ac_ext >&5
33376 { echo "$as_me:$LINENO: result: no" >&5
33377 echo "${ECHO_T}no" >&6; }
33378 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33379 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33380 { (exit 1); exit 1; }; }
33385 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33387 CFLAGS
=$save_CFLAGS
33391 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33392 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33395 for ac_dir
in $SEARCH_LIB
33397 for ac_extension
in a so sl dylib dll.a
; do
33398 if test -f "$ac_dir/libXm.$ac_extension"; then
33399 ac_find_libraries
=$ac_dir
33406 if test "x$ac_find_libraries" != "x" ; then
33407 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33408 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33411 if test "$ac_find_libraries" = "default location"; then
33414 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
33416 if test $result = 0; then
33419 ac_path_to_link
=" -L$ac_find_libraries"
33423 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
33425 save_CFLAGS
=$CFLAGS
33426 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33428 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33430 cat >conftest.
$ac_ext <<_ACEOF
33433 cat confdefs.h
>>conftest.
$ac_ext
33434 cat >>conftest.
$ac_ext <<_ACEOF
33435 /* end confdefs.h. */
33444 version = xmUseVersion;
33450 rm -f conftest.
$ac_objext conftest
$ac_exeext
33451 if { (ac_try
="$ac_link"
33452 case "(($ac_try" in
33453 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33454 *) ac_try_echo=$ac_try;;
33456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33457 (eval "$ac_link") 2>conftest.er1
33459 grep -v '^ *+' conftest.er1 >conftest.err
33461 cat conftest.err >&5
33462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33463 (exit $ac_status); } && {
33464 test -z "$ac_c_werror_flag" ||
33465 test ! -s conftest.err
33466 } && test -s conftest$ac_exeext &&
33467 $as_test_x conftest$ac_exeext; then
33469 { echo "$as_me:$LINENO: result: found in default search path" >&5
33470 echo "${ECHO_T}found in default search path" >&6; }
33471 COMPILED_X_PROGRAM=1
33474 echo "$as_me: failed program was:" >&5
33475 sed 's/^/| /' conftest.$ac_ext >&5
33478 { echo "$as_me:$LINENO: result: no" >&5
33479 echo "${ECHO_T}no" >&6; }
33480 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33481 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33482 { (exit 1); exit 1; }; }
33487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33488 conftest$ac_exeext conftest.$ac_ext
33490 CFLAGS=$save_CFLAGS
33494 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33495 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33499 for libp in "" " -lXp"; do
33500 if test "$libs_found" = 0; then
33501 for libsm_ice in "" " -lSM -lICE"; do
33502 if test "$libs_found" = 0; then
33504 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33505 save_CFLAGS=$CFLAGS
33506 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33508 cat >conftest.$ac_ext <<_ACEOF
33511 cat confdefs.h >>conftest.$ac_ext
33512 cat >>conftest.$ac_ext <<_ACEOF
33513 /* end confdefs.h. */
33516 #include <Xm/List.h>
33522 XmString string = NULL;
33525 XmListAddItem(w, string, position);
33531 rm -f conftest.$ac_objext conftest$ac_exeext
33532 if { (ac_try="$ac_link"
33533 case "(($ac_try" in
33534 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33535 *) ac_try_echo
=$ac_try;;
33537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33538 (eval "$ac_link") 2>conftest.er1
33540 grep -v '^ *+' conftest.er1
>conftest.err
33542 cat conftest.err
>&5
33543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33544 (exit $ac_status); } && {
33545 test -z "$ac_c_werror_flag" ||
33546 test ! -s conftest.err
33547 } && test -s conftest
$ac_exeext &&
33548 $as_test_x conftest
$ac_exeext; then
33551 libsm_ice_link
="$libsm_ice"
33552 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33553 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33557 echo "$as_me: failed program was:" >&5
33558 sed 's/^/| /' conftest.
$ac_ext >&5
33564 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33565 conftest
$ac_exeext conftest.
$ac_ext
33568 CFLAGS
=$save_CFLAGS
33574 if test "$libs_found" = 0; then
33575 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33576 echo "${ECHO_T}can't find the right libraries" >&6; }
33577 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33578 echo "$as_me: error: can't link a simple motif program" >&2;}
33579 { (exit 1); exit 1; }; }
33582 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33583 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33584 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33585 echo $ECHO_N "(cached) $ECHO_C" >&6
33587 ac_check_lib_save_LIBS
=$LIBS
33589 cat >conftest.
$ac_ext <<_ACEOF
33592 cat confdefs.h
>>conftest.
$ac_ext
33593 cat >>conftest.
$ac_ext <<_ACEOF
33594 /* end confdefs.h. */
33596 /* Override any GCC internal prototype to avoid an error.
33597 Use char because int might match the return type of a GCC
33598 builtin and then its argument prototype would still apply. */
33602 char SgCreateList ();
33606 return SgCreateList ();
33611 rm -f conftest.
$ac_objext conftest
$ac_exeext
33612 if { (ac_try
="$ac_link"
33613 case "(($ac_try" in
33614 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33615 *) ac_try_echo=$ac_try;;
33617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33618 (eval "$ac_link") 2>conftest.er1
33620 grep -v '^ *+' conftest.er1 >conftest.err
33622 cat conftest.err >&5
33623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33624 (exit $ac_status); } && {
33625 test -z "$ac_c_werror_flag" ||
33626 test ! -s conftest.err
33627 } && test -s conftest$ac_exeext &&
33628 $as_test_x conftest$ac_exeext; then
33629 ac_cv_lib_Sgm_SgCreateList=yes
33631 echo "$as_me: failed program was:" >&5
33632 sed 's/^/| /' conftest.$ac_ext >&5
33634 ac_cv_lib_Sgm_SgCreateList=no
33637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33638 conftest$ac_exeext conftest.$ac_ext
33639 LIBS=$ac_check_lib_save_LIBS
33641 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33642 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33643 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33644 libsgm_link=" -lSgm"
33648 save_CFLAGS=$CFLAGS
33649 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33651 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33652 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33653 if test "${wx_cv_lib_motif2+set}" = set; then
33654 echo $ECHO_N "(cached) $ECHO_C" >&6
33656 cat >conftest.$ac_ext <<_ACEOF
33659 cat confdefs.h >>conftest.$ac_ext
33660 cat >>conftest.$ac_ext <<_ACEOF
33661 /* end confdefs.h. */
33669 #if XmVersion < 2000
33677 rm -f conftest.$ac_objext
33678 if { (ac_try="$ac_compile"
33679 case "(($ac_try" in
33680 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33681 *) ac_try_echo
=$ac_try;;
33683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33684 (eval "$ac_compile") 2>conftest.er1
33686 grep -v '^ *+' conftest.er1
>conftest.err
33688 cat conftest.err
>&5
33689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33690 (exit $ac_status); } && {
33691 test -z "$ac_c_werror_flag" ||
33692 test ! -s conftest.err
33693 } && test -s conftest.
$ac_objext; then
33694 wx_cv_lib_motif2
="yes"
33696 echo "$as_me: failed program was:" >&5
33697 sed 's/^/| /' conftest.
$ac_ext >&5
33699 wx_cv_lib_motif2
="no"
33702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33704 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33705 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33706 if test "$wx_cv_lib_motif2" = "yes"; then
33707 cat >>confdefs.h
<<\_ACEOF
33708 #define __WXMOTIF20__ 1
33712 cat >>confdefs.h
<<\_ACEOF
33713 #define __WXMOTIF20__ 0
33718 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33719 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33720 if test "${wx_cv_lib_lesstif+set}" = set; then
33721 echo $ECHO_N "(cached) $ECHO_C" >&6
33723 cat >conftest.
$ac_ext <<_ACEOF
33726 cat confdefs.h
>>conftest.
$ac_ext
33727 cat >>conftest.
$ac_ext <<_ACEOF
33728 /* end confdefs.h. */
33736 #if !defined(LesstifVersion) || LesstifVersion <= 0
33744 rm -f conftest.
$ac_objext
33745 if { (ac_try
="$ac_compile"
33746 case "(($ac_try" in
33747 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33748 *) ac_try_echo=$ac_try;;
33750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33751 (eval "$ac_compile") 2>conftest.er1
33753 grep -v '^ *+' conftest.er1 >conftest.err
33755 cat conftest.err >&5
33756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33757 (exit $ac_status); } && {
33758 test -z "$ac_c_werror_flag" ||
33759 test ! -s conftest.err
33760 } && test -s conftest.$ac_objext; then
33761 wx_cv_lib_lesstif="yes"
33763 echo "$as_me: failed program was:" >&5
33764 sed 's/^/| /' conftest.$ac_ext >&5
33766 wx_cv_lib_lesstif="no"
33769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33772 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33773 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33774 if test "$wx_cv_lib_lesstif" = "yes"; then
33775 cat >>confdefs.h <<\_ACEOF
33776 #define __WXLESSTIF__ 1
33780 cat >>confdefs.h <<\_ACEOF
33781 #define __WXLESSTIF__ 0
33786 CFLAGS=$save_CFLAGS
33788 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33793 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33794 if test "$wxUSE_LIBXPM" = "sys"; then
33795 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33796 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33799 for ac_dir in $SEARCH_LIB
33801 for ac_extension in a so sl dylib dll.a; do
33802 if test -f "$ac_dir/libXpm.$ac_extension"; then
33803 ac_find_libraries=$ac_dir
33809 if test "$ac_find_libraries" != "" ; then
33811 if test "$ac_find_libraries" = "default location"; then
33814 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33816 if test $result = 0; then
33819 ac_path_to_link=" -L$ac_find_libraries"
33823 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33824 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33825 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33827 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33828 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33829 if test "${wx_cv_x11_xpm_h+set}" = set; then
33830 echo $ECHO_N "(cached) $ECHO_C" >&6
33833 save_CFLAGS=$CFLAGS
33834 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33836 cat >conftest.$ac_ext <<_ACEOF
33839 cat confdefs.h >>conftest.$ac_ext
33840 cat >>conftest.$ac_ext <<_ACEOF
33841 /* end confdefs.h. */
33843 #include <X11/xpm.h>
33850 version = XpmLibraryVersion();
33856 rm -f conftest.$ac_objext
33857 if { (ac_try="$ac_compile"
33858 case "(($ac_try" in
33859 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33860 *) ac_try_echo
=$ac_try;;
33862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33863 (eval "$ac_compile") 2>conftest.er1
33865 grep -v '^ *+' conftest.er1
>conftest.err
33867 cat conftest.err
>&5
33868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33869 (exit $ac_status); } && {
33870 test -z "$ac_c_werror_flag" ||
33871 test ! -s conftest.err
33872 } && test -s conftest.
$ac_objext; then
33873 wx_cv_x11_xpm_h
=yes
33875 echo "$as_me: failed program was:" >&5
33876 sed 's/^/| /' conftest.
$ac_ext >&5
33882 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33884 CFLAGS
=$save_CFLAGS
33888 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33889 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33891 if test $wx_cv_x11_xpm_h = "yes"; then
33892 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
33893 cat >>confdefs.h
<<\_ACEOF
33894 #define wxHAVE_LIB_XPM 1
33898 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33899 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33905 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33906 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33907 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33908 echo $ECHO_N "(cached) $ECHO_C" >&6
33910 ac_check_lib_save_LIBS
=$LIBS
33911 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33912 cat >conftest.
$ac_ext <<_ACEOF
33915 cat confdefs.h
>>conftest.
$ac_ext
33916 cat >>conftest.
$ac_ext <<_ACEOF
33917 /* end confdefs.h. */
33919 /* Override any GCC internal prototype to avoid an error.
33920 Use char because int might match the return type of a GCC
33921 builtin and then its argument prototype would still apply. */
33925 char XShapeQueryExtension ();
33929 return XShapeQueryExtension ();
33934 rm -f conftest.
$ac_objext conftest
$ac_exeext
33935 if { (ac_try
="$ac_link"
33936 case "(($ac_try" in
33937 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33938 *) ac_try_echo=$ac_try;;
33940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33941 (eval "$ac_link") 2>conftest.er1
33943 grep -v '^ *+' conftest.er1 >conftest.err
33945 cat conftest.err >&5
33946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33947 (exit $ac_status); } && {
33948 test -z "$ac_c_werror_flag" ||
33949 test ! -s conftest.err
33950 } && test -s conftest$ac_exeext &&
33951 $as_test_x conftest$ac_exeext; then
33952 ac_cv_lib_Xext_XShapeQueryExtension=yes
33954 echo "$as_me: failed program was:" >&5
33955 sed 's/^/| /' conftest.$ac_ext >&5
33957 ac_cv_lib_Xext_XShapeQueryExtension=no
33960 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33961 conftest$ac_exeext conftest.$ac_ext
33962 LIBS=$ac_check_lib_save_LIBS
33964 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33965 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33966 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33968 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33974 if test "$wxHAVE_XEXT_LIB" = 1; then
33975 save_CFLAGS="$CFLAGS"
33976 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33978 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33979 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33980 cat >conftest.$ac_ext <<_ACEOF
33983 cat confdefs.h >>conftest.$ac_ext
33984 cat >>conftest.$ac_ext <<_ACEOF
33985 /* end confdefs.h. */
33987 #include <X11/Xlib.h>
33988 #include <X11/extensions/shape.h>
33994 int dummy1, dummy2;
33995 XShapeQueryExtension((Display*)NULL,
33996 (int*)NULL, (int*)NULL);
34002 rm -f conftest.$ac_objext
34003 if { (ac_try="$ac_compile"
34004 case "(($ac_try" in
34005 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34006 *) ac_try_echo
=$ac_try;;
34008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34009 (eval "$ac_compile") 2>conftest.er1
34011 grep -v '^ *+' conftest.er1
>conftest.err
34013 cat conftest.err
>&5
34014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34015 (exit $ac_status); } && {
34016 test -z "$ac_c_werror_flag" ||
34017 test ! -s conftest.err
34018 } && test -s conftest.
$ac_objext; then
34020 cat >>confdefs.h
<<\_ACEOF
34021 #define HAVE_XSHAPE 1
34024 { echo "$as_me:$LINENO: result: found" >&5
34025 echo "${ECHO_T}found" >&6; }
34028 echo "$as_me: failed program was:" >&5
34029 sed 's/^/| /' conftest.
$ac_ext >&5
34032 { echo "$as_me:$LINENO: result: not found" >&5
34033 echo "${ECHO_T}not found" >&6; }
34037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34038 CFLAGS
="$save_CFLAGS"
34043 if test "$wxUSE_OSX_CARBON" = 1; then
34044 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34045 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34046 if test "$GCC" = yes; then
34047 { echo "$as_me:$LINENO: result: gcc" >&5
34048 echo "${ECHO_T}gcc" >&6; }
34049 CPPFLAGS_PASCAL
="-fpascal-strings"
34050 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34051 { echo "$as_me:$LINENO: result: xlc" >&5
34052 echo "${ECHO_T}xlc" >&6; }
34053 CPPFLAGS_PASCAL
="-qmacpstr"
34055 { echo "$as_me:$LINENO: result: none" >&5
34056 echo "${ECHO_T}none" >&6; }
34059 if test "x$wxUSE_UNIX" = "xyes"; then
34060 CPPFLAGS
="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34062 CPPFLAGS
="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
34066 GUIDIST
=OSX_CARBON_DIST
34067 WXBASEPORT
="_carbon"
34069 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34072 if test "$wxUSE_OSX_COCOA" = 1; then
34074 GUIDIST
=OSX_COCOA_DIST
34076 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34079 if test "$wxUSE_OSX_IPHONE" = 1; then
34083 if test "$wxUSE_OLD_COCOA" = 1; then
34088 if test "$wxUSE_PM" = 1; then
34091 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34092 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34093 if test "${wx_cv_spbcdata+set}" = set; then
34094 echo $ECHO_N "(cached) $ECHO_C" >&6
34097 cat >conftest.
$ac_ext <<_ACEOF
34100 cat confdefs.h
>>conftest.
$ac_ext
34101 cat >>conftest.
$ac_ext <<_ACEOF
34102 /* end confdefs.h. */
34117 rm -f conftest.
$ac_objext
34118 if { (ac_try
="$ac_compile"
34119 case "(($ac_try" in
34120 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34121 *) ac_try_echo=$ac_try;;
34123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34124 (eval "$ac_compile") 2>conftest.er1
34126 grep -v '^ *+' conftest.er1 >conftest.err
34128 cat conftest.err >&5
34129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34130 (exit $ac_status); } && {
34131 test -z "$ac_c_werror_flag" ||
34132 test ! -s conftest.err
34133 } && test -s conftest.$ac_objext; then
34136 echo "$as_me: failed program was:" >&5
34137 sed 's/^/| /' conftest.$ac_ext >&5
34143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34147 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34148 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34150 if test $wx_cv_spbcdata = "yes"; then
34151 cat >>confdefs.h <<\_ACEOF
34152 #define HAVE_SPBCDATA 1
34158 if test "$TOOLKIT" = "PM" ; then
34161 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34164 if test "$wxUSE_UNIVERSAL" = "yes"; then
34165 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34169 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34170 DISTDIR="wx\$(TOOLKIT)"
34176 if test "$USE_WIN32" = 1 ; then
34180 GUIDIST="BASE_DIST"
34186 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34187 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34188 wxUSE_UNICODE_UTF8=yes
34189 elif test "$USE_OS2" = 1 ; then
34190 wxUSE_UNICODE_UTF8=yes
34192 wxUSE_UNICODE_UTF8=no
34197 if test "$wxUSE_GUI" = "yes"; then
34198 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34200 for ac_header in X11/Xlib.h
34202 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34203 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34204 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34205 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34206 echo $ECHO_N "(cached) $ECHO_C" >&6
34208 cat >conftest.$ac_ext <<_ACEOF
34211 cat confdefs.h >>conftest.$ac_ext
34212 cat >>conftest.$ac_ext <<_ACEOF
34213 /* end confdefs.h. */
34216 #include <$ac_header>
34218 rm -f conftest.$ac_objext
34219 if { (ac_try="$ac_compile"
34220 case "(($ac_try" in
34221 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34222 *) ac_try_echo
=$ac_try;;
34224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34225 (eval "$ac_compile") 2>conftest.er1
34227 grep -v '^ *+' conftest.er1
>conftest.err
34229 cat conftest.err
>&5
34230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34231 (exit $ac_status); } && {
34232 test -z "$ac_c_werror_flag" ||
34233 test ! -s conftest.err
34234 } && test -s conftest.
$ac_objext; then
34235 eval "$as_ac_Header=yes"
34237 echo "$as_me: failed program was:" >&5
34238 sed 's/^/| /' conftest.
$ac_ext >&5
34240 eval "$as_ac_Header=no"
34243 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34245 ac_res
=`eval echo '${'$as_ac_Header'}'`
34246 { echo "$as_me:$LINENO: result: $ac_res" >&5
34247 echo "${ECHO_T}$ac_res" >&6; }
34248 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34249 cat >>confdefs.h
<<_ACEOF
34250 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34258 for ac_header
in X
11/XKBlib.h
34260 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34261 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34263 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34264 echo $ECHO_N "(cached) $ECHO_C" >&6
34266 cat >conftest.
$ac_ext <<_ACEOF
34269 cat confdefs.h
>>conftest.
$ac_ext
34270 cat >>conftest.
$ac_ext <<_ACEOF
34271 /* end confdefs.h. */
34273 #if HAVE_X11_XLIB_H
34274 #include <X11/Xlib.h>
34278 #include <$ac_header>
34280 rm -f conftest.
$ac_objext
34281 if { (ac_try
="$ac_compile"
34282 case "(($ac_try" in
34283 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34284 *) ac_try_echo=$ac_try;;
34286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34287 (eval "$ac_compile") 2>conftest.er1
34289 grep -v '^ *+' conftest.er1 >conftest.err
34291 cat conftest.err >&5
34292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34293 (exit $ac_status); } && {
34294 test -z "$ac_c_werror_flag" ||
34295 test ! -s conftest.err
34296 } && test -s conftest.$ac_objext; then
34297 eval "$as_ac_Header=yes"
34299 echo "$as_me: failed program was:" >&5
34300 sed 's/^/| /' conftest.$ac_ext >&5
34302 eval "$as_ac_Header=no"
34305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34307 ac_res=`eval echo '${'$as_ac_Header'}'`
34308 { echo "$as_me:$LINENO: result: $ac_res" >&5
34309 echo "${ECHO_T}$ac_res" >&6; }
34310 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34311 cat >>confdefs.h <<_ACEOF
34312 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34325 if test "$wxUSE_DISPLAY" = "yes"; then
34326 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34327 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34328 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34331 for ac_dir in $SEARCH_LIB
34333 for ac_extension in a so sl dylib dll.a; do
34334 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34335 ac_find_libraries=$ac_dir
34341 if test "$ac_find_libraries" != "" ; then
34343 if test "$ac_find_libraries" = "default location"; then
34346 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34348 if test $result = 0; then
34351 ac_path_to_link=" -L$ac_find_libraries"
34355 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34356 LDFLAGS="$LDFLAGS $ac_path_to_link"
34359 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34360 { echo "$as_me:$LINENO: result: yes" >&5
34361 echo "${ECHO_T}yes" >&6; }
34363 { echo "$as_me:$LINENO: result: no" >&5
34364 echo "${ECHO_T}no" >&6; }
34365 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34366 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34369 elif test "$wxUSE_MSW" = 1; then
34370 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34371 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34372 if test "${ac_cv_header_ddraw_h+set}" = set; then
34373 echo $ECHO_N "(cached) $ECHO_C" >&6
34375 cat >conftest.$ac_ext <<_ACEOF
34378 cat confdefs.h >>conftest.$ac_ext
34379 cat >>conftest.$ac_ext <<_ACEOF
34380 /* end confdefs.h. */
34381 #include <windows.h>
34385 rm -f conftest.$ac_objext
34386 if { (ac_try="$ac_compile"
34387 case "(($ac_try" in
34388 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34389 *) ac_try_echo
=$ac_try;;
34391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34392 (eval "$ac_compile") 2>conftest.er1
34394 grep -v '^ *+' conftest.er1
>conftest.err
34396 cat conftest.err
>&5
34397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34398 (exit $ac_status); } && {
34399 test -z "$ac_c_werror_flag" ||
34400 test ! -s conftest.err
34401 } && test -s conftest.
$ac_objext; then
34402 ac_cv_header_ddraw_h
=yes
34404 echo "$as_me: failed program was:" >&5
34405 sed 's/^/| /' conftest.
$ac_ext >&5
34407 ac_cv_header_ddraw_h
=no
34410 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34412 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34413 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34419 if test "$wxUSE_DISPLAY" = "yes"; then
34420 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34421 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34422 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34425 for ac_dir
in $SEARCH_LIB
34427 for ac_extension
in a so sl dylib dll.a
; do
34428 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34429 ac_find_libraries
=$ac_dir
34435 if test "$ac_find_libraries" != "" ; then
34436 { echo "$as_me:$LINENO: result: yes" >&5
34437 echo "${ECHO_T}yes" >&6; }
34439 for ac_header
in X
11/extensions
/xf86vmode.h
34441 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34442 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34444 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34445 echo $ECHO_N "(cached) $ECHO_C" >&6
34447 cat >conftest.
$ac_ext <<_ACEOF
34450 cat confdefs.h
>>conftest.
$ac_ext
34451 cat >>conftest.
$ac_ext <<_ACEOF
34452 /* end confdefs.h. */
34454 #if HAVE_X11_XLIB_H
34455 #include <X11/Xlib.h>
34459 #include <$ac_header>
34461 rm -f conftest.
$ac_objext
34462 if { (ac_try
="$ac_compile"
34463 case "(($ac_try" in
34464 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34465 *) ac_try_echo=$ac_try;;
34467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34468 (eval "$ac_compile") 2>conftest.er1
34470 grep -v '^ *+' conftest.er1 >conftest.err
34472 cat conftest.err >&5
34473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34474 (exit $ac_status); } && {
34475 test -z "$ac_c_werror_flag" ||
34476 test ! -s conftest.err
34477 } && test -s conftest.$ac_objext; then
34478 eval "$as_ac_Header=yes"
34480 echo "$as_me: failed program was:" >&5
34481 sed 's/^/| /' conftest.$ac_ext >&5
34483 eval "$as_ac_Header=no"
34486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34488 ac_res=`eval echo '${'$as_ac_Header'}'`
34489 { echo "$as_me:$LINENO: result: $ac_res" >&5
34490 echo "${ECHO_T}$ac_res" >&6; }
34491 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34492 cat >>confdefs.h <<_ACEOF
34493 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34496 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34503 { echo "$as_me:$LINENO: result: no" >&5
34504 echo "${ECHO_T}no" >&6; }
34509 if test "$wxUSE_DETECT_SM" = "yes"; then
34510 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34511 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34512 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34515 for ac_dir in $SEARCH_LIB
34517 for ac_extension in a so sl dylib dll.a; do
34518 if test -f "$ac_dir/libSM.$ac_extension"; then
34519 ac_find_libraries=$ac_dir
34525 if test "$ac_find_libraries" != "" ; then
34527 if test "$ac_find_libraries" = "default location"; then
34530 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34532 if test $result = 0; then
34535 ac_path_to_link=" -L$ac_find_libraries"
34539 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34540 LDFLAGS="$LDFLAGS $ac_path_to_link"
34542 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34543 { echo "$as_me:$LINENO: result: yes" >&5
34544 echo "${ECHO_T}yes" >&6; }
34546 { echo "$as_me:$LINENO: result: no" >&5
34547 echo "${ECHO_T}no" >&6; }
34548 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34549 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34550 wxUSE_DETECT_SM="no"
34553 wxUSE_DETECT_SM="no"
34560 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34563 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34564 OPENGL_LIBS="-framework OpenGL -framework AGL"
34565 elif test "$wxUSE_MSW" = 1; then
34566 OPENGL_LIBS="-lopengl32 -lglu32"
34567 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34569 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34570 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34573 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
34575 if test -f "$ac_dir/GL/gl.h"; then
34576 ac_find_includes=$ac_dir
34581 if test "$ac_find_includes" != "" ; then
34582 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34583 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34585 if test "x$ac_find_includes" = "x/usr/include"; then
34586 ac_path_to_include=""
34588 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34590 if test $result = 0; then
34591 ac_path_to_include=""
34593 ac_path_to_include=" -I$ac_find_includes"
34597 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34599 { echo "$as_me:$LINENO: result: not found" >&5
34600 echo "${ECHO_T}not found" >&6; }
34603 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34604 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34605 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34606 echo $ECHO_N "(cached) $ECHO_C" >&6
34608 cat >conftest.$ac_ext <<_ACEOF
34611 cat confdefs.h >>conftest.$ac_ext
34612 cat >>conftest.$ac_ext <<_ACEOF
34613 /* end confdefs.h. */
34618 rm -f conftest.$ac_objext
34619 if { (ac_try="$ac_compile"
34620 case "(($ac_try" in
34621 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34622 *) ac_try_echo
=$ac_try;;
34624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34625 (eval "$ac_compile") 2>conftest.er1
34627 grep -v '^ *+' conftest.er1
>conftest.err
34629 cat conftest.err
>&5
34630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34631 (exit $ac_status); } && {
34632 test -z "$ac_c_werror_flag" ||
34633 test ! -s conftest.err
34634 } && test -s conftest.
$ac_objext; then
34635 ac_cv_header_GL_gl_h
=yes
34637 echo "$as_me: failed program was:" >&5
34638 sed 's/^/| /' conftest.
$ac_ext >&5
34640 ac_cv_header_GL_gl_h
=no
34643 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34645 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34646 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34647 if test $ac_cv_header_GL_gl_h = yes; then
34649 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34650 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34651 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34652 echo $ECHO_N "(cached) $ECHO_C" >&6
34654 cat >conftest.
$ac_ext <<_ACEOF
34657 cat confdefs.h
>>conftest.
$ac_ext
34658 cat >>conftest.
$ac_ext <<_ACEOF
34659 /* end confdefs.h. */
34662 #include <GL/glu.h>
34664 rm -f conftest.
$ac_objext
34665 if { (ac_try
="$ac_compile"
34666 case "(($ac_try" in
34667 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34668 *) ac_try_echo=$ac_try;;
34670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34671 (eval "$ac_compile") 2>conftest.er1
34673 grep -v '^ *+' conftest.er1 >conftest.err
34675 cat conftest.err >&5
34676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34677 (exit $ac_status); } && {
34678 test -z "$ac_c_werror_flag" ||
34679 test ! -s conftest.err
34680 } && test -s conftest.$ac_objext; then
34681 ac_cv_header_GL_glu_h=yes
34683 echo "$as_me: failed program was:" >&5
34684 sed 's/^/| /' conftest.$ac_ext >&5
34686 ac_cv_header_GL_glu_h=no
34689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34691 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34692 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34693 if test $ac_cv_header_GL_glu_h = yes; then
34697 { echo "$as_me:$LINENO: checking for -lGL" >&5
34698 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34701 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib
34703 for ac_extension in a so sl dylib dll.a; do
34704 if test -f "$ac_dir/libGL.$ac_extension"; then
34705 ac_find_libraries=$ac_dir
34711 if test "$ac_find_libraries" != "" ; then
34712 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34713 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34716 if test "$ac_find_libraries" = "default location"; then
34719 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34721 if test $result = 0; then
34724 ac_path_to_link=" -L$ac_find_libraries"
34728 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34729 LDFLAGS_GL="$ac_path_to_link"
34732 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34733 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34736 for ac_dir in $SEARCH_LIB
34738 for ac_extension in a so sl dylib dll.a; do
34739 if test -f "$ac_dir/libGLU.$ac_extension"; then
34740 ac_find_libraries=$ac_dir
34746 if test "$ac_find_libraries" != "" ; then
34748 if test "$ac_find_libraries" = "default location"; then
34751 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34753 if test $result = 0; then
34756 ac_path_to_link=" -L$ac_find_libraries"
34760 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34761 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34762 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34766 OPENGL_LIBS="-lGL -lGLU"
34767 { echo "$as_me:$LINENO: result: yes" >&5
34768 echo "${ECHO_T}yes" >&6; }
34770 { echo "$as_me:$LINENO: result: no" >&5
34771 echo "${ECHO_T}no" >&6; }
34774 { echo "$as_me:$LINENO: result: no" >&5
34775 echo "${ECHO_T}no" >&6; }
34778 if test "$found_gl" != 1; then
34779 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34780 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34783 for ac_dir in $SEARCH_LIB
34785 for ac_extension in a so sl dylib dll.a; do
34786 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34787 ac_find_libraries=$ac_dir
34793 if test "$ac_find_libraries" != "" ; then
34795 if test "$ac_find_libraries" = "default location"; then
34798 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34800 if test $result = 0; then
34803 ac_path_to_link=" -L$ac_find_libraries"
34807 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34808 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34809 { echo "$as_me:$LINENO: result: yes" >&5
34810 echo "${ECHO_T}yes" >&6; }
34812 { echo "$as_me:$LINENO: result: no" >&5
34813 echo "${ECHO_T}no" >&6; }
34825 if test "x$OPENGL_LIBS" = "x"; then
34826 if test "$wxUSE_OPENGL" = "yes"; then
34827 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34828 echo "$as_me: error: OpenGL libraries not available" >&2;}
34829 { (exit 1); exit 1; }; }
34831 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34832 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34838 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34839 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34843 if test "$wxUSE_OPENGL" = "auto"; then
34847 if test "$wxUSE_OPENGL" = "yes"; then
34849 cat >>confdefs.h <<\_ACEOF
34850 #define wxUSE_OPENGL 1
34853 cat >>confdefs.h <<\_ACEOF
34854 #define wxUSE_GLCANVAS 1
34857 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34862 if test -n "$TOOLKIT" ; then
34863 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34868 if test "$wxUSE_SHARED" = "yes"; then
34872 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34873 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34878 if test "$wxUSE_SHARED" = "yes"; then
34882 *-*-cygwin* | *-*-mingw* )
34883 wx_cv_version_script=no
34887 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34888 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34889 if test "${wx_cv_version_script+set}" = set; then
34890 echo $ECHO_N "(cached) $ECHO_C" >&6
34893 echo "VER_1 { *; };" >conftest.sym
34894 echo "int main() { return 0; }" >conftest.cpp
34897 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34898 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34900 (eval $ac_try) 2>&5
34902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34903 (exit $ac_status); }; } ; then
34904 if test -s conftest.stderr ; then
34905 wx_cv_version_script=no
34907 wx_cv_version_script=yes
34910 wx_cv_version_script=no
34913 if test $wx_cv_version_script = yes
34915 echo "struct B { virtual ~B() { } }; \
34916 struct D : public B { }; \
34917 void F() { D d; }" > conftest.cpp
34920 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34921 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34923 (eval $ac_try) 2>&5
34925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34926 (exit $ac_status); }; } &&
34928 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34929 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34931 (eval $ac_try) 2>&5
34933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34934 (exit $ac_status); }; }
34937 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34938 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34940 (eval $ac_try) 2>&5
34942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34943 (exit $ac_status); }; }
34945 wx_cv_version_script=yes
34947 wx_cv_version_script=no
34952 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34953 rm -f conftest1.output conftest2.output conftest3.output
34956 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34957 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34959 if test $wx_cv_version_script = yes ; then
34960 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34966 if test "$wxUSE_VISIBILITY" != "no"; then
34969 if test -n "$GCC"; then
34970 CFLAGS_VISIBILITY="-fvisibility=hidden"
34971 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34972 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34973 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
34974 if test "${wx_cv_cc_visibility+set}" = set; then
34975 echo $ECHO_N "(cached) $ECHO_C" >&6
34978 wx_save_CXXFLAGS="$CXXFLAGS"
34979 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34981 ac_cpp='$CXXCPP $CPPFLAGS'
34982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34986 cat >conftest.$ac_ext <<_ACEOF
34989 cat confdefs.h >>conftest.$ac_ext
34990 cat >>conftest.$ac_ext <<_ACEOF
34991 /* end confdefs.h. */
34993 /* we need gcc >= 4.0, older versions with visibility support
34994 didn't have class visibility: */
34995 #if defined(__GNUC__) && __GNUC__ < 4
34996 error this gcc is too old;
34999 /* visibility only makes sense for ELF shared libs: */
35000 #if !defined(__ELF__) && !defined(__APPLE__)
35001 error this platform has no visibility;
35004 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35005 extern __attribute__((__visibility__("default"))) int exportedvar;
35006 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35007 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35008 class __attribute__((__visibility__("default"))) Foo {
35020 rm -f conftest.$ac_objext
35021 if { (ac_try="$ac_compile"
35022 case "(($ac_try" in
35023 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35024 *) ac_try_echo
=$ac_try;;
35026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35027 (eval "$ac_compile") 2>conftest.er1
35029 grep -v '^ *+' conftest.er1
>conftest.err
35031 cat conftest.err
>&5
35032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35033 (exit $ac_status); } && {
35034 test -z "$ac_cxx_werror_flag" ||
35035 test ! -s conftest.err
35036 } && test -s conftest.
$ac_objext; then
35037 wx_cv_cc_visibility
=yes
35039 echo "$as_me: failed program was:" >&5
35040 sed 's/^/| /' conftest.
$ac_ext >&5
35042 wx_cv_cc_visibility
=no
35045 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35047 ac_cpp
='$CPP $CPPFLAGS'
35048 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35049 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35050 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35052 CXXFLAGS
="$wx_save_CXXFLAGS"
35055 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35056 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35057 if test $wx_cv_cc_visibility = yes; then
35058 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
35059 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
35060 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
35061 echo $ECHO_N "(cached) $ECHO_C" >&6
35064 wx_save_CXXFLAGS
="$CXXFLAGS"
35065 wx_save_LDFLAGS
="$LDFLAGS"
35066 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35067 LDFLAGS
="$LDFLAGS -shared -fPIC"
35069 ac_cpp
='$CXXCPP $CPPFLAGS'
35070 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35071 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35072 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35074 cat >conftest.
$ac_ext <<_ACEOF
35077 cat confdefs.h
>>conftest.
$ac_ext
35078 cat >>conftest.
$ac_ext <<_ACEOF
35079 /* end confdefs.h. */
35087 std::string s("hello");
35094 rm -f conftest.
$ac_objext conftest
$ac_exeext
35095 if { (ac_try
="$ac_link"
35096 case "(($ac_try" in
35097 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35098 *) ac_try_echo=$ac_try;;
35100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35101 (eval "$ac_link") 2>conftest.er1
35103 grep -v '^ *+' conftest.er1 >conftest.err
35105 cat conftest.err >&5
35106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35107 (exit $ac_status); } && {
35108 test -z "$ac_cxx_werror_flag" ||
35109 test ! -s conftest.err
35110 } && test -s conftest$ac_exeext &&
35111 $as_test_x conftest$ac_exeext; then
35112 wx_cv_cc_broken_libstdcxx_visibility=no
35114 echo "$as_me: failed program was:" >&5
35115 sed 's/^/| /' conftest.$ac_ext >&5
35117 wx_cv_cc_broken_libstdcxx_visibility=yes
35120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35121 conftest$ac_exeext conftest.$ac_ext
35123 ac_cpp='$CPP $CPPFLAGS'
35124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35128 CXXFLAGS="$wx_save_CXXFLAGS"
35129 LDFLAGS="$wx_save_LDFLAGS"
35132 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
35133 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
35135 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35136 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
35137 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
35138 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
35139 echo $ECHO_N "(cached) $ECHO_C" >&6
35143 ac_cpp='$CXXCPP $CPPFLAGS'
35144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35148 cat >conftest.$ac_ext <<_ACEOF
35151 cat confdefs.h >>conftest.$ac_ext
35152 cat >>conftest.$ac_ext <<_ACEOF
35153 /* end confdefs.h. */
35155 #pragma GCC visibility push(default)
35157 #pragma GCC visibility pop
35163 std::string s("hello");
35170 rm -f conftest.$ac_objext conftest$ac_exeext
35171 if { (ac_try="$ac_link"
35172 case "(($ac_try" in
35173 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35174 *) ac_try_echo
=$ac_try;;
35176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35177 (eval "$ac_link") 2>conftest.er1
35179 grep -v '^ *+' conftest.er1
>conftest.err
35181 cat conftest.err
>&5
35182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35183 (exit $ac_status); } && {
35184 test -z "$ac_cxx_werror_flag" ||
35185 test ! -s conftest.err
35186 } && test -s conftest
$ac_exeext &&
35187 $as_test_x conftest
$ac_exeext; then
35188 wx_cv_cc_visibility_workaround
=no
35190 echo "$as_me: failed program was:" >&5
35191 sed 's/^/| /' conftest.
$ac_ext >&5
35193 wx_cv_cc_visibility_workaround
=yes
35196 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35197 conftest
$ac_exeext conftest.
$ac_ext
35199 ac_cpp
='$CPP $CPPFLAGS'
35200 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35201 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35202 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35207 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
35208 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
35210 if test $wx_cv_cc_visibility_workaround = no
; then
35211 wx_cv_cc_visibility
=no
35216 if test $wx_cv_cc_visibility = yes; then
35217 cat >>confdefs.h
<<\_ACEOF
35218 #define HAVE_VISIBILITY 1
35221 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35222 cat >>confdefs.h
<<\_ACEOF
35223 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
35228 CFLAGS_VISIBILITY
=""
35229 CXXFLAGS_VISIBILITY
=""
35237 if test "x$SUNCXX" = xyes
; then
35238 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
35239 WXCONFIG_RPATH
="-R\$libdir"
35242 *-*-linux* | *-*-gnu* )
35243 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
35244 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
35249 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
35251 saveLdflags
="$LDFLAGS"
35252 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
35253 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35254 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35255 cat >conftest.
$ac_ext <<_ACEOF
35258 cat confdefs.h
>>conftest.
$ac_ext
35259 cat >>conftest.
$ac_ext <<_ACEOF
35260 /* end confdefs.h. */
35270 rm -f conftest.
$ac_objext conftest
$ac_exeext
35271 if { (ac_try
="$ac_link"
35272 case "(($ac_try" in
35273 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35274 *) ac_try_echo=$ac_try;;
35276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35277 (eval "$ac_link") 2>conftest.er1
35279 grep -v '^ *+' conftest.er1 >conftest.err
35281 cat conftest.err >&5
35282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35283 (exit $ac_status); } && {
35284 test -z "$ac_c_werror_flag" ||
35285 test ! -s conftest.err
35286 } && test -s conftest$ac_exeext &&
35287 $as_test_x conftest$ac_exeext; then
35289 { echo "$as_me:$LINENO: result: yes" >&5
35290 echo "${ECHO_T}yes" >&6; }
35291 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35292 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35295 echo "$as_me: failed program was:" >&5
35296 sed 's/^/| /' conftest.$ac_ext >&5
35299 { echo "$as_me:$LINENO: result: no" >&5
35300 echo "${ECHO_T}no" >&6; }
35301 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35302 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35303 LDFLAGS="$saveLdflags -Wl,-R,/"
35304 cat >conftest.$ac_ext <<_ACEOF
35307 cat confdefs.h >>conftest.$ac_ext
35308 cat >>conftest.$ac_ext <<_ACEOF
35309 /* end confdefs.h. */
35319 rm -f conftest.$ac_objext conftest$ac_exeext
35320 if { (ac_try="$ac_link"
35321 case "(($ac_try" in
35322 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35323 *) ac_try_echo
=$ac_try;;
35325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35326 (eval "$ac_link") 2>conftest.er1
35328 grep -v '^ *+' conftest.er1
>conftest.err
35330 cat conftest.err
>&5
35331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35332 (exit $ac_status); } && {
35333 test -z "$ac_c_werror_flag" ||
35334 test ! -s conftest.err
35335 } && test -s conftest
$ac_exeext &&
35336 $as_test_x conftest
$ac_exeext; then
35338 { echo "$as_me:$LINENO: result: yes" >&5
35339 echo "${ECHO_T}yes" >&6; }
35340 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
35341 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
35344 echo "$as_me: failed program was:" >&5
35345 sed 's/^/| /' conftest.
$ac_ext >&5
35348 { echo "$as_me:$LINENO: result: no" >&5
35349 echo "${ECHO_T}no" >&6; }
35353 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35354 conftest
$ac_exeext conftest.
$ac_ext
35358 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35359 conftest
$ac_exeext conftest.
$ac_ext
35360 LDFLAGS
="$saveLdflags"
35364 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
35365 if test "$install_name_tool" -a -x "$install_name_tool"; then
35366 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35367 cat <<EOF >change-install-names
35369 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35370 for i in \${libnames} ; do
35371 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
35372 for dep in \${libnames} ; do
35373 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
35377 chmod +x change
-install-names
35378 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
35381 HEADER_PAD_OPTION
="-headerpad_max_install_names"
35384 *-*-cygwin* | *-*-mingw32* )
35388 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
35389 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
35395 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35397 if test $wxUSE_RPATH = "no"; then
35398 SAMPLES_RPATH_FLAG
=''
35399 DYLIB_PATH_POSTLINK
=''
35407 config_linkage_component
="-static"
35414 lib_unicode_suffix
=
35416 if test "$wxUSE_UNICODE" = "yes"; then
35417 lib_unicode_suffix
=u
35418 WX_CHARTYPE
="unicode"
35422 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
35423 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
35426 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35430 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35432 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35434 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35437 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35438 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35440 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35442 if test "${TOOLKIT_DIR}" = "os2"; then
35443 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35445 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35450 if test "$wxUSE_OLD_COCOA" = 1; then
35453 ac_cpp
='$CPP $CPPFLAGS'
35454 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35455 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35456 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35460 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35461 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35462 cat >conftest.
$ac_ext <<_ACEOF
35465 cat confdefs.h
>>conftest.
$ac_ext
35466 cat >>conftest.
$ac_ext <<_ACEOF
35467 /* end confdefs.h. */
35468 #include <AppKit/NSEvent.h>
35469 #include <CoreFoundation/CoreFoundation.h>
35479 rm -f conftest.
$ac_objext
35480 if { (ac_try
="$ac_compile"
35481 case "(($ac_try" in
35482 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35483 *) ac_try_echo=$ac_try;;
35485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35486 (eval "$ac_compile") 2>conftest.er1
35488 grep -v '^ *+' conftest.er1 >conftest.err
35490 cat conftest.err >&5
35491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35492 (exit $ac_status); } && {
35493 test -z "$ac_c_werror_flag" ||
35494 test ! -s conftest.err
35495 } && test -s conftest.$ac_objext; then
35496 { echo "$as_me:$LINENO: result: no" >&5
35497 echo "${ECHO_T}no" >&6; }
35499 echo "$as_me: failed program was:" >&5
35500 sed 's/^/| /' conftest.$ac_ext >&5
35502 { echo "$as_me:$LINENO: result: yes" >&5
35503 echo "${ECHO_T}yes" >&6; }
35504 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35505 echo $ECHO_N "checking if defining __Point__ will fix it... $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 #define __Point__ 1
35513 #include <AppKit/NSEvent.h>
35514 #include <CoreFoundation/CoreFoundation.h>
35524 rm -f conftest.$ac_objext
35525 if { (ac_try="$ac_compile"
35526 case "(($ac_try" in
35527 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35528 *) ac_try_echo
=$ac_try;;
35530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35531 (eval "$ac_compile") 2>conftest.er1
35533 grep -v '^ *+' conftest.er1
>conftest.err
35535 cat conftest.err
>&5
35536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35537 (exit $ac_status); } && {
35538 test -z "$ac_c_werror_flag" ||
35539 test ! -s conftest.err
35540 } && test -s conftest.
$ac_objext; then
35541 { echo "$as_me:$LINENO: result: yes" >&5
35542 echo "${ECHO_T}yes" >&6; }
35543 cat >>confdefs.h
<<\_ACEOF
35544 #define __Point__ 1
35549 echo "$as_me: failed program was:" >&5
35550 sed 's/^/| /' conftest.
$ac_ext >&5
35552 { { echo "$as_me:$LINENO: error: no
35553 See \`config.log' for more details." >&5
35554 echo "$as_me: error: no
35555 See \`config.log' for more details." >&2;}
35556 { (exit 1); exit 1; }; }
35560 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35564 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35566 ac_cpp
='$CPP $CPPFLAGS'
35567 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35568 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35569 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35574 { echo "$as_me:$LINENO: checking for mode_t" >&5
35575 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35576 if test "${ac_cv_type_mode_t+set}" = set; then
35577 echo $ECHO_N "(cached) $ECHO_C" >&6
35579 cat >conftest.
$ac_ext <<_ACEOF
35582 cat confdefs.h
>>conftest.
$ac_ext
35583 cat >>conftest.
$ac_ext <<_ACEOF
35584 /* end confdefs.h. */
35585 $ac_includes_default
35586 typedef mode_t ac__type_new_;
35590 if ((ac__type_new_ *) 0)
35592 if (sizeof (ac__type_new_))
35598 rm -f conftest.
$ac_objext
35599 if { (ac_try
="$ac_compile"
35600 case "(($ac_try" in
35601 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35602 *) ac_try_echo=$ac_try;;
35604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35605 (eval "$ac_compile") 2>conftest.er1
35607 grep -v '^ *+' conftest.er1 >conftest.err
35609 cat conftest.err >&5
35610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35611 (exit $ac_status); } && {
35612 test -z "$ac_c_werror_flag" ||
35613 test ! -s conftest.err
35614 } && test -s conftest.$ac_objext; then
35615 ac_cv_type_mode_t=yes
35617 echo "$as_me: failed program was:" >&5
35618 sed 's/^/| /' conftest.$ac_ext >&5
35620 ac_cv_type_mode_t=no
35623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35625 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35626 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35627 if test $ac_cv_type_mode_t = yes; then
35631 cat >>confdefs.h <<_ACEOF
35637 { echo "$as_me:$LINENO: checking for off_t" >&5
35638 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35639 if test "${ac_cv_type_off_t+set}" = set; then
35640 echo $ECHO_N "(cached) $ECHO_C" >&6
35642 cat >conftest.$ac_ext <<_ACEOF
35645 cat confdefs.h >>conftest.$ac_ext
35646 cat >>conftest.$ac_ext <<_ACEOF
35647 /* end confdefs.h. */
35648 $ac_includes_default
35649 typedef off_t ac__type_new_;
35653 if ((ac__type_new_ *) 0)
35655 if (sizeof (ac__type_new_))
35661 rm -f conftest.$ac_objext
35662 if { (ac_try="$ac_compile"
35663 case "(($ac_try" in
35664 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35665 *) ac_try_echo
=$ac_try;;
35667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35668 (eval "$ac_compile") 2>conftest.er1
35670 grep -v '^ *+' conftest.er1
>conftest.err
35672 cat conftest.err
>&5
35673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35674 (exit $ac_status); } && {
35675 test -z "$ac_c_werror_flag" ||
35676 test ! -s conftest.err
35677 } && test -s conftest.
$ac_objext; then
35678 ac_cv_type_off_t
=yes
35680 echo "$as_me: failed program was:" >&5
35681 sed 's/^/| /' conftest.
$ac_ext >&5
35683 ac_cv_type_off_t
=no
35686 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35688 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35689 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35690 if test $ac_cv_type_off_t = yes; then
35694 cat >>confdefs.h
<<_ACEOF
35695 #define off_t long int
35700 { echo "$as_me:$LINENO: checking for pid_t" >&5
35701 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35702 if test "${ac_cv_type_pid_t+set}" = set; then
35703 echo $ECHO_N "(cached) $ECHO_C" >&6
35705 cat >conftest.
$ac_ext <<_ACEOF
35708 cat confdefs.h
>>conftest.
$ac_ext
35709 cat >>conftest.
$ac_ext <<_ACEOF
35710 /* end confdefs.h. */
35711 $ac_includes_default
35712 typedef pid_t ac__type_new_;
35716 if ((ac__type_new_ *) 0)
35718 if (sizeof (ac__type_new_))
35724 rm -f conftest.
$ac_objext
35725 if { (ac_try
="$ac_compile"
35726 case "(($ac_try" in
35727 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35728 *) ac_try_echo=$ac_try;;
35730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35731 (eval "$ac_compile") 2>conftest.er1
35733 grep -v '^ *+' conftest.er1 >conftest.err
35735 cat conftest.err >&5
35736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35737 (exit $ac_status); } && {
35738 test -z "$ac_c_werror_flag" ||
35739 test ! -s conftest.err
35740 } && test -s conftest.$ac_objext; then
35741 ac_cv_type_pid_t=yes
35743 echo "$as_me: failed program was:" >&5
35744 sed 's/^/| /' conftest.$ac_ext >&5
35746 ac_cv_type_pid_t=no
35749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35751 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35752 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35753 if test $ac_cv_type_pid_t = yes; then
35757 cat >>confdefs.h <<_ACEOF
35763 { echo "$as_me:$LINENO: checking for size_t" >&5
35764 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35765 if test "${ac_cv_type_size_t+set}" = set; then
35766 echo $ECHO_N "(cached) $ECHO_C" >&6
35768 cat >conftest.$ac_ext <<_ACEOF
35771 cat confdefs.h >>conftest.$ac_ext
35772 cat >>conftest.$ac_ext <<_ACEOF
35773 /* end confdefs.h. */
35774 $ac_includes_default
35775 typedef size_t ac__type_new_;
35779 if ((ac__type_new_ *) 0)
35781 if (sizeof (ac__type_new_))
35787 rm -f conftest.$ac_objext
35788 if { (ac_try="$ac_compile"
35789 case "(($ac_try" in
35790 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35791 *) ac_try_echo
=$ac_try;;
35793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35794 (eval "$ac_compile") 2>conftest.er1
35796 grep -v '^ *+' conftest.er1
>conftest.err
35798 cat conftest.err
>&5
35799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35800 (exit $ac_status); } && {
35801 test -z "$ac_c_werror_flag" ||
35802 test ! -s conftest.err
35803 } && test -s conftest.
$ac_objext; then
35804 ac_cv_type_size_t
=yes
35806 echo "$as_me: failed program was:" >&5
35807 sed 's/^/| /' conftest.
$ac_ext >&5
35809 ac_cv_type_size_t
=no
35812 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35814 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35815 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35816 if test $ac_cv_type_size_t = yes; then
35820 cat >>confdefs.h
<<_ACEOF
35821 #define size_t unsigned int
35827 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35828 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35829 if test "${ac_cv_type_ssize_t+set}" = set; then
35830 echo $ECHO_N "(cached) $ECHO_C" >&6
35832 cat >conftest.
$ac_ext <<_ACEOF
35835 cat confdefs.h
>>conftest.
$ac_ext
35836 cat >>conftest.
$ac_ext <<_ACEOF
35837 /* end confdefs.h. */
35838 $ac_includes_default
35839 typedef ssize_t ac__type_new_;
35843 if ((ac__type_new_ *) 0)
35845 if (sizeof (ac__type_new_))
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_c_werror_flag" ||
35866 test ! -s conftest.err
35867 } && test -s conftest.$ac_objext; then
35868 ac_cv_type_ssize_t=yes
35870 echo "$as_me: failed program was:" >&5
35871 sed 's/^/| /' conftest.$ac_ext >&5
35873 ac_cv_type_ssize_t=no
35876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35878 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35879 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35880 if test $ac_cv_type_ssize_t = yes; then
35882 cat >>confdefs.h <<_ACEOF
35883 #define HAVE_SSIZE_T 1
35891 ac_cpp='$CXXCPP $CPPFLAGS'
35892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35895 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35896 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35897 if test "${wx_cv_size_t_is_uint+set}" = set; then
35898 echo $ECHO_N "(cached) $ECHO_C" >&6
35901 cat >conftest.$ac_ext <<_ACEOF
35904 cat confdefs.h >>conftest.$ac_ext
35905 cat >>conftest.$ac_ext <<_ACEOF
35906 /* end confdefs.h. */
35907 #include <stddef.h>
35914 struct Foo { void foo(size_t); void foo(unsigned int); };
35922 rm -f conftest.$ac_objext
35923 if { (ac_try="$ac_compile"
35924 case "(($ac_try" in
35925 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35926 *) ac_try_echo
=$ac_try;;
35928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35929 (eval "$ac_compile") 2>conftest.er1
35931 grep -v '^ *+' conftest.er1
>conftest.err
35933 cat conftest.err
>&5
35934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35935 (exit $ac_status); } && {
35936 test -z "$ac_cxx_werror_flag" ||
35937 test ! -s conftest.err
35938 } && test -s conftest.
$ac_objext; then
35939 wx_cv_size_t_is_uint
=no
35941 echo "$as_me: failed program was:" >&5
35942 sed 's/^/| /' conftest.
$ac_ext >&5
35944 wx_cv_size_t_is_uint
=yes
35948 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35952 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35953 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35955 if test "$wx_cv_size_t_is_uint" = "yes"; then
35956 cat >>confdefs.h
<<\_ACEOF
35957 #define wxSIZE_T_IS_UINT 1
35961 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35962 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35963 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35964 echo $ECHO_N "(cached) $ECHO_C" >&6
35966 cat >conftest.
$ac_ext <<_ACEOF
35969 cat confdefs.h
>>conftest.
$ac_ext
35970 cat >>conftest.
$ac_ext <<_ACEOF
35971 /* end confdefs.h. */
35972 #include <stddef.h>
35979 struct Foo { void foo(size_t); void foo(unsigned long); };
35987 rm -f conftest.
$ac_objext
35988 if { (ac_try
="$ac_compile"
35989 case "(($ac_try" in
35990 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35991 *) ac_try_echo=$ac_try;;
35993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35994 (eval "$ac_compile") 2>conftest.er1
35996 grep -v '^ *+' conftest.er1 >conftest.err
35998 cat conftest.err >&5
35999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36000 (exit $ac_status); } && {
36001 test -z "$ac_cxx_werror_flag" ||
36002 test ! -s conftest.err
36003 } && test -s conftest.$ac_objext; then
36004 wx_cv_size_t_is_ulong=no
36006 echo "$as_me: failed program was:" >&5
36007 sed 's/^/| /' conftest.$ac_ext >&5
36009 wx_cv_size_t_is_ulong=yes
36013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36016 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36017 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36019 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36020 cat >>confdefs.h <<\_ACEOF
36021 #define wxSIZE_T_IS_ULONG 1
36027 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36028 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36029 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36030 echo $ECHO_N "(cached) $ECHO_C" >&6
36032 cat >conftest.$ac_ext <<_ACEOF
36035 cat confdefs.h >>conftest.$ac_ext
36036 cat >>conftest.$ac_ext <<_ACEOF
36037 /* end confdefs.h. */
36045 struct Foo { void foo(wchar_t);
36046 void foo(unsigned short);
36047 void foo(unsigned int);
36048 void foo(unsigned long); };
36056 rm -f conftest.$ac_objext
36057 if { (ac_try="$ac_compile"
36058 case "(($ac_try" in
36059 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36060 *) ac_try_echo
=$ac_try;;
36062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36063 (eval "$ac_compile") 2>conftest.er1
36065 grep -v '^ *+' conftest.er1
>conftest.err
36067 cat conftest.err
>&5
36068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36069 (exit $ac_status); } && {
36070 test -z "$ac_cxx_werror_flag" ||
36071 test ! -s conftest.err
36072 } && test -s conftest.
$ac_objext; then
36073 wx_cv_wchar_t_is_separate_type
=yes
36075 echo "$as_me: failed program was:" >&5
36076 sed 's/^/| /' conftest.
$ac_ext >&5
36078 wx_cv_wchar_t_is_separate_type
=no
36082 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36085 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36086 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36088 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36089 cat >>confdefs.h
<<\_ACEOF
36090 #define wxWCHAR_T_IS_REAL_TYPE 1
36094 cat >>confdefs.h
<<\_ACEOF
36095 #define wxWCHAR_T_IS_REAL_TYPE 0
36101 ac_cpp
='$CPP $CPPFLAGS'
36102 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36103 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36104 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36107 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36108 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
36109 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36110 echo $ECHO_N "(cached) $ECHO_C" >&6
36113 cat >conftest.
$ac_ext <<_ACEOF
36116 cat confdefs.h
>>conftest.
$ac_ext
36117 cat >>conftest.
$ac_ext <<_ACEOF
36118 /* end confdefs.h. */
36132 rm -f conftest.
$ac_objext
36133 if { (ac_try
="$ac_compile"
36134 case "(($ac_try" in
36135 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36136 *) ac_try_echo=$ac_try;;
36138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36139 (eval "$ac_compile") 2>conftest.er1
36141 grep -v '^ *+' conftest.er1 >conftest.err
36143 cat conftest.err >&5
36144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36145 (exit $ac_status); } && {
36146 test -z "$ac_c_werror_flag" ||
36147 test ! -s conftest.err
36148 } && test -s conftest.$ac_objext; then
36150 wx_cv_struct_pw_gecos=yes
36153 echo "$as_me: failed program was:" >&5
36154 sed 's/^/| /' conftest.$ac_ext >&5
36157 wx_cv_struct_pw_gecos=no
36162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36166 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36167 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36169 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36170 cat >>confdefs.h <<\_ACEOF
36171 #define HAVE_PW_GECOS 1
36180 for ac_func in wcslen
36182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36183 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36185 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36186 echo $ECHO_N "(cached) $ECHO_C" >&6
36188 cat >conftest.$ac_ext <<_ACEOF
36191 cat confdefs.h >>conftest.$ac_ext
36192 cat >>conftest.$ac_ext <<_ACEOF
36193 /* end confdefs.h. */
36194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36196 #define $ac_func innocuous_$ac_func
36198 /* System header to define __stub macros and hopefully few prototypes,
36199 which can conflict with char $ac_func (); below.
36200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36201 <limits.h> exists even on freestanding compilers. */
36204 # include <limits.h>
36206 # include <assert.h>
36211 /* Override any GCC internal prototype to avoid an error.
36212 Use char because int might match the return type of a GCC
36213 builtin and then its argument prototype would still apply. */
36218 /* The GNU C library defines this for functions which it implements
36219 to always fail with ENOSYS. Some functions are actually named
36220 something starting with __ and the normal name is an alias. */
36221 #if defined __stub_$ac_func || defined __stub___$ac_func
36228 return $ac_func ();
36233 rm -f conftest.$ac_objext conftest$ac_exeext
36234 if { (ac_try="$ac_link"
36235 case "(($ac_try" in
36236 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36237 *) ac_try_echo
=$ac_try;;
36239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36240 (eval "$ac_link") 2>conftest.er1
36242 grep -v '^ *+' conftest.er1
>conftest.err
36244 cat conftest.err
>&5
36245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36246 (exit $ac_status); } && {
36247 test -z "$ac_c_werror_flag" ||
36248 test ! -s conftest.err
36249 } && test -s conftest
$ac_exeext &&
36250 $as_test_x conftest
$ac_exeext; then
36251 eval "$as_ac_var=yes"
36253 echo "$as_me: failed program was:" >&5
36254 sed 's/^/| /' conftest.
$ac_ext >&5
36256 eval "$as_ac_var=no"
36259 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36260 conftest
$ac_exeext conftest.
$ac_ext
36262 ac_res
=`eval echo '${'$as_ac_var'}'`
36263 { echo "$as_me:$LINENO: result: $ac_res" >&5
36264 echo "${ECHO_T}$ac_res" >&6; }
36265 if test `eval echo '${'$as_ac_var'}'` = yes; then
36266 cat >>confdefs.h
<<_ACEOF
36267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36274 if test "$WCSLEN_FOUND" = 0; then
36275 if test "$TOOLKIT" = "MSW"; then
36276 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36277 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
36278 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36279 echo $ECHO_N "(cached) $ECHO_C" >&6
36281 ac_check_lib_save_LIBS
=$LIBS
36282 LIBS
="-lmsvcrt $LIBS"
36283 cat >conftest.
$ac_ext <<_ACEOF
36286 cat confdefs.h
>>conftest.
$ac_ext
36287 cat >>conftest.
$ac_ext <<_ACEOF
36288 /* end confdefs.h. */
36290 /* Override any GCC internal prototype to avoid an error.
36291 Use char because int might match the return type of a GCC
36292 builtin and then its argument prototype would still apply. */
36305 rm -f conftest.
$ac_objext conftest
$ac_exeext
36306 if { (ac_try
="$ac_link"
36307 case "(($ac_try" in
36308 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36309 *) ac_try_echo=$ac_try;;
36311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36312 (eval "$ac_link") 2>conftest.er1
36314 grep -v '^ *+' conftest.er1 >conftest.err
36316 cat conftest.err >&5
36317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36318 (exit $ac_status); } && {
36319 test -z "$ac_c_werror_flag" ||
36320 test ! -s conftest.err
36321 } && test -s conftest$ac_exeext &&
36322 $as_test_x conftest$ac_exeext; then
36323 ac_cv_lib_msvcrt_wcslen=yes
36325 echo "$as_me: failed program was:" >&5
36326 sed 's/^/| /' conftest.$ac_ext >&5
36328 ac_cv_lib_msvcrt_wcslen=no
36331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36332 conftest$ac_exeext conftest.$ac_ext
36333 LIBS=$ac_check_lib_save_LIBS
36335 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36336 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36337 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36342 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36343 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36344 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36345 echo $ECHO_N "(cached) $ECHO_C" >&6
36347 ac_check_lib_save_LIBS=$LIBS
36349 cat >conftest.$ac_ext <<_ACEOF
36352 cat confdefs.h >>conftest.$ac_ext
36353 cat >>conftest.$ac_ext <<_ACEOF
36354 /* end confdefs.h. */
36356 /* Override any GCC internal prototype to avoid an error.
36357 Use char because int might match the return type of a GCC
36358 builtin and then its argument prototype would still apply. */
36371 rm -f conftest.$ac_objext conftest$ac_exeext
36372 if { (ac_try="$ac_link"
36373 case "(($ac_try" in
36374 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36375 *) ac_try_echo
=$ac_try;;
36377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36378 (eval "$ac_link") 2>conftest.er1
36380 grep -v '^ *+' conftest.er1
>conftest.err
36382 cat conftest.err
>&5
36383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36384 (exit $ac_status); } && {
36385 test -z "$ac_c_werror_flag" ||
36386 test ! -s conftest.err
36387 } && test -s conftest
$ac_exeext &&
36388 $as_test_x conftest
$ac_exeext; then
36389 ac_cv_lib_w_wcslen
=yes
36391 echo "$as_me: failed program was:" >&5
36392 sed 's/^/| /' conftest.
$ac_ext >&5
36394 ac_cv_lib_w_wcslen
=no
36397 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36398 conftest
$ac_exeext conftest.
$ac_ext
36399 LIBS
=$ac_check_lib_save_LIBS
36401 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36402 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36403 if test $ac_cv_lib_w_wcslen = yes; then
36413 if test "$WCSLEN_FOUND" = 1; then
36414 cat >>confdefs.h
<<\_ACEOF
36415 #define HAVE_WCSLEN 1
36426 for ac_func
in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
36428 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36429 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36431 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36432 echo $ECHO_N "(cached) $ECHO_C" >&6
36434 cat >conftest.
$ac_ext <<_ACEOF
36437 cat confdefs.h
>>conftest.
$ac_ext
36438 cat >>conftest.
$ac_ext <<_ACEOF
36439 /* end confdefs.h. */
36440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36442 #define $ac_func innocuous_$ac_func
36444 /* System header to define __stub macros and hopefully few prototypes,
36445 which can conflict with char $ac_func (); below.
36446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36447 <limits.h> exists even on freestanding compilers. */
36450 # include <limits.h>
36452 # include <assert.h>
36457 /* Override any GCC internal prototype to avoid an error.
36458 Use char because int might match the return type of a GCC
36459 builtin and then its argument prototype would still apply. */
36464 /* The GNU C library defines this for functions which it implements
36465 to always fail with ENOSYS. Some functions are actually named
36466 something starting with __ and the normal name is an alias. */
36467 #if defined __stub_$ac_func || defined __stub___$ac_func
36474 return $ac_func ();
36479 rm -f conftest.
$ac_objext conftest
$ac_exeext
36480 if { (ac_try
="$ac_link"
36481 case "(($ac_try" in
36482 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36483 *) ac_try_echo=$ac_try;;
36485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36486 (eval "$ac_link") 2>conftest.er1
36488 grep -v '^ *+' conftest.er1 >conftest.err
36490 cat conftest.err >&5
36491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36492 (exit $ac_status); } && {
36493 test -z "$ac_c_werror_flag" ||
36494 test ! -s conftest.err
36495 } && test -s conftest$ac_exeext &&
36496 $as_test_x conftest$ac_exeext; then
36497 eval "$as_ac_var=yes"
36499 echo "$as_me: failed program was:" >&5
36500 sed 's/^/| /' conftest.$ac_ext >&5
36502 eval "$as_ac_var=no"
36505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36506 conftest$ac_exeext conftest.$ac_ext
36508 ac_res=`eval echo '${'$as_ac_var'}'`
36509 { echo "$as_me:$LINENO: result: $ac_res" >&5
36510 echo "${ECHO_T}$ac_res" >&6; }
36511 if test `eval echo '${'$as_ac_var'}'` = yes; then
36512 cat >>confdefs.h <<_ACEOF
36513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36520 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36521 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36524 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36525 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36526 if test "${ac_cv_type_mbstate_t+set}" = set; then
36527 echo $ECHO_N "(cached) $ECHO_C" >&6
36529 cat >conftest.$ac_ext <<_ACEOF
36532 cat confdefs.h >>conftest.$ac_ext
36533 cat >>conftest.$ac_ext <<_ACEOF
36534 /* end confdefs.h. */
36537 typedef mbstate_t ac__type_new_;
36541 if ((ac__type_new_ *) 0)
36543 if (sizeof (ac__type_new_))
36549 rm -f conftest.$ac_objext
36550 if { (ac_try="$ac_compile"
36551 case "(($ac_try" in
36552 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36553 *) ac_try_echo
=$ac_try;;
36555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36556 (eval "$ac_compile") 2>conftest.er1
36558 grep -v '^ *+' conftest.er1
>conftest.err
36560 cat conftest.err
>&5
36561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36562 (exit $ac_status); } && {
36563 test -z "$ac_c_werror_flag" ||
36564 test ! -s conftest.err
36565 } && test -s conftest.
$ac_objext; then
36566 ac_cv_type_mbstate_t
=yes
36568 echo "$as_me: failed program was:" >&5
36569 sed 's/^/| /' conftest.
$ac_ext >&5
36571 ac_cv_type_mbstate_t
=no
36574 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36576 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36577 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36578 if test $ac_cv_type_mbstate_t = yes; then
36580 cat >>confdefs.h
<<_ACEOF
36581 #define HAVE_MBSTATE_T 1
36585 for ac_func
in wcsrtombs
36587 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36588 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36590 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36591 echo $ECHO_N "(cached) $ECHO_C" >&6
36593 cat >conftest.
$ac_ext <<_ACEOF
36596 cat confdefs.h
>>conftest.
$ac_ext
36597 cat >>conftest.
$ac_ext <<_ACEOF
36598 /* end confdefs.h. */
36599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36601 #define $ac_func innocuous_$ac_func
36603 /* System header to define __stub macros and hopefully few prototypes,
36604 which can conflict with char $ac_func (); below.
36605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36606 <limits.h> exists even on freestanding compilers. */
36609 # include <limits.h>
36611 # include <assert.h>
36616 /* Override any GCC internal prototype to avoid an error.
36617 Use char because int might match the return type of a GCC
36618 builtin and then its argument prototype would still apply. */
36623 /* The GNU C library defines this for functions which it implements
36624 to always fail with ENOSYS. Some functions are actually named
36625 something starting with __ and the normal name is an alias. */
36626 #if defined __stub_$ac_func || defined __stub___$ac_func
36633 return $ac_func ();
36638 rm -f conftest.
$ac_objext conftest
$ac_exeext
36639 if { (ac_try
="$ac_link"
36640 case "(($ac_try" in
36641 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36642 *) ac_try_echo=$ac_try;;
36644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36645 (eval "$ac_link") 2>conftest.er1
36647 grep -v '^ *+' conftest.er1 >conftest.err
36649 cat conftest.err >&5
36650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36651 (exit $ac_status); } && {
36652 test -z "$ac_c_werror_flag" ||
36653 test ! -s conftest.err
36654 } && test -s conftest$ac_exeext &&
36655 $as_test_x conftest$ac_exeext; then
36656 eval "$as_ac_var=yes"
36658 echo "$as_me: failed program was:" >&5
36659 sed 's/^/| /' conftest.$ac_ext >&5
36661 eval "$as_ac_var=no"
36664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36665 conftest$ac_exeext conftest.$ac_ext
36667 ac_res=`eval echo '${'$as_ac_var'}'`
36668 { echo "$as_me:$LINENO: result: $ac_res" >&5
36669 echo "${ECHO_T}$ac_res" >&6; }
36670 if test `eval echo '${'$as_ac_var'}'` = yes; then
36671 cat >>confdefs.h <<_ACEOF
36672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36684 for ac_func in snprintf vsnprintf vsscanf
36686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36687 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36689 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36690 echo $ECHO_N "(cached) $ECHO_C" >&6
36692 cat >conftest.$ac_ext <<_ACEOF
36695 cat confdefs.h >>conftest.$ac_ext
36696 cat >>conftest.$ac_ext <<_ACEOF
36697 /* end confdefs.h. */
36698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36700 #define $ac_func innocuous_$ac_func
36702 /* System header to define __stub macros and hopefully few prototypes,
36703 which can conflict with char $ac_func (); below.
36704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36705 <limits.h> exists even on freestanding compilers. */
36708 # include <limits.h>
36710 # include <assert.h>
36715 /* Override any GCC internal prototype to avoid an error.
36716 Use char because int might match the return type of a GCC
36717 builtin and then its argument prototype would still apply. */
36722 /* The GNU C library defines this for functions which it implements
36723 to always fail with ENOSYS. Some functions are actually named
36724 something starting with __ and the normal name is an alias. */
36725 #if defined __stub_$ac_func || defined __stub___$ac_func
36732 return $ac_func ();
36737 rm -f conftest.$ac_objext conftest$ac_exeext
36738 if { (ac_try="$ac_link"
36739 case "(($ac_try" in
36740 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36741 *) ac_try_echo
=$ac_try;;
36743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36744 (eval "$ac_link") 2>conftest.er1
36746 grep -v '^ *+' conftest.er1
>conftest.err
36748 cat conftest.err
>&5
36749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36750 (exit $ac_status); } && {
36751 test -z "$ac_c_werror_flag" ||
36752 test ! -s conftest.err
36753 } && test -s conftest
$ac_exeext &&
36754 $as_test_x conftest
$ac_exeext; then
36755 eval "$as_ac_var=yes"
36757 echo "$as_me: failed program was:" >&5
36758 sed 's/^/| /' conftest.
$ac_ext >&5
36760 eval "$as_ac_var=no"
36763 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36764 conftest
$ac_exeext conftest.
$ac_ext
36766 ac_res
=`eval echo '${'$as_ac_var'}'`
36767 { echo "$as_me:$LINENO: result: $ac_res" >&5
36768 echo "${ECHO_T}$ac_res" >&6; }
36769 if test `eval echo '${'$as_ac_var'}'` = yes; then
36770 cat >>confdefs.h
<<_ACEOF
36771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36779 ac_cpp
='$CXXCPP $CPPFLAGS'
36780 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36781 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36782 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36784 if test "$ac_cv_func_vsnprintf" = "yes"; then
36785 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36786 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36787 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36788 echo $ECHO_N "(cached) $ECHO_C" >&6
36791 cat >conftest.
$ac_ext <<_ACEOF
36794 cat confdefs.h
>>conftest.
$ac_ext
36795 cat >>conftest.
$ac_ext <<_ACEOF
36796 /* end confdefs.h. */
36799 #include <stdarg.h>
36801 #if __MSL__ >= 0x6000
36803 using namespace std;
36813 vsnprintf(buf, 10u, "%s", ap);
36819 rm -f conftest.
$ac_objext
36820 if { (ac_try
="$ac_compile"
36821 case "(($ac_try" in
36822 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36823 *) ac_try_echo=$ac_try;;
36825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36826 (eval "$ac_compile") 2>conftest.er1
36828 grep -v '^ *+' conftest.er1 >conftest.err
36830 cat conftest.err >&5
36831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36832 (exit $ac_status); } && {
36833 test -z "$ac_cxx_werror_flag" ||
36834 test ! -s conftest.err
36835 } && test -s conftest.$ac_objext; then
36836 wx_cv_func_vsnprintf_decl=yes
36838 echo "$as_me: failed program was:" >&5
36839 sed 's/^/| /' conftest.$ac_ext >&5
36841 wx_cv_func_vsnprintf_decl=no
36845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36849 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36850 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36852 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36853 cat >>confdefs.h <<\_ACEOF
36854 #define HAVE_VSNPRINTF_DECL 1
36858 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36859 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36860 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36861 echo $ECHO_N "(cached) $ECHO_C" >&6
36864 cat >conftest.$ac_ext <<_ACEOF
36867 cat confdefs.h >>conftest.$ac_ext
36868 cat >>conftest.$ac_ext <<_ACEOF
36869 /* end confdefs.h. */
36872 #include <stdarg.h>
36874 #if __MSL__ >= 0x6000
36876 using namespace std;
36886 const char *fmt = "%s";
36887 vsnprintf(buf, 10u, fmt, ap);
36893 rm -f conftest.$ac_objext
36894 if { (ac_try="$ac_compile"
36895 case "(($ac_try" in
36896 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36897 *) ac_try_echo
=$ac_try;;
36899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36900 (eval "$ac_compile") 2>conftest.er1
36902 grep -v '^ *+' conftest.er1
>conftest.err
36904 cat conftest.err
>&5
36905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36906 (exit $ac_status); } && {
36907 test -z "$ac_cxx_werror_flag" ||
36908 test ! -s conftest.err
36909 } && test -s conftest.
$ac_objext; then
36910 wx_cv_func_broken_vsnprintf_decl
=no
36912 echo "$as_me: failed program was:" >&5
36913 sed 's/^/| /' conftest.
$ac_ext >&5
36915 wx_cv_func_broken_vsnprintf_decl
=yes
36919 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36923 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36924 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36926 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36927 cat >>confdefs.h
<<\_ACEOF
36928 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36935 if test "$ac_cv_func_snprintf" = "yes"; then
36936 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36937 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36938 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36939 echo $ECHO_N "(cached) $ECHO_C" >&6
36942 cat >conftest.
$ac_ext <<_ACEOF
36945 cat confdefs.h
>>conftest.
$ac_ext
36946 cat >>conftest.
$ac_ext <<_ACEOF
36947 /* end confdefs.h. */
36950 #include <stdarg.h>
36952 #if __MSL__ >= 0x6000
36954 using namespace std;
36963 snprintf(buf, 10u, "%s", "wx");
36969 rm -f conftest.
$ac_objext
36970 if { (ac_try
="$ac_compile"
36971 case "(($ac_try" in
36972 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36973 *) ac_try_echo=$ac_try;;
36975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36976 (eval "$ac_compile") 2>conftest.er1
36978 grep -v '^ *+' conftest.er1 >conftest.err
36980 cat conftest.err >&5
36981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36982 (exit $ac_status); } && {
36983 test -z "$ac_cxx_werror_flag" ||
36984 test ! -s conftest.err
36985 } && test -s conftest.$ac_objext; then
36986 wx_cv_func_snprintf_decl=yes
36988 echo "$as_me: failed program was:" >&5
36989 sed 's/^/| /' conftest.$ac_ext >&5
36991 wx_cv_func_snprintf_decl=no
36995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36999 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
37000 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37002 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37003 cat >>confdefs.h <<\_ACEOF
37004 #define HAVE_SNPRINTF_DECL 1
37009 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37011 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37012 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37013 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37014 echo $ECHO_N "(cached) $ECHO_C" >&6
37017 if test "$cross_compiling" = yes; then
37019 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37020 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37021 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37022 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37023 wx_cv_func_snprintf_pos_params=no
37027 cat >conftest.$ac_ext <<_ACEOF
37030 cat confdefs.h >>conftest.$ac_ext
37031 cat >>conftest.$ac_ext <<_ACEOF
37032 /* end confdefs.h. */
37039 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37040 if (strcmp ("2 3 1", buffer) == 0)
37046 rm -f conftest$ac_exeext
37047 if { (ac_try="$ac_link"
37048 case "(($ac_try" in
37049 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37050 *) ac_try_echo
=$ac_try;;
37052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37053 (eval "$ac_link") 2>&5
37055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37056 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
37057 { (case "(($ac_try" in
37058 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37059 *) ac_try_echo=$ac_try;;
37061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37062 (eval "$ac_try") 2>&5
37064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37065 (exit $ac_status); }; }; then
37066 wx_cv_func_snprintf_pos_params=no
37068 echo "$as_me: program exited with status $ac_status" >&5
37069 echo "$as_me: failed program was:" >&5
37070 sed 's/^/| /' conftest.$ac_ext >&5
37072 ( exit $ac_status )
37073 wx_cv_func_snprintf_pos_params=yes
37075 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37082 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37083 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
37085 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37086 cat >>confdefs.h <<\_ACEOF
37087 #define HAVE_UNIX98_PRINTF 1
37094 if test "$ac_cv_func_vsscanf" = "yes"; then
37095 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
37096 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
37097 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
37098 echo $ECHO_N "(cached) $ECHO_C" >&6
37101 cat >conftest.$ac_ext <<_ACEOF
37104 cat confdefs.h >>conftest.$ac_ext
37105 cat >>conftest.$ac_ext <<_ACEOF
37106 /* end confdefs.h. */
37109 #include <stdarg.h>
37111 #if __MSL__ >= 0x6000
37113 using namespace std;
37123 vsscanf(buf, "%s", args);
37129 rm -f conftest.$ac_objext
37130 if { (ac_try="$ac_compile"
37131 case "(($ac_try" in
37132 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37133 *) ac_try_echo
=$ac_try;;
37135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37136 (eval "$ac_compile") 2>conftest.er1
37138 grep -v '^ *+' conftest.er1
>conftest.err
37140 cat conftest.err
>&5
37141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37142 (exit $ac_status); } && {
37143 test -z "$ac_cxx_werror_flag" ||
37144 test ! -s conftest.err
37145 } && test -s conftest.
$ac_objext; then
37146 wx_cv_func_vsscanf_decl
=yes
37148 echo "$as_me: failed program was:" >&5
37149 sed 's/^/| /' conftest.
$ac_ext >&5
37151 wx_cv_func_vsscanf_decl
=no
37155 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37159 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
37160 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
37162 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
37163 cat >>confdefs.h
<<\_ACEOF
37164 #define HAVE_VSSCANF_DECL 1
37170 ac_cpp
='$CPP $CPPFLAGS'
37171 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37172 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37173 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37176 if test "$wxUSE_UNICODE" = yes; then
37178 wchar_headers
="#include <stdio.h>
37179 #include <wchar.h>"
37183 for ac_header
in widec.h
37185 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37186 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37188 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37189 echo $ECHO_N "(cached) $ECHO_C" >&6
37191 cat >conftest.
$ac_ext <<_ACEOF
37194 cat confdefs.h
>>conftest.
$ac_ext
37195 cat >>conftest.
$ac_ext <<_ACEOF
37196 /* end confdefs.h. */
37197 $ac_includes_default
37199 #include <$ac_header>
37201 rm -f conftest.
$ac_objext
37202 if { (ac_try
="$ac_compile"
37203 case "(($ac_try" in
37204 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37205 *) ac_try_echo=$ac_try;;
37207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37208 (eval "$ac_compile") 2>conftest.er1
37210 grep -v '^ *+' conftest.er1 >conftest.err
37212 cat conftest.err >&5
37213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37214 (exit $ac_status); } && {
37215 test -z "$ac_c_werror_flag" ||
37216 test ! -s conftest.err
37217 } && test -s conftest.$ac_objext; then
37218 eval "$as_ac_Header=yes"
37220 echo "$as_me: failed program was:" >&5
37221 sed 's/^/| /' conftest.$ac_ext >&5
37223 eval "$as_ac_Header=no"
37226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37228 ac_res=`eval echo '${'$as_ac_Header'}'`
37229 { echo "$as_me:$LINENO: result: $ac_res" >&5
37230 echo "${ECHO_T}$ac_res" >&6; }
37231 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37232 cat >>confdefs.h <<_ACEOF
37233 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37240 if test "$ac_cv_header_widec_h" = "yes"; then
37241 wchar_headers="$wchar_headers
37242 #include <widec.h>"
37247 for wx_func in putws fputws wprintf vswprintf vswscanf
37249 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37250 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37251 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37252 echo $ECHO_N "(cached) $ECHO_C" >&6
37255 cat >conftest.$ac_ext <<_ACEOF
37259 cat confdefs.h >>conftest.$ac_ext
37260 cat >>conftest.$ac_ext <<_ACEOF
37261 /* end confdefs.h. */
37264 $ac_includes_default
37280 rm -f conftest.$ac_objext conftest$ac_exeext
37281 if { (ac_try="$ac_link"
37282 case "(($ac_try" in
37283 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37284 *) ac_try_echo
=$ac_try;;
37286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37287 (eval "$ac_link") 2>conftest.er1
37289 grep -v '^ *+' conftest.er1
>conftest.err
37291 cat conftest.err
>&5
37292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37293 (exit $ac_status); } && {
37294 test -z "$ac_c_werror_flag" ||
37295 test ! -s conftest.err
37296 } && test -s conftest
$ac_exeext &&
37297 $as_test_x conftest
$ac_exeext; then
37298 eval wx_cv_func_
$wx_func=yes
37300 echo "$as_me: failed program was:" >&5
37301 sed 's/^/| /' conftest.
$ac_ext >&5
37303 eval wx_cv_func_
$wx_func=no
37306 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37307 conftest
$ac_exeext conftest.
$ac_ext
37310 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37311 { echo "$as_me:$LINENO: result: $ac_res" >&5
37312 echo "${ECHO_T}$ac_res" >&6; }
37314 if eval test \
$wx_cv_func_$wx_func = yes
37316 cat >>confdefs.h
<<_ACEOF
37317 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37328 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37329 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37330 cat >conftest.
$ac_ext <<_ACEOF
37333 cat confdefs.h
>>conftest.
$ac_ext
37334 cat >>conftest.
$ac_ext <<_ACEOF
37335 /* end confdefs.h. */
37345 rm -f conftest.
$ac_objext
37346 if { (ac_try
="$ac_compile"
37347 case "(($ac_try" in
37348 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37349 *) ac_try_echo=$ac_try;;
37351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37352 (eval "$ac_compile") 2>conftest.er1
37354 grep -v '^ *+' conftest.er1 >conftest.err
37356 cat conftest.err >&5
37357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37358 (exit $ac_status); } && {
37359 test -z "$ac_c_werror_flag" ||
37360 test ! -s conftest.err
37361 } && test -s conftest.$ac_objext; then
37362 { echo "$as_me:$LINENO: result: yes" >&5
37363 echo "${ECHO_T}yes" >&6; }
37364 cat >>confdefs.h <<\_ACEOF
37365 #define HAVE__VSNWPRINTF 1
37369 echo "$as_me: failed program was:" >&5
37370 sed 's/^/| /' conftest.$ac_ext >&5
37372 { echo "$as_me:$LINENO: result: no" >&5
37373 echo "${ECHO_T}no" >&6; }
37376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37379 if test "$wxUSE_FILE" = "yes"; then
37381 for wx_func in fsync
37383 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37384 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37385 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37386 echo $ECHO_N "(cached) $ECHO_C" >&6
37389 cat >conftest.$ac_ext <<_ACEOF
37393 cat confdefs.h >>conftest.$ac_ext
37394 cat >>conftest.$ac_ext <<_ACEOF
37395 /* end confdefs.h. */
37398 $ac_includes_default
37414 rm -f conftest.$ac_objext conftest$ac_exeext
37415 if { (ac_try="$ac_link"
37416 case "(($ac_try" in
37417 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37418 *) ac_try_echo
=$ac_try;;
37420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37421 (eval "$ac_link") 2>conftest.er1
37423 grep -v '^ *+' conftest.er1
>conftest.err
37425 cat conftest.err
>&5
37426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37427 (exit $ac_status); } && {
37428 test -z "$ac_c_werror_flag" ||
37429 test ! -s conftest.err
37430 } && test -s conftest
$ac_exeext &&
37431 $as_test_x conftest
$ac_exeext; then
37432 eval wx_cv_func_
$wx_func=yes
37434 echo "$as_me: failed program was:" >&5
37435 sed 's/^/| /' conftest.
$ac_ext >&5
37437 eval wx_cv_func_
$wx_func=no
37440 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37441 conftest
$ac_exeext conftest.
$ac_ext
37444 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37445 { echo "$as_me:$LINENO: result: $ac_res" >&5
37446 echo "${ECHO_T}$ac_res" >&6; }
37448 if eval test \
$wx_cv_func_$wx_func = yes
37450 cat >>confdefs.h
<<_ACEOF
37451 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37464 ac_cpp
='$CXXCPP $CPPFLAGS'
37465 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37466 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37467 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37470 for wx_func
in round
37472 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37473 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37474 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37475 echo $ECHO_N "(cached) $ECHO_C" >&6
37478 cat >conftest.
$ac_ext <<_ACEOF
37482 cat confdefs.h
>>conftest.
$ac_ext
37483 cat >>conftest.
$ac_ext <<_ACEOF
37484 /* end confdefs.h. */
37487 $ac_includes_default
37503 rm -f conftest.
$ac_objext conftest
$ac_exeext
37504 if { (ac_try
="$ac_link"
37505 case "(($ac_try" in
37506 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37507 *) ac_try_echo=$ac_try;;
37509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37510 (eval "$ac_link") 2>conftest.er1
37512 grep -v '^ *+' conftest.er1 >conftest.err
37514 cat conftest.err >&5
37515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37516 (exit $ac_status); } && {
37517 test -z "$ac_cxx_werror_flag" ||
37518 test ! -s conftest.err
37519 } && test -s conftest$ac_exeext &&
37520 $as_test_x conftest$ac_exeext; then
37521 eval wx_cv_func_$wx_func=yes
37523 echo "$as_me: failed program was:" >&5
37524 sed 's/^/| /' conftest.$ac_ext >&5
37526 eval wx_cv_func_$wx_func=no
37529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37530 conftest$ac_exeext conftest.$ac_ext
37533 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37534 { echo "$as_me:$LINENO: result: $ac_res" >&5
37535 echo "${ECHO_T}$ac_res" >&6; }
37537 if eval test \$wx_cv_func_$wx_func = yes
37539 cat >>confdefs.h <<_ACEOF
37540 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37551 ac_cpp='$CPP $CPPFLAGS'
37552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37557 if test "$TOOLKIT" != "MSW"; then
37559 if test "$wxUSE_LIBICONV" != "no" ; then
37563 # Check whether --with-libiconv-prefix was given.
37564 if test "${with_libiconv_prefix+set}" = set; then
37565 withval=$with_libiconv_prefix;
37566 for dir in `echo "$withval" | tr : ' '`; do
37567 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37568 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37574 { echo "$as_me:$LINENO: checking for iconv" >&5
37575 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37576 if test "${am_cv_func_iconv+set}" = set; then
37577 echo $ECHO_N "(cached) $ECHO_C" >&6
37580 am_cv_func_iconv="no, consider installing GNU libiconv"
37582 cat >conftest.$ac_ext <<_ACEOF
37585 cat confdefs.h >>conftest.$ac_ext
37586 cat >>conftest.$ac_ext <<_ACEOF
37587 /* end confdefs.h. */
37588 #include <stdlib.h>
37593 iconv_t cd = iconv_open("","");
37594 iconv(cd,NULL,NULL,NULL,NULL);
37600 rm -f conftest.$ac_objext conftest$ac_exeext
37601 if { (ac_try="$ac_link"
37602 case "(($ac_try" in
37603 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37604 *) ac_try_echo
=$ac_try;;
37606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37607 (eval "$ac_link") 2>conftest.er1
37609 grep -v '^ *+' conftest.er1
>conftest.err
37611 cat conftest.err
>&5
37612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37613 (exit $ac_status); } && {
37614 test -z "$ac_c_werror_flag" ||
37615 test ! -s conftest.err
37616 } && test -s conftest
$ac_exeext &&
37617 $as_test_x conftest
$ac_exeext; then
37618 am_cv_func_iconv
=yes
37620 echo "$as_me: failed program was:" >&5
37621 sed 's/^/| /' conftest.
$ac_ext >&5
37626 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37627 conftest
$ac_exeext conftest.
$ac_ext
37628 if test "$am_cv_func_iconv" != yes; then
37629 am_save_LIBS
="$LIBS"
37630 LIBS
="$LIBS -liconv"
37631 cat >conftest.
$ac_ext <<_ACEOF
37634 cat confdefs.h
>>conftest.
$ac_ext
37635 cat >>conftest.
$ac_ext <<_ACEOF
37636 /* end confdefs.h. */
37637 #include <stdlib.h>
37642 iconv_t cd = iconv_open("","");
37643 iconv(cd,NULL,NULL,NULL,NULL);
37649 rm -f conftest.
$ac_objext conftest
$ac_exeext
37650 if { (ac_try
="$ac_link"
37651 case "(($ac_try" in
37652 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37653 *) ac_try_echo=$ac_try;;
37655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37656 (eval "$ac_link") 2>conftest.er1
37658 grep -v '^ *+' conftest.er1 >conftest.err
37660 cat conftest.err >&5
37661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37662 (exit $ac_status); } && {
37663 test -z "$ac_c_werror_flag" ||
37664 test ! -s conftest.err
37665 } && test -s conftest$ac_exeext &&
37666 $as_test_x conftest$ac_exeext; then
37667 am_cv_lib_iconv=yes
37668 am_cv_func_iconv=yes
37670 echo "$as_me: failed program was:" >&5
37671 sed 's/^/| /' conftest.$ac_ext >&5
37676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37677 conftest$ac_exeext conftest.$ac_ext
37678 LIBS="$am_save_LIBS"
37682 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37683 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37684 if test "$am_cv_func_iconv" = yes; then
37686 cat >>confdefs.h <<\_ACEOF
37687 #define HAVE_ICONV 1
37690 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37691 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37692 if test "${wx_cv_func_iconv_const+set}" = set; then
37693 echo $ECHO_N "(cached) $ECHO_C" >&6
37695 cat >conftest.$ac_ext <<_ACEOF
37698 cat confdefs.h >>conftest.$ac_ext
37699 cat >>conftest.$ac_ext <<_ACEOF
37700 /* end confdefs.h. */
37702 #include <stdlib.h>
37708 #if defined(__STDC__) || defined(__cplusplus)
37709 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37722 rm -f conftest.$ac_objext
37723 if { (ac_try="$ac_compile"
37724 case "(($ac_try" in
37725 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37726 *) ac_try_echo
=$ac_try;;
37728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37729 (eval "$ac_compile") 2>conftest.er1
37731 grep -v '^ *+' conftest.er1
>conftest.err
37733 cat conftest.err
>&5
37734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37735 (exit $ac_status); } && {
37736 test -z "$ac_c_werror_flag" ||
37737 test ! -s conftest.err
37738 } && test -s conftest.
$ac_objext; then
37739 wx_cv_func_iconv_const
="no"
37741 echo "$as_me: failed program was:" >&5
37742 sed 's/^/| /' conftest.
$ac_ext >&5
37744 wx_cv_func_iconv_const
="yes"
37748 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37751 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37752 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37755 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37756 iconv_const
="const"
37760 cat >>confdefs.h
<<_ACEOF
37761 #define ICONV_CONST $iconv_const
37766 if test "$am_cv_lib_iconv" = yes; then
37771 LIBS
="$LIBICONV $LIBS"
37774 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37776 for ac_func
in sigaction
37778 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37779 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37781 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37782 echo $ECHO_N "(cached) $ECHO_C" >&6
37784 cat >conftest.
$ac_ext <<_ACEOF
37787 cat confdefs.h
>>conftest.
$ac_ext
37788 cat >>conftest.
$ac_ext <<_ACEOF
37789 /* end confdefs.h. */
37790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37792 #define $ac_func innocuous_$ac_func
37794 /* System header to define __stub macros and hopefully few prototypes,
37795 which can conflict with char $ac_func (); below.
37796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37797 <limits.h> exists even on freestanding compilers. */
37800 # include <limits.h>
37802 # include <assert.h>
37807 /* Override any GCC internal prototype to avoid an error.
37808 Use char because int might match the return type of a GCC
37809 builtin and then its argument prototype would still apply. */
37814 /* The GNU C library defines this for functions which it implements
37815 to always fail with ENOSYS. Some functions are actually named
37816 something starting with __ and the normal name is an alias. */
37817 #if defined __stub_$ac_func || defined __stub___$ac_func
37824 return $ac_func ();
37829 rm -f conftest.
$ac_objext conftest
$ac_exeext
37830 if { (ac_try
="$ac_link"
37831 case "(($ac_try" in
37832 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37833 *) ac_try_echo=$ac_try;;
37835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37836 (eval "$ac_link") 2>conftest.er1
37838 grep -v '^ *+' conftest.er1 >conftest.err
37840 cat conftest.err >&5
37841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37842 (exit $ac_status); } && {
37843 test -z "$ac_c_werror_flag" ||
37844 test ! -s conftest.err
37845 } && test -s conftest$ac_exeext &&
37846 $as_test_x conftest$ac_exeext; then
37847 eval "$as_ac_var=yes"
37849 echo "$as_me: failed program was:" >&5
37850 sed 's/^/| /' conftest.$ac_ext >&5
37852 eval "$as_ac_var=no"
37855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37856 conftest$ac_exeext conftest.$ac_ext
37858 ac_res=`eval echo '${'$as_ac_var'}'`
37859 { echo "$as_me:$LINENO: result: $ac_res" >&5
37860 echo "${ECHO_T}$ac_res" >&6; }
37861 if test `eval echo '${'$as_ac_var'}'` = yes; then
37862 cat >>confdefs.h <<_ACEOF
37863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37870 if test "$ac_cv_func_sigaction" = "no"; then
37871 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37872 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37873 wxUSE_ON_FATAL_EXCEPTION=no
37876 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37877 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37878 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37879 if test "${wx_cv_type_sa_handler+set}" = set; then
37880 echo $ECHO_N "(cached) $ECHO_C" >&6
37884 ac_cpp='$CXXCPP $CPPFLAGS'
37885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37889 cat >conftest.$ac_ext <<_ACEOF
37892 cat confdefs.h >>conftest.$ac_ext
37893 cat >>conftest.$ac_ext <<_ACEOF
37894 /* end confdefs.h. */
37895 #include <signal.h>
37900 extern void testSigHandler(int);
37902 struct sigaction sa;
37903 sa.sa_handler = testSigHandler;
37909 rm -f conftest.$ac_objext
37910 if { (ac_try="$ac_compile"
37911 case "(($ac_try" in
37912 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37913 *) ac_try_echo
=$ac_try;;
37915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37916 (eval "$ac_compile") 2>conftest.er1
37918 grep -v '^ *+' conftest.er1
>conftest.err
37920 cat conftest.err
>&5
37921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37922 (exit $ac_status); } && {
37923 test -z "$ac_cxx_werror_flag" ||
37924 test ! -s conftest.err
37925 } && test -s conftest.
$ac_objext; then
37927 wx_cv_type_sa_handler
=int
37930 echo "$as_me: failed program was:" >&5
37931 sed 's/^/| /' conftest.
$ac_ext >&5
37934 wx_cv_type_sa_handler
=void
37938 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37940 ac_cpp
='$CPP $CPPFLAGS'
37941 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37942 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37943 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37947 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37948 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37950 cat >>confdefs.h
<<_ACEOF
37951 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37957 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37958 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37959 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37960 if test "${wx_cv_func_backtrace+set}" = set; then
37961 echo $ECHO_N "(cached) $ECHO_C" >&6
37965 ac_cpp
='$CXXCPP $CPPFLAGS'
37966 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37967 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37968 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37970 cat >conftest.
$ac_ext <<_ACEOF
37973 cat confdefs.h
>>conftest.
$ac_ext
37974 cat >>conftest.
$ac_ext <<_ACEOF
37975 /* end confdefs.h. */
37976 #include <execinfo.h>
37984 backtrace(trace, 1);
37985 messages = backtrace_symbols(trace, 1);
37991 rm -f conftest.
$ac_objext
37992 if { (ac_try
="$ac_compile"
37993 case "(($ac_try" in
37994 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37995 *) ac_try_echo=$ac_try;;
37997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37998 (eval "$ac_compile") 2>conftest.er1
38000 grep -v '^ *+' conftest.er1 >conftest.err
38002 cat conftest.err >&5
38003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38004 (exit $ac_status); } && {
38005 test -z "$ac_cxx_werror_flag" ||
38006 test ! -s conftest.err
38007 } && test -s conftest.$ac_objext; then
38008 wx_cv_func_backtrace=yes
38010 echo "$as_me: failed program was:" >&5
38011 sed 's/^/| /' conftest.$ac_ext >&5
38013 wx_cv_func_backtrace=no
38017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38019 ac_cpp='$CPP $CPPFLAGS'
38020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38027 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38028 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
38031 if test "$wx_cv_func_backtrace" = "no"; then
38032 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38033 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38034 wxUSE_STACKWALKER=no
38036 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38037 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
38038 if test "${wx_cv_func_cxa_demangle+set}" = set; then
38039 echo $ECHO_N "(cached) $ECHO_C" >&6
38043 ac_cpp='$CXXCPP $CPPFLAGS'
38044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38048 cat >conftest.$ac_ext <<_ACEOF
38051 cat confdefs.h >>conftest.$ac_ext
38052 cat >>conftest.$ac_ext <<_ACEOF
38053 /* end confdefs.h. */
38054 #include <cxxabi.h>
38060 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38066 rm -f conftest.$ac_objext conftest$ac_exeext
38067 if { (ac_try="$ac_link"
38068 case "(($ac_try" in
38069 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38070 *) ac_try_echo
=$ac_try;;
38072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38073 (eval "$ac_link") 2>conftest.er1
38075 grep -v '^ *+' conftest.er1
>conftest.err
38077 cat conftest.err
>&5
38078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38079 (exit $ac_status); } && {
38080 test -z "$ac_cxx_werror_flag" ||
38081 test ! -s conftest.err
38082 } && test -s conftest
$ac_exeext &&
38083 $as_test_x conftest
$ac_exeext; then
38084 wx_cv_func_cxa_demangle
=yes
38086 echo "$as_me: failed program was:" >&5
38087 sed 's/^/| /' conftest.
$ac_ext >&5
38089 wx_cv_func_cxa_demangle
=no
38093 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38094 conftest
$ac_exeext conftest.
$ac_ext
38096 ac_cpp
='$CPP $CPPFLAGS'
38097 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38098 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38099 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38104 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
38105 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
38107 if test "$wx_cv_func_cxa_demangle" = "yes"; then
38108 cat >>confdefs.h
<<\_ACEOF
38109 #define HAVE_CXA_DEMANGLE 1
38116 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
38117 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
38118 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
38119 wxUSE_STACKWALKER
=no
38125 for ac_func
in mkstemp mktemp
38127 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38128 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38130 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38131 echo $ECHO_N "(cached) $ECHO_C" >&6
38133 cat >conftest.
$ac_ext <<_ACEOF
38136 cat confdefs.h
>>conftest.
$ac_ext
38137 cat >>conftest.
$ac_ext <<_ACEOF
38138 /* end confdefs.h. */
38139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38141 #define $ac_func innocuous_$ac_func
38143 /* System header to define __stub macros and hopefully few prototypes,
38144 which can conflict with char $ac_func (); below.
38145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38146 <limits.h> exists even on freestanding compilers. */
38149 # include <limits.h>
38151 # include <assert.h>
38156 /* Override any GCC internal prototype to avoid an error.
38157 Use char because int might match the return type of a GCC
38158 builtin and then its argument prototype would still apply. */
38163 /* The GNU C library defines this for functions which it implements
38164 to always fail with ENOSYS. Some functions are actually named
38165 something starting with __ and the normal name is an alias. */
38166 #if defined __stub_$ac_func || defined __stub___$ac_func
38173 return $ac_func ();
38178 rm -f conftest.
$ac_objext conftest
$ac_exeext
38179 if { (ac_try
="$ac_link"
38180 case "(($ac_try" in
38181 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38182 *) ac_try_echo=$ac_try;;
38184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38185 (eval "$ac_link") 2>conftest.er1
38187 grep -v '^ *+' conftest.er1 >conftest.err
38189 cat conftest.err >&5
38190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38191 (exit $ac_status); } && {
38192 test -z "$ac_c_werror_flag" ||
38193 test ! -s conftest.err
38194 } && test -s conftest$ac_exeext &&
38195 $as_test_x conftest$ac_exeext; then
38196 eval "$as_ac_var=yes"
38198 echo "$as_me: failed program was:" >&5
38199 sed 's/^/| /' conftest.$ac_ext >&5
38201 eval "$as_ac_var=no"
38204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38205 conftest$ac_exeext conftest.$ac_ext
38207 ac_res=`eval echo '${'$as_ac_var'}'`
38208 { echo "$as_me:$LINENO: result: $ac_res" >&5
38209 echo "${ECHO_T}$ac_res" >&6; }
38210 if test `eval echo '${'$as_ac_var'}'` = yes; then
38211 cat >>confdefs.h <<_ACEOF
38212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38219 { echo "$as_me:$LINENO: checking for statfs" >&5
38220 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
38221 if test "${wx_cv_func_statfs+set}" = set; then
38222 echo $ECHO_N "(cached) $ECHO_C" >&6
38224 cat >conftest.$ac_ext <<_ACEOF
38227 cat confdefs.h >>conftest.$ac_ext
38228 cat >>conftest.$ac_ext <<_ACEOF
38229 /* end confdefs.h. */
38231 #if defined(__BSD__)
38232 #include <sys/param.h>
38233 #include <sys/mount.h>
38235 #include <sys/vfs.h>
38253 rm -f conftest.$ac_objext
38254 if { (ac_try="$ac_compile"
38255 case "(($ac_try" in
38256 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38257 *) ac_try_echo
=$ac_try;;
38259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38260 (eval "$ac_compile") 2>conftest.er1
38262 grep -v '^ *+' conftest.er1
>conftest.err
38264 cat conftest.err
>&5
38265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38266 (exit $ac_status); } && {
38267 test -z "$ac_c_werror_flag" ||
38268 test ! -s conftest.err
38269 } && test -s conftest.
$ac_objext; then
38270 wx_cv_func_statfs
=yes
38272 echo "$as_me: failed program was:" >&5
38273 sed 's/^/| /' conftest.
$ac_ext >&5
38275 wx_cv_func_statfs
=no
38279 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38282 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38283 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
38285 if test "$wx_cv_func_statfs" = "yes"; then
38286 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
38287 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
38288 if test "${wx_cv_func_statfs_decl+set}" = set; then
38289 echo $ECHO_N "(cached) $ECHO_C" >&6
38292 ac_cpp
='$CXXCPP $CPPFLAGS'
38293 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38294 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38295 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38297 cat >conftest.
$ac_ext <<_ACEOF
38300 cat confdefs.h
>>conftest.
$ac_ext
38301 cat >>conftest.
$ac_ext <<_ACEOF
38302 /* end confdefs.h. */
38304 #if defined(__BSD__)
38305 #include <sys/param.h>
38306 #include <sys/mount.h>
38308 #include <sys/vfs.h>
38322 rm -f conftest.
$ac_objext
38323 if { (ac_try
="$ac_compile"
38324 case "(($ac_try" in
38325 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38326 *) ac_try_echo=$ac_try;;
38328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38329 (eval "$ac_compile") 2>conftest.er1
38331 grep -v '^ *+' conftest.er1 >conftest.err
38333 cat conftest.err >&5
38334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38335 (exit $ac_status); } && {
38336 test -z "$ac_cxx_werror_flag" ||
38337 test ! -s conftest.err
38338 } && test -s conftest.$ac_objext; then
38339 wx_cv_func_statfs_decl=yes
38341 echo "$as_me: failed program was:" >&5
38342 sed 's/^/| /' conftest.$ac_ext >&5
38344 wx_cv_func_statfs_decl=no
38348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38350 ac_cpp='$CPP $CPPFLAGS'
38351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38357 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38358 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38360 if test "$wx_cv_func_statfs_decl" = "yes"; then
38361 cat >>confdefs.h <<\_ACEOF
38362 #define HAVE_STATFS_DECL 1
38367 wx_cv_type_statvfs_t="struct statfs"
38368 cat >>confdefs.h <<\_ACEOF
38369 #define HAVE_STATFS 1
38373 { echo "$as_me:$LINENO: checking for statvfs" >&5
38374 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38375 if test "${wx_cv_func_statvfs+set}" = set; then
38376 echo $ECHO_N "(cached) $ECHO_C" >&6
38378 cat >conftest.$ac_ext <<_ACEOF
38381 cat confdefs.h >>conftest.$ac_ext
38382 cat >>conftest.$ac_ext <<_ACEOF
38383 /* end confdefs.h. */
38385 #include <stddef.h>
38386 #include <sys/statvfs.h>
38392 statvfs("/", NULL);
38398 rm -f conftest.$ac_objext
38399 if { (ac_try="$ac_compile"
38400 case "(($ac_try" in
38401 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38402 *) ac_try_echo
=$ac_try;;
38404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38405 (eval "$ac_compile") 2>conftest.er1
38407 grep -v '^ *+' conftest.er1
>conftest.err
38409 cat conftest.err
>&5
38410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38411 (exit $ac_status); } && {
38412 test -z "$ac_c_werror_flag" ||
38413 test ! -s conftest.err
38414 } && test -s conftest.
$ac_objext; then
38415 wx_cv_func_statvfs
=yes
38417 echo "$as_me: failed program was:" >&5
38418 sed 's/^/| /' conftest.
$ac_ext >&5
38420 wx_cv_func_statvfs
=no
38424 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38427 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38428 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38430 if test "$wx_cv_func_statvfs" = "yes"; then
38431 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38432 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38433 if test "${wx_cv_type_statvfs_t+set}" = set; then
38434 echo $ECHO_N "(cached) $ECHO_C" >&6
38437 ac_cpp
='$CXXCPP $CPPFLAGS'
38438 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38439 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38440 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38442 cat >conftest.
$ac_ext <<_ACEOF
38445 cat confdefs.h
>>conftest.
$ac_ext
38446 cat >>conftest.
$ac_ext <<_ACEOF
38447 /* end confdefs.h. */
38449 #include <sys/statvfs.h>
38466 rm -f conftest.
$ac_objext
38467 if { (ac_try
="$ac_compile"
38468 case "(($ac_try" in
38469 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38470 *) ac_try_echo=$ac_try;;
38472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38473 (eval "$ac_compile") 2>conftest.er1
38475 grep -v '^ *+' conftest.er1 >conftest.err
38477 cat conftest.err >&5
38478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38479 (exit $ac_status); } && {
38480 test -z "$ac_cxx_werror_flag" ||
38481 test ! -s conftest.err
38482 } && test -s conftest.$ac_objext; then
38483 wx_cv_type_statvfs_t=statvfs_t
38485 echo "$as_me: failed program was:" >&5
38486 sed 's/^/| /' conftest.$ac_ext >&5
38489 cat >conftest.$ac_ext <<_ACEOF
38492 cat confdefs.h >>conftest.$ac_ext
38493 cat >>conftest.$ac_ext <<_ACEOF
38494 /* end confdefs.h. */
38496 #include <sys/statvfs.h>
38513 rm -f conftest.$ac_objext
38514 if { (ac_try="$ac_compile"
38515 case "(($ac_try" in
38516 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38517 *) ac_try_echo
=$ac_try;;
38519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38520 (eval "$ac_compile") 2>conftest.er1
38522 grep -v '^ *+' conftest.er1
>conftest.err
38524 cat conftest.err
>&5
38525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38526 (exit $ac_status); } && {
38527 test -z "$ac_cxx_werror_flag" ||
38528 test ! -s conftest.err
38529 } && test -s conftest.
$ac_objext; then
38530 wx_cv_type_statvfs_t
="struct statvfs"
38532 echo "$as_me: failed program was:" >&5
38533 sed 's/^/| /' conftest.
$ac_ext >&5
38535 wx_cv_type_statvfs_t
="unknown"
38539 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38546 ac_cpp
='$CPP $CPPFLAGS'
38547 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38548 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38549 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38553 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38554 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38556 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38557 cat >>confdefs.h
<<\_ACEOF
38558 #define HAVE_STATVFS 1
38563 wx_cv_type_statvfs_t
="unknown"
38567 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38568 cat >>confdefs.h
<<_ACEOF
38569 #define WX_STATFS_T $wx_cv_type_statvfs_t
38573 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38574 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38577 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38580 for ac_func
in fcntl flock
38582 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38583 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38585 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38586 echo $ECHO_N "(cached) $ECHO_C" >&6
38588 cat >conftest.
$ac_ext <<_ACEOF
38591 cat confdefs.h
>>conftest.
$ac_ext
38592 cat >>conftest.
$ac_ext <<_ACEOF
38593 /* end confdefs.h. */
38594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38596 #define $ac_func innocuous_$ac_func
38598 /* System header to define __stub macros and hopefully few prototypes,
38599 which can conflict with char $ac_func (); below.
38600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38601 <limits.h> exists even on freestanding compilers. */
38604 # include <limits.h>
38606 # include <assert.h>
38611 /* Override any GCC internal prototype to avoid an error.
38612 Use char because int might match the return type of a GCC
38613 builtin and then its argument prototype would still apply. */
38618 /* The GNU C library defines this for functions which it implements
38619 to always fail with ENOSYS. Some functions are actually named
38620 something starting with __ and the normal name is an alias. */
38621 #if defined __stub_$ac_func || defined __stub___$ac_func
38628 return $ac_func ();
38633 rm -f conftest.
$ac_objext conftest
$ac_exeext
38634 if { (ac_try
="$ac_link"
38635 case "(($ac_try" in
38636 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38637 *) ac_try_echo=$ac_try;;
38639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38640 (eval "$ac_link") 2>conftest.er1
38642 grep -v '^ *+' conftest.er1 >conftest.err
38644 cat conftest.err >&5
38645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38646 (exit $ac_status); } && {
38647 test -z "$ac_c_werror_flag" ||
38648 test ! -s conftest.err
38649 } && test -s conftest$ac_exeext &&
38650 $as_test_x conftest$ac_exeext; then
38651 eval "$as_ac_var=yes"
38653 echo "$as_me: failed program was:" >&5
38654 sed 's/^/| /' conftest.$ac_ext >&5
38656 eval "$as_ac_var=no"
38659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38660 conftest$ac_exeext conftest.$ac_ext
38662 ac_res=`eval echo '${'$as_ac_var'}'`
38663 { echo "$as_me:$LINENO: result: $ac_res" >&5
38664 echo "${ECHO_T}$ac_res" >&6; }
38665 if test `eval echo '${'$as_ac_var'}'` = yes; then
38666 cat >>confdefs.h <<_ACEOF
38667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38674 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38675 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38676 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38677 wxUSE_SNGLINST_CHECKER=no
38683 for ac_func in setenv putenv
38685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38686 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38688 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38689 echo $ECHO_N "(cached) $ECHO_C" >&6
38691 cat >conftest.$ac_ext <<_ACEOF
38694 cat confdefs.h >>conftest.$ac_ext
38695 cat >>conftest.$ac_ext <<_ACEOF
38696 /* end confdefs.h. */
38697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38699 #define $ac_func innocuous_$ac_func
38701 /* System header to define __stub macros and hopefully few prototypes,
38702 which can conflict with char $ac_func (); below.
38703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38704 <limits.h> exists even on freestanding compilers. */
38707 # include <limits.h>
38709 # include <assert.h>
38714 /* Override any GCC internal prototype to avoid an error.
38715 Use char because int might match the return type of a GCC
38716 builtin and then its argument prototype would still apply. */
38721 /* The GNU C library defines this for functions which it implements
38722 to always fail with ENOSYS. Some functions are actually named
38723 something starting with __ and the normal name is an alias. */
38724 #if defined __stub_$ac_func || defined __stub___$ac_func
38731 return $ac_func ();
38736 rm -f conftest.$ac_objext conftest$ac_exeext
38737 if { (ac_try="$ac_link"
38738 case "(($ac_try" in
38739 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38740 *) ac_try_echo
=$ac_try;;
38742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38743 (eval "$ac_link") 2>conftest.er1
38745 grep -v '^ *+' conftest.er1
>conftest.err
38747 cat conftest.err
>&5
38748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38749 (exit $ac_status); } && {
38750 test -z "$ac_c_werror_flag" ||
38751 test ! -s conftest.err
38752 } && test -s conftest
$ac_exeext &&
38753 $as_test_x conftest
$ac_exeext; then
38754 eval "$as_ac_var=yes"
38756 echo "$as_me: failed program was:" >&5
38757 sed 's/^/| /' conftest.
$ac_ext >&5
38759 eval "$as_ac_var=no"
38762 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38763 conftest
$ac_exeext conftest.
$ac_ext
38765 ac_res
=`eval echo '${'$as_ac_var'}'`
38766 { echo "$as_me:$LINENO: result: $ac_res" >&5
38767 echo "${ECHO_T}$ac_res" >&6; }
38768 if test `eval echo '${'$as_ac_var'}'` = yes; then
38769 cat >>confdefs.h
<<_ACEOF
38770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38776 if test "$ac_cv_func_setenv" = "yes"; then
38778 for ac_func
in unsetenv
38780 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38781 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38783 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38784 echo $ECHO_N "(cached) $ECHO_C" >&6
38786 cat >conftest.
$ac_ext <<_ACEOF
38789 cat confdefs.h
>>conftest.
$ac_ext
38790 cat >>conftest.
$ac_ext <<_ACEOF
38791 /* end confdefs.h. */
38792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38794 #define $ac_func innocuous_$ac_func
38796 /* System header to define __stub macros and hopefully few prototypes,
38797 which can conflict with char $ac_func (); below.
38798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38799 <limits.h> exists even on freestanding compilers. */
38802 # include <limits.h>
38804 # include <assert.h>
38809 /* Override any GCC internal prototype to avoid an error.
38810 Use char because int might match the return type of a GCC
38811 builtin and then its argument prototype would still apply. */
38816 /* The GNU C library defines this for functions which it implements
38817 to always fail with ENOSYS. Some functions are actually named
38818 something starting with __ and the normal name is an alias. */
38819 #if defined __stub_$ac_func || defined __stub___$ac_func
38826 return $ac_func ();
38831 rm -f conftest.
$ac_objext conftest
$ac_exeext
38832 if { (ac_try
="$ac_link"
38833 case "(($ac_try" in
38834 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38835 *) ac_try_echo=$ac_try;;
38837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38838 (eval "$ac_link") 2>conftest.er1
38840 grep -v '^ *+' conftest.er1 >conftest.err
38842 cat conftest.err >&5
38843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38844 (exit $ac_status); } && {
38845 test -z "$ac_c_werror_flag" ||
38846 test ! -s conftest.err
38847 } && test -s conftest$ac_exeext &&
38848 $as_test_x conftest$ac_exeext; then
38849 eval "$as_ac_var=yes"
38851 echo "$as_me: failed program was:" >&5
38852 sed 's/^/| /' conftest.$ac_ext >&5
38854 eval "$as_ac_var=no"
38857 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38858 conftest$ac_exeext conftest.$ac_ext
38860 ac_res=`eval echo '${'$as_ac_var'}'`
38861 { echo "$as_me:$LINENO: result: $ac_res" >&5
38862 echo "${ECHO_T}$ac_res" >&6; }
38863 if test `eval echo '${'$as_ac_var'}'` = yes; then
38864 cat >>confdefs.h <<_ACEOF
38865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38873 HAVE_SOME_SLEEP_FUNC=0
38874 if test "$USE_BEOS" = 1; then
38875 cat >>confdefs.h <<\_ACEOF
38876 #define HAVE_SLEEP 1
38879 HAVE_SOME_SLEEP_FUNC=1
38882 if test "$USE_DARWIN" = 1; then
38883 cat >>confdefs.h <<\_ACEOF
38884 #define HAVE_USLEEP 1
38887 HAVE_SOME_SLEEP_FUNC=1
38890 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38893 for ac_func in nanosleep
38895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38896 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38898 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38899 echo $ECHO_N "(cached) $ECHO_C" >&6
38901 cat >conftest.$ac_ext <<_ACEOF
38904 cat confdefs.h >>conftest.$ac_ext
38905 cat >>conftest.$ac_ext <<_ACEOF
38906 /* end confdefs.h. */
38907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38909 #define $ac_func innocuous_$ac_func
38911 /* System header to define __stub macros and hopefully few prototypes,
38912 which can conflict with char $ac_func (); below.
38913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38914 <limits.h> exists even on freestanding compilers. */
38917 # include <limits.h>
38919 # include <assert.h>
38924 /* Override any GCC internal prototype to avoid an error.
38925 Use char because int might match the return type of a GCC
38926 builtin and then its argument prototype would still apply. */
38931 /* The GNU C library defines this for functions which it implements
38932 to always fail with ENOSYS. Some functions are actually named
38933 something starting with __ and the normal name is an alias. */
38934 #if defined __stub_$ac_func || defined __stub___$ac_func
38941 return $ac_func ();
38946 rm -f conftest.$ac_objext conftest$ac_exeext
38947 if { (ac_try="$ac_link"
38948 case "(($ac_try" in
38949 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38950 *) ac_try_echo
=$ac_try;;
38952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38953 (eval "$ac_link") 2>conftest.er1
38955 grep -v '^ *+' conftest.er1
>conftest.err
38957 cat conftest.err
>&5
38958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38959 (exit $ac_status); } && {
38960 test -z "$ac_c_werror_flag" ||
38961 test ! -s conftest.err
38962 } && test -s conftest
$ac_exeext &&
38963 $as_test_x conftest
$ac_exeext; then
38964 eval "$as_ac_var=yes"
38966 echo "$as_me: failed program was:" >&5
38967 sed 's/^/| /' conftest.
$ac_ext >&5
38969 eval "$as_ac_var=no"
38972 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38973 conftest
$ac_exeext conftest.
$ac_ext
38975 ac_res
=`eval echo '${'$as_ac_var'}'`
38976 { echo "$as_me:$LINENO: result: $ac_res" >&5
38977 echo "${ECHO_T}$ac_res" >&6; }
38978 if test `eval echo '${'$as_ac_var'}'` = yes; then
38979 cat >>confdefs.h
<<_ACEOF
38980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38982 cat >>confdefs.h
<<\_ACEOF
38983 #define HAVE_NANOSLEEP 1
38988 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38989 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38990 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38991 echo $ECHO_N "(cached) $ECHO_C" >&6
38993 ac_check_lib_save_LIBS
=$LIBS
38994 LIBS
="-lposix4 $LIBS"
38995 cat >conftest.
$ac_ext <<_ACEOF
38998 cat confdefs.h
>>conftest.
$ac_ext
38999 cat >>conftest.
$ac_ext <<_ACEOF
39000 /* end confdefs.h. */
39002 /* Override any GCC internal prototype to avoid an error.
39003 Use char because int might match the return type of a GCC
39004 builtin and then its argument prototype would still apply. */
39012 return nanosleep ();
39017 rm -f conftest.
$ac_objext conftest
$ac_exeext
39018 if { (ac_try
="$ac_link"
39019 case "(($ac_try" in
39020 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39021 *) ac_try_echo=$ac_try;;
39023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39024 (eval "$ac_link") 2>conftest.er1
39026 grep -v '^ *+' conftest.er1 >conftest.err
39028 cat conftest.err >&5
39029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39030 (exit $ac_status); } && {
39031 test -z "$ac_c_werror_flag" ||
39032 test ! -s conftest.err
39033 } && test -s conftest$ac_exeext &&
39034 $as_test_x conftest$ac_exeext; then
39035 ac_cv_lib_posix4_nanosleep=yes
39037 echo "$as_me: failed program was:" >&5
39038 sed 's/^/| /' conftest.$ac_ext >&5
39040 ac_cv_lib_posix4_nanosleep=no
39043 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39044 conftest$ac_exeext conftest.$ac_ext
39045 LIBS=$ac_check_lib_save_LIBS
39047 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39048 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
39049 if test $ac_cv_lib_posix4_nanosleep = yes; then
39051 cat >>confdefs.h <<\_ACEOF
39052 #define HAVE_NANOSLEEP 1
39055 POSIX4_LINK=" -lposix4"
39060 for wx_func in usleep
39062 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39063 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39064 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39065 echo $ECHO_N "(cached) $ECHO_C" >&6
39068 cat >conftest.$ac_ext <<_ACEOF
39072 cat confdefs.h >>conftest.$ac_ext
39073 cat >>conftest.$ac_ext <<_ACEOF
39074 /* end confdefs.h. */
39077 $ac_includes_default
39093 rm -f conftest.$ac_objext conftest$ac_exeext
39094 if { (ac_try="$ac_link"
39095 case "(($ac_try" in
39096 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39097 *) ac_try_echo
=$ac_try;;
39099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39100 (eval "$ac_link") 2>conftest.er1
39102 grep -v '^ *+' conftest.er1
>conftest.err
39104 cat conftest.err
>&5
39105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39106 (exit $ac_status); } && {
39107 test -z "$ac_c_werror_flag" ||
39108 test ! -s conftest.err
39109 } && test -s conftest
$ac_exeext &&
39110 $as_test_x conftest
$ac_exeext; then
39111 eval wx_cv_func_
$wx_func=yes
39113 echo "$as_me: failed program was:" >&5
39114 sed 's/^/| /' conftest.
$ac_ext >&5
39116 eval wx_cv_func_
$wx_func=no
39119 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39120 conftest
$ac_exeext conftest.
$ac_ext
39123 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39124 { echo "$as_me:$LINENO: result: $ac_res" >&5
39125 echo "${ECHO_T}$ac_res" >&6; }
39127 if eval test \
$wx_cv_func_$wx_func = yes
39129 cat >>confdefs.h
<<_ACEOF
39130 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39136 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39137 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39154 for wx_func
in uname
39156 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39157 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39158 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39159 echo $ECHO_N "(cached) $ECHO_C" >&6
39162 cat >conftest.
$ac_ext <<_ACEOF
39166 cat confdefs.h
>>conftest.
$ac_ext
39167 cat >>conftest.
$ac_ext <<_ACEOF
39168 /* end confdefs.h. */
39170 #include <sys/utsname.h>
39171 $ac_includes_default
39187 rm -f conftest.
$ac_objext conftest
$ac_exeext
39188 if { (ac_try
="$ac_link"
39189 case "(($ac_try" in
39190 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39191 *) ac_try_echo=$ac_try;;
39193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39194 (eval "$ac_link") 2>conftest.er1
39196 grep -v '^ *+' conftest.er1 >conftest.err
39198 cat conftest.err >&5
39199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39200 (exit $ac_status); } && {
39201 test -z "$ac_c_werror_flag" ||
39202 test ! -s conftest.err
39203 } && test -s conftest$ac_exeext &&
39204 $as_test_x conftest$ac_exeext; then
39205 eval wx_cv_func_$wx_func=yes
39207 echo "$as_me: failed program was:" >&5
39208 sed 's/^/| /' conftest.$ac_ext >&5
39210 eval wx_cv_func_$wx_func=no
39213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39214 conftest$ac_exeext conftest.$ac_ext
39217 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39218 { echo "$as_me:$LINENO: result: $ac_res" >&5
39219 echo "${ECHO_T}$ac_res" >&6; }
39221 if eval test \$wx_cv_func_$wx_func = yes
39223 cat >>confdefs.h <<_ACEOF
39224 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39234 if test "$wx_cv_func_uname" != yes; then
39236 for wx_func in gethostname
39238 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39239 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39240 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39241 echo $ECHO_N "(cached) $ECHO_C" >&6
39244 cat >conftest.$ac_ext <<_ACEOF
39248 cat confdefs.h >>conftest.$ac_ext
39249 cat >>conftest.$ac_ext <<_ACEOF
39250 /* end confdefs.h. */
39253 $ac_includes_default
39269 rm -f conftest.$ac_objext conftest$ac_exeext
39270 if { (ac_try="$ac_link"
39271 case "(($ac_try" in
39272 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39273 *) ac_try_echo
=$ac_try;;
39275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39276 (eval "$ac_link") 2>conftest.er1
39278 grep -v '^ *+' conftest.er1
>conftest.err
39280 cat conftest.err
>&5
39281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39282 (exit $ac_status); } && {
39283 test -z "$ac_c_werror_flag" ||
39284 test ! -s conftest.err
39285 } && test -s conftest
$ac_exeext &&
39286 $as_test_x conftest
$ac_exeext; then
39287 eval wx_cv_func_
$wx_func=yes
39289 echo "$as_me: failed program was:" >&5
39290 sed 's/^/| /' conftest.
$ac_ext >&5
39292 eval wx_cv_func_
$wx_func=no
39295 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39296 conftest
$ac_exeext conftest.
$ac_ext
39299 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39300 { echo "$as_me:$LINENO: result: $ac_res" >&5
39301 echo "${ECHO_T}$ac_res" >&6; }
39303 if eval test \
$wx_cv_func_$wx_func = yes
39305 cat >>confdefs.h
<<_ACEOF
39306 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39319 for wx_func
in strtok_r
39321 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39322 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39323 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39324 echo $ECHO_N "(cached) $ECHO_C" >&6
39327 cat >conftest.
$ac_ext <<_ACEOF
39331 cat confdefs.h
>>conftest.
$ac_ext
39332 cat >>conftest.
$ac_ext <<_ACEOF
39333 /* end confdefs.h. */
39336 $ac_includes_default
39352 rm -f conftest.
$ac_objext conftest
$ac_exeext
39353 if { (ac_try
="$ac_link"
39354 case "(($ac_try" in
39355 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39356 *) ac_try_echo=$ac_try;;
39358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39359 (eval "$ac_link") 2>conftest.er1
39361 grep -v '^ *+' conftest.er1 >conftest.err
39363 cat conftest.err >&5
39364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39365 (exit $ac_status); } && {
39366 test -z "$ac_c_werror_flag" ||
39367 test ! -s conftest.err
39368 } && test -s conftest$ac_exeext &&
39369 $as_test_x conftest$ac_exeext; then
39370 eval wx_cv_func_$wx_func=yes
39372 echo "$as_me: failed program was:" >&5
39373 sed 's/^/| /' conftest.$ac_ext >&5
39375 eval wx_cv_func_$wx_func=no
39378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39379 conftest$ac_exeext conftest.$ac_ext
39382 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39383 { echo "$as_me:$LINENO: result: $ac_res" >&5
39384 echo "${ECHO_T}$ac_res" >&6; }
39386 if eval test \$wx_cv_func_$wx_func = yes
39388 cat >>confdefs.h <<_ACEOF
39389 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39402 for ac_func in inet_addr
39404 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39405 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39407 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39408 echo $ECHO_N "(cached) $ECHO_C" >&6
39410 cat >conftest.$ac_ext <<_ACEOF
39413 cat confdefs.h >>conftest.$ac_ext
39414 cat >>conftest.$ac_ext <<_ACEOF
39415 /* end confdefs.h. */
39416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39418 #define $ac_func innocuous_$ac_func
39420 /* System header to define __stub macros and hopefully few prototypes,
39421 which can conflict with char $ac_func (); below.
39422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39423 <limits.h> exists even on freestanding compilers. */
39426 # include <limits.h>
39428 # include <assert.h>
39433 /* Override any GCC internal prototype to avoid an error.
39434 Use char because int might match the return type of a GCC
39435 builtin and then its argument prototype would still apply. */
39440 /* The GNU C library defines this for functions which it implements
39441 to always fail with ENOSYS. Some functions are actually named
39442 something starting with __ and the normal name is an alias. */
39443 #if defined __stub_$ac_func || defined __stub___$ac_func
39450 return $ac_func ();
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 eval "$as_ac_var=yes"
39475 echo "$as_me: failed program was:" >&5
39476 sed 's/^/| /' conftest.
$ac_ext >&5
39478 eval "$as_ac_var=no"
39481 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39482 conftest
$ac_exeext conftest.
$ac_ext
39484 ac_res
=`eval echo '${'$as_ac_var'}'`
39485 { echo "$as_me:$LINENO: result: $ac_res" >&5
39486 echo "${ECHO_T}$ac_res" >&6; }
39487 if test `eval echo '${'$as_ac_var'}'` = yes; then
39488 cat >>confdefs.h
<<_ACEOF
39489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39491 cat >>confdefs.h
<<\_ACEOF
39492 #define HAVE_INET_ADDR 1
39497 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39498 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39499 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39500 echo $ECHO_N "(cached) $ECHO_C" >&6
39502 ac_check_lib_save_LIBS
=$LIBS
39504 cat >conftest.
$ac_ext <<_ACEOF
39507 cat confdefs.h
>>conftest.
$ac_ext
39508 cat >>conftest.
$ac_ext <<_ACEOF
39509 /* end confdefs.h. */
39511 /* Override any GCC internal prototype to avoid an error.
39512 Use char because int might match the return type of a GCC
39513 builtin and then its argument prototype would still apply. */
39521 return inet_addr ();
39526 rm -f conftest.
$ac_objext conftest
$ac_exeext
39527 if { (ac_try
="$ac_link"
39528 case "(($ac_try" in
39529 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39530 *) ac_try_echo=$ac_try;;
39532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39533 (eval "$ac_link") 2>conftest.er1
39535 grep -v '^ *+' conftest.er1 >conftest.err
39537 cat conftest.err >&5
39538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39539 (exit $ac_status); } && {
39540 test -z "$ac_c_werror_flag" ||
39541 test ! -s conftest.err
39542 } && test -s conftest$ac_exeext &&
39543 $as_test_x conftest$ac_exeext; then
39544 ac_cv_lib_nsl_inet_addr=yes
39546 echo "$as_me: failed program was:" >&5
39547 sed 's/^/| /' conftest.$ac_ext >&5
39549 ac_cv_lib_nsl_inet_addr=no
39552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39553 conftest$ac_exeext conftest.$ac_ext
39554 LIBS=$ac_check_lib_save_LIBS
39556 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39557 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39558 if test $ac_cv_lib_nsl_inet_addr = yes; then
39562 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39563 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39564 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39565 echo $ECHO_N "(cached) $ECHO_C" >&6
39567 ac_check_lib_save_LIBS=$LIBS
39568 LIBS="-lresolv $LIBS"
39569 cat >conftest.$ac_ext <<_ACEOF
39572 cat confdefs.h >>conftest.$ac_ext
39573 cat >>conftest.$ac_ext <<_ACEOF
39574 /* end confdefs.h. */
39576 /* Override any GCC internal prototype to avoid an error.
39577 Use char because int might match the return type of a GCC
39578 builtin and then its argument prototype would still apply. */
39586 return inet_addr ();
39591 rm -f conftest.$ac_objext conftest$ac_exeext
39592 if { (ac_try="$ac_link"
39593 case "(($ac_try" in
39594 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39595 *) ac_try_echo
=$ac_try;;
39597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39598 (eval "$ac_link") 2>conftest.er1
39600 grep -v '^ *+' conftest.er1
>conftest.err
39602 cat conftest.err
>&5
39603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39604 (exit $ac_status); } && {
39605 test -z "$ac_c_werror_flag" ||
39606 test ! -s conftest.err
39607 } && test -s conftest
$ac_exeext &&
39608 $as_test_x conftest
$ac_exeext; then
39609 ac_cv_lib_resolv_inet_addr
=yes
39611 echo "$as_me: failed program was:" >&5
39612 sed 's/^/| /' conftest.
$ac_ext >&5
39614 ac_cv_lib_resolv_inet_addr
=no
39617 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39618 conftest
$ac_exeext conftest.
$ac_ext
39619 LIBS
=$ac_check_lib_save_LIBS
39621 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39622 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39623 if test $ac_cv_lib_resolv_inet_addr = yes; then
39627 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39628 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39629 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39630 echo $ECHO_N "(cached) $ECHO_C" >&6
39632 ac_check_lib_save_LIBS
=$LIBS
39633 LIBS
="-lsocket $LIBS"
39634 cat >conftest.
$ac_ext <<_ACEOF
39637 cat confdefs.h
>>conftest.
$ac_ext
39638 cat >>conftest.
$ac_ext <<_ACEOF
39639 /* end confdefs.h. */
39641 /* Override any GCC internal prototype to avoid an error.
39642 Use char because int might match the return type of a GCC
39643 builtin and then its argument prototype would still apply. */
39651 return inet_addr ();
39656 rm -f conftest.
$ac_objext conftest
$ac_exeext
39657 if { (ac_try
="$ac_link"
39658 case "(($ac_try" in
39659 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39660 *) ac_try_echo=$ac_try;;
39662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39663 (eval "$ac_link") 2>conftest.er1
39665 grep -v '^ *+' conftest.er1 >conftest.err
39667 cat conftest.err >&5
39668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39669 (exit $ac_status); } && {
39670 test -z "$ac_c_werror_flag" ||
39671 test ! -s conftest.err
39672 } && test -s conftest$ac_exeext &&
39673 $as_test_x conftest$ac_exeext; then
39674 ac_cv_lib_socket_inet_addr=yes
39676 echo "$as_me: failed program was:" >&5
39677 sed 's/^/| /' conftest.$ac_ext >&5
39679 ac_cv_lib_socket_inet_addr=no
39682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39683 conftest$ac_exeext conftest.$ac_ext
39684 LIBS=$ac_check_lib_save_LIBS
39686 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39687 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39688 if test $ac_cv_lib_socket_inet_addr = yes; then
39708 for ac_func in inet_aton
39710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39711 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39713 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39714 echo $ECHO_N "(cached) $ECHO_C" >&6
39716 cat >conftest.$ac_ext <<_ACEOF
39719 cat confdefs.h >>conftest.$ac_ext
39720 cat >>conftest.$ac_ext <<_ACEOF
39721 /* end confdefs.h. */
39722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39724 #define $ac_func innocuous_$ac_func
39726 /* System header to define __stub macros and hopefully few prototypes,
39727 which can conflict with char $ac_func (); below.
39728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39729 <limits.h> exists even on freestanding compilers. */
39732 # include <limits.h>
39734 # include <assert.h>
39739 /* Override any GCC internal prototype to avoid an error.
39740 Use char because int might match the return type of a GCC
39741 builtin and then its argument prototype would still apply. */
39746 /* The GNU C library defines this for functions which it implements
39747 to always fail with ENOSYS. Some functions are actually named
39748 something starting with __ and the normal name is an alias. */
39749 #if defined __stub_$ac_func || defined __stub___$ac_func
39756 return $ac_func ();
39761 rm -f conftest.$ac_objext conftest$ac_exeext
39762 if { (ac_try="$ac_link"
39763 case "(($ac_try" in
39764 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39765 *) ac_try_echo
=$ac_try;;
39767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39768 (eval "$ac_link") 2>conftest.er1
39770 grep -v '^ *+' conftest.er1
>conftest.err
39772 cat conftest.err
>&5
39773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39774 (exit $ac_status); } && {
39775 test -z "$ac_c_werror_flag" ||
39776 test ! -s conftest.err
39777 } && test -s conftest
$ac_exeext &&
39778 $as_test_x conftest
$ac_exeext; then
39779 eval "$as_ac_var=yes"
39781 echo "$as_me: failed program was:" >&5
39782 sed 's/^/| /' conftest.
$ac_ext >&5
39784 eval "$as_ac_var=no"
39787 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39788 conftest
$ac_exeext conftest.
$ac_ext
39790 ac_res
=`eval echo '${'$as_ac_var'}'`
39791 { echo "$as_me:$LINENO: result: $ac_res" >&5
39792 echo "${ECHO_T}$ac_res" >&6; }
39793 if test `eval echo '${'$as_ac_var'}'` = yes; then
39794 cat >>confdefs.h
<<_ACEOF
39795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39797 cat >>confdefs.h
<<\_ACEOF
39798 #define HAVE_INET_ATON 1
39803 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39804 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39805 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39806 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39807 echo $ECHO_N "(cached) $ECHO_C" >&6
39809 ac_check_lib_save_LIBS
=$LIBS
39810 LIBS
="-l$INET_LINK $LIBS"
39811 cat >conftest.
$ac_ext <<_ACEOF
39814 cat confdefs.h
>>conftest.
$ac_ext
39815 cat >>conftest.
$ac_ext <<_ACEOF
39816 /* end confdefs.h. */
39818 /* Override any GCC internal prototype to avoid an error.
39819 Use char because int might match the return type of a GCC
39820 builtin and then its argument prototype would still apply. */
39828 return inet_aton ();
39833 rm -f conftest.
$ac_objext conftest
$ac_exeext
39834 if { (ac_try
="$ac_link"
39835 case "(($ac_try" in
39836 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39837 *) ac_try_echo=$ac_try;;
39839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39840 (eval "$ac_link") 2>conftest.er1
39842 grep -v '^ *+' conftest.er1 >conftest.err
39844 cat conftest.err >&5
39845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39846 (exit $ac_status); } && {
39847 test -z "$ac_c_werror_flag" ||
39848 test ! -s conftest.err
39849 } && test -s conftest$ac_exeext &&
39850 $as_test_x conftest$ac_exeext; then
39851 eval "$as_ac_Lib=yes"
39853 echo "$as_me: failed program was:" >&5
39854 sed 's/^/| /' conftest.$ac_ext >&5
39856 eval "$as_ac_Lib=no"
39859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39860 conftest$ac_exeext conftest.$ac_ext
39861 LIBS=$ac_check_lib_save_LIBS
39863 ac_res=`eval echo '${'$as_ac_Lib'}'`
39864 { echo "$as_me:$LINENO: result: $ac_res" >&5
39865 echo "${ECHO_T}$ac_res" >&6; }
39866 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39867 cat >>confdefs.h <<\_ACEOF
39868 #define HAVE_INET_ATON 1
39878 if test "x$INET_LINK" != "x"; then
39879 cat >>confdefs.h <<\_ACEOF
39880 #define HAVE_INET_ADDR 1
39883 INET_LINK=" -l$INET_LINK"
39887 for wx_func in fdopen
39889 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39890 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39891 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39892 echo $ECHO_N "(cached) $ECHO_C" >&6
39895 cat >conftest.$ac_ext <<_ACEOF
39899 cat confdefs.h >>conftest.$ac_ext
39900 cat >>conftest.$ac_ext <<_ACEOF
39901 /* end confdefs.h. */
39904 $ac_includes_default
39920 rm -f conftest.$ac_objext conftest$ac_exeext
39921 if { (ac_try="$ac_link"
39922 case "(($ac_try" in
39923 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39924 *) ac_try_echo
=$ac_try;;
39926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39927 (eval "$ac_link") 2>conftest.er1
39929 grep -v '^ *+' conftest.er1
>conftest.err
39931 cat conftest.err
>&5
39932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39933 (exit $ac_status); } && {
39934 test -z "$ac_c_werror_flag" ||
39935 test ! -s conftest.err
39936 } && test -s conftest
$ac_exeext &&
39937 $as_test_x conftest
$ac_exeext; then
39938 eval wx_cv_func_
$wx_func=yes
39940 echo "$as_me: failed program was:" >&5
39941 sed 's/^/| /' conftest.
$ac_ext >&5
39943 eval wx_cv_func_
$wx_func=no
39946 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39947 conftest
$ac_exeext conftest.
$ac_ext
39950 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39951 { echo "$as_me:$LINENO: result: $ac_res" >&5
39952 echo "${ECHO_T}$ac_res" >&6; }
39954 if eval test \
$wx_cv_func_$wx_func = yes
39956 cat >>confdefs.h
<<_ACEOF
39957 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39968 if test "$wxUSE_TARSTREAM" = "yes"; then
39970 for wx_func
in sysconf
39972 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39973 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39974 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39975 echo $ECHO_N "(cached) $ECHO_C" >&6
39978 cat >conftest.
$ac_ext <<_ACEOF
39982 cat confdefs.h
>>conftest.
$ac_ext
39983 cat >>conftest.
$ac_ext <<_ACEOF
39984 /* end confdefs.h. */
39987 $ac_includes_default
40003 rm -f conftest.
$ac_objext conftest
$ac_exeext
40004 if { (ac_try
="$ac_link"
40005 case "(($ac_try" in
40006 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40007 *) ac_try_echo=$ac_try;;
40009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40010 (eval "$ac_link") 2>conftest.er1
40012 grep -v '^ *+' conftest.er1 >conftest.err
40014 cat conftest.err >&5
40015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40016 (exit $ac_status); } && {
40017 test -z "$ac_c_werror_flag" ||
40018 test ! -s conftest.err
40019 } && test -s conftest$ac_exeext &&
40020 $as_test_x conftest$ac_exeext; then
40021 eval wx_cv_func_$wx_func=yes
40023 echo "$as_me: failed program was:" >&5
40024 sed 's/^/| /' conftest.$ac_ext >&5
40026 eval wx_cv_func_$wx_func=no
40029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40030 conftest$ac_exeext conftest.$ac_ext
40033 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40034 { echo "$as_me:$LINENO: result: $ac_res" >&5
40035 echo "${ECHO_T}$ac_res" >&6; }
40037 if eval test \$wx_cv_func_$wx_func = yes
40039 cat >>confdefs.h <<_ACEOF
40040 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40052 for wx_func in getpwuid_r
40054 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40055 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40056 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40057 echo $ECHO_N "(cached) $ECHO_C" >&6
40060 cat >conftest.$ac_ext <<_ACEOF
40064 cat confdefs.h >>conftest.$ac_ext
40065 cat >>conftest.$ac_ext <<_ACEOF
40066 /* end confdefs.h. */
40072 $ac_includes_default
40082 struct passwd pw, *ppw;
40084 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
40092 rm -f conftest.$ac_objext conftest$ac_exeext
40093 if { (ac_try="$ac_link"
40094 case "(($ac_try" in
40095 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40096 *) ac_try_echo
=$ac_try;;
40098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40099 (eval "$ac_link") 2>conftest.er1
40101 grep -v '^ *+' conftest.er1
>conftest.err
40103 cat conftest.err
>&5
40104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40105 (exit $ac_status); } && {
40106 test -z "$ac_c_werror_flag" ||
40107 test ! -s conftest.err
40108 } && test -s conftest
$ac_exeext &&
40109 $as_test_x conftest
$ac_exeext; then
40110 eval wx_cv_func_
$wx_func=yes
40112 echo "$as_me: failed program was:" >&5
40113 sed 's/^/| /' conftest.
$ac_ext >&5
40115 eval wx_cv_func_
$wx_func=no
40118 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40119 conftest
$ac_exeext conftest.
$ac_ext
40122 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40123 { echo "$as_me:$LINENO: result: $ac_res" >&5
40124 echo "${ECHO_T}$ac_res" >&6; }
40126 if eval test \
$wx_cv_func_$wx_func = yes
40128 cat >>confdefs.h
<<_ACEOF
40129 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40141 for wx_func
in getgrgid_r
40143 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40144 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40145 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40146 echo $ECHO_N "(cached) $ECHO_C" >&6
40149 cat >conftest.
$ac_ext <<_ACEOF
40153 cat confdefs.h
>>conftest.
$ac_ext
40154 cat >>conftest.
$ac_ext <<_ACEOF
40155 /* end confdefs.h. */
40161 $ac_includes_default
40171 struct group grp, *pgrp;
40173 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
40181 rm -f conftest.
$ac_objext conftest
$ac_exeext
40182 if { (ac_try
="$ac_link"
40183 case "(($ac_try" in
40184 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40185 *) ac_try_echo=$ac_try;;
40187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40188 (eval "$ac_link") 2>conftest.er1
40190 grep -v '^ *+' conftest.er1 >conftest.err
40192 cat conftest.err >&5
40193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40194 (exit $ac_status); } && {
40195 test -z "$ac_c_werror_flag" ||
40196 test ! -s conftest.err
40197 } && test -s conftest$ac_exeext &&
40198 $as_test_x conftest$ac_exeext; then
40199 eval wx_cv_func_$wx_func=yes
40201 echo "$as_me: failed program was:" >&5
40202 sed 's/^/| /' conftest.$ac_ext >&5
40204 eval wx_cv_func_$wx_func=no
40207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40208 conftest$ac_exeext conftest.$ac_ext
40211 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40212 { echo "$as_me:$LINENO: result: $ac_res" >&5
40213 echo "${ECHO_T}$ac_res" >&6; }
40215 if eval test \$wx_cv_func_$wx_func = yes
40217 cat >>confdefs.h <<_ACEOF
40218 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40234 cat >confcache <<\_ACEOF
40235 # This file is a shell script that caches the results of configure
40236 # tests run on this system so they can be shared between configure
40237 # scripts and configure runs, see configure's option --config-cache.
40238 # It is not useful on other systems. If it contains results you don't
40239 # want to keep, you may remove or edit it.
40241 # config.status only pays attention to the cache file if you give it
40242 # the --recheck option to rerun configure.
40244 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
40245 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40246 # following values.
40250 # The following way of writing the cache mishandles newlines in values,
40251 # but we know of no workaround that is simple, portable, and efficient.
40252 # So, we kill variables containing newlines.
40253 # Ultrix sh set writes to stderr and can't be redirected directly,
40254 # and sets the high bit in the cache file unless we assign to the vars.
40256 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40257 eval ac_val
=\$
$ac_var
40261 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40262 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40265 _
| IFS
| as_nl
) ;; #(
40266 *) $as_unset $ac_var ;;
40272 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40273 *${as_nl}ac_space
=\
*)
40274 # `set' does not quote correctly, so add quotes (double-quote
40275 # substitution turns \\\\ into \\, and sed turns \\ into \).
40278 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40281 # `set' quotes correctly as required by POSIX, so do not add quotes.
40282 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40291 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40293 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40295 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
40296 if test -w "$cache_file"; then
40297 test "x$cache_file" != "x/dev/null" &&
40298 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40299 echo "$as_me: updating cache $cache_file" >&6;}
40300 cat confcache
>$cache_file
40302 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40303 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40309 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40315 if test "$wxUSE_THREADS" = "yes" ; then
40316 if test "$USE_BEOS" = 1; then
40317 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40318 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40323 if test "$wxUSE_THREADS" = "yes" ; then
40326 THREAD_OPTS
="-pthread"
40327 if test "x$SUNCXX" = xyes
; then
40328 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
40332 *-*-solaris2* | *-*-sunos4* )
40333 if test "x$GCC" = "xyes"; then
40334 THREAD_OPTS
="-pthreads $THREAD_OPTS"
40338 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
40340 *-*-darwin* | *-*-cygwin* )
40344 THREAD_OPTS
="pthreads"
40347 if test "x$GCC" = "xyes"; then
40348 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
40356 if test "x$GCC" = "xyes"; then
40366 if test "x$GCC" != "xyes"; then
40367 THREAD_OPTS
="-Ethread"
40374 THREAD_OPTS
="none pthread"
40378 THREAD_OPTS
="$THREAD_OPTS pthread none"
40383 for flag
in $THREAD_OPTS; do
40386 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40387 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40391 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40392 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40393 THREADS_CFLAGS
="$flag"
40397 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40398 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40399 THREADS_LINK
="-l$flag"
40404 save_CFLAGS
="$CFLAGS"
40405 LIBS
="$THREADS_LINK $LIBS"
40406 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
40408 cat >conftest.
$ac_ext <<_ACEOF
40411 cat confdefs.h
>>conftest.
$ac_ext
40412 cat >>conftest.
$ac_ext <<_ACEOF
40413 /* end confdefs.h. */
40414 #include <pthread.h>
40418 pthread_create(0,0,0,0);
40423 rm -f conftest.
$ac_objext conftest
$ac_exeext
40424 if { (ac_try
="$ac_link"
40425 case "(($ac_try" in
40426 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40427 *) ac_try_echo=$ac_try;;
40429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40430 (eval "$ac_link") 2>conftest.er1
40432 grep -v '^ *+' conftest.er1 >conftest.err
40434 cat conftest.err >&5
40435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40436 (exit $ac_status); } && {
40437 test -z "$ac_c_werror_flag" ||
40438 test ! -s conftest.err
40439 } && test -s conftest$ac_exeext &&
40440 $as_test_x conftest$ac_exeext; then
40443 echo "$as_me: failed program was:" >&5
40444 sed 's/^/| /' conftest.$ac_ext >&5
40449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40450 conftest$ac_exeext conftest.$ac_ext
40453 CFLAGS="$save_CFLAGS"
40455 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40456 echo "${ECHO_T}$THREADS_OK" >&6; }
40457 if test "x$THREADS_OK" = "xyes"; then
40465 if test "x$THREADS_OK" != "xyes"; then
40467 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40468 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40470 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40471 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40472 LIBS="$THREADS_LINK $LIBS"
40474 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40475 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40479 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40480 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40481 flag="-D_THREAD_SAFE"
40484 flag="-D_THREAD_SAFE"
40487 flag="-D_REENTRANT"
40488 if test "x$GCC" != "xyes"; then
40489 flag="$flag -D_RWSTD_MULTI_THREAD"
40492 *solaris* | alpha*-osf*)
40493 flag="-D_REENTRANT"
40496 { echo "$as_me:$LINENO: result: ${flag}" >&5
40497 echo "${ECHO_T}${flag}" >&6; }
40498 if test "x$flag" != xno; then
40499 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40502 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40506 if test "$wxUSE_THREADS" = "yes" ; then
40508 for ac_func in thr_setconcurrency
40510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40511 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40513 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40514 echo $ECHO_N "(cached) $ECHO_C" >&6
40516 cat >conftest.$ac_ext <<_ACEOF
40519 cat confdefs.h >>conftest.$ac_ext
40520 cat >>conftest.$ac_ext <<_ACEOF
40521 /* end confdefs.h. */
40522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40524 #define $ac_func innocuous_$ac_func
40526 /* System header to define __stub macros and hopefully few prototypes,
40527 which can conflict with char $ac_func (); below.
40528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40529 <limits.h> exists even on freestanding compilers. */
40532 # include <limits.h>
40534 # include <assert.h>
40539 /* Override any GCC internal prototype to avoid an error.
40540 Use char because int might match the return type of a GCC
40541 builtin and then its argument prototype would still apply. */
40546 /* The GNU C library defines this for functions which it implements
40547 to always fail with ENOSYS. Some functions are actually named
40548 something starting with __ and the normal name is an alias. */
40549 #if defined __stub_$ac_func || defined __stub___$ac_func
40556 return $ac_func ();
40561 rm -f conftest.$ac_objext conftest$ac_exeext
40562 if { (ac_try="$ac_link"
40563 case "(($ac_try" in
40564 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40565 *) ac_try_echo
=$ac_try;;
40567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40568 (eval "$ac_link") 2>conftest.er1
40570 grep -v '^ *+' conftest.er1
>conftest.err
40572 cat conftest.err
>&5
40573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40574 (exit $ac_status); } && {
40575 test -z "$ac_c_werror_flag" ||
40576 test ! -s conftest.err
40577 } && test -s conftest
$ac_exeext &&
40578 $as_test_x conftest
$ac_exeext; then
40579 eval "$as_ac_var=yes"
40581 echo "$as_me: failed program was:" >&5
40582 sed 's/^/| /' conftest.
$ac_ext >&5
40584 eval "$as_ac_var=no"
40587 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40588 conftest
$ac_exeext conftest.
$ac_ext
40590 ac_res
=`eval echo '${'$as_ac_var'}'`
40591 { echo "$as_me:$LINENO: result: $ac_res" >&5
40592 echo "${ECHO_T}$ac_res" >&6; }
40593 if test `eval echo '${'$as_ac_var'}'` = yes; then
40594 cat >>confdefs.h
<<_ACEOF
40595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40602 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40603 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40604 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40605 echo $ECHO_N "(cached) $ECHO_C" >&6
40609 ac_cpp
='$CXXCPP $CPPFLAGS'
40610 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40611 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40612 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40614 cat >conftest.
$ac_ext <<_ACEOF
40617 cat confdefs.h
>>conftest.
$ac_ext
40618 cat >>conftest.
$ac_ext <<_ACEOF
40619 /* end confdefs.h. */
40620 #include <pthread.h>
40621 void ThreadCleanupFunc(void *p);
40628 pthread_cleanup_push(ThreadCleanupFunc, p);
40629 pthread_cleanup_pop(0);
40635 rm -f conftest.
$ac_objext
40636 if { (ac_try
="$ac_compile"
40637 case "(($ac_try" in
40638 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40639 *) ac_try_echo=$ac_try;;
40641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40642 (eval "$ac_compile") 2>conftest.er1
40644 grep -v '^ *+' conftest.er1 >conftest.err
40646 cat conftest.err >&5
40647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40648 (exit $ac_status); } && {
40649 test -z "$ac_cxx_werror_flag" ||
40650 test ! -s conftest.err
40651 } && test -s conftest.$ac_objext; then
40653 wx_cv_func_pthread_cleanup=yes
40656 echo "$as_me: failed program was:" >&5
40657 sed 's/^/| /' conftest.$ac_ext >&5
40660 wx_cv_func_pthread_cleanup=no
40665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40667 ac_cpp='$CPP $CPPFLAGS'
40668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40674 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40675 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40676 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40677 cat >>confdefs.h <<\_ACEOF
40678 #define wxHAVE_PTHREAD_CLEANUP 1
40684 for ac_header in sched.h
40686 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40687 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40689 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40690 echo $ECHO_N "(cached) $ECHO_C" >&6
40692 cat >conftest.$ac_ext <<_ACEOF
40695 cat confdefs.h >>conftest.$ac_ext
40696 cat >>conftest.$ac_ext <<_ACEOF
40697 /* end confdefs.h. */
40698 $ac_includes_default
40700 #include <$ac_header>
40702 rm -f conftest.$ac_objext
40703 if { (ac_try="$ac_compile"
40704 case "(($ac_try" in
40705 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40706 *) ac_try_echo
=$ac_try;;
40708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40709 (eval "$ac_compile") 2>conftest.er1
40711 grep -v '^ *+' conftest.er1
>conftest.err
40713 cat conftest.err
>&5
40714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40715 (exit $ac_status); } && {
40716 test -z "$ac_c_werror_flag" ||
40717 test ! -s conftest.err
40718 } && test -s conftest.
$ac_objext; then
40719 eval "$as_ac_Header=yes"
40721 echo "$as_me: failed program was:" >&5
40722 sed 's/^/| /' conftest.
$ac_ext >&5
40724 eval "$as_ac_Header=no"
40727 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40729 ac_res
=`eval echo '${'$as_ac_Header'}'`
40730 { echo "$as_me:$LINENO: result: $ac_res" >&5
40731 echo "${ECHO_T}$ac_res" >&6; }
40732 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40733 cat >>confdefs.h
<<_ACEOF
40734 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40741 if test "$ac_cv_header_sched_h" = "yes"; then
40742 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40743 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40744 if test "${ac_cv_func_sched_yield+set}" = set; then
40745 echo $ECHO_N "(cached) $ECHO_C" >&6
40747 cat >conftest.
$ac_ext <<_ACEOF
40750 cat confdefs.h
>>conftest.
$ac_ext
40751 cat >>conftest.
$ac_ext <<_ACEOF
40752 /* end confdefs.h. */
40753 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40755 #define sched_yield innocuous_sched_yield
40757 /* System header to define __stub macros and hopefully few prototypes,
40758 which can conflict with char sched_yield (); below.
40759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40760 <limits.h> exists even on freestanding compilers. */
40763 # include <limits.h>
40765 # include <assert.h>
40770 /* Override any GCC internal prototype to avoid an error.
40771 Use char because int might match the return type of a GCC
40772 builtin and then its argument prototype would still apply. */
40776 char sched_yield ();
40777 /* The GNU C library defines this for functions which it implements
40778 to always fail with ENOSYS. Some functions are actually named
40779 something starting with __ and the normal name is an alias. */
40780 #if defined __stub_sched_yield || defined __stub___sched_yield
40787 return sched_yield ();
40792 rm -f conftest.
$ac_objext conftest
$ac_exeext
40793 if { (ac_try
="$ac_link"
40794 case "(($ac_try" in
40795 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40796 *) ac_try_echo=$ac_try;;
40798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40799 (eval "$ac_link") 2>conftest.er1
40801 grep -v '^ *+' conftest.er1 >conftest.err
40803 cat conftest.err >&5
40804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40805 (exit $ac_status); } && {
40806 test -z "$ac_c_werror_flag" ||
40807 test ! -s conftest.err
40808 } && test -s conftest$ac_exeext &&
40809 $as_test_x conftest$ac_exeext; then
40810 ac_cv_func_sched_yield=yes
40812 echo "$as_me: failed program was:" >&5
40813 sed 's/^/| /' conftest.$ac_ext >&5
40815 ac_cv_func_sched_yield=no
40818 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40819 conftest$ac_exeext conftest.$ac_ext
40821 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40822 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40823 if test $ac_cv_func_sched_yield = yes; then
40824 cat >>confdefs.h <<\_ACEOF
40825 #define HAVE_SCHED_YIELD 1
40830 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40831 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40832 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40833 echo $ECHO_N "(cached) $ECHO_C" >&6
40835 ac_check_lib_save_LIBS=$LIBS
40836 LIBS="-lposix4 $LIBS"
40837 cat >conftest.$ac_ext <<_ACEOF
40840 cat confdefs.h >>conftest.$ac_ext
40841 cat >>conftest.$ac_ext <<_ACEOF
40842 /* end confdefs.h. */
40844 /* Override any GCC internal prototype to avoid an error.
40845 Use char because int might match the return type of a GCC
40846 builtin and then its argument prototype would still apply. */
40850 char sched_yield ();
40854 return sched_yield ();
40859 rm -f conftest.$ac_objext conftest$ac_exeext
40860 if { (ac_try="$ac_link"
40861 case "(($ac_try" in
40862 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40863 *) ac_try_echo
=$ac_try;;
40865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40866 (eval "$ac_link") 2>conftest.er1
40868 grep -v '^ *+' conftest.er1
>conftest.err
40870 cat conftest.err
>&5
40871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40872 (exit $ac_status); } && {
40873 test -z "$ac_c_werror_flag" ||
40874 test ! -s conftest.err
40875 } && test -s conftest
$ac_exeext &&
40876 $as_test_x conftest
$ac_exeext; then
40877 ac_cv_lib_posix4_sched_yield
=yes
40879 echo "$as_me: failed program was:" >&5
40880 sed 's/^/| /' conftest.
$ac_ext >&5
40882 ac_cv_lib_posix4_sched_yield
=no
40885 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40886 conftest
$ac_exeext conftest.
$ac_ext
40887 LIBS
=$ac_check_lib_save_LIBS
40889 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40890 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40891 if test $ac_cv_lib_posix4_sched_yield = yes; then
40892 cat >>confdefs.h
<<\_ACEOF
40893 #define HAVE_SCHED_YIELD 1
40895 POSIX4_LINK
=" -lposix4"
40897 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40898 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40909 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40910 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40911 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40912 echo $ECHO_N "(cached) $ECHO_C" >&6
40914 cat >conftest.
$ac_ext <<_ACEOF
40917 cat confdefs.h
>>conftest.
$ac_ext
40918 cat >>conftest.
$ac_ext <<_ACEOF
40919 /* end confdefs.h. */
40920 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40922 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40924 /* System header to define __stub macros and hopefully few prototypes,
40925 which can conflict with char pthread_attr_getschedpolicy (); below.
40926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40927 <limits.h> exists even on freestanding compilers. */
40930 # include <limits.h>
40932 # include <assert.h>
40935 #undef pthread_attr_getschedpolicy
40937 /* Override any GCC internal prototype to avoid an error.
40938 Use char because int might match the return type of a GCC
40939 builtin and then its argument prototype would still apply. */
40943 char pthread_attr_getschedpolicy ();
40944 /* The GNU C library defines this for functions which it implements
40945 to always fail with ENOSYS. Some functions are actually named
40946 something starting with __ and the normal name is an alias. */
40947 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40954 return pthread_attr_getschedpolicy ();
40959 rm -f conftest.
$ac_objext conftest
$ac_exeext
40960 if { (ac_try
="$ac_link"
40961 case "(($ac_try" in
40962 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40963 *) ac_try_echo=$ac_try;;
40965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40966 (eval "$ac_link") 2>conftest.er1
40968 grep -v '^ *+' conftest.er1 >conftest.err
40970 cat conftest.err >&5
40971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40972 (exit $ac_status); } && {
40973 test -z "$ac_c_werror_flag" ||
40974 test ! -s conftest.err
40975 } && test -s conftest$ac_exeext &&
40976 $as_test_x conftest$ac_exeext; then
40977 ac_cv_func_pthread_attr_getschedpolicy=yes
40979 echo "$as_me: failed program was:" >&5
40980 sed 's/^/| /' conftest.$ac_ext >&5
40982 ac_cv_func_pthread_attr_getschedpolicy=no
40985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40986 conftest$ac_exeext conftest.$ac_ext
40988 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40989 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40990 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40991 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40992 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40993 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40994 echo $ECHO_N "(cached) $ECHO_C" >&6
40996 cat >conftest.$ac_ext <<_ACEOF
40999 cat confdefs.h >>conftest.$ac_ext
41000 cat >>conftest.$ac_ext <<_ACEOF
41001 /* end confdefs.h. */
41002 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41004 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41006 /* System header to define __stub macros and hopefully few prototypes,
41007 which can conflict with char pthread_attr_setschedparam (); below.
41008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41009 <limits.h> exists even on freestanding compilers. */
41012 # include <limits.h>
41014 # include <assert.h>
41017 #undef pthread_attr_setschedparam
41019 /* Override any GCC internal prototype to avoid an error.
41020 Use char because int might match the return type of a GCC
41021 builtin and then its argument prototype would still apply. */
41025 char pthread_attr_setschedparam ();
41026 /* The GNU C library defines this for functions which it implements
41027 to always fail with ENOSYS. Some functions are actually named
41028 something starting with __ and the normal name is an alias. */
41029 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41036 return pthread_attr_setschedparam ();
41041 rm -f conftest.$ac_objext conftest$ac_exeext
41042 if { (ac_try="$ac_link"
41043 case "(($ac_try" in
41044 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41045 *) ac_try_echo
=$ac_try;;
41047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41048 (eval "$ac_link") 2>conftest.er1
41050 grep -v '^ *+' conftest.er1
>conftest.err
41052 cat conftest.err
>&5
41053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41054 (exit $ac_status); } && {
41055 test -z "$ac_c_werror_flag" ||
41056 test ! -s conftest.err
41057 } && test -s conftest
$ac_exeext &&
41058 $as_test_x conftest
$ac_exeext; then
41059 ac_cv_func_pthread_attr_setschedparam
=yes
41061 echo "$as_me: failed program was:" >&5
41062 sed 's/^/| /' conftest.
$ac_ext >&5
41064 ac_cv_func_pthread_attr_setschedparam
=no
41067 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41068 conftest
$ac_exeext conftest.
$ac_ext
41070 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41071 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41072 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41073 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41074 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41075 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41076 echo $ECHO_N "(cached) $ECHO_C" >&6
41078 cat >conftest.
$ac_ext <<_ACEOF
41081 cat confdefs.h
>>conftest.
$ac_ext
41082 cat >>conftest.
$ac_ext <<_ACEOF
41083 /* end confdefs.h. */
41084 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41086 #define sched_get_priority_max innocuous_sched_get_priority_max
41088 /* System header to define __stub macros and hopefully few prototypes,
41089 which can conflict with char sched_get_priority_max (); below.
41090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41091 <limits.h> exists even on freestanding compilers. */
41094 # include <limits.h>
41096 # include <assert.h>
41099 #undef sched_get_priority_max
41101 /* Override any GCC internal prototype to avoid an error.
41102 Use char because int might match the return type of a GCC
41103 builtin and then its argument prototype would still apply. */
41107 char sched_get_priority_max ();
41108 /* The GNU C library defines this for functions which it implements
41109 to always fail with ENOSYS. Some functions are actually named
41110 something starting with __ and the normal name is an alias. */
41111 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41118 return sched_get_priority_max ();
41123 rm -f conftest.
$ac_objext conftest
$ac_exeext
41124 if { (ac_try
="$ac_link"
41125 case "(($ac_try" in
41126 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41127 *) ac_try_echo=$ac_try;;
41129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41130 (eval "$ac_link") 2>conftest.er1
41132 grep -v '^ *+' conftest.er1 >conftest.err
41134 cat conftest.err >&5
41135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41136 (exit $ac_status); } && {
41137 test -z "$ac_c_werror_flag" ||
41138 test ! -s conftest.err
41139 } && test -s conftest$ac_exeext &&
41140 $as_test_x conftest$ac_exeext; then
41141 ac_cv_func_sched_get_priority_max=yes
41143 echo "$as_me: failed program was:" >&5
41144 sed 's/^/| /' conftest.$ac_ext >&5
41146 ac_cv_func_sched_get_priority_max=no
41149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41150 conftest$ac_exeext conftest.$ac_ext
41152 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41153 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41154 if test $ac_cv_func_sched_get_priority_max = yes; then
41157 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41158 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41159 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41160 echo $ECHO_N "(cached) $ECHO_C" >&6
41162 ac_check_lib_save_LIBS=$LIBS
41163 LIBS="-lposix4 $LIBS"
41164 cat >conftest.$ac_ext <<_ACEOF
41167 cat confdefs.h >>conftest.$ac_ext
41168 cat >>conftest.$ac_ext <<_ACEOF
41169 /* end confdefs.h. */
41171 /* Override any GCC internal prototype to avoid an error.
41172 Use char because int might match the return type of a GCC
41173 builtin and then its argument prototype would still apply. */
41177 char sched_get_priority_max ();
41181 return sched_get_priority_max ();
41186 rm -f conftest.$ac_objext conftest$ac_exeext
41187 if { (ac_try="$ac_link"
41188 case "(($ac_try" in
41189 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41190 *) ac_try_echo
=$ac_try;;
41192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41193 (eval "$ac_link") 2>conftest.er1
41195 grep -v '^ *+' conftest.er1
>conftest.err
41197 cat conftest.err
>&5
41198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41199 (exit $ac_status); } && {
41200 test -z "$ac_c_werror_flag" ||
41201 test ! -s conftest.err
41202 } && test -s conftest
$ac_exeext &&
41203 $as_test_x conftest
$ac_exeext; then
41204 ac_cv_lib_posix4_sched_get_priority_max
=yes
41206 echo "$as_me: failed program was:" >&5
41207 sed 's/^/| /' conftest.
$ac_ext >&5
41209 ac_cv_lib_posix4_sched_get_priority_max
=no
41212 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41213 conftest
$ac_exeext conftest.
$ac_ext
41214 LIBS
=$ac_check_lib_save_LIBS
41216 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41217 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41218 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41221 POSIX4_LINK
=" -lposix4"
41235 if test "$HAVE_PRIOR_FUNCS" = 1; then
41236 cat >>confdefs.h
<<\_ACEOF
41237 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41241 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41242 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41245 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41246 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41247 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41248 echo $ECHO_N "(cached) $ECHO_C" >&6
41250 cat >conftest.
$ac_ext <<_ACEOF
41253 cat confdefs.h
>>conftest.
$ac_ext
41254 cat >>conftest.
$ac_ext <<_ACEOF
41255 /* end confdefs.h. */
41256 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41258 #define pthread_cancel innocuous_pthread_cancel
41260 /* System header to define __stub macros and hopefully few prototypes,
41261 which can conflict with char pthread_cancel (); below.
41262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41263 <limits.h> exists even on freestanding compilers. */
41266 # include <limits.h>
41268 # include <assert.h>
41271 #undef pthread_cancel
41273 /* Override any GCC internal prototype to avoid an error.
41274 Use char because int might match the return type of a GCC
41275 builtin and then its argument prototype would still apply. */
41279 char pthread_cancel ();
41280 /* The GNU C library defines this for functions which it implements
41281 to always fail with ENOSYS. Some functions are actually named
41282 something starting with __ and the normal name is an alias. */
41283 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41290 return pthread_cancel ();
41295 rm -f conftest.
$ac_objext conftest
$ac_exeext
41296 if { (ac_try
="$ac_link"
41297 case "(($ac_try" in
41298 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41299 *) ac_try_echo=$ac_try;;
41301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41302 (eval "$ac_link") 2>conftest.er1
41304 grep -v '^ *+' conftest.er1 >conftest.err
41306 cat conftest.err >&5
41307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41308 (exit $ac_status); } && {
41309 test -z "$ac_c_werror_flag" ||
41310 test ! -s conftest.err
41311 } && test -s conftest$ac_exeext &&
41312 $as_test_x conftest$ac_exeext; then
41313 ac_cv_func_pthread_cancel=yes
41315 echo "$as_me: failed program was:" >&5
41316 sed 's/^/| /' conftest.$ac_ext >&5
41318 ac_cv_func_pthread_cancel=no
41321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41322 conftest$ac_exeext conftest.$ac_ext
41324 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41325 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41326 if test $ac_cv_func_pthread_cancel = yes; then
41327 cat >>confdefs.h <<\_ACEOF
41328 #define HAVE_PTHREAD_CANCEL 1
41332 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41333 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41337 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41338 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41339 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41340 echo $ECHO_N "(cached) $ECHO_C" >&6
41342 cat >conftest.$ac_ext <<_ACEOF
41345 cat confdefs.h >>conftest.$ac_ext
41346 cat >>conftest.$ac_ext <<_ACEOF
41347 /* end confdefs.h. */
41348 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41350 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41352 /* System header to define __stub macros and hopefully few prototypes,
41353 which can conflict with char pthread_mutex_timedlock (); below.
41354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41355 <limits.h> exists even on freestanding compilers. */
41358 # include <limits.h>
41360 # include <assert.h>
41363 #undef pthread_mutex_timedlock
41365 /* Override any GCC internal prototype to avoid an error.
41366 Use char because int might match the return type of a GCC
41367 builtin and then its argument prototype would still apply. */
41371 char pthread_mutex_timedlock ();
41372 /* The GNU C library defines this for functions which it implements
41373 to always fail with ENOSYS. Some functions are actually named
41374 something starting with __ and the normal name is an alias. */
41375 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41382 return pthread_mutex_timedlock ();
41387 rm -f conftest.$ac_objext conftest$ac_exeext
41388 if { (ac_try="$ac_link"
41389 case "(($ac_try" in
41390 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41391 *) ac_try_echo
=$ac_try;;
41393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41394 (eval "$ac_link") 2>conftest.er1
41396 grep -v '^ *+' conftest.er1
>conftest.err
41398 cat conftest.err
>&5
41399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41400 (exit $ac_status); } && {
41401 test -z "$ac_c_werror_flag" ||
41402 test ! -s conftest.err
41403 } && test -s conftest
$ac_exeext &&
41404 $as_test_x conftest
$ac_exeext; then
41405 ac_cv_func_pthread_mutex_timedlock
=yes
41407 echo "$as_me: failed program was:" >&5
41408 sed 's/^/| /' conftest.
$ac_ext >&5
41410 ac_cv_func_pthread_mutex_timedlock
=no
41413 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41414 conftest
$ac_exeext conftest.
$ac_ext
41416 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41417 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41418 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41419 cat >>confdefs.h
<<\_ACEOF
41420 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41424 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41425 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41429 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41430 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41431 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41432 echo $ECHO_N "(cached) $ECHO_C" >&6
41434 cat >conftest.
$ac_ext <<_ACEOF
41437 cat confdefs.h
>>conftest.
$ac_ext
41438 cat >>conftest.
$ac_ext <<_ACEOF
41439 /* end confdefs.h. */
41440 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41442 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41444 /* System header to define __stub macros and hopefully few prototypes,
41445 which can conflict with char pthread_attr_setstacksize (); below.
41446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41447 <limits.h> exists even on freestanding compilers. */
41450 # include <limits.h>
41452 # include <assert.h>
41455 #undef pthread_attr_setstacksize
41457 /* Override any GCC internal prototype to avoid an error.
41458 Use char because int might match the return type of a GCC
41459 builtin and then its argument prototype would still apply. */
41463 char pthread_attr_setstacksize ();
41464 /* The GNU C library defines this for functions which it implements
41465 to always fail with ENOSYS. Some functions are actually named
41466 something starting with __ and the normal name is an alias. */
41467 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41474 return pthread_attr_setstacksize ();
41479 rm -f conftest.
$ac_objext conftest
$ac_exeext
41480 if { (ac_try
="$ac_link"
41481 case "(($ac_try" in
41482 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41483 *) ac_try_echo=$ac_try;;
41485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41486 (eval "$ac_link") 2>conftest.er1
41488 grep -v '^ *+' conftest.er1 >conftest.err
41490 cat conftest.err >&5
41491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41492 (exit $ac_status); } && {
41493 test -z "$ac_c_werror_flag" ||
41494 test ! -s conftest.err
41495 } && test -s conftest$ac_exeext &&
41496 $as_test_x conftest$ac_exeext; then
41497 ac_cv_func_pthread_attr_setstacksize=yes
41499 echo "$as_me: failed program was:" >&5
41500 sed 's/^/| /' conftest.$ac_ext >&5
41502 ac_cv_func_pthread_attr_setstacksize=no
41505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41506 conftest$ac_exeext conftest.$ac_ext
41508 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41509 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41510 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41511 cat >>confdefs.h <<\_ACEOF
41512 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41519 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41520 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41521 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41522 echo $ECHO_N "(cached) $ECHO_C" >&6
41525 cat >conftest.$ac_ext <<_ACEOF
41528 cat confdefs.h >>conftest.$ac_ext
41529 cat >>conftest.$ac_ext <<_ACEOF
41530 /* end confdefs.h. */
41531 #include <pthread.h>
41536 pthread_mutexattr_t attr;
41537 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41543 rm -f conftest.$ac_objext
41544 if { (ac_try="$ac_compile"
41545 case "(($ac_try" in
41546 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41547 *) ac_try_echo
=$ac_try;;
41549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41550 (eval "$ac_compile") 2>conftest.er1
41552 grep -v '^ *+' conftest.er1
>conftest.err
41554 cat conftest.err
>&5
41555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41556 (exit $ac_status); } && {
41557 test -z "$ac_c_werror_flag" ||
41558 test ! -s conftest.err
41559 } && test -s conftest.
$ac_objext; then
41560 wx_cv_type_pthread_mutexattr_t
=yes
41562 echo "$as_me: failed program was:" >&5
41563 sed 's/^/| /' conftest.
$ac_ext >&5
41565 wx_cv_type_pthread_mutexattr_t
=no
41569 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41572 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41573 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41575 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41576 cat >>confdefs.h
<<\_ACEOF
41577 #define HAVE_PTHREAD_MUTEXATTR_T 1
41581 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41582 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41583 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41584 echo $ECHO_N "(cached) $ECHO_C" >&6
41587 cat >conftest.
$ac_ext <<_ACEOF
41590 cat confdefs.h
>>conftest.
$ac_ext
41591 cat >>conftest.
$ac_ext <<_ACEOF
41592 /* end confdefs.h. */
41593 #include <pthread.h>
41598 pthread_mutexattr_t attr;
41599 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41605 rm -f conftest.
$ac_objext
41606 if { (ac_try
="$ac_compile"
41607 case "(($ac_try" in
41608 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41609 *) ac_try_echo=$ac_try;;
41611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41612 (eval "$ac_compile") 2>conftest.er1
41614 grep -v '^ *+' conftest.er1 >conftest.err
41616 cat conftest.err >&5
41617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41618 (exit $ac_status); } && {
41619 test -z "$ac_c_werror_flag" ||
41620 test ! -s conftest.err
41621 } && test -s conftest.$ac_objext; then
41622 wx_cv_func_pthread_mutexattr_settype_decl=yes
41624 echo "$as_me: failed program was:" >&5
41625 sed 's/^/| /' conftest.$ac_ext >&5
41627 wx_cv_func_pthread_mutexattr_settype_decl=no
41631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41634 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41635 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41636 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41637 cat >>confdefs.h <<\_ACEOF
41638 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41643 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41644 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41645 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41646 echo $ECHO_N "(cached) $ECHO_C" >&6
41649 cat >conftest.$ac_ext <<_ACEOF
41652 cat confdefs.h >>conftest.$ac_ext
41653 cat >>conftest.$ac_ext <<_ACEOF
41654 /* end confdefs.h. */
41655 #include <pthread.h>
41660 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41666 rm -f conftest.$ac_objext
41667 if { (ac_try="$ac_compile"
41668 case "(($ac_try" in
41669 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41670 *) ac_try_echo
=$ac_try;;
41672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41673 (eval "$ac_compile") 2>conftest.er1
41675 grep -v '^ *+' conftest.er1
>conftest.err
41677 cat conftest.err
>&5
41678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41679 (exit $ac_status); } && {
41680 test -z "$ac_c_werror_flag" ||
41681 test ! -s conftest.err
41682 } && test -s conftest.
$ac_objext; then
41684 wx_cv_type_pthread_rec_mutex_init
=yes
41687 echo "$as_me: failed program was:" >&5
41688 sed 's/^/| /' conftest.
$ac_ext >&5
41691 wx_cv_type_pthread_rec_mutex_init
=no
41696 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41699 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41700 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41701 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41702 cat >>confdefs.h
<<\_ACEOF
41703 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41707 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41708 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41712 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41713 if test "$USE_NETBSD" = 1; then
41714 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41715 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41716 wxUSE_COMPILER_TLS
=no
41718 wxUSE_COMPILER_TLS
=yes
41722 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41723 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41724 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41725 if test "${wx_cv_cc___thread+set}" = set; then
41726 echo $ECHO_N "(cached) $ECHO_C" >&6
41729 cat >conftest.
$ac_ext <<_ACEOF
41732 cat confdefs.h
>>conftest.
$ac_ext
41733 cat >>conftest.
$ac_ext <<_ACEOF
41734 /* end confdefs.h. */
41735 #include <pthread.h>
41740 static __thread int n = 0;
41741 static __thread int *p = 0;
41747 rm -f conftest.
$ac_objext
41748 if { (ac_try
="$ac_compile"
41749 case "(($ac_try" in
41750 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41751 *) ac_try_echo=$ac_try;;
41753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41754 (eval "$ac_compile") 2>conftest.er1
41756 grep -v '^ *+' conftest.er1 >conftest.err
41758 cat conftest.err >&5
41759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41760 (exit $ac_status); } && {
41761 test -z "$ac_c_werror_flag" ||
41762 test ! -s conftest.err
41763 } && test -s conftest.$ac_objext; then
41764 wx_cv_cc___thread=yes
41766 echo "$as_me: failed program was:" >&5
41767 sed 's/^/| /' conftest.$ac_ext >&5
41769 wx_cv_cc___thread=no
41773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41777 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41778 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41780 if test "$wx_cv_cc___thread" = "yes"; then
41786 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41787 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41789 if test "x$GCC" = "xyes" ; then
41791 if test -z "" ; then
41793 ax_gcc_option_test="int main()
41800 ax_gcc_option_test=""
41805 # Dump the test program to file
41806 cat <<EOF > conftest.c
41807 $ax_gcc_option_test
41810 # Dump back the file to the log, useful for debugging purposes
41811 { ac_try='cat conftest.c 1>&5'
41812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41813 (eval $ac_try) 2>&5
41815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41816 (exit $ac_status); }; }
41818 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41820 (eval $ac_try) 2>&5
41822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41823 (exit $ac_status); }; } ; then
41825 { echo "$as_me:$LINENO: result: yes" >&5
41826 echo "${ECHO_T}yes" >&6; }
41828 ax_gcc_version_option=yes
41833 { echo "$as_me:$LINENO: result: no" >&5
41834 echo "${ECHO_T}no" >&6; }
41836 ax_gcc_version_option=no
41844 { echo "$as_me:$LINENO: result: no gcc available" >&5
41845 echo "${ECHO_T}no gcc available" >&6; }
41850 if test "x$GXX" = "xyes"; then
41852 if test "x$ax_gxx_version_option" != "no"; then
41854 { echo "$as_me:$LINENO: checking gxx version" >&5
41855 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41856 if test "${ax_cv_gxx_version+set}" = set; then
41857 echo $ECHO_N "(cached) $ECHO_C" >&6
41860 ax_cv_gxx_version="`$CXX -dumpversion`"
41861 if test "x$ax_cv_gxx_version" = "x"; then
41863 ax_cv_gxx_version=""
41869 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41870 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41871 GXX_VERSION=$ax_cv_gxx_version
41880 if test -n "$ax_cv_gxx_version"; then
41881 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41882 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41883 case "$ax_cv_gxx_version" in
41885 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41886 echo "${ECHO_T}no, it's broken" >&6; }
41887 wx_cv_cc___thread=no
41890 { echo "$as_me:$LINENO: result: yes, it works" >&5
41891 echo "${ECHO_T}yes, it works" >&6; }
41897 if test "$wx_cv_cc___thread" = "yes"; then
41898 cat >>confdefs.h <<\_ACEOF
41899 #define HAVE___THREAD_KEYWORD 1
41907 if test "$wxUSE_THREADS" = "yes" ; then
41909 x86_64-*-mingw32* )
41912 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41913 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41914 if test "${wx_cv_cflags_mthread+set}" = set; then
41915 echo $ECHO_N "(cached) $ECHO_C" >&6
41918 CFLAGS_OLD="$CFLAGS"
41919 CFLAGS="-mthreads $CFLAGS"
41920 cat >conftest.$ac_ext <<_ACEOF
41923 cat confdefs.h >>conftest.$ac_ext
41924 cat >>conftest.$ac_ext <<_ACEOF
41925 /* end confdefs.h. */
41935 rm -f conftest.$ac_objext
41936 if { (ac_try="$ac_compile"
41937 case "(($ac_try" in
41938 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41939 *) ac_try_echo
=$ac_try;;
41941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41942 (eval "$ac_compile") 2>conftest.er1
41944 grep -v '^ *+' conftest.er1
>conftest.err
41946 cat conftest.err
>&5
41947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41948 (exit $ac_status); } && {
41949 test -z "$ac_c_werror_flag" ||
41950 test ! -s conftest.err
41951 } && test -s conftest.
$ac_objext; then
41952 wx_cv_cflags_mthread
=yes
41954 echo "$as_me: failed program was:" >&5
41955 sed 's/^/| /' conftest.
$ac_ext >&5
41957 wx_cv_cflags_mthread
=no
41961 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41965 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41966 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41968 if test "$wx_cv_cflags_mthread" = "yes"; then
41969 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
41970 LDFLAGS
="$LDFLAGS -mthreads"
41972 CFLAGS
="$CFLAGS_OLD"
41976 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41977 LDFLAGS
="$LDFLAGS -Zmt"
41983 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41984 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41985 if test "${ac_cv_func_localtime_r+set}" = set; then
41986 echo $ECHO_N "(cached) $ECHO_C" >&6
41988 cat >conftest.
$ac_ext <<_ACEOF
41991 cat confdefs.h
>>conftest.
$ac_ext
41992 cat >>conftest.
$ac_ext <<_ACEOF
41993 /* end confdefs.h. */
41994 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41996 #define localtime_r innocuous_localtime_r
41998 /* System header to define __stub macros and hopefully few prototypes,
41999 which can conflict with char localtime_r (); below.
42000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42001 <limits.h> exists even on freestanding compilers. */
42004 # include <limits.h>
42006 # include <assert.h>
42011 /* Override any GCC internal prototype to avoid an error.
42012 Use char because int might match the return type of a GCC
42013 builtin and then its argument prototype would still apply. */
42017 char localtime_r ();
42018 /* The GNU C library defines this for functions which it implements
42019 to always fail with ENOSYS. Some functions are actually named
42020 something starting with __ and the normal name is an alias. */
42021 #if defined __stub_localtime_r || defined __stub___localtime_r
42028 return localtime_r ();
42033 rm -f conftest.
$ac_objext conftest
$ac_exeext
42034 if { (ac_try
="$ac_link"
42035 case "(($ac_try" in
42036 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42037 *) ac_try_echo=$ac_try;;
42039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42040 (eval "$ac_link") 2>conftest.er1
42042 grep -v '^ *+' conftest.er1 >conftest.err
42044 cat conftest.err >&5
42045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42046 (exit $ac_status); } && {
42047 test -z "$ac_c_werror_flag" ||
42048 test ! -s conftest.err
42049 } && test -s conftest$ac_exeext &&
42050 $as_test_x conftest$ac_exeext; then
42051 ac_cv_func_localtime_r=yes
42053 echo "$as_me: failed program was:" >&5
42054 sed 's/^/| /' conftest.$ac_ext >&5
42056 ac_cv_func_localtime_r=no
42059 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42060 conftest$ac_exeext conftest.$ac_ext
42062 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42063 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42064 if test $ac_cv_func_localtime_r = yes; then
42065 cat >>confdefs.h <<\_ACEOF
42066 #define HAVE_LOCALTIME_R 1
42071 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42072 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42073 if test "${ac_cv_func_gmtime_r+set}" = set; then
42074 echo $ECHO_N "(cached) $ECHO_C" >&6
42076 cat >conftest.$ac_ext <<_ACEOF
42079 cat confdefs.h >>conftest.$ac_ext
42080 cat >>conftest.$ac_ext <<_ACEOF
42081 /* end confdefs.h. */
42082 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42084 #define gmtime_r innocuous_gmtime_r
42086 /* System header to define __stub macros and hopefully few prototypes,
42087 which can conflict with char gmtime_r (); below.
42088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42089 <limits.h> exists even on freestanding compilers. */
42092 # include <limits.h>
42094 # include <assert.h>
42099 /* Override any GCC internal prototype to avoid an error.
42100 Use char because int might match the return type of a GCC
42101 builtin and then its argument prototype would still apply. */
42106 /* The GNU C library defines this for functions which it implements
42107 to always fail with ENOSYS. Some functions are actually named
42108 something starting with __ and the normal name is an alias. */
42109 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42116 return gmtime_r ();
42121 rm -f conftest.$ac_objext conftest$ac_exeext
42122 if { (ac_try="$ac_link"
42123 case "(($ac_try" in
42124 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42125 *) ac_try_echo
=$ac_try;;
42127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42128 (eval "$ac_link") 2>conftest.er1
42130 grep -v '^ *+' conftest.er1
>conftest.err
42132 cat conftest.err
>&5
42133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42134 (exit $ac_status); } && {
42135 test -z "$ac_c_werror_flag" ||
42136 test ! -s conftest.err
42137 } && test -s conftest
$ac_exeext &&
42138 $as_test_x conftest
$ac_exeext; then
42139 ac_cv_func_gmtime_r
=yes
42141 echo "$as_me: failed program was:" >&5
42142 sed 's/^/| /' conftest.
$ac_ext >&5
42144 ac_cv_func_gmtime_r
=no
42147 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42148 conftest
$ac_exeext conftest.
$ac_ext
42150 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42151 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42152 if test $ac_cv_func_gmtime_r = yes; then
42153 cat >>confdefs.h
<<\_ACEOF
42154 #define HAVE_GMTIME_R 1
42163 ac_cpp
='$CPP $CPPFLAGS'
42164 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42165 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42166 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42168 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42169 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42171 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42172 echo $ECHO_N "(cached) $ECHO_C" >&6
42176 ################################################################
42178 ac_cv_func_which_gethostbyname_r
=unknown
42181 # ONE ARGUMENT (sanity check)
42184 # This should fail, as there is no variant of gethostbyname_r() that takes
42185 # a single argument. If it actually compiles, then we can assume that
42186 # netdb.h is not declaring the function, and the compiler is thereby
42187 # assuming an implicit prototype. In which case, we're out of luck.
42189 cat >conftest.
$ac_ext <<_ACEOF
42192 cat confdefs.h
>>conftest.
$ac_ext
42193 cat >>conftest.
$ac_ext <<_ACEOF
42194 /* end confdefs.h. */
42200 char *name = "www.gnu.org";
42201 (void)gethostbyname_r(name) /* ; */
42207 rm -f conftest.
$ac_objext
42208 if { (ac_try
="$ac_compile"
42209 case "(($ac_try" in
42210 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42211 *) ac_try_echo=$ac_try;;
42213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42214 (eval "$ac_compile") 2>conftest.er1
42216 grep -v '^ *+' conftest.er1 >conftest.err
42218 cat conftest.err >&5
42219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42220 (exit $ac_status); } && {
42221 test -z "$ac_c_werror_flag" ||
42222 test ! -s conftest.err
42223 } && test -s conftest.$ac_objext; then
42224 ac_cv_func_which_gethostbyname_r=no
42226 echo "$as_me: failed program was:" >&5
42227 sed 's/^/| /' conftest.$ac_ext >&5
42232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42239 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42241 cat >conftest.$ac_ext <<_ACEOF
42244 cat confdefs.h >>conftest.$ac_ext
42245 cat >>conftest.$ac_ext <<_ACEOF
42246 /* end confdefs.h. */
42252 char *name = "www.gnu.org";
42253 struct hostent ret, *retp;
42257 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42263 rm -f conftest.$ac_objext
42264 if { (ac_try="$ac_compile"
42265 case "(($ac_try" in
42266 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42267 *) ac_try_echo
=$ac_try;;
42269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42270 (eval "$ac_compile") 2>conftest.er1
42272 grep -v '^ *+' conftest.er1
>conftest.err
42274 cat conftest.err
>&5
42275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42276 (exit $ac_status); } && {
42277 test -z "$ac_c_werror_flag" ||
42278 test ! -s conftest.err
42279 } && test -s conftest.
$ac_objext; then
42280 ac_cv_func_which_gethostbyname_r
=six
42282 echo "$as_me: failed program was:" >&5
42283 sed 's/^/| /' conftest.
$ac_ext >&5
42288 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42297 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42299 cat >conftest.
$ac_ext <<_ACEOF
42302 cat confdefs.h
>>conftest.
$ac_ext
42303 cat >>conftest.
$ac_ext <<_ACEOF
42304 /* end confdefs.h. */
42310 char *name = "www.gnu.org";
42311 struct hostent ret;
42315 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42321 rm -f conftest.
$ac_objext
42322 if { (ac_try
="$ac_compile"
42323 case "(($ac_try" in
42324 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42325 *) ac_try_echo=$ac_try;;
42327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42328 (eval "$ac_compile") 2>conftest.er1
42330 grep -v '^ *+' conftest.er1 >conftest.err
42332 cat conftest.err >&5
42333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42334 (exit $ac_status); } && {
42335 test -z "$ac_c_werror_flag" ||
42336 test ! -s conftest.err
42337 } && test -s conftest.$ac_objext; then
42338 ac_cv_func_which_gethostbyname_r=five
42340 echo "$as_me: failed program was:" >&5
42341 sed 's/^/| /' conftest.$ac_ext >&5
42346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42352 # (e.g. AIX, HP-UX, Tru64)
42355 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42357 cat >conftest.$ac_ext <<_ACEOF
42360 cat confdefs.h >>conftest.$ac_ext
42361 cat >>conftest.$ac_ext <<_ACEOF
42362 /* end confdefs.h. */
42368 char *name = "www.gnu.org";
42369 struct hostent ret;
42370 struct hostent_data data;
42371 (void)gethostbyname_r(name, &ret, &data) /* ; */
42377 rm -f conftest.$ac_objext
42378 if { (ac_try="$ac_compile"
42379 case "(($ac_try" in
42380 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42381 *) ac_try_echo
=$ac_try;;
42383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42384 (eval "$ac_compile") 2>conftest.er1
42386 grep -v '^ *+' conftest.er1
>conftest.err
42388 cat conftest.err
>&5
42389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42390 (exit $ac_status); } && {
42391 test -z "$ac_c_werror_flag" ||
42392 test ! -s conftest.err
42393 } && test -s conftest.
$ac_objext; then
42394 ac_cv_func_which_gethostbyname_r
=three
42396 echo "$as_me: failed program was:" >&5
42397 sed 's/^/| /' conftest.
$ac_ext >&5
42402 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42406 ################################################################
42411 case "$ac_cv_func_which_gethostbyname_r" in
42413 { echo "$as_me:$LINENO: result: three" >&5
42414 echo "${ECHO_T}three" >&6; }
42415 cat >>confdefs.h
<<\_ACEOF
42416 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42422 { echo "$as_me:$LINENO: result: five" >&5
42423 echo "${ECHO_T}five" >&6; }
42424 cat >>confdefs.h
<<\_ACEOF
42425 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42431 { echo "$as_me:$LINENO: result: six" >&5
42432 echo "${ECHO_T}six" >&6; }
42433 cat >>confdefs.h
<<\_ACEOF
42434 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42440 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42441 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42445 { echo "$as_me:$LINENO: result: can't tell" >&5
42446 echo "${ECHO_T}can't tell" >&6; }
42450 { { echo "$as_me:$LINENO: error: internal error" >&5
42451 echo "$as_me: error: internal error" >&2;}
42452 { (exit 1); exit 1; }; }
42457 ac_cpp
='$CPP $CPPFLAGS'
42458 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42459 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42460 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42464 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42465 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42466 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42467 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42468 if test "${ac_cv_func_gethostbyname+set}" = set; then
42469 echo $ECHO_N "(cached) $ECHO_C" >&6
42471 cat >conftest.
$ac_ext <<_ACEOF
42474 cat confdefs.h
>>conftest.
$ac_ext
42475 cat >>conftest.
$ac_ext <<_ACEOF
42476 /* end confdefs.h. */
42477 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42479 #define gethostbyname innocuous_gethostbyname
42481 /* System header to define __stub macros and hopefully few prototypes,
42482 which can conflict with char gethostbyname (); below.
42483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42484 <limits.h> exists even on freestanding compilers. */
42487 # include <limits.h>
42489 # include <assert.h>
42492 #undef gethostbyname
42494 /* Override any GCC internal prototype to avoid an error.
42495 Use char because int might match the return type of a GCC
42496 builtin and then its argument prototype would still apply. */
42500 char gethostbyname ();
42501 /* The GNU C library defines this for functions which it implements
42502 to always fail with ENOSYS. Some functions are actually named
42503 something starting with __ and the normal name is an alias. */
42504 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42511 return gethostbyname ();
42516 rm -f conftest.
$ac_objext conftest
$ac_exeext
42517 if { (ac_try
="$ac_link"
42518 case "(($ac_try" in
42519 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42520 *) ac_try_echo=$ac_try;;
42522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42523 (eval "$ac_link") 2>conftest.er1
42525 grep -v '^ *+' conftest.er1 >conftest.err
42527 cat conftest.err >&5
42528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42529 (exit $ac_status); } && {
42530 test -z "$ac_c_werror_flag" ||
42531 test ! -s conftest.err
42532 } && test -s conftest$ac_exeext &&
42533 $as_test_x conftest$ac_exeext; then
42534 ac_cv_func_gethostbyname=yes
42536 echo "$as_me: failed program was:" >&5
42537 sed 's/^/| /' conftest.$ac_ext >&5
42539 ac_cv_func_gethostbyname=no
42542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42543 conftest$ac_exeext conftest.$ac_ext
42545 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42546 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42547 if test $ac_cv_func_gethostbyname = yes; then
42548 cat >>confdefs.h <<\_ACEOF
42549 #define HAVE_GETHOSTBYNAME 1
42556 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42557 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42558 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42559 echo $ECHO_N "(cached) $ECHO_C" >&6
42563 ac_cpp='$CXXCPP $CPPFLAGS'
42564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42569 cat >conftest.$ac_ext <<_ACEOF
42572 cat confdefs.h >>conftest.$ac_ext
42573 cat >>conftest.$ac_ext <<_ACEOF
42574 /* end confdefs.h. */
42582 struct servent *se, *res;
42585 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42591 rm -f conftest.$ac_objext
42592 if { (ac_try="$ac_compile"
42593 case "(($ac_try" in
42594 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42595 *) ac_try_echo
=$ac_try;;
42597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42598 (eval "$ac_compile") 2>conftest.er1
42600 grep -v '^ *+' conftest.er1
>conftest.err
42602 cat conftest.err
>&5
42603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42604 (exit $ac_status); } && {
42605 test -z "$ac_cxx_werror_flag" ||
42606 test ! -s conftest.err
42607 } && test -s conftest.
$ac_objext; then
42608 ac_cv_func_which_getservbyname_r
=six
42610 echo "$as_me: failed program was:" >&5
42611 sed 's/^/| /' conftest.
$ac_ext >&5
42614 cat >conftest.
$ac_ext <<_ACEOF
42617 cat confdefs.h
>>conftest.
$ac_ext
42618 cat >>conftest.
$ac_ext <<_ACEOF
42619 /* end confdefs.h. */
42627 struct servent *se;
42630 (void) getservbyname_r(name, proto, se, buffer, buflen)
42636 rm -f conftest.
$ac_objext
42637 if { (ac_try
="$ac_compile"
42638 case "(($ac_try" in
42639 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42640 *) ac_try_echo=$ac_try;;
42642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42643 (eval "$ac_compile") 2>conftest.er1
42645 grep -v '^ *+' conftest.er1 >conftest.err
42647 cat conftest.err >&5
42648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42649 (exit $ac_status); } && {
42650 test -z "$ac_cxx_werror_flag" ||
42651 test ! -s conftest.err
42652 } && test -s conftest.$ac_objext; then
42653 ac_cv_func_which_getservbyname_r=five
42655 echo "$as_me: failed program was:" >&5
42656 sed 's/^/| /' conftest.$ac_ext >&5
42659 cat >conftest.$ac_ext <<_ACEOF
42662 cat confdefs.h >>conftest.$ac_ext
42663 cat >>conftest.$ac_ext <<_ACEOF
42664 /* end confdefs.h. */
42672 struct servent *se;
42673 struct servent_data data;
42674 (void) getservbyname_r(name, proto, se, &data);
42680 rm -f conftest.$ac_objext
42681 if { (ac_try="$ac_compile"
42682 case "(($ac_try" in
42683 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42684 *) ac_try_echo
=$ac_try;;
42686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42687 (eval "$ac_compile") 2>conftest.er1
42689 grep -v '^ *+' conftest.er1
>conftest.err
42691 cat conftest.err
>&5
42692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42693 (exit $ac_status); } && {
42694 test -z "$ac_cxx_werror_flag" ||
42695 test ! -s conftest.err
42696 } && test -s conftest.
$ac_objext; then
42697 ac_cv_func_which_getservbyname_r
=four
42699 echo "$as_me: failed program was:" >&5
42700 sed 's/^/| /' conftest.
$ac_ext >&5
42702 ac_cv_func_which_getservbyname_r
=no
42706 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42711 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42716 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42718 ac_cpp
='$CPP $CPPFLAGS'
42719 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42720 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42721 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42726 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42727 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42729 if test $ac_cv_func_which_getservbyname_r = six
; then
42730 cat >>confdefs.h
<<\_ACEOF
42731 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42734 elif test $ac_cv_func_which_getservbyname_r = five
; then
42735 cat >>confdefs.h
<<\_ACEOF
42736 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42739 elif test $ac_cv_func_which_getservbyname_r = four
; then
42740 cat >>confdefs.h
<<\_ACEOF
42741 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42747 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42748 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42750 for ac_func
in getservbyname
42752 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42753 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42755 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42756 echo $ECHO_N "(cached) $ECHO_C" >&6
42758 cat >conftest.
$ac_ext <<_ACEOF
42761 cat confdefs.h
>>conftest.
$ac_ext
42762 cat >>conftest.
$ac_ext <<_ACEOF
42763 /* end confdefs.h. */
42764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42766 #define $ac_func innocuous_$ac_func
42768 /* System header to define __stub macros and hopefully few prototypes,
42769 which can conflict with char $ac_func (); below.
42770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42771 <limits.h> exists even on freestanding compilers. */
42774 # include <limits.h>
42776 # include <assert.h>
42781 /* Override any GCC internal prototype to avoid an error.
42782 Use char because int might match the return type of a GCC
42783 builtin and then its argument prototype would still apply. */
42788 /* The GNU C library defines this for functions which it implements
42789 to always fail with ENOSYS. Some functions are actually named
42790 something starting with __ and the normal name is an alias. */
42791 #if defined __stub_$ac_func || defined __stub___$ac_func
42798 return $ac_func ();
42803 rm -f conftest.
$ac_objext conftest
$ac_exeext
42804 if { (ac_try
="$ac_link"
42805 case "(($ac_try" in
42806 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42807 *) ac_try_echo=$ac_try;;
42809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42810 (eval "$ac_link") 2>conftest.er1
42812 grep -v '^ *+' conftest.er1 >conftest.err
42814 cat conftest.err >&5
42815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42816 (exit $ac_status); } && {
42817 test -z "$ac_c_werror_flag" ||
42818 test ! -s conftest.err
42819 } && test -s conftest$ac_exeext &&
42820 $as_test_x conftest$ac_exeext; then
42821 eval "$as_ac_var=yes"
42823 echo "$as_me: failed program was:" >&5
42824 sed 's/^/| /' conftest.$ac_ext >&5
42826 eval "$as_ac_var=no"
42829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42830 conftest$ac_exeext conftest.$ac_ext
42832 ac_res=`eval echo '${'$as_ac_var'}'`
42833 { echo "$as_me:$LINENO: result: $ac_res" >&5
42834 echo "${ECHO_T}$ac_res" >&6; }
42835 if test `eval echo '${'$as_ac_var'}'` = yes; then
42836 cat >>confdefs.h <<_ACEOF
42837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42839 cat >>confdefs.h <<\_ACEOF
42840 #define HAVE_GETSERVBYNAME 1
42848 if test "$wxUSE_THREADS" = "yes"; then
42849 cat >>confdefs.h <<\_ACEOF
42850 #define wxUSE_THREADS 1
42854 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42856 if test "$wx_cv_func_strtok_r" = "yes"; then
42857 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42858 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42859 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42860 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42861 { echo "$as_me:$LINENO: result: yes" >&5
42862 echo "${ECHO_T}yes" >&6; }
42864 { echo "$as_me:$LINENO: result: no" >&5
42865 echo "${ECHO_T}no" >&6; }
42870 if test "$WXGTK2" = 1 ; then
42871 cat >>confdefs.h <<_ACEOF
42872 #define __WXGTK20__ $WXGTK2
42878 if test "$WXGTK12" = 1 ; then
42879 cat >>confdefs.h <<_ACEOF
42880 #define __WXGTK12__ $WXGTK12
42885 if test "$WXGTK127" = 1 ; then
42886 cat >>confdefs.h <<_ACEOF
42887 #define __WXGTK127__ $WXGTK127
42892 if test "$WXGPE" = 1 ; then
42893 cat >>confdefs.h <<_ACEOF
42894 #define __WXGPE__ $WXGPE
42900 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev
/null
`; then
42901 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42902 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42903 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42907 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42908 wxUSE_DEBUG_INFO=yes
42909 if test "$GCC" = yes; then
42910 DEBUG_CFLAGS="-ggdb"
42914 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42915 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
42917 if test "$wxUSE_GTK" = 1 ; then
42918 if test "x$wxGTK_VERSION" = "x1" ; then
42919 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42924 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42925 cat >>confdefs.h <<\_ACEOF
42926 #define wxUSE_MEMORY_TRACING 1
42929 cat >>confdefs.h <<\_ACEOF
42930 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42933 cat >>confdefs.h <<\_ACEOF
42934 #define wxUSE_DEBUG_NEW_ALWAYS 1
42937 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42940 if test "$wxUSE_DMALLOC" = "yes" ; then
42941 DMALLOC_LIBS="-ldmallocthcxx"
42945 if test "$wxUSE_PROFILE" = "yes" ; then
42946 PROFILE_FLAGS=" -pg"
42949 if test "$GCC" = "yes" ; then
42950 if test "$wxUSE_NO_RTTI" = "yes" ; then
42951 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
42953 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42954 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42956 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42957 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42962 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42965 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42971 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev
/null
`; then
42972 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42973 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42975 if test "$wxUSE_OPTIMISE" = "no" ; then
42976 if test "$GCC" = yes ; then
42977 OPTIMISE_CFLAGS="-O0"
42980 if test "$GCC" = yes ; then
42982 *-pc-os2_emx | *-pc-os2-emx )
42983 OPTIMISE_CFLAGS="-O2"
42986 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42990 OPTIMISE_CFLAGS="-O"
42996 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42997 cat >>confdefs.h <<\_ACEOF
42998 #define WXWIN_COMPATIBILITY_2_6 1
43002 WXWIN_COMPATIBILITY_2_8="yes"
43005 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43006 cat >>confdefs.h <<\_ACEOF
43007 #define WXWIN_COMPATIBILITY_2_8 1
43013 if test "$wxUSE_GUI" = "yes"; then
43014 cat >>confdefs.h <<\_ACEOF
43015 #define wxUSE_GUI 1
43022 if test "$wxUSE_UNIX" = "yes"; then
43023 cat >>confdefs.h <<\_ACEOF
43024 #define wxUSE_UNIX 1
43030 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43034 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43035 if test "$USE_DOS" = 1; then
43039 for ac_func in dlopen
43041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43042 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43044 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43045 echo $ECHO_N "(cached) $ECHO_C" >&6
43047 cat >conftest.$ac_ext <<_ACEOF
43050 cat confdefs.h >>conftest.$ac_ext
43051 cat >>conftest.$ac_ext <<_ACEOF
43052 /* end confdefs.h. */
43053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43055 #define $ac_func innocuous_$ac_func
43057 /* System header to define __stub macros and hopefully few prototypes,
43058 which can conflict with char $ac_func (); below.
43059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43060 <limits.h> exists even on freestanding compilers. */
43063 # include <limits.h>
43065 # include <assert.h>
43070 /* Override any GCC internal prototype to avoid an error.
43071 Use char because int might match the return type of a GCC
43072 builtin and then its argument prototype would still apply. */
43077 /* The GNU C library defines this for functions which it implements
43078 to always fail with ENOSYS. Some functions are actually named
43079 something starting with __ and the normal name is an alias. */
43080 #if defined __stub_$ac_func || defined __stub___$ac_func
43087 return $ac_func ();
43092 rm -f conftest.$ac_objext conftest$ac_exeext
43093 if { (ac_try="$ac_link"
43094 case "(($ac_try" in
43095 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43096 *) ac_try_echo
=$ac_try;;
43098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43099 (eval "$ac_link") 2>conftest.er1
43101 grep -v '^ *+' conftest.er1
>conftest.err
43103 cat conftest.err
>&5
43104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43105 (exit $ac_status); } && {
43106 test -z "$ac_c_werror_flag" ||
43107 test ! -s conftest.err
43108 } && test -s conftest
$ac_exeext &&
43109 $as_test_x conftest
$ac_exeext; then
43110 eval "$as_ac_var=yes"
43112 echo "$as_me: failed program was:" >&5
43113 sed 's/^/| /' conftest.
$ac_ext >&5
43115 eval "$as_ac_var=no"
43118 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43119 conftest
$ac_exeext conftest.
$ac_ext
43121 ac_res
=`eval echo '${'$as_ac_var'}'`
43122 { echo "$as_me:$LINENO: result: $ac_res" >&5
43123 echo "${ECHO_T}$ac_res" >&6; }
43124 if test `eval echo '${'$as_ac_var'}'` = yes; then
43125 cat >>confdefs.h
<<_ACEOF
43126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43129 cat >>confdefs.h
<<\_ACEOF
43130 #define HAVE_DLOPEN 1
43137 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43138 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43139 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43140 echo $ECHO_N "(cached) $ECHO_C" >&6
43142 ac_check_lib_save_LIBS
=$LIBS
43144 cat >conftest.
$ac_ext <<_ACEOF
43147 cat confdefs.h
>>conftest.
$ac_ext
43148 cat >>conftest.
$ac_ext <<_ACEOF
43149 /* end confdefs.h. */
43151 /* Override any GCC internal prototype to avoid an error.
43152 Use char because int might match the return type of a GCC
43153 builtin and then its argument prototype would still apply. */
43166 rm -f conftest.
$ac_objext conftest
$ac_exeext
43167 if { (ac_try
="$ac_link"
43168 case "(($ac_try" in
43169 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43170 *) ac_try_echo=$ac_try;;
43172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43173 (eval "$ac_link") 2>conftest.er1
43175 grep -v '^ *+' conftest.er1 >conftest.err
43177 cat conftest.err >&5
43178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43179 (exit $ac_status); } && {
43180 test -z "$ac_c_werror_flag" ||
43181 test ! -s conftest.err
43182 } && test -s conftest$ac_exeext &&
43183 $as_test_x conftest$ac_exeext; then
43184 ac_cv_lib_dl_dlopen=yes
43186 echo "$as_me: failed program was:" >&5
43187 sed 's/^/| /' conftest.$ac_ext >&5
43189 ac_cv_lib_dl_dlopen=no
43192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43193 conftest$ac_exeext conftest.$ac_ext
43194 LIBS=$ac_check_lib_save_LIBS
43196 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43197 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43198 if test $ac_cv_lib_dl_dlopen = yes; then
43200 cat >>confdefs.h <<\_ACEOF
43201 #define HAVE_DLOPEN 1
43205 DL_LINK=" -ldl$DL_LINK"
43210 for ac_func in shl_load
43212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43213 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43215 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43216 echo $ECHO_N "(cached) $ECHO_C" >&6
43218 cat >conftest.$ac_ext <<_ACEOF
43221 cat confdefs.h >>conftest.$ac_ext
43222 cat >>conftest.$ac_ext <<_ACEOF
43223 /* end confdefs.h. */
43224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43226 #define $ac_func innocuous_$ac_func
43228 /* System header to define __stub macros and hopefully few prototypes,
43229 which can conflict with char $ac_func (); below.
43230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43231 <limits.h> exists even on freestanding compilers. */
43234 # include <limits.h>
43236 # include <assert.h>
43241 /* Override any GCC internal prototype to avoid an error.
43242 Use char because int might match the return type of a GCC
43243 builtin and then its argument prototype would still apply. */
43248 /* The GNU C library defines this for functions which it implements
43249 to always fail with ENOSYS. Some functions are actually named
43250 something starting with __ and the normal name is an alias. */
43251 #if defined __stub_$ac_func || defined __stub___$ac_func
43258 return $ac_func ();
43263 rm -f conftest.$ac_objext conftest$ac_exeext
43264 if { (ac_try="$ac_link"
43265 case "(($ac_try" in
43266 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43267 *) ac_try_echo
=$ac_try;;
43269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43270 (eval "$ac_link") 2>conftest.er1
43272 grep -v '^ *+' conftest.er1
>conftest.err
43274 cat conftest.err
>&5
43275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43276 (exit $ac_status); } && {
43277 test -z "$ac_c_werror_flag" ||
43278 test ! -s conftest.err
43279 } && test -s conftest
$ac_exeext &&
43280 $as_test_x conftest
$ac_exeext; then
43281 eval "$as_ac_var=yes"
43283 echo "$as_me: failed program was:" >&5
43284 sed 's/^/| /' conftest.
$ac_ext >&5
43286 eval "$as_ac_var=no"
43289 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43290 conftest
$ac_exeext conftest.
$ac_ext
43292 ac_res
=`eval echo '${'$as_ac_var'}'`
43293 { echo "$as_me:$LINENO: result: $ac_res" >&5
43294 echo "${ECHO_T}$ac_res" >&6; }
43295 if test `eval echo '${'$as_ac_var'}'` = yes; then
43296 cat >>confdefs.h
<<_ACEOF
43297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43300 cat >>confdefs.h
<<\_ACEOF
43301 #define HAVE_SHL_LOAD 1
43308 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43309 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43310 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43311 echo $ECHO_N "(cached) $ECHO_C" >&6
43313 ac_check_lib_save_LIBS
=$LIBS
43314 LIBS
="-lshl_load $LIBS"
43315 cat >conftest.
$ac_ext <<_ACEOF
43318 cat confdefs.h
>>conftest.
$ac_ext
43319 cat >>conftest.
$ac_ext <<_ACEOF
43320 /* end confdefs.h. */
43322 /* Override any GCC internal prototype to avoid an error.
43323 Use char because int might match the return type of a GCC
43324 builtin and then its argument prototype would still apply. */
43337 rm -f conftest.
$ac_objext conftest
$ac_exeext
43338 if { (ac_try
="$ac_link"
43339 case "(($ac_try" in
43340 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43341 *) ac_try_echo=$ac_try;;
43343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43344 (eval "$ac_link") 2>conftest.er1
43346 grep -v '^ *+' conftest.er1 >conftest.err
43348 cat conftest.err >&5
43349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43350 (exit $ac_status); } && {
43351 test -z "$ac_c_werror_flag" ||
43352 test ! -s conftest.err
43353 } && test -s conftest$ac_exeext &&
43354 $as_test_x conftest$ac_exeext; then
43355 ac_cv_lib_shl_load_dld=yes
43357 echo "$as_me: failed program was:" >&5
43358 sed 's/^/| /' conftest.$ac_ext >&5
43360 ac_cv_lib_shl_load_dld=no
43363 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43364 conftest$ac_exeext conftest.$ac_ext
43365 LIBS=$ac_check_lib_save_LIBS
43367 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43368 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43369 if test $ac_cv_lib_shl_load_dld = yes; then
43372 DL_LINK=" -ldld$DL_LINK"
43388 if test "$HAVE_DL_FUNCS" = 1; then
43390 for ac_func in dlerror
43392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43393 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43395 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43396 echo $ECHO_N "(cached) $ECHO_C" >&6
43398 cat >conftest.$ac_ext <<_ACEOF
43401 cat confdefs.h >>conftest.$ac_ext
43402 cat >>conftest.$ac_ext <<_ACEOF
43403 /* end confdefs.h. */
43404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43406 #define $ac_func innocuous_$ac_func
43408 /* System header to define __stub macros and hopefully few prototypes,
43409 which can conflict with char $ac_func (); below.
43410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43411 <limits.h> exists even on freestanding compilers. */
43414 # include <limits.h>
43416 # include <assert.h>
43421 /* Override any GCC internal prototype to avoid an error.
43422 Use char because int might match the return type of a GCC
43423 builtin and then its argument prototype would still apply. */
43428 /* The GNU C library defines this for functions which it implements
43429 to always fail with ENOSYS. Some functions are actually named
43430 something starting with __ and the normal name is an alias. */
43431 #if defined __stub_$ac_func || defined __stub___$ac_func
43438 return $ac_func ();
43443 rm -f conftest.$ac_objext conftest$ac_exeext
43444 if { (ac_try="$ac_link"
43445 case "(($ac_try" in
43446 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43447 *) ac_try_echo
=$ac_try;;
43449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43450 (eval "$ac_link") 2>conftest.er1
43452 grep -v '^ *+' conftest.er1
>conftest.err
43454 cat conftest.err
>&5
43455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43456 (exit $ac_status); } && {
43457 test -z "$ac_c_werror_flag" ||
43458 test ! -s conftest.err
43459 } && test -s conftest
$ac_exeext &&
43460 $as_test_x conftest
$ac_exeext; then
43461 eval "$as_ac_var=yes"
43463 echo "$as_me: failed program was:" >&5
43464 sed 's/^/| /' conftest.
$ac_ext >&5
43466 eval "$as_ac_var=no"
43469 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43470 conftest
$ac_exeext conftest.
$ac_ext
43472 ac_res
=`eval echo '${'$as_ac_var'}'`
43473 { echo "$as_me:$LINENO: result: $ac_res" >&5
43474 echo "${ECHO_T}$ac_res" >&6; }
43475 if test `eval echo '${'$as_ac_var'}'` = yes; then
43476 cat >>confdefs.h
<<_ACEOF
43477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43479 cat >>confdefs.h
<<\_ACEOF
43480 #define HAVE_DLERROR 1
43485 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43486 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43487 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43488 echo $ECHO_N "(cached) $ECHO_C" >&6
43490 ac_check_lib_save_LIBS
=$LIBS
43492 cat >conftest.
$ac_ext <<_ACEOF
43495 cat confdefs.h
>>conftest.
$ac_ext
43496 cat >>conftest.
$ac_ext <<_ACEOF
43497 /* end confdefs.h. */
43499 /* Override any GCC internal prototype to avoid an error.
43500 Use char because int might match the return type of a GCC
43501 builtin and then its argument prototype would still apply. */
43514 rm -f conftest.
$ac_objext conftest
$ac_exeext
43515 if { (ac_try
="$ac_link"
43516 case "(($ac_try" in
43517 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43518 *) ac_try_echo=$ac_try;;
43520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43521 (eval "$ac_link") 2>conftest.er1
43523 grep -v '^ *+' conftest.er1 >conftest.err
43525 cat conftest.err >&5
43526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43527 (exit $ac_status); } && {
43528 test -z "$ac_c_werror_flag" ||
43529 test ! -s conftest.err
43530 } && test -s conftest$ac_exeext &&
43531 $as_test_x conftest$ac_exeext; then
43532 ac_cv_lib_dl_dlerror=yes
43534 echo "$as_me: failed program was:" >&5
43535 sed 's/^/| /' conftest.$ac_ext >&5
43537 ac_cv_lib_dl_dlerror=no
43540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43541 conftest$ac_exeext conftest.$ac_ext
43542 LIBS=$ac_check_lib_save_LIBS
43544 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43545 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43546 if test $ac_cv_lib_dl_dlerror = yes; then
43547 cat >>confdefs.h <<\_ACEOF
43548 #define HAVE_DLERROR 1
43561 if test "$USE_DARWIN" = 1; then
43565 if test "$HAVE_DL_FUNCS" = 0; then
43566 if test "$HAVE_SHL_FUNCS" = 0; then
43567 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43568 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43569 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43570 wxUSE_DYNAMIC_LOADER=no
43571 wxUSE_DYNLIB_CLASS=no
43573 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43574 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43581 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43582 cat >>confdefs.h <<\_ACEOF
43583 #define wxUSE_DYNAMIC_LOADER 1
43587 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43588 cat >>confdefs.h <<\_ACEOF
43589 #define wxUSE_DYNLIB_CLASS 1
43596 if test "$wxUSE_PLUGINS" = "yes" ; then
43597 if test "$wxUSE_SHARED" = "no" ; then
43598 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43599 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43602 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43603 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43604 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43607 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43608 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43609 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43612 if test "$wxUSE_PLUGINS" = "yes" ; then
43613 cat >>confdefs.h <<\_ACEOF
43614 #define wxUSE_PLUGINS 1
43621 if test "$wxUSE_FSWATCHER" = "yes"; then
43622 if test "$wxUSE_MSW" != "1"; then
43623 if test "$wxUSE_UNIX" = "yes"; then
43625 for ac_header in sys/inotify.h
43627 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43628 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43630 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43631 echo $ECHO_N "(cached) $ECHO_C" >&6
43633 cat >conftest.$ac_ext <<_ACEOF
43636 cat confdefs.h >>conftest.$ac_ext
43637 cat >>conftest.$ac_ext <<_ACEOF
43638 /* end confdefs.h. */
43639 $ac_includes_default
43641 #include <$ac_header>
43643 rm -f conftest.$ac_objext
43644 if { (ac_try="$ac_compile"
43645 case "(($ac_try" in
43646 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43647 *) ac_try_echo
=$ac_try;;
43649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43650 (eval "$ac_compile") 2>conftest.er1
43652 grep -v '^ *+' conftest.er1
>conftest.err
43654 cat conftest.err
>&5
43655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43656 (exit $ac_status); } && {
43657 test -z "$ac_c_werror_flag" ||
43658 test ! -s conftest.err
43659 } && test -s conftest.
$ac_objext; then
43660 eval "$as_ac_Header=yes"
43662 echo "$as_me: failed program was:" >&5
43663 sed 's/^/| /' conftest.
$ac_ext >&5
43665 eval "$as_ac_Header=no"
43668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43670 ac_res
=`eval echo '${'$as_ac_Header'}'`
43671 { echo "$as_me:$LINENO: result: $ac_res" >&5
43672 echo "${ECHO_T}$ac_res" >&6; }
43673 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43674 cat >>confdefs.h
<<_ACEOF
43675 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43682 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43683 cat >>confdefs.h
<<\_ACEOF
43684 #define wxHAS_INOTIFY 1
43689 for ac_header
in sys
/event.h
43691 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43692 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43693 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43694 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43695 echo $ECHO_N "(cached) $ECHO_C" >&6
43697 cat >conftest.
$ac_ext <<_ACEOF
43700 cat confdefs.h
>>conftest.
$ac_ext
43701 cat >>conftest.
$ac_ext <<_ACEOF
43702 /* end confdefs.h. */
43703 $ac_includes_default
43705 #include <$ac_header>
43707 rm -f conftest.
$ac_objext
43708 if { (ac_try
="$ac_compile"
43709 case "(($ac_try" in
43710 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43711 *) ac_try_echo=$ac_try;;
43713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43714 (eval "$ac_compile") 2>conftest.er1
43716 grep -v '^ *+' conftest.er1 >conftest.err
43718 cat conftest.err >&5
43719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43720 (exit $ac_status); } && {
43721 test -z "$ac_c_werror_flag" ||
43722 test ! -s conftest.err
43723 } && test -s conftest.$ac_objext; then
43724 eval "$as_ac_Header=yes"
43726 echo "$as_me: failed program was:" >&5
43727 sed 's/^/| /' conftest.$ac_ext >&5
43729 eval "$as_ac_Header=no"
43732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43734 ac_res=`eval echo '${'$as_ac_Header'}'`
43735 { echo "$as_me:$LINENO: result: $ac_res" >&5
43736 echo "${ECHO_T}$ac_res" >&6; }
43737 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43738 cat >>confdefs.h <<_ACEOF
43739 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43746 if test "$ac_cv_header_sys_event_h" = "yes"; then
43747 cat >>confdefs.h <<\_ACEOF
43748 #define wxHAS_KQUEUE 1
43760 if test "$wxUSE_FSWATCHER" = "yes"; then
43761 cat >>confdefs.h <<\_ACEOF
43762 #define wxUSE_FSWATCHER 1
43765 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43767 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43768 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43773 if test "$wxUSE_STL" = "yes"; then
43774 cat >>confdefs.h <<\_ACEOF
43775 #define wxUSE_STL 1
43780 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43781 cat >>confdefs.h <<\_ACEOF
43782 #define wxUSE_EXTENDED_RTTI 1
43787 if test "$wxUSE_ANY" = "yes"; then
43788 cat >>confdefs.h <<\_ACEOF
43789 #define wxUSE_ANY 1
43794 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43795 cat >>confdefs.h <<\_ACEOF
43796 #define wxUSE_APPLE_IEEE 1
43801 if test "$wxUSE_TIMER" = "yes"; then
43802 cat >>confdefs.h <<\_ACEOF
43803 #define wxUSE_TIMER 1
43808 if test "$USE_UNIX" = 1 ; then
43809 if test "$wxUSE_MGL" != 1; then
43810 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43811 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43812 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43813 echo $ECHO_N "(cached) $ECHO_C" >&6
43816 cat >conftest.$ac_ext <<_ACEOF
43819 cat confdefs.h >>conftest.$ac_ext
43820 cat >>conftest.$ac_ext <<_ACEOF
43821 /* end confdefs.h. */
43823 #include <sys/ioctl.h>
43824 #include <sys/soundcard.h>
43830 ioctl(0, SNDCTL_DSP_SPEED, 0);
43836 rm -f conftest.$ac_objext conftest$ac_exeext
43837 if { (ac_try="$ac_link"
43838 case "(($ac_try" in
43839 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43840 *) ac_try_echo
=$ac_try;;
43842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43843 (eval "$ac_link") 2>conftest.er1
43845 grep -v '^ *+' conftest.er1
>conftest.err
43847 cat conftest.err
>&5
43848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43849 (exit $ac_status); } && {
43850 test -z "$ac_c_werror_flag" ||
43851 test ! -s conftest.err
43852 } && test -s conftest
$ac_exeext &&
43853 $as_test_x conftest
$ac_exeext; then
43854 ac_cv_header_sys_soundcard
=yes
43856 echo "$as_me: failed program was:" >&5
43857 sed 's/^/| /' conftest.
$ac_ext >&5
43861 LIBS
="$saveLibs -lossaudio"
43862 cat >conftest.
$ac_ext <<_ACEOF
43865 cat confdefs.h
>>conftest.
$ac_ext
43866 cat >>conftest.
$ac_ext <<_ACEOF
43867 /* end confdefs.h. */
43869 #include <sys/ioctl.h>
43870 #include <sys/soundcard.h>
43876 ioctl(0, SNDCTL_DSP_SPEED, 0);
43882 rm -f conftest.
$ac_objext conftest
$ac_exeext
43883 if { (ac_try
="$ac_link"
43884 case "(($ac_try" in
43885 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43886 *) ac_try_echo=$ac_try;;
43888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43889 (eval "$ac_link") 2>conftest.er1
43891 grep -v '^ *+' conftest.er1 >conftest.err
43893 cat conftest.err >&5
43894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43895 (exit $ac_status); } && {
43896 test -z "$ac_c_werror_flag" ||
43897 test ! -s conftest.err
43898 } && test -s conftest$ac_exeext &&
43899 $as_test_x conftest$ac_exeext; then
43900 ac_cv_header_sys_soundcard=yes
43902 echo "$as_me: failed program was:" >&5
43903 sed 's/^/| /' conftest.$ac_ext >&5
43907 ac_cv_header_sys_soundcard=no
43912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43913 conftest$ac_exeext conftest.$ac_ext
43918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43919 conftest$ac_exeext conftest.$ac_ext
43922 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43923 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43926 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43927 cat >>confdefs.h <<\_ACEOF
43928 #define HAVE_SYS_SOUNDCARD_H 1
43935 if test "$wxUSE_SOUND" = "yes"; then
43936 if test "$USE_UNIX" = 1 ; then
43937 if test "$wxUSE_LIBSDL" != "no"; then
43939 # Check whether --with-sdl-prefix was given.
43940 if test "${with_sdl_prefix+set}" = set; then
43941 withval=$with_sdl_prefix; sdl_prefix="$withval"
43947 # Check whether --with-sdl-exec-prefix was given.
43948 if test "${with_sdl_exec_prefix+set}" = set; then
43949 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43954 # Check whether --enable-sdltest was given.
43955 if test "${enable_sdltest+set}" = set; then
43956 enableval=$enable_sdltest;
43962 if test x$sdl_exec_prefix != x ; then
43963 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43964 if test x${SDL_CONFIG+set} != xset ; then
43965 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43968 if test x$sdl_prefix != x ; then
43969 sdl_args="$sdl_args --prefix=$sdl_prefix"
43970 if test x${SDL_CONFIG+set} != xset ; then
43971 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43975 if test "x$prefix" != xNONE; then
43976 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43978 # Extract the first word of "sdl-config", so it can be a program name with args.
43979 set dummy sdl-config; ac_word=$2
43980 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43982 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43983 echo $ECHO_N "(cached) $ECHO_C" >&6
43985 case $SDL_CONFIG in
43987 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43991 for as_dir in $PATH
43994 test -z "$as_dir" && as_dir=.
43995 for ac_exec_ext in '' $ac_executable_extensions; do
43996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43997 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44005 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44009 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44010 if test -n "$SDL_CONFIG"; then
44011 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44012 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44014 { echo "$as_me:$LINENO: result: no" >&5
44015 echo "${ECHO_T}no" >&6; }
44019 min_sdl_version=1.2.0
44020 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44021 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44023 if test "$SDL_CONFIG" = "no" ; then
44026 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44027 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44029 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44030 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44031 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44032 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44033 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44034 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44035 if test "x$enable_sdltest" = "xyes" ; then
44036 ac_save_CFLAGS="$CFLAGS"
44037 ac_save_CXXFLAGS="$CXXFLAGS"
44038 ac_save_LIBS="$LIBS"
44039 CFLAGS="$CFLAGS $SDL_CFLAGS"
44040 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44041 LIBS="$LIBS $SDL_LIBS"
44043 if test "$cross_compiling" = yes; then
44044 echo $ac_n "cross compiling; assumed OK... $ac_c"
44046 cat >conftest.$ac_ext <<_ACEOF
44049 cat confdefs.h >>conftest.$ac_ext
44050 cat >>conftest.$ac_ext <<_ACEOF
44051 /* end confdefs.h. */
44054 #include <stdlib.h>
44055 #include <string.h>
44059 my_strdup (char *str)
44065 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44066 strcpy (new_str, str);
44074 int main (int argc, char *argv[])
44076 int major, minor, micro;
44079 /* This hangs on some systems (?)
44080 system ("touch conf.sdltest");
44082 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44084 /* HP/UX 9 (%@#!) writes to sscanf strings */
44085 tmp_version = my_strdup("$min_sdl_version");
44086 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44087 printf("%s, bad version string\n", "$min_sdl_version");
44091 if (($sdl_major_version > major) ||
44092 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44093 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44099 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44100 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44101 printf("*** best to upgrade to the required version.\n");
44102 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44103 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44104 printf("*** config.cache before re-running configure\n");
44111 rm -f conftest$ac_exeext
44112 if { (ac_try="$ac_link"
44113 case "(($ac_try" in
44114 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44115 *) ac_try_echo
=$ac_try;;
44117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44118 (eval "$ac_link") 2>&5
44120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44121 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
44122 { (case "(($ac_try" in
44123 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44124 *) ac_try_echo=$ac_try;;
44126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44127 (eval "$ac_try") 2>&5
44129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44130 (exit $ac_status); }; }; then
44133 echo "$as_me: program exited with status $ac_status" >&5
44134 echo "$as_me: failed program was:" >&5
44135 sed 's/^/| /' conftest.$ac_ext >&5
44137 ( exit $ac_status )
44140 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44144 CFLAGS="$ac_save_CFLAGS"
44145 CXXFLAGS="$ac_save_CXXFLAGS"
44146 LIBS="$ac_save_LIBS"
44149 if test "x$no_sdl" = x ; then
44150 { echo "$as_me:$LINENO: result: yes" >&5
44151 echo "${ECHO_T}yes" >&6; }
44153 EXTRALIBS_SDL="$SDL_LIBS"
44154 CFLAGS="$SDL_CFLAGS $CFLAGS"
44155 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44156 cat >>confdefs.h <<\_ACEOF
44157 #define wxUSE_LIBSDL 1
44162 { echo "$as_me:$LINENO: result: no" >&5
44163 echo "${ECHO_T}no" >&6; }
44164 if test "$SDL_CONFIG" = "no" ; then
44165 echo "*** The sdl-config script installed by SDL could not be found"
44166 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44167 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44168 echo "*** full path to sdl-config."
44170 if test -f conf.sdltest ; then
44173 echo "*** Could not run SDL test program, checking why..."
44174 CFLAGS="$CFLAGS $SDL_CFLAGS"
44175 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44176 LIBS="$LIBS $SDL_LIBS"
44177 cat >conftest.$ac_ext <<_ACEOF
44180 cat confdefs.h >>conftest.$ac_ext
44181 cat >>conftest.$ac_ext <<_ACEOF
44182 /* end confdefs.h. */
44187 int main(int argc, char *argv[])
44190 #define main K_and_R_C_main
44200 rm -f conftest.$ac_objext conftest$ac_exeext
44201 if { (ac_try="$ac_link"
44202 case "(($ac_try" in
44203 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44204 *) ac_try_echo
=$ac_try;;
44206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44207 (eval "$ac_link") 2>conftest.er1
44209 grep -v '^ *+' conftest.er1
>conftest.err
44211 cat conftest.err
>&5
44212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44213 (exit $ac_status); } && {
44214 test -z "$ac_c_werror_flag" ||
44215 test ! -s conftest.err
44216 } && test -s conftest
$ac_exeext &&
44217 $as_test_x conftest
$ac_exeext; then
44218 echo "*** The test program compiled, but did not run. This usually means"
44219 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44220 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44221 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44222 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44223 echo "*** is required on your system"
44225 echo "*** If you have an old version installed, it is best to remove it, although"
44226 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44228 echo "$as_me: failed program was:" >&5
44229 sed 's/^/| /' conftest.
$ac_ext >&5
44231 echo "*** The test program failed to compile or link. See the file config.log for the"
44232 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44233 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44234 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44237 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44238 conftest
$ac_exeext conftest.
$ac_ext
44239 CFLAGS
="$ac_save_CFLAGS"
44240 CXXFLAGS
="$ac_save_CXXFLAGS"
44241 LIBS
="$ac_save_LIBS"
44252 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44257 if test "$wxUSE_MGL" = 1; then
44258 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44259 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44265 if test "$wxUSE_SOUND" = "yes"; then
44266 cat >>confdefs.h
<<\_ACEOF
44267 #define wxUSE_SOUND 1
44270 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
44273 if test "$WXGTK2" = 1; then
44276 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44277 if test -n "$ac_tool_prefix"; then
44278 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44279 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
44280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44282 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44283 echo $ECHO_N "(cached) $ECHO_C" >&6
44285 case $PKG_CONFIG in
44287 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
44290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44291 for as_dir
in $PATH
44294 test -z "$as_dir" && as_dir
=.
44295 for ac_exec_ext
in '' $ac_executable_extensions; do
44296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44297 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44308 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
44309 if test -n "$PKG_CONFIG"; then
44310 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44311 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44313 { echo "$as_me:$LINENO: result: no" >&5
44314 echo "${ECHO_T}no" >&6; }
44319 if test -z "$ac_cv_path_PKG_CONFIG"; then
44320 ac_pt_PKG_CONFIG
=$PKG_CONFIG
44321 # Extract the first word of "pkg-config", so it can be a program name with args.
44322 set dummy pkg
-config; ac_word
=$2
44323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44325 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44326 echo $ECHO_N "(cached) $ECHO_C" >&6
44328 case $ac_pt_PKG_CONFIG in
44330 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44333 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44334 for as_dir
in $PATH
44337 test -z "$as_dir" && as_dir
=.
44338 for ac_exec_ext
in '' $ac_executable_extensions; do
44339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44340 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44351 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
44352 if test -n "$ac_pt_PKG_CONFIG"; then
44353 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44354 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44356 { echo "$as_me:$LINENO: result: no" >&5
44357 echo "${ECHO_T}no" >&6; }
44360 if test "x$ac_pt_PKG_CONFIG" = x
; then
44363 case $cross_compiling:$ac_tool_warned in
44365 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44366 whose name does not start with the host triplet. If you think this
44367 configuration is useful to you, please write to autoconf@gnu.org." >&5
44368 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44369 whose name does not start with the host triplet. If you think this
44370 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44371 ac_tool_warned
=yes ;;
44373 PKG_CONFIG
=$ac_pt_PKG_CONFIG
44376 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
44380 if test -n "$PKG_CONFIG"; then
44381 _pkg_min_version
=0.9.0
44382 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44383 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44384 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44385 { echo "$as_me:$LINENO: result: yes" >&5
44386 echo "${ECHO_T}yes" >&6; }
44388 { echo "$as_me:$LINENO: result: no" >&5
44389 echo "${ECHO_T}no" >&6; }
44395 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44397 if test "$wxUSE_GTKPRINT" = "yes" ; then
44401 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44402 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44404 if test -n "$PKG_CONFIG"; then
44405 if test -n "$GTKPRINT_CFLAGS"; then
44406 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
44408 if test -n "$PKG_CONFIG" && \
44409 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44410 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44413 (exit $ac_status); }; then
44414 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44422 if test -n "$PKG_CONFIG"; then
44423 if test -n "$GTKPRINT_LIBS"; then
44424 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
44426 if test -n "$PKG_CONFIG" && \
44427 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44428 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44431 (exit $ac_status); }; then
44432 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44443 if test $pkg_failed = yes; then
44445 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44446 _pkg_short_errors_supported
=yes
44448 _pkg_short_errors_supported
=no
44450 if test $_pkg_short_errors_supported = yes; then
44451 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44453 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44455 # Put the nasty error message in config.log where it belongs
44456 echo "$GTKPRINT_PKG_ERRORS" >&5
44459 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44460 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44461 wxUSE_GTKPRINT
="no"
44464 elif test $pkg_failed = untried
; then
44466 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44467 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44468 wxUSE_GTKPRINT
="no"
44472 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
44473 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
44474 { echo "$as_me:$LINENO: result: yes" >&5
44475 echo "${ECHO_T}yes" >&6; }
44477 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
44478 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
44479 cat >>confdefs.h
<<\_ACEOF
44480 #define wxUSE_GTKPRINT 1
44487 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44491 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44492 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44494 if test -n "$PKG_CONFIG"; then
44495 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44496 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
44498 if test -n "$PKG_CONFIG" && \
44499 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44500 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44503 (exit $ac_status); }; then
44504 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44512 if test -n "$PKG_CONFIG"; then
44513 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44514 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
44516 if test -n "$PKG_CONFIG" && \
44517 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44518 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44521 (exit $ac_status); }; then
44522 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44533 if test $pkg_failed = yes; then
44535 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44536 _pkg_short_errors_supported
=yes
44538 _pkg_short_errors_supported
=no
44540 if test $_pkg_short_errors_supported = yes; then
44541 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44543 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44545 # Put the nasty error message in config.log where it belongs
44546 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44549 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44550 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44551 wxUSE_LIBGNOMEPRINT
="no"
44554 elif test $pkg_failed = untried
; then
44556 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44557 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44558 wxUSE_LIBGNOMEPRINT
="no"
44562 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44563 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44564 { echo "$as_me:$LINENO: result: yes" >&5
44565 echo "${ECHO_T}yes" >&6; }
44567 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44568 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44569 cat >>confdefs.h
<<\_ACEOF
44570 #define wxUSE_LIBGNOMEPRINT 1
44578 if test "$wxUSE_MIMETYPE" = "yes" ; then
44579 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44583 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44584 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44586 if test -n "$PKG_CONFIG"; then
44587 if test -n "$GNOMEVFS_CFLAGS"; then
44588 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
44590 if test -n "$PKG_CONFIG" && \
44591 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44592 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44595 (exit $ac_status); }; then
44596 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44604 if test -n "$PKG_CONFIG"; then
44605 if test -n "$GNOMEVFS_LIBS"; then
44606 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
44608 if test -n "$PKG_CONFIG" && \
44609 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44610 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44613 (exit $ac_status); }; then
44614 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44625 if test $pkg_failed = yes; then
44627 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44628 _pkg_short_errors_supported
=yes
44630 _pkg_short_errors_supported
=no
44632 if test $_pkg_short_errors_supported = yes; then
44633 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44635 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44637 # Put the nasty error message in config.log where it belongs
44638 echo "$GNOMEVFS_PKG_ERRORS" >&5
44641 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44642 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44643 wxUSE_LIBGNOMEVFS
="no"
44646 elif test $pkg_failed = untried
; then
44648 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44649 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44650 wxUSE_LIBGNOMEVFS
="no"
44654 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
44655 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
44656 { echo "$as_me:$LINENO: result: yes" >&5
44657 echo "${ECHO_T}yes" >&6; }
44659 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
44660 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
44661 cat >>confdefs.h
<<\_ACEOF
44662 #define wxUSE_LIBGNOMEVFS 1
44670 if test "$wxUSE_LIBHILDON" = "yes" ; then
44673 { echo "$as_me:$LINENO: checking for HILDON" >&5
44674 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44676 if test -n "$PKG_CONFIG"; then
44677 if test -n "$HILDON_CFLAGS"; then
44678 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
44680 if test -n "$PKG_CONFIG" && \
44681 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44682 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44685 (exit $ac_status); }; then
44686 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44694 if test -n "$PKG_CONFIG"; then
44695 if test -n "$HILDON_LIBS"; then
44696 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
44698 if test -n "$PKG_CONFIG" && \
44699 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44700 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44703 (exit $ac_status); }; then
44704 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44715 if test $pkg_failed = yes; then
44717 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44718 _pkg_short_errors_supported
=yes
44720 _pkg_short_errors_supported
=no
44722 if test $_pkg_short_errors_supported = yes; then
44723 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44725 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44727 # Put the nasty error message in config.log where it belongs
44728 echo "$HILDON_PKG_ERRORS" >&5
44731 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44732 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44733 wxUSE_LIBHILDON
="no"
44737 elif test $pkg_failed = untried
; then
44739 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44740 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44741 wxUSE_LIBHILDON
="no"
44746 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
44747 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
44748 { echo "$as_me:$LINENO: result: yes" >&5
44749 echo "${ECHO_T}yes" >&6; }
44751 EXTRALIBS_HILDON
="$HILDON_LIBS"
44752 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
44753 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
44754 cat >>confdefs.h
<<\_ACEOF
44755 #define wxUSE_LIBHILDON 1
44762 if test "$ac_hildon_lgpl" = 0 ; then
44765 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44766 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44768 if test -n "$PKG_CONFIG"; then
44769 if test -n "$HILDON2_CFLAGS"; then
44770 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
44772 if test -n "$PKG_CONFIG" && \
44773 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44774 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44777 (exit $ac_status); }; then
44778 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44786 if test -n "$PKG_CONFIG"; then
44787 if test -n "$HILDON2_LIBS"; then
44788 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
44790 if test -n "$PKG_CONFIG" && \
44791 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44792 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44795 (exit $ac_status); }; then
44796 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44807 if test $pkg_failed = yes; then
44809 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44810 _pkg_short_errors_supported
=yes
44812 _pkg_short_errors_supported
=no
44814 if test $_pkg_short_errors_supported = yes; then
44815 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44817 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44819 # Put the nasty error message in config.log where it belongs
44820 echo "$HILDON2_PKG_ERRORS" >&5
44823 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44824 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44825 wxUSE_LIBHILDON2
="no"
44828 elif test $pkg_failed = untried
; then
44830 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44831 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44832 wxUSE_LIBHILDON2
="no"
44836 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
44837 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
44838 { echo "$as_me:$LINENO: result: yes" >&5
44839 echo "${ECHO_T}yes" >&6; }
44841 EXTRALIBS_HILDON
="$HILDON2_LIBS"
44842 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
44843 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
44844 cat >>confdefs.h
<<\_ACEOF
44845 #define wxUSE_LIBHILDON2 1
44854 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44855 cat >>confdefs.h
<<\_ACEOF
44856 #define wxUSE_CMDLINE_PARSER 1
44861 if test "$wxUSE_STOPWATCH" = "yes"; then
44862 cat >>confdefs.h
<<\_ACEOF
44863 #define wxUSE_STOPWATCH 1
44868 if test "$wxUSE_DATETIME" = "yes"; then
44869 cat >>confdefs.h
<<\_ACEOF
44870 #define wxUSE_DATETIME 1
44875 if test "$wxUSE_FILE" = "yes"; then
44876 cat >>confdefs.h
<<\_ACEOF
44877 #define wxUSE_FILE 1
44882 if test "$wxUSE_FFILE" = "yes"; then
44883 cat >>confdefs.h
<<\_ACEOF
44884 #define wxUSE_FFILE 1
44889 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44890 if test "$wxUSE_STREAMS" != yes; then
44891 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44892 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44893 wxUSE_ARCHIVE_STREAMS
=no
44895 cat >>confdefs.h
<<\_ACEOF
44896 #define wxUSE_ARCHIVE_STREAMS 1
44902 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44903 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44904 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44905 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44906 elif test "$wxUSE_ZLIB" = "no"; then
44907 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44908 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44910 cat >>confdefs.h
<<\_ACEOF
44911 #define wxUSE_ZIPSTREAM 1
44917 if test "$wxUSE_TARSTREAM" = "yes"; then
44918 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44919 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44920 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44922 cat >>confdefs.h
<<\_ACEOF
44923 #define wxUSE_TARSTREAM 1
44929 if test "$wxUSE_FILE_HISTORY" = "yes"; then
44930 cat >>confdefs.h
<<\_ACEOF
44931 #define wxUSE_FILE_HISTORY 1
44936 if test "$wxUSE_FILESYSTEM" = "yes"; then
44937 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
44938 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44939 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44940 wxUSE_FILESYSTEM
=no
44942 cat >>confdefs.h
<<\_ACEOF
44943 #define wxUSE_FILESYSTEM 1
44949 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44950 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44951 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44952 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44954 cat >>confdefs.h
<<\_ACEOF
44955 #define wxUSE_FS_ARCHIVE 1
44961 if test "$wxUSE_FS_ZIP" = "yes"; then
44962 if test "$wxUSE_FS_ARCHIVE" != yes; then
44963 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44964 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44966 cat >>confdefs.h
<<\_ACEOF
44967 #define wxUSE_FS_ZIP 1
44973 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44974 if test "$USE_UNIX" != 1; then
44975 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44976 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44977 wxUSE_ON_FATAL_EXCEPTION
=no
44979 cat >>confdefs.h
<<\_ACEOF
44980 #define wxUSE_ON_FATAL_EXCEPTION 1
44986 if test "$wxUSE_STACKWALKER" = "yes"; then
44987 cat >>confdefs.h
<<\_ACEOF
44988 #define wxUSE_STACKWALKER 1
44993 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44994 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
44995 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44996 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44997 wxUSE_DEBUGREPORT
=no
44999 cat >>confdefs.h
<<\_ACEOF
45000 #define wxUSE_DEBUGREPORT 1
45003 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45004 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
45009 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45010 cat >>confdefs.h
<<\_ACEOF
45011 #define wxUSE_SNGLINST_CHECKER 1
45016 if test "$wxUSE_BUSYINFO" = "yes"; then
45017 cat >>confdefs.h
<<\_ACEOF
45018 #define wxUSE_BUSYINFO 1
45023 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
45024 cat >>confdefs.h
<<\_ACEOF
45025 #define wxUSE_STD_CONTAINERS 1
45030 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45031 cat >>confdefs.h
<<\_ACEOF
45032 #define wxUSE_STD_IOSTREAM 1
45037 if test "$wxUSE_STD_STRING" = "yes"; then
45038 cat >>confdefs.h
<<\_ACEOF
45039 #define wxUSE_STD_STRING 1
45044 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
45045 cat >>confdefs.h
<<\_ACEOF
45046 #define wxUSE_STD_STRING_CONV_IN_WXSTRING 1
45051 if test "$wxUSE_STDPATHS" = "yes"; then
45052 cat >>confdefs.h
<<\_ACEOF
45053 #define wxUSE_STDPATHS 1
45058 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45059 cat >>confdefs.h
<<\_ACEOF
45060 #define wxUSE_TEXTBUFFER 1
45065 if test "$wxUSE_TEXTFILE" = "yes"; then
45066 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45067 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45068 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45070 cat >>confdefs.h
<<\_ACEOF
45071 #define wxUSE_TEXTFILE 1
45077 if test "$wxUSE_CONFIG" = "yes" ; then
45078 if test "$wxUSE_TEXTFILE" != "yes"; then
45079 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45080 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45082 cat >>confdefs.h
<<\_ACEOF
45083 #define wxUSE_CONFIG 1
45086 cat >>confdefs.h
<<\_ACEOF
45087 #define wxUSE_CONFIG_NATIVE 1
45090 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
45094 if test "$wxUSE_INTL" = "yes" ; then
45095 if test "$wxUSE_FILE" != "yes"; then
45096 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45097 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45099 cat >>confdefs.h
<<\_ACEOF
45100 #define wxUSE_INTL 1
45103 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
45104 GUIDIST
="$GUIDIST INTL_DIST"
45108 if test "$wxUSE_XLOCALE" = "yes" ; then
45109 cat >>confdefs.h
<<\_ACEOF
45110 #define wxUSE_XLOCALE 1
45113 { echo "$as_me:$LINENO: checking for locale_t" >&5
45114 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
45115 if test "${ac_cv_type_locale_t+set}" = set; then
45116 echo $ECHO_N "(cached) $ECHO_C" >&6
45118 cat >conftest.
$ac_ext <<_ACEOF
45121 cat confdefs.h
>>conftest.
$ac_ext
45122 cat >>conftest.
$ac_ext <<_ACEOF
45123 /* end confdefs.h. */
45124 #include <xlocale.h>
45125 #include <locale.h>
45127 typedef locale_t ac__type_new_;
45131 if ((ac__type_new_ *) 0)
45133 if (sizeof (ac__type_new_))
45139 rm -f conftest.
$ac_objext
45140 if { (ac_try
="$ac_compile"
45141 case "(($ac_try" in
45142 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45143 *) ac_try_echo=$ac_try;;
45145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45146 (eval "$ac_compile") 2>conftest.er1
45148 grep -v '^ *+' conftest.er1 >conftest.err
45150 cat conftest.err >&5
45151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45152 (exit $ac_status); } && {
45153 test -z "$ac_c_werror_flag" ||
45154 test ! -s conftest.err
45155 } && test -s conftest.$ac_objext; then
45156 ac_cv_type_locale_t=yes
45158 echo "$as_me: failed program was:" >&5
45159 sed 's/^/| /' conftest.$ac_ext >&5
45161 ac_cv_type_locale_t=no
45164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45166 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
45167 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
45168 if test $ac_cv_type_locale_t = yes; then
45170 cat >>confdefs.h <<_ACEOF
45171 #define HAVE_LOCALE_T 1
45179 if test "$wxUSE_LOG" = "yes"; then
45180 cat >>confdefs.h <<\_ACEOF
45181 #define wxUSE_LOG 1
45185 if test "$wxUSE_LOGGUI" = "yes"; then
45186 cat >>confdefs.h <<\_ACEOF
45187 #define wxUSE_LOGGUI 1
45192 if test "$wxUSE_LOGWINDOW" = "yes"; then
45193 cat >>confdefs.h <<\_ACEOF
45194 #define wxUSE_LOGWINDOW 1
45199 if test "$wxUSE_LOGDIALOG" = "yes"; then
45200 cat >>confdefs.h <<\_ACEOF
45201 #define wxUSE_LOG_DIALOG 1
45206 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45209 if test "$wxUSE_LONGLONG" = "yes"; then
45210 cat >>confdefs.h <<\_ACEOF
45211 #define wxUSE_LONGLONG 1
45216 if test "$wxUSE_GEOMETRY" = "yes"; then
45217 cat >>confdefs.h <<\_ACEOF
45218 #define wxUSE_GEOMETRY 1
45223 if test "$wxUSE_BASE64" = "yes"; then
45224 cat >>confdefs.h <<\_ACEOF
45225 #define wxUSE_BASE64 1
45230 if test "$wxUSE_STREAMS" = "yes" ; then
45231 cat >>confdefs.h <<\_ACEOF
45232 #define wxUSE_STREAMS 1
45237 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45238 cat >>confdefs.h <<\_ACEOF
45239 #define wxUSE_PRINTF_POS_PARAMS 1
45244 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45245 cat >>confdefs.h <<\_ACEOF
45246 #define wxUSE_OBJC_UNIQUIFYING 1
45252 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45253 cat >>confdefs.h <<\_ACEOF
45254 #define wxUSE_CONSOLE_EVENTLOOP 1
45258 if test "$wxUSE_UNIX" = "yes"; then
45259 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45260 cat >>confdefs.h <<\_ACEOF
45261 #define wxUSE_SELECT_DISPATCHER 1
45266 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45268 for ac_header in sys/epoll.h
45270 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45271 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45272 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45273 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45274 echo $ECHO_N "(cached) $ECHO_C" >&6
45276 cat >conftest.$ac_ext <<_ACEOF
45279 cat confdefs.h >>conftest.$ac_ext
45280 cat >>conftest.$ac_ext <<_ACEOF
45281 /* end confdefs.h. */
45282 $ac_includes_default
45284 #include <$ac_header>
45286 rm -f conftest.$ac_objext
45287 if { (ac_try="$ac_compile"
45288 case "(($ac_try" in
45289 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45290 *) ac_try_echo
=$ac_try;;
45292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45293 (eval "$ac_compile") 2>conftest.er1
45295 grep -v '^ *+' conftest.er1
>conftest.err
45297 cat conftest.err
>&5
45298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45299 (exit $ac_status); } && {
45300 test -z "$ac_c_werror_flag" ||
45301 test ! -s conftest.err
45302 } && test -s conftest.
$ac_objext; then
45303 eval "$as_ac_Header=yes"
45305 echo "$as_me: failed program was:" >&5
45306 sed 's/^/| /' conftest.
$ac_ext >&5
45308 eval "$as_ac_Header=no"
45311 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45313 ac_res
=`eval echo '${'$as_ac_Header'}'`
45314 { echo "$as_me:$LINENO: result: $ac_res" >&5
45315 echo "${ECHO_T}$ac_res" >&6; }
45316 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45317 cat >>confdefs.h
<<_ACEOF
45318 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45325 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45326 cat >>confdefs.h
<<\_ACEOF
45327 #define wxUSE_EPOLL_DISPATCHER 1
45331 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45332 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45341 for ac_func
in gettimeofday ftime
45343 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45344 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45346 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45347 echo $ECHO_N "(cached) $ECHO_C" >&6
45349 cat >conftest.
$ac_ext <<_ACEOF
45352 cat confdefs.h
>>conftest.
$ac_ext
45353 cat >>conftest.
$ac_ext <<_ACEOF
45354 /* end confdefs.h. */
45355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45357 #define $ac_func innocuous_$ac_func
45359 /* System header to define __stub macros and hopefully few prototypes,
45360 which can conflict with char $ac_func (); below.
45361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45362 <limits.h> exists even on freestanding compilers. */
45365 # include <limits.h>
45367 # include <assert.h>
45372 /* Override any GCC internal prototype to avoid an error.
45373 Use char because int might match the return type of a GCC
45374 builtin and then its argument prototype would still apply. */
45379 /* The GNU C library defines this for functions which it implements
45380 to always fail with ENOSYS. Some functions are actually named
45381 something starting with __ and the normal name is an alias. */
45382 #if defined __stub_$ac_func || defined __stub___$ac_func
45389 return $ac_func ();
45394 rm -f conftest.
$ac_objext conftest
$ac_exeext
45395 if { (ac_try
="$ac_link"
45396 case "(($ac_try" in
45397 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45398 *) ac_try_echo=$ac_try;;
45400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45401 (eval "$ac_link") 2>conftest.er1
45403 grep -v '^ *+' conftest.er1 >conftest.err
45405 cat conftest.err >&5
45406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45407 (exit $ac_status); } && {
45408 test -z "$ac_c_werror_flag" ||
45409 test ! -s conftest.err
45410 } && test -s conftest$ac_exeext &&
45411 $as_test_x conftest$ac_exeext; then
45412 eval "$as_ac_var=yes"
45414 echo "$as_me: failed program was:" >&5
45415 sed 's/^/| /' conftest.$ac_ext >&5
45417 eval "$as_ac_var=no"
45420 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45421 conftest$ac_exeext conftest.$ac_ext
45423 ac_res=`eval echo '${'$as_ac_var'}'`
45424 { echo "$as_me:$LINENO: result: $ac_res" >&5
45425 echo "${ECHO_T}$ac_res" >&6; }
45426 if test `eval echo '${'$as_ac_var'}'` = yes; then
45427 cat >>confdefs.h <<_ACEOF
45428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45435 if test "$ac_cv_func_gettimeofday" = "yes"; then
45436 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45437 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45438 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45439 echo $ECHO_N "(cached) $ECHO_C" >&6
45442 cat >conftest.$ac_ext <<_ACEOF
45445 cat confdefs.h >>conftest.$ac_ext
45446 cat >>conftest.$ac_ext <<_ACEOF
45447 /* end confdefs.h. */
45449 #include <sys/time.h>
45450 #include <unistd.h>
45457 gettimeofday(&tv, NULL);
45463 rm -f conftest.$ac_objext
45464 if { (ac_try="$ac_compile"
45465 case "(($ac_try" in
45466 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45467 *) ac_try_echo
=$ac_try;;
45469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45470 (eval "$ac_compile") 2>conftest.er1
45472 grep -v '^ *+' conftest.er1
>conftest.err
45474 cat conftest.err
>&5
45475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45476 (exit $ac_status); } && {
45477 test -z "$ac_c_werror_flag" ||
45478 test ! -s conftest.err
45479 } && test -s conftest.
$ac_objext; then
45480 wx_cv_func_gettimeofday_has_2_args
=yes
45482 echo "$as_me: failed program was:" >&5
45483 sed 's/^/| /' conftest.
$ac_ext >&5
45485 cat >conftest.
$ac_ext <<_ACEOF
45488 cat confdefs.h
>>conftest.
$ac_ext
45489 cat >>conftest.
$ac_ext <<_ACEOF
45490 /* end confdefs.h. */
45492 #include <sys/time.h>
45493 #include <unistd.h>
45506 rm -f conftest.
$ac_objext
45507 if { (ac_try
="$ac_compile"
45508 case "(($ac_try" in
45509 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45510 *) ac_try_echo=$ac_try;;
45512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45513 (eval "$ac_compile") 2>conftest.er1
45515 grep -v '^ *+' conftest.er1 >conftest.err
45517 cat conftest.err >&5
45518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45519 (exit $ac_status); } && {
45520 test -z "$ac_c_werror_flag" ||
45521 test ! -s conftest.err
45522 } && test -s conftest.$ac_objext; then
45523 wx_cv_func_gettimeofday_has_2_args=no
45525 echo "$as_me: failed program was:" >&5
45526 sed 's/^/| /' conftest.$ac_ext >&5
45529 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45530 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45531 wx_cv_func_gettimeofday_has_2_args=unknown
45536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45543 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45544 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45546 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45547 cat >>confdefs.h <<\_ACEOF
45548 #define WX_GETTIMEOFDAY_NO_TZ 1
45554 if test "$wxUSE_DATETIME" = "yes"; then
45555 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45556 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45557 if test "${wx_cv_var_timezone+set}" = set; then
45558 echo $ECHO_N "(cached) $ECHO_C" >&6
45562 ac_cpp='$CXXCPP $CPPFLAGS'
45563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45567 cat >conftest.$ac_ext <<_ACEOF
45570 cat confdefs.h >>conftest.$ac_ext
45571 cat >>conftest.$ac_ext <<_ACEOF
45572 /* end confdefs.h. */
45587 rm -f conftest.$ac_objext
45588 if { (ac_try="$ac_compile"
45589 case "(($ac_try" in
45590 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45591 *) ac_try_echo
=$ac_try;;
45593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45594 (eval "$ac_compile") 2>conftest.er1
45596 grep -v '^ *+' conftest.er1
>conftest.err
45598 cat conftest.err
>&5
45599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45600 (exit $ac_status); } && {
45601 test -z "$ac_cxx_werror_flag" ||
45602 test ! -s conftest.err
45603 } && test -s conftest.
$ac_objext; then
45605 wx_cv_var_timezone
=timezone
45608 echo "$as_me: failed program was:" >&5
45609 sed 's/^/| /' conftest.
$ac_ext >&5
45612 cat >conftest.
$ac_ext <<_ACEOF
45615 cat confdefs.h
>>conftest.
$ac_ext
45616 cat >>conftest.
$ac_ext <<_ACEOF
45617 /* end confdefs.h. */
45632 rm -f conftest.
$ac_objext
45633 if { (ac_try
="$ac_compile"
45634 case "(($ac_try" in
45635 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45636 *) ac_try_echo=$ac_try;;
45638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45639 (eval "$ac_compile") 2>conftest.er1
45641 grep -v '^ *+' conftest.er1 >conftest.err
45643 cat conftest.err >&5
45644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45645 (exit $ac_status); } && {
45646 test -z "$ac_cxx_werror_flag" ||
45647 test ! -s conftest.err
45648 } && test -s conftest.$ac_objext; then
45650 wx_cv_var_timezone=_timezone
45653 echo "$as_me: failed program was:" >&5
45654 sed 's/^/| /' conftest.$ac_ext >&5
45657 cat >conftest.$ac_ext <<_ACEOF
45660 cat confdefs.h >>conftest.$ac_ext
45661 cat >>conftest.$ac_ext <<_ACEOF
45662 /* end confdefs.h. */
45677 rm -f conftest.$ac_objext
45678 if { (ac_try="$ac_compile"
45679 case "(($ac_try" in
45680 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45681 *) ac_try_echo
=$ac_try;;
45683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45684 (eval "$ac_compile") 2>conftest.er1
45686 grep -v '^ *+' conftest.er1
>conftest.err
45688 cat conftest.err
>&5
45689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45690 (exit $ac_status); } && {
45691 test -z "$ac_cxx_werror_flag" ||
45692 test ! -s conftest.err
45693 } && test -s conftest.
$ac_objext; then
45695 wx_cv_var_timezone
=__timezone
45698 echo "$as_me: failed program was:" >&5
45699 sed 's/^/| /' conftest.
$ac_ext >&5
45702 if test "$USE_DOS" = 0 ; then
45703 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45704 echo "$as_me: WARNING: no timezone variable" >&2;}
45710 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45715 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45720 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45722 ac_cpp
='$CPP $CPPFLAGS'
45723 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45724 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45725 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45730 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45731 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45733 if test "x$wx_cv_var_timezone" != x
; then
45734 cat >>confdefs.h
<<_ACEOF
45735 #define WX_TIMEZONE $wx_cv_var_timezone
45741 for ac_func
in localtime
45743 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45744 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45746 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45747 echo $ECHO_N "(cached) $ECHO_C" >&6
45749 cat >conftest.
$ac_ext <<_ACEOF
45752 cat confdefs.h
>>conftest.
$ac_ext
45753 cat >>conftest.
$ac_ext <<_ACEOF
45754 /* end confdefs.h. */
45755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45757 #define $ac_func innocuous_$ac_func
45759 /* System header to define __stub macros and hopefully few prototypes,
45760 which can conflict with char $ac_func (); below.
45761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45762 <limits.h> exists even on freestanding compilers. */
45765 # include <limits.h>
45767 # include <assert.h>
45772 /* Override any GCC internal prototype to avoid an error.
45773 Use char because int might match the return type of a GCC
45774 builtin and then its argument prototype would still apply. */
45779 /* The GNU C library defines this for functions which it implements
45780 to always fail with ENOSYS. Some functions are actually named
45781 something starting with __ and the normal name is an alias. */
45782 #if defined __stub_$ac_func || defined __stub___$ac_func
45789 return $ac_func ();
45794 rm -f conftest.
$ac_objext conftest
$ac_exeext
45795 if { (ac_try
="$ac_link"
45796 case "(($ac_try" in
45797 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45798 *) ac_try_echo=$ac_try;;
45800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45801 (eval "$ac_link") 2>conftest.er1
45803 grep -v '^ *+' conftest.er1 >conftest.err
45805 cat conftest.err >&5
45806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45807 (exit $ac_status); } && {
45808 test -z "$ac_c_werror_flag" ||
45809 test ! -s conftest.err
45810 } && test -s conftest$ac_exeext &&
45811 $as_test_x conftest$ac_exeext; then
45812 eval "$as_ac_var=yes"
45814 echo "$as_me: failed program was:" >&5
45815 sed 's/^/| /' conftest.$ac_ext >&5
45817 eval "$as_ac_var=no"
45820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45821 conftest$ac_exeext conftest.$ac_ext
45823 ac_res=`eval echo '${'$as_ac_var'}'`
45824 { echo "$as_me:$LINENO: result: $ac_res" >&5
45825 echo "${ECHO_T}$ac_res" >&6; }
45826 if test `eval echo '${'$as_ac_var'}'` = yes; then
45827 cat >>confdefs.h <<_ACEOF
45828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45835 if test "$ac_cv_func_localtime" = "yes"; then
45836 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45837 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45838 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45839 echo $ECHO_N "(cached) $ECHO_C" >&6
45842 cat >conftest.$ac_ext <<_ACEOF
45845 cat confdefs.h >>conftest.$ac_ext
45846 cat >>conftest.$ac_ext <<_ACEOF
45847 /* end confdefs.h. */
45862 rm -f conftest.$ac_objext
45863 if { (ac_try="$ac_compile"
45864 case "(($ac_try" in
45865 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45866 *) ac_try_echo
=$ac_try;;
45868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45869 (eval "$ac_compile") 2>conftest.er1
45871 grep -v '^ *+' conftest.er1
>conftest.err
45873 cat conftest.err
>&5
45874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45875 (exit $ac_status); } && {
45876 test -z "$ac_c_werror_flag" ||
45877 test ! -s conftest.err
45878 } && test -s conftest.
$ac_objext; then
45880 wx_cv_struct_tm_has_gmtoff
=yes
45883 echo "$as_me: failed program was:" >&5
45884 sed 's/^/| /' conftest.
$ac_ext >&5
45886 wx_cv_struct_tm_has_gmtoff
=no
45890 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45893 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45894 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45897 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45898 cat >>confdefs.h
<<\_ACEOF
45899 #define WX_GMTOFF_IN_TM 1
45904 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
45908 if test "$wxUSE_SOCKETS" = "yes"; then
45909 if test "$wxUSE_MGL" = 1; then
45910 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45911 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45916 if test "$wxUSE_SOCKETS" = "yes"; then
45917 if test "$TOOLKIT" != "MSW"; then
45918 { echo "$as_me:$LINENO: checking for socket" >&5
45919 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45920 if test "${ac_cv_func_socket+set}" = set; then
45921 echo $ECHO_N "(cached) $ECHO_C" >&6
45923 cat >conftest.
$ac_ext <<_ACEOF
45926 cat confdefs.h
>>conftest.
$ac_ext
45927 cat >>conftest.
$ac_ext <<_ACEOF
45928 /* end confdefs.h. */
45929 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45931 #define socket innocuous_socket
45933 /* System header to define __stub macros and hopefully few prototypes,
45934 which can conflict with char socket (); below.
45935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45936 <limits.h> exists even on freestanding compilers. */
45939 # include <limits.h>
45941 # include <assert.h>
45946 /* Override any GCC internal prototype to avoid an error.
45947 Use char because int might match the return type of a GCC
45948 builtin and then its argument prototype would still apply. */
45953 /* The GNU C library defines this for functions which it implements
45954 to always fail with ENOSYS. Some functions are actually named
45955 something starting with __ and the normal name is an alias. */
45956 #if defined __stub_socket || defined __stub___socket
45968 rm -f conftest.
$ac_objext conftest
$ac_exeext
45969 if { (ac_try
="$ac_link"
45970 case "(($ac_try" in
45971 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45972 *) ac_try_echo=$ac_try;;
45974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45975 (eval "$ac_link") 2>conftest.er1
45977 grep -v '^ *+' conftest.er1 >conftest.err
45979 cat conftest.err >&5
45980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45981 (exit $ac_status); } && {
45982 test -z "$ac_c_werror_flag" ||
45983 test ! -s conftest.err
45984 } && test -s conftest$ac_exeext &&
45985 $as_test_x conftest$ac_exeext; then
45986 ac_cv_func_socket=yes
45988 echo "$as_me: failed program was:" >&5
45989 sed 's/^/| /' conftest.$ac_ext >&5
45991 ac_cv_func_socket=no
45994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45995 conftest$ac_exeext conftest.$ac_ext
45997 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45998 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45999 if test $ac_cv_func_socket = yes; then
46003 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46004 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46005 if test "${ac_cv_lib_socket_socket+set}" = set; then
46006 echo $ECHO_N "(cached) $ECHO_C" >&6
46008 ac_check_lib_save_LIBS=$LIBS
46009 LIBS="-lsocket $LIBS"
46010 cat >conftest.$ac_ext <<_ACEOF
46013 cat confdefs.h >>conftest.$ac_ext
46014 cat >>conftest.$ac_ext <<_ACEOF
46015 /* end confdefs.h. */
46017 /* Override any GCC internal prototype to avoid an error.
46018 Use char because int might match the return type of a GCC
46019 builtin and then its argument prototype would still apply. */
46032 rm -f conftest.$ac_objext conftest$ac_exeext
46033 if { (ac_try="$ac_link"
46034 case "(($ac_try" in
46035 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46036 *) ac_try_echo
=$ac_try;;
46038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46039 (eval "$ac_link") 2>conftest.er1
46041 grep -v '^ *+' conftest.er1
>conftest.err
46043 cat conftest.err
>&5
46044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46045 (exit $ac_status); } && {
46046 test -z "$ac_c_werror_flag" ||
46047 test ! -s conftest.err
46048 } && test -s conftest
$ac_exeext &&
46049 $as_test_x conftest
$ac_exeext; then
46050 ac_cv_lib_socket_socket
=yes
46052 echo "$as_me: failed program was:" >&5
46053 sed 's/^/| /' conftest.
$ac_ext >&5
46055 ac_cv_lib_socket_socket
=no
46058 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46059 conftest
$ac_exeext conftest.
$ac_ext
46060 LIBS
=$ac_check_lib_save_LIBS
46062 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46063 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46064 if test $ac_cv_lib_socket_socket = yes; then
46065 if test "$INET_LINK" != " -lsocket"; then
46066 INET_LINK
="$INET_LINK -lsocket"
46070 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46071 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46084 if test "$wxUSE_SOCKETS" = "yes" ; then
46085 if test "$TOOLKIT" != "MSW"; then
46086 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46087 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46088 if test "${wx_cv_type_getsockname3+set}" = set; then
46089 echo $ECHO_N "(cached) $ECHO_C" >&6
46093 ac_cpp
='$CXXCPP $CPPFLAGS'
46094 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46095 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46096 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46098 cat >conftest.
$ac_ext <<_ACEOF
46101 cat confdefs.h
>>conftest.
$ac_ext
46102 cat >>conftest.
$ac_ext <<_ACEOF
46103 /* end confdefs.h. */
46105 #include <sys/types.h>
46106 #include <sys/socket.h>
46113 getsockname(0, 0, &len);
46119 rm -f conftest.
$ac_objext
46120 if { (ac_try
="$ac_compile"
46121 case "(($ac_try" in
46122 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46123 *) ac_try_echo=$ac_try;;
46125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46126 (eval "$ac_compile") 2>conftest.er1
46128 grep -v '^ *+' conftest.er1 >conftest.err
46130 cat conftest.err >&5
46131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46132 (exit $ac_status); } && {
46133 test -z "$ac_cxx_werror_flag" ||
46134 test ! -s conftest.err
46135 } && test -s conftest.$ac_objext; then
46136 wx_cv_type_getsockname3=socklen_t
46138 echo "$as_me: failed program was:" >&5
46139 sed 's/^/| /' conftest.$ac_ext >&5
46142 CFLAGS_OLD="$CFLAGS"
46143 if test "$GCC" = yes ; then
46144 CFLAGS="-Werror $CFLAGS"
46147 cat >conftest.$ac_ext <<_ACEOF
46150 cat confdefs.h >>conftest.$ac_ext
46151 cat >>conftest.$ac_ext <<_ACEOF
46152 /* end confdefs.h. */
46154 #include <sys/types.h>
46155 #include <sys/socket.h>
46162 getsockname(0, 0, &len);
46168 rm -f conftest.$ac_objext
46169 if { (ac_try="$ac_compile"
46170 case "(($ac_try" in
46171 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46172 *) ac_try_echo
=$ac_try;;
46174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46175 (eval "$ac_compile") 2>conftest.er1
46177 grep -v '^ *+' conftest.er1
>conftest.err
46179 cat conftest.err
>&5
46180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46181 (exit $ac_status); } && {
46182 test -z "$ac_cxx_werror_flag" ||
46183 test ! -s conftest.err
46184 } && test -s conftest.
$ac_objext; then
46185 wx_cv_type_getsockname3
=size_t
46187 echo "$as_me: failed program was:" >&5
46188 sed 's/^/| /' conftest.
$ac_ext >&5
46190 cat >conftest.
$ac_ext <<_ACEOF
46193 cat confdefs.h
>>conftest.
$ac_ext
46194 cat >>conftest.
$ac_ext <<_ACEOF
46195 /* end confdefs.h. */
46197 #include <sys/types.h>
46198 #include <sys/socket.h>
46205 getsockname(0, 0, &len);
46211 rm -f conftest.
$ac_objext
46212 if { (ac_try
="$ac_compile"
46213 case "(($ac_try" in
46214 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46215 *) ac_try_echo=$ac_try;;
46217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46218 (eval "$ac_compile") 2>conftest.er1
46220 grep -v '^ *+' conftest.er1 >conftest.err
46222 cat conftest.err >&5
46223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46224 (exit $ac_status); } && {
46225 test -z "$ac_cxx_werror_flag" ||
46226 test ! -s conftest.err
46227 } && test -s conftest.$ac_objext; then
46228 wx_cv_type_getsockname3=int
46230 echo "$as_me: failed program was:" >&5
46231 sed 's/^/| /' conftest.$ac_ext >&5
46233 wx_cv_type_getsockname3=unknown
46237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46243 CFLAGS="$CFLAGS_OLD"
46248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46250 ac_cpp='$CPP $CPPFLAGS'
46251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46257 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46258 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46260 if test "$wx_cv_type_getsockname3" = "unknown"; then
46262 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46263 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46265 cat >>confdefs.h <<_ACEOF
46266 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46270 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46271 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46272 if test "${wx_cv_type_getsockopt5+set}" = set; then
46273 echo $ECHO_N "(cached) $ECHO_C" >&6
46277 ac_cpp='$CXXCPP $CPPFLAGS'
46278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46282 cat >conftest.$ac_ext <<_ACEOF
46285 cat confdefs.h >>conftest.$ac_ext
46286 cat >>conftest.$ac_ext <<_ACEOF
46287 /* end confdefs.h. */
46289 #include <sys/types.h>
46290 #include <sys/socket.h>
46297 getsockopt(0, 0, 0, 0, &len);
46303 rm -f conftest.$ac_objext
46304 if { (ac_try="$ac_compile"
46305 case "(($ac_try" in
46306 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46307 *) ac_try_echo
=$ac_try;;
46309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46310 (eval "$ac_compile") 2>conftest.er1
46312 grep -v '^ *+' conftest.er1
>conftest.err
46314 cat conftest.err
>&5
46315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46316 (exit $ac_status); } && {
46317 test -z "$ac_cxx_werror_flag" ||
46318 test ! -s conftest.err
46319 } && test -s conftest.
$ac_objext; then
46320 wx_cv_type_getsockopt5
=socklen_t
46322 echo "$as_me: failed program was:" >&5
46323 sed 's/^/| /' conftest.
$ac_ext >&5
46326 cat >conftest.
$ac_ext <<_ACEOF
46329 cat confdefs.h
>>conftest.
$ac_ext
46330 cat >>conftest.
$ac_ext <<_ACEOF
46331 /* end confdefs.h. */
46333 #include <sys/types.h>
46334 #include <sys/socket.h>
46341 getsockopt(0, 0, 0, 0, &len);
46347 rm -f conftest.
$ac_objext
46348 if { (ac_try
="$ac_compile"
46349 case "(($ac_try" in
46350 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46351 *) ac_try_echo=$ac_try;;
46353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46354 (eval "$ac_compile") 2>conftest.er1
46356 grep -v '^ *+' conftest.er1 >conftest.err
46358 cat conftest.err >&5
46359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46360 (exit $ac_status); } && {
46361 test -z "$ac_cxx_werror_flag" ||
46362 test ! -s conftest.err
46363 } && test -s conftest.$ac_objext; then
46364 wx_cv_type_getsockopt5=size_t
46366 echo "$as_me: failed program was:" >&5
46367 sed 's/^/| /' conftest.$ac_ext >&5
46369 cat >conftest.$ac_ext <<_ACEOF
46372 cat confdefs.h >>conftest.$ac_ext
46373 cat >>conftest.$ac_ext <<_ACEOF
46374 /* end confdefs.h. */
46376 #include <sys/types.h>
46377 #include <sys/socket.h>
46384 getsockopt(0, 0, 0, 0, &len);
46390 rm -f conftest.$ac_objext
46391 if { (ac_try="$ac_compile"
46392 case "(($ac_try" in
46393 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46394 *) ac_try_echo
=$ac_try;;
46396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46397 (eval "$ac_compile") 2>conftest.er1
46399 grep -v '^ *+' conftest.er1
>conftest.err
46401 cat conftest.err
>&5
46402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46403 (exit $ac_status); } && {
46404 test -z "$ac_cxx_werror_flag" ||
46405 test ! -s conftest.err
46406 } && test -s conftest.
$ac_objext; then
46407 wx_cv_type_getsockopt5
=int
46409 echo "$as_me: failed program was:" >&5
46410 sed 's/^/| /' conftest.
$ac_ext >&5
46412 wx_cv_type_getsockopt5
=unknown
46416 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46420 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46425 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46427 ac_cpp
='$CPP $CPPFLAGS'
46428 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46429 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46430 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46434 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46435 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46437 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46439 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46440 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46442 cat >>confdefs.h
<<_ACEOF
46443 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46450 if test "$wxUSE_SOCKETS" = "yes" ; then
46451 if test "$wxUSE_IPV6" = "yes"; then
46452 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46453 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46454 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46455 echo $ECHO_N "(cached) $ECHO_C" >&6
46458 cat >conftest.
$ac_ext <<_ACEOF
46461 cat confdefs.h
>>conftest.
$ac_ext
46462 cat >>conftest.
$ac_ext <<_ACEOF
46463 /* end confdefs.h. */
46465 #include <sys/types.h>
46466 #include <sys/socket.h>
46467 #include <netinet/in.h>
46473 struct sockaddr_in6 sa6;
46479 rm -f conftest.
$ac_objext
46480 if { (ac_try
="$ac_compile"
46481 case "(($ac_try" in
46482 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46483 *) ac_try_echo=$ac_try;;
46485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46486 (eval "$ac_compile") 2>conftest.er1
46488 grep -v '^ *+' conftest.er1 >conftest.err
46490 cat conftest.err >&5
46491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46492 (exit $ac_status); } && {
46493 test -z "$ac_c_werror_flag" ||
46494 test ! -s conftest.err
46495 } && test -s conftest.$ac_objext; then
46496 wx_cv_type_sockaddr_in6=yes
46498 echo "$as_me: failed program was:" >&5
46499 sed 's/^/| /' conftest.$ac_ext >&5
46501 wx_cv_type_sockaddr_in6=no
46505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46509 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46510 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46512 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46513 cat >>confdefs.h <<\_ACEOF
46514 #define wxUSE_IPV6 1
46518 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46519 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46523 cat >>confdefs.h <<\_ACEOF
46524 #define wxUSE_SOCKETS 1
46527 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46530 if test "$wxUSE_PROTOCOL" = "yes"; then
46531 if test "$wxUSE_SOCKETS" != "yes"; then
46532 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46533 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46538 if test "$wxUSE_PROTOCOL" = "yes"; then
46539 cat >>confdefs.h <<\_ACEOF
46540 #define wxUSE_PROTOCOL 1
46544 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46545 cat >>confdefs.h <<\_ACEOF
46546 #define wxUSE_PROTOCOL_HTTP 1
46550 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46551 cat >>confdefs.h <<\_ACEOF
46552 #define wxUSE_PROTOCOL_FTP 1
46556 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46557 cat >>confdefs.h <<\_ACEOF
46558 #define wxUSE_PROTOCOL_FILE 1
46563 if test "$wxUSE_FS_INET" = "yes"; then
46564 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46565 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46570 if test "$wxUSE_URL" = "yes"; then
46571 if test "$wxUSE_PROTOCOL" != "yes"; then
46572 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46573 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46576 if test "$wxUSE_URL" = "yes"; then
46577 cat >>confdefs.h <<\_ACEOF
46578 #define wxUSE_URL 1
46584 if test "$wxUSE_VARIANT" = "yes"; then
46585 cat >>confdefs.h <<\_ACEOF
46586 #define wxUSE_VARIANT 1
46591 if test "$wxUSE_FS_INET" = "yes"; then
46592 cat >>confdefs.h <<\_ACEOF
46593 #define wxUSE_FS_INET 1
46599 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46602 if test "$TOOLKIT" = "MSW"; then
46605 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46606 if test "$USE_DARWIN" = 1; then
46607 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46608 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46610 ac_cpp='$CXXCPP $CPPFLAGS'
46611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46615 cat >conftest.$ac_ext <<_ACEOF
46618 cat confdefs.h >>conftest.$ac_ext
46619 cat >>conftest.$ac_ext <<_ACEOF
46620 /* end confdefs.h. */
46621 #include <IOKit/hid/IOHIDLib.h>
46625 IOHIDQueueInterface *qi = NULL;
46626 IOHIDCallbackFunction cb = NULL;
46627 qi->setEventCallout(NULL, cb, NULL, NULL);
46632 rm -f conftest.$ac_objext
46633 if { (ac_try="$ac_compile"
46634 case "(($ac_try" in
46635 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46636 *) ac_try_echo
=$ac_try;;
46638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46639 (eval "$ac_compile") 2>conftest.er1
46641 grep -v '^ *+' conftest.er1
>conftest.err
46643 cat conftest.err
>&5
46644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46645 (exit $ac_status); } && {
46646 test -z "$ac_cxx_werror_flag" ||
46647 test ! -s conftest.err
46648 } && test -s conftest.
$ac_objext; then
46652 echo "$as_me: failed program was:" >&5
46653 sed 's/^/| /' conftest.
$ac_ext >&5
46658 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46660 ac_cpp
='$CPP $CPPFLAGS'
46661 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46662 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46663 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46665 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46666 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46670 if test "$wxUSE_MGL" != 1; then
46672 for ac_header
in linux
/joystick.h
46674 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46675 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46676 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46677 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46678 echo $ECHO_N "(cached) $ECHO_C" >&6
46680 cat >conftest.
$ac_ext <<_ACEOF
46683 cat confdefs.h
>>conftest.
$ac_ext
46684 cat >>conftest.
$ac_ext <<_ACEOF
46685 /* end confdefs.h. */
46686 $ac_includes_default
46688 #include <$ac_header>
46690 rm -f conftest.
$ac_objext
46691 if { (ac_try
="$ac_compile"
46692 case "(($ac_try" in
46693 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46694 *) ac_try_echo=$ac_try;;
46696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46697 (eval "$ac_compile") 2>conftest.er1
46699 grep -v '^ *+' conftest.er1 >conftest.err
46701 cat conftest.err >&5
46702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46703 (exit $ac_status); } && {
46704 test -z "$ac_c_werror_flag" ||
46705 test ! -s conftest.err
46706 } && test -s conftest.$ac_objext; then
46707 eval "$as_ac_Header=yes"
46709 echo "$as_me: failed program was:" >&5
46710 sed 's/^/| /' conftest.$ac_ext >&5
46712 eval "$as_ac_Header=no"
46715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46717 ac_res=`eval echo '${'$as_ac_Header'}'`
46718 { echo "$as_me:$LINENO: result: $ac_res" >&5
46719 echo "${ECHO_T}$ac_res" >&6; }
46720 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46721 cat >>confdefs.h <<_ACEOF
46722 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46732 if test "$wxUSE_JOYSTICK" = "yes"; then
46733 cat >>confdefs.h <<\_ACEOF
46734 #define wxUSE_JOYSTICK 1
46737 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46739 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46740 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46746 if test "$wxUSE_FONTENUM" = "yes" ; then
46747 cat >>confdefs.h <<\_ACEOF
46748 #define wxUSE_FONTENUM 1
46753 if test "$wxUSE_FONTMAP" = "yes" ; then
46754 cat >>confdefs.h <<\_ACEOF
46755 #define wxUSE_FONTMAP 1
46760 if test "$wxUSE_UNICODE" = "yes" ; then
46761 cat >>confdefs.h <<\_ACEOF
46762 #define wxUSE_UNICODE 1
46766 if test "$USE_WIN32" != 1; then
46767 wxUSE_UNICODE_MSLU=no
46770 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46771 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46772 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46773 if test "${ac_cv_lib_unicows_main+set}" = set; then
46774 echo $ECHO_N "(cached) $ECHO_C" >&6
46776 ac_check_lib_save_LIBS=$LIBS
46777 LIBS="-lunicows $LIBS"
46778 cat >conftest.$ac_ext <<_ACEOF
46781 cat confdefs.h >>conftest.$ac_ext
46782 cat >>conftest.$ac_ext <<_ACEOF
46783 /* end confdefs.h. */
46794 rm -f conftest.$ac_objext conftest$ac_exeext
46795 if { (ac_try="$ac_link"
46796 case "(($ac_try" in
46797 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46798 *) ac_try_echo
=$ac_try;;
46800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46801 (eval "$ac_link") 2>conftest.er1
46803 grep -v '^ *+' conftest.er1
>conftest.err
46805 cat conftest.err
>&5
46806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46807 (exit $ac_status); } && {
46808 test -z "$ac_c_werror_flag" ||
46809 test ! -s conftest.err
46810 } && test -s conftest
$ac_exeext &&
46811 $as_test_x conftest
$ac_exeext; then
46812 ac_cv_lib_unicows_main
=yes
46814 echo "$as_me: failed program was:" >&5
46815 sed 's/^/| /' conftest.
$ac_ext >&5
46817 ac_cv_lib_unicows_main
=no
46820 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46821 conftest
$ac_exeext conftest.
$ac_ext
46822 LIBS
=$ac_check_lib_save_LIBS
46824 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46825 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46826 if test $ac_cv_lib_unicows_main = yes; then
46828 cat >>confdefs.h
<<\_ACEOF
46829 #define wxUSE_UNICODE_MSLU 1
46835 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46836 Applications will only run on Windows NT/2000/XP!" >&5
46837 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46838 Applications will only run on Windows NT/2000/XP!" >&2;}
46839 wxUSE_UNICODE_MSLU
=no
46846 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46847 cat >>confdefs.h
<<\_ACEOF
46848 #define wxUSE_UNICODE_UTF8 1
46852 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46853 cat >>confdefs.h
<<\_ACEOF
46854 #define wxUSE_UTF8_LOCALE_ONLY 1
46861 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46862 cat >>confdefs.h
<<\_ACEOF
46863 #define wxUSE_CONSTRAINTS 1
46866 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
46869 if test "$wxUSE_MDI" = "yes"; then
46870 cat >>confdefs.h
<<\_ACEOF
46871 #define wxUSE_MDI 1
46875 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46876 cat >>confdefs.h
<<\_ACEOF
46877 #define wxUSE_MDI_ARCHITECTURE 1
46880 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
46884 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46885 cat >>confdefs.h
<<\_ACEOF
46886 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46889 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
46892 if test "$wxUSE_HELP" = "yes"; then
46893 cat >>confdefs.h
<<\_ACEOF
46894 #define wxUSE_HELP 1
46897 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
46899 if test "$wxUSE_MSW" = 1; then
46900 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46901 cat >>confdefs.h
<<\_ACEOF
46902 #define wxUSE_MS_HTML_HELP 1
46908 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46909 if test "$wxUSE_HTML" = "yes"; then
46910 cat >>confdefs.h
<<\_ACEOF
46911 #define wxUSE_WXHTML_HELP 1
46915 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46916 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46917 wxUSE_WXHTML_HELP
=no
46922 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46923 cat >>confdefs.h
<<\_ACEOF
46924 #define wxUSE_PRINTING_ARCHITECTURE 1
46927 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
46930 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46931 cat >>confdefs.h
<<\_ACEOF
46932 #define wxUSE_POSTSCRIPT 1
46937 cat >>confdefs.h
<<\_ACEOF
46938 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46942 if test "$wxUSE_SVG" = "yes"; then
46943 cat >>confdefs.h
<<\_ACEOF
46944 #define wxUSE_SVG 1
46950 if test "$wxUSE_METAFILE" = "yes"; then
46951 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46952 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46953 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46959 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
46960 -o "$wxUSE_CLIPBOARD" = "yes" \
46961 -o "$wxUSE_OLE" = "yes" \
46962 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
46963 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46964 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46965 if test "${ac_cv_header_ole2_h+set}" = set; then
46966 echo $ECHO_N "(cached) $ECHO_C" >&6
46968 cat >conftest.
$ac_ext <<_ACEOF
46971 cat confdefs.h
>>conftest.
$ac_ext
46972 cat >>conftest.
$ac_ext <<_ACEOF
46973 /* end confdefs.h. */
46978 rm -f conftest.
$ac_objext
46979 if { (ac_try
="$ac_compile"
46980 case "(($ac_try" in
46981 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46982 *) ac_try_echo=$ac_try;;
46984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46985 (eval "$ac_compile") 2>conftest.er1
46987 grep -v '^ *+' conftest.er1 >conftest.err
46989 cat conftest.err >&5
46990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46991 (exit $ac_status); } && {
46992 test -z "$ac_c_werror_flag" ||
46993 test ! -s conftest.err
46994 } && test -s conftest.$ac_objext; then
46995 ac_cv_header_ole2_h=yes
46997 echo "$as_me: failed program was:" >&5
46998 sed 's/^/| /' conftest.$ac_ext >&5
47000 ac_cv_header_ole2_h=no
47003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47005 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47006 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47010 if test "$ac_cv_header_ole2_h" = "yes" ; then
47011 if test "$GCC" = yes ; then
47012 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47013 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47014 cat >conftest.$ac_ext <<_ACEOF
47017 cat confdefs.h >>conftest.$ac_ext
47018 cat >>conftest.$ac_ext <<_ACEOF
47019 /* end confdefs.h. */
47020 #include <windows.h>
47030 rm -f conftest.$ac_objext
47031 if { (ac_try="$ac_compile"
47032 case "(($ac_try" in
47033 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47034 *) ac_try_echo
=$ac_try;;
47036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47037 (eval "$ac_compile") 2>conftest.er1
47039 grep -v '^ *+' conftest.er1
>conftest.err
47041 cat conftest.err
>&5
47042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47043 (exit $ac_status); } && {
47044 test -z "$ac_c_werror_flag" ||
47045 test ! -s conftest.err
47046 } && test -s conftest.
$ac_objext; then
47047 { echo "$as_me:$LINENO: result: no" >&5
47048 echo "${ECHO_T}no" >&6; }
47050 echo "$as_me: failed program was:" >&5
47051 sed 's/^/| /' conftest.
$ac_ext >&5
47053 { echo "$as_me:$LINENO: result: yes" >&5
47054 echo "${ECHO_T}yes" >&6; }
47055 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47058 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47059 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47060 if test "$wxUSE_OLE" = "yes" ; then
47061 cat >>confdefs.h
<<\_ACEOF
47062 #define wxUSE_OLE 1
47065 cat >>confdefs.h
<<\_ACEOF
47066 #define wxUSE_OLE_AUTOMATION 1
47069 cat >>confdefs.h
<<\_ACEOF
47070 #define wxUSE_ACTIVEX 1
47073 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
47077 if test "$wxUSE_DATAOBJ" = "yes" ; then
47078 cat >>confdefs.h
<<\_ACEOF
47079 #define wxUSE_DATAOBJ 1
47084 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47085 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47088 wxUSE_DRAG_AND_DROP
=no
47093 if test "$wxUSE_METAFILE" = "yes"; then
47094 cat >>confdefs.h
<<\_ACEOF
47095 #define wxUSE_METAFILE 1
47099 cat >>confdefs.h
<<\_ACEOF
47100 #define wxUSE_ENH_METAFILE 1
47106 if test "$wxUSE_IPC" = "yes"; then
47107 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47108 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47109 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47113 if test "$wxUSE_IPC" = "yes"; then
47114 cat >>confdefs.h
<<\_ACEOF
47115 #define wxUSE_IPC 1
47118 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
47122 if test "$wxUSE_DATAOBJ" = "yes"; then
47123 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47124 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47125 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47128 cat >>confdefs.h
<<\_ACEOF
47129 #define wxUSE_DATAOBJ 1
47134 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47135 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47137 wxUSE_DRAG_AND_DROP
=no
47140 if test "$wxUSE_CLIPBOARD" = "yes"; then
47141 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47142 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47143 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47147 if test "$wxUSE_CLIPBOARD" = "yes"; then
47148 cat >>confdefs.h
<<\_ACEOF
47149 #define wxUSE_CLIPBOARD 1
47155 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47156 if test "$wxUSE_GTK" = 1; then
47157 if test "$WXGTK12" != 1; then
47158 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47159 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47160 wxUSE_DRAG_AND_DROP
=no
47164 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47165 "$wxUSE_DFB" = 1; then
47166 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47167 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47168 wxUSE_DRAG_AND_DROP
=no
47171 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47172 cat >>confdefs.h
<<\_ACEOF
47173 #define wxUSE_DRAG_AND_DROP 1
47180 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47181 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
47184 if test "$wxUSE_CLIPBOARD" = "yes"; then
47185 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
47188 if test "$wxUSE_SPLINES" = "yes" ; then
47189 cat >>confdefs.h
<<\_ACEOF
47190 #define wxUSE_SPLINES 1
47195 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47196 cat >>confdefs.h
<<\_ACEOF
47197 #define wxUSE_MOUSEWHEEL 1
47202 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
47203 cat >>confdefs.h
<<\_ACEOF
47204 #define wxUSE_UIACTIONSIMULATOR 1
47207 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS uiaction"
47210 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
47211 cat >>confdefs.h
<<\_ACEOF
47212 #define wxUSE_DC_TRANSFORM_MATRIX 1
47219 if test "$wxUSE_CONTROLS" = "yes"; then
47223 if test "$wxUSE_MARKUP" = "yes"; then
47224 cat >>confdefs.h
<<\_ACEOF
47225 #define wxUSE_MARKUP 1
47230 if test "$wxUSE_ACCEL" = "yes"; then
47231 cat >>confdefs.h
<<\_ACEOF
47232 #define wxUSE_ACCEL 1
47238 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47239 cat >>confdefs.h
<<\_ACEOF
47240 #define wxUSE_ANIMATIONCTRL 1
47244 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
47247 if test "$wxUSE_BUTTON" = "yes"; then
47248 cat >>confdefs.h
<<\_ACEOF
47249 #define wxUSE_BUTTON 1
47255 if test "$wxUSE_BMPBUTTON" = "yes"; then
47256 cat >>confdefs.h
<<\_ACEOF
47257 #define wxUSE_BMPBUTTON 1
47263 if test "$wxUSE_CALCTRL" = "yes"; then
47264 cat >>confdefs.h
<<\_ACEOF
47265 #define wxUSE_CALENDARCTRL 1
47269 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
47272 if test "$wxUSE_CARET" = "yes"; then
47273 cat >>confdefs.h
<<\_ACEOF
47274 #define wxUSE_CARET 1
47278 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
47281 if test "$wxUSE_COLLPANE" = "yes"; then
47282 cat >>confdefs.h
<<\_ACEOF
47283 #define wxUSE_COLLPANE 1
47287 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
47290 if test "$wxUSE_COMBOBOX" = "yes"; then
47291 cat >>confdefs.h
<<\_ACEOF
47292 #define wxUSE_COMBOBOX 1
47298 if test "$wxUSE_COMBOCTRL" = "yes"; then
47299 cat >>confdefs.h
<<\_ACEOF
47300 #define wxUSE_COMBOCTRL 1
47306 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
47307 cat >>confdefs.h
<<\_ACEOF
47308 #define wxUSE_COMMANDLINKBUTTON 1
47314 if test "$wxUSE_CHOICE" = "yes"; then
47315 cat >>confdefs.h
<<\_ACEOF
47316 #define wxUSE_CHOICE 1
47322 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47323 cat >>confdefs.h
<<\_ACEOF
47324 #define wxUSE_CHOICEBOOK 1
47330 if test "$wxUSE_CHECKBOX" = "yes"; then
47331 cat >>confdefs.h
<<\_ACEOF
47332 #define wxUSE_CHECKBOX 1
47338 if test "$wxUSE_CHECKLST" = "yes"; then
47339 cat >>confdefs.h
<<\_ACEOF
47340 #define wxUSE_CHECKLISTBOX 1
47346 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47347 cat >>confdefs.h
<<\_ACEOF
47348 #define wxUSE_COLOURPICKERCTRL 1
47354 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47355 cat >>confdefs.h
<<\_ACEOF
47356 #define wxUSE_DATEPICKCTRL 1
47362 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47363 cat >>confdefs.h
<<\_ACEOF
47364 #define wxUSE_DIRPICKERCTRL 1
47370 if test "$wxUSE_FILECTRL" = "yes"; then
47371 cat >>confdefs.h
<<\_ACEOF
47372 #define wxUSE_FILECTRL 1
47378 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47379 cat >>confdefs.h
<<\_ACEOF
47380 #define wxUSE_FILEPICKERCTRL 1
47386 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47387 cat >>confdefs.h
<<\_ACEOF
47388 #define wxUSE_FONTPICKERCTRL 1
47394 if test "$wxUSE_DISPLAY" = "yes"; then
47395 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47396 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47397 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47400 cat >>confdefs.h
<<\_ACEOF
47401 #define wxUSE_DISPLAY 1
47404 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
47408 if test "$wxUSE_DETECT_SM" = "yes"; then
47409 cat >>confdefs.h
<<\_ACEOF
47410 #define wxUSE_DETECT_SM 1
47415 if test "$wxUSE_GAUGE" = "yes"; then
47416 cat >>confdefs.h
<<\_ACEOF
47417 #define wxUSE_GAUGE 1
47423 if test "$wxUSE_GRID" = "yes"; then
47424 cat >>confdefs.h
<<\_ACEOF
47425 #define wxUSE_GRID 1
47429 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
47432 if test "$wxUSE_HEADERCTRL" = "yes"; then
47433 cat >>confdefs.h
<<\_ACEOF
47434 #define wxUSE_HEADERCTRL 1
47440 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47441 cat >>confdefs.h
<<\_ACEOF
47442 #define wxUSE_HYPERLINKCTRL 1
47448 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47449 cat >>confdefs.h
<<\_ACEOF
47450 #define wxUSE_BITMAPCOMBOBOX 1
47456 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47457 cat >>confdefs.h
<<\_ACEOF
47458 #define wxUSE_DATAVIEWCTRL 1
47462 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
47465 if test "$wxUSE_IMAGLIST" = "yes"; then
47466 cat >>confdefs.h
<<\_ACEOF
47467 #define wxUSE_IMAGLIST 1
47472 if test "$wxUSE_INFOBAR" = "yes"; then
47473 cat >>confdefs.h
<<\_ACEOF
47474 #define wxUSE_INFOBAR 1
47479 if test "$wxUSE_LISTBOOK" = "yes"; then
47480 cat >>confdefs.h
<<\_ACEOF
47481 #define wxUSE_LISTBOOK 1
47487 if test "$wxUSE_LISTBOX" = "yes"; then
47488 cat >>confdefs.h
<<\_ACEOF
47489 #define wxUSE_LISTBOX 1
47495 if test "$wxUSE_LISTCTRL" = "yes"; then
47496 if test "$wxUSE_IMAGLIST" = "yes"; then
47497 cat >>confdefs.h
<<\_ACEOF
47498 #define wxUSE_LISTCTRL 1
47502 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
47504 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47505 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47509 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47510 cat >>confdefs.h
<<\_ACEOF
47511 #define wxUSE_EDITABLELISTBOX 1
47517 if test "$wxUSE_NOTEBOOK" = "yes"; then
47518 cat >>confdefs.h
<<\_ACEOF
47519 #define wxUSE_NOTEBOOK 1
47523 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
47526 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47527 cat >>confdefs.h
<<\_ACEOF
47528 #define wxUSE_NOTIFICATION_MESSAGE 1
47533 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47534 cat >>confdefs.h
<<\_ACEOF
47535 #define wxUSE_ODCOMBOBOX 1
47539 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
47542 if test "$wxUSE_RADIOBOX" = "yes"; then
47543 cat >>confdefs.h
<<\_ACEOF
47544 #define wxUSE_RADIOBOX 1
47550 if test "$wxUSE_RADIOBTN" = "yes"; then
47551 cat >>confdefs.h
<<\_ACEOF
47552 #define wxUSE_RADIOBTN 1
47558 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47559 cat >>confdefs.h
<<\_ACEOF
47560 #define wxUSE_REARRANGECTRL 1
47565 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47566 cat >>confdefs.h
<<\_ACEOF
47567 #define wxUSE_RICHMSGDLG 1
47572 if test "$wxUSE_SASH" = "yes"; then
47573 cat >>confdefs.h
<<\_ACEOF
47574 #define wxUSE_SASH 1
47577 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
47580 if test "$wxUSE_SCROLLBAR" = "yes"; then
47581 cat >>confdefs.h
<<\_ACEOF
47582 #define wxUSE_SCROLLBAR 1
47586 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
47589 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47590 cat >>confdefs.h
<<\_ACEOF
47591 #define wxUSE_SEARCHCTRL 1
47597 if test "$wxUSE_SLIDER" = "yes"; then
47598 cat >>confdefs.h
<<\_ACEOF
47599 #define wxUSE_SLIDER 1
47605 if test "$wxUSE_SPINBTN" = "yes"; then
47606 cat >>confdefs.h
<<\_ACEOF
47607 #define wxUSE_SPINBTN 1
47613 if test "$wxUSE_SPINCTRL" = "yes"; then
47614 cat >>confdefs.h
<<\_ACEOF
47615 #define wxUSE_SPINCTRL 1
47621 if test "$wxUSE_SPLITTER" = "yes"; then
47622 cat >>confdefs.h
<<\_ACEOF
47623 #define wxUSE_SPLITTER 1
47626 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
47629 if test "$wxUSE_STATBMP" = "yes"; then
47630 cat >>confdefs.h
<<\_ACEOF
47631 #define wxUSE_STATBMP 1
47637 if test "$wxUSE_STATBOX" = "yes"; then
47638 cat >>confdefs.h
<<\_ACEOF
47639 #define wxUSE_STATBOX 1
47645 if test "$wxUSE_STATTEXT" = "yes"; then
47646 cat >>confdefs.h
<<\_ACEOF
47647 #define wxUSE_STATTEXT 1
47653 if test "$wxUSE_STATLINE" = "yes"; then
47654 cat >>confdefs.h
<<\_ACEOF
47655 #define wxUSE_STATLINE 1
47661 if test "$wxUSE_STATUSBAR" = "yes"; then
47662 cat >>confdefs.h
<<\_ACEOF
47663 #define wxUSE_NATIVE_STATUSBAR 1
47666 cat >>confdefs.h
<<\_ACEOF
47667 #define wxUSE_STATUSBAR 1
47672 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
47675 if test "$wxUSE_TEXTCTRL" = "yes"; then
47676 cat >>confdefs.h
<<\_ACEOF
47677 #define wxUSE_TEXTCTRL 1
47681 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
47683 cat >>confdefs.h
<<\_ACEOF
47684 #define wxUSE_RICHEDIT 1
47687 cat >>confdefs.h
<<\_ACEOF
47688 #define wxUSE_RICHEDIT2 1
47693 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47694 if test "$wxUSE_OLD_COCOA" = 1 ; then
47695 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47696 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47700 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47701 cat >>confdefs.h
<<\_ACEOF
47702 #define wxUSE_TOGGLEBTN 1
47709 if test "$wxUSE_TOOLBAR" = "yes"; then
47710 cat >>confdefs.h
<<\_ACEOF
47711 #define wxUSE_TOOLBAR 1
47716 if test "$wxUSE_UNIVERSAL" = "yes"; then
47717 wxUSE_TOOLBAR_NATIVE
="no"
47719 wxUSE_TOOLBAR_NATIVE
="yes"
47720 cat >>confdefs.h
<<\_ACEOF
47721 #define wxUSE_TOOLBAR_NATIVE 1
47726 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
47729 if test "$wxUSE_TOOLTIPS" = "yes"; then
47730 if test "$wxUSE_MOTIF" = 1; then
47731 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47732 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47734 if test "$wxUSE_UNIVERSAL" = "yes"; then
47735 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47736 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47738 cat >>confdefs.h
<<\_ACEOF
47739 #define wxUSE_TOOLTIPS 1
47746 if test "$wxUSE_TREEBOOK" = "yes"; then
47747 cat >>confdefs.h
<<\_ACEOF
47748 #define wxUSE_TREEBOOK 1
47754 if test "$wxUSE_TOOLBOOK" = "yes"; then
47755 cat >>confdefs.h
<<\_ACEOF
47756 #define wxUSE_TOOLBOOK 1
47762 if test "$wxUSE_TREECTRL" = "yes"; then
47763 if test "$wxUSE_IMAGLIST" = "yes"; then
47764 cat >>confdefs.h
<<\_ACEOF
47765 #define wxUSE_TREECTRL 1
47769 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
47771 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47772 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47776 if test "$wxUSE_POPUPWIN" = "yes"; then
47777 if test "$wxUSE_OLD_COCOA" = 1 ; then
47778 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47779 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47781 if test "$wxUSE_PM" = 1; then
47782 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47783 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47785 cat >>confdefs.h
<<\_ACEOF
47786 #define wxUSE_POPUPWIN 1
47789 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
47796 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47797 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47798 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47799 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47801 cat >>confdefs.h
<<\_ACEOF
47802 #define wxUSE_DIALUP_MANAGER 1
47805 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
47809 if test "$wxUSE_TIPWINDOW" = "yes"; then
47810 if test "$wxUSE_PM" = 1; then
47811 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47812 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47814 cat >>confdefs.h
<<\_ACEOF
47815 #define wxUSE_TIPWINDOW 1
47821 if test "$USES_CONTROLS" = 1; then
47822 cat >>confdefs.h
<<\_ACEOF
47823 #define wxUSE_CONTROLS 1
47829 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47830 cat >>confdefs.h
<<\_ACEOF
47831 #define wxUSE_ACCESSIBILITY 1
47834 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
47837 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
47838 cat >>confdefs.h
<<\_ACEOF
47839 #define wxUSE_ARTPROVIDER_STD 1
47844 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
47845 if test "$wxUSE_GTK" != 1; then
47846 if test "$wxUSE_LIBPNG" != no
-a \
47847 "$wxUSE_IMAGE" = yes -a \
47848 "$wxUSE_STREAMS" = yes; then
47849 wxUSE_ARTPROVIDER_TANGO
="yes"
47854 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
47855 cat >>confdefs.h
<<\_ACEOF
47856 #define wxUSE_ARTPROVIDER_TANGO 1
47861 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47862 cat >>confdefs.h
<<\_ACEOF
47863 #define wxUSE_DRAGIMAGE 1
47866 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
47869 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47870 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47871 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47872 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47874 cat >>confdefs.h
<<\_ACEOF
47875 #define wxUSE_EXCEPTIONS 1
47878 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
47883 if test "$wxUSE_HTML" = "yes"; then
47884 cat >>confdefs.h
<<\_ACEOF
47885 #define wxUSE_HTML 1
47889 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47891 if test "$wxUSE_WEBKIT" = "yes"; then
47892 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47893 old_CPPFLAGS
="$CPPFLAGS"
47894 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
47895 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47896 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47897 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47898 echo $ECHO_N "(cached) $ECHO_C" >&6
47900 cat >conftest.
$ac_ext <<_ACEOF
47903 cat confdefs.h
>>conftest.
$ac_ext
47904 cat >>conftest.
$ac_ext <<_ACEOF
47905 /* end confdefs.h. */
47907 #include <Carbon/Carbon.h>
47908 #include <WebKit/WebKit.h>
47911 #include <WebKit/HIWebView.h>
47913 rm -f conftest.
$ac_objext
47914 if { (ac_try
="$ac_compile"
47915 case "(($ac_try" in
47916 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47917 *) ac_try_echo=$ac_try;;
47919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47920 (eval "$ac_compile") 2>conftest.er1
47922 grep -v '^ *+' conftest.er1 >conftest.err
47924 cat conftest.err >&5
47925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47926 (exit $ac_status); } && {
47927 test -z "$ac_c_werror_flag" ||
47928 test ! -s conftest.err
47929 } && test -s conftest.$ac_objext; then
47930 ac_cv_header_WebKit_HIWebView_h=yes
47932 echo "$as_me: failed program was:" >&5
47933 sed 's/^/| /' conftest.$ac_ext >&5
47935 ac_cv_header_WebKit_HIWebView_h=no
47938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47940 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47941 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47942 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47944 cat >>confdefs.h <<\_ACEOF
47945 #define wxUSE_WEBKIT 1
47948 WEBKIT_LINK="-framework WebKit"
47952 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47953 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47959 CPPFLAGS="$old_CPPFLAGS"
47960 elif test "$wxUSE_OLD_COCOA" = 1; then
47961 cat >>confdefs.h <<\_ACEOF
47962 #define wxUSE_WEBKIT 1
47968 if test "$wxUSE_WEBKIT" = "yes"; then
47969 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47974 if test "$wxUSE_XRC" = "yes"; then
47975 if test "$wxUSE_XML" != "yes"; then
47976 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47977 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47980 cat >>confdefs.h <<\_ACEOF
47981 #define wxUSE_XRC 1
47985 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47990 if test "$wxUSE_AUI" = "yes"; then
47991 cat >>confdefs.h <<\_ACEOF
47992 #define wxUSE_AUI 1
47996 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48000 if test "$wxUSE_PROPGRID" = "yes"; then
48001 cat >>confdefs.h <<\_ACEOF
48002 #define wxUSE_PROPGRID 1
48006 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
48010 if test "$wxUSE_RIBBON" = "yes"; then
48011 cat >>confdefs.h <<\_ACEOF
48012 #define wxUSE_RIBBON 1
48016 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
48020 if test "$wxUSE_STC" = "yes"; then
48021 cat >>confdefs.h <<\_ACEOF
48022 #define wxUSE_STC 1
48026 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48028 # Extract the first word of "python", so it can be a program name with args.
48029 set dummy python; ac_word=$2
48030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48032 if test "${ac_cv_path_PYTHON+set}" = set; then
48033 echo $ECHO_N "(cached) $ECHO_C" >&6
48037 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
48040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48041 for as_dir in $PATH
48044 test -z "$as_dir" && as_dir=.
48045 for ac_exec_ext in '' $ac_executable_extensions; do
48046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48047 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
48048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48058 PYTHON=$ac_cv_path_PYTHON
48059 if test -n "$PYTHON"; then
48060 { echo "$as_me:$LINENO: result: $PYTHON" >&5
48061 echo "${ECHO_T}$PYTHON" >&6; }
48063 { echo "$as_me:$LINENO: result: no" >&5
48064 echo "${ECHO_T}no" >&6; }
48068 if test "x$PYTHON" = "x"; then
48074 if test "$wxUSE_MENUS" = "yes"; then
48075 cat >>confdefs.h <<\_ACEOF
48076 #define wxUSE_MENUS 1
48079 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48082 if test "$wxUSE_METAFILE" = "yes"; then
48083 cat >>confdefs.h <<\_ACEOF
48084 #define wxUSE_METAFILE 1
48089 if test "$wxUSE_MIMETYPE" = "yes"; then
48090 cat >>confdefs.h <<\_ACEOF
48091 #define wxUSE_MIMETYPE 1
48096 if test "$wxUSE_MINIFRAME" = "yes"; then
48097 cat >>confdefs.h <<\_ACEOF
48098 #define wxUSE_MINIFRAME 1
48103 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48104 cat >>confdefs.h <<\_ACEOF
48105 #define wxUSE_SYSTEM_OPTIONS 1
48110 if test "$wxUSE_TASKBARICON" = "yes"; then
48111 cat >>confdefs.h <<\_ACEOF
48112 #define wxUSE_TASKBARICON 1
48115 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48119 if test "$wxUSE_VALIDATORS" = "yes"; then
48120 cat >>confdefs.h <<\_ACEOF
48121 #define wxUSE_VALIDATORS 1
48124 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48127 if test "$wxUSE_PALETTE" = "yes" ; then
48128 if test "$wxUSE_DFB" = 1; then
48129 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48130 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48133 cat >>confdefs.h <<\_ACEOF
48134 #define wxUSE_PALETTE 1
48140 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48141 LIBS=" -lunicows $LIBS"
48145 if test "$wxUSE_RICHTEXT" = "yes"; then
48146 cat >>confdefs.h <<\_ACEOF
48147 #define wxUSE_RICHTEXT 1
48151 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48155 if test "$wxUSE_IMAGE" = "yes" ; then
48156 cat >>confdefs.h <<\_ACEOF
48157 #define wxUSE_IMAGE 1
48161 if test "$wxUSE_GIF" = "yes" ; then
48162 cat >>confdefs.h <<\_ACEOF
48163 #define wxUSE_GIF 1
48168 if test "$wxUSE_PCX" = "yes" ; then
48169 cat >>confdefs.h <<\_ACEOF
48170 #define wxUSE_PCX 1
48175 if test "$wxUSE_TGA" = "yes" ; then
48176 cat >>confdefs.h <<\_ACEOF
48177 #define wxUSE_TGA 1
48182 if test "$wxUSE_IFF" = "yes" ; then
48183 cat >>confdefs.h <<\_ACEOF
48184 #define wxUSE_IFF 1
48189 if test "$wxUSE_PNM" = "yes" ; then
48190 cat >>confdefs.h <<\_ACEOF
48191 #define wxUSE_PNM 1
48196 if test "$wxUSE_XPM" = "yes" ; then
48197 cat >>confdefs.h <<\_ACEOF
48198 #define wxUSE_XPM 1
48203 if test "$wxUSE_ICO_CUR" = "yes" ; then
48204 cat >>confdefs.h <<\_ACEOF
48205 #define wxUSE_ICO_CUR 1
48212 if test "$wxUSE_ABOUTDLG" = "yes"; then
48213 cat >>confdefs.h <<\_ACEOF
48214 #define wxUSE_ABOUTDLG 1
48219 if test "$wxUSE_CHOICEDLG" = "yes"; then
48220 cat >>confdefs.h <<\_ACEOF
48221 #define wxUSE_CHOICEDLG 1
48226 if test "$wxUSE_COLOURDLG" = "yes"; then
48227 cat >>confdefs.h <<\_ACEOF
48228 #define wxUSE_COLOURDLG 1
48233 if test "$wxUSE_FILEDLG" = "yes"; then
48234 cat >>confdefs.h <<\_ACEOF
48235 #define wxUSE_FILEDLG 1
48240 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48241 cat >>confdefs.h <<\_ACEOF
48242 #define wxUSE_FINDREPLDLG 1
48247 if test "$wxUSE_FONTDLG" = "yes"; then
48248 cat >>confdefs.h <<\_ACEOF
48249 #define wxUSE_FONTDLG 1
48254 if test "$wxUSE_DIRDLG" = "yes"; then
48255 if test "$wxUSE_TREECTRL" != "yes"; then
48256 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48257 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48259 cat >>confdefs.h <<\_ACEOF
48260 #define wxUSE_DIRDLG 1
48266 if test "$wxUSE_MSGDLG" = "yes"; then
48267 cat >>confdefs.h <<\_ACEOF
48268 #define wxUSE_MSGDLG 1
48273 if test "$wxUSE_NUMBERDLG" = "yes"; then
48274 cat >>confdefs.h <<\_ACEOF
48275 #define wxUSE_NUMBERDLG 1
48280 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48281 cat >>confdefs.h <<\_ACEOF
48282 #define wxUSE_PROGRESSDLG 1
48287 if test "$wxUSE_SPLASH" = "yes"; then
48288 cat >>confdefs.h <<\_ACEOF
48289 #define wxUSE_SPLASH 1
48292 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48295 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48296 cat >>confdefs.h <<\_ACEOF
48297 #define wxUSE_STARTUP_TIPS 1
48302 if test "$wxUSE_TEXTDLG" = "yes"; then
48303 cat >>confdefs.h <<\_ACEOF
48304 #define wxUSE_TEXTDLG 1
48309 if test "$wxUSE_WIZARDDLG" = "yes"; then
48310 cat >>confdefs.h <<\_ACEOF
48311 #define wxUSE_WIZARDDLG 1
48314 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48318 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48319 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48320 cat >>confdefs.h <<\_ACEOF
48321 #define wxUSE_OWNER_DRAWN 1
48328 if test "$wxUSE_MSW" = 1 ; then
48330 if test "$wxUSE_DC_CACHEING" = "yes"; then
48331 cat >>confdefs.h <<\_ACEOF
48332 #define wxUSE_DC_CACHEING 1
48337 if test "$wxUSE_DIB" = "yes"; then
48338 cat >>confdefs.h <<\_ACEOF
48339 #define wxUSE_WXDIB 1
48344 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48345 cat >>confdefs.h <<\_ACEOF
48346 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48351 if test "$wxUSE_UXTHEME" = "yes"; then
48352 cat >>confdefs.h <<\_ACEOF
48353 #define wxUSE_UXTHEME 1
48360 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48361 cat >>confdefs.h <<\_ACEOF
48362 #define wxUSE_AUTOID_MANAGEMENT 1
48367 if test "$USE_WIN32" = 1 ; then
48368 if test "$wxUSE_INICONF" = "yes"; then
48369 cat >>confdefs.h <<\_ACEOF
48370 #define wxUSE_INICONF 1
48375 if test "$wxUSE_REGKEY" = "yes"; then
48376 cat >>confdefs.h <<\_ACEOF
48377 #define wxUSE_REGKEY 1
48384 if test "$wxUSE_MAC" = 1; then
48385 wxUSE_GRAPHICS_CONTEXT="yes"
48388 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48390 if test "$wxUSE_MSW" = 1; then
48391 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
48392 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
48393 if test "${wx_cv_lib_gdiplus+set}" = set; then
48394 echo $ECHO_N "(cached) $ECHO_C" >&6
48398 ac_cpp='$CXXCPP $CPPFLAGS'
48399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48403 cat >conftest.$ac_ext <<_ACEOF
48406 cat confdefs.h >>conftest.$ac_ext
48407 cat >>conftest.$ac_ext <<_ACEOF
48408 /* end confdefs.h. */
48409 #include <windows.h>
48410 #include <gdiplus.h>
48415 using namespace Gdiplus;
48421 rm -f conftest.$ac_objext
48422 if { (ac_try="$ac_compile"
48423 case "(($ac_try" in
48424 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48425 *) ac_try_echo
=$ac_try;;
48427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48428 (eval "$ac_compile") 2>conftest.er1
48430 grep -v '^ *+' conftest.er1
>conftest.err
48432 cat conftest.err
>&5
48433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48434 (exit $ac_status); } && {
48435 test -z "$ac_cxx_werror_flag" ||
48436 test ! -s conftest.err
48437 } && test -s conftest.
$ac_objext; then
48438 wx_cv_lib_gdiplus
=yes
48440 echo "$as_me: failed program was:" >&5
48441 sed 's/^/| /' conftest.
$ac_ext >&5
48443 wx_cv_lib_gdiplus
=no
48447 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48449 ac_cpp
='$CPP $CPPFLAGS'
48450 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48451 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48452 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48457 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48458 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48459 if test "$wx_cv_lib_gdiplus" = "yes"; then
48462 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
48465 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48466 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48468 if test -n "$PKG_CONFIG"; then
48469 if test -n "$CAIRO_CFLAGS"; then
48470 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
48472 if test -n "$PKG_CONFIG" && \
48473 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48474 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48477 (exit $ac_status); }; then
48478 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48486 if test -n "$PKG_CONFIG"; then
48487 if test -n "$CAIRO_LIBS"; then
48488 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
48490 if test -n "$PKG_CONFIG" && \
48491 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48492 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48495 (exit $ac_status); }; then
48496 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48507 if test $pkg_failed = yes; then
48509 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48510 _pkg_short_errors_supported
=yes
48512 _pkg_short_errors_supported
=no
48514 if test $_pkg_short_errors_supported = yes; then
48515 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48517 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48519 # Put the nasty error message in config.log where it belongs
48520 echo "$CAIRO_PKG_ERRORS" >&5
48522 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48523 echo "$as_me: WARNING: Cairo library not found" >&2;}
48525 elif test $pkg_failed = untried
; then
48526 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48527 echo "$as_me: WARNING: Cairo library not found" >&2;}
48530 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
48531 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
48532 { echo "$as_me:$LINENO: result: yes" >&5
48533 echo "${ECHO_T}yes" >&6; }
48536 if test "$wx_has_graphics" = 1; then
48538 LIBS
="$LIBS $CAIRO_LIBS"
48540 for ac_func
in cairo_push_group
48542 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48543 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48545 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48546 echo $ECHO_N "(cached) $ECHO_C" >&6
48548 cat >conftest.
$ac_ext <<_ACEOF
48551 cat confdefs.h
>>conftest.
$ac_ext
48552 cat >>conftest.
$ac_ext <<_ACEOF
48553 /* end confdefs.h. */
48554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48556 #define $ac_func innocuous_$ac_func
48558 /* System header to define __stub macros and hopefully few prototypes,
48559 which can conflict with char $ac_func (); below.
48560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48561 <limits.h> exists even on freestanding compilers. */
48564 # include <limits.h>
48566 # include <assert.h>
48571 /* Override any GCC internal prototype to avoid an error.
48572 Use char because int might match the return type of a GCC
48573 builtin and then its argument prototype would still apply. */
48578 /* The GNU C library defines this for functions which it implements
48579 to always fail with ENOSYS. Some functions are actually named
48580 something starting with __ and the normal name is an alias. */
48581 #if defined __stub_$ac_func || defined __stub___$ac_func
48588 return $ac_func ();
48593 rm -f conftest.
$ac_objext conftest
$ac_exeext
48594 if { (ac_try
="$ac_link"
48595 case "(($ac_try" in
48596 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48597 *) ac_try_echo=$ac_try;;
48599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48600 (eval "$ac_link") 2>conftest.er1
48602 grep -v '^ *+' conftest.er1 >conftest.err
48604 cat conftest.err >&5
48605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48606 (exit $ac_status); } && {
48607 test -z "$ac_c_werror_flag" ||
48608 test ! -s conftest.err
48609 } && test -s conftest$ac_exeext &&
48610 $as_test_x conftest$ac_exeext; then
48611 eval "$as_ac_var=yes"
48613 echo "$as_me: failed program was:" >&5
48614 sed 's/^/| /' conftest.$ac_ext >&5
48616 eval "$as_ac_var=no"
48619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48620 conftest$ac_exeext conftest.$ac_ext
48622 ac_res=`eval echo '${'$as_ac_var'}'`
48623 { echo "$as_me:$LINENO: result: $ac_res" >&5
48624 echo "${ECHO_T}$ac_res" >&6; }
48625 if test `eval echo '${'$as_ac_var'}'` = yes; then
48626 cat >>confdefs.h <<_ACEOF
48627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48634 if test "$ac_cv_func_cairo_push_group" = "no"; then
48636 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
48637 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
48639 cat >>confdefs.h <<\_ACEOF
48640 #define wxUSE_CAIRO 1
48644 if test "$wxUSE_GTK" != 1; then
48645 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
48646 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
48654 if test "$wx_has_graphics" = 1; then
48655 cat >>confdefs.h <<\_ACEOF
48656 #define wxUSE_GRAPHICS_CONTEXT 1
48660 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
48661 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
48668 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
48671 if test "$wxUSE_GTK" = 1; then
48672 wxUSE_GSTREAMER="no"
48674 GST_VERSION_MAJOR=0
48675 GST_VERSION_MINOR=10
48676 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48678 if test "$wxUSE_GSTREAMER8" = "no"; then
48681 { echo "$as_me:$LINENO: checking for GST" >&5
48682 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48684 if test -n "$PKG_CONFIG"; then
48685 if test -n "$GST_CFLAGS"; then
48686 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48688 if test -n "$PKG_CONFIG" && \
48689 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48690 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48693 (exit $ac_status); }; then
48694 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
48702 if test -n "$PKG_CONFIG"; then
48703 if test -n "$GST_LIBS"; then
48704 pkg_cv_GST_LIBS="$GST_LIBS"
48706 if test -n "$PKG_CONFIG" && \
48707 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48708 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48711 (exit $ac_status); }; then
48712 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
48723 if test $pkg_failed = yes; then
48725 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48726 _pkg_short_errors_supported=yes
48728 _pkg_short_errors_supported=no
48730 if test $_pkg_short_errors_supported = yes; then
48731 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48733 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48735 # Put the nasty error message in config.log where it belongs
48736 echo "$GST_PKG_ERRORS" >&5
48739 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48740 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48741 GST_VERSION_MINOR=8
48744 elif test $pkg_failed = untried; then
48746 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48747 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48748 GST_VERSION_MINOR=8
48752 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48753 GST_LIBS=$pkg_cv_GST_LIBS
48754 { echo "$as_me:$LINENO: result: yes" >&5
48755 echo "${ECHO_T}yes" >&6; }
48757 wxUSE_GSTREAMER="yes"
48758 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48762 GST_VERSION_MINOR=8
48765 if test $GST_VERSION_MINOR = "8"; then
48766 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48769 { echo "$as_me:$LINENO: checking for GST" >&5
48770 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48772 if test -n "$PKG_CONFIG"; then
48773 if test -n "$GST_CFLAGS"; then
48774 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48776 if test -n "$PKG_CONFIG" && \
48777 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48778 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48781 (exit $ac_status); }; then
48782 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
48790 if test -n "$PKG_CONFIG"; then
48791 if test -n "$GST_LIBS"; then
48792 pkg_cv_GST_LIBS="$GST_LIBS"
48794 if test -n "$PKG_CONFIG" && \
48795 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48796 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48799 (exit $ac_status); }; then
48800 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
48811 if test $pkg_failed = yes; then
48813 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48814 _pkg_short_errors_supported=yes
48816 _pkg_short_errors_supported=no
48818 if test $_pkg_short_errors_supported = yes; then
48819 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48821 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48823 # Put the nasty error message in config.log where it belongs
48824 echo "$GST_PKG_ERRORS" >&5
48827 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48828 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48830 elif test $pkg_failed = untried; then
48832 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48833 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48836 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48837 GST_LIBS=$pkg_cv_GST_LIBS
48838 { echo "$as_me:$LINENO: result: yes" >&5
48839 echo "${ECHO_T}yes" >&6; }
48840 wxUSE_GSTREAMER="yes"
48845 if test "$wxUSE_GSTREAMER" = "yes"; then
48846 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48847 EXTRALIBS_MEDIA="$GST_LIBS"
48849 cat >>confdefs.h <<\_ACEOF
48850 #define wxUSE_GSTREAMER 1
48858 if test $USE_MEDIA = 1; then
48859 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48860 cat >>confdefs.h <<\_ACEOF
48861 #define wxUSE_MEDIACTRL 1
48865 if test "$wxUSE_MEDIACTRL" = "yes"; then
48866 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
48867 echo "$as_me: error: GStreamer not available" >&2;}
48868 { (exit 1); exit 1; }; }
48870 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
48871 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
48877 if test "$cross_compiling" != "no"; then
48880 OSINFO=`uname
-s -r -m`
48881 OSINFO="\"$OSINFO\""
48884 cat >>confdefs.h <<_ACEOF
48885 #define WXWIN_OS_DESCRIPTION $OSINFO
48890 if test "x$prefix" != "xNONE"; then
48893 wxPREFIX=$ac_default_prefix
48896 cat >>confdefs.h <<_ACEOF
48897 #define wxINSTALL_PREFIX "$wxPREFIX"
48903 STD_BASE_LIBS="base"
48905 BUILT_WX_LIBS="base"
48906 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
48908 if test "$wxUSE_SOCKETS" = "yes" ; then
48909 STD_BASE_LIBS="net $STD_BASE_LIBS"
48910 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48912 if test "$wxUSE_XML" = "yes" ; then
48913 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48914 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48917 if test "$wxUSE_GUI" = "yes"; then
48918 STD_GUI_LIBS="adv core"
48919 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
48921 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48922 STD_GUI_LIBS="qa $STD_GUI_LIBS"
48923 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
48925 if test "$wxUSE_HTML" = "yes" ; then
48926 STD_GUI_LIBS="html $STD_GUI_LIBS"
48927 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
48929 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48930 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
48932 if test "$wxUSE_OPENGL" = "yes" ; then
48933 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
48935 if test "$wxUSE_AUI" = "yes" ; then
48936 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
48938 if test "$wxUSE_PROPGRID" = "yes" ; then
48939 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
48941 if test "$wxUSE_RIBBON" = "yes" ; then
48942 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
48944 if test "$wxUSE_RICHTEXT" = "yes" ; then
48945 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
48947 if test "$wxUSE_STC" = "yes" ; then
48948 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
48950 if test "$wxUSE_XRC" = "yes" ; then
48951 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
48952 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
48963 if test "$wxUSE_MAC" = 1 ; then
48964 if test "$USE_DARWIN" = 1; then
48965 if test "$wxUSE_OSX_IPHONE" = 1; then
48966 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
48968 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
48972 if test "$wxUSE_OLD_COCOA" = 1 ; then
48973 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
48974 if test "$wxUSE_MEDIACTRL" = "yes"; then
48975 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
48978 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
48979 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48982 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
48983 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
48985 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48987 if test "$wxUSE_GUI" = "yes"; then
48990 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48991 erase event exec font image minimal render \
48992 shaped svg taborder vscroll widgets wrapsizer"
48994 if test "$wxUSE_MONOLITHIC" != "yes"; then
48995 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
48997 if test "$TOOLKIT" = "MSW"; then
48998 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
48999 if test "$wxUSE_UNIVERSAL" != "yes"; then
49000 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
49003 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49004 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49007 SAMPLES_SUBDIRS="console"
49008 if test "$wxUSE_SOCKETS" = "yes" ; then
49009 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
49011 if test "$wxUSE_IPC" = "yes" ; then
49012 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
49017 if test "x$INTELCC" = "xyes" ; then
49018 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
49019 elif test "$GCC" = yes ; then
49020 CWARNINGS="-Wall -Wundef"
49023 if test "x$INTELCXX" = "xyes" ; then
49024 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
49025 elif test "$GXX" = yes ; then
49026 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
49027 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
49028 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
49029 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
49030 echo $ECHO_N "(cached) $ECHO_C" >&6
49032 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
49035 ac_cpp='$CXXCPP $CPPFLAGS'
49036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49040 ac_save_CXXFLAGS="$CXXFLAGS"
49041 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
49042 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
49043 cat >conftest.$ac_ext <<_ACEOF
49046 cat confdefs.h >>conftest.$ac_ext
49047 cat >>conftest.$ac_ext <<_ACEOF
49048 /* end confdefs.h. */
49058 rm -f conftest.$ac_objext
49059 if { (ac_try="$ac_compile"
49060 case "(($ac_try" in
49061 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49062 *) ac_try_echo
=$ac_try;;
49064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49065 (eval "$ac_compile") 2>conftest.er1
49067 grep -v '^ *+' conftest.er1
>conftest.err
49069 cat conftest.err
>&5
49070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49071 (exit $ac_status); } && {
49072 test -z "$ac_cxx_werror_flag" ||
49073 test ! -s conftest.err
49074 } && test -s conftest.
$ac_objext; then
49075 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
49077 echo "$as_me: failed program was:" >&5
49078 sed 's/^/| /' conftest.
$ac_ext >&5
49083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49085 CXXFLAGS
="$ac_save_CXXFLAGS"
49087 ac_cpp
='$CPP $CPPFLAGS'
49088 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49089 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49090 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
49094 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
49095 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
49096 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
49100 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
49101 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
49102 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
49104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49105 (exit $ac_status); }
49106 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
49107 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
49109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49110 (exit $ac_status); }
49111 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
49117 if test "$wxUSE_MAC" = 1 ; then
49118 CXXWARNINGS
="$CXXWARNINGS -Wno-deprecated-declarations"
49123 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
49124 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49127 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
49128 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49129 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49132 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49133 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49134 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49135 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
49136 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
49138 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49141 if test "x$MWCC" = "xyes"; then
49143 CC
="$CC -cwd source -I-"
49144 CXX
="$CXX -cwd source -I-"
49149 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49150 EXTRALIBS_XML
="$EXPAT_LINK"
49151 EXTRALIBS_HTML
="$MSPACK_LINK"
49152 EXTRALIBS_MEDIA
="$GST_LIBS"
49153 EXTRALIBS_STC
="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49154 if test "$wxUSE_GUI" = "yes"; then
49155 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49157 if test "$wxUSE_OPENGL" = "yes"; then
49158 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
49161 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
49163 WXCONFIG_LIBS
="$LIBS"
49165 if test "$wxUSE_REGEX" = "builtin" ; then
49166 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49168 if test "$wxUSE_EXPAT" = "builtin" ; then
49169 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
49171 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49172 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
49174 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49175 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
49177 if test "$wxUSE_LIBPNG" = "builtin" ; then
49178 wxconfig_3rdparty
="png $wxconfig_3rdparty"
49180 if test "$wxUSE_ZLIB" = "builtin" ; then
49181 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
49184 for i
in $wxconfig_3rdparty ; do
49185 WXCONFIG_LIBS
="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49189 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49192 case "$wxUNIV_THEMES" in
49194 cat >>confdefs.h
<<\_ACEOF
49195 #define wxUSE_ALL_THEMES 1
49201 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
49202 cat >>confdefs.h
<<_ACEOF
49203 #define wxUSE_THEME_$t 1
49219 if test $wxUSE_MONOLITHIC = "yes" ; then
49225 if test $wxUSE_PLUGINS = "yes" ; then
49231 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49237 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49269 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
49282 TOOLKIT_DESC
="GTK+"
49283 if test "$WXGTK2" = 1; then
49284 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
49285 if test "$wxUSE_GTKPRINT" = "yes" ; then
49286 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
49288 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49289 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
49291 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49292 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
49294 if test "$wxUSE_LIBHILDON" = "yes"; then
49295 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
49297 if test "$wxUSE_LIBHILDON2" = "yes"; then
49298 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
49301 if test "$TOOLKIT_EXTRA" != ""; then
49302 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49308 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
49312 TOOLKIT_DESC
="base only"
49316 if test "$wxUSE_WINE" = "yes"; then
49317 BAKEFILE_FORCE_PLATFORM
=win32
49320 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49322 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49323 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49324 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49325 echo $ECHO_N "(cached) $ECHO_C" >&6
49328 echo '#include <stdio.h>
49329 const wchar_t test_var[] = L"awidetest";' > conftest.h
49331 echo '#include "conftest.h"
49334 printf("%ls", test_var);
49338 wx_cv_gcc_pch_bug
="pch not supported"
49340 if $CXX conftest.h
>/dev
/null
2>&1
49344 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
49346 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
49347 grep awidetest
>/dev
/null
49349 wx_cv_gcc_pch_bug
=no
49351 wx_cv_gcc_pch_bug
=yes
49356 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
49359 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49360 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49362 if test "$wx_cv_gcc_pch_bug" = yes; then
49373 if test "x$BAKEFILE_HOST" = "x"; then
49374 if test "x${host}" = "x" ; then
49375 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49376 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49377 { (exit 1); exit 1; }; }
49380 BAKEFILE_HOST
="${host}"
49383 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49385 if test -n "$ac_tool_prefix"; then
49386 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49387 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
49388 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49390 if test "${ac_cv_prog_RANLIB+set}" = set; then
49391 echo $ECHO_N "(cached) $ECHO_C" >&6
49393 if test -n "$RANLIB"; then
49394 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
49396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49397 for as_dir
in $PATH
49400 test -z "$as_dir" && as_dir
=.
49401 for ac_exec_ext
in '' $ac_executable_extensions; do
49402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49403 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
49404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49413 RANLIB
=$ac_cv_prog_RANLIB
49414 if test -n "$RANLIB"; then
49415 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49416 echo "${ECHO_T}$RANLIB" >&6; }
49418 { echo "$as_me:$LINENO: result: no" >&5
49419 echo "${ECHO_T}no" >&6; }
49424 if test -z "$ac_cv_prog_RANLIB"; then
49425 ac_ct_RANLIB
=$RANLIB
49426 # Extract the first word of "ranlib", so it can be a program name with args.
49427 set dummy ranlib
; ac_word
=$2
49428 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49430 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49431 echo $ECHO_N "(cached) $ECHO_C" >&6
49433 if test -n "$ac_ct_RANLIB"; then
49434 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
49436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49437 for as_dir
in $PATH
49440 test -z "$as_dir" && as_dir
=.
49441 for ac_exec_ext
in '' $ac_executable_extensions; do
49442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49443 ac_cv_prog_ac_ct_RANLIB
="ranlib"
49444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49453 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
49454 if test -n "$ac_ct_RANLIB"; then
49455 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49456 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49458 { echo "$as_me:$LINENO: result: no" >&5
49459 echo "${ECHO_T}no" >&6; }
49462 if test "x$ac_ct_RANLIB" = x
; then
49465 case $cross_compiling:$ac_tool_warned in
49467 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49468 whose name does not start with the host triplet. If you think this
49469 configuration is useful to you, please write to autoconf@gnu.org." >&5
49470 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49471 whose name does not start with the host triplet. If you think this
49472 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49473 ac_tool_warned
=yes ;;
49475 RANLIB
=$ac_ct_RANLIB
49478 RANLIB
="$ac_cv_prog_RANLIB"
49481 # Find a good install program. We prefer a C program (faster),
49482 # so one script is as good as another. But avoid the broken or
49483 # incompatible versions:
49484 # SysV /etc/install, /usr/sbin/install
49485 # SunOS /usr/etc/install
49486 # IRIX /sbin/install
49488 # AmigaOS /C/install, which installs bootblocks on floppy discs
49489 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49490 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49491 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49492 # OS/2's system install, which has a completely different semantic
49493 # ./install, which can be erroneously created by make from ./install.sh.
49494 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49495 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49496 if test -z "$INSTALL"; then
49497 if test "${ac_cv_path_install+set}" = set; then
49498 echo $ECHO_N "(cached) $ECHO_C" >&6
49500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49501 for as_dir
in $PATH
49504 test -z "$as_dir" && as_dir
=.
49505 # Account for people who put trailing slashes in PATH elements.
49507 .
/ | .
// | /cC
/* | \
49508 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
49509 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
49512 # OSF1 and SCO ODT 3.0 have their own names for install.
49513 # Don't use installbsd from OSF since it installs stuff as root
49515 for ac_prog
in ginstall scoinst
install; do
49516 for ac_exec_ext
in '' $ac_executable_extensions; do
49517 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49518 if test $ac_prog = install &&
49519 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49520 # AIX install. It has an incompatible calling convention.
49522 elif test $ac_prog = install &&
49523 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49524 # program-specific install script used by HP pwplus--don't use.
49527 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
49540 if test "${ac_cv_path_install+set}" = set; then
49541 INSTALL
=$ac_cv_path_install
49543 # As a last resort, use the slow shell script. Don't cache a
49544 # value for INSTALL within a source directory, because that will
49545 # break other packages using the cache if that directory is
49546 # removed, or if the value is a relative name.
49547 INSTALL
=$ac_install_sh
49550 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49551 echo "${ECHO_T}$INSTALL" >&6; }
49553 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49554 # It thinks the first close brace ends the variable substitution.
49555 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
49557 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
49559 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
49561 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49562 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49564 if test "$LN_S" = "ln -s"; then
49565 { echo "$as_me:$LINENO: result: yes" >&5
49566 echo "${ECHO_T}yes" >&6; }
49568 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49569 echo "${ECHO_T}no, using $LN_S" >&6; }
49573 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49574 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49575 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49576 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
49577 echo $ECHO_N "(cached) $ECHO_C" >&6
49579 cat >conftest.
make <<\_ACEOF
49582 @
echo '@@@%%%=$(MAKE)=@@@%%%'
49584 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49585 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49586 *@@@
%%%=?
*=@@@
%%%*)
49587 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
49589 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
49591 rm -f conftest.
make
49593 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
49594 { echo "$as_me:$LINENO: result: yes" >&5
49595 echo "${ECHO_T}yes" >&6; }
49598 { echo "$as_me:$LINENO: result: no" >&5
49599 echo "${ECHO_T}no" >&6; }
49600 SET_MAKE
="MAKE=${MAKE-make}"
49605 if test "x$SUNCXX" = "xyes"; then
49607 AROPTIONS
="-xar -o"
49609 elif test "x$SGICC" = "xyes"; then
49614 if test -n "$ac_tool_prefix"; then
49615 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49616 set dummy
${ac_tool_prefix}ar; ac_word
=$2
49617 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49619 if test "${ac_cv_prog_AR+set}" = set; then
49620 echo $ECHO_N "(cached) $ECHO_C" >&6
49622 if test -n "$AR"; then
49623 ac_cv_prog_AR
="$AR" # Let the user override the test.
49625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49626 for as_dir
in $PATH
49629 test -z "$as_dir" && as_dir
=.
49630 for ac_exec_ext
in '' $ac_executable_extensions; do
49631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49632 ac_cv_prog_AR
="${ac_tool_prefix}ar"
49633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49643 if test -n "$AR"; then
49644 { echo "$as_me:$LINENO: result: $AR" >&5
49645 echo "${ECHO_T}$AR" >&6; }
49647 { echo "$as_me:$LINENO: result: no" >&5
49648 echo "${ECHO_T}no" >&6; }
49653 if test -z "$ac_cv_prog_AR"; then
49655 # Extract the first word of "ar", so it can be a program name with args.
49656 set dummy
ar; ac_word
=$2
49657 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49659 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49660 echo $ECHO_N "(cached) $ECHO_C" >&6
49662 if test -n "$ac_ct_AR"; then
49663 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
49665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49666 for as_dir
in $PATH
49669 test -z "$as_dir" && as_dir
=.
49670 for ac_exec_ext
in '' $ac_executable_extensions; do
49671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49672 ac_cv_prog_ac_ct_AR
="ar"
49673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49682 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
49683 if test -n "$ac_ct_AR"; then
49684 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49685 echo "${ECHO_T}$ac_ct_AR" >&6; }
49687 { echo "$as_me:$LINENO: result: no" >&5
49688 echo "${ECHO_T}no" >&6; }
49691 if test "x$ac_ct_AR" = x
; then
49694 case $cross_compiling:$ac_tool_warned in
49696 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49697 whose name does not start with the host triplet. If you think this
49698 configuration is useful to you, please write to autoconf@gnu.org." >&5
49699 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49700 whose name does not start with the host triplet. If you think this
49701 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49702 ac_tool_warned
=yes ;;
49707 AR
="$ac_cv_prog_AR"
49714 if test -n "$ac_tool_prefix"; then
49715 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49716 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
49717 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49719 if test "${ac_cv_prog_STRIP+set}" = set; then
49720 echo $ECHO_N "(cached) $ECHO_C" >&6
49722 if test -n "$STRIP"; then
49723 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
49725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49726 for as_dir
in $PATH
49729 test -z "$as_dir" && as_dir
=.
49730 for ac_exec_ext
in '' $ac_executable_extensions; do
49731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49732 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
49733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49742 STRIP
=$ac_cv_prog_STRIP
49743 if test -n "$STRIP"; then
49744 { echo "$as_me:$LINENO: result: $STRIP" >&5
49745 echo "${ECHO_T}$STRIP" >&6; }
49747 { echo "$as_me:$LINENO: result: no" >&5
49748 echo "${ECHO_T}no" >&6; }
49753 if test -z "$ac_cv_prog_STRIP"; then
49755 # Extract the first word of "strip", so it can be a program name with args.
49756 set dummy strip
; ac_word
=$2
49757 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49759 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49760 echo $ECHO_N "(cached) $ECHO_C" >&6
49762 if test -n "$ac_ct_STRIP"; then
49763 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
49765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49766 for as_dir
in $PATH
49769 test -z "$as_dir" && as_dir
=.
49770 for ac_exec_ext
in '' $ac_executable_extensions; do
49771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49772 ac_cv_prog_ac_ct_STRIP
="strip"
49773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49782 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
49783 if test -n "$ac_ct_STRIP"; then
49784 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49785 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49787 { echo "$as_me:$LINENO: result: no" >&5
49788 echo "${ECHO_T}no" >&6; }
49791 if test "x$ac_ct_STRIP" = x
; then
49794 case $cross_compiling:$ac_tool_warned in
49796 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49797 whose name does not start with the host triplet. If you think this
49798 configuration is useful to you, please write to autoconf@gnu.org." >&5
49799 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49800 whose name does not start with the host triplet. If you think this
49801 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49802 ac_tool_warned
=yes ;;
49807 STRIP
="$ac_cv_prog_STRIP"
49810 if test -n "$ac_tool_prefix"; then
49811 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49812 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
49813 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49815 if test "${ac_cv_prog_NM+set}" = set; then
49816 echo $ECHO_N "(cached) $ECHO_C" >&6
49818 if test -n "$NM"; then
49819 ac_cv_prog_NM
="$NM" # Let the user override the test.
49821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49822 for as_dir
in $PATH
49825 test -z "$as_dir" && as_dir
=.
49826 for ac_exec_ext
in '' $ac_executable_extensions; do
49827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49828 ac_cv_prog_NM
="${ac_tool_prefix}nm"
49829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49839 if test -n "$NM"; then
49840 { echo "$as_me:$LINENO: result: $NM" >&5
49841 echo "${ECHO_T}$NM" >&6; }
49843 { echo "$as_me:$LINENO: result: no" >&5
49844 echo "${ECHO_T}no" >&6; }
49849 if test -z "$ac_cv_prog_NM"; then
49851 # Extract the first word of "nm", so it can be a program name with args.
49852 set dummy nm
; ac_word
=$2
49853 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49855 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49856 echo $ECHO_N "(cached) $ECHO_C" >&6
49858 if test -n "$ac_ct_NM"; then
49859 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
49861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49862 for as_dir
in $PATH
49865 test -z "$as_dir" && as_dir
=.
49866 for ac_exec_ext
in '' $ac_executable_extensions; do
49867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49868 ac_cv_prog_ac_ct_NM
="nm"
49869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49878 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
49879 if test -n "$ac_ct_NM"; then
49880 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49881 echo "${ECHO_T}$ac_ct_NM" >&6; }
49883 { echo "$as_me:$LINENO: result: no" >&5
49884 echo "${ECHO_T}no" >&6; }
49887 if test "x$ac_ct_NM" = x
; then
49890 case $cross_compiling:$ac_tool_warned in
49892 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49893 whose name does not start with the host triplet. If you think this
49894 configuration is useful to you, please write to autoconf@gnu.org." >&5
49895 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49896 whose name does not start with the host triplet. If you think this
49897 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49898 ac_tool_warned
=yes ;;
49903 NM
="$ac_cv_prog_NM"
49907 { echo "$as_me:$LINENO: checking for command to install directories" >&5
49908 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
49909 INSTALL_TEST_DIR
=acbftest$$
49910 $INSTALL -d $INSTALL_TEST_DIR > /dev
/null
2>&1
49911 if test $?
= 0 -a -d $INSTALL_TEST_DIR; then
49912 rmdir $INSTALL_TEST_DIR
49913 INSTALL_DIR
='$(INSTALL) -d'
49914 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
49915 echo "${ECHO_T}$INSTALL -d" >&6; }
49917 INSTALL_DIR
="mkdir -p"
49918 { echo "$as_me:$LINENO: result: mkdir -p" >&5
49919 echo "${ECHO_T}mkdir -p" >&6; }
49924 case ${BAKEFILE_HOST} in
49925 *-*-cygwin* | *-*-mingw32* )
49926 LDFLAGS_GUI
="-mwindows"
49932 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49933 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49934 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49935 echo $ECHO_N "(cached) $ECHO_C" >&6
49938 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
49939 egrep -s GNU
> /dev
/null
); then
49940 bakefile_cv_prog_makeisgnu
="yes"
49942 bakefile_cv_prog_makeisgnu
="no"
49946 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49947 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49949 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49966 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49967 case "${BAKEFILE_HOST}" in
49974 *-pc-os2_emx | *-pc-os2-emx )
49984 powerpc
-apple-macos* )
49993 case "$BAKEFILE_FORCE_PLATFORM" in
50014 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
50015 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
50016 { (exit 1); exit 1; }; }
50031 # Check whether --enable-omf was given.
50032 if test "${enable_omf+set}" = set; then
50033 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
50037 case "${BAKEFILE_HOST}" in
50039 if test "x$GCC" = "xyes"; then
50040 CFLAGS
="$CFLAGS -fno-common"
50041 CXXFLAGS
="$CXXFLAGS -fno-common"
50043 if test "x$XLCC" = "xyes"; then
50044 CFLAGS
="$CFLAGS -qnocommon"
50045 CXXFLAGS
="$CXXFLAGS -qnocommon"
50049 *-pc-os2_emx | *-pc-os2-emx )
50050 if test "x$bk_os2_use_omf" = "xyes" ; then
50053 LDFLAGS
="-Zomf $LDFLAGS"
50054 CFLAGS
="-Zomf $CFLAGS"
50055 CXXFLAGS
="-Zomf $CXXFLAGS"
50063 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
50069 SO_SUFFIX_MODULE
="so"
50074 DLLPREFIX_MODULE
=""
50078 case "${BAKEFILE_HOST}" in
50083 SO_SUFFIX_MODULE
="sl"
50087 SO_SUFFIX_MODULE
="a"
50091 SO_SUFFIX_MODULE
="dll"
50092 DLLIMP_SUFFIX
="dll.a"
50099 SO_SUFFIX_MODULE
="dll"
50100 DLLIMP_SUFFIX
="dll.a"
50110 *-pc-os2_emx | *-pc-os2-emx )
50112 SO_SUFFIX_MODULE
="dll"
50113 DLLIMP_SUFFIX
=$OS2_LIBEXT
50117 LIBEXT
=".$OS2_LIBEXT"
50122 SO_SUFFIX_MODULE
="bundle"
50126 if test "x$DLLIMP_SUFFIX" = "x" ; then
50127 DLLIMP_SUFFIX
="$SO_SUFFIX"
50142 if test "x$GCC" = "xyes"; then
50146 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
50147 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
50150 case "${BAKEFILE_HOST}" in
50152 if test "x$GCC" != "xyes"; then
50153 LDFLAGS
="$LDFLAGS -L/usr/lib"
50155 SHARED_LD_CC
="${CC} -b -o"
50156 SHARED_LD_CXX
="${CXX} -b -o"
50162 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
50164 elif test "x$SUNCXX" = "xyes"; then
50165 SHARED_LD_CC
="${CC} -G -o"
50166 SHARED_LD_CXX
="${CXX} -G -o"
50172 if test "x$SUNCXX" = xyes
; then
50173 SHARED_LD_CC
="${CC} -G -o"
50174 SHARED_LD_CXX
="${CXX} -G -o"
50182 cat <<EOF >shared-ld-sh
50184 #-----------------------------------------------------------------------------
50185 #-- Name: distrib/mac/shared-ld-sh
50186 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50187 #-- Author: Gilles Depeyrot
50188 #-- Copyright: (c) 2002 Gilles Depeyrot
50189 #-- Licence: any use permitted
50190 #-----------------------------------------------------------------------------
50195 linking_flag="-dynamiclib"
50196 ldargs="-r -keep_private_externs -nostdlib"
50198 if test "x${D}CXX" = "x"; then
50202 while test ${D}# -gt 0; do
50209 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50210 # collect these options and values
50211 args="${D}{args} ${D}1 ${D}2"
50216 # collect these options and values
50217 ldargs="${D}{ldargs} ${D}1 ${D}2"
50222 # collect these load args
50223 ldargs="${D}{ldargs} ${D}1"
50226 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50227 # collect these options
50228 args="${D}{args} ${D}1"
50231 -dynamiclib|-bundle)
50232 linking_flag="${D}1"
50236 echo "shared-ld: unhandled option '${D}1'"
50240 *.o | *.a | *.dylib)
50241 # collect object files
50242 objects="${D}{objects} ${D}1"
50246 echo "shared-ld: unhandled argument '${D}1'"
50257 # Link one module containing all the others
50259 if test ${D}{verbose} = 1; then
50260 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50262 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50266 # Link the shared library from the single module created, but only if the
50267 # previous command didn't fail:
50269 if test ${D}{status} = 0; then
50270 if test ${D}{verbose} = 1; then
50271 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50273 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50278 # Remove intermediate module
50280 rm -f master.${D}${D}.o
50285 chmod +x shared
-ld-sh
50287 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50288 SHARED_LD_MODULE_CXX
="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
50291 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50292 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50293 if test "${bakefile_cv_gcc31+set}" = set; then
50294 echo $ECHO_N "(cached) $ECHO_C" >&6
50297 cat >conftest.
$ac_ext <<_ACEOF
50300 cat confdefs.h
>>conftest.
$ac_ext
50301 cat >>conftest.
$ac_ext <<_ACEOF
50302 /* end confdefs.h. */
50308 #if (__GNUC__ < 3) || \
50309 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50317 rm -f conftest.
$ac_objext
50318 if { (ac_try
="$ac_compile"
50319 case "(($ac_try" in
50320 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50321 *) ac_try_echo=$ac_try;;
50323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50324 (eval "$ac_compile") 2>conftest.er1
50326 grep -v '^ *+' conftest.er1 >conftest.err
50328 cat conftest.err >&5
50329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50330 (exit $ac_status); } && {
50331 test -z "$ac_c_werror_flag" ||
50332 test ! -s conftest.err
50333 } && test -s conftest.$ac_objext; then
50335 bakefile_cv_gcc31=yes
50338 echo "$as_me: failed program was:" >&5
50339 sed 's/^/| /' conftest.$ac_ext >&5
50342 bakefile_cv_gcc31=no
50347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50350 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50351 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50352 if test "$bakefile_cv_gcc31" = "no"; then
50353 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50354 SHARED_LD_CXX="$SHARED_LD_CC"
50356 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50357 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50360 if test "x$GCC" == "xyes"; then
50361 PIC_FLAG="-dynamic -fPIC"
50363 if test "x$XLCC" = "xyes"; then
50364 PIC_FLAG="-dynamic -DPIC"
50369 if test "x$GCC" = "xyes"; then
50372 case "${BAKEFILE_HOST}" in
50374 LD_EXPFULL="-Wl,-bexpfull"
50378 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50379 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50381 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50382 set dummy makeC++SharedLib; ac_word=$2
50383 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50385 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50386 echo $ECHO_N "(cached) $ECHO_C" >&6
50388 if test -n "$AIX_CXX_LD"; then
50389 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50392 for as_dir in $PATH
50395 test -z "$as_dir" && as_dir=.
50396 for ac_exec_ext in '' $ac_executable_extensions; do
50397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50398 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50406 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50409 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50410 if test -n "$AIX_CXX_LD"; then
50411 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50412 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50414 { echo "$as_me:$LINENO: result: no" >&5
50415 echo "${ECHO_T}no" >&6; }
50419 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50420 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50425 SHARED_LD_CC="${LD} -nostart -o"
50426 SHARED_LD_CXX="${LD} -nostart -o"
50430 if test "x$GCC" != "xyes"; then
50435 *-*-cygwin* | *-*-mingw32* )
50437 SHARED_LD_CC="\$(CC) -shared -o"
50438 SHARED_LD_CXX="\$(CXX) -shared -o"
50442 *-pc-os2_emx | *-pc-os2-emx )
50443 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50444 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50448 cat <<EOF >dllar.sh
50451 # dllar - a tool to build both a .dll and an .a file
50452 # from a set of object (.o) files for EMX/OS2.
50454 # Written by Andrew Zabolotny, bit@freya.etu.ru
50455 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50457 # This script will accept a set of files on the command line.
50458 # All the public symbols from the .o files will be exported into
50459 # a .DEF file, then linker will be run (through gcc) against them to
50460 # build a shared library consisting of all given .o files. All libraries
50461 # (.a) will be first decompressed into component .o files then act as
50462 # described above. You can optionally give a description (-d "description")
50463 # which will be put into .DLL. To see the list of accepted options (as well
50464 # as command-line format) simply run this program without options. The .DLL
50465 # is built to be imported by name (there is no guarantee that new versions
50466 # of the library you build will have same ordinals for same symbols).
50468 # dllar is free software; you can redistribute it and/or modify
50469 # it under the terms of the GNU General Public License as published by
50470 # the Free Software Foundation; either version 2, or (at your option)
50471 # any later version.
50473 # dllar is distributed in the hope that it will be useful,
50474 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50475 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50476 # GNU General Public License for more details.
50478 # You should have received a copy of the GNU General Public License
50479 # along with dllar; see the file COPYING. If not, write to the Free
50480 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50483 # To successfuly run this program you will need:
50484 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50485 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50487 # (used to build the .dll)
50489 # (used to create .def file from .o files)
50491 # (used to create .a file from .def file)
50492 # - GNU text utilites (cat, sort, uniq)
50493 # used to process emxexp output
50494 # - GNU file utilities (mv, rm)
50496 # - lxlite (optional, see flag below)
50497 # (used for general .dll cleanup)
50504 # basnam, variant of basename, which does _not_ remove the path, _iff_
50505 # second argument (suffix to remove) is given
50509 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50512 echo ${D}1 | sed 's/'${D}2'${D}//'
50515 echo "error in basnam ${D}*"
50521 # Cleanup temporary files and output
50524 for i in ${D}inputFiles ; do
50527 rm -rf \`basnam
${D}i
!\
`
50534 # Kill result in case of failure as there is just to many stupid make/nmake
50535 # things out there which doesn't do this.
50536 if [ ${D}# -eq 0 ]; then
50537 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50541 # Print usage and exit script with rc=1.
50543 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50544 echo ' [-name-mangler-script script.sh]'
50545 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50546 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50547 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50548 echo ' [*.o] [*.a]'
50549 echo '*> "output_file" should have no extension.'
50550 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50551 echo ' The import library name is derived from this and is set to "name".a,'
50552 echo ' unless overridden by -import'
50553 echo '*> "importlib_name" should have no extension.'
50554 echo ' If it has the .o, or .a extension, it is automatically removed.'
50555 echo ' This name is used as the import library name and may be longer and'
50556 echo ' more descriptive than the DLL name which has to follow the old '
50557 echo ' 8.3 convention of FAT.'
50558 echo '*> "script.sh may be given to override the output_file name by a'
50559 echo ' different name. It is mainly useful if the regular make process'
50560 echo ' of some package does not take into account OS/2 restriction of'
50561 echo ' DLL name lengths. It takes the importlib name as input and is'
50562 echo ' supposed to procude a shorter name as output. The script should'
50563 echo ' expect to get importlib_name without extension and should produce'
50564 echo ' a (max.) 8 letter name without extension.'
50565 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50566 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50567 echo ' These flags will be put at the start of GCC command line.'
50568 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50569 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50570 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50571 echo ' If the last character of a symbol is "*", all symbols beginning'
50572 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50573 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50574 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50575 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50576 echo ' C runtime DLLs.'
50577 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50578 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50579 echo ' unchanged to GCC at the end of command line.'
50580 echo '*> If you create a DLL from a library and you do not specify -o,'
50581 echo ' the basename for DLL and import library will be set to library name,'
50582 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50583 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50584 echo ' library will be renamed into gcc_s.a.'
50587 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50588 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50593 # Execute a command.
50594 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50595 # @Uses Whatever CleanUp() uses.
50601 if [ ${D}rcCmd -ne 0 ]; then
50602 echo "command failed, exit code="${D}rcCmd
50617 CFLAGS="-s -Zcrtdll"
50619 EXPORT_BY_ORDINALS=0
50624 case ${D}curDirS in
50628 curDirS=${D}{curDirS}"/"
50631 # Parse commandline
50634 while [ ${D}1 ]; do
50637 EXPORT_BY_ORDINALS=1;
50647 -name-mangler-script)
50668 exclude_symbols=${D}{exclude_symbols}${D}1" "
50672 library_flags=${D}{library_flags}${D}1" "
50691 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50694 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
50695 if [ ${D}omfLinking -eq 1 ]; then
50696 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50698 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50703 if [ ${D}libsToLink -ne 0 ]; then
50704 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50706 for file in ${D}1 ; do
50707 if [ -f ${D}file ]; then
50708 inputFiles="${D}{inputFiles} ${D}file"
50712 if [ ${D}found -eq 0 ]; then
50713 echo "ERROR: No file(s) found: "${D}1
50720 done # iterate cmdline words
50723 if [ -z "${D}inputFiles" ]; then
50724 echo "dllar: no input files"
50728 # Now extract all .o files from .a files
50730 for file in ${D}inputFiles ; do
50741 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50746 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
50748 if [ ${D}? -ne 0 ]; then
50749 echo "Failed to create subdirectory ./${D}dirname"
50753 # Append '!' to indicate archive
50754 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50755 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50758 for subfile in ${D}dirname/*.o* ; do
50759 if [ -f ${D}subfile ]; then
50761 if [ -s ${D}subfile ]; then
50762 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50763 newInputFiles="${D}newInputFiles ${D}subfile"
50767 if [ ${D}found -eq 0 ]; then
50768 echo "WARNING: there are no files in archive \\'${D}file\\'"
50772 newInputFiles="${D}{newInputFiles} ${D}file"
50776 inputFiles="${D}newInputFiles"
50778 # Output filename(s).
50780 if [ -z ${D}outFile ]; then
50782 set outFile ${D}inputFiles; outFile=${D}2
50785 # If it is an archive, remove the '!' and the '_%' suffixes
50786 case ${D}outFile in
50788 outFile=\`basnam
${D}outFile _
%!\
`
50793 case ${D}outFile in
50795 outFile=\`basnam
${D}outFile .dll\
`
50798 outFile=\`basnam
${D}outFile .DLL\
`
50801 outFile=\`basnam
${D}outFile .o\
`
50804 outFile=\`basnam
${D}outFile .obj\
`
50807 outFile=\`basnam
${D}outFile .a\
`
50810 outFile=\`basnam
${D}outFile .lib\
`
50815 case ${D}outimpFile in
50817 outimpFile=\`basnam
${D}outimpFile .a\
`
50820 outimpFile=\`basnam
${D}outimpFile .lib\
`
50825 if [ -z ${D}outimpFile ]; then
50826 outimpFile=${D}outFile
50828 defFile="${D}{outFile}.def"
50829 arcFile="${D}{outimpFile}.a"
50830 arcFile2="${D}{outimpFile}.lib"
50832 #create ${D}dllFile as something matching 8.3 restrictions,
50833 if [ -z ${D}renameScript ] ; then
50834 dllFile="${D}outFile"
50836 dllFile=\`${D}renameScript
${D}outimpFile\
`
50839 if [ ${D}do_backup -ne 0 ] ; then
50840 if [ -f ${D}arcFile ] ; then
50841 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50843 if [ -f ${D}arcFile2 ] ; then
50844 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50848 # Extract public symbols from all the object files.
50849 tmpdefFile=${D}{defFile}_%
50850 rm -f ${D}tmpdefFile
50851 for file in ${D}inputFiles ; do
50856 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50861 # Create the def file.
50863 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
50864 dllFile="${D}{dllFile}.dll"
50865 if [ ! -z ${D}description ]; then
50866 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50868 echo "EXPORTS" >> ${D}defFile
50870 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50871 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50873 # Checks if the export is ok or not.
50874 for word in ${D}exclude_symbols; do
50875 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50876 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50880 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50881 sed "=" < ${D}tmpdefFile | \\
50885 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50887 ' > ${D}{tmpdefFile}%
50888 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50890 rm -f ${D}{tmpdefFile}%
50892 cat ${D}tmpdefFile >> ${D}defFile
50893 rm -f ${D}tmpdefFile
50895 # Do linking, create implib, and apply lxlite.
50897 for file in ${D}inputFiles ; do
50902 gccCmdl="${D}gccCmdl ${D}file"
50906 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50907 touch "${D}{outFile}.dll"
50909 doCommand "emximp -o ${D}arcFile ${D}defFile"
50910 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50912 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50915 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50917 doCommand "emxomf -s -l ${D}arcFile"
50927 powerpc-apple-macos* | \
50928 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50938 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50939 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50940 { (exit 1); exit 1; }; }
50943 if test "x$PIC_FLAG" != "x" ; then
50944 PIC_FLAG="$PIC_FLAG -DPIC"
50947 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50948 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50950 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50951 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50966 USE_SOTWOSYMLINKS=0
50970 case "${BAKEFILE_HOST}" in
50971 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
50972 *-*-k*bsd*-gnu | *-*-mirbsd* )
50973 if test "x$SUNCXX" = "xyes"; then
50976 SONAME_FLAG="-Wl,-soname,"
50980 USE_SOTWOSYMLINKS=1
50992 USE_SOTWOSYMLINKS=1
51010 # Check whether --enable-dependency-tracking was given.
51011 if test "${enable_dependency_tracking+set}" = set; then
51012 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51016 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51017 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51020 if test "x$bk_use_trackdeps" = "xno" ; then
51022 { echo "$as_me:$LINENO: result: disabled" >&5
51023 echo "${ECHO_T}disabled" >&6; }
51027 if test "x$GCC" = "xyes"; then
51029 case "${BAKEFILE_HOST}" in
51031 DEPSFLAG="-no-cpp-precomp -MMD"
51037 { echo "$as_me:$LINENO: result: gcc" >&5
51038 echo "${ECHO_T}gcc" >&6; }
51039 elif test "x$MWCC" = "xyes"; then
51042 { echo "$as_me:$LINENO: result: mwcc" >&5
51043 echo "${ECHO_T}mwcc" >&6; }
51044 elif test "x$SUNCC" = "xyes"; then
51047 { echo "$as_me:$LINENO: result: Sun cc" >&5
51048 echo "${ECHO_T}Sun cc" >&6; }
51049 elif test "x$SGICC" = "xyes"; then
51052 { echo "$as_me:$LINENO: result: SGI cc" >&5
51053 echo "${ECHO_T}SGI cc" >&6; }
51054 elif test "x$HPCC" = "xyes"; then
51057 { echo "$as_me:$LINENO: result: HP cc" >&5
51058 echo "${ECHO_T}HP cc" >&6; }
51059 elif test "x$COMPAQCC" = "xyes"; then
51062 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51063 echo "${ECHO_T}Compaq cc" >&6; }
51066 { echo "$as_me:$LINENO: result: none" >&5
51067 echo "${ECHO_T}none" >&6; }
51070 if test $DEPS_TRACKING = 1 ; then
51076 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51077 # script. It is used to track C/C++ files dependencies in portable way.
51079 # Permission is given to use this file in any way.
51081 DEPSMODE=${DEPSMODE}
51082 DEPSFLAG="${DEPSFLAG}"
51085 if test ${D}DEPSMODE = gcc ; then
51086 ${D}* ${D}{DEPSFLAG}
51089 # determine location of created files:
51090 while test ${D}# -gt 0; do
51104 objfilebase=\`basename ${D}objfile\
`
51105 builddir=\`dirname ${D}objfile\
`
51106 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
51107 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
51108 depsdir=${D}builddir/${D}DEPSDIRBASE
51109 mkdir -p ${D}depsdir
51111 # if the compiler failed, we're done:
51112 if test ${D}{status} != 0 ; then
51117 # move created file to the location we want it in:
51118 if test -f ${D}depfile ; then
51119 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51122 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51123 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\
`
51124 if test ! -f ${D}depfile ; then
51125 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51126 depfile="${D}objfile.d"
51128 if test -f ${D}depfile ; then
51129 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51135 elif test ${D}DEPSMODE = mwcc ; then
51136 ${D}* || exit ${D}?
51137 # Run mwcc again with -MM and redirect into the dep file we want
51138 # NOTE: We can't use shift here because we need ${D}* to be valid
51140 for arg in ${D}* ; do
51141 if test "${D}prevarg" = "-o"; then
51155 objfilebase=\`basename ${D}objfile\
`
51156 builddir=\`dirname ${D}objfile\
`
51157 depsdir=${D}builddir/${D}DEPSDIRBASE
51158 mkdir -p ${D}depsdir
51160 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
51163 elif test ${D}DEPSMODE = unixcc; then
51164 ${D}* || exit ${D}?
51165 # Run compiler again with deps flag and redirect into the dep file.
51166 # It doesn't work if the '-o FILE' option is used, but without it the
51167 # dependency file will contain the wrong name for the object. So it is
51168 # removed from the command line, and the dep file is fixed with sed.
51170 while test ${D}# -gt 0; do
51177 eval arg${D}#=\\${D}1
51178 cmd="${D}cmd \\${D}arg${D}#"
51184 objfilebase=\`basename ${D}objfile\
`
51185 builddir=\`dirname ${D}objfile\
`
51186 depsdir=${D}builddir/${D}DEPSDIRBASE
51187 mkdir -p ${D}depsdir
51189 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
51199 BK_DEPS="`pwd`/bk-deps"
51207 case ${BAKEFILE_HOST} in
51208 *-*-cygwin* | *-*-mingw32* )
51209 if test -n "$ac_tool_prefix"; then
51210 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51211 set dummy ${ac_tool_prefix}windres; ac_word=$2
51212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51214 if test "${ac_cv_prog_WINDRES+set}" = set; then
51215 echo $ECHO_N "(cached) $ECHO_C" >&6
51217 if test -n "$WINDRES"; then
51218 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51221 for as_dir in $PATH
51224 test -z "$as_dir" && as_dir=.
51225 for ac_exec_ext in '' $ac_executable_extensions; do
51226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51227 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51237 WINDRES=$ac_cv_prog_WINDRES
51238 if test -n "$WINDRES"; then
51239 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51240 echo "${ECHO_T}$WINDRES" >&6; }
51242 { echo "$as_me:$LINENO: result: no" >&5
51243 echo "${ECHO_T}no" >&6; }
51248 if test -z "$ac_cv_prog_WINDRES"; then
51249 ac_ct_WINDRES=$WINDRES
51250 # Extract the first word of "windres", so it can be a program name with args.
51251 set dummy windres; ac_word=$2
51252 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51254 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51255 echo $ECHO_N "(cached) $ECHO_C" >&6
51257 if test -n "$ac_ct_WINDRES"; then
51258 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51261 for as_dir in $PATH
51264 test -z "$as_dir" && as_dir=.
51265 for ac_exec_ext in '' $ac_executable_extensions; do
51266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51267 ac_cv_prog_ac_ct_WINDRES="windres"
51268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51277 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51278 if test -n "$ac_ct_WINDRES"; then
51279 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51280 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51282 { echo "$as_me:$LINENO: result: no" >&5
51283 echo "${ECHO_T}no" >&6; }
51286 if test "x$ac_ct_WINDRES" = x; then
51289 case $cross_compiling:$ac_tool_warned in
51291 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51292 whose name does not start with the host triplet. If you think this
51293 configuration is useful to you, please write to autoconf@gnu.org." >&5
51294 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51295 whose name does not start with the host triplet. If you think this
51296 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51297 ac_tool_warned=yes ;;
51299 WINDRES=$ac_ct_WINDRES
51302 WINDRES="$ac_cv_prog_WINDRES"
51307 *-*-darwin* | powerpc-apple-macos* )
51308 # Extract the first word of "Rez", so it can be a program name with args.
51309 set dummy Rez; ac_word=$2
51310 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51312 if test "${ac_cv_prog_REZ+set}" = set; then
51313 echo $ECHO_N "(cached) $ECHO_C" >&6
51315 if test -n "$REZ"; then
51316 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51319 for as_dir in $PATH
51322 test -z "$as_dir" && as_dir=.
51323 for ac_exec_ext in '' $ac_executable_extensions; do
51324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51325 ac_cv_prog_REZ="Rez"
51326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51333 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51336 REZ=$ac_cv_prog_REZ
51337 if test -n "$REZ"; then
51338 { echo "$as_me:$LINENO: result: $REZ" >&5
51339 echo "${ECHO_T}$REZ" >&6; }
51341 { echo "$as_me:$LINENO: result: no" >&5
51342 echo "${ECHO_T}no" >&6; }
51346 # Extract the first word of "SetFile", so it can be a program name with args.
51347 set dummy SetFile; ac_word=$2
51348 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51350 if test "${ac_cv_prog_SETFILE+set}" = set; then
51351 echo $ECHO_N "(cached) $ECHO_C" >&6
51353 if test -n "$SETFILE"; then
51354 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51357 for as_dir in $PATH
51360 test -z "$as_dir" && as_dir=.
51361 for ac_exec_ext in '' $ac_executable_extensions; do
51362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51363 ac_cv_prog_SETFILE="SetFile"
51364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51371 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51374 SETFILE=$ac_cv_prog_SETFILE
51375 if test -n "$SETFILE"; then
51376 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51377 echo "${ECHO_T}$SETFILE" >&6; }
51379 { echo "$as_me:$LINENO: result: no" >&5
51380 echo "${ECHO_T}no" >&6; }
51395 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
51398 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
51402 # Check whether --enable-precomp-headers was given.
51403 if test "${enable_precomp_headers+set}" = set; then
51404 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51413 case ${BAKEFILE_HOST} in
51419 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51420 if test "x$GCC" = "xyes"; then
51421 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51422 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51423 cat >conftest.$ac_ext <<_ACEOF
51426 cat confdefs.h >>conftest.$ac_ext
51427 cat >>conftest.$ac_ext <<_ACEOF
51428 /* end confdefs.h. */
51434 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51435 There is no PCH support
51438 There is no PCH support
51440 #if (__GNUC__ == 3) && \
51441 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51442 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51443 ( defined(__INTEL_COMPILER) )
51444 There is no PCH support
51451 rm -f conftest.$ac_objext
51452 if { (ac_try="$ac_compile"
51453 case "(($ac_try" in
51454 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51455 *) ac_try_echo
=$ac_try;;
51457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51458 (eval "$ac_compile") 2>conftest.er1
51460 grep -v '^ *+' conftest.er1
>conftest.err
51462 cat conftest.err
>&5
51463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51464 (exit $ac_status); } && {
51465 test -z "$ac_c_werror_flag" ||
51466 test ! -s conftest.err
51467 } && test -s conftest.
$ac_objext; then
51469 { echo "$as_me:$LINENO: result: yes" >&5
51470 echo "${ECHO_T}yes" >&6; }
51474 echo "$as_me: failed program was:" >&5
51475 sed 's/^/| /' conftest.
$ac_ext >&5
51478 if test "$INTELCXX8" = "yes"; then
51479 { echo "$as_me:$LINENO: result: yes" >&5
51480 echo "${ECHO_T}yes" >&6; }
51482 if test "$INTELCXX10" = "yes"; then
51483 ICC_PCH_CREATE_SWITCH
="-pch-create"
51484 ICC_PCH_USE_SWITCH
="-pch-use"
51486 ICC_PCH_CREATE_SWITCH
="-create-pch"
51487 ICC_PCH_USE_SWITCH
="-use-pch"
51490 { echo "$as_me:$LINENO: result: no" >&5
51491 echo "${ECHO_T}no" >&6; }
51496 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51497 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51501 cat <<EOF >bk-make-pch
51504 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51505 # script. It is used to generated precompiled headers.
51507 # Permission is given to use this file in any way.
51514 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
51519 while test ${D}{#} -gt 0; do
51523 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51524 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51525 headerfile="${D}{incdir}/${D}{header}"
51528 -use-pch|-use_pch|-pch-use )
51533 if test ${D}add_to_cmdline = 1 ; then
51534 compiler="${D}{compiler} ${D}{1}"
51539 if test "x${D}{headerfile}" = "x" ; then
51540 echo "error: can't find header ${D}{header} in include paths" >&2
51542 if test -f ${D}{outfile} ; then
51543 rm -f ${D}{outfile}
51545 mkdir -p \`dirname ${D}{outfile}\`
51547 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51548 mkdir -p ${D}{builddir}/.deps
51549 if test "x${GCC_PCH}" = "x1" ; then
51550 # can do this because gcc is >= 3.4:
51551 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51552 elif test "x${ICC_PCH}" = "x1" ; then
51553 filename=pch_gen-${D}${D}
51554 file=${D}{filename}.c
51555 dfile=${D}{filename}.d
51556 cat > ${D}file <<EOT
51557 #include "${D}header"
51559 # using -MF icc complains about differing command lines in creation/use
51560 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
51561 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51562 rm -f ${D}file ${D}dfile ${D}{filename}.o
51568 chmod +x bk
-make-pch
51569 BK_MAKE_PCH
="`pwd`/bk-make-pch"
51580 COND_BUILD_DEBUG
="#"
51581 if test "x$BUILD" = "xdebug" ; then
51582 COND_BUILD_DEBUG
=""
51585 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
51586 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51587 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
51590 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
51591 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51592 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
51595 COND_BUILD_DEBUG_UNICODE_0
="#"
51596 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51597 COND_BUILD_DEBUG_UNICODE_0
=""
51600 COND_BUILD_DEBUG_UNICODE_1
="#"
51601 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51602 COND_BUILD_DEBUG_UNICODE_1
=""
51605 COND_BUILD_RELEASE
="#"
51606 if test "x$BUILD" = "xrelease" ; then
51607 COND_BUILD_RELEASE
=""
51610 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
51611 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51612 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
51615 COND_BUILD_RELEASE_UNICODE_0
="#"
51616 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51617 COND_BUILD_RELEASE_UNICODE_0
=""
51620 COND_BUILD_RELEASE_UNICODE_1
="#"
51621 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51622 COND_BUILD_RELEASE_UNICODE_1
=""
51625 COND_BUILD_debug
="#"
51626 if test "x$BUILD" = "xdebug" ; then
51627 COND_BUILD_debug
=""
51630 COND_BUILD_debug_DEBUG_FLAG_default
="#"
51631 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51632 COND_BUILD_debug_DEBUG_FLAG_default
=""
51635 COND_BUILD_debug_DEBUG_INFO_default
="#"
51636 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51637 COND_BUILD_debug_DEBUG_INFO_default
=""
51640 COND_BUILD_debug_UNICODE_0
="#"
51641 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51642 COND_BUILD_debug_UNICODE_0
=""
51645 COND_BUILD_debug_UNICODE_1
="#"
51646 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51647 COND_BUILD_debug_UNICODE_1
=""
51650 COND_BUILD_release
="#"
51651 if test "x$BUILD" = "xrelease" ; then
51652 COND_BUILD_release
=""
51655 COND_BUILD_release_DEBUG_INFO_default
="#"
51656 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51657 COND_BUILD_release_DEBUG_INFO_default
=""
51660 COND_BUILD_release_UNICODE_0
="#"
51661 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51662 COND_BUILD_release_UNICODE_0
=""
51665 COND_BUILD_release_UNICODE_1
="#"
51666 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51667 COND_BUILD_release_UNICODE_1
=""
51670 COND_DEBUG_FLAG_0
="#"
51671 if test "x$DEBUG_FLAG" = "x0" ; then
51672 COND_DEBUG_FLAG_0
=""
51675 COND_DEBUG_FLAG_1
="#"
51676 if test "x$DEBUG_FLAG" = "x1" ; then
51677 COND_DEBUG_FLAG_1
=""
51680 COND_DEBUG_INFO_0
="#"
51681 if test "x$DEBUG_INFO" = "x0" ; then
51682 COND_DEBUG_INFO_0
=""
51685 COND_DEBUG_INFO_1
="#"
51686 if test "x$DEBUG_INFO" = "x1" ; then
51687 COND_DEBUG_INFO_1
=""
51690 COND_DEPS_TRACKING_0
="#"
51691 if test "x$DEPS_TRACKING" = "x0" ; then
51692 COND_DEPS_TRACKING_0
=""
51695 COND_DEPS_TRACKING_1
="#"
51696 if test "x$DEPS_TRACKING" = "x1" ; then
51697 COND_DEPS_TRACKING_1
=""
51701 if test "x$GCC_PCH" = "x1" ; then
51706 if test "x$ICC_PCH" = "x1" ; then
51710 COND_MONOLITHIC_0
="#"
51711 if test "x$MONOLITHIC" = "x0" ; then
51712 COND_MONOLITHIC_0
=""
51715 COND_MONOLITHIC_0_SHARED_0
="#"
51716 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51717 COND_MONOLITHIC_0_SHARED_0
=""
51720 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
51721 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51722 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
51725 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
51726 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51727 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
51730 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
51731 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51732 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
51735 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
51736 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51737 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
51740 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
51741 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51742 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
51745 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
51746 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51747 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
51750 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
="#"
51751 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51752 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
=""
51755 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
51756 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51757 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
51760 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
51761 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51762 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
51765 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
51766 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51767 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
51770 COND_MONOLITHIC_0_SHARED_1
="#"
51771 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51772 COND_MONOLITHIC_0_SHARED_1
=""
51775 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
51776 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51777 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
51780 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
51781 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51782 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
51785 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
51786 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51787 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
51790 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
51791 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51792 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
51795 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
51796 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51797 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
51800 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
51801 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
51802 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
51805 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
="#"
51806 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
51807 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
=""
51810 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
51811 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51812 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
51815 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
51816 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51817 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
51820 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
51821 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51822 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
51825 COND_MONOLITHIC_0_USE_AUI_1
="#"
51826 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51827 COND_MONOLITHIC_0_USE_AUI_1
=""
51830 COND_MONOLITHIC_0_USE_GUI_1
="#"
51831 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51832 COND_MONOLITHIC_0_USE_GUI_1
=""
51835 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
51836 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51837 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
51840 COND_MONOLITHIC_0_USE_HTML_1
="#"
51841 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51842 COND_MONOLITHIC_0_USE_HTML_1
=""
51845 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
51846 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51847 COND_MONOLITHIC_0_USE_MEDIA_1
=""
51850 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
51851 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51852 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
51855 COND_MONOLITHIC_0_USE_QA_1
="#"
51856 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51857 COND_MONOLITHIC_0_USE_QA_1
=""
51860 COND_MONOLITHIC_0_USE_RIBBON_1
="#"
51861 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51862 COND_MONOLITHIC_0_USE_RIBBON_1
=""
51865 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
51866 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51867 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
51870 COND_MONOLITHIC_0_USE_STC_1
="#"
51871 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51872 COND_MONOLITHIC_0_USE_STC_1
=""
51875 COND_MONOLITHIC_0_USE_XRC_1
="#"
51876 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51877 COND_MONOLITHIC_0_USE_XRC_1
=""
51880 COND_MONOLITHIC_1
="#"
51881 if test "x$MONOLITHIC" = "x1" ; then
51882 COND_MONOLITHIC_1
=""
51885 COND_MONOLITHIC_1_SHARED_0
="#"
51886 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51887 COND_MONOLITHIC_1_SHARED_0
=""
51890 COND_MONOLITHIC_1_SHARED_1
="#"
51891 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51892 COND_MONOLITHIC_1_SHARED_1
=""
51895 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
51896 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51897 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
51900 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
51901 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51902 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
51905 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
51906 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51907 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
51910 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
51911 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51912 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
51915 COND_PLATFORM_MACOSX_1
="#"
51916 if test "x$PLATFORM_MACOSX" = "x1" ; then
51917 COND_PLATFORM_MACOSX_1
=""
51920 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
51921 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
51922 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
51925 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
="#"
51926 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51927 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
=""
51930 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
51931 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51932 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
51935 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
51936 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51937 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
51940 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
51941 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51942 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
51945 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
51946 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51947 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
51950 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
51951 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51952 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
51955 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
51956 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51957 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
51960 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
51961 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51962 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
51965 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
51966 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51967 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
51970 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
51971 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51972 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
51975 COND_PLATFORM_MACOS_1
="#"
51976 if test "x$PLATFORM_MACOS" = "x1" ; then
51977 COND_PLATFORM_MACOS_1
=""
51980 COND_PLATFORM_MAC_0
="#"
51981 if test "x$PLATFORM_MAC" = "x0" ; then
51982 COND_PLATFORM_MAC_0
=""
51985 COND_PLATFORM_MAC_1
="#"
51986 if test "x$PLATFORM_MAC" = "x1" ; then
51987 COND_PLATFORM_MAC_1
=""
51990 COND_PLATFORM_MSDOS_0
="#"
51991 if test "x$PLATFORM_MSDOS" = "x0" ; then
51992 COND_PLATFORM_MSDOS_0
=""
51995 COND_PLATFORM_MSDOS_1
="#"
51996 if test "x$PLATFORM_MSDOS" = "x1" ; then
51997 COND_PLATFORM_MSDOS_1
=""
52000 COND_PLATFORM_OS2_1
="#"
52001 if test "x$PLATFORM_OS2" = "x1" ; then
52002 COND_PLATFORM_OS2_1
=""
52005 COND_PLATFORM_UNIX_0
="#"
52006 if test "x$PLATFORM_UNIX" = "x0" ; then
52007 COND_PLATFORM_UNIX_0
=""
52010 COND_PLATFORM_UNIX_1
="#"
52011 if test "x$PLATFORM_UNIX" = "x1" ; then
52012 COND_PLATFORM_UNIX_1
=""
52015 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
52016 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52017 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
52020 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
52021 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52022 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
52025 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
52026 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52027 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
52030 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
52031 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52032 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
52035 COND_PLATFORM_WIN32_0
="#"
52036 if test "x$PLATFORM_WIN32" = "x0" ; then
52037 COND_PLATFORM_WIN32_0
=""
52040 COND_PLATFORM_WIN32_1
="#"
52041 if test "x$PLATFORM_WIN32" = "x1" ; then
52042 COND_PLATFORM_WIN32_1
=""
52045 COND_PLATFORM_WIN32_1_SHARED_0
="#"
52046 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
52047 COND_PLATFORM_WIN32_1_SHARED_0
=""
52051 if test "x$SHARED" = "x0" ; then
52055 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
52056 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52057 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
52060 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
52061 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52062 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
52065 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
52066 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52067 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
52070 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
52071 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52072 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
52075 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
52076 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52077 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
52080 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
52081 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52082 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
52085 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
52086 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52087 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
52090 COND_SHARED_0_USE_STC_1
="#"
52091 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52092 COND_SHARED_0_USE_STC_1
=""
52095 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
52096 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52097 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
52100 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
52101 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52102 COND_SHARED_0_wxUSE_REGEX_builtin
=""
52105 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
52106 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52107 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
52111 if test "x$SHARED" = "x1" ; then
52115 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
52116 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52117 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
52121 if test "x$TOOLKIT" = "x" ; then
52125 COND_TOOLKIT_COCOA
="#"
52126 if test "x$TOOLKIT" = "xCOCOA" ; then
52127 COND_TOOLKIT_COCOA
=""
52130 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
52131 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52132 COND_TOOLKIT_COCOA_USE_GUI_1
=""
52135 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
52136 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52137 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
52140 COND_TOOLKIT_DFB
="#"
52141 if test "x$TOOLKIT" = "xDFB" ; then
52142 COND_TOOLKIT_DFB
=""
52145 COND_TOOLKIT_DFB_USE_GUI_1
="#"
52146 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52147 COND_TOOLKIT_DFB_USE_GUI_1
=""
52150 COND_TOOLKIT_GTK
="#"
52151 if test "x$TOOLKIT" = "xGTK" ; then
52152 COND_TOOLKIT_GTK
=""
52155 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
52156 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52157 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
52160 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
52161 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52162 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
52165 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
52166 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52167 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
52170 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
52171 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52172 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
52175 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
52176 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52177 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
52180 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
52181 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52182 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
52185 COND_TOOLKIT_GTK_USE_GUI_1
="#"
52186 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52187 COND_TOOLKIT_GTK_USE_GUI_1
=""
52190 COND_TOOLKIT_MAC
="#"
52191 if test "x$TOOLKIT" = "xMAC" ; then
52192 COND_TOOLKIT_MAC
=""
52195 COND_TOOLKIT_MGL
="#"
52196 if test "x$TOOLKIT" = "xMGL" ; then
52197 COND_TOOLKIT_MGL
=""
52200 COND_TOOLKIT_MGL_USE_GUI_1
="#"
52201 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52202 COND_TOOLKIT_MGL_USE_GUI_1
=""
52205 COND_TOOLKIT_MOTIF
="#"
52206 if test "x$TOOLKIT" = "xMOTIF" ; then
52207 COND_TOOLKIT_MOTIF
=""
52210 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
52211 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52212 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
52215 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
52216 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52217 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
52220 COND_TOOLKIT_MSW
="#"
52221 if test "x$TOOLKIT" = "xMSW" ; then
52222 COND_TOOLKIT_MSW
=""
52225 COND_TOOLKIT_MSW_USE_GUI_1
="#"
52226 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52227 COND_TOOLKIT_MSW_USE_GUI_1
=""
52230 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
52231 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52232 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
52235 COND_TOOLKIT_MSW_WXUNIV_0
="#"
52236 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52237 COND_TOOLKIT_MSW_WXUNIV_0
=""
52240 COND_TOOLKIT_OSX_CARBON
="#"
52241 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
52242 COND_TOOLKIT_OSX_CARBON
=""
52245 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
52246 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52247 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
52250 COND_TOOLKIT_OSX_COCOA
="#"
52251 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
52252 COND_TOOLKIT_OSX_COCOA
=""
52255 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
52256 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52257 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
52260 COND_TOOLKIT_OSX_IPHONE
="#"
52261 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
52262 COND_TOOLKIT_OSX_IPHONE
=""
52265 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
52266 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52267 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
52270 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
52271 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52272 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
52275 COND_TOOLKIT_PM
="#"
52276 if test "x$TOOLKIT" = "xPM" ; then
52280 COND_TOOLKIT_PM_USE_GUI_1
="#"
52281 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52282 COND_TOOLKIT_PM_USE_GUI_1
=""
52285 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
52286 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52287 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
52290 COND_TOOLKIT_WINCE
="#"
52291 if test "x$TOOLKIT" = "xWINCE" ; then
52292 COND_TOOLKIT_WINCE
=""
52295 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
52296 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52297 COND_TOOLKIT_WINCE_USE_GUI_1
=""
52300 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
52301 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52302 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
52305 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
52306 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52307 COND_TOOLKIT_WINCE_WXUNIV_0
=""
52310 COND_TOOLKIT_X11
="#"
52311 if test "x$TOOLKIT" = "xX11" ; then
52312 COND_TOOLKIT_X11
=""
52315 COND_TOOLKIT_X11_USE_GUI_1
="#"
52316 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52317 COND_TOOLKIT_X11_USE_GUI_1
=""
52321 if test "x$UNICODE" = "x1" ; then
52325 COND_USE_CAIRO_1
="#"
52326 if test "x$USE_CAIRO" = "x1" ; then
52327 COND_USE_CAIRO_1
=""
52330 COND_USE_EXCEPTIONS_0
="#"
52331 if test "x$USE_EXCEPTIONS" = "x0" ; then
52332 COND_USE_EXCEPTIONS_0
=""
52335 COND_USE_EXCEPTIONS_1
="#"
52336 if test "x$USE_EXCEPTIONS" = "x1" ; then
52337 COND_USE_EXCEPTIONS_1
=""
52341 if test "x$USE_GUI" = "x0" ; then
52346 if test "x$USE_GUI" = "x1" ; then
52350 COND_USE_GUI_1_USE_OPENGL_1
="#"
52351 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52352 COND_USE_GUI_1_USE_OPENGL_1
=""
52355 COND_USE_GUI_1_WXUNIV_0
="#"
52356 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52357 COND_USE_GUI_1_WXUNIV_0
=""
52360 COND_USE_GUI_1_WXUNIV_1
="#"
52361 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52362 COND_USE_GUI_1_WXUNIV_1
=""
52365 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
52366 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52367 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
52370 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
52371 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52372 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
52375 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
52376 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52377 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
52380 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
52381 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52382 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
52385 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
52386 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52387 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
52390 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
52391 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52392 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
52395 COND_USE_OPENGL_1
="#"
52396 if test "x$USE_OPENGL" = "x1" ; then
52397 COND_USE_OPENGL_1
=""
52401 if test "x$USE_PCH" = "x1" ; then
52405 COND_USE_PLUGINS_0
="#"
52406 if test "x$USE_PLUGINS" = "x0" ; then
52407 COND_USE_PLUGINS_0
=""
52410 COND_USE_RTTI_0
="#"
52411 if test "x$USE_RTTI" = "x0" ; then
52415 COND_USE_RTTI_1
="#"
52416 if test "x$USE_RTTI" = "x1" ; then
52420 COND_USE_SOTWOSYMLINKS_1
="#"
52421 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
52422 COND_USE_SOTWOSYMLINKS_1
=""
52425 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
52426 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52427 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
52430 COND_USE_SOVERLINUX_1
="#"
52431 if test "x$USE_SOVERLINUX" = "x1" ; then
52432 COND_USE_SOVERLINUX_1
=""
52435 COND_USE_SOVERSION_0
="#"
52436 if test "x$USE_SOVERSION" = "x0" ; then
52437 COND_USE_SOVERSION_0
=""
52440 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
="#"
52441 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
52442 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
=""
52445 COND_USE_SOVERSOLARIS_1
="#"
52446 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52447 COND_USE_SOVERSOLARIS_1
=""
52451 if test "x$USE_STC" = "x1" ; then
52455 COND_USE_THREADS_0
="#"
52456 if test "x$USE_THREADS" = "x0" ; then
52457 COND_USE_THREADS_0
=""
52460 COND_USE_THREADS_1
="#"
52461 if test "x$USE_THREADS" = "x1" ; then
52462 COND_USE_THREADS_1
=""
52466 if test "x$USE_XRC" = "x1" ; then
52470 COND_WINDOWS_IMPLIB_1
="#"
52471 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52472 COND_WINDOWS_IMPLIB_1
=""
52475 COND_WITH_PLUGIN_SDL_1
="#"
52476 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52477 COND_WITH_PLUGIN_SDL_1
=""
52481 if test "x$WXUNIV" = "x0" ; then
52486 if test "x$WXUNIV" = "x1" ; then
52490 COND_WXUSE_EXPAT_BUILTIN
="#"
52491 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52492 COND_WXUSE_EXPAT_BUILTIN
=""
52495 COND_WXUSE_LIBJPEG_BUILTIN
="#"
52496 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52497 COND_WXUSE_LIBJPEG_BUILTIN
=""
52500 COND_WXUSE_LIBPNG_BUILTIN
="#"
52501 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52502 COND_WXUSE_LIBPNG_BUILTIN
=""
52505 COND_WXUSE_LIBTIFF_BUILTIN
="#"
52506 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52507 COND_WXUSE_LIBTIFF_BUILTIN
=""
52510 COND_WXUSE_REGEX_BUILTIN
="#"
52511 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52512 COND_WXUSE_REGEX_BUILTIN
=""
52515 COND_WXUSE_ZLIB_BUILTIN
="#"
52516 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52517 COND_WXUSE_ZLIB_BUILTIN
=""
52520 COND_wxUSE_EXPAT_builtin
="#"
52521 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52522 COND_wxUSE_EXPAT_builtin
=""
52525 COND_wxUSE_LIBJPEG_builtin
="#"
52526 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52527 COND_wxUSE_LIBJPEG_builtin
=""
52530 COND_wxUSE_LIBPNG_builtin
="#"
52531 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52532 COND_wxUSE_LIBPNG_builtin
=""
52535 COND_wxUSE_LIBTIFF_builtin
="#"
52536 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52537 COND_wxUSE_LIBTIFF_builtin
=""
52540 COND_wxUSE_REGEX_builtin
="#"
52541 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52542 COND_wxUSE_REGEX_builtin
=""
52545 COND_wxUSE_ZLIB_builtin
="#"
52546 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52547 COND_wxUSE_ZLIB_builtin
=""
52552 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52553 { { 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
52554 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;}
52555 { (exit 1); exit 1; }; }
52558 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52559 { { 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
52560 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;}
52561 { (exit 1); exit 1; }; }
52568 ?
:* ) # Drive letter, considered as absolute.
52571 INSTALL
=`pwd`/${INSTALL} ;;
52574 if test "$wxUSE_GUI" = "yes"; then
52576 if test "$wxUSE_MSW" = 1 ; then
52577 if test "x$WINDRES" = "x"; then
52578 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52579 echo "$as_me: error: Required windres program not found" >&2;}
52580 { (exit 1); exit 1; }; }
52586 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52587 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52588 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52590 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52592 # Extract the first word of "DeRez", so it can be a program name with args.
52593 set dummy DeRez
; ac_word
=$2
52594 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52596 if test "${ac_cv_prog_DEREZ+set}" = set; then
52597 echo $ECHO_N "(cached) $ECHO_C" >&6
52599 if test -n "$DEREZ"; then
52600 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
52602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52603 for as_dir
in $PATH
52606 test -z "$as_dir" && as_dir
=.
52607 for ac_exec_ext
in '' $ac_executable_extensions; do
52608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52609 ac_cv_prog_DEREZ
="DeRez"
52610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52617 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
52620 DEREZ
=$ac_cv_prog_DEREZ
52621 if test -n "$DEREZ"; then
52622 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52623 echo "${ECHO_T}$DEREZ" >&6; }
52625 { echo "$as_me:$LINENO: result: no" >&5
52626 echo "${ECHO_T}no" >&6; }
52631 MACSETFILE
="\$(SETFILE)"
52633 if test "$wxUSE_OSX_CARBON" = 1; then
52634 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52636 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
52638 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52639 RESCOMP
="cat /dev/null \| $REZ"
52640 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52646 if test "$wxUSE_PM" = 1; then
52648 WXCONFIG_RESFLAGS
="-ep"
52650 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
52652 POSTLINK_COMMAND
="@true"
52659 if test $GCC_PCH = 1
52661 if test "$wx_cv_gcc_pch_bug" = yes; then
52662 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52663 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52664 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52665 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52666 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52667 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52670 # Our WX_PRECOMP flag does not make sense for any language except C++ because
52671 # the headers that benefit from precompilation are mostly C++ headers.
52672 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
52673 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
52674 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52678 if test "$wxUSE_MAC" = 1 ; then
52679 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52680 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
52686 if test "$wxUSE_SHARED" = "yes"; then
52688 *-pc-os2_emx | *-pc-os2-emx )
52689 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52690 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52691 cp -p ${srcdir}/src
/os
2/dllnames.sh .
52692 cp -p ${srcdir}/src
/os
2/dllar.sh .
52696 if test "$wxUSE_OMF" = "yes"; then
52698 *-pc-os2_emx | *-pc-os2-emx )
52699 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
52700 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
52701 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
52706 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52711 if test "$GCC" = yes; then
52712 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
52713 LIBS
=`echo $LIBS | sed 's/-mt//'`
52714 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52719 if test "x$SUNCXX" = xyes
; then
52720 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
52721 LIBS
=`echo $LIBS | sed 's/-pthread//'`
52722 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52727 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
52728 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52729 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
52730 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
52732 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52793 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52794 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52795 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52796 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
52797 echo $ECHO_N "(cached) $ECHO_C" >&6
52799 cat >conftest.
make <<\_ACEOF
52802 @
echo '@@@%%%=$(MAKE)=@@@%%%'
52804 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52805 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52806 *@@@
%%%=?
*=@@@
%%%*)
52807 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
52809 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
52811 rm -f conftest.
make
52813 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
52814 { echo "$as_me:$LINENO: result: yes" >&5
52815 echo "${ECHO_T}yes" >&6; }
52818 { echo "$as_me:$LINENO: result: no" >&5
52819 echo "${ECHO_T}no" >&6; }
52820 SET_MAKE
="MAKE=${MAKE-make}"
52825 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52828 if test "$USE_WIN32" = 1; then
52829 ac_config_commands
="$ac_config_commands rcdefs.h"
52833 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52836 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52839 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
52842 if test "$wx_cv_version_script" = "yes"; then
52843 ac_config_files
="$ac_config_files version-script"
52846 ac_config_files
="$ac_config_files Makefile"
52849 ac_config_commands
="$ac_config_commands wx-config"
52853 if test "$wxWITH_SUBDIRS" != "no"; then
52854 if test "$wxUSE_GUI" = "yes"; then
52855 SUBDIRS
="samples demos utils"
52857 SUBDIRS
="samples utils"
52862 # Check whether --with-cppunit-prefix was given.
52863 if test "${with_cppunit_prefix+set}" = set; then
52864 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
52866 cppunit_config_prefix
=""
52870 # Check whether --with-cppunit-exec-prefix was given.
52871 if test "${with_cppunit_exec_prefix+set}" = set; then
52872 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
52874 cppunit_config_exec_prefix
=""
52878 if test x
$cppunit_config_exec_prefix != x
; then
52879 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52880 if test x
${CPPUNIT_CONFIG+set} != xset
; then
52881 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
52884 if test x
$cppunit_config_prefix != x
; then
52885 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
52886 if test x
${CPPUNIT_CONFIG+set} != xset
; then
52887 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
52891 # Extract the first word of "cppunit-config", so it can be a program name with args.
52892 set dummy cppunit
-config; ac_word
=$2
52893 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52895 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52896 echo $ECHO_N "(cached) $ECHO_C" >&6
52898 case $CPPUNIT_CONFIG in
52900 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52904 for as_dir
in $PATH
52907 test -z "$as_dir" && as_dir
=.
52908 for ac_exec_ext
in '' $ac_executable_extensions; do
52909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52910 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
52911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52918 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
52922 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
52923 if test -n "$CPPUNIT_CONFIG"; then
52924 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52925 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52927 { echo "$as_me:$LINENO: result: no" >&5
52928 echo "${ECHO_T}no" >&6; }
52932 cppunit_version_min
=1.8.0
52934 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52935 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52937 if test "$CPPUNIT_CONFIG" = "no" ; then
52938 { echo "$as_me:$LINENO: result: no" >&5
52939 echo "${ECHO_T}no" >&6; }
52942 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
52943 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
52944 cppunit_version
=`$CPPUNIT_CONFIG --version`
52946 cppunit_major_version
=`echo $cppunit_version | \
52947 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52948 cppunit_minor_version
=`echo $cppunit_version | \
52949 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52950 cppunit_micro_version
=`echo $cppunit_version | \
52951 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52953 cppunit_major_min
=`echo $cppunit_version_min | \
52954 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52955 cppunit_minor_min
=`echo $cppunit_version_min | \
52956 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52957 cppunit_micro_min
=`echo $cppunit_version_min | \
52958 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52960 cppunit_version_proper
=`expr \
52961 $cppunit_major_version \> $cppunit_major_min \| \
52962 $cppunit_major_version \= $cppunit_major_min \& \
52963 $cppunit_minor_version \> $cppunit_minor_min \| \
52964 $cppunit_major_version \= $cppunit_major_min \& \
52965 $cppunit_minor_version \= $cppunit_minor_min \& \
52966 $cppunit_micro_version \>= $cppunit_micro_min `
52968 if test "$cppunit_version_proper" = "1" ; then
52969 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52970 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52972 { echo "$as_me:$LINENO: result: no" >&5
52973 echo "${ECHO_T}no" >&6; }
52978 if test "x$no_cppunit" = x
; then
52979 SUBDIRS
="$SUBDIRS tests"
52990 for subdir
in $SUBDIRS; do
52991 if test -d ${srcdir}/${subdir} ; then
52992 if test "$wxUSE_GUI" = "yes"; then
52993 if test ${subdir} = "samples"; then
52994 makefiles
="samples/Makefile.in $makefiles"
52995 for sample
in $SAMPLES_SUBDIRS; do
52996 if test -d $srcdir/samples
/$sample; then
52997 makefiles
="samples/$sample/Makefile.in $makefiles"
53001 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
53002 eval "disabled=\$$disabled_var"
53003 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
53004 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
53007 if test ${subdir} = "samples"; then
53008 makefiles
="samples/Makefile.in $makefiles"
53009 for sample
in `echo $SAMPLES_SUBDIRS`; do
53010 if test -d $srcdir/samples
/$sample; then
53011 makefiles
="samples/$sample/Makefile.in $makefiles"
53014 elif test ${subdir} = "utils"; then
53016 for util
in ifacecheck
; do
53017 if test -d $srcdir/utils
/$util ; then
53018 makefiles
="utils/$util/src/Makefile.in \
53023 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
53027 for mkin
in $makefiles ; do
53028 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53029 ac_config_files
="$ac_config_files $mk"
53035 cat >confcache
<<\_ACEOF
53036 # This file is a shell script that caches the results of configure
53037 # tests run on this system so they can be shared between configure
53038 # scripts and configure runs, see configure's option --config-cache.
53039 # It is not useful on other systems. If it contains results you don't
53040 # want to keep, you may remove or edit it.
53042 # config.status only pays attention to the cache file if you give it
53043 # the --recheck option to rerun configure.
53045 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53046 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53047 # following values.
53051 # The following way of writing the cache mishandles newlines in values,
53052 # but we know of no workaround that is simple, portable, and efficient.
53053 # So, we kill variables containing newlines.
53054 # Ultrix sh set writes to stderr and can't be redirected directly,
53055 # and sets the high bit in the cache file unless we assign to the vars.
53057 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53058 eval ac_val
=\$
$ac_var
53062 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53063 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53066 _
| IFS
| as_nl
) ;; #(
53067 *) $as_unset $ac_var ;;
53073 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53074 *${as_nl}ac_space
=\
*)
53075 # `set' does not quote correctly, so add quotes (double-quote
53076 # substitution turns \\\\ into \\, and sed turns \\ into \).
53079 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53082 # `set' quotes correctly as required by POSIX, so do not add quotes.
53083 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53092 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53094 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53096 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
53097 if test -w "$cache_file"; then
53098 test "x$cache_file" != "x/dev/null" &&
53099 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53100 echo "$as_me: updating cache $cache_file" >&6;}
53101 cat confcache
>$cache_file
53103 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53104 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53109 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
53110 # Let make expand exec_prefix.
53111 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
53113 DEFS
=-DHAVE_CONFIG_H
53117 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
53118 # 1. Remove the extension, and $U if already installed.
53119 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
53120 ac_i
=`echo "$ac_i" | sed "$ac_script"`
53121 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53122 # will be set to the directory where LIBOBJS objects are built.
53123 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53124 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53126 LIBOBJS
=$ac_libobjs
53128 LTLIBOBJS
=$ac_ltlibobjs
53132 : ${CONFIG_STATUS=./config.status}
53133 ac_clean_files_save
=$ac_clean_files
53134 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
53135 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53136 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53137 cat >$CONFIG_STATUS <<_ACEOF
53139 # Generated by $as_me.
53140 # Run this file to recreate the current configuration.
53141 # Compiler output produced by configure, useful for debugging
53142 # configure, is in config.log if it exists.
53145 ac_cs_recheck=false
53147 SHELL=\${CONFIG_SHELL-$SHELL}
53150 cat >>$CONFIG_STATUS <<\_ACEOF
53151 ## --------------------- ##
53152 ## M4sh Initialization. ##
53153 ## --------------------- ##
53155 # Be more Bourne compatible
53156 DUALCASE
=1; export DUALCASE
# for MKS sh
53157 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
53160 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53161 # is contrary to our usage. Disable this feature.
53162 alias -g '${1+"$@"}'='"$@"'
53163 setopt NO_GLOB_SUBST
53165 case `(set -o) 2>/dev/null` in
53166 *posix
*) set -o posix
;;
53175 # Avoid depending upon Character Ranges.
53176 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
53177 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53178 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
53179 as_cr_digits
='0123456789'
53180 as_cr_alnum
=$as_cr_Letters$as_cr_digits
53182 # The user is always right.
53183 if test "${PATH_SEPARATOR+set}" != set; then
53184 echo "#! /bin/sh" >conf$$.sh
53185 echo "exit 0" >>conf$$.sh
53187 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53195 # Support unset when possible.
53196 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
53204 # We need space, tab and new line, in precisely that order. Quoting is
53205 # there to prevent editors from complaining about space-tab.
53206 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53207 # splitting by setting IFS to empty value.)
53212 # Find who we are. Look in the path if we contain no directory separator.
53214 *[\\/]* ) as_myself
=$0 ;;
53215 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53216 for as_dir
in $PATH
53219 test -z "$as_dir" && as_dir
=.
53220 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
53226 # We did not find ourselves, most probably we were run as `sh COMMAND'
53227 # in which case we are not to be found in the path.
53228 if test "x$as_myself" = x
; then
53231 if test ! -f "$as_myself"; then
53232 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53233 { (exit 1); exit 1; }
53236 # Work around bugs in pre-3.0 UWIN ksh.
53237 for as_var
in ENV MAIL MAILPATH
53238 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53246 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53247 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53248 LC_TELEPHONE LC_TIME
53250 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53251 eval $as_var=C
; export $as_var
53253 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53257 # Required to use basename.
53258 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53259 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53265 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53266 as_basename
=basename
53272 # Name of the executable.
53273 as_me
=`$as_basename -- "$0" ||
53274 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53275 X"$0" : 'X\(//\)$' \| \
53276 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53278 sed '/^.*\/\([^/][^/]*\)\/*$/{
53297 as_lineno_1
=$LINENO
53298 as_lineno_2
=$LINENO
53299 test "x$as_lineno_1" != "x$as_lineno_2" &&
53300 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53302 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53303 # uniformly replaced by the line number. The first 'sed' inserts a
53304 # line-number line after each line using $LINENO; the second 'sed'
53305 # does the real work. The second script uses 'N' to pair each
53306 # line-number line with the line containing $LINENO, and appends
53307 # trailing '-' during substitution so that $LINENO is not a special
53308 # case at line end.
53309 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53310 # scripts with optimization help from Paolo Bonzini. Blame Lee
53311 # E. McMahon (1931-1989) for sed's syntax. :-)
53323 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53326 ' >$as_me.lineno
&&
53327 chmod +x
"$as_me.lineno" ||
53328 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53329 { (exit 1); exit 1; }; }
53331 # Don't try to exec as it changes $[0], causing all sort of problems
53332 # (the dirname of $[0] is not the place where we might find the
53333 # original and so on. Autoconf is especially sensitive to this).
53334 .
"./$as_me.lineno"
53335 # Exit status is that of the last command.
53340 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
53346 ECHO_C
= ECHO_N
= ECHO_T
=
53347 case `echo -n x` in
53349 case `echo 'x\c'` in
53350 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
53357 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53358 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53364 rm -f conf$$ conf$$.exe conf$$.
file
53365 if test -d conf$$.dir
; then
53366 rm -f conf$$.dir
/conf$$.
file
53372 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
53374 # ... but there are two gotchas:
53375 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53376 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53377 # In both cases, we have to default to `cp -p'.
53378 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
53380 elif ln conf$$.
file conf$$
2>/dev
/null
; then
53385 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
53386 rmdir conf$$.dir
2>/dev
/null
53388 if mkdir -p .
2>/dev
/null
; then
53391 test -d .
/-p && rmdir .
/-p
53395 if test -x / >/dev
/null
2>&1; then
53396 as_test_x
='test -x'
53398 if ls -dL / >/dev
/null
2>&1; then
53405 if test -d "$1"; then
53411 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53412 ???[sx]*):;;*)false;;esac;fi
53416 as_executable_p
=$as_test_x
53418 # Sed expression to map a string onto a valid CPP name.
53419 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53421 # Sed expression to map a string onto a valid variable name.
53422 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53427 # Save the log message, to keep $[0] and so on meaningful, and to
53428 # report actual input values of CONFIG_FILES etc. instead of their
53429 # values after options handling.
53431 This file was extended by wxWidgets $as_me 2.9.2, which was
53432 generated by GNU Autoconf 2.61. Invocation command line was
53434 CONFIG_FILES = $CONFIG_FILES
53435 CONFIG_HEADERS = $CONFIG_HEADERS
53436 CONFIG_LINKS = $CONFIG_LINKS
53437 CONFIG_COMMANDS = $CONFIG_COMMANDS
53440 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53445 cat >>$CONFIG_STATUS <<_ACEOF
53446 # Files that config.status was made for.
53447 config_files="$ac_config_files"
53448 config_headers="$ac_config_headers"
53449 config_commands="$ac_config_commands"
53453 cat >>$CONFIG_STATUS <<\_ACEOF
53455 \`$as_me' instantiates files from templates according to the
53456 current configuration.
53458 Usage: $0 [OPTIONS] [FILE]...
53460 -h, --help print this help, then exit
53461 -V, --version print version number and configuration settings, then exit
53462 -q, --quiet do not print progress messages
53463 -d, --debug don't remove temporary files
53464 --recheck update $as_me by reconfiguring in the same conditions
53465 --file=FILE[:TEMPLATE]
53466 instantiate the configuration file FILE
53467 --header=FILE[:TEMPLATE]
53468 instantiate the configuration header FILE
53470 Configuration files:
53473 Configuration headers:
53476 Configuration commands:
53479 Report bugs to <bug-autoconf@gnu.org>."
53482 cat >>$CONFIG_STATUS <<_ACEOF
53484 wxWidgets config.status 2.9.2
53485 configured by $0, generated by GNU Autoconf 2.61,
53486 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53488 Copyright (C) 2006 Free Software Foundation, Inc.
53489 This config.status script is free software; the Free Software Foundation
53490 gives unlimited permission to copy, distribute and modify it."
53497 cat >>$CONFIG_STATUS <<\_ACEOF
53498 # If no file are specified by the user, then we need to provide default
53499 # value. By we need to know if files were specified by the user.
53505 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
53506 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
53517 # Handling of the options.
53518 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53520 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53521 echo "$ac_cs_version"; exit ;;
53522 --debug | --debu | --deb | --de | --d | -d )
53524 --file | --fil | --fi | --f )
53526 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
53527 ac_need_defaults
=false
;;
53528 --header | --heade | --head | --hea )
53530 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
53531 ac_need_defaults
=false
;;
53533 # Conflict between --help and --header
53534 { echo "$as_me: error: ambiguous option: $1
53535 Try \`$0 --help' for more information." >&2
53536 { (exit 1); exit 1; }; };;
53537 --help | --hel | -h )
53538 echo "$ac_cs_usage"; exit ;;
53539 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53540 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53543 # This is an error.
53544 -*) { echo "$as_me: error: unrecognized option: $1
53545 Try \`$0 --help' for more information." >&2
53546 { (exit 1); exit 1; }; } ;;
53548 *) ac_config_targets
="$ac_config_targets $1"
53549 ac_need_defaults
=false
;;
53555 ac_configure_extra_args
=
53557 if $ac_cs_silent; then
53559 ac_configure_extra_args
="$ac_configure_extra_args --silent"
53563 cat >>$CONFIG_STATUS <<_ACEOF
53564 if \$ac_cs_recheck; then
53565 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53566 CONFIG_SHELL=$SHELL
53567 export CONFIG_SHELL
53568 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53572 cat >>$CONFIG_STATUS <<\_ACEOF
53576 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53577 ## Running $as_me. ##
53583 cat >>$CONFIG_STATUS <<_ACEOF
53589 infile="$srcdir/include/wx/msw/genrcdefs.h"
53590 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53593 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53594 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53595 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53601 cat >>$CONFIG_STATUS <<\_ACEOF
53603 # Handling of arguments.
53604 for ac_config_target
in $ac_config_targets
53606 case $ac_config_target in
53607 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53608 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
53609 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53610 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53611 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53612 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
53613 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
53614 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
53615 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
53617 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53618 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53619 { (exit 1); exit 1; }; };;
53624 # If the user did not use the arguments to specify the items to instantiate,
53625 # then the envvar interface is used. Set only those that are not.
53626 # We use the long form for the default assignment because of an extremely
53627 # bizarre bug on SunOS 4.1.3.
53628 if $ac_need_defaults; then
53629 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
53630 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
53631 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
53634 # Have a temporary directory for convenience. Make it in the build tree
53635 # simply because there is no reason against having it here, and in addition,
53636 # creating and moving files from /tmp can sometimes cause problems.
53637 # Hook for its removal unless debugging.
53638 # Note that there is a small window in which the directory will not be cleaned:
53639 # after its creation but before its name has been assigned to `$tmp'.
53643 trap 'exit_status=$?
53644 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53646 trap '{ (exit 1); exit 1; }' 1 2 13 15
53648 # Create a (secure) tmp directory for tmp files.
53651 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53652 test -n "$tmp" && test -d "$tmp"
53655 tmp
=.
/conf$$
-$RANDOM
53656 (umask 077 && mkdir "$tmp")
53659 echo "$me: cannot create a temporary directory in ." >&2
53660 { (exit 1); exit 1; }
53664 # Set up the sed scripts for CONFIG_FILES section.
53667 # No need to generate the scripts if there are no CONFIG_FILES.
53668 # This happens for instance when ./config.status config.h
53669 if test -n "$CONFIG_FILES"; then
53676 for ac_last_try
in false false false false false
:; do
53677 cat >conf$
$subs.
sed <<_ACEOF
53678 SHELL!$SHELL$ac_delim
53679 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53680 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53681 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53682 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53683 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53684 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53685 exec_prefix!$exec_prefix$ac_delim
53686 prefix!$prefix$ac_delim
53687 program_transform_name!$program_transform_name$ac_delim
53688 bindir!$bindir$ac_delim
53689 sbindir!$sbindir$ac_delim
53690 libexecdir!$libexecdir$ac_delim
53691 datarootdir!$datarootdir$ac_delim
53692 datadir!$datadir$ac_delim
53693 sysconfdir!$sysconfdir$ac_delim
53694 sharedstatedir!$sharedstatedir$ac_delim
53695 localstatedir!$localstatedir$ac_delim
53696 includedir!$includedir$ac_delim
53697 oldincludedir!$oldincludedir$ac_delim
53698 docdir!$docdir$ac_delim
53699 infodir!$infodir$ac_delim
53700 htmldir!$htmldir$ac_delim
53701 dvidir!$dvidir$ac_delim
53702 pdfdir!$pdfdir$ac_delim
53703 psdir!$psdir$ac_delim
53704 libdir!$libdir$ac_delim
53705 localedir!$localedir$ac_delim
53706 mandir!$mandir$ac_delim
53707 DEFS!$DEFS$ac_delim
53708 ECHO_C!$ECHO_C$ac_delim
53709 ECHO_N!$ECHO_N$ac_delim
53710 ECHO_T!$ECHO_T$ac_delim
53711 LIBS!$LIBS$ac_delim
53712 build_alias!$build_alias$ac_delim
53713 host_alias!$host_alias$ac_delim
53714 target_alias!$target_alias$ac_delim
53715 build!$build$ac_delim
53716 build_cpu!$build_cpu$ac_delim
53717 build_vendor!$build_vendor$ac_delim
53718 build_os!$build_os$ac_delim
53719 host!$host$ac_delim
53720 host_cpu!$host_cpu$ac_delim
53721 host_vendor!$host_vendor$ac_delim
53722 host_os!$host_os$ac_delim
53723 wx_top_builddir!$wx_top_builddir$ac_delim
53725 CFLAGS!$CFLAGS$ac_delim
53726 LDFLAGS!$LDFLAGS$ac_delim
53727 CPPFLAGS!$CPPFLAGS$ac_delim
53728 ac_ct_CC!$ac_ct_CC$ac_delim
53729 EXEEXT!$EXEEXT$ac_delim
53730 OBJEXT!$OBJEXT$ac_delim
53732 GREP!$GREP$ac_delim
53733 EGREP!$EGREP$ac_delim
53735 CXXFLAGS!$CXXFLAGS$ac_delim
53736 ac_ct_CXX!$ac_ct_CXX$ac_delim
53738 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
53739 CXXCPP!$CXXCPP$ac_delim
53740 subdirs!$subdirs$ac_delim
53741 PKG_CONFIG!$PKG_CONFIG$ac_delim
53742 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53743 GTK_LIBS!$GTK_LIBS$ac_delim
53744 GTK_CONFIG!$GTK_CONFIG$ac_delim
53745 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53746 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53747 XMKMF!$XMKMF$ac_delim
53748 X_CFLAGS!$X_CFLAGS$ac_delim
53749 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53750 X_LIBS!$X_LIBS$ac_delim
53751 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53752 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53753 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53754 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53755 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53756 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53757 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53758 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53759 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53760 LIBICONV!$LIBICONV$ac_delim
53761 GXX_VERSION!$GXX_VERSION$ac_delim
53762 SDL_CONFIG!$SDL_CONFIG$ac_delim
53763 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53764 SDL_LIBS!$SDL_LIBS$ac_delim
53765 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53766 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53767 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53768 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53769 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53770 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53771 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53772 HILDON_LIBS!$HILDON_LIBS$ac_delim
53773 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
53774 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
53777 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53779 elif $ac_last_try; then
53780 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53781 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53782 { (exit 1); exit 1; }; }
53784 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53788 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53789 if test -n "$ac_eof"; then
53790 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53791 ac_eof
=`expr $ac_eof + 1`
53794 cat >>$CONFIG_STATUS <<_ACEOF
53795 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53796 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53799 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53800 s/^/s,@/; s/!/@,|#_!!_#|/
53803 s/'"$ac_delim"'$/,g/; t
53805 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53806 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53807 rm -f conf$
$subs.
sed
53808 cat >>$CONFIG_STATUS <<_ACEOF
53814 for ac_last_try
in false false false false false
:; do
53815 cat >conf$
$subs.
sed <<_ACEOF
53816 PYTHON!$PYTHON$ac_delim
53817 COND_PYTHON!$COND_PYTHON$ac_delim
53818 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53819 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53820 GST_CFLAGS!$GST_CFLAGS$ac_delim
53821 GST_LIBS!$GST_LIBS$ac_delim
53822 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53823 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53824 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53825 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53826 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53827 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53828 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53829 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53830 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53831 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53832 VENDOR!$VENDOR$ac_delim
53833 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53834 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53835 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53836 WXUNIV!$WXUNIV$ac_delim
53837 MONOLITHIC!$MONOLITHIC$ac_delim
53838 USE_PLUGINS!$USE_PLUGINS$ac_delim
53839 CXXWARNINGS!$CXXWARNINGS$ac_delim
53840 EXTRALIBS!$EXTRALIBS$ac_delim
53841 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53842 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53843 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
53844 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53845 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53846 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53847 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
53848 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53849 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53850 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53851 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53852 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53853 UNICODE!$UNICODE$ac_delim
53854 DEBUG_INFO!$DEBUG_INFO$ac_delim
53855 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53856 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53857 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53858 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
53859 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
53860 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53861 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
53862 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53863 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53864 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53865 RANLIB!$RANLIB$ac_delim
53866 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53867 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53868 INSTALL_DATA!$INSTALL_DATA$ac_delim
53869 LN_S!$LN_S$ac_delim
53870 SET_MAKE!$SET_MAKE$ac_delim
53871 MAKE_SET!$MAKE_SET$ac_delim
53872 AROPTIONS!$AROPTIONS$ac_delim
53873 STRIP!$STRIP$ac_delim
53875 INSTALL_DIR!$INSTALL_DIR$ac_delim
53876 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53877 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53878 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53879 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53880 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53881 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53882 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53883 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53884 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53885 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53886 SO_SUFFIX!$SO_SUFFIX$ac_delim
53887 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53888 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53889 LIBPREFIX!$LIBPREFIX$ac_delim
53890 LIBEXT!$LIBEXT$ac_delim
53891 DLLPREFIX!$DLLPREFIX$ac_delim
53892 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53893 dlldir!$dlldir$ac_delim
53894 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53895 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53896 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53897 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53898 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53899 PIC_FLAG!$PIC_FLAG$ac_delim
53900 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53901 USE_SOVERSION!$USE_SOVERSION$ac_delim
53902 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53903 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53904 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53905 USE_MACVERSION!$USE_MACVERSION$ac_delim
53906 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
53907 SONAME_FLAG!$SONAME_FLAG$ac_delim
53908 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53909 BK_DEPS!$BK_DEPS$ac_delim
53910 WINDRES!$WINDRES$ac_delim
53912 SETFILE!$SETFILE$ac_delim
53915 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53917 elif $ac_last_try; then
53918 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53919 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53920 { (exit 1); exit 1; }; }
53922 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53926 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53927 if test -n "$ac_eof"; then
53928 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53929 ac_eof
=`expr $ac_eof + 1`
53932 cat >>$CONFIG_STATUS <<_ACEOF
53933 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53934 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53937 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53938 s/^/s,@/; s/!/@,|#_!!_#|/
53941 s/'"$ac_delim"'$/,g/; t
53943 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53944 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53945 rm -f conf$
$subs.
sed
53946 cat >>$CONFIG_STATUS <<_ACEOF
53952 for ac_last_try
in false false false false false
:; do
53953 cat >conf$
$subs.
sed <<_ACEOF
53954 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
53955 GCC_PCH!$GCC_PCH$ac_delim
53956 ICC_PCH!$ICC_PCH$ac_delim
53957 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
53958 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
53959 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53960 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53961 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53962 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53963 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53964 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53965 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53966 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53967 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53968 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53969 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
53970 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
53971 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
53972 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
53973 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
53974 COND_BUILD_release!$COND_BUILD_release$ac_delim
53975 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
53976 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
53977 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
53978 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
53979 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53980 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53981 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53982 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53983 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53984 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53985 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53986 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53987 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53988 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53989 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53990 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53991 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53992 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53993 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
53994 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
53995 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53996 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53997 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53998 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53999 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
54000 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
54001 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
54002 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
54003 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
54004 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
54005 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
54006 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
54007 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54008 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54009 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54010 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54011 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54012 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54013 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54014 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
54015 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54016 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
54017 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54018 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54019 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54020 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54021 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54022 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54023 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54024 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54025 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54026 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54027 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54028 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
54029 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
54030 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54031 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
54032 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54033 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
54034 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54035 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
54036 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54037 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
54038 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54039 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54040 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
54041 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54042 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54043 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54044 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54045 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54046 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54047 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54048 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54049 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54050 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54053 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54055 elif $ac_last_try; then
54056 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54057 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54058 { (exit 1); exit 1; }; }
54060 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54064 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54065 if test -n "$ac_eof"; then
54066 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54067 ac_eof
=`expr $ac_eof + 1`
54070 cat >>$CONFIG_STATUS <<_ACEOF
54071 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54072 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54075 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54076 s/^/s,@/; s/!/@,|#_!!_#|/
54079 s/'"$ac_delim"'$/,g/; t
54081 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54082 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54083 rm -f conf$
$subs.
sed
54084 cat >>$CONFIG_STATUS <<_ACEOF
54090 for ac_last_try
in false false false false false
:; do
54091 cat >conf$
$subs.
sed <<_ACEOF
54092 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54093 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54094 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
54095 COND_SHARED_0!$COND_SHARED_0$ac_delim
54096 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54097 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54098 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54099 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54100 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54101 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54102 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54103 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54104 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
54105 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
54106 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
54107 COND_SHARED_1!$COND_SHARED_1$ac_delim
54108 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54109 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54110 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54111 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54112 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54113 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54114 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54115 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54116 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54117 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54118 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54119 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54120 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54121 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54122 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54123 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54124 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54125 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54126 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54127 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54128 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54129 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54130 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54131 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54132 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54133 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
54134 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54135 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
54136 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54137 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
54138 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54139 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
54140 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54141 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54142 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54143 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54144 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54145 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54146 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54147 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54148 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54149 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54150 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
54151 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54152 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54153 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54154 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54155 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54156 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54157 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54158 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54159 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54160 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54161 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54162 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54163 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54164 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54165 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54166 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54167 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54168 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54169 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
54170 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54171 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54172 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54173 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
54174 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54175 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54176 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54177 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54178 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54179 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54180 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54181 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54182 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54183 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54184 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54185 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54186 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54187 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54188 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54191 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54193 elif $ac_last_try; then
54194 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54195 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54196 { (exit 1); exit 1; }; }
54198 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54202 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54203 if test -n "$ac_eof"; then
54204 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54205 ac_eof
=`expr $ac_eof + 1`
54208 cat >>$CONFIG_STATUS <<_ACEOF
54209 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54210 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54213 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54214 s/^/s,@/; s/!/@,|#_!!_#|/
54217 s/'"$ac_delim"'$/,g/; t
54219 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54220 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54221 rm -f conf$
$subs.
sed
54222 cat >>$CONFIG_STATUS <<_ACEOF
54228 for ac_last_try
in false false false false false
:; do
54229 cat >conf$
$subs.
sed <<_ACEOF
54230 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
54231 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
54232 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
54233 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
54234 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
54235 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
54236 DEREZ!$DEREZ$ac_delim
54237 SHARED!$SHARED$ac_delim
54238 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54239 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54240 USE_GUI!$USE_GUI$ac_delim
54241 AFMINSTALL!$AFMINSTALL$ac_delim
54242 WIN32INSTALL!$WIN32INSTALL$ac_delim
54243 TOOLKIT!$TOOLKIT$ac_delim
54244 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54245 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54246 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54247 cross_compiling!$cross_compiling$ac_delim
54248 WIDGET_SET!$WIDGET_SET$ac_delim
54249 WX_RELEASE!$WX_RELEASE$ac_delim
54250 WX_VERSION!$WX_VERSION$ac_delim
54251 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54252 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54253 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54254 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54255 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54256 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54257 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54258 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
54259 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54260 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54261 GUIDIST!$GUIDIST$ac_delim
54262 DISTDIR!$DISTDIR$ac_delim
54263 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54264 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54265 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54266 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54267 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54268 RESCOMP!$RESCOMP$ac_delim
54269 RESFLAGS!$RESFLAGS$ac_delim
54270 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54271 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54272 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54273 LIBWXMACRES!$LIBWXMACRES$ac_delim
54274 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54275 MACSETFILE!$MACSETFILE$ac_delim
54277 DLLTOOL!$DLLTOOL$ac_delim
54278 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54279 LIBOBJS!$LIBOBJS$ac_delim
54280 LTLIBOBJS!$LTLIBOBJS$ac_delim
54283 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
54285 elif $ac_last_try; then
54286 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54287 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54288 { (exit 1); exit 1; }; }
54290 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54294 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54295 if test -n "$ac_eof"; then
54296 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54297 ac_eof
=`expr $ac_eof + 1`
54300 cat >>$CONFIG_STATUS <<_ACEOF
54301 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54302 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54305 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54306 s/^/s,@/; s/!/@,|#_!!_#|/
54309 s/'"$ac_delim"'$/,g/; t
54311 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54312 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54313 rm -f conf$
$subs.
sed
54314 cat >>$CONFIG_STATUS <<_ACEOF
54321 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54322 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54323 # trailing colons and then remove the whole line if VPATH becomes empty
54324 # (actually we leave an empty line to preserve line numbers).
54325 if test "x$srcdir" = x.
; then
54326 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
54327 s/:*\$(srcdir):*/:/
54328 s/:*\${srcdir}:*/:/
54330 s/^\([^=]*=[ ]*\):*/\1/
54336 cat >>$CONFIG_STATUS <<\_ACEOF
54337 fi # test -n "$CONFIG_FILES"
54340 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
54343 :[FHLC
]) ac_mode
=$ac_tag; continue;;
54345 case $ac_mode$ac_tag in
54347 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54348 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54349 { (exit 1); exit 1; }; };;
54350 :[FH
]-) ac_tag
=-:-;;
54351 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
54368 -) ac_f
="$tmp/stdin";;
54369 *) # Look for the file first in the build tree, then in the source tree
54370 # (if the path is not absolute). The absolute path cannot be DOS-style,
54371 # because $ac_f cannot contain `:'.
54375 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
54377 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54378 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54379 { (exit 1); exit 1; }; };;
54381 ac_file_inputs
="$ac_file_inputs $ac_f"
54384 # Let's still pretend it is `configure' which instantiates (i.e., don't
54385 # use $as_me), people would be surprised to read:
54386 # /* config.h. Generated by config.status. */
54387 configure_input
="Generated from "`IFS=:
54388 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54389 if test x
"$ac_file" != x
-; then
54390 configure_input
="$ac_file. $configure_input"
54391 { echo "$as_me:$LINENO: creating $ac_file" >&5
54392 echo "$as_me: creating $ac_file" >&6;}
54396 *:-:* | *:-) cat >"$tmp/stdin";;
54401 ac_dir
=`$as_dirname -- "$ac_file" ||
54402 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54403 X"$ac_file" : 'X\(//\)[^/]' \| \
54404 X"$ac_file" : 'X\(//\)$' \| \
54405 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54407 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54411 /^X\(\/\/\)[^/].*/{
54426 -*) as_dir
=.
/$as_dir;;
54428 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54432 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54433 *) as_qdir
=$as_dir;;
54435 as_dirs
="'$as_qdir' $as_dirs"
54436 as_dir
=`$as_dirname -- "$as_dir" ||
54437 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54438 X"$as_dir" : 'X\(//\)[^/]' \| \
54439 X"$as_dir" : 'X\(//\)$' \| \
54440 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54442 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54446 /^X\(\/\/\)[^/].*/{
54459 test -d "$as_dir" && break
54461 test -z "$as_dirs" || eval "mkdir $as_dirs"
54462 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54463 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54464 { (exit 1); exit 1; }; }; }
54468 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54470 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54471 # A ".." for each directory in $ac_dir_suffix.
54472 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54473 case $ac_top_builddir_sub in
54474 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54475 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54478 ac_abs_top_builddir
=$ac_pwd
54479 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54480 # for backward compatibility:
54481 ac_top_builddir
=$ac_top_build_prefix
54484 .
) # We are building in place.
54486 ac_top_srcdir
=$ac_top_builddir_sub
54487 ac_abs_top_srcdir
=$ac_pwd ;;
54488 [\\/]* | ?
:[\\/]* ) # Absolute name.
54489 ac_srcdir
=$srcdir$ac_dir_suffix;
54490 ac_top_srcdir
=$srcdir
54491 ac_abs_top_srcdir
=$srcdir ;;
54492 *) # Relative name.
54493 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54494 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54495 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54497 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54507 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
54508 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
54512 cat >>$CONFIG_STATUS <<\_ACEOF
54513 # If the template does not know about datarootdir, expand it.
54514 # FIXME: This hack should be removed a few years after 2.60.
54515 ac_datarootdir_hack
=; ac_datarootdir_seen
=
54517 case `sed -n '/datarootdir/ {
54526 ' $ac_file_inputs` in
54527 *datarootdir
*) ac_datarootdir_seen
=yes;;
54528 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
54529 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54530 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54532 cat >>$CONFIG_STATUS <<_ACEOF
54533 ac_datarootdir_hack='
54534 s&@datadir@&$datadir&g
54535 s&@docdir@&$docdir&g
54536 s&@infodir@&$infodir&g
54537 s&@localedir@&$localedir&g
54538 s&@mandir@&$mandir&g
54539 s&\\\${datarootdir}&$datarootdir&g' ;;
54543 # Neutralize VPATH when `$srcdir' = `.'.
54544 # Shell code in configure.ac might set extrasub.
54545 # FIXME: do we really want to maintain this feature?
54546 cat >>$CONFIG_STATUS <<_ACEOF
54550 cat >>$CONFIG_STATUS <<\_ACEOF
54552 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
54553 s
&@configure_input@
&$configure_input&;t t
54554 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
54555 s
&@srcdir@
&$ac_srcdir&;t t
54556 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
54557 s
&@top_srcdir@
&$ac_top_srcdir&;t t
54558 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
54559 s
&@builddir@
&$ac_builddir&;t t
54560 s
&@abs_builddir@
&$ac_abs_builddir&;t t
54561 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
54562 s
&@INSTALL@
&$ac_INSTALL&;t t
54563 $ac_datarootdir_hack
54564 " $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
54566 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54567 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
54568 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
54569 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
54570 which seems to be undefined. Please make sure it is defined." >&5
54571 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
54572 which seems to be undefined. Please make sure it is defined." >&2;}
54576 -) cat "$tmp/out"; rm -f "$tmp/out";;
54577 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54586 # Transform confdefs.h into a sed script `conftest.defines', that
54587 # substitutes the proper values into config.h.in to produce config.h.
54588 rm -f conftest.defines conftest.
tail
54589 # First, append a space to every undef/define line, to ease matching.
54590 echo 's/$/ /' >conftest.defines
54591 # Then, protect against being on the right side of a sed subst, or in
54592 # an unquoted here document, in config.status. If some macros were
54593 # called several times there might be several #defines for the same
54594 # symbol, which is useless. But do not sort them, since the last
54595 # AC_DEFINE must be honored.
54596 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
54597 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54598 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54599 # PARAMS is the parameter list in the macro definition--in most cases, it's
54600 # just an empty string.
54601 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54602 ac_dB
='\\)[ (].*,\\1define\\2'
54610 s/^[ ]*#[ ]*define[ ][ ]*//
54615 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54616 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54617 ' >>conftest.defines
54619 # Remove the space that was appended to ease matching.
54620 # Then replace #undef with comments. This is necessary, for
54621 # example, in the case of _POSIX_SOURCE, which is predefined and required
54622 # on some systems where configure will not decide to define it.
54623 # (The regexp can be short, since the line contains either #define or #undef.)
54625 s,^[ #]*u.*,/* & */,' >>conftest.defines
54627 # Break up conftest.defines:
54628 ac_max_sed_lines
=50
54630 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54631 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54632 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54634 ac_in
='$ac_file_inputs'
54635 ac_out
='"$tmp/out1"'
54636 ac_nxt
='"$tmp/out2"'
54640 # Write a here document:
54641 cat >>$CONFIG_STATUS <<_ACEOF
54642 # First, check the format of the line:
54643 cat >"\$tmp/defines.sed" <<\\CEOF
54644 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54645 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54649 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
54651 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54652 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
54653 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
54654 grep . conftest.
tail >/dev
/null
|| break
54655 rm -f conftest.defines
54656 mv conftest.
tail conftest.defines
54658 rm -f conftest.defines conftest.
tail
54660 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54661 cat >>$CONFIG_STATUS <<\_ACEOF
54662 if test x
"$ac_file" != x
-; then
54663 echo "/* $configure_input */" >"$tmp/config.h"
54664 cat "$ac_result" >>"$tmp/config.h"
54665 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
54666 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54667 echo "$as_me: $ac_file is unchanged" >&6;}
54670 mv "$tmp/config.h" $ac_file
54673 echo "/* $configure_input */"
54679 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54680 echo "$as_me: executing $ac_file commands" >&6;}
54685 case $ac_file$ac_mode in
54687 mkdir -p $outdir &&
54688 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54690 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
54691 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
54692 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
54693 "wx-config":C
) rm -f wx
-config
54694 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
54701 { (exit 0); exit 0; }
54703 chmod +x
$CONFIG_STATUS
54704 ac_clean_files
=$ac_clean_files_save
54707 # configure is writing to config.log, and then calls config.status.
54708 # config.status does its own redirection, appending to config.log.
54709 # Unfortunately, on DOS this fails, as config.log is still kept open
54710 # by configure, so config.status won't be able to write to it; its
54711 # output is simply discarded. So we exec the FD to /dev/null,
54712 # effectively closing config.log, so it can be properly (re)opened and
54713 # appended to by config.status. When coming back to configure, we
54714 # need to make the FD available again.
54715 if test "$no_create" != yes; then
54717 ac_config_status_args
=
54718 test "$silent" = yes &&
54719 ac_config_status_args
="$ac_config_status_args --quiet"
54721 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
54723 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54724 # would make configure fail if this is the last instruction.
54725 $ac_cs_success || { (exit 1); exit 1; }
54729 # CONFIG_SUBDIRS section.
54731 if test "$no_recursion" != yes; then
54733 # Remove --cache-file and --srcdir arguments so they do not pile up.
54734 ac_sub_configure_args
=
54736 eval "set x $ac_configure_args"
54740 if test -n "$ac_prev"; then
54745 -cache-file | --cache-file | --cache-fil | --cache-fi \
54746 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54747 ac_prev
=cache_file
;;
54748 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54749 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54752 --config-cache | -C)
54754 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54756 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54758 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54760 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54764 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54766 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
54770 # Always prepend --prefix to ensure using the same prefix
54771 # in subdir configurations.
54772 ac_arg
="--prefix=$prefix"
54774 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54776 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
54779 if test "$silent" = yes; then
54780 ac_sub_configure_args
="--silent $ac_sub_configure_args"
54784 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
54786 # Do not complain, so a configure script can configure whichever
54787 # parts of a large source tree are present.
54788 test -d "$srcdir/$ac_dir" || continue
54790 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54791 echo "$as_me:$LINENO: $ac_msg" >&5
54795 -*) as_dir
=.
/$as_dir;;
54797 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54801 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54802 *) as_qdir
=$as_dir;;
54804 as_dirs
="'$as_qdir' $as_dirs"
54805 as_dir
=`$as_dirname -- "$as_dir" ||
54806 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54807 X"$as_dir" : 'X\(//\)[^/]' \| \
54808 X"$as_dir" : 'X\(//\)$' \| \
54809 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54811 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54815 /^X\(\/\/\)[^/].*/{
54828 test -d "$as_dir" && break
54830 test -z "$as_dirs" || eval "mkdir $as_dirs"
54831 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54832 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54833 { (exit 1); exit 1; }; }; }
54837 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54839 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54840 # A ".." for each directory in $ac_dir_suffix.
54841 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54842 case $ac_top_builddir_sub in
54843 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54844 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54847 ac_abs_top_builddir
=$ac_pwd
54848 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54849 # for backward compatibility:
54850 ac_top_builddir
=$ac_top_build_prefix
54853 .
) # We are building in place.
54855 ac_top_srcdir
=$ac_top_builddir_sub
54856 ac_abs_top_srcdir
=$ac_pwd ;;
54857 [\\/]* | ?
:[\\/]* ) # Absolute name.
54858 ac_srcdir
=$srcdir$ac_dir_suffix;
54859 ac_top_srcdir
=$srcdir
54860 ac_abs_top_srcdir
=$srcdir ;;
54861 *) # Relative name.
54862 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54863 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54864 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54866 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54871 # Check for guested configure; otherwise get Cygnus style configure.
54872 if test -f "$ac_srcdir/configure.gnu"; then
54873 ac_sub_configure
=$ac_srcdir/configure.gnu
54874 elif test -f "$ac_srcdir/configure"; then
54875 ac_sub_configure
=$ac_srcdir/configure
54876 elif test -f "$ac_srcdir/configure.in"; then
54877 # This should be Cygnus configure.
54878 ac_sub_configure
=$ac_aux_dir/configure
54880 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54881 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54885 # The recursion is here.
54886 if test -n "$ac_sub_configure"; then
54887 # Make the cache file name correct relative to the subdirectory.
54888 case $cache_file in
54889 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
54890 *) # Relative name.
54891 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
54894 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54895 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54896 # The eval makes quoting arguments work.
54897 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54898 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54899 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54900 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54901 { (exit 1); exit 1; }; }
54910 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54912 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54913 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54914 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54915 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54916 if test "$wxUSE_UNICODE" = "yes"; then
54917 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54918 echo " (using UTF-8)"
54920 echo " (using wchar_t)"
54926 echo " What level of wxWidgets compatibility should be enabled?"
54927 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54928 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54930 echo " Which libraries should wxWidgets use?"
54931 echo " STL ${wxUSE_STL}"
54932 echo " jpeg ${wxUSE_LIBJPEG-none}"
54933 echo " png ${wxUSE_LIBPNG-none}"
54934 echo " regex ${wxUSE_REGEX}"
54935 echo " tiff ${wxUSE_LIBTIFF-none}"
54936 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54937 echo " xpm ${wxUSE_LIBXPM-none}"
54939 echo " zlib ${wxUSE_ZLIB}"
54940 echo " expat ${wxUSE_EXPAT}"
54941 echo " libmspack ${wxUSE_LIBMSPACK}"
54942 echo " sdl ${wxUSE_LIBSDL}"