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.3.
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.3'
579 PACKAGE_STRING
='wxWidgets 2.9.3'
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.3 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.3:";;
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.3
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.3, 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 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
35005 #if defined(__clang__)
35006 clang compiler is still broken w.r.t. visibility;
35009 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35010 extern __attribute__((__visibility__("default"))) int exportedvar;
35011 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35012 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35013 class __attribute__((__visibility__("default"))) Foo {
35025 rm -f conftest.$ac_objext
35026 if { (ac_try="$ac_compile"
35027 case "(($ac_try" in
35028 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35029 *) ac_try_echo
=$ac_try;;
35031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35032 (eval "$ac_compile") 2>conftest.er1
35034 grep -v '^ *+' conftest.er1
>conftest.err
35036 cat conftest.err
>&5
35037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35038 (exit $ac_status); } && {
35039 test -z "$ac_cxx_werror_flag" ||
35040 test ! -s conftest.err
35041 } && test -s conftest.
$ac_objext; then
35042 wx_cv_cc_visibility
=yes
35044 echo "$as_me: failed program was:" >&5
35045 sed 's/^/| /' conftest.
$ac_ext >&5
35047 wx_cv_cc_visibility
=no
35050 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35052 ac_cpp
='$CPP $CPPFLAGS'
35053 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35054 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35055 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35057 CXXFLAGS
="$wx_save_CXXFLAGS"
35060 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35061 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35062 if test $wx_cv_cc_visibility = yes; then
35063 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
35064 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
35065 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
35066 echo $ECHO_N "(cached) $ECHO_C" >&6
35069 wx_save_CXXFLAGS
="$CXXFLAGS"
35070 wx_save_LDFLAGS
="$LDFLAGS"
35071 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35072 LDFLAGS
="$LDFLAGS -shared -fPIC"
35074 ac_cpp
='$CXXCPP $CPPFLAGS'
35075 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35076 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35077 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35079 cat >conftest.
$ac_ext <<_ACEOF
35082 cat confdefs.h
>>conftest.
$ac_ext
35083 cat >>conftest.
$ac_ext <<_ACEOF
35084 /* end confdefs.h. */
35092 std::string s("hello");
35099 rm -f conftest.
$ac_objext conftest
$ac_exeext
35100 if { (ac_try
="$ac_link"
35101 case "(($ac_try" in
35102 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35103 *) ac_try_echo=$ac_try;;
35105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35106 (eval "$ac_link") 2>conftest.er1
35108 grep -v '^ *+' conftest.er1 >conftest.err
35110 cat conftest.err >&5
35111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35112 (exit $ac_status); } && {
35113 test -z "$ac_cxx_werror_flag" ||
35114 test ! -s conftest.err
35115 } && test -s conftest$ac_exeext &&
35116 $as_test_x conftest$ac_exeext; then
35117 wx_cv_cc_broken_libstdcxx_visibility=no
35119 echo "$as_me: failed program was:" >&5
35120 sed 's/^/| /' conftest.$ac_ext >&5
35122 wx_cv_cc_broken_libstdcxx_visibility=yes
35125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35126 conftest$ac_exeext conftest.$ac_ext
35128 ac_cpp='$CPP $CPPFLAGS'
35129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35133 CXXFLAGS="$wx_save_CXXFLAGS"
35134 LDFLAGS="$wx_save_LDFLAGS"
35137 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
35138 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
35140 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35141 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
35142 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
35143 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
35144 echo $ECHO_N "(cached) $ECHO_C" >&6
35148 ac_cpp='$CXXCPP $CPPFLAGS'
35149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35153 cat >conftest.$ac_ext <<_ACEOF
35156 cat confdefs.h >>conftest.$ac_ext
35157 cat >>conftest.$ac_ext <<_ACEOF
35158 /* end confdefs.h. */
35160 #pragma GCC visibility push(default)
35162 #pragma GCC visibility pop
35168 std::string s("hello");
35175 rm -f conftest.$ac_objext conftest$ac_exeext
35176 if { (ac_try="$ac_link"
35177 case "(($ac_try" in
35178 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35179 *) ac_try_echo
=$ac_try;;
35181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35182 (eval "$ac_link") 2>conftest.er1
35184 grep -v '^ *+' conftest.er1
>conftest.err
35186 cat conftest.err
>&5
35187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35188 (exit $ac_status); } && {
35189 test -z "$ac_cxx_werror_flag" ||
35190 test ! -s conftest.err
35191 } && test -s conftest
$ac_exeext &&
35192 $as_test_x conftest
$ac_exeext; then
35193 wx_cv_cc_visibility_workaround
=no
35195 echo "$as_me: failed program was:" >&5
35196 sed 's/^/| /' conftest.
$ac_ext >&5
35198 wx_cv_cc_visibility_workaround
=yes
35201 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35202 conftest
$ac_exeext conftest.
$ac_ext
35204 ac_cpp
='$CPP $CPPFLAGS'
35205 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35206 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35207 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35212 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
35213 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
35215 if test $wx_cv_cc_visibility_workaround = no
; then
35216 wx_cv_cc_visibility
=no
35221 if test $wx_cv_cc_visibility = yes; then
35222 cat >>confdefs.h
<<\_ACEOF
35223 #define HAVE_VISIBILITY 1
35226 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35227 cat >>confdefs.h
<<\_ACEOF
35228 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
35233 CFLAGS_VISIBILITY
=""
35234 CXXFLAGS_VISIBILITY
=""
35242 if test "x$SUNCXX" = xyes
; then
35243 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
35244 WXCONFIG_RPATH
="-R\$libdir"
35247 *-*-linux* | *-*-gnu* )
35248 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
35249 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
35254 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
35256 saveLdflags
="$LDFLAGS"
35257 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
35258 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35259 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35260 cat >conftest.
$ac_ext <<_ACEOF
35263 cat confdefs.h
>>conftest.
$ac_ext
35264 cat >>conftest.
$ac_ext <<_ACEOF
35265 /* end confdefs.h. */
35275 rm -f conftest.
$ac_objext conftest
$ac_exeext
35276 if { (ac_try
="$ac_link"
35277 case "(($ac_try" in
35278 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35279 *) ac_try_echo=$ac_try;;
35281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35282 (eval "$ac_link") 2>conftest.er1
35284 grep -v '^ *+' conftest.er1 >conftest.err
35286 cat conftest.err >&5
35287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35288 (exit $ac_status); } && {
35289 test -z "$ac_c_werror_flag" ||
35290 test ! -s conftest.err
35291 } && test -s conftest$ac_exeext &&
35292 $as_test_x conftest$ac_exeext; then
35294 { echo "$as_me:$LINENO: result: yes" >&5
35295 echo "${ECHO_T}yes" >&6; }
35296 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35297 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35300 echo "$as_me: failed program was:" >&5
35301 sed 's/^/| /' conftest.$ac_ext >&5
35304 { echo "$as_me:$LINENO: result: no" >&5
35305 echo "${ECHO_T}no" >&6; }
35306 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35307 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35308 LDFLAGS="$saveLdflags -Wl,-R,/"
35309 cat >conftest.$ac_ext <<_ACEOF
35312 cat confdefs.h >>conftest.$ac_ext
35313 cat >>conftest.$ac_ext <<_ACEOF
35314 /* end confdefs.h. */
35324 rm -f conftest.$ac_objext conftest$ac_exeext
35325 if { (ac_try="$ac_link"
35326 case "(($ac_try" in
35327 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35328 *) ac_try_echo
=$ac_try;;
35330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35331 (eval "$ac_link") 2>conftest.er1
35333 grep -v '^ *+' conftest.er1
>conftest.err
35335 cat conftest.err
>&5
35336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35337 (exit $ac_status); } && {
35338 test -z "$ac_c_werror_flag" ||
35339 test ! -s conftest.err
35340 } && test -s conftest
$ac_exeext &&
35341 $as_test_x conftest
$ac_exeext; then
35343 { echo "$as_me:$LINENO: result: yes" >&5
35344 echo "${ECHO_T}yes" >&6; }
35345 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
35346 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
35349 echo "$as_me: failed program was:" >&5
35350 sed 's/^/| /' conftest.
$ac_ext >&5
35353 { echo "$as_me:$LINENO: result: no" >&5
35354 echo "${ECHO_T}no" >&6; }
35358 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35359 conftest
$ac_exeext conftest.
$ac_ext
35363 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35364 conftest
$ac_exeext conftest.
$ac_ext
35365 LDFLAGS
="$saveLdflags"
35369 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
35370 if test "$install_name_tool" -a -x "$install_name_tool"; then
35371 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35372 cat <<EOF >change-install-names
35374 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35375 for i in \${libnames} ; do
35376 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
35377 for dep in \${libnames} ; do
35378 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
35382 chmod +x change
-install-names
35383 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
35386 HEADER_PAD_OPTION
="-headerpad_max_install_names"
35389 *-*-cygwin* | *-*-mingw32* )
35393 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
35394 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
35400 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35402 if test $wxUSE_RPATH = "no"; then
35403 SAMPLES_RPATH_FLAG
=''
35404 DYLIB_PATH_POSTLINK
=''
35412 config_linkage_component
="-static"
35419 lib_unicode_suffix
=
35421 if test "$wxUSE_UNICODE" = "yes"; then
35422 lib_unicode_suffix
=u
35423 WX_CHARTYPE
="unicode"
35427 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
35428 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
35431 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35435 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35437 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35439 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35442 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35443 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35445 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35447 if test "${TOOLKIT_DIR}" = "os2"; then
35448 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35450 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35455 if test "$wxUSE_OLD_COCOA" = 1; then
35458 ac_cpp
='$CPP $CPPFLAGS'
35459 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35460 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35461 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35465 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35466 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35467 cat >conftest.
$ac_ext <<_ACEOF
35470 cat confdefs.h
>>conftest.
$ac_ext
35471 cat >>conftest.
$ac_ext <<_ACEOF
35472 /* end confdefs.h. */
35473 #include <AppKit/NSEvent.h>
35474 #include <CoreFoundation/CoreFoundation.h>
35484 rm -f conftest.
$ac_objext
35485 if { (ac_try
="$ac_compile"
35486 case "(($ac_try" in
35487 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35488 *) ac_try_echo=$ac_try;;
35490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35491 (eval "$ac_compile") 2>conftest.er1
35493 grep -v '^ *+' conftest.er1 >conftest.err
35495 cat conftest.err >&5
35496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35497 (exit $ac_status); } && {
35498 test -z "$ac_c_werror_flag" ||
35499 test ! -s conftest.err
35500 } && test -s conftest.$ac_objext; then
35501 { echo "$as_me:$LINENO: result: no" >&5
35502 echo "${ECHO_T}no" >&6; }
35504 echo "$as_me: failed program was:" >&5
35505 sed 's/^/| /' conftest.$ac_ext >&5
35507 { echo "$as_me:$LINENO: result: yes" >&5
35508 echo "${ECHO_T}yes" >&6; }
35509 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35510 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35511 cat >conftest.$ac_ext <<_ACEOF
35514 cat confdefs.h >>conftest.$ac_ext
35515 cat >>conftest.$ac_ext <<_ACEOF
35516 /* end confdefs.h. */
35517 #define __Point__ 1
35518 #include <AppKit/NSEvent.h>
35519 #include <CoreFoundation/CoreFoundation.h>
35529 rm -f conftest.$ac_objext
35530 if { (ac_try="$ac_compile"
35531 case "(($ac_try" in
35532 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35533 *) ac_try_echo
=$ac_try;;
35535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35536 (eval "$ac_compile") 2>conftest.er1
35538 grep -v '^ *+' conftest.er1
>conftest.err
35540 cat conftest.err
>&5
35541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35542 (exit $ac_status); } && {
35543 test -z "$ac_c_werror_flag" ||
35544 test ! -s conftest.err
35545 } && test -s conftest.
$ac_objext; then
35546 { echo "$as_me:$LINENO: result: yes" >&5
35547 echo "${ECHO_T}yes" >&6; }
35548 cat >>confdefs.h
<<\_ACEOF
35549 #define __Point__ 1
35554 echo "$as_me: failed program was:" >&5
35555 sed 's/^/| /' conftest.
$ac_ext >&5
35557 { { echo "$as_me:$LINENO: error: no
35558 See \`config.log' for more details." >&5
35559 echo "$as_me: error: no
35560 See \`config.log' for more details." >&2;}
35561 { (exit 1); exit 1; }; }
35565 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35569 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35571 ac_cpp
='$CPP $CPPFLAGS'
35572 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35573 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35574 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35579 { echo "$as_me:$LINENO: checking for mode_t" >&5
35580 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35581 if test "${ac_cv_type_mode_t+set}" = set; then
35582 echo $ECHO_N "(cached) $ECHO_C" >&6
35584 cat >conftest.
$ac_ext <<_ACEOF
35587 cat confdefs.h
>>conftest.
$ac_ext
35588 cat >>conftest.
$ac_ext <<_ACEOF
35589 /* end confdefs.h. */
35590 $ac_includes_default
35591 typedef mode_t ac__type_new_;
35595 if ((ac__type_new_ *) 0)
35597 if (sizeof (ac__type_new_))
35603 rm -f conftest.
$ac_objext
35604 if { (ac_try
="$ac_compile"
35605 case "(($ac_try" in
35606 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35607 *) ac_try_echo=$ac_try;;
35609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35610 (eval "$ac_compile") 2>conftest.er1
35612 grep -v '^ *+' conftest.er1 >conftest.err
35614 cat conftest.err >&5
35615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35616 (exit $ac_status); } && {
35617 test -z "$ac_c_werror_flag" ||
35618 test ! -s conftest.err
35619 } && test -s conftest.$ac_objext; then
35620 ac_cv_type_mode_t=yes
35622 echo "$as_me: failed program was:" >&5
35623 sed 's/^/| /' conftest.$ac_ext >&5
35625 ac_cv_type_mode_t=no
35628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35630 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35631 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35632 if test $ac_cv_type_mode_t = yes; then
35636 cat >>confdefs.h <<_ACEOF
35642 { echo "$as_me:$LINENO: checking for off_t" >&5
35643 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35644 if test "${ac_cv_type_off_t+set}" = set; then
35645 echo $ECHO_N "(cached) $ECHO_C" >&6
35647 cat >conftest.$ac_ext <<_ACEOF
35650 cat confdefs.h >>conftest.$ac_ext
35651 cat >>conftest.$ac_ext <<_ACEOF
35652 /* end confdefs.h. */
35653 $ac_includes_default
35654 typedef off_t ac__type_new_;
35658 if ((ac__type_new_ *) 0)
35660 if (sizeof (ac__type_new_))
35666 rm -f conftest.$ac_objext
35667 if { (ac_try="$ac_compile"
35668 case "(($ac_try" in
35669 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35670 *) ac_try_echo
=$ac_try;;
35672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35673 (eval "$ac_compile") 2>conftest.er1
35675 grep -v '^ *+' conftest.er1
>conftest.err
35677 cat conftest.err
>&5
35678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35679 (exit $ac_status); } && {
35680 test -z "$ac_c_werror_flag" ||
35681 test ! -s conftest.err
35682 } && test -s conftest.
$ac_objext; then
35683 ac_cv_type_off_t
=yes
35685 echo "$as_me: failed program was:" >&5
35686 sed 's/^/| /' conftest.
$ac_ext >&5
35688 ac_cv_type_off_t
=no
35691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35693 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35694 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35695 if test $ac_cv_type_off_t = yes; then
35699 cat >>confdefs.h
<<_ACEOF
35700 #define off_t long int
35705 { echo "$as_me:$LINENO: checking for pid_t" >&5
35706 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35707 if test "${ac_cv_type_pid_t+set}" = set; then
35708 echo $ECHO_N "(cached) $ECHO_C" >&6
35710 cat >conftest.
$ac_ext <<_ACEOF
35713 cat confdefs.h
>>conftest.
$ac_ext
35714 cat >>conftest.
$ac_ext <<_ACEOF
35715 /* end confdefs.h. */
35716 $ac_includes_default
35717 typedef pid_t ac__type_new_;
35721 if ((ac__type_new_ *) 0)
35723 if (sizeof (ac__type_new_))
35729 rm -f conftest.
$ac_objext
35730 if { (ac_try
="$ac_compile"
35731 case "(($ac_try" in
35732 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35733 *) ac_try_echo=$ac_try;;
35735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35736 (eval "$ac_compile") 2>conftest.er1
35738 grep -v '^ *+' conftest.er1 >conftest.err
35740 cat conftest.err >&5
35741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35742 (exit $ac_status); } && {
35743 test -z "$ac_c_werror_flag" ||
35744 test ! -s conftest.err
35745 } && test -s conftest.$ac_objext; then
35746 ac_cv_type_pid_t=yes
35748 echo "$as_me: failed program was:" >&5
35749 sed 's/^/| /' conftest.$ac_ext >&5
35751 ac_cv_type_pid_t=no
35754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35756 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35757 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35758 if test $ac_cv_type_pid_t = yes; then
35762 cat >>confdefs.h <<_ACEOF
35768 { echo "$as_me:$LINENO: checking for size_t" >&5
35769 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35770 if test "${ac_cv_type_size_t+set}" = set; then
35771 echo $ECHO_N "(cached) $ECHO_C" >&6
35773 cat >conftest.$ac_ext <<_ACEOF
35776 cat confdefs.h >>conftest.$ac_ext
35777 cat >>conftest.$ac_ext <<_ACEOF
35778 /* end confdefs.h. */
35779 $ac_includes_default
35780 typedef size_t ac__type_new_;
35784 if ((ac__type_new_ *) 0)
35786 if (sizeof (ac__type_new_))
35792 rm -f conftest.$ac_objext
35793 if { (ac_try="$ac_compile"
35794 case "(($ac_try" in
35795 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35796 *) ac_try_echo
=$ac_try;;
35798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35799 (eval "$ac_compile") 2>conftest.er1
35801 grep -v '^ *+' conftest.er1
>conftest.err
35803 cat conftest.err
>&5
35804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35805 (exit $ac_status); } && {
35806 test -z "$ac_c_werror_flag" ||
35807 test ! -s conftest.err
35808 } && test -s conftest.
$ac_objext; then
35809 ac_cv_type_size_t
=yes
35811 echo "$as_me: failed program was:" >&5
35812 sed 's/^/| /' conftest.
$ac_ext >&5
35814 ac_cv_type_size_t
=no
35817 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35819 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35820 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35821 if test $ac_cv_type_size_t = yes; then
35825 cat >>confdefs.h
<<_ACEOF
35826 #define size_t unsigned int
35832 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35833 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35834 if test "${ac_cv_type_ssize_t+set}" = set; then
35835 echo $ECHO_N "(cached) $ECHO_C" >&6
35837 cat >conftest.
$ac_ext <<_ACEOF
35840 cat confdefs.h
>>conftest.
$ac_ext
35841 cat >>conftest.
$ac_ext <<_ACEOF
35842 /* end confdefs.h. */
35843 $ac_includes_default
35844 typedef ssize_t ac__type_new_;
35848 if ((ac__type_new_ *) 0)
35850 if (sizeof (ac__type_new_))
35856 rm -f conftest.
$ac_objext
35857 if { (ac_try
="$ac_compile"
35858 case "(($ac_try" in
35859 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35860 *) ac_try_echo=$ac_try;;
35862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35863 (eval "$ac_compile") 2>conftest.er1
35865 grep -v '^ *+' conftest.er1 >conftest.err
35867 cat conftest.err >&5
35868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35869 (exit $ac_status); } && {
35870 test -z "$ac_c_werror_flag" ||
35871 test ! -s conftest.err
35872 } && test -s conftest.$ac_objext; then
35873 ac_cv_type_ssize_t=yes
35875 echo "$as_me: failed program was:" >&5
35876 sed 's/^/| /' conftest.$ac_ext >&5
35878 ac_cv_type_ssize_t=no
35881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35883 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35884 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35885 if test $ac_cv_type_ssize_t = yes; then
35887 cat >>confdefs.h <<_ACEOF
35888 #define HAVE_SSIZE_T 1
35896 ac_cpp='$CXXCPP $CPPFLAGS'
35897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35900 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35901 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35902 if test "${wx_cv_size_t_is_uint+set}" = set; then
35903 echo $ECHO_N "(cached) $ECHO_C" >&6
35906 cat >conftest.$ac_ext <<_ACEOF
35909 cat confdefs.h >>conftest.$ac_ext
35910 cat >>conftest.$ac_ext <<_ACEOF
35911 /* end confdefs.h. */
35912 #include <stddef.h>
35919 struct Foo { void foo(size_t); void foo(unsigned int); };
35927 rm -f conftest.$ac_objext
35928 if { (ac_try="$ac_compile"
35929 case "(($ac_try" in
35930 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35931 *) ac_try_echo
=$ac_try;;
35933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35934 (eval "$ac_compile") 2>conftest.er1
35936 grep -v '^ *+' conftest.er1
>conftest.err
35938 cat conftest.err
>&5
35939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35940 (exit $ac_status); } && {
35941 test -z "$ac_cxx_werror_flag" ||
35942 test ! -s conftest.err
35943 } && test -s conftest.
$ac_objext; then
35944 wx_cv_size_t_is_uint
=no
35946 echo "$as_me: failed program was:" >&5
35947 sed 's/^/| /' conftest.
$ac_ext >&5
35949 wx_cv_size_t_is_uint
=yes
35953 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35957 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35958 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35960 if test "$wx_cv_size_t_is_uint" = "yes"; then
35961 cat >>confdefs.h
<<\_ACEOF
35962 #define wxSIZE_T_IS_UINT 1
35966 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35967 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35968 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35969 echo $ECHO_N "(cached) $ECHO_C" >&6
35971 cat >conftest.
$ac_ext <<_ACEOF
35974 cat confdefs.h
>>conftest.
$ac_ext
35975 cat >>conftest.
$ac_ext <<_ACEOF
35976 /* end confdefs.h. */
35977 #include <stddef.h>
35984 struct Foo { void foo(size_t); void foo(unsigned long); };
35992 rm -f conftest.
$ac_objext
35993 if { (ac_try
="$ac_compile"
35994 case "(($ac_try" in
35995 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35996 *) ac_try_echo=$ac_try;;
35998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35999 (eval "$ac_compile") 2>conftest.er1
36001 grep -v '^ *+' conftest.er1 >conftest.err
36003 cat conftest.err >&5
36004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36005 (exit $ac_status); } && {
36006 test -z "$ac_cxx_werror_flag" ||
36007 test ! -s conftest.err
36008 } && test -s conftest.$ac_objext; then
36009 wx_cv_size_t_is_ulong=no
36011 echo "$as_me: failed program was:" >&5
36012 sed 's/^/| /' conftest.$ac_ext >&5
36014 wx_cv_size_t_is_ulong=yes
36018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36021 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36022 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36024 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36025 cat >>confdefs.h <<\_ACEOF
36026 #define wxSIZE_T_IS_ULONG 1
36032 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36033 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36034 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36035 echo $ECHO_N "(cached) $ECHO_C" >&6
36037 cat >conftest.$ac_ext <<_ACEOF
36040 cat confdefs.h >>conftest.$ac_ext
36041 cat >>conftest.$ac_ext <<_ACEOF
36042 /* end confdefs.h. */
36050 struct Foo { void foo(wchar_t);
36051 void foo(unsigned short);
36052 void foo(unsigned int);
36053 void foo(unsigned long); };
36061 rm -f conftest.$ac_objext
36062 if { (ac_try="$ac_compile"
36063 case "(($ac_try" in
36064 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36065 *) ac_try_echo
=$ac_try;;
36067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36068 (eval "$ac_compile") 2>conftest.er1
36070 grep -v '^ *+' conftest.er1
>conftest.err
36072 cat conftest.err
>&5
36073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36074 (exit $ac_status); } && {
36075 test -z "$ac_cxx_werror_flag" ||
36076 test ! -s conftest.err
36077 } && test -s conftest.
$ac_objext; then
36078 wx_cv_wchar_t_is_separate_type
=yes
36080 echo "$as_me: failed program was:" >&5
36081 sed 's/^/| /' conftest.
$ac_ext >&5
36083 wx_cv_wchar_t_is_separate_type
=no
36087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36090 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36091 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36093 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36094 cat >>confdefs.h
<<\_ACEOF
36095 #define wxWCHAR_T_IS_REAL_TYPE 1
36099 cat >>confdefs.h
<<\_ACEOF
36100 #define wxWCHAR_T_IS_REAL_TYPE 0
36106 ac_cpp
='$CPP $CPPFLAGS'
36107 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36108 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36109 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36112 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36113 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
36114 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36115 echo $ECHO_N "(cached) $ECHO_C" >&6
36118 cat >conftest.
$ac_ext <<_ACEOF
36121 cat confdefs.h
>>conftest.
$ac_ext
36122 cat >>conftest.
$ac_ext <<_ACEOF
36123 /* end confdefs.h. */
36137 rm -f conftest.
$ac_objext
36138 if { (ac_try
="$ac_compile"
36139 case "(($ac_try" in
36140 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36141 *) ac_try_echo=$ac_try;;
36143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36144 (eval "$ac_compile") 2>conftest.er1
36146 grep -v '^ *+' conftest.er1 >conftest.err
36148 cat conftest.err >&5
36149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36150 (exit $ac_status); } && {
36151 test -z "$ac_c_werror_flag" ||
36152 test ! -s conftest.err
36153 } && test -s conftest.$ac_objext; then
36155 wx_cv_struct_pw_gecos=yes
36158 echo "$as_me: failed program was:" >&5
36159 sed 's/^/| /' conftest.$ac_ext >&5
36162 wx_cv_struct_pw_gecos=no
36167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36171 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36172 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36174 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36175 cat >>confdefs.h <<\_ACEOF
36176 #define HAVE_PW_GECOS 1
36185 for ac_func in wcslen
36187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36188 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36190 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36191 echo $ECHO_N "(cached) $ECHO_C" >&6
36193 cat >conftest.$ac_ext <<_ACEOF
36196 cat confdefs.h >>conftest.$ac_ext
36197 cat >>conftest.$ac_ext <<_ACEOF
36198 /* end confdefs.h. */
36199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36201 #define $ac_func innocuous_$ac_func
36203 /* System header to define __stub macros and hopefully few prototypes,
36204 which can conflict with char $ac_func (); below.
36205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36206 <limits.h> exists even on freestanding compilers. */
36209 # include <limits.h>
36211 # include <assert.h>
36216 /* Override any GCC internal prototype to avoid an error.
36217 Use char because int might match the return type of a GCC
36218 builtin and then its argument prototype would still apply. */
36223 /* The GNU C library defines this for functions which it implements
36224 to always fail with ENOSYS. Some functions are actually named
36225 something starting with __ and the normal name is an alias. */
36226 #if defined __stub_$ac_func || defined __stub___$ac_func
36233 return $ac_func ();
36238 rm -f conftest.$ac_objext conftest$ac_exeext
36239 if { (ac_try="$ac_link"
36240 case "(($ac_try" in
36241 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36242 *) ac_try_echo
=$ac_try;;
36244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36245 (eval "$ac_link") 2>conftest.er1
36247 grep -v '^ *+' conftest.er1
>conftest.err
36249 cat conftest.err
>&5
36250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36251 (exit $ac_status); } && {
36252 test -z "$ac_c_werror_flag" ||
36253 test ! -s conftest.err
36254 } && test -s conftest
$ac_exeext &&
36255 $as_test_x conftest
$ac_exeext; then
36256 eval "$as_ac_var=yes"
36258 echo "$as_me: failed program was:" >&5
36259 sed 's/^/| /' conftest.
$ac_ext >&5
36261 eval "$as_ac_var=no"
36264 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36265 conftest
$ac_exeext conftest.
$ac_ext
36267 ac_res
=`eval echo '${'$as_ac_var'}'`
36268 { echo "$as_me:$LINENO: result: $ac_res" >&5
36269 echo "${ECHO_T}$ac_res" >&6; }
36270 if test `eval echo '${'$as_ac_var'}'` = yes; then
36271 cat >>confdefs.h
<<_ACEOF
36272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36279 if test "$WCSLEN_FOUND" = 0; then
36280 if test "$TOOLKIT" = "MSW"; then
36281 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36282 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
36283 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36284 echo $ECHO_N "(cached) $ECHO_C" >&6
36286 ac_check_lib_save_LIBS
=$LIBS
36287 LIBS
="-lmsvcrt $LIBS"
36288 cat >conftest.
$ac_ext <<_ACEOF
36291 cat confdefs.h
>>conftest.
$ac_ext
36292 cat >>conftest.
$ac_ext <<_ACEOF
36293 /* end confdefs.h. */
36295 /* Override any GCC internal prototype to avoid an error.
36296 Use char because int might match the return type of a GCC
36297 builtin and then its argument prototype would still apply. */
36310 rm -f conftest.
$ac_objext conftest
$ac_exeext
36311 if { (ac_try
="$ac_link"
36312 case "(($ac_try" in
36313 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36314 *) ac_try_echo=$ac_try;;
36316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36317 (eval "$ac_link") 2>conftest.er1
36319 grep -v '^ *+' conftest.er1 >conftest.err
36321 cat conftest.err >&5
36322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36323 (exit $ac_status); } && {
36324 test -z "$ac_c_werror_flag" ||
36325 test ! -s conftest.err
36326 } && test -s conftest$ac_exeext &&
36327 $as_test_x conftest$ac_exeext; then
36328 ac_cv_lib_msvcrt_wcslen=yes
36330 echo "$as_me: failed program was:" >&5
36331 sed 's/^/| /' conftest.$ac_ext >&5
36333 ac_cv_lib_msvcrt_wcslen=no
36336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36337 conftest$ac_exeext conftest.$ac_ext
36338 LIBS=$ac_check_lib_save_LIBS
36340 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36341 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36342 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36347 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36348 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36349 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36350 echo $ECHO_N "(cached) $ECHO_C" >&6
36352 ac_check_lib_save_LIBS=$LIBS
36354 cat >conftest.$ac_ext <<_ACEOF
36357 cat confdefs.h >>conftest.$ac_ext
36358 cat >>conftest.$ac_ext <<_ACEOF
36359 /* end confdefs.h. */
36361 /* Override any GCC internal prototype to avoid an error.
36362 Use char because int might match the return type of a GCC
36363 builtin and then its argument prototype would still apply. */
36376 rm -f conftest.$ac_objext conftest$ac_exeext
36377 if { (ac_try="$ac_link"
36378 case "(($ac_try" in
36379 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36380 *) ac_try_echo
=$ac_try;;
36382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36383 (eval "$ac_link") 2>conftest.er1
36385 grep -v '^ *+' conftest.er1
>conftest.err
36387 cat conftest.err
>&5
36388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36389 (exit $ac_status); } && {
36390 test -z "$ac_c_werror_flag" ||
36391 test ! -s conftest.err
36392 } && test -s conftest
$ac_exeext &&
36393 $as_test_x conftest
$ac_exeext; then
36394 ac_cv_lib_w_wcslen
=yes
36396 echo "$as_me: failed program was:" >&5
36397 sed 's/^/| /' conftest.
$ac_ext >&5
36399 ac_cv_lib_w_wcslen
=no
36402 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36403 conftest
$ac_exeext conftest.
$ac_ext
36404 LIBS
=$ac_check_lib_save_LIBS
36406 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36407 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36408 if test $ac_cv_lib_w_wcslen = yes; then
36418 if test "$WCSLEN_FOUND" = 1; then
36419 cat >>confdefs.h
<<\_ACEOF
36420 #define HAVE_WCSLEN 1
36431 for ac_func
in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
36433 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36434 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36436 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36437 echo $ECHO_N "(cached) $ECHO_C" >&6
36439 cat >conftest.
$ac_ext <<_ACEOF
36442 cat confdefs.h
>>conftest.
$ac_ext
36443 cat >>conftest.
$ac_ext <<_ACEOF
36444 /* end confdefs.h. */
36445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36447 #define $ac_func innocuous_$ac_func
36449 /* System header to define __stub macros and hopefully few prototypes,
36450 which can conflict with char $ac_func (); below.
36451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36452 <limits.h> exists even on freestanding compilers. */
36455 # include <limits.h>
36457 # include <assert.h>
36462 /* Override any GCC internal prototype to avoid an error.
36463 Use char because int might match the return type of a GCC
36464 builtin and then its argument prototype would still apply. */
36469 /* The GNU C library defines this for functions which it implements
36470 to always fail with ENOSYS. Some functions are actually named
36471 something starting with __ and the normal name is an alias. */
36472 #if defined __stub_$ac_func || defined __stub___$ac_func
36479 return $ac_func ();
36484 rm -f conftest.
$ac_objext conftest
$ac_exeext
36485 if { (ac_try
="$ac_link"
36486 case "(($ac_try" in
36487 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36488 *) ac_try_echo=$ac_try;;
36490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36491 (eval "$ac_link") 2>conftest.er1
36493 grep -v '^ *+' conftest.er1 >conftest.err
36495 cat conftest.err >&5
36496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36497 (exit $ac_status); } && {
36498 test -z "$ac_c_werror_flag" ||
36499 test ! -s conftest.err
36500 } && test -s conftest$ac_exeext &&
36501 $as_test_x conftest$ac_exeext; then
36502 eval "$as_ac_var=yes"
36504 echo "$as_me: failed program was:" >&5
36505 sed 's/^/| /' conftest.$ac_ext >&5
36507 eval "$as_ac_var=no"
36510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36511 conftest$ac_exeext conftest.$ac_ext
36513 ac_res=`eval echo '${'$as_ac_var'}'`
36514 { echo "$as_me:$LINENO: result: $ac_res" >&5
36515 echo "${ECHO_T}$ac_res" >&6; }
36516 if test `eval echo '${'$as_ac_var'}'` = yes; then
36517 cat >>confdefs.h <<_ACEOF
36518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36525 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36526 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36529 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36530 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36531 if test "${ac_cv_type_mbstate_t+set}" = set; then
36532 echo $ECHO_N "(cached) $ECHO_C" >&6
36534 cat >conftest.$ac_ext <<_ACEOF
36537 cat confdefs.h >>conftest.$ac_ext
36538 cat >>conftest.$ac_ext <<_ACEOF
36539 /* end confdefs.h. */
36542 typedef mbstate_t ac__type_new_;
36546 if ((ac__type_new_ *) 0)
36548 if (sizeof (ac__type_new_))
36554 rm -f conftest.$ac_objext
36555 if { (ac_try="$ac_compile"
36556 case "(($ac_try" in
36557 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36558 *) ac_try_echo
=$ac_try;;
36560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36561 (eval "$ac_compile") 2>conftest.er1
36563 grep -v '^ *+' conftest.er1
>conftest.err
36565 cat conftest.err
>&5
36566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36567 (exit $ac_status); } && {
36568 test -z "$ac_c_werror_flag" ||
36569 test ! -s conftest.err
36570 } && test -s conftest.
$ac_objext; then
36571 ac_cv_type_mbstate_t
=yes
36573 echo "$as_me: failed program was:" >&5
36574 sed 's/^/| /' conftest.
$ac_ext >&5
36576 ac_cv_type_mbstate_t
=no
36579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36581 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36582 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36583 if test $ac_cv_type_mbstate_t = yes; then
36585 cat >>confdefs.h
<<_ACEOF
36586 #define HAVE_MBSTATE_T 1
36590 for ac_func
in wcsrtombs
36592 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36593 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36595 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36596 echo $ECHO_N "(cached) $ECHO_C" >&6
36598 cat >conftest.
$ac_ext <<_ACEOF
36601 cat confdefs.h
>>conftest.
$ac_ext
36602 cat >>conftest.
$ac_ext <<_ACEOF
36603 /* end confdefs.h. */
36604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36606 #define $ac_func innocuous_$ac_func
36608 /* System header to define __stub macros and hopefully few prototypes,
36609 which can conflict with char $ac_func (); below.
36610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36611 <limits.h> exists even on freestanding compilers. */
36614 # include <limits.h>
36616 # include <assert.h>
36621 /* Override any GCC internal prototype to avoid an error.
36622 Use char because int might match the return type of a GCC
36623 builtin and then its argument prototype would still apply. */
36628 /* The GNU C library defines this for functions which it implements
36629 to always fail with ENOSYS. Some functions are actually named
36630 something starting with __ and the normal name is an alias. */
36631 #if defined __stub_$ac_func || defined __stub___$ac_func
36638 return $ac_func ();
36643 rm -f conftest.
$ac_objext conftest
$ac_exeext
36644 if { (ac_try
="$ac_link"
36645 case "(($ac_try" in
36646 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36647 *) ac_try_echo=$ac_try;;
36649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36650 (eval "$ac_link") 2>conftest.er1
36652 grep -v '^ *+' conftest.er1 >conftest.err
36654 cat conftest.err >&5
36655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36656 (exit $ac_status); } && {
36657 test -z "$ac_c_werror_flag" ||
36658 test ! -s conftest.err
36659 } && test -s conftest$ac_exeext &&
36660 $as_test_x conftest$ac_exeext; then
36661 eval "$as_ac_var=yes"
36663 echo "$as_me: failed program was:" >&5
36664 sed 's/^/| /' conftest.$ac_ext >&5
36666 eval "$as_ac_var=no"
36669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36670 conftest$ac_exeext conftest.$ac_ext
36672 ac_res=`eval echo '${'$as_ac_var'}'`
36673 { echo "$as_me:$LINENO: result: $ac_res" >&5
36674 echo "${ECHO_T}$ac_res" >&6; }
36675 if test `eval echo '${'$as_ac_var'}'` = yes; then
36676 cat >>confdefs.h <<_ACEOF
36677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36689 for ac_func in snprintf vsnprintf vsscanf
36691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36692 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36694 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36695 echo $ECHO_N "(cached) $ECHO_C" >&6
36697 cat >conftest.$ac_ext <<_ACEOF
36700 cat confdefs.h >>conftest.$ac_ext
36701 cat >>conftest.$ac_ext <<_ACEOF
36702 /* end confdefs.h. */
36703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36705 #define $ac_func innocuous_$ac_func
36707 /* System header to define __stub macros and hopefully few prototypes,
36708 which can conflict with char $ac_func (); below.
36709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36710 <limits.h> exists even on freestanding compilers. */
36713 # include <limits.h>
36715 # include <assert.h>
36720 /* Override any GCC internal prototype to avoid an error.
36721 Use char because int might match the return type of a GCC
36722 builtin and then its argument prototype would still apply. */
36727 /* The GNU C library defines this for functions which it implements
36728 to always fail with ENOSYS. Some functions are actually named
36729 something starting with __ and the normal name is an alias. */
36730 #if defined __stub_$ac_func || defined __stub___$ac_func
36737 return $ac_func ();
36742 rm -f conftest.$ac_objext conftest$ac_exeext
36743 if { (ac_try="$ac_link"
36744 case "(($ac_try" in
36745 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36746 *) ac_try_echo
=$ac_try;;
36748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36749 (eval "$ac_link") 2>conftest.er1
36751 grep -v '^ *+' conftest.er1
>conftest.err
36753 cat conftest.err
>&5
36754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36755 (exit $ac_status); } && {
36756 test -z "$ac_c_werror_flag" ||
36757 test ! -s conftest.err
36758 } && test -s conftest
$ac_exeext &&
36759 $as_test_x conftest
$ac_exeext; then
36760 eval "$as_ac_var=yes"
36762 echo "$as_me: failed program was:" >&5
36763 sed 's/^/| /' conftest.
$ac_ext >&5
36765 eval "$as_ac_var=no"
36768 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36769 conftest
$ac_exeext conftest.
$ac_ext
36771 ac_res
=`eval echo '${'$as_ac_var'}'`
36772 { echo "$as_me:$LINENO: result: $ac_res" >&5
36773 echo "${ECHO_T}$ac_res" >&6; }
36774 if test `eval echo '${'$as_ac_var'}'` = yes; then
36775 cat >>confdefs.h
<<_ACEOF
36776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36784 ac_cpp
='$CXXCPP $CPPFLAGS'
36785 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36786 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36787 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36789 if test "$ac_cv_func_vsnprintf" = "yes"; then
36790 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36791 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36792 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36793 echo $ECHO_N "(cached) $ECHO_C" >&6
36796 cat >conftest.
$ac_ext <<_ACEOF
36799 cat confdefs.h
>>conftest.
$ac_ext
36800 cat >>conftest.
$ac_ext <<_ACEOF
36801 /* end confdefs.h. */
36804 #include <stdarg.h>
36806 #if __MSL__ >= 0x6000
36808 using namespace std;
36818 vsnprintf(buf, 10u, "%s", ap);
36824 rm -f conftest.
$ac_objext
36825 if { (ac_try
="$ac_compile"
36826 case "(($ac_try" in
36827 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36828 *) ac_try_echo=$ac_try;;
36830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36831 (eval "$ac_compile") 2>conftest.er1
36833 grep -v '^ *+' conftest.er1 >conftest.err
36835 cat conftest.err >&5
36836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36837 (exit $ac_status); } && {
36838 test -z "$ac_cxx_werror_flag" ||
36839 test ! -s conftest.err
36840 } && test -s conftest.$ac_objext; then
36841 wx_cv_func_vsnprintf_decl=yes
36843 echo "$as_me: failed program was:" >&5
36844 sed 's/^/| /' conftest.$ac_ext >&5
36846 wx_cv_func_vsnprintf_decl=no
36850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36854 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36855 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36857 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36858 cat >>confdefs.h <<\_ACEOF
36859 #define HAVE_VSNPRINTF_DECL 1
36863 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36864 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36865 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36866 echo $ECHO_N "(cached) $ECHO_C" >&6
36869 cat >conftest.$ac_ext <<_ACEOF
36872 cat confdefs.h >>conftest.$ac_ext
36873 cat >>conftest.$ac_ext <<_ACEOF
36874 /* end confdefs.h. */
36877 #include <stdarg.h>
36879 #if __MSL__ >= 0x6000
36881 using namespace std;
36891 const char *fmt = "%s";
36892 vsnprintf(buf, 10u, fmt, ap);
36898 rm -f conftest.$ac_objext
36899 if { (ac_try="$ac_compile"
36900 case "(($ac_try" in
36901 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36902 *) ac_try_echo
=$ac_try;;
36904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36905 (eval "$ac_compile") 2>conftest.er1
36907 grep -v '^ *+' conftest.er1
>conftest.err
36909 cat conftest.err
>&5
36910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36911 (exit $ac_status); } && {
36912 test -z "$ac_cxx_werror_flag" ||
36913 test ! -s conftest.err
36914 } && test -s conftest.
$ac_objext; then
36915 wx_cv_func_broken_vsnprintf_decl
=no
36917 echo "$as_me: failed program was:" >&5
36918 sed 's/^/| /' conftest.
$ac_ext >&5
36920 wx_cv_func_broken_vsnprintf_decl
=yes
36924 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36928 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36929 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36931 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36932 cat >>confdefs.h
<<\_ACEOF
36933 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36940 if test "$ac_cv_func_snprintf" = "yes"; then
36941 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36942 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36943 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36944 echo $ECHO_N "(cached) $ECHO_C" >&6
36947 cat >conftest.
$ac_ext <<_ACEOF
36950 cat confdefs.h
>>conftest.
$ac_ext
36951 cat >>conftest.
$ac_ext <<_ACEOF
36952 /* end confdefs.h. */
36955 #include <stdarg.h>
36957 #if __MSL__ >= 0x6000
36959 using namespace std;
36968 snprintf(buf, 10u, "%s", "wx");
36974 rm -f conftest.
$ac_objext
36975 if { (ac_try
="$ac_compile"
36976 case "(($ac_try" in
36977 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36978 *) ac_try_echo=$ac_try;;
36980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36981 (eval "$ac_compile") 2>conftest.er1
36983 grep -v '^ *+' conftest.er1 >conftest.err
36985 cat conftest.err >&5
36986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36987 (exit $ac_status); } && {
36988 test -z "$ac_cxx_werror_flag" ||
36989 test ! -s conftest.err
36990 } && test -s conftest.$ac_objext; then
36991 wx_cv_func_snprintf_decl=yes
36993 echo "$as_me: failed program was:" >&5
36994 sed 's/^/| /' conftest.$ac_ext >&5
36996 wx_cv_func_snprintf_decl=no
37000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37004 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
37005 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37007 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37008 cat >>confdefs.h <<\_ACEOF
37009 #define HAVE_SNPRINTF_DECL 1
37014 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37016 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37017 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37018 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37019 echo $ECHO_N "(cached) $ECHO_C" >&6
37022 if test "$cross_compiling" = yes; then
37024 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37025 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37026 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37027 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37028 wx_cv_func_snprintf_pos_params=no
37032 cat >conftest.$ac_ext <<_ACEOF
37035 cat confdefs.h >>conftest.$ac_ext
37036 cat >>conftest.$ac_ext <<_ACEOF
37037 /* end confdefs.h. */
37044 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37045 if (strcmp ("2 3 1", buffer) == 0)
37051 rm -f conftest$ac_exeext
37052 if { (ac_try="$ac_link"
37053 case "(($ac_try" in
37054 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37055 *) ac_try_echo
=$ac_try;;
37057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37058 (eval "$ac_link") 2>&5
37060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37061 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
37062 { (case "(($ac_try" in
37063 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37064 *) ac_try_echo=$ac_try;;
37066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37067 (eval "$ac_try") 2>&5
37069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37070 (exit $ac_status); }; }; then
37071 wx_cv_func_snprintf_pos_params=no
37073 echo "$as_me: program exited with status $ac_status" >&5
37074 echo "$as_me: failed program was:" >&5
37075 sed 's/^/| /' conftest.$ac_ext >&5
37077 ( exit $ac_status )
37078 wx_cv_func_snprintf_pos_params=yes
37080 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37087 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37088 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
37090 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37091 cat >>confdefs.h <<\_ACEOF
37092 #define HAVE_UNIX98_PRINTF 1
37099 if test "$ac_cv_func_vsscanf" = "yes"; then
37100 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
37101 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
37102 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
37103 echo $ECHO_N "(cached) $ECHO_C" >&6
37106 cat >conftest.$ac_ext <<_ACEOF
37109 cat confdefs.h >>conftest.$ac_ext
37110 cat >>conftest.$ac_ext <<_ACEOF
37111 /* end confdefs.h. */
37114 #include <stdarg.h>
37116 #if __MSL__ >= 0x6000
37118 using namespace std;
37128 vsscanf(buf, "%s", args);
37134 rm -f conftest.$ac_objext
37135 if { (ac_try="$ac_compile"
37136 case "(($ac_try" in
37137 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37138 *) ac_try_echo
=$ac_try;;
37140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37141 (eval "$ac_compile") 2>conftest.er1
37143 grep -v '^ *+' conftest.er1
>conftest.err
37145 cat conftest.err
>&5
37146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37147 (exit $ac_status); } && {
37148 test -z "$ac_cxx_werror_flag" ||
37149 test ! -s conftest.err
37150 } && test -s conftest.
$ac_objext; then
37151 wx_cv_func_vsscanf_decl
=yes
37153 echo "$as_me: failed program was:" >&5
37154 sed 's/^/| /' conftest.
$ac_ext >&5
37156 wx_cv_func_vsscanf_decl
=no
37160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37164 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
37165 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
37167 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
37168 cat >>confdefs.h
<<\_ACEOF
37169 #define HAVE_VSSCANF_DECL 1
37175 ac_cpp
='$CPP $CPPFLAGS'
37176 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37177 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37178 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37181 if test "$wxUSE_UNICODE" = yes; then
37183 wchar_headers
="#include <stdio.h>
37184 #include <wchar.h>"
37188 for ac_header
in widec.h
37190 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37191 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37192 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37193 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37194 echo $ECHO_N "(cached) $ECHO_C" >&6
37196 cat >conftest.
$ac_ext <<_ACEOF
37199 cat confdefs.h
>>conftest.
$ac_ext
37200 cat >>conftest.
$ac_ext <<_ACEOF
37201 /* end confdefs.h. */
37202 $ac_includes_default
37204 #include <$ac_header>
37206 rm -f conftest.
$ac_objext
37207 if { (ac_try
="$ac_compile"
37208 case "(($ac_try" in
37209 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37210 *) ac_try_echo=$ac_try;;
37212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37213 (eval "$ac_compile") 2>conftest.er1
37215 grep -v '^ *+' conftest.er1 >conftest.err
37217 cat conftest.err >&5
37218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37219 (exit $ac_status); } && {
37220 test -z "$ac_c_werror_flag" ||
37221 test ! -s conftest.err
37222 } && test -s conftest.$ac_objext; then
37223 eval "$as_ac_Header=yes"
37225 echo "$as_me: failed program was:" >&5
37226 sed 's/^/| /' conftest.$ac_ext >&5
37228 eval "$as_ac_Header=no"
37231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37233 ac_res=`eval echo '${'$as_ac_Header'}'`
37234 { echo "$as_me:$LINENO: result: $ac_res" >&5
37235 echo "${ECHO_T}$ac_res" >&6; }
37236 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37237 cat >>confdefs.h <<_ACEOF
37238 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37245 if test "$ac_cv_header_widec_h" = "yes"; then
37246 wchar_headers="$wchar_headers
37247 #include <widec.h>"
37252 for wx_func in putws fputws wprintf vswprintf vswscanf
37254 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37255 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37256 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37257 echo $ECHO_N "(cached) $ECHO_C" >&6
37260 cat >conftest.$ac_ext <<_ACEOF
37264 cat confdefs.h >>conftest.$ac_ext
37265 cat >>conftest.$ac_ext <<_ACEOF
37266 /* end confdefs.h. */
37269 $ac_includes_default
37285 rm -f conftest.$ac_objext conftest$ac_exeext
37286 if { (ac_try="$ac_link"
37287 case "(($ac_try" in
37288 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37289 *) ac_try_echo
=$ac_try;;
37291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37292 (eval "$ac_link") 2>conftest.er1
37294 grep -v '^ *+' conftest.er1
>conftest.err
37296 cat conftest.err
>&5
37297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37298 (exit $ac_status); } && {
37299 test -z "$ac_c_werror_flag" ||
37300 test ! -s conftest.err
37301 } && test -s conftest
$ac_exeext &&
37302 $as_test_x conftest
$ac_exeext; then
37303 eval wx_cv_func_
$wx_func=yes
37305 echo "$as_me: failed program was:" >&5
37306 sed 's/^/| /' conftest.
$ac_ext >&5
37308 eval wx_cv_func_
$wx_func=no
37311 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37312 conftest
$ac_exeext conftest.
$ac_ext
37315 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37316 { echo "$as_me:$LINENO: result: $ac_res" >&5
37317 echo "${ECHO_T}$ac_res" >&6; }
37319 if eval test \
$wx_cv_func_$wx_func = yes
37321 cat >>confdefs.h
<<_ACEOF
37322 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37333 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37334 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37335 cat >conftest.
$ac_ext <<_ACEOF
37338 cat confdefs.h
>>conftest.
$ac_ext
37339 cat >>conftest.
$ac_ext <<_ACEOF
37340 /* end confdefs.h. */
37350 rm -f conftest.
$ac_objext
37351 if { (ac_try
="$ac_compile"
37352 case "(($ac_try" in
37353 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37354 *) ac_try_echo=$ac_try;;
37356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37357 (eval "$ac_compile") 2>conftest.er1
37359 grep -v '^ *+' conftest.er1 >conftest.err
37361 cat conftest.err >&5
37362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37363 (exit $ac_status); } && {
37364 test -z "$ac_c_werror_flag" ||
37365 test ! -s conftest.err
37366 } && test -s conftest.$ac_objext; then
37367 { echo "$as_me:$LINENO: result: yes" >&5
37368 echo "${ECHO_T}yes" >&6; }
37369 cat >>confdefs.h <<\_ACEOF
37370 #define HAVE__VSNWPRINTF 1
37374 echo "$as_me: failed program was:" >&5
37375 sed 's/^/| /' conftest.$ac_ext >&5
37377 { echo "$as_me:$LINENO: result: no" >&5
37378 echo "${ECHO_T}no" >&6; }
37381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37384 if test "$wxUSE_FILE" = "yes"; then
37386 for wx_func in fsync
37388 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37389 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37390 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37391 echo $ECHO_N "(cached) $ECHO_C" >&6
37394 cat >conftest.$ac_ext <<_ACEOF
37398 cat confdefs.h >>conftest.$ac_ext
37399 cat >>conftest.$ac_ext <<_ACEOF
37400 /* end confdefs.h. */
37403 $ac_includes_default
37419 rm -f conftest.$ac_objext conftest$ac_exeext
37420 if { (ac_try="$ac_link"
37421 case "(($ac_try" in
37422 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37423 *) ac_try_echo
=$ac_try;;
37425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37426 (eval "$ac_link") 2>conftest.er1
37428 grep -v '^ *+' conftest.er1
>conftest.err
37430 cat conftest.err
>&5
37431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37432 (exit $ac_status); } && {
37433 test -z "$ac_c_werror_flag" ||
37434 test ! -s conftest.err
37435 } && test -s conftest
$ac_exeext &&
37436 $as_test_x conftest
$ac_exeext; then
37437 eval wx_cv_func_
$wx_func=yes
37439 echo "$as_me: failed program was:" >&5
37440 sed 's/^/| /' conftest.
$ac_ext >&5
37442 eval wx_cv_func_
$wx_func=no
37445 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37446 conftest
$ac_exeext conftest.
$ac_ext
37449 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37450 { echo "$as_me:$LINENO: result: $ac_res" >&5
37451 echo "${ECHO_T}$ac_res" >&6; }
37453 if eval test \
$wx_cv_func_$wx_func = yes
37455 cat >>confdefs.h
<<_ACEOF
37456 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37469 ac_cpp
='$CXXCPP $CPPFLAGS'
37470 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37471 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37472 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37475 for wx_func
in round
37477 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37478 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37479 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37480 echo $ECHO_N "(cached) $ECHO_C" >&6
37483 cat >conftest.
$ac_ext <<_ACEOF
37487 cat confdefs.h
>>conftest.
$ac_ext
37488 cat >>conftest.
$ac_ext <<_ACEOF
37489 /* end confdefs.h. */
37492 $ac_includes_default
37508 rm -f conftest.
$ac_objext conftest
$ac_exeext
37509 if { (ac_try
="$ac_link"
37510 case "(($ac_try" in
37511 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37512 *) ac_try_echo=$ac_try;;
37514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37515 (eval "$ac_link") 2>conftest.er1
37517 grep -v '^ *+' conftest.er1 >conftest.err
37519 cat conftest.err >&5
37520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37521 (exit $ac_status); } && {
37522 test -z "$ac_cxx_werror_flag" ||
37523 test ! -s conftest.err
37524 } && test -s conftest$ac_exeext &&
37525 $as_test_x conftest$ac_exeext; then
37526 eval wx_cv_func_$wx_func=yes
37528 echo "$as_me: failed program was:" >&5
37529 sed 's/^/| /' conftest.$ac_ext >&5
37531 eval wx_cv_func_$wx_func=no
37534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37535 conftest$ac_exeext conftest.$ac_ext
37538 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37539 { echo "$as_me:$LINENO: result: $ac_res" >&5
37540 echo "${ECHO_T}$ac_res" >&6; }
37542 if eval test \$wx_cv_func_$wx_func = yes
37544 cat >>confdefs.h <<_ACEOF
37545 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37556 ac_cpp='$CPP $CPPFLAGS'
37557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37562 if test "$TOOLKIT" != "MSW"; then
37564 if test "$wxUSE_LIBICONV" != "no" ; then
37568 # Check whether --with-libiconv-prefix was given.
37569 if test "${with_libiconv_prefix+set}" = set; then
37570 withval=$with_libiconv_prefix;
37571 for dir in `echo "$withval" | tr : ' '`; do
37572 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37573 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37579 { echo "$as_me:$LINENO: checking for iconv" >&5
37580 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37581 if test "${am_cv_func_iconv+set}" = set; then
37582 echo $ECHO_N "(cached) $ECHO_C" >&6
37585 am_cv_func_iconv="no, consider installing GNU libiconv"
37587 cat >conftest.$ac_ext <<_ACEOF
37590 cat confdefs.h >>conftest.$ac_ext
37591 cat >>conftest.$ac_ext <<_ACEOF
37592 /* end confdefs.h. */
37593 #include <stdlib.h>
37598 iconv_t cd = iconv_open("","");
37599 iconv(cd,NULL,NULL,NULL,NULL);
37605 rm -f conftest.$ac_objext conftest$ac_exeext
37606 if { (ac_try="$ac_link"
37607 case "(($ac_try" in
37608 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37609 *) ac_try_echo
=$ac_try;;
37611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37612 (eval "$ac_link") 2>conftest.er1
37614 grep -v '^ *+' conftest.er1
>conftest.err
37616 cat conftest.err
>&5
37617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37618 (exit $ac_status); } && {
37619 test -z "$ac_c_werror_flag" ||
37620 test ! -s conftest.err
37621 } && test -s conftest
$ac_exeext &&
37622 $as_test_x conftest
$ac_exeext; then
37623 am_cv_func_iconv
=yes
37625 echo "$as_me: failed program was:" >&5
37626 sed 's/^/| /' conftest.
$ac_ext >&5
37631 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37632 conftest
$ac_exeext conftest.
$ac_ext
37633 if test "$am_cv_func_iconv" != yes; then
37634 am_save_LIBS
="$LIBS"
37635 LIBS
="$LIBS -liconv"
37636 cat >conftest.
$ac_ext <<_ACEOF
37639 cat confdefs.h
>>conftest.
$ac_ext
37640 cat >>conftest.
$ac_ext <<_ACEOF
37641 /* end confdefs.h. */
37642 #include <stdlib.h>
37647 iconv_t cd = iconv_open("","");
37648 iconv(cd,NULL,NULL,NULL,NULL);
37654 rm -f conftest.
$ac_objext conftest
$ac_exeext
37655 if { (ac_try
="$ac_link"
37656 case "(($ac_try" in
37657 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37658 *) ac_try_echo=$ac_try;;
37660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37661 (eval "$ac_link") 2>conftest.er1
37663 grep -v '^ *+' conftest.er1 >conftest.err
37665 cat conftest.err >&5
37666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37667 (exit $ac_status); } && {
37668 test -z "$ac_c_werror_flag" ||
37669 test ! -s conftest.err
37670 } && test -s conftest$ac_exeext &&
37671 $as_test_x conftest$ac_exeext; then
37672 am_cv_lib_iconv=yes
37673 am_cv_func_iconv=yes
37675 echo "$as_me: failed program was:" >&5
37676 sed 's/^/| /' conftest.$ac_ext >&5
37681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37682 conftest$ac_exeext conftest.$ac_ext
37683 LIBS="$am_save_LIBS"
37687 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37688 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37689 if test "$am_cv_func_iconv" = yes; then
37691 cat >>confdefs.h <<\_ACEOF
37692 #define HAVE_ICONV 1
37695 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37696 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37697 if test "${wx_cv_func_iconv_const+set}" = set; then
37698 echo $ECHO_N "(cached) $ECHO_C" >&6
37700 cat >conftest.$ac_ext <<_ACEOF
37703 cat confdefs.h >>conftest.$ac_ext
37704 cat >>conftest.$ac_ext <<_ACEOF
37705 /* end confdefs.h. */
37707 #include <stdlib.h>
37713 #if defined(__STDC__) || defined(__cplusplus)
37714 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37727 rm -f conftest.$ac_objext
37728 if { (ac_try="$ac_compile"
37729 case "(($ac_try" in
37730 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37731 *) ac_try_echo
=$ac_try;;
37733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37734 (eval "$ac_compile") 2>conftest.er1
37736 grep -v '^ *+' conftest.er1
>conftest.err
37738 cat conftest.err
>&5
37739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37740 (exit $ac_status); } && {
37741 test -z "$ac_c_werror_flag" ||
37742 test ! -s conftest.err
37743 } && test -s conftest.
$ac_objext; then
37744 wx_cv_func_iconv_const
="no"
37746 echo "$as_me: failed program was:" >&5
37747 sed 's/^/| /' conftest.
$ac_ext >&5
37749 wx_cv_func_iconv_const
="yes"
37753 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37756 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37757 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37760 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37761 iconv_const
="const"
37765 cat >>confdefs.h
<<_ACEOF
37766 #define ICONV_CONST $iconv_const
37771 if test "$am_cv_lib_iconv" = yes; then
37776 LIBS
="$LIBICONV $LIBS"
37779 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37781 for ac_func
in sigaction
37783 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37784 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37786 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37787 echo $ECHO_N "(cached) $ECHO_C" >&6
37789 cat >conftest.
$ac_ext <<_ACEOF
37792 cat confdefs.h
>>conftest.
$ac_ext
37793 cat >>conftest.
$ac_ext <<_ACEOF
37794 /* end confdefs.h. */
37795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37797 #define $ac_func innocuous_$ac_func
37799 /* System header to define __stub macros and hopefully few prototypes,
37800 which can conflict with char $ac_func (); below.
37801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37802 <limits.h> exists even on freestanding compilers. */
37805 # include <limits.h>
37807 # include <assert.h>
37812 /* Override any GCC internal prototype to avoid an error.
37813 Use char because int might match the return type of a GCC
37814 builtin and then its argument prototype would still apply. */
37819 /* The GNU C library defines this for functions which it implements
37820 to always fail with ENOSYS. Some functions are actually named
37821 something starting with __ and the normal name is an alias. */
37822 #if defined __stub_$ac_func || defined __stub___$ac_func
37829 return $ac_func ();
37834 rm -f conftest.
$ac_objext conftest
$ac_exeext
37835 if { (ac_try
="$ac_link"
37836 case "(($ac_try" in
37837 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37838 *) ac_try_echo=$ac_try;;
37840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37841 (eval "$ac_link") 2>conftest.er1
37843 grep -v '^ *+' conftest.er1 >conftest.err
37845 cat conftest.err >&5
37846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37847 (exit $ac_status); } && {
37848 test -z "$ac_c_werror_flag" ||
37849 test ! -s conftest.err
37850 } && test -s conftest$ac_exeext &&
37851 $as_test_x conftest$ac_exeext; then
37852 eval "$as_ac_var=yes"
37854 echo "$as_me: failed program was:" >&5
37855 sed 's/^/| /' conftest.$ac_ext >&5
37857 eval "$as_ac_var=no"
37860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37861 conftest$ac_exeext conftest.$ac_ext
37863 ac_res=`eval echo '${'$as_ac_var'}'`
37864 { echo "$as_me:$LINENO: result: $ac_res" >&5
37865 echo "${ECHO_T}$ac_res" >&6; }
37866 if test `eval echo '${'$as_ac_var'}'` = yes; then
37867 cat >>confdefs.h <<_ACEOF
37868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37875 if test "$ac_cv_func_sigaction" = "no"; then
37876 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37877 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37878 wxUSE_ON_FATAL_EXCEPTION=no
37881 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37882 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37883 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37884 if test "${wx_cv_type_sa_handler+set}" = set; then
37885 echo $ECHO_N "(cached) $ECHO_C" >&6
37889 ac_cpp='$CXXCPP $CPPFLAGS'
37890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37894 cat >conftest.$ac_ext <<_ACEOF
37897 cat confdefs.h >>conftest.$ac_ext
37898 cat >>conftest.$ac_ext <<_ACEOF
37899 /* end confdefs.h. */
37900 #include <signal.h>
37905 extern void testSigHandler(int);
37907 struct sigaction sa;
37908 sa.sa_handler = testSigHandler;
37914 rm -f conftest.$ac_objext
37915 if { (ac_try="$ac_compile"
37916 case "(($ac_try" in
37917 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37918 *) ac_try_echo
=$ac_try;;
37920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37921 (eval "$ac_compile") 2>conftest.er1
37923 grep -v '^ *+' conftest.er1
>conftest.err
37925 cat conftest.err
>&5
37926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37927 (exit $ac_status); } && {
37928 test -z "$ac_cxx_werror_flag" ||
37929 test ! -s conftest.err
37930 } && test -s conftest.
$ac_objext; then
37932 wx_cv_type_sa_handler
=int
37935 echo "$as_me: failed program was:" >&5
37936 sed 's/^/| /' conftest.
$ac_ext >&5
37939 wx_cv_type_sa_handler
=void
37943 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37945 ac_cpp
='$CPP $CPPFLAGS'
37946 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37947 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37948 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37952 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37953 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37955 cat >>confdefs.h
<<_ACEOF
37956 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37962 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37963 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37964 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37965 if test "${wx_cv_func_backtrace+set}" = set; then
37966 echo $ECHO_N "(cached) $ECHO_C" >&6
37970 ac_cpp
='$CXXCPP $CPPFLAGS'
37971 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37972 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37973 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37975 cat >conftest.
$ac_ext <<_ACEOF
37978 cat confdefs.h
>>conftest.
$ac_ext
37979 cat >>conftest.
$ac_ext <<_ACEOF
37980 /* end confdefs.h. */
37981 #include <execinfo.h>
37989 backtrace(trace, 1);
37990 messages = backtrace_symbols(trace, 1);
37996 rm -f conftest.
$ac_objext
37997 if { (ac_try
="$ac_compile"
37998 case "(($ac_try" in
37999 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38000 *) ac_try_echo=$ac_try;;
38002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38003 (eval "$ac_compile") 2>conftest.er1
38005 grep -v '^ *+' conftest.er1 >conftest.err
38007 cat conftest.err >&5
38008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38009 (exit $ac_status); } && {
38010 test -z "$ac_cxx_werror_flag" ||
38011 test ! -s conftest.err
38012 } && test -s conftest.$ac_objext; then
38013 wx_cv_func_backtrace=yes
38015 echo "$as_me: failed program was:" >&5
38016 sed 's/^/| /' conftest.$ac_ext >&5
38018 wx_cv_func_backtrace=no
38022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38024 ac_cpp='$CPP $CPPFLAGS'
38025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38032 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38033 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
38036 if test "$wx_cv_func_backtrace" = "no"; then
38037 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38038 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38039 wxUSE_STACKWALKER=no
38041 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38042 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
38043 if test "${wx_cv_func_cxa_demangle+set}" = set; then
38044 echo $ECHO_N "(cached) $ECHO_C" >&6
38048 ac_cpp='$CXXCPP $CPPFLAGS'
38049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38053 cat >conftest.$ac_ext <<_ACEOF
38056 cat confdefs.h >>conftest.$ac_ext
38057 cat >>conftest.$ac_ext <<_ACEOF
38058 /* end confdefs.h. */
38059 #include <cxxabi.h>
38065 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38071 rm -f conftest.$ac_objext conftest$ac_exeext
38072 if { (ac_try="$ac_link"
38073 case "(($ac_try" in
38074 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38075 *) ac_try_echo
=$ac_try;;
38077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38078 (eval "$ac_link") 2>conftest.er1
38080 grep -v '^ *+' conftest.er1
>conftest.err
38082 cat conftest.err
>&5
38083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38084 (exit $ac_status); } && {
38085 test -z "$ac_cxx_werror_flag" ||
38086 test ! -s conftest.err
38087 } && test -s conftest
$ac_exeext &&
38088 $as_test_x conftest
$ac_exeext; then
38089 wx_cv_func_cxa_demangle
=yes
38091 echo "$as_me: failed program was:" >&5
38092 sed 's/^/| /' conftest.
$ac_ext >&5
38094 wx_cv_func_cxa_demangle
=no
38098 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38099 conftest
$ac_exeext conftest.
$ac_ext
38101 ac_cpp
='$CPP $CPPFLAGS'
38102 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38103 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38104 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38109 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
38110 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
38112 if test "$wx_cv_func_cxa_demangle" = "yes"; then
38113 cat >>confdefs.h
<<\_ACEOF
38114 #define HAVE_CXA_DEMANGLE 1
38121 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
38122 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
38123 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
38124 wxUSE_STACKWALKER
=no
38130 for ac_func
in mkstemp mktemp
38132 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38133 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38135 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38136 echo $ECHO_N "(cached) $ECHO_C" >&6
38138 cat >conftest.
$ac_ext <<_ACEOF
38141 cat confdefs.h
>>conftest.
$ac_ext
38142 cat >>conftest.
$ac_ext <<_ACEOF
38143 /* end confdefs.h. */
38144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38146 #define $ac_func innocuous_$ac_func
38148 /* System header to define __stub macros and hopefully few prototypes,
38149 which can conflict with char $ac_func (); below.
38150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38151 <limits.h> exists even on freestanding compilers. */
38154 # include <limits.h>
38156 # include <assert.h>
38161 /* Override any GCC internal prototype to avoid an error.
38162 Use char because int might match the return type of a GCC
38163 builtin and then its argument prototype would still apply. */
38168 /* The GNU C library defines this for functions which it implements
38169 to always fail with ENOSYS. Some functions are actually named
38170 something starting with __ and the normal name is an alias. */
38171 #if defined __stub_$ac_func || defined __stub___$ac_func
38178 return $ac_func ();
38183 rm -f conftest.
$ac_objext conftest
$ac_exeext
38184 if { (ac_try
="$ac_link"
38185 case "(($ac_try" in
38186 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38187 *) ac_try_echo=$ac_try;;
38189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38190 (eval "$ac_link") 2>conftest.er1
38192 grep -v '^ *+' conftest.er1 >conftest.err
38194 cat conftest.err >&5
38195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38196 (exit $ac_status); } && {
38197 test -z "$ac_c_werror_flag" ||
38198 test ! -s conftest.err
38199 } && test -s conftest$ac_exeext &&
38200 $as_test_x conftest$ac_exeext; then
38201 eval "$as_ac_var=yes"
38203 echo "$as_me: failed program was:" >&5
38204 sed 's/^/| /' conftest.$ac_ext >&5
38206 eval "$as_ac_var=no"
38209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38210 conftest$ac_exeext conftest.$ac_ext
38212 ac_res=`eval echo '${'$as_ac_var'}'`
38213 { echo "$as_me:$LINENO: result: $ac_res" >&5
38214 echo "${ECHO_T}$ac_res" >&6; }
38215 if test `eval echo '${'$as_ac_var'}'` = yes; then
38216 cat >>confdefs.h <<_ACEOF
38217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38224 { echo "$as_me:$LINENO: checking for statfs" >&5
38225 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
38226 if test "${wx_cv_func_statfs+set}" = set; then
38227 echo $ECHO_N "(cached) $ECHO_C" >&6
38229 cat >conftest.$ac_ext <<_ACEOF
38232 cat confdefs.h >>conftest.$ac_ext
38233 cat >>conftest.$ac_ext <<_ACEOF
38234 /* end confdefs.h. */
38236 #if defined(__BSD__)
38237 #include <sys/param.h>
38238 #include <sys/mount.h>
38240 #include <sys/vfs.h>
38258 rm -f conftest.$ac_objext
38259 if { (ac_try="$ac_compile"
38260 case "(($ac_try" in
38261 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38262 *) ac_try_echo
=$ac_try;;
38264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38265 (eval "$ac_compile") 2>conftest.er1
38267 grep -v '^ *+' conftest.er1
>conftest.err
38269 cat conftest.err
>&5
38270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38271 (exit $ac_status); } && {
38272 test -z "$ac_c_werror_flag" ||
38273 test ! -s conftest.err
38274 } && test -s conftest.
$ac_objext; then
38275 wx_cv_func_statfs
=yes
38277 echo "$as_me: failed program was:" >&5
38278 sed 's/^/| /' conftest.
$ac_ext >&5
38280 wx_cv_func_statfs
=no
38284 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38287 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38288 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
38290 if test "$wx_cv_func_statfs" = "yes"; then
38291 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
38292 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
38293 if test "${wx_cv_func_statfs_decl+set}" = set; then
38294 echo $ECHO_N "(cached) $ECHO_C" >&6
38297 ac_cpp
='$CXXCPP $CPPFLAGS'
38298 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38299 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38300 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38302 cat >conftest.
$ac_ext <<_ACEOF
38305 cat confdefs.h
>>conftest.
$ac_ext
38306 cat >>conftest.
$ac_ext <<_ACEOF
38307 /* end confdefs.h. */
38309 #if defined(__BSD__)
38310 #include <sys/param.h>
38311 #include <sys/mount.h>
38313 #include <sys/vfs.h>
38327 rm -f conftest.
$ac_objext
38328 if { (ac_try
="$ac_compile"
38329 case "(($ac_try" in
38330 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38331 *) ac_try_echo=$ac_try;;
38333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38334 (eval "$ac_compile") 2>conftest.er1
38336 grep -v '^ *+' conftest.er1 >conftest.err
38338 cat conftest.err >&5
38339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38340 (exit $ac_status); } && {
38341 test -z "$ac_cxx_werror_flag" ||
38342 test ! -s conftest.err
38343 } && test -s conftest.$ac_objext; then
38344 wx_cv_func_statfs_decl=yes
38346 echo "$as_me: failed program was:" >&5
38347 sed 's/^/| /' conftest.$ac_ext >&5
38349 wx_cv_func_statfs_decl=no
38353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38355 ac_cpp='$CPP $CPPFLAGS'
38356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38362 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38363 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38365 if test "$wx_cv_func_statfs_decl" = "yes"; then
38366 cat >>confdefs.h <<\_ACEOF
38367 #define HAVE_STATFS_DECL 1
38372 wx_cv_type_statvfs_t="struct statfs"
38373 cat >>confdefs.h <<\_ACEOF
38374 #define HAVE_STATFS 1
38378 { echo "$as_me:$LINENO: checking for statvfs" >&5
38379 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38380 if test "${wx_cv_func_statvfs+set}" = set; then
38381 echo $ECHO_N "(cached) $ECHO_C" >&6
38383 cat >conftest.$ac_ext <<_ACEOF
38386 cat confdefs.h >>conftest.$ac_ext
38387 cat >>conftest.$ac_ext <<_ACEOF
38388 /* end confdefs.h. */
38390 #include <stddef.h>
38391 #include <sys/statvfs.h>
38397 statvfs("/", NULL);
38403 rm -f conftest.$ac_objext
38404 if { (ac_try="$ac_compile"
38405 case "(($ac_try" in
38406 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38407 *) ac_try_echo
=$ac_try;;
38409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38410 (eval "$ac_compile") 2>conftest.er1
38412 grep -v '^ *+' conftest.er1
>conftest.err
38414 cat conftest.err
>&5
38415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38416 (exit $ac_status); } && {
38417 test -z "$ac_c_werror_flag" ||
38418 test ! -s conftest.err
38419 } && test -s conftest.
$ac_objext; then
38420 wx_cv_func_statvfs
=yes
38422 echo "$as_me: failed program was:" >&5
38423 sed 's/^/| /' conftest.
$ac_ext >&5
38425 wx_cv_func_statvfs
=no
38429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38432 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38433 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38435 if test "$wx_cv_func_statvfs" = "yes"; then
38436 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38437 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38438 if test "${wx_cv_type_statvfs_t+set}" = set; then
38439 echo $ECHO_N "(cached) $ECHO_C" >&6
38442 ac_cpp
='$CXXCPP $CPPFLAGS'
38443 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38444 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38445 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38447 cat >conftest.
$ac_ext <<_ACEOF
38450 cat confdefs.h
>>conftest.
$ac_ext
38451 cat >>conftest.
$ac_ext <<_ACEOF
38452 /* end confdefs.h. */
38454 #include <sys/statvfs.h>
38471 rm -f conftest.
$ac_objext
38472 if { (ac_try
="$ac_compile"
38473 case "(($ac_try" in
38474 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38475 *) ac_try_echo=$ac_try;;
38477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38478 (eval "$ac_compile") 2>conftest.er1
38480 grep -v '^ *+' conftest.er1 >conftest.err
38482 cat conftest.err >&5
38483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38484 (exit $ac_status); } && {
38485 test -z "$ac_cxx_werror_flag" ||
38486 test ! -s conftest.err
38487 } && test -s conftest.$ac_objext; then
38488 wx_cv_type_statvfs_t=statvfs_t
38490 echo "$as_me: failed program was:" >&5
38491 sed 's/^/| /' conftest.$ac_ext >&5
38494 cat >conftest.$ac_ext <<_ACEOF
38497 cat confdefs.h >>conftest.$ac_ext
38498 cat >>conftest.$ac_ext <<_ACEOF
38499 /* end confdefs.h. */
38501 #include <sys/statvfs.h>
38518 rm -f conftest.$ac_objext
38519 if { (ac_try="$ac_compile"
38520 case "(($ac_try" in
38521 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38522 *) ac_try_echo
=$ac_try;;
38524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38525 (eval "$ac_compile") 2>conftest.er1
38527 grep -v '^ *+' conftest.er1
>conftest.err
38529 cat conftest.err
>&5
38530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38531 (exit $ac_status); } && {
38532 test -z "$ac_cxx_werror_flag" ||
38533 test ! -s conftest.err
38534 } && test -s conftest.
$ac_objext; then
38535 wx_cv_type_statvfs_t
="struct statvfs"
38537 echo "$as_me: failed program was:" >&5
38538 sed 's/^/| /' conftest.
$ac_ext >&5
38540 wx_cv_type_statvfs_t
="unknown"
38544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38549 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38551 ac_cpp
='$CPP $CPPFLAGS'
38552 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38553 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38554 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38558 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38559 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38561 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38562 cat >>confdefs.h
<<\_ACEOF
38563 #define HAVE_STATVFS 1
38568 wx_cv_type_statvfs_t
="unknown"
38572 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38573 cat >>confdefs.h
<<_ACEOF
38574 #define WX_STATFS_T $wx_cv_type_statvfs_t
38578 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38579 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38582 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38585 for ac_func
in fcntl flock
38587 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38588 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38590 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38591 echo $ECHO_N "(cached) $ECHO_C" >&6
38593 cat >conftest.
$ac_ext <<_ACEOF
38596 cat confdefs.h
>>conftest.
$ac_ext
38597 cat >>conftest.
$ac_ext <<_ACEOF
38598 /* end confdefs.h. */
38599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38601 #define $ac_func innocuous_$ac_func
38603 /* System header to define __stub macros and hopefully few prototypes,
38604 which can conflict with char $ac_func (); below.
38605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38606 <limits.h> exists even on freestanding compilers. */
38609 # include <limits.h>
38611 # include <assert.h>
38616 /* Override any GCC internal prototype to avoid an error.
38617 Use char because int might match the return type of a GCC
38618 builtin and then its argument prototype would still apply. */
38623 /* The GNU C library defines this for functions which it implements
38624 to always fail with ENOSYS. Some functions are actually named
38625 something starting with __ and the normal name is an alias. */
38626 #if defined __stub_$ac_func || defined __stub___$ac_func
38633 return $ac_func ();
38638 rm -f conftest.
$ac_objext conftest
$ac_exeext
38639 if { (ac_try
="$ac_link"
38640 case "(($ac_try" in
38641 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38642 *) ac_try_echo=$ac_try;;
38644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38645 (eval "$ac_link") 2>conftest.er1
38647 grep -v '^ *+' conftest.er1 >conftest.err
38649 cat conftest.err >&5
38650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38651 (exit $ac_status); } && {
38652 test -z "$ac_c_werror_flag" ||
38653 test ! -s conftest.err
38654 } && test -s conftest$ac_exeext &&
38655 $as_test_x conftest$ac_exeext; then
38656 eval "$as_ac_var=yes"
38658 echo "$as_me: failed program was:" >&5
38659 sed 's/^/| /' conftest.$ac_ext >&5
38661 eval "$as_ac_var=no"
38664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38665 conftest$ac_exeext conftest.$ac_ext
38667 ac_res=`eval echo '${'$as_ac_var'}'`
38668 { echo "$as_me:$LINENO: result: $ac_res" >&5
38669 echo "${ECHO_T}$ac_res" >&6; }
38670 if test `eval echo '${'$as_ac_var'}'` = yes; then
38671 cat >>confdefs.h <<_ACEOF
38672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38679 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38680 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38681 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38682 wxUSE_SNGLINST_CHECKER=no
38688 for ac_func in setenv putenv
38690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38691 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38693 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38694 echo $ECHO_N "(cached) $ECHO_C" >&6
38696 cat >conftest.$ac_ext <<_ACEOF
38699 cat confdefs.h >>conftest.$ac_ext
38700 cat >>conftest.$ac_ext <<_ACEOF
38701 /* end confdefs.h. */
38702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38704 #define $ac_func innocuous_$ac_func
38706 /* System header to define __stub macros and hopefully few prototypes,
38707 which can conflict with char $ac_func (); below.
38708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38709 <limits.h> exists even on freestanding compilers. */
38712 # include <limits.h>
38714 # include <assert.h>
38719 /* Override any GCC internal prototype to avoid an error.
38720 Use char because int might match the return type of a GCC
38721 builtin and then its argument prototype would still apply. */
38726 /* The GNU C library defines this for functions which it implements
38727 to always fail with ENOSYS. Some functions are actually named
38728 something starting with __ and the normal name is an alias. */
38729 #if defined __stub_$ac_func || defined __stub___$ac_func
38736 return $ac_func ();
38741 rm -f conftest.$ac_objext conftest$ac_exeext
38742 if { (ac_try="$ac_link"
38743 case "(($ac_try" in
38744 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38745 *) ac_try_echo
=$ac_try;;
38747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38748 (eval "$ac_link") 2>conftest.er1
38750 grep -v '^ *+' conftest.er1
>conftest.err
38752 cat conftest.err
>&5
38753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38754 (exit $ac_status); } && {
38755 test -z "$ac_c_werror_flag" ||
38756 test ! -s conftest.err
38757 } && test -s conftest
$ac_exeext &&
38758 $as_test_x conftest
$ac_exeext; then
38759 eval "$as_ac_var=yes"
38761 echo "$as_me: failed program was:" >&5
38762 sed 's/^/| /' conftest.
$ac_ext >&5
38764 eval "$as_ac_var=no"
38767 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38768 conftest
$ac_exeext conftest.
$ac_ext
38770 ac_res
=`eval echo '${'$as_ac_var'}'`
38771 { echo "$as_me:$LINENO: result: $ac_res" >&5
38772 echo "${ECHO_T}$ac_res" >&6; }
38773 if test `eval echo '${'$as_ac_var'}'` = yes; then
38774 cat >>confdefs.h
<<_ACEOF
38775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38781 if test "$ac_cv_func_setenv" = "yes"; then
38783 for ac_func
in unsetenv
38785 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38786 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38788 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38789 echo $ECHO_N "(cached) $ECHO_C" >&6
38791 cat >conftest.
$ac_ext <<_ACEOF
38794 cat confdefs.h
>>conftest.
$ac_ext
38795 cat >>conftest.
$ac_ext <<_ACEOF
38796 /* end confdefs.h. */
38797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38799 #define $ac_func innocuous_$ac_func
38801 /* System header to define __stub macros and hopefully few prototypes,
38802 which can conflict with char $ac_func (); below.
38803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38804 <limits.h> exists even on freestanding compilers. */
38807 # include <limits.h>
38809 # include <assert.h>
38814 /* Override any GCC internal prototype to avoid an error.
38815 Use char because int might match the return type of a GCC
38816 builtin and then its argument prototype would still apply. */
38821 /* The GNU C library defines this for functions which it implements
38822 to always fail with ENOSYS. Some functions are actually named
38823 something starting with __ and the normal name is an alias. */
38824 #if defined __stub_$ac_func || defined __stub___$ac_func
38831 return $ac_func ();
38836 rm -f conftest.
$ac_objext conftest
$ac_exeext
38837 if { (ac_try
="$ac_link"
38838 case "(($ac_try" in
38839 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38840 *) ac_try_echo=$ac_try;;
38842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38843 (eval "$ac_link") 2>conftest.er1
38845 grep -v '^ *+' conftest.er1 >conftest.err
38847 cat conftest.err >&5
38848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38849 (exit $ac_status); } && {
38850 test -z "$ac_c_werror_flag" ||
38851 test ! -s conftest.err
38852 } && test -s conftest$ac_exeext &&
38853 $as_test_x conftest$ac_exeext; then
38854 eval "$as_ac_var=yes"
38856 echo "$as_me: failed program was:" >&5
38857 sed 's/^/| /' conftest.$ac_ext >&5
38859 eval "$as_ac_var=no"
38862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38863 conftest$ac_exeext conftest.$ac_ext
38865 ac_res=`eval echo '${'$as_ac_var'}'`
38866 { echo "$as_me:$LINENO: result: $ac_res" >&5
38867 echo "${ECHO_T}$ac_res" >&6; }
38868 if test `eval echo '${'$as_ac_var'}'` = yes; then
38869 cat >>confdefs.h <<_ACEOF
38870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38878 HAVE_SOME_SLEEP_FUNC=0
38879 if test "$USE_BEOS" = 1; then
38880 cat >>confdefs.h <<\_ACEOF
38881 #define HAVE_SLEEP 1
38884 HAVE_SOME_SLEEP_FUNC=1
38887 if test "$USE_DARWIN" = 1; then
38888 cat >>confdefs.h <<\_ACEOF
38889 #define HAVE_USLEEP 1
38892 HAVE_SOME_SLEEP_FUNC=1
38895 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38898 for ac_func in nanosleep
38900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38901 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38903 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38904 echo $ECHO_N "(cached) $ECHO_C" >&6
38906 cat >conftest.$ac_ext <<_ACEOF
38909 cat confdefs.h >>conftest.$ac_ext
38910 cat >>conftest.$ac_ext <<_ACEOF
38911 /* end confdefs.h. */
38912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38914 #define $ac_func innocuous_$ac_func
38916 /* System header to define __stub macros and hopefully few prototypes,
38917 which can conflict with char $ac_func (); below.
38918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38919 <limits.h> exists even on freestanding compilers. */
38922 # include <limits.h>
38924 # include <assert.h>
38929 /* Override any GCC internal prototype to avoid an error.
38930 Use char because int might match the return type of a GCC
38931 builtin and then its argument prototype would still apply. */
38936 /* The GNU C library defines this for functions which it implements
38937 to always fail with ENOSYS. Some functions are actually named
38938 something starting with __ and the normal name is an alias. */
38939 #if defined __stub_$ac_func || defined __stub___$ac_func
38946 return $ac_func ();
38951 rm -f conftest.$ac_objext conftest$ac_exeext
38952 if { (ac_try="$ac_link"
38953 case "(($ac_try" in
38954 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38955 *) ac_try_echo
=$ac_try;;
38957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38958 (eval "$ac_link") 2>conftest.er1
38960 grep -v '^ *+' conftest.er1
>conftest.err
38962 cat conftest.err
>&5
38963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38964 (exit $ac_status); } && {
38965 test -z "$ac_c_werror_flag" ||
38966 test ! -s conftest.err
38967 } && test -s conftest
$ac_exeext &&
38968 $as_test_x conftest
$ac_exeext; then
38969 eval "$as_ac_var=yes"
38971 echo "$as_me: failed program was:" >&5
38972 sed 's/^/| /' conftest.
$ac_ext >&5
38974 eval "$as_ac_var=no"
38977 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38978 conftest
$ac_exeext conftest.
$ac_ext
38980 ac_res
=`eval echo '${'$as_ac_var'}'`
38981 { echo "$as_me:$LINENO: result: $ac_res" >&5
38982 echo "${ECHO_T}$ac_res" >&6; }
38983 if test `eval echo '${'$as_ac_var'}'` = yes; then
38984 cat >>confdefs.h
<<_ACEOF
38985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38987 cat >>confdefs.h
<<\_ACEOF
38988 #define HAVE_NANOSLEEP 1
38993 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38994 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38995 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38996 echo $ECHO_N "(cached) $ECHO_C" >&6
38998 ac_check_lib_save_LIBS
=$LIBS
38999 LIBS
="-lposix4 $LIBS"
39000 cat >conftest.
$ac_ext <<_ACEOF
39003 cat confdefs.h
>>conftest.
$ac_ext
39004 cat >>conftest.
$ac_ext <<_ACEOF
39005 /* end confdefs.h. */
39007 /* Override any GCC internal prototype to avoid an error.
39008 Use char because int might match the return type of a GCC
39009 builtin and then its argument prototype would still apply. */
39017 return nanosleep ();
39022 rm -f conftest.
$ac_objext conftest
$ac_exeext
39023 if { (ac_try
="$ac_link"
39024 case "(($ac_try" in
39025 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39026 *) ac_try_echo=$ac_try;;
39028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39029 (eval "$ac_link") 2>conftest.er1
39031 grep -v '^ *+' conftest.er1 >conftest.err
39033 cat conftest.err >&5
39034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39035 (exit $ac_status); } && {
39036 test -z "$ac_c_werror_flag" ||
39037 test ! -s conftest.err
39038 } && test -s conftest$ac_exeext &&
39039 $as_test_x conftest$ac_exeext; then
39040 ac_cv_lib_posix4_nanosleep=yes
39042 echo "$as_me: failed program was:" >&5
39043 sed 's/^/| /' conftest.$ac_ext >&5
39045 ac_cv_lib_posix4_nanosleep=no
39048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39049 conftest$ac_exeext conftest.$ac_ext
39050 LIBS=$ac_check_lib_save_LIBS
39052 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39053 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
39054 if test $ac_cv_lib_posix4_nanosleep = yes; then
39056 cat >>confdefs.h <<\_ACEOF
39057 #define HAVE_NANOSLEEP 1
39060 POSIX4_LINK=" -lposix4"
39065 for wx_func in usleep
39067 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39068 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39069 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39070 echo $ECHO_N "(cached) $ECHO_C" >&6
39073 cat >conftest.$ac_ext <<_ACEOF
39077 cat confdefs.h >>conftest.$ac_ext
39078 cat >>conftest.$ac_ext <<_ACEOF
39079 /* end confdefs.h. */
39082 $ac_includes_default
39098 rm -f conftest.$ac_objext conftest$ac_exeext
39099 if { (ac_try="$ac_link"
39100 case "(($ac_try" in
39101 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39102 *) ac_try_echo
=$ac_try;;
39104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39105 (eval "$ac_link") 2>conftest.er1
39107 grep -v '^ *+' conftest.er1
>conftest.err
39109 cat conftest.err
>&5
39110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39111 (exit $ac_status); } && {
39112 test -z "$ac_c_werror_flag" ||
39113 test ! -s conftest.err
39114 } && test -s conftest
$ac_exeext &&
39115 $as_test_x conftest
$ac_exeext; then
39116 eval wx_cv_func_
$wx_func=yes
39118 echo "$as_me: failed program was:" >&5
39119 sed 's/^/| /' conftest.
$ac_ext >&5
39121 eval wx_cv_func_
$wx_func=no
39124 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39125 conftest
$ac_exeext conftest.
$ac_ext
39128 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39129 { echo "$as_me:$LINENO: result: $ac_res" >&5
39130 echo "${ECHO_T}$ac_res" >&6; }
39132 if eval test \
$wx_cv_func_$wx_func = yes
39134 cat >>confdefs.h
<<_ACEOF
39135 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39141 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39142 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39159 for wx_func
in uname
39161 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39162 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39163 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39164 echo $ECHO_N "(cached) $ECHO_C" >&6
39167 cat >conftest.
$ac_ext <<_ACEOF
39171 cat confdefs.h
>>conftest.
$ac_ext
39172 cat >>conftest.
$ac_ext <<_ACEOF
39173 /* end confdefs.h. */
39175 #include <sys/utsname.h>
39176 $ac_includes_default
39192 rm -f conftest.
$ac_objext conftest
$ac_exeext
39193 if { (ac_try
="$ac_link"
39194 case "(($ac_try" in
39195 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39196 *) ac_try_echo=$ac_try;;
39198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39199 (eval "$ac_link") 2>conftest.er1
39201 grep -v '^ *+' conftest.er1 >conftest.err
39203 cat conftest.err >&5
39204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39205 (exit $ac_status); } && {
39206 test -z "$ac_c_werror_flag" ||
39207 test ! -s conftest.err
39208 } && test -s conftest$ac_exeext &&
39209 $as_test_x conftest$ac_exeext; then
39210 eval wx_cv_func_$wx_func=yes
39212 echo "$as_me: failed program was:" >&5
39213 sed 's/^/| /' conftest.$ac_ext >&5
39215 eval wx_cv_func_$wx_func=no
39218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39219 conftest$ac_exeext conftest.$ac_ext
39222 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39223 { echo "$as_me:$LINENO: result: $ac_res" >&5
39224 echo "${ECHO_T}$ac_res" >&6; }
39226 if eval test \$wx_cv_func_$wx_func = yes
39228 cat >>confdefs.h <<_ACEOF
39229 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39239 if test "$wx_cv_func_uname" != yes; then
39241 for wx_func in gethostname
39243 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39244 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39245 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39246 echo $ECHO_N "(cached) $ECHO_C" >&6
39249 cat >conftest.$ac_ext <<_ACEOF
39253 cat confdefs.h >>conftest.$ac_ext
39254 cat >>conftest.$ac_ext <<_ACEOF
39255 /* end confdefs.h. */
39258 $ac_includes_default
39274 rm -f conftest.$ac_objext conftest$ac_exeext
39275 if { (ac_try="$ac_link"
39276 case "(($ac_try" in
39277 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39278 *) ac_try_echo
=$ac_try;;
39280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39281 (eval "$ac_link") 2>conftest.er1
39283 grep -v '^ *+' conftest.er1
>conftest.err
39285 cat conftest.err
>&5
39286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39287 (exit $ac_status); } && {
39288 test -z "$ac_c_werror_flag" ||
39289 test ! -s conftest.err
39290 } && test -s conftest
$ac_exeext &&
39291 $as_test_x conftest
$ac_exeext; then
39292 eval wx_cv_func_
$wx_func=yes
39294 echo "$as_me: failed program was:" >&5
39295 sed 's/^/| /' conftest.
$ac_ext >&5
39297 eval wx_cv_func_
$wx_func=no
39300 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39301 conftest
$ac_exeext conftest.
$ac_ext
39304 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39305 { echo "$as_me:$LINENO: result: $ac_res" >&5
39306 echo "${ECHO_T}$ac_res" >&6; }
39308 if eval test \
$wx_cv_func_$wx_func = yes
39310 cat >>confdefs.h
<<_ACEOF
39311 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39324 for wx_func
in strtok_r
39326 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39327 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39328 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39329 echo $ECHO_N "(cached) $ECHO_C" >&6
39332 cat >conftest.
$ac_ext <<_ACEOF
39336 cat confdefs.h
>>conftest.
$ac_ext
39337 cat >>conftest.
$ac_ext <<_ACEOF
39338 /* end confdefs.h. */
39341 $ac_includes_default
39357 rm -f conftest.
$ac_objext conftest
$ac_exeext
39358 if { (ac_try
="$ac_link"
39359 case "(($ac_try" in
39360 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39361 *) ac_try_echo=$ac_try;;
39363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39364 (eval "$ac_link") 2>conftest.er1
39366 grep -v '^ *+' conftest.er1 >conftest.err
39368 cat conftest.err >&5
39369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39370 (exit $ac_status); } && {
39371 test -z "$ac_c_werror_flag" ||
39372 test ! -s conftest.err
39373 } && test -s conftest$ac_exeext &&
39374 $as_test_x conftest$ac_exeext; then
39375 eval wx_cv_func_$wx_func=yes
39377 echo "$as_me: failed program was:" >&5
39378 sed 's/^/| /' conftest.$ac_ext >&5
39380 eval wx_cv_func_$wx_func=no
39383 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39384 conftest$ac_exeext conftest.$ac_ext
39387 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39388 { echo "$as_me:$LINENO: result: $ac_res" >&5
39389 echo "${ECHO_T}$ac_res" >&6; }
39391 if eval test \$wx_cv_func_$wx_func = yes
39393 cat >>confdefs.h <<_ACEOF
39394 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39407 for ac_func in inet_addr
39409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39410 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39412 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39413 echo $ECHO_N "(cached) $ECHO_C" >&6
39415 cat >conftest.$ac_ext <<_ACEOF
39418 cat confdefs.h >>conftest.$ac_ext
39419 cat >>conftest.$ac_ext <<_ACEOF
39420 /* end confdefs.h. */
39421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39423 #define $ac_func innocuous_$ac_func
39425 /* System header to define __stub macros and hopefully few prototypes,
39426 which can conflict with char $ac_func (); below.
39427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39428 <limits.h> exists even on freestanding compilers. */
39431 # include <limits.h>
39433 # include <assert.h>
39438 /* Override any GCC internal prototype to avoid an error.
39439 Use char because int might match the return type of a GCC
39440 builtin and then its argument prototype would still apply. */
39445 /* The GNU C library defines this for functions which it implements
39446 to always fail with ENOSYS. Some functions are actually named
39447 something starting with __ and the normal name is an alias. */
39448 #if defined __stub_$ac_func || defined __stub___$ac_func
39455 return $ac_func ();
39460 rm -f conftest.$ac_objext conftest$ac_exeext
39461 if { (ac_try="$ac_link"
39462 case "(($ac_try" in
39463 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39464 *) ac_try_echo
=$ac_try;;
39466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39467 (eval "$ac_link") 2>conftest.er1
39469 grep -v '^ *+' conftest.er1
>conftest.err
39471 cat conftest.err
>&5
39472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39473 (exit $ac_status); } && {
39474 test -z "$ac_c_werror_flag" ||
39475 test ! -s conftest.err
39476 } && test -s conftest
$ac_exeext &&
39477 $as_test_x conftest
$ac_exeext; then
39478 eval "$as_ac_var=yes"
39480 echo "$as_me: failed program was:" >&5
39481 sed 's/^/| /' conftest.
$ac_ext >&5
39483 eval "$as_ac_var=no"
39486 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39487 conftest
$ac_exeext conftest.
$ac_ext
39489 ac_res
=`eval echo '${'$as_ac_var'}'`
39490 { echo "$as_me:$LINENO: result: $ac_res" >&5
39491 echo "${ECHO_T}$ac_res" >&6; }
39492 if test `eval echo '${'$as_ac_var'}'` = yes; then
39493 cat >>confdefs.h
<<_ACEOF
39494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39496 cat >>confdefs.h
<<\_ACEOF
39497 #define HAVE_INET_ADDR 1
39502 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39503 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39504 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39505 echo $ECHO_N "(cached) $ECHO_C" >&6
39507 ac_check_lib_save_LIBS
=$LIBS
39509 cat >conftest.
$ac_ext <<_ACEOF
39512 cat confdefs.h
>>conftest.
$ac_ext
39513 cat >>conftest.
$ac_ext <<_ACEOF
39514 /* end confdefs.h. */
39516 /* Override any GCC internal prototype to avoid an error.
39517 Use char because int might match the return type of a GCC
39518 builtin and then its argument prototype would still apply. */
39526 return inet_addr ();
39531 rm -f conftest.
$ac_objext conftest
$ac_exeext
39532 if { (ac_try
="$ac_link"
39533 case "(($ac_try" in
39534 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39535 *) ac_try_echo=$ac_try;;
39537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39538 (eval "$ac_link") 2>conftest.er1
39540 grep -v '^ *+' conftest.er1 >conftest.err
39542 cat conftest.err >&5
39543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39544 (exit $ac_status); } && {
39545 test -z "$ac_c_werror_flag" ||
39546 test ! -s conftest.err
39547 } && test -s conftest$ac_exeext &&
39548 $as_test_x conftest$ac_exeext; then
39549 ac_cv_lib_nsl_inet_addr=yes
39551 echo "$as_me: failed program was:" >&5
39552 sed 's/^/| /' conftest.$ac_ext >&5
39554 ac_cv_lib_nsl_inet_addr=no
39557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39558 conftest$ac_exeext conftest.$ac_ext
39559 LIBS=$ac_check_lib_save_LIBS
39561 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39562 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39563 if test $ac_cv_lib_nsl_inet_addr = yes; then
39567 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39568 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39569 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39570 echo $ECHO_N "(cached) $ECHO_C" >&6
39572 ac_check_lib_save_LIBS=$LIBS
39573 LIBS="-lresolv $LIBS"
39574 cat >conftest.$ac_ext <<_ACEOF
39577 cat confdefs.h >>conftest.$ac_ext
39578 cat >>conftest.$ac_ext <<_ACEOF
39579 /* end confdefs.h. */
39581 /* Override any GCC internal prototype to avoid an error.
39582 Use char because int might match the return type of a GCC
39583 builtin and then its argument prototype would still apply. */
39591 return inet_addr ();
39596 rm -f conftest.$ac_objext conftest$ac_exeext
39597 if { (ac_try="$ac_link"
39598 case "(($ac_try" in
39599 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39600 *) ac_try_echo
=$ac_try;;
39602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39603 (eval "$ac_link") 2>conftest.er1
39605 grep -v '^ *+' conftest.er1
>conftest.err
39607 cat conftest.err
>&5
39608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39609 (exit $ac_status); } && {
39610 test -z "$ac_c_werror_flag" ||
39611 test ! -s conftest.err
39612 } && test -s conftest
$ac_exeext &&
39613 $as_test_x conftest
$ac_exeext; then
39614 ac_cv_lib_resolv_inet_addr
=yes
39616 echo "$as_me: failed program was:" >&5
39617 sed 's/^/| /' conftest.
$ac_ext >&5
39619 ac_cv_lib_resolv_inet_addr
=no
39622 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39623 conftest
$ac_exeext conftest.
$ac_ext
39624 LIBS
=$ac_check_lib_save_LIBS
39626 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39627 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39628 if test $ac_cv_lib_resolv_inet_addr = yes; then
39632 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39633 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39634 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39635 echo $ECHO_N "(cached) $ECHO_C" >&6
39637 ac_check_lib_save_LIBS
=$LIBS
39638 LIBS
="-lsocket $LIBS"
39639 cat >conftest.
$ac_ext <<_ACEOF
39642 cat confdefs.h
>>conftest.
$ac_ext
39643 cat >>conftest.
$ac_ext <<_ACEOF
39644 /* end confdefs.h. */
39646 /* Override any GCC internal prototype to avoid an error.
39647 Use char because int might match the return type of a GCC
39648 builtin and then its argument prototype would still apply. */
39656 return inet_addr ();
39661 rm -f conftest.
$ac_objext conftest
$ac_exeext
39662 if { (ac_try
="$ac_link"
39663 case "(($ac_try" in
39664 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39665 *) ac_try_echo=$ac_try;;
39667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39668 (eval "$ac_link") 2>conftest.er1
39670 grep -v '^ *+' conftest.er1 >conftest.err
39672 cat conftest.err >&5
39673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39674 (exit $ac_status); } && {
39675 test -z "$ac_c_werror_flag" ||
39676 test ! -s conftest.err
39677 } && test -s conftest$ac_exeext &&
39678 $as_test_x conftest$ac_exeext; then
39679 ac_cv_lib_socket_inet_addr=yes
39681 echo "$as_me: failed program was:" >&5
39682 sed 's/^/| /' conftest.$ac_ext >&5
39684 ac_cv_lib_socket_inet_addr=no
39687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39688 conftest$ac_exeext conftest.$ac_ext
39689 LIBS=$ac_check_lib_save_LIBS
39691 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39692 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39693 if test $ac_cv_lib_socket_inet_addr = yes; then
39713 for ac_func in inet_aton
39715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39716 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39718 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39719 echo $ECHO_N "(cached) $ECHO_C" >&6
39721 cat >conftest.$ac_ext <<_ACEOF
39724 cat confdefs.h >>conftest.$ac_ext
39725 cat >>conftest.$ac_ext <<_ACEOF
39726 /* end confdefs.h. */
39727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39729 #define $ac_func innocuous_$ac_func
39731 /* System header to define __stub macros and hopefully few prototypes,
39732 which can conflict with char $ac_func (); below.
39733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39734 <limits.h> exists even on freestanding compilers. */
39737 # include <limits.h>
39739 # include <assert.h>
39744 /* Override any GCC internal prototype to avoid an error.
39745 Use char because int might match the return type of a GCC
39746 builtin and then its argument prototype would still apply. */
39751 /* The GNU C library defines this for functions which it implements
39752 to always fail with ENOSYS. Some functions are actually named
39753 something starting with __ and the normal name is an alias. */
39754 #if defined __stub_$ac_func || defined __stub___$ac_func
39761 return $ac_func ();
39766 rm -f conftest.$ac_objext conftest$ac_exeext
39767 if { (ac_try="$ac_link"
39768 case "(($ac_try" in
39769 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39770 *) ac_try_echo
=$ac_try;;
39772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39773 (eval "$ac_link") 2>conftest.er1
39775 grep -v '^ *+' conftest.er1
>conftest.err
39777 cat conftest.err
>&5
39778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39779 (exit $ac_status); } && {
39780 test -z "$ac_c_werror_flag" ||
39781 test ! -s conftest.err
39782 } && test -s conftest
$ac_exeext &&
39783 $as_test_x conftest
$ac_exeext; then
39784 eval "$as_ac_var=yes"
39786 echo "$as_me: failed program was:" >&5
39787 sed 's/^/| /' conftest.
$ac_ext >&5
39789 eval "$as_ac_var=no"
39792 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39793 conftest
$ac_exeext conftest.
$ac_ext
39795 ac_res
=`eval echo '${'$as_ac_var'}'`
39796 { echo "$as_me:$LINENO: result: $ac_res" >&5
39797 echo "${ECHO_T}$ac_res" >&6; }
39798 if test `eval echo '${'$as_ac_var'}'` = yes; then
39799 cat >>confdefs.h
<<_ACEOF
39800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39802 cat >>confdefs.h
<<\_ACEOF
39803 #define HAVE_INET_ATON 1
39808 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39809 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39810 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39811 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39812 echo $ECHO_N "(cached) $ECHO_C" >&6
39814 ac_check_lib_save_LIBS
=$LIBS
39815 LIBS
="-l$INET_LINK $LIBS"
39816 cat >conftest.
$ac_ext <<_ACEOF
39819 cat confdefs.h
>>conftest.
$ac_ext
39820 cat >>conftest.
$ac_ext <<_ACEOF
39821 /* end confdefs.h. */
39823 /* Override any GCC internal prototype to avoid an error.
39824 Use char because int might match the return type of a GCC
39825 builtin and then its argument prototype would still apply. */
39833 return inet_aton ();
39838 rm -f conftest.
$ac_objext conftest
$ac_exeext
39839 if { (ac_try
="$ac_link"
39840 case "(($ac_try" in
39841 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39842 *) ac_try_echo=$ac_try;;
39844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39845 (eval "$ac_link") 2>conftest.er1
39847 grep -v '^ *+' conftest.er1 >conftest.err
39849 cat conftest.err >&5
39850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39851 (exit $ac_status); } && {
39852 test -z "$ac_c_werror_flag" ||
39853 test ! -s conftest.err
39854 } && test -s conftest$ac_exeext &&
39855 $as_test_x conftest$ac_exeext; then
39856 eval "$as_ac_Lib=yes"
39858 echo "$as_me: failed program was:" >&5
39859 sed 's/^/| /' conftest.$ac_ext >&5
39861 eval "$as_ac_Lib=no"
39864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39865 conftest$ac_exeext conftest.$ac_ext
39866 LIBS=$ac_check_lib_save_LIBS
39868 ac_res=`eval echo '${'$as_ac_Lib'}'`
39869 { echo "$as_me:$LINENO: result: $ac_res" >&5
39870 echo "${ECHO_T}$ac_res" >&6; }
39871 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39872 cat >>confdefs.h <<\_ACEOF
39873 #define HAVE_INET_ATON 1
39883 if test "x$INET_LINK" != "x"; then
39884 cat >>confdefs.h <<\_ACEOF
39885 #define HAVE_INET_ADDR 1
39888 INET_LINK=" -l$INET_LINK"
39892 for wx_func in fdopen
39894 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39895 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39896 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39897 echo $ECHO_N "(cached) $ECHO_C" >&6
39900 cat >conftest.$ac_ext <<_ACEOF
39904 cat confdefs.h >>conftest.$ac_ext
39905 cat >>conftest.$ac_ext <<_ACEOF
39906 /* end confdefs.h. */
39909 $ac_includes_default
39925 rm -f conftest.$ac_objext conftest$ac_exeext
39926 if { (ac_try="$ac_link"
39927 case "(($ac_try" in
39928 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39929 *) ac_try_echo
=$ac_try;;
39931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39932 (eval "$ac_link") 2>conftest.er1
39934 grep -v '^ *+' conftest.er1
>conftest.err
39936 cat conftest.err
>&5
39937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39938 (exit $ac_status); } && {
39939 test -z "$ac_c_werror_flag" ||
39940 test ! -s conftest.err
39941 } && test -s conftest
$ac_exeext &&
39942 $as_test_x conftest
$ac_exeext; then
39943 eval wx_cv_func_
$wx_func=yes
39945 echo "$as_me: failed program was:" >&5
39946 sed 's/^/| /' conftest.
$ac_ext >&5
39948 eval wx_cv_func_
$wx_func=no
39951 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39952 conftest
$ac_exeext conftest.
$ac_ext
39955 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39956 { echo "$as_me:$LINENO: result: $ac_res" >&5
39957 echo "${ECHO_T}$ac_res" >&6; }
39959 if eval test \
$wx_cv_func_$wx_func = yes
39961 cat >>confdefs.h
<<_ACEOF
39962 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39973 if test "$wxUSE_TARSTREAM" = "yes"; then
39975 for wx_func
in sysconf
39977 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39978 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39979 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39980 echo $ECHO_N "(cached) $ECHO_C" >&6
39983 cat >conftest.
$ac_ext <<_ACEOF
39987 cat confdefs.h
>>conftest.
$ac_ext
39988 cat >>conftest.
$ac_ext <<_ACEOF
39989 /* end confdefs.h. */
39992 $ac_includes_default
40008 rm -f conftest.
$ac_objext conftest
$ac_exeext
40009 if { (ac_try
="$ac_link"
40010 case "(($ac_try" in
40011 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40012 *) ac_try_echo=$ac_try;;
40014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40015 (eval "$ac_link") 2>conftest.er1
40017 grep -v '^ *+' conftest.er1 >conftest.err
40019 cat conftest.err >&5
40020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40021 (exit $ac_status); } && {
40022 test -z "$ac_c_werror_flag" ||
40023 test ! -s conftest.err
40024 } && test -s conftest$ac_exeext &&
40025 $as_test_x conftest$ac_exeext; then
40026 eval wx_cv_func_$wx_func=yes
40028 echo "$as_me: failed program was:" >&5
40029 sed 's/^/| /' conftest.$ac_ext >&5
40031 eval wx_cv_func_$wx_func=no
40034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40035 conftest$ac_exeext conftest.$ac_ext
40038 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40039 { echo "$as_me:$LINENO: result: $ac_res" >&5
40040 echo "${ECHO_T}$ac_res" >&6; }
40042 if eval test \$wx_cv_func_$wx_func = yes
40044 cat >>confdefs.h <<_ACEOF
40045 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40057 for wx_func in getpwuid_r
40059 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40060 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40061 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40062 echo $ECHO_N "(cached) $ECHO_C" >&6
40065 cat >conftest.$ac_ext <<_ACEOF
40069 cat confdefs.h >>conftest.$ac_ext
40070 cat >>conftest.$ac_ext <<_ACEOF
40071 /* end confdefs.h. */
40077 $ac_includes_default
40087 struct passwd pw, *ppw;
40089 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
40097 rm -f conftest.$ac_objext conftest$ac_exeext
40098 if { (ac_try="$ac_link"
40099 case "(($ac_try" in
40100 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40101 *) ac_try_echo
=$ac_try;;
40103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40104 (eval "$ac_link") 2>conftest.er1
40106 grep -v '^ *+' conftest.er1
>conftest.err
40108 cat conftest.err
>&5
40109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40110 (exit $ac_status); } && {
40111 test -z "$ac_c_werror_flag" ||
40112 test ! -s conftest.err
40113 } && test -s conftest
$ac_exeext &&
40114 $as_test_x conftest
$ac_exeext; then
40115 eval wx_cv_func_
$wx_func=yes
40117 echo "$as_me: failed program was:" >&5
40118 sed 's/^/| /' conftest.
$ac_ext >&5
40120 eval wx_cv_func_
$wx_func=no
40123 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40124 conftest
$ac_exeext conftest.
$ac_ext
40127 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40128 { echo "$as_me:$LINENO: result: $ac_res" >&5
40129 echo "${ECHO_T}$ac_res" >&6; }
40131 if eval test \
$wx_cv_func_$wx_func = yes
40133 cat >>confdefs.h
<<_ACEOF
40134 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40146 for wx_func
in getgrgid_r
40148 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40149 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40150 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40151 echo $ECHO_N "(cached) $ECHO_C" >&6
40154 cat >conftest.
$ac_ext <<_ACEOF
40158 cat confdefs.h
>>conftest.
$ac_ext
40159 cat >>conftest.
$ac_ext <<_ACEOF
40160 /* end confdefs.h. */
40166 $ac_includes_default
40176 struct group grp, *pgrp;
40178 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
40186 rm -f conftest.
$ac_objext conftest
$ac_exeext
40187 if { (ac_try
="$ac_link"
40188 case "(($ac_try" in
40189 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40190 *) ac_try_echo=$ac_try;;
40192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40193 (eval "$ac_link") 2>conftest.er1
40195 grep -v '^ *+' conftest.er1 >conftest.err
40197 cat conftest.err >&5
40198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40199 (exit $ac_status); } && {
40200 test -z "$ac_c_werror_flag" ||
40201 test ! -s conftest.err
40202 } && test -s conftest$ac_exeext &&
40203 $as_test_x conftest$ac_exeext; then
40204 eval wx_cv_func_$wx_func=yes
40206 echo "$as_me: failed program was:" >&5
40207 sed 's/^/| /' conftest.$ac_ext >&5
40209 eval wx_cv_func_$wx_func=no
40212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40213 conftest$ac_exeext conftest.$ac_ext
40216 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40217 { echo "$as_me:$LINENO: result: $ac_res" >&5
40218 echo "${ECHO_T}$ac_res" >&6; }
40220 if eval test \$wx_cv_func_$wx_func = yes
40222 cat >>confdefs.h <<_ACEOF
40223 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40239 cat >confcache <<\_ACEOF
40240 # This file is a shell script that caches the results of configure
40241 # tests run on this system so they can be shared between configure
40242 # scripts and configure runs, see configure's option --config-cache.
40243 # It is not useful on other systems. If it contains results you don't
40244 # want to keep, you may remove or edit it.
40246 # config.status only pays attention to the cache file if you give it
40247 # the --recheck option to rerun configure.
40249 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
40250 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40251 # following values.
40255 # The following way of writing the cache mishandles newlines in values,
40256 # but we know of no workaround that is simple, portable, and efficient.
40257 # So, we kill variables containing newlines.
40258 # Ultrix sh set writes to stderr and can't be redirected directly,
40259 # and sets the high bit in the cache file unless we assign to the vars.
40261 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40262 eval ac_val
=\$
$ac_var
40266 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40267 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40270 _
| IFS
| as_nl
) ;; #(
40271 *) $as_unset $ac_var ;;
40277 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40278 *${as_nl}ac_space
=\
*)
40279 # `set' does not quote correctly, so add quotes (double-quote
40280 # substitution turns \\\\ into \\, and sed turns \\ into \).
40283 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40286 # `set' quotes correctly as required by POSIX, so do not add quotes.
40287 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40296 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40298 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40300 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
40301 if test -w "$cache_file"; then
40302 test "x$cache_file" != "x/dev/null" &&
40303 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40304 echo "$as_me: updating cache $cache_file" >&6;}
40305 cat confcache
>$cache_file
40307 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40308 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40314 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40320 if test "$wxUSE_THREADS" = "yes" ; then
40321 if test "$USE_BEOS" = 1; then
40322 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40323 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40328 if test "$wxUSE_THREADS" = "yes" ; then
40331 THREAD_OPTS
="-pthread"
40332 if test "x$SUNCXX" = xyes
; then
40333 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
40337 *-*-solaris2* | *-*-sunos4* )
40338 if test "x$GCC" = "xyes"; then
40339 THREAD_OPTS
="-pthreads $THREAD_OPTS"
40343 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
40345 *-*-darwin* | *-*-cygwin* )
40349 THREAD_OPTS
="pthreads"
40352 if test "x$GCC" = "xyes"; then
40353 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
40361 if test "x$GCC" = "xyes"; then
40371 if test "x$GCC" != "xyes"; then
40372 THREAD_OPTS
="-Ethread"
40379 THREAD_OPTS
="none pthread"
40383 THREAD_OPTS
="$THREAD_OPTS pthread none"
40388 for flag
in $THREAD_OPTS; do
40391 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40392 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40396 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40397 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40398 THREADS_CFLAGS
="$flag"
40402 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40403 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40404 THREADS_LINK
="-l$flag"
40409 save_CFLAGS
="$CFLAGS"
40410 LIBS
="$THREADS_LINK $LIBS"
40411 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
40413 cat >conftest.
$ac_ext <<_ACEOF
40416 cat confdefs.h
>>conftest.
$ac_ext
40417 cat >>conftest.
$ac_ext <<_ACEOF
40418 /* end confdefs.h. */
40419 #include <pthread.h>
40423 pthread_create(0,0,0,0);
40428 rm -f conftest.
$ac_objext conftest
$ac_exeext
40429 if { (ac_try
="$ac_link"
40430 case "(($ac_try" in
40431 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40432 *) ac_try_echo=$ac_try;;
40434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40435 (eval "$ac_link") 2>conftest.er1
40437 grep -v '^ *+' conftest.er1 >conftest.err
40439 cat conftest.err >&5
40440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40441 (exit $ac_status); } && {
40442 test -z "$ac_c_werror_flag" ||
40443 test ! -s conftest.err
40444 } && test -s conftest$ac_exeext &&
40445 $as_test_x conftest$ac_exeext; then
40448 echo "$as_me: failed program was:" >&5
40449 sed 's/^/| /' conftest.$ac_ext >&5
40454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40455 conftest$ac_exeext conftest.$ac_ext
40458 CFLAGS="$save_CFLAGS"
40460 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40461 echo "${ECHO_T}$THREADS_OK" >&6; }
40462 if test "x$THREADS_OK" = "xyes"; then
40470 if test "x$THREADS_OK" != "xyes"; then
40472 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40473 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40475 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40476 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40477 LIBS="$THREADS_LINK $LIBS"
40479 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40480 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40484 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40485 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40486 flag="-D_THREAD_SAFE"
40489 flag="-D_THREAD_SAFE"
40492 flag="-D_REENTRANT"
40493 if test "x$GCC" != "xyes"; then
40494 flag="$flag -D_RWSTD_MULTI_THREAD"
40497 *solaris* | alpha*-osf*)
40498 flag="-D_REENTRANT"
40501 { echo "$as_me:$LINENO: result: ${flag}" >&5
40502 echo "${ECHO_T}${flag}" >&6; }
40503 if test "x$flag" != xno; then
40504 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40507 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40511 if test "$wxUSE_THREADS" = "yes" ; then
40513 for ac_func in thr_setconcurrency
40515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40516 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40518 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40519 echo $ECHO_N "(cached) $ECHO_C" >&6
40521 cat >conftest.$ac_ext <<_ACEOF
40524 cat confdefs.h >>conftest.$ac_ext
40525 cat >>conftest.$ac_ext <<_ACEOF
40526 /* end confdefs.h. */
40527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40529 #define $ac_func innocuous_$ac_func
40531 /* System header to define __stub macros and hopefully few prototypes,
40532 which can conflict with char $ac_func (); below.
40533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40534 <limits.h> exists even on freestanding compilers. */
40537 # include <limits.h>
40539 # include <assert.h>
40544 /* Override any GCC internal prototype to avoid an error.
40545 Use char because int might match the return type of a GCC
40546 builtin and then its argument prototype would still apply. */
40551 /* The GNU C library defines this for functions which it implements
40552 to always fail with ENOSYS. Some functions are actually named
40553 something starting with __ and the normal name is an alias. */
40554 #if defined __stub_$ac_func || defined __stub___$ac_func
40561 return $ac_func ();
40566 rm -f conftest.$ac_objext conftest$ac_exeext
40567 if { (ac_try="$ac_link"
40568 case "(($ac_try" in
40569 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40570 *) ac_try_echo
=$ac_try;;
40572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40573 (eval "$ac_link") 2>conftest.er1
40575 grep -v '^ *+' conftest.er1
>conftest.err
40577 cat conftest.err
>&5
40578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40579 (exit $ac_status); } && {
40580 test -z "$ac_c_werror_flag" ||
40581 test ! -s conftest.err
40582 } && test -s conftest
$ac_exeext &&
40583 $as_test_x conftest
$ac_exeext; then
40584 eval "$as_ac_var=yes"
40586 echo "$as_me: failed program was:" >&5
40587 sed 's/^/| /' conftest.
$ac_ext >&5
40589 eval "$as_ac_var=no"
40592 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40593 conftest
$ac_exeext conftest.
$ac_ext
40595 ac_res
=`eval echo '${'$as_ac_var'}'`
40596 { echo "$as_me:$LINENO: result: $ac_res" >&5
40597 echo "${ECHO_T}$ac_res" >&6; }
40598 if test `eval echo '${'$as_ac_var'}'` = yes; then
40599 cat >>confdefs.h
<<_ACEOF
40600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40607 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40608 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40609 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40610 echo $ECHO_N "(cached) $ECHO_C" >&6
40614 ac_cpp
='$CXXCPP $CPPFLAGS'
40615 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40616 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40617 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40619 cat >conftest.
$ac_ext <<_ACEOF
40622 cat confdefs.h
>>conftest.
$ac_ext
40623 cat >>conftest.
$ac_ext <<_ACEOF
40624 /* end confdefs.h. */
40625 #include <pthread.h>
40626 void ThreadCleanupFunc(void *p);
40633 pthread_cleanup_push(ThreadCleanupFunc, p);
40634 pthread_cleanup_pop(0);
40640 rm -f conftest.
$ac_objext
40641 if { (ac_try
="$ac_compile"
40642 case "(($ac_try" in
40643 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40644 *) ac_try_echo=$ac_try;;
40646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40647 (eval "$ac_compile") 2>conftest.er1
40649 grep -v '^ *+' conftest.er1 >conftest.err
40651 cat conftest.err >&5
40652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40653 (exit $ac_status); } && {
40654 test -z "$ac_cxx_werror_flag" ||
40655 test ! -s conftest.err
40656 } && test -s conftest.$ac_objext; then
40658 wx_cv_func_pthread_cleanup=yes
40661 echo "$as_me: failed program was:" >&5
40662 sed 's/^/| /' conftest.$ac_ext >&5
40665 wx_cv_func_pthread_cleanup=no
40670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40672 ac_cpp='$CPP $CPPFLAGS'
40673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40679 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40680 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40681 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40682 cat >>confdefs.h <<\_ACEOF
40683 #define wxHAVE_PTHREAD_CLEANUP 1
40689 for ac_header in sched.h
40691 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40692 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40693 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40694 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40695 echo $ECHO_N "(cached) $ECHO_C" >&6
40697 cat >conftest.$ac_ext <<_ACEOF
40700 cat confdefs.h >>conftest.$ac_ext
40701 cat >>conftest.$ac_ext <<_ACEOF
40702 /* end confdefs.h. */
40703 $ac_includes_default
40705 #include <$ac_header>
40707 rm -f conftest.$ac_objext
40708 if { (ac_try="$ac_compile"
40709 case "(($ac_try" in
40710 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40711 *) ac_try_echo
=$ac_try;;
40713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40714 (eval "$ac_compile") 2>conftest.er1
40716 grep -v '^ *+' conftest.er1
>conftest.err
40718 cat conftest.err
>&5
40719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40720 (exit $ac_status); } && {
40721 test -z "$ac_c_werror_flag" ||
40722 test ! -s conftest.err
40723 } && test -s conftest.
$ac_objext; then
40724 eval "$as_ac_Header=yes"
40726 echo "$as_me: failed program was:" >&5
40727 sed 's/^/| /' conftest.
$ac_ext >&5
40729 eval "$as_ac_Header=no"
40732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40734 ac_res
=`eval echo '${'$as_ac_Header'}'`
40735 { echo "$as_me:$LINENO: result: $ac_res" >&5
40736 echo "${ECHO_T}$ac_res" >&6; }
40737 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40738 cat >>confdefs.h
<<_ACEOF
40739 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40746 if test "$ac_cv_header_sched_h" = "yes"; then
40747 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40748 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40749 if test "${ac_cv_func_sched_yield+set}" = set; then
40750 echo $ECHO_N "(cached) $ECHO_C" >&6
40752 cat >conftest.
$ac_ext <<_ACEOF
40755 cat confdefs.h
>>conftest.
$ac_ext
40756 cat >>conftest.
$ac_ext <<_ACEOF
40757 /* end confdefs.h. */
40758 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40760 #define sched_yield innocuous_sched_yield
40762 /* System header to define __stub macros and hopefully few prototypes,
40763 which can conflict with char sched_yield (); below.
40764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40765 <limits.h> exists even on freestanding compilers. */
40768 # include <limits.h>
40770 # include <assert.h>
40775 /* Override any GCC internal prototype to avoid an error.
40776 Use char because int might match the return type of a GCC
40777 builtin and then its argument prototype would still apply. */
40781 char sched_yield ();
40782 /* The GNU C library defines this for functions which it implements
40783 to always fail with ENOSYS. Some functions are actually named
40784 something starting with __ and the normal name is an alias. */
40785 #if defined __stub_sched_yield || defined __stub___sched_yield
40792 return sched_yield ();
40797 rm -f conftest.
$ac_objext conftest
$ac_exeext
40798 if { (ac_try
="$ac_link"
40799 case "(($ac_try" in
40800 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40801 *) ac_try_echo=$ac_try;;
40803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40804 (eval "$ac_link") 2>conftest.er1
40806 grep -v '^ *+' conftest.er1 >conftest.err
40808 cat conftest.err >&5
40809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40810 (exit $ac_status); } && {
40811 test -z "$ac_c_werror_flag" ||
40812 test ! -s conftest.err
40813 } && test -s conftest$ac_exeext &&
40814 $as_test_x conftest$ac_exeext; then
40815 ac_cv_func_sched_yield=yes
40817 echo "$as_me: failed program was:" >&5
40818 sed 's/^/| /' conftest.$ac_ext >&5
40820 ac_cv_func_sched_yield=no
40823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40824 conftest$ac_exeext conftest.$ac_ext
40826 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40827 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40828 if test $ac_cv_func_sched_yield = yes; then
40829 cat >>confdefs.h <<\_ACEOF
40830 #define HAVE_SCHED_YIELD 1
40835 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40836 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40837 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40838 echo $ECHO_N "(cached) $ECHO_C" >&6
40840 ac_check_lib_save_LIBS=$LIBS
40841 LIBS="-lposix4 $LIBS"
40842 cat >conftest.$ac_ext <<_ACEOF
40845 cat confdefs.h >>conftest.$ac_ext
40846 cat >>conftest.$ac_ext <<_ACEOF
40847 /* end confdefs.h. */
40849 /* Override any GCC internal prototype to avoid an error.
40850 Use char because int might match the return type of a GCC
40851 builtin and then its argument prototype would still apply. */
40855 char sched_yield ();
40859 return sched_yield ();
40864 rm -f conftest.$ac_objext conftest$ac_exeext
40865 if { (ac_try="$ac_link"
40866 case "(($ac_try" in
40867 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40868 *) ac_try_echo
=$ac_try;;
40870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40871 (eval "$ac_link") 2>conftest.er1
40873 grep -v '^ *+' conftest.er1
>conftest.err
40875 cat conftest.err
>&5
40876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40877 (exit $ac_status); } && {
40878 test -z "$ac_c_werror_flag" ||
40879 test ! -s conftest.err
40880 } && test -s conftest
$ac_exeext &&
40881 $as_test_x conftest
$ac_exeext; then
40882 ac_cv_lib_posix4_sched_yield
=yes
40884 echo "$as_me: failed program was:" >&5
40885 sed 's/^/| /' conftest.
$ac_ext >&5
40887 ac_cv_lib_posix4_sched_yield
=no
40890 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40891 conftest
$ac_exeext conftest.
$ac_ext
40892 LIBS
=$ac_check_lib_save_LIBS
40894 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40895 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40896 if test $ac_cv_lib_posix4_sched_yield = yes; then
40897 cat >>confdefs.h
<<\_ACEOF
40898 #define HAVE_SCHED_YIELD 1
40900 POSIX4_LINK
=" -lposix4"
40902 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40903 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40914 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40915 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40916 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40917 echo $ECHO_N "(cached) $ECHO_C" >&6
40919 cat >conftest.
$ac_ext <<_ACEOF
40922 cat confdefs.h
>>conftest.
$ac_ext
40923 cat >>conftest.
$ac_ext <<_ACEOF
40924 /* end confdefs.h. */
40925 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40927 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40929 /* System header to define __stub macros and hopefully few prototypes,
40930 which can conflict with char pthread_attr_getschedpolicy (); below.
40931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40932 <limits.h> exists even on freestanding compilers. */
40935 # include <limits.h>
40937 # include <assert.h>
40940 #undef pthread_attr_getschedpolicy
40942 /* Override any GCC internal prototype to avoid an error.
40943 Use char because int might match the return type of a GCC
40944 builtin and then its argument prototype would still apply. */
40948 char pthread_attr_getschedpolicy ();
40949 /* The GNU C library defines this for functions which it implements
40950 to always fail with ENOSYS. Some functions are actually named
40951 something starting with __ and the normal name is an alias. */
40952 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40959 return pthread_attr_getschedpolicy ();
40964 rm -f conftest.
$ac_objext conftest
$ac_exeext
40965 if { (ac_try
="$ac_link"
40966 case "(($ac_try" in
40967 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40968 *) ac_try_echo=$ac_try;;
40970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40971 (eval "$ac_link") 2>conftest.er1
40973 grep -v '^ *+' conftest.er1 >conftest.err
40975 cat conftest.err >&5
40976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40977 (exit $ac_status); } && {
40978 test -z "$ac_c_werror_flag" ||
40979 test ! -s conftest.err
40980 } && test -s conftest$ac_exeext &&
40981 $as_test_x conftest$ac_exeext; then
40982 ac_cv_func_pthread_attr_getschedpolicy=yes
40984 echo "$as_me: failed program was:" >&5
40985 sed 's/^/| /' conftest.$ac_ext >&5
40987 ac_cv_func_pthread_attr_getschedpolicy=no
40990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40991 conftest$ac_exeext conftest.$ac_ext
40993 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40994 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40995 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40996 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40997 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40998 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40999 echo $ECHO_N "(cached) $ECHO_C" >&6
41001 cat >conftest.$ac_ext <<_ACEOF
41004 cat confdefs.h >>conftest.$ac_ext
41005 cat >>conftest.$ac_ext <<_ACEOF
41006 /* end confdefs.h. */
41007 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41009 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41011 /* System header to define __stub macros and hopefully few prototypes,
41012 which can conflict with char pthread_attr_setschedparam (); below.
41013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41014 <limits.h> exists even on freestanding compilers. */
41017 # include <limits.h>
41019 # include <assert.h>
41022 #undef pthread_attr_setschedparam
41024 /* Override any GCC internal prototype to avoid an error.
41025 Use char because int might match the return type of a GCC
41026 builtin and then its argument prototype would still apply. */
41030 char pthread_attr_setschedparam ();
41031 /* The GNU C library defines this for functions which it implements
41032 to always fail with ENOSYS. Some functions are actually named
41033 something starting with __ and the normal name is an alias. */
41034 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41041 return pthread_attr_setschedparam ();
41046 rm -f conftest.$ac_objext conftest$ac_exeext
41047 if { (ac_try="$ac_link"
41048 case "(($ac_try" in
41049 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41050 *) ac_try_echo
=$ac_try;;
41052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41053 (eval "$ac_link") 2>conftest.er1
41055 grep -v '^ *+' conftest.er1
>conftest.err
41057 cat conftest.err
>&5
41058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41059 (exit $ac_status); } && {
41060 test -z "$ac_c_werror_flag" ||
41061 test ! -s conftest.err
41062 } && test -s conftest
$ac_exeext &&
41063 $as_test_x conftest
$ac_exeext; then
41064 ac_cv_func_pthread_attr_setschedparam
=yes
41066 echo "$as_me: failed program was:" >&5
41067 sed 's/^/| /' conftest.
$ac_ext >&5
41069 ac_cv_func_pthread_attr_setschedparam
=no
41072 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41073 conftest
$ac_exeext conftest.
$ac_ext
41075 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41076 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41077 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41078 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41079 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41080 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41081 echo $ECHO_N "(cached) $ECHO_C" >&6
41083 cat >conftest.
$ac_ext <<_ACEOF
41086 cat confdefs.h
>>conftest.
$ac_ext
41087 cat >>conftest.
$ac_ext <<_ACEOF
41088 /* end confdefs.h. */
41089 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41091 #define sched_get_priority_max innocuous_sched_get_priority_max
41093 /* System header to define __stub macros and hopefully few prototypes,
41094 which can conflict with char sched_get_priority_max (); below.
41095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41096 <limits.h> exists even on freestanding compilers. */
41099 # include <limits.h>
41101 # include <assert.h>
41104 #undef sched_get_priority_max
41106 /* Override any GCC internal prototype to avoid an error.
41107 Use char because int might match the return type of a GCC
41108 builtin and then its argument prototype would still apply. */
41112 char sched_get_priority_max ();
41113 /* The GNU C library defines this for functions which it implements
41114 to always fail with ENOSYS. Some functions are actually named
41115 something starting with __ and the normal name is an alias. */
41116 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41123 return sched_get_priority_max ();
41128 rm -f conftest.
$ac_objext conftest
$ac_exeext
41129 if { (ac_try
="$ac_link"
41130 case "(($ac_try" in
41131 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41132 *) ac_try_echo=$ac_try;;
41134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41135 (eval "$ac_link") 2>conftest.er1
41137 grep -v '^ *+' conftest.er1 >conftest.err
41139 cat conftest.err >&5
41140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41141 (exit $ac_status); } && {
41142 test -z "$ac_c_werror_flag" ||
41143 test ! -s conftest.err
41144 } && test -s conftest$ac_exeext &&
41145 $as_test_x conftest$ac_exeext; then
41146 ac_cv_func_sched_get_priority_max=yes
41148 echo "$as_me: failed program was:" >&5
41149 sed 's/^/| /' conftest.$ac_ext >&5
41151 ac_cv_func_sched_get_priority_max=no
41154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41155 conftest$ac_exeext conftest.$ac_ext
41157 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41158 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41159 if test $ac_cv_func_sched_get_priority_max = yes; then
41162 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41163 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41164 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41165 echo $ECHO_N "(cached) $ECHO_C" >&6
41167 ac_check_lib_save_LIBS=$LIBS
41168 LIBS="-lposix4 $LIBS"
41169 cat >conftest.$ac_ext <<_ACEOF
41172 cat confdefs.h >>conftest.$ac_ext
41173 cat >>conftest.$ac_ext <<_ACEOF
41174 /* end confdefs.h. */
41176 /* Override any GCC internal prototype to avoid an error.
41177 Use char because int might match the return type of a GCC
41178 builtin and then its argument prototype would still apply. */
41182 char sched_get_priority_max ();
41186 return sched_get_priority_max ();
41191 rm -f conftest.$ac_objext conftest$ac_exeext
41192 if { (ac_try="$ac_link"
41193 case "(($ac_try" in
41194 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41195 *) ac_try_echo
=$ac_try;;
41197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41198 (eval "$ac_link") 2>conftest.er1
41200 grep -v '^ *+' conftest.er1
>conftest.err
41202 cat conftest.err
>&5
41203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41204 (exit $ac_status); } && {
41205 test -z "$ac_c_werror_flag" ||
41206 test ! -s conftest.err
41207 } && test -s conftest
$ac_exeext &&
41208 $as_test_x conftest
$ac_exeext; then
41209 ac_cv_lib_posix4_sched_get_priority_max
=yes
41211 echo "$as_me: failed program was:" >&5
41212 sed 's/^/| /' conftest.
$ac_ext >&5
41214 ac_cv_lib_posix4_sched_get_priority_max
=no
41217 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41218 conftest
$ac_exeext conftest.
$ac_ext
41219 LIBS
=$ac_check_lib_save_LIBS
41221 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41222 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41223 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41226 POSIX4_LINK
=" -lposix4"
41240 if test "$HAVE_PRIOR_FUNCS" = 1; then
41241 cat >>confdefs.h
<<\_ACEOF
41242 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41246 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41247 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41250 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41251 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41252 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41253 echo $ECHO_N "(cached) $ECHO_C" >&6
41255 cat >conftest.
$ac_ext <<_ACEOF
41258 cat confdefs.h
>>conftest.
$ac_ext
41259 cat >>conftest.
$ac_ext <<_ACEOF
41260 /* end confdefs.h. */
41261 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41263 #define pthread_cancel innocuous_pthread_cancel
41265 /* System header to define __stub macros and hopefully few prototypes,
41266 which can conflict with char pthread_cancel (); below.
41267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41268 <limits.h> exists even on freestanding compilers. */
41271 # include <limits.h>
41273 # include <assert.h>
41276 #undef pthread_cancel
41278 /* Override any GCC internal prototype to avoid an error.
41279 Use char because int might match the return type of a GCC
41280 builtin and then its argument prototype would still apply. */
41284 char pthread_cancel ();
41285 /* The GNU C library defines this for functions which it implements
41286 to always fail with ENOSYS. Some functions are actually named
41287 something starting with __ and the normal name is an alias. */
41288 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41295 return pthread_cancel ();
41300 rm -f conftest.
$ac_objext conftest
$ac_exeext
41301 if { (ac_try
="$ac_link"
41302 case "(($ac_try" in
41303 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41304 *) ac_try_echo=$ac_try;;
41306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41307 (eval "$ac_link") 2>conftest.er1
41309 grep -v '^ *+' conftest.er1 >conftest.err
41311 cat conftest.err >&5
41312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41313 (exit $ac_status); } && {
41314 test -z "$ac_c_werror_flag" ||
41315 test ! -s conftest.err
41316 } && test -s conftest$ac_exeext &&
41317 $as_test_x conftest$ac_exeext; then
41318 ac_cv_func_pthread_cancel=yes
41320 echo "$as_me: failed program was:" >&5
41321 sed 's/^/| /' conftest.$ac_ext >&5
41323 ac_cv_func_pthread_cancel=no
41326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41327 conftest$ac_exeext conftest.$ac_ext
41329 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41330 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41331 if test $ac_cv_func_pthread_cancel = yes; then
41332 cat >>confdefs.h <<\_ACEOF
41333 #define HAVE_PTHREAD_CANCEL 1
41337 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41338 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41342 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41343 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41344 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41345 echo $ECHO_N "(cached) $ECHO_C" >&6
41347 cat >conftest.$ac_ext <<_ACEOF
41350 cat confdefs.h >>conftest.$ac_ext
41351 cat >>conftest.$ac_ext <<_ACEOF
41352 /* end confdefs.h. */
41353 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41355 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41357 /* System header to define __stub macros and hopefully few prototypes,
41358 which can conflict with char pthread_mutex_timedlock (); below.
41359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41360 <limits.h> exists even on freestanding compilers. */
41363 # include <limits.h>
41365 # include <assert.h>
41368 #undef pthread_mutex_timedlock
41370 /* Override any GCC internal prototype to avoid an error.
41371 Use char because int might match the return type of a GCC
41372 builtin and then its argument prototype would still apply. */
41376 char pthread_mutex_timedlock ();
41377 /* The GNU C library defines this for functions which it implements
41378 to always fail with ENOSYS. Some functions are actually named
41379 something starting with __ and the normal name is an alias. */
41380 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41387 return pthread_mutex_timedlock ();
41392 rm -f conftest.$ac_objext conftest$ac_exeext
41393 if { (ac_try="$ac_link"
41394 case "(($ac_try" in
41395 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41396 *) ac_try_echo
=$ac_try;;
41398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41399 (eval "$ac_link") 2>conftest.er1
41401 grep -v '^ *+' conftest.er1
>conftest.err
41403 cat conftest.err
>&5
41404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41405 (exit $ac_status); } && {
41406 test -z "$ac_c_werror_flag" ||
41407 test ! -s conftest.err
41408 } && test -s conftest
$ac_exeext &&
41409 $as_test_x conftest
$ac_exeext; then
41410 ac_cv_func_pthread_mutex_timedlock
=yes
41412 echo "$as_me: failed program was:" >&5
41413 sed 's/^/| /' conftest.
$ac_ext >&5
41415 ac_cv_func_pthread_mutex_timedlock
=no
41418 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41419 conftest
$ac_exeext conftest.
$ac_ext
41421 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41422 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41423 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41424 cat >>confdefs.h
<<\_ACEOF
41425 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41429 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41430 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41434 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41435 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41436 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41437 echo $ECHO_N "(cached) $ECHO_C" >&6
41439 cat >conftest.
$ac_ext <<_ACEOF
41442 cat confdefs.h
>>conftest.
$ac_ext
41443 cat >>conftest.
$ac_ext <<_ACEOF
41444 /* end confdefs.h. */
41445 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41447 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41449 /* System header to define __stub macros and hopefully few prototypes,
41450 which can conflict with char pthread_attr_setstacksize (); below.
41451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41452 <limits.h> exists even on freestanding compilers. */
41455 # include <limits.h>
41457 # include <assert.h>
41460 #undef pthread_attr_setstacksize
41462 /* Override any GCC internal prototype to avoid an error.
41463 Use char because int might match the return type of a GCC
41464 builtin and then its argument prototype would still apply. */
41468 char pthread_attr_setstacksize ();
41469 /* The GNU C library defines this for functions which it implements
41470 to always fail with ENOSYS. Some functions are actually named
41471 something starting with __ and the normal name is an alias. */
41472 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41479 return pthread_attr_setstacksize ();
41484 rm -f conftest.
$ac_objext conftest
$ac_exeext
41485 if { (ac_try
="$ac_link"
41486 case "(($ac_try" in
41487 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41488 *) ac_try_echo=$ac_try;;
41490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41491 (eval "$ac_link") 2>conftest.er1
41493 grep -v '^ *+' conftest.er1 >conftest.err
41495 cat conftest.err >&5
41496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41497 (exit $ac_status); } && {
41498 test -z "$ac_c_werror_flag" ||
41499 test ! -s conftest.err
41500 } && test -s conftest$ac_exeext &&
41501 $as_test_x conftest$ac_exeext; then
41502 ac_cv_func_pthread_attr_setstacksize=yes
41504 echo "$as_me: failed program was:" >&5
41505 sed 's/^/| /' conftest.$ac_ext >&5
41507 ac_cv_func_pthread_attr_setstacksize=no
41510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41511 conftest$ac_exeext conftest.$ac_ext
41513 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41514 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41515 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41516 cat >>confdefs.h <<\_ACEOF
41517 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41524 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41525 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41526 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41527 echo $ECHO_N "(cached) $ECHO_C" >&6
41530 cat >conftest.$ac_ext <<_ACEOF
41533 cat confdefs.h >>conftest.$ac_ext
41534 cat >>conftest.$ac_ext <<_ACEOF
41535 /* end confdefs.h. */
41536 #include <pthread.h>
41541 pthread_mutexattr_t attr;
41542 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41548 rm -f conftest.$ac_objext
41549 if { (ac_try="$ac_compile"
41550 case "(($ac_try" in
41551 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41552 *) ac_try_echo
=$ac_try;;
41554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41555 (eval "$ac_compile") 2>conftest.er1
41557 grep -v '^ *+' conftest.er1
>conftest.err
41559 cat conftest.err
>&5
41560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41561 (exit $ac_status); } && {
41562 test -z "$ac_c_werror_flag" ||
41563 test ! -s conftest.err
41564 } && test -s conftest.
$ac_objext; then
41565 wx_cv_type_pthread_mutexattr_t
=yes
41567 echo "$as_me: failed program was:" >&5
41568 sed 's/^/| /' conftest.
$ac_ext >&5
41570 wx_cv_type_pthread_mutexattr_t
=no
41574 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41577 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41578 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41580 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41581 cat >>confdefs.h
<<\_ACEOF
41582 #define HAVE_PTHREAD_MUTEXATTR_T 1
41586 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41587 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41588 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41589 echo $ECHO_N "(cached) $ECHO_C" >&6
41592 cat >conftest.
$ac_ext <<_ACEOF
41595 cat confdefs.h
>>conftest.
$ac_ext
41596 cat >>conftest.
$ac_ext <<_ACEOF
41597 /* end confdefs.h. */
41598 #include <pthread.h>
41603 pthread_mutexattr_t attr;
41604 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41610 rm -f conftest.
$ac_objext
41611 if { (ac_try
="$ac_compile"
41612 case "(($ac_try" in
41613 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41614 *) ac_try_echo=$ac_try;;
41616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41617 (eval "$ac_compile") 2>conftest.er1
41619 grep -v '^ *+' conftest.er1 >conftest.err
41621 cat conftest.err >&5
41622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41623 (exit $ac_status); } && {
41624 test -z "$ac_c_werror_flag" ||
41625 test ! -s conftest.err
41626 } && test -s conftest.$ac_objext; then
41627 wx_cv_func_pthread_mutexattr_settype_decl=yes
41629 echo "$as_me: failed program was:" >&5
41630 sed 's/^/| /' conftest.$ac_ext >&5
41632 wx_cv_func_pthread_mutexattr_settype_decl=no
41636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41639 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41640 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41641 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41642 cat >>confdefs.h <<\_ACEOF
41643 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41648 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41649 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41650 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41651 echo $ECHO_N "(cached) $ECHO_C" >&6
41654 cat >conftest.$ac_ext <<_ACEOF
41657 cat confdefs.h >>conftest.$ac_ext
41658 cat >>conftest.$ac_ext <<_ACEOF
41659 /* end confdefs.h. */
41660 #include <pthread.h>
41665 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41671 rm -f conftest.$ac_objext
41672 if { (ac_try="$ac_compile"
41673 case "(($ac_try" in
41674 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41675 *) ac_try_echo
=$ac_try;;
41677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41678 (eval "$ac_compile") 2>conftest.er1
41680 grep -v '^ *+' conftest.er1
>conftest.err
41682 cat conftest.err
>&5
41683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41684 (exit $ac_status); } && {
41685 test -z "$ac_c_werror_flag" ||
41686 test ! -s conftest.err
41687 } && test -s conftest.
$ac_objext; then
41689 wx_cv_type_pthread_rec_mutex_init
=yes
41692 echo "$as_me: failed program was:" >&5
41693 sed 's/^/| /' conftest.
$ac_ext >&5
41696 wx_cv_type_pthread_rec_mutex_init
=no
41701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41704 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41705 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41706 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41707 cat >>confdefs.h
<<\_ACEOF
41708 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41712 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41713 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41717 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41718 if test "$USE_NETBSD" = 1; then
41719 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41720 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41721 wxUSE_COMPILER_TLS
=no
41723 wxUSE_COMPILER_TLS
=yes
41727 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41728 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41729 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41730 if test "${wx_cv_cc___thread+set}" = set; then
41731 echo $ECHO_N "(cached) $ECHO_C" >&6
41734 cat >conftest.
$ac_ext <<_ACEOF
41737 cat confdefs.h
>>conftest.
$ac_ext
41738 cat >>conftest.
$ac_ext <<_ACEOF
41739 /* end confdefs.h. */
41740 #include <pthread.h>
41745 static __thread int n = 0;
41746 static __thread int *p = 0;
41752 rm -f conftest.
$ac_objext
41753 if { (ac_try
="$ac_compile"
41754 case "(($ac_try" in
41755 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41756 *) ac_try_echo=$ac_try;;
41758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41759 (eval "$ac_compile") 2>conftest.er1
41761 grep -v '^ *+' conftest.er1 >conftest.err
41763 cat conftest.err >&5
41764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41765 (exit $ac_status); } && {
41766 test -z "$ac_c_werror_flag" ||
41767 test ! -s conftest.err
41768 } && test -s conftest.$ac_objext; then
41769 wx_cv_cc___thread=yes
41771 echo "$as_me: failed program was:" >&5
41772 sed 's/^/| /' conftest.$ac_ext >&5
41774 wx_cv_cc___thread=no
41778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41782 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41783 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41785 if test "$wx_cv_cc___thread" = "yes"; then
41791 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41792 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41794 if test "x$GCC" = "xyes" ; then
41796 if test -z "" ; then
41798 ax_gcc_option_test="int main()
41805 ax_gcc_option_test=""
41810 # Dump the test program to file
41811 cat <<EOF > conftest.c
41812 $ax_gcc_option_test
41815 # Dump back the file to the log, useful for debugging purposes
41816 { ac_try='cat conftest.c 1>&5'
41817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41818 (eval $ac_try) 2>&5
41820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41821 (exit $ac_status); }; }
41823 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41825 (eval $ac_try) 2>&5
41827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41828 (exit $ac_status); }; } ; then
41830 { echo "$as_me:$LINENO: result: yes" >&5
41831 echo "${ECHO_T}yes" >&6; }
41833 ax_gcc_version_option=yes
41838 { echo "$as_me:$LINENO: result: no" >&5
41839 echo "${ECHO_T}no" >&6; }
41841 ax_gcc_version_option=no
41849 { echo "$as_me:$LINENO: result: no gcc available" >&5
41850 echo "${ECHO_T}no gcc available" >&6; }
41855 if test "x$GXX" = "xyes"; then
41857 if test "x$ax_gxx_version_option" != "no"; then
41859 { echo "$as_me:$LINENO: checking gxx version" >&5
41860 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41861 if test "${ax_cv_gxx_version+set}" = set; then
41862 echo $ECHO_N "(cached) $ECHO_C" >&6
41865 ax_cv_gxx_version="`$CXX -dumpversion`"
41866 if test "x$ax_cv_gxx_version" = "x"; then
41868 ax_cv_gxx_version=""
41874 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41875 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41876 GXX_VERSION=$ax_cv_gxx_version
41885 if test -n "$ax_cv_gxx_version"; then
41886 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41887 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41888 case "$ax_cv_gxx_version" in
41890 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41891 echo "${ECHO_T}no, it's broken" >&6; }
41892 wx_cv_cc___thread=no
41895 { echo "$as_me:$LINENO: result: yes, it works" >&5
41896 echo "${ECHO_T}yes, it works" >&6; }
41902 if test "$wx_cv_cc___thread" = "yes"; then
41903 cat >>confdefs.h <<\_ACEOF
41904 #define HAVE___THREAD_KEYWORD 1
41912 if test "$wxUSE_THREADS" = "yes" ; then
41914 x86_64-*-mingw32* )
41917 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41918 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41919 if test "${wx_cv_cflags_mthread+set}" = set; then
41920 echo $ECHO_N "(cached) $ECHO_C" >&6
41923 CFLAGS_OLD="$CFLAGS"
41924 CFLAGS="-mthreads $CFLAGS"
41925 cat >conftest.$ac_ext <<_ACEOF
41928 cat confdefs.h >>conftest.$ac_ext
41929 cat >>conftest.$ac_ext <<_ACEOF
41930 /* end confdefs.h. */
41940 rm -f conftest.$ac_objext
41941 if { (ac_try="$ac_compile"
41942 case "(($ac_try" in
41943 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41944 *) ac_try_echo
=$ac_try;;
41946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41947 (eval "$ac_compile") 2>conftest.er1
41949 grep -v '^ *+' conftest.er1
>conftest.err
41951 cat conftest.err
>&5
41952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41953 (exit $ac_status); } && {
41954 test -z "$ac_c_werror_flag" ||
41955 test ! -s conftest.err
41956 } && test -s conftest.
$ac_objext; then
41957 wx_cv_cflags_mthread
=yes
41959 echo "$as_me: failed program was:" >&5
41960 sed 's/^/| /' conftest.
$ac_ext >&5
41962 wx_cv_cflags_mthread
=no
41966 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41970 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41971 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41973 if test "$wx_cv_cflags_mthread" = "yes"; then
41974 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
41975 LDFLAGS
="$LDFLAGS -mthreads"
41977 CFLAGS
="$CFLAGS_OLD"
41981 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41982 LDFLAGS
="$LDFLAGS -Zmt"
41988 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41989 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41990 if test "${ac_cv_func_localtime_r+set}" = set; then
41991 echo $ECHO_N "(cached) $ECHO_C" >&6
41993 cat >conftest.
$ac_ext <<_ACEOF
41996 cat confdefs.h
>>conftest.
$ac_ext
41997 cat >>conftest.
$ac_ext <<_ACEOF
41998 /* end confdefs.h. */
41999 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42001 #define localtime_r innocuous_localtime_r
42003 /* System header to define __stub macros and hopefully few prototypes,
42004 which can conflict with char localtime_r (); below.
42005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42006 <limits.h> exists even on freestanding compilers. */
42009 # include <limits.h>
42011 # include <assert.h>
42016 /* Override any GCC internal prototype to avoid an error.
42017 Use char because int might match the return type of a GCC
42018 builtin and then its argument prototype would still apply. */
42022 char localtime_r ();
42023 /* The GNU C library defines this for functions which it implements
42024 to always fail with ENOSYS. Some functions are actually named
42025 something starting with __ and the normal name is an alias. */
42026 #if defined __stub_localtime_r || defined __stub___localtime_r
42033 return localtime_r ();
42038 rm -f conftest.
$ac_objext conftest
$ac_exeext
42039 if { (ac_try
="$ac_link"
42040 case "(($ac_try" in
42041 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42042 *) ac_try_echo=$ac_try;;
42044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42045 (eval "$ac_link") 2>conftest.er1
42047 grep -v '^ *+' conftest.er1 >conftest.err
42049 cat conftest.err >&5
42050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42051 (exit $ac_status); } && {
42052 test -z "$ac_c_werror_flag" ||
42053 test ! -s conftest.err
42054 } && test -s conftest$ac_exeext &&
42055 $as_test_x conftest$ac_exeext; then
42056 ac_cv_func_localtime_r=yes
42058 echo "$as_me: failed program was:" >&5
42059 sed 's/^/| /' conftest.$ac_ext >&5
42061 ac_cv_func_localtime_r=no
42064 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42065 conftest$ac_exeext conftest.$ac_ext
42067 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42068 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42069 if test $ac_cv_func_localtime_r = yes; then
42070 cat >>confdefs.h <<\_ACEOF
42071 #define HAVE_LOCALTIME_R 1
42076 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42077 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42078 if test "${ac_cv_func_gmtime_r+set}" = set; then
42079 echo $ECHO_N "(cached) $ECHO_C" >&6
42081 cat >conftest.$ac_ext <<_ACEOF
42084 cat confdefs.h >>conftest.$ac_ext
42085 cat >>conftest.$ac_ext <<_ACEOF
42086 /* end confdefs.h. */
42087 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42089 #define gmtime_r innocuous_gmtime_r
42091 /* System header to define __stub macros and hopefully few prototypes,
42092 which can conflict with char gmtime_r (); below.
42093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42094 <limits.h> exists even on freestanding compilers. */
42097 # include <limits.h>
42099 # include <assert.h>
42104 /* Override any GCC internal prototype to avoid an error.
42105 Use char because int might match the return type of a GCC
42106 builtin and then its argument prototype would still apply. */
42111 /* The GNU C library defines this for functions which it implements
42112 to always fail with ENOSYS. Some functions are actually named
42113 something starting with __ and the normal name is an alias. */
42114 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42121 return gmtime_r ();
42126 rm -f conftest.$ac_objext conftest$ac_exeext
42127 if { (ac_try="$ac_link"
42128 case "(($ac_try" in
42129 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42130 *) ac_try_echo
=$ac_try;;
42132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42133 (eval "$ac_link") 2>conftest.er1
42135 grep -v '^ *+' conftest.er1
>conftest.err
42137 cat conftest.err
>&5
42138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42139 (exit $ac_status); } && {
42140 test -z "$ac_c_werror_flag" ||
42141 test ! -s conftest.err
42142 } && test -s conftest
$ac_exeext &&
42143 $as_test_x conftest
$ac_exeext; then
42144 ac_cv_func_gmtime_r
=yes
42146 echo "$as_me: failed program was:" >&5
42147 sed 's/^/| /' conftest.
$ac_ext >&5
42149 ac_cv_func_gmtime_r
=no
42152 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42153 conftest
$ac_exeext conftest.
$ac_ext
42155 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42156 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42157 if test $ac_cv_func_gmtime_r = yes; then
42158 cat >>confdefs.h
<<\_ACEOF
42159 #define HAVE_GMTIME_R 1
42168 ac_cpp
='$CPP $CPPFLAGS'
42169 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42170 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42171 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42173 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42174 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42176 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42177 echo $ECHO_N "(cached) $ECHO_C" >&6
42181 ################################################################
42183 ac_cv_func_which_gethostbyname_r
=unknown
42186 # ONE ARGUMENT (sanity check)
42189 # This should fail, as there is no variant of gethostbyname_r() that takes
42190 # a single argument. If it actually compiles, then we can assume that
42191 # netdb.h is not declaring the function, and the compiler is thereby
42192 # assuming an implicit prototype. In which case, we're out of luck.
42194 cat >conftest.
$ac_ext <<_ACEOF
42197 cat confdefs.h
>>conftest.
$ac_ext
42198 cat >>conftest.
$ac_ext <<_ACEOF
42199 /* end confdefs.h. */
42205 char *name = "www.gnu.org";
42206 (void)gethostbyname_r(name) /* ; */
42212 rm -f conftest.
$ac_objext
42213 if { (ac_try
="$ac_compile"
42214 case "(($ac_try" in
42215 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42216 *) ac_try_echo=$ac_try;;
42218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42219 (eval "$ac_compile") 2>conftest.er1
42221 grep -v '^ *+' conftest.er1 >conftest.err
42223 cat conftest.err >&5
42224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42225 (exit $ac_status); } && {
42226 test -z "$ac_c_werror_flag" ||
42227 test ! -s conftest.err
42228 } && test -s conftest.$ac_objext; then
42229 ac_cv_func_which_gethostbyname_r=no
42231 echo "$as_me: failed program was:" >&5
42232 sed 's/^/| /' conftest.$ac_ext >&5
42237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42244 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42246 cat >conftest.$ac_ext <<_ACEOF
42249 cat confdefs.h >>conftest.$ac_ext
42250 cat >>conftest.$ac_ext <<_ACEOF
42251 /* end confdefs.h. */
42257 char *name = "www.gnu.org";
42258 struct hostent ret, *retp;
42262 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42268 rm -f conftest.$ac_objext
42269 if { (ac_try="$ac_compile"
42270 case "(($ac_try" in
42271 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42272 *) ac_try_echo
=$ac_try;;
42274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42275 (eval "$ac_compile") 2>conftest.er1
42277 grep -v '^ *+' conftest.er1
>conftest.err
42279 cat conftest.err
>&5
42280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42281 (exit $ac_status); } && {
42282 test -z "$ac_c_werror_flag" ||
42283 test ! -s conftest.err
42284 } && test -s conftest.
$ac_objext; then
42285 ac_cv_func_which_gethostbyname_r
=six
42287 echo "$as_me: failed program was:" >&5
42288 sed 's/^/| /' conftest.
$ac_ext >&5
42293 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42302 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42304 cat >conftest.
$ac_ext <<_ACEOF
42307 cat confdefs.h
>>conftest.
$ac_ext
42308 cat >>conftest.
$ac_ext <<_ACEOF
42309 /* end confdefs.h. */
42315 char *name = "www.gnu.org";
42316 struct hostent ret;
42320 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42326 rm -f conftest.
$ac_objext
42327 if { (ac_try
="$ac_compile"
42328 case "(($ac_try" in
42329 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42330 *) ac_try_echo=$ac_try;;
42332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42333 (eval "$ac_compile") 2>conftest.er1
42335 grep -v '^ *+' conftest.er1 >conftest.err
42337 cat conftest.err >&5
42338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42339 (exit $ac_status); } && {
42340 test -z "$ac_c_werror_flag" ||
42341 test ! -s conftest.err
42342 } && test -s conftest.$ac_objext; then
42343 ac_cv_func_which_gethostbyname_r=five
42345 echo "$as_me: failed program was:" >&5
42346 sed 's/^/| /' conftest.$ac_ext >&5
42351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42357 # (e.g. AIX, HP-UX, Tru64)
42360 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42362 cat >conftest.$ac_ext <<_ACEOF
42365 cat confdefs.h >>conftest.$ac_ext
42366 cat >>conftest.$ac_ext <<_ACEOF
42367 /* end confdefs.h. */
42373 char *name = "www.gnu.org";
42374 struct hostent ret;
42375 struct hostent_data data;
42376 (void)gethostbyname_r(name, &ret, &data) /* ; */
42382 rm -f conftest.$ac_objext
42383 if { (ac_try="$ac_compile"
42384 case "(($ac_try" in
42385 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42386 *) ac_try_echo
=$ac_try;;
42388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42389 (eval "$ac_compile") 2>conftest.er1
42391 grep -v '^ *+' conftest.er1
>conftest.err
42393 cat conftest.err
>&5
42394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42395 (exit $ac_status); } && {
42396 test -z "$ac_c_werror_flag" ||
42397 test ! -s conftest.err
42398 } && test -s conftest.
$ac_objext; then
42399 ac_cv_func_which_gethostbyname_r
=three
42401 echo "$as_me: failed program was:" >&5
42402 sed 's/^/| /' conftest.
$ac_ext >&5
42407 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42411 ################################################################
42416 case "$ac_cv_func_which_gethostbyname_r" in
42418 { echo "$as_me:$LINENO: result: three" >&5
42419 echo "${ECHO_T}three" >&6; }
42420 cat >>confdefs.h
<<\_ACEOF
42421 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42427 { echo "$as_me:$LINENO: result: five" >&5
42428 echo "${ECHO_T}five" >&6; }
42429 cat >>confdefs.h
<<\_ACEOF
42430 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42436 { echo "$as_me:$LINENO: result: six" >&5
42437 echo "${ECHO_T}six" >&6; }
42438 cat >>confdefs.h
<<\_ACEOF
42439 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42445 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42446 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42450 { echo "$as_me:$LINENO: result: can't tell" >&5
42451 echo "${ECHO_T}can't tell" >&6; }
42455 { { echo "$as_me:$LINENO: error: internal error" >&5
42456 echo "$as_me: error: internal error" >&2;}
42457 { (exit 1); exit 1; }; }
42462 ac_cpp
='$CPP $CPPFLAGS'
42463 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42464 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42465 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42469 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42470 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42471 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42472 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42473 if test "${ac_cv_func_gethostbyname+set}" = set; then
42474 echo $ECHO_N "(cached) $ECHO_C" >&6
42476 cat >conftest.
$ac_ext <<_ACEOF
42479 cat confdefs.h
>>conftest.
$ac_ext
42480 cat >>conftest.
$ac_ext <<_ACEOF
42481 /* end confdefs.h. */
42482 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42484 #define gethostbyname innocuous_gethostbyname
42486 /* System header to define __stub macros and hopefully few prototypes,
42487 which can conflict with char gethostbyname (); below.
42488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42489 <limits.h> exists even on freestanding compilers. */
42492 # include <limits.h>
42494 # include <assert.h>
42497 #undef gethostbyname
42499 /* Override any GCC internal prototype to avoid an error.
42500 Use char because int might match the return type of a GCC
42501 builtin and then its argument prototype would still apply. */
42505 char gethostbyname ();
42506 /* The GNU C library defines this for functions which it implements
42507 to always fail with ENOSYS. Some functions are actually named
42508 something starting with __ and the normal name is an alias. */
42509 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42516 return gethostbyname ();
42521 rm -f conftest.
$ac_objext conftest
$ac_exeext
42522 if { (ac_try
="$ac_link"
42523 case "(($ac_try" in
42524 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42525 *) ac_try_echo=$ac_try;;
42527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42528 (eval "$ac_link") 2>conftest.er1
42530 grep -v '^ *+' conftest.er1 >conftest.err
42532 cat conftest.err >&5
42533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42534 (exit $ac_status); } && {
42535 test -z "$ac_c_werror_flag" ||
42536 test ! -s conftest.err
42537 } && test -s conftest$ac_exeext &&
42538 $as_test_x conftest$ac_exeext; then
42539 ac_cv_func_gethostbyname=yes
42541 echo "$as_me: failed program was:" >&5
42542 sed 's/^/| /' conftest.$ac_ext >&5
42544 ac_cv_func_gethostbyname=no
42547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42548 conftest$ac_exeext conftest.$ac_ext
42550 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42551 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42552 if test $ac_cv_func_gethostbyname = yes; then
42553 cat >>confdefs.h <<\_ACEOF
42554 #define HAVE_GETHOSTBYNAME 1
42561 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42562 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42563 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42564 echo $ECHO_N "(cached) $ECHO_C" >&6
42568 ac_cpp='$CXXCPP $CPPFLAGS'
42569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42574 cat >conftest.$ac_ext <<_ACEOF
42577 cat confdefs.h >>conftest.$ac_ext
42578 cat >>conftest.$ac_ext <<_ACEOF
42579 /* end confdefs.h. */
42587 struct servent *se, *res;
42590 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42596 rm -f conftest.$ac_objext
42597 if { (ac_try="$ac_compile"
42598 case "(($ac_try" in
42599 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42600 *) ac_try_echo
=$ac_try;;
42602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42603 (eval "$ac_compile") 2>conftest.er1
42605 grep -v '^ *+' conftest.er1
>conftest.err
42607 cat conftest.err
>&5
42608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42609 (exit $ac_status); } && {
42610 test -z "$ac_cxx_werror_flag" ||
42611 test ! -s conftest.err
42612 } && test -s conftest.
$ac_objext; then
42613 ac_cv_func_which_getservbyname_r
=six
42615 echo "$as_me: failed program was:" >&5
42616 sed 's/^/| /' conftest.
$ac_ext >&5
42619 cat >conftest.
$ac_ext <<_ACEOF
42622 cat confdefs.h
>>conftest.
$ac_ext
42623 cat >>conftest.
$ac_ext <<_ACEOF
42624 /* end confdefs.h. */
42632 struct servent *se;
42635 (void) getservbyname_r(name, proto, se, buffer, buflen)
42641 rm -f conftest.
$ac_objext
42642 if { (ac_try
="$ac_compile"
42643 case "(($ac_try" in
42644 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42645 *) ac_try_echo=$ac_try;;
42647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42648 (eval "$ac_compile") 2>conftest.er1
42650 grep -v '^ *+' conftest.er1 >conftest.err
42652 cat conftest.err >&5
42653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42654 (exit $ac_status); } && {
42655 test -z "$ac_cxx_werror_flag" ||
42656 test ! -s conftest.err
42657 } && test -s conftest.$ac_objext; then
42658 ac_cv_func_which_getservbyname_r=five
42660 echo "$as_me: failed program was:" >&5
42661 sed 's/^/| /' conftest.$ac_ext >&5
42664 cat >conftest.$ac_ext <<_ACEOF
42667 cat confdefs.h >>conftest.$ac_ext
42668 cat >>conftest.$ac_ext <<_ACEOF
42669 /* end confdefs.h. */
42677 struct servent *se;
42678 struct servent_data data;
42679 (void) getservbyname_r(name, proto, se, &data);
42685 rm -f conftest.$ac_objext
42686 if { (ac_try="$ac_compile"
42687 case "(($ac_try" in
42688 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42689 *) ac_try_echo
=$ac_try;;
42691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42692 (eval "$ac_compile") 2>conftest.er1
42694 grep -v '^ *+' conftest.er1
>conftest.err
42696 cat conftest.err
>&5
42697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42698 (exit $ac_status); } && {
42699 test -z "$ac_cxx_werror_flag" ||
42700 test ! -s conftest.err
42701 } && test -s conftest.
$ac_objext; then
42702 ac_cv_func_which_getservbyname_r
=four
42704 echo "$as_me: failed program was:" >&5
42705 sed 's/^/| /' conftest.
$ac_ext >&5
42707 ac_cv_func_which_getservbyname_r
=no
42711 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42716 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42721 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42723 ac_cpp
='$CPP $CPPFLAGS'
42724 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42725 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42726 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42731 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42732 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42734 if test $ac_cv_func_which_getservbyname_r = six
; then
42735 cat >>confdefs.h
<<\_ACEOF
42736 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42739 elif test $ac_cv_func_which_getservbyname_r = five
; then
42740 cat >>confdefs.h
<<\_ACEOF
42741 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42744 elif test $ac_cv_func_which_getservbyname_r = four
; then
42745 cat >>confdefs.h
<<\_ACEOF
42746 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42752 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42753 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42755 for ac_func
in getservbyname
42757 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42758 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42760 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42761 echo $ECHO_N "(cached) $ECHO_C" >&6
42763 cat >conftest.
$ac_ext <<_ACEOF
42766 cat confdefs.h
>>conftest.
$ac_ext
42767 cat >>conftest.
$ac_ext <<_ACEOF
42768 /* end confdefs.h. */
42769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42771 #define $ac_func innocuous_$ac_func
42773 /* System header to define __stub macros and hopefully few prototypes,
42774 which can conflict with char $ac_func (); below.
42775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42776 <limits.h> exists even on freestanding compilers. */
42779 # include <limits.h>
42781 # include <assert.h>
42786 /* Override any GCC internal prototype to avoid an error.
42787 Use char because int might match the return type of a GCC
42788 builtin and then its argument prototype would still apply. */
42793 /* The GNU C library defines this for functions which it implements
42794 to always fail with ENOSYS. Some functions are actually named
42795 something starting with __ and the normal name is an alias. */
42796 #if defined __stub_$ac_func || defined __stub___$ac_func
42803 return $ac_func ();
42808 rm -f conftest.
$ac_objext conftest
$ac_exeext
42809 if { (ac_try
="$ac_link"
42810 case "(($ac_try" in
42811 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42812 *) ac_try_echo=$ac_try;;
42814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42815 (eval "$ac_link") 2>conftest.er1
42817 grep -v '^ *+' conftest.er1 >conftest.err
42819 cat conftest.err >&5
42820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42821 (exit $ac_status); } && {
42822 test -z "$ac_c_werror_flag" ||
42823 test ! -s conftest.err
42824 } && test -s conftest$ac_exeext &&
42825 $as_test_x conftest$ac_exeext; then
42826 eval "$as_ac_var=yes"
42828 echo "$as_me: failed program was:" >&5
42829 sed 's/^/| /' conftest.$ac_ext >&5
42831 eval "$as_ac_var=no"
42834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42835 conftest$ac_exeext conftest.$ac_ext
42837 ac_res=`eval echo '${'$as_ac_var'}'`
42838 { echo "$as_me:$LINENO: result: $ac_res" >&5
42839 echo "${ECHO_T}$ac_res" >&6; }
42840 if test `eval echo '${'$as_ac_var'}'` = yes; then
42841 cat >>confdefs.h <<_ACEOF
42842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42844 cat >>confdefs.h <<\_ACEOF
42845 #define HAVE_GETSERVBYNAME 1
42853 if test "$wxUSE_THREADS" = "yes"; then
42854 cat >>confdefs.h <<\_ACEOF
42855 #define wxUSE_THREADS 1
42859 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42861 if test "$wx_cv_func_strtok_r" = "yes"; then
42862 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42863 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42864 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42865 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42866 { echo "$as_me:$LINENO: result: yes" >&5
42867 echo "${ECHO_T}yes" >&6; }
42869 { echo "$as_me:$LINENO: result: no" >&5
42870 echo "${ECHO_T}no" >&6; }
42875 if test "$WXGTK2" = 1 ; then
42876 cat >>confdefs.h <<_ACEOF
42877 #define __WXGTK20__ $WXGTK2
42883 if test "$WXGTK12" = 1 ; then
42884 cat >>confdefs.h <<_ACEOF
42885 #define __WXGTK12__ $WXGTK12
42890 if test "$WXGTK127" = 1 ; then
42891 cat >>confdefs.h <<_ACEOF
42892 #define __WXGTK127__ $WXGTK127
42897 if test "$WXGPE" = 1 ; then
42898 cat >>confdefs.h <<_ACEOF
42899 #define __WXGPE__ $WXGPE
42905 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev
/null
`; then
42906 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42907 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42908 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42912 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42913 wxUSE_DEBUG_INFO=yes
42914 if test "$GCC" = yes; then
42915 DEBUG_CFLAGS="-ggdb"
42919 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42920 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
42922 if test "$wxUSE_GTK" = 1 ; then
42923 if test "x$wxGTK_VERSION" = "x1" ; then
42924 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42929 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42930 cat >>confdefs.h <<\_ACEOF
42931 #define wxUSE_MEMORY_TRACING 1
42934 cat >>confdefs.h <<\_ACEOF
42935 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42938 cat >>confdefs.h <<\_ACEOF
42939 #define wxUSE_DEBUG_NEW_ALWAYS 1
42942 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42945 if test "$wxUSE_DMALLOC" = "yes" ; then
42946 DMALLOC_LIBS="-ldmallocthcxx"
42950 if test "$wxUSE_PROFILE" = "yes" ; then
42951 PROFILE_FLAGS=" -pg"
42954 if test "$GCC" = "yes" ; then
42955 if test "$wxUSE_NO_RTTI" = "yes" ; then
42956 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
42958 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42959 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42961 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42962 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42967 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42970 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42976 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev
/null
`; then
42977 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42978 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42980 if test "$wxUSE_OPTIMISE" = "no" ; then
42981 if test "$GCC" = yes ; then
42982 OPTIMISE_CFLAGS="-O0"
42985 if test "$GCC" = yes ; then
42987 *-pc-os2_emx | *-pc-os2-emx )
42988 OPTIMISE_CFLAGS="-O2"
42991 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42995 OPTIMISE_CFLAGS="-O"
43001 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43002 cat >>confdefs.h <<\_ACEOF
43003 #define WXWIN_COMPATIBILITY_2_6 1
43007 WXWIN_COMPATIBILITY_2_8="yes"
43010 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43011 cat >>confdefs.h <<\_ACEOF
43012 #define WXWIN_COMPATIBILITY_2_8 1
43018 if test "$wxUSE_GUI" = "yes"; then
43019 cat >>confdefs.h <<\_ACEOF
43020 #define wxUSE_GUI 1
43027 if test "$wxUSE_UNIX" = "yes"; then
43028 cat >>confdefs.h <<\_ACEOF
43029 #define wxUSE_UNIX 1
43035 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43039 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43040 if test "$USE_DOS" = 1; then
43044 for ac_func in dlopen
43046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43047 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43049 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43050 echo $ECHO_N "(cached) $ECHO_C" >&6
43052 cat >conftest.$ac_ext <<_ACEOF
43055 cat confdefs.h >>conftest.$ac_ext
43056 cat >>conftest.$ac_ext <<_ACEOF
43057 /* end confdefs.h. */
43058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43060 #define $ac_func innocuous_$ac_func
43062 /* System header to define __stub macros and hopefully few prototypes,
43063 which can conflict with char $ac_func (); below.
43064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43065 <limits.h> exists even on freestanding compilers. */
43068 # include <limits.h>
43070 # include <assert.h>
43075 /* Override any GCC internal prototype to avoid an error.
43076 Use char because int might match the return type of a GCC
43077 builtin and then its argument prototype would still apply. */
43082 /* The GNU C library defines this for functions which it implements
43083 to always fail with ENOSYS. Some functions are actually named
43084 something starting with __ and the normal name is an alias. */
43085 #if defined __stub_$ac_func || defined __stub___$ac_func
43092 return $ac_func ();
43097 rm -f conftest.$ac_objext conftest$ac_exeext
43098 if { (ac_try="$ac_link"
43099 case "(($ac_try" in
43100 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43101 *) ac_try_echo
=$ac_try;;
43103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43104 (eval "$ac_link") 2>conftest.er1
43106 grep -v '^ *+' conftest.er1
>conftest.err
43108 cat conftest.err
>&5
43109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43110 (exit $ac_status); } && {
43111 test -z "$ac_c_werror_flag" ||
43112 test ! -s conftest.err
43113 } && test -s conftest
$ac_exeext &&
43114 $as_test_x conftest
$ac_exeext; then
43115 eval "$as_ac_var=yes"
43117 echo "$as_me: failed program was:" >&5
43118 sed 's/^/| /' conftest.
$ac_ext >&5
43120 eval "$as_ac_var=no"
43123 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43124 conftest
$ac_exeext conftest.
$ac_ext
43126 ac_res
=`eval echo '${'$as_ac_var'}'`
43127 { echo "$as_me:$LINENO: result: $ac_res" >&5
43128 echo "${ECHO_T}$ac_res" >&6; }
43129 if test `eval echo '${'$as_ac_var'}'` = yes; then
43130 cat >>confdefs.h
<<_ACEOF
43131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43134 cat >>confdefs.h
<<\_ACEOF
43135 #define HAVE_DLOPEN 1
43142 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43143 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43144 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43145 echo $ECHO_N "(cached) $ECHO_C" >&6
43147 ac_check_lib_save_LIBS
=$LIBS
43149 cat >conftest.
$ac_ext <<_ACEOF
43152 cat confdefs.h
>>conftest.
$ac_ext
43153 cat >>conftest.
$ac_ext <<_ACEOF
43154 /* end confdefs.h. */
43156 /* Override any GCC internal prototype to avoid an error.
43157 Use char because int might match the return type of a GCC
43158 builtin and then its argument prototype would still apply. */
43171 rm -f conftest.
$ac_objext conftest
$ac_exeext
43172 if { (ac_try
="$ac_link"
43173 case "(($ac_try" in
43174 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43175 *) ac_try_echo=$ac_try;;
43177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43178 (eval "$ac_link") 2>conftest.er1
43180 grep -v '^ *+' conftest.er1 >conftest.err
43182 cat conftest.err >&5
43183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43184 (exit $ac_status); } && {
43185 test -z "$ac_c_werror_flag" ||
43186 test ! -s conftest.err
43187 } && test -s conftest$ac_exeext &&
43188 $as_test_x conftest$ac_exeext; then
43189 ac_cv_lib_dl_dlopen=yes
43191 echo "$as_me: failed program was:" >&5
43192 sed 's/^/| /' conftest.$ac_ext >&5
43194 ac_cv_lib_dl_dlopen=no
43197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43198 conftest$ac_exeext conftest.$ac_ext
43199 LIBS=$ac_check_lib_save_LIBS
43201 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43202 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43203 if test $ac_cv_lib_dl_dlopen = yes; then
43205 cat >>confdefs.h <<\_ACEOF
43206 #define HAVE_DLOPEN 1
43210 DL_LINK=" -ldl$DL_LINK"
43215 for ac_func in shl_load
43217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43218 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43220 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43221 echo $ECHO_N "(cached) $ECHO_C" >&6
43223 cat >conftest.$ac_ext <<_ACEOF
43226 cat confdefs.h >>conftest.$ac_ext
43227 cat >>conftest.$ac_ext <<_ACEOF
43228 /* end confdefs.h. */
43229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43231 #define $ac_func innocuous_$ac_func
43233 /* System header to define __stub macros and hopefully few prototypes,
43234 which can conflict with char $ac_func (); below.
43235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43236 <limits.h> exists even on freestanding compilers. */
43239 # include <limits.h>
43241 # include <assert.h>
43246 /* Override any GCC internal prototype to avoid an error.
43247 Use char because int might match the return type of a GCC
43248 builtin and then its argument prototype would still apply. */
43253 /* The GNU C library defines this for functions which it implements
43254 to always fail with ENOSYS. Some functions are actually named
43255 something starting with __ and the normal name is an alias. */
43256 #if defined __stub_$ac_func || defined __stub___$ac_func
43263 return $ac_func ();
43268 rm -f conftest.$ac_objext conftest$ac_exeext
43269 if { (ac_try="$ac_link"
43270 case "(($ac_try" in
43271 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43272 *) ac_try_echo
=$ac_try;;
43274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43275 (eval "$ac_link") 2>conftest.er1
43277 grep -v '^ *+' conftest.er1
>conftest.err
43279 cat conftest.err
>&5
43280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43281 (exit $ac_status); } && {
43282 test -z "$ac_c_werror_flag" ||
43283 test ! -s conftest.err
43284 } && test -s conftest
$ac_exeext &&
43285 $as_test_x conftest
$ac_exeext; then
43286 eval "$as_ac_var=yes"
43288 echo "$as_me: failed program was:" >&5
43289 sed 's/^/| /' conftest.
$ac_ext >&5
43291 eval "$as_ac_var=no"
43294 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43295 conftest
$ac_exeext conftest.
$ac_ext
43297 ac_res
=`eval echo '${'$as_ac_var'}'`
43298 { echo "$as_me:$LINENO: result: $ac_res" >&5
43299 echo "${ECHO_T}$ac_res" >&6; }
43300 if test `eval echo '${'$as_ac_var'}'` = yes; then
43301 cat >>confdefs.h
<<_ACEOF
43302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43305 cat >>confdefs.h
<<\_ACEOF
43306 #define HAVE_SHL_LOAD 1
43313 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43314 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43315 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43316 echo $ECHO_N "(cached) $ECHO_C" >&6
43318 ac_check_lib_save_LIBS
=$LIBS
43319 LIBS
="-lshl_load $LIBS"
43320 cat >conftest.
$ac_ext <<_ACEOF
43323 cat confdefs.h
>>conftest.
$ac_ext
43324 cat >>conftest.
$ac_ext <<_ACEOF
43325 /* end confdefs.h. */
43327 /* Override any GCC internal prototype to avoid an error.
43328 Use char because int might match the return type of a GCC
43329 builtin and then its argument prototype would still apply. */
43342 rm -f conftest.
$ac_objext conftest
$ac_exeext
43343 if { (ac_try
="$ac_link"
43344 case "(($ac_try" in
43345 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43346 *) ac_try_echo=$ac_try;;
43348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43349 (eval "$ac_link") 2>conftest.er1
43351 grep -v '^ *+' conftest.er1 >conftest.err
43353 cat conftest.err >&5
43354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43355 (exit $ac_status); } && {
43356 test -z "$ac_c_werror_flag" ||
43357 test ! -s conftest.err
43358 } && test -s conftest$ac_exeext &&
43359 $as_test_x conftest$ac_exeext; then
43360 ac_cv_lib_shl_load_dld=yes
43362 echo "$as_me: failed program was:" >&5
43363 sed 's/^/| /' conftest.$ac_ext >&5
43365 ac_cv_lib_shl_load_dld=no
43368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43369 conftest$ac_exeext conftest.$ac_ext
43370 LIBS=$ac_check_lib_save_LIBS
43372 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43373 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43374 if test $ac_cv_lib_shl_load_dld = yes; then
43377 DL_LINK=" -ldld$DL_LINK"
43393 if test "$HAVE_DL_FUNCS" = 1; then
43395 for ac_func in dlerror
43397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43398 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43400 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43401 echo $ECHO_N "(cached) $ECHO_C" >&6
43403 cat >conftest.$ac_ext <<_ACEOF
43406 cat confdefs.h >>conftest.$ac_ext
43407 cat >>conftest.$ac_ext <<_ACEOF
43408 /* end confdefs.h. */
43409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43411 #define $ac_func innocuous_$ac_func
43413 /* System header to define __stub macros and hopefully few prototypes,
43414 which can conflict with char $ac_func (); below.
43415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43416 <limits.h> exists even on freestanding compilers. */
43419 # include <limits.h>
43421 # include <assert.h>
43426 /* Override any GCC internal prototype to avoid an error.
43427 Use char because int might match the return type of a GCC
43428 builtin and then its argument prototype would still apply. */
43433 /* The GNU C library defines this for functions which it implements
43434 to always fail with ENOSYS. Some functions are actually named
43435 something starting with __ and the normal name is an alias. */
43436 #if defined __stub_$ac_func || defined __stub___$ac_func
43443 return $ac_func ();
43448 rm -f conftest.$ac_objext conftest$ac_exeext
43449 if { (ac_try="$ac_link"
43450 case "(($ac_try" in
43451 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43452 *) ac_try_echo
=$ac_try;;
43454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43455 (eval "$ac_link") 2>conftest.er1
43457 grep -v '^ *+' conftest.er1
>conftest.err
43459 cat conftest.err
>&5
43460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43461 (exit $ac_status); } && {
43462 test -z "$ac_c_werror_flag" ||
43463 test ! -s conftest.err
43464 } && test -s conftest
$ac_exeext &&
43465 $as_test_x conftest
$ac_exeext; then
43466 eval "$as_ac_var=yes"
43468 echo "$as_me: failed program was:" >&5
43469 sed 's/^/| /' conftest.
$ac_ext >&5
43471 eval "$as_ac_var=no"
43474 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43475 conftest
$ac_exeext conftest.
$ac_ext
43477 ac_res
=`eval echo '${'$as_ac_var'}'`
43478 { echo "$as_me:$LINENO: result: $ac_res" >&5
43479 echo "${ECHO_T}$ac_res" >&6; }
43480 if test `eval echo '${'$as_ac_var'}'` = yes; then
43481 cat >>confdefs.h
<<_ACEOF
43482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43484 cat >>confdefs.h
<<\_ACEOF
43485 #define HAVE_DLERROR 1
43490 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43491 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43492 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43493 echo $ECHO_N "(cached) $ECHO_C" >&6
43495 ac_check_lib_save_LIBS
=$LIBS
43497 cat >conftest.
$ac_ext <<_ACEOF
43500 cat confdefs.h
>>conftest.
$ac_ext
43501 cat >>conftest.
$ac_ext <<_ACEOF
43502 /* end confdefs.h. */
43504 /* Override any GCC internal prototype to avoid an error.
43505 Use char because int might match the return type of a GCC
43506 builtin and then its argument prototype would still apply. */
43519 rm -f conftest.
$ac_objext conftest
$ac_exeext
43520 if { (ac_try
="$ac_link"
43521 case "(($ac_try" in
43522 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43523 *) ac_try_echo=$ac_try;;
43525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43526 (eval "$ac_link") 2>conftest.er1
43528 grep -v '^ *+' conftest.er1 >conftest.err
43530 cat conftest.err >&5
43531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43532 (exit $ac_status); } && {
43533 test -z "$ac_c_werror_flag" ||
43534 test ! -s conftest.err
43535 } && test -s conftest$ac_exeext &&
43536 $as_test_x conftest$ac_exeext; then
43537 ac_cv_lib_dl_dlerror=yes
43539 echo "$as_me: failed program was:" >&5
43540 sed 's/^/| /' conftest.$ac_ext >&5
43542 ac_cv_lib_dl_dlerror=no
43545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43546 conftest$ac_exeext conftest.$ac_ext
43547 LIBS=$ac_check_lib_save_LIBS
43549 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43550 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43551 if test $ac_cv_lib_dl_dlerror = yes; then
43552 cat >>confdefs.h <<\_ACEOF
43553 #define HAVE_DLERROR 1
43566 if test "$USE_DARWIN" = 1; then
43570 if test "$HAVE_DL_FUNCS" = 0; then
43571 if test "$HAVE_SHL_FUNCS" = 0; then
43572 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43573 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43574 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43575 wxUSE_DYNAMIC_LOADER=no
43576 wxUSE_DYNLIB_CLASS=no
43578 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43579 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43586 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43587 cat >>confdefs.h <<\_ACEOF
43588 #define wxUSE_DYNAMIC_LOADER 1
43592 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43593 cat >>confdefs.h <<\_ACEOF
43594 #define wxUSE_DYNLIB_CLASS 1
43601 if test "$wxUSE_PLUGINS" = "yes" ; then
43602 if test "$wxUSE_SHARED" = "no" ; then
43603 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43604 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43607 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43608 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43609 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43612 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43613 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43614 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43617 if test "$wxUSE_PLUGINS" = "yes" ; then
43618 cat >>confdefs.h <<\_ACEOF
43619 #define wxUSE_PLUGINS 1
43626 if test "$wxUSE_FSWATCHER" = "yes"; then
43627 if test "$wxUSE_MSW" != "1"; then
43628 if test "$wxUSE_UNIX" = "yes"; then
43630 for ac_header in sys/inotify.h
43632 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43633 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43635 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43636 echo $ECHO_N "(cached) $ECHO_C" >&6
43638 cat >conftest.$ac_ext <<_ACEOF
43641 cat confdefs.h >>conftest.$ac_ext
43642 cat >>conftest.$ac_ext <<_ACEOF
43643 /* end confdefs.h. */
43644 $ac_includes_default
43646 #include <$ac_header>
43648 rm -f conftest.$ac_objext
43649 if { (ac_try="$ac_compile"
43650 case "(($ac_try" in
43651 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43652 *) ac_try_echo
=$ac_try;;
43654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43655 (eval "$ac_compile") 2>conftest.er1
43657 grep -v '^ *+' conftest.er1
>conftest.err
43659 cat conftest.err
>&5
43660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43661 (exit $ac_status); } && {
43662 test -z "$ac_c_werror_flag" ||
43663 test ! -s conftest.err
43664 } && test -s conftest.
$ac_objext; then
43665 eval "$as_ac_Header=yes"
43667 echo "$as_me: failed program was:" >&5
43668 sed 's/^/| /' conftest.
$ac_ext >&5
43670 eval "$as_ac_Header=no"
43673 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43675 ac_res
=`eval echo '${'$as_ac_Header'}'`
43676 { echo "$as_me:$LINENO: result: $ac_res" >&5
43677 echo "${ECHO_T}$ac_res" >&6; }
43678 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43679 cat >>confdefs.h
<<_ACEOF
43680 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43687 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43688 cat >>confdefs.h
<<\_ACEOF
43689 #define wxHAS_INOTIFY 1
43694 for ac_header
in sys
/event.h
43696 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43697 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43699 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43700 echo $ECHO_N "(cached) $ECHO_C" >&6
43702 cat >conftest.
$ac_ext <<_ACEOF
43705 cat confdefs.h
>>conftest.
$ac_ext
43706 cat >>conftest.
$ac_ext <<_ACEOF
43707 /* end confdefs.h. */
43708 $ac_includes_default
43710 #include <$ac_header>
43712 rm -f conftest.
$ac_objext
43713 if { (ac_try
="$ac_compile"
43714 case "(($ac_try" in
43715 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43716 *) ac_try_echo=$ac_try;;
43718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43719 (eval "$ac_compile") 2>conftest.er1
43721 grep -v '^ *+' conftest.er1 >conftest.err
43723 cat conftest.err >&5
43724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43725 (exit $ac_status); } && {
43726 test -z "$ac_c_werror_flag" ||
43727 test ! -s conftest.err
43728 } && test -s conftest.$ac_objext; then
43729 eval "$as_ac_Header=yes"
43731 echo "$as_me: failed program was:" >&5
43732 sed 's/^/| /' conftest.$ac_ext >&5
43734 eval "$as_ac_Header=no"
43737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43739 ac_res=`eval echo '${'$as_ac_Header'}'`
43740 { echo "$as_me:$LINENO: result: $ac_res" >&5
43741 echo "${ECHO_T}$ac_res" >&6; }
43742 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43743 cat >>confdefs.h <<_ACEOF
43744 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43751 if test "$ac_cv_header_sys_event_h" = "yes"; then
43752 cat >>confdefs.h <<\_ACEOF
43753 #define wxHAS_KQUEUE 1
43764 if test "$wxUSE_THREADS" != "yes"; then
43765 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
43766 echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
43771 if test "$wxUSE_FSWATCHER" = "yes"; then
43772 cat >>confdefs.h <<\_ACEOF
43773 #define wxUSE_FSWATCHER 1
43776 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43778 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43779 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43784 if test "$wxUSE_STL" = "yes"; then
43785 cat >>confdefs.h <<\_ACEOF
43786 #define wxUSE_STL 1
43791 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43792 cat >>confdefs.h <<\_ACEOF
43793 #define wxUSE_EXTENDED_RTTI 1
43798 if test "$wxUSE_ANY" = "yes"; then
43799 cat >>confdefs.h <<\_ACEOF
43800 #define wxUSE_ANY 1
43805 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43806 cat >>confdefs.h <<\_ACEOF
43807 #define wxUSE_APPLE_IEEE 1
43812 if test "$wxUSE_TIMER" = "yes"; then
43813 cat >>confdefs.h <<\_ACEOF
43814 #define wxUSE_TIMER 1
43819 if test "$USE_UNIX" = 1 ; then
43820 if test "$wxUSE_MGL" != 1; then
43821 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43822 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43823 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43824 echo $ECHO_N "(cached) $ECHO_C" >&6
43827 cat >conftest.$ac_ext <<_ACEOF
43830 cat confdefs.h >>conftest.$ac_ext
43831 cat >>conftest.$ac_ext <<_ACEOF
43832 /* end confdefs.h. */
43834 #include <sys/ioctl.h>
43835 #include <sys/soundcard.h>
43841 ioctl(0, SNDCTL_DSP_SPEED, 0);
43847 rm -f conftest.$ac_objext conftest$ac_exeext
43848 if { (ac_try="$ac_link"
43849 case "(($ac_try" in
43850 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43851 *) ac_try_echo
=$ac_try;;
43853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43854 (eval "$ac_link") 2>conftest.er1
43856 grep -v '^ *+' conftest.er1
>conftest.err
43858 cat conftest.err
>&5
43859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43860 (exit $ac_status); } && {
43861 test -z "$ac_c_werror_flag" ||
43862 test ! -s conftest.err
43863 } && test -s conftest
$ac_exeext &&
43864 $as_test_x conftest
$ac_exeext; then
43865 ac_cv_header_sys_soundcard
=yes
43867 echo "$as_me: failed program was:" >&5
43868 sed 's/^/| /' conftest.
$ac_ext >&5
43872 LIBS
="$saveLibs -lossaudio"
43873 cat >conftest.
$ac_ext <<_ACEOF
43876 cat confdefs.h
>>conftest.
$ac_ext
43877 cat >>conftest.
$ac_ext <<_ACEOF
43878 /* end confdefs.h. */
43880 #include <sys/ioctl.h>
43881 #include <sys/soundcard.h>
43887 ioctl(0, SNDCTL_DSP_SPEED, 0);
43893 rm -f conftest.
$ac_objext conftest
$ac_exeext
43894 if { (ac_try
="$ac_link"
43895 case "(($ac_try" in
43896 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43897 *) ac_try_echo=$ac_try;;
43899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43900 (eval "$ac_link") 2>conftest.er1
43902 grep -v '^ *+' conftest.er1 >conftest.err
43904 cat conftest.err >&5
43905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43906 (exit $ac_status); } && {
43907 test -z "$ac_c_werror_flag" ||
43908 test ! -s conftest.err
43909 } && test -s conftest$ac_exeext &&
43910 $as_test_x conftest$ac_exeext; then
43911 ac_cv_header_sys_soundcard=yes
43913 echo "$as_me: failed program was:" >&5
43914 sed 's/^/| /' conftest.$ac_ext >&5
43918 ac_cv_header_sys_soundcard=no
43923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43924 conftest$ac_exeext conftest.$ac_ext
43929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43930 conftest$ac_exeext conftest.$ac_ext
43933 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43934 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43937 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43938 cat >>confdefs.h <<\_ACEOF
43939 #define HAVE_SYS_SOUNDCARD_H 1
43946 if test "$wxUSE_SOUND" = "yes"; then
43947 if test "$USE_UNIX" = 1 ; then
43948 if test "$wxUSE_LIBSDL" != "no"; then
43950 # Check whether --with-sdl-prefix was given.
43951 if test "${with_sdl_prefix+set}" = set; then
43952 withval=$with_sdl_prefix; sdl_prefix="$withval"
43958 # Check whether --with-sdl-exec-prefix was given.
43959 if test "${with_sdl_exec_prefix+set}" = set; then
43960 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43965 # Check whether --enable-sdltest was given.
43966 if test "${enable_sdltest+set}" = set; then
43967 enableval=$enable_sdltest;
43973 if test x$sdl_exec_prefix != x ; then
43974 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43975 if test x${SDL_CONFIG+set} != xset ; then
43976 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43979 if test x$sdl_prefix != x ; then
43980 sdl_args="$sdl_args --prefix=$sdl_prefix"
43981 if test x${SDL_CONFIG+set} != xset ; then
43982 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43986 if test "x$prefix" != xNONE; then
43987 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43989 # Extract the first word of "sdl-config", so it can be a program name with args.
43990 set dummy sdl-config; ac_word=$2
43991 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43993 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43994 echo $ECHO_N "(cached) $ECHO_C" >&6
43996 case $SDL_CONFIG in
43998 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44002 for as_dir in $PATH
44005 test -z "$as_dir" && as_dir=.
44006 for ac_exec_ext in '' $ac_executable_extensions; do
44007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44008 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44016 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44020 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44021 if test -n "$SDL_CONFIG"; then
44022 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44023 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44025 { echo "$as_me:$LINENO: result: no" >&5
44026 echo "${ECHO_T}no" >&6; }
44030 min_sdl_version=1.2.0
44031 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44032 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44034 if test "$SDL_CONFIG" = "no" ; then
44037 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44038 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44040 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44041 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44042 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44043 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44044 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44045 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44046 if test "x$enable_sdltest" = "xyes" ; then
44047 ac_save_CFLAGS="$CFLAGS"
44048 ac_save_CXXFLAGS="$CXXFLAGS"
44049 ac_save_LIBS="$LIBS"
44050 CFLAGS="$CFLAGS $SDL_CFLAGS"
44051 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44052 LIBS="$LIBS $SDL_LIBS"
44054 if test "$cross_compiling" = yes; then
44055 echo $ac_n "cross compiling; assumed OK... $ac_c"
44057 cat >conftest.$ac_ext <<_ACEOF
44060 cat confdefs.h >>conftest.$ac_ext
44061 cat >>conftest.$ac_ext <<_ACEOF
44062 /* end confdefs.h. */
44065 #include <stdlib.h>
44066 #include <string.h>
44070 my_strdup (char *str)
44076 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44077 strcpy (new_str, str);
44085 int main (int argc, char *argv[])
44087 int major, minor, micro;
44090 /* This hangs on some systems (?)
44091 system ("touch conf.sdltest");
44093 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44095 /* HP/UX 9 (%@#!) writes to sscanf strings */
44096 tmp_version = my_strdup("$min_sdl_version");
44097 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44098 printf("%s, bad version string\n", "$min_sdl_version");
44102 if (($sdl_major_version > major) ||
44103 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44104 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44110 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44111 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44112 printf("*** best to upgrade to the required version.\n");
44113 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44114 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44115 printf("*** config.cache before re-running configure\n");
44122 rm -f conftest$ac_exeext
44123 if { (ac_try="$ac_link"
44124 case "(($ac_try" in
44125 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44126 *) ac_try_echo
=$ac_try;;
44128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44129 (eval "$ac_link") 2>&5
44131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44132 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
44133 { (case "(($ac_try" in
44134 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44135 *) ac_try_echo=$ac_try;;
44137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44138 (eval "$ac_try") 2>&5
44140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44141 (exit $ac_status); }; }; then
44144 echo "$as_me: program exited with status $ac_status" >&5
44145 echo "$as_me: failed program was:" >&5
44146 sed 's/^/| /' conftest.$ac_ext >&5
44148 ( exit $ac_status )
44151 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44155 CFLAGS="$ac_save_CFLAGS"
44156 CXXFLAGS="$ac_save_CXXFLAGS"
44157 LIBS="$ac_save_LIBS"
44160 if test "x$no_sdl" = x ; then
44161 { echo "$as_me:$LINENO: result: yes" >&5
44162 echo "${ECHO_T}yes" >&6; }
44164 EXTRALIBS_SDL="$SDL_LIBS"
44165 CFLAGS="$SDL_CFLAGS $CFLAGS"
44166 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44167 cat >>confdefs.h <<\_ACEOF
44168 #define wxUSE_LIBSDL 1
44173 { echo "$as_me:$LINENO: result: no" >&5
44174 echo "${ECHO_T}no" >&6; }
44175 if test "$SDL_CONFIG" = "no" ; then
44176 echo "*** The sdl-config script installed by SDL could not be found"
44177 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44178 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44179 echo "*** full path to sdl-config."
44181 if test -f conf.sdltest ; then
44184 echo "*** Could not run SDL test program, checking why..."
44185 CFLAGS="$CFLAGS $SDL_CFLAGS"
44186 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44187 LIBS="$LIBS $SDL_LIBS"
44188 cat >conftest.$ac_ext <<_ACEOF
44191 cat confdefs.h >>conftest.$ac_ext
44192 cat >>conftest.$ac_ext <<_ACEOF
44193 /* end confdefs.h. */
44198 int main(int argc, char *argv[])
44201 #define main K_and_R_C_main
44211 rm -f conftest.$ac_objext conftest$ac_exeext
44212 if { (ac_try="$ac_link"
44213 case "(($ac_try" in
44214 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44215 *) ac_try_echo
=$ac_try;;
44217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44218 (eval "$ac_link") 2>conftest.er1
44220 grep -v '^ *+' conftest.er1
>conftest.err
44222 cat conftest.err
>&5
44223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44224 (exit $ac_status); } && {
44225 test -z "$ac_c_werror_flag" ||
44226 test ! -s conftest.err
44227 } && test -s conftest
$ac_exeext &&
44228 $as_test_x conftest
$ac_exeext; then
44229 echo "*** The test program compiled, but did not run. This usually means"
44230 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44231 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44232 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44233 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44234 echo "*** is required on your system"
44236 echo "*** If you have an old version installed, it is best to remove it, although"
44237 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44239 echo "$as_me: failed program was:" >&5
44240 sed 's/^/| /' conftest.
$ac_ext >&5
44242 echo "*** The test program failed to compile or link. See the file config.log for the"
44243 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44244 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44245 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44248 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44249 conftest
$ac_exeext conftest.
$ac_ext
44250 CFLAGS
="$ac_save_CFLAGS"
44251 CXXFLAGS
="$ac_save_CXXFLAGS"
44252 LIBS
="$ac_save_LIBS"
44263 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44268 if test "$wxUSE_MGL" = 1; then
44269 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44270 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44276 if test "$wxUSE_SOUND" = "yes"; then
44277 cat >>confdefs.h
<<\_ACEOF
44278 #define wxUSE_SOUND 1
44281 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
44284 if test "$WXGTK2" = 1; then
44287 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44288 if test -n "$ac_tool_prefix"; then
44289 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44290 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
44291 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44293 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44294 echo $ECHO_N "(cached) $ECHO_C" >&6
44296 case $PKG_CONFIG in
44298 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
44301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44302 for as_dir
in $PATH
44305 test -z "$as_dir" && as_dir
=.
44306 for ac_exec_ext
in '' $ac_executable_extensions; do
44307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44308 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44319 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
44320 if test -n "$PKG_CONFIG"; then
44321 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44322 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44324 { echo "$as_me:$LINENO: result: no" >&5
44325 echo "${ECHO_T}no" >&6; }
44330 if test -z "$ac_cv_path_PKG_CONFIG"; then
44331 ac_pt_PKG_CONFIG
=$PKG_CONFIG
44332 # Extract the first word of "pkg-config", so it can be a program name with args.
44333 set dummy pkg
-config; ac_word
=$2
44334 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44336 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44337 echo $ECHO_N "(cached) $ECHO_C" >&6
44339 case $ac_pt_PKG_CONFIG in
44341 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44345 for as_dir
in $PATH
44348 test -z "$as_dir" && as_dir
=.
44349 for ac_exec_ext
in '' $ac_executable_extensions; do
44350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44351 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44362 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
44363 if test -n "$ac_pt_PKG_CONFIG"; then
44364 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44365 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44367 { echo "$as_me:$LINENO: result: no" >&5
44368 echo "${ECHO_T}no" >&6; }
44371 if test "x$ac_pt_PKG_CONFIG" = x
; then
44374 case $cross_compiling:$ac_tool_warned in
44376 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44377 whose name does not start with the host triplet. If you think this
44378 configuration is useful to you, please write to autoconf@gnu.org." >&5
44379 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44380 whose name does not start with the host triplet. If you think this
44381 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44382 ac_tool_warned
=yes ;;
44384 PKG_CONFIG
=$ac_pt_PKG_CONFIG
44387 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
44391 if test -n "$PKG_CONFIG"; then
44392 _pkg_min_version
=0.9.0
44393 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44394 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44395 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44396 { echo "$as_me:$LINENO: result: yes" >&5
44397 echo "${ECHO_T}yes" >&6; }
44399 { echo "$as_me:$LINENO: result: no" >&5
44400 echo "${ECHO_T}no" >&6; }
44406 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44408 if test "$wxUSE_GTKPRINT" = "yes" ; then
44412 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44413 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44415 if test -n "$PKG_CONFIG"; then
44416 if test -n "$GTKPRINT_CFLAGS"; then
44417 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
44419 if test -n "$PKG_CONFIG" && \
44420 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44421 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44424 (exit $ac_status); }; then
44425 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44433 if test -n "$PKG_CONFIG"; then
44434 if test -n "$GTKPRINT_LIBS"; then
44435 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
44437 if test -n "$PKG_CONFIG" && \
44438 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44439 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44442 (exit $ac_status); }; then
44443 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44454 if test $pkg_failed = yes; then
44456 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44457 _pkg_short_errors_supported
=yes
44459 _pkg_short_errors_supported
=no
44461 if test $_pkg_short_errors_supported = yes; then
44462 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44464 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44466 # Put the nasty error message in config.log where it belongs
44467 echo "$GTKPRINT_PKG_ERRORS" >&5
44470 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44471 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44472 wxUSE_GTKPRINT
="no"
44475 elif test $pkg_failed = untried
; then
44477 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44478 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44479 wxUSE_GTKPRINT
="no"
44483 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
44484 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
44485 { echo "$as_me:$LINENO: result: yes" >&5
44486 echo "${ECHO_T}yes" >&6; }
44488 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
44489 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
44490 cat >>confdefs.h
<<\_ACEOF
44491 #define wxUSE_GTKPRINT 1
44498 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44502 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44503 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44505 if test -n "$PKG_CONFIG"; then
44506 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44507 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
44509 if test -n "$PKG_CONFIG" && \
44510 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44511 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44514 (exit $ac_status); }; then
44515 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44523 if test -n "$PKG_CONFIG"; then
44524 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44525 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
44527 if test -n "$PKG_CONFIG" && \
44528 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44529 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44532 (exit $ac_status); }; then
44533 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44544 if test $pkg_failed = yes; then
44546 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44547 _pkg_short_errors_supported
=yes
44549 _pkg_short_errors_supported
=no
44551 if test $_pkg_short_errors_supported = yes; then
44552 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44554 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44556 # Put the nasty error message in config.log where it belongs
44557 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44560 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44561 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44562 wxUSE_LIBGNOMEPRINT
="no"
44565 elif test $pkg_failed = untried
; then
44567 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44568 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44569 wxUSE_LIBGNOMEPRINT
="no"
44573 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44574 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44575 { echo "$as_me:$LINENO: result: yes" >&5
44576 echo "${ECHO_T}yes" >&6; }
44578 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44579 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44580 cat >>confdefs.h
<<\_ACEOF
44581 #define wxUSE_LIBGNOMEPRINT 1
44589 if test "$wxUSE_MIMETYPE" = "yes" ; then
44590 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44594 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44595 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44597 if test -n "$PKG_CONFIG"; then
44598 if test -n "$GNOMEVFS_CFLAGS"; then
44599 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
44601 if test -n "$PKG_CONFIG" && \
44602 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44603 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44606 (exit $ac_status); }; then
44607 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44615 if test -n "$PKG_CONFIG"; then
44616 if test -n "$GNOMEVFS_LIBS"; then
44617 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
44619 if test -n "$PKG_CONFIG" && \
44620 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44621 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44624 (exit $ac_status); }; then
44625 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44636 if test $pkg_failed = yes; then
44638 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44639 _pkg_short_errors_supported
=yes
44641 _pkg_short_errors_supported
=no
44643 if test $_pkg_short_errors_supported = yes; then
44644 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44646 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44648 # Put the nasty error message in config.log where it belongs
44649 echo "$GNOMEVFS_PKG_ERRORS" >&5
44652 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44653 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44654 wxUSE_LIBGNOMEVFS
="no"
44657 elif test $pkg_failed = untried
; then
44659 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44660 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44661 wxUSE_LIBGNOMEVFS
="no"
44665 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
44666 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
44667 { echo "$as_me:$LINENO: result: yes" >&5
44668 echo "${ECHO_T}yes" >&6; }
44670 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
44671 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
44672 cat >>confdefs.h
<<\_ACEOF
44673 #define wxUSE_LIBGNOMEVFS 1
44681 if test "$wxUSE_LIBHILDON" = "yes" ; then
44684 { echo "$as_me:$LINENO: checking for HILDON" >&5
44685 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44687 if test -n "$PKG_CONFIG"; then
44688 if test -n "$HILDON_CFLAGS"; then
44689 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
44691 if test -n "$PKG_CONFIG" && \
44692 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44693 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44696 (exit $ac_status); }; then
44697 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44705 if test -n "$PKG_CONFIG"; then
44706 if test -n "$HILDON_LIBS"; then
44707 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
44709 if test -n "$PKG_CONFIG" && \
44710 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44711 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44714 (exit $ac_status); }; then
44715 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44726 if test $pkg_failed = yes; then
44728 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44729 _pkg_short_errors_supported
=yes
44731 _pkg_short_errors_supported
=no
44733 if test $_pkg_short_errors_supported = yes; then
44734 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44736 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44738 # Put the nasty error message in config.log where it belongs
44739 echo "$HILDON_PKG_ERRORS" >&5
44742 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44743 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44744 wxUSE_LIBHILDON
="no"
44748 elif test $pkg_failed = untried
; then
44750 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44751 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44752 wxUSE_LIBHILDON
="no"
44757 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
44758 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
44759 { echo "$as_me:$LINENO: result: yes" >&5
44760 echo "${ECHO_T}yes" >&6; }
44762 EXTRALIBS_HILDON
="$HILDON_LIBS"
44763 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
44764 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
44765 cat >>confdefs.h
<<\_ACEOF
44766 #define wxUSE_LIBHILDON 1
44773 if test "$ac_hildon_lgpl" = 0 ; then
44776 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44777 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44779 if test -n "$PKG_CONFIG"; then
44780 if test -n "$HILDON2_CFLAGS"; then
44781 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
44783 if test -n "$PKG_CONFIG" && \
44784 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44785 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44788 (exit $ac_status); }; then
44789 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44797 if test -n "$PKG_CONFIG"; then
44798 if test -n "$HILDON2_LIBS"; then
44799 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
44801 if test -n "$PKG_CONFIG" && \
44802 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44803 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44806 (exit $ac_status); }; then
44807 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44818 if test $pkg_failed = yes; then
44820 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44821 _pkg_short_errors_supported
=yes
44823 _pkg_short_errors_supported
=no
44825 if test $_pkg_short_errors_supported = yes; then
44826 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44828 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44830 # Put the nasty error message in config.log where it belongs
44831 echo "$HILDON2_PKG_ERRORS" >&5
44834 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44835 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44836 wxUSE_LIBHILDON2
="no"
44839 elif test $pkg_failed = untried
; then
44841 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44842 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44843 wxUSE_LIBHILDON2
="no"
44847 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
44848 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
44849 { echo "$as_me:$LINENO: result: yes" >&5
44850 echo "${ECHO_T}yes" >&6; }
44852 EXTRALIBS_HILDON
="$HILDON2_LIBS"
44853 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
44854 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
44855 cat >>confdefs.h
<<\_ACEOF
44856 #define wxUSE_LIBHILDON2 1
44865 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44866 cat >>confdefs.h
<<\_ACEOF
44867 #define wxUSE_CMDLINE_PARSER 1
44872 if test "$wxUSE_STOPWATCH" = "yes"; then
44873 cat >>confdefs.h
<<\_ACEOF
44874 #define wxUSE_STOPWATCH 1
44879 if test "$wxUSE_DATETIME" = "yes"; then
44880 cat >>confdefs.h
<<\_ACEOF
44881 #define wxUSE_DATETIME 1
44886 if test "$wxUSE_FILE" = "yes"; then
44887 cat >>confdefs.h
<<\_ACEOF
44888 #define wxUSE_FILE 1
44893 if test "$wxUSE_FFILE" = "yes"; then
44894 cat >>confdefs.h
<<\_ACEOF
44895 #define wxUSE_FFILE 1
44900 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44901 if test "$wxUSE_STREAMS" != yes; then
44902 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44903 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44904 wxUSE_ARCHIVE_STREAMS
=no
44906 cat >>confdefs.h
<<\_ACEOF
44907 #define wxUSE_ARCHIVE_STREAMS 1
44913 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44914 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44915 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44916 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44917 elif test "$wxUSE_ZLIB" = "no"; then
44918 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44919 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44921 cat >>confdefs.h
<<\_ACEOF
44922 #define wxUSE_ZIPSTREAM 1
44928 if test "$wxUSE_TARSTREAM" = "yes"; then
44929 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44930 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44931 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44933 cat >>confdefs.h
<<\_ACEOF
44934 #define wxUSE_TARSTREAM 1
44940 if test "$wxUSE_FILE_HISTORY" = "yes"; then
44941 cat >>confdefs.h
<<\_ACEOF
44942 #define wxUSE_FILE_HISTORY 1
44947 if test "$wxUSE_FILESYSTEM" = "yes"; then
44948 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
44949 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44950 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44951 wxUSE_FILESYSTEM
=no
44953 cat >>confdefs.h
<<\_ACEOF
44954 #define wxUSE_FILESYSTEM 1
44960 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44961 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44962 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44963 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44965 cat >>confdefs.h
<<\_ACEOF
44966 #define wxUSE_FS_ARCHIVE 1
44972 if test "$wxUSE_FS_ZIP" = "yes"; then
44973 if test "$wxUSE_FS_ARCHIVE" != yes; then
44974 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44975 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44977 cat >>confdefs.h
<<\_ACEOF
44978 #define wxUSE_FS_ZIP 1
44984 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44985 if test "$USE_UNIX" != 1; then
44986 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44987 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44988 wxUSE_ON_FATAL_EXCEPTION
=no
44990 cat >>confdefs.h
<<\_ACEOF
44991 #define wxUSE_ON_FATAL_EXCEPTION 1
44997 if test "$wxUSE_STACKWALKER" = "yes"; then
44998 cat >>confdefs.h
<<\_ACEOF
44999 #define wxUSE_STACKWALKER 1
45004 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45005 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
45006 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45007 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45008 wxUSE_DEBUGREPORT
=no
45010 cat >>confdefs.h
<<\_ACEOF
45011 #define wxUSE_DEBUGREPORT 1
45014 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45015 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
45020 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45021 cat >>confdefs.h
<<\_ACEOF
45022 #define wxUSE_SNGLINST_CHECKER 1
45027 if test "$wxUSE_BUSYINFO" = "yes"; then
45028 cat >>confdefs.h
<<\_ACEOF
45029 #define wxUSE_BUSYINFO 1
45034 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
45035 cat >>confdefs.h
<<\_ACEOF
45036 #define wxUSE_STD_CONTAINERS 1
45041 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45042 cat >>confdefs.h
<<\_ACEOF
45043 #define wxUSE_STD_IOSTREAM 1
45048 if test "$wxUSE_STD_STRING" = "yes"; then
45049 cat >>confdefs.h
<<\_ACEOF
45050 #define wxUSE_STD_STRING 1
45055 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
45056 cat >>confdefs.h
<<\_ACEOF
45057 #define wxUSE_STD_STRING_CONV_IN_WXSTRING 1
45062 if test "$wxUSE_STDPATHS" = "yes"; then
45063 cat >>confdefs.h
<<\_ACEOF
45064 #define wxUSE_STDPATHS 1
45069 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45070 cat >>confdefs.h
<<\_ACEOF
45071 #define wxUSE_TEXTBUFFER 1
45076 if test "$wxUSE_TEXTFILE" = "yes"; then
45077 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45078 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45079 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45081 cat >>confdefs.h
<<\_ACEOF
45082 #define wxUSE_TEXTFILE 1
45088 if test "$wxUSE_CONFIG" = "yes" ; then
45089 if test "$wxUSE_TEXTFILE" != "yes"; then
45090 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45091 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45093 cat >>confdefs.h
<<\_ACEOF
45094 #define wxUSE_CONFIG 1
45097 cat >>confdefs.h
<<\_ACEOF
45098 #define wxUSE_CONFIG_NATIVE 1
45101 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
45105 if test "$wxUSE_INTL" = "yes" ; then
45106 if test "$wxUSE_FILE" != "yes"; then
45107 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45108 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45110 cat >>confdefs.h
<<\_ACEOF
45111 #define wxUSE_INTL 1
45114 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
45115 GUIDIST
="$GUIDIST INTL_DIST"
45119 if test "$wxUSE_XLOCALE" = "yes" ; then
45120 cat >>confdefs.h
<<\_ACEOF
45121 #define wxUSE_XLOCALE 1
45124 { echo "$as_me:$LINENO: checking for locale_t" >&5
45125 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
45126 if test "${ac_cv_type_locale_t+set}" = set; then
45127 echo $ECHO_N "(cached) $ECHO_C" >&6
45129 cat >conftest.
$ac_ext <<_ACEOF
45132 cat confdefs.h
>>conftest.
$ac_ext
45133 cat >>conftest.
$ac_ext <<_ACEOF
45134 /* end confdefs.h. */
45135 #include <xlocale.h>
45136 #include <locale.h>
45138 typedef locale_t ac__type_new_;
45142 if ((ac__type_new_ *) 0)
45144 if (sizeof (ac__type_new_))
45150 rm -f conftest.
$ac_objext
45151 if { (ac_try
="$ac_compile"
45152 case "(($ac_try" in
45153 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45154 *) ac_try_echo=$ac_try;;
45156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45157 (eval "$ac_compile") 2>conftest.er1
45159 grep -v '^ *+' conftest.er1 >conftest.err
45161 cat conftest.err >&5
45162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45163 (exit $ac_status); } && {
45164 test -z "$ac_c_werror_flag" ||
45165 test ! -s conftest.err
45166 } && test -s conftest.$ac_objext; then
45167 ac_cv_type_locale_t=yes
45169 echo "$as_me: failed program was:" >&5
45170 sed 's/^/| /' conftest.$ac_ext >&5
45172 ac_cv_type_locale_t=no
45175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45177 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
45178 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
45179 if test $ac_cv_type_locale_t = yes; then
45181 cat >>confdefs.h <<_ACEOF
45182 #define HAVE_LOCALE_T 1
45190 if test "$wxUSE_LOG" = "yes"; then
45191 cat >>confdefs.h <<\_ACEOF
45192 #define wxUSE_LOG 1
45196 if test "$wxUSE_LOGGUI" = "yes"; then
45197 cat >>confdefs.h <<\_ACEOF
45198 #define wxUSE_LOGGUI 1
45203 if test "$wxUSE_LOGWINDOW" = "yes"; then
45204 cat >>confdefs.h <<\_ACEOF
45205 #define wxUSE_LOGWINDOW 1
45210 if test "$wxUSE_LOGDIALOG" = "yes"; then
45211 cat >>confdefs.h <<\_ACEOF
45212 #define wxUSE_LOG_DIALOG 1
45217 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45220 if test "$wxUSE_LONGLONG" = "yes"; then
45221 cat >>confdefs.h <<\_ACEOF
45222 #define wxUSE_LONGLONG 1
45227 if test "$wxUSE_GEOMETRY" = "yes"; then
45228 cat >>confdefs.h <<\_ACEOF
45229 #define wxUSE_GEOMETRY 1
45234 if test "$wxUSE_BASE64" = "yes"; then
45235 cat >>confdefs.h <<\_ACEOF
45236 #define wxUSE_BASE64 1
45241 if test "$wxUSE_STREAMS" = "yes" ; then
45242 cat >>confdefs.h <<\_ACEOF
45243 #define wxUSE_STREAMS 1
45248 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45249 cat >>confdefs.h <<\_ACEOF
45250 #define wxUSE_PRINTF_POS_PARAMS 1
45255 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45256 cat >>confdefs.h <<\_ACEOF
45257 #define wxUSE_OBJC_UNIQUIFYING 1
45263 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45264 cat >>confdefs.h <<\_ACEOF
45265 #define wxUSE_CONSOLE_EVENTLOOP 1
45269 if test "$wxUSE_UNIX" = "yes"; then
45270 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45271 cat >>confdefs.h <<\_ACEOF
45272 #define wxUSE_SELECT_DISPATCHER 1
45277 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45279 for ac_header in sys/epoll.h
45281 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45282 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45284 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45285 echo $ECHO_N "(cached) $ECHO_C" >&6
45287 cat >conftest.$ac_ext <<_ACEOF
45290 cat confdefs.h >>conftest.$ac_ext
45291 cat >>conftest.$ac_ext <<_ACEOF
45292 /* end confdefs.h. */
45293 $ac_includes_default
45295 #include <$ac_header>
45297 rm -f conftest.$ac_objext
45298 if { (ac_try="$ac_compile"
45299 case "(($ac_try" in
45300 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45301 *) ac_try_echo
=$ac_try;;
45303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45304 (eval "$ac_compile") 2>conftest.er1
45306 grep -v '^ *+' conftest.er1
>conftest.err
45308 cat conftest.err
>&5
45309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45310 (exit $ac_status); } && {
45311 test -z "$ac_c_werror_flag" ||
45312 test ! -s conftest.err
45313 } && test -s conftest.
$ac_objext; then
45314 eval "$as_ac_Header=yes"
45316 echo "$as_me: failed program was:" >&5
45317 sed 's/^/| /' conftest.
$ac_ext >&5
45319 eval "$as_ac_Header=no"
45322 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45324 ac_res
=`eval echo '${'$as_ac_Header'}'`
45325 { echo "$as_me:$LINENO: result: $ac_res" >&5
45326 echo "${ECHO_T}$ac_res" >&6; }
45327 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45328 cat >>confdefs.h
<<_ACEOF
45329 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45336 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45337 cat >>confdefs.h
<<\_ACEOF
45338 #define wxUSE_EPOLL_DISPATCHER 1
45342 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45343 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45352 for ac_func
in gettimeofday ftime
45354 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45355 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45357 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45358 echo $ECHO_N "(cached) $ECHO_C" >&6
45360 cat >conftest.
$ac_ext <<_ACEOF
45363 cat confdefs.h
>>conftest.
$ac_ext
45364 cat >>conftest.
$ac_ext <<_ACEOF
45365 /* end confdefs.h. */
45366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45368 #define $ac_func innocuous_$ac_func
45370 /* System header to define __stub macros and hopefully few prototypes,
45371 which can conflict with char $ac_func (); below.
45372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45373 <limits.h> exists even on freestanding compilers. */
45376 # include <limits.h>
45378 # include <assert.h>
45383 /* Override any GCC internal prototype to avoid an error.
45384 Use char because int might match the return type of a GCC
45385 builtin and then its argument prototype would still apply. */
45390 /* The GNU C library defines this for functions which it implements
45391 to always fail with ENOSYS. Some functions are actually named
45392 something starting with __ and the normal name is an alias. */
45393 #if defined __stub_$ac_func || defined __stub___$ac_func
45400 return $ac_func ();
45405 rm -f conftest.
$ac_objext conftest
$ac_exeext
45406 if { (ac_try
="$ac_link"
45407 case "(($ac_try" in
45408 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45409 *) ac_try_echo=$ac_try;;
45411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45412 (eval "$ac_link") 2>conftest.er1
45414 grep -v '^ *+' conftest.er1 >conftest.err
45416 cat conftest.err >&5
45417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45418 (exit $ac_status); } && {
45419 test -z "$ac_c_werror_flag" ||
45420 test ! -s conftest.err
45421 } && test -s conftest$ac_exeext &&
45422 $as_test_x conftest$ac_exeext; then
45423 eval "$as_ac_var=yes"
45425 echo "$as_me: failed program was:" >&5
45426 sed 's/^/| /' conftest.$ac_ext >&5
45428 eval "$as_ac_var=no"
45431 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45432 conftest$ac_exeext conftest.$ac_ext
45434 ac_res=`eval echo '${'$as_ac_var'}'`
45435 { echo "$as_me:$LINENO: result: $ac_res" >&5
45436 echo "${ECHO_T}$ac_res" >&6; }
45437 if test `eval echo '${'$as_ac_var'}'` = yes; then
45438 cat >>confdefs.h <<_ACEOF
45439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45446 if test "$ac_cv_func_gettimeofday" = "yes"; then
45447 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45448 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45449 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45450 echo $ECHO_N "(cached) $ECHO_C" >&6
45453 cat >conftest.$ac_ext <<_ACEOF
45456 cat confdefs.h >>conftest.$ac_ext
45457 cat >>conftest.$ac_ext <<_ACEOF
45458 /* end confdefs.h. */
45460 #include <sys/time.h>
45461 #include <unistd.h>
45468 gettimeofday(&tv, NULL);
45474 rm -f conftest.$ac_objext
45475 if { (ac_try="$ac_compile"
45476 case "(($ac_try" in
45477 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45478 *) ac_try_echo
=$ac_try;;
45480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45481 (eval "$ac_compile") 2>conftest.er1
45483 grep -v '^ *+' conftest.er1
>conftest.err
45485 cat conftest.err
>&5
45486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45487 (exit $ac_status); } && {
45488 test -z "$ac_c_werror_flag" ||
45489 test ! -s conftest.err
45490 } && test -s conftest.
$ac_objext; then
45491 wx_cv_func_gettimeofday_has_2_args
=yes
45493 echo "$as_me: failed program was:" >&5
45494 sed 's/^/| /' conftest.
$ac_ext >&5
45496 cat >conftest.
$ac_ext <<_ACEOF
45499 cat confdefs.h
>>conftest.
$ac_ext
45500 cat >>conftest.
$ac_ext <<_ACEOF
45501 /* end confdefs.h. */
45503 #include <sys/time.h>
45504 #include <unistd.h>
45517 rm -f conftest.
$ac_objext
45518 if { (ac_try
="$ac_compile"
45519 case "(($ac_try" in
45520 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45521 *) ac_try_echo=$ac_try;;
45523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45524 (eval "$ac_compile") 2>conftest.er1
45526 grep -v '^ *+' conftest.er1 >conftest.err
45528 cat conftest.err >&5
45529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45530 (exit $ac_status); } && {
45531 test -z "$ac_c_werror_flag" ||
45532 test ! -s conftest.err
45533 } && test -s conftest.$ac_objext; then
45534 wx_cv_func_gettimeofday_has_2_args=no
45536 echo "$as_me: failed program was:" >&5
45537 sed 's/^/| /' conftest.$ac_ext >&5
45540 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45541 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45542 wx_cv_func_gettimeofday_has_2_args=unknown
45547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45554 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45555 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45557 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45558 cat >>confdefs.h <<\_ACEOF
45559 #define WX_GETTIMEOFDAY_NO_TZ 1
45565 if test "$wxUSE_DATETIME" = "yes"; then
45566 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45567 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45568 if test "${wx_cv_var_timezone+set}" = set; then
45569 echo $ECHO_N "(cached) $ECHO_C" >&6
45573 ac_cpp='$CXXCPP $CPPFLAGS'
45574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45578 cat >conftest.$ac_ext <<_ACEOF
45581 cat confdefs.h >>conftest.$ac_ext
45582 cat >>conftest.$ac_ext <<_ACEOF
45583 /* end confdefs.h. */
45598 rm -f conftest.$ac_objext
45599 if { (ac_try="$ac_compile"
45600 case "(($ac_try" in
45601 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45602 *) ac_try_echo
=$ac_try;;
45604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45605 (eval "$ac_compile") 2>conftest.er1
45607 grep -v '^ *+' conftest.er1
>conftest.err
45609 cat conftest.err
>&5
45610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45611 (exit $ac_status); } && {
45612 test -z "$ac_cxx_werror_flag" ||
45613 test ! -s conftest.err
45614 } && test -s conftest.
$ac_objext; then
45616 wx_cv_var_timezone
=timezone
45619 echo "$as_me: failed program was:" >&5
45620 sed 's/^/| /' conftest.
$ac_ext >&5
45623 cat >conftest.
$ac_ext <<_ACEOF
45626 cat confdefs.h
>>conftest.
$ac_ext
45627 cat >>conftest.
$ac_ext <<_ACEOF
45628 /* end confdefs.h. */
45643 rm -f conftest.
$ac_objext
45644 if { (ac_try
="$ac_compile"
45645 case "(($ac_try" in
45646 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45647 *) ac_try_echo=$ac_try;;
45649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45650 (eval "$ac_compile") 2>conftest.er1
45652 grep -v '^ *+' conftest.er1 >conftest.err
45654 cat conftest.err >&5
45655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45656 (exit $ac_status); } && {
45657 test -z "$ac_cxx_werror_flag" ||
45658 test ! -s conftest.err
45659 } && test -s conftest.$ac_objext; then
45661 wx_cv_var_timezone=_timezone
45664 echo "$as_me: failed program was:" >&5
45665 sed 's/^/| /' conftest.$ac_ext >&5
45668 cat >conftest.$ac_ext <<_ACEOF
45671 cat confdefs.h >>conftest.$ac_ext
45672 cat >>conftest.$ac_ext <<_ACEOF
45673 /* end confdefs.h. */
45688 rm -f conftest.$ac_objext
45689 if { (ac_try="$ac_compile"
45690 case "(($ac_try" in
45691 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45692 *) ac_try_echo
=$ac_try;;
45694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45695 (eval "$ac_compile") 2>conftest.er1
45697 grep -v '^ *+' conftest.er1
>conftest.err
45699 cat conftest.err
>&5
45700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45701 (exit $ac_status); } && {
45702 test -z "$ac_cxx_werror_flag" ||
45703 test ! -s conftest.err
45704 } && test -s conftest.
$ac_objext; then
45706 wx_cv_var_timezone
=__timezone
45709 echo "$as_me: failed program was:" >&5
45710 sed 's/^/| /' conftest.
$ac_ext >&5
45713 if test "$USE_DOS" = 0 ; then
45714 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45715 echo "$as_me: WARNING: no timezone variable" >&2;}
45721 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45726 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45731 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45733 ac_cpp
='$CPP $CPPFLAGS'
45734 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45735 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45736 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45741 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45742 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45744 if test "x$wx_cv_var_timezone" != x
; then
45745 cat >>confdefs.h
<<_ACEOF
45746 #define WX_TIMEZONE $wx_cv_var_timezone
45752 for ac_func
in localtime
45754 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45755 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45757 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45758 echo $ECHO_N "(cached) $ECHO_C" >&6
45760 cat >conftest.
$ac_ext <<_ACEOF
45763 cat confdefs.h
>>conftest.
$ac_ext
45764 cat >>conftest.
$ac_ext <<_ACEOF
45765 /* end confdefs.h. */
45766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45768 #define $ac_func innocuous_$ac_func
45770 /* System header to define __stub macros and hopefully few prototypes,
45771 which can conflict with char $ac_func (); below.
45772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45773 <limits.h> exists even on freestanding compilers. */
45776 # include <limits.h>
45778 # include <assert.h>
45783 /* Override any GCC internal prototype to avoid an error.
45784 Use char because int might match the return type of a GCC
45785 builtin and then its argument prototype would still apply. */
45790 /* The GNU C library defines this for functions which it implements
45791 to always fail with ENOSYS. Some functions are actually named
45792 something starting with __ and the normal name is an alias. */
45793 #if defined __stub_$ac_func || defined __stub___$ac_func
45800 return $ac_func ();
45805 rm -f conftest.
$ac_objext conftest
$ac_exeext
45806 if { (ac_try
="$ac_link"
45807 case "(($ac_try" in
45808 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45809 *) ac_try_echo=$ac_try;;
45811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45812 (eval "$ac_link") 2>conftest.er1
45814 grep -v '^ *+' conftest.er1 >conftest.err
45816 cat conftest.err >&5
45817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45818 (exit $ac_status); } && {
45819 test -z "$ac_c_werror_flag" ||
45820 test ! -s conftest.err
45821 } && test -s conftest$ac_exeext &&
45822 $as_test_x conftest$ac_exeext; then
45823 eval "$as_ac_var=yes"
45825 echo "$as_me: failed program was:" >&5
45826 sed 's/^/| /' conftest.$ac_ext >&5
45828 eval "$as_ac_var=no"
45831 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45832 conftest$ac_exeext conftest.$ac_ext
45834 ac_res=`eval echo '${'$as_ac_var'}'`
45835 { echo "$as_me:$LINENO: result: $ac_res" >&5
45836 echo "${ECHO_T}$ac_res" >&6; }
45837 if test `eval echo '${'$as_ac_var'}'` = yes; then
45838 cat >>confdefs.h <<_ACEOF
45839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45846 if test "$ac_cv_func_localtime" = "yes"; then
45847 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45848 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45849 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45850 echo $ECHO_N "(cached) $ECHO_C" >&6
45853 cat >conftest.$ac_ext <<_ACEOF
45856 cat confdefs.h >>conftest.$ac_ext
45857 cat >>conftest.$ac_ext <<_ACEOF
45858 /* end confdefs.h. */
45873 rm -f conftest.$ac_objext
45874 if { (ac_try="$ac_compile"
45875 case "(($ac_try" in
45876 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45877 *) ac_try_echo
=$ac_try;;
45879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45880 (eval "$ac_compile") 2>conftest.er1
45882 grep -v '^ *+' conftest.er1
>conftest.err
45884 cat conftest.err
>&5
45885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45886 (exit $ac_status); } && {
45887 test -z "$ac_c_werror_flag" ||
45888 test ! -s conftest.err
45889 } && test -s conftest.
$ac_objext; then
45891 wx_cv_struct_tm_has_gmtoff
=yes
45894 echo "$as_me: failed program was:" >&5
45895 sed 's/^/| /' conftest.
$ac_ext >&5
45897 wx_cv_struct_tm_has_gmtoff
=no
45901 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45904 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45905 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45908 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45909 cat >>confdefs.h
<<\_ACEOF
45910 #define WX_GMTOFF_IN_TM 1
45915 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
45919 if test "$wxUSE_SOCKETS" = "yes"; then
45920 if test "$wxUSE_MGL" = 1; then
45921 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45922 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45927 if test "$wxUSE_SOCKETS" = "yes"; then
45928 if test "$TOOLKIT" != "MSW"; then
45929 { echo "$as_me:$LINENO: checking for socket" >&5
45930 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45931 if test "${ac_cv_func_socket+set}" = set; then
45932 echo $ECHO_N "(cached) $ECHO_C" >&6
45934 cat >conftest.
$ac_ext <<_ACEOF
45937 cat confdefs.h
>>conftest.
$ac_ext
45938 cat >>conftest.
$ac_ext <<_ACEOF
45939 /* end confdefs.h. */
45940 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45942 #define socket innocuous_socket
45944 /* System header to define __stub macros and hopefully few prototypes,
45945 which can conflict with char socket (); below.
45946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45947 <limits.h> exists even on freestanding compilers. */
45950 # include <limits.h>
45952 # include <assert.h>
45957 /* Override any GCC internal prototype to avoid an error.
45958 Use char because int might match the return type of a GCC
45959 builtin and then its argument prototype would still apply. */
45964 /* The GNU C library defines this for functions which it implements
45965 to always fail with ENOSYS. Some functions are actually named
45966 something starting with __ and the normal name is an alias. */
45967 #if defined __stub_socket || defined __stub___socket
45979 rm -f conftest.
$ac_objext conftest
$ac_exeext
45980 if { (ac_try
="$ac_link"
45981 case "(($ac_try" in
45982 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45983 *) ac_try_echo=$ac_try;;
45985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45986 (eval "$ac_link") 2>conftest.er1
45988 grep -v '^ *+' conftest.er1 >conftest.err
45990 cat conftest.err >&5
45991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45992 (exit $ac_status); } && {
45993 test -z "$ac_c_werror_flag" ||
45994 test ! -s conftest.err
45995 } && test -s conftest$ac_exeext &&
45996 $as_test_x conftest$ac_exeext; then
45997 ac_cv_func_socket=yes
45999 echo "$as_me: failed program was:" >&5
46000 sed 's/^/| /' conftest.$ac_ext >&5
46002 ac_cv_func_socket=no
46005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46006 conftest$ac_exeext conftest.$ac_ext
46008 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46009 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46010 if test $ac_cv_func_socket = yes; then
46014 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46015 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46016 if test "${ac_cv_lib_socket_socket+set}" = set; then
46017 echo $ECHO_N "(cached) $ECHO_C" >&6
46019 ac_check_lib_save_LIBS=$LIBS
46020 LIBS="-lsocket $LIBS"
46021 cat >conftest.$ac_ext <<_ACEOF
46024 cat confdefs.h >>conftest.$ac_ext
46025 cat >>conftest.$ac_ext <<_ACEOF
46026 /* end confdefs.h. */
46028 /* Override any GCC internal prototype to avoid an error.
46029 Use char because int might match the return type of a GCC
46030 builtin and then its argument prototype would still apply. */
46043 rm -f conftest.$ac_objext conftest$ac_exeext
46044 if { (ac_try="$ac_link"
46045 case "(($ac_try" in
46046 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46047 *) ac_try_echo
=$ac_try;;
46049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46050 (eval "$ac_link") 2>conftest.er1
46052 grep -v '^ *+' conftest.er1
>conftest.err
46054 cat conftest.err
>&5
46055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46056 (exit $ac_status); } && {
46057 test -z "$ac_c_werror_flag" ||
46058 test ! -s conftest.err
46059 } && test -s conftest
$ac_exeext &&
46060 $as_test_x conftest
$ac_exeext; then
46061 ac_cv_lib_socket_socket
=yes
46063 echo "$as_me: failed program was:" >&5
46064 sed 's/^/| /' conftest.
$ac_ext >&5
46066 ac_cv_lib_socket_socket
=no
46069 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46070 conftest
$ac_exeext conftest.
$ac_ext
46071 LIBS
=$ac_check_lib_save_LIBS
46073 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46074 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46075 if test $ac_cv_lib_socket_socket = yes; then
46076 if test "$INET_LINK" != " -lsocket"; then
46077 INET_LINK
="$INET_LINK -lsocket"
46081 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46082 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46095 if test "$wxUSE_SOCKETS" = "yes" ; then
46096 if test "$TOOLKIT" != "MSW"; then
46097 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46098 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46099 if test "${wx_cv_type_getsockname3+set}" = set; then
46100 echo $ECHO_N "(cached) $ECHO_C" >&6
46104 ac_cpp
='$CXXCPP $CPPFLAGS'
46105 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46106 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46107 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46109 cat >conftest.
$ac_ext <<_ACEOF
46112 cat confdefs.h
>>conftest.
$ac_ext
46113 cat >>conftest.
$ac_ext <<_ACEOF
46114 /* end confdefs.h. */
46116 #include <sys/types.h>
46117 #include <sys/socket.h>
46124 getsockname(0, 0, &len);
46130 rm -f conftest.
$ac_objext
46131 if { (ac_try
="$ac_compile"
46132 case "(($ac_try" in
46133 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46134 *) ac_try_echo=$ac_try;;
46136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46137 (eval "$ac_compile") 2>conftest.er1
46139 grep -v '^ *+' conftest.er1 >conftest.err
46141 cat conftest.err >&5
46142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46143 (exit $ac_status); } && {
46144 test -z "$ac_cxx_werror_flag" ||
46145 test ! -s conftest.err
46146 } && test -s conftest.$ac_objext; then
46147 wx_cv_type_getsockname3=socklen_t
46149 echo "$as_me: failed program was:" >&5
46150 sed 's/^/| /' conftest.$ac_ext >&5
46153 CFLAGS_OLD="$CFLAGS"
46154 if test "$GCC" = yes ; then
46155 CFLAGS="-Werror $CFLAGS"
46158 cat >conftest.$ac_ext <<_ACEOF
46161 cat confdefs.h >>conftest.$ac_ext
46162 cat >>conftest.$ac_ext <<_ACEOF
46163 /* end confdefs.h. */
46165 #include <sys/types.h>
46166 #include <sys/socket.h>
46173 getsockname(0, 0, &len);
46179 rm -f conftest.$ac_objext
46180 if { (ac_try="$ac_compile"
46181 case "(($ac_try" in
46182 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46183 *) ac_try_echo
=$ac_try;;
46185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46186 (eval "$ac_compile") 2>conftest.er1
46188 grep -v '^ *+' conftest.er1
>conftest.err
46190 cat conftest.err
>&5
46191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46192 (exit $ac_status); } && {
46193 test -z "$ac_cxx_werror_flag" ||
46194 test ! -s conftest.err
46195 } && test -s conftest.
$ac_objext; then
46196 wx_cv_type_getsockname3
=size_t
46198 echo "$as_me: failed program was:" >&5
46199 sed 's/^/| /' conftest.
$ac_ext >&5
46201 cat >conftest.
$ac_ext <<_ACEOF
46204 cat confdefs.h
>>conftest.
$ac_ext
46205 cat >>conftest.
$ac_ext <<_ACEOF
46206 /* end confdefs.h. */
46208 #include <sys/types.h>
46209 #include <sys/socket.h>
46216 getsockname(0, 0, &len);
46222 rm -f conftest.
$ac_objext
46223 if { (ac_try
="$ac_compile"
46224 case "(($ac_try" in
46225 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46226 *) ac_try_echo=$ac_try;;
46228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46229 (eval "$ac_compile") 2>conftest.er1
46231 grep -v '^ *+' conftest.er1 >conftest.err
46233 cat conftest.err >&5
46234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46235 (exit $ac_status); } && {
46236 test -z "$ac_cxx_werror_flag" ||
46237 test ! -s conftest.err
46238 } && test -s conftest.$ac_objext; then
46239 wx_cv_type_getsockname3=int
46241 echo "$as_me: failed program was:" >&5
46242 sed 's/^/| /' conftest.$ac_ext >&5
46244 wx_cv_type_getsockname3=unknown
46248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46254 CFLAGS="$CFLAGS_OLD"
46259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46261 ac_cpp='$CPP $CPPFLAGS'
46262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46268 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46269 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46271 if test "$wx_cv_type_getsockname3" = "unknown"; then
46273 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46274 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46276 cat >>confdefs.h <<_ACEOF
46277 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46281 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46282 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46283 if test "${wx_cv_type_getsockopt5+set}" = set; then
46284 echo $ECHO_N "(cached) $ECHO_C" >&6
46288 ac_cpp='$CXXCPP $CPPFLAGS'
46289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46293 cat >conftest.$ac_ext <<_ACEOF
46296 cat confdefs.h >>conftest.$ac_ext
46297 cat >>conftest.$ac_ext <<_ACEOF
46298 /* end confdefs.h. */
46300 #include <sys/types.h>
46301 #include <sys/socket.h>
46308 getsockopt(0, 0, 0, 0, &len);
46314 rm -f conftest.$ac_objext
46315 if { (ac_try="$ac_compile"
46316 case "(($ac_try" in
46317 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46318 *) ac_try_echo
=$ac_try;;
46320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46321 (eval "$ac_compile") 2>conftest.er1
46323 grep -v '^ *+' conftest.er1
>conftest.err
46325 cat conftest.err
>&5
46326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46327 (exit $ac_status); } && {
46328 test -z "$ac_cxx_werror_flag" ||
46329 test ! -s conftest.err
46330 } && test -s conftest.
$ac_objext; then
46331 wx_cv_type_getsockopt5
=socklen_t
46333 echo "$as_me: failed program was:" >&5
46334 sed 's/^/| /' conftest.
$ac_ext >&5
46337 cat >conftest.
$ac_ext <<_ACEOF
46340 cat confdefs.h
>>conftest.
$ac_ext
46341 cat >>conftest.
$ac_ext <<_ACEOF
46342 /* end confdefs.h. */
46344 #include <sys/types.h>
46345 #include <sys/socket.h>
46352 getsockopt(0, 0, 0, 0, &len);
46358 rm -f conftest.
$ac_objext
46359 if { (ac_try
="$ac_compile"
46360 case "(($ac_try" in
46361 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46362 *) ac_try_echo=$ac_try;;
46364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46365 (eval "$ac_compile") 2>conftest.er1
46367 grep -v '^ *+' conftest.er1 >conftest.err
46369 cat conftest.err >&5
46370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46371 (exit $ac_status); } && {
46372 test -z "$ac_cxx_werror_flag" ||
46373 test ! -s conftest.err
46374 } && test -s conftest.$ac_objext; then
46375 wx_cv_type_getsockopt5=size_t
46377 echo "$as_me: failed program was:" >&5
46378 sed 's/^/| /' conftest.$ac_ext >&5
46380 cat >conftest.$ac_ext <<_ACEOF
46383 cat confdefs.h >>conftest.$ac_ext
46384 cat >>conftest.$ac_ext <<_ACEOF
46385 /* end confdefs.h. */
46387 #include <sys/types.h>
46388 #include <sys/socket.h>
46395 getsockopt(0, 0, 0, 0, &len);
46401 rm -f conftest.$ac_objext
46402 if { (ac_try="$ac_compile"
46403 case "(($ac_try" in
46404 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46405 *) ac_try_echo
=$ac_try;;
46407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46408 (eval "$ac_compile") 2>conftest.er1
46410 grep -v '^ *+' conftest.er1
>conftest.err
46412 cat conftest.err
>&5
46413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46414 (exit $ac_status); } && {
46415 test -z "$ac_cxx_werror_flag" ||
46416 test ! -s conftest.err
46417 } && test -s conftest.
$ac_objext; then
46418 wx_cv_type_getsockopt5
=int
46420 echo "$as_me: failed program was:" >&5
46421 sed 's/^/| /' conftest.
$ac_ext >&5
46423 wx_cv_type_getsockopt5
=unknown
46427 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46431 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46436 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46438 ac_cpp
='$CPP $CPPFLAGS'
46439 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46440 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46441 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46445 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46446 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46448 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46450 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46451 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46453 cat >>confdefs.h
<<_ACEOF
46454 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46461 if test "$wxUSE_SOCKETS" = "yes" ; then
46462 if test "$wxUSE_IPV6" = "yes"; then
46463 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46464 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46465 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46466 echo $ECHO_N "(cached) $ECHO_C" >&6
46469 cat >conftest.
$ac_ext <<_ACEOF
46472 cat confdefs.h
>>conftest.
$ac_ext
46473 cat >>conftest.
$ac_ext <<_ACEOF
46474 /* end confdefs.h. */
46476 #include <sys/types.h>
46477 #include <sys/socket.h>
46478 #include <netinet/in.h>
46484 struct sockaddr_in6 sa6;
46490 rm -f conftest.
$ac_objext
46491 if { (ac_try
="$ac_compile"
46492 case "(($ac_try" in
46493 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46494 *) ac_try_echo=$ac_try;;
46496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46497 (eval "$ac_compile") 2>conftest.er1
46499 grep -v '^ *+' conftest.er1 >conftest.err
46501 cat conftest.err >&5
46502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46503 (exit $ac_status); } && {
46504 test -z "$ac_c_werror_flag" ||
46505 test ! -s conftest.err
46506 } && test -s conftest.$ac_objext; then
46507 wx_cv_type_sockaddr_in6=yes
46509 echo "$as_me: failed program was:" >&5
46510 sed 's/^/| /' conftest.$ac_ext >&5
46512 wx_cv_type_sockaddr_in6=no
46516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46520 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46521 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46523 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46524 cat >>confdefs.h <<\_ACEOF
46525 #define wxUSE_IPV6 1
46529 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46530 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46534 cat >>confdefs.h <<\_ACEOF
46535 #define wxUSE_SOCKETS 1
46538 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46541 if test "$wxUSE_PROTOCOL" = "yes"; then
46542 if test "$wxUSE_SOCKETS" != "yes"; then
46543 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46544 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46549 if test "$wxUSE_PROTOCOL" = "yes"; then
46550 cat >>confdefs.h <<\_ACEOF
46551 #define wxUSE_PROTOCOL 1
46555 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46556 cat >>confdefs.h <<\_ACEOF
46557 #define wxUSE_PROTOCOL_HTTP 1
46561 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46562 cat >>confdefs.h <<\_ACEOF
46563 #define wxUSE_PROTOCOL_FTP 1
46567 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46568 cat >>confdefs.h <<\_ACEOF
46569 #define wxUSE_PROTOCOL_FILE 1
46574 if test "$wxUSE_FS_INET" = "yes"; then
46575 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46576 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46581 if test "$wxUSE_URL" = "yes"; then
46582 if test "$wxUSE_PROTOCOL" != "yes"; then
46583 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46584 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46587 if test "$wxUSE_URL" = "yes"; then
46588 cat >>confdefs.h <<\_ACEOF
46589 #define wxUSE_URL 1
46595 if test "$wxUSE_VARIANT" = "yes"; then
46596 cat >>confdefs.h <<\_ACEOF
46597 #define wxUSE_VARIANT 1
46602 if test "$wxUSE_FS_INET" = "yes"; then
46603 cat >>confdefs.h <<\_ACEOF
46604 #define wxUSE_FS_INET 1
46610 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46613 if test "$TOOLKIT" = "MSW"; then
46616 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46617 if test "$USE_DARWIN" = 1; then
46618 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46619 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46621 ac_cpp='$CXXCPP $CPPFLAGS'
46622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46626 cat >conftest.$ac_ext <<_ACEOF
46629 cat confdefs.h >>conftest.$ac_ext
46630 cat >>conftest.$ac_ext <<_ACEOF
46631 /* end confdefs.h. */
46632 #include <IOKit/hid/IOHIDLib.h>
46636 IOHIDQueueInterface *qi = NULL;
46637 IOHIDCallbackFunction cb = NULL;
46638 qi->setEventCallout(NULL, cb, NULL, NULL);
46643 rm -f conftest.$ac_objext
46644 if { (ac_try="$ac_compile"
46645 case "(($ac_try" in
46646 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46647 *) ac_try_echo
=$ac_try;;
46649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46650 (eval "$ac_compile") 2>conftest.er1
46652 grep -v '^ *+' conftest.er1
>conftest.err
46654 cat conftest.err
>&5
46655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46656 (exit $ac_status); } && {
46657 test -z "$ac_cxx_werror_flag" ||
46658 test ! -s conftest.err
46659 } && test -s conftest.
$ac_objext; then
46663 echo "$as_me: failed program was:" >&5
46664 sed 's/^/| /' conftest.
$ac_ext >&5
46669 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46671 ac_cpp
='$CPP $CPPFLAGS'
46672 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46673 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46674 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46676 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46677 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46681 if test "$wxUSE_MGL" != 1; then
46683 for ac_header
in linux
/joystick.h
46685 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46686 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46687 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46688 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46689 echo $ECHO_N "(cached) $ECHO_C" >&6
46691 cat >conftest.
$ac_ext <<_ACEOF
46694 cat confdefs.h
>>conftest.
$ac_ext
46695 cat >>conftest.
$ac_ext <<_ACEOF
46696 /* end confdefs.h. */
46697 $ac_includes_default
46699 #include <$ac_header>
46701 rm -f conftest.
$ac_objext
46702 if { (ac_try
="$ac_compile"
46703 case "(($ac_try" in
46704 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46705 *) ac_try_echo=$ac_try;;
46707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46708 (eval "$ac_compile") 2>conftest.er1
46710 grep -v '^ *+' conftest.er1 >conftest.err
46712 cat conftest.err >&5
46713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46714 (exit $ac_status); } && {
46715 test -z "$ac_c_werror_flag" ||
46716 test ! -s conftest.err
46717 } && test -s conftest.$ac_objext; then
46718 eval "$as_ac_Header=yes"
46720 echo "$as_me: failed program was:" >&5
46721 sed 's/^/| /' conftest.$ac_ext >&5
46723 eval "$as_ac_Header=no"
46726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46728 ac_res=`eval echo '${'$as_ac_Header'}'`
46729 { echo "$as_me:$LINENO: result: $ac_res" >&5
46730 echo "${ECHO_T}$ac_res" >&6; }
46731 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46732 cat >>confdefs.h <<_ACEOF
46733 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46743 if test "$wxUSE_JOYSTICK" = "yes"; then
46744 cat >>confdefs.h <<\_ACEOF
46745 #define wxUSE_JOYSTICK 1
46748 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46750 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46751 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46757 if test "$wxUSE_FONTENUM" = "yes" ; then
46758 cat >>confdefs.h <<\_ACEOF
46759 #define wxUSE_FONTENUM 1
46764 if test "$wxUSE_FONTMAP" = "yes" ; then
46765 cat >>confdefs.h <<\_ACEOF
46766 #define wxUSE_FONTMAP 1
46771 if test "$wxUSE_UNICODE" = "yes" ; then
46772 cat >>confdefs.h <<\_ACEOF
46773 #define wxUSE_UNICODE 1
46777 if test "$USE_WIN32" != 1; then
46778 wxUSE_UNICODE_MSLU=no
46781 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46782 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46783 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46784 if test "${ac_cv_lib_unicows_main+set}" = set; then
46785 echo $ECHO_N "(cached) $ECHO_C" >&6
46787 ac_check_lib_save_LIBS=$LIBS
46788 LIBS="-lunicows $LIBS"
46789 cat >conftest.$ac_ext <<_ACEOF
46792 cat confdefs.h >>conftest.$ac_ext
46793 cat >>conftest.$ac_ext <<_ACEOF
46794 /* end confdefs.h. */
46805 rm -f conftest.$ac_objext conftest$ac_exeext
46806 if { (ac_try="$ac_link"
46807 case "(($ac_try" in
46808 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46809 *) ac_try_echo
=$ac_try;;
46811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46812 (eval "$ac_link") 2>conftest.er1
46814 grep -v '^ *+' conftest.er1
>conftest.err
46816 cat conftest.err
>&5
46817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46818 (exit $ac_status); } && {
46819 test -z "$ac_c_werror_flag" ||
46820 test ! -s conftest.err
46821 } && test -s conftest
$ac_exeext &&
46822 $as_test_x conftest
$ac_exeext; then
46823 ac_cv_lib_unicows_main
=yes
46825 echo "$as_me: failed program was:" >&5
46826 sed 's/^/| /' conftest.
$ac_ext >&5
46828 ac_cv_lib_unicows_main
=no
46831 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46832 conftest
$ac_exeext conftest.
$ac_ext
46833 LIBS
=$ac_check_lib_save_LIBS
46835 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46836 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46837 if test $ac_cv_lib_unicows_main = yes; then
46839 cat >>confdefs.h
<<\_ACEOF
46840 #define wxUSE_UNICODE_MSLU 1
46846 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46847 Applications will only run on Windows NT/2000/XP!" >&5
46848 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46849 Applications will only run on Windows NT/2000/XP!" >&2;}
46850 wxUSE_UNICODE_MSLU
=no
46857 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46858 cat >>confdefs.h
<<\_ACEOF
46859 #define wxUSE_UNICODE_UTF8 1
46863 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46864 cat >>confdefs.h
<<\_ACEOF
46865 #define wxUSE_UTF8_LOCALE_ONLY 1
46872 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46873 cat >>confdefs.h
<<\_ACEOF
46874 #define wxUSE_CONSTRAINTS 1
46877 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
46880 if test "$wxUSE_MDI" = "yes"; then
46881 cat >>confdefs.h
<<\_ACEOF
46882 #define wxUSE_MDI 1
46886 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46887 cat >>confdefs.h
<<\_ACEOF
46888 #define wxUSE_MDI_ARCHITECTURE 1
46891 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
46895 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46896 cat >>confdefs.h
<<\_ACEOF
46897 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46900 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
46903 if test "$wxUSE_HELP" = "yes"; then
46904 cat >>confdefs.h
<<\_ACEOF
46905 #define wxUSE_HELP 1
46908 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
46910 if test "$wxUSE_MSW" = 1; then
46911 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46912 cat >>confdefs.h
<<\_ACEOF
46913 #define wxUSE_MS_HTML_HELP 1
46919 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46920 if test "$wxUSE_HTML" = "yes"; then
46921 cat >>confdefs.h
<<\_ACEOF
46922 #define wxUSE_WXHTML_HELP 1
46926 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46927 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46928 wxUSE_WXHTML_HELP
=no
46933 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46934 cat >>confdefs.h
<<\_ACEOF
46935 #define wxUSE_PRINTING_ARCHITECTURE 1
46938 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
46941 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46942 cat >>confdefs.h
<<\_ACEOF
46943 #define wxUSE_POSTSCRIPT 1
46948 cat >>confdefs.h
<<\_ACEOF
46949 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46953 if test "$wxUSE_SVG" = "yes"; then
46954 cat >>confdefs.h
<<\_ACEOF
46955 #define wxUSE_SVG 1
46961 if test "$wxUSE_METAFILE" = "yes"; then
46962 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46963 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46964 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46970 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
46971 -o "$wxUSE_CLIPBOARD" = "yes" \
46972 -o "$wxUSE_OLE" = "yes" \
46973 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
46974 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46975 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46976 if test "${ac_cv_header_ole2_h+set}" = set; then
46977 echo $ECHO_N "(cached) $ECHO_C" >&6
46979 cat >conftest.
$ac_ext <<_ACEOF
46982 cat confdefs.h
>>conftest.
$ac_ext
46983 cat >>conftest.
$ac_ext <<_ACEOF
46984 /* end confdefs.h. */
46989 rm -f conftest.
$ac_objext
46990 if { (ac_try
="$ac_compile"
46991 case "(($ac_try" in
46992 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46993 *) ac_try_echo=$ac_try;;
46995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46996 (eval "$ac_compile") 2>conftest.er1
46998 grep -v '^ *+' conftest.er1 >conftest.err
47000 cat conftest.err >&5
47001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47002 (exit $ac_status); } && {
47003 test -z "$ac_c_werror_flag" ||
47004 test ! -s conftest.err
47005 } && test -s conftest.$ac_objext; then
47006 ac_cv_header_ole2_h=yes
47008 echo "$as_me: failed program was:" >&5
47009 sed 's/^/| /' conftest.$ac_ext >&5
47011 ac_cv_header_ole2_h=no
47014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47016 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47017 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47021 if test "$ac_cv_header_ole2_h" = "yes" ; then
47022 if test "$GCC" = yes ; then
47023 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47024 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47025 cat >conftest.$ac_ext <<_ACEOF
47028 cat confdefs.h >>conftest.$ac_ext
47029 cat >>conftest.$ac_ext <<_ACEOF
47030 /* end confdefs.h. */
47031 #include <windows.h>
47041 rm -f conftest.$ac_objext
47042 if { (ac_try="$ac_compile"
47043 case "(($ac_try" in
47044 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47045 *) ac_try_echo
=$ac_try;;
47047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47048 (eval "$ac_compile") 2>conftest.er1
47050 grep -v '^ *+' conftest.er1
>conftest.err
47052 cat conftest.err
>&5
47053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47054 (exit $ac_status); } && {
47055 test -z "$ac_c_werror_flag" ||
47056 test ! -s conftest.err
47057 } && test -s conftest.
$ac_objext; then
47058 { echo "$as_me:$LINENO: result: no" >&5
47059 echo "${ECHO_T}no" >&6; }
47061 echo "$as_me: failed program was:" >&5
47062 sed 's/^/| /' conftest.
$ac_ext >&5
47064 { echo "$as_me:$LINENO: result: yes" >&5
47065 echo "${ECHO_T}yes" >&6; }
47066 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47069 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47070 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47071 if test "$wxUSE_OLE" = "yes" ; then
47072 cat >>confdefs.h
<<\_ACEOF
47073 #define wxUSE_OLE 1
47076 cat >>confdefs.h
<<\_ACEOF
47077 #define wxUSE_OLE_AUTOMATION 1
47080 cat >>confdefs.h
<<\_ACEOF
47081 #define wxUSE_ACTIVEX 1
47084 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
47088 if test "$wxUSE_DATAOBJ" = "yes" ; then
47089 cat >>confdefs.h
<<\_ACEOF
47090 #define wxUSE_DATAOBJ 1
47095 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47096 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47099 wxUSE_DRAG_AND_DROP
=no
47104 if test "$wxUSE_METAFILE" = "yes"; then
47105 cat >>confdefs.h
<<\_ACEOF
47106 #define wxUSE_METAFILE 1
47110 cat >>confdefs.h
<<\_ACEOF
47111 #define wxUSE_ENH_METAFILE 1
47117 if test "$wxUSE_IPC" = "yes"; then
47118 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47119 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47120 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47124 if test "$wxUSE_IPC" = "yes"; then
47125 cat >>confdefs.h
<<\_ACEOF
47126 #define wxUSE_IPC 1
47129 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
47133 if test "$wxUSE_DATAOBJ" = "yes"; then
47134 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47135 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47136 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47139 cat >>confdefs.h
<<\_ACEOF
47140 #define wxUSE_DATAOBJ 1
47145 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47146 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47148 wxUSE_DRAG_AND_DROP
=no
47151 if test "$wxUSE_CLIPBOARD" = "yes"; then
47152 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47153 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47154 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47158 if test "$wxUSE_CLIPBOARD" = "yes"; then
47159 cat >>confdefs.h
<<\_ACEOF
47160 #define wxUSE_CLIPBOARD 1
47166 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47167 if test "$wxUSE_GTK" = 1; then
47168 if test "$WXGTK12" != 1; then
47169 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47170 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47171 wxUSE_DRAG_AND_DROP
=no
47175 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47176 "$wxUSE_DFB" = 1; then
47177 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47178 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47179 wxUSE_DRAG_AND_DROP
=no
47182 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47183 cat >>confdefs.h
<<\_ACEOF
47184 #define wxUSE_DRAG_AND_DROP 1
47191 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47192 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
47195 if test "$wxUSE_CLIPBOARD" = "yes"; then
47196 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
47199 if test "$wxUSE_SPLINES" = "yes" ; then
47200 cat >>confdefs.h
<<\_ACEOF
47201 #define wxUSE_SPLINES 1
47206 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47207 cat >>confdefs.h
<<\_ACEOF
47208 #define wxUSE_MOUSEWHEEL 1
47213 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
47214 cat >>confdefs.h
<<\_ACEOF
47215 #define wxUSE_UIACTIONSIMULATOR 1
47218 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS uiaction"
47221 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
47222 cat >>confdefs.h
<<\_ACEOF
47223 #define wxUSE_DC_TRANSFORM_MATRIX 1
47230 if test "$wxUSE_CONTROLS" = "yes"; then
47234 if test "$wxUSE_MARKUP" = "yes"; then
47235 cat >>confdefs.h
<<\_ACEOF
47236 #define wxUSE_MARKUP 1
47241 if test "$wxUSE_ACCEL" = "yes"; then
47242 cat >>confdefs.h
<<\_ACEOF
47243 #define wxUSE_ACCEL 1
47249 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47250 cat >>confdefs.h
<<\_ACEOF
47251 #define wxUSE_ANIMATIONCTRL 1
47255 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
47258 if test "$wxUSE_BUTTON" = "yes"; then
47259 cat >>confdefs.h
<<\_ACEOF
47260 #define wxUSE_BUTTON 1
47266 if test "$wxUSE_BMPBUTTON" = "yes"; then
47267 cat >>confdefs.h
<<\_ACEOF
47268 #define wxUSE_BMPBUTTON 1
47274 if test "$wxUSE_CALCTRL" = "yes"; then
47275 cat >>confdefs.h
<<\_ACEOF
47276 #define wxUSE_CALENDARCTRL 1
47280 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
47283 if test "$wxUSE_CARET" = "yes"; then
47284 cat >>confdefs.h
<<\_ACEOF
47285 #define wxUSE_CARET 1
47289 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
47292 if test "$wxUSE_COLLPANE" = "yes"; then
47293 cat >>confdefs.h
<<\_ACEOF
47294 #define wxUSE_COLLPANE 1
47298 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
47301 if test "$wxUSE_COMBOBOX" = "yes"; then
47302 cat >>confdefs.h
<<\_ACEOF
47303 #define wxUSE_COMBOBOX 1
47309 if test "$wxUSE_COMBOCTRL" = "yes"; then
47310 cat >>confdefs.h
<<\_ACEOF
47311 #define wxUSE_COMBOCTRL 1
47317 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
47318 cat >>confdefs.h
<<\_ACEOF
47319 #define wxUSE_COMMANDLINKBUTTON 1
47325 if test "$wxUSE_CHOICE" = "yes"; then
47326 cat >>confdefs.h
<<\_ACEOF
47327 #define wxUSE_CHOICE 1
47333 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47334 cat >>confdefs.h
<<\_ACEOF
47335 #define wxUSE_CHOICEBOOK 1
47341 if test "$wxUSE_CHECKBOX" = "yes"; then
47342 cat >>confdefs.h
<<\_ACEOF
47343 #define wxUSE_CHECKBOX 1
47349 if test "$wxUSE_CHECKLST" = "yes"; then
47350 cat >>confdefs.h
<<\_ACEOF
47351 #define wxUSE_CHECKLISTBOX 1
47357 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47358 cat >>confdefs.h
<<\_ACEOF
47359 #define wxUSE_COLOURPICKERCTRL 1
47365 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47366 cat >>confdefs.h
<<\_ACEOF
47367 #define wxUSE_DATEPICKCTRL 1
47373 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47374 cat >>confdefs.h
<<\_ACEOF
47375 #define wxUSE_DIRPICKERCTRL 1
47381 if test "$wxUSE_FILECTRL" = "yes"; then
47382 cat >>confdefs.h
<<\_ACEOF
47383 #define wxUSE_FILECTRL 1
47389 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47390 cat >>confdefs.h
<<\_ACEOF
47391 #define wxUSE_FILEPICKERCTRL 1
47397 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47398 cat >>confdefs.h
<<\_ACEOF
47399 #define wxUSE_FONTPICKERCTRL 1
47405 if test "$wxUSE_DISPLAY" = "yes"; then
47406 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47407 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47408 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47411 cat >>confdefs.h
<<\_ACEOF
47412 #define wxUSE_DISPLAY 1
47415 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
47419 if test "$wxUSE_DETECT_SM" = "yes"; then
47420 cat >>confdefs.h
<<\_ACEOF
47421 #define wxUSE_DETECT_SM 1
47426 if test "$wxUSE_GAUGE" = "yes"; then
47427 cat >>confdefs.h
<<\_ACEOF
47428 #define wxUSE_GAUGE 1
47434 if test "$wxUSE_GRID" = "yes"; then
47435 cat >>confdefs.h
<<\_ACEOF
47436 #define wxUSE_GRID 1
47440 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
47443 if test "$wxUSE_HEADERCTRL" = "yes"; then
47444 cat >>confdefs.h
<<\_ACEOF
47445 #define wxUSE_HEADERCTRL 1
47451 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47452 cat >>confdefs.h
<<\_ACEOF
47453 #define wxUSE_HYPERLINKCTRL 1
47459 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47460 cat >>confdefs.h
<<\_ACEOF
47461 #define wxUSE_BITMAPCOMBOBOX 1
47467 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47468 cat >>confdefs.h
<<\_ACEOF
47469 #define wxUSE_DATAVIEWCTRL 1
47473 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
47476 if test "$wxUSE_IMAGLIST" = "yes"; then
47477 cat >>confdefs.h
<<\_ACEOF
47478 #define wxUSE_IMAGLIST 1
47483 if test "$wxUSE_INFOBAR" = "yes"; then
47484 cat >>confdefs.h
<<\_ACEOF
47485 #define wxUSE_INFOBAR 1
47490 if test "$wxUSE_LISTBOOK" = "yes"; then
47491 cat >>confdefs.h
<<\_ACEOF
47492 #define wxUSE_LISTBOOK 1
47498 if test "$wxUSE_LISTBOX" = "yes"; then
47499 cat >>confdefs.h
<<\_ACEOF
47500 #define wxUSE_LISTBOX 1
47506 if test "$wxUSE_LISTCTRL" = "yes"; then
47507 if test "$wxUSE_IMAGLIST" = "yes"; then
47508 cat >>confdefs.h
<<\_ACEOF
47509 #define wxUSE_LISTCTRL 1
47513 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
47515 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47516 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47520 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47521 cat >>confdefs.h
<<\_ACEOF
47522 #define wxUSE_EDITABLELISTBOX 1
47528 if test "$wxUSE_NOTEBOOK" = "yes"; then
47529 cat >>confdefs.h
<<\_ACEOF
47530 #define wxUSE_NOTEBOOK 1
47534 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
47537 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47538 cat >>confdefs.h
<<\_ACEOF
47539 #define wxUSE_NOTIFICATION_MESSAGE 1
47544 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47545 cat >>confdefs.h
<<\_ACEOF
47546 #define wxUSE_ODCOMBOBOX 1
47550 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
47553 if test "$wxUSE_RADIOBOX" = "yes"; then
47554 cat >>confdefs.h
<<\_ACEOF
47555 #define wxUSE_RADIOBOX 1
47561 if test "$wxUSE_RADIOBTN" = "yes"; then
47562 cat >>confdefs.h
<<\_ACEOF
47563 #define wxUSE_RADIOBTN 1
47569 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47570 cat >>confdefs.h
<<\_ACEOF
47571 #define wxUSE_REARRANGECTRL 1
47576 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47577 cat >>confdefs.h
<<\_ACEOF
47578 #define wxUSE_RICHMSGDLG 1
47583 if test "$wxUSE_SASH" = "yes"; then
47584 cat >>confdefs.h
<<\_ACEOF
47585 #define wxUSE_SASH 1
47588 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
47591 if test "$wxUSE_SCROLLBAR" = "yes"; then
47592 cat >>confdefs.h
<<\_ACEOF
47593 #define wxUSE_SCROLLBAR 1
47597 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
47600 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47601 cat >>confdefs.h
<<\_ACEOF
47602 #define wxUSE_SEARCHCTRL 1
47608 if test "$wxUSE_SLIDER" = "yes"; then
47609 cat >>confdefs.h
<<\_ACEOF
47610 #define wxUSE_SLIDER 1
47616 if test "$wxUSE_SPINBTN" = "yes"; then
47617 cat >>confdefs.h
<<\_ACEOF
47618 #define wxUSE_SPINBTN 1
47624 if test "$wxUSE_SPINCTRL" = "yes"; then
47625 cat >>confdefs.h
<<\_ACEOF
47626 #define wxUSE_SPINCTRL 1
47632 if test "$wxUSE_SPLITTER" = "yes"; then
47633 cat >>confdefs.h
<<\_ACEOF
47634 #define wxUSE_SPLITTER 1
47637 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
47640 if test "$wxUSE_STATBMP" = "yes"; then
47641 cat >>confdefs.h
<<\_ACEOF
47642 #define wxUSE_STATBMP 1
47648 if test "$wxUSE_STATBOX" = "yes"; then
47649 cat >>confdefs.h
<<\_ACEOF
47650 #define wxUSE_STATBOX 1
47656 if test "$wxUSE_STATTEXT" = "yes"; then
47657 cat >>confdefs.h
<<\_ACEOF
47658 #define wxUSE_STATTEXT 1
47664 if test "$wxUSE_STATLINE" = "yes"; then
47665 cat >>confdefs.h
<<\_ACEOF
47666 #define wxUSE_STATLINE 1
47672 if test "$wxUSE_STATUSBAR" = "yes"; then
47673 cat >>confdefs.h
<<\_ACEOF
47674 #define wxUSE_NATIVE_STATUSBAR 1
47677 cat >>confdefs.h
<<\_ACEOF
47678 #define wxUSE_STATUSBAR 1
47683 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
47686 if test "$wxUSE_TEXTCTRL" = "yes"; then
47687 cat >>confdefs.h
<<\_ACEOF
47688 #define wxUSE_TEXTCTRL 1
47692 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
47694 cat >>confdefs.h
<<\_ACEOF
47695 #define wxUSE_RICHEDIT 1
47698 cat >>confdefs.h
<<\_ACEOF
47699 #define wxUSE_RICHEDIT2 1
47704 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47705 if test "$wxUSE_OLD_COCOA" = 1 ; then
47706 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47707 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47711 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47712 cat >>confdefs.h
<<\_ACEOF
47713 #define wxUSE_TOGGLEBTN 1
47720 if test "$wxUSE_TOOLBAR" = "yes"; then
47721 cat >>confdefs.h
<<\_ACEOF
47722 #define wxUSE_TOOLBAR 1
47727 if test "$wxUSE_UNIVERSAL" = "yes"; then
47728 wxUSE_TOOLBAR_NATIVE
="no"
47730 wxUSE_TOOLBAR_NATIVE
="yes"
47731 cat >>confdefs.h
<<\_ACEOF
47732 #define wxUSE_TOOLBAR_NATIVE 1
47737 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
47740 if test "$wxUSE_TOOLTIPS" = "yes"; then
47741 if test "$wxUSE_MOTIF" = 1; then
47742 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47743 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47745 if test "$wxUSE_UNIVERSAL" = "yes"; then
47746 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47747 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47749 cat >>confdefs.h
<<\_ACEOF
47750 #define wxUSE_TOOLTIPS 1
47757 if test "$wxUSE_TREEBOOK" = "yes"; then
47758 cat >>confdefs.h
<<\_ACEOF
47759 #define wxUSE_TREEBOOK 1
47765 if test "$wxUSE_TOOLBOOK" = "yes"; then
47766 cat >>confdefs.h
<<\_ACEOF
47767 #define wxUSE_TOOLBOOK 1
47773 if test "$wxUSE_TREECTRL" = "yes"; then
47774 if test "$wxUSE_IMAGLIST" = "yes"; then
47775 cat >>confdefs.h
<<\_ACEOF
47776 #define wxUSE_TREECTRL 1
47780 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
47782 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47783 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47787 if test "$wxUSE_POPUPWIN" = "yes"; then
47788 if test "$wxUSE_OLD_COCOA" = 1 ; then
47789 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47790 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47792 if test "$wxUSE_PM" = 1; then
47793 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47794 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47796 cat >>confdefs.h
<<\_ACEOF
47797 #define wxUSE_POPUPWIN 1
47800 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
47807 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47808 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47809 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47810 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47812 cat >>confdefs.h
<<\_ACEOF
47813 #define wxUSE_DIALUP_MANAGER 1
47816 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
47820 if test "$wxUSE_TIPWINDOW" = "yes"; then
47821 if test "$wxUSE_PM" = 1; then
47822 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47823 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47825 cat >>confdefs.h
<<\_ACEOF
47826 #define wxUSE_TIPWINDOW 1
47832 if test "$USES_CONTROLS" = 1; then
47833 cat >>confdefs.h
<<\_ACEOF
47834 #define wxUSE_CONTROLS 1
47840 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47841 cat >>confdefs.h
<<\_ACEOF
47842 #define wxUSE_ACCESSIBILITY 1
47845 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
47848 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
47849 cat >>confdefs.h
<<\_ACEOF
47850 #define wxUSE_ARTPROVIDER_STD 1
47855 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
47856 if test "$wxUSE_GTK" != 1; then
47857 if test "$wxUSE_LIBPNG" != no
-a \
47858 "$wxUSE_IMAGE" = yes -a \
47859 "$wxUSE_STREAMS" = yes; then
47860 wxUSE_ARTPROVIDER_TANGO
="yes"
47865 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
47866 cat >>confdefs.h
<<\_ACEOF
47867 #define wxUSE_ARTPROVIDER_TANGO 1
47872 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47873 cat >>confdefs.h
<<\_ACEOF
47874 #define wxUSE_DRAGIMAGE 1
47877 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
47880 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47881 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47882 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47883 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47885 cat >>confdefs.h
<<\_ACEOF
47886 #define wxUSE_EXCEPTIONS 1
47889 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
47894 if test "$wxUSE_HTML" = "yes"; then
47895 cat >>confdefs.h
<<\_ACEOF
47896 #define wxUSE_HTML 1
47900 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47902 if test "$wxUSE_WEBKIT" = "yes"; then
47903 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47904 old_CPPFLAGS
="$CPPFLAGS"
47905 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
47906 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47907 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47908 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47909 echo $ECHO_N "(cached) $ECHO_C" >&6
47911 cat >conftest.
$ac_ext <<_ACEOF
47914 cat confdefs.h
>>conftest.
$ac_ext
47915 cat >>conftest.
$ac_ext <<_ACEOF
47916 /* end confdefs.h. */
47918 #include <Carbon/Carbon.h>
47919 #include <WebKit/WebKit.h>
47922 #include <WebKit/HIWebView.h>
47924 rm -f conftest.
$ac_objext
47925 if { (ac_try
="$ac_compile"
47926 case "(($ac_try" in
47927 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47928 *) ac_try_echo=$ac_try;;
47930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47931 (eval "$ac_compile") 2>conftest.er1
47933 grep -v '^ *+' conftest.er1 >conftest.err
47935 cat conftest.err >&5
47936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47937 (exit $ac_status); } && {
47938 test -z "$ac_c_werror_flag" ||
47939 test ! -s conftest.err
47940 } && test -s conftest.$ac_objext; then
47941 ac_cv_header_WebKit_HIWebView_h=yes
47943 echo "$as_me: failed program was:" >&5
47944 sed 's/^/| /' conftest.$ac_ext >&5
47946 ac_cv_header_WebKit_HIWebView_h=no
47949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47951 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47952 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47953 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47955 cat >>confdefs.h <<\_ACEOF
47956 #define wxUSE_WEBKIT 1
47959 WEBKIT_LINK="-framework WebKit"
47963 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47964 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47970 CPPFLAGS="$old_CPPFLAGS"
47971 elif test "$wxUSE_OLD_COCOA" = 1; then
47972 cat >>confdefs.h <<\_ACEOF
47973 #define wxUSE_WEBKIT 1
47979 if test "$wxUSE_WEBKIT" = "yes"; then
47980 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47985 if test "$wxUSE_XRC" = "yes"; then
47986 if test "$wxUSE_XML" != "yes"; then
47987 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47988 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47991 cat >>confdefs.h <<\_ACEOF
47992 #define wxUSE_XRC 1
47996 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48001 if test "$wxUSE_AUI" = "yes"; then
48002 cat >>confdefs.h <<\_ACEOF
48003 #define wxUSE_AUI 1
48007 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48011 if test "$wxUSE_PROPGRID" = "yes"; then
48012 cat >>confdefs.h <<\_ACEOF
48013 #define wxUSE_PROPGRID 1
48017 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
48021 if test "$wxUSE_RIBBON" = "yes"; then
48022 cat >>confdefs.h <<\_ACEOF
48023 #define wxUSE_RIBBON 1
48027 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
48031 if test "$wxUSE_STC" = "yes"; then
48032 cat >>confdefs.h <<\_ACEOF
48033 #define wxUSE_STC 1
48037 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48039 # Extract the first word of "python", so it can be a program name with args.
48040 set dummy python; ac_word=$2
48041 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48043 if test "${ac_cv_path_PYTHON+set}" = set; then
48044 echo $ECHO_N "(cached) $ECHO_C" >&6
48048 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
48051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48052 for as_dir in $PATH
48055 test -z "$as_dir" && as_dir=.
48056 for ac_exec_ext in '' $ac_executable_extensions; do
48057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48058 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
48059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48069 PYTHON=$ac_cv_path_PYTHON
48070 if test -n "$PYTHON"; then
48071 { echo "$as_me:$LINENO: result: $PYTHON" >&5
48072 echo "${ECHO_T}$PYTHON" >&6; }
48074 { echo "$as_me:$LINENO: result: no" >&5
48075 echo "${ECHO_T}no" >&6; }
48079 if test "x$PYTHON" = "x"; then
48085 if test "$wxUSE_MENUS" = "yes"; then
48086 cat >>confdefs.h <<\_ACEOF
48087 #define wxUSE_MENUS 1
48090 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48093 if test "$wxUSE_METAFILE" = "yes"; then
48094 cat >>confdefs.h <<\_ACEOF
48095 #define wxUSE_METAFILE 1
48100 if test "$wxUSE_MIMETYPE" = "yes"; then
48101 cat >>confdefs.h <<\_ACEOF
48102 #define wxUSE_MIMETYPE 1
48107 if test "$wxUSE_MINIFRAME" = "yes"; then
48108 cat >>confdefs.h <<\_ACEOF
48109 #define wxUSE_MINIFRAME 1
48114 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48115 cat >>confdefs.h <<\_ACEOF
48116 #define wxUSE_SYSTEM_OPTIONS 1
48121 if test "$wxUSE_TASKBARICON" = "yes"; then
48122 cat >>confdefs.h <<\_ACEOF
48123 #define wxUSE_TASKBARICON 1
48126 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48130 if test "$wxUSE_VALIDATORS" = "yes"; then
48131 cat >>confdefs.h <<\_ACEOF
48132 #define wxUSE_VALIDATORS 1
48135 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48138 if test "$wxUSE_PALETTE" = "yes" ; then
48139 if test "$wxUSE_DFB" = 1; then
48140 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48141 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48144 cat >>confdefs.h <<\_ACEOF
48145 #define wxUSE_PALETTE 1
48151 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48152 LIBS=" -lunicows $LIBS"
48156 if test "$wxUSE_RICHTEXT" = "yes"; then
48157 cat >>confdefs.h <<\_ACEOF
48158 #define wxUSE_RICHTEXT 1
48162 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48166 if test "$wxUSE_IMAGE" = "yes" ; then
48167 cat >>confdefs.h <<\_ACEOF
48168 #define wxUSE_IMAGE 1
48172 if test "$wxUSE_GIF" = "yes" ; then
48173 cat >>confdefs.h <<\_ACEOF
48174 #define wxUSE_GIF 1
48179 if test "$wxUSE_PCX" = "yes" ; then
48180 cat >>confdefs.h <<\_ACEOF
48181 #define wxUSE_PCX 1
48186 if test "$wxUSE_TGA" = "yes" ; then
48187 cat >>confdefs.h <<\_ACEOF
48188 #define wxUSE_TGA 1
48193 if test "$wxUSE_IFF" = "yes" ; then
48194 cat >>confdefs.h <<\_ACEOF
48195 #define wxUSE_IFF 1
48200 if test "$wxUSE_PNM" = "yes" ; then
48201 cat >>confdefs.h <<\_ACEOF
48202 #define wxUSE_PNM 1
48207 if test "$wxUSE_XPM" = "yes" ; then
48208 cat >>confdefs.h <<\_ACEOF
48209 #define wxUSE_XPM 1
48214 if test "$wxUSE_ICO_CUR" = "yes" ; then
48215 cat >>confdefs.h <<\_ACEOF
48216 #define wxUSE_ICO_CUR 1
48223 if test "$wxUSE_ABOUTDLG" = "yes"; then
48224 cat >>confdefs.h <<\_ACEOF
48225 #define wxUSE_ABOUTDLG 1
48230 if test "$wxUSE_CHOICEDLG" = "yes"; then
48231 cat >>confdefs.h <<\_ACEOF
48232 #define wxUSE_CHOICEDLG 1
48237 if test "$wxUSE_COLOURDLG" = "yes"; then
48238 cat >>confdefs.h <<\_ACEOF
48239 #define wxUSE_COLOURDLG 1
48244 if test "$wxUSE_FILEDLG" = "yes"; then
48245 cat >>confdefs.h <<\_ACEOF
48246 #define wxUSE_FILEDLG 1
48251 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48252 cat >>confdefs.h <<\_ACEOF
48253 #define wxUSE_FINDREPLDLG 1
48258 if test "$wxUSE_FONTDLG" = "yes"; then
48259 cat >>confdefs.h <<\_ACEOF
48260 #define wxUSE_FONTDLG 1
48265 if test "$wxUSE_DIRDLG" = "yes"; then
48266 if test "$wxUSE_TREECTRL" != "yes"; then
48267 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48268 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48270 cat >>confdefs.h <<\_ACEOF
48271 #define wxUSE_DIRDLG 1
48277 if test "$wxUSE_MSGDLG" = "yes"; then
48278 cat >>confdefs.h <<\_ACEOF
48279 #define wxUSE_MSGDLG 1
48284 if test "$wxUSE_NUMBERDLG" = "yes"; then
48285 cat >>confdefs.h <<\_ACEOF
48286 #define wxUSE_NUMBERDLG 1
48291 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48292 cat >>confdefs.h <<\_ACEOF
48293 #define wxUSE_PROGRESSDLG 1
48298 if test "$wxUSE_SPLASH" = "yes"; then
48299 cat >>confdefs.h <<\_ACEOF
48300 #define wxUSE_SPLASH 1
48303 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48306 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48307 cat >>confdefs.h <<\_ACEOF
48308 #define wxUSE_STARTUP_TIPS 1
48313 if test "$wxUSE_TEXTDLG" = "yes"; then
48314 cat >>confdefs.h <<\_ACEOF
48315 #define wxUSE_TEXTDLG 1
48320 if test "$wxUSE_WIZARDDLG" = "yes"; then
48321 cat >>confdefs.h <<\_ACEOF
48322 #define wxUSE_WIZARDDLG 1
48325 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48329 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48330 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48331 cat >>confdefs.h <<\_ACEOF
48332 #define wxUSE_OWNER_DRAWN 1
48339 if test "$wxUSE_MSW" = 1 ; then
48341 if test "$wxUSE_DC_CACHEING" = "yes"; then
48342 cat >>confdefs.h <<\_ACEOF
48343 #define wxUSE_DC_CACHEING 1
48348 if test "$wxUSE_DIB" = "yes"; then
48349 cat >>confdefs.h <<\_ACEOF
48350 #define wxUSE_WXDIB 1
48355 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48356 cat >>confdefs.h <<\_ACEOF
48357 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48362 if test "$wxUSE_UXTHEME" = "yes"; then
48363 cat >>confdefs.h <<\_ACEOF
48364 #define wxUSE_UXTHEME 1
48371 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48372 cat >>confdefs.h <<\_ACEOF
48373 #define wxUSE_AUTOID_MANAGEMENT 1
48378 if test "$USE_WIN32" = 1 ; then
48379 if test "$wxUSE_INICONF" = "yes"; then
48380 cat >>confdefs.h <<\_ACEOF
48381 #define wxUSE_INICONF 1
48386 if test "$wxUSE_REGKEY" = "yes"; then
48387 cat >>confdefs.h <<\_ACEOF
48388 #define wxUSE_REGKEY 1
48395 if test "$wxUSE_MAC" = 1; then
48396 wxUSE_GRAPHICS_CONTEXT="yes"
48399 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48401 if test "$wxUSE_MSW" = 1; then
48402 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
48403 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
48404 if test "${wx_cv_lib_gdiplus+set}" = set; then
48405 echo $ECHO_N "(cached) $ECHO_C" >&6
48409 ac_cpp='$CXXCPP $CPPFLAGS'
48410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48414 cat >conftest.$ac_ext <<_ACEOF
48417 cat confdefs.h >>conftest.$ac_ext
48418 cat >>conftest.$ac_ext <<_ACEOF
48419 /* end confdefs.h. */
48420 #include <windows.h>
48421 #include <gdiplus.h>
48426 using namespace Gdiplus;
48432 rm -f conftest.$ac_objext
48433 if { (ac_try="$ac_compile"
48434 case "(($ac_try" in
48435 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48436 *) ac_try_echo
=$ac_try;;
48438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48439 (eval "$ac_compile") 2>conftest.er1
48441 grep -v '^ *+' conftest.er1
>conftest.err
48443 cat conftest.err
>&5
48444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48445 (exit $ac_status); } && {
48446 test -z "$ac_cxx_werror_flag" ||
48447 test ! -s conftest.err
48448 } && test -s conftest.
$ac_objext; then
48449 wx_cv_lib_gdiplus
=yes
48451 echo "$as_me: failed program was:" >&5
48452 sed 's/^/| /' conftest.
$ac_ext >&5
48454 wx_cv_lib_gdiplus
=no
48458 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48460 ac_cpp
='$CPP $CPPFLAGS'
48461 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48462 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48463 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48468 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48469 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48470 if test "$wx_cv_lib_gdiplus" = "yes"; then
48473 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
48476 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48477 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48479 if test -n "$PKG_CONFIG"; then
48480 if test -n "$CAIRO_CFLAGS"; then
48481 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
48483 if test -n "$PKG_CONFIG" && \
48484 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48485 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48488 (exit $ac_status); }; then
48489 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48497 if test -n "$PKG_CONFIG"; then
48498 if test -n "$CAIRO_LIBS"; then
48499 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
48501 if test -n "$PKG_CONFIG" && \
48502 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48503 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48506 (exit $ac_status); }; then
48507 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48518 if test $pkg_failed = yes; then
48520 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48521 _pkg_short_errors_supported
=yes
48523 _pkg_short_errors_supported
=no
48525 if test $_pkg_short_errors_supported = yes; then
48526 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48528 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48530 # Put the nasty error message in config.log where it belongs
48531 echo "$CAIRO_PKG_ERRORS" >&5
48533 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48534 echo "$as_me: WARNING: Cairo library not found" >&2;}
48536 elif test $pkg_failed = untried
; then
48537 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48538 echo "$as_me: WARNING: Cairo library not found" >&2;}
48541 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
48542 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
48543 { echo "$as_me:$LINENO: result: yes" >&5
48544 echo "${ECHO_T}yes" >&6; }
48547 if test "$wx_has_graphics" = 1; then
48549 LIBS
="$LIBS $CAIRO_LIBS"
48551 for ac_func
in cairo_push_group
48553 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48554 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48556 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48557 echo $ECHO_N "(cached) $ECHO_C" >&6
48559 cat >conftest.
$ac_ext <<_ACEOF
48562 cat confdefs.h
>>conftest.
$ac_ext
48563 cat >>conftest.
$ac_ext <<_ACEOF
48564 /* end confdefs.h. */
48565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48567 #define $ac_func innocuous_$ac_func
48569 /* System header to define __stub macros and hopefully few prototypes,
48570 which can conflict with char $ac_func (); below.
48571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48572 <limits.h> exists even on freestanding compilers. */
48575 # include <limits.h>
48577 # include <assert.h>
48582 /* Override any GCC internal prototype to avoid an error.
48583 Use char because int might match the return type of a GCC
48584 builtin and then its argument prototype would still apply. */
48589 /* The GNU C library defines this for functions which it implements
48590 to always fail with ENOSYS. Some functions are actually named
48591 something starting with __ and the normal name is an alias. */
48592 #if defined __stub_$ac_func || defined __stub___$ac_func
48599 return $ac_func ();
48604 rm -f conftest.
$ac_objext conftest
$ac_exeext
48605 if { (ac_try
="$ac_link"
48606 case "(($ac_try" in
48607 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48608 *) ac_try_echo=$ac_try;;
48610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48611 (eval "$ac_link") 2>conftest.er1
48613 grep -v '^ *+' conftest.er1 >conftest.err
48615 cat conftest.err >&5
48616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48617 (exit $ac_status); } && {
48618 test -z "$ac_c_werror_flag" ||
48619 test ! -s conftest.err
48620 } && test -s conftest$ac_exeext &&
48621 $as_test_x conftest$ac_exeext; then
48622 eval "$as_ac_var=yes"
48624 echo "$as_me: failed program was:" >&5
48625 sed 's/^/| /' conftest.$ac_ext >&5
48627 eval "$as_ac_var=no"
48630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48631 conftest$ac_exeext conftest.$ac_ext
48633 ac_res=`eval echo '${'$as_ac_var'}'`
48634 { echo "$as_me:$LINENO: result: $ac_res" >&5
48635 echo "${ECHO_T}$ac_res" >&6; }
48636 if test `eval echo '${'$as_ac_var'}'` = yes; then
48637 cat >>confdefs.h <<_ACEOF
48638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48645 if test "$ac_cv_func_cairo_push_group" = "no"; then
48647 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
48648 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
48650 cat >>confdefs.h <<\_ACEOF
48651 #define wxUSE_CAIRO 1
48655 if test "$wxUSE_GTK" != 1; then
48656 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
48657 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
48665 if test "$wx_has_graphics" = 1; then
48666 cat >>confdefs.h <<\_ACEOF
48667 #define wxUSE_GRAPHICS_CONTEXT 1
48671 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
48672 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
48679 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
48682 if test "$wxUSE_GTK" = 1; then
48683 wxUSE_GSTREAMER="no"
48685 GST_VERSION_MAJOR=0
48686 GST_VERSION_MINOR=10
48687 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48689 if test "$wxUSE_GSTREAMER8" = "no"; then
48692 { echo "$as_me:$LINENO: checking for GST" >&5
48693 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48695 if test -n "$PKG_CONFIG"; then
48696 if test -n "$GST_CFLAGS"; then
48697 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48699 if test -n "$PKG_CONFIG" && \
48700 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48701 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48704 (exit $ac_status); }; then
48705 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
48713 if test -n "$PKG_CONFIG"; then
48714 if test -n "$GST_LIBS"; then
48715 pkg_cv_GST_LIBS="$GST_LIBS"
48717 if test -n "$PKG_CONFIG" && \
48718 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48719 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48722 (exit $ac_status); }; then
48723 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
48734 if test $pkg_failed = yes; then
48736 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48737 _pkg_short_errors_supported=yes
48739 _pkg_short_errors_supported=no
48741 if test $_pkg_short_errors_supported = yes; then
48742 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48744 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48746 # Put the nasty error message in config.log where it belongs
48747 echo "$GST_PKG_ERRORS" >&5
48750 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48751 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48752 GST_VERSION_MINOR=8
48755 elif test $pkg_failed = untried; then
48757 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48758 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48759 GST_VERSION_MINOR=8
48763 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48764 GST_LIBS=$pkg_cv_GST_LIBS
48765 { echo "$as_me:$LINENO: result: yes" >&5
48766 echo "${ECHO_T}yes" >&6; }
48768 wxUSE_GSTREAMER="yes"
48769 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48773 GST_VERSION_MINOR=8
48776 if test $GST_VERSION_MINOR = "8"; then
48777 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48780 { echo "$as_me:$LINENO: checking for GST" >&5
48781 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48783 if test -n "$PKG_CONFIG"; then
48784 if test -n "$GST_CFLAGS"; then
48785 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48787 if test -n "$PKG_CONFIG" && \
48788 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48789 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48792 (exit $ac_status); }; then
48793 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
48801 if test -n "$PKG_CONFIG"; then
48802 if test -n "$GST_LIBS"; then
48803 pkg_cv_GST_LIBS="$GST_LIBS"
48805 if test -n "$PKG_CONFIG" && \
48806 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48807 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48810 (exit $ac_status); }; then
48811 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
48822 if test $pkg_failed = yes; then
48824 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48825 _pkg_short_errors_supported=yes
48827 _pkg_short_errors_supported=no
48829 if test $_pkg_short_errors_supported = yes; then
48830 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48832 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48834 # Put the nasty error message in config.log where it belongs
48835 echo "$GST_PKG_ERRORS" >&5
48838 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48839 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48841 elif test $pkg_failed = untried; then
48843 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48844 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48847 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48848 GST_LIBS=$pkg_cv_GST_LIBS
48849 { echo "$as_me:$LINENO: result: yes" >&5
48850 echo "${ECHO_T}yes" >&6; }
48851 wxUSE_GSTREAMER="yes"
48856 if test "$wxUSE_GSTREAMER" = "yes"; then
48857 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48858 EXTRALIBS_MEDIA="$GST_LIBS"
48860 cat >>confdefs.h <<\_ACEOF
48861 #define wxUSE_GSTREAMER 1
48869 if test $USE_MEDIA = 1; then
48870 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48871 cat >>confdefs.h <<\_ACEOF
48872 #define wxUSE_MEDIACTRL 1
48876 if test "$wxUSE_MEDIACTRL" = "yes"; then
48877 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
48878 echo "$as_me: error: GStreamer not available" >&2;}
48879 { (exit 1); exit 1; }; }
48881 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
48882 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
48888 if test "$cross_compiling" != "no"; then
48891 OSINFO=`uname
-s -r -m`
48892 OSINFO="\"$OSINFO\""
48895 cat >>confdefs.h <<_ACEOF
48896 #define WXWIN_OS_DESCRIPTION $OSINFO
48901 if test "x$prefix" != "xNONE"; then
48904 wxPREFIX=$ac_default_prefix
48907 cat >>confdefs.h <<_ACEOF
48908 #define wxINSTALL_PREFIX "$wxPREFIX"
48914 STD_BASE_LIBS="base"
48916 BUILT_WX_LIBS="base"
48917 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
48919 if test "$wxUSE_SOCKETS" = "yes" ; then
48920 STD_BASE_LIBS="net $STD_BASE_LIBS"
48921 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48923 if test "$wxUSE_XML" = "yes" ; then
48924 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48925 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48928 if test "$wxUSE_GUI" = "yes"; then
48929 STD_GUI_LIBS="adv core"
48930 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
48932 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48933 STD_GUI_LIBS="qa $STD_GUI_LIBS"
48934 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
48936 if test "$wxUSE_HTML" = "yes" ; then
48937 STD_GUI_LIBS="html $STD_GUI_LIBS"
48938 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
48940 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48941 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
48943 if test "$wxUSE_OPENGL" = "yes" ; then
48944 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
48946 if test "$wxUSE_AUI" = "yes" ; then
48947 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
48949 if test "$wxUSE_PROPGRID" = "yes" ; then
48950 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
48952 if test "$wxUSE_RIBBON" = "yes" ; then
48953 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
48955 if test "$wxUSE_RICHTEXT" = "yes" ; then
48956 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
48958 if test "$wxUSE_STC" = "yes" ; then
48959 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
48961 if test "$wxUSE_XRC" = "yes" ; then
48962 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
48963 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
48974 if test "$wxUSE_MAC" = 1 ; then
48975 if test "$USE_DARWIN" = 1; then
48976 if test "$wxUSE_OSX_IPHONE" = 1; then
48977 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
48979 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
48983 if test "$wxUSE_OLD_COCOA" = 1 ; then
48984 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
48985 if test "$wxUSE_MEDIACTRL" = "yes"; then
48986 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
48989 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
48990 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48993 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
48994 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
48996 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48998 if test "$wxUSE_GUI" = "yes"; then
49001 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49002 erase event exec font image minimal render \
49003 shaped svg taborder vscroll widgets wrapsizer"
49005 if test "$wxUSE_MONOLITHIC" != "yes"; then
49006 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49008 if test "$TOOLKIT" = "MSW"; then
49009 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49010 if test "$wxUSE_UNIVERSAL" != "yes"; then
49011 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
49014 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49015 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49018 SAMPLES_SUBDIRS="console"
49019 if test "$wxUSE_SOCKETS" = "yes" ; then
49020 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
49022 if test "$wxUSE_IPC" = "yes" ; then
49023 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
49028 if test "x$INTELCC" = "xyes" ; then
49029 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
49030 elif test "$GCC" = yes ; then
49031 CWARNINGS="-Wall -Wundef"
49034 if test "x$INTELCXX" = "xyes" ; then
49035 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
49036 elif test "$GXX" = yes ; then
49037 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
49038 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
49039 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
49040 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
49041 echo $ECHO_N "(cached) $ECHO_C" >&6
49043 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
49046 ac_cpp='$CXXCPP $CPPFLAGS'
49047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49051 ac_save_CXXFLAGS="$CXXFLAGS"
49052 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
49053 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
49054 cat >conftest.$ac_ext <<_ACEOF
49057 cat confdefs.h >>conftest.$ac_ext
49058 cat >>conftest.$ac_ext <<_ACEOF
49059 /* end confdefs.h. */
49069 rm -f conftest.$ac_objext
49070 if { (ac_try="$ac_compile"
49071 case "(($ac_try" in
49072 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49073 *) ac_try_echo
=$ac_try;;
49075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49076 (eval "$ac_compile") 2>conftest.er1
49078 grep -v '^ *+' conftest.er1
>conftest.err
49080 cat conftest.err
>&5
49081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49082 (exit $ac_status); } && {
49083 test -z "$ac_cxx_werror_flag" ||
49084 test ! -s conftest.err
49085 } && test -s conftest.
$ac_objext; then
49086 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
49088 echo "$as_me: failed program was:" >&5
49089 sed 's/^/| /' conftest.
$ac_ext >&5
49094 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49096 CXXFLAGS
="$ac_save_CXXFLAGS"
49098 ac_cpp
='$CPP $CPPFLAGS'
49099 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49100 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49101 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
49105 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
49106 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
49107 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
49111 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
49112 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
49113 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
49115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49116 (exit $ac_status); }
49117 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
49118 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
49120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49121 (exit $ac_status); }
49122 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
49128 if test "$wxUSE_MAC" = 1 ; then
49129 CXXWARNINGS
="$CXXWARNINGS -Wno-deprecated-declarations"
49134 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
49135 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49138 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
49139 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49140 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49143 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49144 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49145 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49146 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
49147 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
49149 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49152 if test "x$MWCC" = "xyes"; then
49154 CC
="$CC -cwd source -I-"
49155 CXX
="$CXX -cwd source -I-"
49160 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49161 EXTRALIBS_XML
="$EXPAT_LINK"
49162 EXTRALIBS_HTML
="$MSPACK_LINK"
49163 EXTRALIBS_MEDIA
="$GST_LIBS"
49164 EXTRALIBS_STC
="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49165 if test "$wxUSE_GUI" = "yes"; then
49166 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49168 if test "$wxUSE_OPENGL" = "yes"; then
49169 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
49172 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
49174 WXCONFIG_LIBS
="$LIBS"
49176 if test "$wxUSE_REGEX" = "builtin" ; then
49177 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49179 if test "$wxUSE_EXPAT" = "builtin" ; then
49180 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
49182 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49183 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
49185 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49186 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
49188 if test "$wxUSE_LIBPNG" = "builtin" ; then
49189 wxconfig_3rdparty
="png $wxconfig_3rdparty"
49191 if test "$wxUSE_ZLIB" = "builtin" ; then
49192 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
49195 for i
in $wxconfig_3rdparty ; do
49196 WXCONFIG_LIBS
="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49200 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49203 case "$wxUNIV_THEMES" in
49205 cat >>confdefs.h
<<\_ACEOF
49206 #define wxUSE_ALL_THEMES 1
49212 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
49213 cat >>confdefs.h
<<_ACEOF
49214 #define wxUSE_THEME_$t 1
49230 if test $wxUSE_MONOLITHIC = "yes" ; then
49236 if test $wxUSE_PLUGINS = "yes" ; then
49242 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49248 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49280 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
49293 TOOLKIT_DESC
="GTK+"
49294 if test "$WXGTK2" = 1; then
49295 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
49296 if test "$wxUSE_GTKPRINT" = "yes" ; then
49297 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
49299 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49300 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
49302 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49303 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
49305 if test "$wxUSE_LIBHILDON" = "yes"; then
49306 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
49308 if test "$wxUSE_LIBHILDON2" = "yes"; then
49309 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
49312 if test "$TOOLKIT_EXTRA" != ""; then
49313 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49319 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
49323 TOOLKIT_DESC
="base only"
49327 if test "$wxUSE_WINE" = "yes"; then
49328 BAKEFILE_FORCE_PLATFORM
=win32
49331 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49333 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49334 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49335 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49336 echo $ECHO_N "(cached) $ECHO_C" >&6
49339 echo '#include <stdio.h>
49340 const wchar_t test_var[] = L"awidetest";' > conftest.h
49342 echo '#include "conftest.h"
49345 printf("%ls", test_var);
49349 wx_cv_gcc_pch_bug
="pch not supported"
49351 if $CXX conftest.h
>/dev
/null
2>&1
49355 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
49357 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
49358 grep awidetest
>/dev
/null
49360 wx_cv_gcc_pch_bug
=no
49362 wx_cv_gcc_pch_bug
=yes
49367 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
49370 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49371 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49373 if test "$wx_cv_gcc_pch_bug" = yes; then
49384 if test "x$BAKEFILE_HOST" = "x"; then
49385 if test "x${host}" = "x" ; then
49386 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49387 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49388 { (exit 1); exit 1; }; }
49391 BAKEFILE_HOST
="${host}"
49394 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49396 if test -n "$ac_tool_prefix"; then
49397 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49398 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
49399 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49401 if test "${ac_cv_prog_RANLIB+set}" = set; then
49402 echo $ECHO_N "(cached) $ECHO_C" >&6
49404 if test -n "$RANLIB"; then
49405 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
49407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49408 for as_dir
in $PATH
49411 test -z "$as_dir" && as_dir
=.
49412 for ac_exec_ext
in '' $ac_executable_extensions; do
49413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49414 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
49415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49424 RANLIB
=$ac_cv_prog_RANLIB
49425 if test -n "$RANLIB"; then
49426 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49427 echo "${ECHO_T}$RANLIB" >&6; }
49429 { echo "$as_me:$LINENO: result: no" >&5
49430 echo "${ECHO_T}no" >&6; }
49435 if test -z "$ac_cv_prog_RANLIB"; then
49436 ac_ct_RANLIB
=$RANLIB
49437 # Extract the first word of "ranlib", so it can be a program name with args.
49438 set dummy ranlib
; ac_word
=$2
49439 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49441 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49442 echo $ECHO_N "(cached) $ECHO_C" >&6
49444 if test -n "$ac_ct_RANLIB"; then
49445 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
49447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49448 for as_dir
in $PATH
49451 test -z "$as_dir" && as_dir
=.
49452 for ac_exec_ext
in '' $ac_executable_extensions; do
49453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49454 ac_cv_prog_ac_ct_RANLIB
="ranlib"
49455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49464 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
49465 if test -n "$ac_ct_RANLIB"; then
49466 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49467 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49469 { echo "$as_me:$LINENO: result: no" >&5
49470 echo "${ECHO_T}no" >&6; }
49473 if test "x$ac_ct_RANLIB" = x
; then
49476 case $cross_compiling:$ac_tool_warned in
49478 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49479 whose name does not start with the host triplet. If you think this
49480 configuration is useful to you, please write to autoconf@gnu.org." >&5
49481 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49482 whose name does not start with the host triplet. If you think this
49483 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49484 ac_tool_warned
=yes ;;
49486 RANLIB
=$ac_ct_RANLIB
49489 RANLIB
="$ac_cv_prog_RANLIB"
49492 # Find a good install program. We prefer a C program (faster),
49493 # so one script is as good as another. But avoid the broken or
49494 # incompatible versions:
49495 # SysV /etc/install, /usr/sbin/install
49496 # SunOS /usr/etc/install
49497 # IRIX /sbin/install
49499 # AmigaOS /C/install, which installs bootblocks on floppy discs
49500 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49501 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49502 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49503 # OS/2's system install, which has a completely different semantic
49504 # ./install, which can be erroneously created by make from ./install.sh.
49505 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49506 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49507 if test -z "$INSTALL"; then
49508 if test "${ac_cv_path_install+set}" = set; then
49509 echo $ECHO_N "(cached) $ECHO_C" >&6
49511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49512 for as_dir
in $PATH
49515 test -z "$as_dir" && as_dir
=.
49516 # Account for people who put trailing slashes in PATH elements.
49518 .
/ | .
// | /cC
/* | \
49519 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
49520 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
49523 # OSF1 and SCO ODT 3.0 have their own names for install.
49524 # Don't use installbsd from OSF since it installs stuff as root
49526 for ac_prog
in ginstall scoinst
install; do
49527 for ac_exec_ext
in '' $ac_executable_extensions; do
49528 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49529 if test $ac_prog = install &&
49530 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49531 # AIX install. It has an incompatible calling convention.
49533 elif test $ac_prog = install &&
49534 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
49535 # program-specific install script used by HP pwplus--don't use.
49538 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
49551 if test "${ac_cv_path_install+set}" = set; then
49552 INSTALL
=$ac_cv_path_install
49554 # As a last resort, use the slow shell script. Don't cache a
49555 # value for INSTALL within a source directory, because that will
49556 # break other packages using the cache if that directory is
49557 # removed, or if the value is a relative name.
49558 INSTALL
=$ac_install_sh
49561 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49562 echo "${ECHO_T}$INSTALL" >&6; }
49564 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49565 # It thinks the first close brace ends the variable substitution.
49566 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
49568 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
49570 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
49572 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49573 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49575 if test "$LN_S" = "ln -s"; then
49576 { echo "$as_me:$LINENO: result: yes" >&5
49577 echo "${ECHO_T}yes" >&6; }
49579 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49580 echo "${ECHO_T}no, using $LN_S" >&6; }
49584 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49585 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49586 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49587 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
49588 echo $ECHO_N "(cached) $ECHO_C" >&6
49590 cat >conftest.
make <<\_ACEOF
49593 @
echo '@@@%%%=$(MAKE)=@@@%%%'
49595 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49596 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49597 *@@@
%%%=?
*=@@@
%%%*)
49598 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
49600 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
49602 rm -f conftest.
make
49604 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
49605 { echo "$as_me:$LINENO: result: yes" >&5
49606 echo "${ECHO_T}yes" >&6; }
49609 { echo "$as_me:$LINENO: result: no" >&5
49610 echo "${ECHO_T}no" >&6; }
49611 SET_MAKE
="MAKE=${MAKE-make}"
49616 if test "x$SUNCXX" = "xyes"; then
49618 AROPTIONS
="-xar -o"
49620 elif test "x$SGICC" = "xyes"; then
49625 if test -n "$ac_tool_prefix"; then
49626 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49627 set dummy
${ac_tool_prefix}ar; ac_word
=$2
49628 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49630 if test "${ac_cv_prog_AR+set}" = set; then
49631 echo $ECHO_N "(cached) $ECHO_C" >&6
49633 if test -n "$AR"; then
49634 ac_cv_prog_AR
="$AR" # Let the user override the test.
49636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49637 for as_dir
in $PATH
49640 test -z "$as_dir" && as_dir
=.
49641 for ac_exec_ext
in '' $ac_executable_extensions; do
49642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49643 ac_cv_prog_AR
="${ac_tool_prefix}ar"
49644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49654 if test -n "$AR"; then
49655 { echo "$as_me:$LINENO: result: $AR" >&5
49656 echo "${ECHO_T}$AR" >&6; }
49658 { echo "$as_me:$LINENO: result: no" >&5
49659 echo "${ECHO_T}no" >&6; }
49664 if test -z "$ac_cv_prog_AR"; then
49666 # Extract the first word of "ar", so it can be a program name with args.
49667 set dummy
ar; ac_word
=$2
49668 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49670 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49671 echo $ECHO_N "(cached) $ECHO_C" >&6
49673 if test -n "$ac_ct_AR"; then
49674 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
49676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49677 for as_dir
in $PATH
49680 test -z "$as_dir" && as_dir
=.
49681 for ac_exec_ext
in '' $ac_executable_extensions; do
49682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49683 ac_cv_prog_ac_ct_AR
="ar"
49684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49693 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
49694 if test -n "$ac_ct_AR"; then
49695 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49696 echo "${ECHO_T}$ac_ct_AR" >&6; }
49698 { echo "$as_me:$LINENO: result: no" >&5
49699 echo "${ECHO_T}no" >&6; }
49702 if test "x$ac_ct_AR" = x
; then
49705 case $cross_compiling:$ac_tool_warned in
49707 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49708 whose name does not start with the host triplet. If you think this
49709 configuration is useful to you, please write to autoconf@gnu.org." >&5
49710 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49711 whose name does not start with the host triplet. If you think this
49712 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49713 ac_tool_warned
=yes ;;
49718 AR
="$ac_cv_prog_AR"
49725 if test -n "$ac_tool_prefix"; then
49726 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49727 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
49728 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49730 if test "${ac_cv_prog_STRIP+set}" = set; then
49731 echo $ECHO_N "(cached) $ECHO_C" >&6
49733 if test -n "$STRIP"; then
49734 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
49736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49737 for as_dir
in $PATH
49740 test -z "$as_dir" && as_dir
=.
49741 for ac_exec_ext
in '' $ac_executable_extensions; do
49742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49743 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
49744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49753 STRIP
=$ac_cv_prog_STRIP
49754 if test -n "$STRIP"; then
49755 { echo "$as_me:$LINENO: result: $STRIP" >&5
49756 echo "${ECHO_T}$STRIP" >&6; }
49758 { echo "$as_me:$LINENO: result: no" >&5
49759 echo "${ECHO_T}no" >&6; }
49764 if test -z "$ac_cv_prog_STRIP"; then
49766 # Extract the first word of "strip", so it can be a program name with args.
49767 set dummy strip
; ac_word
=$2
49768 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49770 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49771 echo $ECHO_N "(cached) $ECHO_C" >&6
49773 if test -n "$ac_ct_STRIP"; then
49774 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
49776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49777 for as_dir
in $PATH
49780 test -z "$as_dir" && as_dir
=.
49781 for ac_exec_ext
in '' $ac_executable_extensions; do
49782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49783 ac_cv_prog_ac_ct_STRIP
="strip"
49784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49793 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
49794 if test -n "$ac_ct_STRIP"; then
49795 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49796 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49798 { echo "$as_me:$LINENO: result: no" >&5
49799 echo "${ECHO_T}no" >&6; }
49802 if test "x$ac_ct_STRIP" = x
; then
49805 case $cross_compiling:$ac_tool_warned in
49807 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49808 whose name does not start with the host triplet. If you think this
49809 configuration is useful to you, please write to autoconf@gnu.org." >&5
49810 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49811 whose name does not start with the host triplet. If you think this
49812 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49813 ac_tool_warned
=yes ;;
49818 STRIP
="$ac_cv_prog_STRIP"
49821 if test -n "$ac_tool_prefix"; then
49822 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49823 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
49824 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49826 if test "${ac_cv_prog_NM+set}" = set; then
49827 echo $ECHO_N "(cached) $ECHO_C" >&6
49829 if test -n "$NM"; then
49830 ac_cv_prog_NM
="$NM" # Let the user override the test.
49832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49833 for as_dir
in $PATH
49836 test -z "$as_dir" && as_dir
=.
49837 for ac_exec_ext
in '' $ac_executable_extensions; do
49838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49839 ac_cv_prog_NM
="${ac_tool_prefix}nm"
49840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49850 if test -n "$NM"; then
49851 { echo "$as_me:$LINENO: result: $NM" >&5
49852 echo "${ECHO_T}$NM" >&6; }
49854 { echo "$as_me:$LINENO: result: no" >&5
49855 echo "${ECHO_T}no" >&6; }
49860 if test -z "$ac_cv_prog_NM"; then
49862 # Extract the first word of "nm", so it can be a program name with args.
49863 set dummy nm
; ac_word
=$2
49864 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49866 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49867 echo $ECHO_N "(cached) $ECHO_C" >&6
49869 if test -n "$ac_ct_NM"; then
49870 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
49872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49873 for as_dir
in $PATH
49876 test -z "$as_dir" && as_dir
=.
49877 for ac_exec_ext
in '' $ac_executable_extensions; do
49878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49879 ac_cv_prog_ac_ct_NM
="nm"
49880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49889 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
49890 if test -n "$ac_ct_NM"; then
49891 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49892 echo "${ECHO_T}$ac_ct_NM" >&6; }
49894 { echo "$as_me:$LINENO: result: no" >&5
49895 echo "${ECHO_T}no" >&6; }
49898 if test "x$ac_ct_NM" = x
; then
49901 case $cross_compiling:$ac_tool_warned in
49903 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49904 whose name does not start with the host triplet. If you think this
49905 configuration is useful to you, please write to autoconf@gnu.org." >&5
49906 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49907 whose name does not start with the host triplet. If you think this
49908 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49909 ac_tool_warned
=yes ;;
49914 NM
="$ac_cv_prog_NM"
49918 { echo "$as_me:$LINENO: checking for command to install directories" >&5
49919 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
49920 INSTALL_TEST_DIR
=acbftest$$
49921 $INSTALL -d $INSTALL_TEST_DIR > /dev
/null
2>&1
49922 if test $?
= 0 -a -d $INSTALL_TEST_DIR; then
49923 rmdir $INSTALL_TEST_DIR
49924 INSTALL_DIR
='$(INSTALL) -d'
49925 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
49926 echo "${ECHO_T}$INSTALL -d" >&6; }
49928 INSTALL_DIR
="mkdir -p"
49929 { echo "$as_me:$LINENO: result: mkdir -p" >&5
49930 echo "${ECHO_T}mkdir -p" >&6; }
49935 case ${BAKEFILE_HOST} in
49936 *-*-cygwin* | *-*-mingw32* )
49937 LDFLAGS_GUI
="-mwindows"
49943 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49944 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49945 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49946 echo $ECHO_N "(cached) $ECHO_C" >&6
49949 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
49950 egrep -s GNU
> /dev
/null
); then
49951 bakefile_cv_prog_makeisgnu
="yes"
49953 bakefile_cv_prog_makeisgnu
="no"
49957 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49958 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49960 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49977 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49978 case "${BAKEFILE_HOST}" in
49985 *-pc-os2_emx | *-pc-os2-emx )
49995 powerpc
-apple-macos* )
50004 case "$BAKEFILE_FORCE_PLATFORM" in
50025 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
50026 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
50027 { (exit 1); exit 1; }; }
50042 # Check whether --enable-omf was given.
50043 if test "${enable_omf+set}" = set; then
50044 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
50048 case "${BAKEFILE_HOST}" in
50050 if test "x$GCC" = "xyes"; then
50051 CFLAGS
="$CFLAGS -fno-common"
50052 CXXFLAGS
="$CXXFLAGS -fno-common"
50054 if test "x$XLCC" = "xyes"; then
50055 CFLAGS
="$CFLAGS -qnocommon"
50056 CXXFLAGS
="$CXXFLAGS -qnocommon"
50060 *-pc-os2_emx | *-pc-os2-emx )
50061 if test "x$bk_os2_use_omf" = "xyes" ; then
50064 LDFLAGS
="-Zomf $LDFLAGS"
50065 CFLAGS
="-Zomf $CFLAGS"
50066 CXXFLAGS
="-Zomf $CXXFLAGS"
50074 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
50080 SO_SUFFIX_MODULE
="so"
50085 DLLPREFIX_MODULE
=""
50089 case "${BAKEFILE_HOST}" in
50094 SO_SUFFIX_MODULE
="sl"
50098 SO_SUFFIX_MODULE
="a"
50102 SO_SUFFIX_MODULE
="dll"
50103 DLLIMP_SUFFIX
="dll.a"
50110 SO_SUFFIX_MODULE
="dll"
50111 DLLIMP_SUFFIX
="dll.a"
50121 *-pc-os2_emx | *-pc-os2-emx )
50123 SO_SUFFIX_MODULE
="dll"
50124 DLLIMP_SUFFIX
=$OS2_LIBEXT
50128 LIBEXT
=".$OS2_LIBEXT"
50133 SO_SUFFIX_MODULE
="bundle"
50137 if test "x$DLLIMP_SUFFIX" = "x" ; then
50138 DLLIMP_SUFFIX
="$SO_SUFFIX"
50153 if test "x$GCC" = "xyes"; then
50157 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
50158 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
50161 case "${BAKEFILE_HOST}" in
50163 if test "x$GCC" != "xyes"; then
50164 LDFLAGS
="$LDFLAGS -L/usr/lib"
50166 SHARED_LD_CC
="${CC} -b -o"
50167 SHARED_LD_CXX
="${CXX} -b -o"
50173 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
50175 elif test "x$SUNCXX" = "xyes"; then
50176 SHARED_LD_CC
="${CC} -G -o"
50177 SHARED_LD_CXX
="${CXX} -G -o"
50183 if test "x$SUNCXX" = xyes
; then
50184 SHARED_LD_CC
="${CC} -G -o"
50185 SHARED_LD_CXX
="${CXX} -G -o"
50193 cat <<EOF >shared-ld-sh
50195 #-----------------------------------------------------------------------------
50196 #-- Name: distrib/mac/shared-ld-sh
50197 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50198 #-- Author: Gilles Depeyrot
50199 #-- Copyright: (c) 2002 Gilles Depeyrot
50200 #-- Licence: any use permitted
50201 #-----------------------------------------------------------------------------
50206 linking_flag="-dynamiclib"
50207 ldargs="-r -keep_private_externs -nostdlib"
50209 if test "x${D}CXX" = "x"; then
50213 while test ${D}# -gt 0; do
50220 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50221 # collect these options and values
50222 args="${D}{args} ${D}1 ${D}2"
50227 # collect these options and values
50228 ldargs="${D}{ldargs} ${D}1 ${D}2"
50233 # collect these load args
50234 ldargs="${D}{ldargs} ${D}1"
50237 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50238 # collect these options
50239 args="${D}{args} ${D}1"
50242 -dynamiclib|-bundle)
50243 linking_flag="${D}1"
50247 echo "shared-ld: unhandled option '${D}1'"
50251 *.o | *.a | *.dylib)
50252 # collect object files
50253 objects="${D}{objects} ${D}1"
50257 echo "shared-ld: unhandled argument '${D}1'"
50268 # Link one module containing all the others
50270 if test ${D}{verbose} = 1; then
50271 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50273 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50277 # Link the shared library from the single module created, but only if the
50278 # previous command didn't fail:
50280 if test ${D}{status} = 0; then
50281 if test ${D}{verbose} = 1; then
50282 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50284 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50289 # Remove intermediate module
50291 rm -f master.${D}${D}.o
50296 chmod +x shared
-ld-sh
50298 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50299 SHARED_LD_MODULE_CXX
="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
50302 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50303 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50304 if test "${bakefile_cv_gcc31+set}" = set; then
50305 echo $ECHO_N "(cached) $ECHO_C" >&6
50308 cat >conftest.
$ac_ext <<_ACEOF
50311 cat confdefs.h
>>conftest.
$ac_ext
50312 cat >>conftest.
$ac_ext <<_ACEOF
50313 /* end confdefs.h. */
50319 #if (__GNUC__ < 3) || \
50320 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50328 rm -f conftest.
$ac_objext
50329 if { (ac_try
="$ac_compile"
50330 case "(($ac_try" in
50331 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50332 *) ac_try_echo=$ac_try;;
50334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50335 (eval "$ac_compile") 2>conftest.er1
50337 grep -v '^ *+' conftest.er1 >conftest.err
50339 cat conftest.err >&5
50340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50341 (exit $ac_status); } && {
50342 test -z "$ac_c_werror_flag" ||
50343 test ! -s conftest.err
50344 } && test -s conftest.$ac_objext; then
50346 bakefile_cv_gcc31=yes
50349 echo "$as_me: failed program was:" >&5
50350 sed 's/^/| /' conftest.$ac_ext >&5
50353 bakefile_cv_gcc31=no
50358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50361 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50362 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50363 if test "$bakefile_cv_gcc31" = "no"; then
50364 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50365 SHARED_LD_CXX="$SHARED_LD_CC"
50367 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50368 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50371 if test "x$GCC" == "xyes"; then
50372 PIC_FLAG="-dynamic -fPIC"
50374 if test "x$XLCC" = "xyes"; then
50375 PIC_FLAG="-dynamic -DPIC"
50380 if test "x$GCC" = "xyes"; then
50383 case "${BAKEFILE_HOST}" in
50385 LD_EXPFULL="-Wl,-bexpfull"
50389 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50390 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50392 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50393 set dummy makeC++SharedLib; ac_word=$2
50394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50396 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50397 echo $ECHO_N "(cached) $ECHO_C" >&6
50399 if test -n "$AIX_CXX_LD"; then
50400 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50403 for as_dir in $PATH
50406 test -z "$as_dir" && as_dir=.
50407 for ac_exec_ext in '' $ac_executable_extensions; do
50408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50409 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50417 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50420 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50421 if test -n "$AIX_CXX_LD"; then
50422 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50423 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50425 { echo "$as_me:$LINENO: result: no" >&5
50426 echo "${ECHO_T}no" >&6; }
50430 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50431 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50436 SHARED_LD_CC="${LD} -nostart -o"
50437 SHARED_LD_CXX="${LD} -nostart -o"
50441 if test "x$GCC" != "xyes"; then
50446 *-*-cygwin* | *-*-mingw32* )
50448 SHARED_LD_CC="\$(CC) -shared -o"
50449 SHARED_LD_CXX="\$(CXX) -shared -o"
50453 *-pc-os2_emx | *-pc-os2-emx )
50454 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50455 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50459 cat <<EOF >dllar.sh
50462 # dllar - a tool to build both a .dll and an .a file
50463 # from a set of object (.o) files for EMX/OS2.
50465 # Written by Andrew Zabolotny, bit@freya.etu.ru
50466 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50468 # This script will accept a set of files on the command line.
50469 # All the public symbols from the .o files will be exported into
50470 # a .DEF file, then linker will be run (through gcc) against them to
50471 # build a shared library consisting of all given .o files. All libraries
50472 # (.a) will be first decompressed into component .o files then act as
50473 # described above. You can optionally give a description (-d "description")
50474 # which will be put into .DLL. To see the list of accepted options (as well
50475 # as command-line format) simply run this program without options. The .DLL
50476 # is built to be imported by name (there is no guarantee that new versions
50477 # of the library you build will have same ordinals for same symbols).
50479 # dllar is free software; you can redistribute it and/or modify
50480 # it under the terms of the GNU General Public License as published by
50481 # the Free Software Foundation; either version 2, or (at your option)
50482 # any later version.
50484 # dllar is distributed in the hope that it will be useful,
50485 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50486 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50487 # GNU General Public License for more details.
50489 # You should have received a copy of the GNU General Public License
50490 # along with dllar; see the file COPYING. If not, write to the Free
50491 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50494 # To successfuly run this program you will need:
50495 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50496 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50498 # (used to build the .dll)
50500 # (used to create .def file from .o files)
50502 # (used to create .a file from .def file)
50503 # - GNU text utilites (cat, sort, uniq)
50504 # used to process emxexp output
50505 # - GNU file utilities (mv, rm)
50507 # - lxlite (optional, see flag below)
50508 # (used for general .dll cleanup)
50515 # basnam, variant of basename, which does _not_ remove the path, _iff_
50516 # second argument (suffix to remove) is given
50520 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50523 echo ${D}1 | sed 's/'${D}2'${D}//'
50526 echo "error in basnam ${D}*"
50532 # Cleanup temporary files and output
50535 for i in ${D}inputFiles ; do
50538 rm -rf \`basnam
${D}i
!\
`
50545 # Kill result in case of failure as there is just to many stupid make/nmake
50546 # things out there which doesn't do this.
50547 if [ ${D}# -eq 0 ]; then
50548 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50552 # Print usage and exit script with rc=1.
50554 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50555 echo ' [-name-mangler-script script.sh]'
50556 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50557 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50558 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50559 echo ' [*.o] [*.a]'
50560 echo '*> "output_file" should have no extension.'
50561 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50562 echo ' The import library name is derived from this and is set to "name".a,'
50563 echo ' unless overridden by -import'
50564 echo '*> "importlib_name" should have no extension.'
50565 echo ' If it has the .o, or .a extension, it is automatically removed.'
50566 echo ' This name is used as the import library name and may be longer and'
50567 echo ' more descriptive than the DLL name which has to follow the old '
50568 echo ' 8.3 convention of FAT.'
50569 echo '*> "script.sh may be given to override the output_file name by a'
50570 echo ' different name. It is mainly useful if the regular make process'
50571 echo ' of some package does not take into account OS/2 restriction of'
50572 echo ' DLL name lengths. It takes the importlib name as input and is'
50573 echo ' supposed to procude a shorter name as output. The script should'
50574 echo ' expect to get importlib_name without extension and should produce'
50575 echo ' a (max.) 8 letter name without extension.'
50576 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50577 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50578 echo ' These flags will be put at the start of GCC command line.'
50579 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50580 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50581 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50582 echo ' If the last character of a symbol is "*", all symbols beginning'
50583 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50584 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50585 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50586 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50587 echo ' C runtime DLLs.'
50588 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50589 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50590 echo ' unchanged to GCC at the end of command line.'
50591 echo '*> If you create a DLL from a library and you do not specify -o,'
50592 echo ' the basename for DLL and import library will be set to library name,'
50593 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50594 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50595 echo ' library will be renamed into gcc_s.a.'
50598 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50599 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50604 # Execute a command.
50605 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50606 # @Uses Whatever CleanUp() uses.
50612 if [ ${D}rcCmd -ne 0 ]; then
50613 echo "command failed, exit code="${D}rcCmd
50628 CFLAGS="-s -Zcrtdll"
50630 EXPORT_BY_ORDINALS=0
50635 case ${D}curDirS in
50639 curDirS=${D}{curDirS}"/"
50642 # Parse commandline
50645 while [ ${D}1 ]; do
50648 EXPORT_BY_ORDINALS=1;
50658 -name-mangler-script)
50679 exclude_symbols=${D}{exclude_symbols}${D}1" "
50683 library_flags=${D}{library_flags}${D}1" "
50702 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50705 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
50706 if [ ${D}omfLinking -eq 1 ]; then
50707 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50709 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50714 if [ ${D}libsToLink -ne 0 ]; then
50715 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50717 for file in ${D}1 ; do
50718 if [ -f ${D}file ]; then
50719 inputFiles="${D}{inputFiles} ${D}file"
50723 if [ ${D}found -eq 0 ]; then
50724 echo "ERROR: No file(s) found: "${D}1
50731 done # iterate cmdline words
50734 if [ -z "${D}inputFiles" ]; then
50735 echo "dllar: no input files"
50739 # Now extract all .o files from .a files
50741 for file in ${D}inputFiles ; do
50752 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50757 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
50759 if [ ${D}? -ne 0 ]; then
50760 echo "Failed to create subdirectory ./${D}dirname"
50764 # Append '!' to indicate archive
50765 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50766 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50769 for subfile in ${D}dirname/*.o* ; do
50770 if [ -f ${D}subfile ]; then
50772 if [ -s ${D}subfile ]; then
50773 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50774 newInputFiles="${D}newInputFiles ${D}subfile"
50778 if [ ${D}found -eq 0 ]; then
50779 echo "WARNING: there are no files in archive \\'${D}file\\'"
50783 newInputFiles="${D}{newInputFiles} ${D}file"
50787 inputFiles="${D}newInputFiles"
50789 # Output filename(s).
50791 if [ -z ${D}outFile ]; then
50793 set outFile ${D}inputFiles; outFile=${D}2
50796 # If it is an archive, remove the '!' and the '_%' suffixes
50797 case ${D}outFile in
50799 outFile=\`basnam
${D}outFile _
%!\
`
50804 case ${D}outFile in
50806 outFile=\`basnam
${D}outFile .dll\
`
50809 outFile=\`basnam
${D}outFile .DLL\
`
50812 outFile=\`basnam
${D}outFile .o\
`
50815 outFile=\`basnam
${D}outFile .obj\
`
50818 outFile=\`basnam
${D}outFile .a\
`
50821 outFile=\`basnam
${D}outFile .lib\
`
50826 case ${D}outimpFile in
50828 outimpFile=\`basnam
${D}outimpFile .a\
`
50831 outimpFile=\`basnam
${D}outimpFile .lib\
`
50836 if [ -z ${D}outimpFile ]; then
50837 outimpFile=${D}outFile
50839 defFile="${D}{outFile}.def"
50840 arcFile="${D}{outimpFile}.a"
50841 arcFile2="${D}{outimpFile}.lib"
50843 #create ${D}dllFile as something matching 8.3 restrictions,
50844 if [ -z ${D}renameScript ] ; then
50845 dllFile="${D}outFile"
50847 dllFile=\`${D}renameScript
${D}outimpFile\
`
50850 if [ ${D}do_backup -ne 0 ] ; then
50851 if [ -f ${D}arcFile ] ; then
50852 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50854 if [ -f ${D}arcFile2 ] ; then
50855 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50859 # Extract public symbols from all the object files.
50860 tmpdefFile=${D}{defFile}_%
50861 rm -f ${D}tmpdefFile
50862 for file in ${D}inputFiles ; do
50867 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50872 # Create the def file.
50874 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
50875 dllFile="${D}{dllFile}.dll"
50876 if [ ! -z ${D}description ]; then
50877 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50879 echo "EXPORTS" >> ${D}defFile
50881 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50882 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50884 # Checks if the export is ok or not.
50885 for word in ${D}exclude_symbols; do
50886 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50887 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50891 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50892 sed "=" < ${D}tmpdefFile | \\
50896 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50898 ' > ${D}{tmpdefFile}%
50899 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50901 rm -f ${D}{tmpdefFile}%
50903 cat ${D}tmpdefFile >> ${D}defFile
50904 rm -f ${D}tmpdefFile
50906 # Do linking, create implib, and apply lxlite.
50908 for file in ${D}inputFiles ; do
50913 gccCmdl="${D}gccCmdl ${D}file"
50917 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50918 touch "${D}{outFile}.dll"
50920 doCommand "emximp -o ${D}arcFile ${D}defFile"
50921 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50923 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50926 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50928 doCommand "emxomf -s -l ${D}arcFile"
50938 powerpc-apple-macos* | \
50939 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50949 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50950 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50951 { (exit 1); exit 1; }; }
50954 if test "x$PIC_FLAG" != "x" ; then
50955 PIC_FLAG="$PIC_FLAG -DPIC"
50958 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50959 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50961 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50962 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50977 USE_SOTWOSYMLINKS=0
50981 case "${BAKEFILE_HOST}" in
50982 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
50983 *-*-k*bsd*-gnu | *-*-mirbsd* )
50984 if test "x$SUNCXX" = "xyes"; then
50987 SONAME_FLAG="-Wl,-soname,"
50991 USE_SOTWOSYMLINKS=1
51003 USE_SOTWOSYMLINKS=1
51021 # Check whether --enable-dependency-tracking was given.
51022 if test "${enable_dependency_tracking+set}" = set; then
51023 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51027 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51028 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51031 if test "x$bk_use_trackdeps" = "xno" ; then
51033 { echo "$as_me:$LINENO: result: disabled" >&5
51034 echo "${ECHO_T}disabled" >&6; }
51038 if test "x$GCC" = "xyes"; then
51040 case "${BAKEFILE_HOST}" in
51042 DEPSFLAG="-no-cpp-precomp -MMD"
51048 { echo "$as_me:$LINENO: result: gcc" >&5
51049 echo "${ECHO_T}gcc" >&6; }
51050 elif test "x$MWCC" = "xyes"; then
51053 { echo "$as_me:$LINENO: result: mwcc" >&5
51054 echo "${ECHO_T}mwcc" >&6; }
51055 elif test "x$SUNCC" = "xyes"; then
51058 { echo "$as_me:$LINENO: result: Sun cc" >&5
51059 echo "${ECHO_T}Sun cc" >&6; }
51060 elif test "x$SGICC" = "xyes"; then
51063 { echo "$as_me:$LINENO: result: SGI cc" >&5
51064 echo "${ECHO_T}SGI cc" >&6; }
51065 elif test "x$HPCC" = "xyes"; then
51068 { echo "$as_me:$LINENO: result: HP cc" >&5
51069 echo "${ECHO_T}HP cc" >&6; }
51070 elif test "x$COMPAQCC" = "xyes"; then
51073 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51074 echo "${ECHO_T}Compaq cc" >&6; }
51077 { echo "$as_me:$LINENO: result: none" >&5
51078 echo "${ECHO_T}none" >&6; }
51081 if test $DEPS_TRACKING = 1 ; then
51087 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51088 # script. It is used to track C/C++ files dependencies in portable way.
51090 # Permission is given to use this file in any way.
51092 DEPSMODE=${DEPSMODE}
51093 DEPSFLAG="${DEPSFLAG}"
51096 if test ${D}DEPSMODE = gcc ; then
51097 ${D}* ${D}{DEPSFLAG}
51100 # determine location of created files:
51101 while test ${D}# -gt 0; do
51115 objfilebase=\`basename ${D}objfile\
`
51116 builddir=\`dirname ${D}objfile\
`
51117 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
51118 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
51119 depsdir=${D}builddir/${D}DEPSDIRBASE
51120 mkdir -p ${D}depsdir
51122 # if the compiler failed, we're done:
51123 if test ${D}{status} != 0 ; then
51128 # move created file to the location we want it in:
51129 if test -f ${D}depfile ; then
51130 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51133 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51134 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\
`
51135 if test ! -f ${D}depfile ; then
51136 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51137 depfile="${D}objfile.d"
51139 if test -f ${D}depfile ; then
51140 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51146 elif test ${D}DEPSMODE = mwcc ; then
51147 ${D}* || exit ${D}?
51148 # Run mwcc again with -MM and redirect into the dep file we want
51149 # NOTE: We can't use shift here because we need ${D}* to be valid
51151 for arg in ${D}* ; do
51152 if test "${D}prevarg" = "-o"; then
51166 objfilebase=\`basename ${D}objfile\
`
51167 builddir=\`dirname ${D}objfile\
`
51168 depsdir=${D}builddir/${D}DEPSDIRBASE
51169 mkdir -p ${D}depsdir
51171 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
51174 elif test ${D}DEPSMODE = unixcc; then
51175 ${D}* || exit ${D}?
51176 # Run compiler again with deps flag and redirect into the dep file.
51177 # It doesn't work if the '-o FILE' option is used, but without it the
51178 # dependency file will contain the wrong name for the object. So it is
51179 # removed from the command line, and the dep file is fixed with sed.
51181 while test ${D}# -gt 0; do
51188 eval arg${D}#=\\${D}1
51189 cmd="${D}cmd \\${D}arg${D}#"
51195 objfilebase=\`basename ${D}objfile\
`
51196 builddir=\`dirname ${D}objfile\
`
51197 depsdir=${D}builddir/${D}DEPSDIRBASE
51198 mkdir -p ${D}depsdir
51200 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
51210 BK_DEPS="`pwd`/bk-deps"
51218 case ${BAKEFILE_HOST} in
51219 *-*-cygwin* | *-*-mingw32* )
51220 if test -n "$ac_tool_prefix"; then
51221 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51222 set dummy ${ac_tool_prefix}windres; ac_word=$2
51223 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51225 if test "${ac_cv_prog_WINDRES+set}" = set; then
51226 echo $ECHO_N "(cached) $ECHO_C" >&6
51228 if test -n "$WINDRES"; then
51229 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51232 for as_dir in $PATH
51235 test -z "$as_dir" && as_dir=.
51236 for ac_exec_ext in '' $ac_executable_extensions; do
51237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51238 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51248 WINDRES=$ac_cv_prog_WINDRES
51249 if test -n "$WINDRES"; then
51250 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51251 echo "${ECHO_T}$WINDRES" >&6; }
51253 { echo "$as_me:$LINENO: result: no" >&5
51254 echo "${ECHO_T}no" >&6; }
51259 if test -z "$ac_cv_prog_WINDRES"; then
51260 ac_ct_WINDRES=$WINDRES
51261 # Extract the first word of "windres", so it can be a program name with args.
51262 set dummy windres; ac_word=$2
51263 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51265 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51266 echo $ECHO_N "(cached) $ECHO_C" >&6
51268 if test -n "$ac_ct_WINDRES"; then
51269 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51272 for as_dir in $PATH
51275 test -z "$as_dir" && as_dir=.
51276 for ac_exec_ext in '' $ac_executable_extensions; do
51277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51278 ac_cv_prog_ac_ct_WINDRES="windres"
51279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51288 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51289 if test -n "$ac_ct_WINDRES"; then
51290 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51291 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51293 { echo "$as_me:$LINENO: result: no" >&5
51294 echo "${ECHO_T}no" >&6; }
51297 if test "x$ac_ct_WINDRES" = x; then
51300 case $cross_compiling:$ac_tool_warned in
51302 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51303 whose name does not start with the host triplet. If you think this
51304 configuration is useful to you, please write to autoconf@gnu.org." >&5
51305 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51306 whose name does not start with the host triplet. If you think this
51307 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51308 ac_tool_warned=yes ;;
51310 WINDRES=$ac_ct_WINDRES
51313 WINDRES="$ac_cv_prog_WINDRES"
51318 *-*-darwin* | powerpc-apple-macos* )
51319 # Extract the first word of "Rez", so it can be a program name with args.
51320 set dummy Rez; ac_word=$2
51321 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51323 if test "${ac_cv_prog_REZ+set}" = set; then
51324 echo $ECHO_N "(cached) $ECHO_C" >&6
51326 if test -n "$REZ"; then
51327 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51330 for as_dir in $PATH
51333 test -z "$as_dir" && as_dir=.
51334 for ac_exec_ext in '' $ac_executable_extensions; do
51335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51336 ac_cv_prog_REZ="Rez"
51337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51344 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51347 REZ=$ac_cv_prog_REZ
51348 if test -n "$REZ"; then
51349 { echo "$as_me:$LINENO: result: $REZ" >&5
51350 echo "${ECHO_T}$REZ" >&6; }
51352 { echo "$as_me:$LINENO: result: no" >&5
51353 echo "${ECHO_T}no" >&6; }
51357 # Extract the first word of "SetFile", so it can be a program name with args.
51358 set dummy SetFile; ac_word=$2
51359 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51361 if test "${ac_cv_prog_SETFILE+set}" = set; then
51362 echo $ECHO_N "(cached) $ECHO_C" >&6
51364 if test -n "$SETFILE"; then
51365 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51368 for as_dir in $PATH
51371 test -z "$as_dir" && as_dir=.
51372 for ac_exec_ext in '' $ac_executable_extensions; do
51373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51374 ac_cv_prog_SETFILE="SetFile"
51375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51382 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51385 SETFILE=$ac_cv_prog_SETFILE
51386 if test -n "$SETFILE"; then
51387 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51388 echo "${ECHO_T}$SETFILE" >&6; }
51390 { echo "$as_me:$LINENO: result: no" >&5
51391 echo "${ECHO_T}no" >&6; }
51406 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
51409 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
51413 # Check whether --enable-precomp-headers was given.
51414 if test "${enable_precomp_headers+set}" = set; then
51415 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51424 case ${BAKEFILE_HOST} in
51430 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51431 if test "x$GCC" = "xyes"; then
51432 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51433 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51434 cat >conftest.$ac_ext <<_ACEOF
51437 cat confdefs.h >>conftest.$ac_ext
51438 cat >>conftest.$ac_ext <<_ACEOF
51439 /* end confdefs.h. */
51445 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51446 There is no PCH support
51449 There is no PCH support
51451 #if (__GNUC__ == 3) && \
51452 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51453 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51454 ( defined(__INTEL_COMPILER) )
51455 There is no PCH support
51462 rm -f conftest.$ac_objext
51463 if { (ac_try="$ac_compile"
51464 case "(($ac_try" in
51465 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51466 *) ac_try_echo
=$ac_try;;
51468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51469 (eval "$ac_compile") 2>conftest.er1
51471 grep -v '^ *+' conftest.er1
>conftest.err
51473 cat conftest.err
>&5
51474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51475 (exit $ac_status); } && {
51476 test -z "$ac_c_werror_flag" ||
51477 test ! -s conftest.err
51478 } && test -s conftest.
$ac_objext; then
51480 { echo "$as_me:$LINENO: result: yes" >&5
51481 echo "${ECHO_T}yes" >&6; }
51485 echo "$as_me: failed program was:" >&5
51486 sed 's/^/| /' conftest.
$ac_ext >&5
51489 if test "$INTELCXX8" = "yes"; then
51490 { echo "$as_me:$LINENO: result: yes" >&5
51491 echo "${ECHO_T}yes" >&6; }
51493 if test "$INTELCXX10" = "yes"; then
51494 ICC_PCH_CREATE_SWITCH
="-pch-create"
51495 ICC_PCH_USE_SWITCH
="-pch-use"
51497 ICC_PCH_CREATE_SWITCH
="-create-pch"
51498 ICC_PCH_USE_SWITCH
="-use-pch"
51501 { echo "$as_me:$LINENO: result: no" >&5
51502 echo "${ECHO_T}no" >&6; }
51507 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51508 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51512 cat <<EOF >bk-make-pch
51515 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51516 # script. It is used to generated precompiled headers.
51518 # Permission is given to use this file in any way.
51525 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
51530 while test ${D}{#} -gt 0; do
51534 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51535 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51536 headerfile="${D}{incdir}/${D}{header}"
51539 -use-pch|-use_pch|-pch-use )
51544 if test ${D}add_to_cmdline = 1 ; then
51545 compiler="${D}{compiler} ${D}{1}"
51550 if test "x${D}{headerfile}" = "x" ; then
51551 echo "error: can't find header ${D}{header} in include paths" >&2
51553 if test -f ${D}{outfile} ; then
51554 rm -f ${D}{outfile}
51556 mkdir -p \`dirname ${D}{outfile}\`
51558 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51559 mkdir -p ${D}{builddir}/.deps
51560 if test "x${GCC_PCH}" = "x1" ; then
51561 # can do this because gcc is >= 3.4:
51562 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51563 elif test "x${ICC_PCH}" = "x1" ; then
51564 filename=pch_gen-${D}${D}
51565 file=${D}{filename}.c
51566 dfile=${D}{filename}.d
51567 cat > ${D}file <<EOT
51568 #include "${D}header"
51570 # using -MF icc complains about differing command lines in creation/use
51571 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
51572 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51573 rm -f ${D}file ${D}dfile ${D}{filename}.o
51579 chmod +x bk
-make-pch
51580 BK_MAKE_PCH
="`pwd`/bk-make-pch"
51591 COND_BUILD_DEBUG
="#"
51592 if test "x$BUILD" = "xdebug" ; then
51593 COND_BUILD_DEBUG
=""
51596 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
51597 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51598 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
51601 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
51602 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51603 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
51606 COND_BUILD_DEBUG_UNICODE_0
="#"
51607 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51608 COND_BUILD_DEBUG_UNICODE_0
=""
51611 COND_BUILD_DEBUG_UNICODE_1
="#"
51612 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51613 COND_BUILD_DEBUG_UNICODE_1
=""
51616 COND_BUILD_RELEASE
="#"
51617 if test "x$BUILD" = "xrelease" ; then
51618 COND_BUILD_RELEASE
=""
51621 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
51622 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51623 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
51626 COND_BUILD_RELEASE_UNICODE_0
="#"
51627 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51628 COND_BUILD_RELEASE_UNICODE_0
=""
51631 COND_BUILD_RELEASE_UNICODE_1
="#"
51632 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51633 COND_BUILD_RELEASE_UNICODE_1
=""
51636 COND_BUILD_debug
="#"
51637 if test "x$BUILD" = "xdebug" ; then
51638 COND_BUILD_debug
=""
51641 COND_BUILD_debug_DEBUG_FLAG_default
="#"
51642 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51643 COND_BUILD_debug_DEBUG_FLAG_default
=""
51646 COND_BUILD_debug_DEBUG_INFO_default
="#"
51647 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51648 COND_BUILD_debug_DEBUG_INFO_default
=""
51651 COND_BUILD_debug_UNICODE_0
="#"
51652 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51653 COND_BUILD_debug_UNICODE_0
=""
51656 COND_BUILD_debug_UNICODE_1
="#"
51657 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51658 COND_BUILD_debug_UNICODE_1
=""
51661 COND_BUILD_release
="#"
51662 if test "x$BUILD" = "xrelease" ; then
51663 COND_BUILD_release
=""
51666 COND_BUILD_release_DEBUG_INFO_default
="#"
51667 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51668 COND_BUILD_release_DEBUG_INFO_default
=""
51671 COND_BUILD_release_UNICODE_0
="#"
51672 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51673 COND_BUILD_release_UNICODE_0
=""
51676 COND_BUILD_release_UNICODE_1
="#"
51677 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51678 COND_BUILD_release_UNICODE_1
=""
51681 COND_DEBUG_FLAG_0
="#"
51682 if test "x$DEBUG_FLAG" = "x0" ; then
51683 COND_DEBUG_FLAG_0
=""
51686 COND_DEBUG_FLAG_1
="#"
51687 if test "x$DEBUG_FLAG" = "x1" ; then
51688 COND_DEBUG_FLAG_1
=""
51691 COND_DEBUG_INFO_0
="#"
51692 if test "x$DEBUG_INFO" = "x0" ; then
51693 COND_DEBUG_INFO_0
=""
51696 COND_DEBUG_INFO_1
="#"
51697 if test "x$DEBUG_INFO" = "x1" ; then
51698 COND_DEBUG_INFO_1
=""
51701 COND_DEPS_TRACKING_0
="#"
51702 if test "x$DEPS_TRACKING" = "x0" ; then
51703 COND_DEPS_TRACKING_0
=""
51706 COND_DEPS_TRACKING_1
="#"
51707 if test "x$DEPS_TRACKING" = "x1" ; then
51708 COND_DEPS_TRACKING_1
=""
51712 if test "x$GCC_PCH" = "x1" ; then
51717 if test "x$ICC_PCH" = "x1" ; then
51721 COND_MONOLITHIC_0
="#"
51722 if test "x$MONOLITHIC" = "x0" ; then
51723 COND_MONOLITHIC_0
=""
51726 COND_MONOLITHIC_0_SHARED_0
="#"
51727 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51728 COND_MONOLITHIC_0_SHARED_0
=""
51731 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
51732 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51733 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
51736 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
51737 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51738 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
51741 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
51742 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51743 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
51746 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
51747 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51748 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
51751 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
51752 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51753 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
51756 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
51757 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51758 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
51761 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
="#"
51762 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51763 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
=""
51766 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
51767 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51768 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
51771 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
51772 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51773 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
51776 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
51777 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51778 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
51781 COND_MONOLITHIC_0_SHARED_1
="#"
51782 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51783 COND_MONOLITHIC_0_SHARED_1
=""
51786 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
51787 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51788 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
51791 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
51792 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51793 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
51796 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
51797 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51798 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
51801 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
51802 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51803 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
51806 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
51807 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51808 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
51811 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
51812 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
51813 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
51816 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
="#"
51817 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
51818 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
=""
51821 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
51822 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51823 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
51826 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
51827 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51828 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
51831 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
51832 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51833 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
51836 COND_MONOLITHIC_0_USE_AUI_1
="#"
51837 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51838 COND_MONOLITHIC_0_USE_AUI_1
=""
51841 COND_MONOLITHIC_0_USE_GUI_1
="#"
51842 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51843 COND_MONOLITHIC_0_USE_GUI_1
=""
51846 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
51847 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51848 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
51851 COND_MONOLITHIC_0_USE_HTML_1
="#"
51852 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51853 COND_MONOLITHIC_0_USE_HTML_1
=""
51856 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
51857 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51858 COND_MONOLITHIC_0_USE_MEDIA_1
=""
51861 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
51862 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51863 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
51866 COND_MONOLITHIC_0_USE_QA_1
="#"
51867 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51868 COND_MONOLITHIC_0_USE_QA_1
=""
51871 COND_MONOLITHIC_0_USE_RIBBON_1
="#"
51872 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51873 COND_MONOLITHIC_0_USE_RIBBON_1
=""
51876 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
51877 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51878 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
51881 COND_MONOLITHIC_0_USE_STC_1
="#"
51882 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51883 COND_MONOLITHIC_0_USE_STC_1
=""
51886 COND_MONOLITHIC_0_USE_XRC_1
="#"
51887 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51888 COND_MONOLITHIC_0_USE_XRC_1
=""
51891 COND_MONOLITHIC_1
="#"
51892 if test "x$MONOLITHIC" = "x1" ; then
51893 COND_MONOLITHIC_1
=""
51896 COND_MONOLITHIC_1_SHARED_0
="#"
51897 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51898 COND_MONOLITHIC_1_SHARED_0
=""
51901 COND_MONOLITHIC_1_SHARED_1
="#"
51902 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51903 COND_MONOLITHIC_1_SHARED_1
=""
51906 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
51907 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51908 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
51911 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
51912 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51913 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
51916 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
51917 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51918 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
51921 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
51922 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51923 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
51926 COND_PLATFORM_MACOSX_1
="#"
51927 if test "x$PLATFORM_MACOSX" = "x1" ; then
51928 COND_PLATFORM_MACOSX_1
=""
51931 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
51932 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
51933 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
51936 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
="#"
51937 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51938 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
=""
51941 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
51942 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51943 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
51946 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
51947 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51948 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
51951 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
51952 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51953 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
51956 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
51957 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51958 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
51961 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
51962 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51963 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
51966 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
51967 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51968 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
51971 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
51972 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51973 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
51976 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
51977 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51978 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
51981 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
51982 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51983 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
51986 COND_PLATFORM_MACOS_1
="#"
51987 if test "x$PLATFORM_MACOS" = "x1" ; then
51988 COND_PLATFORM_MACOS_1
=""
51991 COND_PLATFORM_MAC_0
="#"
51992 if test "x$PLATFORM_MAC" = "x0" ; then
51993 COND_PLATFORM_MAC_0
=""
51996 COND_PLATFORM_MAC_1
="#"
51997 if test "x$PLATFORM_MAC" = "x1" ; then
51998 COND_PLATFORM_MAC_1
=""
52001 COND_PLATFORM_MSDOS_0
="#"
52002 if test "x$PLATFORM_MSDOS" = "x0" ; then
52003 COND_PLATFORM_MSDOS_0
=""
52006 COND_PLATFORM_MSDOS_1
="#"
52007 if test "x$PLATFORM_MSDOS" = "x1" ; then
52008 COND_PLATFORM_MSDOS_1
=""
52011 COND_PLATFORM_OS2_1
="#"
52012 if test "x$PLATFORM_OS2" = "x1" ; then
52013 COND_PLATFORM_OS2_1
=""
52016 COND_PLATFORM_UNIX_0
="#"
52017 if test "x$PLATFORM_UNIX" = "x0" ; then
52018 COND_PLATFORM_UNIX_0
=""
52021 COND_PLATFORM_UNIX_1
="#"
52022 if test "x$PLATFORM_UNIX" = "x1" ; then
52023 COND_PLATFORM_UNIX_1
=""
52026 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
52027 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52028 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
52031 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
52032 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52033 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
52036 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
52037 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52038 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
52041 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
52042 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52043 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
52046 COND_PLATFORM_WIN32_0
="#"
52047 if test "x$PLATFORM_WIN32" = "x0" ; then
52048 COND_PLATFORM_WIN32_0
=""
52051 COND_PLATFORM_WIN32_1
="#"
52052 if test "x$PLATFORM_WIN32" = "x1" ; then
52053 COND_PLATFORM_WIN32_1
=""
52056 COND_PLATFORM_WIN32_1_SHARED_0
="#"
52057 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
52058 COND_PLATFORM_WIN32_1_SHARED_0
=""
52062 if test "x$SHARED" = "x0" ; then
52066 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
52067 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52068 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
52071 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
52072 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52073 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
52076 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
52077 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52078 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
52081 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
52082 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52083 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
52086 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
52087 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52088 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
52091 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
52092 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52093 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
52096 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
52097 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52098 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
52101 COND_SHARED_0_USE_STC_1
="#"
52102 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52103 COND_SHARED_0_USE_STC_1
=""
52106 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
52107 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52108 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
52111 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
52112 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52113 COND_SHARED_0_wxUSE_REGEX_builtin
=""
52116 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
52117 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52118 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
52122 if test "x$SHARED" = "x1" ; then
52126 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
52127 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52128 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
52132 if test "x$TOOLKIT" = "x" ; then
52136 COND_TOOLKIT_COCOA
="#"
52137 if test "x$TOOLKIT" = "xCOCOA" ; then
52138 COND_TOOLKIT_COCOA
=""
52141 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
52142 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52143 COND_TOOLKIT_COCOA_USE_GUI_1
=""
52146 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
52147 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52148 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
52151 COND_TOOLKIT_DFB
="#"
52152 if test "x$TOOLKIT" = "xDFB" ; then
52153 COND_TOOLKIT_DFB
=""
52156 COND_TOOLKIT_DFB_USE_GUI_1
="#"
52157 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52158 COND_TOOLKIT_DFB_USE_GUI_1
=""
52161 COND_TOOLKIT_GTK
="#"
52162 if test "x$TOOLKIT" = "xGTK" ; then
52163 COND_TOOLKIT_GTK
=""
52166 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
52167 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52168 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
52171 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
52172 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52173 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
52176 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
52177 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52178 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
52181 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
52182 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52183 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
52186 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
52187 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52188 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
52191 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
52192 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52193 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
52196 COND_TOOLKIT_GTK_USE_GUI_1
="#"
52197 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52198 COND_TOOLKIT_GTK_USE_GUI_1
=""
52201 COND_TOOLKIT_MAC
="#"
52202 if test "x$TOOLKIT" = "xMAC" ; then
52203 COND_TOOLKIT_MAC
=""
52206 COND_TOOLKIT_MGL
="#"
52207 if test "x$TOOLKIT" = "xMGL" ; then
52208 COND_TOOLKIT_MGL
=""
52211 COND_TOOLKIT_MGL_USE_GUI_1
="#"
52212 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52213 COND_TOOLKIT_MGL_USE_GUI_1
=""
52216 COND_TOOLKIT_MOTIF
="#"
52217 if test "x$TOOLKIT" = "xMOTIF" ; then
52218 COND_TOOLKIT_MOTIF
=""
52221 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
52222 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52223 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
52226 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
52227 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52228 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
52231 COND_TOOLKIT_MSW
="#"
52232 if test "x$TOOLKIT" = "xMSW" ; then
52233 COND_TOOLKIT_MSW
=""
52236 COND_TOOLKIT_MSW_USE_GUI_1
="#"
52237 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52238 COND_TOOLKIT_MSW_USE_GUI_1
=""
52241 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
52242 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52243 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
52246 COND_TOOLKIT_MSW_WXUNIV_0
="#"
52247 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52248 COND_TOOLKIT_MSW_WXUNIV_0
=""
52251 COND_TOOLKIT_OSX_CARBON
="#"
52252 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
52253 COND_TOOLKIT_OSX_CARBON
=""
52256 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
52257 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52258 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
52261 COND_TOOLKIT_OSX_COCOA
="#"
52262 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
52263 COND_TOOLKIT_OSX_COCOA
=""
52266 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
52267 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52268 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
52271 COND_TOOLKIT_OSX_IPHONE
="#"
52272 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
52273 COND_TOOLKIT_OSX_IPHONE
=""
52276 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
52277 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52278 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
52281 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
52282 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52283 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
52286 COND_TOOLKIT_PM
="#"
52287 if test "x$TOOLKIT" = "xPM" ; then
52291 COND_TOOLKIT_PM_USE_GUI_1
="#"
52292 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52293 COND_TOOLKIT_PM_USE_GUI_1
=""
52296 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
52297 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52298 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
52301 COND_TOOLKIT_WINCE
="#"
52302 if test "x$TOOLKIT" = "xWINCE" ; then
52303 COND_TOOLKIT_WINCE
=""
52306 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
52307 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52308 COND_TOOLKIT_WINCE_USE_GUI_1
=""
52311 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
52312 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52313 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
52316 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
52317 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52318 COND_TOOLKIT_WINCE_WXUNIV_0
=""
52321 COND_TOOLKIT_X11
="#"
52322 if test "x$TOOLKIT" = "xX11" ; then
52323 COND_TOOLKIT_X11
=""
52326 COND_TOOLKIT_X11_USE_GUI_1
="#"
52327 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52328 COND_TOOLKIT_X11_USE_GUI_1
=""
52332 if test "x$UNICODE" = "x1" ; then
52336 COND_USE_CAIRO_1
="#"
52337 if test "x$USE_CAIRO" = "x1" ; then
52338 COND_USE_CAIRO_1
=""
52341 COND_USE_EXCEPTIONS_0
="#"
52342 if test "x$USE_EXCEPTIONS" = "x0" ; then
52343 COND_USE_EXCEPTIONS_0
=""
52346 COND_USE_EXCEPTIONS_1
="#"
52347 if test "x$USE_EXCEPTIONS" = "x1" ; then
52348 COND_USE_EXCEPTIONS_1
=""
52352 if test "x$USE_GUI" = "x0" ; then
52357 if test "x$USE_GUI" = "x1" ; then
52361 COND_USE_GUI_1_USE_OPENGL_1
="#"
52362 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52363 COND_USE_GUI_1_USE_OPENGL_1
=""
52366 COND_USE_GUI_1_WXUNIV_0
="#"
52367 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52368 COND_USE_GUI_1_WXUNIV_0
=""
52371 COND_USE_GUI_1_WXUNIV_1
="#"
52372 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52373 COND_USE_GUI_1_WXUNIV_1
=""
52376 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
52377 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52378 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
52381 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
52382 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52383 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
52386 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
52387 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52388 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
52391 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
52392 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52393 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
52396 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
52397 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52398 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
52401 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
52402 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52403 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
52406 COND_USE_OPENGL_1
="#"
52407 if test "x$USE_OPENGL" = "x1" ; then
52408 COND_USE_OPENGL_1
=""
52412 if test "x$USE_PCH" = "x1" ; then
52416 COND_USE_PLUGINS_0
="#"
52417 if test "x$USE_PLUGINS" = "x0" ; then
52418 COND_USE_PLUGINS_0
=""
52421 COND_USE_RTTI_0
="#"
52422 if test "x$USE_RTTI" = "x0" ; then
52426 COND_USE_RTTI_1
="#"
52427 if test "x$USE_RTTI" = "x1" ; then
52431 COND_USE_SOTWOSYMLINKS_1
="#"
52432 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
52433 COND_USE_SOTWOSYMLINKS_1
=""
52436 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
52437 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52438 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
52441 COND_USE_SOVERLINUX_1
="#"
52442 if test "x$USE_SOVERLINUX" = "x1" ; then
52443 COND_USE_SOVERLINUX_1
=""
52446 COND_USE_SOVERSION_0
="#"
52447 if test "x$USE_SOVERSION" = "x0" ; then
52448 COND_USE_SOVERSION_0
=""
52451 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
="#"
52452 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
52453 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
=""
52456 COND_USE_SOVERSOLARIS_1
="#"
52457 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52458 COND_USE_SOVERSOLARIS_1
=""
52462 if test "x$USE_STC" = "x1" ; then
52466 COND_USE_THREADS_0
="#"
52467 if test "x$USE_THREADS" = "x0" ; then
52468 COND_USE_THREADS_0
=""
52471 COND_USE_THREADS_1
="#"
52472 if test "x$USE_THREADS" = "x1" ; then
52473 COND_USE_THREADS_1
=""
52477 if test "x$USE_XRC" = "x1" ; then
52481 COND_WINDOWS_IMPLIB_1
="#"
52482 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52483 COND_WINDOWS_IMPLIB_1
=""
52486 COND_WITH_PLUGIN_SDL_1
="#"
52487 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52488 COND_WITH_PLUGIN_SDL_1
=""
52492 if test "x$WXUNIV" = "x0" ; then
52497 if test "x$WXUNIV" = "x1" ; then
52501 COND_WXUSE_EXPAT_BUILTIN
="#"
52502 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52503 COND_WXUSE_EXPAT_BUILTIN
=""
52506 COND_WXUSE_LIBJPEG_BUILTIN
="#"
52507 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52508 COND_WXUSE_LIBJPEG_BUILTIN
=""
52511 COND_WXUSE_LIBPNG_BUILTIN
="#"
52512 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52513 COND_WXUSE_LIBPNG_BUILTIN
=""
52516 COND_WXUSE_LIBTIFF_BUILTIN
="#"
52517 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52518 COND_WXUSE_LIBTIFF_BUILTIN
=""
52521 COND_WXUSE_REGEX_BUILTIN
="#"
52522 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52523 COND_WXUSE_REGEX_BUILTIN
=""
52526 COND_WXUSE_ZLIB_BUILTIN
="#"
52527 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52528 COND_WXUSE_ZLIB_BUILTIN
=""
52531 COND_wxUSE_EXPAT_builtin
="#"
52532 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52533 COND_wxUSE_EXPAT_builtin
=""
52536 COND_wxUSE_LIBJPEG_builtin
="#"
52537 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52538 COND_wxUSE_LIBJPEG_builtin
=""
52541 COND_wxUSE_LIBPNG_builtin
="#"
52542 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52543 COND_wxUSE_LIBPNG_builtin
=""
52546 COND_wxUSE_LIBTIFF_builtin
="#"
52547 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52548 COND_wxUSE_LIBTIFF_builtin
=""
52551 COND_wxUSE_REGEX_builtin
="#"
52552 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52553 COND_wxUSE_REGEX_builtin
=""
52556 COND_wxUSE_ZLIB_builtin
="#"
52557 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52558 COND_wxUSE_ZLIB_builtin
=""
52563 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52564 { { 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
52565 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;}
52566 { (exit 1); exit 1; }; }
52569 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52570 { { 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
52571 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;}
52572 { (exit 1); exit 1; }; }
52579 ?
:* ) # Drive letter, considered as absolute.
52582 INSTALL
=`pwd`/${INSTALL} ;;
52585 if test "$wxUSE_GUI" = "yes"; then
52587 if test "$wxUSE_MSW" = 1 ; then
52588 if test "x$WINDRES" = "x"; then
52589 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52590 echo "$as_me: error: Required windres program not found" >&2;}
52591 { (exit 1); exit 1; }; }
52597 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52598 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52599 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52601 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52603 # Extract the first word of "DeRez", so it can be a program name with args.
52604 set dummy DeRez
; ac_word
=$2
52605 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52607 if test "${ac_cv_prog_DEREZ+set}" = set; then
52608 echo $ECHO_N "(cached) $ECHO_C" >&6
52610 if test -n "$DEREZ"; then
52611 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
52613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52614 for as_dir
in $PATH
52617 test -z "$as_dir" && as_dir
=.
52618 for ac_exec_ext
in '' $ac_executable_extensions; do
52619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52620 ac_cv_prog_DEREZ
="DeRez"
52621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52628 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
52631 DEREZ
=$ac_cv_prog_DEREZ
52632 if test -n "$DEREZ"; then
52633 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52634 echo "${ECHO_T}$DEREZ" >&6; }
52636 { echo "$as_me:$LINENO: result: no" >&5
52637 echo "${ECHO_T}no" >&6; }
52642 MACSETFILE
="\$(SETFILE)"
52644 if test "$wxUSE_OSX_CARBON" = 1; then
52645 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52647 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
52649 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52650 RESCOMP
="cat /dev/null \| $REZ"
52651 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52657 if test "$wxUSE_PM" = 1; then
52659 WXCONFIG_RESFLAGS
="-ep"
52661 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
52663 POSTLINK_COMMAND
="@true"
52670 if test $GCC_PCH = 1
52672 if test "$wx_cv_gcc_pch_bug" = yes; then
52673 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52674 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52675 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52676 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52677 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52678 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52681 # Our WX_PRECOMP flag does not make sense for any language except C++ because
52682 # the headers that benefit from precompilation are mostly C++ headers.
52683 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
52684 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
52685 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52689 if test "$wxUSE_MAC" = 1 ; then
52690 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52691 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
52697 if test "$wxUSE_SHARED" = "yes"; then
52699 *-pc-os2_emx | *-pc-os2-emx )
52700 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52701 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52702 cp -p ${srcdir}/src
/os
2/dllnames.sh .
52703 cp -p ${srcdir}/src
/os
2/dllar.sh .
52707 if test "$wxUSE_OMF" = "yes"; then
52709 *-pc-os2_emx | *-pc-os2-emx )
52710 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
52711 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
52712 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
52717 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52722 if test "$GCC" = yes; then
52723 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
52724 LIBS
=`echo $LIBS | sed 's/-mt//'`
52725 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52730 if test "x$SUNCXX" = xyes
; then
52731 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
52732 LIBS
=`echo $LIBS | sed 's/-pthread//'`
52733 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52738 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
52739 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52740 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
52741 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
52743 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52804 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52805 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52806 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52807 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
52808 echo $ECHO_N "(cached) $ECHO_C" >&6
52810 cat >conftest.
make <<\_ACEOF
52813 @
echo '@@@%%%=$(MAKE)=@@@%%%'
52815 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52816 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52817 *@@@
%%%=?
*=@@@
%%%*)
52818 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
52820 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
52822 rm -f conftest.
make
52824 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
52825 { echo "$as_me:$LINENO: result: yes" >&5
52826 echo "${ECHO_T}yes" >&6; }
52829 { echo "$as_me:$LINENO: result: no" >&5
52830 echo "${ECHO_T}no" >&6; }
52831 SET_MAKE
="MAKE=${MAKE-make}"
52836 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52839 if test "$USE_WIN32" = 1; then
52840 ac_config_commands
="$ac_config_commands rcdefs.h"
52844 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52847 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52850 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
52853 if test "$wx_cv_version_script" = "yes"; then
52854 ac_config_files
="$ac_config_files version-script"
52857 ac_config_files
="$ac_config_files Makefile"
52860 ac_config_commands
="$ac_config_commands wx-config"
52864 if test "$wxWITH_SUBDIRS" != "no"; then
52865 if test "$wxUSE_GUI" = "yes"; then
52866 SUBDIRS
="samples demos utils"
52868 SUBDIRS
="samples utils"
52873 # Check whether --with-cppunit-prefix was given.
52874 if test "${with_cppunit_prefix+set}" = set; then
52875 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
52877 cppunit_config_prefix
=""
52881 # Check whether --with-cppunit-exec-prefix was given.
52882 if test "${with_cppunit_exec_prefix+set}" = set; then
52883 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
52885 cppunit_config_exec_prefix
=""
52889 if test x
$cppunit_config_exec_prefix != x
; then
52890 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52891 if test x
${CPPUNIT_CONFIG+set} != xset
; then
52892 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
52895 if test x
$cppunit_config_prefix != x
; then
52896 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
52897 if test x
${CPPUNIT_CONFIG+set} != xset
; then
52898 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
52902 # Extract the first word of "cppunit-config", so it can be a program name with args.
52903 set dummy cppunit
-config; ac_word
=$2
52904 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52906 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52907 echo $ECHO_N "(cached) $ECHO_C" >&6
52909 case $CPPUNIT_CONFIG in
52911 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
52915 for as_dir
in $PATH
52918 test -z "$as_dir" && as_dir
=.
52919 for ac_exec_ext
in '' $ac_executable_extensions; do
52920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52921 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
52922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52929 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
52933 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
52934 if test -n "$CPPUNIT_CONFIG"; then
52935 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52936 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52938 { echo "$as_me:$LINENO: result: no" >&5
52939 echo "${ECHO_T}no" >&6; }
52943 cppunit_version_min
=1.8.0
52945 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52946 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52948 if test "$CPPUNIT_CONFIG" = "no" ; then
52949 { echo "$as_me:$LINENO: result: no" >&5
52950 echo "${ECHO_T}no" >&6; }
52953 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
52954 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
52955 cppunit_version
=`$CPPUNIT_CONFIG --version`
52957 cppunit_major_version
=`echo $cppunit_version | \
52958 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52959 cppunit_minor_version
=`echo $cppunit_version | \
52960 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52961 cppunit_micro_version
=`echo $cppunit_version | \
52962 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52964 cppunit_major_min
=`echo $cppunit_version_min | \
52965 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52966 cppunit_minor_min
=`echo $cppunit_version_min | \
52967 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52968 cppunit_micro_min
=`echo $cppunit_version_min | \
52969 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52971 cppunit_version_proper
=`expr \
52972 $cppunit_major_version \> $cppunit_major_min \| \
52973 $cppunit_major_version \= $cppunit_major_min \& \
52974 $cppunit_minor_version \> $cppunit_minor_min \| \
52975 $cppunit_major_version \= $cppunit_major_min \& \
52976 $cppunit_minor_version \= $cppunit_minor_min \& \
52977 $cppunit_micro_version \>= $cppunit_micro_min `
52979 if test "$cppunit_version_proper" = "1" ; then
52980 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52981 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52983 { echo "$as_me:$LINENO: result: no" >&5
52984 echo "${ECHO_T}no" >&6; }
52989 if test "x$no_cppunit" = x
; then
52990 SUBDIRS
="$SUBDIRS tests"
53001 for subdir
in $SUBDIRS; do
53002 if test -d ${srcdir}/${subdir} ; then
53003 if test "$wxUSE_GUI" = "yes"; then
53004 if test ${subdir} = "samples"; then
53005 makefiles
="samples/Makefile.in $makefiles"
53006 for sample
in $SAMPLES_SUBDIRS; do
53007 if test -d $srcdir/samples
/$sample; then
53008 makefiles
="samples/$sample/Makefile.in $makefiles"
53012 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
53013 eval "disabled=\$$disabled_var"
53014 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
53015 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
53018 if test ${subdir} = "samples"; then
53019 makefiles
="samples/Makefile.in $makefiles"
53020 for sample
in `echo $SAMPLES_SUBDIRS`; do
53021 if test -d $srcdir/samples
/$sample; then
53022 makefiles
="samples/$sample/Makefile.in $makefiles"
53025 elif test ${subdir} = "utils"; then
53027 for util
in ifacecheck
; do
53028 if test -d $srcdir/utils
/$util ; then
53029 makefiles
="utils/$util/src/Makefile.in \
53034 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
53038 for mkin
in $makefiles ; do
53039 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53040 ac_config_files
="$ac_config_files $mk"
53046 cat >confcache
<<\_ACEOF
53047 # This file is a shell script that caches the results of configure
53048 # tests run on this system so they can be shared between configure
53049 # scripts and configure runs, see configure's option --config-cache.
53050 # It is not useful on other systems. If it contains results you don't
53051 # want to keep, you may remove or edit it.
53053 # config.status only pays attention to the cache file if you give it
53054 # the --recheck option to rerun configure.
53056 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53057 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53058 # following values.
53062 # The following way of writing the cache mishandles newlines in values,
53063 # but we know of no workaround that is simple, portable, and efficient.
53064 # So, we kill variables containing newlines.
53065 # Ultrix sh set writes to stderr and can't be redirected directly,
53066 # and sets the high bit in the cache file unless we assign to the vars.
53068 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53069 eval ac_val
=\$
$ac_var
53073 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53074 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53077 _
| IFS
| as_nl
) ;; #(
53078 *) $as_unset $ac_var ;;
53084 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53085 *${as_nl}ac_space
=\
*)
53086 # `set' does not quote correctly, so add quotes (double-quote
53087 # substitution turns \\\\ into \\, and sed turns \\ into \).
53090 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53093 # `set' quotes correctly as required by POSIX, so do not add quotes.
53094 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53103 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53105 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53107 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
53108 if test -w "$cache_file"; then
53109 test "x$cache_file" != "x/dev/null" &&
53110 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53111 echo "$as_me: updating cache $cache_file" >&6;}
53112 cat confcache
>$cache_file
53114 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53115 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53120 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
53121 # Let make expand exec_prefix.
53122 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
53124 DEFS
=-DHAVE_CONFIG_H
53128 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
53129 # 1. Remove the extension, and $U if already installed.
53130 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
53131 ac_i
=`echo "$ac_i" | sed "$ac_script"`
53132 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53133 # will be set to the directory where LIBOBJS objects are built.
53134 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53135 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53137 LIBOBJS
=$ac_libobjs
53139 LTLIBOBJS
=$ac_ltlibobjs
53143 : ${CONFIG_STATUS=./config.status}
53144 ac_clean_files_save
=$ac_clean_files
53145 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
53146 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53147 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53148 cat >$CONFIG_STATUS <<_ACEOF
53150 # Generated by $as_me.
53151 # Run this file to recreate the current configuration.
53152 # Compiler output produced by configure, useful for debugging
53153 # configure, is in config.log if it exists.
53156 ac_cs_recheck=false
53158 SHELL=\${CONFIG_SHELL-$SHELL}
53161 cat >>$CONFIG_STATUS <<\_ACEOF
53162 ## --------------------- ##
53163 ## M4sh Initialization. ##
53164 ## --------------------- ##
53166 # Be more Bourne compatible
53167 DUALCASE
=1; export DUALCASE
# for MKS sh
53168 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
53171 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53172 # is contrary to our usage. Disable this feature.
53173 alias -g '${1+"$@"}'='"$@"'
53174 setopt NO_GLOB_SUBST
53176 case `(set -o) 2>/dev/null` in
53177 *posix
*) set -o posix
;;
53186 # Avoid depending upon Character Ranges.
53187 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
53188 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53189 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
53190 as_cr_digits
='0123456789'
53191 as_cr_alnum
=$as_cr_Letters$as_cr_digits
53193 # The user is always right.
53194 if test "${PATH_SEPARATOR+set}" != set; then
53195 echo "#! /bin/sh" >conf$$.sh
53196 echo "exit 0" >>conf$$.sh
53198 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53206 # Support unset when possible.
53207 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
53215 # We need space, tab and new line, in precisely that order. Quoting is
53216 # there to prevent editors from complaining about space-tab.
53217 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53218 # splitting by setting IFS to empty value.)
53223 # Find who we are. Look in the path if we contain no directory separator.
53225 *[\\/]* ) as_myself
=$0 ;;
53226 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53227 for as_dir
in $PATH
53230 test -z "$as_dir" && as_dir
=.
53231 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
53237 # We did not find ourselves, most probably we were run as `sh COMMAND'
53238 # in which case we are not to be found in the path.
53239 if test "x$as_myself" = x
; then
53242 if test ! -f "$as_myself"; then
53243 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53244 { (exit 1); exit 1; }
53247 # Work around bugs in pre-3.0 UWIN ksh.
53248 for as_var
in ENV MAIL MAILPATH
53249 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53257 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53258 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53259 LC_TELEPHONE LC_TIME
53261 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53262 eval $as_var=C
; export $as_var
53264 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53268 # Required to use basename.
53269 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53270 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53276 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53277 as_basename
=basename
53283 # Name of the executable.
53284 as_me
=`$as_basename -- "$0" ||
53285 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53286 X"$0" : 'X\(//\)$' \| \
53287 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53289 sed '/^.*\/\([^/][^/]*\)\/*$/{
53308 as_lineno_1
=$LINENO
53309 as_lineno_2
=$LINENO
53310 test "x$as_lineno_1" != "x$as_lineno_2" &&
53311 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53313 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53314 # uniformly replaced by the line number. The first 'sed' inserts a
53315 # line-number line after each line using $LINENO; the second 'sed'
53316 # does the real work. The second script uses 'N' to pair each
53317 # line-number line with the line containing $LINENO, and appends
53318 # trailing '-' during substitution so that $LINENO is not a special
53319 # case at line end.
53320 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53321 # scripts with optimization help from Paolo Bonzini. Blame Lee
53322 # E. McMahon (1931-1989) for sed's syntax. :-)
53334 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53337 ' >$as_me.lineno
&&
53338 chmod +x
"$as_me.lineno" ||
53339 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53340 { (exit 1); exit 1; }; }
53342 # Don't try to exec as it changes $[0], causing all sort of problems
53343 # (the dirname of $[0] is not the place where we might find the
53344 # original and so on. Autoconf is especially sensitive to this).
53345 .
"./$as_me.lineno"
53346 # Exit status is that of the last command.
53351 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
53357 ECHO_C
= ECHO_N
= ECHO_T
=
53358 case `echo -n x` in
53360 case `echo 'x\c'` in
53361 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
53368 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53369 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53375 rm -f conf$$ conf$$.exe conf$$.
file
53376 if test -d conf$$.dir
; then
53377 rm -f conf$$.dir
/conf$$.
file
53383 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
53385 # ... but there are two gotchas:
53386 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53387 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53388 # In both cases, we have to default to `cp -p'.
53389 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
53391 elif ln conf$$.
file conf$$
2>/dev
/null
; then
53396 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
53397 rmdir conf$$.dir
2>/dev
/null
53399 if mkdir -p .
2>/dev
/null
; then
53402 test -d .
/-p && rmdir .
/-p
53406 if test -x / >/dev
/null
2>&1; then
53407 as_test_x
='test -x'
53409 if ls -dL / >/dev
/null
2>&1; then
53416 if test -d "$1"; then
53422 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53423 ???[sx]*):;;*)false;;esac;fi
53427 as_executable_p
=$as_test_x
53429 # Sed expression to map a string onto a valid CPP name.
53430 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53432 # Sed expression to map a string onto a valid variable name.
53433 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53438 # Save the log message, to keep $[0] and so on meaningful, and to
53439 # report actual input values of CONFIG_FILES etc. instead of their
53440 # values after options handling.
53442 This file was extended by wxWidgets $as_me 2.9.3, which was
53443 generated by GNU Autoconf 2.61. Invocation command line was
53445 CONFIG_FILES = $CONFIG_FILES
53446 CONFIG_HEADERS = $CONFIG_HEADERS
53447 CONFIG_LINKS = $CONFIG_LINKS
53448 CONFIG_COMMANDS = $CONFIG_COMMANDS
53451 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53456 cat >>$CONFIG_STATUS <<_ACEOF
53457 # Files that config.status was made for.
53458 config_files="$ac_config_files"
53459 config_headers="$ac_config_headers"
53460 config_commands="$ac_config_commands"
53464 cat >>$CONFIG_STATUS <<\_ACEOF
53466 \`$as_me' instantiates files from templates according to the
53467 current configuration.
53469 Usage: $0 [OPTIONS] [FILE]...
53471 -h, --help print this help, then exit
53472 -V, --version print version number and configuration settings, then exit
53473 -q, --quiet do not print progress messages
53474 -d, --debug don't remove temporary files
53475 --recheck update $as_me by reconfiguring in the same conditions
53476 --file=FILE[:TEMPLATE]
53477 instantiate the configuration file FILE
53478 --header=FILE[:TEMPLATE]
53479 instantiate the configuration header FILE
53481 Configuration files:
53484 Configuration headers:
53487 Configuration commands:
53490 Report bugs to <bug-autoconf@gnu.org>."
53493 cat >>$CONFIG_STATUS <<_ACEOF
53495 wxWidgets config.status 2.9.3
53496 configured by $0, generated by GNU Autoconf 2.61,
53497 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53499 Copyright (C) 2006 Free Software Foundation, Inc.
53500 This config.status script is free software; the Free Software Foundation
53501 gives unlimited permission to copy, distribute and modify it."
53508 cat >>$CONFIG_STATUS <<\_ACEOF
53509 # If no file are specified by the user, then we need to provide default
53510 # value. By we need to know if files were specified by the user.
53516 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
53517 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
53528 # Handling of the options.
53529 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53531 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53532 echo "$ac_cs_version"; exit ;;
53533 --debug | --debu | --deb | --de | --d | -d )
53535 --file | --fil | --fi | --f )
53537 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
53538 ac_need_defaults
=false
;;
53539 --header | --heade | --head | --hea )
53541 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
53542 ac_need_defaults
=false
;;
53544 # Conflict between --help and --header
53545 { echo "$as_me: error: ambiguous option: $1
53546 Try \`$0 --help' for more information." >&2
53547 { (exit 1); exit 1; }; };;
53548 --help | --hel | -h )
53549 echo "$ac_cs_usage"; exit ;;
53550 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53551 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53554 # This is an error.
53555 -*) { echo "$as_me: error: unrecognized option: $1
53556 Try \`$0 --help' for more information." >&2
53557 { (exit 1); exit 1; }; } ;;
53559 *) ac_config_targets
="$ac_config_targets $1"
53560 ac_need_defaults
=false
;;
53566 ac_configure_extra_args
=
53568 if $ac_cs_silent; then
53570 ac_configure_extra_args
="$ac_configure_extra_args --silent"
53574 cat >>$CONFIG_STATUS <<_ACEOF
53575 if \$ac_cs_recheck; then
53576 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53577 CONFIG_SHELL=$SHELL
53578 export CONFIG_SHELL
53579 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53583 cat >>$CONFIG_STATUS <<\_ACEOF
53587 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53588 ## Running $as_me. ##
53594 cat >>$CONFIG_STATUS <<_ACEOF
53600 infile="$srcdir/include/wx/msw/genrcdefs.h"
53601 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53604 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53605 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53606 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53612 cat >>$CONFIG_STATUS <<\_ACEOF
53614 # Handling of arguments.
53615 for ac_config_target
in $ac_config_targets
53617 case $ac_config_target in
53618 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53619 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
53620 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53621 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53622 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53623 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
53624 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
53625 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
53626 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
53628 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53629 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53630 { (exit 1); exit 1; }; };;
53635 # If the user did not use the arguments to specify the items to instantiate,
53636 # then the envvar interface is used. Set only those that are not.
53637 # We use the long form for the default assignment because of an extremely
53638 # bizarre bug on SunOS 4.1.3.
53639 if $ac_need_defaults; then
53640 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
53641 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
53642 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
53645 # Have a temporary directory for convenience. Make it in the build tree
53646 # simply because there is no reason against having it here, and in addition,
53647 # creating and moving files from /tmp can sometimes cause problems.
53648 # Hook for its removal unless debugging.
53649 # Note that there is a small window in which the directory will not be cleaned:
53650 # after its creation but before its name has been assigned to `$tmp'.
53654 trap 'exit_status=$?
53655 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53657 trap '{ (exit 1); exit 1; }' 1 2 13 15
53659 # Create a (secure) tmp directory for tmp files.
53662 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53663 test -n "$tmp" && test -d "$tmp"
53666 tmp
=.
/conf$$
-$RANDOM
53667 (umask 077 && mkdir "$tmp")
53670 echo "$me: cannot create a temporary directory in ." >&2
53671 { (exit 1); exit 1; }
53675 # Set up the sed scripts for CONFIG_FILES section.
53678 # No need to generate the scripts if there are no CONFIG_FILES.
53679 # This happens for instance when ./config.status config.h
53680 if test -n "$CONFIG_FILES"; then
53687 for ac_last_try
in false false false false false
:; do
53688 cat >conf$
$subs.
sed <<_ACEOF
53689 SHELL!$SHELL$ac_delim
53690 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53691 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53692 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53693 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53694 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53695 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53696 exec_prefix!$exec_prefix$ac_delim
53697 prefix!$prefix$ac_delim
53698 program_transform_name!$program_transform_name$ac_delim
53699 bindir!$bindir$ac_delim
53700 sbindir!$sbindir$ac_delim
53701 libexecdir!$libexecdir$ac_delim
53702 datarootdir!$datarootdir$ac_delim
53703 datadir!$datadir$ac_delim
53704 sysconfdir!$sysconfdir$ac_delim
53705 sharedstatedir!$sharedstatedir$ac_delim
53706 localstatedir!$localstatedir$ac_delim
53707 includedir!$includedir$ac_delim
53708 oldincludedir!$oldincludedir$ac_delim
53709 docdir!$docdir$ac_delim
53710 infodir!$infodir$ac_delim
53711 htmldir!$htmldir$ac_delim
53712 dvidir!$dvidir$ac_delim
53713 pdfdir!$pdfdir$ac_delim
53714 psdir!$psdir$ac_delim
53715 libdir!$libdir$ac_delim
53716 localedir!$localedir$ac_delim
53717 mandir!$mandir$ac_delim
53718 DEFS!$DEFS$ac_delim
53719 ECHO_C!$ECHO_C$ac_delim
53720 ECHO_N!$ECHO_N$ac_delim
53721 ECHO_T!$ECHO_T$ac_delim
53722 LIBS!$LIBS$ac_delim
53723 build_alias!$build_alias$ac_delim
53724 host_alias!$host_alias$ac_delim
53725 target_alias!$target_alias$ac_delim
53726 build!$build$ac_delim
53727 build_cpu!$build_cpu$ac_delim
53728 build_vendor!$build_vendor$ac_delim
53729 build_os!$build_os$ac_delim
53730 host!$host$ac_delim
53731 host_cpu!$host_cpu$ac_delim
53732 host_vendor!$host_vendor$ac_delim
53733 host_os!$host_os$ac_delim
53734 wx_top_builddir!$wx_top_builddir$ac_delim
53736 CFLAGS!$CFLAGS$ac_delim
53737 LDFLAGS!$LDFLAGS$ac_delim
53738 CPPFLAGS!$CPPFLAGS$ac_delim
53739 ac_ct_CC!$ac_ct_CC$ac_delim
53740 EXEEXT!$EXEEXT$ac_delim
53741 OBJEXT!$OBJEXT$ac_delim
53743 GREP!$GREP$ac_delim
53744 EGREP!$EGREP$ac_delim
53746 CXXFLAGS!$CXXFLAGS$ac_delim
53747 ac_ct_CXX!$ac_ct_CXX$ac_delim
53749 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
53750 CXXCPP!$CXXCPP$ac_delim
53751 subdirs!$subdirs$ac_delim
53752 PKG_CONFIG!$PKG_CONFIG$ac_delim
53753 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53754 GTK_LIBS!$GTK_LIBS$ac_delim
53755 GTK_CONFIG!$GTK_CONFIG$ac_delim
53756 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53757 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53758 XMKMF!$XMKMF$ac_delim
53759 X_CFLAGS!$X_CFLAGS$ac_delim
53760 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53761 X_LIBS!$X_LIBS$ac_delim
53762 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53763 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53764 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53765 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53766 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53767 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53768 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53769 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53770 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53771 LIBICONV!$LIBICONV$ac_delim
53772 GXX_VERSION!$GXX_VERSION$ac_delim
53773 SDL_CONFIG!$SDL_CONFIG$ac_delim
53774 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53775 SDL_LIBS!$SDL_LIBS$ac_delim
53776 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53777 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53778 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53779 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53780 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53781 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53782 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53783 HILDON_LIBS!$HILDON_LIBS$ac_delim
53784 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
53785 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
53788 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53790 elif $ac_last_try; then
53791 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53792 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53793 { (exit 1); exit 1; }; }
53795 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53799 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53800 if test -n "$ac_eof"; then
53801 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53802 ac_eof
=`expr $ac_eof + 1`
53805 cat >>$CONFIG_STATUS <<_ACEOF
53806 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53807 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53810 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53811 s/^/s,@/; s/!/@,|#_!!_#|/
53814 s/'"$ac_delim"'$/,g/; t
53816 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53817 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53818 rm -f conf$
$subs.
sed
53819 cat >>$CONFIG_STATUS <<_ACEOF
53825 for ac_last_try
in false false false false false
:; do
53826 cat >conf$
$subs.
sed <<_ACEOF
53827 PYTHON!$PYTHON$ac_delim
53828 COND_PYTHON!$COND_PYTHON$ac_delim
53829 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53830 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53831 GST_CFLAGS!$GST_CFLAGS$ac_delim
53832 GST_LIBS!$GST_LIBS$ac_delim
53833 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53834 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53835 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53836 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53837 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53838 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53839 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53840 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53841 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53842 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53843 VENDOR!$VENDOR$ac_delim
53844 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53845 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53846 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53847 WXUNIV!$WXUNIV$ac_delim
53848 MONOLITHIC!$MONOLITHIC$ac_delim
53849 USE_PLUGINS!$USE_PLUGINS$ac_delim
53850 CXXWARNINGS!$CXXWARNINGS$ac_delim
53851 EXTRALIBS!$EXTRALIBS$ac_delim
53852 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53853 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53854 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
53855 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53856 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53857 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53858 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
53859 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53860 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53861 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53862 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53863 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53864 UNICODE!$UNICODE$ac_delim
53865 DEBUG_INFO!$DEBUG_INFO$ac_delim
53866 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53867 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53868 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53869 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
53870 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
53871 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53872 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
53873 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53874 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53875 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53876 RANLIB!$RANLIB$ac_delim
53877 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53878 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53879 INSTALL_DATA!$INSTALL_DATA$ac_delim
53880 LN_S!$LN_S$ac_delim
53881 SET_MAKE!$SET_MAKE$ac_delim
53882 MAKE_SET!$MAKE_SET$ac_delim
53883 AROPTIONS!$AROPTIONS$ac_delim
53884 STRIP!$STRIP$ac_delim
53886 INSTALL_DIR!$INSTALL_DIR$ac_delim
53887 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53888 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53889 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53890 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53891 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53892 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53893 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53894 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53895 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53896 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53897 SO_SUFFIX!$SO_SUFFIX$ac_delim
53898 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53899 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53900 LIBPREFIX!$LIBPREFIX$ac_delim
53901 LIBEXT!$LIBEXT$ac_delim
53902 DLLPREFIX!$DLLPREFIX$ac_delim
53903 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53904 dlldir!$dlldir$ac_delim
53905 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53906 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53907 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53908 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53909 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53910 PIC_FLAG!$PIC_FLAG$ac_delim
53911 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53912 USE_SOVERSION!$USE_SOVERSION$ac_delim
53913 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53914 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53915 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53916 USE_MACVERSION!$USE_MACVERSION$ac_delim
53917 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
53918 SONAME_FLAG!$SONAME_FLAG$ac_delim
53919 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53920 BK_DEPS!$BK_DEPS$ac_delim
53921 WINDRES!$WINDRES$ac_delim
53923 SETFILE!$SETFILE$ac_delim
53926 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53928 elif $ac_last_try; then
53929 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53930 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53931 { (exit 1); exit 1; }; }
53933 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
53937 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53938 if test -n "$ac_eof"; then
53939 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
53940 ac_eof
=`expr $ac_eof + 1`
53943 cat >>$CONFIG_STATUS <<_ACEOF
53944 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53945 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53948 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53949 s/^/s,@/; s/!/@,|#_!!_#|/
53952 s/'"$ac_delim"'$/,g/; t
53954 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53955 ' >>$CONFIG_STATUS <conf$
$subs.
sed
53956 rm -f conf$
$subs.
sed
53957 cat >>$CONFIG_STATUS <<_ACEOF
53963 for ac_last_try
in false false false false false
:; do
53964 cat >conf$
$subs.
sed <<_ACEOF
53965 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
53966 GCC_PCH!$GCC_PCH$ac_delim
53967 ICC_PCH!$ICC_PCH$ac_delim
53968 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
53969 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
53970 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53971 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53972 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53973 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53974 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53975 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53976 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53977 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53978 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53979 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53980 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
53981 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
53982 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
53983 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
53984 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
53985 COND_BUILD_release!$COND_BUILD_release$ac_delim
53986 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
53987 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
53988 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
53989 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
53990 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53991 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53992 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53993 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53994 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53995 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53996 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53997 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53998 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53999 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
54000 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
54001 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
54002 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54003 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
54004 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
54005 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
54006 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
54007 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
54008 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
54009 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
54010 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
54011 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
54012 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
54013 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
54014 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
54015 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
54016 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
54017 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
54018 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54019 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54020 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54021 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54022 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54023 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54024 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54025 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
54026 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54027 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
54028 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54029 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54030 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54031 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54032 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54033 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54034 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54035 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54036 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54037 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54038 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54039 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
54040 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
54041 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54042 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
54043 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54044 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
54045 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54046 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
54047 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54048 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
54049 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54050 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54051 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
54052 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54053 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54054 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54055 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54056 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54057 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54058 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54059 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54060 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54061 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54064 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54066 elif $ac_last_try; then
54067 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54068 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54069 { (exit 1); exit 1; }; }
54071 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54075 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54076 if test -n "$ac_eof"; then
54077 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54078 ac_eof
=`expr $ac_eof + 1`
54081 cat >>$CONFIG_STATUS <<_ACEOF
54082 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54083 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54086 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54087 s/^/s,@/; s/!/@,|#_!!_#|/
54090 s/'"$ac_delim"'$/,g/; t
54092 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54093 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54094 rm -f conf$
$subs.
sed
54095 cat >>$CONFIG_STATUS <<_ACEOF
54101 for ac_last_try
in false false false false false
:; do
54102 cat >conf$
$subs.
sed <<_ACEOF
54103 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54104 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54105 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
54106 COND_SHARED_0!$COND_SHARED_0$ac_delim
54107 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54108 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54109 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54110 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54111 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54112 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54113 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54114 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54115 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
54116 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
54117 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
54118 COND_SHARED_1!$COND_SHARED_1$ac_delim
54119 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54120 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54121 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54122 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54123 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54124 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54125 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54126 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54127 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54128 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54129 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54130 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54131 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54132 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54133 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54134 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54135 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54136 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54137 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54138 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54139 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54140 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54141 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54142 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54143 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54144 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
54145 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54146 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
54147 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54148 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
54149 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54150 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
54151 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54152 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54153 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54154 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54155 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54156 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54157 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54158 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54159 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54160 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54161 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
54162 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54163 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54164 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54165 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54166 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54167 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54168 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54169 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54170 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54171 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54172 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54173 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54174 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54175 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54176 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54177 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54178 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54179 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54180 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
54181 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54182 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54183 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54184 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
54185 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54186 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54187 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54188 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54189 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54190 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54191 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54192 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54193 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54194 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54195 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54196 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54197 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54198 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54199 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54202 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54204 elif $ac_last_try; then
54205 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54206 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54207 { (exit 1); exit 1; }; }
54209 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54213 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54214 if test -n "$ac_eof"; then
54215 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54216 ac_eof
=`expr $ac_eof + 1`
54219 cat >>$CONFIG_STATUS <<_ACEOF
54220 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54221 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54224 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54225 s/^/s,@/; s/!/@,|#_!!_#|/
54228 s/'"$ac_delim"'$/,g/; t
54230 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54231 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54232 rm -f conf$
$subs.
sed
54233 cat >>$CONFIG_STATUS <<_ACEOF
54239 for ac_last_try
in false false false false false
:; do
54240 cat >conf$
$subs.
sed <<_ACEOF
54241 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
54242 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
54243 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
54244 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
54245 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
54246 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
54247 DEREZ!$DEREZ$ac_delim
54248 SHARED!$SHARED$ac_delim
54249 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54250 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54251 USE_GUI!$USE_GUI$ac_delim
54252 AFMINSTALL!$AFMINSTALL$ac_delim
54253 WIN32INSTALL!$WIN32INSTALL$ac_delim
54254 TOOLKIT!$TOOLKIT$ac_delim
54255 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54256 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54257 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54258 cross_compiling!$cross_compiling$ac_delim
54259 WIDGET_SET!$WIDGET_SET$ac_delim
54260 WX_RELEASE!$WX_RELEASE$ac_delim
54261 WX_VERSION!$WX_VERSION$ac_delim
54262 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54263 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54264 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54265 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54266 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54267 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54268 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54269 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
54270 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54271 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54272 GUIDIST!$GUIDIST$ac_delim
54273 DISTDIR!$DISTDIR$ac_delim
54274 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54275 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54276 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54277 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54278 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54279 RESCOMP!$RESCOMP$ac_delim
54280 RESFLAGS!$RESFLAGS$ac_delim
54281 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54282 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54283 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54284 LIBWXMACRES!$LIBWXMACRES$ac_delim
54285 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54286 MACSETFILE!$MACSETFILE$ac_delim
54288 DLLTOOL!$DLLTOOL$ac_delim
54289 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54290 LIBOBJS!$LIBOBJS$ac_delim
54291 LTLIBOBJS!$LTLIBOBJS$ac_delim
54294 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
54296 elif $ac_last_try; then
54297 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54298 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54299 { (exit 1); exit 1; }; }
54301 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54305 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54306 if test -n "$ac_eof"; then
54307 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54308 ac_eof
=`expr $ac_eof + 1`
54311 cat >>$CONFIG_STATUS <<_ACEOF
54312 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54313 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54316 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54317 s/^/s,@/; s/!/@,|#_!!_#|/
54320 s/'"$ac_delim"'$/,g/; t
54322 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54323 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54324 rm -f conf$
$subs.
sed
54325 cat >>$CONFIG_STATUS <<_ACEOF
54332 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54333 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54334 # trailing colons and then remove the whole line if VPATH becomes empty
54335 # (actually we leave an empty line to preserve line numbers).
54336 if test "x$srcdir" = x.
; then
54337 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
54338 s/:*\$(srcdir):*/:/
54339 s/:*\${srcdir}:*/:/
54341 s/^\([^=]*=[ ]*\):*/\1/
54347 cat >>$CONFIG_STATUS <<\_ACEOF
54348 fi # test -n "$CONFIG_FILES"
54351 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
54354 :[FHLC
]) ac_mode
=$ac_tag; continue;;
54356 case $ac_mode$ac_tag in
54358 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54359 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54360 { (exit 1); exit 1; }; };;
54361 :[FH
]-) ac_tag
=-:-;;
54362 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
54379 -) ac_f
="$tmp/stdin";;
54380 *) # Look for the file first in the build tree, then in the source tree
54381 # (if the path is not absolute). The absolute path cannot be DOS-style,
54382 # because $ac_f cannot contain `:'.
54386 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
54388 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54389 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54390 { (exit 1); exit 1; }; };;
54392 ac_file_inputs
="$ac_file_inputs $ac_f"
54395 # Let's still pretend it is `configure' which instantiates (i.e., don't
54396 # use $as_me), people would be surprised to read:
54397 # /* config.h. Generated by config.status. */
54398 configure_input
="Generated from "`IFS=:
54399 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54400 if test x
"$ac_file" != x
-; then
54401 configure_input
="$ac_file. $configure_input"
54402 { echo "$as_me:$LINENO: creating $ac_file" >&5
54403 echo "$as_me: creating $ac_file" >&6;}
54407 *:-:* | *:-) cat >"$tmp/stdin";;
54412 ac_dir
=`$as_dirname -- "$ac_file" ||
54413 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54414 X"$ac_file" : 'X\(//\)[^/]' \| \
54415 X"$ac_file" : 'X\(//\)$' \| \
54416 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54418 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54422 /^X\(\/\/\)[^/].*/{
54437 -*) as_dir
=.
/$as_dir;;
54439 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54443 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54444 *) as_qdir
=$as_dir;;
54446 as_dirs
="'$as_qdir' $as_dirs"
54447 as_dir
=`$as_dirname -- "$as_dir" ||
54448 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54449 X"$as_dir" : 'X\(//\)[^/]' \| \
54450 X"$as_dir" : 'X\(//\)$' \| \
54451 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54453 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54457 /^X\(\/\/\)[^/].*/{
54470 test -d "$as_dir" && break
54472 test -z "$as_dirs" || eval "mkdir $as_dirs"
54473 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54474 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54475 { (exit 1); exit 1; }; }; }
54479 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54481 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54482 # A ".." for each directory in $ac_dir_suffix.
54483 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54484 case $ac_top_builddir_sub in
54485 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54486 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54489 ac_abs_top_builddir
=$ac_pwd
54490 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54491 # for backward compatibility:
54492 ac_top_builddir
=$ac_top_build_prefix
54495 .
) # We are building in place.
54497 ac_top_srcdir
=$ac_top_builddir_sub
54498 ac_abs_top_srcdir
=$ac_pwd ;;
54499 [\\/]* | ?
:[\\/]* ) # Absolute name.
54500 ac_srcdir
=$srcdir$ac_dir_suffix;
54501 ac_top_srcdir
=$srcdir
54502 ac_abs_top_srcdir
=$srcdir ;;
54503 *) # Relative name.
54504 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54505 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54506 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54508 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54518 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
54519 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
54523 cat >>$CONFIG_STATUS <<\_ACEOF
54524 # If the template does not know about datarootdir, expand it.
54525 # FIXME: This hack should be removed a few years after 2.60.
54526 ac_datarootdir_hack
=; ac_datarootdir_seen
=
54528 case `sed -n '/datarootdir/ {
54537 ' $ac_file_inputs` in
54538 *datarootdir
*) ac_datarootdir_seen
=yes;;
54539 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
54540 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54541 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54543 cat >>$CONFIG_STATUS <<_ACEOF
54544 ac_datarootdir_hack='
54545 s&@datadir@&$datadir&g
54546 s&@docdir@&$docdir&g
54547 s&@infodir@&$infodir&g
54548 s&@localedir@&$localedir&g
54549 s&@mandir@&$mandir&g
54550 s&\\\${datarootdir}&$datarootdir&g' ;;
54554 # Neutralize VPATH when `$srcdir' = `.'.
54555 # Shell code in configure.ac might set extrasub.
54556 # FIXME: do we really want to maintain this feature?
54557 cat >>$CONFIG_STATUS <<_ACEOF
54561 cat >>$CONFIG_STATUS <<\_ACEOF
54563 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
54564 s
&@configure_input@
&$configure_input&;t t
54565 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
54566 s
&@srcdir@
&$ac_srcdir&;t t
54567 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
54568 s
&@top_srcdir@
&$ac_top_srcdir&;t t
54569 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
54570 s
&@builddir@
&$ac_builddir&;t t
54571 s
&@abs_builddir@
&$ac_abs_builddir&;t t
54572 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
54573 s
&@INSTALL@
&$ac_INSTALL&;t t
54574 $ac_datarootdir_hack
54575 " $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
54577 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54578 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
54579 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
54580 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
54581 which seems to be undefined. Please make sure it is defined." >&5
54582 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
54583 which seems to be undefined. Please make sure it is defined." >&2;}
54587 -) cat "$tmp/out"; rm -f "$tmp/out";;
54588 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54597 # Transform confdefs.h into a sed script `conftest.defines', that
54598 # substitutes the proper values into config.h.in to produce config.h.
54599 rm -f conftest.defines conftest.
tail
54600 # First, append a space to every undef/define line, to ease matching.
54601 echo 's/$/ /' >conftest.defines
54602 # Then, protect against being on the right side of a sed subst, or in
54603 # an unquoted here document, in config.status. If some macros were
54604 # called several times there might be several #defines for the same
54605 # symbol, which is useless. But do not sort them, since the last
54606 # AC_DEFINE must be honored.
54607 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
54608 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54609 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54610 # PARAMS is the parameter list in the macro definition--in most cases, it's
54611 # just an empty string.
54612 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54613 ac_dB
='\\)[ (].*,\\1define\\2'
54621 s/^[ ]*#[ ]*define[ ][ ]*//
54626 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54627 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54628 ' >>conftest.defines
54630 # Remove the space that was appended to ease matching.
54631 # Then replace #undef with comments. This is necessary, for
54632 # example, in the case of _POSIX_SOURCE, which is predefined and required
54633 # on some systems where configure will not decide to define it.
54634 # (The regexp can be short, since the line contains either #define or #undef.)
54636 s,^[ #]*u.*,/* & */,' >>conftest.defines
54638 # Break up conftest.defines:
54639 ac_max_sed_lines
=50
54641 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54642 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54643 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54645 ac_in
='$ac_file_inputs'
54646 ac_out
='"$tmp/out1"'
54647 ac_nxt
='"$tmp/out2"'
54651 # Write a here document:
54652 cat >>$CONFIG_STATUS <<_ACEOF
54653 # First, check the format of the line:
54654 cat >"\$tmp/defines.sed" <<\\CEOF
54655 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54656 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54660 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
54662 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54663 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
54664 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
54665 grep . conftest.
tail >/dev
/null
|| break
54666 rm -f conftest.defines
54667 mv conftest.
tail conftest.defines
54669 rm -f conftest.defines conftest.
tail
54671 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54672 cat >>$CONFIG_STATUS <<\_ACEOF
54673 if test x
"$ac_file" != x
-; then
54674 echo "/* $configure_input */" >"$tmp/config.h"
54675 cat "$ac_result" >>"$tmp/config.h"
54676 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
54677 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54678 echo "$as_me: $ac_file is unchanged" >&6;}
54681 mv "$tmp/config.h" $ac_file
54684 echo "/* $configure_input */"
54690 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54691 echo "$as_me: executing $ac_file commands" >&6;}
54696 case $ac_file$ac_mode in
54698 mkdir -p $outdir &&
54699 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54701 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
54702 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
54703 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
54704 "wx-config":C
) rm -f wx
-config
54705 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
54712 { (exit 0); exit 0; }
54714 chmod +x
$CONFIG_STATUS
54715 ac_clean_files
=$ac_clean_files_save
54718 # configure is writing to config.log, and then calls config.status.
54719 # config.status does its own redirection, appending to config.log.
54720 # Unfortunately, on DOS this fails, as config.log is still kept open
54721 # by configure, so config.status won't be able to write to it; its
54722 # output is simply discarded. So we exec the FD to /dev/null,
54723 # effectively closing config.log, so it can be properly (re)opened and
54724 # appended to by config.status. When coming back to configure, we
54725 # need to make the FD available again.
54726 if test "$no_create" != yes; then
54728 ac_config_status_args
=
54729 test "$silent" = yes &&
54730 ac_config_status_args
="$ac_config_status_args --quiet"
54732 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
54734 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54735 # would make configure fail if this is the last instruction.
54736 $ac_cs_success || { (exit 1); exit 1; }
54740 # CONFIG_SUBDIRS section.
54742 if test "$no_recursion" != yes; then
54744 # Remove --cache-file and --srcdir arguments so they do not pile up.
54745 ac_sub_configure_args
=
54747 eval "set x $ac_configure_args"
54751 if test -n "$ac_prev"; then
54756 -cache-file | --cache-file | --cache-fil | --cache-fi \
54757 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54758 ac_prev
=cache_file
;;
54759 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54760 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54763 --config-cache | -C)
54765 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54767 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54769 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54771 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54775 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54777 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
54781 # Always prepend --prefix to ensure using the same prefix
54782 # in subdir configurations.
54783 ac_arg
="--prefix=$prefix"
54785 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54787 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
54790 if test "$silent" = yes; then
54791 ac_sub_configure_args
="--silent $ac_sub_configure_args"
54795 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
54797 # Do not complain, so a configure script can configure whichever
54798 # parts of a large source tree are present.
54799 test -d "$srcdir/$ac_dir" || continue
54801 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54802 echo "$as_me:$LINENO: $ac_msg" >&5
54806 -*) as_dir
=.
/$as_dir;;
54808 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54812 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54813 *) as_qdir
=$as_dir;;
54815 as_dirs
="'$as_qdir' $as_dirs"
54816 as_dir
=`$as_dirname -- "$as_dir" ||
54817 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54818 X"$as_dir" : 'X\(//\)[^/]' \| \
54819 X"$as_dir" : 'X\(//\)$' \| \
54820 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54822 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54826 /^X\(\/\/\)[^/].*/{
54839 test -d "$as_dir" && break
54841 test -z "$as_dirs" || eval "mkdir $as_dirs"
54842 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54843 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54844 { (exit 1); exit 1; }; }; }
54848 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54850 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54851 # A ".." for each directory in $ac_dir_suffix.
54852 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54853 case $ac_top_builddir_sub in
54854 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54855 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54858 ac_abs_top_builddir
=$ac_pwd
54859 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54860 # for backward compatibility:
54861 ac_top_builddir
=$ac_top_build_prefix
54864 .
) # We are building in place.
54866 ac_top_srcdir
=$ac_top_builddir_sub
54867 ac_abs_top_srcdir
=$ac_pwd ;;
54868 [\\/]* | ?
:[\\/]* ) # Absolute name.
54869 ac_srcdir
=$srcdir$ac_dir_suffix;
54870 ac_top_srcdir
=$srcdir
54871 ac_abs_top_srcdir
=$srcdir ;;
54872 *) # Relative name.
54873 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54874 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54875 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54877 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
54882 # Check for guested configure; otherwise get Cygnus style configure.
54883 if test -f "$ac_srcdir/configure.gnu"; then
54884 ac_sub_configure
=$ac_srcdir/configure.gnu
54885 elif test -f "$ac_srcdir/configure"; then
54886 ac_sub_configure
=$ac_srcdir/configure
54887 elif test -f "$ac_srcdir/configure.in"; then
54888 # This should be Cygnus configure.
54889 ac_sub_configure
=$ac_aux_dir/configure
54891 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54892 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54896 # The recursion is here.
54897 if test -n "$ac_sub_configure"; then
54898 # Make the cache file name correct relative to the subdirectory.
54899 case $cache_file in
54900 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
54901 *) # Relative name.
54902 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
54905 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54906 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54907 # The eval makes quoting arguments work.
54908 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54909 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54910 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54911 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54912 { (exit 1); exit 1; }; }
54921 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54923 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54924 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54925 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54926 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54927 if test "$wxUSE_UNICODE" = "yes"; then
54928 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54929 echo " (using UTF-8)"
54931 echo " (using wchar_t)"
54937 echo " What level of wxWidgets compatibility should be enabled?"
54938 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54939 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54941 echo " Which libraries should wxWidgets use?"
54942 echo " STL ${wxUSE_STL}"
54943 echo " jpeg ${wxUSE_LIBJPEG-none}"
54944 echo " png ${wxUSE_LIBPNG-none}"
54945 echo " regex ${wxUSE_REGEX}"
54946 echo " tiff ${wxUSE_LIBTIFF-none}"
54947 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54948 echo " xpm ${wxUSE_LIBXPM-none}"
54950 echo " zlib ${wxUSE_ZLIB}"
54951 echo " expat ${wxUSE_EXPAT}"
54952 echo " libmspack ${wxUSE_LIBMSPACK}"
54953 echo " sdl ${wxUSE_LIBSDL}"