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_GUI_1_USE_WEBVIEW_1
853 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
854 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
855 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
856 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
857 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
858 COND_MONOLITHIC_0_SHARED_1
859 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
862 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
863 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
864 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
865 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
866 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
867 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
868 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
869 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
870 COND_MONOLITHIC_0_USE_AUI_1
871 COND_MONOLITHIC_0_USE_GUI_1
872 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
873 COND_MONOLITHIC_0_USE_HTML_1
874 COND_MONOLITHIC_0_USE_MEDIA_1
875 COND_MONOLITHIC_0_USE_PROPGRID_1
876 COND_MONOLITHIC_0_USE_QA_1
877 COND_MONOLITHIC_0_USE_RIBBON_1
878 COND_MONOLITHIC_0_USE_RICHTEXT_1
879 COND_MONOLITHIC_0_USE_STC_1
880 COND_MONOLITHIC_0_USE_WEBVIEW_1
881 COND_MONOLITHIC_0_USE_XRC_1
883 COND_MONOLITHIC_1_SHARED_0
884 COND_MONOLITHIC_1_SHARED_1
885 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
886 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
887 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
888 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
889 COND_PLATFORM_MACOSX_1
890 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
891 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
892 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
893 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
894 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
895 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
896 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
897 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
898 COND_PLATFORM_MACOSX_1_USE_GUI_1
899 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
900 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
901 COND_PLATFORM_MACOS_1
904 COND_PLATFORM_MSDOS_0
905 COND_PLATFORM_MSDOS_1
909 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
910 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
911 COND_PLATFORM_UNIX_1_USE_GUI_1
912 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
913 COND_PLATFORM_WIN32_0
914 COND_PLATFORM_WIN32_1
915 COND_PLATFORM_WIN32_1_SHARED_0
917 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
918 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
919 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
920 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
921 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
922 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
923 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
924 COND_SHARED_0_USE_STC_1
925 COND_SHARED_0_wxUSE_EXPAT_builtin
926 COND_SHARED_0_wxUSE_REGEX_builtin
927 COND_SHARED_0_wxUSE_ZLIB_builtin
929 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
932 COND_TOOLKIT_COCOA_USE_GUI_1
933 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
935 COND_TOOLKIT_DFB_USE_GUI_1
937 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
938 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
939 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
940 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
941 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
942 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
943 COND_TOOLKIT_GTK_USE_GUI_1
946 COND_TOOLKIT_MGL_USE_GUI_1
948 COND_TOOLKIT_MOTIF_USE_GUI_1
949 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
951 COND_TOOLKIT_MSW_USE_GUI_1
952 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
953 COND_TOOLKIT_MSW_WXUNIV_0
954 COND_TOOLKIT_OSX_CARBON
955 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
956 COND_TOOLKIT_OSX_COCOA
957 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
958 COND_TOOLKIT_OSX_IPHONE
959 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
960 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
962 COND_TOOLKIT_PM_USE_GUI_1
963 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
965 COND_TOOLKIT_WINCE_USE_GUI_1
966 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
967 COND_TOOLKIT_WINCE_WXUNIV_0
969 COND_TOOLKIT_X11_USE_GUI_1
972 COND_USE_EXCEPTIONS_0
973 COND_USE_EXCEPTIONS_1
976 COND_USE_GUI_1_USE_OPENGL_1
977 COND_USE_GUI_1_WXUNIV_0
978 COND_USE_GUI_1_WXUNIV_1
979 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
980 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
981 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
982 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
983 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
984 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
990 COND_USE_SOTWOSYMLINKS_1
991 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
992 COND_USE_SOVERLINUX_1
994 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
995 COND_USE_SOVERSOLARIS_1
1000 COND_WINDOWS_IMPLIB_1
1001 COND_WITH_PLUGIN_SDL_1
1004 COND_WXUSE_EXPAT_BUILTIN
1005 COND_WXUSE_LIBJPEG_BUILTIN
1006 COND_WXUSE_LIBPNG_BUILTIN
1007 COND_WXUSE_LIBTIFF_BUILTIN
1008 COND_WXUSE_REGEX_BUILTIN
1009 COND_WXUSE_ZLIB_BUILTIN
1010 COND_wxUSE_EXPAT_builtin
1011 COND_wxUSE_LIBJPEG_builtin
1012 COND_wxUSE_LIBPNG_builtin
1013 COND_wxUSE_LIBTIFF_builtin
1014 COND_wxUSE_REGEX_builtin
1015 COND_wxUSE_ZLIB_builtin
1018 WX_LIBRARY_BASENAME_NOGUI
1019 WX_LIBRARY_BASENAME_GUI
1039 WXCONFIG_LDFLAGS_GUI
1051 WX_RESOURCES_MACOSX_ASCII
1052 WX_RESOURCES_MACOSX_DATA
1062 ac_precious_vars
='build_alias
1087 LIBGNOMEPRINTUI_CFLAGS
1088 LIBGNOMEPRINTUI_LIBS
1099 ac_subdirs_all
='src/tiff
1102 # Initialize some variables set by options.
1104 ac_init_version
=false
1105 # The variables have the same names as the options, with
1106 # dashes changed to underlines.
1107 cache_file
=/dev
/null
1114 program_transform_name
=s
,x
,x
,
1122 # Installation directory options.
1123 # These are left unexpanded so users can "make install exec_prefix=/foo"
1124 # and all the variables that are supposed to be based on exec_prefix
1125 # by default will actually change.
1126 # Use braces instead of parens because sh, perl, etc. also accept them.
1127 # (The list follows the same order as the GNU Coding Standards.)
1128 bindir
='${exec_prefix}/bin'
1129 sbindir
='${exec_prefix}/sbin'
1130 libexecdir
='${exec_prefix}/libexec'
1131 datarootdir
='${prefix}/share'
1132 datadir
='${datarootdir}'
1133 sysconfdir
='${prefix}/etc'
1134 sharedstatedir
='${prefix}/com'
1135 localstatedir
='${prefix}/var'
1136 includedir
='${prefix}/include'
1137 oldincludedir
='/usr/include'
1138 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1139 infodir
='${datarootdir}/info'
1144 libdir
='${exec_prefix}/lib'
1145 localedir
='${datarootdir}/locale'
1146 mandir
='${datarootdir}/man'
1152 # If the previous option needs an argument, assign it.
1153 if test -n "$ac_prev"; then
1154 eval $ac_prev=\
$ac_option
1160 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1164 # Accept the important Cygnus configure options, so we can diagnose typos.
1166 case $ac_dashdash$ac_option in
1170 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1172 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1173 bindir
=$ac_optarg ;;
1175 -build | --build | --buil | --bui | --bu)
1176 ac_prev
=build_alias
;;
1177 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1178 build_alias
=$ac_optarg ;;
1180 -cache-file | --cache-file | --cache-fil | --cache-fi \
1181 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1182 ac_prev
=cache_file
;;
1183 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1184 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1185 cache_file
=$ac_optarg ;;
1187 --config-cache | -C)
1188 cache_file
=config.cache
;;
1190 -datadir | --datadir | --datadi | --datad)
1192 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1193 datadir
=$ac_optarg ;;
1195 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1196 | --dataroo | --dataro | --datar)
1197 ac_prev
=datarootdir
;;
1198 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1199 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1200 datarootdir
=$ac_optarg ;;
1202 -disable-* | --disable-*)
1203 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1204 # Reject names that are not valid shell variable names.
1205 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1206 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1207 { (exit 1); exit 1; }; }
1208 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1209 eval enable_
$ac_feature=no
;;
1211 -docdir | --docdir | --docdi | --doc | --do)
1213 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1214 docdir
=$ac_optarg ;;
1216 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1218 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1219 dvidir
=$ac_optarg ;;
1221 -enable-* | --enable-*)
1222 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1223 # Reject names that are not valid shell variable names.
1224 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1225 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1226 { (exit 1); exit 1; }; }
1227 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1228 eval enable_
$ac_feature=\
$ac_optarg ;;
1230 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1231 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1232 | --exec | --exe | --ex)
1233 ac_prev
=exec_prefix
;;
1234 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1235 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1236 | --exec=* | --exe=* | --ex=*)
1237 exec_prefix
=$ac_optarg ;;
1239 -gas | --gas | --ga | --g)
1240 # Obsolete; use --with-gas.
1243 -help | --help | --hel | --he | -h)
1244 ac_init_help
=long
;;
1245 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1246 ac_init_help
=recursive
;;
1247 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1248 ac_init_help
=short
;;
1250 -host | --host | --hos | --ho)
1251 ac_prev
=host_alias
;;
1252 -host=* | --host=* | --hos=* | --ho=*)
1253 host_alias
=$ac_optarg ;;
1255 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1257 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1259 htmldir
=$ac_optarg ;;
1261 -includedir | --includedir | --includedi | --included | --include \
1262 | --includ | --inclu | --incl | --inc)
1263 ac_prev
=includedir
;;
1264 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1265 | --includ=* | --inclu=* | --incl=* | --inc=*)
1266 includedir
=$ac_optarg ;;
1268 -infodir | --infodir | --infodi | --infod | --info | --inf)
1270 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1271 infodir
=$ac_optarg ;;
1273 -libdir | --libdir | --libdi | --libd)
1275 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1276 libdir
=$ac_optarg ;;
1278 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1279 | --libexe | --libex | --libe)
1280 ac_prev
=libexecdir
;;
1281 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1282 | --libexe=* | --libex=* | --libe=*)
1283 libexecdir
=$ac_optarg ;;
1285 -localedir | --localedir | --localedi | --localed | --locale)
1286 ac_prev
=localedir
;;
1287 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1288 localedir
=$ac_optarg ;;
1290 -localstatedir | --localstatedir | --localstatedi | --localstated \
1291 | --localstate | --localstat | --localsta | --localst | --locals)
1292 ac_prev
=localstatedir
;;
1293 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1294 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1295 localstatedir
=$ac_optarg ;;
1297 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1299 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1300 mandir
=$ac_optarg ;;
1302 -nfp | --nfp | --nf)
1303 # Obsolete; use --without-fp.
1306 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1307 | --no-cr | --no-c | -n)
1310 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1311 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1314 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1315 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1316 | --oldin | --oldi | --old | --ol | --o)
1317 ac_prev
=oldincludedir
;;
1318 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1319 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1320 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1321 oldincludedir
=$ac_optarg ;;
1323 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1325 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1326 prefix
=$ac_optarg ;;
1328 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1329 | --program-pre | --program-pr | --program-p)
1330 ac_prev
=program_prefix
;;
1331 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1332 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1333 program_prefix
=$ac_optarg ;;
1335 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1336 | --program-suf | --program-su | --program-s)
1337 ac_prev
=program_suffix
;;
1338 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1339 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1340 program_suffix
=$ac_optarg ;;
1342 -program-transform-name | --program-transform-name \
1343 | --program-transform-nam | --program-transform-na \
1344 | --program-transform-n | --program-transform- \
1345 | --program-transform | --program-transfor \
1346 | --program-transfo | --program-transf \
1347 | --program-trans | --program-tran \
1348 | --progr-tra | --program-tr | --program-t)
1349 ac_prev
=program_transform_name
;;
1350 -program-transform-name=* | --program-transform-name=* \
1351 | --program-transform-nam=* | --program-transform-na=* \
1352 | --program-transform-n=* | --program-transform-=* \
1353 | --program-transform=* | --program-transfor=* \
1354 | --program-transfo=* | --program-transf=* \
1355 | --program-trans=* | --program-tran=* \
1356 | --progr-tra=* | --program-tr=* | --program-t=*)
1357 program_transform_name
=$ac_optarg ;;
1359 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1361 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1362 pdfdir
=$ac_optarg ;;
1364 -psdir | --psdir | --psdi | --psd | --ps)
1366 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1369 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1370 | -silent | --silent | --silen | --sile | --sil)
1373 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1375 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1377 sbindir
=$ac_optarg ;;
1379 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1380 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1381 | --sharedst | --shareds | --shared | --share | --shar \
1383 ac_prev
=sharedstatedir
;;
1384 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1385 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1386 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1388 sharedstatedir
=$ac_optarg ;;
1390 -site | --site | --sit)
1392 -site=* | --site=* | --sit=*)
1395 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1397 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1398 srcdir
=$ac_optarg ;;
1400 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1401 | --syscon | --sysco | --sysc | --sys | --sy)
1402 ac_prev
=sysconfdir
;;
1403 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1404 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1405 sysconfdir
=$ac_optarg ;;
1407 -target | --target | --targe | --targ | --tar | --ta | --t)
1408 ac_prev
=target_alias
;;
1409 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1410 target_alias
=$ac_optarg ;;
1412 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1415 -version | --version | --versio | --versi | --vers | -V)
1416 ac_init_version
=: ;;
1419 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1420 # Reject names that are not valid shell variable names.
1421 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1422 { echo "$as_me: error: invalid package name: $ac_package" >&2
1423 { (exit 1); exit 1; }; }
1424 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1425 eval with_
$ac_package=\
$ac_optarg ;;
1427 -without-* | --without-*)
1428 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1429 # Reject names that are not valid shell variable names.
1430 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1431 { echo "$as_me: error: invalid package name: $ac_package" >&2
1432 { (exit 1); exit 1; }; }
1433 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1434 eval with_
$ac_package=no
;;
1437 # Obsolete; use --with-x.
1440 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1441 | --x-incl | --x-inc | --x-in | --x-i)
1442 ac_prev
=x_includes
;;
1443 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1444 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1445 x_includes
=$ac_optarg ;;
1447 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1448 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1449 ac_prev
=x_libraries
;;
1450 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1451 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1452 x_libraries
=$ac_optarg ;;
1454 -*) { echo "$as_me: error: unrecognized option: $ac_option
1455 Try \`$0 --help' for more information." >&2
1456 { (exit 1); exit 1; }; }
1460 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1461 # Reject names that are not valid shell variable names.
1462 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1463 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1464 { (exit 1); exit 1; }; }
1465 eval $ac_envvar=\
$ac_optarg
1466 export $ac_envvar ;;
1469 # FIXME: should be removed in autoconf 3.0.
1470 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1471 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1472 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1473 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1479 if test -n "$ac_prev"; then
1480 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1481 { echo "$as_me: error: missing argument to $ac_option" >&2
1482 { (exit 1); exit 1; }; }
1485 # Be sure to have absolute directory names.
1486 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1487 datadir sysconfdir sharedstatedir localstatedir includedir \
1488 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1489 libdir localedir mandir
1491 eval ac_val
=\$
$ac_var
1493 [\\/$
]* | ?
:[\\/]* ) continue;;
1494 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1496 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1497 { (exit 1); exit 1; }; }
1500 # There might be people who depend on the old broken behavior: `$host'
1501 # used to hold the argument of --host etc.
1502 # FIXME: To remove some day.
1505 target
=$target_alias
1507 # FIXME: To remove some day.
1508 if test "x$host_alias" != x
; then
1509 if test "x$build_alias" = x
; then
1510 cross_compiling
=maybe
1511 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1512 If a cross compiler is detected then cross compile mode will be used." >&2
1513 elif test "x$build_alias" != "x$host_alias"; then
1519 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1521 test "$silent" = yes && exec 6>/dev
/null
1524 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1525 ac_ls_di
=`ls -di .` &&
1526 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1527 { echo "$as_me: error: Working directory cannot be determined" >&2
1528 { (exit 1); exit 1; }; }
1529 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1530 { echo "$as_me: error: pwd does not report name of working directory" >&2
1531 { (exit 1); exit 1; }; }
1534 # Find the source files, if location was not specified.
1535 if test -z "$srcdir"; then
1536 ac_srcdir_defaulted
=yes
1537 # Try the directory containing this script, then the parent directory.
1538 ac_confdir
=`$as_dirname -- "$0" ||
1539 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1540 X"$0" : 'X\(//\)[^/]' \| \
1541 X"$0" : 'X\(//\)$' \| \
1542 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1544 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1562 if test ! -r "$srcdir/$ac_unique_file"; then
1566 ac_srcdir_defaulted
=no
1568 if test ! -r "$srcdir/$ac_unique_file"; then
1569 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1570 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1571 { (exit 1); exit 1; }; }
1573 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1575 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1576 { (exit 1); exit 1; }; }
1578 # When building in place, set srcdir=.
1579 if test "$ac_abs_confdir" = "$ac_pwd"; then
1582 # Remove unnecessary trailing slashes from srcdir.
1583 # Double slashes in file names in object file debugging info
1584 # mess up M-x gdb in Emacs.
1586 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1588 for ac_var
in $ac_precious_vars; do
1589 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1590 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1591 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1592 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1596 # Report the --help message.
1598 if test "$ac_init_help" = "long"; then
1599 # Omit some internal or obsolete options to make the list less imposing.
1600 # This message is too long to be a string in the A/UX 3.1 sh.
1602 \`configure' configures wxWidgets 2.9.3 to adapt to many kinds of systems.
1604 Usage: $0 [OPTION]... [VAR=VALUE]...
1606 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1607 VAR=VALUE. See below for descriptions of some of the useful variables.
1609 Defaults for the options are specified in brackets.
1612 -h, --help display this help and exit
1613 --help=short display options specific to this package
1614 --help=recursive display the short help of all the included packages
1615 -V, --version display version information and exit
1616 -q, --quiet, --silent do not print \`checking...' messages
1617 --cache-file=FILE cache test results in FILE [disabled]
1618 -C, --config-cache alias for \`--cache-file=config.cache'
1619 -n, --no-create do not create output files
1620 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1622 Installation directories:
1623 --prefix=PREFIX install architecture-independent files in PREFIX
1624 [$ac_default_prefix]
1625 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1628 By default, \`make install' will install all the files in
1629 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1630 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1631 for instance \`--prefix=\$HOME'.
1633 For better control, use the options below.
1635 Fine tuning of the installation directories:
1636 --bindir=DIR user executables [EPREFIX/bin]
1637 --sbindir=DIR system admin executables [EPREFIX/sbin]
1638 --libexecdir=DIR program executables [EPREFIX/libexec]
1639 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1640 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1641 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1642 --libdir=DIR object code libraries [EPREFIX/lib]
1643 --includedir=DIR C header files [PREFIX/include]
1644 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1645 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1646 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1647 --infodir=DIR info documentation [DATAROOTDIR/info]
1648 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1649 --mandir=DIR man documentation [DATAROOTDIR/man]
1650 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1651 --htmldir=DIR html documentation [DOCDIR]
1652 --dvidir=DIR dvi documentation [DOCDIR]
1653 --pdfdir=DIR pdf documentation [DOCDIR]
1654 --psdir=DIR ps documentation [DOCDIR]
1660 --x-includes=DIR X include files are
in DIR
1661 --x-libraries=DIR X library files are
in DIR
1664 --build=BUILD configure
for building on BUILD
[guessed
]
1665 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1669 if test -n "$ac_init_help"; then
1670 case $ac_init_help in
1671 short
| recursive
) echo "Configuration of wxWidgets 2.9.3:";;
1676 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1677 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1678 --disable-gui don
't build GUI parts of the library
1679 --enable-monolithic build wxWidgets as single library
1680 --enable-plugins build parts of wxWidgets as loadable components
1681 --enable-official_build official build of wxWidgets (win32 DLL only)
1682 --enable-vendor=VENDOR vendor name (win32 DLL only)
1683 --disable-all-features disable all optional features to build minimal library
1684 --enable-universal use wxWidgets GUI controls instead of native ones
1685 --enable-nanox use NanoX
1686 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1687 --enable-gpe use GNOME PDA Environment features if possible
1688 --enable-debug build library for debugging
1689 --disable-debug_flag disable all debugging support
1690 --enable-debug_info generate debug information
1691 --enable-debug_gdb create code with extra GDB debugging information
1692 --enable-debug_cntxt obsolete, don't use
: use wxDebugContext
1693 --enable-mem_tracing obsolete
, don
't use: create code with memory tracing
1694 --disable-shared create static library instead of shared
1695 --enable-stl use standard C++ classes for everything
1696 --enable-std_containers use standard C++ container classes
1697 --enable-std_iostreams use standard C++ stream classes
1698 --enable-std_string use standard C++ string classes
1699 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
1700 --disable-unicode compile without Unicode support
1701 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1702 --enable-utf8 use UTF-8 representation for strings (Unix only)
1703 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1704 --enable-extended_rtti use extended RTTI (XTI)
1705 --enable-omf use OMF object format
1706 --disable-optimise compile without optimisations
1707 --enable-profile create code with profiling information
1708 --enable-no_rtti create code without RTTI information
1709 --enable-no_exceptions create code without C++ exceptions handling
1710 --enable-permissive compile code disregarding strict ANSI
1711 --enable-no_deps create code without dependency information
1712 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1713 --enable-universal_binary create universal binary with Mac PPC and i386
(and x86_64
if using Cocoa
) architectures
1714 --enable-macosx_arch=ARCH build
for just the specified architecture
1715 --enable-compat26 enable wxWidgets
2.6 compatibility
1716 --disable-compat28 disable wxWidgets
2.8 compatibility
1717 --disable-rpath disable use of rpath
for uninstalled builds
1718 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1719 --disable-visibility disable use of ELF symbols visibility even
if supported
1720 --disable-tls disable use of compiler TLS support
1721 --enable-intl use internationalization system
1722 --enable-xlocale use x
-locale support
(requires wxLocale
)
1723 --enable-config use wxConfig
(and derived
) classes
1724 --enable-protocols use wxProtocol and derived classes
1725 --enable-ftp use wxFTP
(requires wxProtocol
1726 --enable-http use wxHTTP
(requires wxProtocol
1727 --enable-fileproto use wxFileProto class
(requires wxProtocol
1728 --enable-sockets use socket
/network classes
1729 --enable-ipv6 enable IPv6 support
in wxSocket
1730 --enable-ole use OLE classes
(Win32 only
)
1731 --enable-dataobj use data object classes
1732 --enable-ipc use interprocess communication
(wxSocket etc.
)
1733 --enable-baseevtloop use event loop
in console programs too
1734 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1735 --enable-selectloop use wxSelectDispatcher class
1736 --enable-any use wxAny class
1737 --enable-apple_ieee use the Apple IEEE codec
1738 --enable-arcstream use wxArchive streams
1739 --enable-base64 use base64 encoding
/decoding functions
1740 --enable-backtrace use wxStackWalker class
for getting backtraces
1741 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1742 --enable-cmdline use wxCmdLineParser class
1743 --enable-datetime use wxDateTime class
1744 --enable-debugreport use wxDebugReport class
1745 --enable-dialupman use dialup network classes
1746 --enable-dynlib use wxLibrary class
for DLL loading
1747 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1748 --enable-exceptions build exception
-safe library
1749 --enable-ffile use wxFFile class
1750 --enable-file use wxFile class
1751 --enable-filehistory use wxFileHistory class
1752 --enable-filesystem use virtual
file systems classes
1753 --enable-fontenum use wxFontEnumerator class
1754 --enable-fontmap use font encodings conversion classes
1755 --enable-fs_archive use virtual archive filesystems
1756 --enable-fs_inet use virtual HTTP
/FTP filesystems
1757 --enable-fs_zip now replaced by fs_archive
1758 --enable-fswatcher use wxFileSystemWatcher class
1759 --enable-geometry use geometry class
1760 --enable-log use logging system
1761 --enable-longlong use wxLongLong class
1762 --enable-mimetype use wxMimeTypesManager
1763 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1764 --enable-snglinst use wxSingleInstanceChecker class
1765 --enable-sound use wxSound class
1766 --enable-stdpaths use wxStandardPaths class
1767 --enable-stopwatch use wxStopWatch class
1768 --enable-streams use wxStream etc classes
1769 --enable-sysoptions use wxSystemOptions
1770 --enable-tarstream use wxTar streams
1771 --enable-textbuf use wxTextBuffer class
1772 --enable-textfile use wxTextFile class
1773 --enable-timer use wxTimer class
1774 --enable-variant use wxVariant class
1775 --enable-zipstream use wxZip streams
1776 --enable-url use wxURL class
1777 --enable-protocol use wxProtocol class
1778 --enable-protocol-http HTTP support
in wxProtocol
1779 --enable-protocol-ftp FTP support
in wxProtocol
1780 --enable-protocol-file FILE support
in wxProtocol
1781 --enable-threads use threads
1782 --enable-iniconf use wxIniConfig
(Win32 only
)
1783 --enable-regkey use wxRegKey class
(Win32 only
)
1784 --enable-docview use document view architecture
1785 --enable-help use
help subsystem
1786 --enable-mshtmlhelp use MS HTML Help
(win32
)
1787 --enable-html use wxHTML sub
-library
1788 --enable-htmlhelp use wxHTML
-based help
1789 --enable-xrc use XRC resources sub
-library
1790 --enable-aui use AUI docking library
1791 --enable-propgrid use wxPropertyGrid library
1792 --enable-ribbon use wxRibbon library
1793 --enable-stc use wxStyledTextCtrl library
1794 --enable-constraints use layout
-constraints system
1795 --enable-loggui use standard GUI logger
1796 --enable-logwin use wxLogWindow
1797 --enable-logdialog use wxLogDialog
1798 --enable-mdi use multiple document interface architecture
1799 --enable-mdidoc use docview architecture with MDI
1800 --enable-mediactrl use wxMediaCtrl class
1801 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1802 --enable-richtext use wxRichTextCtrl
1803 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1804 --enable-printarch use printing architecture
1805 --enable-svg use wxSVGFileDC device context
1806 --enable-webkit use wxWebKitCtrl
(Mac
-only, use wxWebView instead
)
1807 --enable-webview use wxWebView library
1808 --enable-graphics_ctx use graphics context
2D drawing API
1809 --enable-clipboard use wxClipboard class
1810 --enable-dnd use Drag
'n'Drop classes
1811 --disable-controls disable compilation of all standard controls
1812 --enable-markup support wxControl
::SetLabelMarkup
1813 --enable-accel use accelerators
1814 --enable-animatectrl use wxAnimationCtrl class
1815 --enable-bannerwindow use wxBannerWindow class
1816 --enable-artstd use standard XPM icons
in wxArtProvider
1817 --enable-arttango use Tango icons
in wxArtProvider
1818 --enable-bmpbutton use wxBitmapButton class
1819 --enable-bmpcombobox use wxBitmapComboBox class
1820 --enable-button use wxButton class
1821 --enable-calendar use wxCalendarCtrl class
1822 --enable-caret use wxCaret class
1823 --enable-checkbox use wxCheckBox class
1824 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1825 --enable-choice use wxChoice class
1826 --enable-choicebook use wxChoicebook class
1827 --enable-collpane use wxCollapsiblePane class
1828 --enable-colourpicker use wxColourPickerCtrl class
1829 --enable-combobox use wxComboBox class
1830 --enable-comboctrl use wxComboCtrl class
1831 --enable-commandlinkbutton use wxCommmandLinkButton class
1832 --enable-dataviewctrl use wxDataViewCtrl class
1833 --enable-datepick use wxDatePickerCtrl class
1834 --enable-detect_sm use code to detect X11 session manager
1835 --enable-dirpicker use wxDirPickerCtrl class
1836 --enable-display use wxDisplay class
1837 --enable-editablebox use wxEditableListBox class
1838 --enable-filectrl use wxFileCtrl class
1839 --enable-filepicker use wxFilePickerCtrl class
1840 --enable-fontpicker use wxFontPickerCtrl class
1841 --enable-gauge use wxGauge class
1842 --enable-grid use wxGrid class
1843 --enable-headerctrl use wxHeaderCtrl class
1844 --enable-hyperlink use wxHyperlinkCtrl class
1845 --enable-imaglist use wxImageList class
1846 --enable-infobar use wxInfoBar class
1847 --enable-listbook use wxListbook class
1848 --enable-listbox use wxListBox class
1849 --enable-listctrl use wxListCtrl class
1850 --enable-notebook use wxNotebook class
1851 --enable-notifmsg use wxNotificationMessage class
1852 --enable-odcombobox use wxOwnerDrawnComboBox class
1853 --enable-popupwin use wxPopUpWindow class
1854 --enable-radiobox use wxRadioBox class
1855 --enable-radiobtn use wxRadioButton class
1856 --enable-richmsgdlg use wxRichMessageDialog class
1857 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
1858 --enable-sash use wxSashWindow class
1859 --enable-scrollbar use wxScrollBar class and scrollable windows
1860 --enable-searchctrl use wxSearchCtrl class
1861 --enable-slider use wxSlider class
1862 --enable-spinbtn use wxSpinButton class
1863 --enable-spinctrl use wxSpinCtrl class
1864 --enable-splitter use wxSplitterWindow class
1865 --enable-statbmp use wxStaticBitmap class
1866 --enable-statbox use wxStaticBox class
1867 --enable-statline use wxStaticLine class
1868 --enable-stattext use wxStaticText class
1869 --enable-statusbar use wxStatusBar class
1870 --enable-taskbaricon use wxTaskBarIcon class
1871 --enable-tbarnative use native wxToolBar class
1872 --enable-textctrl use wxTextCtrl class
1873 --enable-tipwindow use wxTipWindow class
1874 --enable-togglebtn use wxToggleButton class
1875 --enable-toolbar use wxToolBar class
1876 --enable-toolbook use wxToolbook class
1877 --enable-treebook use wxTreebook class
1878 --enable-treectrl use wxTreeCtrl class
1879 --enable-treelist use wxTreeListCtrl class
1880 --enable-commondlg use all common dialogs
1881 --enable-aboutdlg use wxAboutBox
1882 --enable-choicedlg use wxChoiceDialog
1883 --enable-coldlg use wxColourDialog
1884 --enable-filedlg use wxFileDialog
1885 --enable-finddlg use wxFindReplaceDialog
1886 --enable-fontdlg use wxFontDialog
1887 --enable-dirdlg use wxDirDialog
1888 --enable-msgdlg use wxMessageDialog
1889 --enable-numberdlg use wxNumberEntryDialog
1890 --enable-splash use wxSplashScreen
1891 --enable-textdlg use wxTextDialog
1892 --enable-tipdlg use startup tips
1893 --enable-progressdlg use wxProgressDialog
1894 --enable-wizarddlg use wxWizard
1895 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1896 --enable-miniframe use wxMiniFrame class
1897 --enable-tooltips use wxToolTip class
1898 --enable-splines use spline drawing code
1899 --enable-mousewheel use mousewheel
1900 --enable-validators use wxValidator and derived classes
1901 --enable-busyinfo use wxBusyInfo
1902 --enable-hotkey use wxWindow
::RegisterHotKey
()
1903 --enable-joystick use wxJoystick
1904 --enable-metafiles use wxMetaFile
1905 --enable-dragimage use wxDragImage
1906 --enable-accessibility enable accessibility support
1907 --enable-uiactionsim use wxUIActionSimulator
(experimental
)
1908 --enable-dctransform use wxDC
::SetTransformMatrix and related
1909 --enable-webview-webkit use wxWebView WebKit backend
1910 --enable-palette use wxPalette class
1911 --enable-image use wxImage class
1912 --enable-gif use gif images
(GIF
file format
)
1913 --enable-pcx use pcx images
(PCX
file format
)
1914 --enable-tga use tga images
(TGA
file format
)
1915 --enable-iff use iff images
(IFF
file format
)
1916 --enable-pnm use pnm images
(PNM
file format
)
1917 --enable-xpm use xpm images
(XPM
file format
)
1918 --enable-ico_cur use Windows ICO and CUR formats
1919 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1920 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1921 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1922 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1923 --enable-wxdib use wxDIB class
(Win32 only
)
1924 --enable-webview-ie use wxWebView IE backend
(Win32 only
)
1925 --enable-autoidman use automatic ids management
1926 --disable-largefile omit support
for large files
1927 --disable-gtktest do not try to compile and run a
test GTK
+ program
1928 --disable-gtktest Do not try to compile and run a
test GTK program
1929 --disable-sdltest Do not try to compile and run a
test SDL program
1930 --enable-omf use OMF object format
(OS
/2)
1931 --disable-dependency-tracking
1932 don
't use dependency tracking even if the compiler
1934 --disable-precomp-headers
1935 don't use precompiled headers even
if compiler can
1938 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1939 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1940 --without-subdirs don
't generate makefiles for samples/demos/...
1941 --with-flavour=NAME specify a name to identify this build
1942 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1943 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1944 --with-motif use Motif/Lesstif
1945 --with-osx_carbon use Mac OS X (Carbon)
1946 --with-osx_cocoa use Mac OS X (Cocoa)
1947 --with-osx_iphone use iPhone OS X port
1948 --with-osx use Mac OS X (default port, currently Carbon)
1949 --with-carbon same as --with-osx_carbon
1950 --with-cocoa same as --with-osx_cocoa
1951 --with-iphone same as --with-osx_iphone
1952 --with-mac same as --with-osx
1953 --with-old_cocoa use old, deprecated, Cocoa port
1954 --with-wine use Wine
1955 --with-msw use MS-Windows
1956 --with-pm use OS/2 Presentation Manager
1957 --with-mgl use SciTech MGL
1958 --with-directfb use DirectFB
1959 --with-microwin use MicroWindows
1961 --with-libpng use libpng (PNG image format)
1962 --with-libjpeg use libjpeg (JPEG file format)
1963 --with-libtiff use libtiff (TIFF file format)
1964 --with-libxpm use libxpm (XPM file format)
1965 --with-libiconv use libiconv (character conversion)
1966 --with-libmspack use libmspack (CHM help files loading)
1967 --without-gtkprint don't use GTK printing support
1968 --without-gnomeprint don
't use GNOME printing libraries
1969 --with-gnomevfs use GNOME VFS for associating MIME types
1970 --with-hildon use Hildon framework for Nokia 770/800/810
1971 --with-opengl use OpenGL (or Mesa)
1972 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1973 --with-sdl use SDL for audio on Unix
1974 --with-regex enable support for wxRegEx class
1975 --with-zlib use zlib for LZW compression
1976 --with-expat enable XML support using expat parser
1977 --with-macosx-sdk=PATH use an OS X SDK at PATH
1978 --with-macosx-version-min=VER build binaries which require at least this OS X version
1979 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1980 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1981 --with-x use the X Window System
1982 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1983 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1984 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1985 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1986 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1988 Some influential environment variables:
1989 CC C compiler command
1990 CFLAGS C compiler flags
1991 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1992 nonstandard directory <lib dir>
1993 LIBS libraries to pass to the linker, e.g. -l<library>
1994 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1995 you have headers in a nonstandard directory <include dir>
1997 CXX C++ compiler command
1998 CXXFLAGS C++ compiler flags
1999 CXXCPP C++ preprocessor
2000 PKG_CONFIG path to pkg-config utility
2002 C compiler flags for DIRECTFB, overriding pkg-config
2004 linker flags for DIRECTFB, overriding pkg-config
2005 XMKMF Path to xmkmf, Makefile generator for X Window System
2007 C compiler flags for PANGOX, overriding pkg-config
2008 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2010 C compiler flags for PANGOFT2, overriding pkg-config
2012 linker flags for PANGOFT2, overriding pkg-config
2014 C compiler flags for PANGOXFT, overriding pkg-config
2016 linker flags for PANGOXFT, overriding pkg-config
2018 C compiler flags for GTKPRINT, overriding pkg-config
2020 linker flags for GTKPRINT, overriding pkg-config
2021 LIBGNOMEPRINTUI_CFLAGS
2022 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2023 LIBGNOMEPRINTUI_LIBS
2024 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2026 C compiler flags for GNOMEVFS, overriding pkg-config
2028 linker flags for GNOMEVFS, overriding pkg-config
2030 C compiler flags for HILDON, overriding pkg-config
2031 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2033 C compiler flags for HILDON2, overriding pkg-config
2035 linker flags for HILDON2, overriding pkg-config
2037 C compiler flags for CAIRO, overriding pkg-config
2038 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2039 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2040 GST_LIBS linker flags for GST, overriding pkg-config
2042 Use these variables to override the choices made by `configure' or to
help
2043 it to
find libraries and programs with nonstandard names
/locations.
2045 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2050 if test "$ac_init_help" = "recursive"; then
2051 # If there are subdirs, report their specific --help.
2052 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2053 test -d "$ac_dir" || continue
2057 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2059 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2060 # A ".." for each directory in $ac_dir_suffix.
2061 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2062 case $ac_top_builddir_sub in
2063 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2064 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2067 ac_abs_top_builddir
=$ac_pwd
2068 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2069 # for backward compatibility:
2070 ac_top_builddir
=$ac_top_build_prefix
2073 .
) # We are building in place.
2075 ac_top_srcdir
=$ac_top_builddir_sub
2076 ac_abs_top_srcdir
=$ac_pwd ;;
2077 [\\/]* | ?
:[\\/]* ) # Absolute name.
2078 ac_srcdir
=$srcdir$ac_dir_suffix;
2079 ac_top_srcdir
=$srcdir
2080 ac_abs_top_srcdir
=$srcdir ;;
2082 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2083 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2084 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2086 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2088 cd "$ac_dir" || { ac_status
=$?
; continue; }
2089 # Check for guested configure.
2090 if test -f "$ac_srcdir/configure.gnu"; then
2092 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2093 elif test -f "$ac_srcdir/configure"; then
2095 $SHELL "$ac_srcdir/configure" --help=recursive
2097 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2099 cd "$ac_pwd" || { ac_status
=$?
; break; }
2103 test -n "$ac_init_help" && exit $ac_status
2104 if $ac_init_version; then
2106 wxWidgets configure
2.9.3
2107 generated by GNU Autoconf
2.61
2109 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2110 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2111 This configure
script is free software
; the Free Software Foundation
2112 gives unlimited permission to copy
, distribute and modify it.
2116 cat >config.log
<<_ACEOF
2117 This file contains any messages produced by compilers while
2118 running configure, to aid debugging if configure makes a mistake.
2120 It was created by wxWidgets $as_me 2.9.3, which was
2121 generated by GNU Autoconf 2.61. Invocation command line was
2133 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2134 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2135 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2136 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2137 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2139 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2140 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2142 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2143 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2144 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2145 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2146 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2147 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2148 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2156 test -z "$as_dir" && as_dir
=.
2157 echo "PATH: $as_dir"
2173 # Keep a trace of the command line.
2174 # Strip out --no-create and --no-recursion so they do not pile up.
2175 # Strip out --silent because we don't want to record it for future runs.
2176 # Also quote any args containing shell meta-characters.
2177 # Make two passes to allow for proper duplicate-argument suppression.
2181 ac_must_keep_next
=false
2187 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2188 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2189 | -silent | --silent | --silen | --sile | --sil)
2192 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2195 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2197 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2198 if test $ac_must_keep_next = true
; then
2199 ac_must_keep_next
=false
# Got value, back to normal.
2202 *=* | --config-cache | -C | -disable-* | --disable-* \
2203 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2204 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2205 | -with-* | --with-* | -without-* | --without-* | --x)
2206 case "$ac_configure_args0 " in
2207 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2210 -* ) ac_must_keep_next
=true
;;
2213 ac_configure_args
="$ac_configure_args '$ac_arg'"
2218 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2219 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2221 # When interrupted or exit'd, cleanup temporary files, and complete
2222 # config.log. We remove comments because anyway the quotes in there
2223 # would cause problems or look ugly.
2224 # WARNING: Use '\'' to represent an apostrophe within the trap.
2225 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2226 trap 'exit_status=$?
2227 # Save into config.log some information that might help in debugging.
2232 ## ---------------- ##
2233 ## Cache variables. ##
2234 ## ---------------- ##
2237 # The following way of writing the cache mishandles newlines in values,
2239 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2240 eval ac_val=\$$ac_var
2244 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2245 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2248 _ | IFS | as_nl) ;; #(
2249 *) $as_unset $ac_var ;;
2254 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2255 *${as_nl}ac_space=\ *)
2257 "s/'\''/'\''\\\\'\'''\''/g;
2258 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2261 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2269 ## ----------------- ##
2270 ## Output variables. ##
2271 ## ----------------- ##
2274 for ac_var in $ac_subst_vars
2276 eval ac_val=\$$ac_var
2278 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2280 echo "$ac_var='\''$ac_val'\''"
2284 if test -n "$ac_subst_files"; then
2286 ## ------------------- ##
2287 ## File substitutions. ##
2288 ## ------------------- ##
2291 for ac_var
in $ac_subst_files
2293 eval ac_val
=\$
$ac_var
2295 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2297 echo "$ac_var='\''$ac_val'\''"
2302 if test -s confdefs.h; then
2312 test "$ac_signal" != 0 &&
2313 echo "$as_me: caught signal $ac_signal"
2314 echo "$as_me: exit $exit_status"
2316 rm -f core *.core core.conftest.* &&
2317 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2320 for ac_signal
in 1 2 13 15; do
2321 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2325 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2326 rm -f -r conftest
* confdefs.h
2328 # Predefined preprocessor variables.
2330 cat >>confdefs.h
<<_ACEOF
2331 #define PACKAGE_NAME "$PACKAGE_NAME"
2335 cat >>confdefs.h
<<_ACEOF
2336 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2340 cat >>confdefs.h
<<_ACEOF
2341 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2345 cat >>confdefs.h
<<_ACEOF
2346 #define PACKAGE_STRING "$PACKAGE_STRING"
2350 cat >>confdefs.h
<<_ACEOF
2351 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2355 # Let the site file select an alternate cache file if it wants to.
2356 # Prefer explicitly selected file to automatically selected ones.
2357 if test -n "$CONFIG_SITE"; then
2358 set x
"$CONFIG_SITE"
2359 elif test "x$prefix" != xNONE
; then
2360 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2362 set x
"$ac_default_prefix/share/config.site" \
2363 "$ac_default_prefix/etc/config.site"
2368 if test -r "$ac_site_file"; then
2369 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2370 echo "$as_me: loading site script $ac_site_file" >&6;}
2371 sed 's/^/| /' "$ac_site_file" >&5
2376 if test -r "$cache_file"; then
2377 # Some versions of bash will fail to source /dev/null (special
2378 # files actually), so we avoid doing that.
2379 if test -f "$cache_file"; then
2380 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2381 echo "$as_me: loading cache $cache_file" >&6;}
2383 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2384 *) .
"./$cache_file";;
2388 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2389 echo "$as_me: creating cache $cache_file" >&6;}
2393 # Check that the precious variables saved in the cache have kept the same
2395 ac_cache_corrupted
=false
2396 for ac_var
in $ac_precious_vars; do
2397 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2398 eval ac_new_set
=\
$ac_env_${ac_var}_set
2399 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2400 eval ac_new_val
=\
$ac_env_${ac_var}_value
2401 case $ac_old_set,$ac_new_set in
2403 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2404 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2405 ac_cache_corrupted
=: ;;
2407 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2408 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2409 ac_cache_corrupted
=: ;;
2412 if test "x$ac_old_val" != "x$ac_new_val"; then
2413 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2414 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2415 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2416 echo "$as_me: former value: $ac_old_val" >&2;}
2417 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2418 echo "$as_me: current value: $ac_new_val" >&2;}
2419 ac_cache_corrupted
=:
2422 # Pass precious variables to config.status.
2423 if test "$ac_new_set" = set; then
2425 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2426 *) ac_arg
=$ac_var=$ac_new_val ;;
2428 case " $ac_configure_args " in
2429 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2430 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2434 if $ac_cache_corrupted; then
2435 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2436 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2437 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2438 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2439 { (exit 1); exit 1; }; }
2467 ac_cpp
='$CPP $CPPFLAGS'
2468 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2469 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2470 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2477 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2478 if test -f "$ac_dir/install-sh"; then
2480 ac_install_sh
="$ac_aux_dir/install-sh -c"
2482 elif test -f "$ac_dir/install.sh"; then
2484 ac_install_sh
="$ac_aux_dir/install.sh -c"
2486 elif test -f "$ac_dir/shtool"; then
2488 ac_install_sh
="$ac_aux_dir/shtool install -c"
2492 if test -z "$ac_aux_dir"; then
2493 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2494 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2495 { (exit 1); exit 1; }; }
2498 # These three variables are undocumented and unsupported,
2499 # and are intended to be withdrawn in a future Autoconf release.
2500 # They can cause serious problems if a builder's source tree is in a directory
2501 # whose full name contains unusual characters.
2502 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2503 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2504 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2507 # Make sure we can run config.sub.
2508 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2509 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2510 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2511 { (exit 1); exit 1; }; }
2513 { echo "$as_me:$LINENO: checking build system type" >&5
2514 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2515 if test "${ac_cv_build+set}" = set; then
2516 echo $ECHO_N "(cached) $ECHO_C" >&6
2518 ac_build_alias
=$build_alias
2519 test "x$ac_build_alias" = x
&&
2520 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2521 test "x$ac_build_alias" = x
&&
2522 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2523 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2524 { (exit 1); exit 1; }; }
2525 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2526 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2527 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2528 { (exit 1); exit 1; }; }
2531 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2532 echo "${ECHO_T}$ac_cv_build" >&6; }
2533 case $ac_cv_build in
2535 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2536 echo "$as_me: error: invalid value of canonical build" >&2;}
2537 { (exit 1); exit 1; }; };;
2540 ac_save_IFS
=$IFS; IFS
='-'
2546 # Remember, the first character of IFS is used to create $*,
2547 # except with old shells:
2550 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2553 { echo "$as_me:$LINENO: checking host system type" >&5
2554 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2555 if test "${ac_cv_host+set}" = set; then
2556 echo $ECHO_N "(cached) $ECHO_C" >&6
2558 if test "x$host_alias" = x
; then
2559 ac_cv_host
=$ac_cv_build
2561 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2562 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2563 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2564 { (exit 1); exit 1; }; }
2568 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2569 echo "${ECHO_T}$ac_cv_host" >&6; }
2572 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2573 echo "$as_me: error: invalid value of canonical host" >&2;}
2574 { (exit 1); exit 1; }; };;
2577 ac_save_IFS
=$IFS; IFS
='-'
2583 # Remember, the first character of IFS is used to create $*,
2584 # except with old shells:
2587 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2591 if test "$cross_compiling" != "no"; then
2592 HOST_PREFIX
="${host_alias}-"
2593 HOST_SUFFIX
="-$host_alias"
2600 wx_major_version_number
=2
2601 wx_minor_version_number
=9
2603 wx_subrelease_number
=0
2605 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2606 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2607 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2609 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2612 wx_top_builddir
="`pwd`"
2625 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2631 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2637 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2639 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2641 DEFAULT_wxUSE_OLD_COCOA
=0
2643 DEFAULT_wxUSE_OSX_CARBON
=0
2644 DEFAULT_wxUSE_OSX_COCOA
=0
2645 DEFAULT_wxUSE_OSX_IPHONE
=0
2647 DEFAULT_wxUSE_MICROWIN
=0
2648 DEFAULT_wxUSE_MOTIF
=0
2654 DEFAULT_DEFAULT_wxUSE_OLD_COCOA
=0
2655 DEFAULT_DEFAULT_wxUSE_GTK
=0
2656 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2657 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2658 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=0
2659 DEFAULT_DEFAULT_wxUSE_MGL
=0
2660 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2661 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2662 DEFAULT_DEFAULT_wxUSE_MSW
=0
2663 DEFAULT_DEFAULT_wxUSE_PM
=0
2664 DEFAULT_DEFAULT_wxUSE_X11
=0
2665 DEFAULT_DEFAULT_wxUSE_DFB
=0
2669 DYLIB_RPATH_INSTALL
=
2670 DYLIB_RPATH_POSTLINK
=
2672 DEFAULT_STD_FLAG
=yes
2677 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2678 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2679 cat >>confdefs.h
<<\_ACEOF
2684 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2688 cat >>confdefs.h
<<\_ACEOF
2693 if test "x$TMP" = "xalpha"; then
2695 cat >>confdefs.h
<<\_ACEOF
2700 DEFAULT_DEFAULT_wxUSE_GTK
=1
2702 *-*-gnu* | *-*-k*bsd
*-gnu )
2705 if test "x$TMP" = "xalpha"; then
2707 cat >>confdefs.h
<<\_ACEOF
2712 DEFAULT_DEFAULT_wxUSE_GTK
=1
2714 *-*-irix5* | *-*-irix6* )
2717 cat >>confdefs.h
<<\_ACEOF
2721 cat >>confdefs.h
<<\_ACEOF
2725 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2729 cat >>confdefs.h
<<\_ACEOF
2733 DEFAULT_DEFAULT_wxUSE_X11
=1
2739 cat >>confdefs.h
<<\_ACEOF
2743 cat >>confdefs.h
<<\_ACEOF
2744 #define __SOLARIS__ 1
2747 cat >>confdefs.h
<<\_ACEOF
2751 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2752 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2758 cat >>confdefs.h
<<\_ACEOF
2762 cat >>confdefs.h
<<\_ACEOF
2766 cat >>confdefs.h
<<\_ACEOF
2770 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2775 cat >>confdefs.h
<<\_ACEOF
2776 #define __FREEBSD__ 1
2779 cat >>confdefs.h
<<\_ACEOF
2783 DEFAULT_DEFAULT_wxUSE_GTK
=1
2785 *-*-openbsd*|*-*-mirbsd*)
2788 cat >>confdefs.h
<<\_ACEOF
2789 #define __OPENBSD__ 1
2792 cat >>confdefs.h
<<\_ACEOF
2796 DEFAULT_DEFAULT_wxUSE_GTK
=1
2801 cat >>confdefs.h
<<\_ACEOF
2802 #define __NETBSD__ 1
2805 cat >>confdefs.h
<<\_ACEOF
2809 DEFAULT_DEFAULT_wxUSE_GTK
=1
2810 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2812 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2817 cat >>confdefs.h
<<\_ACEOF
2821 cat >>confdefs.h
<<\_ACEOF
2825 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2826 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2831 cat >>confdefs.h
<<\_ACEOF
2835 cat >>confdefs.h
<<\_ACEOF
2839 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2844 cat >>confdefs.h
<<\_ACEOF
2848 cat >>confdefs.h
<<\_ACEOF
2852 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2858 cat >>confdefs.h
<<\_ACEOF
2862 cat >>confdefs.h
<<\_ACEOF
2866 cat >>confdefs.h
<<\_ACEOF
2870 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2877 cat >>confdefs.h
<<\_ACEOF
2878 #define __UNIXWARE__ 1
2883 *-*-cygwin* | *-*-mingw32* )
2885 DEFAULT_DEFAULT_wxUSE_MSW
=1
2891 cat >>confdefs.h
<<\_ACEOF
2896 DEFAULT_DEFAULT_wxUSE_MGL
=1
2899 *-pc-os2_emx | *-pc-os2-emx )
2900 cat >>confdefs.h
<<\_ACEOF
2905 cat >>confdefs.h
<<\_ACEOF
2910 DEFAULT_DEFAULT_wxUSE_PM
=1
2912 LDFLAGS
="$LDFLAGS -Zcrtdll"
2913 ac_executable_extensions
=".exe"
2914 export ac_executable_extensions
2918 for ac_dir
in $PATH; do
2920 if test -z "$ac_TEMP_PATH"; then
2921 ac_TEMP_PATH
="$ac_dir"
2923 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2926 export PATH
="$ac_TEMP_PATH"
2934 cat >>confdefs.h
<<\_ACEOF
2938 cat >>confdefs.h
<<\_ACEOF
2939 #define __DARWIN__ 1
2942 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=1
2948 cat >>confdefs.h
<<\_ACEOF
2952 cat >>confdefs.h
<<\_ACEOF
2953 #define __DARWIN__ 1
2956 cat >>confdefs.h
<<\_ACEOF
2957 #define TARGET_CARBON 1
2960 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2965 cat >>confdefs.h
<<\_ACEOF
2972 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2973 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2974 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2975 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2977 DEFAULT_DEFAULT_wxUSE_X11
=1
2978 DEFAULT_wxUSE_SHARED
=no
2983 DEFAULT_wxUSE_ALL_FEATURES
=yes
2985 DEFAULT_wxUSE_STD_CONTAINERS
=no
2986 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2987 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2989 DEFAULT_wxUSE_DMALLOC
=no
2990 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2991 DEFAULT_wxUSE_LIBHILDON
=no
2992 DEFAULT_wxUSE_LIBHILDON2
=no
2993 DEFAULT_wxUSE_LIBMSPACK
=no
2994 DEFAULT_wxUSE_LIBSDL
=no
2996 DEFAULT_wxUSE_ACCESSIBILITY
=no
2997 DEFAULT_wxUSE_IPV6
=no
2998 DEFAULT_wxUSE_GSTREAMER8
=no
3000 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=auto
3001 DEFAULT_wxUSE_UNICODE_UTF8
=auto
3002 DEFAULT_wxUSE_OPENGL
=auto
3003 DEFAULT_wxUSE_MEDIACTRL
=auto
3004 DEFAULT_wxUSE_COMPILER_TLS
=auto
3005 DEFAULT_wxUSE_HOTKEY
=auto
3006 DEFAULT_wxUSE_METAFILE
=auto
3008 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
3010 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
3011 DEFAULT_wxUSE_MAC_ARCH
=no
3013 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
3015 DEFAULT_wxUSE_GTK2
=yes
3017 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
3023 enablestring
=disable
3025 if test -z "$defaultval"; then
3026 if test x
"$enablestring" = xdisable
; then
3033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3034 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3035 # Check whether --enable-gui was given.
3036 if test "${enable_gui+set}" = set; then
3037 enableval
=$enable_gui;
3038 if test "$enableval" = yes; then
3039 wx_cv_use_gui
='wxUSE_GUI=yes'
3041 wx_cv_use_gui
='wxUSE_GUI=no'
3046 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3051 eval "$wx_cv_use_gui"
3053 if test x"$enablestring" = xdisable; then
3054 if test $wxUSE_GUI = no; then
3063 { echo "$as_me:$LINENO: result: $result" >&5
3064 echo "${ECHO_T}$result" >&6; }
3069 if test -z "$defaultval"; then
3070 if test x"$enablestring" = xdisable; then
3077 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3078 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3079 # Check whether --enable-monolithic was given.
3080 if test "${enable_monolithic+set}" = set; then
3081 enableval=$enable_monolithic;
3082 if test "$enableval" = yes; then
3083 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3085 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3090 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3095 eval "$wx_cv_use_monolithic"
3097 if test x"$enablestring" = xdisable; then
3098 if test $wxUSE_MONOLITHIC = no; then
3104 result=$wxUSE_MONOLITHIC
3107 { echo "$as_me:$LINENO: result
: $result" >&5
3108 echo "${ECHO_T}$result" >&6; }
3113 if test -z "$defaultval"; then
3114 if test x"$enablestring" = xdisable; then
3121 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3122 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3123 # Check whether --enable-plugins was given.
3124 if test "${enable_plugins+set}" = set; then
3125 enableval=$enable_plugins;
3126 if test "$enableval" = yes; then
3127 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3129 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3134 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3139 eval "$wx_cv_use_plugins"
3141 if test x
"$enablestring" = xdisable
; then
3142 if test $wxUSE_PLUGINS = no
; then
3148 result
=$wxUSE_PLUGINS
3151 { echo "$as_me:$LINENO: result: $result" >&5
3152 echo "${ECHO_T}$result" >&6; }
3156 defaultval
=$wxUSE_ALL_FEATURES
3157 if test -z "$defaultval"; then
3158 if test x
"$withstring" = xwithout
; then
3164 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3165 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3167 # Check whether --with-subdirs was given.
3168 if test "${with_subdirs+set}" = set; then
3169 withval
=$with_subdirs;
3170 if test "$withval" = yes; then
3171 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3173 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3178 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3183 eval "$wx_cv_use_subdirs"
3185 if test x"$withstring" = xwithout; then
3186 if test $wxWITH_SUBDIRS = yes; then
3192 result=$wxWITH_SUBDIRS
3195 { echo "$as_me:$LINENO: result: $result" >&5
3196 echo "${ECHO_T}$result" >&6; }
3199 # Check whether --with-flavour was given.
3200 if test "${with_flavour+set}" = set; then
3201 withval=$with_flavour; WX_FLAVOUR="$withval"
3207 if test -z "$defaultval"; then
3208 if test x"$enablestring" = xdisable; then
3215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3216 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3217 # Check whether --enable-official_build was given.
3218 if test "${enable_official_build+set}" = set; then
3219 enableval=$enable_official_build;
3220 if test "$enableval" = yes; then
3221 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3223 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3228 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3233 eval "$wx_cv_use_official_build"
3235 if test x"$enablestring" = xdisable; then
3236 if test $wxUSE_OFFICIAL_BUILD = no; then
3242 result=$wxUSE_OFFICIAL_BUILD
3245 { echo "$as_me:$LINENO: result
: $result" >&5
3246 echo "${ECHO_T}$result" >&6; }
3248 # Check whether --enable-vendor was given.
3249 if test "${enable_vendor+set}" = set; then
3250 enableval=$enable_vendor; VENDOR="$enableval"
3253 if test "x
$VENDOR" = "x
"; then
3258 enablestring=disable
3260 if test -z "$defaultval"; then
3261 if test x"$enablestring" = xdisable; then
3268 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3269 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3270 # Check whether --enable-all-features was given.
3271 if test "${enable_all_features+set}" = set; then
3272 enableval=$enable_all_features;
3273 if test "$enableval" = yes; then
3274 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3276 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3281 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3286 eval "$wx_cv_use_all_features"
3288 if test x
"$enablestring" = xdisable
; then
3289 if test $wxUSE_ALL_FEATURES = no
; then
3295 result
=$wxUSE_ALL_FEATURES
3298 { echo "$as_me:$LINENO: result: $result" >&5
3299 echo "${ECHO_T}$result" >&6; }
3302 if test "$wxUSE_ALL_FEATURES" = "no"; then
3303 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=no
3304 DEFAULT_wxUSE_MEDIACTRL
=no
3308 if test "$wxUSE_GUI" = "yes"; then
3313 if test -z "$defaultval"; then
3314 if test x
"$enablestring" = xdisable
; then
3321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3322 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3323 # Check whether --enable-universal was given.
3324 if test "${enable_universal+set}" = set; then
3325 enableval
=$enable_universal;
3326 if test "$enableval" = yes; then
3327 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3329 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3334 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3339 eval "$wx_cv_use_universal"
3341 if test x"$enablestring" = xdisable; then
3342 if test $wxUSE_UNIVERSAL = no; then
3348 result=$wxUSE_UNIVERSAL
3351 { echo "$as_me:$LINENO: result: $result" >&5
3352 echo "${ECHO_T}$result" >&6; }
3354 if test "$wxUSE_UNIVERSAL" = "yes"; then
3356 # Check whether --with-themes was given.
3357 if test "${with_themes+set}" = set; then
3358 withval=$with_themes; wxUNIV_THEMES="$withval"
3364 # Check whether --with-gtk was given.
3365 if test "${with_gtk+set}" = set; then
3366 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3370 # Check whether --with-motif was given.
3371 if test "${with_motif+set}" = set; then
3372 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3376 # Check whether --with-osx_carbon was given.
3377 if test "${with_osx_carbon+set}" = set; then
3378 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3382 # Check whether --with-osx_cocoa was given.
3383 if test "${with_osx_cocoa+set}" = set; then
3384 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3388 # Check whether --with-osx_iphone was given.
3389 if test "${with_osx_iphone+set}" = set; then
3390 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3394 # Check whether --with-osx was given.
3395 if test "${with_osx+set}" = set; then
3396 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3400 # Check whether --with-carbon was given.
3401 if test "${with_carbon+set}" = set; then
3402 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3406 # Check whether --with-cocoa was given.
3407 if test "${with_cocoa+set}" = set; then
3408 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3412 # Check whether --with-iphone was given.
3413 if test "${with_iphone+set}" = set; then
3414 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3418 # Check whether --with-mac was given.
3419 if test "${with_mac+set}" = set; then
3420 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3424 # Check whether --with-old_cocoa was given.
3425 if test "${with_old_cocoa+set}" = set; then
3426 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3430 # Check whether --with-wine was given.
3431 if test "${with_wine+set}" = set; then
3432 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3436 # Check whether --with-msw was given.
3437 if test "${with_msw+set}" = set; then
3438 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3442 # Check whether --with-pm was given.
3443 if test "${with_pm+set}" = set; then
3444 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3448 # Check whether --with-mgl was given.
3449 if test "${with_mgl+set}" = set; then
3450 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3454 # Check whether --with-directfb was given.
3455 if test "${with_directfb+set}" = set; then
3456 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3460 # Check whether --with-microwin was given.
3461 if test "${with_microwin+set}" = set; then
3462 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3466 # Check whether --with-x11 was given.
3467 if test "${with_x11+set}" = set; then
3468 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3474 if test -z "$defaultval"; then
3475 if test x"$enablestring" = xdisable; then
3482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3483 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3484 # Check whether --enable-nanox was given.
3485 if test "${enable_nanox+set}" = set; then
3486 enableval=$enable_nanox;
3487 if test "$enableval" = yes; then
3488 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3490 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3495 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3500 eval "$wx_cv_use_nanox"
3502 if test x"$enablestring" = xdisable; then
3503 if test $wxUSE_NANOX = no; then
3512 { echo "$as_me:$LINENO: result
: $result" >&5
3513 echo "${ECHO_T}$result" >&6; }
3516 # Check whether --enable-gtk2 was given.
3517 if test "${enable_gtk2+set}" = set; then
3518 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3524 if test -z "$defaultval"; then
3525 if test x"$enablestring" = xdisable; then
3532 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3533 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3534 # Check whether --enable-gpe was given.
3535 if test "${enable_gpe+set}" = set; then
3536 enableval=$enable_gpe;
3537 if test "$enableval" = yes; then
3538 wx_cv_use_gpe='wxUSE_GPE=yes'
3540 wx_cv_use_gpe='wxUSE_GPE=no'
3545 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3550 eval "$wx_cv_use_gpe"
3552 if test x
"$enablestring" = xdisable
; then
3553 if test $wxUSE_GPE = no
; then
3562 { echo "$as_me:$LINENO: result: $result" >&5
3563 echo "${ECHO_T}$result" >&6; }
3567 { echo "$as_me:$LINENO: checking for toolkit" >&5
3568 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3572 # In Wine, we need to default to MSW, not GTK or MOTIF
3573 if test "$wxUSE_WINE" = "yes"; then
3574 DEFAULT_DEFAULT_wxUSE_GTK
=0
3575 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3576 DEFAULT_DEFAULT_wxUSE_MSW
=1
3583 if test "$wxUSE_GUI" = "yes"; then
3585 if test "$USE_BEOS" = 1; then
3586 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3587 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3588 { (exit 1); exit 1; }; }
3591 if test "$TOOLKIT_GIVEN" = 1; then
3592 for toolkit
in $ALL_TOOLKITS; do
3594 eval "value=\$${var}"
3595 if test "x$value" = "xno"; then
3597 elif test "x$value" != "x"; then
3601 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3602 eval "wx${toolkit}_VERSION=$value"
3606 for toolkit
in $ALL_TOOLKITS; do
3607 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3608 eval "wxUSE_$toolkit=\$${var}"
3612 NUM_TOOLKITS
=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3613 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3614 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3617 *-pc-os2_emx | *-pc-os2-emx )
3618 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3621 case "$NUM_TOOLKITS" in
3625 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3626 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3627 { (exit 1); exit 1; }; }
3630 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3631 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3632 { (exit 1); exit 1; }; }
3635 # to be removed when --disable-gtk2 isn't needed
3636 if test "x$wxUSE_GTK2" = "xyes"; then
3639 elif test "x$wxUSE_GTK2" = "xno"; then
3644 for toolkit
in $ALL_TOOLKITS; do
3646 eval "value=\$${var}"
3647 if test "$value" = 1; then
3648 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3649 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3650 echo "${ECHO_T}$toolkit_echo" >&6; }
3654 if test "x$host_alias" != "x"; then
3655 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3656 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3658 { echo "$as_me:$LINENO: result: base only" >&5
3659 echo "${ECHO_T}base only" >&6; }
3664 if test "$wxUSE_OSX_CARBON" = 1 \
3665 -o "$wxUSE_OSX_COCOA" = 1 \
3666 -o "$wxUSE_OSX_IPHONE" = 1; then
3672 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3673 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3675 # Check whether --with-libpng was given.
3676 if test "${with_libpng+set}" = set; then
3677 withval
=$with_libpng;
3678 if test "$withval" = yes; then
3679 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3680 elif test "$withval" = no
; then
3681 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3682 elif test "$withval" = sys
; then
3683 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3684 elif test "$withval" = builtin; then
3685 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3687 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3688 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3689 { (exit 1); exit 1; }; }
3694 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3699 eval "$wx_cv_use_libpng"
3701 if test "$wxUSE_LIBPNG" = yes; then
3702 { echo "$as_me:$LINENO: result: yes" >&5
3703 echo "${ECHO_T}yes" >&6; }
3704 elif test "$wxUSE_LIBPNG" = no; then
3705 { echo "$as_me:$LINENO: result: no" >&5
3706 echo "${ECHO_T}no" >&6; }
3707 elif test "$wxUSE_LIBPNG" = sys; then
3708 { echo "$as_me:$LINENO: result: system version" >&5
3709 echo "${ECHO_T}system version" >&6; }
3710 elif test "$wxUSE_LIBPNG" = builtin; then
3711 { echo "$as_me:$LINENO: result: builtin version" >&5
3712 echo "${ECHO_T}builtin version" >&6; }
3714 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3715 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3716 { (exit 1); exit 1; }; }
3720 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3721 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3723 # Check whether --with-libjpeg was given.
3724 if test "${with_libjpeg+set}" = set; then
3725 withval=$with_libjpeg;
3726 if test "$withval" = yes; then
3727 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3728 elif test "$withval" = no; then
3729 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3730 elif test "$withval" = sys; then
3731 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3732 elif test "$withval" = builtin; then
3733 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3735 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3736 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3737 { (exit 1); exit 1; }; }
3742 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3747 eval "$wx_cv_use_libjpeg"
3749 if test "$wxUSE_LIBJPEG" = yes; then
3750 { echo "$as_me:$LINENO: result
: yes" >&5
3751 echo "${ECHO_T}yes" >&6; }
3752 elif test "$wxUSE_LIBJPEG" = no; then
3753 { echo "$as_me:$LINENO: result
: no
" >&5
3754 echo "${ECHO_T}no
" >&6; }
3755 elif test "$wxUSE_LIBJPEG" = sys; then
3756 { echo "$as_me:$LINENO: result
: system version
" >&5
3757 echo "${ECHO_T}system version
" >&6; }
3758 elif test "$wxUSE_LIBJPEG" = builtin; then
3759 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3760 echo "${ECHO_T}builtin version
" >&6; }
3762 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3763 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3764 { (exit 1); exit 1; }; }
3768 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3769 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3771 # Check whether --with-libtiff was given.
3772 if test "${with_libtiff+set}" = set; then
3773 withval=$with_libtiff;
3774 if test "$withval" = yes; then
3775 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3776 elif test "$withval" = no; then
3777 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3778 elif test "$withval" = sys; then
3779 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3780 elif test "$withval" = builtin; then
3781 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3783 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3784 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3785 { (exit 1); exit 1; }; }
3790 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3795 eval "$wx_cv_use_libtiff"
3797 if test "$wxUSE_LIBTIFF" = yes; then
3798 { echo "$as_me:$LINENO: result: yes" >&5
3799 echo "${ECHO_T}yes" >&6; }
3800 elif test "$wxUSE_LIBTIFF" = no
; then
3801 { echo "$as_me:$LINENO: result: no" >&5
3802 echo "${ECHO_T}no" >&6; }
3803 elif test "$wxUSE_LIBTIFF" = sys
; then
3804 { echo "$as_me:$LINENO: result: system version" >&5
3805 echo "${ECHO_T}system version" >&6; }
3806 elif test "$wxUSE_LIBTIFF" = builtin; then
3807 { echo "$as_me:$LINENO: result: builtin version" >&5
3808 echo "${ECHO_T}builtin version" >&6; }
3810 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3811 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3812 { (exit 1); exit 1; }; }
3816 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3817 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3819 # Check whether --with-libxpm was given.
3820 if test "${with_libxpm+set}" = set; then
3821 withval
=$with_libxpm;
3822 if test "$withval" = yes; then
3823 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3824 elif test "$withval" = no
; then
3825 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3826 elif test "$withval" = sys
; then
3827 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3828 elif test "$withval" = builtin; then
3829 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3831 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3832 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3833 { (exit 1); exit 1; }; }
3838 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3843 eval "$wx_cv_use_libxpm"
3845 if test "$wxUSE_LIBXPM" = yes; then
3846 { echo "$as_me:$LINENO: result: yes" >&5
3847 echo "${ECHO_T}yes" >&6; }
3848 elif test "$wxUSE_LIBXPM" = no; then
3849 { echo "$as_me:$LINENO: result: no" >&5
3850 echo "${ECHO_T}no" >&6; }
3851 elif test "$wxUSE_LIBXPM" = sys; then
3852 { echo "$as_me:$LINENO: result: system version" >&5
3853 echo "${ECHO_T}system version" >&6; }
3854 elif test "$wxUSE_LIBXPM" = builtin; then
3855 { echo "$as_me:$LINENO: result: builtin version" >&5
3856 echo "${ECHO_T}builtin version" >&6; }
3858 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3859 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3860 { (exit 1); exit 1; }; }
3865 defaultval=$wxUSE_ALL_FEATURES
3866 if test -z "$defaultval"; then
3867 if test x"$withstring" = xwithout; then
3873 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3874 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3876 # Check whether --with-libiconv was given.
3877 if test "${with_libiconv+set}" = set; then
3878 withval=$with_libiconv;
3879 if test "$withval" = yes; then
3880 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3882 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3887 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3892 eval "$wx_cv_use_libiconv"
3894 if test x"$withstring" = xwithout; then
3895 if test $wxUSE_LIBICONV = yes; then
3901 result=$wxUSE_LIBICONV
3904 { echo "$as_me:$LINENO: result
: $result" >&5
3905 echo "${ECHO_T}$result" >&6; }
3909 defaultval=$wxUSE_ALL_FEATURES
3910 if test -z "$defaultval"; then
3911 if test x"$withstring" = xwithout; then
3917 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3918 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3920 # Check whether --with-libmspack was given.
3921 if test "${with_libmspack+set}" = set; then
3922 withval=$with_libmspack;
3923 if test "$withval" = yes; then
3924 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3926 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3931 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3936 eval "$wx_cv_use_libmspack"
3938 if test x
"$withstring" = xwithout
; then
3939 if test $wxUSE_LIBMSPACK = yes; then
3945 result
=$wxUSE_LIBMSPACK
3948 { echo "$as_me:$LINENO: result: $result" >&5
3949 echo "${ECHO_T}$result" >&6; }
3953 defaultval
=$wxUSE_ALL_FEATURES
3954 if test -z "$defaultval"; then
3955 if test x
"$withstring" = xwithout
; then
3961 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3962 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3964 # Check whether --with-gtkprint was given.
3965 if test "${with_gtkprint+set}" = set; then
3966 withval
=$with_gtkprint;
3967 if test "$withval" = yes; then
3968 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3970 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3975 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3980 eval "$wx_cv_use_gtkprint"
3982 if test x"$withstring" = xwithout; then
3983 if test $wxUSE_GTKPRINT = yes; then
3989 result=$wxUSE_GTKPRINT
3992 { echo "$as_me:$LINENO: result: $result" >&5
3993 echo "${ECHO_T}$result" >&6; }
3997 defaultval=$wxUSE_ALL_FEATURES
3998 if test -z "$defaultval"; then
3999 if test x"$withstring" = xwithout; then
4005 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4006 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4008 # Check whether --with-gnomeprint was given.
4009 if test "${with_gnomeprint+set}" = set; then
4010 withval=$with_gnomeprint;
4011 if test "$withval" = yes; then
4012 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
4014 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
4019 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4024 eval "$wx_cv_use_gnomeprint"
4026 if test x"$withstring" = xwithout; then
4027 if test $wxUSE_LIBGNOMEPRINT = yes; then
4033 result=$wxUSE_LIBGNOMEPRINT
4036 { echo "$as_me:$LINENO: result
: $result" >&5
4037 echo "${ECHO_T}$result" >&6; }
4041 defaultval=$wxUSE_ALL_FEATURES
4042 if test -z "$defaultval"; then
4043 if test x"$withstring" = xwithout; then
4049 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
4050 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
4052 # Check whether --with-gnomevfs was given.
4053 if test "${with_gnomevfs+set}" = set; then
4054 withval=$with_gnomevfs;
4055 if test "$withval" = yes; then
4056 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4058 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4063 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4068 eval "$wx_cv_use_gnomevfs"
4070 if test x
"$withstring" = xwithout
; then
4071 if test $wxUSE_LIBGNOMEVFS = yes; then
4077 result
=$wxUSE_LIBGNOMEVFS
4080 { echo "$as_me:$LINENO: result: $result" >&5
4081 echo "${ECHO_T}$result" >&6; }
4085 defaultval
=$wxUSE_ALL_FEATURES
4086 if test -z "$defaultval"; then
4087 if test x
"$withstring" = xwithout
; then
4093 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4094 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4096 # Check whether --with-hildon was given.
4097 if test "${with_hildon+set}" = set; then
4098 withval
=$with_hildon;
4099 if test "$withval" = yes; then
4100 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
4102 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
4107 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4112 eval "$wx_cv_use_hildon"
4114 if test x"$withstring" = xwithout; then
4115 if test $wxUSE_LIBHILDON = yes; then
4121 result=$wxUSE_LIBHILDON
4124 { echo "$as_me:$LINENO: result: $result" >&5
4125 echo "${ECHO_T}$result" >&6; }
4129 defaultval=$wxUSE_ALL_FEATURES
4130 if test -z "$defaultval"; then
4131 if test x"$withstring" = xwithout; then
4137 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4138 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4140 # Check whether --with-opengl was given.
4141 if test "${with_opengl+set}" = set; then
4142 withval=$with_opengl;
4143 if test "$withval" = yes; then
4144 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4146 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4151 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4156 eval "$wx_cv_use_opengl"
4158 if test x"$withstring" = xwithout; then
4159 if test $wxUSE_OPENGL = yes; then
4165 result=$wxUSE_OPENGL
4168 { echo "$as_me:$LINENO: result
: $result" >&5
4169 echo "${ECHO_T}$result" >&6; }
4176 defaultval=$wxUSE_ALL_FEATURES
4177 if test -z "$defaultval"; then
4178 if test x"$withstring" = xwithout; then
4184 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4185 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4187 # Check whether --with-dmalloc was given.
4188 if test "${with_dmalloc+set}" = set; then
4189 withval=$with_dmalloc;
4190 if test "$withval" = yes; then
4191 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4193 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4198 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4203 eval "$wx_cv_use_dmalloc"
4205 if test x
"$withstring" = xwithout
; then
4206 if test $wxUSE_DMALLOC = yes; then
4212 result
=$wxUSE_DMALLOC
4215 { echo "$as_me:$LINENO: result: $result" >&5
4216 echo "${ECHO_T}$result" >&6; }
4220 defaultval
=$wxUSE_ALL_FEATURES
4221 if test -z "$defaultval"; then
4222 if test x
"$withstring" = xwithout
; then
4228 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4229 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4231 # Check whether --with-sdl was given.
4232 if test "${with_sdl+set}" = set; then
4234 if test "$withval" = yes; then
4235 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4237 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4242 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4247 eval "$wx_cv_use_sdl"
4249 if test x"$withstring" = xwithout; then
4250 if test $wxUSE_LIBSDL = yes; then
4256 result=$wxUSE_LIBSDL
4259 { echo "$as_me:$LINENO: result: $result" >&5
4260 echo "${ECHO_T}$result" >&6; }
4263 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4264 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4266 # Check whether --with-regex was given.
4267 if test "${with_regex+set}" = set; then
4268 withval=$with_regex;
4269 if test "$withval" = yes; then
4270 wx_cv_use_regex='wxUSE_REGEX
=yes'
4271 elif test "$withval" = no; then
4272 wx_cv_use_regex='wxUSE_REGEX
=no
'
4273 elif test "$withval" = sys; then
4274 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4275 elif test "$withval" = builtin; then
4276 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4278 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4279 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4280 { (exit 1); exit 1; }; }
4285 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4290 eval "$wx_cv_use_regex"
4292 if test "$wxUSE_REGEX" = yes; then
4293 { echo "$as_me:$LINENO: result
: yes" >&5
4294 echo "${ECHO_T}yes" >&6; }
4295 elif test "$wxUSE_REGEX" = no; then
4296 { echo "$as_me:$LINENO: result
: no
" >&5
4297 echo "${ECHO_T}no
" >&6; }
4298 elif test "$wxUSE_REGEX" = sys; then
4299 { echo "$as_me:$LINENO: result
: system version
" >&5
4300 echo "${ECHO_T}system version
" >&6; }
4301 elif test "$wxUSE_REGEX" = builtin; then
4302 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4303 echo "${ECHO_T}builtin version
" >&6; }
4305 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4306 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4307 { (exit 1); exit 1; }; }
4311 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4312 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4314 # Check whether --with-zlib was given.
4315 if test "${with_zlib+set}" = set; then
4317 if test "$withval" = yes; then
4318 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4319 elif test "$withval" = no; then
4320 wx_cv_use_zlib='wxUSE_ZLIB=no'
4321 elif test "$withval" = sys; then
4322 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4323 elif test "$withval" = builtin; then
4324 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4326 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4327 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4328 { (exit 1); exit 1; }; }
4333 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4338 eval "$wx_cv_use_zlib"
4340 if test "$wxUSE_ZLIB" = yes; then
4341 { echo "$as_me:$LINENO: result: yes" >&5
4342 echo "${ECHO_T}yes" >&6; }
4343 elif test "$wxUSE_ZLIB" = no
; then
4344 { echo "$as_me:$LINENO: result: no" >&5
4345 echo "${ECHO_T}no" >&6; }
4346 elif test "$wxUSE_ZLIB" = sys
; then
4347 { echo "$as_me:$LINENO: result: system version" >&5
4348 echo "${ECHO_T}system version" >&6; }
4349 elif test "$wxUSE_ZLIB" = builtin; then
4350 { echo "$as_me:$LINENO: result: builtin version" >&5
4351 echo "${ECHO_T}builtin version" >&6; }
4353 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4354 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4355 { (exit 1); exit 1; }; }
4359 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4360 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4362 # Check whether --with-expat was given.
4363 if test "${with_expat+set}" = set; then
4364 withval
=$with_expat;
4365 if test "$withval" = yes; then
4366 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4367 elif test "$withval" = no
; then
4368 wx_cv_use_expat
='wxUSE_EXPAT=no'
4369 elif test "$withval" = sys
; then
4370 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4371 elif test "$withval" = builtin; then
4372 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4374 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4375 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4376 { (exit 1); exit 1; }; }
4381 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4386 eval "$wx_cv_use_expat"
4388 if test "$wxUSE_EXPAT" = yes; then
4389 { echo "$as_me:$LINENO: result: yes" >&5
4390 echo "${ECHO_T}yes" >&6; }
4391 elif test "$wxUSE_EXPAT" = no; then
4392 { echo "$as_me:$LINENO: result: no" >&5
4393 echo "${ECHO_T}no" >&6; }
4394 elif test "$wxUSE_EXPAT" = sys; then
4395 { echo "$as_me:$LINENO: result: system version" >&5
4396 echo "${ECHO_T}system version" >&6; }
4397 elif test "$wxUSE_EXPAT" = builtin; then
4398 { echo "$as_me:$LINENO: result: builtin version" >&5
4399 echo "${ECHO_T}builtin version" >&6; }
4401 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4402 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4403 { (exit 1); exit 1; }; }
4407 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4408 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4410 # Check whether --with-macosx-sdk was given.
4411 if test "${with_macosx_sdk+set}" = set; then
4412 withval=$with_macosx_sdk;
4413 wxUSE_MACOSX_SDK=$withval
4414 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4418 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4419 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4421 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4422 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4424 # Check whether --with-macosx-version-min was given.
4425 if test "${with_macosx_version_min+set}" = set; then
4426 withval=$with_macosx_version_min;
4427 wxUSE_MACOSX_VERSION_MIN=$withval
4428 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4432 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4433 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4436 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4437 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4438 # Check whether --enable-debug was given.
4439 if test "${enable_debug+set}" = set; then
4440 enableval=$enable_debug;
4441 if test "$enableval" = yes; then
4443 elif test "$enableval" = no; then
4445 elif test "$enableval" = max; then
4447 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4449 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4450 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4451 { (exit 1); exit 1; }; }
4460 case "$wxUSE_DEBUG" in
4462 DEFAULT_wxUSE_DEBUG_FLAG=yes
4463 DEFAULT_wxUSE_DEBUG_INFO=yes
4465 DEFAULT_wxUSE_OPTIMISE=no
4469 DEFAULT_wxUSE_DEBUG_FLAG=no
4470 DEFAULT_wxUSE_DEBUG_INFO=no
4474 DEFAULT_wxUSE_DEBUG_FLAG=yes
4475 DEFAULT_wxUSE_DEBUG_INFO=no
4480 enablestring=disable
4482 if test -z "$defaultval"; then
4483 if test x"$enablestring" = xdisable; then
4490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4491 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4492 # Check whether --enable-debug_flag was given.
4493 if test "${enable_debug_flag+set}" = set; then
4494 enableval=$enable_debug_flag;
4495 if test "$enableval" = yes; then
4496 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
4498 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
4503 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4508 eval "$wx_cv_use_debug_flag"
4510 if test x"$enablestring" = xdisable; then
4511 if test $wxUSE_DEBUG_FLAG = no; then
4517 result=$wxUSE_DEBUG_FLAG
4520 { echo "$as_me:$LINENO: result
: $result" >&5
4521 echo "${ECHO_T}$result" >&6; }
4526 if test -z "$defaultval"; then
4527 if test x"$enablestring" = xdisable; then
4534 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_info" >&5
4535 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_info...
$ECHO_C" >&6; }
4536 # Check whether --enable-debug_info was given.
4537 if test "${enable_debug_info+set}" = set; then
4538 enableval=$enable_debug_info;
4539 if test "$enableval" = yes; then
4540 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4542 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4547 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4552 eval "$wx_cv_use_debug_info"
4554 if test x
"$enablestring" = xdisable
; then
4555 if test $wxUSE_DEBUG_INFO = no
; then
4561 result
=$wxUSE_DEBUG_INFO
4564 { echo "$as_me:$LINENO: result: $result" >&5
4565 echo "${ECHO_T}$result" >&6; }
4572 if test -z "$defaultval"; then
4573 if test x
"$enablestring" = xdisable
; then
4580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4581 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4582 # Check whether --enable-debug_gdb was given.
4583 if test "${enable_debug_gdb+set}" = set; then
4584 enableval
=$enable_debug_gdb;
4585 if test "$enableval" = yes; then
4586 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4588 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4593 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4598 eval "$wx_cv_use_debug_gdb"
4600 if test x"$enablestring" = xdisable; then
4601 if test $wxUSE_DEBUG_GDB = no; then
4607 result=$wxUSE_DEBUG_GDB
4610 { echo "$as_me:$LINENO: result: $result" >&5
4611 echo "${ECHO_T}$result" >&6; }
4616 if test -z "$defaultval"; then
4617 if test x"$enablestring" = xdisable; then
4624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4625 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4626 # Check whether --enable-debug_cntxt was given.
4627 if test "${enable_debug_cntxt+set}" = set; then
4628 enableval=$enable_debug_cntxt;
4629 if test "$enableval" = yes; then
4630 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
4632 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
4637 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4642 eval "$wx_cv_use_debug_cntxt"
4644 if test x"$enablestring" = xdisable; then
4645 if test $wxUSE_DEBUG_CONTEXT = no; then
4651 result=$wxUSE_DEBUG_CONTEXT
4654 { echo "$as_me:$LINENO: result
: $result" >&5
4655 echo "${ECHO_T}$result" >&6; }
4660 if test -z "$defaultval"; then
4661 if test x"$enablestring" = xdisable; then
4668 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mem_tracing" >&5
4669 echo $ECHO_N "checking
for --${enablestring:-enable}-mem_tracing...
$ECHO_C" >&6; }
4670 # Check whether --enable-mem_tracing was given.
4671 if test "${enable_mem_tracing+set}" = set; then
4672 enableval=$enable_mem_tracing;
4673 if test "$enableval" = yes; then
4674 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4676 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4681 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4686 eval "$wx_cv_use_mem_tracing"
4688 if test x
"$enablestring" = xdisable
; then
4689 if test $wxUSE_MEM_TRACING = no
; then
4695 result
=$wxUSE_MEM_TRACING
4698 { echo "$as_me:$LINENO: result: $result" >&5
4699 echo "${ECHO_T}$result" >&6; }
4704 enablestring
=disable
4706 if test -z "$defaultval"; then
4707 if test x
"$enablestring" = xdisable
; then
4714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4715 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4716 # Check whether --enable-shared was given.
4717 if test "${enable_shared+set}" = set; then
4718 enableval
=$enable_shared;
4719 if test "$enableval" = yes; then
4720 wx_cv_use_shared
='wxUSE_SHARED=yes'
4722 wx_cv_use_shared
='wxUSE_SHARED=no'
4727 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4732 eval "$wx_cv_use_shared"
4734 if test x"$enablestring" = xdisable; then
4735 if test $wxUSE_SHARED = no; then
4741 result=$wxUSE_SHARED
4744 { echo "$as_me:$LINENO: result: $result" >&5
4745 echo "${ECHO_T}$result" >&6; }
4750 if test -z "$defaultval"; then
4751 if test x"$enablestring" = xdisable; then
4758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4759 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4760 # Check whether --enable-stl was given.
4761 if test "${enable_stl+set}" = set; then
4762 enableval=$enable_stl;
4763 if test "$enableval" = yes; then
4764 wx_cv_use_stl='wxUSE_STL
=yes'
4766 wx_cv_use_stl='wxUSE_STL
=no
'
4771 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
4776 eval "$wx_cv_use_stl"
4778 if test x"$enablestring" = xdisable; then
4779 if test $wxUSE_STL = no; then
4788 { echo "$as_me:$LINENO: result
: $result" >&5
4789 echo "${ECHO_T}$result" >&6; }
4791 if test "$wxUSE_STL" = "yes"; then
4792 DEFAULT_wxUSE_STD_CONTAINERS=yes
4793 DEFAULT_wxUSE_STD_IOSTREAM=yes
4794 DEFAULT_wxUSE_STD_STRING=yes
4799 if test -z "$defaultval"; then
4800 if test x"$enablestring" = xdisable; then
4807 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_containers" >&5
4808 echo $ECHO_N "checking
for --${enablestring:-enable}-std_containers...
$ECHO_C" >&6; }
4809 # Check whether --enable-std_containers was given.
4810 if test "${enable_std_containers+set}" = set; then
4811 enableval=$enable_std_containers;
4812 if test "$enableval" = yes; then
4813 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
4815 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
4820 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
4825 eval "$wx_cv_use_std_containers"
4827 if test x
"$enablestring" = xdisable
; then
4828 if test $wxUSE_STD_CONTAINERS = no
; then
4834 result
=$wxUSE_STD_CONTAINERS
4837 { echo "$as_me:$LINENO: result: $result" >&5
4838 echo "${ECHO_T}$result" >&6; }
4843 if test -z "$defaultval"; then
4844 if test x
"$enablestring" = xdisable
; then
4851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4852 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4853 # Check whether --enable-std_iostreams was given.
4854 if test "${enable_std_iostreams+set}" = set; then
4855 enableval
=$enable_std_iostreams;
4856 if test "$enableval" = yes; then
4857 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4859 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4864 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4869 eval "$wx_cv_use_std_iostreams"
4871 if test x"$enablestring" = xdisable; then
4872 if test $wxUSE_STD_IOSTREAM = no; then
4878 result=$wxUSE_STD_IOSTREAM
4881 { echo "$as_me:$LINENO: result: $result" >&5
4882 echo "${ECHO_T}$result" >&6; }
4887 if test -z "$defaultval"; then
4888 if test x"$enablestring" = xdisable; then
4895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4896 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4897 # Check whether --enable-std_string was given.
4898 if test "${enable_std_string+set}" = set; then
4899 enableval=$enable_std_string;
4900 if test "$enableval" = yes; then
4901 wx_cv_use_std_string='wxUSE_STD_STRING
=yes'
4903 wx_cv_use_std_string='wxUSE_STD_STRING
=no
'
4908 wx_cv_use_std_string='wxUSE_STD_STRING
=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4913 eval "$wx_cv_use_std_string"
4915 if test x"$enablestring" = xdisable; then
4916 if test $wxUSE_STD_STRING = no; then
4922 result=$wxUSE_STD_STRING
4925 { echo "$as_me:$LINENO: result
: $result" >&5
4926 echo "${ECHO_T}$result" >&6; }
4931 if test -z "$defaultval"; then
4932 if test x"$enablestring" = xdisable; then
4939 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
4940 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string_conv_in_wxstring...
$ECHO_C" >&6; }
4941 # Check whether --enable-std_string_conv_in_wxstring was given.
4942 if test "${enable_std_string_conv_in_wxstring+set}" = set; then
4943 enableval=$enable_std_string_conv_in_wxstring;
4944 if test "$enableval" = yes; then
4945 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
4947 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
4952 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
4957 eval "$wx_cv_use_std_string_conv_in_wxstring"
4959 if test x
"$enablestring" = xdisable
; then
4960 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no
; then
4966 result
=$wxUSE_STD_STRING_CONV_IN_WXSTRING
4969 { echo "$as_me:$LINENO: result: $result" >&5
4970 echo "${ECHO_T}$result" >&6; }
4973 enablestring
=disable
4975 if test -z "$defaultval"; then
4976 if test x
"$enablestring" = xdisable
; then
4983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4984 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4985 # Check whether --enable-unicode was given.
4986 if test "${enable_unicode+set}" = set; then
4987 enableval
=$enable_unicode;
4988 if test "$enableval" = yes; then
4989 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4991 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4996 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
5001 eval "$wx_cv_use_unicode"
5003 if test x"$enablestring" = xdisable; then
5004 if test $wxUSE_UNICODE = no; then
5010 result=$wxUSE_UNICODE
5013 { echo "$as_me:$LINENO: result: $result" >&5
5014 echo "${ECHO_T}$result" >&6; }
5019 if test -z "$defaultval"; then
5020 if test x"$enablestring" = xdisable; then
5027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5028 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
5029 # Check whether --enable-mslu was given.
5030 if test "${enable_mslu+set}" = set; then
5031 enableval=$enable_mslu;
5032 if test "$enableval" = yes; then
5033 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5035 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5040 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5045 eval "$wx_cv_use_mslu"
5047 if test x"$enablestring" = xdisable; then
5048 if test $wxUSE_UNICODE_MSLU = no; then
5054 result=$wxUSE_UNICODE_MSLU
5057 { echo "$as_me:$LINENO: result
: $result" >&5
5058 echo "${ECHO_T}$result" >&6; }
5062 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
5063 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
5064 # Check whether --enable-utf8 was given.
5065 if test "${enable_utf8+set}" = set; then
5066 enableval=$enable_utf8;
5067 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
5071 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5076 eval "$wx_cv_use_utf8"
5078 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
5079 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5084 if test -z "$defaultval"; then
5085 if test x"$enablestring" = xdisable; then
5092 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
5093 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
5094 # Check whether --enable-utf8only was given.
5095 if test "${enable_utf8only+set}" = set; then
5096 enableval=$enable_utf8only;
5097 if test "$enableval" = yes; then
5098 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5100 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5105 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5110 eval "$wx_cv_use_utf8only"
5112 if test x
"$enablestring" = xdisable
; then
5113 if test $wxUSE_UNICODE_UTF8_LOCALE = no
; then
5119 result
=$wxUSE_UNICODE_UTF8_LOCALE
5122 { echo "$as_me:$LINENO: result: $result" >&5
5123 echo "${ECHO_T}$result" >&6; }
5128 if test -z "$defaultval"; then
5129 if test x
"$enablestring" = xdisable
; then
5136 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5137 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5138 # Check whether --enable-extended_rtti was given.
5139 if test "${enable_extended_rtti+set}" = set; then
5140 enableval
=$enable_extended_rtti;
5141 if test "$enableval" = yes; then
5142 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
5144 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
5149 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5154 eval "$wx_cv_use_extended_rtti"
5156 if test x"$enablestring" = xdisable; then
5157 if test $wxUSE_EXTENDED_RTTI = no; then
5163 result=$wxUSE_EXTENDED_RTTI
5166 { echo "$as_me:$LINENO: result: $result" >&5
5167 echo "${ECHO_T}$result" >&6; }
5169 if test "$USE_OS2" = 1; then
5170 DEFAULT_wxUSE_OMF=no
5174 if test -z "$defaultval"; then
5175 if test x"$enablestring" = xdisable; then
5182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5183 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5184 # Check whether --enable-omf was given.
5185 if test "${enable_omf+set}" = set; then
5186 enableval=$enable_omf;
5187 if test "$enableval" = yes; then
5188 wx_cv_use_omf='wxUSE_OMF
=yes'
5190 wx_cv_use_omf='wxUSE_OMF
=no
'
5195 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5200 eval "$wx_cv_use_omf"
5202 if test x"$enablestring" = xdisable; then
5203 if test $wxUSE_OMF = no; then
5212 { echo "$as_me:$LINENO: result
: $result" >&5
5213 echo "${ECHO_T}$result" >&6; }
5218 enablestring=disable
5220 if test -z "$defaultval"; then
5221 if test x"$enablestring" = xdisable; then
5228 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-optimise" >&5
5229 echo $ECHO_N "checking
for --${enablestring:-enable}-optimise...
$ECHO_C" >&6; }
5230 # Check whether --enable-optimise was given.
5231 if test "${enable_optimise+set}" = set; then
5232 enableval=$enable_optimise;
5233 if test "$enableval" = yes; then
5234 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5236 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5241 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5246 eval "$wx_cv_use_optimise"
5248 if test x
"$enablestring" = xdisable
; then
5249 if test $wxUSE_OPTIMISE = no
; then
5255 result
=$wxUSE_OPTIMISE
5258 { echo "$as_me:$LINENO: result: $result" >&5
5259 echo "${ECHO_T}$result" >&6; }
5265 if test -z "$defaultval"; then
5266 if test x
"$enablestring" = xdisable
; then
5273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5274 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5275 # Check whether --enable-profile was given.
5276 if test "${enable_profile+set}" = set; then
5277 enableval
=$enable_profile;
5278 if test "$enableval" = yes; then
5279 wx_cv_use_profile
='wxUSE_PROFILE=yes'
5281 wx_cv_use_profile
='wxUSE_PROFILE=no'
5286 wx_cv_use_profile
='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5291 eval "$wx_cv_use_profile"
5293 if test x"$enablestring" = xdisable; then
5294 if test $wxUSE_PROFILE = no; then
5300 result=$wxUSE_PROFILE
5303 { echo "$as_me:$LINENO: result: $result" >&5
5304 echo "${ECHO_T}$result" >&6; }
5309 if test -z "$defaultval"; then
5310 if test x"$enablestring" = xdisable; then
5317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5318 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5319 # Check whether --enable-no_rtti was given.
5320 if test "${enable_no_rtti+set}" = set; then
5321 enableval=$enable_no_rtti;
5322 if test "$enableval" = yes; then
5323 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
5325 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
5330 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5335 eval "$wx_cv_use_no_rtti"
5337 if test x"$enablestring" = xdisable; then
5338 if test $wxUSE_NO_RTTI = no; then
5344 result=$wxUSE_NO_RTTI
5347 { echo "$as_me:$LINENO: result
: $result" >&5
5348 echo "${ECHO_T}$result" >&6; }
5353 if test -z "$defaultval"; then
5354 if test x"$enablestring" = xdisable; then
5361 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_exceptions" >&5
5362 echo $ECHO_N "checking
for --${enablestring:-enable}-no_exceptions...
$ECHO_C" >&6; }
5363 # Check whether --enable-no_exceptions was given.
5364 if test "${enable_no_exceptions+set}" = set; then
5365 enableval=$enable_no_exceptions;
5366 if test "$enableval" = yes; then
5367 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5369 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5374 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5379 eval "$wx_cv_use_no_exceptions"
5381 if test x
"$enablestring" = xdisable
; then
5382 if test $wxUSE_NO_EXCEPTIONS = no
; then
5388 result
=$wxUSE_NO_EXCEPTIONS
5391 { echo "$as_me:$LINENO: result: $result" >&5
5392 echo "${ECHO_T}$result" >&6; }
5397 if test -z "$defaultval"; then
5398 if test x
"$enablestring" = xdisable
; then
5405 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5406 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5407 # Check whether --enable-permissive was given.
5408 if test "${enable_permissive+set}" = set; then
5409 enableval
=$enable_permissive;
5410 if test "$enableval" = yes; then
5411 wx_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
5413 wx_cv_use_permissive
='wxUSE_PERMISSIVE=no'
5418 wx_cv_use_permissive
='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5423 eval "$wx_cv_use_permissive"
5425 if test x"$enablestring" = xdisable; then
5426 if test $wxUSE_PERMISSIVE = no; then
5432 result=$wxUSE_PERMISSIVE
5435 { echo "$as_me:$LINENO: result: $result" >&5
5436 echo "${ECHO_T}$result" >&6; }
5441 if test -z "$defaultval"; then
5442 if test x"$enablestring" = xdisable; then
5449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5450 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5451 # Check whether --enable-no_deps was given.
5452 if test "${enable_no_deps+set}" = set; then
5453 enableval=$enable_no_deps;
5454 if test "$enableval" = yes; then
5455 wx_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
5457 wx_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
5462 wx_cv_use_no_deps='wxUSE_NO_DEPS
=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5467 eval "$wx_cv_use_no_deps"
5469 if test x"$enablestring" = xdisable; then
5470 if test $wxUSE_NO_DEPS = no; then
5476 result=$wxUSE_NO_DEPS
5479 { echo "$as_me:$LINENO: result
: $result" >&5
5480 echo "${ECHO_T}$result" >&6; }
5483 enablestring=disable
5485 if test -z "$defaultval"; then
5486 if test x"$enablestring" = xdisable; then
5493 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-vararg_macros" >&5
5494 echo $ECHO_N "checking
for --${enablestring:-enable}-vararg_macros...
$ECHO_C" >&6; }
5495 # Check whether --enable-vararg_macros was given.
5496 if test "${enable_vararg_macros+set}" = set; then
5497 enableval=$enable_vararg_macros;
5498 if test "$enableval" = yes; then
5499 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5501 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5506 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5511 eval "$wx_cv_use_vararg_macros"
5513 if test x
"$enablestring" = xdisable
; then
5514 if test $wxUSE_VARARG_MACROS = no
; then
5520 result
=$wxUSE_VARARG_MACROS
5523 { echo "$as_me:$LINENO: result: $result" >&5
5524 echo "${ECHO_T}$result" >&6; }
5529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5530 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5531 # Check whether --enable-universal_binary was given.
5532 if test "${enable_universal_binary+set}" = set; then
5533 enableval
=$enable_universal_binary;
5534 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
5538 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5543 eval "$wx_cv_use_universal_binary"
5545 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5546 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5550 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5551 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5552 # Check whether --enable-macosx_arch was given.
5553 if test "${enable_macosx_arch+set}" = set; then
5554 enableval
=$enable_macosx_arch;
5555 wx_cv_use_macosx_arch
="wxUSE_MAC_ARCH='$enableval'"
5559 wx_cv_use_macosx_arch
='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
5564 eval "$wx_cv_use_macosx_arch"
5566 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5567 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5573 if test -z "$defaultval"; then
5574 if test x
"$enablestring" = xdisable
; then
5581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5582 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5583 # Check whether --enable-compat26 was given.
5584 if test "${enable_compat26+set}" = set; then
5585 enableval
=$enable_compat26;
5586 if test "$enableval" = yes; then
5587 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
5589 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
5594 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5599 eval "$wx_cv_use_compat26"
5601 if test x"$enablestring" = xdisable; then
5602 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5608 result=$WXWIN_COMPATIBILITY_2_6
5611 { echo "$as_me:$LINENO: result: $result" >&5
5612 echo "${ECHO_T}$result" >&6; }
5615 enablestring=disable
5617 if test -z "$defaultval"; then
5618 if test x"$enablestring" = xdisable; then
5625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5626 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5627 # Check whether --enable-compat28 was given.
5628 if test "${enable_compat28+set}" = set; then
5629 enableval=$enable_compat28;
5630 if test "$enableval" = yes; then
5631 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=yes'
5633 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=no
'
5638 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5643 eval "$wx_cv_use_compat28"
5645 if test x"$enablestring" = xdisable; then
5646 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5652 result=$WXWIN_COMPATIBILITY_2_8
5655 { echo "$as_me:$LINENO: result
: $result" >&5
5656 echo "${ECHO_T}$result" >&6; }
5660 enablestring=disable
5662 if test -z "$defaultval"; then
5663 if test x"$enablestring" = xdisable; then
5670 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-rpath" >&5
5671 echo $ECHO_N "checking
for --${enablestring:-enable}-rpath...
$ECHO_C" >&6; }
5672 # Check whether --enable-rpath was given.
5673 if test "${enable_rpath+set}" = set; then
5674 enableval=$enable_rpath;
5675 if test "$enableval" = yes; then
5676 wx_cv_use_rpath='wxUSE_RPATH=yes'
5678 wx_cv_use_rpath='wxUSE_RPATH=no'
5683 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5688 eval "$wx_cv_use_rpath"
5690 if test x
"$enablestring" = xdisable
; then
5691 if test $wxUSE_RPATH = no
; then
5700 { echo "$as_me:$LINENO: result: $result" >&5
5701 echo "${ECHO_T}$result" >&6; }
5707 if test -z "$defaultval"; then
5708 if test x
"$enablestring" = xdisable
; then
5715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5716 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5717 # Check whether --enable-objc_uniquifying was given.
5718 if test "${enable_objc_uniquifying+set}" = set; then
5719 enableval
=$enable_objc_uniquifying;
5720 if test "$enableval" = yes; then
5721 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=yes'
5723 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=no'
5728 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5733 eval "$wx_cv_use_objc_uniquifying"
5735 if test x"$enablestring" = xdisable; then
5736 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5742 result=$wxUSE_OBJC_UNIQUIFYING
5745 { echo "$as_me:$LINENO: result: $result" >&5
5746 echo "${ECHO_T}$result" >&6; }
5750 enablestring=disable
5752 if test -z "$defaultval"; then
5753 if test x"$enablestring" = xdisable; then
5760 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5761 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5762 # Check whether --enable-visibility was given.
5763 if test "${enable_visibility+set}" = set; then
5764 enableval=$enable_visibility;
5765 if test "$enableval" = yes; then
5766 wx_cv_use_visibility='wxUSE_VISIBILITY
=yes'
5768 wx_cv_use_visibility='wxUSE_VISIBILITY
=no
'
5773 wx_cv_use_visibility='wxUSE_VISIBILITY
=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5778 eval "$wx_cv_use_visibility"
5780 if test x"$enablestring" = xdisable; then
5781 if test $wxUSE_VISIBILITY = no; then
5787 result=$wxUSE_VISIBILITY
5790 { echo "$as_me:$LINENO: result
: $result" >&5
5791 echo "${ECHO_T}$result" >&6; }
5794 enablestring=disable
5796 if test -z "$defaultval"; then
5797 if test x"$enablestring" = xdisable; then
5804 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tls" >&5
5805 echo $ECHO_N "checking
for --${enablestring:-enable}-tls...
$ECHO_C" >&6; }
5806 # Check whether --enable-tls was given.
5807 if test "${enable_tls+set}" = set; then
5808 enableval=$enable_tls;
5809 if test "$enableval" = yes; then
5810 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5812 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5817 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5822 eval "$wx_cv_use_tls"
5824 if test x
"$enablestring" = xdisable
; then
5825 if test $wxUSE_COMPILER_TLS = no
; then
5831 result
=$wxUSE_COMPILER_TLS
5834 { echo "$as_me:$LINENO: result: $result" >&5
5835 echo "${ECHO_T}$result" >&6; }
5841 defaultval
=$wxUSE_ALL_FEATURES
5842 if test -z "$defaultval"; then
5843 if test x
"$enablestring" = xdisable
; then
5850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5851 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5852 # Check whether --enable-intl was given.
5853 if test "${enable_intl+set}" = set; then
5854 enableval
=$enable_intl;
5855 if test "$enableval" = yes; then
5856 wx_cv_use_intl
='wxUSE_INTL=yes'
5858 wx_cv_use_intl
='wxUSE_INTL=no'
5863 wx_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5868 eval "$wx_cv_use_intl"
5870 if test x"$enablestring" = xdisable; then
5871 if test $wxUSE_INTL = no; then
5880 { echo "$as_me:$LINENO: result: $result" >&5
5881 echo "${ECHO_T}$result" >&6; }
5885 defaultval=$wxUSE_ALL_FEATURES
5886 if test -z "$defaultval"; then
5887 if test x"$enablestring" = xdisable; then
5894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5895 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5896 # Check whether --enable-xlocale was given.
5897 if test "${enable_xlocale+set}" = set; then
5898 enableval=$enable_xlocale;
5899 if test "$enableval" = yes; then
5900 wx_cv_use_xlocale='wxUSE_XLOCALE
=yes'
5902 wx_cv_use_xlocale='wxUSE_XLOCALE
=no
'
5907 wx_cv_use_xlocale='wxUSE_XLOCALE
=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5912 eval "$wx_cv_use_xlocale"
5914 if test x"$enablestring" = xdisable; then
5915 if test $wxUSE_XLOCALE = no; then
5921 result=$wxUSE_XLOCALE
5924 { echo "$as_me:$LINENO: result
: $result" >&5
5925 echo "${ECHO_T}$result" >&6; }
5929 defaultval=$wxUSE_ALL_FEATURES
5930 if test -z "$defaultval"; then
5931 if test x"$enablestring" = xdisable; then
5938 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-config" >&5
5939 echo $ECHO_N "checking
for --${enablestring:-enable}-config...
$ECHO_C" >&6; }
5940 # Check whether --enable-config was given.
5941 if test "${enable_config+set}" = set; then
5942 enableval=$enable_config;
5943 if test "$enableval" = yes; then
5944 wx_cv_use_config='wxUSE_CONFIG=yes'
5946 wx_cv_use_config='wxUSE_CONFIG=no'
5951 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5956 eval "$wx_cv_use_config"
5958 if test x
"$enablestring" = xdisable
; then
5959 if test $wxUSE_CONFIG = no
; then
5965 result
=$wxUSE_CONFIG
5968 { echo "$as_me:$LINENO: result: $result" >&5
5969 echo "${ECHO_T}$result" >&6; }
5974 defaultval
=$wxUSE_ALL_FEATURES
5975 if test -z "$defaultval"; then
5976 if test x
"$enablestring" = xdisable
; then
5983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5984 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5985 # Check whether --enable-protocols was given.
5986 if test "${enable_protocols+set}" = set; then
5987 enableval
=$enable_protocols;
5988 if test "$enableval" = yes; then
5989 wx_cv_use_protocols
='wxUSE_PROTOCOL=yes'
5991 wx_cv_use_protocols
='wxUSE_PROTOCOL=no'
5996 wx_cv_use_protocols
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6001 eval "$wx_cv_use_protocols"
6003 if test x"$enablestring" = xdisable; then
6004 if test $wxUSE_PROTOCOL = no; then
6010 result=$wxUSE_PROTOCOL
6013 { echo "$as_me:$LINENO: result: $result" >&5
6014 echo "${ECHO_T}$result" >&6; }
6018 defaultval=$wxUSE_ALL_FEATURES
6019 if test -z "$defaultval"; then
6020 if test x"$enablestring" = xdisable; then
6027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6028 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6029 # Check whether --enable-ftp was given.
6030 if test "${enable_ftp+set}" = set; then
6031 enableval=$enable_ftp;
6032 if test "$enableval" = yes; then
6033 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
6035 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
6040 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6045 eval "$wx_cv_use_ftp"
6047 if test x"$enablestring" = xdisable; then
6048 if test $wxUSE_PROTOCOL_FTP = no; then
6054 result=$wxUSE_PROTOCOL_FTP
6057 { echo "$as_me:$LINENO: result
: $result" >&5
6058 echo "${ECHO_T}$result" >&6; }
6062 defaultval=$wxUSE_ALL_FEATURES
6063 if test -z "$defaultval"; then
6064 if test x"$enablestring" = xdisable; then
6071 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-http" >&5
6072 echo $ECHO_N "checking
for --${enablestring:-enable}-http...
$ECHO_C" >&6; }
6073 # Check whether --enable-http was given.
6074 if test "${enable_http+set}" = set; then
6075 enableval=$enable_http;
6076 if test "$enableval" = yes; then
6077 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6079 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6084 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6089 eval "$wx_cv_use_http"
6091 if test x
"$enablestring" = xdisable
; then
6092 if test $wxUSE_PROTOCOL_HTTP = no
; then
6098 result
=$wxUSE_PROTOCOL_HTTP
6101 { echo "$as_me:$LINENO: result: $result" >&5
6102 echo "${ECHO_T}$result" >&6; }
6106 defaultval
=$wxUSE_ALL_FEATURES
6107 if test -z "$defaultval"; then
6108 if test x
"$enablestring" = xdisable
; then
6115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6116 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6117 # Check whether --enable-fileproto was given.
6118 if test "${enable_fileproto+set}" = set; then
6119 enableval
=$enable_fileproto;
6120 if test "$enableval" = yes; then
6121 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
6123 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
6128 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6133 eval "$wx_cv_use_fileproto"
6135 if test x"$enablestring" = xdisable; then
6136 if test $wxUSE_PROTOCOL_FILE = no; then
6142 result=$wxUSE_PROTOCOL_FILE
6145 { echo "$as_me:$LINENO: result: $result" >&5
6146 echo "${ECHO_T}$result" >&6; }
6150 defaultval=$wxUSE_ALL_FEATURES
6151 if test -z "$defaultval"; then
6152 if test x"$enablestring" = xdisable; then
6159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6160 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6161 # Check whether --enable-sockets was given.
6162 if test "${enable_sockets+set}" = set; then
6163 enableval=$enable_sockets;
6164 if test "$enableval" = yes; then
6165 wx_cv_use_sockets='wxUSE_SOCKETS
=yes'
6167 wx_cv_use_sockets='wxUSE_SOCKETS
=no
'
6172 wx_cv_use_sockets='wxUSE_SOCKETS
=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6177 eval "$wx_cv_use_sockets"
6179 if test x"$enablestring" = xdisable; then
6180 if test $wxUSE_SOCKETS = no; then
6186 result=$wxUSE_SOCKETS
6189 { echo "$as_me:$LINENO: result
: $result" >&5
6190 echo "${ECHO_T}$result" >&6; }
6194 defaultval=$wxUSE_ALL_FEATURES
6195 if test -z "$defaultval"; then
6196 if test x"$enablestring" = xdisable; then
6203 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ipv6" >&5
6204 echo $ECHO_N "checking
for --${enablestring:-enable}-ipv6...
$ECHO_C" >&6; }
6205 # Check whether --enable-ipv6 was given.
6206 if test "${enable_ipv6+set}" = set; then
6207 enableval=$enable_ipv6;
6208 if test "$enableval" = yes; then
6209 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6211 wx_cv_use_ipv6='wxUSE_IPV6=no'
6216 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6221 eval "$wx_cv_use_ipv6"
6223 if test x
"$enablestring" = xdisable
; then
6224 if test $wxUSE_IPV6 = no
; then
6233 { echo "$as_me:$LINENO: result: $result" >&5
6234 echo "${ECHO_T}$result" >&6; }
6238 defaultval
=$wxUSE_ALL_FEATURES
6239 if test -z "$defaultval"; then
6240 if test x
"$enablestring" = xdisable
; then
6247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6248 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6249 # Check whether --enable-ole was given.
6250 if test "${enable_ole+set}" = set; then
6251 enableval
=$enable_ole;
6252 if test "$enableval" = yes; then
6253 wx_cv_use_ole
='wxUSE_OLE=yes'
6255 wx_cv_use_ole
='wxUSE_OLE=no'
6260 wx_cv_use_ole
='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6265 eval "$wx_cv_use_ole"
6267 if test x"$enablestring" = xdisable; then
6268 if test $wxUSE_OLE = no; then
6277 { echo "$as_me:$LINENO: result: $result" >&5
6278 echo "${ECHO_T}$result" >&6; }
6282 defaultval=$wxUSE_ALL_FEATURES
6283 if test -z "$defaultval"; then
6284 if test x"$enablestring" = xdisable; then
6291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6292 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6293 # Check whether --enable-dataobj was given.
6294 if test "${enable_dataobj+set}" = set; then
6295 enableval=$enable_dataobj;
6296 if test "$enableval" = yes; then
6297 wx_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
6299 wx_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
6304 wx_cv_use_dataobj='wxUSE_DATAOBJ
=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6309 eval "$wx_cv_use_dataobj"
6311 if test x"$enablestring" = xdisable; then
6312 if test $wxUSE_DATAOBJ = no; then
6318 result=$wxUSE_DATAOBJ
6321 { echo "$as_me:$LINENO: result
: $result" >&5
6322 echo "${ECHO_T}$result" >&6; }
6327 defaultval=$wxUSE_ALL_FEATURES
6328 if test -z "$defaultval"; then
6329 if test x"$enablestring" = xdisable; then
6336 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ipc" >&5
6337 echo $ECHO_N "checking
for --${enablestring:-enable}-ipc...
$ECHO_C" >&6; }
6338 # Check whether --enable-ipc was given.
6339 if test "${enable_ipc+set}" = set; then
6340 enableval=$enable_ipc;
6341 if test "$enableval" = yes; then
6342 wx_cv_use_ipc='wxUSE_IPC=yes'
6344 wx_cv_use_ipc='wxUSE_IPC=no'
6349 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6354 eval "$wx_cv_use_ipc"
6356 if test x
"$enablestring" = xdisable
; then
6357 if test $wxUSE_IPC = no
; then
6366 { echo "$as_me:$LINENO: result: $result" >&5
6367 echo "${ECHO_T}$result" >&6; }
6372 defaultval
=$wxUSE_ALL_FEATURES
6373 if test -z "$defaultval"; then
6374 if test x
"$enablestring" = xdisable
; then
6381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6382 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6383 # Check whether --enable-baseevtloop was given.
6384 if test "${enable_baseevtloop+set}" = set; then
6385 enableval
=$enable_baseevtloop;
6386 if test "$enableval" = yes; then
6387 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=yes'
6389 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=no'
6394 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6399 eval "$wx_cv_use_baseevtloop"
6401 if test x"$enablestring" = xdisable; then
6402 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6408 result=$wxUSE_CONSOLE_EVENTLOOP
6411 { echo "$as_me:$LINENO: result: $result" >&5
6412 echo "${ECHO_T}$result" >&6; }
6416 defaultval=$wxUSE_ALL_FEATURES
6417 if test -z "$defaultval"; then
6418 if test x"$enablestring" = xdisable; then
6425 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6426 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6427 # Check whether --enable-epollloop was given.
6428 if test "${enable_epollloop+set}" = set; then
6429 enableval=$enable_epollloop;
6430 if test "$enableval" = yes; then
6431 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=yes'
6433 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=no
'
6438 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6443 eval "$wx_cv_use_epollloop"
6445 if test x"$enablestring" = xdisable; then
6446 if test $wxUSE_EPOLL_DISPATCHER = no; then
6452 result=$wxUSE_EPOLL_DISPATCHER
6455 { echo "$as_me:$LINENO: result
: $result" >&5
6456 echo "${ECHO_T}$result" >&6; }
6460 defaultval=$wxUSE_ALL_FEATURES
6461 if test -z "$defaultval"; then
6462 if test x"$enablestring" = xdisable; then
6469 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-selectloop" >&5
6470 echo $ECHO_N "checking
for --${enablestring:-enable}-selectloop...
$ECHO_C" >&6; }
6471 # Check whether --enable-selectloop was given.
6472 if test "${enable_selectloop+set}" = set; then
6473 enableval=$enable_selectloop;
6474 if test "$enableval" = yes; then
6475 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6477 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6482 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6487 eval "$wx_cv_use_selectloop"
6489 if test x
"$enablestring" = xdisable
; then
6490 if test $wxUSE_SELECT_DISPATCHER = no
; then
6496 result
=$wxUSE_SELECT_DISPATCHER
6499 { echo "$as_me:$LINENO: result: $result" >&5
6500 echo "${ECHO_T}$result" >&6; }
6505 defaultval
=$wxUSE_ALL_FEATURES
6506 if test -z "$defaultval"; then
6507 if test x
"$enablestring" = xdisable
; then
6514 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6515 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6516 # Check whether --enable-any was given.
6517 if test "${enable_any+set}" = set; then
6518 enableval
=$enable_any;
6519 if test "$enableval" = yes; then
6520 wx_cv_use_any
='wxUSE_ANY=yes'
6522 wx_cv_use_any
='wxUSE_ANY=no'
6527 wx_cv_use_any
='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6532 eval "$wx_cv_use_any"
6534 if test x"$enablestring" = xdisable; then
6535 if test $wxUSE_ANY = no; then
6544 { echo "$as_me:$LINENO: result: $result" >&5
6545 echo "${ECHO_T}$result" >&6; }
6549 defaultval=$wxUSE_ALL_FEATURES
6550 if test -z "$defaultval"; then
6551 if test x"$enablestring" = xdisable; then
6558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6559 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6560 # Check whether --enable-apple_ieee was given.
6561 if test "${enable_apple_ieee+set}" = set; then
6562 enableval=$enable_apple_ieee;
6563 if test "$enableval" = yes; then
6564 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6566 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6571 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6576 eval "$wx_cv_use_apple_ieee"
6578 if test x"$enablestring" = xdisable; then
6579 if test $wxUSE_APPLE_IEEE = no; then
6585 result=$wxUSE_APPLE_IEEE
6588 { echo "$as_me:$LINENO: result
: $result" >&5
6589 echo "${ECHO_T}$result" >&6; }
6593 defaultval=$wxUSE_ALL_FEATURES
6594 if test -z "$defaultval"; then
6595 if test x"$enablestring" = xdisable; then
6602 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
6603 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6; }
6604 # Check whether --enable-arcstream was given.
6605 if test "${enable_arcstream+set}" = set; then
6606 enableval=$enable_arcstream;
6607 if test "$enableval" = yes; then
6608 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6610 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6615 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6620 eval "$wx_cv_use_arcstream"
6622 if test x
"$enablestring" = xdisable
; then
6623 if test $wxUSE_ARCHIVE_STREAMS = no
; then
6629 result
=$wxUSE_ARCHIVE_STREAMS
6632 { echo "$as_me:$LINENO: result: $result" >&5
6633 echo "${ECHO_T}$result" >&6; }
6637 defaultval
=$wxUSE_ALL_FEATURES
6638 if test -z "$defaultval"; then
6639 if test x
"$enablestring" = xdisable
; then
6646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6647 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6648 # Check whether --enable-base64 was given.
6649 if test "${enable_base64+set}" = set; then
6650 enableval
=$enable_base64;
6651 if test "$enableval" = yes; then
6652 wx_cv_use_base64
='wxUSE_BASE64=yes'
6654 wx_cv_use_base64
='wxUSE_BASE64=no'
6659 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6664 eval "$wx_cv_use_base64"
6666 if test x"$enablestring" = xdisable; then
6667 if test $wxUSE_BASE64 = no; then
6673 result=$wxUSE_BASE64
6676 { echo "$as_me:$LINENO: result: $result" >&5
6677 echo "${ECHO_T}$result" >&6; }
6681 defaultval=$wxUSE_ALL_FEATURES
6682 if test -z "$defaultval"; then
6683 if test x"$enablestring" = xdisable; then
6690 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6691 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6692 # Check whether --enable-backtrace was given.
6693 if test "${enable_backtrace+set}" = set; then
6694 enableval=$enable_backtrace;
6695 if test "$enableval" = yes; then
6696 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
6698 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
6703 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6708 eval "$wx_cv_use_backtrace"
6710 if test x"$enablestring" = xdisable; then
6711 if test $wxUSE_STACKWALKER = no; then
6717 result=$wxUSE_STACKWALKER
6720 { echo "$as_me:$LINENO: result
: $result" >&5
6721 echo "${ECHO_T}$result" >&6; }
6725 defaultval=$wxUSE_ALL_FEATURES
6726 if test -z "$defaultval"; then
6727 if test x"$enablestring" = xdisable; then
6734 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-catch_segvs" >&5
6735 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6; }
6736 # Check whether --enable-catch_segvs was given.
6737 if test "${enable_catch_segvs+set}" = set; then
6738 enableval=$enable_catch_segvs;
6739 if test "$enableval" = yes; then
6740 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6742 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6747 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6752 eval "$wx_cv_use_catch_segvs"
6754 if test x
"$enablestring" = xdisable
; then
6755 if test $wxUSE_ON_FATAL_EXCEPTION = no
; then
6761 result
=$wxUSE_ON_FATAL_EXCEPTION
6764 { echo "$as_me:$LINENO: result: $result" >&5
6765 echo "${ECHO_T}$result" >&6; }
6769 defaultval
=$wxUSE_ALL_FEATURES
6770 if test -z "$defaultval"; then
6771 if test x
"$enablestring" = xdisable
; then
6778 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6779 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6780 # Check whether --enable-cmdline was given.
6781 if test "${enable_cmdline+set}" = set; then
6782 enableval
=$enable_cmdline;
6783 if test "$enableval" = yes; then
6784 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
6786 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
6791 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6796 eval "$wx_cv_use_cmdline"
6798 if test x"$enablestring" = xdisable; then
6799 if test $wxUSE_CMDLINE_PARSER = no; then
6805 result=$wxUSE_CMDLINE_PARSER
6808 { echo "$as_me:$LINENO: result: $result" >&5
6809 echo "${ECHO_T}$result" >&6; }
6813 defaultval=$wxUSE_ALL_FEATURES
6814 if test -z "$defaultval"; then
6815 if test x"$enablestring" = xdisable; then
6822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6823 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6824 # Check whether --enable-datetime was given.
6825 if test "${enable_datetime+set}" = set; then
6826 enableval=$enable_datetime;
6827 if test "$enableval" = yes; then
6828 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
6830 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
6835 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6840 eval "$wx_cv_use_datetime"
6842 if test x"$enablestring" = xdisable; then
6843 if test $wxUSE_DATETIME = no; then
6849 result=$wxUSE_DATETIME
6852 { echo "$as_me:$LINENO: result
: $result" >&5
6853 echo "${ECHO_T}$result" >&6; }
6857 defaultval=$wxUSE_ALL_FEATURES
6858 if test -z "$defaultval"; then
6859 if test x"$enablestring" = xdisable; then
6866 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
6867 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6; }
6868 # Check whether --enable-debugreport was given.
6869 if test "${enable_debugreport+set}" = set; then
6870 enableval=$enable_debugreport;
6871 if test "$enableval" = yes; then
6872 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6874 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6879 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6884 eval "$wx_cv_use_debugreport"
6886 if test x
"$enablestring" = xdisable
; then
6887 if test $wxUSE_DEBUGREPORT = no
; then
6893 result
=$wxUSE_DEBUGREPORT
6896 { echo "$as_me:$LINENO: result: $result" >&5
6897 echo "${ECHO_T}$result" >&6; }
6901 defaultval
=$wxUSE_ALL_FEATURES
6902 if test -z "$defaultval"; then
6903 if test x
"$enablestring" = xdisable
; then
6910 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6911 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6912 # Check whether --enable-dialupman was given.
6913 if test "${enable_dialupman+set}" = set; then
6914 enableval
=$enable_dialupman;
6915 if test "$enableval" = yes; then
6916 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
6918 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
6923 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6928 eval "$wx_cv_use_dialupman"
6930 if test x"$enablestring" = xdisable; then
6931 if test $wxUSE_DIALUP_MANAGER = no; then
6937 result=$wxUSE_DIALUP_MANAGER
6940 { echo "$as_me:$LINENO: result: $result" >&5
6941 echo "${ECHO_T}$result" >&6; }
6945 defaultval=$wxUSE_ALL_FEATURES
6946 if test -z "$defaultval"; then
6947 if test x"$enablestring" = xdisable; then
6954 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6955 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6956 # Check whether --enable-dynlib was given.
6957 if test "${enable_dynlib+set}" = set; then
6958 enableval=$enable_dynlib;
6959 if test "$enableval" = yes; then
6960 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
6962 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
6967 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6972 eval "$wx_cv_use_dynlib"
6974 if test x"$enablestring" = xdisable; then
6975 if test $wxUSE_DYNLIB_CLASS = no; then
6981 result=$wxUSE_DYNLIB_CLASS
6984 { echo "$as_me:$LINENO: result
: $result" >&5
6985 echo "${ECHO_T}$result" >&6; }
6989 defaultval=$wxUSE_ALL_FEATURES
6990 if test -z "$defaultval"; then
6991 if test x"$enablestring" = xdisable; then
6998 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
6999 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6; }
7000 # Check whether --enable-dynamicloader was given.
7001 if test "${enable_dynamicloader+set}" = set; then
7002 enableval=$enable_dynamicloader;
7003 if test "$enableval" = yes; then
7004 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7006 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7011 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7016 eval "$wx_cv_use_dynamicloader"
7018 if test x
"$enablestring" = xdisable
; then
7019 if test $wxUSE_DYNAMIC_LOADER = no
; then
7025 result
=$wxUSE_DYNAMIC_LOADER
7028 { echo "$as_me:$LINENO: result: $result" >&5
7029 echo "${ECHO_T}$result" >&6; }
7033 defaultval
=$wxUSE_ALL_FEATURES
7034 if test -z "$defaultval"; then
7035 if test x
"$enablestring" = xdisable
; then
7042 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7043 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7044 # Check whether --enable-exceptions was given.
7045 if test "${enable_exceptions+set}" = set; then
7046 enableval
=$enable_exceptions;
7047 if test "$enableval" = yes; then
7048 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
7050 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
7055 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7060 eval "$wx_cv_use_exceptions"
7062 if test x"$enablestring" = xdisable; then
7063 if test $wxUSE_EXCEPTIONS = no; then
7069 result=$wxUSE_EXCEPTIONS
7072 { echo "$as_me:$LINENO: result: $result" >&5
7073 echo "${ECHO_T}$result" >&6; }
7077 defaultval=$wxUSE_ALL_FEATURES
7078 if test -z "$defaultval"; then
7079 if test x"$enablestring" = xdisable; then
7086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7087 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7088 # Check whether --enable-ffile was given.
7089 if test "${enable_ffile+set}" = set; then
7090 enableval=$enable_ffile;
7091 if test "$enableval" = yes; then
7092 wx_cv_use_ffile='wxUSE_FFILE
=yes'
7094 wx_cv_use_ffile='wxUSE_FFILE
=no
'
7099 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7104 eval "$wx_cv_use_ffile"
7106 if test x"$enablestring" = xdisable; then
7107 if test $wxUSE_FFILE = no; then
7116 { echo "$as_me:$LINENO: result
: $result" >&5
7117 echo "${ECHO_T}$result" >&6; }
7121 defaultval=$wxUSE_ALL_FEATURES
7122 if test -z "$defaultval"; then
7123 if test x"$enablestring" = xdisable; then
7130 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
7131 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6; }
7132 # Check whether --enable-file was given.
7133 if test "${enable_file+set}" = set; then
7134 enableval=$enable_file;
7135 if test "$enableval" = yes; then
7136 wx_cv_use_file='wxUSE_FILE=yes'
7138 wx_cv_use_file='wxUSE_FILE=no'
7143 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7148 eval "$wx_cv_use_file"
7150 if test x
"$enablestring" = xdisable
; then
7151 if test $wxUSE_FILE = no
; then
7160 { echo "$as_me:$LINENO: result: $result" >&5
7161 echo "${ECHO_T}$result" >&6; }
7165 defaultval
=$wxUSE_ALL_FEATURES
7166 if test -z "$defaultval"; then
7167 if test x
"$enablestring" = xdisable
; then
7174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7175 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7176 # Check whether --enable-filehistory was given.
7177 if test "${enable_filehistory+set}" = set; then
7178 enableval
=$enable_filehistory;
7179 if test "$enableval" = yes; then
7180 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=yes'
7182 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=no'
7187 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7192 eval "$wx_cv_use_filehistory"
7194 if test x"$enablestring" = xdisable; then
7195 if test $wxUSE_FILE_HISTORY = no; then
7201 result=$wxUSE_FILE_HISTORY
7204 { echo "$as_me:$LINENO: result: $result" >&5
7205 echo "${ECHO_T}$result" >&6; }
7209 defaultval=$wxUSE_ALL_FEATURES
7210 if test -z "$defaultval"; then
7211 if test x"$enablestring" = xdisable; then
7218 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7219 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7220 # Check whether --enable-filesystem was given.
7221 if test "${enable_filesystem+set}" = set; then
7222 enableval=$enable_filesystem;
7223 if test "$enableval" = yes; then
7224 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
7226 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
7231 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7236 eval "$wx_cv_use_filesystem"
7238 if test x"$enablestring" = xdisable; then
7239 if test $wxUSE_FILESYSTEM = no; then
7245 result=$wxUSE_FILESYSTEM
7248 { echo "$as_me:$LINENO: result
: $result" >&5
7249 echo "${ECHO_T}$result" >&6; }
7253 defaultval=$wxUSE_ALL_FEATURES
7254 if test -z "$defaultval"; then
7255 if test x"$enablestring" = xdisable; then
7262 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontenum" >&5
7263 echo $ECHO_N "checking
for --${enablestring:-enable}-fontenum...
$ECHO_C" >&6; }
7264 # Check whether --enable-fontenum was given.
7265 if test "${enable_fontenum+set}" = set; then
7266 enableval=$enable_fontenum;
7267 if test "$enableval" = yes; then
7268 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7270 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7275 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7280 eval "$wx_cv_use_fontenum"
7282 if test x
"$enablestring" = xdisable
; then
7283 if test $wxUSE_FONTENUM = no
; then
7289 result
=$wxUSE_FONTENUM
7292 { echo "$as_me:$LINENO: result: $result" >&5
7293 echo "${ECHO_T}$result" >&6; }
7297 defaultval
=$wxUSE_ALL_FEATURES
7298 if test -z "$defaultval"; then
7299 if test x
"$enablestring" = xdisable
; then
7306 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7307 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7308 # Check whether --enable-fontmap was given.
7309 if test "${enable_fontmap+set}" = set; then
7310 enableval
=$enable_fontmap;
7311 if test "$enableval" = yes; then
7312 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
7314 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
7319 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7324 eval "$wx_cv_use_fontmap"
7326 if test x"$enablestring" = xdisable; then
7327 if test $wxUSE_FONTMAP = no; then
7333 result=$wxUSE_FONTMAP
7336 { echo "$as_me:$LINENO: result: $result" >&5
7337 echo "${ECHO_T}$result" >&6; }
7341 defaultval=$wxUSE_ALL_FEATURES
7342 if test -z "$defaultval"; then
7343 if test x"$enablestring" = xdisable; then
7350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7351 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7352 # Check whether --enable-fs_archive was given.
7353 if test "${enable_fs_archive+set}" = set; then
7354 enableval=$enable_fs_archive;
7355 if test "$enableval" = yes; then
7356 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
7358 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
7363 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7368 eval "$wx_cv_use_fs_archive"
7370 if test x"$enablestring" = xdisable; then
7371 if test $wxUSE_FS_ARCHIVE = no; then
7377 result=$wxUSE_FS_ARCHIVE
7380 { echo "$as_me:$LINENO: result
: $result" >&5
7381 echo "${ECHO_T}$result" >&6; }
7385 defaultval=$wxUSE_ALL_FEATURES
7386 if test -z "$defaultval"; then
7387 if test x"$enablestring" = xdisable; then
7394 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_inet" >&5
7395 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_inet...
$ECHO_C" >&6; }
7396 # Check whether --enable-fs_inet was given.
7397 if test "${enable_fs_inet+set}" = set; then
7398 enableval=$enable_fs_inet;
7399 if test "$enableval" = yes; then
7400 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7402 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7407 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7412 eval "$wx_cv_use_fs_inet"
7414 if test x
"$enablestring" = xdisable
; then
7415 if test $wxUSE_FS_INET = no
; then
7421 result
=$wxUSE_FS_INET
7424 { echo "$as_me:$LINENO: result: $result" >&5
7425 echo "${ECHO_T}$result" >&6; }
7429 defaultval
=$wxUSE_ALL_FEATURES
7430 if test -z "$defaultval"; then
7431 if test x
"$enablestring" = xdisable
; then
7438 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7439 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7440 # Check whether --enable-fs_zip was given.
7441 if test "${enable_fs_zip+set}" = set; then
7442 enableval
=$enable_fs_zip;
7443 if test "$enableval" = yes; then
7444 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
7446 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
7451 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7456 eval "$wx_cv_use_fs_zip"
7458 if test x"$enablestring" = xdisable; then
7459 if test $wxUSE_FS_ZIP = no; then
7465 result=$wxUSE_FS_ZIP
7468 { echo "$as_me:$LINENO: result: $result" >&5
7469 echo "${ECHO_T}$result" >&6; }
7473 defaultval=$wxUSE_ALL_FEATURES
7474 if test -z "$defaultval"; then
7475 if test x"$enablestring" = xdisable; then
7482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7483 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7484 # Check whether --enable-fswatcher was given.
7485 if test "${enable_fswatcher+set}" = set; then
7486 enableval=$enable_fswatcher;
7487 if test "$enableval" = yes; then
7488 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=yes'
7490 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=no
'
7495 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7500 eval "$wx_cv_use_fswatcher"
7502 if test x"$enablestring" = xdisable; then
7503 if test $wxUSE_FSWATCHER = no; then
7509 result=$wxUSE_FSWATCHER
7512 { echo "$as_me:$LINENO: result
: $result" >&5
7513 echo "${ECHO_T}$result" >&6; }
7517 defaultval=$wxUSE_ALL_FEATURES
7518 if test -z "$defaultval"; then
7519 if test x"$enablestring" = xdisable; then
7526 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-geometry" >&5
7527 echo $ECHO_N "checking
for --${enablestring:-enable}-geometry...
$ECHO_C" >&6; }
7528 # Check whether --enable-geometry was given.
7529 if test "${enable_geometry+set}" = set; then
7530 enableval=$enable_geometry;
7531 if test "$enableval" = yes; then
7532 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7534 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7539 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7544 eval "$wx_cv_use_geometry"
7546 if test x
"$enablestring" = xdisable
; then
7547 if test $wxUSE_GEOMETRY = no
; then
7553 result
=$wxUSE_GEOMETRY
7556 { echo "$as_me:$LINENO: result: $result" >&5
7557 echo "${ECHO_T}$result" >&6; }
7561 defaultval
=$wxUSE_ALL_FEATURES
7562 if test -z "$defaultval"; then
7563 if test x
"$enablestring" = xdisable
; then
7570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7571 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7572 # Check whether --enable-log was given.
7573 if test "${enable_log+set}" = set; then
7574 enableval
=$enable_log;
7575 if test "$enableval" = yes; then
7576 wx_cv_use_log
='wxUSE_LOG=yes'
7578 wx_cv_use_log
='wxUSE_LOG=no'
7583 wx_cv_use_log
='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7588 eval "$wx_cv_use_log"
7590 if test x"$enablestring" = xdisable; then
7591 if test $wxUSE_LOG = no; then
7600 { echo "$as_me:$LINENO: result: $result" >&5
7601 echo "${ECHO_T}$result" >&6; }
7605 defaultval=$wxUSE_ALL_FEATURES
7606 if test -z "$defaultval"; then
7607 if test x"$enablestring" = xdisable; then
7614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7615 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7616 # Check whether --enable-longlong was given.
7617 if test "${enable_longlong+set}" = set; then
7618 enableval=$enable_longlong;
7619 if test "$enableval" = yes; then
7620 wx_cv_use_longlong='wxUSE_LONGLONG
=yes'
7622 wx_cv_use_longlong='wxUSE_LONGLONG
=no
'
7627 wx_cv_use_longlong='wxUSE_LONGLONG
=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7632 eval "$wx_cv_use_longlong"
7634 if test x"$enablestring" = xdisable; then
7635 if test $wxUSE_LONGLONG = no; then
7641 result=$wxUSE_LONGLONG
7644 { echo "$as_me:$LINENO: result
: $result" >&5
7645 echo "${ECHO_T}$result" >&6; }
7649 defaultval=$wxUSE_ALL_FEATURES
7650 if test -z "$defaultval"; then
7651 if test x"$enablestring" = xdisable; then
7658 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mimetype" >&5
7659 echo $ECHO_N "checking
for --${enablestring:-enable}-mimetype...
$ECHO_C" >&6; }
7660 # Check whether --enable-mimetype was given.
7661 if test "${enable_mimetype+set}" = set; then
7662 enableval=$enable_mimetype;
7663 if test "$enableval" = yes; then
7664 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7666 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7671 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7676 eval "$wx_cv_use_mimetype"
7678 if test x
"$enablestring" = xdisable
; then
7679 if test $wxUSE_MIMETYPE = no
; then
7685 result
=$wxUSE_MIMETYPE
7688 { echo "$as_me:$LINENO: result: $result" >&5
7689 echo "${ECHO_T}$result" >&6; }
7693 defaultval
=$wxUSE_ALL_FEATURES
7694 if test -z "$defaultval"; then
7695 if test x
"$enablestring" = xdisable
; then
7702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7703 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7704 # Check whether --enable-printfposparam was given.
7705 if test "${enable_printfposparam+set}" = set; then
7706 enableval
=$enable_printfposparam;
7707 if test "$enableval" = yes; then
7708 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
7710 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
7715 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7720 eval "$wx_cv_use_printfposparam"
7722 if test x"$enablestring" = xdisable; then
7723 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7729 result=$wxUSE_PRINTF_POS_PARAMS
7732 { echo "$as_me:$LINENO: result: $result" >&5
7733 echo "${ECHO_T}$result" >&6; }
7737 defaultval=$wxUSE_ALL_FEATURES
7738 if test -z "$defaultval"; then
7739 if test x"$enablestring" = xdisable; then
7746 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7747 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7748 # Check whether --enable-snglinst was given.
7749 if test "${enable_snglinst+set}" = set; then
7750 enableval=$enable_snglinst;
7751 if test "$enableval" = yes; then
7752 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
7754 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
7759 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7764 eval "$wx_cv_use_snglinst"
7766 if test x"$enablestring" = xdisable; then
7767 if test $wxUSE_SNGLINST_CHECKER = no; then
7773 result=$wxUSE_SNGLINST_CHECKER
7776 { echo "$as_me:$LINENO: result
: $result" >&5
7777 echo "${ECHO_T}$result" >&6; }
7781 defaultval=$wxUSE_ALL_FEATURES
7782 if test -z "$defaultval"; then
7783 if test x"$enablestring" = xdisable; then
7790 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sound" >&5
7791 echo $ECHO_N "checking
for --${enablestring:-enable}-sound...
$ECHO_C" >&6; }
7792 # Check whether --enable-sound was given.
7793 if test "${enable_sound+set}" = set; then
7794 enableval=$enable_sound;
7795 if test "$enableval" = yes; then
7796 wx_cv_use_sound='wxUSE_SOUND=yes'
7798 wx_cv_use_sound='wxUSE_SOUND=no'
7803 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7808 eval "$wx_cv_use_sound"
7810 if test x
"$enablestring" = xdisable
; then
7811 if test $wxUSE_SOUND = no
; then
7820 { echo "$as_me:$LINENO: result: $result" >&5
7821 echo "${ECHO_T}$result" >&6; }
7825 defaultval
=$wxUSE_ALL_FEATURES
7826 if test -z "$defaultval"; then
7827 if test x
"$enablestring" = xdisable
; then
7834 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7835 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7836 # Check whether --enable-stdpaths was given.
7837 if test "${enable_stdpaths+set}" = set; then
7838 enableval
=$enable_stdpaths;
7839 if test "$enableval" = yes; then
7840 wx_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
7842 wx_cv_use_stdpaths
='wxUSE_STDPATHS=no'
7847 wx_cv_use_stdpaths
='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7852 eval "$wx_cv_use_stdpaths"
7854 if test x"$enablestring" = xdisable; then
7855 if test $wxUSE_STDPATHS = no; then
7861 result=$wxUSE_STDPATHS
7864 { echo "$as_me:$LINENO: result: $result" >&5
7865 echo "${ECHO_T}$result" >&6; }
7869 defaultval=$wxUSE_ALL_FEATURES
7870 if test -z "$defaultval"; then
7871 if test x"$enablestring" = xdisable; then
7878 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7879 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7880 # Check whether --enable-stopwatch was given.
7881 if test "${enable_stopwatch+set}" = set; then
7882 enableval=$enable_stopwatch;
7883 if test "$enableval" = yes; then
7884 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
7886 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
7891 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7896 eval "$wx_cv_use_stopwatch"
7898 if test x"$enablestring" = xdisable; then
7899 if test $wxUSE_STOPWATCH = no; then
7905 result=$wxUSE_STOPWATCH
7908 { echo "$as_me:$LINENO: result
: $result" >&5
7909 echo "${ECHO_T}$result" >&6; }
7913 defaultval=$wxUSE_ALL_FEATURES
7914 if test -z "$defaultval"; then
7915 if test x"$enablestring" = xdisable; then
7922 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-streams" >&5
7923 echo $ECHO_N "checking
for --${enablestring:-enable}-streams...
$ECHO_C" >&6; }
7924 # Check whether --enable-streams was given.
7925 if test "${enable_streams+set}" = set; then
7926 enableval=$enable_streams;
7927 if test "$enableval" = yes; then
7928 wx_cv_use_streams='wxUSE_STREAMS=yes'
7930 wx_cv_use_streams='wxUSE_STREAMS=no'
7935 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7940 eval "$wx_cv_use_streams"
7942 if test x
"$enablestring" = xdisable
; then
7943 if test $wxUSE_STREAMS = no
; then
7949 result
=$wxUSE_STREAMS
7952 { echo "$as_me:$LINENO: result: $result" >&5
7953 echo "${ECHO_T}$result" >&6; }
7957 defaultval
=$wxUSE_ALL_FEATURES
7958 if test -z "$defaultval"; then
7959 if test x
"$enablestring" = xdisable
; then
7966 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7967 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7968 # Check whether --enable-sysoptions was given.
7969 if test "${enable_sysoptions+set}" = set; then
7970 enableval
=$enable_sysoptions;
7971 if test "$enableval" = yes; then
7972 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=yes'
7974 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=no'
7979 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7984 eval "$wx_cv_use_sysoptions"
7986 if test x"$enablestring" = xdisable; then
7987 if test $wxUSE_SYSTEM_OPTIONS = no; then
7993 result=$wxUSE_SYSTEM_OPTIONS
7996 { echo "$as_me:$LINENO: result: $result" >&5
7997 echo "${ECHO_T}$result" >&6; }
8001 defaultval=$wxUSE_ALL_FEATURES
8002 if test -z "$defaultval"; then
8003 if test x"$enablestring" = xdisable; then
8010 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8011 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8012 # Check whether --enable-tarstream was given.
8013 if test "${enable_tarstream+set}" = set; then
8014 enableval=$enable_tarstream;
8015 if test "$enableval" = yes; then
8016 wx_cv_use_tarstream='wxUSE_TARSTREAM
=yes'
8018 wx_cv_use_tarstream='wxUSE_TARSTREAM
=no
'
8023 wx_cv_use_tarstream='wxUSE_TARSTREAM
=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8028 eval "$wx_cv_use_tarstream"
8030 if test x"$enablestring" = xdisable; then
8031 if test $wxUSE_TARSTREAM = no; then
8037 result=$wxUSE_TARSTREAM
8040 { echo "$as_me:$LINENO: result
: $result" >&5
8041 echo "${ECHO_T}$result" >&6; }
8045 defaultval=$wxUSE_ALL_FEATURES
8046 if test -z "$defaultval"; then
8047 if test x"$enablestring" = xdisable; then
8054 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textbuf" >&5
8055 echo $ECHO_N "checking
for --${enablestring:-enable}-textbuf...
$ECHO_C" >&6; }
8056 # Check whether --enable-textbuf was given.
8057 if test "${enable_textbuf+set}" = set; then
8058 enableval=$enable_textbuf;
8059 if test "$enableval" = yes; then
8060 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8062 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8067 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8072 eval "$wx_cv_use_textbuf"
8074 if test x
"$enablestring" = xdisable
; then
8075 if test $wxUSE_TEXTBUFFER = no
; then
8081 result
=$wxUSE_TEXTBUFFER
8084 { echo "$as_me:$LINENO: result: $result" >&5
8085 echo "${ECHO_T}$result" >&6; }
8089 defaultval
=$wxUSE_ALL_FEATURES
8090 if test -z "$defaultval"; then
8091 if test x
"$enablestring" = xdisable
; then
8098 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8099 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8100 # Check whether --enable-textfile was given.
8101 if test "${enable_textfile+set}" = set; then
8102 enableval
=$enable_textfile;
8103 if test "$enableval" = yes; then
8104 wx_cv_use_textfile
='wxUSE_TEXTFILE=yes'
8106 wx_cv_use_textfile
='wxUSE_TEXTFILE=no'
8111 wx_cv_use_textfile
='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8116 eval "$wx_cv_use_textfile"
8118 if test x"$enablestring" = xdisable; then
8119 if test $wxUSE_TEXTFILE = no; then
8125 result=$wxUSE_TEXTFILE
8128 { echo "$as_me:$LINENO: result: $result" >&5
8129 echo "${ECHO_T}$result" >&6; }
8133 defaultval=$wxUSE_ALL_FEATURES
8134 if test -z "$defaultval"; then
8135 if test x"$enablestring" = xdisable; then
8142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8143 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8144 # Check whether --enable-timer was given.
8145 if test "${enable_timer+set}" = set; then
8146 enableval=$enable_timer;
8147 if test "$enableval" = yes; then
8148 wx_cv_use_timer='wxUSE_TIMER
=yes'
8150 wx_cv_use_timer='wxUSE_TIMER
=no
'
8155 wx_cv_use_timer='wxUSE_TIMER
=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8160 eval "$wx_cv_use_timer"
8162 if test x"$enablestring" = xdisable; then
8163 if test $wxUSE_TIMER = no; then
8172 { echo "$as_me:$LINENO: result
: $result" >&5
8173 echo "${ECHO_T}$result" >&6; }
8177 defaultval=$wxUSE_ALL_FEATURES
8178 if test -z "$defaultval"; then
8179 if test x"$enablestring" = xdisable; then
8186 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-variant" >&5
8187 echo $ECHO_N "checking
for --${enablestring:-enable}-variant...
$ECHO_C" >&6; }
8188 # Check whether --enable-variant was given.
8189 if test "${enable_variant+set}" = set; then
8190 enableval=$enable_variant;
8191 if test "$enableval" = yes; then
8192 wx_cv_use_variant='wxUSE_VARIANT=yes'
8194 wx_cv_use_variant='wxUSE_VARIANT=no'
8199 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8204 eval "$wx_cv_use_variant"
8206 if test x
"$enablestring" = xdisable
; then
8207 if test $wxUSE_VARIANT = no
; then
8213 result
=$wxUSE_VARIANT
8216 { echo "$as_me:$LINENO: result: $result" >&5
8217 echo "${ECHO_T}$result" >&6; }
8221 defaultval
=$wxUSE_ALL_FEATURES
8222 if test -z "$defaultval"; then
8223 if test x
"$enablestring" = xdisable
; then
8230 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8231 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8232 # Check whether --enable-zipstream was given.
8233 if test "${enable_zipstream+set}" = set; then
8234 enableval
=$enable_zipstream;
8235 if test "$enableval" = yes; then
8236 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
8238 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
8243 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8248 eval "$wx_cv_use_zipstream"
8250 if test x"$enablestring" = xdisable; then
8251 if test $wxUSE_ZIPSTREAM = no; then
8257 result=$wxUSE_ZIPSTREAM
8260 { echo "$as_me:$LINENO: result: $result" >&5
8261 echo "${ECHO_T}$result" >&6; }
8266 defaultval=$wxUSE_ALL_FEATURES
8267 if test -z "$defaultval"; then
8268 if test x"$enablestring" = xdisable; then
8275 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8276 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8277 # Check whether --enable-url was given.
8278 if test "${enable_url+set}" = set; then
8279 enableval=$enable_url;
8280 if test "$enableval" = yes; then
8281 wx_cv_use_url='wxUSE_URL
=yes'
8283 wx_cv_use_url='wxUSE_URL
=no
'
8288 wx_cv_use_url='wxUSE_URL
=${'DEFAULT_wxUSE_URL":-$defaultval}"
8293 eval "$wx_cv_use_url"
8295 if test x"$enablestring" = xdisable; then
8296 if test $wxUSE_URL = no; then
8305 { echo "$as_me:$LINENO: result
: $result" >&5
8306 echo "${ECHO_T}$result" >&6; }
8310 defaultval=$wxUSE_ALL_FEATURES
8311 if test -z "$defaultval"; then
8312 if test x"$enablestring" = xdisable; then
8319 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol" >&5
8320 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol...
$ECHO_C" >&6; }
8321 # Check whether --enable-protocol was given.
8322 if test "${enable_protocol+set}" = set; then
8323 enableval=$enable_protocol;
8324 if test "$enableval" = yes; then
8325 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8327 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8332 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8337 eval "$wx_cv_use_protocol"
8339 if test x
"$enablestring" = xdisable
; then
8340 if test $wxUSE_PROTOCOL = no
; then
8346 result
=$wxUSE_PROTOCOL
8349 { echo "$as_me:$LINENO: result: $result" >&5
8350 echo "${ECHO_T}$result" >&6; }
8354 defaultval
=$wxUSE_ALL_FEATURES
8355 if test -z "$defaultval"; then
8356 if test x
"$enablestring" = xdisable
; then
8363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8364 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8365 # Check whether --enable-protocol_http was given.
8366 if test "${enable_protocol_http+set}" = set; then
8367 enableval
=$enable_protocol_http;
8368 if test "$enableval" = yes; then
8369 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
8371 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
8376 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8381 eval "$wx_cv_use_protocol_http"
8383 if test x"$enablestring" = xdisable; then
8384 if test $wxUSE_PROTOCOL_HTTP = no; then
8390 result=$wxUSE_PROTOCOL_HTTP
8393 { echo "$as_me:$LINENO: result: $result" >&5
8394 echo "${ECHO_T}$result" >&6; }
8398 defaultval=$wxUSE_ALL_FEATURES
8399 if test -z "$defaultval"; then
8400 if test x"$enablestring" = xdisable; then
8407 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8408 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8409 # Check whether --enable-protocol_ftp was given.
8410 if test "${enable_protocol_ftp+set}" = set; then
8411 enableval=$enable_protocol_ftp;
8412 if test "$enableval" = yes; then
8413 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
8415 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
8420 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8425 eval "$wx_cv_use_protocol_ftp"
8427 if test x"$enablestring" = xdisable; then
8428 if test $wxUSE_PROTOCOL_FTP = no; then
8434 result=$wxUSE_PROTOCOL_FTP
8437 { echo "$as_me:$LINENO: result
: $result" >&5
8438 echo "${ECHO_T}$result" >&6; }
8442 defaultval=$wxUSE_ALL_FEATURES
8443 if test -z "$defaultval"; then
8444 if test x"$enablestring" = xdisable; then
8451 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_file" >&5
8452 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_file...
$ECHO_C" >&6; }
8453 # Check whether --enable-protocol_file was given.
8454 if test "${enable_protocol_file+set}" = set; then
8455 enableval=$enable_protocol_file;
8456 if test "$enableval" = yes; then
8457 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8459 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8464 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8469 eval "$wx_cv_use_protocol_file"
8471 if test x
"$enablestring" = xdisable
; then
8472 if test $wxUSE_PROTOCOL_FILE = no
; then
8478 result
=$wxUSE_PROTOCOL_FILE
8481 { echo "$as_me:$LINENO: result: $result" >&5
8482 echo "${ECHO_T}$result" >&6; }
8487 defaultval
=$wxUSE_ALL_FEATURES
8488 if test -z "$defaultval"; then
8489 if test x
"$enablestring" = xdisable
; then
8496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8497 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8498 # Check whether --enable-threads was given.
8499 if test "${enable_threads+set}" = set; then
8500 enableval
=$enable_threads;
8501 if test "$enableval" = yes; then
8502 wx_cv_use_threads
='wxUSE_THREADS=yes'
8504 wx_cv_use_threads
='wxUSE_THREADS=no'
8509 wx_cv_use_threads
='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8514 eval "$wx_cv_use_threads"
8516 if test x"$enablestring" = xdisable; then
8517 if test $wxUSE_THREADS = no; then
8523 result=$wxUSE_THREADS
8526 { echo "$as_me:$LINENO: result: $result" >&5
8527 echo "${ECHO_T}$result" >&6; }
8533 if test -z "$defaultval"; then
8534 if test x"$enablestring" = xdisable; then
8541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8542 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8543 # Check whether --enable-iniconf was given.
8544 if test "${enable_iniconf+set}" = set; then
8545 enableval=$enable_iniconf;
8546 if test "$enableval" = yes; then
8547 wx_cv_use_iniconf='wxUSE_INICONF
=yes'
8549 wx_cv_use_iniconf='wxUSE_INICONF
=no
'
8554 wx_cv_use_iniconf='wxUSE_INICONF
=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8559 eval "$wx_cv_use_iniconf"
8561 if test x"$enablestring" = xdisable; then
8562 if test $wxUSE_INICONF = no; then
8568 result=$wxUSE_INICONF
8571 { echo "$as_me:$LINENO: result
: $result" >&5
8572 echo "${ECHO_T}$result" >&6; }
8576 defaultval=$wxUSE_ALL_FEATURES
8577 if test -z "$defaultval"; then
8578 if test x"$enablestring" = xdisable; then
8585 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-regkey" >&5
8586 echo $ECHO_N "checking
for --${enablestring:-enable}-regkey...
$ECHO_C" >&6; }
8587 # Check whether --enable-regkey was given.
8588 if test "${enable_regkey+set}" = set; then
8589 enableval=$enable_regkey;
8590 if test "$enableval" = yes; then
8591 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8593 wx_cv_use_regkey='wxUSE_REGKEY=no'
8598 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8603 eval "$wx_cv_use_regkey"
8605 if test x
"$enablestring" = xdisable
; then
8606 if test $wxUSE_REGKEY = no
; then
8612 result
=$wxUSE_REGKEY
8615 { echo "$as_me:$LINENO: result: $result" >&5
8616 echo "${ECHO_T}$result" >&6; }
8619 if test "$wxUSE_GUI" = "yes"; then
8624 defaultval
=$wxUSE_ALL_FEATURES
8625 if test -z "$defaultval"; then
8626 if test x
"$enablestring" = xdisable
; then
8633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8634 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8635 # Check whether --enable-docview was given.
8636 if test "${enable_docview+set}" = set; then
8637 enableval
=$enable_docview;
8638 if test "$enableval" = yes; then
8639 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8641 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8646 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8651 eval "$wx_cv_use_docview"
8653 if test x"$enablestring" = xdisable; then
8654 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8660 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8663 { echo "$as_me:$LINENO: result: $result" >&5
8664 echo "${ECHO_T}$result" >&6; }
8668 defaultval=$wxUSE_ALL_FEATURES
8669 if test -z "$defaultval"; then
8670 if test x"$enablestring" = xdisable; then
8677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8678 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8679 # Check whether --enable-help was given.
8680 if test "${enable_help+set}" = set; then
8681 enableval=$enable_help;
8682 if test "$enableval" = yes; then
8683 wx_cv_use_help='wxUSE_HELP
=yes'
8685 wx_cv_use_help='wxUSE_HELP
=no
'
8690 wx_cv_use_help='wxUSE_HELP
=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8695 eval "$wx_cv_use_help"
8697 if test x"$enablestring" = xdisable; then
8698 if test $wxUSE_HELP = no; then
8707 { echo "$as_me:$LINENO: result
: $result" >&5
8708 echo "${ECHO_T}$result" >&6; }
8712 defaultval=$wxUSE_ALL_FEATURES
8713 if test -z "$defaultval"; then
8714 if test x"$enablestring" = xdisable; then
8721 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mshtmlhelp" >&5
8722 echo $ECHO_N "checking
for --${enablestring:-enable}-mshtmlhelp...
$ECHO_C" >&6; }
8723 # Check whether --enable-mshtmlhelp was given.
8724 if test "${enable_mshtmlhelp+set}" = set; then
8725 enableval=$enable_mshtmlhelp;
8726 if test "$enableval" = yes; then
8727 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8729 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8734 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8739 eval "$wx_cv_use_mshtmlhelp"
8741 if test x
"$enablestring" = xdisable
; then
8742 if test $wxUSE_MS_HTML_HELP = no
; then
8748 result
=$wxUSE_MS_HTML_HELP
8751 { echo "$as_me:$LINENO: result: $result" >&5
8752 echo "${ECHO_T}$result" >&6; }
8756 defaultval
=$wxUSE_ALL_FEATURES
8757 if test -z "$defaultval"; then
8758 if test x
"$enablestring" = xdisable
; then
8765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8766 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8767 # Check whether --enable-html was given.
8768 if test "${enable_html+set}" = set; then
8769 enableval
=$enable_html;
8770 if test "$enableval" = yes; then
8771 wx_cv_use_html
='wxUSE_HTML=yes'
8773 wx_cv_use_html
='wxUSE_HTML=no'
8778 wx_cv_use_html
='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8783 eval "$wx_cv_use_html"
8785 if test x"$enablestring" = xdisable; then
8786 if test $wxUSE_HTML = no; then
8795 { echo "$as_me:$LINENO: result: $result" >&5
8796 echo "${ECHO_T}$result" >&6; }
8800 defaultval=$wxUSE_ALL_FEATURES
8801 if test -z "$defaultval"; then
8802 if test x"$enablestring" = xdisable; then
8809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8810 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8811 # Check whether --enable-htmlhelp was given.
8812 if test "${enable_htmlhelp+set}" = set; then
8813 enableval=$enable_htmlhelp;
8814 if test "$enableval" = yes; then
8815 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
8817 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
8822 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8827 eval "$wx_cv_use_htmlhelp"
8829 if test x"$enablestring" = xdisable; then
8830 if test $wxUSE_WXHTML_HELP = no; then
8836 result=$wxUSE_WXHTML_HELP
8839 { echo "$as_me:$LINENO: result
: $result" >&5
8840 echo "${ECHO_T}$result" >&6; }
8844 defaultval=$wxUSE_ALL_FEATURES
8845 if test -z "$defaultval"; then
8846 if test x"$enablestring" = xdisable; then
8853 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xrc" >&5
8854 echo $ECHO_N "checking
for --${enablestring:-enable}-xrc...
$ECHO_C" >&6; }
8855 # Check whether --enable-xrc was given.
8856 if test "${enable_xrc+set}" = set; then
8857 enableval=$enable_xrc;
8858 if test "$enableval" = yes; then
8859 wx_cv_use_xrc='wxUSE_XRC=yes'
8861 wx_cv_use_xrc='wxUSE_XRC=no'
8866 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8871 eval "$wx_cv_use_xrc"
8873 if test x
"$enablestring" = xdisable
; then
8874 if test $wxUSE_XRC = no
; then
8883 { echo "$as_me:$LINENO: result: $result" >&5
8884 echo "${ECHO_T}$result" >&6; }
8888 defaultval
=$wxUSE_ALL_FEATURES
8889 if test -z "$defaultval"; then
8890 if test x
"$enablestring" = xdisable
; then
8897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8898 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8899 # Check whether --enable-aui was given.
8900 if test "${enable_aui+set}" = set; then
8901 enableval
=$enable_aui;
8902 if test "$enableval" = yes; then
8903 wx_cv_use_aui
='wxUSE_AUI=yes'
8905 wx_cv_use_aui
='wxUSE_AUI=no'
8910 wx_cv_use_aui
='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8915 eval "$wx_cv_use_aui"
8917 if test x"$enablestring" = xdisable; then
8918 if test $wxUSE_AUI = no; then
8927 { echo "$as_me:$LINENO: result: $result" >&5
8928 echo "${ECHO_T}$result" >&6; }
8932 defaultval=$wxUSE_ALL_FEATURES
8933 if test -z "$defaultval"; then
8934 if test x"$enablestring" = xdisable; then
8941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8942 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8943 # Check whether --enable-propgrid was given.
8944 if test "${enable_propgrid+set}" = set; then
8945 enableval=$enable_propgrid;
8946 if test "$enableval" = yes; then
8947 wx_cv_use_propgrid='wxUSE_PROPGRID
=yes'
8949 wx_cv_use_propgrid='wxUSE_PROPGRID
=no
'
8954 wx_cv_use_propgrid='wxUSE_PROPGRID
=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8959 eval "$wx_cv_use_propgrid"
8961 if test x"$enablestring" = xdisable; then
8962 if test $wxUSE_PROPGRID = no; then
8968 result=$wxUSE_PROPGRID
8971 { echo "$as_me:$LINENO: result
: $result" >&5
8972 echo "${ECHO_T}$result" >&6; }
8976 defaultval=$wxUSE_ALL_FEATURES
8977 if test -z "$defaultval"; then
8978 if test x"$enablestring" = xdisable; then
8985 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ribbon" >&5
8986 echo $ECHO_N "checking
for --${enablestring:-enable}-ribbon...
$ECHO_C" >&6; }
8987 # Check whether --enable-ribbon was given.
8988 if test "${enable_ribbon+set}" = set; then
8989 enableval=$enable_ribbon;
8990 if test "$enableval" = yes; then
8991 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8993 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8998 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
9003 eval "$wx_cv_use_ribbon"
9005 if test x
"$enablestring" = xdisable
; then
9006 if test $wxUSE_RIBBON = no
; then
9012 result
=$wxUSE_RIBBON
9015 { echo "$as_me:$LINENO: result: $result" >&5
9016 echo "${ECHO_T}$result" >&6; }
9020 defaultval
=$wxUSE_ALL_FEATURES
9021 if test -z "$defaultval"; then
9022 if test x
"$enablestring" = xdisable
; then
9029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9030 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9031 # Check whether --enable-stc was given.
9032 if test "${enable_stc+set}" = set; then
9033 enableval
=$enable_stc;
9034 if test "$enableval" = yes; then
9035 wx_cv_use_stc
='wxUSE_STC=yes'
9037 wx_cv_use_stc
='wxUSE_STC=no'
9042 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9047 eval "$wx_cv_use_stc"
9049 if test x"$enablestring" = xdisable; then
9050 if test $wxUSE_STC = no; then
9059 { echo "$as_me:$LINENO: result: $result" >&5
9060 echo "${ECHO_T}$result" >&6; }
9064 defaultval=$wxUSE_ALL_FEATURES
9065 if test -z "$defaultval"; then
9066 if test x"$enablestring" = xdisable; then
9073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9074 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9075 # Check whether --enable-constraints was given.
9076 if test "${enable_constraints+set}" = set; then
9077 enableval=$enable_constraints;
9078 if test "$enableval" = yes; then
9079 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
9081 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
9086 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9091 eval "$wx_cv_use_constraints"
9093 if test x"$enablestring" = xdisable; then
9094 if test $wxUSE_CONSTRAINTS = no; then
9100 result=$wxUSE_CONSTRAINTS
9103 { echo "$as_me:$LINENO: result
: $result" >&5
9104 echo "${ECHO_T}$result" >&6; }
9108 defaultval=$wxUSE_ALL_FEATURES
9109 if test -z "$defaultval"; then
9110 if test x"$enablestring" = xdisable; then
9117 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-loggui" >&5
9118 echo $ECHO_N "checking
for --${enablestring:-enable}-loggui...
$ECHO_C" >&6; }
9119 # Check whether --enable-loggui was given.
9120 if test "${enable_loggui+set}" = set; then
9121 enableval=$enable_loggui;
9122 if test "$enableval" = yes; then
9123 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9125 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9130 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9135 eval "$wx_cv_use_loggui"
9137 if test x
"$enablestring" = xdisable
; then
9138 if test $wxUSE_LOGGUI = no
; then
9144 result
=$wxUSE_LOGGUI
9147 { echo "$as_me:$LINENO: result: $result" >&5
9148 echo "${ECHO_T}$result" >&6; }
9152 defaultval
=$wxUSE_ALL_FEATURES
9153 if test -z "$defaultval"; then
9154 if test x
"$enablestring" = xdisable
; then
9161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9162 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9163 # Check whether --enable-logwin was given.
9164 if test "${enable_logwin+set}" = set; then
9165 enableval
=$enable_logwin;
9166 if test "$enableval" = yes; then
9167 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
9169 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
9174 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9179 eval "$wx_cv_use_logwin"
9181 if test x"$enablestring" = xdisable; then
9182 if test $wxUSE_LOGWINDOW = no; then
9188 result=$wxUSE_LOGWINDOW
9191 { echo "$as_me:$LINENO: result: $result" >&5
9192 echo "${ECHO_T}$result" >&6; }
9196 defaultval=$wxUSE_ALL_FEATURES
9197 if test -z "$defaultval"; then
9198 if test x"$enablestring" = xdisable; then
9205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9206 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9207 # Check whether --enable-logdialog was given.
9208 if test "${enable_logdialog+set}" = set; then
9209 enableval=$enable_logdialog;
9210 if test "$enableval" = yes; then
9211 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
9213 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
9218 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9223 eval "$wx_cv_use_logdialog"
9225 if test x"$enablestring" = xdisable; then
9226 if test $wxUSE_LOGDIALOG = no; then
9232 result=$wxUSE_LOGDIALOG
9235 { echo "$as_me:$LINENO: result
: $result" >&5
9236 echo "${ECHO_T}$result" >&6; }
9240 defaultval=$wxUSE_ALL_FEATURES
9241 if test -z "$defaultval"; then
9242 if test x"$enablestring" = xdisable; then
9249 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdi" >&5
9250 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
9251 # Check whether --enable-mdi was given.
9252 if test "${enable_mdi+set}" = set; then
9253 enableval=$enable_mdi;
9254 if test "$enableval" = yes; then
9255 wx_cv_use_mdi='wxUSE_MDI=yes'
9257 wx_cv_use_mdi='wxUSE_MDI=no'
9262 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9267 eval "$wx_cv_use_mdi"
9269 if test x
"$enablestring" = xdisable
; then
9270 if test $wxUSE_MDI = no
; then
9279 { echo "$as_me:$LINENO: result: $result" >&5
9280 echo "${ECHO_T}$result" >&6; }
9284 defaultval
=$wxUSE_ALL_FEATURES
9285 if test -z "$defaultval"; then
9286 if test x
"$enablestring" = xdisable
; then
9293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9294 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9295 # Check whether --enable-mdidoc was given.
9296 if test "${enable_mdidoc+set}" = set; then
9297 enableval
=$enable_mdidoc;
9298 if test "$enableval" = yes; then
9299 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
9301 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
9306 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9311 eval "$wx_cv_use_mdidoc"
9313 if test x"$enablestring" = xdisable; then
9314 if test $wxUSE_MDI_ARCHITECTURE = no; then
9320 result=$wxUSE_MDI_ARCHITECTURE
9323 { echo "$as_me:$LINENO: result: $result" >&5
9324 echo "${ECHO_T}$result" >&6; }
9328 defaultval=$wxUSE_ALL_FEATURES
9329 if test -z "$defaultval"; then
9330 if test x"$enablestring" = xdisable; then
9337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9338 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9339 # Check whether --enable-mediactrl was given.
9340 if test "${enable_mediactrl+set}" = set; then
9341 enableval=$enable_mediactrl;
9342 if test "$enableval" = yes; then
9343 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
9345 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
9350 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9355 eval "$wx_cv_use_mediactrl"
9357 if test x"$enablestring" = xdisable; then
9358 if test $wxUSE_MEDIACTRL = no; then
9364 result=$wxUSE_MEDIACTRL
9367 { echo "$as_me:$LINENO: result
: $result" >&5
9368 echo "${ECHO_T}$result" >&6; }
9372 defaultval=$wxUSE_ALL_FEATURES
9373 if test -z "$defaultval"; then
9374 if test x"$enablestring" = xdisable; then
9381 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gstreamer8" >&5
9382 echo $ECHO_N "checking
for --${enablestring:-enable}-gstreamer8...
$ECHO_C" >&6; }
9383 # Check whether --enable-gstreamer8 was given.
9384 if test "${enable_gstreamer8+set}" = set; then
9385 enableval=$enable_gstreamer8;
9386 if test "$enableval" = yes; then
9387 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9389 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9394 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9399 eval "$wx_cv_use_gstreamer8"
9401 if test x
"$enablestring" = xdisable
; then
9402 if test $wxUSE_GSTREAMER8 = no
; then
9408 result
=$wxUSE_GSTREAMER8
9411 { echo "$as_me:$LINENO: result: $result" >&5
9412 echo "${ECHO_T}$result" >&6; }
9416 defaultval
=$wxUSE_ALL_FEATURES
9417 if test -z "$defaultval"; then
9418 if test x
"$enablestring" = xdisable
; then
9425 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9426 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9427 # Check whether --enable-richtext was given.
9428 if test "${enable_richtext+set}" = set; then
9429 enableval
=$enable_richtext;
9430 if test "$enableval" = yes; then
9431 wx_cv_use_richtext
='wxUSE_RICHTEXT=yes'
9433 wx_cv_use_richtext
='wxUSE_RICHTEXT=no'
9438 wx_cv_use_richtext
='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9443 eval "$wx_cv_use_richtext"
9445 if test x"$enablestring" = xdisable; then
9446 if test $wxUSE_RICHTEXT = no; then
9452 result=$wxUSE_RICHTEXT
9455 { echo "$as_me:$LINENO: result: $result" >&5
9456 echo "${ECHO_T}$result" >&6; }
9460 defaultval=$wxUSE_ALL_FEATURES
9461 if test -z "$defaultval"; then
9462 if test x"$enablestring" = xdisable; then
9469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9470 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9471 # Check whether --enable-postscript was given.
9472 if test "${enable_postscript+set}" = set; then
9473 enableval=$enable_postscript;
9474 if test "$enableval" = yes; then
9475 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
9477 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
9482 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9487 eval "$wx_cv_use_postscript"
9489 if test x"$enablestring" = xdisable; then
9490 if test $wxUSE_POSTSCRIPT = no; then
9496 result=$wxUSE_POSTSCRIPT
9499 { echo "$as_me:$LINENO: result
: $result" >&5
9500 echo "${ECHO_T}$result" >&6; }
9504 defaultval=$wxUSE_ALL_FEATURES
9505 if test -z "$defaultval"; then
9506 if test x"$enablestring" = xdisable; then
9513 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-printarch" >&5
9514 echo $ECHO_N "checking
for --${enablestring:-enable}-printarch...
$ECHO_C" >&6; }
9515 # Check whether --enable-printarch was given.
9516 if test "${enable_printarch+set}" = set; then
9517 enableval=$enable_printarch;
9518 if test "$enableval" = yes; then
9519 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9521 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9526 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9531 eval "$wx_cv_use_printarch"
9533 if test x
"$enablestring" = xdisable
; then
9534 if test $wxUSE_PRINTING_ARCHITECTURE = no
; then
9540 result
=$wxUSE_PRINTING_ARCHITECTURE
9543 { echo "$as_me:$LINENO: result: $result" >&5
9544 echo "${ECHO_T}$result" >&6; }
9548 defaultval
=$wxUSE_ALL_FEATURES
9549 if test -z "$defaultval"; then
9550 if test x
"$enablestring" = xdisable
; then
9557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9558 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9559 # Check whether --enable-svg was given.
9560 if test "${enable_svg+set}" = set; then
9561 enableval
=$enable_svg;
9562 if test "$enableval" = yes; then
9563 wx_cv_use_svg
='wxUSE_SVG=yes'
9565 wx_cv_use_svg
='wxUSE_SVG=no'
9570 wx_cv_use_svg
='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9575 eval "$wx_cv_use_svg"
9577 if test x"$enablestring" = xdisable; then
9578 if test $wxUSE_SVG = no; then
9587 { echo "$as_me:$LINENO: result: $result" >&5
9588 echo "${ECHO_T}$result" >&6; }
9592 defaultval=$wxUSE_ALL_FEATURES
9593 if test -z "$defaultval"; then
9594 if test x"$enablestring" = xdisable; then
9601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9602 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9603 # Check whether --enable-webkit was given.
9604 if test "${enable_webkit+set}" = set; then
9605 enableval=$enable_webkit;
9606 if test "$enableval" = yes; then
9607 wx_cv_use_webkit='wxUSE_WEBKIT
=yes'
9609 wx_cv_use_webkit='wxUSE_WEBKIT
=no
'
9614 wx_cv_use_webkit='wxUSE_WEBKIT
=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9619 eval "$wx_cv_use_webkit"
9621 if test x"$enablestring" = xdisable; then
9622 if test $wxUSE_WEBKIT = no; then
9628 result=$wxUSE_WEBKIT
9631 { echo "$as_me:$LINENO: result
: $result" >&5
9632 echo "${ECHO_T}$result" >&6; }
9636 defaultval=$wxUSE_ALL_FEATURES
9637 if test -z "$defaultval"; then
9638 if test x"$enablestring" = xdisable; then
9645 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-webview" >&5
9646 echo $ECHO_N "checking
for --${enablestring:-enable}-webview...
$ECHO_C" >&6; }
9647 # Check whether --enable-webview was given.
9648 if test "${enable_webview+set}" = set; then
9649 enableval=$enable_webview;
9650 if test "$enableval" = yes; then
9651 wx_cv_use_webview='wxUSE_WEBVIEW=yes'
9653 wx_cv_use_webview='wxUSE_WEBVIEW=no'
9658 wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
9663 eval "$wx_cv_use_webview"
9665 if test x
"$enablestring" = xdisable
; then
9666 if test $wxUSE_WEBVIEW = no
; then
9672 result
=$wxUSE_WEBVIEW
9675 { echo "$as_me:$LINENO: result: $result" >&5
9676 echo "${ECHO_T}$result" >&6; }
9679 if test "$wxUSE_MAC" != 1; then
9682 defaultval
=$wxUSE_ALL_FEATURES
9683 if test -z "$defaultval"; then
9684 if test x
"$enablestring" = xdisable
; then
9691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9692 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9693 # Check whether --enable-graphics_ctx was given.
9694 if test "${enable_graphics_ctx+set}" = set; then
9695 enableval
=$enable_graphics_ctx;
9696 if test "$enableval" = yes; then
9697 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
9699 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
9704 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9709 eval "$wx_cv_use_graphics_ctx"
9711 if test x"$enablestring" = xdisable; then
9712 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9718 result=$wxUSE_GRAPHICS_CONTEXT
9721 { echo "$as_me:$LINENO: result: $result" >&5
9722 echo "${ECHO_T}$result" >&6; }
9729 defaultval=$wxUSE_ALL_FEATURES
9730 if test -z "$defaultval"; then
9731 if test x"$enablestring" = xdisable; then
9738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9739 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9740 # Check whether --enable-clipboard was given.
9741 if test "${enable_clipboard+set}" = set; then
9742 enableval=$enable_clipboard;
9743 if test "$enableval" = yes; then
9744 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
9746 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
9751 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9756 eval "$wx_cv_use_clipboard"
9758 if test x"$enablestring" = xdisable; then
9759 if test $wxUSE_CLIPBOARD = no; then
9765 result=$wxUSE_CLIPBOARD
9768 { echo "$as_me:$LINENO: result
: $result" >&5
9769 echo "${ECHO_T}$result" >&6; }
9773 defaultval=$wxUSE_ALL_FEATURES
9774 if test -z "$defaultval"; then
9775 if test x"$enablestring" = xdisable; then
9782 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dnd" >&5
9783 echo $ECHO_N "checking
for --${enablestring:-enable}-dnd...
$ECHO_C" >&6; }
9784 # Check whether --enable-dnd was given.
9785 if test "${enable_dnd+set}" = set; then
9786 enableval=$enable_dnd;
9787 if test "$enableval" = yes; then
9788 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9790 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9795 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9800 eval "$wx_cv_use_dnd"
9802 if test x
"$enablestring" = xdisable
; then
9803 if test $wxUSE_DRAG_AND_DROP = no
; then
9809 result
=$wxUSE_DRAG_AND_DROP
9812 { echo "$as_me:$LINENO: result: $result" >&5
9813 echo "${ECHO_T}$result" >&6; }
9817 DEFAULT_wxUSE_CONTROLS
=none
9819 enablestring
=disable
9821 if test -z "$defaultval"; then
9822 if test x
"$enablestring" = xdisable
; then
9829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9830 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9831 # Check whether --enable-controls was given.
9832 if test "${enable_controls+set}" = set; then
9833 enableval
=$enable_controls;
9834 if test "$enableval" = yes; then
9835 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9837 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9842 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9847 eval "$wx_cv_use_controls"
9849 if test x"$enablestring" = xdisable; then
9850 if test $wxUSE_CONTROLS = no; then
9856 result=$wxUSE_CONTROLS
9859 { echo "$as_me:$LINENO: result: $result" >&5
9860 echo "${ECHO_T}$result" >&6; }
9863 if test "$wxUSE_CONTROLS" = "no"; then
9864 DEFAULT_wxUSE_ACCEL=no
9865 DEFAULT_wxUSE_ANIMATIONCTRL=no
9866 DEFAULT_wxUSE_BANNERWINDOW=no
9867 DEFAULT_wxUSE_BMPBUTTON=no
9868 DEFAULT_wxUSE_BUTTON=no
9869 DEFAULT_wxUSE_CALCTRL=no
9870 DEFAULT_wxUSE_CARET=no
9871 DEFAULT_wxUSE_CHECKBOX=no
9872 DEFAULT_wxUSE_CHECKLISTBOX=no
9873 DEFAULT_wxUSE_CHOICE=no
9874 DEFAULT_wxUSE_CHOICEBOOK=no
9875 DEFAULT_wxUSE_COLLPANE=no
9876 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9877 DEFAULT_wxUSE_COMBOBOX=no
9878 DEFAULT_wxUSE_COMBOBOX=no
9879 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9880 DEFAULT_wxUSE_DATAVIEWCTRL=no
9881 DEFAULT_wxUSE_DATEPICKCTRL=no
9882 DEFAULT_wxUSE_DETECT_SM=no
9883 DEFAULT_wxUSE_DIRPICKERCTRL=no
9884 DEFAULT_wxUSE_DISPLAY=no
9885 DEFAULT_wxUSE_FILECTRL=no
9886 DEFAULT_wxUSE_FILEPICKERCTRL=no
9887 DEFAULT_wxUSE_FONTPICKERCTRL=no
9888 DEFAULT_wxUSE_GAUGE=no
9889 DEFAULT_wxUSE_GRID=no
9890 DEFAULT_wxUSE_HEADERCTRL=no
9891 DEFAULT_wxUSE_HYPERLINKCTRL=no
9892 DEFAULT_wxUSE_IMAGLIST=no
9893 DEFAULT_wxUSE_LISTBOOK=no
9894 DEFAULT_wxUSE_LISTBOX=no
9895 DEFAULT_wxUSE_LISTCTRL=no
9896 DEFAULT_wxUSE_MARKUP=no
9897 DEFAULT_wxUSE_NOTEBOOK=no
9898 DEFAULT_wxUSE_POPUPWIN=no
9899 DEFAULT_wxUSE_RADIOBOX=no
9900 DEFAULT_wxUSE_RADIOBTN=no
9901 DEFAULT_wxUSE_RICHMSGDLG=no
9902 DEFAULT_wxUSE_REARRANGECTRL=no
9903 DEFAULT_wxUSE_SASH=no
9904 DEFAULT_wxUSE_SCROLLBAR=no
9905 DEFAULT_wxUSE_SEARCHCTRL=no
9906 DEFAULT_wxUSE_SLIDER=no
9907 DEFAULT_wxUSE_SPINBTN=no
9908 DEFAULT_wxUSE_SPINCTRL=no
9909 DEFAULT_wxUSE_SPLITTER=no
9910 DEFAULT_wxUSE_STATBMP=no
9911 DEFAULT_wxUSE_STATBOX=no
9912 DEFAULT_wxUSE_STATLINE=no
9913 DEFAULT_wxUSE_STATUSBAR=no
9914 DEFAULT_wxUSE_TIPWINDOW=no
9915 DEFAULT_wxUSE_TOGGLEBTN=no
9916 DEFAULT_wxUSE_TOOLBAR=no
9917 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9918 DEFAULT_wxUSE_TOOLBOOK=no
9919 DEFAULT_wxUSE_TOOLTIPS=no
9920 DEFAULT_wxUSE_TREEBOOK=no
9921 DEFAULT_wxUSE_TREECTRL=no
9922 DEFAULT_wxUSE_TREELISTCTRL=no
9927 defaultval=$wxUSE_ALL_FEATURES
9928 if test -z "$defaultval"; then
9929 if test x"$enablestring" = xdisable; then
9936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-markup" >&5
9937 echo $ECHO_N "checking for --${enablestring:-enable}-markup... $ECHO_C" >&6; }
9938 # Check whether --enable-markup was given.
9939 if test "${enable_markup+set}" = set; then
9940 enableval=$enable_markup;
9941 if test "$enableval" = yes; then
9942 wx_cv_use_markup='wxUSE_MARKUP
=yes'
9944 wx_cv_use_markup='wxUSE_MARKUP
=no
'
9949 wx_cv_use_markup='wxUSE_MARKUP
=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
9954 eval "$wx_cv_use_markup"
9956 if test x"$enablestring" = xdisable; then
9957 if test $wxUSE_MARKUP = no; then
9963 result=$wxUSE_MARKUP
9966 { echo "$as_me:$LINENO: result
: $result" >&5
9967 echo "${ECHO_T}$result" >&6; }
9972 defaultval=$wxUSE_ALL_FEATURES
9973 if test -z "$defaultval"; then
9974 if test x"$enablestring" = xdisable; then
9981 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accel" >&5
9982 echo $ECHO_N "checking
for --${enablestring:-enable}-accel...
$ECHO_C" >&6; }
9983 # Check whether --enable-accel was given.
9984 if test "${enable_accel+set}" = set; then
9985 enableval=$enable_accel;
9986 if test "$enableval" = yes; then
9987 wx_cv_use_accel='wxUSE_ACCEL=yes'
9989 wx_cv_use_accel='wxUSE_ACCEL=no'
9994 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9999 eval "$wx_cv_use_accel"
10001 if test x
"$enablestring" = xdisable
; then
10002 if test $wxUSE_ACCEL = no
; then
10008 result
=$wxUSE_ACCEL
10011 { echo "$as_me:$LINENO: result: $result" >&5
10012 echo "${ECHO_T}$result" >&6; }
10016 defaultval
=$wxUSE_ALL_FEATURES
10017 if test -z "$defaultval"; then
10018 if test x
"$enablestring" = xdisable
; then
10025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10026 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10027 # Check whether --enable-animatectrl was given.
10028 if test "${enable_animatectrl+set}" = set; then
10029 enableval
=$enable_animatectrl;
10030 if test "$enableval" = yes; then
10031 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
10033 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
10038 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10043 eval "$wx_cv_use_animatectrl"
10045 if test x"$enablestring" = xdisable; then
10046 if test $wxUSE_ANIMATIONCTRL = no; then
10052 result=$wxUSE_ANIMATIONCTRL
10055 { echo "$as_me:$LINENO: result: $result" >&5
10056 echo "${ECHO_T}$result" >&6; }
10060 defaultval=$wxUSE_ALL_FEATURES
10061 if test -z "$defaultval"; then
10062 if test x"$enablestring" = xdisable; then
10069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bannerwindow" >&5
10070 echo $ECHO_N "checking for --${enablestring:-enable}-bannerwindow... $ECHO_C" >&6; }
10071 # Check whether --enable-bannerwindow was given.
10072 if test "${enable_bannerwindow+set}" = set; then
10073 enableval=$enable_bannerwindow;
10074 if test "$enableval" = yes; then
10075 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=yes'
10077 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=no
'
10082 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
10087 eval "$wx_cv_use_bannerwindow"
10089 if test x"$enablestring" = xdisable; then
10090 if test $wxUSE_BANNERWINDOW = no; then
10096 result=$wxUSE_BANNERWINDOW
10099 { echo "$as_me:$LINENO: result
: $result" >&5
10100 echo "${ECHO_T}$result" >&6; }
10104 defaultval=$wxUSE_ALL_FEATURES
10105 if test -z "$defaultval"; then
10106 if test x"$enablestring" = xdisable; then
10113 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-artstd" >&5
10114 echo $ECHO_N "checking
for --${enablestring:-enable}-artstd...
$ECHO_C" >&6; }
10115 # Check whether --enable-artstd was given.
10116 if test "${enable_artstd+set}" = set; then
10117 enableval=$enable_artstd;
10118 if test "$enableval" = yes; then
10119 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
10121 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
10126 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
10131 eval "$wx_cv_use_artstd"
10133 if test x
"$enablestring" = xdisable
; then
10134 if test $wxUSE_ARTPROVIDER_STD = no
; then
10140 result
=$wxUSE_ARTPROVIDER_STD
10143 { echo "$as_me:$LINENO: result: $result" >&5
10144 echo "${ECHO_T}$result" >&6; }
10148 defaultval
=$wxUSE_ALL_FEATURES
10149 if test -z "$defaultval"; then
10150 if test x
"$enablestring" = xdisable
; then
10157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arttango" >&5
10158 echo $ECHO_N "checking for --${enablestring:-enable}-arttango... $ECHO_C" >&6; }
10159 # Check whether --enable-arttango was given.
10160 if test "${enable_arttango+set}" = set; then
10161 enableval
=$enable_arttango;
10162 if test "$enableval" = yes; then
10163 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=yes'
10165 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=no'
10170 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
10175 eval "$wx_cv_use_arttango"
10177 if test x"$enablestring" = xdisable; then
10178 if test $wxUSE_ARTPROVIDER_TANGO = no; then
10184 result=$wxUSE_ARTPROVIDER_TANGO
10187 { echo "$as_me:$LINENO: result: $result" >&5
10188 echo "${ECHO_T}$result" >&6; }
10192 defaultval=$wxUSE_ALL_FEATURES
10193 if test -z "$defaultval"; then
10194 if test x"$enablestring" = xdisable; then
10201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10202 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10203 # Check whether --enable-bmpbutton was given.
10204 if test "${enable_bmpbutton+set}" = set; then
10205 enableval=$enable_bmpbutton;
10206 if test "$enableval" = yes; then
10207 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
10209 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
10214 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10219 eval "$wx_cv_use_bmpbutton"
10221 if test x"$enablestring" = xdisable; then
10222 if test $wxUSE_BMPBUTTON = no; then
10228 result=$wxUSE_BMPBUTTON
10231 { echo "$as_me:$LINENO: result
: $result" >&5
10232 echo "${ECHO_T}$result" >&6; }
10236 defaultval=$wxUSE_ALL_FEATURES
10237 if test -z "$defaultval"; then
10238 if test x"$enablestring" = xdisable; then
10245 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-bmpcombobox" >&5
10246 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpcombobox...
$ECHO_C" >&6; }
10247 # Check whether --enable-bmpcombobox was given.
10248 if test "${enable_bmpcombobox+set}" = set; then
10249 enableval=$enable_bmpcombobox;
10250 if test "$enableval" = yes; then
10251 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10253 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10258 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10263 eval "$wx_cv_use_bmpcombobox"
10265 if test x
"$enablestring" = xdisable
; then
10266 if test $wxUSE_BITMAPCOMBOBOX = no
; then
10272 result
=$wxUSE_BITMAPCOMBOBOX
10275 { echo "$as_me:$LINENO: result: $result" >&5
10276 echo "${ECHO_T}$result" >&6; }
10280 defaultval
=$wxUSE_ALL_FEATURES
10281 if test -z "$defaultval"; then
10282 if test x
"$enablestring" = xdisable
; then
10289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10290 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10291 # Check whether --enable-button was given.
10292 if test "${enable_button+set}" = set; then
10293 enableval
=$enable_button;
10294 if test "$enableval" = yes; then
10295 wx_cv_use_button
='wxUSE_BUTTON=yes'
10297 wx_cv_use_button
='wxUSE_BUTTON=no'
10302 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10307 eval "$wx_cv_use_button"
10309 if test x"$enablestring" = xdisable; then
10310 if test $wxUSE_BUTTON = no; then
10316 result=$wxUSE_BUTTON
10319 { echo "$as_me:$LINENO: result: $result" >&5
10320 echo "${ECHO_T}$result" >&6; }
10324 defaultval=$wxUSE_ALL_FEATURES
10325 if test -z "$defaultval"; then
10326 if test x"$enablestring" = xdisable; then
10333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10334 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10335 # Check whether --enable-calendar was given.
10336 if test "${enable_calendar+set}" = set; then
10337 enableval=$enable_calendar;
10338 if test "$enableval" = yes; then
10339 wx_cv_use_calendar='wxUSE_CALCTRL
=yes'
10341 wx_cv_use_calendar='wxUSE_CALCTRL
=no
'
10346 wx_cv_use_calendar='wxUSE_CALCTRL
=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10351 eval "$wx_cv_use_calendar"
10353 if test x"$enablestring" = xdisable; then
10354 if test $wxUSE_CALCTRL = no; then
10360 result=$wxUSE_CALCTRL
10363 { echo "$as_me:$LINENO: result
: $result" >&5
10364 echo "${ECHO_T}$result" >&6; }
10368 defaultval=$wxUSE_ALL_FEATURES
10369 if test -z "$defaultval"; then
10370 if test x"$enablestring" = xdisable; then
10377 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-caret" >&5
10378 echo $ECHO_N "checking
for --${enablestring:-enable}-caret...
$ECHO_C" >&6; }
10379 # Check whether --enable-caret was given.
10380 if test "${enable_caret+set}" = set; then
10381 enableval=$enable_caret;
10382 if test "$enableval" = yes; then
10383 wx_cv_use_caret='wxUSE_CARET=yes'
10385 wx_cv_use_caret='wxUSE_CARET=no'
10390 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10395 eval "$wx_cv_use_caret"
10397 if test x
"$enablestring" = xdisable
; then
10398 if test $wxUSE_CARET = no
; then
10404 result
=$wxUSE_CARET
10407 { echo "$as_me:$LINENO: result: $result" >&5
10408 echo "${ECHO_T}$result" >&6; }
10412 defaultval
=$wxUSE_ALL_FEATURES
10413 if test -z "$defaultval"; then
10414 if test x
"$enablestring" = xdisable
; then
10421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10422 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10423 # Check whether --enable-checkbox was given.
10424 if test "${enable_checkbox+set}" = set; then
10425 enableval
=$enable_checkbox;
10426 if test "$enableval" = yes; then
10427 wx_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
10429 wx_cv_use_checkbox
='wxUSE_CHECKBOX=no'
10434 wx_cv_use_checkbox
='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10439 eval "$wx_cv_use_checkbox"
10441 if test x"$enablestring" = xdisable; then
10442 if test $wxUSE_CHECKBOX = no; then
10448 result=$wxUSE_CHECKBOX
10451 { echo "$as_me:$LINENO: result: $result" >&5
10452 echo "${ECHO_T}$result" >&6; }
10456 defaultval=$wxUSE_ALL_FEATURES
10457 if test -z "$defaultval"; then
10458 if test x"$enablestring" = xdisable; then
10465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10466 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10467 # Check whether --enable-checklst was given.
10468 if test "${enable_checklst+set}" = set; then
10469 enableval=$enable_checklst;
10470 if test "$enableval" = yes; then
10471 wx_cv_use_checklst='wxUSE_CHECKLST
=yes'
10473 wx_cv_use_checklst='wxUSE_CHECKLST
=no
'
10478 wx_cv_use_checklst='wxUSE_CHECKLST
=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10483 eval "$wx_cv_use_checklst"
10485 if test x"$enablestring" = xdisable; then
10486 if test $wxUSE_CHECKLST = no; then
10492 result=$wxUSE_CHECKLST
10495 { echo "$as_me:$LINENO: result
: $result" >&5
10496 echo "${ECHO_T}$result" >&6; }
10500 defaultval=$wxUSE_ALL_FEATURES
10501 if test -z "$defaultval"; then
10502 if test x"$enablestring" = xdisable; then
10509 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choice" >&5
10510 echo $ECHO_N "checking
for --${enablestring:-enable}-choice...
$ECHO_C" >&6; }
10511 # Check whether --enable-choice was given.
10512 if test "${enable_choice+set}" = set; then
10513 enableval=$enable_choice;
10514 if test "$enableval" = yes; then
10515 wx_cv_use_choice='wxUSE_CHOICE=yes'
10517 wx_cv_use_choice='wxUSE_CHOICE=no'
10522 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10527 eval "$wx_cv_use_choice"
10529 if test x
"$enablestring" = xdisable
; then
10530 if test $wxUSE_CHOICE = no
; then
10536 result
=$wxUSE_CHOICE
10539 { echo "$as_me:$LINENO: result: $result" >&5
10540 echo "${ECHO_T}$result" >&6; }
10544 defaultval
=$wxUSE_ALL_FEATURES
10545 if test -z "$defaultval"; then
10546 if test x
"$enablestring" = xdisable
; then
10553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10554 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10555 # Check whether --enable-choicebook was given.
10556 if test "${enable_choicebook+set}" = set; then
10557 enableval
=$enable_choicebook;
10558 if test "$enableval" = yes; then
10559 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
10561 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
10566 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10571 eval "$wx_cv_use_choicebook"
10573 if test x"$enablestring" = xdisable; then
10574 if test $wxUSE_CHOICEBOOK = no; then
10580 result=$wxUSE_CHOICEBOOK
10583 { echo "$as_me:$LINENO: result: $result" >&5
10584 echo "${ECHO_T}$result" >&6; }
10588 defaultval=$wxUSE_ALL_FEATURES
10589 if test -z "$defaultval"; then
10590 if test x"$enablestring" = xdisable; then
10597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10598 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10599 # Check whether --enable-collpane was given.
10600 if test "${enable_collpane+set}" = set; then
10601 enableval=$enable_collpane;
10602 if test "$enableval" = yes; then
10603 wx_cv_use_collpane='wxUSE_COLLPANE
=yes'
10605 wx_cv_use_collpane='wxUSE_COLLPANE
=no
'
10610 wx_cv_use_collpane='wxUSE_COLLPANE
=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10615 eval "$wx_cv_use_collpane"
10617 if test x"$enablestring" = xdisable; then
10618 if test $wxUSE_COLLPANE = no; then
10624 result=$wxUSE_COLLPANE
10627 { echo "$as_me:$LINENO: result
: $result" >&5
10628 echo "${ECHO_T}$result" >&6; }
10632 defaultval=$wxUSE_ALL_FEATURES
10633 if test -z "$defaultval"; then
10634 if test x"$enablestring" = xdisable; then
10641 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-colourpicker" >&5
10642 echo $ECHO_N "checking
for --${enablestring:-enable}-colourpicker...
$ECHO_C" >&6; }
10643 # Check whether --enable-colourpicker was given.
10644 if test "${enable_colourpicker+set}" = set; then
10645 enableval=$enable_colourpicker;
10646 if test "$enableval" = yes; then
10647 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10649 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10654 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10659 eval "$wx_cv_use_colourpicker"
10661 if test x
"$enablestring" = xdisable
; then
10662 if test $wxUSE_COLOURPICKERCTRL = no
; then
10668 result
=$wxUSE_COLOURPICKERCTRL
10671 { echo "$as_me:$LINENO: result: $result" >&5
10672 echo "${ECHO_T}$result" >&6; }
10676 defaultval
=$wxUSE_ALL_FEATURES
10677 if test -z "$defaultval"; then
10678 if test x
"$enablestring" = xdisable
; then
10685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10686 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10687 # Check whether --enable-combobox was given.
10688 if test "${enable_combobox+set}" = set; then
10689 enableval
=$enable_combobox;
10690 if test "$enableval" = yes; then
10691 wx_cv_use_combobox
='wxUSE_COMBOBOX=yes'
10693 wx_cv_use_combobox
='wxUSE_COMBOBOX=no'
10698 wx_cv_use_combobox
='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10703 eval "$wx_cv_use_combobox"
10705 if test x"$enablestring" = xdisable; then
10706 if test $wxUSE_COMBOBOX = no; then
10712 result=$wxUSE_COMBOBOX
10715 { echo "$as_me:$LINENO: result: $result" >&5
10716 echo "${ECHO_T}$result" >&6; }
10720 defaultval=$wxUSE_ALL_FEATURES
10721 if test -z "$defaultval"; then
10722 if test x"$enablestring" = xdisable; then
10729 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10730 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10731 # Check whether --enable-comboctrl was given.
10732 if test "${enable_comboctrl+set}" = set; then
10733 enableval=$enable_comboctrl;
10734 if test "$enableval" = yes; then
10735 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=yes'
10737 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=no
'
10742 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10747 eval "$wx_cv_use_comboctrl"
10749 if test x"$enablestring" = xdisable; then
10750 if test $wxUSE_COMBOCTRL = no; then
10756 result=$wxUSE_COMBOCTRL
10759 { echo "$as_me:$LINENO: result
: $result" >&5
10760 echo "${ECHO_T}$result" >&6; }
10764 defaultval=$wxUSE_ALL_FEATURES
10765 if test -z "$defaultval"; then
10766 if test x"$enablestring" = xdisable; then
10773 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-commandlinkbutton" >&5
10774 echo $ECHO_N "checking
for --${enablestring:-enable}-commandlinkbutton...
$ECHO_C" >&6; }
10775 # Check whether --enable-commandlinkbutton was given.
10776 if test "${enable_commandlinkbutton+set}" = set; then
10777 enableval=$enable_commandlinkbutton;
10778 if test "$enableval" = yes; then
10779 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10781 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10786 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10791 eval "$wx_cv_use_commandlinkbutton"
10793 if test x
"$enablestring" = xdisable
; then
10794 if test $wxUSE_COMMANDLINKBUTTON = no
; then
10800 result
=$wxUSE_COMMANDLINKBUTTON
10803 { echo "$as_me:$LINENO: result: $result" >&5
10804 echo "${ECHO_T}$result" >&6; }
10808 defaultval
=$wxUSE_ALL_FEATURES
10809 if test -z "$defaultval"; then
10810 if test x
"$enablestring" = xdisable
; then
10817 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10818 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10819 # Check whether --enable-dataviewctrl was given.
10820 if test "${enable_dataviewctrl+set}" = set; then
10821 enableval
=$enable_dataviewctrl;
10822 if test "$enableval" = yes; then
10823 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
10825 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
10830 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10835 eval "$wx_cv_use_dataviewctrl"
10837 if test x"$enablestring" = xdisable; then
10838 if test $wxUSE_DATAVIEWCTRL = no; then
10844 result=$wxUSE_DATAVIEWCTRL
10847 { echo "$as_me:$LINENO: result: $result" >&5
10848 echo "${ECHO_T}$result" >&6; }
10852 defaultval=$wxUSE_ALL_FEATURES
10853 if test -z "$defaultval"; then
10854 if test x"$enablestring" = xdisable; then
10861 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10862 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10863 # Check whether --enable-datepick was given.
10864 if test "${enable_datepick+set}" = set; then
10865 enableval=$enable_datepick;
10866 if test "$enableval" = yes; then
10867 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
10869 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
10874 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10879 eval "$wx_cv_use_datepick"
10881 if test x"$enablestring" = xdisable; then
10882 if test $wxUSE_DATEPICKCTRL = no; then
10888 result=$wxUSE_DATEPICKCTRL
10891 { echo "$as_me:$LINENO: result
: $result" >&5
10892 echo "${ECHO_T}$result" >&6; }
10896 defaultval=$wxUSE_ALL_FEATURES
10897 if test -z "$defaultval"; then
10898 if test x"$enablestring" = xdisable; then
10905 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-detect_sm" >&5
10906 echo $ECHO_N "checking
for --${enablestring:-enable}-detect_sm...
$ECHO_C" >&6; }
10907 # Check whether --enable-detect_sm was given.
10908 if test "${enable_detect_sm+set}" = set; then
10909 enableval=$enable_detect_sm;
10910 if test "$enableval" = yes; then
10911 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10913 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10918 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10923 eval "$wx_cv_use_detect_sm"
10925 if test x
"$enablestring" = xdisable
; then
10926 if test $wxUSE_DETECT_SM = no
; then
10932 result
=$wxUSE_DETECT_SM
10935 { echo "$as_me:$LINENO: result: $result" >&5
10936 echo "${ECHO_T}$result" >&6; }
10940 defaultval
=$wxUSE_ALL_FEATURES
10941 if test -z "$defaultval"; then
10942 if test x
"$enablestring" = xdisable
; then
10949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10950 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10951 # Check whether --enable-dirpicker was given.
10952 if test "${enable_dirpicker+set}" = set; then
10953 enableval
=$enable_dirpicker;
10954 if test "$enableval" = yes; then
10955 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
10957 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
10962 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10967 eval "$wx_cv_use_dirpicker"
10969 if test x"$enablestring" = xdisable; then
10970 if test $wxUSE_DIRPICKERCTRL = no; then
10976 result=$wxUSE_DIRPICKERCTRL
10979 { echo "$as_me:$LINENO: result: $result" >&5
10980 echo "${ECHO_T}$result" >&6; }
10984 defaultval=$wxUSE_ALL_FEATURES
10985 if test -z "$defaultval"; then
10986 if test x"$enablestring" = xdisable; then
10993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10994 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10995 # Check whether --enable-display was given.
10996 if test "${enable_display+set}" = set; then
10997 enableval=$enable_display;
10998 if test "$enableval" = yes; then
10999 wx_cv_use_display='wxUSE_DISPLAY
=yes'
11001 wx_cv_use_display='wxUSE_DISPLAY
=no
'
11006 wx_cv_use_display='wxUSE_DISPLAY
=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11011 eval "$wx_cv_use_display"
11013 if test x"$enablestring" = xdisable; then
11014 if test $wxUSE_DISPLAY = no; then
11020 result=$wxUSE_DISPLAY
11023 { echo "$as_me:$LINENO: result
: $result" >&5
11024 echo "${ECHO_T}$result" >&6; }
11028 defaultval=$wxUSE_ALL_FEATURES
11029 if test -z "$defaultval"; then
11030 if test x"$enablestring" = xdisable; then
11037 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-editablebox" >&5
11038 echo $ECHO_N "checking
for --${enablestring:-enable}-editablebox...
$ECHO_C" >&6; }
11039 # Check whether --enable-editablebox was given.
11040 if test "${enable_editablebox+set}" = set; then
11041 enableval=$enable_editablebox;
11042 if test "$enableval" = yes; then
11043 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11045 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11050 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11055 eval "$wx_cv_use_editablebox"
11057 if test x
"$enablestring" = xdisable
; then
11058 if test $wxUSE_EDITABLELISTBOX = no
; then
11064 result
=$wxUSE_EDITABLELISTBOX
11067 { echo "$as_me:$LINENO: result: $result" >&5
11068 echo "${ECHO_T}$result" >&6; }
11072 defaultval
=$wxUSE_ALL_FEATURES
11073 if test -z "$defaultval"; then
11074 if test x
"$enablestring" = xdisable
; then
11081 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
11082 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
11083 # Check whether --enable-filectrl was given.
11084 if test "${enable_filectrl+set}" = set; then
11085 enableval
=$enable_filectrl;
11086 if test "$enableval" = yes; then
11087 wx_cv_use_filectrl
='wxUSE_FILECTRL=yes'
11089 wx_cv_use_filectrl
='wxUSE_FILECTRL=no'
11094 wx_cv_use_filectrl
='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
11099 eval "$wx_cv_use_filectrl"
11101 if test x"$enablestring" = xdisable; then
11102 if test $wxUSE_FILECTRL = no; then
11108 result=$wxUSE_FILECTRL
11111 { echo "$as_me:$LINENO: result: $result" >&5
11112 echo "${ECHO_T}$result" >&6; }
11116 defaultval=$wxUSE_ALL_FEATURES
11117 if test -z "$defaultval"; then
11118 if test x"$enablestring" = xdisable; then
11125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11126 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11127 # Check whether --enable-filepicker was given.
11128 if test "${enable_filepicker+set}" = set; then
11129 enableval=$enable_filepicker;
11130 if test "$enableval" = yes; then
11131 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=yes'
11133 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=no
'
11138 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11143 eval "$wx_cv_use_filepicker"
11145 if test x"$enablestring" = xdisable; then
11146 if test $wxUSE_FILEPICKERCTRL = no; then
11152 result=$wxUSE_FILEPICKERCTRL
11155 { echo "$as_me:$LINENO: result
: $result" >&5
11156 echo "${ECHO_T}$result" >&6; }
11160 defaultval=$wxUSE_ALL_FEATURES
11161 if test -z "$defaultval"; then
11162 if test x"$enablestring" = xdisable; then
11169 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontpicker" >&5
11170 echo $ECHO_N "checking
for --${enablestring:-enable}-fontpicker...
$ECHO_C" >&6; }
11171 # Check whether --enable-fontpicker was given.
11172 if test "${enable_fontpicker+set}" = set; then
11173 enableval=$enable_fontpicker;
11174 if test "$enableval" = yes; then
11175 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11177 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11182 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11187 eval "$wx_cv_use_fontpicker"
11189 if test x
"$enablestring" = xdisable
; then
11190 if test $wxUSE_FONTPICKERCTRL = no
; then
11196 result
=$wxUSE_FONTPICKERCTRL
11199 { echo "$as_me:$LINENO: result: $result" >&5
11200 echo "${ECHO_T}$result" >&6; }
11204 defaultval
=$wxUSE_ALL_FEATURES
11205 if test -z "$defaultval"; then
11206 if test x
"$enablestring" = xdisable
; then
11213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11214 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11215 # Check whether --enable-gauge was given.
11216 if test "${enable_gauge+set}" = set; then
11217 enableval
=$enable_gauge;
11218 if test "$enableval" = yes; then
11219 wx_cv_use_gauge
='wxUSE_GAUGE=yes'
11221 wx_cv_use_gauge
='wxUSE_GAUGE=no'
11226 wx_cv_use_gauge
='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11231 eval "$wx_cv_use_gauge"
11233 if test x"$enablestring" = xdisable; then
11234 if test $wxUSE_GAUGE = no; then
11240 result=$wxUSE_GAUGE
11243 { echo "$as_me:$LINENO: result: $result" >&5
11244 echo "${ECHO_T}$result" >&6; }
11248 defaultval=$wxUSE_ALL_FEATURES
11249 if test -z "$defaultval"; then
11250 if test x"$enablestring" = xdisable; then
11257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11258 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11259 # Check whether --enable-grid was given.
11260 if test "${enable_grid+set}" = set; then
11261 enableval=$enable_grid;
11262 if test "$enableval" = yes; then
11263 wx_cv_use_grid='wxUSE_GRID
=yes'
11265 wx_cv_use_grid='wxUSE_GRID
=no
'
11270 wx_cv_use_grid='wxUSE_GRID
=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11275 eval "$wx_cv_use_grid"
11277 if test x"$enablestring" = xdisable; then
11278 if test $wxUSE_GRID = no; then
11287 { echo "$as_me:$LINENO: result
: $result" >&5
11288 echo "${ECHO_T}$result" >&6; }
11292 defaultval=$wxUSE_ALL_FEATURES
11293 if test -z "$defaultval"; then
11294 if test x"$enablestring" = xdisable; then
11301 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-headerctrl" >&5
11302 echo $ECHO_N "checking
for --${enablestring:-enable}-headerctrl...
$ECHO_C" >&6; }
11303 # Check whether --enable-headerctrl was given.
11304 if test "${enable_headerctrl+set}" = set; then
11305 enableval=$enable_headerctrl;
11306 if test "$enableval" = yes; then
11307 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11309 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11314 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11319 eval "$wx_cv_use_headerctrl"
11321 if test x
"$enablestring" = xdisable
; then
11322 if test $wxUSE_HEADERCTRL = no
; then
11328 result
=$wxUSE_HEADERCTRL
11331 { echo "$as_me:$LINENO: result: $result" >&5
11332 echo "${ECHO_T}$result" >&6; }
11336 defaultval
=$wxUSE_ALL_FEATURES
11337 if test -z "$defaultval"; then
11338 if test x
"$enablestring" = xdisable
; then
11345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11346 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11347 # Check whether --enable-hyperlink was given.
11348 if test "${enable_hyperlink+set}" = set; then
11349 enableval
=$enable_hyperlink;
11350 if test "$enableval" = yes; then
11351 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
11353 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
11358 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11363 eval "$wx_cv_use_hyperlink"
11365 if test x"$enablestring" = xdisable; then
11366 if test $wxUSE_HYPERLINKCTRL = no; then
11372 result=$wxUSE_HYPERLINKCTRL
11375 { echo "$as_me:$LINENO: result: $result" >&5
11376 echo "${ECHO_T}$result" >&6; }
11380 defaultval=$wxUSE_ALL_FEATURES
11381 if test -z "$defaultval"; then
11382 if test x"$enablestring" = xdisable; then
11389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11390 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11391 # Check whether --enable-imaglist was given.
11392 if test "${enable_imaglist+set}" = set; then
11393 enableval=$enable_imaglist;
11394 if test "$enableval" = yes; then
11395 wx_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
11397 wx_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
11402 wx_cv_use_imaglist='wxUSE_IMAGLIST
=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11407 eval "$wx_cv_use_imaglist"
11409 if test x"$enablestring" = xdisable; then
11410 if test $wxUSE_IMAGLIST = no; then
11416 result=$wxUSE_IMAGLIST
11419 { echo "$as_me:$LINENO: result
: $result" >&5
11420 echo "${ECHO_T}$result" >&6; }
11424 defaultval=$wxUSE_ALL_FEATURES
11425 if test -z "$defaultval"; then
11426 if test x"$enablestring" = xdisable; then
11433 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-infobar" >&5
11434 echo $ECHO_N "checking
for --${enablestring:-enable}-infobar...
$ECHO_C" >&6; }
11435 # Check whether --enable-infobar was given.
11436 if test "${enable_infobar+set}" = set; then
11437 enableval=$enable_infobar;
11438 if test "$enableval" = yes; then
11439 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11441 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11446 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11451 eval "$wx_cv_use_infobar"
11453 if test x
"$enablestring" = xdisable
; then
11454 if test $wxUSE_INFOBAR = no
; then
11460 result
=$wxUSE_INFOBAR
11463 { echo "$as_me:$LINENO: result: $result" >&5
11464 echo "${ECHO_T}$result" >&6; }
11468 defaultval
=$wxUSE_ALL_FEATURES
11469 if test -z "$defaultval"; then
11470 if test x
"$enablestring" = xdisable
; then
11477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11478 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11479 # Check whether --enable-listbook was given.
11480 if test "${enable_listbook+set}" = set; then
11481 enableval
=$enable_listbook;
11482 if test "$enableval" = yes; then
11483 wx_cv_use_listbook
='wxUSE_LISTBOOK=yes'
11485 wx_cv_use_listbook
='wxUSE_LISTBOOK=no'
11490 wx_cv_use_listbook
='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11495 eval "$wx_cv_use_listbook"
11497 if test x"$enablestring" = xdisable; then
11498 if test $wxUSE_LISTBOOK = no; then
11504 result=$wxUSE_LISTBOOK
11507 { echo "$as_me:$LINENO: result: $result" >&5
11508 echo "${ECHO_T}$result" >&6; }
11512 defaultval=$wxUSE_ALL_FEATURES
11513 if test -z "$defaultval"; then
11514 if test x"$enablestring" = xdisable; then
11521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11522 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11523 # Check whether --enable-listbox was given.
11524 if test "${enable_listbox+set}" = set; then
11525 enableval=$enable_listbox;
11526 if test "$enableval" = yes; then
11527 wx_cv_use_listbox='wxUSE_LISTBOX
=yes'
11529 wx_cv_use_listbox='wxUSE_LISTBOX
=no
'
11534 wx_cv_use_listbox='wxUSE_LISTBOX
=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11539 eval "$wx_cv_use_listbox"
11541 if test x"$enablestring" = xdisable; then
11542 if test $wxUSE_LISTBOX = no; then
11548 result=$wxUSE_LISTBOX
11551 { echo "$as_me:$LINENO: result
: $result" >&5
11552 echo "${ECHO_T}$result" >&6; }
11556 defaultval=$wxUSE_ALL_FEATURES
11557 if test -z "$defaultval"; then
11558 if test x"$enablestring" = xdisable; then
11565 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listctrl" >&5
11566 echo $ECHO_N "checking
for --${enablestring:-enable}-listctrl...
$ECHO_C" >&6; }
11567 # Check whether --enable-listctrl was given.
11568 if test "${enable_listctrl+set}" = set; then
11569 enableval=$enable_listctrl;
11570 if test "$enableval" = yes; then
11571 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11573 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11578 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11583 eval "$wx_cv_use_listctrl"
11585 if test x
"$enablestring" = xdisable
; then
11586 if test $wxUSE_LISTCTRL = no
; then
11592 result
=$wxUSE_LISTCTRL
11595 { echo "$as_me:$LINENO: result: $result" >&5
11596 echo "${ECHO_T}$result" >&6; }
11600 defaultval
=$wxUSE_ALL_FEATURES
11601 if test -z "$defaultval"; then
11602 if test x
"$enablestring" = xdisable
; then
11609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11610 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11611 # Check whether --enable-notebook was given.
11612 if test "${enable_notebook+set}" = set; then
11613 enableval
=$enable_notebook;
11614 if test "$enableval" = yes; then
11615 wx_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
11617 wx_cv_use_notebook
='wxUSE_NOTEBOOK=no'
11622 wx_cv_use_notebook
='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11627 eval "$wx_cv_use_notebook"
11629 if test x"$enablestring" = xdisable; then
11630 if test $wxUSE_NOTEBOOK = no; then
11636 result=$wxUSE_NOTEBOOK
11639 { echo "$as_me:$LINENO: result: $result" >&5
11640 echo "${ECHO_T}$result" >&6; }
11644 defaultval=$wxUSE_ALL_FEATURES
11645 if test -z "$defaultval"; then
11646 if test x"$enablestring" = xdisable; then
11653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11654 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11655 # Check whether --enable-notifmsg was given.
11656 if test "${enable_notifmsg+set}" = set; then
11657 enableval=$enable_notifmsg;
11658 if test "$enableval" = yes; then
11659 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=yes'
11661 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=no
'
11666 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11671 eval "$wx_cv_use_notifmsg"
11673 if test x"$enablestring" = xdisable; then
11674 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11680 result=$wxUSE_NOTIFICATION_MESSAGE
11683 { echo "$as_me:$LINENO: result
: $result" >&5
11684 echo "${ECHO_T}$result" >&6; }
11688 defaultval=$wxUSE_ALL_FEATURES
11689 if test -z "$defaultval"; then
11690 if test x"$enablestring" = xdisable; then
11697 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-odcombobox" >&5
11698 echo $ECHO_N "checking
for --${enablestring:-enable}-odcombobox...
$ECHO_C" >&6; }
11699 # Check whether --enable-odcombobox was given.
11700 if test "${enable_odcombobox+set}" = set; then
11701 enableval=$enable_odcombobox;
11702 if test "$enableval" = yes; then
11703 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11705 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11710 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11715 eval "$wx_cv_use_odcombobox"
11717 if test x
"$enablestring" = xdisable
; then
11718 if test $wxUSE_ODCOMBOBOX = no
; then
11724 result
=$wxUSE_ODCOMBOBOX
11727 { echo "$as_me:$LINENO: result: $result" >&5
11728 echo "${ECHO_T}$result" >&6; }
11732 defaultval
=$wxUSE_ALL_FEATURES
11733 if test -z "$defaultval"; then
11734 if test x
"$enablestring" = xdisable
; then
11741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11742 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11743 # Check whether --enable-popupwin was given.
11744 if test "${enable_popupwin+set}" = set; then
11745 enableval
=$enable_popupwin;
11746 if test "$enableval" = yes; then
11747 wx_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
11749 wx_cv_use_popupwin
='wxUSE_POPUPWIN=no'
11754 wx_cv_use_popupwin
='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11759 eval "$wx_cv_use_popupwin"
11761 if test x"$enablestring" = xdisable; then
11762 if test $wxUSE_POPUPWIN = no; then
11768 result=$wxUSE_POPUPWIN
11771 { echo "$as_me:$LINENO: result: $result" >&5
11772 echo "${ECHO_T}$result" >&6; }
11776 defaultval=$wxUSE_ALL_FEATURES
11777 if test -z "$defaultval"; then
11778 if test x"$enablestring" = xdisable; then
11785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11786 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11787 # Check whether --enable-radiobox was given.
11788 if test "${enable_radiobox+set}" = set; then
11789 enableval=$enable_radiobox;
11790 if test "$enableval" = yes; then
11791 wx_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
11793 wx_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
11798 wx_cv_use_radiobox='wxUSE_RADIOBOX
=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11803 eval "$wx_cv_use_radiobox"
11805 if test x"$enablestring" = xdisable; then
11806 if test $wxUSE_RADIOBOX = no; then
11812 result=$wxUSE_RADIOBOX
11815 { echo "$as_me:$LINENO: result
: $result" >&5
11816 echo "${ECHO_T}$result" >&6; }
11820 defaultval=$wxUSE_ALL_FEATURES
11821 if test -z "$defaultval"; then
11822 if test x"$enablestring" = xdisable; then
11829 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobtn" >&5
11830 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobtn...
$ECHO_C" >&6; }
11831 # Check whether --enable-radiobtn was given.
11832 if test "${enable_radiobtn+set}" = set; then
11833 enableval=$enable_radiobtn;
11834 if test "$enableval" = yes; then
11835 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11837 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11842 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11847 eval "$wx_cv_use_radiobtn"
11849 if test x
"$enablestring" = xdisable
; then
11850 if test $wxUSE_RADIOBTN = no
; then
11856 result
=$wxUSE_RADIOBTN
11859 { echo "$as_me:$LINENO: result: $result" >&5
11860 echo "${ECHO_T}$result" >&6; }
11864 defaultval
=$wxUSE_ALL_FEATURES
11865 if test -z "$defaultval"; then
11866 if test x
"$enablestring" = xdisable
; then
11873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11874 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11875 # Check whether --enable-richmsgdlg was given.
11876 if test "${enable_richmsgdlg+set}" = set; then
11877 enableval
=$enable_richmsgdlg;
11878 if test "$enableval" = yes; then
11879 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=yes'
11881 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=no'
11886 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11891 eval "$wx_cv_use_richmsgdlg"
11893 if test x"$enablestring" = xdisable; then
11894 if test $wxUSE_RICHMSGDLG = no; then
11900 result=$wxUSE_RICHMSGDLG
11903 { echo "$as_me:$LINENO: result: $result" >&5
11904 echo "${ECHO_T}$result" >&6; }
11908 defaultval=$wxUSE_ALL_FEATURES
11909 if test -z "$defaultval"; then
11910 if test x"$enablestring" = xdisable; then
11917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11918 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11919 # Check whether --enable-rearrangectrl was given.
11920 if test "${enable_rearrangectrl+set}" = set; then
11921 enableval=$enable_rearrangectrl;
11922 if test "$enableval" = yes; then
11923 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=yes'
11925 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=no
'
11930 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11935 eval "$wx_cv_use_rearrangectrl"
11937 if test x"$enablestring" = xdisable; then
11938 if test $wxUSE_REARRANGECTRL = no; then
11944 result=$wxUSE_REARRANGECTRL
11947 { echo "$as_me:$LINENO: result
: $result" >&5
11948 echo "${ECHO_T}$result" >&6; }
11952 defaultval=$wxUSE_ALL_FEATURES
11953 if test -z "$defaultval"; then
11954 if test x"$enablestring" = xdisable; then
11961 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sash" >&5
11962 echo $ECHO_N "checking
for --${enablestring:-enable}-sash...
$ECHO_C" >&6; }
11963 # Check whether --enable-sash was given.
11964 if test "${enable_sash+set}" = set; then
11965 enableval=$enable_sash;
11966 if test "$enableval" = yes; then
11967 wx_cv_use_sash='wxUSE_SASH=yes'
11969 wx_cv_use_sash='wxUSE_SASH=no'
11974 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11979 eval "$wx_cv_use_sash"
11981 if test x
"$enablestring" = xdisable
; then
11982 if test $wxUSE_SASH = no
; then
11991 { echo "$as_me:$LINENO: result: $result" >&5
11992 echo "${ECHO_T}$result" >&6; }
11996 defaultval
=$wxUSE_ALL_FEATURES
11997 if test -z "$defaultval"; then
11998 if test x
"$enablestring" = xdisable
; then
12005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12006 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12007 # Check whether --enable-scrollbar was given.
12008 if test "${enable_scrollbar+set}" = set; then
12009 enableval
=$enable_scrollbar;
12010 if test "$enableval" = yes; then
12011 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
12013 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
12018 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12023 eval "$wx_cv_use_scrollbar"
12025 if test x"$enablestring" = xdisable; then
12026 if test $wxUSE_SCROLLBAR = no; then
12032 result=$wxUSE_SCROLLBAR
12035 { echo "$as_me:$LINENO: result: $result" >&5
12036 echo "${ECHO_T}$result" >&6; }
12040 defaultval=$wxUSE_ALL_FEATURES
12041 if test -z "$defaultval"; then
12042 if test x"$enablestring" = xdisable; then
12049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12050 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12051 # Check whether --enable-searchctrl was given.
12052 if test "${enable_searchctrl+set}" = set; then
12053 enableval=$enable_searchctrl;
12054 if test "$enableval" = yes; then
12055 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=yes'
12057 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=no
'
12062 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12067 eval "$wx_cv_use_searchctrl"
12069 if test x"$enablestring" = xdisable; then
12070 if test $wxUSE_SEARCHCTRL = no; then
12076 result=$wxUSE_SEARCHCTRL
12079 { echo "$as_me:$LINENO: result
: $result" >&5
12080 echo "${ECHO_T}$result" >&6; }
12084 defaultval=$wxUSE_ALL_FEATURES
12085 if test -z "$defaultval"; then
12086 if test x"$enablestring" = xdisable; then
12093 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-slider" >&5
12094 echo $ECHO_N "checking
for --${enablestring:-enable}-slider...
$ECHO_C" >&6; }
12095 # Check whether --enable-slider was given.
12096 if test "${enable_slider+set}" = set; then
12097 enableval=$enable_slider;
12098 if test "$enableval" = yes; then
12099 wx_cv_use_slider='wxUSE_SLIDER=yes'
12101 wx_cv_use_slider='wxUSE_SLIDER=no'
12106 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12111 eval "$wx_cv_use_slider"
12113 if test x
"$enablestring" = xdisable
; then
12114 if test $wxUSE_SLIDER = no
; then
12120 result
=$wxUSE_SLIDER
12123 { echo "$as_me:$LINENO: result: $result" >&5
12124 echo "${ECHO_T}$result" >&6; }
12128 defaultval
=$wxUSE_ALL_FEATURES
12129 if test -z "$defaultval"; then
12130 if test x
"$enablestring" = xdisable
; then
12137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12138 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12139 # Check whether --enable-spinbtn was given.
12140 if test "${enable_spinbtn+set}" = set; then
12141 enableval
=$enable_spinbtn;
12142 if test "$enableval" = yes; then
12143 wx_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
12145 wx_cv_use_spinbtn
='wxUSE_SPINBTN=no'
12150 wx_cv_use_spinbtn
='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12155 eval "$wx_cv_use_spinbtn"
12157 if test x"$enablestring" = xdisable; then
12158 if test $wxUSE_SPINBTN = no; then
12164 result=$wxUSE_SPINBTN
12167 { echo "$as_me:$LINENO: result: $result" >&5
12168 echo "${ECHO_T}$result" >&6; }
12172 defaultval=$wxUSE_ALL_FEATURES
12173 if test -z "$defaultval"; then
12174 if test x"$enablestring" = xdisable; then
12181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12182 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12183 # Check whether --enable-spinctrl was given.
12184 if test "${enable_spinctrl+set}" = set; then
12185 enableval=$enable_spinctrl;
12186 if test "$enableval" = yes; then
12187 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
12189 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
12194 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12199 eval "$wx_cv_use_spinctrl"
12201 if test x"$enablestring" = xdisable; then
12202 if test $wxUSE_SPINCTRL = no; then
12208 result=$wxUSE_SPINCTRL
12211 { echo "$as_me:$LINENO: result
: $result" >&5
12212 echo "${ECHO_T}$result" >&6; }
12216 defaultval=$wxUSE_ALL_FEATURES
12217 if test -z "$defaultval"; then
12218 if test x"$enablestring" = xdisable; then
12225 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splitter" >&5
12226 echo $ECHO_N "checking
for --${enablestring:-enable}-splitter...
$ECHO_C" >&6; }
12227 # Check whether --enable-splitter was given.
12228 if test "${enable_splitter+set}" = set; then
12229 enableval=$enable_splitter;
12230 if test "$enableval" = yes; then
12231 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12233 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12238 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12243 eval "$wx_cv_use_splitter"
12245 if test x
"$enablestring" = xdisable
; then
12246 if test $wxUSE_SPLITTER = no
; then
12252 result
=$wxUSE_SPLITTER
12255 { echo "$as_me:$LINENO: result: $result" >&5
12256 echo "${ECHO_T}$result" >&6; }
12260 defaultval
=$wxUSE_ALL_FEATURES
12261 if test -z "$defaultval"; then
12262 if test x
"$enablestring" = xdisable
; then
12269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12270 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12271 # Check whether --enable-statbmp was given.
12272 if test "${enable_statbmp+set}" = set; then
12273 enableval
=$enable_statbmp;
12274 if test "$enableval" = yes; then
12275 wx_cv_use_statbmp
='wxUSE_STATBMP=yes'
12277 wx_cv_use_statbmp
='wxUSE_STATBMP=no'
12282 wx_cv_use_statbmp
='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12287 eval "$wx_cv_use_statbmp"
12289 if test x"$enablestring" = xdisable; then
12290 if test $wxUSE_STATBMP = no; then
12296 result=$wxUSE_STATBMP
12299 { echo "$as_me:$LINENO: result: $result" >&5
12300 echo "${ECHO_T}$result" >&6; }
12304 defaultval=$wxUSE_ALL_FEATURES
12305 if test -z "$defaultval"; then
12306 if test x"$enablestring" = xdisable; then
12313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12314 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12315 # Check whether --enable-statbox was given.
12316 if test "${enable_statbox+set}" = set; then
12317 enableval=$enable_statbox;
12318 if test "$enableval" = yes; then
12319 wx_cv_use_statbox='wxUSE_STATBOX
=yes'
12321 wx_cv_use_statbox='wxUSE_STATBOX
=no
'
12326 wx_cv_use_statbox='wxUSE_STATBOX
=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12331 eval "$wx_cv_use_statbox"
12333 if test x"$enablestring" = xdisable; then
12334 if test $wxUSE_STATBOX = no; then
12340 result=$wxUSE_STATBOX
12343 { echo "$as_me:$LINENO: result
: $result" >&5
12344 echo "${ECHO_T}$result" >&6; }
12348 defaultval=$wxUSE_ALL_FEATURES
12349 if test -z "$defaultval"; then
12350 if test x"$enablestring" = xdisable; then
12357 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statline" >&5
12358 echo $ECHO_N "checking
for --${enablestring:-enable}-statline...
$ECHO_C" >&6; }
12359 # Check whether --enable-statline was given.
12360 if test "${enable_statline+set}" = set; then
12361 enableval=$enable_statline;
12362 if test "$enableval" = yes; then
12363 wx_cv_use_statline='wxUSE_STATLINE=yes'
12365 wx_cv_use_statline='wxUSE_STATLINE=no'
12370 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12375 eval "$wx_cv_use_statline"
12377 if test x
"$enablestring" = xdisable
; then
12378 if test $wxUSE_STATLINE = no
; then
12384 result
=$wxUSE_STATLINE
12387 { echo "$as_me:$LINENO: result: $result" >&5
12388 echo "${ECHO_T}$result" >&6; }
12392 defaultval
=$wxUSE_ALL_FEATURES
12393 if test -z "$defaultval"; then
12394 if test x
"$enablestring" = xdisable
; then
12401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12402 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12403 # Check whether --enable-stattext was given.
12404 if test "${enable_stattext+set}" = set; then
12405 enableval
=$enable_stattext;
12406 if test "$enableval" = yes; then
12407 wx_cv_use_stattext
='wxUSE_STATTEXT=yes'
12409 wx_cv_use_stattext
='wxUSE_STATTEXT=no'
12414 wx_cv_use_stattext
='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12419 eval "$wx_cv_use_stattext"
12421 if test x"$enablestring" = xdisable; then
12422 if test $wxUSE_STATTEXT = no; then
12428 result=$wxUSE_STATTEXT
12431 { echo "$as_me:$LINENO: result: $result" >&5
12432 echo "${ECHO_T}$result" >&6; }
12436 defaultval=$wxUSE_ALL_FEATURES
12437 if test -z "$defaultval"; then
12438 if test x"$enablestring" = xdisable; then
12445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12446 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12447 # Check whether --enable-statusbar was given.
12448 if test "${enable_statusbar+set}" = set; then
12449 enableval=$enable_statusbar;
12450 if test "$enableval" = yes; then
12451 wx_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
12453 wx_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
12458 wx_cv_use_statusbar='wxUSE_STATUSBAR
=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12463 eval "$wx_cv_use_statusbar"
12465 if test x"$enablestring" = xdisable; then
12466 if test $wxUSE_STATUSBAR = no; then
12472 result=$wxUSE_STATUSBAR
12475 { echo "$as_me:$LINENO: result
: $result" >&5
12476 echo "${ECHO_T}$result" >&6; }
12480 defaultval=$wxUSE_ALL_FEATURES
12481 if test -z "$defaultval"; then
12482 if test x"$enablestring" = xdisable; then
12489 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-taskbaricon" >&5
12490 echo $ECHO_N "checking
for --${enablestring:-enable}-taskbaricon...
$ECHO_C" >&6; }
12491 # Check whether --enable-taskbaricon was given.
12492 if test "${enable_taskbaricon+set}" = set; then
12493 enableval=$enable_taskbaricon;
12494 if test "$enableval" = yes; then
12495 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12497 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12502 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12507 eval "$wx_cv_use_taskbaricon"
12509 if test x
"$enablestring" = xdisable
; then
12510 if test $wxUSE_TASKBARICON = no
; then
12516 result
=$wxUSE_TASKBARICON
12519 { echo "$as_me:$LINENO: result: $result" >&5
12520 echo "${ECHO_T}$result" >&6; }
12524 defaultval
=$wxUSE_ALL_FEATURES
12525 if test -z "$defaultval"; then
12526 if test x
"$enablestring" = xdisable
; then
12533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12534 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12535 # Check whether --enable-tbarnative was given.
12536 if test "${enable_tbarnative+set}" = set; then
12537 enableval
=$enable_tbarnative;
12538 if test "$enableval" = yes; then
12539 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
12541 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
12546 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12551 eval "$wx_cv_use_tbarnative"
12553 if test x"$enablestring" = xdisable; then
12554 if test $wxUSE_TOOLBAR_NATIVE = no; then
12560 result=$wxUSE_TOOLBAR_NATIVE
12563 { echo "$as_me:$LINENO: result: $result" >&5
12564 echo "${ECHO_T}$result" >&6; }
12568 defaultval=$wxUSE_ALL_FEATURES
12569 if test -z "$defaultval"; then
12570 if test x"$enablestring" = xdisable; then
12577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12578 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12579 # Check whether --enable-textctrl was given.
12580 if test "${enable_textctrl+set}" = set; then
12581 enableval=$enable_textctrl;
12582 if test "$enableval" = yes; then
12583 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
12585 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
12590 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12595 eval "$wx_cv_use_textctrl"
12597 if test x"$enablestring" = xdisable; then
12598 if test $wxUSE_TEXTCTRL = no; then
12604 result=$wxUSE_TEXTCTRL
12607 { echo "$as_me:$LINENO: result
: $result" >&5
12608 echo "${ECHO_T}$result" >&6; }
12612 defaultval=$wxUSE_ALL_FEATURES
12613 if test -z "$defaultval"; then
12614 if test x"$enablestring" = xdisable; then
12621 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipwindow" >&5
12622 echo $ECHO_N "checking
for --${enablestring:-enable}-tipwindow...
$ECHO_C" >&6; }
12623 # Check whether --enable-tipwindow was given.
12624 if test "${enable_tipwindow+set}" = set; then
12625 enableval=$enable_tipwindow;
12626 if test "$enableval" = yes; then
12627 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12629 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12634 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12639 eval "$wx_cv_use_tipwindow"
12641 if test x
"$enablestring" = xdisable
; then
12642 if test $wxUSE_TIPWINDOW = no
; then
12648 result
=$wxUSE_TIPWINDOW
12651 { echo "$as_me:$LINENO: result: $result" >&5
12652 echo "${ECHO_T}$result" >&6; }
12656 defaultval
=$wxUSE_ALL_FEATURES
12657 if test -z "$defaultval"; then
12658 if test x
"$enablestring" = xdisable
; then
12665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12666 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12667 # Check whether --enable-togglebtn was given.
12668 if test "${enable_togglebtn+set}" = set; then
12669 enableval
=$enable_togglebtn;
12670 if test "$enableval" = yes; then
12671 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
12673 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
12678 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12683 eval "$wx_cv_use_togglebtn"
12685 if test x"$enablestring" = xdisable; then
12686 if test $wxUSE_TOGGLEBTN = no; then
12692 result=$wxUSE_TOGGLEBTN
12695 { echo "$as_me:$LINENO: result: $result" >&5
12696 echo "${ECHO_T}$result" >&6; }
12700 defaultval=$wxUSE_ALL_FEATURES
12701 if test -z "$defaultval"; then
12702 if test x"$enablestring" = xdisable; then
12709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12710 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12711 # Check whether --enable-toolbar was given.
12712 if test "${enable_toolbar+set}" = set; then
12713 enableval=$enable_toolbar;
12714 if test "$enableval" = yes; then
12715 wx_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
12717 wx_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
12722 wx_cv_use_toolbar='wxUSE_TOOLBAR
=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12727 eval "$wx_cv_use_toolbar"
12729 if test x"$enablestring" = xdisable; then
12730 if test $wxUSE_TOOLBAR = no; then
12736 result=$wxUSE_TOOLBAR
12739 { echo "$as_me:$LINENO: result
: $result" >&5
12740 echo "${ECHO_T}$result" >&6; }
12744 defaultval=$wxUSE_ALL_FEATURES
12745 if test -z "$defaultval"; then
12746 if test x"$enablestring" = xdisable; then
12753 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbook" >&5
12754 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbook...
$ECHO_C" >&6; }
12755 # Check whether --enable-toolbook was given.
12756 if test "${enable_toolbook+set}" = set; then
12757 enableval=$enable_toolbook;
12758 if test "$enableval" = yes; then
12759 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12761 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12766 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12771 eval "$wx_cv_use_toolbook"
12773 if test x
"$enablestring" = xdisable
; then
12774 if test $wxUSE_TOOLBOOK = no
; then
12780 result
=$wxUSE_TOOLBOOK
12783 { echo "$as_me:$LINENO: result: $result" >&5
12784 echo "${ECHO_T}$result" >&6; }
12788 defaultval
=$wxUSE_ALL_FEATURES
12789 if test -z "$defaultval"; then
12790 if test x
"$enablestring" = xdisable
; then
12797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12798 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12799 # Check whether --enable-treebook was given.
12800 if test "${enable_treebook+set}" = set; then
12801 enableval
=$enable_treebook;
12802 if test "$enableval" = yes; then
12803 wx_cv_use_treebook
='wxUSE_TREEBOOK=yes'
12805 wx_cv_use_treebook
='wxUSE_TREEBOOK=no'
12810 wx_cv_use_treebook
='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12815 eval "$wx_cv_use_treebook"
12817 if test x"$enablestring" = xdisable; then
12818 if test $wxUSE_TREEBOOK = no; then
12824 result=$wxUSE_TREEBOOK
12827 { echo "$as_me:$LINENO: result: $result" >&5
12828 echo "${ECHO_T}$result" >&6; }
12832 defaultval=$wxUSE_ALL_FEATURES
12833 if test -z "$defaultval"; then
12834 if test x"$enablestring" = xdisable; then
12841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12842 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12843 # Check whether --enable-treectrl was given.
12844 if test "${enable_treectrl+set}" = set; then
12845 enableval=$enable_treectrl;
12846 if test "$enableval" = yes; then
12847 wx_cv_use_treectrl='wxUSE_TREECTRL
=yes'
12849 wx_cv_use_treectrl='wxUSE_TREECTRL
=no
'
12854 wx_cv_use_treectrl='wxUSE_TREECTRL
=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12859 eval "$wx_cv_use_treectrl"
12861 if test x"$enablestring" = xdisable; then
12862 if test $wxUSE_TREECTRL = no; then
12868 result=$wxUSE_TREECTRL
12871 { echo "$as_me:$LINENO: result
: $result" >&5
12872 echo "${ECHO_T}$result" >&6; }
12876 defaultval=$wxUSE_ALL_FEATURES
12877 if test -z "$defaultval"; then
12878 if test x"$enablestring" = xdisable; then
12885 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treelist" >&5
12886 echo $ECHO_N "checking
for --${enablestring:-enable}-treelist...
$ECHO_C" >&6; }
12887 # Check whether --enable-treelist was given.
12888 if test "${enable_treelist+set}" = set; then
12889 enableval=$enable_treelist;
12890 if test "$enableval" = yes; then
12891 wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
12893 wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
12898 wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
12903 eval "$wx_cv_use_treelist"
12905 if test x
"$enablestring" = xdisable
; then
12906 if test $wxUSE_TREELISTCTRL = no
; then
12912 result
=$wxUSE_TREELISTCTRL
12915 { echo "$as_me:$LINENO: result: $result" >&5
12916 echo "${ECHO_T}$result" >&6; }
12922 defaultval
=$wxUSE_ALL_FEATURES
12923 if test -z "$defaultval"; then
12924 if test x
"$enablestring" = xdisable
; then
12931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12932 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12933 # Check whether --enable-commondlg was given.
12934 if test "${enable_commondlg+set}" = set; then
12935 enableval
=$enable_commondlg;
12936 if test "$enableval" = yes; then
12937 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
12939 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
12944 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12949 eval "$wx_cv_use_commondlg"
12951 if test x"$enablestring" = xdisable; then
12952 if test $wxUSE_COMMONDLGS = no; then
12958 result=$wxUSE_COMMONDLGS
12961 { echo "$as_me:$LINENO: result: $result" >&5
12962 echo "${ECHO_T}$result" >&6; }
12966 defaultval=$wxUSE_ALL_FEATURES
12967 if test -z "$defaultval"; then
12968 if test x"$enablestring" = xdisable; then
12975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12976 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12977 # Check whether --enable-aboutdlg was given.
12978 if test "${enable_aboutdlg+set}" = set; then
12979 enableval=$enable_aboutdlg;
12980 if test "$enableval" = yes; then
12981 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=yes'
12983 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=no
'
12988 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12993 eval "$wx_cv_use_aboutdlg"
12995 if test x"$enablestring" = xdisable; then
12996 if test $wxUSE_ABOUTDLG = no; then
13002 result=$wxUSE_ABOUTDLG
13005 { echo "$as_me:$LINENO: result
: $result" >&5
13006 echo "${ECHO_T}$result" >&6; }
13010 defaultval=$wxUSE_ALL_FEATURES
13011 if test -z "$defaultval"; then
13012 if test x"$enablestring" = xdisable; then
13019 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicedlg" >&5
13020 echo $ECHO_N "checking
for --${enablestring:-enable}-choicedlg...
$ECHO_C" >&6; }
13021 # Check whether --enable-choicedlg was given.
13022 if test "${enable_choicedlg+set}" = set; then
13023 enableval=$enable_choicedlg;
13024 if test "$enableval" = yes; then
13025 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13027 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13032 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13037 eval "$wx_cv_use_choicedlg"
13039 if test x
"$enablestring" = xdisable
; then
13040 if test $wxUSE_CHOICEDLG = no
; then
13046 result
=$wxUSE_CHOICEDLG
13049 { echo "$as_me:$LINENO: result: $result" >&5
13050 echo "${ECHO_T}$result" >&6; }
13054 defaultval
=$wxUSE_ALL_FEATURES
13055 if test -z "$defaultval"; then
13056 if test x
"$enablestring" = xdisable
; then
13063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13064 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13065 # Check whether --enable-coldlg was given.
13066 if test "${enable_coldlg+set}" = set; then
13067 enableval
=$enable_coldlg;
13068 if test "$enableval" = yes; then
13069 wx_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
13071 wx_cv_use_coldlg
='wxUSE_COLOURDLG=no'
13076 wx_cv_use_coldlg
='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13081 eval "$wx_cv_use_coldlg"
13083 if test x"$enablestring" = xdisable; then
13084 if test $wxUSE_COLOURDLG = no; then
13090 result=$wxUSE_COLOURDLG
13093 { echo "$as_me:$LINENO: result: $result" >&5
13094 echo "${ECHO_T}$result" >&6; }
13098 defaultval=$wxUSE_ALL_FEATURES
13099 if test -z "$defaultval"; then
13100 if test x"$enablestring" = xdisable; then
13107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13108 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13109 # Check whether --enable-filedlg was given.
13110 if test "${enable_filedlg+set}" = set; then
13111 enableval=$enable_filedlg;
13112 if test "$enableval" = yes; then
13113 wx_cv_use_filedlg='wxUSE_FILEDLG
=yes'
13115 wx_cv_use_filedlg='wxUSE_FILEDLG
=no
'
13120 wx_cv_use_filedlg='wxUSE_FILEDLG
=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13125 eval "$wx_cv_use_filedlg"
13127 if test x"$enablestring" = xdisable; then
13128 if test $wxUSE_FILEDLG = no; then
13134 result=$wxUSE_FILEDLG
13137 { echo "$as_me:$LINENO: result
: $result" >&5
13138 echo "${ECHO_T}$result" >&6; }
13142 defaultval=$wxUSE_ALL_FEATURES
13143 if test -z "$defaultval"; then
13144 if test x"$enablestring" = xdisable; then
13151 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-finddlg" >&5
13152 echo $ECHO_N "checking
for --${enablestring:-enable}-finddlg...
$ECHO_C" >&6; }
13153 # Check whether --enable-finddlg was given.
13154 if test "${enable_finddlg+set}" = set; then
13155 enableval=$enable_finddlg;
13156 if test "$enableval" = yes; then
13157 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13159 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13164 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13169 eval "$wx_cv_use_finddlg"
13171 if test x
"$enablestring" = xdisable
; then
13172 if test $wxUSE_FINDREPLDLG = no
; then
13178 result
=$wxUSE_FINDREPLDLG
13181 { echo "$as_me:$LINENO: result: $result" >&5
13182 echo "${ECHO_T}$result" >&6; }
13186 defaultval
=$wxUSE_ALL_FEATURES
13187 if test -z "$defaultval"; then
13188 if test x
"$enablestring" = xdisable
; then
13195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13196 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13197 # Check whether --enable-fontdlg was given.
13198 if test "${enable_fontdlg+set}" = set; then
13199 enableval
=$enable_fontdlg;
13200 if test "$enableval" = yes; then
13201 wx_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
13203 wx_cv_use_fontdlg
='wxUSE_FONTDLG=no'
13208 wx_cv_use_fontdlg
='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13213 eval "$wx_cv_use_fontdlg"
13215 if test x"$enablestring" = xdisable; then
13216 if test $wxUSE_FONTDLG = no; then
13222 result=$wxUSE_FONTDLG
13225 { echo "$as_me:$LINENO: result: $result" >&5
13226 echo "${ECHO_T}$result" >&6; }
13230 defaultval=$wxUSE_ALL_FEATURES
13231 if test -z "$defaultval"; then
13232 if test x"$enablestring" = xdisable; then
13239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13240 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13241 # Check whether --enable-dirdlg was given.
13242 if test "${enable_dirdlg+set}" = set; then
13243 enableval=$enable_dirdlg;
13244 if test "$enableval" = yes; then
13245 wx_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
13247 wx_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
13252 wx_cv_use_dirdlg='wxUSE_DIRDLG
=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13257 eval "$wx_cv_use_dirdlg"
13259 if test x"$enablestring" = xdisable; then
13260 if test $wxUSE_DIRDLG = no; then
13266 result=$wxUSE_DIRDLG
13269 { echo "$as_me:$LINENO: result
: $result" >&5
13270 echo "${ECHO_T}$result" >&6; }
13274 defaultval=$wxUSE_ALL_FEATURES
13275 if test -z "$defaultval"; then
13276 if test x"$enablestring" = xdisable; then
13283 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-msgdlg" >&5
13284 echo $ECHO_N "checking
for --${enablestring:-enable}-msgdlg...
$ECHO_C" >&6; }
13285 # Check whether --enable-msgdlg was given.
13286 if test "${enable_msgdlg+set}" = set; then
13287 enableval=$enable_msgdlg;
13288 if test "$enableval" = yes; then
13289 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13291 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13296 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13301 eval "$wx_cv_use_msgdlg"
13303 if test x
"$enablestring" = xdisable
; then
13304 if test $wxUSE_MSGDLG = no
; then
13310 result
=$wxUSE_MSGDLG
13313 { echo "$as_me:$LINENO: result: $result" >&5
13314 echo "${ECHO_T}$result" >&6; }
13318 defaultval
=$wxUSE_ALL_FEATURES
13319 if test -z "$defaultval"; then
13320 if test x
"$enablestring" = xdisable
; then
13327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13328 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13329 # Check whether --enable-numberdlg was given.
13330 if test "${enable_numberdlg+set}" = set; then
13331 enableval
=$enable_numberdlg;
13332 if test "$enableval" = yes; then
13333 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
13335 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
13340 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13345 eval "$wx_cv_use_numberdlg"
13347 if test x"$enablestring" = xdisable; then
13348 if test $wxUSE_NUMBERDLG = no; then
13354 result=$wxUSE_NUMBERDLG
13357 { echo "$as_me:$LINENO: result: $result" >&5
13358 echo "${ECHO_T}$result" >&6; }
13362 defaultval=$wxUSE_ALL_FEATURES
13363 if test -z "$defaultval"; then
13364 if test x"$enablestring" = xdisable; then
13371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13372 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13373 # Check whether --enable-splash was given.
13374 if test "${enable_splash+set}" = set; then
13375 enableval=$enable_splash;
13376 if test "$enableval" = yes; then
13377 wx_cv_use_splash='wxUSE_SPLASH
=yes'
13379 wx_cv_use_splash='wxUSE_SPLASH
=no
'
13384 wx_cv_use_splash='wxUSE_SPLASH
=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13389 eval "$wx_cv_use_splash"
13391 if test x"$enablestring" = xdisable; then
13392 if test $wxUSE_SPLASH = no; then
13398 result=$wxUSE_SPLASH
13401 { echo "$as_me:$LINENO: result
: $result" >&5
13402 echo "${ECHO_T}$result" >&6; }
13406 defaultval=$wxUSE_ALL_FEATURES
13407 if test -z "$defaultval"; then
13408 if test x"$enablestring" = xdisable; then
13415 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textdlg" >&5
13416 echo $ECHO_N "checking
for --${enablestring:-enable}-textdlg...
$ECHO_C" >&6; }
13417 # Check whether --enable-textdlg was given.
13418 if test "${enable_textdlg+set}" = set; then
13419 enableval=$enable_textdlg;
13420 if test "$enableval" = yes; then
13421 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13423 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13428 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13433 eval "$wx_cv_use_textdlg"
13435 if test x
"$enablestring" = xdisable
; then
13436 if test $wxUSE_TEXTDLG = no
; then
13442 result
=$wxUSE_TEXTDLG
13445 { echo "$as_me:$LINENO: result: $result" >&5
13446 echo "${ECHO_T}$result" >&6; }
13450 defaultval
=$wxUSE_ALL_FEATURES
13451 if test -z "$defaultval"; then
13452 if test x
"$enablestring" = xdisable
; then
13459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13460 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13461 # Check whether --enable-tipdlg was given.
13462 if test "${enable_tipdlg+set}" = set; then
13463 enableval
=$enable_tipdlg;
13464 if test "$enableval" = yes; then
13465 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
13467 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
13472 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13477 eval "$wx_cv_use_tipdlg"
13479 if test x"$enablestring" = xdisable; then
13480 if test $wxUSE_STARTUP_TIPS = no; then
13486 result=$wxUSE_STARTUP_TIPS
13489 { echo "$as_me:$LINENO: result: $result" >&5
13490 echo "${ECHO_T}$result" >&6; }
13494 defaultval=$wxUSE_ALL_FEATURES
13495 if test -z "$defaultval"; then
13496 if test x"$enablestring" = xdisable; then
13503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13504 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13505 # Check whether --enable-progressdlg was given.
13506 if test "${enable_progressdlg+set}" = set; then
13507 enableval=$enable_progressdlg;
13508 if test "$enableval" = yes; then
13509 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
13511 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
13516 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13521 eval "$wx_cv_use_progressdlg"
13523 if test x"$enablestring" = xdisable; then
13524 if test $wxUSE_PROGRESSDLG = no; then
13530 result=$wxUSE_PROGRESSDLG
13533 { echo "$as_me:$LINENO: result
: $result" >&5
13534 echo "${ECHO_T}$result" >&6; }
13538 defaultval=$wxUSE_ALL_FEATURES
13539 if test -z "$defaultval"; then
13540 if test x"$enablestring" = xdisable; then
13547 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wizarddlg" >&5
13548 echo $ECHO_N "checking
for --${enablestring:-enable}-wizarddlg...
$ECHO_C" >&6; }
13549 # Check whether --enable-wizarddlg was given.
13550 if test "${enable_wizarddlg+set}" = set; then
13551 enableval=$enable_wizarddlg;
13552 if test "$enableval" = yes; then
13553 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13555 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13560 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13565 eval "$wx_cv_use_wizarddlg"
13567 if test x
"$enablestring" = xdisable
; then
13568 if test $wxUSE_WIZARDDLG = no
; then
13574 result
=$wxUSE_WIZARDDLG
13577 { echo "$as_me:$LINENO: result: $result" >&5
13578 echo "${ECHO_T}$result" >&6; }
13584 defaultval
=$wxUSE_ALL_FEATURES
13585 if test -z "$defaultval"; then
13586 if test x
"$enablestring" = xdisable
; then
13593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13594 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13595 # Check whether --enable-menus was given.
13596 if test "${enable_menus+set}" = set; then
13597 enableval
=$enable_menus;
13598 if test "$enableval" = yes; then
13599 wx_cv_use_menus
='wxUSE_MENUS=yes'
13601 wx_cv_use_menus
='wxUSE_MENUS=no'
13606 wx_cv_use_menus
='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13611 eval "$wx_cv_use_menus"
13613 if test x"$enablestring" = xdisable; then
13614 if test $wxUSE_MENUS = no; then
13620 result=$wxUSE_MENUS
13623 { echo "$as_me:$LINENO: result: $result" >&5
13624 echo "${ECHO_T}$result" >&6; }
13628 defaultval=$wxUSE_ALL_FEATURES
13629 if test -z "$defaultval"; then
13630 if test x"$enablestring" = xdisable; then
13637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13638 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13639 # Check whether --enable-miniframe was given.
13640 if test "${enable_miniframe+set}" = set; then
13641 enableval=$enable_miniframe;
13642 if test "$enableval" = yes; then
13643 wx_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
13645 wx_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
13650 wx_cv_use_miniframe='wxUSE_MINIFRAME
=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13655 eval "$wx_cv_use_miniframe"
13657 if test x"$enablestring" = xdisable; then
13658 if test $wxUSE_MINIFRAME = no; then
13664 result=$wxUSE_MINIFRAME
13667 { echo "$as_me:$LINENO: result
: $result" >&5
13668 echo "${ECHO_T}$result" >&6; }
13672 defaultval=$wxUSE_ALL_FEATURES
13673 if test -z "$defaultval"; then
13674 if test x"$enablestring" = xdisable; then
13681 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tooltips" >&5
13682 echo $ECHO_N "checking
for --${enablestring:-enable}-tooltips...
$ECHO_C" >&6; }
13683 # Check whether --enable-tooltips was given.
13684 if test "${enable_tooltips+set}" = set; then
13685 enableval=$enable_tooltips;
13686 if test "$enableval" = yes; then
13687 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13689 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13694 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13699 eval "$wx_cv_use_tooltips"
13701 if test x
"$enablestring" = xdisable
; then
13702 if test $wxUSE_TOOLTIPS = no
; then
13708 result
=$wxUSE_TOOLTIPS
13711 { echo "$as_me:$LINENO: result: $result" >&5
13712 echo "${ECHO_T}$result" >&6; }
13716 defaultval
=$wxUSE_ALL_FEATURES
13717 if test -z "$defaultval"; then
13718 if test x
"$enablestring" = xdisable
; then
13725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13726 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13727 # Check whether --enable-splines was given.
13728 if test "${enable_splines+set}" = set; then
13729 enableval
=$enable_splines;
13730 if test "$enableval" = yes; then
13731 wx_cv_use_splines
='wxUSE_SPLINES=yes'
13733 wx_cv_use_splines
='wxUSE_SPLINES=no'
13738 wx_cv_use_splines
='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13743 eval "$wx_cv_use_splines"
13745 if test x"$enablestring" = xdisable; then
13746 if test $wxUSE_SPLINES = no; then
13752 result=$wxUSE_SPLINES
13755 { echo "$as_me:$LINENO: result: $result" >&5
13756 echo "${ECHO_T}$result" >&6; }
13760 defaultval=$wxUSE_ALL_FEATURES
13761 if test -z "$defaultval"; then
13762 if test x"$enablestring" = xdisable; then
13769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13770 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13771 # Check whether --enable-mousewheel was given.
13772 if test "${enable_mousewheel+set}" = set; then
13773 enableval=$enable_mousewheel;
13774 if test "$enableval" = yes; then
13775 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
13777 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
13782 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13787 eval "$wx_cv_use_mousewheel"
13789 if test x"$enablestring" = xdisable; then
13790 if test $wxUSE_MOUSEWHEEL = no; then
13796 result=$wxUSE_MOUSEWHEEL
13799 { echo "$as_me:$LINENO: result
: $result" >&5
13800 echo "${ECHO_T}$result" >&6; }
13804 defaultval=$wxUSE_ALL_FEATURES
13805 if test -z "$defaultval"; then
13806 if test x"$enablestring" = xdisable; then
13813 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-validators" >&5
13814 echo $ECHO_N "checking
for --${enablestring:-enable}-validators...
$ECHO_C" >&6; }
13815 # Check whether --enable-validators was given.
13816 if test "${enable_validators+set}" = set; then
13817 enableval=$enable_validators;
13818 if test "$enableval" = yes; then
13819 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13821 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13826 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13831 eval "$wx_cv_use_validators"
13833 if test x
"$enablestring" = xdisable
; then
13834 if test $wxUSE_VALIDATORS = no
; then
13840 result
=$wxUSE_VALIDATORS
13843 { echo "$as_me:$LINENO: result: $result" >&5
13844 echo "${ECHO_T}$result" >&6; }
13848 defaultval
=$wxUSE_ALL_FEATURES
13849 if test -z "$defaultval"; then
13850 if test x
"$enablestring" = xdisable
; then
13857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13858 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13859 # Check whether --enable-busyinfo was given.
13860 if test "${enable_busyinfo+set}" = set; then
13861 enableval
=$enable_busyinfo;
13862 if test "$enableval" = yes; then
13863 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
13865 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
13870 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13875 eval "$wx_cv_use_busyinfo"
13877 if test x"$enablestring" = xdisable; then
13878 if test $wxUSE_BUSYINFO = no; then
13884 result=$wxUSE_BUSYINFO
13887 { echo "$as_me:$LINENO: result: $result" >&5
13888 echo "${ECHO_T}$result" >&6; }
13892 defaultval=$wxUSE_ALL_FEATURES
13893 if test -z "$defaultval"; then
13894 if test x"$enablestring" = xdisable; then
13901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hotkey" >&5
13902 echo $ECHO_N "checking for --${enablestring:-enable}-hotkey... $ECHO_C" >&6; }
13903 # Check whether --enable-hotkey was given.
13904 if test "${enable_hotkey+set}" = set; then
13905 enableval=$enable_hotkey;
13906 if test "$enableval" = yes; then
13907 wx_cv_use_hotkey='wxUSE_HOTKEY
=yes'
13909 wx_cv_use_hotkey='wxUSE_HOTKEY
=no
'
13914 wx_cv_use_hotkey='wxUSE_HOTKEY
=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
13919 eval "$wx_cv_use_hotkey"
13921 if test x"$enablestring" = xdisable; then
13922 if test $wxUSE_HOTKEY = no; then
13928 result=$wxUSE_HOTKEY
13931 { echo "$as_me:$LINENO: result
: $result" >&5
13932 echo "${ECHO_T}$result" >&6; }
13936 defaultval=$wxUSE_ALL_FEATURES
13937 if test -z "$defaultval"; then
13938 if test x"$enablestring" = xdisable; then
13945 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-joystick" >&5
13946 echo $ECHO_N "checking
for --${enablestring:-enable}-joystick...
$ECHO_C" >&6; }
13947 # Check whether --enable-joystick was given.
13948 if test "${enable_joystick+set}" = set; then
13949 enableval=$enable_joystick;
13950 if test "$enableval" = yes; then
13951 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13953 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13958 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13963 eval "$wx_cv_use_joystick"
13965 if test x
"$enablestring" = xdisable
; then
13966 if test $wxUSE_JOYSTICK = no
; then
13972 result
=$wxUSE_JOYSTICK
13975 { echo "$as_me:$LINENO: result: $result" >&5
13976 echo "${ECHO_T}$result" >&6; }
13980 defaultval
=$wxUSE_ALL_FEATURES
13981 if test -z "$defaultval"; then
13982 if test x
"$enablestring" = xdisable
; then
13989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13990 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13991 # Check whether --enable-metafile was given.
13992 if test "${enable_metafile+set}" = set; then
13993 enableval
=$enable_metafile;
13994 if test "$enableval" = yes; then
13995 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
13997 wx_cv_use_metafile
='wxUSE_METAFILE=no'
14002 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14007 eval "$wx_cv_use_metafile"
14009 if test x"$enablestring" = xdisable; then
14010 if test $wxUSE_METAFILE = no; then
14016 result=$wxUSE_METAFILE
14019 { echo "$as_me:$LINENO: result: $result" >&5
14020 echo "${ECHO_T}$result" >&6; }
14024 defaultval=$wxUSE_ALL_FEATURES
14025 if test -z "$defaultval"; then
14026 if test x"$enablestring" = xdisable; then
14033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
14034 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
14035 # Check whether --enable-dragimage was given.
14036 if test "${enable_dragimage+set}" = set; then
14037 enableval=$enable_dragimage;
14038 if test "$enableval" = yes; then
14039 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
14041 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
14046 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14051 eval "$wx_cv_use_dragimage"
14053 if test x"$enablestring" = xdisable; then
14054 if test $wxUSE_DRAGIMAGE = no; then
14060 result=$wxUSE_DRAGIMAGE
14063 { echo "$as_me:$LINENO: result
: $result" >&5
14064 echo "${ECHO_T}$result" >&6; }
14068 defaultval=$wxUSE_ALL_FEATURES
14069 if test -z "$defaultval"; then
14070 if test x"$enablestring" = xdisable; then
14077 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accessibility" >&5
14078 echo $ECHO_N "checking
for --${enablestring:-enable}-accessibility...
$ECHO_C" >&6; }
14079 # Check whether --enable-accessibility was given.
14080 if test "${enable_accessibility+set}" = set; then
14081 enableval=$enable_accessibility;
14082 if test "$enableval" = yes; then
14083 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
14085 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
14090 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14095 eval "$wx_cv_use_accessibility"
14097 if test x
"$enablestring" = xdisable
; then
14098 if test $wxUSE_ACCESSIBILITY = no
; then
14104 result
=$wxUSE_ACCESSIBILITY
14107 { echo "$as_me:$LINENO: result: $result" >&5
14108 echo "${ECHO_T}$result" >&6; }
14112 defaultval
=$wxUSE_ALL_FEATURES
14113 if test -z "$defaultval"; then
14114 if test x
"$enablestring" = xdisable
; then
14121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
14122 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
14123 # Check whether --enable-uiactionsim was given.
14124 if test "${enable_uiactionsim+set}" = set; then
14125 enableval
=$enable_uiactionsim;
14126 if test "$enableval" = yes; then
14127 wx_cv_use_uiactionsim
='wxUSE_UIACTIONSIMULATOR=yes'
14129 wx_cv_use_uiactionsim
='wxUSE_UIACTIONSIMULATOR=no'
14134 wx_cv_use_uiactionsim
='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
14139 eval "$wx_cv_use_uiactionsim"
14141 if test x"$enablestring" = xdisable; then
14142 if test $wxUSE_UIACTIONSIMULATOR = no; then
14148 result=$wxUSE_UIACTIONSIMULATOR
14151 { echo "$as_me:$LINENO: result: $result" >&5
14152 echo "${ECHO_T}$result" >&6; }
14156 defaultval=$wxUSE_ALL_FEATURES
14157 if test -z "$defaultval"; then
14158 if test x"$enablestring" = xdisable; then
14165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dctransform" >&5
14166 echo $ECHO_N "checking for --${enablestring:-enable}-dctransform... $ECHO_C" >&6; }
14167 # Check whether --enable-dctransform was given.
14168 if test "${enable_dctransform+set}" = set; then
14169 enableval=$enable_dctransform;
14170 if test "$enableval" = yes; then
14171 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX
=yes'
14173 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX
=no
'
14178 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX
=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
14183 eval "$wx_cv_use_dctransform"
14185 if test x"$enablestring" = xdisable; then
14186 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
14192 result=$wxUSE_DC_TRANSFORM_MATRIX
14195 { echo "$as_me:$LINENO: result
: $result" >&5
14196 echo "${ECHO_T}$result" >&6; }
14200 defaultval=$wxUSE_ALL_FEATURES
14201 if test -z "$defaultval"; then
14202 if test x"$enablestring" = xdisable; then
14209 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-webviewwebkit" >&5
14210 echo $ECHO_N "checking
for --${enablestring:-enable}-webviewwebkit...
$ECHO_C" >&6; }
14211 # Check whether --enable-webviewwebkit was given.
14212 if test "${enable_webviewwebkit+set}" = set; then
14213 enableval=$enable_webviewwebkit;
14214 if test "$enableval" = yes; then
14215 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
14217 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
14222 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
14227 eval "$wx_cv_use_webviewwebkit"
14229 if test x
"$enablestring" = xdisable
; then
14230 if test $wxUSE_WEBVIEW_WEBKIT = no
; then
14236 result
=$wxUSE_WEBVIEW_WEBKIT
14239 { echo "$as_me:$LINENO: result: $result" >&5
14240 echo "${ECHO_T}$result" >&6; }
14246 defaultval
=$wxUSE_ALL_FEATURES
14247 if test -z "$defaultval"; then
14248 if test x
"$enablestring" = xdisable
; then
14255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14256 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14257 # Check whether --enable-palette was given.
14258 if test "${enable_palette+set}" = set; then
14259 enableval
=$enable_palette;
14260 if test "$enableval" = yes; then
14261 wx_cv_use_palette
='wxUSE_PALETTE=yes'
14263 wx_cv_use_palette
='wxUSE_PALETTE=no'
14268 wx_cv_use_palette
='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14273 eval "$wx_cv_use_palette"
14275 if test x"$enablestring" = xdisable; then
14276 if test $wxUSE_PALETTE = no; then
14282 result=$wxUSE_PALETTE
14285 { echo "$as_me:$LINENO: result: $result" >&5
14286 echo "${ECHO_T}$result" >&6; }
14290 defaultval=$wxUSE_ALL_FEATURES
14291 if test -z "$defaultval"; then
14292 if test x"$enablestring" = xdisable; then
14299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14300 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14301 # Check whether --enable-image was given.
14302 if test "${enable_image+set}" = set; then
14303 enableval=$enable_image;
14304 if test "$enableval" = yes; then
14305 wx_cv_use_image='wxUSE_IMAGE
=yes'
14307 wx_cv_use_image='wxUSE_IMAGE
=no
'
14312 wx_cv_use_image='wxUSE_IMAGE
=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14317 eval "$wx_cv_use_image"
14319 if test x"$enablestring" = xdisable; then
14320 if test $wxUSE_IMAGE = no; then
14326 result=$wxUSE_IMAGE
14329 { echo "$as_me:$LINENO: result
: $result" >&5
14330 echo "${ECHO_T}$result" >&6; }
14334 defaultval=$wxUSE_ALL_FEATURES
14335 if test -z "$defaultval"; then
14336 if test x"$enablestring" = xdisable; then
14343 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gif" >&5
14344 echo $ECHO_N "checking
for --${enablestring:-enable}-gif...
$ECHO_C" >&6; }
14345 # Check whether --enable-gif was given.
14346 if test "${enable_gif+set}" = set; then
14347 enableval=$enable_gif;
14348 if test "$enableval" = yes; then
14349 wx_cv_use_gif='wxUSE_GIF=yes'
14351 wx_cv_use_gif='wxUSE_GIF=no'
14356 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14361 eval "$wx_cv_use_gif"
14363 if test x
"$enablestring" = xdisable
; then
14364 if test $wxUSE_GIF = no
; then
14373 { echo "$as_me:$LINENO: result: $result" >&5
14374 echo "${ECHO_T}$result" >&6; }
14378 defaultval
=$wxUSE_ALL_FEATURES
14379 if test -z "$defaultval"; then
14380 if test x
"$enablestring" = xdisable
; then
14387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14388 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14389 # Check whether --enable-pcx was given.
14390 if test "${enable_pcx+set}" = set; then
14391 enableval
=$enable_pcx;
14392 if test "$enableval" = yes; then
14393 wx_cv_use_pcx
='wxUSE_PCX=yes'
14395 wx_cv_use_pcx
='wxUSE_PCX=no'
14400 wx_cv_use_pcx
='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14405 eval "$wx_cv_use_pcx"
14407 if test x"$enablestring" = xdisable; then
14408 if test $wxUSE_PCX = no; then
14417 { echo "$as_me:$LINENO: result: $result" >&5
14418 echo "${ECHO_T}$result" >&6; }
14422 defaultval=$wxUSE_ALL_FEATURES
14423 if test -z "$defaultval"; then
14424 if test x"$enablestring" = xdisable; then
14431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14432 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14433 # Check whether --enable-tga was given.
14434 if test "${enable_tga+set}" = set; then
14435 enableval=$enable_tga;
14436 if test "$enableval" = yes; then
14437 wx_cv_use_tga='wxUSE_TGA
=yes'
14439 wx_cv_use_tga='wxUSE_TGA
=no
'
14444 wx_cv_use_tga='wxUSE_TGA
=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14449 eval "$wx_cv_use_tga"
14451 if test x"$enablestring" = xdisable; then
14452 if test $wxUSE_TGA = no; then
14461 { echo "$as_me:$LINENO: result
: $result" >&5
14462 echo "${ECHO_T}$result" >&6; }
14466 defaultval=$wxUSE_ALL_FEATURES
14467 if test -z "$defaultval"; then
14468 if test x"$enablestring" = xdisable; then
14475 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iff" >&5
14476 echo $ECHO_N "checking
for --${enablestring:-enable}-iff...
$ECHO_C" >&6; }
14477 # Check whether --enable-iff was given.
14478 if test "${enable_iff+set}" = set; then
14479 enableval=$enable_iff;
14480 if test "$enableval" = yes; then
14481 wx_cv_use_iff='wxUSE_IFF=yes'
14483 wx_cv_use_iff='wxUSE_IFF=no'
14488 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14493 eval "$wx_cv_use_iff"
14495 if test x
"$enablestring" = xdisable
; then
14496 if test $wxUSE_IFF = no
; then
14505 { echo "$as_me:$LINENO: result: $result" >&5
14506 echo "${ECHO_T}$result" >&6; }
14510 defaultval
=$wxUSE_ALL_FEATURES
14511 if test -z "$defaultval"; then
14512 if test x
"$enablestring" = xdisable
; then
14519 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14520 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
14521 # Check whether --enable-pnm was given.
14522 if test "${enable_pnm+set}" = set; then
14523 enableval
=$enable_pnm;
14524 if test "$enableval" = yes; then
14525 wx_cv_use_pnm
='wxUSE_PNM=yes'
14527 wx_cv_use_pnm
='wxUSE_PNM=no'
14532 wx_cv_use_pnm
='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14537 eval "$wx_cv_use_pnm"
14539 if test x"$enablestring" = xdisable; then
14540 if test $wxUSE_PNM = no; then
14549 { echo "$as_me:$LINENO: result: $result" >&5
14550 echo "${ECHO_T}$result" >&6; }
14554 defaultval=$wxUSE_ALL_FEATURES
14555 if test -z "$defaultval"; then
14556 if test x"$enablestring" = xdisable; then
14563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14564 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14565 # Check whether --enable-xpm was given.
14566 if test "${enable_xpm+set}" = set; then
14567 enableval=$enable_xpm;
14568 if test "$enableval" = yes; then
14569 wx_cv_use_xpm='wxUSE_XPM
=yes'
14571 wx_cv_use_xpm='wxUSE_XPM
=no
'
14576 wx_cv_use_xpm='wxUSE_XPM
=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14581 eval "$wx_cv_use_xpm"
14583 if test x"$enablestring" = xdisable; then
14584 if test $wxUSE_XPM = no; then
14593 { echo "$as_me:$LINENO: result
: $result" >&5
14594 echo "${ECHO_T}$result" >&6; }
14598 defaultval=$wxUSE_ALL_FEATURES
14599 if test -z "$defaultval"; then
14600 if test x"$enablestring" = xdisable; then
14607 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ico_cur" >&5
14608 echo $ECHO_N "checking
for --${enablestring:-enable}-ico_cur...
$ECHO_C" >&6; }
14609 # Check whether --enable-ico_cur was given.
14610 if test "${enable_ico_cur+set}" = set; then
14611 enableval=$enable_ico_cur;
14612 if test "$enableval" = yes; then
14613 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14615 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14620 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14625 eval "$wx_cv_use_ico_cur"
14627 if test x
"$enablestring" = xdisable
; then
14628 if test $wxUSE_ICO_CUR = no
; then
14634 result
=$wxUSE_ICO_CUR
14637 { echo "$as_me:$LINENO: result: $result" >&5
14638 echo "${ECHO_T}$result" >&6; }
14644 defaultval
=$wxUSE_ALL_FEATURES
14645 if test -z "$defaultval"; then
14646 if test x
"$enablestring" = xdisable
; then
14653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14654 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14655 # Check whether --enable-dccache was given.
14656 if test "${enable_dccache+set}" = set; then
14657 enableval
=$enable_dccache;
14658 if test "$enableval" = yes; then
14659 wx_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
14661 wx_cv_use_dccache
='wxUSE_DC_CACHEING=no'
14666 wx_cv_use_dccache
='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14671 eval "$wx_cv_use_dccache"
14673 if test x"$enablestring" = xdisable; then
14674 if test $wxUSE_DC_CACHEING = no; then
14680 result=$wxUSE_DC_CACHEING
14683 { echo "$as_me:$LINENO: result: $result" >&5
14684 echo "${ECHO_T}$result" >&6; }
14688 defaultval=$wxUSE_ALL_FEATURES
14689 if test -z "$defaultval"; then
14690 if test x"$enablestring" = xdisable; then
14697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14698 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14699 # Check whether --enable-ps-in-msw was given.
14700 if test "${enable_ps_in_msw+set}" = set; then
14701 enableval=$enable_ps_in_msw;
14702 if test "$enableval" = yes; then
14703 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=yes'
14705 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=no
'
14710 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14715 eval "$wx_cv_use_ps_in_msw"
14717 if test x"$enablestring" = xdisable; then
14718 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14724 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14727 { echo "$as_me:$LINENO: result
: $result" >&5
14728 echo "${ECHO_T}$result" >&6; }
14732 defaultval=$wxUSE_ALL_FEATURES
14733 if test -z "$defaultval"; then
14734 if test x"$enablestring" = xdisable; then
14741 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ownerdrawn" >&5
14742 echo $ECHO_N "checking
for --${enablestring:-enable}-ownerdrawn...
$ECHO_C" >&6; }
14743 # Check whether --enable-ownerdrawn was given.
14744 if test "${enable_ownerdrawn+set}" = set; then
14745 enableval=$enable_ownerdrawn;
14746 if test "$enableval" = yes; then
14747 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14749 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14754 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14759 eval "$wx_cv_use_ownerdrawn"
14761 if test x
"$enablestring" = xdisable
; then
14762 if test $wxUSE_OWNER_DRAWN = no
; then
14768 result
=$wxUSE_OWNER_DRAWN
14771 { echo "$as_me:$LINENO: result: $result" >&5
14772 echo "${ECHO_T}$result" >&6; }
14776 defaultval
=$wxUSE_ALL_FEATURES
14777 if test -z "$defaultval"; then
14778 if test x
"$enablestring" = xdisable
; then
14785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14786 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14787 # Check whether --enable-uxtheme was given.
14788 if test "${enable_uxtheme+set}" = set; then
14789 enableval
=$enable_uxtheme;
14790 if test "$enableval" = yes; then
14791 wx_cv_use_uxtheme
='wxUSE_UXTHEME=yes'
14793 wx_cv_use_uxtheme
='wxUSE_UXTHEME=no'
14798 wx_cv_use_uxtheme
='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14803 eval "$wx_cv_use_uxtheme"
14805 if test x"$enablestring" = xdisable; then
14806 if test $wxUSE_UXTHEME = no; then
14812 result=$wxUSE_UXTHEME
14815 { echo "$as_me:$LINENO: result: $result" >&5
14816 echo "${ECHO_T}$result" >&6; }
14820 defaultval=$wxUSE_ALL_FEATURES
14821 if test -z "$defaultval"; then
14822 if test x"$enablestring" = xdisable; then
14829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14830 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14831 # Check whether --enable-wxdib was given.
14832 if test "${enable_wxdib+set}" = set; then
14833 enableval=$enable_wxdib;
14834 if test "$enableval" = yes; then
14835 wx_cv_use_wxdib='wxUSE_DIB
=yes'
14837 wx_cv_use_wxdib='wxUSE_DIB
=no
'
14842 wx_cv_use_wxdib='wxUSE_DIB
=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14847 eval "$wx_cv_use_wxdib"
14849 if test x"$enablestring" = xdisable; then
14850 if test $wxUSE_DIB = no; then
14859 { echo "$as_me:$LINENO: result
: $result" >&5
14860 echo "${ECHO_T}$result" >&6; }
14864 defaultval=$wxUSE_ALL_FEATURES
14865 if test -z "$defaultval"; then
14866 if test x"$enablestring" = xdisable; then
14873 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-webviewie" >&5
14874 echo $ECHO_N "checking
for --${enablestring:-enable}-webviewie...
$ECHO_C" >&6; }
14875 # Check whether --enable-webviewie was given.
14876 if test "${enable_webviewie+set}" = set; then
14877 enableval=$enable_webviewie;
14878 if test "$enableval" = yes; then
14879 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
14881 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
14886 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
14891 eval "$wx_cv_use_webviewie"
14893 if test x
"$enablestring" = xdisable
; then
14894 if test $wxUSE_WEBVIEW_IE = no
; then
14900 result
=$wxUSE_WEBVIEW_IE
14903 { echo "$as_me:$LINENO: result: $result" >&5
14904 echo "${ECHO_T}$result" >&6; }
14907 if test "$wxUSE_MSW" != 1; then
14908 DEFAULT_wxUSE_AUTOID_MANAGEMENT
=no
14913 defaultval
=$wxUSE_ALL_FEATURES
14914 if test -z "$defaultval"; then
14915 if test x
"$enablestring" = xdisable
; then
14922 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14923 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14924 # Check whether --enable-autoidman was given.
14925 if test "${enable_autoidman+set}" = set; then
14926 enableval
=$enable_autoidman;
14927 if test "$enableval" = yes; then
14928 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=yes'
14930 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=no'
14935 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14940 eval "$wx_cv_use_autoidman"
14942 if test x"$enablestring" = xdisable; then
14943 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14949 result=$wxUSE_AUTOID_MANAGEMENT
14952 { echo "$as_me:$LINENO: result: $result" >&5
14953 echo "${ECHO_T}$result" >&6; }
14959 cat >confcache <<\_ACEOF
14960 # This file is a shell script that caches the results of configure
14961 # tests run on this system so they can be shared between configure
14962 # scripts and configure runs, see configure's option
--config-cache.
14963 # It is not useful on other systems. If it contains results you don't
14964 # want to keep, you may remove or edit it.
14966 # config.status only pays attention to the cache file if you give it
14967 # the --recheck option to rerun configure.
14969 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14970 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14971 # following values.
14975 # The following way of writing the cache mishandles newlines in values,
14976 # but we know of no workaround that is simple, portable, and efficient.
14977 # So, we kill variables containing newlines.
14978 # Ultrix sh set writes to stderr and can't be redirected directly,
14979 # and sets the high bit in the cache file unless we assign to the vars.
14981 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14982 eval ac_val
=\$
$ac_var
14986 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14987 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14990 _
| IFS
| as_nl
) ;; #(
14991 *) $as_unset $ac_var ;;
14997 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14998 *${as_nl}ac_space
=\
*)
14999 # `set' does not quote correctly, so add quotes (double-quote
15000 # substitution turns \\\\ into \\, and sed turns \\ into \).
15003 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15006 # `set' quotes correctly as required by POSIX, so do not add quotes.
15007 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15016 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15018 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15020 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15021 if test -w "$cache_file"; then
15022 test "x$cache_file" != "x/dev/null" &&
15023 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15024 echo "$as_me: updating cache $cache_file" >&6;}
15025 cat confcache
>$cache_file
15027 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15028 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15035 ac_cpp
='$CPP $CPPFLAGS'
15036 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15037 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15038 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15039 if test -n "$ac_tool_prefix"; then
15040 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15041 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
15042 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15044 if test "${ac_cv_prog_CC+set}" = set; then
15045 echo $ECHO_N "(cached) $ECHO_C" >&6
15047 if test -n "$CC"; then
15048 ac_cv_prog_CC
="$CC" # Let the user override the test.
15050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15051 for as_dir
in $PATH
15054 test -z "$as_dir" && as_dir
=.
15055 for ac_exec_ext
in '' $ac_executable_extensions; do
15056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15057 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
15058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15068 if test -n "$CC"; then
15069 { echo "$as_me:$LINENO: result: $CC" >&5
15070 echo "${ECHO_T}$CC" >&6; }
15072 { echo "$as_me:$LINENO: result: no" >&5
15073 echo "${ECHO_T}no" >&6; }
15078 if test -z "$ac_cv_prog_CC"; then
15080 # Extract the first word of "gcc", so it can be a program name with args.
15081 set dummy gcc
; ac_word
=$2
15082 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15084 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15085 echo $ECHO_N "(cached) $ECHO_C" >&6
15087 if test -n "$ac_ct_CC"; then
15088 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
15090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15091 for as_dir
in $PATH
15094 test -z "$as_dir" && as_dir
=.
15095 for ac_exec_ext
in '' $ac_executable_extensions; do
15096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15097 ac_cv_prog_ac_ct_CC
="gcc"
15098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15107 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
15108 if test -n "$ac_ct_CC"; then
15109 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15110 echo "${ECHO_T}$ac_ct_CC" >&6; }
15112 { echo "$as_me:$LINENO: result: no" >&5
15113 echo "${ECHO_T}no" >&6; }
15116 if test "x$ac_ct_CC" = x
; then
15119 case $cross_compiling:$ac_tool_warned in
15121 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15122 whose name does not start with the host triplet. If you think this
15123 configuration is useful to you, please write to autoconf@gnu.org." >&5
15124 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15125 whose name does not start with the host triplet. If you think this
15126 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15127 ac_tool_warned
=yes ;;
15132 CC
="$ac_cv_prog_CC"
15135 if test -z "$CC"; then
15136 if test -n "$ac_tool_prefix"; then
15137 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15138 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
15139 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15141 if test "${ac_cv_prog_CC+set}" = set; then
15142 echo $ECHO_N "(cached) $ECHO_C" >&6
15144 if test -n "$CC"; then
15145 ac_cv_prog_CC
="$CC" # Let the user override the test.
15147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15148 for as_dir
in $PATH
15151 test -z "$as_dir" && as_dir
=.
15152 for ac_exec_ext
in '' $ac_executable_extensions; do
15153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15154 ac_cv_prog_CC
="${ac_tool_prefix}cc"
15155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15165 if test -n "$CC"; then
15166 { echo "$as_me:$LINENO: result: $CC" >&5
15167 echo "${ECHO_T}$CC" >&6; }
15169 { echo "$as_me:$LINENO: result: no" >&5
15170 echo "${ECHO_T}no" >&6; }
15176 if test -z "$CC"; then
15177 # Extract the first word of "cc", so it can be a program name with args.
15178 set dummy cc
; ac_word
=$2
15179 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15181 if test "${ac_cv_prog_CC+set}" = set; then
15182 echo $ECHO_N "(cached) $ECHO_C" >&6
15184 if test -n "$CC"; then
15185 ac_cv_prog_CC
="$CC" # Let the user override the test.
15187 ac_prog_rejected
=no
15188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15189 for as_dir
in $PATH
15192 test -z "$as_dir" && as_dir
=.
15193 for ac_exec_ext
in '' $ac_executable_extensions; do
15194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15195 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15196 ac_prog_rejected
=yes
15200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15207 if test $ac_prog_rejected = yes; then
15208 # We found a bogon in the path, so make sure we never use it.
15209 set dummy
$ac_cv_prog_CC
15211 if test $# != 0; then
15212 # We chose a different compiler from the bogus one.
15213 # However, it has the same basename, so the bogon will be chosen
15214 # first if we set CC to just the basename; use the full file name.
15216 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
15222 if test -n "$CC"; then
15223 { echo "$as_me:$LINENO: result: $CC" >&5
15224 echo "${ECHO_T}$CC" >&6; }
15226 { echo "$as_me:$LINENO: result: no" >&5
15227 echo "${ECHO_T}no" >&6; }
15232 if test -z "$CC"; then
15233 if test -n "$ac_tool_prefix"; then
15234 for ac_prog
in cl.exe
15236 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15237 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
15238 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15240 if test "${ac_cv_prog_CC+set}" = set; then
15241 echo $ECHO_N "(cached) $ECHO_C" >&6
15243 if test -n "$CC"; then
15244 ac_cv_prog_CC
="$CC" # Let the user override the test.
15246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15247 for as_dir
in $PATH
15250 test -z "$as_dir" && as_dir
=.
15251 for ac_exec_ext
in '' $ac_executable_extensions; do
15252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15253 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
15254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15264 if test -n "$CC"; then
15265 { echo "$as_me:$LINENO: result: $CC" >&5
15266 echo "${ECHO_T}$CC" >&6; }
15268 { echo "$as_me:$LINENO: result: no" >&5
15269 echo "${ECHO_T}no" >&6; }
15273 test -n "$CC" && break
15276 if test -z "$CC"; then
15278 for ac_prog
in cl.exe
15280 # Extract the first word of "$ac_prog", so it can be a program name with args.
15281 set dummy
$ac_prog; ac_word
=$2
15282 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15284 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15285 echo $ECHO_N "(cached) $ECHO_C" >&6
15287 if test -n "$ac_ct_CC"; then
15288 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
15290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15291 for as_dir
in $PATH
15294 test -z "$as_dir" && as_dir
=.
15295 for ac_exec_ext
in '' $ac_executable_extensions; do
15296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15297 ac_cv_prog_ac_ct_CC
="$ac_prog"
15298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15307 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
15308 if test -n "$ac_ct_CC"; then
15309 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15310 echo "${ECHO_T}$ac_ct_CC" >&6; }
15312 { echo "$as_me:$LINENO: result: no" >&5
15313 echo "${ECHO_T}no" >&6; }
15317 test -n "$ac_ct_CC" && break
15320 if test "x$ac_ct_CC" = x
; then
15323 case $cross_compiling:$ac_tool_warned in
15325 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15326 whose name does not start with the host triplet. If you think this
15327 configuration is useful to you, please write to autoconf@gnu.org." >&5
15328 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15329 whose name does not start with the host triplet. If you think this
15330 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15331 ac_tool_warned
=yes ;;
15340 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15341 See \`config.log' for more details." >&5
15342 echo "$as_me: error: no acceptable C compiler found in \$PATH
15343 See \`config.log' for more details." >&2;}
15344 { (exit 1); exit 1; }; }
15346 # Provide some information about the compiler.
15347 echo "$as_me:$LINENO: checking for C compiler version" >&5
15348 ac_compiler
=`set X $ac_compile; echo $2`
15349 { (ac_try
="$ac_compiler --version >&5"
15350 case "(($ac_try" in
15351 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15352 *) ac_try_echo=$ac_try;;
15354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15355 (eval "$ac_compiler --version >&5") 2>&5
15357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15358 (exit $ac_status); }
15359 { (ac_try="$ac_compiler -v >&5"
15360 case "(($ac_try" in
15361 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15362 *) ac_try_echo
=$ac_try;;
15364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15365 (eval "$ac_compiler -v >&5") 2>&5
15367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15368 (exit $ac_status); }
15369 { (ac_try
="$ac_compiler -V >&5"
15370 case "(($ac_try" in
15371 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15372 *) ac_try_echo=$ac_try;;
15374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15375 (eval "$ac_compiler -V >&5") 2>&5
15377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15378 (exit $ac_status); }
15380 cat >conftest.$ac_ext <<_ACEOF
15383 cat confdefs.h >>conftest.$ac_ext
15384 cat >>conftest.$ac_ext <<_ACEOF
15385 /* end confdefs.h. */
15395 ac_clean_files_save=$ac_clean_files
15396 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15397 # Try to create an executable without -o first, disregard a.out.
15398 # It will help us diagnose broken compilers, and finding out an intuition
15400 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15401 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15402 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15404 # List of possible output files, starting from the most likely.
15405 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
15406 # only as a last resort. b.out is created by i960 compilers.
15407 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
15409 # The IRIX 6 linker writes into existing files which may not be
15410 # executable, retaining their permissions. Remove them first so a
15411 # subsequent execution test works.
15413 for ac_file in $ac_files
15416 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15417 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15422 if { (ac_try="$ac_link_default"
15423 case "(($ac_try" in
15424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15425 *) ac_try_echo=$ac_try;;
15427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15428 (eval "$ac_link_default") 2>&5
15430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15431 (exit $ac_status); }; then
15432 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
15433 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
15434 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15435 # so that the user can short-circuit this test for compilers unknown to
15437 for ac_file
in $ac_files ''
15439 test -f "$ac_file" || continue
15441 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
15444 # We found the default executable, but exeext='' is most
15448 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
15450 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
15452 # We set ac_cv_exeext here because the later test for it is not
15453 # safe: cross compilers may not add the suffix if given an `-o'
15454 # argument, so we may need to know it at that point already.
15455 # Even if this section looks crufty: it has the advantage of
15456 # actually working.
15462 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
15468 { echo "$as_me:$LINENO: result: $ac_file" >&5
15469 echo "${ECHO_T}$ac_file" >&6; }
15470 if test -z "$ac_file"; then
15471 echo "$as_me: failed program was:" >&5
15472 sed 's/^/| /' conftest.
$ac_ext >&5
15474 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15475 See \`config.log' for more details." >&5
15476 echo "$as_me: error: C compiler cannot create executables
15477 See \`config.log' for more details." >&2;}
15478 { (exit 77); exit 77; }; }
15481 ac_exeext
=$ac_cv_exeext
15483 # Check that the compiler produces executables we can run. If not, either
15484 # the compiler is broken, or we cross compile.
15485 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15486 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15487 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15488 # If not cross compiling, check that we can run a simple program.
15489 if test "$cross_compiling" != yes; then
15490 if { ac_try
='./$ac_file'
15491 { (case "(($ac_try" in
15492 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15493 *) ac_try_echo=$ac_try;;
15495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15496 (eval "$ac_try") 2>&5
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); }; }; then
15502 if test "$cross_compiling" = maybe; then
15503 cross_compiling=yes
15505 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15506 If you meant to cross compile, use \`--host'.
15507 See \`config.log' for more details.
" >&5
15508 echo "$as_me: error
: cannot run C compiled programs.
15509 If you meant to cross compile
, use \
`--host'.
15510 See \`config.log
' for more details." >&2;}
15511 { (exit 1); exit 1; }; }
15515 { echo "$as_me:$LINENO: result: yes" >&5
15516 echo "${ECHO_T}yes" >&6; }
15518 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15519 ac_clean_files=$ac_clean_files_save
15520 # Check that the compiler produces executables we can run. If not, either
15521 # the compiler is broken, or we cross compile.
15522 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15523 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15524 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15525 echo "${ECHO_T}$cross_compiling" >&6; }
15527 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15528 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15529 if { (ac_try="$ac_link"
15530 case "(($ac_try" in
15531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15532 *) ac_try_echo=$ac_try;;
15534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15535 (eval "$ac_link") 2>&5
15537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15538 (exit $ac_status); }; then
15539 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
15540 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
15541 # work properly (i.e., refer to `conftest.exe
'), while it won't with
15543 for ac_file
in conftest.exe conftest conftest.
*; do
15544 test -f "$ac_file" || continue
15546 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
15547 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
15553 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15554 See \`config.log' for more details." >&5
15555 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15556 See \`config.log' for more details." >&2;}
15557 { (exit 1); exit 1; }; }
15560 rm -f conftest
$ac_cv_exeext
15561 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15562 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15564 rm -f conftest.
$ac_ext
15565 EXEEXT
=$ac_cv_exeext
15567 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15568 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15569 if test "${ac_cv_objext+set}" = set; then
15570 echo $ECHO_N "(cached) $ECHO_C" >&6
15572 cat >conftest.
$ac_ext <<_ACEOF
15575 cat confdefs.h
>>conftest.
$ac_ext
15576 cat >>conftest.
$ac_ext <<_ACEOF
15577 /* end confdefs.h. */
15587 rm -f conftest.o conftest.obj
15588 if { (ac_try
="$ac_compile"
15589 case "(($ac_try" in
15590 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15591 *) ac_try_echo=$ac_try;;
15593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15594 (eval "$ac_compile") 2>&5
15596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15597 (exit $ac_status); }; then
15598 for ac_file in conftest.o conftest.obj conftest.*; do
15599 test -f "$ac_file" || continue;
15601 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15602 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15607 echo "$as_me: failed program was:" >&5
15608 sed 's/^/| /' conftest.$ac_ext >&5
15610 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15611 See \`config.log
' for more details." >&5
15612 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15613 See \`config.log' for more details.
" >&2;}
15614 { (exit 1); exit 1; }; }
15617 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15619 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
15620 echo "${ECHO_T}$ac_cv_objext" >&6; }
15621 OBJEXT=$ac_cv_objext
15623 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
15624 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
15625 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15626 echo $ECHO_N "(cached
) $ECHO_C" >&6
15628 cat >conftest.$ac_ext <<_ACEOF
15631 cat confdefs.h >>conftest.$ac_ext
15632 cat >>conftest.$ac_ext <<_ACEOF
15633 /* end confdefs.h. */
15646 rm -f conftest.$ac_objext
15647 if { (ac_try="$ac_compile"
15648 case "(($ac_try" in
15649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15650 *) ac_try_echo=$ac_try;;
15652 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15653 (eval "$ac_compile") 2>conftest.er1
15655 grep -v '^ *+' conftest.er1 >conftest.err
15657 cat conftest.err >&5
15658 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15659 (exit $ac_status); } && {
15660 test -z "$ac_c_werror_flag" ||
15661 test ! -s conftest.err
15662 } && test -s conftest.$ac_objext; then
15663 ac_compiler_gnu=yes
15665 echo "$as_me: failed program was
:" >&5
15666 sed 's/^/| /' conftest.$ac_ext >&5
15671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15672 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15675 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
15676 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15677 GCC=`test $ac_compiler_gnu = yes && echo yes`
15678 ac_test_CFLAGS=${CFLAGS+set}
15679 ac_save_CFLAGS=$CFLAGS
15680 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
15681 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
15682 if test "${ac_cv_prog_cc_g+set}" = set; then
15683 echo $ECHO_N "(cached
) $ECHO_C" >&6
15685 ac_save_c_werror_flag=$ac_c_werror_flag
15686 ac_c_werror_flag=yes
15689 cat >conftest.$ac_ext <<_ACEOF
15692 cat confdefs.h >>conftest.$ac_ext
15693 cat >>conftest.$ac_ext <<_ACEOF
15694 /* end confdefs.h. */
15704 rm -f conftest.$ac_objext
15705 if { (ac_try="$ac_compile"
15706 case "(($ac_try" in
15707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15708 *) ac_try_echo=$ac_try;;
15710 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15711 (eval "$ac_compile") 2>conftest.er1
15713 grep -v '^ *+' conftest.er1 >conftest.err
15715 cat conftest.err >&5
15716 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15717 (exit $ac_status); } && {
15718 test -z "$ac_c_werror_flag" ||
15719 test ! -s conftest.err
15720 } && test -s conftest.$ac_objext; then
15721 ac_cv_prog_cc_g=yes
15723 echo "$as_me: failed program was
:" >&5
15724 sed 's/^/| /' conftest.$ac_ext >&5
15727 cat >conftest.$ac_ext <<_ACEOF
15730 cat confdefs.h >>conftest.$ac_ext
15731 cat >>conftest.$ac_ext <<_ACEOF
15732 /* end confdefs.h. */
15742 rm -f conftest.$ac_objext
15743 if { (ac_try="$ac_compile"
15744 case "(($ac_try" in
15745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15746 *) ac_try_echo=$ac_try;;
15748 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15749 (eval "$ac_compile") 2>conftest.er1
15751 grep -v '^ *+' conftest.er1 >conftest.err
15753 cat conftest.err >&5
15754 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15755 (exit $ac_status); } && {
15756 test -z "$ac_c_werror_flag" ||
15757 test ! -s conftest.err
15758 } && test -s conftest.$ac_objext; then
15761 echo "$as_me: failed program was
:" >&5
15762 sed 's/^/| /' conftest.$ac_ext >&5
15764 ac_c_werror_flag=$ac_save_c_werror_flag
15766 cat >conftest.$ac_ext <<_ACEOF
15769 cat confdefs.h >>conftest.$ac_ext
15770 cat >>conftest.$ac_ext <<_ACEOF
15771 /* end confdefs.h. */
15781 rm -f conftest.$ac_objext
15782 if { (ac_try="$ac_compile"
15783 case "(($ac_try" in
15784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15785 *) ac_try_echo=$ac_try;;
15787 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15788 (eval "$ac_compile") 2>conftest.er1
15790 grep -v '^ *+' conftest.er1 >conftest.err
15792 cat conftest.err >&5
15793 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15794 (exit $ac_status); } && {
15795 test -z "$ac_c_werror_flag" ||
15796 test ! -s conftest.err
15797 } && test -s conftest.$ac_objext; then
15798 ac_cv_prog_cc_g=yes
15800 echo "$as_me: failed program was
:" >&5
15801 sed 's/^/| /' conftest.$ac_ext >&5
15806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15813 ac_c_werror_flag=$ac_save_c_werror_flag
15815 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
15816 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15817 if test "$ac_test_CFLAGS" = set; then
15818 CFLAGS=$ac_save_CFLAGS
15819 elif test $ac_cv_prog_cc_g = yes; then
15820 if test "$GCC" = yes; then
15826 if test "$GCC" = yes; then
15832 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
15833 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
15834 if test "${ac_cv_prog_cc_c89+set}" = set; then
15835 echo $ECHO_N "(cached
) $ECHO_C" >&6
15837 ac_cv_prog_cc_c89=no
15839 cat >conftest.$ac_ext <<_ACEOF
15842 cat confdefs.h >>conftest.$ac_ext
15843 cat >>conftest.$ac_ext <<_ACEOF
15844 /* end confdefs.h. */
15845 #include <stdarg.h>
15847 #include <sys/types.h>
15848 #include <sys/stat.h>
15849 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15850 struct buf { int x; };
15851 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15852 static char *e (p, i)
15858 static char *f (char * (*g) (char **, int), char **p, ...)
15863 s = g (p, va_arg (v,int));
15868 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15869 function prototypes and stuff, but not '\xHH' hex character constants.
15870 These don't provoke an error unfortunately, instead are silently treated
15871 as 'x'. The following induces an error, until -std is added to get
15872 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15873 array size at least. It's necessary to write '\x00'==0 to get something
15874 that's true only with -std. */
15875 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15877 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15878 inside strings and character constants. */
15880 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15882 int test (int i, double x);
15883 struct s1 {int (*f) (int a);};
15884 struct s2 {int (*f) (double a);};
15885 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15891 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15896 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15897 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15899 CC="$ac_save_CC $ac_arg"
15900 rm -f conftest.$ac_objext
15901 if { (ac_try="$ac_compile"
15902 case "(($ac_try" in
15903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15904 *) ac_try_echo=$ac_try;;
15906 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15907 (eval "$ac_compile") 2>conftest.er1
15909 grep -v '^ *+' conftest.er1 >conftest.err
15911 cat conftest.err >&5
15912 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15913 (exit $ac_status); } && {
15914 test -z "$ac_c_werror_flag" ||
15915 test ! -s conftest.err
15916 } && test -s conftest.$ac_objext; then
15917 ac_cv_prog_cc_c89=$ac_arg
15919 echo "$as_me: failed program was
:" >&5
15920 sed 's/^/| /' conftest.$ac_ext >&5
15925 rm -f core conftest.err conftest.$ac_objext
15926 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
15928 rm -f conftest.$ac_ext
15933 case "x
$ac_cv_prog_cc_c89" in
15935 { echo "$as_me:$LINENO: result
: none needed
" >&5
15936 echo "${ECHO_T}none needed
" >&6; } ;;
15938 { echo "$as_me:$LINENO: result
: unsupported
" >&5
15939 echo "${ECHO_T}unsupported
" >&6; } ;;
15941 CC="$CC $ac_cv_prog_cc_c89"
15942 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
15943 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15948 ac_cpp='$CPP $CPPFLAGS'
15949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15961 ac_cpp='$CPP $CPPFLAGS'
15962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15966 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
15967 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
15968 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15969 echo $ECHO_N "(cached
) $ECHO_C" >&6
15971 cat >conftest.$ac_ext <<_ACEOF
15974 cat confdefs.h >>conftest.$ac_ext
15975 cat >>conftest.$ac_ext <<_ACEOF
15976 /* end confdefs.h. */
15982 #ifndef __INTEL_COMPILER
15990 rm -f conftest.$ac_objext
15991 if { (ac_try="$ac_compile"
15992 case "(($ac_try" in
15993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15994 *) ac_try_echo=$ac_try;;
15996 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15997 (eval "$ac_compile") 2>conftest.er1
15999 grep -v '^ *+' conftest.er1 >conftest.err
16001 cat conftest.err >&5
16002 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16003 (exit $ac_status); } && {
16004 test -z "$ac_c_werror_flag" ||
16005 test ! -s conftest.err
16006 } && test -s conftest.$ac_objext; then
16007 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16009 echo "$as_me: failed program was
:" >&5
16010 sed 's/^/| /' conftest.$ac_ext >&5
16012 bakefile_cv_c_compiler___INTEL_COMPILER=no
16016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16020 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16021 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16022 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
16028 ac_cpp='$CPP $CPPFLAGS'
16029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16036 if test "$INTELCC" = "yes"; then
16040 ac_cpp='$CPP $CPPFLAGS'
16041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16045 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
16046 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
16047 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16048 echo $ECHO_N "(cached
) $ECHO_C" >&6
16050 cat >conftest.$ac_ext <<_ACEOF
16053 cat confdefs.h >>conftest.$ac_ext
16054 cat >>conftest.$ac_ext <<_ACEOF
16055 /* end confdefs.h. */
16061 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
16069 rm -f conftest.$ac_objext
16070 if { (ac_try="$ac_compile"
16071 case "(($ac_try" in
16072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16073 *) ac_try_echo=$ac_try;;
16075 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16076 (eval "$ac_compile") 2>conftest.er1
16078 grep -v '^ *+' conftest.er1 >conftest.err
16080 cat conftest.err >&5
16081 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16082 (exit $ac_status); } && {
16083 test -z "$ac_c_werror_flag" ||
16084 test ! -s conftest.err
16085 } && test -s conftest.$ac_objext; then
16086 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
16088 echo "$as_me: failed program was
:" >&5
16089 sed 's/^/| /' conftest.$ac_ext >&5
16091 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
16095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16099 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
16100 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
16101 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
16107 ac_cpp='$CPP $CPPFLAGS'
16108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16117 ac_cpp='$CPP $CPPFLAGS'
16118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16122 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
16123 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
16124 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
16125 echo $ECHO_N "(cached
) $ECHO_C" >&6
16127 cat >conftest.$ac_ext <<_ACEOF
16130 cat confdefs.h >>conftest.$ac_ext
16131 cat >>conftest.$ac_ext <<_ACEOF
16132 /* end confdefs.h. */
16138 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
16146 rm -f conftest.$ac_objext
16147 if { (ac_try="$ac_compile"
16148 case "(($ac_try" in
16149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16150 *) ac_try_echo=$ac_try;;
16152 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16153 (eval "$ac_compile") 2>conftest.er1
16155 grep -v '^ *+' conftest.er1 >conftest.err
16157 cat conftest.err >&5
16158 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16159 (exit $ac_status); } && {
16160 test -z "$ac_c_werror_flag" ||
16161 test ! -s conftest.err
16162 } && test -s conftest.$ac_objext; then
16163 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
16165 echo "$as_me: failed program was
:" >&5
16166 sed 's/^/| /' conftest.$ac_ext >&5
16168 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
16172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16176 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
16177 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
16178 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
16184 ac_cpp='$CPP $CPPFLAGS'
16185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16193 if test "x
$GCC" != "xyes
"; then
16194 if test "xCC
" = "xC
"; then
16195 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
16196 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
16197 if test "${bakefile_cv_c_exto+set}" = set; then
16198 echo $ECHO_N "(cached
) $ECHO_C" >&6
16200 cat >conftest.$ac_ext <<_ACEOF
16203 cat confdefs.h >>conftest.$ac_ext
16204 cat >>conftest.$ac_ext <<_ACEOF
16205 /* end confdefs.h. */
16215 rm -f conftest.$ac_objext conftest.$ac_ext.o
16216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16217 (eval $ac_compile) 2>&5
16219 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16220 (exit $ac_status); }; then
16221 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16223 conftest.$ac_ext.o)
16224 bakefile_cv_c_exto="-ext o
"
16231 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
16232 See \
`config.log' for more details." >&5
16233 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16234 See \`config.log
' for more details." >&2;}
16235 { (exit 1); exit 1; }; }
16239 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16242 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16243 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16244 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16245 if test "c" = "c"; then
16246 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16248 if test "c" = "cxx"; then
16249 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16253 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16254 unset ac_cv_prog_cc_g
16255 ac_test_CFLAGS=${CFLAGS+set}
16256 ac_save_CFLAGS=$CFLAGS
16257 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16258 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16259 if test "${ac_cv_prog_cc_g+set}" = set; then
16260 echo $ECHO_N "(cached) $ECHO_C" >&6
16262 ac_save_c_werror_flag=$ac_c_werror_flag
16263 ac_c_werror_flag=yes
16266 cat >conftest.$ac_ext <<_ACEOF
16269 cat confdefs.h >>conftest.$ac_ext
16270 cat >>conftest.$ac_ext <<_ACEOF
16271 /* end confdefs.h. */
16281 rm -f conftest.$ac_objext
16282 if { (ac_try="$ac_compile"
16283 case "(($ac_try" in
16284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16285 *) ac_try_echo=$ac_try;;
16287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16288 (eval "$ac_compile") 2>conftest.er1
16290 grep -v '^
*+' conftest.er1 >conftest.err
16292 cat conftest.err >&5
16293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16294 (exit $ac_status); } && {
16295 test -z "$ac_c_werror_flag" ||
16296 test ! -s conftest.err
16297 } && test -s conftest.$ac_objext; then
16298 ac_cv_prog_cc_g=yes
16300 echo "$as_me: failed program was:" >&5
16301 sed 's
/^
/| /' conftest.$ac_ext >&5
16304 cat >conftest.$ac_ext <<_ACEOF
16307 cat confdefs.h >>conftest.$ac_ext
16308 cat >>conftest.$ac_ext <<_ACEOF
16309 /* end confdefs.h. */
16319 rm -f conftest.$ac_objext
16320 if { (ac_try="$ac_compile"
16321 case "(($ac_try" in
16322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16323 *) ac_try_echo=$ac_try;;
16325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16326 (eval "$ac_compile") 2>conftest.er1
16328 grep -v '^
*+' conftest.er1 >conftest.err
16330 cat conftest.err >&5
16331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16332 (exit $ac_status); } && {
16333 test -z "$ac_c_werror_flag" ||
16334 test ! -s conftest.err
16335 } && test -s conftest.$ac_objext; then
16338 echo "$as_me: failed program was:" >&5
16339 sed 's
/^
/| /' conftest.$ac_ext >&5
16341 ac_c_werror_flag=$ac_save_c_werror_flag
16343 cat >conftest.$ac_ext <<_ACEOF
16346 cat confdefs.h >>conftest.$ac_ext
16347 cat >>conftest.$ac_ext <<_ACEOF
16348 /* end confdefs.h. */
16358 rm -f conftest.$ac_objext
16359 if { (ac_try="$ac_compile"
16360 case "(($ac_try" in
16361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16362 *) ac_try_echo=$ac_try;;
16364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16365 (eval "$ac_compile") 2>conftest.er1
16367 grep -v '^
*+' conftest.er1 >conftest.err
16369 cat conftest.err >&5
16370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16371 (exit $ac_status); } && {
16372 test -z "$ac_c_werror_flag" ||
16373 test ! -s conftest.err
16374 } && test -s conftest.$ac_objext; then
16375 ac_cv_prog_cc_g=yes
16377 echo "$as_me: failed program was:" >&5
16378 sed 's
/^
/| /' conftest.$ac_ext >&5
16383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16390 ac_c_werror_flag=$ac_save_c_werror_flag
16392 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16393 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16394 if test "$ac_test_CFLAGS" = set; then
16395 CFLAGS=$ac_save_CFLAGS
16396 elif test $ac_cv_prog_cc_g = yes; then
16397 if test "$GCC" = yes; then
16403 if test "$GCC" = yes; then
16417 ac_cpp='$CPP $CPPFLAGS'
16418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16419 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16422 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16423 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16424 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16425 echo $ECHO_N "(cached) $ECHO_C" >&6
16427 cat >conftest.$ac_ext <<_ACEOF
16430 cat confdefs.h >>conftest.$ac_ext
16431 cat >>conftest.$ac_ext <<_ACEOF
16432 /* end confdefs.h. */
16446 rm -f conftest.$ac_objext
16447 if { (ac_try="$ac_compile"
16448 case "(($ac_try" in
16449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16450 *) ac_try_echo=$ac_try;;
16452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16453 (eval "$ac_compile") 2>conftest.er1
16455 grep -v '^
*+' conftest.er1 >conftest.err
16457 cat conftest.err >&5
16458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16459 (exit $ac_status); } && {
16460 test -z "$ac_c_werror_flag" ||
16461 test ! -s conftest.err
16462 } && test -s conftest.$ac_objext; then
16463 bakefile_cv_c_compiler___xlC__=yes
16465 echo "$as_me: failed program was:" >&5
16466 sed 's
/^
/| /' conftest.$ac_ext >&5
16468 bakefile_cv_c_compiler___xlC__=no
16472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16476 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16477 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16478 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16484 ac_cpp='$CPP $CPPFLAGS'
16485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16486 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16497 ac_cpp='$CPP $CPPFLAGS'
16498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16499 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16502 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16503 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16504 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16505 echo $ECHO_N "(cached) $ECHO_C" >&6
16507 cat >conftest.$ac_ext <<_ACEOF
16510 cat confdefs.h >>conftest.$ac_ext
16511 cat >>conftest.$ac_ext <<_ACEOF
16512 /* end confdefs.h. */
16526 rm -f conftest.$ac_objext
16527 if { (ac_try="$ac_compile"
16528 case "(($ac_try" in
16529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16530 *) ac_try_echo=$ac_try;;
16532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16533 (eval "$ac_compile") 2>conftest.er1
16535 grep -v '^
*+' conftest.er1 >conftest.err
16537 cat conftest.err >&5
16538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16539 (exit $ac_status); } && {
16540 test -z "$ac_c_werror_flag" ||
16541 test ! -s conftest.err
16542 } && test -s conftest.$ac_objext; then
16543 bakefile_cv_c_compiler___MWERKS__=yes
16545 echo "$as_me: failed program was:" >&5
16546 sed 's
/^
/| /' conftest.$ac_ext >&5
16548 bakefile_cv_c_compiler___MWERKS__=no
16552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16556 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16557 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16558 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16564 ac_cpp='$CPP $CPPFLAGS'
16565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16566 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16571 if test "$MWCC" != "yes"; then
16575 ac_cpp='$CPP $CPPFLAGS'
16576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16577 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16580 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16581 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16582 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16583 echo $ECHO_N "(cached) $ECHO_C" >&6
16585 cat >conftest.$ac_ext <<_ACEOF
16588 cat confdefs.h >>conftest.$ac_ext
16589 cat >>conftest.$ac_ext <<_ACEOF
16590 /* end confdefs.h. */
16604 rm -f conftest.$ac_objext
16605 if { (ac_try="$ac_compile"
16606 case "(($ac_try" in
16607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16608 *) ac_try_echo=$ac_try;;
16610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16611 (eval "$ac_compile") 2>conftest.er1
16613 grep -v '^
*+' conftest.er1 >conftest.err
16615 cat conftest.err >&5
16616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16617 (exit $ac_status); } && {
16618 test -z "$ac_c_werror_flag" ||
16619 test ! -s conftest.err
16620 } && test -s conftest.$ac_objext; then
16621 bakefile_cv_c_compiler___xlC__=yes
16623 echo "$as_me: failed program was:" >&5
16624 sed 's
/^
/| /' conftest.$ac_ext >&5
16626 bakefile_cv_c_compiler___xlC__=no
16630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16634 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16635 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16636 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16642 ac_cpp='$CPP $CPPFLAGS'
16643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16644 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16656 ac_cpp='$CPP $CPPFLAGS'
16657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16658 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16661 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16662 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16663 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16664 echo $ECHO_N "(cached) $ECHO_C" >&6
16666 cat >conftest.$ac_ext <<_ACEOF
16669 cat confdefs.h >>conftest.$ac_ext
16670 cat >>conftest.$ac_ext <<_ACEOF
16671 /* end confdefs.h. */
16677 #ifndef _SGI_COMPILER_VERSION
16685 rm -f conftest.$ac_objext
16686 if { (ac_try="$ac_compile"
16687 case "(($ac_try" in
16688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16689 *) ac_try_echo=$ac_try;;
16691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16692 (eval "$ac_compile") 2>conftest.er1
16694 grep -v '^
*+' conftest.er1 >conftest.err
16696 cat conftest.err >&5
16697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16698 (exit $ac_status); } && {
16699 test -z "$ac_c_werror_flag" ||
16700 test ! -s conftest.err
16701 } && test -s conftest.$ac_objext; then
16702 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16704 echo "$as_me: failed program was:" >&5
16705 sed 's
/^
/| /' conftest.$ac_ext >&5
16707 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16715 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16716 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16717 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16723 ac_cpp='$CPP $CPPFLAGS'
16724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16725 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16733 if test "$INTELCC" != "yes"; then
16737 ac_cpp='$CPP $CPPFLAGS'
16738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16739 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16742 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16743 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16744 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16745 echo $ECHO_N "(cached) $ECHO_C" >&6
16747 cat >conftest.$ac_ext <<_ACEOF
16750 cat confdefs.h >>conftest.$ac_ext
16751 cat >>conftest.$ac_ext <<_ACEOF
16752 /* end confdefs.h. */
16766 rm -f conftest.$ac_objext
16767 if { (ac_try="$ac_compile"
16768 case "(($ac_try" in
16769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16770 *) ac_try_echo=$ac_try;;
16772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16773 (eval "$ac_compile") 2>conftest.er1
16775 grep -v '^
*+' conftest.er1 >conftest.err
16777 cat conftest.err >&5
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); } && {
16780 test -z "$ac_c_werror_flag" ||
16781 test ! -s conftest.err
16782 } && test -s conftest.$ac_objext; then
16783 bakefile_cv_c_compiler___SUNPRO_C=yes
16785 echo "$as_me: failed program was:" >&5
16786 sed 's
/^
/| /' conftest.$ac_ext >&5
16788 bakefile_cv_c_compiler___SUNPRO_C=no
16792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16796 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16797 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16798 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16804 ac_cpp='$CPP $CPPFLAGS'
16805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16806 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16818 ac_cpp='$CPP $CPPFLAGS'
16819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16820 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16823 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16824 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16825 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16826 echo $ECHO_N "(cached) $ECHO_C" >&6
16828 cat >conftest.$ac_ext <<_ACEOF
16831 cat confdefs.h >>conftest.$ac_ext
16832 cat >>conftest.$ac_ext <<_ACEOF
16833 /* end confdefs.h. */
16847 rm -f conftest.$ac_objext
16848 if { (ac_try="$ac_compile"
16849 case "(($ac_try" in
16850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16851 *) ac_try_echo=$ac_try;;
16853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16854 (eval "$ac_compile") 2>conftest.er1
16856 grep -v '^
*+' conftest.er1 >conftest.err
16858 cat conftest.err >&5
16859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16860 (exit $ac_status); } && {
16861 test -z "$ac_c_werror_flag" ||
16862 test ! -s conftest.err
16863 } && test -s conftest.$ac_objext; then
16864 bakefile_cv_c_compiler___HP_cc=yes
16866 echo "$as_me: failed program was:" >&5
16867 sed 's
/^
/| /' conftest.$ac_ext >&5
16869 bakefile_cv_c_compiler___HP_cc=no
16873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16877 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16878 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16879 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16885 ac_cpp='$CPP $CPPFLAGS'
16886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16887 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16898 ac_cpp='$CPP $CPPFLAGS'
16899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16900 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16903 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16904 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16905 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16906 echo $ECHO_N "(cached) $ECHO_C" >&6
16908 cat >conftest.$ac_ext <<_ACEOF
16911 cat confdefs.h >>conftest.$ac_ext
16912 cat >>conftest.$ac_ext <<_ACEOF
16913 /* end confdefs.h. */
16927 rm -f conftest.$ac_objext
16928 if { (ac_try="$ac_compile"
16929 case "(($ac_try" in
16930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16931 *) ac_try_echo=$ac_try;;
16933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16934 (eval "$ac_compile") 2>conftest.er1
16936 grep -v '^
*+' conftest.er1 >conftest.err
16938 cat conftest.err >&5
16939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16940 (exit $ac_status); } && {
16941 test -z "$ac_c_werror_flag" ||
16942 test ! -s conftest.err
16943 } && test -s conftest.$ac_objext; then
16944 bakefile_cv_c_compiler___DECC=yes
16946 echo "$as_me: failed program was:" >&5
16947 sed 's
/^
/| /' conftest.$ac_ext >&5
16949 bakefile_cv_c_compiler___DECC=no
16953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16957 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16958 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16959 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16965 ac_cpp='$CPP $CPPFLAGS'
16966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16967 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16978 ac_cpp='$CPP $CPPFLAGS'
16979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16980 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16983 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16984 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16985 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16986 echo $ECHO_N "(cached) $ECHO_C" >&6
16988 cat >conftest.$ac_ext <<_ACEOF
16991 cat confdefs.h >>conftest.$ac_ext
16992 cat >>conftest.$ac_ext <<_ACEOF
16993 /* end confdefs.h. */
17007 rm -f conftest.$ac_objext
17008 if { (ac_try="$ac_compile"
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_compile") 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); } && {
17021 test -z "$ac_c_werror_flag" ||
17022 test ! -s conftest.err
17023 } && test -s conftest.$ac_objext; then
17024 bakefile_cv_c_compiler___SUNPRO_C=yes
17026 echo "$as_me: failed program was:" >&5
17027 sed 's
/^
/| /' conftest.$ac_ext >&5
17029 bakefile_cv_c_compiler___SUNPRO_C=no
17033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17037 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17038 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17039 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17045 ac_cpp='$CPP $CPPFLAGS'
17046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17047 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17059 ac_cpp='$CPP $CPPFLAGS'
17060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17061 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17063 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17064 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17065 # On Suns, sometimes $CPP names a directory.
17066 if test -n "$CPP" && test -d "$CPP"; then
17069 if test -z "$CPP"; then
17070 if test "${ac_cv_prog_CPP+set}" = set; then
17071 echo $ECHO_N "(cached) $ECHO_C" >&6
17073 # Double quotes because CPP needs to be expanded
17074 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17076 ac_preproc_ok=false
17077 for ac_c_preproc_warn_flag in '' yes
17079 # Use a header file that comes with gcc, so configuring glibc
17080 # with a fresh cross-compiler works.
17081 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17082 # <limits.h> exists even on freestanding compilers.
17083 # On the NeXT, cc -E runs the code through the compiler's parser
,
17084 # not just through cpp. "Syntax error" is here to catch this case.
17085 cat >conftest.
$ac_ext <<_ACEOF
17088 cat confdefs.h
>>conftest.
$ac_ext
17089 cat >>conftest.
$ac_ext <<_ACEOF
17090 /* end confdefs.h. */
17092 # include <limits.h>
17094 # include <assert.h>
17098 if { (ac_try
="$ac_cpp conftest.$ac_ext"
17099 case "(($ac_try" in
17100 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17101 *) ac_try_echo=$ac_try;;
17103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17104 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17106 grep -v '^ *+' conftest.er1 >conftest.err
17108 cat conftest.err >&5
17109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17110 (exit $ac_status); } >/dev/null && {
17111 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17112 test ! -s conftest.err
17116 echo "$as_me: failed program was:" >&5
17117 sed 's/^/| /' conftest.$ac_ext >&5
17119 # Broken: fails on valid input.
17123 rm -f conftest.err conftest.$ac_ext
17125 # OK, works on sane cases. Now check whether nonexistent headers
17126 # can be detected and how.
17127 cat >conftest.$ac_ext <<_ACEOF
17130 cat confdefs.h >>conftest.$ac_ext
17131 cat >>conftest.$ac_ext <<_ACEOF
17132 /* end confdefs.h. */
17133 #include <ac_nonexistent.h>
17135 if { (ac_try="$ac_cpp conftest.$ac_ext"
17136 case "(($ac_try" in
17137 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17138 *) ac_try_echo
=$ac_try;;
17140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17141 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17143 grep -v '^ *+' conftest.er1
>conftest.err
17145 cat conftest.err
>&5
17146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17147 (exit $ac_status); } >/dev
/null
&& {
17148 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17149 test ! -s conftest.err
17151 # Broken: success on invalid input.
17154 echo "$as_me: failed program was:" >&5
17155 sed 's/^/| /' conftest.
$ac_ext >&5
17157 # Passes both tests.
17162 rm -f conftest.err conftest.
$ac_ext
17165 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17166 rm -f conftest.err conftest.
$ac_ext
17167 if $ac_preproc_ok; then
17172 ac_cv_prog_CPP
=$CPP
17175 CPP
=$ac_cv_prog_CPP
17177 ac_cv_prog_CPP
=$CPP
17179 { echo "$as_me:$LINENO: result: $CPP" >&5
17180 echo "${ECHO_T}$CPP" >&6; }
17181 ac_preproc_ok
=false
17182 for ac_c_preproc_warn_flag
in '' yes
17184 # Use a header file that comes with gcc, so configuring glibc
17185 # with a fresh cross-compiler works.
17186 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17187 # <limits.h> exists even on freestanding compilers.
17188 # On the NeXT, cc -E runs the code through the compiler's parser,
17189 # not just through cpp. "Syntax error" is here to catch this case.
17190 cat >conftest.
$ac_ext <<_ACEOF
17193 cat confdefs.h
>>conftest.
$ac_ext
17194 cat >>conftest.
$ac_ext <<_ACEOF
17195 /* end confdefs.h. */
17197 # include <limits.h>
17199 # include <assert.h>
17203 if { (ac_try
="$ac_cpp conftest.$ac_ext"
17204 case "(($ac_try" in
17205 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17206 *) ac_try_echo=$ac_try;;
17208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17209 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17211 grep -v '^ *+' conftest.er1 >conftest.err
17213 cat conftest.err >&5
17214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17215 (exit $ac_status); } >/dev/null && {
17216 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17217 test ! -s conftest.err
17221 echo "$as_me: failed program was:" >&5
17222 sed 's/^/| /' conftest.$ac_ext >&5
17224 # Broken: fails on valid input.
17228 rm -f conftest.err conftest.$ac_ext
17230 # OK, works on sane cases. Now check whether nonexistent headers
17231 # can be detected and how.
17232 cat >conftest.$ac_ext <<_ACEOF
17235 cat confdefs.h >>conftest.$ac_ext
17236 cat >>conftest.$ac_ext <<_ACEOF
17237 /* end confdefs.h. */
17238 #include <ac_nonexistent.h>
17240 if { (ac_try="$ac_cpp conftest.$ac_ext"
17241 case "(($ac_try" in
17242 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17243 *) ac_try_echo
=$ac_try;;
17245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17246 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17248 grep -v '^ *+' conftest.er1
>conftest.err
17250 cat conftest.err
>&5
17251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17252 (exit $ac_status); } >/dev
/null
&& {
17253 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17254 test ! -s conftest.err
17256 # Broken: success on invalid input.
17259 echo "$as_me: failed program was:" >&5
17260 sed 's/^/| /' conftest.
$ac_ext >&5
17262 # Passes both tests.
17267 rm -f conftest.err conftest.
$ac_ext
17270 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17271 rm -f conftest.err conftest.
$ac_ext
17272 if $ac_preproc_ok; then
17275 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17276 See \`config.log' for more details." >&5
17277 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17278 See \`config.log' for more details." >&2;}
17279 { (exit 1); exit 1; }; }
17283 ac_cpp
='$CPP $CPPFLAGS'
17284 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17285 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17286 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17289 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17290 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17291 if test "${ac_cv_path_GREP+set}" = set; then
17292 echo $ECHO_N "(cached) $ECHO_C" >&6
17294 # Extract the first word of "grep ggrep" to use in msg output
17295 if test -z "$GREP"; then
17296 set dummy
grep ggrep
; ac_prog_name
=$2
17297 if test "${ac_cv_path_GREP+set}" = set; then
17298 echo $ECHO_N "(cached) $ECHO_C" >&6
17300 ac_path_GREP_found
=false
17301 # Loop through the user's path and test for each of PROGNAME-LIST
17302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17303 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17306 test -z "$as_dir" && as_dir
=.
17307 for ac_prog
in grep ggrep
; do
17308 for ac_exec_ext
in '' $ac_executable_extensions; do
17309 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
17310 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17311 # Check for GNU ac_path_GREP and select it if it is found.
17312 # Check for GNU $ac_path_GREP
17313 case `"$ac_path_GREP" --version 2>&1` in
17315 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
17318 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17321 cat "conftest.in" "conftest.in" >"conftest.tmp"
17322 mv "conftest.tmp" "conftest.in"
17323 cp "conftest.in" "conftest.nl"
17324 echo 'GREP' >> "conftest.nl"
17325 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17326 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17327 ac_count
=`expr $ac_count + 1`
17328 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17329 # Best one so far, save it but keep looking for a better one
17330 ac_cv_path_GREP
="$ac_path_GREP"
17331 ac_path_GREP_max
=$ac_count
17333 # 10*(2^10) chars as input seems more than enough
17334 test $ac_count -gt 10 && break
17336 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
17340 $ac_path_GREP_found && break 3
17350 GREP
="$ac_cv_path_GREP"
17351 if test -z "$GREP"; then
17352 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17353 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17354 { (exit 1); exit 1; }; }
17358 ac_cv_path_GREP
=$GREP
17363 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17364 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17365 GREP
="$ac_cv_path_GREP"
17368 { echo "$as_me:$LINENO: checking for egrep" >&5
17369 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17370 if test "${ac_cv_path_EGREP+set}" = set; then
17371 echo $ECHO_N "(cached) $ECHO_C" >&6
17373 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
17374 then ac_cv_path_EGREP
="$GREP -E"
17376 # Extract the first word of "egrep" to use in msg output
17377 if test -z "$EGREP"; then
17378 set dummy
egrep; ac_prog_name
=$2
17379 if test "${ac_cv_path_EGREP+set}" = set; then
17380 echo $ECHO_N "(cached) $ECHO_C" >&6
17382 ac_path_EGREP_found
=false
17383 # Loop through the user's path and test for each of PROGNAME-LIST
17384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17385 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17388 test -z "$as_dir" && as_dir
=.
17389 for ac_prog
in egrep; do
17390 for ac_exec_ext
in '' $ac_executable_extensions; do
17391 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
17392 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17393 # Check for GNU ac_path_EGREP and select it if it is found.
17394 # Check for GNU $ac_path_EGREP
17395 case `"$ac_path_EGREP" --version 2>&1` in
17397 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
17400 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17403 cat "conftest.in" "conftest.in" >"conftest.tmp"
17404 mv "conftest.tmp" "conftest.in"
17405 cp "conftest.in" "conftest.nl"
17406 echo 'EGREP' >> "conftest.nl"
17407 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17408 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17409 ac_count
=`expr $ac_count + 1`
17410 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17411 # Best one so far, save it but keep looking for a better one
17412 ac_cv_path_EGREP
="$ac_path_EGREP"
17413 ac_path_EGREP_max
=$ac_count
17415 # 10*(2^10) chars as input seems more than enough
17416 test $ac_count -gt 10 && break
17418 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
17422 $ac_path_EGREP_found && break 3
17432 EGREP
="$ac_cv_path_EGREP"
17433 if test -z "$EGREP"; then
17434 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17435 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17436 { (exit 1); exit 1; }; }
17440 ac_cv_path_EGREP
=$EGREP
17446 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17447 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17448 EGREP
="$ac_cv_path_EGREP"
17451 if test $ac_cv_c_compiler_gnu = yes; then
17452 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17453 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17454 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17455 echo $ECHO_N "(cached) $ECHO_C" >&6
17457 ac_pattern
="Autoconf.*'x'"
17458 cat >conftest.
$ac_ext <<_ACEOF
17461 cat confdefs.h
>>conftest.
$ac_ext
17462 cat >>conftest.
$ac_ext <<_ACEOF
17463 /* end confdefs.h. */
17467 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17468 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
17469 ac_cv_prog_gcc_traditional
=yes
17471 ac_cv_prog_gcc_traditional
=no
17476 if test $ac_cv_prog_gcc_traditional = no
; then
17477 cat >conftest.
$ac_ext <<_ACEOF
17480 cat confdefs.h
>>conftest.
$ac_ext
17481 cat >>conftest.
$ac_ext <<_ACEOF
17482 /* end confdefs.h. */
17483 #include <termio.h>
17486 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17487 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
17488 ac_cv_prog_gcc_traditional
=yes
17494 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17495 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17496 if test $ac_cv_prog_gcc_traditional = yes; then
17497 CC
="$CC -traditional"
17502 CXXFLAGS
=${CXXFLAGS:=}
17504 ac_cpp
='$CXXCPP $CPPFLAGS'
17505 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17506 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17507 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17508 if test -z "$CXX"; then
17509 if test -n "$CCC"; then
17512 if test -n "$ac_tool_prefix"; then
17513 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
17515 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17516 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
17517 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17519 if test "${ac_cv_prog_CXX+set}" = set; then
17520 echo $ECHO_N "(cached) $ECHO_C" >&6
17522 if test -n "$CXX"; then
17523 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
17525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17526 for as_dir
in $PATH
17529 test -z "$as_dir" && as_dir
=.
17530 for ac_exec_ext
in '' $ac_executable_extensions; do
17531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17532 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
17533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17542 CXX
=$ac_cv_prog_CXX
17543 if test -n "$CXX"; then
17544 { echo "$as_me:$LINENO: result: $CXX" >&5
17545 echo "${ECHO_T}$CXX" >&6; }
17547 { echo "$as_me:$LINENO: result: no" >&5
17548 echo "${ECHO_T}no" >&6; }
17552 test -n "$CXX" && break
17555 if test -z "$CXX"; then
17557 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
17559 # Extract the first word of "$ac_prog", so it can be a program name with args.
17560 set dummy
$ac_prog; ac_word
=$2
17561 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17563 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17564 echo $ECHO_N "(cached) $ECHO_C" >&6
17566 if test -n "$ac_ct_CXX"; then
17567 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
17569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17570 for as_dir
in $PATH
17573 test -z "$as_dir" && as_dir
=.
17574 for ac_exec_ext
in '' $ac_executable_extensions; do
17575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17576 ac_cv_prog_ac_ct_CXX
="$ac_prog"
17577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17586 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
17587 if test -n "$ac_ct_CXX"; then
17588 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17589 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17591 { echo "$as_me:$LINENO: result: no" >&5
17592 echo "${ECHO_T}no" >&6; }
17596 test -n "$ac_ct_CXX" && break
17599 if test "x$ac_ct_CXX" = x
; then
17602 case $cross_compiling:$ac_tool_warned in
17604 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17605 whose name does not start with the host triplet. If you think this
17606 configuration is useful to you, please write to autoconf@gnu.org." >&5
17607 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17608 whose name does not start with the host triplet. If you think this
17609 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17610 ac_tool_warned
=yes ;;
17618 # Provide some information about the compiler.
17619 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17620 ac_compiler
=`set X $ac_compile; echo $2`
17621 { (ac_try
="$ac_compiler --version >&5"
17622 case "(($ac_try" in
17623 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17624 *) ac_try_echo=$ac_try;;
17626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17627 (eval "$ac_compiler --version >&5") 2>&5
17629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17630 (exit $ac_status); }
17631 { (ac_try="$ac_compiler -v >&5"
17632 case "(($ac_try" in
17633 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17634 *) ac_try_echo
=$ac_try;;
17636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17637 (eval "$ac_compiler -v >&5") 2>&5
17639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17640 (exit $ac_status); }
17641 { (ac_try
="$ac_compiler -V >&5"
17642 case "(($ac_try" in
17643 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17644 *) ac_try_echo=$ac_try;;
17646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17647 (eval "$ac_compiler -V >&5") 2>&5
17649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17650 (exit $ac_status); }
17652 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17653 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17654 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17655 echo $ECHO_N "(cached) $ECHO_C" >&6
17657 cat >conftest.$ac_ext <<_ACEOF
17660 cat confdefs.h >>conftest.$ac_ext
17661 cat >>conftest.$ac_ext <<_ACEOF
17662 /* end confdefs.h. */
17675 rm -f conftest.$ac_objext
17676 if { (ac_try="$ac_compile"
17677 case "(($ac_try" in
17678 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17679 *) ac_try_echo
=$ac_try;;
17681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17682 (eval "$ac_compile") 2>conftest.er1
17684 grep -v '^ *+' conftest.er1
>conftest.err
17686 cat conftest.err
>&5
17687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17688 (exit $ac_status); } && {
17689 test -z "$ac_cxx_werror_flag" ||
17690 test ! -s conftest.err
17691 } && test -s conftest.
$ac_objext; then
17692 ac_compiler_gnu
=yes
17694 echo "$as_me: failed program was:" >&5
17695 sed 's/^/| /' conftest.
$ac_ext >&5
17700 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17701 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
17704 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17705 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17706 GXX
=`test $ac_compiler_gnu = yes && echo yes`
17707 ac_test_CXXFLAGS
=${CXXFLAGS+set}
17708 ac_save_CXXFLAGS
=$CXXFLAGS
17709 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17710 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17711 if test "${ac_cv_prog_cxx_g+set}" = set; then
17712 echo $ECHO_N "(cached) $ECHO_C" >&6
17714 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
17715 ac_cxx_werror_flag
=yes
17716 ac_cv_prog_cxx_g
=no
17718 cat >conftest.
$ac_ext <<_ACEOF
17721 cat confdefs.h
>>conftest.
$ac_ext
17722 cat >>conftest.
$ac_ext <<_ACEOF
17723 /* end confdefs.h. */
17733 rm -f conftest.
$ac_objext
17734 if { (ac_try
="$ac_compile"
17735 case "(($ac_try" in
17736 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17737 *) ac_try_echo=$ac_try;;
17739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17740 (eval "$ac_compile") 2>conftest.er1
17742 grep -v '^ *+' conftest.er1 >conftest.err
17744 cat conftest.err >&5
17745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17746 (exit $ac_status); } && {
17747 test -z "$ac_cxx_werror_flag" ||
17748 test ! -s conftest.err
17749 } && test -s conftest.$ac_objext; then
17750 ac_cv_prog_cxx_g=yes
17752 echo "$as_me: failed program was:" >&5
17753 sed 's/^/| /' conftest.$ac_ext >&5
17756 cat >conftest.$ac_ext <<_ACEOF
17759 cat confdefs.h >>conftest.$ac_ext
17760 cat >>conftest.$ac_ext <<_ACEOF
17761 /* end confdefs.h. */
17771 rm -f conftest.$ac_objext
17772 if { (ac_try="$ac_compile"
17773 case "(($ac_try" in
17774 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17775 *) ac_try_echo
=$ac_try;;
17777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17778 (eval "$ac_compile") 2>conftest.er1
17780 grep -v '^ *+' conftest.er1
>conftest.err
17782 cat conftest.err
>&5
17783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17784 (exit $ac_status); } && {
17785 test -z "$ac_cxx_werror_flag" ||
17786 test ! -s conftest.err
17787 } && test -s conftest.
$ac_objext; then
17790 echo "$as_me: failed program was:" >&5
17791 sed 's/^/| /' conftest.
$ac_ext >&5
17793 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
17795 cat >conftest.
$ac_ext <<_ACEOF
17798 cat confdefs.h
>>conftest.
$ac_ext
17799 cat >>conftest.
$ac_ext <<_ACEOF
17800 /* end confdefs.h. */
17810 rm -f conftest.
$ac_objext
17811 if { (ac_try
="$ac_compile"
17812 case "(($ac_try" in
17813 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17814 *) ac_try_echo=$ac_try;;
17816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17817 (eval "$ac_compile") 2>conftest.er1
17819 grep -v '^ *+' conftest.er1 >conftest.err
17821 cat conftest.err >&5
17822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17823 (exit $ac_status); } && {
17824 test -z "$ac_cxx_werror_flag" ||
17825 test ! -s conftest.err
17826 } && test -s conftest.$ac_objext; then
17827 ac_cv_prog_cxx_g=yes
17829 echo "$as_me: failed program was:" >&5
17830 sed 's/^/| /' conftest.$ac_ext >&5
17835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17842 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17844 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17845 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17846 if test "$ac_test_CXXFLAGS" = set; then
17847 CXXFLAGS=$ac_save_CXXFLAGS
17848 elif test $ac_cv_prog_cxx_g = yes; then
17849 if test "$GXX" = yes; then
17855 if test "$GXX" = yes; then
17862 ac_cpp='$CPP $CPPFLAGS'
17863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17875 ac_cpp='$CXXCPP $CPPFLAGS'
17876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17880 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17881 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17882 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17883 echo $ECHO_N "(cached) $ECHO_C" >&6
17885 cat >conftest.$ac_ext <<_ACEOF
17888 cat confdefs.h >>conftest.$ac_ext
17889 cat >>conftest.$ac_ext <<_ACEOF
17890 /* end confdefs.h. */
17896 #ifndef __INTEL_COMPILER
17904 rm -f conftest.$ac_objext
17905 if { (ac_try="$ac_compile"
17906 case "(($ac_try" in
17907 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17908 *) ac_try_echo
=$ac_try;;
17910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17911 (eval "$ac_compile") 2>conftest.er1
17913 grep -v '^ *+' conftest.er1
>conftest.err
17915 cat conftest.err
>&5
17916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17917 (exit $ac_status); } && {
17918 test -z "$ac_cxx_werror_flag" ||
17919 test ! -s conftest.err
17920 } && test -s conftest.
$ac_objext; then
17921 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
17923 echo "$as_me: failed program was:" >&5
17924 sed 's/^/| /' conftest.
$ac_ext >&5
17926 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
17930 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17934 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17935 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17936 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17942 ac_cpp
='$CPP $CPPFLAGS'
17943 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17944 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17945 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17950 if test "$INTELCXX" = "yes"; then
17954 ac_cpp
='$CXXCPP $CPPFLAGS'
17955 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17956 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17957 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17959 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17960 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17961 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17962 echo $ECHO_N "(cached) $ECHO_C" >&6
17964 cat >conftest.
$ac_ext <<_ACEOF
17967 cat confdefs.h
>>conftest.
$ac_ext
17968 cat >>conftest.
$ac_ext <<_ACEOF
17969 /* end confdefs.h. */
17975 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17983 rm -f conftest.
$ac_objext
17984 if { (ac_try
="$ac_compile"
17985 case "(($ac_try" in
17986 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17987 *) ac_try_echo=$ac_try;;
17989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17990 (eval "$ac_compile") 2>conftest.er1
17992 grep -v '^ *+' conftest.er1 >conftest.err
17994 cat conftest.err >&5
17995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17996 (exit $ac_status); } && {
17997 test -z "$ac_cxx_werror_flag" ||
17998 test ! -s conftest.err
17999 } && test -s conftest.$ac_objext; then
18000 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18002 echo "$as_me: failed program was:" >&5
18003 sed 's/^/| /' conftest.$ac_ext >&5
18005 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18013 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18014 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18015 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18021 ac_cpp='$CPP $CPPFLAGS'
18022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18031 ac_cpp='$CXXCPP $CPPFLAGS'
18032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18036 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
18037 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
18038 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
18039 echo $ECHO_N "(cached) $ECHO_C" >&6
18041 cat >conftest.$ac_ext <<_ACEOF
18044 cat confdefs.h >>conftest.$ac_ext
18045 cat >>conftest.$ac_ext <<_ACEOF
18046 /* end confdefs.h. */
18052 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18060 rm -f conftest.$ac_objext
18061 if { (ac_try="$ac_compile"
18062 case "(($ac_try" in
18063 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18064 *) ac_try_echo
=$ac_try;;
18066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18067 (eval "$ac_compile") 2>conftest.er1
18069 grep -v '^ *+' conftest.er1
>conftest.err
18071 cat conftest.err
>&5
18072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18073 (exit $ac_status); } && {
18074 test -z "$ac_cxx_werror_flag" ||
18075 test ! -s conftest.err
18076 } && test -s conftest.
$ac_objext; then
18077 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
18079 echo "$as_me: failed program was:" >&5
18080 sed 's/^/| /' conftest.
$ac_ext >&5
18082 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
18086 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18090 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18091 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18092 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18098 ac_cpp
='$CPP $CPPFLAGS'
18099 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18100 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18101 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18107 if test "x$GCXX" != "xyes"; then
18108 if test "xCXX" = "xC"; then
18109 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18110 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18111 if test "${bakefile_cv_c_exto+set}" = set; then
18112 echo $ECHO_N "(cached) $ECHO_C" >&6
18114 cat >conftest.
$ac_ext <<_ACEOF
18117 cat confdefs.h
>>conftest.
$ac_ext
18118 cat >>conftest.
$ac_ext <<_ACEOF
18119 /* end confdefs.h. */
18129 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
18130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18131 (eval $ac_compile) 2>&5
18133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18134 (exit $ac_status); }; then
18135 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
18137 conftest.
$ac_ext.o
)
18138 bakefile_cv_c_exto
="-ext o"
18145 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18146 See \`config.log' for more details." >&5
18147 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18148 See \`config.log' for more details." >&2;}
18149 { (exit 1); exit 1; }; }
18153 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
18156 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18157 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18158 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18159 if test "c" = "c"; then
18160 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
18162 if test "c" = "cxx"; then
18163 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
18167 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18168 unset ac_cv_prog_cc_g
18169 ac_test_CFLAGS
=${CFLAGS+set}
18170 ac_save_CFLAGS
=$CFLAGS
18171 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18172 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18173 if test "${ac_cv_prog_cc_g+set}" = set; then
18174 echo $ECHO_N "(cached) $ECHO_C" >&6
18176 ac_save_c_werror_flag
=$ac_c_werror_flag
18177 ac_c_werror_flag
=yes
18180 cat >conftest.
$ac_ext <<_ACEOF
18183 cat confdefs.h
>>conftest.
$ac_ext
18184 cat >>conftest.
$ac_ext <<_ACEOF
18185 /* end confdefs.h. */
18195 rm -f conftest.
$ac_objext
18196 if { (ac_try
="$ac_compile"
18197 case "(($ac_try" in
18198 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18199 *) ac_try_echo=$ac_try;;
18201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18202 (eval "$ac_compile") 2>conftest.er1
18204 grep -v '^ *+' conftest.er1 >conftest.err
18206 cat conftest.err >&5
18207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18208 (exit $ac_status); } && {
18209 test -z "$ac_c_werror_flag" ||
18210 test ! -s conftest.err
18211 } && test -s conftest.$ac_objext; then
18212 ac_cv_prog_cc_g=yes
18214 echo "$as_me: failed program was:" >&5
18215 sed 's/^/| /' conftest.$ac_ext >&5
18218 cat >conftest.$ac_ext <<_ACEOF
18221 cat confdefs.h >>conftest.$ac_ext
18222 cat >>conftest.$ac_ext <<_ACEOF
18223 /* end confdefs.h. */
18233 rm -f conftest.$ac_objext
18234 if { (ac_try="$ac_compile"
18235 case "(($ac_try" in
18236 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18237 *) ac_try_echo
=$ac_try;;
18239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18240 (eval "$ac_compile") 2>conftest.er1
18242 grep -v '^ *+' conftest.er1
>conftest.err
18244 cat conftest.err
>&5
18245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18246 (exit $ac_status); } && {
18247 test -z "$ac_c_werror_flag" ||
18248 test ! -s conftest.err
18249 } && test -s conftest.
$ac_objext; then
18252 echo "$as_me: failed program was:" >&5
18253 sed 's/^/| /' conftest.
$ac_ext >&5
18255 ac_c_werror_flag
=$ac_save_c_werror_flag
18257 cat >conftest.
$ac_ext <<_ACEOF
18260 cat confdefs.h
>>conftest.
$ac_ext
18261 cat >>conftest.
$ac_ext <<_ACEOF
18262 /* end confdefs.h. */
18272 rm -f conftest.
$ac_objext
18273 if { (ac_try
="$ac_compile"
18274 case "(($ac_try" in
18275 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18276 *) ac_try_echo=$ac_try;;
18278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18279 (eval "$ac_compile") 2>conftest.er1
18281 grep -v '^ *+' conftest.er1 >conftest.err
18283 cat conftest.err >&5
18284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18285 (exit $ac_status); } && {
18286 test -z "$ac_c_werror_flag" ||
18287 test ! -s conftest.err
18288 } && test -s conftest.$ac_objext; then
18289 ac_cv_prog_cc_g=yes
18291 echo "$as_me: failed program was:" >&5
18292 sed 's/^/| /' conftest.$ac_ext >&5
18297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18304 ac_c_werror_flag=$ac_save_c_werror_flag
18306 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18307 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18308 if test "$ac_test_CFLAGS" = set; then
18309 CFLAGS=$ac_save_CFLAGS
18310 elif test $ac_cv_prog_cc_g = yes; then
18311 if test "$GCC" = yes; then
18317 if test "$GCC" = yes; then
18331 ac_cpp='$CXXCPP $CPPFLAGS'
18332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18336 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18337 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18338 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18339 echo $ECHO_N "(cached) $ECHO_C" >&6
18341 cat >conftest.$ac_ext <<_ACEOF
18344 cat confdefs.h >>conftest.$ac_ext
18345 cat >>conftest.$ac_ext <<_ACEOF
18346 /* end confdefs.h. */
18360 rm -f conftest.$ac_objext
18361 if { (ac_try="$ac_compile"
18362 case "(($ac_try" in
18363 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18364 *) ac_try_echo
=$ac_try;;
18366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18367 (eval "$ac_compile") 2>conftest.er1
18369 grep -v '^ *+' conftest.er1
>conftest.err
18371 cat conftest.err
>&5
18372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18373 (exit $ac_status); } && {
18374 test -z "$ac_cxx_werror_flag" ||
18375 test ! -s conftest.err
18376 } && test -s conftest.
$ac_objext; then
18377 bakefile_cv_cxx_compiler___xlC__
=yes
18379 echo "$as_me: failed program was:" >&5
18380 sed 's/^/| /' conftest.
$ac_ext >&5
18382 bakefile_cv_cxx_compiler___xlC__
=no
18386 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18390 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18391 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18392 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18398 ac_cpp
='$CPP $CPPFLAGS'
18399 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18400 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18401 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18411 ac_cpp
='$CXXCPP $CPPFLAGS'
18412 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18413 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18414 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18416 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18417 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18418 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18419 echo $ECHO_N "(cached) $ECHO_C" >&6
18421 cat >conftest.
$ac_ext <<_ACEOF
18424 cat confdefs.h
>>conftest.
$ac_ext
18425 cat >>conftest.
$ac_ext <<_ACEOF
18426 /* end confdefs.h. */
18440 rm -f conftest.
$ac_objext
18441 if { (ac_try
="$ac_compile"
18442 case "(($ac_try" in
18443 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18444 *) ac_try_echo=$ac_try;;
18446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18447 (eval "$ac_compile") 2>conftest.er1
18449 grep -v '^ *+' conftest.er1 >conftest.err
18451 cat conftest.err >&5
18452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18453 (exit $ac_status); } && {
18454 test -z "$ac_cxx_werror_flag" ||
18455 test ! -s conftest.err
18456 } && test -s conftest.$ac_objext; then
18457 bakefile_cv_cxx_compiler___MWERKS__=yes
18459 echo "$as_me: failed program was:" >&5
18460 sed 's/^/| /' conftest.$ac_ext >&5
18462 bakefile_cv_cxx_compiler___MWERKS__=no
18466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18470 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18471 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18472 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18478 ac_cpp='$CPP $CPPFLAGS'
18479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18485 if test "$MWCXX" != "yes"; then
18489 ac_cpp='$CXXCPP $CPPFLAGS'
18490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18494 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18495 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18496 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18497 echo $ECHO_N "(cached) $ECHO_C" >&6
18499 cat >conftest.$ac_ext <<_ACEOF
18502 cat confdefs.h >>conftest.$ac_ext
18503 cat >>conftest.$ac_ext <<_ACEOF
18504 /* end confdefs.h. */
18518 rm -f conftest.$ac_objext
18519 if { (ac_try="$ac_compile"
18520 case "(($ac_try" in
18521 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18522 *) ac_try_echo
=$ac_try;;
18524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18525 (eval "$ac_compile") 2>conftest.er1
18527 grep -v '^ *+' conftest.er1
>conftest.err
18529 cat conftest.err
>&5
18530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18531 (exit $ac_status); } && {
18532 test -z "$ac_cxx_werror_flag" ||
18533 test ! -s conftest.err
18534 } && test -s conftest.
$ac_objext; then
18535 bakefile_cv_cxx_compiler___xlC__
=yes
18537 echo "$as_me: failed program was:" >&5
18538 sed 's/^/| /' conftest.
$ac_ext >&5
18540 bakefile_cv_cxx_compiler___xlC__
=no
18544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18548 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18549 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18550 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18556 ac_cpp
='$CPP $CPPFLAGS'
18557 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18558 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18559 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18570 ac_cpp
='$CXXCPP $CPPFLAGS'
18571 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18572 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18573 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18575 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18576 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18577 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18578 echo $ECHO_N "(cached) $ECHO_C" >&6
18580 cat >conftest.
$ac_ext <<_ACEOF
18583 cat confdefs.h
>>conftest.
$ac_ext
18584 cat >>conftest.
$ac_ext <<_ACEOF
18585 /* end confdefs.h. */
18591 #ifndef _SGI_COMPILER_VERSION
18599 rm -f conftest.
$ac_objext
18600 if { (ac_try
="$ac_compile"
18601 case "(($ac_try" in
18602 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18603 *) ac_try_echo=$ac_try;;
18605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18606 (eval "$ac_compile") 2>conftest.er1
18608 grep -v '^ *+' conftest.er1 >conftest.err
18610 cat conftest.err >&5
18611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18612 (exit $ac_status); } && {
18613 test -z "$ac_cxx_werror_flag" ||
18614 test ! -s conftest.err
18615 } && test -s conftest.$ac_objext; then
18616 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18618 echo "$as_me: failed program was:" >&5
18619 sed 's/^/| /' conftest.$ac_ext >&5
18621 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18629 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18630 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18631 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18637 ac_cpp='$CPP $CPPFLAGS'
18638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18647 if test "$INTELCXX" != "yes"; then
18651 ac_cpp='$CXXCPP $CPPFLAGS'
18652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18656 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18657 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18658 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18659 echo $ECHO_N "(cached) $ECHO_C" >&6
18661 cat >conftest.$ac_ext <<_ACEOF
18664 cat confdefs.h >>conftest.$ac_ext
18665 cat >>conftest.$ac_ext <<_ACEOF
18666 /* end confdefs.h. */
18672 #ifndef __SUNPRO_CC
18680 rm -f conftest.$ac_objext
18681 if { (ac_try="$ac_compile"
18682 case "(($ac_try" in
18683 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18684 *) ac_try_echo
=$ac_try;;
18686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18687 (eval "$ac_compile") 2>conftest.er1
18689 grep -v '^ *+' conftest.er1
>conftest.err
18691 cat conftest.err
>&5
18692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693 (exit $ac_status); } && {
18694 test -z "$ac_cxx_werror_flag" ||
18695 test ! -s conftest.err
18696 } && test -s conftest.
$ac_objext; then
18697 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
18699 echo "$as_me: failed program was:" >&5
18700 sed 's/^/| /' conftest.
$ac_ext >&5
18702 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
18706 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18710 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18711 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18712 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18718 ac_cpp
='$CPP $CPPFLAGS'
18719 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18720 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18721 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18732 ac_cpp
='$CXXCPP $CPPFLAGS'
18733 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18734 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18735 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18737 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18738 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18739 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18740 echo $ECHO_N "(cached) $ECHO_C" >&6
18742 cat >conftest.
$ac_ext <<_ACEOF
18745 cat confdefs.h
>>conftest.
$ac_ext
18746 cat >>conftest.
$ac_ext <<_ACEOF
18747 /* end confdefs.h. */
18761 rm -f conftest.
$ac_objext
18762 if { (ac_try
="$ac_compile"
18763 case "(($ac_try" in
18764 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18765 *) ac_try_echo=$ac_try;;
18767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18768 (eval "$ac_compile") 2>conftest.er1
18770 grep -v '^ *+' conftest.er1 >conftest.err
18772 cat conftest.err >&5
18773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18774 (exit $ac_status); } && {
18775 test -z "$ac_cxx_werror_flag" ||
18776 test ! -s conftest.err
18777 } && test -s conftest.$ac_objext; then
18778 bakefile_cv_cxx_compiler___HP_aCC=yes
18780 echo "$as_me: failed program was:" >&5
18781 sed 's/^/| /' conftest.$ac_ext >&5
18783 bakefile_cv_cxx_compiler___HP_aCC=no
18787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18791 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18792 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18793 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18799 ac_cpp='$CPP $CPPFLAGS'
18800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18812 ac_cpp='$CXXCPP $CPPFLAGS'
18813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18817 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18818 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18819 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18820 echo $ECHO_N "(cached) $ECHO_C" >&6
18822 cat >conftest.$ac_ext <<_ACEOF
18825 cat confdefs.h >>conftest.$ac_ext
18826 cat >>conftest.$ac_ext <<_ACEOF
18827 /* end confdefs.h. */
18841 rm -f conftest.$ac_objext
18842 if { (ac_try="$ac_compile"
18843 case "(($ac_try" in
18844 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18845 *) ac_try_echo
=$ac_try;;
18847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18848 (eval "$ac_compile") 2>conftest.er1
18850 grep -v '^ *+' conftest.er1
>conftest.err
18852 cat conftest.err
>&5
18853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18854 (exit $ac_status); } && {
18855 test -z "$ac_cxx_werror_flag" ||
18856 test ! -s conftest.err
18857 } && test -s conftest.
$ac_objext; then
18858 bakefile_cv_cxx_compiler___DECCXX
=yes
18860 echo "$as_me: failed program was:" >&5
18861 sed 's/^/| /' conftest.
$ac_ext >&5
18863 bakefile_cv_cxx_compiler___DECCXX
=no
18867 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18871 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18872 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18873 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18879 ac_cpp
='$CPP $CPPFLAGS'
18880 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18881 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18882 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18892 ac_cpp
='$CXXCPP $CPPFLAGS'
18893 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18894 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18895 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18897 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18898 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18899 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18900 echo $ECHO_N "(cached) $ECHO_C" >&6
18902 cat >conftest.
$ac_ext <<_ACEOF
18905 cat confdefs.h
>>conftest.
$ac_ext
18906 cat >>conftest.
$ac_ext <<_ACEOF
18907 /* end confdefs.h. */
18913 #ifndef __SUNPRO_CC
18921 rm -f conftest.
$ac_objext
18922 if { (ac_try
="$ac_compile"
18923 case "(($ac_try" in
18924 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18925 *) ac_try_echo=$ac_try;;
18927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18928 (eval "$ac_compile") 2>conftest.er1
18930 grep -v '^ *+' conftest.er1 >conftest.err
18932 cat conftest.err >&5
18933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18934 (exit $ac_status); } && {
18935 test -z "$ac_cxx_werror_flag" ||
18936 test ! -s conftest.err
18937 } && test -s conftest.$ac_objext; then
18938 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18940 echo "$as_me: failed program was:" >&5
18941 sed 's/^/| /' conftest.$ac_ext >&5
18943 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18951 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18952 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18953 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18959 ac_cpp='$CPP $CPPFLAGS'
18960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18972 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18973 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18974 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18975 { (exit 1); exit 1; }; }
18978 if test "x$SUNCXX" != xyes; then
18979 if test -n "$ac_tool_prefix"; then
18980 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18981 set dummy ${ac_tool_prefix}ar; ac_word=$2
18982 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18984 if test "${ac_cv_prog_AR+set}" = set; then
18985 echo $ECHO_N "(cached) $ECHO_C" >&6
18987 if test -n "$AR"; then
18988 ac_cv_prog_AR="$AR" # Let the user override the test.
18990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18991 for as_dir in $PATH
18994 test -z "$as_dir" && as_dir=.
18995 for ac_exec_ext in '' $ac_executable_extensions; do
18996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18997 ac_cv_prog_AR="${ac_tool_prefix}ar"
18998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19008 if test -n "$AR"; then
19009 { echo "$as_me:$LINENO: result: $AR" >&5
19010 echo "${ECHO_T}$AR" >&6; }
19012 { echo "$as_me:$LINENO: result: no" >&5
19013 echo "${ECHO_T}no" >&6; }
19018 if test -z "$ac_cv_prog_AR"; then
19020 # Extract the first word of "ar", so it can be a program name with args.
19021 set dummy ar; ac_word=$2
19022 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19024 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19025 echo $ECHO_N "(cached) $ECHO_C" >&6
19027 if test -n "$ac_ct_AR"; then
19028 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19031 for as_dir in $PATH
19034 test -z "$as_dir" && as_dir=.
19035 for ac_exec_ext in '' $ac_executable_extensions; do
19036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19037 ac_cv_prog_ac_ct_AR="ar"
19038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19047 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19048 if test -n "$ac_ct_AR"; then
19049 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19050 echo "${ECHO_T}$ac_ct_AR" >&6; }
19052 { echo "$as_me:$LINENO: result: no" >&5
19053 echo "${ECHO_T}no" >&6; }
19056 if test "x$ac_ct_AR" = x; then
19059 case $cross_compiling:$ac_tool_warned in
19061 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19062 whose name does not start with the host triplet. If you think this
19063 configuration is useful to you, please write to autoconf@gnu.org." >&5
19064 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19065 whose name does not start with the host triplet. If you think this
19066 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19067 ac_tool_warned=yes ;;
19072 AR="$ac_cv_prog_AR"
19075 if test "x$AR" = "x" ; then
19076 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19077 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19078 { (exit 1); exit 1; }; }
19083 if test "$wxUSE_MAC" = 1; then
19085 retest_macosx_linking=no
19088 if test "x$wxUSE_MAC_ARCH" != xno; then
19089 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
19092 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19093 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
19094 # Implicitly turn on the new --with-macosx-sdk using the default
19095 # SDK which provides the behaviour this option has always had.
19096 if test "x$wxUSE_MACOSX_SDK" = "x"; then
19097 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
19098 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
19099 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
19100 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
19101 wxUSE_MACOSX_SDK=yes
19104 # Complain to user if he specified an argument to --enable-universal_binary
19105 # and also 1) specified --with-macosx-sdk using the default (yes) or
19106 # 2) specified --with-macosx-sdk using a path or 3) specified
19107 # --without-macosx-sdk (no).
19108 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
19109 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
19110 See \`config.log
' for more details." >&5
19111 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
19112 See \`config.log' for more details.
" >&2;}
19113 { (exit 1); exit 1; }; }
19115 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
19116 # special-case the empty string because the below test simply
19117 # converts "no
" to the empty string anyway.
19118 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
19119 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
19120 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
19123 OSX_ARCH_OPTS="-arch ppc
-arch i386
"
19124 if test "$wxUSE_OSX_COCOA" = 1; then
19125 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64
"
19127 { echo "$as_me:$LINENO: checking
for universal binary architectures
" >&5
19128 echo $ECHO_N "checking
for universal binary architectures...
$ECHO_C" >&6; }
19129 { echo "$as_me:$LINENO: result
: $OSX_ARCH_OPTS" >&5
19130 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
19132 retest_macosx_linking=yes
19134 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
19135 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
19139 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19140 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19141 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19142 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19143 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19145 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
19147 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
19148 # TODO: Search for most recent SDK and use it.
19149 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
19153 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
19154 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
19155 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
19156 if ! test -d "$wxUSE_MACOSX_SDK"; then
19157 { { echo "$as_me:$LINENO: error
: not found
19158 See \
`config.log' for more details." >&5
19159 echo "$as_me: error: not found
19160 See \`config.log
' for more details." >&2;}
19161 { (exit 1); exit 1; }; }
19163 { echo "$as_me:$LINENO: result: exists" >&5
19164 echo "${ECHO_T}exists" >&6; }
19166 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19167 retest_macosx_linking=yes
19170 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19171 wxUSE_MACOSX_VERSION_MIN=
19172 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19173 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19174 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
19175 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
19177 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/'`
19179 # If that failed, try again with the new key
19180 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19182 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/'`
19186 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19187 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19188 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19189 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
19191 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19192 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19193 wxUSE_MACOSX_VERSION_MIN=
19196 wxUSE_MACOSX_VERSION_MIN=
19198 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19199 for ac_prog in sw_vers
19201 # Extract the first word of "$ac_prog", so it can be a program name with args.
19202 set dummy $ac_prog; ac_word=$2
19203 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19205 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
19206 echo $ECHO_N "(cached) $ECHO_C" >&6
19208 if test -n "$OSX_SW_VERS"; then
19209 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
19211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19212 for as_dir in $PATH
19215 test -z "$as_dir" && as_dir=.
19216 for ac_exec_ext in '' $ac_executable_extensions; do
19217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19218 ac_cv_prog_OSX_SW_VERS="$ac_prog"
19219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19228 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
19229 if test -n "$OSX_SW_VERS"; then
19230 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
19231 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
19233 { echo "$as_me:$LINENO: result: no" >&5
19234 echo "${ECHO_T}no" >&6; }
19238 test -n "$OSX_SW_VERS" && break
19241 if test "$OSX_SW_VERS" != ""; then
19242 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
19244 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
19245 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
19249 case "$OSX_VERSION" in
19251 wxUSE_MACOSX_VERSION_MIN=10.4
19255 if test "$wxUSE_OSX_CARBON" = 1; then
19256 # otherwise configure stops on leopard for universal_binary
19257 wxUSE_MACOSX_VERSION_MIN=10.4
19259 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
19260 wxUSE_MACOSX_VERSION_MIN=10.5
19267 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
19271 if test "$wxUSE_OSX_CARBON" = 1; then
19275 if test "x$NEEDS_GCC40" == "xyes"; then
19276 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
19277 # and wants 10.4 compatible code, then 'downgrade
' to 4.0
19278 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19279 if test "x$CC" = "xgcc"; then
19280 CCVERSION=`$CC --version | grep 4.[2-9].`
19281 if test "x$CCVERSION" != "x"; then
19282 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
19287 if test "x$CXX" = "xg++"; then
19288 CCVERSION=`$CXX --version | grep 4.[2-9].`
19289 if test "x$CCVERSION" != "x"; then
19295 if test "x$MACOSX_SDK_OPTS" != "x"; then
19296 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19297 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19298 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19301 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19302 if test "$wxUSE_OSX_IPHONE" = 1; then
19303 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19305 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19307 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19308 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19309 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19310 retest_macosx_linking=yes
19313 if test "x$retest_macosx_linking" = "xyes"; then
19315 ac_cpp='$CPP $CPPFLAGS'
19316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
19317 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
19318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19320 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
19321 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
19322 cat >conftest.$ac_ext <<_ACEOF
19325 cat confdefs.h >>conftest.$ac_ext
19326 cat >>conftest.$ac_ext <<_ACEOF
19327 /* end confdefs.h. */
19337 rm -f conftest.$ac_objext conftest$ac_exeext
19338 if { (ac_try="$ac_link"
19339 case "(($ac_try" in
19340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19341 *) ac_try_echo=$ac_try;;
19343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19344 (eval "$ac_link") 2>conftest.er1
19346 grep -v '^
*+' conftest.er1 >conftest.err
19348 cat conftest.err >&5
19349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19350 (exit $ac_status); } && {
19351 test -z "$ac_c_werror_flag" ||
19352 test ! -s conftest.err
19353 } && test -s conftest$ac_exeext &&
19354 $as_test_x conftest$ac_exeext; then
19355 { echo "$as_me:$LINENO: result: yes" >&5
19356 echo "${ECHO_T}yes" >&6; }
19358 echo "$as_me: failed program was:" >&5
19359 sed 's
/^
/| /' conftest.$ac_ext >&5
19361 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19362 See \`config.log' for more details.
" >&5
19363 echo "$as_me: error
: no. Try a different SDK
19364 See \
`config.log' for more details." >&2;}
19365 { (exit 1); exit 1; }; }; exit 1
19368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19369 conftest$ac_exeext conftest.$ac_ext
19371 ac_cpp='$CPP $CPPFLAGS'
19372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19378 ac_cpp='$CXXCPP $CPPFLAGS'
19379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19383 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19384 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
19385 cat >conftest.$ac_ext <<_ACEOF
19388 cat confdefs.h >>conftest.$ac_ext
19389 cat >>conftest.$ac_ext <<_ACEOF
19390 /* end confdefs.h. */
19400 rm -f conftest.$ac_objext conftest$ac_exeext
19401 if { (ac_try="$ac_link"
19402 case "(($ac_try" in
19403 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19404 *) ac_try_echo
=$ac_try;;
19406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19407 (eval "$ac_link") 2>conftest.er1
19409 grep -v '^ *+' conftest.er1
>conftest.err
19411 cat conftest.err
>&5
19412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19413 (exit $ac_status); } && {
19414 test -z "$ac_cxx_werror_flag" ||
19415 test ! -s conftest.err
19416 } && test -s conftest
$ac_exeext &&
19417 $as_test_x conftest
$ac_exeext; then
19418 { echo "$as_me:$LINENO: result: yes" >&5
19419 echo "${ECHO_T}yes" >&6; }
19421 echo "$as_me: failed program was:" >&5
19422 sed 's/^/| /' conftest.
$ac_ext >&5
19424 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19425 See \`config.log' for more details." >&5
19426 echo "$as_me: error: no. Try a different SDK
19427 See \`config.log' for more details." >&2;}
19428 { (exit 1); exit 1; }; }; exit 1
19431 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19432 conftest
$ac_exeext conftest.
$ac_ext
19434 ac_cpp
='$CPP $CPPFLAGS'
19435 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19436 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19437 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19445 INSTALL_PROGRAM
="cp -fp"
19446 INSTALL_DATA
="cp -fp"
19453 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
19454 CXXFLAGS
="-qunique $CXXFLAGS"
19458 powerpc
-*-darwin* )
19459 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19460 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19461 cat >conftest.
$ac_ext <<_ACEOF
19464 cat confdefs.h
>>conftest.
$ac_ext
19465 cat >>conftest.
$ac_ext <<_ACEOF
19466 /* end confdefs.h. */
19471 #ifndef __POWERPC__
19472 choke me for lack of PowerPC
19479 rm -f conftest.
$ac_objext
19480 if { (ac_try
="$ac_compile"
19481 case "(($ac_try" in
19482 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19483 *) ac_try_echo=$ac_try;;
19485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19486 (eval "$ac_compile") 2>conftest.er1
19488 grep -v '^ *+' conftest.er1 >conftest.err
19490 cat conftest.err >&5
19491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19492 (exit $ac_status); } && {
19493 test -z "$ac_c_werror_flag" ||
19494 test ! -s conftest.err
19495 } && test -s conftest.$ac_objext; then
19496 { echo "$as_me:$LINENO: result: yes" >&5
19497 echo "${ECHO_T}yes" >&6; }
19499 echo "$as_me: failed program was:" >&5
19500 sed 's/^/| /' conftest.$ac_ext >&5
19502 { echo "$as_me:$LINENO: result: no" >&5
19503 echo "${ECHO_T}no" >&6; }
19504 cat >>confdefs.h <<\_ACEOF
19505 #define __POWERPC__ 1
19511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19517 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19518 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19519 cat >conftest.$ac_ext <<_ACEOF
19522 cat confdefs.h >>conftest.$ac_ext
19523 cat >>conftest.$ac_ext <<_ACEOF
19524 /* end confdefs.h. */
19525 #include <CoreFoundation/CFBase.h>
19535 rm -f conftest.$ac_objext
19536 if { (ac_try="$ac_compile"
19537 case "(($ac_try" in
19538 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19539 *) ac_try_echo
=$ac_try;;
19541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19542 (eval "$ac_compile") 2>conftest.er1
19544 grep -v '^ *+' conftest.er1
>conftest.err
19546 cat conftest.err
>&5
19547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19548 (exit $ac_status); } && {
19549 test -z "$ac_c_werror_flag" ||
19550 test ! -s conftest.err
19551 } && test -s conftest.
$ac_objext; then
19552 { echo "$as_me:$LINENO: result: yes" >&5
19553 echo "${ECHO_T}yes" >&6; }
19555 echo "$as_me: failed program was:" >&5
19556 sed 's/^/| /' conftest.
$ac_ext >&5
19558 { echo "$as_me:$LINENO: result: no" >&5
19559 echo "${ECHO_T}no" >&6; }
19560 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19561 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19562 cat >conftest.
$ac_ext <<_ACEOF
19565 cat confdefs.h
>>conftest.
$ac_ext
19566 cat >>conftest.
$ac_ext <<_ACEOF
19567 /* end confdefs.h. */
19568 #define __CF_USE_FRAMEWORK_INCLUDES__
19569 #include <CoreFoundation/CFBase.h>
19579 rm -f conftest.
$ac_objext
19580 if { (ac_try
="$ac_compile"
19581 case "(($ac_try" in
19582 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19583 *) ac_try_echo=$ac_try;;
19585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19586 (eval "$ac_compile") 2>conftest.er1
19588 grep -v '^ *+' conftest.er1 >conftest.err
19590 cat conftest.err >&5
19591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592 (exit $ac_status); } && {
19593 test -z "$ac_c_werror_flag" ||
19594 test ! -s conftest.err
19595 } && test -s conftest.$ac_objext; then
19596 { echo "$as_me:$LINENO: result: yes" >&5
19597 echo "${ECHO_T}yes" >&6; }
19598 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19600 echo "$as_me: failed program was:" >&5
19601 sed 's/^/| /' conftest.$ac_ext >&5
19603 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19604 See \`config.log
' for more details." >&5
19605 echo "$as_me: error: no. CoreFoundation not available.
19606 See \`config.log' for more details.
" >&2;}
19607 { (exit 1); exit 1; }; }
19611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19621 doesnt_want_win32=0
19624 if test "$wxUSE_MSW" = 1 ; then
19627 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
19628 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
19629 if test "${wx_cv_nocygwin+set}" = set; then
19630 echo $ECHO_N "(cached
) $ECHO_C" >&6
19633 cat >conftest.$ac_ext <<_ACEOF
19636 cat confdefs.h >>conftest.$ac_ext
19637 cat >>conftest.$ac_ext <<_ACEOF
19638 /* end confdefs.h. */
19652 rm -f conftest.$ac_objext
19653 if { (ac_try="$ac_compile"
19654 case "(($ac_try" in
19655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19656 *) ac_try_echo=$ac_try;;
19658 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19659 (eval "$ac_compile") 2>conftest.er1
19661 grep -v '^ *+' conftest.er1 >conftest.err
19663 cat conftest.err >&5
19664 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19665 (exit $ac_status); } && {
19666 test -z "$ac_c_werror_flag" ||
19667 test ! -s conftest.err
19668 } && test -s conftest.$ac_objext; then
19671 echo "$as_me: failed program was
:" >&5
19672 sed 's/^/| /' conftest.$ac_ext >&5
19678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19682 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
19683 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19685 if test "$wx_cv_nocygwin" = "yes"; then
19688 doesnt_want_win32=1
19691 if test "$wants_win32" = 1 ; then
19692 BAKEFILE_FORCE_PLATFORM=win32
19700 if test "$wxUSE_WINE" = "yes"; then
19702 LDFLAGS_GUI="-mwindows"
19705 if test "$wants_win32" = 1 ; then
19708 cat >>confdefs.h <<\_ACEOF
19709 #define __WIN32__ 1
19712 cat >>confdefs.h <<\_ACEOF
19713 #define __WIN95__ 1
19716 cat >>confdefs.h <<\_ACEOF
19717 #define __WINDOWS__ 1
19720 cat >>confdefs.h <<\_ACEOF
19721 #define __GNUWIN32__ 1
19724 cat >>confdefs.h <<\_ACEOF
19729 if test "$doesnt_want_win32" = 1 ; then
19734 if test "$USE_UNIX" = 1 ; then
19736 cat >>confdefs.h <<\_ACEOF
19743 *-pc-os2_emx | *-pc-os2-emx )
19744 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19745 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
19746 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
19747 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19748 echo $ECHO_N "(cached
) $ECHO_C" >&6
19750 ac_check_lib_save_LIBS=$LIBS
19751 LIBS="-lcExt $LIBS"
19752 cat >conftest.$ac_ext <<_ACEOF
19755 cat confdefs.h >>conftest.$ac_ext
19756 cat >>conftest.$ac_ext <<_ACEOF
19757 /* end confdefs.h. */
19759 /* Override any GCC internal prototype to avoid an error.
19760 Use char because int might match the return type of a GCC
19761 builtin and then its argument prototype would still apply. */
19774 rm -f conftest.$ac_objext conftest$ac_exeext
19775 if { (ac_try="$ac_link"
19776 case "(($ac_try" in
19777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19778 *) ac_try_echo=$ac_try;;
19780 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19781 (eval "$ac_link") 2>conftest.er1
19783 grep -v '^ *+' conftest.er1 >conftest.err
19785 cat conftest.err >&5
19786 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19787 (exit $ac_status); } && {
19788 test -z "$ac_c_werror_flag" ||
19789 test ! -s conftest.err
19790 } && test -s conftest$ac_exeext &&
19791 $as_test_x conftest$ac_exeext; then
19792 ac_cv_lib_cExt_drand48=yes
19794 echo "$as_me: failed program was
:" >&5
19795 sed 's/^/| /' conftest.$ac_ext >&5
19797 ac_cv_lib_cExt_drand48=no
19800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19801 conftest$ac_exeext conftest.$ac_ext
19802 LIBS=$ac_check_lib_save_LIBS
19804 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
19805 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19806 if test $ac_cv_lib_cExt_drand48 = yes; then
19807 LIBS="$LIBS -lcExt"
19811 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
19813 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
19814 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
19815 if test "${wx_cv_gccversion+set}" = set; then
19816 echo $ECHO_N "(cached
) $ECHO_C" >&6
19819 if test "$cross_compiling" = yes; then
19820 wx_cv_gccversion="EMX2
"
19823 cat >conftest.$ac_ext <<_ACEOF
19826 cat confdefs.h >>conftest.$ac_ext
19827 cat >>conftest.$ac_ext <<_ACEOF
19828 /* end confdefs.h. */
19834 FILE *f=fopen("conftestval
", "w
");
19839 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19841 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19851 rm -f conftest$ac_exeext
19852 if { (ac_try="$ac_link"
19853 case "(($ac_try" in
19854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19855 *) ac_try_echo=$ac_try;;
19857 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19858 (eval "$ac_link") 2>&5
19860 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19861 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19862 { (case "(($ac_try" in
19863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19864 *) ac_try_echo=$ac_try;;
19866 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19867 (eval "$ac_try") 2>&5
19869 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19870 (exit $ac_status); }; }; then
19871 wx_cv_gccversion=`cat conftestval`
19873 echo "$as_me: program exited with status
$ac_status" >&5
19874 echo "$as_me: failed program was
:" >&5
19875 sed 's/^/| /' conftest.$ac_ext >&5
19877 ( exit $ac_status )
19878 wx_cv_gccversion="EMX2
"
19880 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19886 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
19887 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19888 if test "$wx_cv_gccversion" = "EMX2
"; then
19889 LIBS="$LIBS -lstdcpp"
19890 LDFLAGS="$LDFLAGS -Zsysv-signals"
19892 if test "$wx_cv_gccversion" = "EMX3
"; then
19893 LIBS="$LIBS -lstdcxx -lgcc"
19894 LDFLAGS="$LDFLAGS -Zsysv-signals"
19896 LIBS="$LIBS -lstdc++"
19899 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
19900 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
19901 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
19908 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
19909 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
19910 if test "${ac_cv_string_strcasecmp+set}" = set; then
19911 echo $ECHO_N "(cached
) $ECHO_C" >&6
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 <string.h>
19927 strcasecmp("foo
", "bar
");
19933 rm -f conftest.$ac_objext conftest$ac_exeext
19934 if { (ac_try="$ac_link"
19935 case "(($ac_try" in
19936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19937 *) ac_try_echo=$ac_try;;
19939 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19940 (eval "$ac_link") 2>conftest.er1
19942 grep -v '^ *+' conftest.er1 >conftest.err
19944 cat conftest.err >&5
19945 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19946 (exit $ac_status); } && {
19947 test -z "$ac_c_werror_flag" ||
19948 test ! -s conftest.err
19949 } && test -s conftest$ac_exeext &&
19950 $as_test_x conftest$ac_exeext; then
19951 ac_cv_string_strcasecmp=yes
19953 echo "$as_me: failed program was
:" >&5
19954 sed 's/^/| /' conftest.$ac_ext >&5
19956 ac_cv_string_strcasecmp=no
19960 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19961 conftest$ac_exeext conftest.$ac_ext
19964 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
19965 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19967 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
19968 cat >>confdefs.h <<\_ACEOF
19969 #define HAVE_STRCASECMP_IN_STRING_H 1
19973 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
19974 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
19975 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19976 echo $ECHO_N "(cached
) $ECHO_C" >&6
19979 cat >conftest.$ac_ext <<_ACEOF
19982 cat confdefs.h >>conftest.$ac_ext
19983 cat >>conftest.$ac_ext <<_ACEOF
19984 /* end confdefs.h. */
19986 #include <strings.h>
19992 strcasecmp("foo
", "bar
");
19998 rm -f conftest.$ac_objext conftest$ac_exeext
19999 if { (ac_try="$ac_link"
20000 case "(($ac_try" in
20001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20002 *) ac_try_echo=$ac_try;;
20004 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20005 (eval "$ac_link") 2>conftest.er1
20007 grep -v '^ *+' conftest.er1 >conftest.err
20009 cat conftest.err >&5
20010 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20011 (exit $ac_status); } && {
20012 test -z "$ac_c_werror_flag" ||
20013 test ! -s conftest.err
20014 } && test -s conftest$ac_exeext &&
20015 $as_test_x conftest$ac_exeext; then
20016 ac_cv_strings_strcasecmp=yes
20018 echo "$as_me: failed program was
:" >&5
20019 sed 's/^/| /' conftest.$ac_ext >&5
20021 ac_cv_strings_strcasecmp=no
20025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20026 conftest$ac_exeext conftest.$ac_ext
20029 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
20030 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20032 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
20033 cat >>confdefs.h <<\_ACEOF
20034 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20038 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
20039 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
20040 { (exit 1); exit 1; }; }
20048 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
20049 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
20050 if test "${ac_cv_header_stdc+set}" = set; then
20051 echo $ECHO_N "(cached
) $ECHO_C" >&6
20053 cat >conftest.$ac_ext <<_ACEOF
20056 cat confdefs.h >>conftest.$ac_ext
20057 cat >>conftest.$ac_ext <<_ACEOF
20058 /* end confdefs.h. */
20059 #include <stdlib.h>
20060 #include <stdarg.h>
20061 #include <string.h>
20072 rm -f conftest.$ac_objext
20073 if { (ac_try="$ac_compile"
20074 case "(($ac_try" in
20075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20076 *) ac_try_echo=$ac_try;;
20078 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20079 (eval "$ac_compile") 2>conftest.er1
20081 grep -v '^ *+' conftest.er1 >conftest.err
20083 cat conftest.err >&5
20084 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20085 (exit $ac_status); } && {
20086 test -z "$ac_c_werror_flag" ||
20087 test ! -s conftest.err
20088 } && test -s conftest.$ac_objext; then
20089 ac_cv_header_stdc=yes
20091 echo "$as_me: failed program was
:" >&5
20092 sed 's/^/| /' conftest.$ac_ext >&5
20094 ac_cv_header_stdc=no
20097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20099 if test $ac_cv_header_stdc = yes; then
20100 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20101 cat >conftest.$ac_ext <<_ACEOF
20104 cat confdefs.h >>conftest.$ac_ext
20105 cat >>conftest.$ac_ext <<_ACEOF
20106 /* end confdefs.h. */
20107 #include <string.h>
20110 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
20111 $EGREP "memchr
" >/dev/null 2>&1; then
20114 ac_cv_header_stdc=no
20120 if test $ac_cv_header_stdc = yes; then
20121 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20122 cat >conftest.$ac_ext <<_ACEOF
20125 cat confdefs.h >>conftest.$ac_ext
20126 cat >>conftest.$ac_ext <<_ACEOF
20127 /* end confdefs.h. */
20128 #include <stdlib.h>
20131 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
20132 $EGREP "free
" >/dev/null 2>&1; then
20135 ac_cv_header_stdc=no
20141 if test $ac_cv_header_stdc = yes; then
20142 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20143 if test "$cross_compiling" = yes; then
20146 cat >conftest.$ac_ext <<_ACEOF
20149 cat confdefs.h >>conftest.$ac_ext
20150 cat >>conftest.$ac_ext <<_ACEOF
20151 /* end confdefs.h. */
20153 #include <stdlib.h>
20154 #if ((' ' & 0x0FF) == 0x020)
20155 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20156 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20158 # define ISLOWER(c) \
20159 (('a' <= (c) && (c) <= 'i') \
20160 || ('j' <= (c) && (c) <= 'r') \
20161 || ('s' <= (c) && (c) <= 'z'))
20162 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20165 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20170 for (i = 0; i < 256; i++)
20171 if (XOR (islower (i), ISLOWER (i))
20172 || toupper (i) != TOUPPER (i))
20177 rm -f conftest$ac_exeext
20178 if { (ac_try="$ac_link"
20179 case "(($ac_try" in
20180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20181 *) ac_try_echo=$ac_try;;
20183 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20184 (eval "$ac_link") 2>&5
20186 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20187 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20188 { (case "(($ac_try" in
20189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20190 *) ac_try_echo=$ac_try;;
20192 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20193 (eval "$ac_try") 2>&5
20195 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20196 (exit $ac_status); }; }; then
20199 echo "$as_me: program exited with status
$ac_status" >&5
20200 echo "$as_me: failed program was
:" >&5
20201 sed 's/^/| /' conftest.$ac_ext >&5
20203 ( exit $ac_status )
20204 ac_cv_header_stdc=no
20206 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20212 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
20213 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20214 if test $ac_cv_header_stdc = yes; then
20216 cat >>confdefs.h <<\_ACEOF
20217 #define STDC_HEADERS 1
20222 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20232 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20233 inttypes.h stdint.h unistd.h
20235 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20236 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20237 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20238 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20239 echo $ECHO_N "(cached
) $ECHO_C" >&6
20241 cat >conftest.$ac_ext <<_ACEOF
20244 cat confdefs.h >>conftest.$ac_ext
20245 cat >>conftest.$ac_ext <<_ACEOF
20246 /* end confdefs.h. */
20247 $ac_includes_default
20249 #include <$ac_header>
20251 rm -f conftest.$ac_objext
20252 if { (ac_try="$ac_compile"
20253 case "(($ac_try" in
20254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20255 *) ac_try_echo=$ac_try;;
20257 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20258 (eval "$ac_compile") 2>conftest.er1
20260 grep -v '^ *+' conftest.er1 >conftest.err
20262 cat conftest.err >&5
20263 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20264 (exit $ac_status); } && {
20265 test -z "$ac_c_werror_flag" ||
20266 test ! -s conftest.err
20267 } && test -s conftest.$ac_objext; then
20268 eval "$as_ac_Header=yes"
20270 echo "$as_me: failed program was
:" >&5
20271 sed 's/^/| /' conftest.$ac_ext >&5
20273 eval "$as_ac_Header=no
"
20276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20278 ac_res=`eval echo '${'$as_ac_Header'}'`
20279 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20280 echo "${ECHO_T}$ac_res" >&6; }
20281 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20282 cat >>confdefs.h <<_ACEOF
20283 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20293 for ac_header in langinfo.h wchar.h
20295 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20296 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20297 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20298 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20299 echo $ECHO_N "(cached
) $ECHO_C" >&6
20301 cat >conftest.$ac_ext <<_ACEOF
20304 cat confdefs.h >>conftest.$ac_ext
20305 cat >>conftest.$ac_ext <<_ACEOF
20306 /* end confdefs.h. */
20307 $ac_includes_default
20309 #include <$ac_header>
20311 rm -f conftest.$ac_objext
20312 if { (ac_try="$ac_compile"
20313 case "(($ac_try" in
20314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20315 *) ac_try_echo=$ac_try;;
20317 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20318 (eval "$ac_compile") 2>conftest.er1
20320 grep -v '^ *+' conftest.er1 >conftest.err
20322 cat conftest.err >&5
20323 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20324 (exit $ac_status); } && {
20325 test -z "$ac_c_werror_flag" ||
20326 test ! -s conftest.err
20327 } && test -s conftest.$ac_objext; then
20328 eval "$as_ac_Header=yes"
20330 echo "$as_me: failed program was
:" >&5
20331 sed 's/^/| /' conftest.$ac_ext >&5
20333 eval "$as_ac_Header=no
"
20336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20338 ac_res=`eval echo '${'$as_ac_Header'}'`
20339 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20340 echo "${ECHO_T}$ac_res" >&6; }
20341 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20342 cat >>confdefs.h <<_ACEOF
20343 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20351 if test "$ac_cv_header_wchar_h" != "yes"; then
20353 for ac_header in wcstr.h
20355 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20356 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20357 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20358 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20359 echo $ECHO_N "(cached
) $ECHO_C" >&6
20361 cat >conftest.$ac_ext <<_ACEOF
20364 cat confdefs.h >>conftest.$ac_ext
20365 cat >>conftest.$ac_ext <<_ACEOF
20366 /* end confdefs.h. */
20367 $ac_includes_default
20369 #include <$ac_header>
20371 rm -f conftest.$ac_objext
20372 if { (ac_try="$ac_compile"
20373 case "(($ac_try" in
20374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20375 *) ac_try_echo=$ac_try;;
20377 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20378 (eval "$ac_compile") 2>conftest.er1
20380 grep -v '^ *+' conftest.er1 >conftest.err
20382 cat conftest.err >&5
20383 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20384 (exit $ac_status); } && {
20385 test -z "$ac_c_werror_flag" ||
20386 test ! -s conftest.err
20387 } && test -s conftest.$ac_objext; then
20388 eval "$as_ac_Header=yes"
20390 echo "$as_me: failed program was
:" >&5
20391 sed 's/^/| /' conftest.$ac_ext >&5
20393 eval "$as_ac_Header=no
"
20396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20398 ac_res=`eval echo '${'$as_ac_Header'}'`
20399 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20400 echo "${ECHO_T}$ac_res" >&6; }
20401 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20402 cat >>confdefs.h <<_ACEOF
20403 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20413 *-pc-os2_emx | *-pc-os2-emx )
20414 if test $ac_cv_header_langinfo_h = "yes" \
20415 -a \( "$wx_cv_gccversion" = "EMX2
" \
20416 -o "$wx_cv_gccversion" = "EMX3
" \
20417 -o "$wx_cv_gccversion" = "Innotek5
" \); then
20418 LIBS="$LIBS -lintl"
20423 if test "$USE_UNIX" = 1 ; then
20425 for ac_header in sys/select.h
20427 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20428 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20429 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20430 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20431 echo $ECHO_N "(cached
) $ECHO_C" >&6
20433 cat >conftest.$ac_ext <<_ACEOF
20436 cat confdefs.h >>conftest.$ac_ext
20437 cat >>conftest.$ac_ext <<_ACEOF
20438 /* end confdefs.h. */
20439 $ac_includes_default
20441 #include <$ac_header>
20443 rm -f conftest.$ac_objext
20444 if { (ac_try="$ac_compile"
20445 case "(($ac_try" in
20446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20447 *) ac_try_echo=$ac_try;;
20449 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20450 (eval "$ac_compile") 2>conftest.er1
20452 grep -v '^ *+' conftest.er1 >conftest.err
20454 cat conftest.err >&5
20455 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20456 (exit $ac_status); } && {
20457 test -z "$ac_c_werror_flag" ||
20458 test ! -s conftest.err
20459 } && test -s conftest.$ac_objext; then
20460 eval "$as_ac_Header=yes"
20462 echo "$as_me: failed program was
:" >&5
20463 sed 's/^/| /' conftest.$ac_ext >&5
20465 eval "$as_ac_Header=no
"
20468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20470 ac_res=`eval echo '${'$as_ac_Header'}'`
20471 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20472 echo "${ECHO_T}$ac_res" >&6; }
20473 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20474 cat >>confdefs.h <<_ACEOF
20475 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20485 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
20486 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
20487 if test "${ac_cv_c_const+set}" = set; then
20488 echo $ECHO_N "(cached
) $ECHO_C" >&6
20490 cat >conftest.$ac_ext <<_ACEOF
20493 cat confdefs.h >>conftest.$ac_ext
20494 cat >>conftest.$ac_ext <<_ACEOF
20495 /* end confdefs.h. */
20500 /* FIXME: Include the comments suggested by Paul. */
20501 #ifndef __cplusplus
20502 /* Ultrix mips cc rejects this. */
20503 typedef int charset[2];
20505 /* SunOS 4.1.1 cc rejects this. */
20506 char const *const *pcpcc;
20508 /* NEC SVR4.0.2 mips cc rejects this. */
20509 struct point {int x, y;};
20510 static struct point const zero = {0,0};
20511 /* AIX XL C 1.02.0.0 rejects this.
20512 It does not let you subtract one const X* pointer from another in
20513 an arm of an if-expression whose if-part is not a constant
20515 const char *g = "string
";
20516 pcpcc = &g + (g ? g-g : 0);
20517 /* HPUX 7.0 cc rejects these. */
20519 ppc = (char**) pcpcc;
20520 pcpcc = (char const *const *) ppc;
20521 { /* SCO 3.2v4 cc rejects this. */
20523 char const *s = 0 ? (char *) 0 : (char const *) 0;
20528 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20529 int x[] = {25, 17};
20530 const int *foo = &x[0];
20533 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20534 typedef const int *iptr;
20538 { /* AIX XL C 1.02.0.0 rejects this saying
20539 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20540 struct s { int j; const int *ap[3]; };
20541 struct s *b; b->j = 5;
20543 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20544 const int foo = 10;
20545 if (!foo) return 0;
20547 return !cs[0] && !zero.x;
20554 rm -f conftest.$ac_objext
20555 if { (ac_try="$ac_compile"
20556 case "(($ac_try" in
20557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20558 *) ac_try_echo=$ac_try;;
20560 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20561 (eval "$ac_compile") 2>conftest.er1
20563 grep -v '^ *+' conftest.er1 >conftest.err
20565 cat conftest.err >&5
20566 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20567 (exit $ac_status); } && {
20568 test -z "$ac_c_werror_flag" ||
20569 test ! -s conftest.err
20570 } && test -s conftest.$ac_objext; then
20573 echo "$as_me: failed program was
:" >&5
20574 sed 's/^/| /' conftest.$ac_ext >&5
20579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20581 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
20582 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20583 if test $ac_cv_c_const = no; then
20585 cat >>confdefs.h <<\_ACEOF
20591 { echo "$as_me:$LINENO: checking
for inline
" >&5
20592 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
20593 if test "${ac_cv_c_inline+set}" = set; then
20594 echo $ECHO_N "(cached
) $ECHO_C" >&6
20597 for ac_kw in inline __inline__ __inline; do
20598 cat >conftest.$ac_ext <<_ACEOF
20601 cat confdefs.h >>conftest.$ac_ext
20602 cat >>conftest.$ac_ext <<_ACEOF
20603 /* end confdefs.h. */
20604 #ifndef __cplusplus
20606 static $ac_kw foo_t static_foo () {return 0; }
20607 $ac_kw foo_t foo () {return 0; }
20611 rm -f conftest.$ac_objext
20612 if { (ac_try="$ac_compile"
20613 case "(($ac_try" in
20614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20615 *) ac_try_echo=$ac_try;;
20617 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20618 (eval "$ac_compile") 2>conftest.er1
20620 grep -v '^ *+' conftest.er1 >conftest.err
20622 cat conftest.err >&5
20623 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20624 (exit $ac_status); } && {
20625 test -z "$ac_c_werror_flag" ||
20626 test ! -s conftest.err
20627 } && test -s conftest.$ac_objext; then
20628 ac_cv_c_inline=$ac_kw
20630 echo "$as_me: failed program was
:" >&5
20631 sed 's/^/| /' conftest.$ac_ext >&5
20636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20637 test "$ac_cv_c_inline" != no && break
20641 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
20642 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20645 case $ac_cv_c_inline in
20648 case $ac_cv_c_inline in
20650 *) ac_val=$ac_cv_c_inline;;
20652 cat >>confdefs.h <<_ACEOF
20653 #ifndef __cplusplus
20654 #define inline $ac_val
20661 { echo "$as_me:$LINENO: checking
for short
" >&5
20662 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
20663 if test "${ac_cv_type_short+set}" = set; then
20664 echo $ECHO_N "(cached
) $ECHO_C" >&6
20666 cat >conftest.$ac_ext <<_ACEOF
20669 cat confdefs.h >>conftest.$ac_ext
20670 cat >>conftest.$ac_ext <<_ACEOF
20671 /* end confdefs.h. */
20672 $ac_includes_default
20673 typedef short ac__type_new_;
20677 if ((ac__type_new_ *) 0)
20679 if (sizeof (ac__type_new_))
20685 rm -f conftest.$ac_objext
20686 if { (ac_try="$ac_compile"
20687 case "(($ac_try" in
20688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20689 *) ac_try_echo=$ac_try;;
20691 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20692 (eval "$ac_compile") 2>conftest.er1
20694 grep -v '^ *+' conftest.er1 >conftest.err
20696 cat conftest.err >&5
20697 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20698 (exit $ac_status); } && {
20699 test -z "$ac_c_werror_flag" ||
20700 test ! -s conftest.err
20701 } && test -s conftest.$ac_objext; then
20702 ac_cv_type_short=yes
20704 echo "$as_me: failed program was
:" >&5
20705 sed 's/^/| /' conftest.$ac_ext >&5
20707 ac_cv_type_short=no
20710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20712 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
20713 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20715 # The cast to long int works around a bug in the HP C Compiler
20716 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20717 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20718 # This bug is HP SR number 8606223364.
20719 { echo "$as_me:$LINENO: checking size of short
" >&5
20720 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
20721 if test "${ac_cv_sizeof_short+set}" = set; then
20722 echo $ECHO_N "(cached
) $ECHO_C" >&6
20724 if test "$cross_compiling" = yes; then
20725 # Depending upon the size, compute the lo and hi bounds.
20726 cat >conftest.$ac_ext <<_ACEOF
20729 cat confdefs.h >>conftest.$ac_ext
20730 cat >>conftest.$ac_ext <<_ACEOF
20731 /* end confdefs.h. */
20732 $ac_includes_default
20733 typedef short ac__type_sizeof_;
20737 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20744 rm -f conftest.$ac_objext
20745 if { (ac_try="$ac_compile"
20746 case "(($ac_try" in
20747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20748 *) ac_try_echo=$ac_try;;
20750 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20751 (eval "$ac_compile") 2>conftest.er1
20753 grep -v '^ *+' conftest.er1 >conftest.err
20755 cat conftest.err >&5
20756 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20757 (exit $ac_status); } && {
20758 test -z "$ac_c_werror_flag" ||
20759 test ! -s conftest.err
20760 } && test -s conftest.$ac_objext; then
20763 cat >conftest.$ac_ext <<_ACEOF
20766 cat confdefs.h >>conftest.$ac_ext
20767 cat >>conftest.$ac_ext <<_ACEOF
20768 /* end confdefs.h. */
20769 $ac_includes_default
20770 typedef short ac__type_sizeof_;
20774 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20781 rm -f conftest.$ac_objext
20782 if { (ac_try="$ac_compile"
20783 case "(($ac_try" in
20784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20785 *) ac_try_echo=$ac_try;;
20787 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20788 (eval "$ac_compile") 2>conftest.er1
20790 grep -v '^ *+' conftest.er1 >conftest.err
20792 cat conftest.err >&5
20793 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20794 (exit $ac_status); } && {
20795 test -z "$ac_c_werror_flag" ||
20796 test ! -s conftest.err
20797 } && test -s conftest.$ac_objext; then
20798 ac_hi=$ac_mid; break
20800 echo "$as_me: failed program was
:" >&5
20801 sed 's/^/| /' conftest.$ac_ext >&5
20803 ac_lo=`expr $ac_mid + 1`
20804 if test $ac_lo -le $ac_mid; then
20808 ac_mid=`expr 2 '*' $ac_mid + 1`
20811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20814 echo "$as_me: failed program was
:" >&5
20815 sed 's/^/| /' conftest.$ac_ext >&5
20817 cat >conftest.$ac_ext <<_ACEOF
20820 cat confdefs.h >>conftest.$ac_ext
20821 cat >>conftest.$ac_ext <<_ACEOF
20822 /* end confdefs.h. */
20823 $ac_includes_default
20824 typedef short ac__type_sizeof_;
20828 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20835 rm -f conftest.$ac_objext
20836 if { (ac_try="$ac_compile"
20837 case "(($ac_try" in
20838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20839 *) ac_try_echo=$ac_try;;
20841 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20842 (eval "$ac_compile") 2>conftest.er1
20844 grep -v '^ *+' conftest.er1 >conftest.err
20846 cat conftest.err >&5
20847 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20848 (exit $ac_status); } && {
20849 test -z "$ac_c_werror_flag" ||
20850 test ! -s conftest.err
20851 } && test -s conftest.$ac_objext; then
20854 cat >conftest.$ac_ext <<_ACEOF
20857 cat confdefs.h >>conftest.$ac_ext
20858 cat >>conftest.$ac_ext <<_ACEOF
20859 /* end confdefs.h. */
20860 $ac_includes_default
20861 typedef short ac__type_sizeof_;
20865 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20872 rm -f conftest.$ac_objext
20873 if { (ac_try="$ac_compile"
20874 case "(($ac_try" in
20875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20876 *) ac_try_echo=$ac_try;;
20878 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20879 (eval "$ac_compile") 2>conftest.er1
20881 grep -v '^ *+' conftest.er1 >conftest.err
20883 cat conftest.err >&5
20884 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20885 (exit $ac_status); } && {
20886 test -z "$ac_c_werror_flag" ||
20887 test ! -s conftest.err
20888 } && test -s conftest.$ac_objext; then
20889 ac_lo=$ac_mid; break
20891 echo "$as_me: failed program was
:" >&5
20892 sed 's/^/| /' conftest.$ac_ext >&5
20894 ac_hi=`expr '(' $ac_mid ')' - 1`
20895 if test $ac_mid -le $ac_hi; then
20899 ac_mid=`expr 2 '*' $ac_mid`
20902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20905 echo "$as_me: failed program was
:" >&5
20906 sed 's/^/| /' conftest.$ac_ext >&5
20911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20915 # Binary search between lo and hi bounds.
20916 while test "x
$ac_lo" != "x
$ac_hi"; do
20917 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20918 cat >conftest.$ac_ext <<_ACEOF
20921 cat confdefs.h >>conftest.$ac_ext
20922 cat >>conftest.$ac_ext <<_ACEOF
20923 /* end confdefs.h. */
20924 $ac_includes_default
20925 typedef short ac__type_sizeof_;
20929 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20936 rm -f conftest.$ac_objext
20937 if { (ac_try="$ac_compile"
20938 case "(($ac_try" in
20939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20940 *) ac_try_echo=$ac_try;;
20942 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20943 (eval "$ac_compile") 2>conftest.er1
20945 grep -v '^ *+' conftest.er1 >conftest.err
20947 cat conftest.err >&5
20948 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20949 (exit $ac_status); } && {
20950 test -z "$ac_c_werror_flag" ||
20951 test ! -s conftest.err
20952 } && test -s conftest.$ac_objext; then
20955 echo "$as_me: failed program was
:" >&5
20956 sed 's/^/| /' conftest.$ac_ext >&5
20958 ac_lo=`expr '(' $ac_mid ')' + 1`
20961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20964 ?*) ac_cv_sizeof_short=$ac_lo;;
20965 '') if test "$ac_cv_type_short" = yes; then
20966 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
20967 See \
`config.log' for more details." >&5
20968 echo "$as_me: error: cannot compute sizeof (short)
20969 See \`config.log
' for more details." >&2;}
20970 { (exit 77); exit 77; }; }
20972 ac_cv_sizeof_short=0
20976 cat >conftest.$ac_ext <<_ACEOF
20979 cat confdefs.h >>conftest.$ac_ext
20980 cat >>conftest.$ac_ext <<_ACEOF
20981 /* end confdefs.h. */
20982 $ac_includes_default
20983 typedef short ac__type_sizeof_;
20984 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20985 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20987 #include <stdlib.h>
20992 FILE *f = fopen ("conftest.val", "w");
20995 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20997 long int i = longval ();
20998 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21000 fprintf (f, "%ld\n", i);
21004 unsigned long int i = ulongval ();
21005 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21007 fprintf (f, "%lu\n", i);
21009 return ferror (f) || fclose (f) != 0;
21015 rm -f conftest$ac_exeext
21016 if { (ac_try="$ac_link"
21017 case "(($ac_try" in
21018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21019 *) ac_try_echo=$ac_try;;
21021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21022 (eval "$ac_link") 2>&5
21024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21025 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
21026 { (case "(($ac_try" in
21027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21028 *) ac_try_echo=$ac_try;;
21030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21031 (eval "$ac_try") 2>&5
21033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21034 (exit $ac_status); }; }; then
21035 ac_cv_sizeof_short=`cat conftest.val`
21037 echo "$as_me: program exited with status $ac_status" >&5
21038 echo "$as_me: failed program was:" >&5
21039 sed 's
/^
/| /' conftest.$ac_ext >&5
21041 ( exit $ac_status )
21042 if test "$ac_cv_type_short" = yes; then
21043 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21044 See \`config.log' for more details.
" >&5
21045 echo "$as_me: error
: cannot compute sizeof
(short
)
21046 See \
`config.log' for more details." >&2;}
21047 { (exit 77); exit 77; }; }
21049 ac_cv_sizeof_short=0
21052 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21056 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
21057 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
21061 cat >>confdefs.h <<_ACEOF
21062 #define SIZEOF_SHORT $ac_cv_sizeof_short
21066 { echo "$as_me:$LINENO: checking for void *" >&5
21067 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
21068 if test "${ac_cv_type_void_p+set}" = set; then
21069 echo $ECHO_N "(cached) $ECHO_C" >&6
21071 cat >conftest.$ac_ext <<_ACEOF
21074 cat confdefs.h >>conftest.$ac_ext
21075 cat >>conftest.$ac_ext <<_ACEOF
21076 /* end confdefs.h. */
21077 $ac_includes_default
21078 typedef void * ac__type_new_;
21082 if ((ac__type_new_ *) 0)
21084 if (sizeof (ac__type_new_))
21090 rm -f conftest.$ac_objext
21091 if { (ac_try="$ac_compile"
21092 case "(($ac_try" in
21093 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21094 *) ac_try_echo
=$ac_try;;
21096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21097 (eval "$ac_compile") 2>conftest.er1
21099 grep -v '^ *+' conftest.er1
>conftest.err
21101 cat conftest.err
>&5
21102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21103 (exit $ac_status); } && {
21104 test -z "$ac_c_werror_flag" ||
21105 test ! -s conftest.err
21106 } && test -s conftest.
$ac_objext; then
21107 ac_cv_type_void_p
=yes
21109 echo "$as_me: failed program was:" >&5
21110 sed 's/^/| /' conftest.
$ac_ext >&5
21112 ac_cv_type_void_p
=no
21115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21117 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21118 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
21120 # The cast to long int works around a bug in the HP C Compiler
21121 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21122 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21123 # This bug is HP SR number 8606223364.
21124 { echo "$as_me:$LINENO: checking size of void *" >&5
21125 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
21126 if test "${ac_cv_sizeof_void_p+set}" = set; then
21127 echo $ECHO_N "(cached) $ECHO_C" >&6
21129 if test "$cross_compiling" = yes; then
21130 # Depending upon the size, compute the lo and hi bounds.
21131 cat >conftest.
$ac_ext <<_ACEOF
21134 cat confdefs.h
>>conftest.
$ac_ext
21135 cat >>conftest.
$ac_ext <<_ACEOF
21136 /* end confdefs.h. */
21137 $ac_includes_default
21138 typedef void * ac__type_sizeof_;
21142 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21149 rm -f conftest.
$ac_objext
21150 if { (ac_try
="$ac_compile"
21151 case "(($ac_try" in
21152 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21153 *) ac_try_echo=$ac_try;;
21155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21156 (eval "$ac_compile") 2>conftest.er1
21158 grep -v '^ *+' conftest.er1 >conftest.err
21160 cat conftest.err >&5
21161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21162 (exit $ac_status); } && {
21163 test -z "$ac_c_werror_flag" ||
21164 test ! -s conftest.err
21165 } && test -s conftest.$ac_objext; then
21168 cat >conftest.$ac_ext <<_ACEOF
21171 cat confdefs.h >>conftest.$ac_ext
21172 cat >>conftest.$ac_ext <<_ACEOF
21173 /* end confdefs.h. */
21174 $ac_includes_default
21175 typedef void * ac__type_sizeof_;
21179 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21186 rm -f conftest.$ac_objext
21187 if { (ac_try="$ac_compile"
21188 case "(($ac_try" in
21189 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21190 *) ac_try_echo
=$ac_try;;
21192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21193 (eval "$ac_compile") 2>conftest.er1
21195 grep -v '^ *+' conftest.er1
>conftest.err
21197 cat conftest.err
>&5
21198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21199 (exit $ac_status); } && {
21200 test -z "$ac_c_werror_flag" ||
21201 test ! -s conftest.err
21202 } && test -s conftest.
$ac_objext; then
21203 ac_hi
=$ac_mid; break
21205 echo "$as_me: failed program was:" >&5
21206 sed 's/^/| /' conftest.
$ac_ext >&5
21208 ac_lo
=`expr $ac_mid + 1`
21209 if test $ac_lo -le $ac_mid; then
21213 ac_mid
=`expr 2 '*' $ac_mid + 1`
21216 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21219 echo "$as_me: failed program was:" >&5
21220 sed 's/^/| /' conftest.
$ac_ext >&5
21222 cat >conftest.
$ac_ext <<_ACEOF
21225 cat confdefs.h
>>conftest.
$ac_ext
21226 cat >>conftest.
$ac_ext <<_ACEOF
21227 /* end confdefs.h. */
21228 $ac_includes_default
21229 typedef void * ac__type_sizeof_;
21233 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21240 rm -f conftest.
$ac_objext
21241 if { (ac_try
="$ac_compile"
21242 case "(($ac_try" in
21243 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21244 *) ac_try_echo=$ac_try;;
21246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21247 (eval "$ac_compile") 2>conftest.er1
21249 grep -v '^ *+' conftest.er1 >conftest.err
21251 cat conftest.err >&5
21252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21253 (exit $ac_status); } && {
21254 test -z "$ac_c_werror_flag" ||
21255 test ! -s conftest.err
21256 } && test -s conftest.$ac_objext; then
21259 cat >conftest.$ac_ext <<_ACEOF
21262 cat confdefs.h >>conftest.$ac_ext
21263 cat >>conftest.$ac_ext <<_ACEOF
21264 /* end confdefs.h. */
21265 $ac_includes_default
21266 typedef void * ac__type_sizeof_;
21270 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21277 rm -f conftest.$ac_objext
21278 if { (ac_try="$ac_compile"
21279 case "(($ac_try" in
21280 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21281 *) ac_try_echo
=$ac_try;;
21283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21284 (eval "$ac_compile") 2>conftest.er1
21286 grep -v '^ *+' conftest.er1
>conftest.err
21288 cat conftest.err
>&5
21289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290 (exit $ac_status); } && {
21291 test -z "$ac_c_werror_flag" ||
21292 test ! -s conftest.err
21293 } && test -s conftest.
$ac_objext; then
21294 ac_lo
=$ac_mid; break
21296 echo "$as_me: failed program was:" >&5
21297 sed 's/^/| /' conftest.
$ac_ext >&5
21299 ac_hi
=`expr '(' $ac_mid ')' - 1`
21300 if test $ac_mid -le $ac_hi; then
21304 ac_mid
=`expr 2 '*' $ac_mid`
21307 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21310 echo "$as_me: failed program was:" >&5
21311 sed 's/^/| /' conftest.
$ac_ext >&5
21316 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21319 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21320 # Binary search between lo and hi bounds.
21321 while test "x$ac_lo" != "x$ac_hi"; do
21322 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21323 cat >conftest.
$ac_ext <<_ACEOF
21326 cat confdefs.h
>>conftest.
$ac_ext
21327 cat >>conftest.
$ac_ext <<_ACEOF
21328 /* end confdefs.h. */
21329 $ac_includes_default
21330 typedef void * ac__type_sizeof_;
21334 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21341 rm -f conftest.
$ac_objext
21342 if { (ac_try
="$ac_compile"
21343 case "(($ac_try" in
21344 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21345 *) ac_try_echo=$ac_try;;
21347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21348 (eval "$ac_compile") 2>conftest.er1
21350 grep -v '^ *+' conftest.er1 >conftest.err
21352 cat conftest.err >&5
21353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21354 (exit $ac_status); } && {
21355 test -z "$ac_c_werror_flag" ||
21356 test ! -s conftest.err
21357 } && test -s conftest.$ac_objext; then
21360 echo "$as_me: failed program was:" >&5
21361 sed 's/^/| /' conftest.$ac_ext >&5
21363 ac_lo=`expr '(' $ac_mid ')' + 1`
21366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21369 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21370 '') if test "$ac_cv_type_void_p" = yes; then
21371 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21372 See \`config.log
' for more details." >&5
21373 echo "$as_me: error: cannot compute sizeof (void *)
21374 See \`config.log' for more details.
" >&2;}
21375 { (exit 77); exit 77; }; }
21377 ac_cv_sizeof_void_p=0
21381 cat >conftest.$ac_ext <<_ACEOF
21384 cat confdefs.h >>conftest.$ac_ext
21385 cat >>conftest.$ac_ext <<_ACEOF
21386 /* end confdefs.h. */
21387 $ac_includes_default
21388 typedef void * ac__type_sizeof_;
21389 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21390 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21392 #include <stdlib.h>
21397 FILE *f = fopen ("conftest.val
", "w
");
21400 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21402 long int i = longval ();
21403 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21405 fprintf (f, "%ld
\n", i);
21409 unsigned long int i = ulongval ();
21410 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21412 fprintf (f, "%lu
\n", i);
21414 return ferror (f) || fclose (f) != 0;
21420 rm -f conftest$ac_exeext
21421 if { (ac_try="$ac_link"
21422 case "(($ac_try" in
21423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21424 *) ac_try_echo=$ac_try;;
21426 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21427 (eval "$ac_link") 2>&5
21429 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21430 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21431 { (case "(($ac_try" in
21432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21433 *) ac_try_echo=$ac_try;;
21435 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21436 (eval "$ac_try") 2>&5
21438 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21439 (exit $ac_status); }; }; then
21440 ac_cv_sizeof_void_p=`cat conftest.val`
21442 echo "$as_me: program exited with status
$ac_status" >&5
21443 echo "$as_me: failed program was
:" >&5
21444 sed 's/^/| /' conftest.$ac_ext >&5
21446 ( exit $ac_status )
21447 if test "$ac_cv_type_void_p" = yes; then
21448 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
21449 See \
`config.log' for more details." >&5
21450 echo "$as_me: error: cannot compute sizeof (void *)
21451 See \`config.log
' for more details." >&2;}
21452 { (exit 77); exit 77; }; }
21454 ac_cv_sizeof_void_p=0
21457 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21461 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21462 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21466 cat >>confdefs.h <<_ACEOF
21467 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21471 { echo "$as_me:$LINENO: checking for int" >&5
21472 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21473 if test "${ac_cv_type_int+set}" = set; then
21474 echo $ECHO_N "(cached) $ECHO_C" >&6
21476 cat >conftest.$ac_ext <<_ACEOF
21479 cat confdefs.h >>conftest.$ac_ext
21480 cat >>conftest.$ac_ext <<_ACEOF
21481 /* end confdefs.h. */
21482 $ac_includes_default
21483 typedef int ac__type_new_;
21487 if ((ac__type_new_ *) 0)
21489 if (sizeof (ac__type_new_))
21495 rm -f conftest.$ac_objext
21496 if { (ac_try="$ac_compile"
21497 case "(($ac_try" in
21498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21499 *) ac_try_echo=$ac_try;;
21501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21502 (eval "$ac_compile") 2>conftest.er1
21504 grep -v '^
*+' conftest.er1 >conftest.err
21506 cat conftest.err >&5
21507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21508 (exit $ac_status); } && {
21509 test -z "$ac_c_werror_flag" ||
21510 test ! -s conftest.err
21511 } && test -s conftest.$ac_objext; then
21514 echo "$as_me: failed program was:" >&5
21515 sed 's
/^
/| /' conftest.$ac_ext >&5
21520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21522 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21523 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21525 # The cast to long int works around a bug in the HP C Compiler
21526 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21527 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21528 # This bug is HP SR number 8606223364.
21529 { echo "$as_me:$LINENO: checking size of int" >&5
21530 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21531 if test "${ac_cv_sizeof_int+set}" = set; then
21532 echo $ECHO_N "(cached) $ECHO_C" >&6
21534 if test "$cross_compiling" = yes; then
21535 # Depending upon the size, compute the lo and hi bounds.
21536 cat >conftest.
$ac_ext <<_ACEOF
21539 cat confdefs.h
>>conftest.
$ac_ext
21540 cat >>conftest.
$ac_ext <<_ACEOF
21541 /* end confdefs.h. */
21542 $ac_includes_default
21543 typedef int ac__type_sizeof_;
21547 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21554 rm -f conftest.
$ac_objext
21555 if { (ac_try
="$ac_compile"
21556 case "(($ac_try" in
21557 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21558 *) ac_try_echo=$ac_try;;
21560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21561 (eval "$ac_compile") 2>conftest.er1
21563 grep -v '^ *+' conftest.er1 >conftest.err
21565 cat conftest.err >&5
21566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21567 (exit $ac_status); } && {
21568 test -z "$ac_c_werror_flag" ||
21569 test ! -s conftest.err
21570 } && test -s conftest.$ac_objext; then
21573 cat >conftest.$ac_ext <<_ACEOF
21576 cat confdefs.h >>conftest.$ac_ext
21577 cat >>conftest.$ac_ext <<_ACEOF
21578 /* end confdefs.h. */
21579 $ac_includes_default
21580 typedef int ac__type_sizeof_;
21584 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21591 rm -f conftest.$ac_objext
21592 if { (ac_try="$ac_compile"
21593 case "(($ac_try" in
21594 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21595 *) ac_try_echo
=$ac_try;;
21597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21598 (eval "$ac_compile") 2>conftest.er1
21600 grep -v '^ *+' conftest.er1
>conftest.err
21602 cat conftest.err
>&5
21603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604 (exit $ac_status); } && {
21605 test -z "$ac_c_werror_flag" ||
21606 test ! -s conftest.err
21607 } && test -s conftest.
$ac_objext; then
21608 ac_hi
=$ac_mid; break
21610 echo "$as_me: failed program was:" >&5
21611 sed 's/^/| /' conftest.
$ac_ext >&5
21613 ac_lo
=`expr $ac_mid + 1`
21614 if test $ac_lo -le $ac_mid; then
21618 ac_mid
=`expr 2 '*' $ac_mid + 1`
21621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21624 echo "$as_me: failed program was:" >&5
21625 sed 's/^/| /' conftest.
$ac_ext >&5
21627 cat >conftest.
$ac_ext <<_ACEOF
21630 cat confdefs.h
>>conftest.
$ac_ext
21631 cat >>conftest.
$ac_ext <<_ACEOF
21632 /* end confdefs.h. */
21633 $ac_includes_default
21634 typedef int ac__type_sizeof_;
21638 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21645 rm -f conftest.
$ac_objext
21646 if { (ac_try
="$ac_compile"
21647 case "(($ac_try" in
21648 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21649 *) ac_try_echo=$ac_try;;
21651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21652 (eval "$ac_compile") 2>conftest.er1
21654 grep -v '^ *+' conftest.er1 >conftest.err
21656 cat conftest.err >&5
21657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21658 (exit $ac_status); } && {
21659 test -z "$ac_c_werror_flag" ||
21660 test ! -s conftest.err
21661 } && test -s conftest.$ac_objext; then
21664 cat >conftest.$ac_ext <<_ACEOF
21667 cat confdefs.h >>conftest.$ac_ext
21668 cat >>conftest.$ac_ext <<_ACEOF
21669 /* end confdefs.h. */
21670 $ac_includes_default
21671 typedef int ac__type_sizeof_;
21675 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21682 rm -f conftest.$ac_objext
21683 if { (ac_try="$ac_compile"
21684 case "(($ac_try" in
21685 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21686 *) ac_try_echo
=$ac_try;;
21688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21689 (eval "$ac_compile") 2>conftest.er1
21691 grep -v '^ *+' conftest.er1
>conftest.err
21693 cat conftest.err
>&5
21694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21695 (exit $ac_status); } && {
21696 test -z "$ac_c_werror_flag" ||
21697 test ! -s conftest.err
21698 } && test -s conftest.
$ac_objext; then
21699 ac_lo
=$ac_mid; break
21701 echo "$as_me: failed program was:" >&5
21702 sed 's/^/| /' conftest.
$ac_ext >&5
21704 ac_hi
=`expr '(' $ac_mid ')' - 1`
21705 if test $ac_mid -le $ac_hi; then
21709 ac_mid
=`expr 2 '*' $ac_mid`
21712 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21715 echo "$as_me: failed program was:" >&5
21716 sed 's/^/| /' conftest.
$ac_ext >&5
21721 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21724 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21725 # Binary search between lo and hi bounds.
21726 while test "x$ac_lo" != "x$ac_hi"; do
21727 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21728 cat >conftest.
$ac_ext <<_ACEOF
21731 cat confdefs.h
>>conftest.
$ac_ext
21732 cat >>conftest.
$ac_ext <<_ACEOF
21733 /* end confdefs.h. */
21734 $ac_includes_default
21735 typedef int ac__type_sizeof_;
21739 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21746 rm -f conftest.
$ac_objext
21747 if { (ac_try
="$ac_compile"
21748 case "(($ac_try" in
21749 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21750 *) ac_try_echo=$ac_try;;
21752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21753 (eval "$ac_compile") 2>conftest.er1
21755 grep -v '^ *+' conftest.er1 >conftest.err
21757 cat conftest.err >&5
21758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21759 (exit $ac_status); } && {
21760 test -z "$ac_c_werror_flag" ||
21761 test ! -s conftest.err
21762 } && test -s conftest.$ac_objext; then
21765 echo "$as_me: failed program was:" >&5
21766 sed 's/^/| /' conftest.$ac_ext >&5
21768 ac_lo=`expr '(' $ac_mid ')' + 1`
21771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21774 ?*) ac_cv_sizeof_int=$ac_lo;;
21775 '') if test "$ac_cv_type_int" = yes; then
21776 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21777 See \`config.log
' for more details." >&5
21778 echo "$as_me: error: cannot compute sizeof (int)
21779 See \`config.log' for more details.
" >&2;}
21780 { (exit 77); exit 77; }; }
21786 cat >conftest.$ac_ext <<_ACEOF
21789 cat confdefs.h >>conftest.$ac_ext
21790 cat >>conftest.$ac_ext <<_ACEOF
21791 /* end confdefs.h. */
21792 $ac_includes_default
21793 typedef int ac__type_sizeof_;
21794 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21795 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21797 #include <stdlib.h>
21802 FILE *f = fopen ("conftest.val
", "w
");
21805 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21807 long int i = longval ();
21808 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21810 fprintf (f, "%ld
\n", i);
21814 unsigned long int i = ulongval ();
21815 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21817 fprintf (f, "%lu
\n", i);
21819 return ferror (f) || fclose (f) != 0;
21825 rm -f conftest$ac_exeext
21826 if { (ac_try="$ac_link"
21827 case "(($ac_try" in
21828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21829 *) ac_try_echo=$ac_try;;
21831 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21832 (eval "$ac_link") 2>&5
21834 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21835 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21836 { (case "(($ac_try" in
21837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21838 *) ac_try_echo=$ac_try;;
21840 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21841 (eval "$ac_try") 2>&5
21843 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21844 (exit $ac_status); }; }; then
21845 ac_cv_sizeof_int=`cat conftest.val`
21847 echo "$as_me: program exited with status
$ac_status" >&5
21848 echo "$as_me: failed program was
:" >&5
21849 sed 's/^/| /' conftest.$ac_ext >&5
21851 ( exit $ac_status )
21852 if test "$ac_cv_type_int" = yes; then
21853 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
21854 See \
`config.log' for more details." >&5
21855 echo "$as_me: error: cannot compute sizeof (int)
21856 See \`config.log
' for more details." >&2;}
21857 { (exit 77); exit 77; }; }
21862 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21866 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21867 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21871 cat >>confdefs.h <<_ACEOF
21872 #define SIZEOF_INT $ac_cv_sizeof_int
21876 { echo "$as_me:$LINENO: checking for long" >&5
21877 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21878 if test "${ac_cv_type_long+set}" = set; then
21879 echo $ECHO_N "(cached) $ECHO_C" >&6
21881 cat >conftest.$ac_ext <<_ACEOF
21884 cat confdefs.h >>conftest.$ac_ext
21885 cat >>conftest.$ac_ext <<_ACEOF
21886 /* end confdefs.h. */
21887 $ac_includes_default
21888 typedef long ac__type_new_;
21892 if ((ac__type_new_ *) 0)
21894 if (sizeof (ac__type_new_))
21900 rm -f conftest.$ac_objext
21901 if { (ac_try="$ac_compile"
21902 case "(($ac_try" in
21903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21904 *) ac_try_echo=$ac_try;;
21906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21907 (eval "$ac_compile") 2>conftest.er1
21909 grep -v '^
*+' conftest.er1 >conftest.err
21911 cat conftest.err >&5
21912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21913 (exit $ac_status); } && {
21914 test -z "$ac_c_werror_flag" ||
21915 test ! -s conftest.err
21916 } && test -s conftest.$ac_objext; then
21917 ac_cv_type_long=yes
21919 echo "$as_me: failed program was:" >&5
21920 sed 's
/^
/| /' conftest.$ac_ext >&5
21925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21927 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21928 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21930 # The cast to long int works around a bug in the HP C Compiler
21931 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21932 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21933 # This bug is HP SR number 8606223364.
21934 { echo "$as_me:$LINENO: checking size of long" >&5
21935 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21936 if test "${ac_cv_sizeof_long+set}" = set; then
21937 echo $ECHO_N "(cached) $ECHO_C" >&6
21939 if test "$cross_compiling" = yes; then
21940 # Depending upon the size, compute the lo and hi bounds.
21941 cat >conftest.
$ac_ext <<_ACEOF
21944 cat confdefs.h
>>conftest.
$ac_ext
21945 cat >>conftest.
$ac_ext <<_ACEOF
21946 /* end confdefs.h. */
21947 $ac_includes_default
21948 typedef long ac__type_sizeof_;
21952 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21959 rm -f conftest.
$ac_objext
21960 if { (ac_try
="$ac_compile"
21961 case "(($ac_try" in
21962 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21963 *) ac_try_echo=$ac_try;;
21965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21966 (eval "$ac_compile") 2>conftest.er1
21968 grep -v '^ *+' conftest.er1 >conftest.err
21970 cat conftest.err >&5
21971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21972 (exit $ac_status); } && {
21973 test -z "$ac_c_werror_flag" ||
21974 test ! -s conftest.err
21975 } && test -s conftest.$ac_objext; then
21978 cat >conftest.$ac_ext <<_ACEOF
21981 cat confdefs.h >>conftest.$ac_ext
21982 cat >>conftest.$ac_ext <<_ACEOF
21983 /* end confdefs.h. */
21984 $ac_includes_default
21985 typedef long ac__type_sizeof_;
21989 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21996 rm -f conftest.$ac_objext
21997 if { (ac_try="$ac_compile"
21998 case "(($ac_try" in
21999 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22000 *) ac_try_echo
=$ac_try;;
22002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22003 (eval "$ac_compile") 2>conftest.er1
22005 grep -v '^ *+' conftest.er1
>conftest.err
22007 cat conftest.err
>&5
22008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22009 (exit $ac_status); } && {
22010 test -z "$ac_c_werror_flag" ||
22011 test ! -s conftest.err
22012 } && test -s conftest.
$ac_objext; then
22013 ac_hi
=$ac_mid; break
22015 echo "$as_me: failed program was:" >&5
22016 sed 's/^/| /' conftest.
$ac_ext >&5
22018 ac_lo
=`expr $ac_mid + 1`
22019 if test $ac_lo -le $ac_mid; then
22023 ac_mid
=`expr 2 '*' $ac_mid + 1`
22026 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22029 echo "$as_me: failed program was:" >&5
22030 sed 's/^/| /' conftest.
$ac_ext >&5
22032 cat >conftest.
$ac_ext <<_ACEOF
22035 cat confdefs.h
>>conftest.
$ac_ext
22036 cat >>conftest.
$ac_ext <<_ACEOF
22037 /* end confdefs.h. */
22038 $ac_includes_default
22039 typedef long ac__type_sizeof_;
22043 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22050 rm -f conftest.
$ac_objext
22051 if { (ac_try
="$ac_compile"
22052 case "(($ac_try" in
22053 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22054 *) ac_try_echo=$ac_try;;
22056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22057 (eval "$ac_compile") 2>conftest.er1
22059 grep -v '^ *+' conftest.er1 >conftest.err
22061 cat conftest.err >&5
22062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22063 (exit $ac_status); } && {
22064 test -z "$ac_c_werror_flag" ||
22065 test ! -s conftest.err
22066 } && test -s conftest.$ac_objext; then
22069 cat >conftest.$ac_ext <<_ACEOF
22072 cat confdefs.h >>conftest.$ac_ext
22073 cat >>conftest.$ac_ext <<_ACEOF
22074 /* end confdefs.h. */
22075 $ac_includes_default
22076 typedef long ac__type_sizeof_;
22080 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22087 rm -f conftest.$ac_objext
22088 if { (ac_try="$ac_compile"
22089 case "(($ac_try" in
22090 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22091 *) ac_try_echo
=$ac_try;;
22093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22094 (eval "$ac_compile") 2>conftest.er1
22096 grep -v '^ *+' conftest.er1
>conftest.err
22098 cat conftest.err
>&5
22099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22100 (exit $ac_status); } && {
22101 test -z "$ac_c_werror_flag" ||
22102 test ! -s conftest.err
22103 } && test -s conftest.
$ac_objext; then
22104 ac_lo
=$ac_mid; break
22106 echo "$as_me: failed program was:" >&5
22107 sed 's/^/| /' conftest.
$ac_ext >&5
22109 ac_hi
=`expr '(' $ac_mid ')' - 1`
22110 if test $ac_mid -le $ac_hi; then
22114 ac_mid
=`expr 2 '*' $ac_mid`
22117 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22120 echo "$as_me: failed program was:" >&5
22121 sed 's/^/| /' conftest.
$ac_ext >&5
22126 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22129 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22130 # Binary search between lo and hi bounds.
22131 while test "x$ac_lo" != "x$ac_hi"; do
22132 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22133 cat >conftest.
$ac_ext <<_ACEOF
22136 cat confdefs.h
>>conftest.
$ac_ext
22137 cat >>conftest.
$ac_ext <<_ACEOF
22138 /* end confdefs.h. */
22139 $ac_includes_default
22140 typedef long ac__type_sizeof_;
22144 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22151 rm -f conftest.
$ac_objext
22152 if { (ac_try
="$ac_compile"
22153 case "(($ac_try" in
22154 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22155 *) ac_try_echo=$ac_try;;
22157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22158 (eval "$ac_compile") 2>conftest.er1
22160 grep -v '^ *+' conftest.er1 >conftest.err
22162 cat conftest.err >&5
22163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22164 (exit $ac_status); } && {
22165 test -z "$ac_c_werror_flag" ||
22166 test ! -s conftest.err
22167 } && test -s conftest.$ac_objext; then
22170 echo "$as_me: failed program was:" >&5
22171 sed 's/^/| /' conftest.$ac_ext >&5
22173 ac_lo=`expr '(' $ac_mid ')' + 1`
22176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22179 ?*) ac_cv_sizeof_long=$ac_lo;;
22180 '') if test "$ac_cv_type_long" = yes; then
22181 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22182 See \`config.log
' for more details." >&5
22183 echo "$as_me: error: cannot compute sizeof (long)
22184 See \`config.log' for more details.
" >&2;}
22185 { (exit 77); exit 77; }; }
22187 ac_cv_sizeof_long=0
22191 cat >conftest.$ac_ext <<_ACEOF
22194 cat confdefs.h >>conftest.$ac_ext
22195 cat >>conftest.$ac_ext <<_ACEOF
22196 /* end confdefs.h. */
22197 $ac_includes_default
22198 typedef long ac__type_sizeof_;
22199 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22200 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22202 #include <stdlib.h>
22207 FILE *f = fopen ("conftest.val
", "w
");
22210 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22212 long int i = longval ();
22213 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22215 fprintf (f, "%ld
\n", i);
22219 unsigned long int i = ulongval ();
22220 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22222 fprintf (f, "%lu
\n", i);
22224 return ferror (f) || fclose (f) != 0;
22230 rm -f conftest$ac_exeext
22231 if { (ac_try="$ac_link"
22232 case "(($ac_try" in
22233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22234 *) ac_try_echo=$ac_try;;
22236 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22237 (eval "$ac_link") 2>&5
22239 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22240 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22241 { (case "(($ac_try" in
22242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22243 *) ac_try_echo=$ac_try;;
22245 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22246 (eval "$ac_try") 2>&5
22248 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22249 (exit $ac_status); }; }; then
22250 ac_cv_sizeof_long=`cat conftest.val`
22252 echo "$as_me: program exited with status
$ac_status" >&5
22253 echo "$as_me: failed program was
:" >&5
22254 sed 's/^/| /' conftest.$ac_ext >&5
22256 ( exit $ac_status )
22257 if test "$ac_cv_type_long" = yes; then
22258 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
22259 See \
`config.log' for more details." >&5
22260 echo "$as_me: error: cannot compute sizeof (long)
22261 See \`config.log
' for more details." >&2;}
22262 { (exit 77); exit 77; }; }
22264 ac_cv_sizeof_long=0
22267 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22271 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22272 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22276 cat >>confdefs.h <<_ACEOF
22277 #define SIZEOF_LONG $ac_cv_sizeof_long
22281 { echo "$as_me:$LINENO: checking for size_t" >&5
22282 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22283 if test "${ac_cv_type_size_t+set}" = set; then
22284 echo $ECHO_N "(cached) $ECHO_C" >&6
22286 cat >conftest.$ac_ext <<_ACEOF
22289 cat confdefs.h >>conftest.$ac_ext
22290 cat >>conftest.$ac_ext <<_ACEOF
22291 /* end confdefs.h. */
22292 $ac_includes_default
22293 typedef size_t ac__type_new_;
22297 if ((ac__type_new_ *) 0)
22299 if (sizeof (ac__type_new_))
22305 rm -f conftest.$ac_objext
22306 if { (ac_try="$ac_compile"
22307 case "(($ac_try" in
22308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22309 *) ac_try_echo=$ac_try;;
22311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22312 (eval "$ac_compile") 2>conftest.er1
22314 grep -v '^
*+' conftest.er1 >conftest.err
22316 cat conftest.err >&5
22317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22318 (exit $ac_status); } && {
22319 test -z "$ac_c_werror_flag" ||
22320 test ! -s conftest.err
22321 } && test -s conftest.$ac_objext; then
22322 ac_cv_type_size_t=yes
22324 echo "$as_me: failed program was:" >&5
22325 sed 's
/^
/| /' conftest.$ac_ext >&5
22327 ac_cv_type_size_t=no
22330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22332 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22333 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22335 # The cast to long int works around a bug in the HP C Compiler
22336 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22337 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22338 # This bug is HP SR number 8606223364.
22339 { echo "$as_me:$LINENO: checking size of size_t" >&5
22340 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22341 if test "${ac_cv_sizeof_size_t+set}" = set; then
22342 echo $ECHO_N "(cached) $ECHO_C" >&6
22344 if test "$cross_compiling" = yes; then
22345 # Depending upon the size, compute the lo and hi bounds.
22346 cat >conftest.
$ac_ext <<_ACEOF
22349 cat confdefs.h
>>conftest.
$ac_ext
22350 cat >>conftest.
$ac_ext <<_ACEOF
22351 /* end confdefs.h. */
22352 $ac_includes_default
22353 typedef size_t ac__type_sizeof_;
22357 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22364 rm -f conftest.
$ac_objext
22365 if { (ac_try
="$ac_compile"
22366 case "(($ac_try" in
22367 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22368 *) ac_try_echo=$ac_try;;
22370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22371 (eval "$ac_compile") 2>conftest.er1
22373 grep -v '^ *+' conftest.er1 >conftest.err
22375 cat conftest.err >&5
22376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22377 (exit $ac_status); } && {
22378 test -z "$ac_c_werror_flag" ||
22379 test ! -s conftest.err
22380 } && test -s conftest.$ac_objext; then
22383 cat >conftest.$ac_ext <<_ACEOF
22386 cat confdefs.h >>conftest.$ac_ext
22387 cat >>conftest.$ac_ext <<_ACEOF
22388 /* end confdefs.h. */
22389 $ac_includes_default
22390 typedef size_t ac__type_sizeof_;
22394 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22401 rm -f conftest.$ac_objext
22402 if { (ac_try="$ac_compile"
22403 case "(($ac_try" in
22404 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22405 *) ac_try_echo
=$ac_try;;
22407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22408 (eval "$ac_compile") 2>conftest.er1
22410 grep -v '^ *+' conftest.er1
>conftest.err
22412 cat conftest.err
>&5
22413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22414 (exit $ac_status); } && {
22415 test -z "$ac_c_werror_flag" ||
22416 test ! -s conftest.err
22417 } && test -s conftest.
$ac_objext; then
22418 ac_hi
=$ac_mid; break
22420 echo "$as_me: failed program was:" >&5
22421 sed 's/^/| /' conftest.
$ac_ext >&5
22423 ac_lo
=`expr $ac_mid + 1`
22424 if test $ac_lo -le $ac_mid; then
22428 ac_mid
=`expr 2 '*' $ac_mid + 1`
22431 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22434 echo "$as_me: failed program was:" >&5
22435 sed 's/^/| /' conftest.
$ac_ext >&5
22437 cat >conftest.
$ac_ext <<_ACEOF
22440 cat confdefs.h
>>conftest.
$ac_ext
22441 cat >>conftest.
$ac_ext <<_ACEOF
22442 /* end confdefs.h. */
22443 $ac_includes_default
22444 typedef size_t ac__type_sizeof_;
22448 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22455 rm -f conftest.
$ac_objext
22456 if { (ac_try
="$ac_compile"
22457 case "(($ac_try" in
22458 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22459 *) ac_try_echo=$ac_try;;
22461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22462 (eval "$ac_compile") 2>conftest.er1
22464 grep -v '^ *+' conftest.er1 >conftest.err
22466 cat conftest.err >&5
22467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22468 (exit $ac_status); } && {
22469 test -z "$ac_c_werror_flag" ||
22470 test ! -s conftest.err
22471 } && test -s conftest.$ac_objext; then
22474 cat >conftest.$ac_ext <<_ACEOF
22477 cat confdefs.h >>conftest.$ac_ext
22478 cat >>conftest.$ac_ext <<_ACEOF
22479 /* end confdefs.h. */
22480 $ac_includes_default
22481 typedef size_t ac__type_sizeof_;
22485 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22492 rm -f conftest.$ac_objext
22493 if { (ac_try="$ac_compile"
22494 case "(($ac_try" in
22495 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22496 *) ac_try_echo
=$ac_try;;
22498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22499 (eval "$ac_compile") 2>conftest.er1
22501 grep -v '^ *+' conftest.er1
>conftest.err
22503 cat conftest.err
>&5
22504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22505 (exit $ac_status); } && {
22506 test -z "$ac_c_werror_flag" ||
22507 test ! -s conftest.err
22508 } && test -s conftest.
$ac_objext; then
22509 ac_lo
=$ac_mid; break
22511 echo "$as_me: failed program was:" >&5
22512 sed 's/^/| /' conftest.
$ac_ext >&5
22514 ac_hi
=`expr '(' $ac_mid ')' - 1`
22515 if test $ac_mid -le $ac_hi; then
22519 ac_mid
=`expr 2 '*' $ac_mid`
22522 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22525 echo "$as_me: failed program was:" >&5
22526 sed 's/^/| /' conftest.
$ac_ext >&5
22531 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22534 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22535 # Binary search between lo and hi bounds.
22536 while test "x$ac_lo" != "x$ac_hi"; do
22537 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22538 cat >conftest.
$ac_ext <<_ACEOF
22541 cat confdefs.h
>>conftest.
$ac_ext
22542 cat >>conftest.
$ac_ext <<_ACEOF
22543 /* end confdefs.h. */
22544 $ac_includes_default
22545 typedef size_t ac__type_sizeof_;
22549 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22556 rm -f conftest.
$ac_objext
22557 if { (ac_try
="$ac_compile"
22558 case "(($ac_try" in
22559 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22560 *) ac_try_echo=$ac_try;;
22562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22563 (eval "$ac_compile") 2>conftest.er1
22565 grep -v '^ *+' conftest.er1 >conftest.err
22567 cat conftest.err >&5
22568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22569 (exit $ac_status); } && {
22570 test -z "$ac_c_werror_flag" ||
22571 test ! -s conftest.err
22572 } && test -s conftest.$ac_objext; then
22575 echo "$as_me: failed program was:" >&5
22576 sed 's/^/| /' conftest.$ac_ext >&5
22578 ac_lo=`expr '(' $ac_mid ')' + 1`
22581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22584 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22585 '') if test "$ac_cv_type_size_t" = yes; then
22586 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22587 See \`config.log
' for more details." >&5
22588 echo "$as_me: error: cannot compute sizeof (size_t)
22589 See \`config.log' for more details.
" >&2;}
22590 { (exit 77); exit 77; }; }
22592 ac_cv_sizeof_size_t=0
22596 cat >conftest.$ac_ext <<_ACEOF
22599 cat confdefs.h >>conftest.$ac_ext
22600 cat >>conftest.$ac_ext <<_ACEOF
22601 /* end confdefs.h. */
22602 $ac_includes_default
22603 typedef size_t ac__type_sizeof_;
22604 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22605 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22607 #include <stdlib.h>
22612 FILE *f = fopen ("conftest.val
", "w
");
22615 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22617 long int i = longval ();
22618 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22620 fprintf (f, "%ld
\n", i);
22624 unsigned long int i = ulongval ();
22625 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22627 fprintf (f, "%lu
\n", i);
22629 return ferror (f) || fclose (f) != 0;
22635 rm -f conftest$ac_exeext
22636 if { (ac_try="$ac_link"
22637 case "(($ac_try" in
22638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22639 *) ac_try_echo=$ac_try;;
22641 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22642 (eval "$ac_link") 2>&5
22644 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22645 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22646 { (case "(($ac_try" in
22647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22648 *) ac_try_echo=$ac_try;;
22650 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22651 (eval "$ac_try") 2>&5
22653 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22654 (exit $ac_status); }; }; then
22655 ac_cv_sizeof_size_t=`cat conftest.val`
22657 echo "$as_me: program exited with status
$ac_status" >&5
22658 echo "$as_me: failed program was
:" >&5
22659 sed 's/^/| /' conftest.$ac_ext >&5
22661 ( exit $ac_status )
22662 if test "$ac_cv_type_size_t" = yes; then
22663 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
22664 See \
`config.log' for more details." >&5
22665 echo "$as_me: error: cannot compute sizeof (size_t)
22666 See \`config.log
' for more details." >&2;}
22667 { (exit 77); exit 77; }; }
22669 ac_cv_sizeof_size_t=0
22672 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22676 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22677 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22681 cat >>confdefs.h <<_ACEOF
22682 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22689 { echo "$as_me:$LINENO: checking for long long" >&5
22690 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22691 if test "${ac_cv_type_long_long+set}" = set; then
22692 echo $ECHO_N "(cached) $ECHO_C" >&6
22694 cat >conftest.$ac_ext <<_ACEOF
22697 cat confdefs.h >>conftest.$ac_ext
22698 cat >>conftest.$ac_ext <<_ACEOF
22699 /* end confdefs.h. */
22700 $ac_includes_default
22701 typedef long long ac__type_new_;
22705 if ((ac__type_new_ *) 0)
22707 if (sizeof (ac__type_new_))
22713 rm -f conftest.$ac_objext
22714 if { (ac_try="$ac_compile"
22715 case "(($ac_try" in
22716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22717 *) ac_try_echo=$ac_try;;
22719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22720 (eval "$ac_compile") 2>conftest.er1
22722 grep -v '^
*+' conftest.er1 >conftest.err
22724 cat conftest.err >&5
22725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22726 (exit $ac_status); } && {
22727 test -z "$ac_c_werror_flag" ||
22728 test ! -s conftest.err
22729 } && test -s conftest.$ac_objext; then
22730 ac_cv_type_long_long=yes
22732 echo "$as_me: failed program was:" >&5
22733 sed 's
/^
/| /' conftest.$ac_ext >&5
22735 ac_cv_type_long_long=no
22738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22740 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22741 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22743 # The cast to long int works around a bug in the HP C Compiler
22744 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22745 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22746 # This bug is HP SR number 8606223364.
22747 { echo "$as_me:$LINENO: checking size of long long" >&5
22748 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22749 if test "${ac_cv_sizeof_long_long+set}" = set; then
22750 echo $ECHO_N "(cached) $ECHO_C" >&6
22752 if test "$cross_compiling" = yes; then
22753 # Depending upon the size, compute the lo and hi bounds.
22754 cat >conftest.
$ac_ext <<_ACEOF
22757 cat confdefs.h
>>conftest.
$ac_ext
22758 cat >>conftest.
$ac_ext <<_ACEOF
22759 /* end confdefs.h. */
22760 $ac_includes_default
22761 typedef long long ac__type_sizeof_;
22765 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22772 rm -f conftest.
$ac_objext
22773 if { (ac_try
="$ac_compile"
22774 case "(($ac_try" in
22775 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22776 *) ac_try_echo=$ac_try;;
22778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22779 (eval "$ac_compile") 2>conftest.er1
22781 grep -v '^ *+' conftest.er1 >conftest.err
22783 cat conftest.err >&5
22784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22785 (exit $ac_status); } && {
22786 test -z "$ac_c_werror_flag" ||
22787 test ! -s conftest.err
22788 } && test -s conftest.$ac_objext; then
22791 cat >conftest.$ac_ext <<_ACEOF
22794 cat confdefs.h >>conftest.$ac_ext
22795 cat >>conftest.$ac_ext <<_ACEOF
22796 /* end confdefs.h. */
22797 $ac_includes_default
22798 typedef long long ac__type_sizeof_;
22802 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22809 rm -f conftest.$ac_objext
22810 if { (ac_try="$ac_compile"
22811 case "(($ac_try" in
22812 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22813 *) ac_try_echo
=$ac_try;;
22815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22816 (eval "$ac_compile") 2>conftest.er1
22818 grep -v '^ *+' conftest.er1
>conftest.err
22820 cat conftest.err
>&5
22821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22822 (exit $ac_status); } && {
22823 test -z "$ac_c_werror_flag" ||
22824 test ! -s conftest.err
22825 } && test -s conftest.
$ac_objext; then
22826 ac_hi
=$ac_mid; break
22828 echo "$as_me: failed program was:" >&5
22829 sed 's/^/| /' conftest.
$ac_ext >&5
22831 ac_lo
=`expr $ac_mid + 1`
22832 if test $ac_lo -le $ac_mid; then
22836 ac_mid
=`expr 2 '*' $ac_mid + 1`
22839 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22842 echo "$as_me: failed program was:" >&5
22843 sed 's/^/| /' conftest.
$ac_ext >&5
22845 cat >conftest.
$ac_ext <<_ACEOF
22848 cat confdefs.h
>>conftest.
$ac_ext
22849 cat >>conftest.
$ac_ext <<_ACEOF
22850 /* end confdefs.h. */
22851 $ac_includes_default
22852 typedef long long ac__type_sizeof_;
22856 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22863 rm -f conftest.
$ac_objext
22864 if { (ac_try
="$ac_compile"
22865 case "(($ac_try" in
22866 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22867 *) ac_try_echo=$ac_try;;
22869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22870 (eval "$ac_compile") 2>conftest.er1
22872 grep -v '^ *+' conftest.er1 >conftest.err
22874 cat conftest.err >&5
22875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22876 (exit $ac_status); } && {
22877 test -z "$ac_c_werror_flag" ||
22878 test ! -s conftest.err
22879 } && test -s conftest.$ac_objext; then
22882 cat >conftest.$ac_ext <<_ACEOF
22885 cat confdefs.h >>conftest.$ac_ext
22886 cat >>conftest.$ac_ext <<_ACEOF
22887 /* end confdefs.h. */
22888 $ac_includes_default
22889 typedef long long ac__type_sizeof_;
22893 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22900 rm -f conftest.$ac_objext
22901 if { (ac_try="$ac_compile"
22902 case "(($ac_try" in
22903 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22904 *) ac_try_echo
=$ac_try;;
22906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22907 (eval "$ac_compile") 2>conftest.er1
22909 grep -v '^ *+' conftest.er1
>conftest.err
22911 cat conftest.err
>&5
22912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22913 (exit $ac_status); } && {
22914 test -z "$ac_c_werror_flag" ||
22915 test ! -s conftest.err
22916 } && test -s conftest.
$ac_objext; then
22917 ac_lo
=$ac_mid; break
22919 echo "$as_me: failed program was:" >&5
22920 sed 's/^/| /' conftest.
$ac_ext >&5
22922 ac_hi
=`expr '(' $ac_mid ')' - 1`
22923 if test $ac_mid -le $ac_hi; then
22927 ac_mid
=`expr 2 '*' $ac_mid`
22930 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22933 echo "$as_me: failed program was:" >&5
22934 sed 's/^/| /' conftest.
$ac_ext >&5
22939 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22942 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22943 # Binary search between lo and hi bounds.
22944 while test "x$ac_lo" != "x$ac_hi"; do
22945 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22946 cat >conftest.
$ac_ext <<_ACEOF
22949 cat confdefs.h
>>conftest.
$ac_ext
22950 cat >>conftest.
$ac_ext <<_ACEOF
22951 /* end confdefs.h. */
22952 $ac_includes_default
22953 typedef long long ac__type_sizeof_;
22957 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22964 rm -f conftest.
$ac_objext
22965 if { (ac_try
="$ac_compile"
22966 case "(($ac_try" in
22967 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22968 *) ac_try_echo=$ac_try;;
22970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22971 (eval "$ac_compile") 2>conftest.er1
22973 grep -v '^ *+' conftest.er1 >conftest.err
22975 cat conftest.err >&5
22976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22977 (exit $ac_status); } && {
22978 test -z "$ac_c_werror_flag" ||
22979 test ! -s conftest.err
22980 } && test -s conftest.$ac_objext; then
22983 echo "$as_me: failed program was:" >&5
22984 sed 's/^/| /' conftest.$ac_ext >&5
22986 ac_lo=`expr '(' $ac_mid ')' + 1`
22989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22992 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22993 '') if test "$ac_cv_type_long_long" = yes; then
22994 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22995 See \`config.log
' for more details." >&5
22996 echo "$as_me: error: cannot compute sizeof (long long)
22997 See \`config.log' for more details.
" >&2;}
22998 { (exit 77); exit 77; }; }
23000 ac_cv_sizeof_long_long=0
23004 cat >conftest.$ac_ext <<_ACEOF
23007 cat confdefs.h >>conftest.$ac_ext
23008 cat >>conftest.$ac_ext <<_ACEOF
23009 /* end confdefs.h. */
23010 $ac_includes_default
23011 typedef long long ac__type_sizeof_;
23012 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23013 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23015 #include <stdlib.h>
23020 FILE *f = fopen ("conftest.val
", "w
");
23023 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23025 long int i = longval ();
23026 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23028 fprintf (f, "%ld
\n", i);
23032 unsigned long int i = ulongval ();
23033 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23035 fprintf (f, "%lu
\n", i);
23037 return ferror (f) || fclose (f) != 0;
23043 rm -f conftest$ac_exeext
23044 if { (ac_try="$ac_link"
23045 case "(($ac_try" in
23046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23047 *) ac_try_echo=$ac_try;;
23049 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23050 (eval "$ac_link") 2>&5
23052 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23053 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23054 { (case "(($ac_try" in
23055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23056 *) ac_try_echo=$ac_try;;
23058 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23059 (eval "$ac_try") 2>&5
23061 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23062 (exit $ac_status); }; }; then
23063 ac_cv_sizeof_long_long=`cat conftest.val`
23065 echo "$as_me: program exited with status
$ac_status" >&5
23066 echo "$as_me: failed program was
:" >&5
23067 sed 's/^/| /' conftest.$ac_ext >&5
23069 ( exit $ac_status )
23070 if test "$ac_cv_type_long_long" = yes; then
23071 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23072 See \
`config.log' for more details." >&5
23073 echo "$as_me: error: cannot compute sizeof (long long)
23074 See \`config.log
' for more details." >&2;}
23075 { (exit 77); exit 77; }; }
23077 ac_cv_sizeof_long_long=0
23080 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23084 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23085 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23089 cat >>confdefs.h <<_ACEOF
23090 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23096 { echo "$as_me:$LINENO: checking for long long" >&5
23097 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23098 if test "${ac_cv_type_long_long+set}" = set; then
23099 echo $ECHO_N "(cached) $ECHO_C" >&6
23101 cat >conftest.$ac_ext <<_ACEOF
23104 cat confdefs.h >>conftest.$ac_ext
23105 cat >>conftest.$ac_ext <<_ACEOF
23106 /* end confdefs.h. */
23107 $ac_includes_default
23108 typedef long long ac__type_new_;
23112 if ((ac__type_new_ *) 0)
23114 if (sizeof (ac__type_new_))
23120 rm -f conftest.$ac_objext
23121 if { (ac_try="$ac_compile"
23122 case "(($ac_try" in
23123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23124 *) ac_try_echo=$ac_try;;
23126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23127 (eval "$ac_compile") 2>conftest.er1
23129 grep -v '^
*+' conftest.er1 >conftest.err
23131 cat conftest.err >&5
23132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23133 (exit $ac_status); } && {
23134 test -z "$ac_c_werror_flag" ||
23135 test ! -s conftest.err
23136 } && test -s conftest.$ac_objext; then
23137 ac_cv_type_long_long=yes
23139 echo "$as_me: failed program was:" >&5
23140 sed 's
/^
/| /' conftest.$ac_ext >&5
23142 ac_cv_type_long_long=no
23145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23147 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23148 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23150 # The cast to long int works around a bug in the HP C Compiler
23151 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23152 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23153 # This bug is HP SR number 8606223364.
23154 { echo "$as_me:$LINENO: checking size of long long" >&5
23155 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23156 if test "${ac_cv_sizeof_long_long+set}" = set; then
23157 echo $ECHO_N "(cached) $ECHO_C" >&6
23159 if test "$cross_compiling" = yes; then
23160 # Depending upon the size, compute the lo and hi bounds.
23161 cat >conftest.
$ac_ext <<_ACEOF
23164 cat confdefs.h
>>conftest.
$ac_ext
23165 cat >>conftest.
$ac_ext <<_ACEOF
23166 /* end confdefs.h. */
23167 $ac_includes_default
23168 typedef long long ac__type_sizeof_;
23172 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23179 rm -f conftest.
$ac_objext
23180 if { (ac_try
="$ac_compile"
23181 case "(($ac_try" in
23182 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23183 *) ac_try_echo=$ac_try;;
23185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23186 (eval "$ac_compile") 2>conftest.er1
23188 grep -v '^ *+' conftest.er1 >conftest.err
23190 cat conftest.err >&5
23191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23192 (exit $ac_status); } && {
23193 test -z "$ac_c_werror_flag" ||
23194 test ! -s conftest.err
23195 } && test -s conftest.$ac_objext; then
23198 cat >conftest.$ac_ext <<_ACEOF
23201 cat confdefs.h >>conftest.$ac_ext
23202 cat >>conftest.$ac_ext <<_ACEOF
23203 /* end confdefs.h. */
23204 $ac_includes_default
23205 typedef long long ac__type_sizeof_;
23209 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23216 rm -f conftest.$ac_objext
23217 if { (ac_try="$ac_compile"
23218 case "(($ac_try" in
23219 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23220 *) ac_try_echo
=$ac_try;;
23222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23223 (eval "$ac_compile") 2>conftest.er1
23225 grep -v '^ *+' conftest.er1
>conftest.err
23227 cat conftest.err
>&5
23228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23229 (exit $ac_status); } && {
23230 test -z "$ac_c_werror_flag" ||
23231 test ! -s conftest.err
23232 } && test -s conftest.
$ac_objext; then
23233 ac_hi
=$ac_mid; break
23235 echo "$as_me: failed program was:" >&5
23236 sed 's/^/| /' conftest.
$ac_ext >&5
23238 ac_lo
=`expr $ac_mid + 1`
23239 if test $ac_lo -le $ac_mid; then
23243 ac_mid
=`expr 2 '*' $ac_mid + 1`
23246 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23249 echo "$as_me: failed program was:" >&5
23250 sed 's/^/| /' conftest.
$ac_ext >&5
23252 cat >conftest.
$ac_ext <<_ACEOF
23255 cat confdefs.h
>>conftest.
$ac_ext
23256 cat >>conftest.
$ac_ext <<_ACEOF
23257 /* end confdefs.h. */
23258 $ac_includes_default
23259 typedef long long ac__type_sizeof_;
23263 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23270 rm -f conftest.
$ac_objext
23271 if { (ac_try
="$ac_compile"
23272 case "(($ac_try" in
23273 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23274 *) ac_try_echo=$ac_try;;
23276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23277 (eval "$ac_compile") 2>conftest.er1
23279 grep -v '^ *+' conftest.er1 >conftest.err
23281 cat conftest.err >&5
23282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23283 (exit $ac_status); } && {
23284 test -z "$ac_c_werror_flag" ||
23285 test ! -s conftest.err
23286 } && test -s conftest.$ac_objext; then
23289 cat >conftest.$ac_ext <<_ACEOF
23292 cat confdefs.h >>conftest.$ac_ext
23293 cat >>conftest.$ac_ext <<_ACEOF
23294 /* end confdefs.h. */
23295 $ac_includes_default
23296 typedef long long ac__type_sizeof_;
23300 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23307 rm -f conftest.$ac_objext
23308 if { (ac_try="$ac_compile"
23309 case "(($ac_try" in
23310 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23311 *) ac_try_echo
=$ac_try;;
23313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23314 (eval "$ac_compile") 2>conftest.er1
23316 grep -v '^ *+' conftest.er1
>conftest.err
23318 cat conftest.err
>&5
23319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23320 (exit $ac_status); } && {
23321 test -z "$ac_c_werror_flag" ||
23322 test ! -s conftest.err
23323 } && test -s conftest.
$ac_objext; then
23324 ac_lo
=$ac_mid; break
23326 echo "$as_me: failed program was:" >&5
23327 sed 's/^/| /' conftest.
$ac_ext >&5
23329 ac_hi
=`expr '(' $ac_mid ')' - 1`
23330 if test $ac_mid -le $ac_hi; then
23334 ac_mid
=`expr 2 '*' $ac_mid`
23337 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23340 echo "$as_me: failed program was:" >&5
23341 sed 's/^/| /' conftest.
$ac_ext >&5
23346 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23349 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23350 # Binary search between lo and hi bounds.
23351 while test "x$ac_lo" != "x$ac_hi"; do
23352 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23353 cat >conftest.
$ac_ext <<_ACEOF
23356 cat confdefs.h
>>conftest.
$ac_ext
23357 cat >>conftest.
$ac_ext <<_ACEOF
23358 /* end confdefs.h. */
23359 $ac_includes_default
23360 typedef long long ac__type_sizeof_;
23364 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23371 rm -f conftest.
$ac_objext
23372 if { (ac_try
="$ac_compile"
23373 case "(($ac_try" in
23374 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23375 *) ac_try_echo=$ac_try;;
23377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23378 (eval "$ac_compile") 2>conftest.er1
23380 grep -v '^ *+' conftest.er1 >conftest.err
23382 cat conftest.err >&5
23383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23384 (exit $ac_status); } && {
23385 test -z "$ac_c_werror_flag" ||
23386 test ! -s conftest.err
23387 } && test -s conftest.$ac_objext; then
23390 echo "$as_me: failed program was:" >&5
23391 sed 's/^/| /' conftest.$ac_ext >&5
23393 ac_lo=`expr '(' $ac_mid ')' + 1`
23396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23399 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23400 '') if test "$ac_cv_type_long_long" = yes; then
23401 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23402 See \`config.log
' for more details." >&5
23403 echo "$as_me: error: cannot compute sizeof (long long)
23404 See \`config.log' for more details.
" >&2;}
23405 { (exit 77); exit 77; }; }
23407 ac_cv_sizeof_long_long=0
23411 cat >conftest.$ac_ext <<_ACEOF
23414 cat confdefs.h >>conftest.$ac_ext
23415 cat >>conftest.$ac_ext <<_ACEOF
23416 /* end confdefs.h. */
23417 $ac_includes_default
23418 typedef long long ac__type_sizeof_;
23419 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23420 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23422 #include <stdlib.h>
23427 FILE *f = fopen ("conftest.val
", "w
");
23430 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23432 long int i = longval ();
23433 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23435 fprintf (f, "%ld
\n", i);
23439 unsigned long int i = ulongval ();
23440 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23442 fprintf (f, "%lu
\n", i);
23444 return ferror (f) || fclose (f) != 0;
23450 rm -f conftest$ac_exeext
23451 if { (ac_try="$ac_link"
23452 case "(($ac_try" in
23453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23454 *) ac_try_echo=$ac_try;;
23456 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23457 (eval "$ac_link") 2>&5
23459 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23460 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23461 { (case "(($ac_try" in
23462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23463 *) ac_try_echo=$ac_try;;
23465 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23466 (eval "$ac_try") 2>&5
23468 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23469 (exit $ac_status); }; }; then
23470 ac_cv_sizeof_long_long=`cat conftest.val`
23472 echo "$as_me: program exited with status
$ac_status" >&5
23473 echo "$as_me: failed program was
:" >&5
23474 sed 's/^/| /' conftest.$ac_ext >&5
23476 ( exit $ac_status )
23477 if test "$ac_cv_type_long_long" = yes; then
23478 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23479 See \
`config.log' for more details." >&5
23480 echo "$as_me: error: cannot compute sizeof (long long)
23481 See \`config.log
' for more details." >&2;}
23482 { (exit 77); exit 77; }; }
23484 ac_cv_sizeof_long_long=0
23487 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23491 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23492 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23496 cat >>confdefs.h <<_ACEOF
23497 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23501 if test "$ac_cv_sizeof_long_long" != 0; then
23502 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23506 { echo "$as_me:$LINENO: checking for long long" >&5
23507 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23508 if test "${ac_cv_type_long_long+set}" = set; then
23509 echo $ECHO_N "(cached) $ECHO_C" >&6
23511 cat >conftest.$ac_ext <<_ACEOF
23514 cat confdefs.h >>conftest.$ac_ext
23515 cat >>conftest.$ac_ext <<_ACEOF
23516 /* end confdefs.h. */
23517 $ac_includes_default
23518 typedef long long ac__type_new_;
23522 if ((ac__type_new_ *) 0)
23524 if (sizeof (ac__type_new_))
23530 rm -f conftest.$ac_objext
23531 if { (ac_try="$ac_compile"
23532 case "(($ac_try" in
23533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23534 *) ac_try_echo=$ac_try;;
23536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23537 (eval "$ac_compile") 2>conftest.er1
23539 grep -v '^
*+' conftest.er1 >conftest.err
23541 cat conftest.err >&5
23542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23543 (exit $ac_status); } && {
23544 test -z "$ac_c_werror_flag" ||
23545 test ! -s conftest.err
23546 } && test -s conftest.$ac_objext; then
23547 ac_cv_type_long_long=yes
23549 echo "$as_me: failed program was:" >&5
23550 sed 's
/^
/| /' conftest.$ac_ext >&5
23552 ac_cv_type_long_long=no
23555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23557 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23558 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23560 # The cast to long int works around a bug in the HP C Compiler
23561 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23562 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23563 # This bug is HP SR number 8606223364.
23564 { echo "$as_me:$LINENO: checking size of long long" >&5
23565 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23566 if test "${ac_cv_sizeof_long_long+set}" = set; then
23567 echo $ECHO_N "(cached) $ECHO_C" >&6
23569 if test "$cross_compiling" = yes; then
23570 # Depending upon the size, compute the lo and hi bounds.
23571 cat >conftest.
$ac_ext <<_ACEOF
23574 cat confdefs.h
>>conftest.
$ac_ext
23575 cat >>conftest.
$ac_ext <<_ACEOF
23576 /* end confdefs.h. */
23577 $ac_includes_default
23578 typedef long long ac__type_sizeof_;
23582 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23589 rm -f conftest.
$ac_objext
23590 if { (ac_try
="$ac_compile"
23591 case "(($ac_try" in
23592 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23593 *) ac_try_echo=$ac_try;;
23595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23596 (eval "$ac_compile") 2>conftest.er1
23598 grep -v '^ *+' conftest.er1 >conftest.err
23600 cat conftest.err >&5
23601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23602 (exit $ac_status); } && {
23603 test -z "$ac_c_werror_flag" ||
23604 test ! -s conftest.err
23605 } && test -s conftest.$ac_objext; then
23608 cat >conftest.$ac_ext <<_ACEOF
23611 cat confdefs.h >>conftest.$ac_ext
23612 cat >>conftest.$ac_ext <<_ACEOF
23613 /* end confdefs.h. */
23614 $ac_includes_default
23615 typedef long long ac__type_sizeof_;
23619 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23626 rm -f conftest.$ac_objext
23627 if { (ac_try="$ac_compile"
23628 case "(($ac_try" in
23629 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23630 *) ac_try_echo
=$ac_try;;
23632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23633 (eval "$ac_compile") 2>conftest.er1
23635 grep -v '^ *+' conftest.er1
>conftest.err
23637 cat conftest.err
>&5
23638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23639 (exit $ac_status); } && {
23640 test -z "$ac_c_werror_flag" ||
23641 test ! -s conftest.err
23642 } && test -s conftest.
$ac_objext; then
23643 ac_hi
=$ac_mid; break
23645 echo "$as_me: failed program was:" >&5
23646 sed 's/^/| /' conftest.
$ac_ext >&5
23648 ac_lo
=`expr $ac_mid + 1`
23649 if test $ac_lo -le $ac_mid; then
23653 ac_mid
=`expr 2 '*' $ac_mid + 1`
23656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23659 echo "$as_me: failed program was:" >&5
23660 sed 's/^/| /' conftest.
$ac_ext >&5
23662 cat >conftest.
$ac_ext <<_ACEOF
23665 cat confdefs.h
>>conftest.
$ac_ext
23666 cat >>conftest.
$ac_ext <<_ACEOF
23667 /* end confdefs.h. */
23668 $ac_includes_default
23669 typedef long long ac__type_sizeof_;
23673 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23680 rm -f conftest.
$ac_objext
23681 if { (ac_try
="$ac_compile"
23682 case "(($ac_try" in
23683 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23684 *) ac_try_echo=$ac_try;;
23686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23687 (eval "$ac_compile") 2>conftest.er1
23689 grep -v '^ *+' conftest.er1 >conftest.err
23691 cat conftest.err >&5
23692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23693 (exit $ac_status); } && {
23694 test -z "$ac_c_werror_flag" ||
23695 test ! -s conftest.err
23696 } && test -s conftest.$ac_objext; then
23699 cat >conftest.$ac_ext <<_ACEOF
23702 cat confdefs.h >>conftest.$ac_ext
23703 cat >>conftest.$ac_ext <<_ACEOF
23704 /* end confdefs.h. */
23705 $ac_includes_default
23706 typedef long long ac__type_sizeof_;
23710 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23717 rm -f conftest.$ac_objext
23718 if { (ac_try="$ac_compile"
23719 case "(($ac_try" in
23720 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23721 *) ac_try_echo
=$ac_try;;
23723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23724 (eval "$ac_compile") 2>conftest.er1
23726 grep -v '^ *+' conftest.er1
>conftest.err
23728 cat conftest.err
>&5
23729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23730 (exit $ac_status); } && {
23731 test -z "$ac_c_werror_flag" ||
23732 test ! -s conftest.err
23733 } && test -s conftest.
$ac_objext; then
23734 ac_lo
=$ac_mid; break
23736 echo "$as_me: failed program was:" >&5
23737 sed 's/^/| /' conftest.
$ac_ext >&5
23739 ac_hi
=`expr '(' $ac_mid ')' - 1`
23740 if test $ac_mid -le $ac_hi; then
23744 ac_mid
=`expr 2 '*' $ac_mid`
23747 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23750 echo "$as_me: failed program was:" >&5
23751 sed 's/^/| /' conftest.
$ac_ext >&5
23756 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23759 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23760 # Binary search between lo and hi bounds.
23761 while test "x$ac_lo" != "x$ac_hi"; do
23762 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23763 cat >conftest.
$ac_ext <<_ACEOF
23766 cat confdefs.h
>>conftest.
$ac_ext
23767 cat >>conftest.
$ac_ext <<_ACEOF
23768 /* end confdefs.h. */
23769 $ac_includes_default
23770 typedef long long ac__type_sizeof_;
23774 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23781 rm -f conftest.
$ac_objext
23782 if { (ac_try
="$ac_compile"
23783 case "(($ac_try" in
23784 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23785 *) ac_try_echo=$ac_try;;
23787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23788 (eval "$ac_compile") 2>conftest.er1
23790 grep -v '^ *+' conftest.er1 >conftest.err
23792 cat conftest.err >&5
23793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23794 (exit $ac_status); } && {
23795 test -z "$ac_c_werror_flag" ||
23796 test ! -s conftest.err
23797 } && test -s conftest.$ac_objext; then
23800 echo "$as_me: failed program was:" >&5
23801 sed 's/^/| /' conftest.$ac_ext >&5
23803 ac_lo=`expr '(' $ac_mid ')' + 1`
23806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23809 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23810 '') if test "$ac_cv_type_long_long" = yes; then
23811 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23812 See \`config.log
' for more details." >&5
23813 echo "$as_me: error: cannot compute sizeof (long long)
23814 See \`config.log' for more details.
" >&2;}
23815 { (exit 77); exit 77; }; }
23817 ac_cv_sizeof_long_long=0
23821 cat >conftest.$ac_ext <<_ACEOF
23824 cat confdefs.h >>conftest.$ac_ext
23825 cat >>conftest.$ac_ext <<_ACEOF
23826 /* end confdefs.h. */
23827 $ac_includes_default
23828 typedef long long ac__type_sizeof_;
23829 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23830 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23832 #include <stdlib.h>
23837 FILE *f = fopen ("conftest.val
", "w
");
23840 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23842 long int i = longval ();
23843 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23845 fprintf (f, "%ld
\n", i);
23849 unsigned long int i = ulongval ();
23850 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23852 fprintf (f, "%lu
\n", i);
23854 return ferror (f) || fclose (f) != 0;
23860 rm -f conftest$ac_exeext
23861 if { (ac_try="$ac_link"
23862 case "(($ac_try" in
23863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23864 *) ac_try_echo=$ac_try;;
23866 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23867 (eval "$ac_link") 2>&5
23869 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23870 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23871 { (case "(($ac_try" in
23872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23873 *) ac_try_echo=$ac_try;;
23875 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23876 (eval "$ac_try") 2>&5
23878 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23879 (exit $ac_status); }; }; then
23880 ac_cv_sizeof_long_long=`cat conftest.val`
23882 echo "$as_me: program exited with status
$ac_status" >&5
23883 echo "$as_me: failed program was
:" >&5
23884 sed 's/^/| /' conftest.$ac_ext >&5
23886 ( exit $ac_status )
23887 if test "$ac_cv_type_long_long" = yes; then
23888 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23889 See \
`config.log' for more details." >&5
23890 echo "$as_me: error: cannot compute sizeof (long long)
23891 See \`config.log
' for more details." >&2;}
23892 { (exit 77); exit 77; }; }
23894 ac_cv_sizeof_long_long=0
23897 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23901 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23902 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23906 cat >>confdefs.h <<_ACEOF
23907 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23913 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23914 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23915 if test "${ac_cv_type_wchar_t+set}" = set; then
23916 echo $ECHO_N "(cached) $ECHO_C" >&6
23918 cat >conftest.$ac_ext <<_ACEOF
23921 cat confdefs.h >>conftest.$ac_ext
23922 cat >>conftest.$ac_ext <<_ACEOF
23923 /* end confdefs.h. */
23925 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23926 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23927 # error "fake wchar_t"
23929 #ifdef HAVE_WCHAR_H
23931 # include <stddef.h>
23933 # include <wchar.h>
23935 #ifdef HAVE_STDLIB_H
23936 # include <stdlib.h>
23942 typedef wchar_t ac__type_new_
;
23946 if ((ac__type_new_
*) 0)
23948 if (sizeof
(ac__type_new_
))
23954 rm -f conftest.
$ac_objext
23955 if { (ac_try
="$ac_compile"
23956 case "(($ac_try" in
23957 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23958 *) ac_try_echo=$ac_try;;
23960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23961 (eval "$ac_compile") 2>conftest.er1
23963 grep -v '^ *+' conftest.er1 >conftest.err
23965 cat conftest.err >&5
23966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23967 (exit $ac_status); } && {
23968 test -z "$ac_c_werror_flag" ||
23969 test ! -s conftest.err
23970 } && test -s conftest.$ac_objext; then
23971 ac_cv_type_wchar_t=yes
23973 echo "$as_me: failed program was:" >&5
23974 sed 's/^/| /' conftest.$ac_ext >&5
23976 ac_cv_type_wchar_t=no
23979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23981 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23982 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23984 # The cast to long int works around a bug in the HP C Compiler
23985 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23986 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
23987 # This bug is HP SR number 8606223364.
23988 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23989 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23990 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23991 echo $ECHO_N "(cached) $ECHO_C" >&6
23993 if test "$cross_compiling" = yes; then
23994 # Depending upon the size, compute the lo and hi bounds.
23995 cat >conftest.$ac_ext <<_ACEOF
23998 cat confdefs.h >>conftest.$ac_ext
23999 cat >>conftest.$ac_ext <<_ACEOF
24000 /* end confdefs.h. */
24002 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
24003 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24004 # error "fake wchar_t"
24006 #ifdef HAVE_WCHAR_H
24008 # include <stddef.h>
24010 # include <wchar.h>
24012 #ifdef HAVE_STDLIB_H
24013 # include <stdlib.h>
24019 typedef wchar_t ac__type_sizeof_
;
24023 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
24030 rm -f conftest.
$ac_objext
24031 if { (ac_try
="$ac_compile"
24032 case "(($ac_try" in
24033 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24034 *) ac_try_echo=$ac_try;;
24036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24037 (eval "$ac_compile") 2>conftest.er1
24039 grep -v '^ *+' conftest.er1 >conftest.err
24041 cat conftest.err >&5
24042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24043 (exit $ac_status); } && {
24044 test -z "$ac_c_werror_flag" ||
24045 test ! -s conftest.err
24046 } && test -s conftest.$ac_objext; then
24049 cat >conftest.$ac_ext <<_ACEOF
24052 cat confdefs.h >>conftest.$ac_ext
24053 cat >>conftest.$ac_ext <<_ACEOF
24054 /* end confdefs.h. */
24056 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24057 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24058 # error "fake wchar_t"
24060 #ifdef HAVE_WCHAR_H
24062 # include <stddef.h>
24064 # include <wchar.h>
24066 #ifdef HAVE_STDLIB_H
24067 # include <stdlib.h>
24073 typedef wchar_t ac__type_sizeof_;
24077 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24084 rm -f conftest.$ac_objext
24085 if { (ac_try="$ac_compile"
24086 case "(($ac_try" in
24087 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24088 *) ac_try_echo
=$ac_try;;
24090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24091 (eval "$ac_compile") 2>conftest.er1
24093 grep -v '^ *+' conftest.er1
>conftest.err
24095 cat conftest.err
>&5
24096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24097 (exit $ac_status); } && {
24098 test -z "$ac_c_werror_flag" ||
24099 test ! -s conftest.err
24100 } && test -s conftest.
$ac_objext; then
24101 ac_hi
=$ac_mid; break
24103 echo "$as_me: failed program was:" >&5
24104 sed 's/^/| /' conftest.
$ac_ext >&5
24106 ac_lo
=`expr $ac_mid + 1`
24107 if test $ac_lo -le $ac_mid; then
24111 ac_mid
=`expr 2 '*' $ac_mid + 1`
24114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24117 echo "$as_me: failed program was:" >&5
24118 sed 's/^/| /' conftest.
$ac_ext >&5
24120 cat >conftest.
$ac_ext <<_ACEOF
24123 cat confdefs.h
>>conftest.
$ac_ext
24124 cat >>conftest.
$ac_ext <<_ACEOF
24125 /* end confdefs.h. */
24127 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24128 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24129 # error "fake wchar_t"
24131 #ifdef HAVE_WCHAR_H
24133 # include <stddef.h>
24135 # include <wchar.h>
24137 #ifdef HAVE_STDLIB_H
24138 # include <stdlib.h>
24144 typedef wchar_t ac__type_sizeof_;
24148 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24155 rm -f conftest.
$ac_objext
24156 if { (ac_try
="$ac_compile"
24157 case "(($ac_try" in
24158 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24159 *) ac_try_echo=$ac_try;;
24161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24162 (eval "$ac_compile") 2>conftest.er1
24164 grep -v '^ *+' conftest.er1 >conftest.err
24166 cat conftest.err >&5
24167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24168 (exit $ac_status); } && {
24169 test -z "$ac_c_werror_flag" ||
24170 test ! -s conftest.err
24171 } && test -s conftest.$ac_objext; then
24174 cat >conftest.$ac_ext <<_ACEOF
24177 cat confdefs.h >>conftest.$ac_ext
24178 cat >>conftest.$ac_ext <<_ACEOF
24179 /* end confdefs.h. */
24181 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24182 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24183 # error "fake wchar_t"
24185 #ifdef HAVE_WCHAR_H
24187 # include <stddef.h>
24189 # include <wchar.h>
24191 #ifdef HAVE_STDLIB_H
24192 # include <stdlib.h>
24198 typedef wchar_t ac__type_sizeof_;
24202 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24209 rm -f conftest.$ac_objext
24210 if { (ac_try="$ac_compile"
24211 case "(($ac_try" in
24212 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24213 *) ac_try_echo
=$ac_try;;
24215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24216 (eval "$ac_compile") 2>conftest.er1
24218 grep -v '^ *+' conftest.er1
>conftest.err
24220 cat conftest.err
>&5
24221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24222 (exit $ac_status); } && {
24223 test -z "$ac_c_werror_flag" ||
24224 test ! -s conftest.err
24225 } && test -s conftest.
$ac_objext; then
24226 ac_lo
=$ac_mid; break
24228 echo "$as_me: failed program was:" >&5
24229 sed 's/^/| /' conftest.
$ac_ext >&5
24231 ac_hi
=`expr '(' $ac_mid ')' - 1`
24232 if test $ac_mid -le $ac_hi; then
24236 ac_mid
=`expr 2 '*' $ac_mid`
24239 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24242 echo "$as_me: failed program was:" >&5
24243 sed 's/^/| /' conftest.
$ac_ext >&5
24248 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24251 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24252 # Binary search between lo and hi bounds.
24253 while test "x$ac_lo" != "x$ac_hi"; do
24254 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24255 cat >conftest.
$ac_ext <<_ACEOF
24258 cat confdefs.h
>>conftest.
$ac_ext
24259 cat >>conftest.
$ac_ext <<_ACEOF
24260 /* end confdefs.h. */
24262 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24263 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24264 # error "fake wchar_t"
24266 #ifdef HAVE_WCHAR_H
24268 # include <stddef.h>
24270 # include <wchar.h>
24272 #ifdef HAVE_STDLIB_H
24273 # include <stdlib.h>
24279 typedef wchar_t ac__type_sizeof_;
24283 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24290 rm -f conftest.
$ac_objext
24291 if { (ac_try
="$ac_compile"
24292 case "(($ac_try" in
24293 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24294 *) ac_try_echo=$ac_try;;
24296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24297 (eval "$ac_compile") 2>conftest.er1
24299 grep -v '^ *+' conftest.er1 >conftest.err
24301 cat conftest.err >&5
24302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24303 (exit $ac_status); } && {
24304 test -z "$ac_c_werror_flag" ||
24305 test ! -s conftest.err
24306 } && test -s conftest.$ac_objext; then
24309 echo "$as_me: failed program was:" >&5
24310 sed 's/^/| /' conftest.$ac_ext >&5
24312 ac_lo=`expr '(' $ac_mid ')' + 1`
24315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24318 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24319 '') if test "$ac_cv_type_wchar_t" = yes; then
24320 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24321 See \`config.log
' for more details." >&5
24322 echo "$as_me: error: cannot compute sizeof (wchar_t)
24323 See \`config.log' for more details.
" >&2;}
24324 { (exit 77); exit 77; }; }
24326 ac_cv_sizeof_wchar_t=0
24330 cat >conftest.$ac_ext <<_ACEOF
24333 cat confdefs.h >>conftest.$ac_ext
24334 cat >>conftest.$ac_ext <<_ACEOF
24335 /* end confdefs.h. */
24337 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24338 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24339 # error "fake wchar_t
"
24341 #ifdef HAVE_WCHAR_H
24343 # include <stddef.h>
24345 # include <wchar.h>
24347 #ifdef HAVE_STDLIB_H
24348 # include <stdlib.h>
24354 typedef wchar_t ac__type_sizeof_;
24355 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24356 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24358 #include <stdlib.h>
24363 FILE *f = fopen ("conftest.val
", "w
");
24366 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24368 long int i = longval ();
24369 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24371 fprintf (f, "%ld
\n", i);
24375 unsigned long int i = ulongval ();
24376 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24378 fprintf (f, "%lu
\n", i);
24380 return ferror (f) || fclose (f) != 0;
24386 rm -f conftest$ac_exeext
24387 if { (ac_try="$ac_link"
24388 case "(($ac_try" in
24389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24390 *) ac_try_echo=$ac_try;;
24392 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24393 (eval "$ac_link") 2>&5
24395 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24396 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24397 { (case "(($ac_try" in
24398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24399 *) ac_try_echo=$ac_try;;
24401 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24402 (eval "$ac_try") 2>&5
24404 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24405 (exit $ac_status); }; }; then
24406 ac_cv_sizeof_wchar_t=`cat conftest.val`
24408 echo "$as_me: program exited with status
$ac_status" >&5
24409 echo "$as_me: failed program was
:" >&5
24410 sed 's/^/| /' conftest.$ac_ext >&5
24412 ( exit $ac_status )
24413 if test "$ac_cv_type_wchar_t" = yes; then
24414 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
24415 See \
`config.log' for more details." >&5
24416 echo "$as_me: error: cannot compute sizeof (wchar_t)
24417 See \`config.log
' for more details." >&2;}
24418 { (exit 77); exit 77; }; }
24420 ac_cv_sizeof_wchar_t=0
24423 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24427 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24428 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24432 cat >>confdefs.h <<_ACEOF
24433 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24437 if test "$ac_cv_sizeof_wchar_t" = 0; then
24438 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24439 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24440 { (exit 1); exit 1; }; }
24442 cat >>confdefs.h <<\_ACEOF
24443 #define wxUSE_WCHAR_T 1
24447 { echo "$as_me:$LINENO: checking for va_copy" >&5
24448 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24449 if test "${wx_cv_func_va_copy+set}" = set; then
24450 echo $ECHO_N "(cached) $ECHO_C" >&6
24454 ac_cpp='$CXXCPP $CPPFLAGS'
24455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24456 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24459 cat >conftest.$ac_ext <<_ACEOF
24461 #include <stdarg.h>
24462 void foo(char *f, ...)
24476 rm -f conftest.$ac_objext conftest$ac_exeext
24477 if { (ac_try="$ac_link"
24478 case "(($ac_try" in
24479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24480 *) ac_try_echo=$ac_try;;
24482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24483 (eval "$ac_link") 2>conftest.er1
24485 grep -v '^
*+' conftest.er1 >conftest.err
24487 cat conftest.err >&5
24488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24489 (exit $ac_status); } && {
24490 test -z "$ac_cxx_werror_flag" ||
24491 test ! -s conftest.err
24492 } && test -s conftest$ac_exeext &&
24493 $as_test_x conftest$ac_exeext; then
24494 wx_cv_func_va_copy=yes
24496 echo "$as_me: failed program was:" >&5
24497 sed 's
/^
/| /' conftest.$ac_ext >&5
24499 wx_cv_func_va_copy=no
24503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24504 conftest$ac_exeext conftest.$ac_ext
24506 ac_cpp='$CPP $CPPFLAGS'
24507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24508 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24514 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24515 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24517 if test $wx_cv_func_va_copy = "yes"; then
24518 cat >>confdefs.h <<\_ACEOF
24519 #define HAVE_VA_COPY 1
24523 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24524 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24525 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24526 echo $ECHO_N "(cached) $ECHO_C" >&6
24529 if test "$cross_compiling" = yes; then
24530 wx_cv_type_va_list_lvalue=yes
24533 cat >conftest.$ac_ext <<_ACEOF
24535 #include <stdarg.h>
24536 int foo(char *f, ...)
24541 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24549 return foo("hi", 17);
24552 rm -f conftest$ac_exeext
24553 if { (ac_try="$ac_link"
24554 case "(($ac_try" in
24555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24556 *) ac_try_echo=$ac_try;;
24558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24559 (eval "$ac_link") 2>&5
24561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24562 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24563 { (case "(($ac_try" in
24564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24565 *) ac_try_echo=$ac_try;;
24567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24568 (eval "$ac_try") 2>&5
24570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24571 (exit $ac_status); }; }; then
24572 wx_cv_type_va_list_lvalue=yes
24574 echo "$as_me: program exited with status $ac_status" >&5
24575 echo "$as_me: failed program was:" >&5
24576 sed 's
/^
/| /' conftest.$ac_ext >&5
24578 ( exit $ac_status )
24579 wx_cv_type_va_list_lvalue=no
24581 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24588 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24589 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24591 if test $wx_cv_type_va_list_lvalue != "yes"; then
24592 cat >>confdefs.h <<\_ACEOF
24593 #define VA_LIST_IS_ARRAY 1
24599 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24601 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24602 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24603 if test "${wx_cv_have_variadic_macros+set}" = set; then
24604 echo $ECHO_N "(cached) $ECHO_C" >&6
24608 ac_cpp='$CXXCPP $CPPFLAGS'
24609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24610 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24613 cat >conftest.$ac_ext <<_ACEOF
24616 cat confdefs.h >>conftest.$ac_ext
24617 cat >>conftest.$ac_ext <<_ACEOF
24618 /* end confdefs.h. */
24621 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24627 test("%s %d %p", "test", 1, 0);
24634 rm -f conftest.$ac_objext
24635 if { (ac_try="$ac_compile"
24636 case "(($ac_try" in
24637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24638 *) ac_try_echo=$ac_try;;
24640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24641 (eval "$ac_compile") 2>conftest.er1
24643 grep -v '^
*+' conftest.er1 >conftest.err
24645 cat conftest.err >&5
24646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24647 (exit $ac_status); } && {
24648 test -z "$ac_cxx_werror_flag" ||
24649 test ! -s conftest.err
24650 } && test -s conftest.$ac_objext; then
24651 wx_cv_have_variadic_macros=yes
24653 echo "$as_me: failed program was:" >&5
24654 sed 's
/^
/| /' conftest.$ac_ext >&5
24656 wx_cv_have_variadic_macros=no
24660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24662 ac_cpp='$CPP $CPPFLAGS'
24663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24664 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24670 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24671 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24673 if test $wx_cv_have_variadic_macros = "yes"; then
24674 cat >>confdefs.h <<\_ACEOF
24675 #define HAVE_VARIADIC_MACROS 1
24682 LARGEFILE_CPPFLAGS=
24683 # Check whether --enable-largefile was given.
24684 if test "${enable_largefile+set}" = set; then
24685 enableval=$enable_largefile;
24688 if test "$enable_largefile" != no; then
24691 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24692 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24693 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24694 echo $ECHO_N "(cached) $ECHO_C" >&6
24697 cat >conftest.$ac_ext <<_ACEOF
24700 cat confdefs.h >>conftest.$ac_ext
24701 cat >>conftest.$ac_ext <<_ACEOF
24702 /* end confdefs.h. */
24703 #define _FILE_OFFSET_BITS 64
24704 #include <sys/types.h>
24709 unsigned int field: sizeof(off_t) == 8;
24716 rm -f conftest.$ac_objext
24717 if { (ac_try="$ac_compile"
24718 case "(($ac_try" in
24719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24720 *) ac_try_echo=$ac_try;;
24722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24723 (eval "$ac_compile") 2>conftest.er1
24725 grep -v '^
*+' conftest.er1 >conftest.err
24727 cat conftest.err >&5
24728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24729 (exit $ac_status); } && {
24730 test -z "$ac_c_werror_flag" ||
24731 test ! -s conftest.err
24732 } && test -s conftest.$ac_objext; then
24733 ac_cv_sys_file_offset_bits=64
24735 echo "$as_me: failed program was:" >&5
24736 sed 's
/^
/| /' conftest.$ac_ext >&5
24738 ac_cv_sys_file_offset_bits=no
24741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24745 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24746 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24748 if test "$ac_cv_sys_file_offset_bits" != no; then
24750 cat >>confdefs.h <<_ACEOF
24751 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24756 if test "x$wx_largefile" != "xyes"; then
24758 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24759 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24760 if test "${ac_cv_sys_large_files+set}" = set; then
24761 echo $ECHO_N "(cached) $ECHO_C" >&6
24764 cat >conftest.$ac_ext <<_ACEOF
24767 cat confdefs.h >>conftest.$ac_ext
24768 cat >>conftest.$ac_ext <<_ACEOF
24769 /* end confdefs.h. */
24770 #define _LARGE_FILES 1
24771 #include <sys/types.h>
24776 unsigned int field: sizeof(off_t) == 8;
24783 rm -f conftest.$ac_objext
24784 if { (ac_try="$ac_compile"
24785 case "(($ac_try" in
24786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24787 *) ac_try_echo=$ac_try;;
24789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24790 (eval "$ac_compile") 2>conftest.er1
24792 grep -v '^
*+' conftest.er1 >conftest.err
24794 cat conftest.err >&5
24795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24796 (exit $ac_status); } && {
24797 test -z "$ac_c_werror_flag" ||
24798 test ! -s conftest.err
24799 } && test -s conftest.$ac_objext; then
24800 ac_cv_sys_large_files=1
24802 echo "$as_me: failed program was:" >&5
24803 sed 's
/^
/| /' conftest.$ac_ext >&5
24805 ac_cv_sys_large_files=no
24808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24812 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24813 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24815 if test "$ac_cv_sys_large_files" != no; then
24817 cat >>confdefs.h <<_ACEOF
24818 #define _LARGE_FILES $ac_cv_sys_large_files
24825 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24826 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24827 if test "x$wx_largefile" = "xyes"; then
24828 cat >>confdefs.h <<\_ACEOF
24829 #define HAVE_LARGEFILE_SUPPORT 1
24833 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24834 echo "${ECHO_T}$wx_largefile" >&6; }
24837 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24838 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24839 elif test "$ac_cv_sys_large_files" = 1; then
24840 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24843 if test -n "$LARGEFILE_CPPFLAGS"; then
24844 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24846 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24847 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24848 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24849 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24850 echo $ECHO_N "(cached) $ECHO_C" >&6
24854 ac_cpp='$CXXCPP $CPPFLAGS'
24855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24856 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24859 cat >conftest.$ac_ext <<_ACEOF
24862 cat confdefs.h >>conftest.$ac_ext
24863 cat >>conftest.$ac_ext <<_ACEOF
24864 /* end confdefs.h. */
24870 #ifndef __STDC_EXT__
24878 rm -f conftest.$ac_objext
24879 if { (ac_try="$ac_compile"
24880 case "(($ac_try" in
24881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24882 *) ac_try_echo=$ac_try;;
24884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24885 (eval "$ac_compile") 2>conftest.er1
24887 grep -v '^
*+' conftest.er1 >conftest.err
24889 cat conftest.err >&5
24890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24891 (exit $ac_status); } && {
24892 test -z "$ac_cxx_werror_flag" ||
24893 test ! -s conftest.err
24894 } && test -s conftest.$ac_objext; then
24895 wx_cv_STDC_EXT_required=no
24897 echo "$as_me: failed program was:" >&5
24898 sed 's
/^
/| /' conftest.$ac_ext >&5
24900 wx_cv_STDC_EXT_required=yes
24904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24906 ac_cpp='$CPP $CPPFLAGS'
24907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24908 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24914 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24915 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24916 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24917 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24923 ac_cpp='$CXXCPP $CPPFLAGS'
24924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24925 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24928 old_CPPFLAGS="$CPPFLAGS"
24929 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24930 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24931 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24932 if test "${ac_cv_sys_largefile_source+set}" = set; then
24933 echo $ECHO_N "(cached) $ECHO_C" >&6
24936 cat >conftest.$ac_ext <<_ACEOF
24939 cat confdefs.h >>conftest.$ac_ext
24940 cat >>conftest.$ac_ext <<_ACEOF
24941 /* end confdefs.h. */
24942 #include <sys/types.h> /* for off_t */
24947 int (*fp) (FILE *, off_t, int) = fseeko;
24948 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24953 rm -f conftest.$ac_objext conftest$ac_exeext
24954 if { (ac_try="$ac_link"
24955 case "(($ac_try" in
24956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24957 *) ac_try_echo=$ac_try;;
24959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24960 (eval "$ac_link") 2>conftest.er1
24962 grep -v '^
*+' conftest.er1 >conftest.err
24964 cat conftest.err >&5
24965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24966 (exit $ac_status); } && {
24967 test -z "$ac_cxx_werror_flag" ||
24968 test ! -s conftest.err
24969 } && test -s conftest$ac_exeext &&
24970 $as_test_x conftest$ac_exeext; then
24971 ac_cv_sys_largefile_source=no; break
24973 echo "$as_me: failed program was:" >&5
24974 sed 's
/^
/| /' conftest.$ac_ext >&5
24979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24980 conftest$ac_exeext conftest.$ac_ext
24981 cat >conftest.$ac_ext <<_ACEOF
24984 cat confdefs.h >>conftest.$ac_ext
24985 cat >>conftest.$ac_ext <<_ACEOF
24986 /* end confdefs.h. */
24987 #define _LARGEFILE_SOURCE 1
24988 #include <sys/types.h> /* for off_t */
24993 int (*fp) (FILE *, off_t, int) = fseeko;
24994 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24999 rm -f conftest.$ac_objext conftest$ac_exeext
25000 if { (ac_try="$ac_link"
25001 case "(($ac_try" in
25002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25003 *) ac_try_echo=$ac_try;;
25005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25006 (eval "$ac_link") 2>conftest.er1
25008 grep -v '^
*+' conftest.er1 >conftest.err
25010 cat conftest.err >&5
25011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25012 (exit $ac_status); } && {
25013 test -z "$ac_cxx_werror_flag" ||
25014 test ! -s conftest.err
25015 } && test -s conftest$ac_exeext &&
25016 $as_test_x conftest$ac_exeext; then
25017 ac_cv_sys_largefile_source=1; break
25019 echo "$as_me: failed program was:" >&5
25020 sed 's
/^
/| /' conftest.$ac_ext >&5
25025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25026 conftest$ac_exeext conftest.$ac_ext
25027 ac_cv_sys_largefile_source=unknown
25031 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25032 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25033 case $ac_cv_sys_largefile_source in #(
25036 cat >>confdefs.h <<_ACEOF
25037 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25043 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25044 # in glibc 2.1.3, but that breaks too many other things.
25045 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25046 if test $ac_cv_sys_largefile_source != unknown; then
25048 cat >>confdefs.h <<\_ACEOF
25049 #define HAVE_FSEEKO 1
25054 CPPFLAGS="$old_CPPFLAGS"
25056 ac_cpp='$CPP $CPPFLAGS'
25057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25058 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25061 if test "$ac_cv_sys_largefile_source" != no; then
25062 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25065 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25066 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25067 if test "${ac_cv_c_bigendian+set}" = set; then
25068 echo $ECHO_N "(cached) $ECHO_C" >&6
25070 ac_cv_c_bigendian=unknown
25071 # See if sys/param.h defines the BYTE_ORDER macro.
25072 cat >conftest.$ac_ext <<_ACEOF
25075 cat confdefs.h >>conftest.$ac_ext
25076 cat >>conftest.$ac_ext <<_ACEOF
25077 /* end confdefs.h. */
25078 #include <sys/types.h>
25079 #include <sys/param.h>
25084 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25085 bogus endian macros
25091 rm -f conftest.$ac_objext
25092 if { (ac_try="$ac_compile"
25093 case "(($ac_try" in
25094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25095 *) ac_try_echo=$ac_try;;
25097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25098 (eval "$ac_compile") 2>conftest.er1
25100 grep -v '^
*+' conftest.er1 >conftest.err
25102 cat conftest.err >&5
25103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25104 (exit $ac_status); } && {
25105 test -z "$ac_c_werror_flag" ||
25106 test ! -s conftest.err
25107 } && test -s conftest.$ac_objext; then
25108 # It does; now see whether it defined to BIG_ENDIAN or not.
25109 cat >conftest.$ac_ext <<_ACEOF
25112 cat confdefs.h >>conftest.$ac_ext
25113 cat >>conftest.$ac_ext <<_ACEOF
25114 /* end confdefs.h. */
25115 #include <sys/types.h>
25116 #include <sys/param.h>
25121 #if BYTE_ORDER != BIG_ENDIAN
25128 rm -f conftest.$ac_objext
25129 if { (ac_try="$ac_compile"
25130 case "(($ac_try" in
25131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25132 *) ac_try_echo=$ac_try;;
25134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25135 (eval "$ac_compile") 2>conftest.er1
25137 grep -v '^
*+' conftest.er1 >conftest.err
25139 cat conftest.err >&5
25140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25141 (exit $ac_status); } && {
25142 test -z "$ac_c_werror_flag" ||
25143 test ! -s conftest.err
25144 } && test -s conftest.$ac_objext; then
25145 ac_cv_c_bigendian=yes
25147 echo "$as_me: failed program was:" >&5
25148 sed 's
/^
/| /' conftest.$ac_ext >&5
25150 ac_cv_c_bigendian=no
25153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25155 echo "$as_me: failed program was:" >&5
25156 sed 's
/^
/| /' conftest.$ac_ext >&5
25161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25162 if test $ac_cv_c_bigendian = unknown; then
25163 if test "$cross_compiling" = yes; then
25164 ac_cv_c_bigendian=unknown
25166 cat >conftest.$ac_ext <<_ACEOF
25169 cat confdefs.h >>conftest.$ac_ext
25170 cat >>conftest.$ac_ext <<_ACEOF
25171 /* end confdefs.h. */
25173 /* Are we little or big endian? From Harbison&Steele. */
25177 char c[sizeof (long)];
25180 exit (u.c[sizeof (long) - 1] == 1);
25183 rm -f conftest$ac_exeext
25184 if { (ac_try="$ac_link"
25185 case "(($ac_try" in
25186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25187 *) ac_try_echo=$ac_try;;
25189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25190 (eval "$ac_link") 2>&5
25192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25193 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
25194 { (case "(($ac_try" in
25195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25196 *) ac_try_echo=$ac_try;;
25198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25199 (eval "$ac_try") 2>&5
25201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25202 (exit $ac_status); }; }; then
25203 ac_cv_c_bigendian=no
25205 echo "$as_me: program exited with status $ac_status" >&5
25206 echo "$as_me: failed program was:" >&5
25207 sed 's
/^
/| /' conftest.$ac_ext >&5
25209 ( exit $ac_status )
25210 ac_cv_c_bigendian=yes
25212 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25218 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25219 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25220 if test $ac_cv_c_bigendian = unknown; then
25221 { 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
25222 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;}
25224 if test $ac_cv_c_bigendian = yes; then
25225 cat >>confdefs.h <<\_ACEOF
25226 #define WORDS_BIGENDIAN 1
25235 ac_cpp='$CXXCPP $CPPFLAGS'
25236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25237 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25242 for ac_header in iostream
25244 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25245 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25246 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25247 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25248 echo $ECHO_N "(cached) $ECHO_C" >&6
25250 cat >conftest.$ac_ext <<_ACEOF
25253 cat confdefs.h >>conftest.$ac_ext
25254 cat >>conftest.$ac_ext <<_ACEOF
25255 /* end confdefs.h. */
25258 #include <$ac_header>
25260 rm -f conftest.$ac_objext
25261 if { (ac_try="$ac_compile"
25262 case "(($ac_try" in
25263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25264 *) ac_try_echo=$ac_try;;
25266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25267 (eval "$ac_compile") 2>conftest.er1
25269 grep -v '^
*+' conftest.er1 >conftest.err
25271 cat conftest.err >&5
25272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25273 (exit $ac_status); } && {
25274 test -z "$ac_cxx_werror_flag" ||
25275 test ! -s conftest.err
25276 } && test -s conftest.$ac_objext; then
25277 eval "$as_ac_Header=yes"
25279 echo "$as_me: failed program was:" >&5
25280 sed 's
/^
/| /' conftest.$ac_ext >&5
25282 eval "$as_ac_Header=no"
25285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25287 ac_res=`eval echo '${'$as_ac_Header'}'`
25288 { echo "$as_me:$LINENO: result: $ac_res" >&5
25289 echo "${ECHO_T}$ac_res" >&6; }
25290 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25291 cat >>confdefs.h <<_ACEOF
25292 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25300 if test "$ac_cv_header_iostream" = "yes" ; then
25303 cat >>confdefs.h <<\_ACEOF
25304 #define wxUSE_IOSTREAMH 1
25310 ac_cpp='$CPP $CPPFLAGS'
25311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25312 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25318 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25319 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25320 if test "${wx_cv_explicit+set}" = set; then
25321 echo $ECHO_N "(cached) $ECHO_C" >&6
25326 ac_cpp='$CXXCPP $CPPFLAGS'
25327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25328 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25332 cat >conftest.$ac_ext <<_ACEOF
25335 cat confdefs.h >>conftest.$ac_ext
25336 cat >>conftest.$ac_ext <<_ACEOF
25337 /* end confdefs.h. */
25339 class Foo { public: explicit Foo(int) {} };
25351 rm -f conftest.$ac_objext
25352 if { (ac_try="$ac_compile"
25353 case "(($ac_try" in
25354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25355 *) ac_try_echo=$ac_try;;
25357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25358 (eval "$ac_compile") 2>conftest.er1
25360 grep -v '^
*+' conftest.er1 >conftest.err
25362 cat conftest.err >&5
25363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25364 (exit $ac_status); } && {
25365 test -z "$ac_cxx_werror_flag" ||
25366 test ! -s conftest.err
25367 } && test -s conftest.$ac_objext; then
25369 cat >conftest.$ac_ext <<_ACEOF
25372 cat confdefs.h >>conftest.$ac_ext
25373 cat >>conftest.$ac_ext <<_ACEOF
25374 /* end confdefs.h. */
25376 class Foo { public: explicit Foo(int) {} };
25377 static void TakeFoo(const Foo& foo) { }
25390 rm -f conftest.$ac_objext
25391 if { (ac_try="$ac_compile"
25392 case "(($ac_try" in
25393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25394 *) ac_try_echo=$ac_try;;
25396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25397 (eval "$ac_compile") 2>conftest.er1
25399 grep -v '^
*+' conftest.er1 >conftest.err
25401 cat conftest.err >&5
25402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25403 (exit $ac_status); } && {
25404 test -z "$ac_cxx_werror_flag" ||
25405 test ! -s conftest.err
25406 } && test -s conftest.$ac_objext; then
25409 echo "$as_me: failed program was:" >&5
25410 sed 's
/^
/| /' conftest.$ac_ext >&5
25416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25419 echo "$as_me: failed program was:" >&5
25420 sed 's
/^
/| /' conftest.$ac_ext >&5
25426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25429 ac_cpp='$CPP $CPPFLAGS'
25430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25431 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25436 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25437 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25439 if test "$wx_cv_explicit" = "yes"; then
25440 cat >>confdefs.h <<\_ACEOF
25441 #define HAVE_EXPLICIT 1
25447 if test "x$SUNCXX" = xyes; then
25448 CXXFLAGS="-features=tmplife $CXXFLAGS"
25451 if test "x$SUNCC" = xyes; then
25452 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25455 if test "x$SGICC" = "xyes"; then
25456 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25457 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25458 if test "${wx_cv_prog_sgicc744+set}" = set; then
25459 echo $ECHO_N "(cached) $ECHO_C" >&6
25462 cat >conftest.$ac_ext <<_ACEOF
25465 cat confdefs.h >>conftest.$ac_ext
25466 cat >>conftest.$ac_ext <<_ACEOF
25467 /* end confdefs.h. */
25473 #if _SGI_COMPILER_VERSION >= 744
25474 chock me: mipsPro is 7.4.4 or later
25481 rm -f conftest.$ac_objext
25482 if { (ac_try="$ac_compile"
25483 case "(($ac_try" in
25484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25485 *) ac_try_echo=$ac_try;;
25487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25488 (eval "$ac_compile") 2>conftest.er1
25490 grep -v '^
*+' conftest.er1 >conftest.err
25492 cat conftest.err >&5
25493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25494 (exit $ac_status); } && {
25495 test -z "$ac_c_werror_flag" ||
25496 test ! -s conftest.err
25497 } && test -s conftest.$ac_objext; then
25498 wx_cv_prog_sgicc744=no
25500 echo "$as_me: failed program was:" >&5
25501 sed 's
/^
/| /' conftest.$ac_ext >&5
25503 wx_cv_prog_sgicc744=yes
25507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25511 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25512 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25514 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25515 CFLAGS="-woff 3970 $CFLAGS"
25518 if test "x$SGICXX" = "xyes"; then
25519 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25520 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25521 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25522 echo $ECHO_N "(cached) $ECHO_C" >&6
25526 ac_cpp='$CXXCPP $CPPFLAGS'
25527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25528 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25531 cat >conftest.$ac_ext <<_ACEOF
25534 cat confdefs.h >>conftest.$ac_ext
25535 cat >>conftest.$ac_ext <<_ACEOF
25536 /* end confdefs.h. */
25542 #if _SGI_COMPILER_VERSION >= 744
25543 chock me: mipsPro is 7.4.4 or later
25550 rm -f conftest.$ac_objext
25551 if { (ac_try="$ac_compile"
25552 case "(($ac_try" in
25553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25554 *) ac_try_echo=$ac_try;;
25556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25557 (eval "$ac_compile") 2>conftest.er1
25559 grep -v '^
*+' conftest.er1 >conftest.err
25561 cat conftest.err >&5
25562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25563 (exit $ac_status); } && {
25564 test -z "$ac_cxx_werror_flag" ||
25565 test ! -s conftest.err
25566 } && test -s conftest.$ac_objext; then
25567 wx_cv_prog_sgicxx744=no
25569 echo "$as_me: failed program was:" >&5
25570 sed 's
/^
/| /' conftest.$ac_ext >&5
25572 wx_cv_prog_sgicxx744=yes
25576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25578 ac_cpp='$CPP $CPPFLAGS'
25579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25580 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25586 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25587 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25589 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25590 CXXFLAGS="-woff 3970 $CXXFLAGS"
25594 if test "x$HPCC" = "xyes"; then
25595 CFLAGS="+W 2011,2450 $CFLAGS"
25597 if test "x$HPCXX" = "xyes"; then
25598 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25601 if test "x$COMPAQCXX" = "xyes"; then
25602 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25606 ac_cpp='$CXXCPP $CPPFLAGS'
25607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25608 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25612 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25613 if test "$wxUSE_UNICODE" = "yes"; then
25614 std_string="std::wstring"
25615 char_type="wchar_t"
25617 std_string="std::string"
25621 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25622 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25623 if test "${wx_cv_class_stdstring+set}" = set; then
25624 echo $ECHO_N "(cached) $ECHO_C" >&6
25627 cat >conftest.$ac_ext <<_ACEOF
25630 cat confdefs.h >>conftest.$ac_ext
25631 cat >>conftest.$ac_ext <<_ACEOF
25632 /* end confdefs.h. */
25642 rm -f conftest.$ac_objext
25643 if { (ac_try="$ac_compile"
25644 case "(($ac_try" in
25645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25646 *) ac_try_echo=$ac_try;;
25648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25649 (eval "$ac_compile") 2>conftest.er1
25651 grep -v '^
*+' conftest.er1 >conftest.err
25653 cat conftest.err >&5
25654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25655 (exit $ac_status); } && {
25656 test -z "$ac_cxx_werror_flag" ||
25657 test ! -s conftest.err
25658 } && test -s conftest.$ac_objext; then
25659 wx_cv_class_stdstring=yes
25661 echo "$as_me: failed program was:" >&5
25662 sed 's
/^
/| /' conftest.$ac_ext >&5
25664 wx_cv_class_stdstring=no
25668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25672 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25673 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25675 if test "$wx_cv_class_stdstring" = yes; then
25676 if test "$wxUSE_UNICODE" = "yes"; then
25677 cat >>confdefs.h <<\_ACEOF
25678 #define HAVE_STD_WSTRING 1
25683 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25684 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25685 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25686 echo $ECHO_N "(cached) $ECHO_C" >&6
25689 cat >conftest.$ac_ext <<_ACEOF
25692 cat confdefs.h >>conftest.$ac_ext
25693 cat >>conftest.$ac_ext <<_ACEOF
25694 /* end confdefs.h. */
25696 #ifdef HAVE_WCHAR_H
25698 # include <stddef.h>
25700 # include <wchar.h>
25702 #ifdef HAVE_STDLIB_H
25703 # include <stdlib.h>
25711 std::basic_string<$char_type> foo;
25712 const $char_type* dummy = foo.c_str();
25717 rm -f conftest.$ac_objext
25718 if { (ac_try="$ac_compile"
25719 case "(($ac_try" in
25720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25721 *) ac_try_echo=$ac_try;;
25723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25724 (eval "$ac_compile") 2>conftest.er1
25726 grep -v '^
*+' conftest.er1 >conftest.err
25728 cat conftest.err >&5
25729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25730 (exit $ac_status); } && {
25731 test -z "$ac_cxx_werror_flag" ||
25732 test ! -s conftest.err
25733 } && test -s conftest.$ac_objext; then
25734 wx_cv_class_stdbasicstring=yes
25736 echo "$as_me: failed program was:" >&5
25737 sed 's
/^
/| /' conftest.$ac_ext >&5
25739 wx_cv_class_stdbasicstring=no
25743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25747 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25748 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25750 if test "$wx_cv_class_stdbasicstring" != yes; then
25751 if test "$wxUSE_STL" = "yes"; then
25752 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
25753 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25754 { (exit 1); exit 1; }; }
25755 elif test "$wxUSE_STD_STRING" = "yes"; then
25756 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
25757 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25758 { (exit 1); exit 1; }; }
25760 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25761 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25762 wxUSE_STD_STRING=no
25768 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25769 { echo "$as_me:$LINENO: checking for std::istream" >&5
25770 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25771 if test "${ac_cv_type_std__istream+set}" = set; then
25772 echo $ECHO_N "(cached) $ECHO_C" >&6
25774 cat >conftest.$ac_ext <<_ACEOF
25777 cat confdefs.h >>conftest.$ac_ext
25778 cat >>conftest.$ac_ext <<_ACEOF
25779 /* end confdefs.h. */
25780 #include <iostream>
25782 typedef std::istream ac__type_new_;
25786 if ((ac__type_new_ *) 0)
25788 if (sizeof (ac__type_new_))
25794 rm -f conftest.$ac_objext
25795 if { (ac_try="$ac_compile"
25796 case "(($ac_try" in
25797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25798 *) ac_try_echo=$ac_try;;
25800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25801 (eval "$ac_compile") 2>conftest.er1
25803 grep -v '^
*+' conftest.er1 >conftest.err
25805 cat conftest.err >&5
25806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25807 (exit $ac_status); } && {
25808 test -z "$ac_cxx_werror_flag" ||
25809 test ! -s conftest.err
25810 } && test -s conftest.$ac_objext; then
25811 ac_cv_type_std__istream=yes
25813 echo "$as_me: failed program was:" >&5
25814 sed 's
/^
/| /' conftest.$ac_ext >&5
25816 ac_cv_type_std__istream=no
25819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25821 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25822 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25823 if test $ac_cv_type_std__istream = yes; then
25825 cat >>confdefs.h <<_ACEOF
25826 #define HAVE_STD__ISTREAM 1
25831 wxUSE_STD_IOSTREAM=no
25833 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25834 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25835 if test "${ac_cv_type_std__ostream+set}" = set; then
25836 echo $ECHO_N "(cached) $ECHO_C" >&6
25838 cat >conftest.$ac_ext <<_ACEOF
25841 cat confdefs.h >>conftest.$ac_ext
25842 cat >>conftest.$ac_ext <<_ACEOF
25843 /* end confdefs.h. */
25844 #include <iostream>
25846 typedef std::ostream ac__type_new_;
25850 if ((ac__type_new_ *) 0)
25852 if (sizeof (ac__type_new_))
25858 rm -f conftest.$ac_objext
25859 if { (ac_try="$ac_compile"
25860 case "(($ac_try" in
25861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25862 *) ac_try_echo=$ac_try;;
25864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25865 (eval "$ac_compile") 2>conftest.er1
25867 grep -v '^
*+' conftest.er1 >conftest.err
25869 cat conftest.err >&5
25870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25871 (exit $ac_status); } && {
25872 test -z "$ac_cxx_werror_flag" ||
25873 test ! -s conftest.err
25874 } && test -s conftest.$ac_objext; then
25875 ac_cv_type_std__ostream=yes
25877 echo "$as_me: failed program was:" >&5
25878 sed 's
/^
/| /' conftest.$ac_ext >&5
25880 ac_cv_type_std__ostream=no
25883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25885 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25886 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25887 if test $ac_cv_type_std__ostream = yes; then
25889 cat >>confdefs.h <<_ACEOF
25890 #define HAVE_STD__OSTREAM 1
25895 wxUSE_STD_IOSTREAM=no
25899 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25900 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25901 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
25902 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25903 { (exit 1); exit 1; }; }
25905 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25906 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25911 if test "$wxUSE_STL" = "yes"; then
25912 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25913 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25914 if test "${wx_cv_lib_stl+set}" = set; then
25915 echo $ECHO_N "(cached) $ECHO_C" >&6
25917 cat >conftest.$ac_ext <<_ACEOF
25920 cat confdefs.h >>conftest.$ac_ext
25921 cat >>conftest.$ac_ext <<_ACEOF
25922 /* end confdefs.h. */
25924 #include <functional>
25925 #include <algorithm>
25931 std::vector<int> moo;
25932 std::list<int> foo;
25933 std::vector<int>::iterator it =
25934 std::find_if(moo.begin(), moo.end(),
25935 std::bind2nd(std::less<int>(), 3));
25940 rm -f conftest.$ac_objext
25941 if { (ac_try="$ac_compile"
25942 case "(($ac_try" in
25943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25944 *) ac_try_echo=$ac_try;;
25946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25947 (eval "$ac_compile") 2>conftest.er1
25949 grep -v '^
*+' conftest.er1 >conftest.err
25951 cat conftest.err >&5
25952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25953 (exit $ac_status); } && {
25954 test -z "$ac_cxx_werror_flag" ||
25955 test ! -s conftest.err
25956 } && test -s conftest.$ac_objext; then
25959 echo "$as_me: failed program was:" >&5
25960 sed 's
/^
/| /' conftest.$ac_ext >&5
25966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25969 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25970 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25972 if test "$wx_cv_lib_stl" != yes; then
25973 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
25974 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
25975 { (exit 1); exit 1; }; }
25978 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25979 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25980 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25981 echo $ECHO_N "(cached) $ECHO_C" >&6
25983 cat >conftest.$ac_ext <<_ACEOF
25986 cat confdefs.h >>conftest.$ac_ext
25987 cat >>conftest.$ac_ext <<_ACEOF
25988 /* end confdefs.h. */
25993 std::string foo, bar;
25995 foo.compare(1, 1, bar);
25996 foo.compare(1, 1, bar, 1, 1);
25998 foo.compare(1, 1, "");
25999 foo.compare(1, 1, "", 2);
26004 rm -f conftest.$ac_objext
26005 if { (ac_try="$ac_compile"
26006 case "(($ac_try" in
26007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26008 *) ac_try_echo=$ac_try;;
26010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26011 (eval "$ac_compile") 2>conftest.er1
26013 grep -v '^
*+' conftest.er1 >conftest.err
26015 cat conftest.err >&5
26016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26017 (exit $ac_status); } && {
26018 test -z "$ac_cxx_werror_flag" ||
26019 test ! -s conftest.err
26020 } && test -s conftest.$ac_objext; then
26021 wx_cv_func_stdstring_compare=yes
26023 echo "$as_me: failed program was:" >&5
26024 sed 's
/^
/| /' conftest.$ac_ext >&5
26026 wx_cv_func_stdstring_compare=no
26030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26033 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26034 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
26036 if test "$wx_cv_func_stdstring_compare" = yes; then
26037 cat >>confdefs.h <<\_ACEOF
26038 #define HAVE_STD_STRING_COMPARE 1
26043 if test "$wx_cv_class_gnuhashmapset" = yes; then
26044 cat >>confdefs.h <<\_ACEOF
26045 #define HAVE_EXT_HASH_MAP 1
26048 cat >>confdefs.h <<\_ACEOF
26049 #define HAVE_GNU_CXX_HASH_MAP 1
26054 { echo "$as_me:$LINENO: checking for unordered_map" >&5
26055 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
26056 if test "${ac_cv_header_unordered_map+set}" = set; then
26057 echo $ECHO_N "(cached) $ECHO_C" >&6
26059 cat >conftest.$ac_ext <<_ACEOF
26062 cat confdefs.h >>conftest.$ac_ext
26063 cat >>conftest.$ac_ext <<_ACEOF
26064 /* end confdefs.h. */
26068 #include <unordered_map>
26070 rm -f conftest.$ac_objext
26071 if { (ac_try="$ac_compile"
26072 case "(($ac_try" in
26073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26074 *) ac_try_echo=$ac_try;;
26076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26077 (eval "$ac_compile") 2>conftest.er1
26079 grep -v '^
*+' conftest.er1 >conftest.err
26081 cat conftest.err >&5
26082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26083 (exit $ac_status); } && {
26084 test -z "$ac_cxx_werror_flag" ||
26085 test ! -s conftest.err
26086 } && test -s conftest.$ac_objext; then
26087 ac_cv_header_unordered_map=yes
26089 echo "$as_me: failed program was:" >&5
26090 sed 's
/^
/| /' conftest.$ac_ext >&5
26092 ac_cv_header_unordered_map=no
26095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26097 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
26098 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
26099 if test $ac_cv_header_unordered_map = yes; then
26100 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
26101 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
26102 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
26103 echo $ECHO_N "(cached) $ECHO_C" >&6
26105 cat >conftest.$ac_ext <<_ACEOF
26108 cat confdefs.h >>conftest.$ac_ext
26109 cat >>conftest.$ac_ext <<_ACEOF
26110 /* end confdefs.h. */
26111 #include <unordered_map>
26112 #include <unordered_set>
26116 std::unordered_map<double*, char*> test1;
26117 std::unordered_set<char*> test2;
26122 rm -f conftest.$ac_objext
26123 if { (ac_try="$ac_compile"
26124 case "(($ac_try" in
26125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26126 *) ac_try_echo=$ac_try;;
26128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26129 (eval "$ac_compile") 2>conftest.er1
26131 grep -v '^
*+' conftest.er1 >conftest.err
26133 cat conftest.err >&5
26134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26135 (exit $ac_status); } && {
26136 test -z "$ac_cxx_werror_flag" ||
26137 test ! -s conftest.err
26138 } && test -s conftest.$ac_objext; then
26139 wx_cv_class_stdunorderedmapset=yes
26141 echo "$as_me: failed program was:" >&5
26142 sed 's
/^
/| /' conftest.$ac_ext >&5
26144 wx_cv_class_stdunorderedmapset=no
26147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26151 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
26152 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
26157 if test "$wx_cv_class_stdunorderedmapset" = yes; then
26158 cat >>confdefs.h <<\_ACEOF
26159 #define HAVE_STD_UNORDERED_MAP 1
26162 cat >>confdefs.h <<\_ACEOF
26163 #define HAVE_STD_UNORDERED_SET 1
26167 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
26168 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
26169 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
26170 echo $ECHO_N "(cached) $ECHO_C" >&6
26172 cat >conftest.$ac_ext <<_ACEOF
26175 cat confdefs.h >>conftest.$ac_ext
26176 cat >>conftest.$ac_ext <<_ACEOF
26177 /* end confdefs.h. */
26181 #include <tr1/unordered_map>
26183 rm -f conftest.$ac_objext
26184 if { (ac_try="$ac_compile"
26185 case "(($ac_try" in
26186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26187 *) ac_try_echo=$ac_try;;
26189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26190 (eval "$ac_compile") 2>conftest.er1
26192 grep -v '^
*+' conftest.er1 >conftest.err
26194 cat conftest.err >&5
26195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26196 (exit $ac_status); } && {
26197 test -z "$ac_cxx_werror_flag" ||
26198 test ! -s conftest.err
26199 } && test -s conftest.$ac_objext; then
26200 ac_cv_header_tr1_unordered_map=yes
26202 echo "$as_me: failed program was:" >&5
26203 sed 's
/^
/| /' conftest.$ac_ext >&5
26205 ac_cv_header_tr1_unordered_map=no
26208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26210 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
26211 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
26212 if test $ac_cv_header_tr1_unordered_map = yes; then
26213 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
26214 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
26215 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
26216 echo $ECHO_N "(cached) $ECHO_C" >&6
26218 cat >conftest.$ac_ext <<_ACEOF
26221 cat confdefs.h >>conftest.$ac_ext
26222 cat >>conftest.$ac_ext <<_ACEOF
26223 /* end confdefs.h. */
26224 #include <tr1/unordered_map>
26225 #include <tr1/unordered_set>
26229 std::tr1::unordered_map<double*, char*> test1;
26230 std::tr1::unordered_set<char*> test2;
26231 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
26232 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
26238 rm -f conftest.
$ac_objext
26239 if { (ac_try
="$ac_compile"
26240 case "(($ac_try" in
26241 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26242 *) ac_try_echo=$ac_try;;
26244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26245 (eval "$ac_compile") 2>conftest.er1
26247 grep -v '^ *+' conftest.er1 >conftest.err
26249 cat conftest.err >&5
26250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26251 (exit $ac_status); } && {
26252 test -z "$ac_cxx_werror_flag" ||
26253 test ! -s conftest.err
26254 } && test -s conftest.$ac_objext; then
26255 wx_cv_class_tr1unorderedmapset=yes
26257 echo "$as_me: failed program was:" >&5
26258 sed 's/^/| /' conftest.$ac_ext >&5
26260 wx_cv_class_tr1unorderedmapset=no
26263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26267 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
26268 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
26273 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
26274 cat >>confdefs.h <<\_ACEOF
26275 #define HAVE_TR1_UNORDERED_MAP 1
26278 cat >>confdefs.h <<\_ACEOF
26279 #define HAVE_TR1_UNORDERED_SET 1
26283 { echo "$as_me:$LINENO: checking for hash_map" >&5
26284 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26285 if test "${ac_cv_header_hash_map+set}" = set; then
26286 echo $ECHO_N "(cached) $ECHO_C" >&6
26288 cat >conftest.$ac_ext <<_ACEOF
26291 cat confdefs.h >>conftest.$ac_ext
26292 cat >>conftest.$ac_ext <<_ACEOF
26293 /* end confdefs.h. */
26297 #include <hash_map>
26299 rm -f conftest.$ac_objext
26300 if { (ac_try="$ac_compile"
26301 case "(($ac_try" in
26302 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26303 *) ac_try_echo
=$ac_try;;
26305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26306 (eval "$ac_compile") 2>conftest.er1
26308 grep -v '^ *+' conftest.er1
>conftest.err
26310 cat conftest.err
>&5
26311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26312 (exit $ac_status); } && {
26313 test -z "$ac_cxx_werror_flag" ||
26314 test ! -s conftest.err
26315 } && test -s conftest.
$ac_objext; then
26316 ac_cv_header_hash_map
=yes
26318 echo "$as_me: failed program was:" >&5
26319 sed 's/^/| /' conftest.
$ac_ext >&5
26321 ac_cv_header_hash_map
=no
26324 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26326 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26327 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26328 if test $ac_cv_header_hash_map = yes; then
26329 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
26330 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
26331 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26332 echo $ECHO_N "(cached) $ECHO_C" >&6
26334 cat >conftest.
$ac_ext <<_ACEOF
26337 cat confdefs.h
>>conftest.
$ac_ext
26338 cat >>conftest.
$ac_ext <<_ACEOF
26339 /* end confdefs.h. */
26340 #include <hash_map>
26341 #include <hash_set>
26345 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26346 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26351 rm -f conftest.
$ac_objext
26352 if { (ac_try
="$ac_compile"
26353 case "(($ac_try" in
26354 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26355 *) ac_try_echo=$ac_try;;
26357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26358 (eval "$ac_compile") 2>conftest.er1
26360 grep -v '^ *+' conftest.er1 >conftest.err
26362 cat conftest.err >&5
26363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26364 (exit $ac_status); } && {
26365 test -z "$ac_cxx_werror_flag" ||
26366 test ! -s conftest.err
26367 } && test -s conftest.$ac_objext; then
26368 wx_cv_class_stdhashmapset=yes
26370 echo "$as_me: failed program was:" >&5
26371 sed 's/^/| /' conftest.$ac_ext >&5
26373 wx_cv_class_stdhashmapset=no
26376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26380 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26381 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26386 if test "$wx_cv_class_stdhashmapset" = yes; then
26387 cat >>confdefs.h <<\_ACEOF
26388 #define HAVE_HASH_MAP 1
26391 cat >>confdefs.h <<\_ACEOF
26392 #define HAVE_STD_HASH_MAP 1
26397 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26398 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26399 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26400 echo $ECHO_N "(cached) $ECHO_C" >&6
26402 cat >conftest.$ac_ext <<_ACEOF
26405 cat confdefs.h >>conftest.$ac_ext
26406 cat >>conftest.$ac_ext <<_ACEOF
26407 /* end confdefs.h. */
26411 #include <ext/hash_map>
26413 rm -f conftest.$ac_objext
26414 if { (ac_try="$ac_compile"
26415 case "(($ac_try" in
26416 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26417 *) ac_try_echo
=$ac_try;;
26419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26420 (eval "$ac_compile") 2>conftest.er1
26422 grep -v '^ *+' conftest.er1
>conftest.err
26424 cat conftest.err
>&5
26425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26426 (exit $ac_status); } && {
26427 test -z "$ac_cxx_werror_flag" ||
26428 test ! -s conftest.err
26429 } && test -s conftest.
$ac_objext; then
26430 ac_cv_header_ext_hash_map
=yes
26432 echo "$as_me: failed program was:" >&5
26433 sed 's/^/| /' conftest.
$ac_ext >&5
26435 ac_cv_header_ext_hash_map
=no
26438 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26440 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26441 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26442 if test $ac_cv_header_ext_hash_map = yes; then
26443 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26444 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26445 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26446 echo $ECHO_N "(cached) $ECHO_C" >&6
26448 cat >conftest.
$ac_ext <<_ACEOF
26451 cat confdefs.h
>>conftest.
$ac_ext
26452 cat >>conftest.
$ac_ext <<_ACEOF
26453 /* end confdefs.h. */
26454 #include <ext/hash_map>
26455 #include <ext/hash_set>
26459 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26460 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26465 rm -f conftest.
$ac_objext
26466 if { (ac_try
="$ac_compile"
26467 case "(($ac_try" in
26468 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26469 *) ac_try_echo=$ac_try;;
26471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26472 (eval "$ac_compile") 2>conftest.er1
26474 grep -v '^ *+' conftest.er1 >conftest.err
26476 cat conftest.err >&5
26477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26478 (exit $ac_status); } && {
26479 test -z "$ac_cxx_werror_flag" ||
26480 test ! -s conftest.err
26481 } && test -s conftest.$ac_objext; then
26482 wx_cv_class_gnuhashmapset=yes
26484 echo "$as_me: failed program was:" >&5
26485 sed 's/^/| /' conftest.$ac_ext >&5
26487 wx_cv_class_gnuhashmapset=no
26490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26494 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26495 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26505 ac_cpp='$CXXCPP $CPPFLAGS'
26506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26509 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26510 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26511 if test -z "$CXXCPP"; then
26512 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26513 echo $ECHO_N "(cached) $ECHO_C" >&6
26515 # Double quotes because CXXCPP needs to be expanded
26516 for CXXCPP in "$CXX -E" "/lib/cpp"
26518 ac_preproc_ok=false
26519 for ac_cxx_preproc_warn_flag in '' yes
26521 # Use a header file that comes with gcc, so configuring glibc
26522 # with a fresh cross-compiler works.
26523 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26524 # <limits.h> exists even on freestanding compilers.
26525 # On the NeXT, cc -E runs the code through the compiler's parser,
26526 # not just through cpp. "Syntax error" is here to catch this case.
26527 cat >conftest.$ac_ext <<_ACEOF
26530 cat confdefs.h >>conftest.$ac_ext
26531 cat >>conftest.$ac_ext <<_ACEOF
26532 /* end confdefs.h. */
26534 # include <limits.h>
26536 # include <assert.h>
26540 if { (ac_try="$ac_cpp conftest.$ac_ext"
26541 case "(($ac_try" in
26542 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26543 *) ac_try_echo
=$ac_try;;
26545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26546 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26548 grep -v '^ *+' conftest.er1
>conftest.err
26550 cat conftest.err
>&5
26551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26552 (exit $ac_status); } >/dev
/null
&& {
26553 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26554 test ! -s conftest.err
26558 echo "$as_me: failed program was:" >&5
26559 sed 's/^/| /' conftest.
$ac_ext >&5
26561 # Broken: fails on valid input.
26565 rm -f conftest.err conftest.
$ac_ext
26567 # OK, works on sane cases. Now check whether nonexistent headers
26568 # can be detected and how.
26569 cat >conftest.
$ac_ext <<_ACEOF
26572 cat confdefs.h
>>conftest.
$ac_ext
26573 cat >>conftest.
$ac_ext <<_ACEOF
26574 /* end confdefs.h. */
26575 #include <ac_nonexistent.h>
26577 if { (ac_try
="$ac_cpp conftest.$ac_ext"
26578 case "(($ac_try" in
26579 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26580 *) ac_try_echo=$ac_try;;
26582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26583 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26585 grep -v '^ *+' conftest.er1 >conftest.err
26587 cat conftest.err >&5
26588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26589 (exit $ac_status); } >/dev/null && {
26590 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26591 test ! -s conftest.err
26593 # Broken: success on invalid input.
26596 echo "$as_me: failed program was:" >&5
26597 sed 's/^/| /' conftest.$ac_ext >&5
26599 # Passes both tests.
26604 rm -f conftest.err conftest.$ac_ext
26607 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26608 rm -f conftest.err conftest.
$ac_ext
26609 if $ac_preproc_ok; then
26614 ac_cv_prog_CXXCPP
=$CXXCPP
26617 CXXCPP
=$ac_cv_prog_CXXCPP
26619 ac_cv_prog_CXXCPP
=$CXXCPP
26621 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26622 echo "${ECHO_T}$CXXCPP" >&6; }
26623 ac_preproc_ok
=false
26624 for ac_cxx_preproc_warn_flag
in '' yes
26626 # Use a header file that comes with gcc, so configuring glibc
26627 # with a fresh cross-compiler works.
26628 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26629 # <limits.h> exists even on freestanding compilers.
26630 # On the NeXT, cc -E runs the code through the compiler's parser,
26631 # not just through cpp. "Syntax error" is here to catch this case.
26632 cat >conftest.
$ac_ext <<_ACEOF
26635 cat confdefs.h
>>conftest.
$ac_ext
26636 cat >>conftest.
$ac_ext <<_ACEOF
26637 /* end confdefs.h. */
26639 # include <limits.h>
26641 # include <assert.h>
26645 if { (ac_try
="$ac_cpp conftest.$ac_ext"
26646 case "(($ac_try" in
26647 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26648 *) ac_try_echo=$ac_try;;
26650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26651 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26653 grep -v '^ *+' conftest.er1 >conftest.err
26655 cat conftest.err >&5
26656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26657 (exit $ac_status); } >/dev/null && {
26658 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26659 test ! -s conftest.err
26663 echo "$as_me: failed program was:" >&5
26664 sed 's/^/| /' conftest.$ac_ext >&5
26666 # Broken: fails on valid input.
26670 rm -f conftest.err conftest.$ac_ext
26672 # OK, works on sane cases. Now check whether nonexistent headers
26673 # can be detected and how.
26674 cat >conftest.$ac_ext <<_ACEOF
26677 cat confdefs.h >>conftest.$ac_ext
26678 cat >>conftest.$ac_ext <<_ACEOF
26679 /* end confdefs.h. */
26680 #include <ac_nonexistent.h>
26682 if { (ac_try="$ac_cpp conftest.$ac_ext"
26683 case "(($ac_try" in
26684 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26685 *) ac_try_echo
=$ac_try;;
26687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26688 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26690 grep -v '^ *+' conftest.er1
>conftest.err
26692 cat conftest.err
>&5
26693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26694 (exit $ac_status); } >/dev
/null
&& {
26695 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26696 test ! -s conftest.err
26698 # Broken: success on invalid input.
26701 echo "$as_me: failed program was:" >&5
26702 sed 's/^/| /' conftest.
$ac_ext >&5
26704 # Passes both tests.
26709 rm -f conftest.err conftest.
$ac_ext
26712 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26713 rm -f conftest.err conftest.
$ac_ext
26714 if $ac_preproc_ok; then
26717 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26718 See \`config.log' for more details." >&5
26719 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26720 See \`config.log' for more details." >&2;}
26721 { (exit 1); exit 1; }; }
26725 ac_cpp
='$CXXCPP $CPPFLAGS'
26726 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26727 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26728 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26733 for ac_header
in type_traits tr
1/type_traits
26735 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26736 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26737 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26738 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26739 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26740 echo $ECHO_N "(cached) $ECHO_C" >&6
26742 ac_res
=`eval echo '${'$as_ac_Header'}'`
26743 { echo "$as_me:$LINENO: result: $ac_res" >&5
26744 echo "${ECHO_T}$ac_res" >&6; }
26746 # Is the header compilable?
26747 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26748 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26749 cat >conftest.
$ac_ext <<_ACEOF
26752 cat confdefs.h
>>conftest.
$ac_ext
26753 cat >>conftest.
$ac_ext <<_ACEOF
26754 /* end confdefs.h. */
26755 $ac_includes_default
26756 #include <$ac_header>
26758 rm -f conftest.
$ac_objext
26759 if { (ac_try
="$ac_compile"
26760 case "(($ac_try" in
26761 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26762 *) ac_try_echo=$ac_try;;
26764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26765 (eval "$ac_compile") 2>conftest.er1
26767 grep -v '^ *+' conftest.er1 >conftest.err
26769 cat conftest.err >&5
26770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26771 (exit $ac_status); } && {
26772 test -z "$ac_cxx_werror_flag" ||
26773 test ! -s conftest.err
26774 } && test -s conftest.$ac_objext; then
26775 ac_header_compiler=yes
26777 echo "$as_me: failed program was:" >&5
26778 sed 's/^/| /' conftest.$ac_ext >&5
26780 ac_header_compiler=no
26783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26784 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26785 echo "${ECHO_T}$ac_header_compiler" >&6; }
26787 # Is the header present?
26788 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26789 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26790 cat >conftest.$ac_ext <<_ACEOF
26793 cat confdefs.h >>conftest.$ac_ext
26794 cat >>conftest.$ac_ext <<_ACEOF
26795 /* end confdefs.h. */
26796 #include <$ac_header>
26798 if { (ac_try="$ac_cpp conftest.$ac_ext"
26799 case "(($ac_try" in
26800 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26801 *) ac_try_echo
=$ac_try;;
26803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26804 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26806 grep -v '^ *+' conftest.er1
>conftest.err
26808 cat conftest.err
>&5
26809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26810 (exit $ac_status); } >/dev
/null
&& {
26811 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26812 test ! -s conftest.err
26814 ac_header_preproc
=yes
26816 echo "$as_me: failed program was:" >&5
26817 sed 's/^/| /' conftest.
$ac_ext >&5
26819 ac_header_preproc
=no
26822 rm -f conftest.err conftest.
$ac_ext
26823 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26824 echo "${ECHO_T}$ac_header_preproc" >&6; }
26826 # So? What about this header?
26827 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26829 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26830 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26831 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26832 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26833 ac_header_preproc
=yes
26836 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26837 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26838 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26839 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26840 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26841 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26842 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26843 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26844 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26845 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26846 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26847 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26849 ## ----------------------------------------- ##
26850 ## Report this to wx-dev@lists.wxwidgets.org ##
26851 ## ----------------------------------------- ##
26853 ) | sed "s/^/$as_me: WARNING: /" >&2
26856 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26857 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26858 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26859 echo $ECHO_N "(cached) $ECHO_C" >&6
26861 eval "$as_ac_Header=\$ac_header_preproc"
26863 ac_res
=`eval echo '${'$as_ac_Header'}'`
26864 { echo "$as_me:$LINENO: result: $ac_res" >&5
26865 echo "${ECHO_T}$ac_res" >&6; }
26868 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26869 cat >>confdefs.h
<<_ACEOF
26870 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26880 if test -n "$GCC"; then
26881 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26882 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26883 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26884 echo $ECHO_N "(cached) $ECHO_C" >&6
26887 cat >conftest.
$ac_ext <<_ACEOF
26890 cat confdefs.h
>>conftest.
$ac_ext
26891 cat >>conftest.
$ac_ext <<_ACEOF
26892 /* end confdefs.h. */
26898 unsigned int value=0;
26899 /* wxAtomicInc doesn't use return value here */
26900 __sync_fetch_and_add(&value, 2);
26901 __sync_sub_and_fetch(&value, 1);
26902 /* but wxAtomicDec does, so mimic that: */
26903 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26909 rm -f conftest.
$ac_objext conftest
$ac_exeext
26910 if { (ac_try
="$ac_link"
26911 case "(($ac_try" in
26912 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26913 *) ac_try_echo=$ac_try;;
26915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26916 (eval "$ac_link") 2>conftest.er1
26918 grep -v '^ *+' conftest.er1 >conftest.err
26920 cat conftest.err >&5
26921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26922 (exit $ac_status); } && {
26923 test -z "$ac_cxx_werror_flag" ||
26924 test ! -s conftest.err
26925 } && test -s conftest$ac_exeext &&
26926 $as_test_x conftest$ac_exeext; then
26927 wx_cv_cc_gcc_atomic_builtins=yes
26929 echo "$as_me: failed program was:" >&5
26930 sed 's/^/| /' conftest.$ac_ext >&5
26932 wx_cv_cc_gcc_atomic_builtins=no
26935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26936 conftest$ac_exeext conftest.$ac_ext
26940 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26941 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26942 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26943 cat >>confdefs.h <<\_ACEOF
26944 #define HAVE_GCC_ATOMIC_BUILTINS 1
26952 ac_cpp='$CPP $CPPFLAGS'
26953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26960 /usr/local/include \
26961 /usr/local/X11/include \
26962 /usr/local/include/X11 \
26963 /usr/local/X11R7/include \
26964 /usr/local/X11R6/include \
26965 /usr/local/include/X11R7 \
26966 /usr/local/include/X11R6 \
26968 /usr/Motif-2.1/include \
26969 /usr/Motif-1.2/include \
26970 /usr/include/Motif1.2 \
26973 /usr/openwin/include \
26977 /usr/X11R7/include \
26978 /usr/X11R6/include \
26979 /usr/X11R6.4/include \
26981 /usr/include/X11R7 \
26982 /usr/include/X11R6 \
26987 /usr/XFree86/include/X11 \
26990 /usr/local/X1R5/include \
26991 /usr/local/include/X11R5 \
26992 /usr/X11R5/include \
26993 /usr/include/X11R5 \
26995 /usr/local/X11R4/include \
26996 /usr/local/include/X11R4 \
26997 /usr/X11R4/include \
26998 /usr/include/X11R4 \
27000 /usr/openwin/share/include"
27002 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27003 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27007 if test "${wx_cv_std_libpath+set}" = set; then
27008 echo $ECHO_N "(cached) $ECHO_C" >&6
27011 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27012 for e in a so sl dylib dll.a; do
27014 if test -f $libc; then
27017 cat >conftest.$ac_ext <<_ACEOF
27018 int main() { return 0; }
27020 rm -f conftest.$ac_objext conftest$ac_exeext
27021 if { (ac_try="$ac_link"
27022 case "(($ac_try" in
27023 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27024 *) ac_try_echo
=$ac_try;;
27026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27027 (eval "$ac_link") 2>conftest.er1
27029 grep -v '^ *+' conftest.er1
>conftest.err
27031 cat conftest.err
>&5
27032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27033 (exit $ac_status); } && {
27034 test -z "$ac_c_werror_flag" ||
27035 test ! -s conftest.err
27036 } && test -s conftest
$ac_exeext &&
27037 $as_test_x conftest
$ac_exeext; then
27038 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
27040 echo "$as_me: failed program was:" >&5
27041 sed 's/^/| /' conftest.
$ac_ext >&5
27046 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27047 conftest
$ac_exeext conftest.
$ac_ext
27049 if test "x$wx_cv_std_libpath" != "x"; then
27055 if test "x$wx_cv_std_libpath" = "x"; then
27056 wx_cv_std_libpath
="lib"
27065 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27066 wx_cv_std_libpath
="lib/64"
27068 wx_cv_std_libpath
="lib"
27073 if test "$ac_cv_sizeof_void_p" = 8 -a \
27074 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27075 wx_cv_std_libpath
="lib64"
27077 wx_cv_std_libpath
="lib"
27082 wx_cv_std_libpath
="lib";
27086 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27087 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27089 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27091 if test "$build" != "$host" -a "$GCC" = yes; then
27092 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
27093 cross_root
=`dirname $cross_root`
27094 cross_root
=`dirname $cross_root`
27096 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27097 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27098 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
27100 if test -z "$PKG_CONFIG_PATH"; then
27101 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27102 export PKG_CONFIG_PATH
27105 if test -z "$x_includes" -o "$x_includes" = NONE
; then
27108 for ac_dir
in $SEARCH_INCLUDE /usr
/include
27110 if test -f "$ac_dir/X11/Intrinsic.h"; then
27111 ac_find_includes
=$ac_dir
27116 x_includes
=$ac_find_includes
27118 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
27121 for ac_dir
in $SEARCH_LIB
27123 for ac_extension
in a so sl dylib dll.a
; do
27124 if test -f "$ac_dir/libXt.$ac_extension"; then
27125 ac_find_libraries
=$ac_dir
27131 x_libraries
=$ac_find_libraries
27137 cat >confcache
<<\_ACEOF
27138 # This file is a shell script that caches the results of configure
27139 # tests run on this system so they can be shared between configure
27140 # scripts and configure runs, see configure's option --config-cache.
27141 # It is not useful on other systems. If it contains results you don't
27142 # want to keep, you may remove or edit it.
27144 # config.status only pays attention to the cache file if you give it
27145 # the --recheck option to rerun configure.
27147 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27148 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27149 # following values.
27153 # The following way of writing the cache mishandles newlines in values,
27154 # but we know of no workaround that is simple, portable, and efficient.
27155 # So, we kill variables containing newlines.
27156 # Ultrix sh set writes to stderr and can't be redirected directly,
27157 # and sets the high bit in the cache file unless we assign to the vars.
27159 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27160 eval ac_val
=\$
$ac_var
27164 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27165 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27168 _
| IFS
| as_nl
) ;; #(
27169 *) $as_unset $ac_var ;;
27175 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27176 *${as_nl}ac_space
=\
*)
27177 # `set' does not quote correctly, so add quotes (double-quote
27178 # substitution turns \\\\ into \\, and sed turns \\ into \).
27181 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27184 # `set' quotes correctly as required by POSIX, so do not add quotes.
27185 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27194 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27196 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27198 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
27199 if test -w "$cache_file"; then
27200 test "x$cache_file" != "x/dev/null" &&
27201 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27202 echo "$as_me: updating cache $cache_file" >&6;}
27203 cat confcache
>$cache_file
27205 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27206 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27211 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27212 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27213 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27214 if test "${wx_cv_lib_glibc21+set}" = set; then
27215 echo $ECHO_N "(cached) $ECHO_C" >&6
27218 cat >conftest.
$ac_ext <<_ACEOF
27221 cat confdefs.h
>>conftest.
$ac_ext
27222 cat >>conftest.
$ac_ext <<_ACEOF
27223 /* end confdefs.h. */
27224 #include <features.h>
27229 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27237 rm -f conftest.
$ac_objext
27238 if { (ac_try
="$ac_compile"
27239 case "(($ac_try" in
27240 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27241 *) ac_try_echo=$ac_try;;
27243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27244 (eval "$ac_compile") 2>conftest.er1
27246 grep -v '^ *+' conftest.er1 >conftest.err
27248 cat conftest.err >&5
27249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27250 (exit $ac_status); } && {
27251 test -z "$ac_c_werror_flag" ||
27252 test ! -s conftest.err
27253 } && test -s conftest.$ac_objext; then
27255 wx_cv_lib_glibc21=yes
27258 echo "$as_me: failed program was:" >&5
27259 sed 's/^/| /' conftest.$ac_ext >&5
27262 wx_cv_lib_glibc21=no
27267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27270 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27271 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27272 if test "$wx_cv_lib_glibc21" = "yes"; then
27273 cat >>confdefs.h <<\_ACEOF
27274 #define wxHAVE_GLIBC2 1
27280 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27281 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27282 cat >>confdefs.h <<\_ACEOF
27283 #define _GNU_SOURCE 1
27294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27295 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27297 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27298 echo $ECHO_N "(cached) $ECHO_C" >&6
27300 cat >conftest.$ac_ext <<_ACEOF
27303 cat confdefs.h >>conftest.$ac_ext
27304 cat >>conftest.$ac_ext <<_ACEOF
27305 /* end confdefs.h. */
27306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27308 #define $ac_func innocuous_$ac_func
27310 /* System header to define __stub macros and hopefully few prototypes,
27311 which can conflict with char $ac_func (); below.
27312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27313 <limits.h> exists even on freestanding compilers. */
27316 # include <limits.h>
27318 # include <assert.h>
27323 /* Override any GCC internal prototype to avoid an error.
27324 Use char because int might match the return type of a GCC
27325 builtin and then its argument prototype would still apply. */
27330 /* The GNU C library defines this for functions which it implements
27331 to always fail with ENOSYS. Some functions are actually named
27332 something starting with __ and the normal name is an alias. */
27333 #if defined __stub_$ac_func || defined __stub___$ac_func
27340 return $ac_func ();
27345 rm -f conftest.$ac_objext conftest$ac_exeext
27346 if { (ac_try="$ac_link"
27347 case "(($ac_try" in
27348 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27349 *) ac_try_echo
=$ac_try;;
27351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27352 (eval "$ac_link") 2>conftest.er1
27354 grep -v '^ *+' conftest.er1
>conftest.err
27356 cat conftest.err
>&5
27357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27358 (exit $ac_status); } && {
27359 test -z "$ac_c_werror_flag" ||
27360 test ! -s conftest.err
27361 } && test -s conftest
$ac_exeext &&
27362 $as_test_x conftest
$ac_exeext; then
27363 eval "$as_ac_var=yes"
27365 echo "$as_me: failed program was:" >&5
27366 sed 's/^/| /' conftest.
$ac_ext >&5
27368 eval "$as_ac_var=no"
27371 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27372 conftest
$ac_exeext conftest.
$ac_ext
27374 ac_res
=`eval echo '${'$as_ac_var'}'`
27375 { echo "$as_me:$LINENO: result: $ac_res" >&5
27376 echo "${ECHO_T}$ac_res" >&6; }
27377 if test `eval echo '${'$as_ac_var'}'` = yes; then
27378 cat >>confdefs.h
<<_ACEOF
27379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27386 for ac_func
in floor
27388 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27389 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27391 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27392 echo $ECHO_N "(cached) $ECHO_C" >&6
27394 cat >conftest.
$ac_ext <<_ACEOF
27397 cat confdefs.h
>>conftest.
$ac_ext
27398 cat >>conftest.
$ac_ext <<_ACEOF
27399 /* end confdefs.h. */
27400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27402 #define $ac_func innocuous_$ac_func
27404 /* System header to define __stub macros and hopefully few prototypes,
27405 which can conflict with char $ac_func (); below.
27406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27407 <limits.h> exists even on freestanding compilers. */
27410 # include <limits.h>
27412 # include <assert.h>
27417 /* Override any GCC internal prototype to avoid an error.
27418 Use char because int might match the return type of a GCC
27419 builtin and then its argument prototype would still apply. */
27424 /* The GNU C library defines this for functions which it implements
27425 to always fail with ENOSYS. Some functions are actually named
27426 something starting with __ and the normal name is an alias. */
27427 #if defined __stub_$ac_func || defined __stub___$ac_func
27434 return $ac_func ();
27439 rm -f conftest.
$ac_objext conftest
$ac_exeext
27440 if { (ac_try
="$ac_link"
27441 case "(($ac_try" in
27442 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27443 *) ac_try_echo=$ac_try;;
27445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27446 (eval "$ac_link") 2>conftest.er1
27448 grep -v '^ *+' conftest.er1 >conftest.err
27450 cat conftest.err >&5
27451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27452 (exit $ac_status); } && {
27453 test -z "$ac_c_werror_flag" ||
27454 test ! -s conftest.err
27455 } && test -s conftest$ac_exeext &&
27456 $as_test_x conftest$ac_exeext; then
27457 eval "$as_ac_var=yes"
27459 echo "$as_me: failed program was:" >&5
27460 sed 's/^/| /' conftest.$ac_ext >&5
27462 eval "$as_ac_var=no"
27465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27466 conftest$ac_exeext conftest.$ac_ext
27468 ac_res=`eval echo '${'$as_ac_var'}'`
27469 { echo "$as_me:$LINENO: result: $ac_res" >&5
27470 echo "${ECHO_T}$ac_res" >&6; }
27471 if test `eval echo '${'$as_ac_var'}'` = yes; then
27472 cat >>confdefs.h <<_ACEOF
27473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27479 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27480 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27481 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27482 { echo "$as_me:$LINENO: result: yes" >&5
27483 echo "${ECHO_T}yes" >&6; }
27485 { echo "$as_me:$LINENO: result: no" >&5
27486 echo "${ECHO_T}no" >&6; }
27488 # use different functions to avoid configure caching
27494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27495 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27497 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27498 echo $ECHO_N "(cached) $ECHO_C" >&6
27500 cat >conftest.$ac_ext <<_ACEOF
27503 cat confdefs.h >>conftest.$ac_ext
27504 cat >>conftest.$ac_ext <<_ACEOF
27505 /* end confdefs.h. */
27506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27508 #define $ac_func innocuous_$ac_func
27510 /* System header to define __stub macros and hopefully few prototypes,
27511 which can conflict with char $ac_func (); below.
27512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27513 <limits.h> exists even on freestanding compilers. */
27516 # include <limits.h>
27518 # include <assert.h>
27523 /* Override any GCC internal prototype to avoid an error.
27524 Use char because int might match the return type of a GCC
27525 builtin and then its argument prototype would still apply. */
27530 /* The GNU C library defines this for functions which it implements
27531 to always fail with ENOSYS. Some functions are actually named
27532 something starting with __ and the normal name is an alias. */
27533 #if defined __stub_$ac_func || defined __stub___$ac_func
27540 return $ac_func ();
27545 rm -f conftest.$ac_objext conftest$ac_exeext
27546 if { (ac_try="$ac_link"
27547 case "(($ac_try" in
27548 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27549 *) ac_try_echo
=$ac_try;;
27551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27552 (eval "$ac_link") 2>conftest.er1
27554 grep -v '^ *+' conftest.er1
>conftest.err
27556 cat conftest.err
>&5
27557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27558 (exit $ac_status); } && {
27559 test -z "$ac_c_werror_flag" ||
27560 test ! -s conftest.err
27561 } && test -s conftest
$ac_exeext &&
27562 $as_test_x conftest
$ac_exeext; then
27563 eval "$as_ac_var=yes"
27565 echo "$as_me: failed program was:" >&5
27566 sed 's/^/| /' conftest.
$ac_ext >&5
27568 eval "$as_ac_var=no"
27571 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27572 conftest
$ac_exeext conftest.
$ac_ext
27574 ac_res
=`eval echo '${'$as_ac_var'}'`
27575 { echo "$as_me:$LINENO: result: $ac_res" >&5
27576 echo "${ECHO_T}$ac_res" >&6; }
27577 if test `eval echo '${'$as_ac_var'}'` = yes; then
27578 cat >>confdefs.h
<<_ACEOF
27579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27586 for ac_func
in ceil
27588 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27589 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27591 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27592 echo $ECHO_N "(cached) $ECHO_C" >&6
27594 cat >conftest.
$ac_ext <<_ACEOF
27597 cat confdefs.h
>>conftest.
$ac_ext
27598 cat >>conftest.
$ac_ext <<_ACEOF
27599 /* end confdefs.h. */
27600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27602 #define $ac_func innocuous_$ac_func
27604 /* System header to define __stub macros and hopefully few prototypes,
27605 which can conflict with char $ac_func (); below.
27606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27607 <limits.h> exists even on freestanding compilers. */
27610 # include <limits.h>
27612 # include <assert.h>
27617 /* Override any GCC internal prototype to avoid an error.
27618 Use char because int might match the return type of a GCC
27619 builtin and then its argument prototype would still apply. */
27624 /* The GNU C library defines this for functions which it implements
27625 to always fail with ENOSYS. Some functions are actually named
27626 something starting with __ and the normal name is an alias. */
27627 #if defined __stub_$ac_func || defined __stub___$ac_func
27634 return $ac_func ();
27639 rm -f conftest.
$ac_objext conftest
$ac_exeext
27640 if { (ac_try
="$ac_link"
27641 case "(($ac_try" in
27642 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27643 *) ac_try_echo=$ac_try;;
27645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27646 (eval "$ac_link") 2>conftest.er1
27648 grep -v '^ *+' conftest.er1 >conftest.err
27650 cat conftest.err >&5
27651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27652 (exit $ac_status); } && {
27653 test -z "$ac_c_werror_flag" ||
27654 test ! -s conftest.err
27655 } && test -s conftest$ac_exeext &&
27656 $as_test_x conftest$ac_exeext; then
27657 eval "$as_ac_var=yes"
27659 echo "$as_me: failed program was:" >&5
27660 sed 's/^/| /' conftest.$ac_ext >&5
27662 eval "$as_ac_var=no"
27665 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27666 conftest$ac_exeext conftest.$ac_ext
27668 ac_res=`eval echo '${'$as_ac_var'}'`
27669 { echo "$as_me:$LINENO: result: $ac_res" >&5
27670 echo "${ECHO_T}$ac_res" >&6; }
27671 if test `eval echo '${'$as_ac_var'}'` = yes; then
27672 cat >>confdefs.h <<_ACEOF
27673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27679 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27680 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27681 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27682 { echo "$as_me:$LINENO: result: yes" >&5
27683 echo "${ECHO_T}yes" >&6; }
27685 { echo "$as_me:$LINENO: result: no" >&5
27686 echo "${ECHO_T}no" >&6; }
27687 # not sure we should warn the user, crash, etc.
27692 ac_cpp='$CXXCPP $CPPFLAGS'
27693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27697 if test "wxUSE_UNICODE" = "yes"; then
27699 for wx_func in wcstoull
27701 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27702 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27703 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27704 echo $ECHO_N "(cached) $ECHO_C" >&6
27707 cat >conftest.$ac_ext <<_ACEOF
27711 cat confdefs.h >>conftest.$ac_ext
27712 cat >>conftest.$ac_ext <<_ACEOF
27713 /* end confdefs.h. */
27716 $ac_includes_default
27732 rm -f conftest.$ac_objext conftest$ac_exeext
27733 if { (ac_try="$ac_link"
27734 case "(($ac_try" in
27735 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27736 *) ac_try_echo
=$ac_try;;
27738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27739 (eval "$ac_link") 2>conftest.er1
27741 grep -v '^ *+' conftest.er1
>conftest.err
27743 cat conftest.err
>&5
27744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27745 (exit $ac_status); } && {
27746 test -z "$ac_cxx_werror_flag" ||
27747 test ! -s conftest.err
27748 } && test -s conftest
$ac_exeext &&
27749 $as_test_x conftest
$ac_exeext; then
27750 eval wx_cv_func_
$wx_func=yes
27752 echo "$as_me: failed program was:" >&5
27753 sed 's/^/| /' conftest.
$ac_ext >&5
27755 eval wx_cv_func_
$wx_func=no
27758 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27759 conftest
$ac_exeext conftest.
$ac_ext
27762 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
27763 { echo "$as_me:$LINENO: result: $ac_res" >&5
27764 echo "${ECHO_T}$ac_res" >&6; }
27766 if eval test \
$wx_cv_func_$wx_func = yes
27768 cat >>confdefs.h
<<_ACEOF
27769 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27781 for wx_func
in strtoull
27783 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27784 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27785 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27786 echo $ECHO_N "(cached) $ECHO_C" >&6
27789 cat >conftest.
$ac_ext <<_ACEOF
27793 cat confdefs.h
>>conftest.
$ac_ext
27794 cat >>conftest.
$ac_ext <<_ACEOF
27795 /* end confdefs.h. */
27798 $ac_includes_default
27814 rm -f conftest.
$ac_objext conftest
$ac_exeext
27815 if { (ac_try
="$ac_link"
27816 case "(($ac_try" in
27817 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27818 *) ac_try_echo=$ac_try;;
27820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27821 (eval "$ac_link") 2>conftest.er1
27823 grep -v '^ *+' conftest.er1 >conftest.err
27825 cat conftest.err >&5
27826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27827 (exit $ac_status); } && {
27828 test -z "$ac_cxx_werror_flag" ||
27829 test ! -s conftest.err
27830 } && test -s conftest$ac_exeext &&
27831 $as_test_x conftest$ac_exeext; then
27832 eval wx_cv_func_$wx_func=yes
27834 echo "$as_me: failed program was:" >&5
27835 sed 's/^/| /' conftest.$ac_ext >&5
27837 eval wx_cv_func_$wx_func=no
27840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27841 conftest$ac_exeext conftest.$ac_ext
27844 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27845 { echo "$as_me:$LINENO: result: $ac_res" >&5
27846 echo "${ECHO_T}$ac_res" >&6; }
27848 if eval test \$wx_cv_func_$wx_func = yes
27850 cat >>confdefs.h <<_ACEOF
27851 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27863 ac_cpp='$CPP $CPPFLAGS'
27864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27871 if test "$wxUSE_REGEX" != "no"; then
27872 cat >>confdefs.h <<\_ACEOF
27873 #define wxUSE_REGEX 1
27877 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27878 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27879 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27880 wxUSE_REGEX=builtin
27883 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27884 { echo "$as_me:$LINENO: checking for regex.h" >&5
27885 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27886 if test "${ac_cv_header_regex_h+set}" = set; then
27887 echo $ECHO_N "(cached) $ECHO_C" >&6
27889 cat >conftest.$ac_ext <<_ACEOF
27892 cat confdefs.h >>conftest.$ac_ext
27893 cat >>conftest.$ac_ext <<_ACEOF
27894 /* end confdefs.h. */
27899 rm -f conftest.$ac_objext
27900 if { (ac_try="$ac_compile"
27901 case "(($ac_try" in
27902 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27903 *) ac_try_echo
=$ac_try;;
27905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27906 (eval "$ac_compile") 2>conftest.er1
27908 grep -v '^ *+' conftest.er1
>conftest.err
27910 cat conftest.err
>&5
27911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27912 (exit $ac_status); } && {
27913 test -z "$ac_c_werror_flag" ||
27914 test ! -s conftest.err
27915 } && test -s conftest.
$ac_objext; then
27916 ac_cv_header_regex_h
=yes
27918 echo "$as_me: failed program was:" >&5
27919 sed 's/^/| /' conftest.
$ac_ext >&5
27921 ac_cv_header_regex_h
=no
27924 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27926 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27927 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27928 if test $ac_cv_header_regex_h = yes; then
27931 for ac_func
in regcomp re_search
27933 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27934 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27936 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27937 echo $ECHO_N "(cached) $ECHO_C" >&6
27939 cat >conftest.
$ac_ext <<_ACEOF
27942 cat confdefs.h
>>conftest.
$ac_ext
27943 cat >>conftest.
$ac_ext <<_ACEOF
27944 /* end confdefs.h. */
27945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27947 #define $ac_func innocuous_$ac_func
27949 /* System header to define __stub macros and hopefully few prototypes,
27950 which can conflict with char $ac_func (); below.
27951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27952 <limits.h> exists even on freestanding compilers. */
27955 # include <limits.h>
27957 # include <assert.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. */
27969 /* The GNU C library defines this for functions which it implements
27970 to always fail with ENOSYS. Some functions are actually named
27971 something starting with __ and the normal name is an alias. */
27972 #if defined __stub_$ac_func || defined __stub___$ac_func
27979 return $ac_func ();
27984 rm -f conftest.
$ac_objext conftest
$ac_exeext
27985 if { (ac_try
="$ac_link"
27986 case "(($ac_try" in
27987 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27988 *) ac_try_echo=$ac_try;;
27990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27991 (eval "$ac_link") 2>conftest.er1
27993 grep -v '^ *+' conftest.er1 >conftest.err
27995 cat conftest.err >&5
27996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27997 (exit $ac_status); } && {
27998 test -z "$ac_c_werror_flag" ||
27999 test ! -s conftest.err
28000 } && test -s conftest$ac_exeext &&
28001 $as_test_x conftest$ac_exeext; then
28002 eval "$as_ac_var=yes"
28004 echo "$as_me: failed program was:" >&5
28005 sed 's/^/| /' conftest.$ac_ext >&5
28007 eval "$as_ac_var=no"
28010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28011 conftest$ac_exeext conftest.$ac_ext
28013 ac_res=`eval echo '${'$as_ac_var'}'`
28014 { echo "$as_me:$LINENO: result: $ac_res" >&5
28015 echo "${ECHO_T}$ac_res" >&6; }
28016 if test `eval echo '${'$as_ac_var'}'` = yes; then
28017 cat >>confdefs.h <<_ACEOF
28018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28028 if test "x$ac_cv_func_regcomp" != "xyes"; then
28029 if test "$wxUSE_REGEX" = "sys" ; then
28030 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28031 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28032 { (exit 1); exit 1; }; }
28034 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28035 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28036 wxUSE_REGEX=builtin
28040 cat >>confdefs.h <<\_ACEOF
28041 #define WX_NO_REGEX_ADVANCED 1
28050 if test "$wxUSE_ZLIB" != "no" ; then
28051 cat >>confdefs.h <<\_ACEOF
28052 #define wxUSE_ZLIB 1
28056 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28057 if test "$USE_DARWIN" = 1; then
28058 system_zlib_h_ok="yes"
28060 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28061 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28062 if test "${ac_cv_header_zlib_h+set}" = set; then
28063 echo $ECHO_N "(cached) $ECHO_C" >&6
28065 if test "$cross_compiling" = yes; then
28066 unset ac_cv_header_zlib_h
28069 cat >conftest.$ac_ext <<_ACEOF
28072 cat confdefs.h >>conftest.$ac_ext
28073 cat >>conftest.$ac_ext <<_ACEOF
28074 /* end confdefs.h. */
28081 FILE *f=fopen("conftestval", "w");
28084 ZLIB_VERSION[0] == '1' &&
28085 (ZLIB_VERSION[2] > '1' ||
28086 (ZLIB_VERSION[2] == '1' &&
28087 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28092 rm -f conftest$ac_exeext
28093 if { (ac_try="$ac_link"
28094 case "(($ac_try" in
28095 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28096 *) ac_try_echo
=$ac_try;;
28098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28099 (eval "$ac_link") 2>&5
28101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28102 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28103 { (case "(($ac_try" in
28104 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28105 *) ac_try_echo=$ac_try;;
28107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28108 (eval "$ac_try") 2>&5
28110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28111 (exit $ac_status); }; }; then
28112 ac_cv_header_zlib_h=`cat conftestval
`
28114 echo "$as_me: program exited with status $ac_status" >&5
28115 echo "$as_me: failed program was:" >&5
28116 sed 's/^/| /' conftest.$ac_ext >&5
28118 ( exit $ac_status )
28119 ac_cv_header_zlib_h=no
28121 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28127 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28128 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28129 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28130 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28131 if test "${ac_cv_header_zlib_h+set}" = set; then
28132 echo $ECHO_N "(cached) $ECHO_C" >&6
28134 cat >conftest.$ac_ext <<_ACEOF
28137 cat confdefs.h >>conftest.$ac_ext
28138 cat >>conftest.$ac_ext <<_ACEOF
28139 /* end confdefs.h. */
28144 rm -f conftest.$ac_objext
28145 if { (ac_try="$ac_compile"
28146 case "(($ac_try" in
28147 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28148 *) ac_try_echo
=$ac_try;;
28150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28151 (eval "$ac_compile") 2>conftest.er1
28153 grep -v '^ *+' conftest.er1
>conftest.err
28155 cat conftest.err
>&5
28156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28157 (exit $ac_status); } && {
28158 test -z "$ac_c_werror_flag" ||
28159 test ! -s conftest.err
28160 } && test -s conftest.
$ac_objext; then
28161 ac_cv_header_zlib_h
=yes
28163 echo "$as_me: failed program was:" >&5
28164 sed 's/^/| /' conftest.
$ac_ext >&5
28166 ac_cv_header_zlib_h
=no
28169 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28171 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28172 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28176 system_zlib_h_ok
=$ac_cv_header_zlib_h
28179 if test "$system_zlib_h_ok" = "yes"; then
28180 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28181 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28182 if test "${ac_cv_lib_z_deflate+set}" = set; then
28183 echo $ECHO_N "(cached) $ECHO_C" >&6
28185 ac_check_lib_save_LIBS
=$LIBS
28187 cat >conftest.
$ac_ext <<_ACEOF
28190 cat confdefs.h
>>conftest.
$ac_ext
28191 cat >>conftest.
$ac_ext <<_ACEOF
28192 /* end confdefs.h. */
28194 /* Override any GCC internal prototype to avoid an error.
28195 Use char because int might match the return type of a GCC
28196 builtin and then its argument prototype would still apply. */
28209 rm -f conftest.
$ac_objext conftest
$ac_exeext
28210 if { (ac_try
="$ac_link"
28211 case "(($ac_try" in
28212 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28213 *) ac_try_echo=$ac_try;;
28215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28216 (eval "$ac_link") 2>conftest.er1
28218 grep -v '^ *+' conftest.er1 >conftest.err
28220 cat conftest.err >&5
28221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28222 (exit $ac_status); } && {
28223 test -z "$ac_c_werror_flag" ||
28224 test ! -s conftest.err
28225 } && test -s conftest$ac_exeext &&
28226 $as_test_x conftest$ac_exeext; then
28227 ac_cv_lib_z_deflate=yes
28229 echo "$as_me: failed program was:" >&5
28230 sed 's/^/| /' conftest.$ac_ext >&5
28232 ac_cv_lib_z_deflate=no
28235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28236 conftest$ac_exeext conftest.$ac_ext
28237 LIBS=$ac_check_lib_save_LIBS
28239 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28240 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28241 if test $ac_cv_lib_z_deflate = yes; then
28247 if test "x$ZLIB_LINK" = "x" ; then
28248 if test "$wxUSE_ZLIB" = "sys" ; then
28249 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28250 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28251 { (exit 1); exit 1; }; }
28253 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28254 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28265 if test "$wxUSE_LIBPNG" != "no" ; then
28266 cat >>confdefs.h <<\_ACEOF
28267 #define wxUSE_LIBPNG 1
28271 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28272 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28273 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28277 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28278 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28279 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28280 wxUSE_LIBPNG=builtin
28283 if test "$wxUSE_MGL" != 1 ; then
28284 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28285 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28286 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28287 if test "${ac_cv_header_png_h+set}" = set; then
28288 echo $ECHO_N "(cached) $ECHO_C" >&6
28290 if test "$cross_compiling" = yes; then
28291 unset ac_cv_header_png_h
28294 cat >conftest.$ac_ext <<_ACEOF
28297 cat confdefs.h >>conftest.$ac_ext
28298 cat >>conftest.$ac_ext <<_ACEOF
28299 /* end confdefs.h. */
28306 FILE *f=fopen("conftestval", "w");
28309 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28314 rm -f conftest$ac_exeext
28315 if { (ac_try="$ac_link"
28316 case "(($ac_try" in
28317 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28318 *) ac_try_echo
=$ac_try;;
28320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28321 (eval "$ac_link") 2>&5
28323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28324 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28325 { (case "(($ac_try" in
28326 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28327 *) ac_try_echo=$ac_try;;
28329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28330 (eval "$ac_try") 2>&5
28332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28333 (exit $ac_status); }; }; then
28334 ac_cv_header_png_h=`cat conftestval
`
28336 echo "$as_me: program exited with status $ac_status" >&5
28337 echo "$as_me: failed program was:" >&5
28338 sed 's/^/| /' conftest.$ac_ext >&5
28340 ( exit $ac_status )
28341 ac_cv_header_png_h=no
28343 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28349 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28350 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28351 { echo "$as_me:$LINENO: checking for png.h" >&5
28352 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28353 if test "${ac_cv_header_png_h+set}" = set; then
28354 echo $ECHO_N "(cached) $ECHO_C" >&6
28356 cat >conftest.$ac_ext <<_ACEOF
28359 cat confdefs.h >>conftest.$ac_ext
28360 cat >>conftest.$ac_ext <<_ACEOF
28361 /* end confdefs.h. */
28366 rm -f conftest.$ac_objext
28367 if { (ac_try="$ac_compile"
28368 case "(($ac_try" in
28369 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28370 *) ac_try_echo
=$ac_try;;
28372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28373 (eval "$ac_compile") 2>conftest.er1
28375 grep -v '^ *+' conftest.er1
>conftest.err
28377 cat conftest.err
>&5
28378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28379 (exit $ac_status); } && {
28380 test -z "$ac_c_werror_flag" ||
28381 test ! -s conftest.err
28382 } && test -s conftest.
$ac_objext; then
28383 ac_cv_header_png_h
=yes
28385 echo "$as_me: failed program was:" >&5
28386 sed 's/^/| /' conftest.
$ac_ext >&5
28388 ac_cv_header_png_h
=no
28391 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28393 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28394 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28398 if test "$ac_cv_header_png_h" = "yes"; then
28399 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28400 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28401 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28402 echo $ECHO_N "(cached) $ECHO_C" >&6
28404 ac_check_lib_save_LIBS
=$LIBS
28405 LIBS
="-lpng -lz -lm $LIBS"
28406 cat >conftest.
$ac_ext <<_ACEOF
28409 cat confdefs.h
>>conftest.
$ac_ext
28410 cat >>conftest.
$ac_ext <<_ACEOF
28411 /* end confdefs.h. */
28413 /* Override any GCC internal prototype to avoid an error.
28414 Use char because int might match the return type of a GCC
28415 builtin and then its argument prototype would still apply. */
28419 char png_sig_cmp ();
28423 return png_sig_cmp ();
28428 rm -f conftest.
$ac_objext conftest
$ac_exeext
28429 if { (ac_try
="$ac_link"
28430 case "(($ac_try" in
28431 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28432 *) ac_try_echo=$ac_try;;
28434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28435 (eval "$ac_link") 2>conftest.er1
28437 grep -v '^ *+' conftest.er1 >conftest.err
28439 cat conftest.err >&5
28440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28441 (exit $ac_status); } && {
28442 test -z "$ac_c_werror_flag" ||
28443 test ! -s conftest.err
28444 } && test -s conftest$ac_exeext &&
28445 $as_test_x conftest$ac_exeext; then
28446 ac_cv_lib_png_png_sig_cmp=yes
28448 echo "$as_me: failed program was:" >&5
28449 sed 's/^/| /' conftest.$ac_ext >&5
28451 ac_cv_lib_png_png_sig_cmp=no
28454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28455 conftest$ac_exeext conftest.$ac_ext
28456 LIBS=$ac_check_lib_save_LIBS
28458 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28459 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28460 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28461 PNG_LINK=" -lpng -lz"
28466 if test "x$PNG_LINK" = "x" ; then
28467 if test "$wxUSE_LIBPNG" = "sys" ; then
28468 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28469 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28470 { (exit 1); exit 1; }; }
28472 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28473 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28474 wxUSE_LIBPNG=builtin
28485 if test "$wxUSE_LIBJPEG" != "no" ; then
28486 cat >>confdefs.h <<\_ACEOF
28487 #define wxUSE_LIBJPEG 1
28491 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28492 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28493 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28497 if test "$wxUSE_MGL" != 1 ; then
28498 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28499 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28500 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28501 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28502 echo $ECHO_N "(cached) $ECHO_C" >&6
28504 cat >conftest.$ac_ext <<_ACEOF
28507 cat confdefs.h >>conftest.$ac_ext
28508 cat >>conftest.$ac_ext <<_ACEOF
28509 /* end confdefs.h. */
28511 #undef HAVE_STDLIB_H
28513 #include <jpeglib.h>
28524 rm -f conftest.$ac_objext
28525 if { (ac_try="$ac_compile"
28526 case "(($ac_try" in
28527 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28528 *) ac_try_echo
=$ac_try;;
28530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28531 (eval "$ac_compile") 2>conftest.er1
28533 grep -v '^ *+' conftest.er1
>conftest.err
28535 cat conftest.err
>&5
28536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28537 (exit $ac_status); } && {
28538 test -z "$ac_c_werror_flag" ||
28539 test ! -s conftest.err
28540 } && test -s conftest.
$ac_objext; then
28541 ac_cv_header_jpeglib_h
=yes
28543 echo "$as_me: failed program was:" >&5
28544 sed 's/^/| /' conftest.
$ac_ext >&5
28546 ac_cv_header_jpeglib_h
=no
28550 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28554 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28555 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28557 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28558 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28559 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28560 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28561 echo $ECHO_N "(cached) $ECHO_C" >&6
28563 ac_check_lib_save_LIBS
=$LIBS
28564 LIBS
="-ljpeg $LIBS"
28565 cat >conftest.
$ac_ext <<_ACEOF
28568 cat confdefs.h
>>conftest.
$ac_ext
28569 cat >>conftest.
$ac_ext <<_ACEOF
28570 /* end confdefs.h. */
28572 /* Override any GCC internal prototype to avoid an error.
28573 Use char because int might match the return type of a GCC
28574 builtin and then its argument prototype would still apply. */
28578 char jpeg_read_header ();
28582 return jpeg_read_header ();
28587 rm -f conftest.
$ac_objext conftest
$ac_exeext
28588 if { (ac_try
="$ac_link"
28589 case "(($ac_try" in
28590 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28591 *) ac_try_echo=$ac_try;;
28593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28594 (eval "$ac_link") 2>conftest.er1
28596 grep -v '^ *+' conftest.er1 >conftest.err
28598 cat conftest.err >&5
28599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28600 (exit $ac_status); } && {
28601 test -z "$ac_c_werror_flag" ||
28602 test ! -s conftest.err
28603 } && test -s conftest$ac_exeext &&
28604 $as_test_x conftest$ac_exeext; then
28605 ac_cv_lib_jpeg_jpeg_read_header=yes
28607 echo "$as_me: failed program was:" >&5
28608 sed 's/^/| /' conftest.$ac_ext >&5
28610 ac_cv_lib_jpeg_jpeg_read_header=no
28613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28614 conftest$ac_exeext conftest.$ac_ext
28615 LIBS=$ac_check_lib_save_LIBS
28617 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28618 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28619 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28620 JPEG_LINK=" -ljpeg"
28625 if test "x$JPEG_LINK" = "x" ; then
28626 if test "$wxUSE_LIBJPEG" = "sys" ; then
28627 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28628 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28629 { (exit 1); exit 1; }; }
28631 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28632 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28633 wxUSE_LIBJPEG=builtin
28638 if test "$wxUSE_MSW" = 1; then
28639 { echo "$as_me:$LINENO: checking for boolean" >&5
28640 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28641 if test "${ac_cv_type_boolean+set}" = set; then
28642 echo $ECHO_N "(cached) $ECHO_C" >&6
28644 cat >conftest.$ac_ext <<_ACEOF
28647 cat confdefs.h >>conftest.$ac_ext
28648 cat >>conftest.$ac_ext <<_ACEOF
28649 /* end confdefs.h. */
28650 #include <windows.h>
28652 typedef boolean ac__type_new_;
28656 if ((ac__type_new_ *) 0)
28658 if (sizeof (ac__type_new_))
28664 rm -f conftest.$ac_objext
28665 if { (ac_try="$ac_compile"
28666 case "(($ac_try" in
28667 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28668 *) ac_try_echo
=$ac_try;;
28670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28671 (eval "$ac_compile") 2>conftest.er1
28673 grep -v '^ *+' conftest.er1
>conftest.err
28675 cat conftest.err
>&5
28676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28677 (exit $ac_status); } && {
28678 test -z "$ac_c_werror_flag" ||
28679 test ! -s conftest.err
28680 } && test -s conftest.
$ac_objext; then
28681 ac_cv_type_boolean
=yes
28683 echo "$as_me: failed program was:" >&5
28684 sed 's/^/| /' conftest.
$ac_ext >&5
28686 ac_cv_type_boolean
=no
28689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28691 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28692 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28693 if test $ac_cv_type_boolean = yes; then
28695 cat >>confdefs.h
<<_ACEOF
28696 #define HAVE_BOOLEAN 1
28700 { echo "$as_me:$LINENO: checking for boolean" >&5
28701 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28702 if test "${ac_cv_type_boolean+set}" = set; then
28703 echo $ECHO_N "(cached) $ECHO_C" >&6
28705 cat >conftest.
$ac_ext <<_ACEOF
28708 cat confdefs.h
>>conftest.
$ac_ext
28709 cat >>conftest.
$ac_ext <<_ACEOF
28710 /* end confdefs.h. */
28712 #undef HAVE_BOOLEAN
28714 #include <jpeglib.h>
28717 typedef boolean ac__type_new_;
28721 if ((ac__type_new_ *) 0)
28723 if (sizeof (ac__type_new_))
28729 rm -f conftest.
$ac_objext
28730 if { (ac_try
="$ac_compile"
28731 case "(($ac_try" in
28732 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28733 *) ac_try_echo=$ac_try;;
28735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28736 (eval "$ac_compile") 2>conftest.er1
28738 grep -v '^ *+' conftest.er1 >conftest.err
28740 cat conftest.err >&5
28741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28742 (exit $ac_status); } && {
28743 test -z "$ac_c_werror_flag" ||
28744 test ! -s conftest.err
28745 } && test -s conftest.$ac_objext; then
28746 ac_cv_type_boolean=yes
28748 echo "$as_me: failed program was:" >&5
28749 sed 's/^/| /' conftest.$ac_ext >&5
28751 ac_cv_type_boolean=no
28754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28756 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28757 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28759 # The cast to long int works around a bug in the HP C Compiler
28760 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28761 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
28762 # This bug is HP SR number 8606223364.
28763 { echo "$as_me:$LINENO: checking size of boolean" >&5
28764 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28765 if test "${ac_cv_sizeof_boolean+set}" = set; then
28766 echo $ECHO_N "(cached) $ECHO_C" >&6
28768 if test "$cross_compiling" = yes; then
28769 # Depending upon the size, compute the lo and hi bounds.
28770 cat >conftest.$ac_ext <<_ACEOF
28773 cat confdefs.h >>conftest.$ac_ext
28774 cat >>conftest.$ac_ext <<_ACEOF
28775 /* end confdefs.h. */
28777 #undef HAVE_BOOLEAN
28779 #include <jpeglib.h>
28782 typedef boolean ac__type_sizeof_;
28786 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28793 rm -f conftest.$ac_objext
28794 if { (ac_try="$ac_compile"
28795 case "(($ac_try" in
28796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28797 *) ac_try_echo=$ac_try;;
28799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28800 (eval "$ac_compile") 2>conftest.er1
28802 grep -v '^
*+' conftest.er1 >conftest.err
28804 cat conftest.err >&5
28805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28806 (exit $ac_status); } && {
28807 test -z "$ac_c_werror_flag" ||
28808 test ! -s conftest.err
28809 } && test -s conftest.$ac_objext; then
28812 cat >conftest.$ac_ext <<_ACEOF
28815 cat confdefs.h >>conftest.$ac_ext
28816 cat >>conftest.$ac_ext <<_ACEOF
28817 /* end confdefs.h. */
28819 #undef HAVE_BOOLEAN
28821 #include <jpeglib.h>
28824 typedef boolean ac__type_sizeof_;
28828 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28835 rm -f conftest.$ac_objext
28836 if { (ac_try="$ac_compile"
28837 case "(($ac_try" in
28838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28839 *) ac_try_echo=$ac_try;;
28841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28842 (eval "$ac_compile") 2>conftest.er1
28844 grep -v '^
*+' conftest.er1 >conftest.err
28846 cat conftest.err >&5
28847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28848 (exit $ac_status); } && {
28849 test -z "$ac_c_werror_flag" ||
28850 test ! -s conftest.err
28851 } && test -s conftest.$ac_objext; then
28852 ac_hi=$ac_mid; break
28854 echo "$as_me: failed program was:" >&5
28855 sed 's
/^
/| /' conftest.$ac_ext >&5
28857 ac_lo=`expr $ac_mid + 1`
28858 if test $ac_lo -le $ac_mid; then
28862 ac_mid=`expr 2 '*' $ac_mid + 1`
28865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28868 echo "$as_me: failed program was:" >&5
28869 sed 's
/^
/| /' conftest.$ac_ext >&5
28871 cat >conftest.$ac_ext <<_ACEOF
28874 cat confdefs.h >>conftest.$ac_ext
28875 cat >>conftest.$ac_ext <<_ACEOF
28876 /* end confdefs.h. */
28878 #undef HAVE_BOOLEAN
28880 #include <jpeglib.h>
28883 typedef boolean ac__type_sizeof_;
28887 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28894 rm -f conftest.$ac_objext
28895 if { (ac_try="$ac_compile"
28896 case "(($ac_try" in
28897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28898 *) ac_try_echo=$ac_try;;
28900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28901 (eval "$ac_compile") 2>conftest.er1
28903 grep -v '^
*+' conftest.er1 >conftest.err
28905 cat conftest.err >&5
28906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28907 (exit $ac_status); } && {
28908 test -z "$ac_c_werror_flag" ||
28909 test ! -s conftest.err
28910 } && test -s conftest.$ac_objext; then
28913 cat >conftest.$ac_ext <<_ACEOF
28916 cat confdefs.h >>conftest.$ac_ext
28917 cat >>conftest.$ac_ext <<_ACEOF
28918 /* end confdefs.h. */
28920 #undef HAVE_BOOLEAN
28922 #include <jpeglib.h>
28925 typedef boolean ac__type_sizeof_;
28929 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28936 rm -f conftest.$ac_objext
28937 if { (ac_try="$ac_compile"
28938 case "(($ac_try" in
28939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28940 *) ac_try_echo=$ac_try;;
28942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28943 (eval "$ac_compile") 2>conftest.er1
28945 grep -v '^
*+' conftest.er1 >conftest.err
28947 cat conftest.err >&5
28948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28949 (exit $ac_status); } && {
28950 test -z "$ac_c_werror_flag" ||
28951 test ! -s conftest.err
28952 } && test -s conftest.$ac_objext; then
28953 ac_lo=$ac_mid; break
28955 echo "$as_me: failed program was:" >&5
28956 sed 's
/^
/| /' conftest.$ac_ext >&5
28958 ac_hi=`expr '(' $ac_mid ')' - 1`
28959 if test $ac_mid -le $ac_hi; then
28963 ac_mid=`expr 2 '*' $ac_mid`
28966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28969 echo "$as_me: failed program was:" >&5
28970 sed 's
/^
/| /' conftest.$ac_ext >&5
28975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28979 # Binary search between lo and hi bounds.
28980 while test "x$ac_lo" != "x$ac_hi"; do
28981 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28982 cat >conftest.$ac_ext <<_ACEOF
28985 cat confdefs.h >>conftest.$ac_ext
28986 cat >>conftest.$ac_ext <<_ACEOF
28987 /* end confdefs.h. */
28989 #undef HAVE_BOOLEAN
28991 #include <jpeglib.h>
28994 typedef boolean ac__type_sizeof_;
28998 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29005 rm -f conftest.$ac_objext
29006 if { (ac_try="$ac_compile"
29007 case "(($ac_try" in
29008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29009 *) ac_try_echo=$ac_try;;
29011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29012 (eval "$ac_compile") 2>conftest.er1
29014 grep -v '^
*+' conftest.er1 >conftest.err
29016 cat conftest.err >&5
29017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29018 (exit $ac_status); } && {
29019 test -z "$ac_c_werror_flag" ||
29020 test ! -s conftest.err
29021 } && test -s conftest.$ac_objext; then
29024 echo "$as_me: failed program was:" >&5
29025 sed 's
/^
/| /' conftest.$ac_ext >&5
29027 ac_lo=`expr '(' $ac_mid ')' + 1`
29030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29033 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29034 '') if test "$ac_cv_type_boolean" = yes; then
29035 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29036 See \`config.log' for more details.
" >&5
29037 echo "$as_me: error
: cannot compute sizeof
(boolean
)
29038 See \
`config.log' for more details." >&2;}
29039 { (exit 77); exit 77; }; }
29041 ac_cv_sizeof_boolean=0
29045 cat >conftest.$ac_ext <<_ACEOF
29048 cat confdefs.h >>conftest.$ac_ext
29049 cat >>conftest.$ac_ext <<_ACEOF
29050 /* end confdefs.h. */
29052 #undef HAVE_BOOLEAN
29054 #include <jpeglib.h>
29057 typedef boolean ac__type_sizeof_;
29058 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29059 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29061 #include <stdlib.h>
29066 FILE *f = fopen ("conftest.val", "w");
29069 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29071 long int i = longval ();
29072 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29074 fprintf (f, "%ld\n", i);
29078 unsigned long int i = ulongval ();
29079 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29081 fprintf (f, "%lu\n", i);
29083 return ferror (f) || fclose (f) != 0;
29089 rm -f conftest$ac_exeext
29090 if { (ac_try="$ac_link"
29091 case "(($ac_try" in
29092 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29093 *) ac_try_echo
=$ac_try;;
29095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29096 (eval "$ac_link") 2>&5
29098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29099 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29100 { (case "(($ac_try" in
29101 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29102 *) ac_try_echo=$ac_try;;
29104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29105 (eval "$ac_try") 2>&5
29107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29108 (exit $ac_status); }; }; then
29109 ac_cv_sizeof_boolean=`cat conftest.val
`
29111 echo "$as_me: program exited with status $ac_status" >&5
29112 echo "$as_me: failed program was:" >&5
29113 sed 's/^/| /' conftest.$ac_ext >&5
29115 ( exit $ac_status )
29116 if test "$ac_cv_type_boolean" = yes; then
29117 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29118 See \`config.log
' for more details." >&5
29119 echo "$as_me: error: cannot compute sizeof (boolean)
29120 See \`config.log' for more details.
" >&2;}
29121 { (exit 77); exit 77; }; }
29123 ac_cv_sizeof_boolean=0
29126 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29130 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
29131 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29135 cat >>confdefs.h <<_ACEOF
29136 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29140 cat >>confdefs.h <<_ACEOF
29141 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29155 TIFF_PREREQ_LINKS=-lm
29156 if test "$wxUSE_LIBTIFF" != "no
" ; then
29157 cat >>confdefs.h <<\_ACEOF
29158 #define wxUSE_LIBTIFF 1
29162 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
29163 if test "$wxUSE_LIBJPEG" = "sys
"; then
29164 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29166 if test "$wxUSE_ZLIB" = "sys
"; then
29167 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29169 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
29170 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
29171 if test "${ac_cv_header_tiffio_h+set}" = set; then
29172 echo $ECHO_N "(cached
) $ECHO_C" >&6
29174 cat >conftest.$ac_ext <<_ACEOF
29177 cat confdefs.h >>conftest.$ac_ext
29178 cat >>conftest.$ac_ext <<_ACEOF
29179 /* end confdefs.h. */
29183 #include <tiffio.h>
29185 rm -f conftest.$ac_objext
29186 if { (ac_try="$ac_compile"
29187 case "(($ac_try" in
29188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29189 *) ac_try_echo=$ac_try;;
29191 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29192 (eval "$ac_compile") 2>conftest.er1
29194 grep -v '^ *+' conftest.er1 >conftest.err
29196 cat conftest.err >&5
29197 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29198 (exit $ac_status); } && {
29199 test -z "$ac_c_werror_flag" ||
29200 test ! -s conftest.err
29201 } && test -s conftest.$ac_objext; then
29202 ac_cv_header_tiffio_h=yes
29204 echo "$as_me: failed program was
:" >&5
29205 sed 's/^/| /' conftest.$ac_ext >&5
29207 ac_cv_header_tiffio_h=no
29210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29212 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
29213 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29214 if test $ac_cv_header_tiffio_h = yes; then
29216 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
29217 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
29218 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29219 echo $ECHO_N "(cached
) $ECHO_C" >&6
29221 ac_check_lib_save_LIBS=$LIBS
29222 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29223 cat >conftest.$ac_ext <<_ACEOF
29226 cat confdefs.h >>conftest.$ac_ext
29227 cat >>conftest.$ac_ext <<_ACEOF
29228 /* end confdefs.h. */
29230 /* Override any GCC internal prototype to avoid an error.
29231 Use char because int might match the return type of a GCC
29232 builtin and then its argument prototype would still apply. */
29240 return TIFFError ();
29245 rm -f conftest.$ac_objext conftest$ac_exeext
29246 if { (ac_try="$ac_link"
29247 case "(($ac_try" in
29248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29249 *) ac_try_echo=$ac_try;;
29251 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29252 (eval "$ac_link") 2>conftest.er1
29254 grep -v '^ *+' conftest.er1 >conftest.err
29256 cat conftest.err >&5
29257 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29258 (exit $ac_status); } && {
29259 test -z "$ac_c_werror_flag" ||
29260 test ! -s conftest.err
29261 } && test -s conftest$ac_exeext &&
29262 $as_test_x conftest$ac_exeext; then
29263 ac_cv_lib_tiff_TIFFError=yes
29265 echo "$as_me: failed program was
:" >&5
29266 sed 's/^/| /' conftest.$ac_ext >&5
29268 ac_cv_lib_tiff_TIFFError=no
29271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29272 conftest$ac_exeext conftest.$ac_ext
29273 LIBS=$ac_check_lib_save_LIBS
29275 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
29276 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29277 if test $ac_cv_lib_tiff_TIFFError = yes; then
29278 TIFF_LINK=" -ltiff"
29286 if test "x
$TIFF_LINK" = "x
" ; then
29287 if test "$wxUSE_LIBTIFF" = "sys
" ; then
29288 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
29289 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
29290 { (exit 1); exit 1; }; }
29292 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
29293 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
29294 wxUSE_LIBTIFF=builtin
29300 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29301 if test "$wxUSE_LIBJPEG" = "no
"; then
29302 ac_configure_args="$ac_configure_args --disable-jpeg"
29304 subdirs="$subdirs src
/tiff
"
29310 if test "$wxUSE_EXPAT" != "no
"; then
29312 cat >>confdefs.h <<\_ACEOF
29313 #define wxUSE_EXPAT 1
29316 cat >>confdefs.h <<\_ACEOF
29317 #define wxUSE_XML 1
29321 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
29322 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
29323 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
29324 if test "${ac_cv_header_expat_h+set}" = set; then
29325 echo $ECHO_N "(cached
) $ECHO_C" >&6
29327 cat >conftest.$ac_ext <<_ACEOF
29330 cat confdefs.h >>conftest.$ac_ext
29331 cat >>conftest.$ac_ext <<_ACEOF
29332 /* end confdefs.h. */
29337 rm -f conftest.$ac_objext
29338 if { (ac_try="$ac_compile"
29339 case "(($ac_try" in
29340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29341 *) ac_try_echo=$ac_try;;
29343 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29344 (eval "$ac_compile") 2>conftest.er1
29346 grep -v '^ *+' conftest.er1 >conftest.err
29348 cat conftest.err >&5
29349 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29350 (exit $ac_status); } && {
29351 test -z "$ac_c_werror_flag" ||
29352 test ! -s conftest.err
29353 } && test -s conftest.$ac_objext; then
29354 ac_cv_header_expat_h=yes
29356 echo "$as_me: failed program was
:" >&5
29357 sed 's/^/| /' conftest.$ac_ext >&5
29359 ac_cv_header_expat_h=no
29362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29364 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
29365 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29366 if test $ac_cv_header_expat_h = yes; then
29371 if test "x
$found_expat_h" = "x1
"; then
29372 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
29373 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
29374 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29375 echo $ECHO_N "(cached
) $ECHO_C" >&6
29379 ac_cpp='$CXXCPP $CPPFLAGS'
29380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29384 cat >conftest.$ac_ext <<_ACEOF
29387 cat confdefs.h >>conftest.$ac_ext
29388 cat >>conftest.$ac_ext <<_ACEOF
29389 /* end confdefs.h. */
29399 rm -f conftest.$ac_objext
29400 if { (ac_try="$ac_compile"
29401 case "(($ac_try" in
29402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29403 *) ac_try_echo=$ac_try;;
29405 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29406 (eval "$ac_compile") 2>conftest.er1
29408 grep -v '^ *+' conftest.er1 >conftest.err
29410 cat conftest.err >&5
29411 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29412 (exit $ac_status); } && {
29413 test -z "$ac_cxx_werror_flag" ||
29414 test ! -s conftest.err
29415 } && test -s conftest.$ac_objext; then
29416 wx_cv_expat_is_not_broken=yes
29418 echo "$as_me: failed program was
:" >&5
29419 sed 's/^/| /' conftest.$ac_ext >&5
29421 wx_cv_expat_is_not_broken=no
29425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29427 ac_cpp='$CPP $CPPFLAGS'
29428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29435 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
29436 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29437 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29438 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
29439 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
29440 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29441 echo $ECHO_N "(cached
) $ECHO_C" >&6
29443 ac_check_lib_save_LIBS=$LIBS
29444 LIBS="-lexpat $LIBS"
29445 cat >conftest.$ac_ext <<_ACEOF
29448 cat confdefs.h >>conftest.$ac_ext
29449 cat >>conftest.$ac_ext <<_ACEOF
29450 /* end confdefs.h. */
29452 /* Override any GCC internal prototype to avoid an error.
29453 Use char because int might match the return type of a GCC
29454 builtin and then its argument prototype would still apply. */
29458 char XML_ParserCreate ();
29462 return XML_ParserCreate ();
29467 rm -f conftest.$ac_objext conftest$ac_exeext
29468 if { (ac_try="$ac_link"
29469 case "(($ac_try" in
29470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29471 *) ac_try_echo=$ac_try;;
29473 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29474 (eval "$ac_link") 2>conftest.er1
29476 grep -v '^ *+' conftest.er1 >conftest.err
29478 cat conftest.err >&5
29479 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29480 (exit $ac_status); } && {
29481 test -z "$ac_c_werror_flag" ||
29482 test ! -s conftest.err
29483 } && test -s conftest$ac_exeext &&
29484 $as_test_x conftest$ac_exeext; then
29485 ac_cv_lib_expat_XML_ParserCreate=yes
29487 echo "$as_me: failed program was
:" >&5
29488 sed 's/^/| /' conftest.$ac_ext >&5
29490 ac_cv_lib_expat_XML_ParserCreate=no
29493 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29494 conftest$ac_exeext conftest.$ac_ext
29495 LIBS=$ac_check_lib_save_LIBS
29497 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
29498 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29499 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29500 EXPAT_LINK=" -lexpat"
29505 if test "x
$EXPAT_LINK" = "x
" ; then
29506 if test "$wxUSE_EXPAT" = "sys
" ; then
29507 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
29508 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
29509 { (exit 1); exit 1; }; }
29511 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
29512 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
29513 wxUSE_EXPAT=builtin
29519 if test "$wxUSE_EXPAT" = "builtin" ; then
29520 subdirs="$subdirs src
/expat
"
29527 if test "$wxUSE_LIBMSPACK" != "no
"; then
29528 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
29529 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
29530 if test "${ac_cv_header_mspack_h+set}" = set; then
29531 echo $ECHO_N "(cached
) $ECHO_C" >&6
29533 cat >conftest.$ac_ext <<_ACEOF
29536 cat confdefs.h >>conftest.$ac_ext
29537 cat >>conftest.$ac_ext <<_ACEOF
29538 /* end confdefs.h. */
29541 #include <mspack.h>
29543 rm -f conftest.$ac_objext
29544 if { (ac_try="$ac_compile"
29545 case "(($ac_try" in
29546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29547 *) ac_try_echo=$ac_try;;
29549 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29550 (eval "$ac_compile") 2>conftest.er1
29552 grep -v '^ *+' conftest.er1 >conftest.err
29554 cat conftest.err >&5
29555 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29556 (exit $ac_status); } && {
29557 test -z "$ac_c_werror_flag" ||
29558 test ! -s conftest.err
29559 } && test -s conftest.$ac_objext; then
29560 ac_cv_header_mspack_h=yes
29562 echo "$as_me: failed program was
:" >&5
29563 sed 's/^/| /' conftest.$ac_ext >&5
29565 ac_cv_header_mspack_h=no
29568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29570 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
29571 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29572 if test $ac_cv_header_mspack_h = yes; then
29577 if test "x
$found_mspack_h" = "x1
"; then
29578 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
29579 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
29580 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29581 echo $ECHO_N "(cached
) $ECHO_C" >&6
29583 ac_check_lib_save_LIBS=$LIBS
29584 LIBS="-lmspack $LIBS"
29585 cat >conftest.$ac_ext <<_ACEOF
29588 cat confdefs.h >>conftest.$ac_ext
29589 cat >>conftest.$ac_ext <<_ACEOF
29590 /* end confdefs.h. */
29592 /* Override any GCC internal prototype to avoid an error.
29593 Use char because int might match the return type of a GCC
29594 builtin and then its argument prototype would still apply. */
29598 char mspack_create_chm_decompressor ();
29602 return mspack_create_chm_decompressor ();
29607 rm -f conftest.$ac_objext conftest$ac_exeext
29608 if { (ac_try="$ac_link"
29609 case "(($ac_try" in
29610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29611 *) ac_try_echo=$ac_try;;
29613 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29614 (eval "$ac_link") 2>conftest.er1
29616 grep -v '^ *+' conftest.er1 >conftest.err
29618 cat conftest.err >&5
29619 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29620 (exit $ac_status); } && {
29621 test -z "$ac_c_werror_flag" ||
29622 test ! -s conftest.err
29623 } && test -s conftest$ac_exeext &&
29624 $as_test_x conftest$ac_exeext; then
29625 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29627 echo "$as_me: failed program was
:" >&5
29628 sed 's/^/| /' conftest.$ac_ext >&5
29630 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29634 conftest$ac_exeext conftest.$ac_ext
29635 LIBS=$ac_check_lib_save_LIBS
29637 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29638 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29639 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29640 MSPACK_LINK=" -lmspack"
29644 if test "x
$MSPACK_LINK" = "x
" ; then
29649 if test "$wxUSE_LIBMSPACK" != "no
"; then
29650 cat >>confdefs.h <<\_ACEOF
29651 #define wxUSE_LIBMSPACK 1
29665 if test "$USE_WIN32" = 1 ; then
29667 for ac_header in w32api.h
29669 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
29670 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
29671 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
29672 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
29673 echo $ECHO_N "(cached
) $ECHO_C" >&6
29675 cat >conftest.$ac_ext <<_ACEOF
29678 cat confdefs.h >>conftest.$ac_ext
29679 cat >>conftest.$ac_ext <<_ACEOF
29680 /* end confdefs.h. */
29683 #include <$ac_header>
29685 rm -f conftest.$ac_objext
29686 if { (ac_try="$ac_compile"
29687 case "(($ac_try" in
29688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29689 *) ac_try_echo=$ac_try;;
29691 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29692 (eval "$ac_compile") 2>conftest.er1
29694 grep -v '^ *+' conftest.er1 >conftest.err
29696 cat conftest.err >&5
29697 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29698 (exit $ac_status); } && {
29699 test -z "$ac_c_werror_flag" ||
29700 test ! -s conftest.err
29701 } && test -s conftest.$ac_objext; then
29702 eval "$as_ac_Header=yes"
29704 echo "$as_me: failed program was
:" >&5
29705 sed 's/^/| /' conftest.$ac_ext >&5
29707 eval "$as_ac_Header=no
"
29710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29712 ac_res=`eval echo '${'$as_ac_Header'}'`
29713 { echo "$as_me:$LINENO: result
: $ac_res" >&5
29714 echo "${ECHO_T}$ac_res" >&6; }
29715 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29716 cat >>confdefs.h <<_ACEOF
29717 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
29724 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
29725 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
29726 if test "${ac_cv_header_windows_h+set}" = set; then
29727 echo $ECHO_N "(cached
) $ECHO_C" >&6
29729 cat >conftest.$ac_ext <<_ACEOF
29732 cat confdefs.h >>conftest.$ac_ext
29733 cat >>conftest.$ac_ext <<_ACEOF
29734 /* end confdefs.h. */
29737 #include <windows.h>
29739 rm -f conftest.$ac_objext
29740 if { (ac_try="$ac_compile"
29741 case "(($ac_try" in
29742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29743 *) ac_try_echo=$ac_try;;
29745 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29746 (eval "$ac_compile") 2>conftest.er1
29748 grep -v '^ *+' conftest.er1 >conftest.err
29750 cat conftest.err >&5
29751 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29752 (exit $ac_status); } && {
29753 test -z "$ac_c_werror_flag" ||
29754 test ! -s conftest.err
29755 } && test -s conftest.$ac_objext; then
29756 ac_cv_header_windows_h=yes
29758 echo "$as_me: failed program was
:" >&5
29759 sed 's/^/| /' conftest.$ac_ext >&5
29761 ac_cv_header_windows_h=no
29764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29766 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
29767 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29768 if test $ac_cv_header_windows_h = yes; then
29772 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
29773 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
29774 { (exit 1); exit 1; }; }
29780 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29782 x86_64-*-mingw32* )
29783 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64
"
29786 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29787 LIBS="$LIBS -loleacc"
29792 LIBS="$LIBS -lkernel32 -luser32"
29795 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
$WINDRES_CPU_DEFINE"
29796 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
29798 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
$WINDRES_CPU_DEFINE"
29800 WIN32INSTALL=win32install
29802 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
29803 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
29804 if test "${ac_cv_header_pbt_h+set}" = set; then
29805 echo $ECHO_N "(cached
) $ECHO_C" >&6
29807 cat >conftest.$ac_ext <<_ACEOF
29810 cat confdefs.h >>conftest.$ac_ext
29811 cat >>conftest.$ac_ext <<_ACEOF
29812 /* end confdefs.h. */
29817 rm -f conftest.$ac_objext
29818 if { (ac_try="$ac_compile"
29819 case "(($ac_try" in
29820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29821 *) ac_try_echo=$ac_try;;
29823 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29824 (eval "$ac_compile") 2>conftest.er1
29826 grep -v '^ *+' conftest.er1 >conftest.err
29828 cat conftest.err >&5
29829 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29830 (exit $ac_status); } && {
29831 test -z "$ac_c_werror_flag" ||
29832 test ! -s conftest.err
29833 } && test -s conftest.$ac_objext; then
29834 ac_cv_header_pbt_h=yes
29836 echo "$as_me: failed program was
:" >&5
29837 sed 's/^/| /' conftest.$ac_ext >&5
29839 ac_cv_header_pbt_h=no
29842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29844 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
29845 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29846 if test $ac_cv_header_pbt_h = yes; then
29849 cat >>confdefs.h <<\_ACEOF
29850 #define NEED_PBT_H 1
29858 if test "$wxUSE_GUI" = "yes"; then
29867 if test "$wxUSE_OLD_COCOA" = 1 ; then
29868 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29869 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
29870 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
29871 wxUSE_PRINTING_ARCHITECTURE=no
29873 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29874 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
29875 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
29876 wxUSE_DRAG_AND_DROP=no
29878 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29879 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
29880 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
29885 if test "$wxUSE_MSW" = 1 ; then
29891 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
29895 if test "$wxUSE_GTK" = 1; then
29896 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
29897 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
29899 gtk_version_cached=1
29900 if test "${wx_cv_lib_gtk+set}" = set; then
29901 echo $ECHO_N "(cached
) $ECHO_C" >&6
29904 gtk_version_cached=0
29905 { echo "$as_me:$LINENO: result
: " >&5
29906 echo "${ECHO_T}" >&6; }
29909 if test "$wxUSE_THREADS" = "yes"; then
29910 GTK_MODULES=gthread
29914 if test "x
$wxGTK_VERSION" != "x1
"
29918 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29923 # Check whether --enable-gtktest was given.
29924 if test "${enable_gtktest+set}" = set; then
29925 enableval=$enable_gtktest;
29931 pkg_config_args=gtk+-2.0
29932 for module in . $GTK_MODULES
29936 pkg_config_args="$pkg_config_args gthread
-2.0
"
29943 # Extract the first word of "pkg
-config", so it can be a program name with args.
29944 set dummy pkg-config; ac_word=$2
29945 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
29946 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
29947 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29948 echo $ECHO_N "(cached
) $ECHO_C" >&6
29950 case $PKG_CONFIG in
29952 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29956 for as_dir in $PATH
29959 test -z "$as_dir" && as_dir=.
29960 for ac_exec_ext in '' $ac_executable_extensions; do
29961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29962 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29963 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29970 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
29974 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29975 if test -n "$PKG_CONFIG"; then
29976 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
29977 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29979 { echo "$as_me:$LINENO: result
: no
" >&5
29980 echo "${ECHO_T}no
" >&6; }
29985 if test x$PKG_CONFIG != xno ; then
29986 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29989 echo "*** pkg
-config too old
; version
0.7 or better required.
"
29997 min_gtk_version=2.4.0
29998 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
29999 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
30001 if test x$PKG_CONFIG != xno ; then
30002 ## don't try to run the test against uninstalled libtool libs
30003 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30004 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
30008 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30015 if test x"$no_gtk" = x ; then
30016 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30017 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30018 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30019 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30020 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30021 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30022 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30023 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30024 if test "x
$enable_gtktest" = "xyes
" ; then
30025 ac_save_CFLAGS="$CFLAGS"
30026 ac_save_LIBS="$LIBS"
30027 CFLAGS="$CFLAGS $GTK_CFLAGS"
30028 LIBS="$GTK_LIBS $LIBS"
30030 if test "$cross_compiling" = yes; then
30031 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
30033 cat >conftest.$ac_ext <<_ACEOF
30036 cat confdefs.h >>conftest.$ac_ext
30037 cat >>conftest.$ac_ext <<_ACEOF
30038 /* end confdefs.h. */
30040 #include <gtk/gtk.h>
30042 #include <stdlib.h>
30047 int major, minor, micro;
30050 system ("touch conf.gtktest
");
30052 /* HP/UX 9 (%@#!) writes to sscanf strings */
30053 tmp_version = g_strdup("$min_gtk_version");
30054 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
30055 printf("%s
, bad version string
\n", "$min_gtk_version");
30059 if ((gtk_major_version != $gtk_config_major_version) ||
30060 (gtk_minor_version != $gtk_config_minor_version) ||
30061 (gtk_micro_version != $gtk_config_micro_version))
30063 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
30064 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30065 gtk_major_version, gtk_minor_version, gtk_micro_version);
30066 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
30067 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
30068 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
30069 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
30070 printf("*** required on your system.
\n");
30071 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
30072 printf("*** to point to the correct configuration files
\n");
30074 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30075 (gtk_minor_version != GTK_MINOR_VERSION) ||
30076 (gtk_micro_version != GTK_MICRO_VERSION))
30078 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
30079 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30080 printf("*** library
(version
%d.
%d.
%d
)\n",
30081 gtk_major_version, gtk_minor_version, gtk_micro_version);
30085 if ((gtk_major_version > major) ||
30086 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30087 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30093 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
30094 gtk_major_version, gtk_minor_version, gtk_micro_version);
30095 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
30096 major, minor, micro);
30097 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
30099 printf("*** If you have already installed a sufficiently new version
, this error
\n");
30100 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
30101 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
30102 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
30103 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
30104 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
30105 printf("*** so that the correct libraries are found
at run
-time))\n");
30112 rm -f conftest$ac_exeext
30113 if { (ac_try="$ac_link"
30114 case "(($ac_try" in
30115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30116 *) ac_try_echo=$ac_try;;
30118 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30119 (eval "$ac_link") 2>&5
30121 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30122 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30123 { (case "(($ac_try" in
30124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30125 *) ac_try_echo=$ac_try;;
30127 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30128 (eval "$ac_try") 2>&5
30130 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30131 (exit $ac_status); }; }; then
30134 echo "$as_me: program exited with status
$ac_status" >&5
30135 echo "$as_me: failed program was
:" >&5
30136 sed 's/^/| /' conftest.$ac_ext >&5
30138 ( exit $ac_status )
30141 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30145 CFLAGS="$ac_save_CFLAGS"
30146 LIBS="$ac_save_LIBS"
30149 if test "x
$no_gtk" = x ; then
30150 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
30151 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
30154 { echo "$as_me:$LINENO: result
: no
" >&5
30155 echo "${ECHO_T}no
" >&6; }
30156 if test "$PKG_CONFIG" = "no
" ; then
30157 echo "*** A new enough version of pkg
-config was not found.
"
30158 echo "*** See http
://pkgconfig.sourceforge.net
"
30160 if test -f conf.gtktest ; then
30163 echo "*** Could not run GTK
+ test program
, checking why...
"
30164 ac_save_CFLAGS="$CFLAGS"
30165 ac_save_LIBS="$LIBS"
30166 CFLAGS="$CFLAGS $GTK_CFLAGS"
30167 LIBS="$LIBS $GTK_LIBS"
30168 cat >conftest.$ac_ext <<_ACEOF
30171 cat confdefs.h >>conftest.$ac_ext
30172 cat >>conftest.$ac_ext <<_ACEOF
30173 /* end confdefs.h. */
30175 #include <gtk/gtk.h>
30181 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30186 rm -f conftest.$ac_objext conftest$ac_exeext
30187 if { (ac_try="$ac_link"
30188 case "(($ac_try" in
30189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30190 *) ac_try_echo=$ac_try;;
30192 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30193 (eval "$ac_link") 2>conftest.er1
30195 grep -v '^ *+' conftest.er1 >conftest.err
30197 cat conftest.err >&5
30198 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30199 (exit $ac_status); } && {
30200 test -z "$ac_c_werror_flag" ||
30201 test ! -s conftest.err
30202 } && test -s conftest$ac_exeext &&
30203 $as_test_x conftest$ac_exeext; then
30204 echo "*** The
test program compiled
, but did not run. This usually means
"
30205 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
30206 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
30207 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30208 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30209 echo "*** is required on your system"
30211 echo "*** If you have an old version installed, it is best to remove it, although"
30212 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30214 echo "$as_me: failed program was:" >&5
30215 sed 's
/^
/| /' conftest.$ac_ext >&5
30217 echo "*** The test program failed to compile or link. See the file config.log for the"
30218 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30222 conftest$ac_exeext conftest.$ac_ext
30223 CFLAGS="$ac_save_CFLAGS"
30224 LIBS="$ac_save_LIBS"
30237 if test -z "$wx_cv_lib_gtk"; then
30238 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30240 # Check whether --with-gtk-prefix was given.
30241 if test "${with_gtk_prefix+set}" = set; then
30242 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30244 gtk_config_prefix=""
30248 # Check whether --with-gtk-exec-prefix was given.
30249 if test "${with_gtk_exec_prefix+set}" = set; then
30250 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30252 gtk_config_exec_prefix=""
30255 # Check whether --enable-gtktest was given.
30256 if test "${enable_gtktest+set}" = set; then
30257 enableval=$enable_gtktest;
30263 for module in . $GTK_MODULES
30267 gtk_config_args="$gtk_config_args gthread"
30272 if test x$gtk_config_exec_prefix != x ; then
30273 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30274 if test x${GTK_CONFIG+set} != xset ; then
30275 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30278 if test x$gtk_config_prefix != x ; then
30279 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30280 if test x${GTK_CONFIG+set} != xset ; then
30281 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30285 # Extract the first word of "gtk-config", so it can be a program name with args.
30286 set dummy gtk-config; ac_word=$2
30287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30289 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30290 echo $ECHO_N "(cached) $ECHO_C" >&6
30292 case $GTK_CONFIG in
30294 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30298 for as_dir in $PATH
30301 test -z "$as_dir" && as_dir=.
30302 for ac_exec_ext in '' $ac_executable_extensions; do
30303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30304 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30312 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30316 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30317 if test -n "$GTK_CONFIG"; then
30318 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30319 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30321 { echo "$as_me:$LINENO: result: no" >&5
30322 echo "${ECHO_T}no" >&6; }
30326 min_gtk_version=1.2.7
30327 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30328 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30330 if test "$GTK_CONFIG" = "no" ; then
30333 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30334 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30335 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30336 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
30337 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30338 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
30339 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30340 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
30341 if test "x$enable_gtktest" = "xyes" ; then
30342 ac_save_CFLAGS="$CFLAGS"
30343 ac_save_LIBS="$LIBS"
30344 CFLAGS="$CFLAGS $GTK_CFLAGS"
30345 LIBS="$GTK_LIBS $LIBS"
30347 if test "$cross_compiling" = yes; then
30348 echo $ac_n "cross compiling; assumed OK... $ac_c"
30350 cat >conftest.$ac_ext <<_ACEOF
30353 cat confdefs.h >>conftest.$ac_ext
30354 cat >>conftest.$ac_ext <<_ACEOF
30355 /* end confdefs.h. */
30357 #include <gtk/gtk.h>
30359 #include <stdlib.h>
30364 int major, minor, micro;
30367 system ("touch conf.gtktest");
30369 /* HP/UX 9 (%@#!) writes to sscanf strings */
30370 tmp_version = g_strdup("$min_gtk_version");
30371 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30372 printf("%s, bad version string\n", "$min_gtk_version");
30376 if ((gtk_major_version != $gtk_config_major_version) ||
30377 (gtk_minor_version != $gtk_config_minor_version) ||
30378 (gtk_micro_version != $gtk_config_micro_version))
30380 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30381 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30382 gtk_major_version, gtk_minor_version, gtk_micro_version);
30383 printf ("*** was found! If gtk-config was correct, then it is best\n");
30384 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30385 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30386 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30387 printf("*** required on your system.\n");
30388 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30389 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30390 printf("*** before re-running configure\n");
30392 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30393 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30394 (gtk_minor_version != GTK_MINOR_VERSION) ||
30395 (gtk_micro_version != GTK_MICRO_VERSION))
30397 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30398 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30399 printf("*** library (version %d.%d.%d)\n",
30400 gtk_major_version, gtk_minor_version, gtk_micro_version);
30402 #endif /* defined (GTK_MAJOR_VERSION) ... */
30405 if ((gtk_major_version > major) ||
30406 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30407 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30413 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30414 gtk_major_version, gtk_minor_version, gtk_micro_version);
30415 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30416 major, minor, micro);
30417 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30419 printf("*** If you have already installed a sufficiently new version, this error\n");
30420 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30421 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30422 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30423 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30424 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30425 printf("*** so that the correct libraries are found at run-time))\n");
30432 rm -f conftest$ac_exeext
30433 if { (ac_try="$ac_link"
30434 case "(($ac_try" in
30435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30436 *) ac_try_echo=$ac_try;;
30438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30439 (eval "$ac_link") 2>&5
30441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30442 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
30443 { (case "(($ac_try" in
30444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30445 *) ac_try_echo=$ac_try;;
30447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30448 (eval "$ac_try") 2>&5
30450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30451 (exit $ac_status); }; }; then
30454 echo "$as_me: program exited with status $ac_status" >&5
30455 echo "$as_me: failed program was:" >&5
30456 sed 's
/^
/| /' conftest.$ac_ext >&5
30458 ( exit $ac_status )
30461 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30465 CFLAGS="$ac_save_CFLAGS"
30466 LIBS="$ac_save_LIBS"
30469 if test "x$no_gtk" = x ; then
30470 { echo "$as_me:$LINENO: result: yes" >&5
30471 echo "${ECHO_T}yes" >&6; }
30472 wx_cv_lib_gtk=1.2.7
30474 { echo "$as_me:$LINENO: result: no" >&5
30475 echo "${ECHO_T}no" >&6; }
30476 if test "$GTK_CONFIG" = "no" ; then
30477 echo "*** The gtk-config script installed by GTK could not be found"
30478 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30479 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30480 echo "*** full path to gtk-config."
30482 if test -f conf.gtktest ; then
30485 echo "*** Could not run GTK test program, checking why..."
30486 CFLAGS="$CFLAGS $GTK_CFLAGS"
30487 LIBS="$LIBS $GTK_LIBS"
30488 cat >conftest.$ac_ext <<_ACEOF
30491 cat confdefs.h >>conftest.$ac_ext
30492 cat >>conftest.$ac_ext <<_ACEOF
30493 /* end confdefs.h. */
30495 #include <gtk/gtk.h>
30501 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30506 rm -f conftest.$ac_objext conftest$ac_exeext
30507 if { (ac_try="$ac_link"
30508 case "(($ac_try" in
30509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30510 *) ac_try_echo=$ac_try;;
30512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30513 (eval "$ac_link") 2>conftest.er1
30515 grep -v '^
*+' conftest.er1 >conftest.err
30517 cat conftest.err >&5
30518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30519 (exit $ac_status); } && {
30520 test -z "$ac_c_werror_flag" ||
30521 test ! -s conftest.err
30522 } && test -s conftest$ac_exeext &&
30523 $as_test_x conftest$ac_exeext; then
30524 echo "*** The test program compiled, but did not run. This usually means"
30525 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30526 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
30527 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
30528 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
30529 echo "*** is required on your system
"
30531 echo "*** If you have an old version installed
, it is best to remove it
, although
"
30532 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
30534 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
30535 echo "*** came with the system with the
command"
30537 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
30539 echo "$as_me: failed program was
:" >&5
30540 sed 's/^/| /' conftest.$ac_ext >&5
30542 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
30543 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
30544 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
30545 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
30548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30549 conftest$ac_exeext conftest.$ac_ext
30550 CFLAGS="$ac_save_CFLAGS"
30551 LIBS="$ac_save_LIBS"
30563 if test -z "$wx_cv_lib_gtk"; then
30565 # Check whether --with-gtk-prefix was given.
30566 if test "${with_gtk_prefix+set}" = set; then
30567 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30569 gtk_config_prefix=""
30573 # Check whether --with-gtk-exec-prefix was given.
30574 if test "${with_gtk_exec_prefix+set}" = set; then
30575 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30577 gtk_config_exec_prefix=""
30580 # Check whether --enable-gtktest was given.
30581 if test "${enable_gtktest+set}" = set; then
30582 enableval=$enable_gtktest;
30588 for module in . $GTK_MODULES
30592 gtk_config_args="$gtk_config_args gthread
"
30597 if test x$gtk_config_exec_prefix != x ; then
30598 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30599 if test x${GTK_CONFIG+set} != xset ; then
30600 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30603 if test x$gtk_config_prefix != x ; then
30604 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30605 if test x${GTK_CONFIG+set} != xset ; then
30606 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30610 # Extract the first word of "gtk
-config", so it can be a program name with args.
30611 set dummy gtk-config; ac_word=$2
30612 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
30613 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
30614 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30615 echo $ECHO_N "(cached
) $ECHO_C" >&6
30617 case $GTK_CONFIG in
30619 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30623 for as_dir in $PATH
30626 test -z "$as_dir" && as_dir=.
30627 for ac_exec_ext in '' $ac_executable_extensions; do
30628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30629 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30630 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
30637 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
30641 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30642 if test -n "$GTK_CONFIG"; then
30643 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
30644 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30646 { echo "$as_me:$LINENO: result
: no
" >&5
30647 echo "${ECHO_T}no
" >&6; }
30651 min_gtk_version=1.2.3
30652 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
30653 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
30655 if test "$GTK_CONFIG" = "no
" ; then
30658 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30659 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30660 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30661 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30662 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30663 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30664 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30665 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30666 if test "x
$enable_gtktest" = "xyes
" ; then
30667 ac_save_CFLAGS="$CFLAGS"
30668 ac_save_LIBS="$LIBS"
30669 CFLAGS="$CFLAGS $GTK_CFLAGS"
30670 LIBS="$GTK_LIBS $LIBS"
30672 if test "$cross_compiling" = yes; then
30673 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
30675 cat >conftest.$ac_ext <<_ACEOF
30678 cat confdefs.h >>conftest.$ac_ext
30679 cat >>conftest.$ac_ext <<_ACEOF
30680 /* end confdefs.h. */
30682 #include <gtk/gtk.h>
30684 #include <stdlib.h>
30689 int major, minor, micro;
30692 system ("touch conf.gtktest
");
30694 /* HP/UX 9 (%@#!) writes to sscanf strings */
30695 tmp_version = g_strdup("$min_gtk_version");
30696 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
30697 printf("%s
, bad version string
\n", "$min_gtk_version");
30701 if ((gtk_major_version != $gtk_config_major_version) ||
30702 (gtk_minor_version != $gtk_config_minor_version) ||
30703 (gtk_micro_version != $gtk_config_micro_version))
30705 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
30706 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30707 gtk_major_version, gtk_minor_version, gtk_micro_version);
30708 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
30709 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
30710 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
30711 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
30712 printf("*** required on your system.
\n");
30713 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
30714 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
30715 printf("*** before re
-running configure
\n");
30717 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30718 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30719 (gtk_minor_version != GTK_MINOR_VERSION) ||
30720 (gtk_micro_version != GTK_MICRO_VERSION))
30722 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
30723 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30724 printf("*** library
(version
%d.
%d.
%d
)\n",
30725 gtk_major_version, gtk_minor_version, gtk_micro_version);
30727 #endif /* defined (GTK_MAJOR_VERSION) ... */
30730 if ((gtk_major_version > major) ||
30731 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30732 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30738 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
30739 gtk_major_version, gtk_minor_version, gtk_micro_version);
30740 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
30741 major, minor, micro);
30742 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
30744 printf("*** If you have already installed a sufficiently new version
, this error
\n");
30745 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
30746 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
30747 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
30748 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
30749 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
30750 printf("*** so that the correct libraries are found
at run
-time))\n");
30757 rm -f conftest$ac_exeext
30758 if { (ac_try="$ac_link"
30759 case "(($ac_try" in
30760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30761 *) ac_try_echo=$ac_try;;
30763 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30764 (eval "$ac_link") 2>&5
30766 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30767 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30768 { (case "(($ac_try" in
30769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30770 *) ac_try_echo=$ac_try;;
30772 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30773 (eval "$ac_try") 2>&5
30775 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30776 (exit $ac_status); }; }; then
30779 echo "$as_me: program exited with status
$ac_status" >&5
30780 echo "$as_me: failed program was
:" >&5
30781 sed 's/^/| /' conftest.$ac_ext >&5
30783 ( exit $ac_status )
30786 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30790 CFLAGS="$ac_save_CFLAGS"
30791 LIBS="$ac_save_LIBS"
30794 if test "x
$no_gtk" = x ; then
30795 { echo "$as_me:$LINENO: result
: yes" >&5
30796 echo "${ECHO_T}yes" >&6; }
30797 wx_cv_lib_gtk=1.2.3
30799 { echo "$as_me:$LINENO: result
: no
" >&5
30800 echo "${ECHO_T}no
" >&6; }
30801 if test "$GTK_CONFIG" = "no
" ; then
30802 echo "*** The gtk
-config script installed by GTK could not be found
"
30803 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
30804 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
30805 echo "*** full path to gtk
-config.
"
30807 if test -f conf.gtktest ; then
30810 echo "*** Could not run GTK
test program
, checking why...
"
30811 CFLAGS="$CFLAGS $GTK_CFLAGS"
30812 LIBS="$LIBS $GTK_LIBS"
30813 cat >conftest.$ac_ext <<_ACEOF
30816 cat confdefs.h >>conftest.$ac_ext
30817 cat >>conftest.$ac_ext <<_ACEOF
30818 /* end confdefs.h. */
30820 #include <gtk/gtk.h>
30826 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30831 rm -f conftest.$ac_objext conftest$ac_exeext
30832 if { (ac_try="$ac_link"
30833 case "(($ac_try" in
30834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30835 *) ac_try_echo=$ac_try;;
30837 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30838 (eval "$ac_link") 2>conftest.er1
30840 grep -v '^ *+' conftest.er1 >conftest.err
30842 cat conftest.err >&5
30843 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30844 (exit $ac_status); } && {
30845 test -z "$ac_c_werror_flag" ||
30846 test ! -s conftest.err
30847 } && test -s conftest$ac_exeext &&
30848 $as_test_x conftest$ac_exeext; then
30849 echo "*** The
test program compiled
, but did not run. This usually means
"
30850 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
30851 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
30852 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30853 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30854 echo "*** is required on your system"
30856 echo "*** If you have an old version installed, it is best to remove it, although"
30857 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30859 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30860 echo "*** came with the system with the command"
30862 echo "*** rpm --erase --nodeps gtk gtk-devel"
30864 echo "$as_me: failed program was:" >&5
30865 sed 's
/^
/| /' conftest.$ac_ext >&5
30867 echo "*** The test program failed to compile or link. See the file config.log for the"
30868 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30869 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30870 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30874 conftest$ac_exeext conftest.$ac_ext
30875 CFLAGS="$ac_save_CFLAGS"
30876 LIBS="$ac_save_LIBS"
30891 if test -z "$wx_cv_lib_gtk"; then
30894 GTK_LIBS="$GTK_LIBS -lX11"
30896 wx_cv_cflags_gtk=$GTK_CFLAGS
30897 wx_cv_libs_gtk=$GTK_LIBS
30904 if test "$gtk_version_cached" = 1; then
30905 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30906 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30909 case "$wx_cv_lib_gtk" in
30916 *) { { echo "$as_me:$LINENO: error:
30917 The development files for GTK+ were not found. For GTK+ 2, please
30918 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30919 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30920 and that the version is 1.2.3 or above. Also check that the
30921 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
30922 --libs' are in the LD_LIBRARY_PATH or equivalent.
30924 echo "$as_me: error:
30925 The development files for GTK+ were not found. For GTK+ 2, please
30926 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30927 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30928 and that the version is 1.2.3 or above. Also check that the
30929 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
30930 --libs' are in the LD_LIBRARY_PATH or equivalent.
30932 { (exit 1); exit 1; }; }
30936 if test "$WXGTK2" = 1; then
30937 save_CFLAGS="$CFLAGS"
30939 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30940 LIBS="$LIBS $wx_cv_libs_gtk"
30942 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30943 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30944 cat >conftest.$ac_ext <<_ACEOF
30947 cat confdefs.h >>conftest.$ac_ext
30948 cat >>conftest.$ac_ext <<_ACEOF
30949 /* end confdefs.h. */
30951 #include <gtk/gtk.h>
30957 #if !GTK_CHECK_VERSION(2,18,0)
30965 rm -f conftest.$ac_objext
30966 if { (ac_try="$ac_compile"
30967 case "(($ac_try" in
30968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30969 *) ac_try_echo=$ac_try;;
30971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30972 (eval "$ac_compile") 2>conftest.er1
30974 grep -v '^
*+' conftest.er1 >conftest.err
30976 cat conftest.err >&5
30977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30978 (exit $ac_status); } && {
30979 test -z "$ac_c_werror_flag" ||
30980 test ! -s conftest.err
30981 } && test -s conftest.$ac_objext; then
30983 cat >>confdefs.h <<\_ACEOF
30984 #define __WXGTK218__ 1
30987 cat >>confdefs.h <<\_ACEOF
30988 #define __WXGTK210__ 1
30991 cat >>confdefs.h <<\_ACEOF
30992 #define __WXGTK26__ 1
30995 { echo "$as_me:$LINENO: result: yes" >&5
30996 echo "${ECHO_T}yes" >&6; }
31000 echo "$as_me: failed program was:" >&5
31001 sed 's
/^
/| /' conftest.$ac_ext >&5
31004 { echo "$as_me:$LINENO: result: no" >&5
31005 echo "${ECHO_T}no" >&6; }
31010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31012 if test "$ac_wxgtk218" = 0; then
31013 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31014 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31015 cat >conftest.$ac_ext <<_ACEOF
31018 cat confdefs.h >>conftest.$ac_ext
31019 cat >>conftest.$ac_ext <<_ACEOF
31020 /* end confdefs.h. */
31022 #include <gtk/gtk.h>
31028 #if !GTK_CHECK_VERSION(2,10,0)
31036 rm -f conftest.$ac_objext
31037 if { (ac_try="$ac_compile"
31038 case "(($ac_try" in
31039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31040 *) ac_try_echo=$ac_try;;
31042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31043 (eval "$ac_compile") 2>conftest.er1
31045 grep -v '^
*+' conftest.er1 >conftest.err
31047 cat conftest.err >&5
31048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31049 (exit $ac_status); } && {
31050 test -z "$ac_c_werror_flag" ||
31051 test ! -s conftest.err
31052 } && test -s conftest.$ac_objext; then
31054 cat >>confdefs.h <<\_ACEOF
31055 #define __WXGTK210__ 1
31058 cat >>confdefs.h <<\_ACEOF
31059 #define __WXGTK26__ 1
31062 { echo "$as_me:$LINENO: result: yes" >&5
31063 echo "${ECHO_T}yes" >&6; }
31067 echo "$as_me: failed program was:" >&5
31068 sed 's
/^
/| /' conftest.$ac_ext >&5
31071 { echo "$as_me:$LINENO: result: no" >&5
31072 echo "${ECHO_T}no" >&6; }
31077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31079 if test "$ac_wxgtk210" = 0; then
31080 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31081 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31082 cat >conftest.$ac_ext <<_ACEOF
31085 cat confdefs.h >>conftest.$ac_ext
31086 cat >>conftest.$ac_ext <<_ACEOF
31087 /* end confdefs.h. */
31089 #include <gtk/gtk.h>
31095 #if !GTK_CHECK_VERSION(2,6,0)
31103 rm -f conftest.$ac_objext
31104 if { (ac_try="$ac_compile"
31105 case "(($ac_try" in
31106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31107 *) ac_try_echo=$ac_try;;
31109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31110 (eval "$ac_compile") 2>conftest.er1
31112 grep -v '^
*+' conftest.er1 >conftest.err
31114 cat conftest.err >&5
31115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31116 (exit $ac_status); } && {
31117 test -z "$ac_c_werror_flag" ||
31118 test ! -s conftest.err
31119 } && test -s conftest.$ac_objext; then
31121 cat >>confdefs.h <<\_ACEOF
31122 #define __WXGTK26__ 1
31125 { echo "$as_me:$LINENO: result: yes" >&5
31126 echo "${ECHO_T}yes" >&6; }
31130 echo "$as_me: failed program was:" >&5
31131 sed 's
/^
/| /' conftest.$ac_ext >&5
31134 { echo "$as_me:$LINENO: result: no" >&5
31135 echo "${ECHO_T}no" >&6; }
31140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31144 CFLAGS="$save_CFLAGS"
31147 if test "$wxUSE_UNICODE" = "yes"; then
31148 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31149 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31153 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31154 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31155 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31156 echo $ECHO_N "(cached) $ECHO_C" >&6
31158 ac_check_lib_save_LIBS=$LIBS
31160 cat >conftest.$ac_ext <<_ACEOF
31163 cat confdefs.h >>conftest.$ac_ext
31164 cat >>conftest.$ac_ext <<_ACEOF
31165 /* end confdefs.h. */
31167 /* Override any GCC internal prototype to avoid an error.
31168 Use char because int might match the return type of a GCC
31169 builtin and then its argument prototype would still apply. */
31173 char gdk_im_open ();
31177 return gdk_im_open ();
31182 rm -f conftest.$ac_objext conftest$ac_exeext
31183 if { (ac_try="$ac_link"
31184 case "(($ac_try" in
31185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31186 *) ac_try_echo=$ac_try;;
31188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31189 (eval "$ac_link") 2>conftest.er1
31191 grep -v '^
*+' conftest.er1 >conftest.err
31193 cat conftest.err >&5
31194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31195 (exit $ac_status); } && {
31196 test -z "$ac_c_werror_flag" ||
31197 test ! -s conftest.err
31198 } && test -s conftest$ac_exeext &&
31199 $as_test_x conftest$ac_exeext; then
31200 ac_cv_lib_gdk_gdk_im_open=yes
31202 echo "$as_me: failed program was:" >&5
31203 sed 's
/^
/| /' conftest.$ac_ext >&5
31205 ac_cv_lib_gdk_gdk_im_open=no
31208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31209 conftest$ac_exeext conftest.$ac_ext
31210 LIBS=$ac_check_lib_save_LIBS
31212 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31213 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31214 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31215 cat >>confdefs.h <<\_ACEOF
31222 if test "$USE_DARWIN" != 1; then
31224 for ac_func in poll
31226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31227 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31229 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31230 echo $ECHO_N "(cached) $ECHO_C" >&6
31232 cat >conftest.$ac_ext <<_ACEOF
31235 cat confdefs.h >>conftest.$ac_ext
31236 cat >>conftest.$ac_ext <<_ACEOF
31237 /* end confdefs.h. */
31238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31240 #define $ac_func innocuous_$ac_func
31242 /* System header to define __stub macros and hopefully few prototypes,
31243 which can conflict with char $ac_func (); below.
31244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31245 <limits.h> exists even on freestanding compilers. */
31248 # include <limits.h>
31250 # include <assert.h>
31255 /* Override any GCC internal prototype to avoid an error.
31256 Use char because int might match the return type of a GCC
31257 builtin and then its argument prototype would still apply. */
31262 /* The GNU C library defines this for functions which it implements
31263 to always fail with ENOSYS. Some functions are actually named
31264 something starting with __ and the normal name is an alias. */
31265 #if defined __stub_$ac_func || defined __stub___$ac_func
31272 return $ac_func ();
31277 rm -f conftest.$ac_objext conftest$ac_exeext
31278 if { (ac_try="$ac_link"
31279 case "(($ac_try" in
31280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31281 *) ac_try_echo=$ac_try;;
31283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31284 (eval "$ac_link") 2>conftest.er1
31286 grep -v '^
*+' conftest.er1 >conftest.err
31288 cat conftest.err >&5
31289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31290 (exit $ac_status); } && {
31291 test -z "$ac_c_werror_flag" ||
31292 test ! -s conftest.err
31293 } && test -s conftest$ac_exeext &&
31294 $as_test_x conftest$ac_exeext; then
31295 eval "$as_ac_var=yes"
31297 echo "$as_me: failed program was:" >&5
31298 sed 's
/^
/| /' conftest.$ac_ext >&5
31300 eval "$as_ac_var=no"
31303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31304 conftest$ac_exeext conftest.$ac_ext
31306 ac_res=`eval echo '${'$as_ac_var'}'`
31307 { echo "$as_me:$LINENO: result: $ac_res" >&5
31308 echo "${ECHO_T}$ac_res" >&6; }
31309 if test `eval echo '${'$as_ac_var'}'` = yes; then
31310 cat >>confdefs.h <<_ACEOF
31311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31320 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31321 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31322 AFMINSTALL=afminstall
31326 if test "$wxUSE_GPE" = "yes"; then
31327 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31328 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31331 for ac_dir in $SEARCH_LIB
31333 for ac_extension in a so sl dylib dll.a; do
31334 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31335 ac_find_libraries=$ac_dir
31341 if test "$ac_find_libraries" != "" ; then
31343 if test "$ac_find_libraries" = "default location"; then
31346 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31348 if test $result = 0; then
31351 ac_path_to_link=" -L$ac_find_libraries"
31355 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31357 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31358 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31360 { echo "$as_me:$LINENO: result: not found" >&5
31361 echo "${ECHO_T}not found" >&6; }
31367 if test "$wxUSE_MGL" = 1; then
31368 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31369 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31370 if test "x$MGL_ROOT" = x ; then
31371 { echo "$as_me:$LINENO: result: not found" >&5
31372 echo "${ECHO_T}not found" >&6; }
31373 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31374 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31375 { (exit 1); exit 1; }; }
31377 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31378 echo "${ECHO_T}$MGL_ROOT" >&6; }
31381 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31382 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31385 if test "x$wxUSE_SHARED" = xyes ; then
31386 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31388 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31392 mgl_os_candidates="dos32/dj2"
31395 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31396 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31397 { (exit 1); exit 1; }; }
31403 for mgl_os_i in $mgl_os_candidates ; do
31404 if test "x$mgl_os" = x ; then
31405 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31406 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31407 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31412 if test "x$mgl_lib_type" = x ; then
31413 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31414 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31415 mgl_lib_type=release
31422 if test "x$mgl_os" = x ; then
31423 { echo "$as_me:$LINENO: result: not found" >&5
31424 echo "${ECHO_T}not found" >&6; }
31425 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31426 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31427 { (exit 1); exit 1; }; }
31429 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31430 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31432 wxUSE_UNIVERSAL="yes"
31434 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31435 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31437 AFMINSTALL=afminstall
31442 if test "$wxUSE_DFB" = 1; then
31445 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31446 if test -n "$ac_tool_prefix"; then
31447 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31448 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31449 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31451 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31452 echo $ECHO_N "(cached) $ECHO_C" >&6
31454 case $PKG_CONFIG in
31456 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31460 for as_dir in $PATH
31463 test -z "$as_dir" && as_dir=.
31464 for ac_exec_ext in '' $ac_executable_extensions; do
31465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31466 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31477 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31478 if test -n "$PKG_CONFIG"; then
31479 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31480 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31482 { echo "$as_me:$LINENO: result: no" >&5
31483 echo "${ECHO_T}no" >&6; }
31488 if test -z "$ac_cv_path_PKG_CONFIG"; then
31489 ac_pt_PKG_CONFIG=$PKG_CONFIG
31490 # Extract the first word of "pkg-config", so it can be a program name with args.
31491 set dummy pkg-config; ac_word=$2
31492 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31494 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31495 echo $ECHO_N "(cached) $ECHO_C" >&6
31497 case $ac_pt_PKG_CONFIG in
31499 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31503 for as_dir in $PATH
31506 test -z "$as_dir" && as_dir=.
31507 for ac_exec_ext in '' $ac_executable_extensions; do
31508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31509 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31520 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31521 if test -n "$ac_pt_PKG_CONFIG"; then
31522 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31523 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31525 { echo "$as_me:$LINENO: result: no" >&5
31526 echo "${ECHO_T}no" >&6; }
31529 if test "x$ac_pt_PKG_CONFIG" = x; then
31532 case $cross_compiling:$ac_tool_warned in
31534 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31535 whose name does not start with the host triplet. If you think this
31536 configuration is useful to you, please write to autoconf@gnu.org." >&5
31537 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31538 whose name does not start with the host triplet. If you think this
31539 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31540 ac_tool_warned=yes ;;
31542 PKG_CONFIG=$ac_pt_PKG_CONFIG
31545 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31549 if test -n "$PKG_CONFIG"; then
31550 _pkg_min_version=0.9.0
31551 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31552 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31553 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31554 { echo "$as_me:$LINENO: result: yes" >&5
31555 echo "${ECHO_T}yes" >&6; }
31557 { echo "$as_me:$LINENO: result: no" >&5
31558 echo "${ECHO_T}no" >&6; }
31566 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31567 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31569 if test -n "$PKG_CONFIG"; then
31570 if test -n "$DIRECTFB_CFLAGS"; then
31571 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31573 if test -n "$PKG_CONFIG" && \
31574 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31575 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31578 (exit $ac_status); }; then
31579 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31587 if test -n "$PKG_CONFIG"; then
31588 if test -n "$DIRECTFB_LIBS"; then
31589 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31591 if test -n "$PKG_CONFIG" && \
31592 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31593 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31596 (exit $ac_status); }; then
31597 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31608 if test $pkg_failed = yes; then
31610 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31611 _pkg_short_errors_supported=yes
31613 _pkg_short_errors_supported=no
31615 if test $_pkg_short_errors_supported = yes; then
31616 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31618 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31620 # Put the nasty error message in config.log where it belongs
31621 echo "$DIRECTFB_PKG_ERRORS" >&5
31624 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31625 echo "$as_me: error: DirectFB not found." >&2;}
31626 { (exit 1); exit 1; }; }
31629 elif test $pkg_failed = untried; then
31631 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31632 echo "$as_me: error: DirectFB not found." >&2;}
31633 { (exit 1); exit 1; }; }
31637 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31638 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31639 { echo "$as_me:$LINENO: result: yes" >&5
31640 echo "${ECHO_T}yes" >&6; }
31642 wxUSE_UNIVERSAL="yes"
31643 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31644 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31651 if test "$wxUSE_MICROWIN" = 1; then
31652 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31653 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31654 if test "x$MICROWINDOWS" = x ; then
31655 { echo "$as_me:$LINENO: result: not found" >&5
31656 echo "${ECHO_T}not found" >&6; }
31657 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31658 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31659 { (exit 1); exit 1; }; }
31661 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31662 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31665 if test -f $MICROWINDOWS/lib/libmwin.a; then
31666 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
31667 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
31669 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31670 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31671 { (exit 1); exit 1; }; }
31674 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31675 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31677 wxUSE_UNIVERSAL="yes"
31679 AFMINSTALL=afminstall
31681 GUIDIST=MICROWIN_DIST
31683 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31686 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31687 { echo "$as_me:$LINENO: checking for X" >&5
31688 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31691 # Check whether --with-x was given.
31692 if test "${with_x+set}" = set; then
31696 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
31697 if test "x$with_x" = xno; then
31698 # The user explicitly disabled X.
31701 case $x_includes,$x_libraries in #(
31702 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31703 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
31704 { (exit 1); exit 1; }; };; #(
31705 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31706 echo $ECHO_N "(cached) $ECHO_C" >&6
31708 # One or both of the vars are not set, and there is no cached value.
31709 ac_x_includes=no ac_x_libraries=no
31710 rm -f -r conftest.dir
31711 if mkdir conftest.dir; then
31713 cat >Imakefile <<'_ACEOF'
31715 @echo incroot='${INCROOT}'
31717 @echo usrlibdir='${USRLIBDIR}'
31719 @echo libdir='${LIBDIR}'
31721 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31722 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31723 for ac_var in incroot usrlibdir libdir; do
31724 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
31726 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31727 for ac_extension in a so sl; do
31728 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31729 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31730 ac_im_usrlibdir=$ac_im_libdir; break
31733 # Screen out bogus values from the imake configuration. They are
31734 # bogus both because they are the default anyway, and because
31735 # using them would break gcc on systems where it needs fixed includes.
31736 case $ac_im_incroot in
31737 /usr/include) ac_x_includes= ;;
31738 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31740 case $ac_im_usrlibdir in
31741 /usr/lib | /lib) ;;
31742 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31746 rm -f -r conftest.dir
31749 # Standard set of common directories for X headers.
31750 # Check X11 before X11Rn because it is often a symlink to the current release.
31762 /usr
/local
/X
11/include
31763 /usr
/local
/X
11R
6/include
31764 /usr
/local
/X
11R
5/include
31765 /usr
/local
/X
11R
4/include
31767 /usr
/local
/include
/X11
31768 /usr
/local
/include
/X11R6
31769 /usr
/local
/include
/X11R5
31770 /usr
/local
/include
/X11R4
31774 /usr
/XFree
86/include
/X11
31778 /usr
/unsupported
/include
31779 /usr
/athena
/include
31780 /usr
/local
/x
11r
5/include
31781 /usr
/lpp
/Xamples
/include
31783 /usr
/openwin
/include
31784 /usr
/openwin
/share
/include
'
31786 if test "$ac_x_includes" = no; then
31787 # Guess where to find include files, by looking for Xlib.h.
31788 # First, try using that file with no special directory specified.
31789 cat >conftest.$ac_ext <<_ACEOF
31792 cat confdefs.h >>conftest.$ac_ext
31793 cat >>conftest.$ac_ext <<_ACEOF
31794 /* end confdefs.h. */
31795 #include <X11/Xlib.h>
31797 if { (ac_try="$ac_cpp conftest.$ac_ext"
31798 case "(($ac_try" in
31799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31800 *) ac_try_echo=$ac_try;;
31802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31803 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31805 grep -v '^
*+' conftest.er1 >conftest.err
31807 cat conftest.err >&5
31808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31809 (exit $ac_status); } >/dev/null && {
31810 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31811 test ! -s conftest.err
31813 # We can compile using X headers with no special include directory.
31816 echo "$as_me: failed program was:" >&5
31817 sed 's
/^
/| /' conftest.$ac_ext >&5
31819 for ac_dir in $ac_x_header_dirs; do
31820 if test -r "$ac_dir/X11/Xlib.h"; then
31821 ac_x_includes=$ac_dir
31827 rm -f conftest.err conftest.$ac_ext
31828 fi # $ac_x_includes = no
31830 if test "$ac_x_libraries" = no; then
31831 # Check for the libraries.
31832 # See if we find them without any special options.
31833 # Don't add to
$LIBS permanently.
31836 cat >conftest.
$ac_ext <<_ACEOF
31839 cat confdefs.h
>>conftest.
$ac_ext
31840 cat >>conftest.
$ac_ext <<_ACEOF
31841 /* end confdefs.h. */
31842 #include <X11/Xlib.h>
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
31870 # We can link X programs with no special library path.
31873 echo "$as_me: failed program was:" >&5
31874 sed 's/^/| /' conftest.$ac_ext >&5
31877 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
31879 # Don't even attempt the hair of trying to link an X program!
31880 for ac_extension in a so sl; do
31881 if test -r "$ac_dir/libX11.$ac_extension"; then
31882 ac_x_libraries=$ac_dir
31889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31890 conftest$ac_exeext conftest.$ac_ext
31891 fi # $ac_x_libraries = no
31893 case $ac_x_includes,$ac_x_libraries in #(
31894 no,* | *,no | *\'*)
31895 # Didn't find X, or a directory has "'" in its name.
31896 ac_cv_have_x="have_x=no";; #(
31898 # Record where we found X for the cache.
31899 ac_cv_have_x="have_x=yes\
31900 ac_x_includes='$ac_x_includes'\
31901 ac_x_libraries='$ac_x_libraries'"
31907 eval "$ac_cv_have_x"
31910 if test "$have_x" != yes; then
31911 { echo "$as_me:$LINENO: result: $have_x" >&5
31912 echo "${ECHO_T}$have_x" >&6; }
31915 # If each of the values was on the command line, it overrides each guess.
31916 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31917 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31918 # Update the cache value to reflect the command line values.
31919 ac_cv_have_x="have_x=yes\
31920 ac_x_includes='$x_includes'\
31921 ac_x_libraries='$x_libraries'"
31922 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31923 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31926 if test "$no_x" = yes; then
31927 # Not all programs may use this symbol, but it does not hurt to define it.
31929 cat >>confdefs.h <<\_ACEOF
31930 #define X_DISPLAY_MISSING 1
31933 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31935 if test -n "$x_includes"; then
31936 X_CFLAGS="$X_CFLAGS -I$x_includes"
31939 # It would also be nice to do this for all -L options, not just this one.
31940 if test -n "$x_libraries"; then
31941 X_LIBS="$X_LIBS -L$x_libraries"
31942 # For Solaris; some versions of Sun CC require a space after -R and
31943 # others require no space. Words are not sufficient . . . .
31944 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31945 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31946 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31947 ac_xsave_c_werror_flag=$ac_c_werror_flag
31948 ac_c_werror_flag=yes
31949 cat >conftest.$ac_ext <<_ACEOF
31952 cat confdefs.h >>conftest.$ac_ext
31953 cat >>conftest.$ac_ext <<_ACEOF
31954 /* end confdefs.h. */
31964 rm -f conftest.$ac_objext conftest$ac_exeext
31965 if { (ac_try="$ac_link"
31966 case "(($ac_try" in
31967 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31968 *) ac_try_echo
=$ac_try;;
31970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31971 (eval "$ac_link") 2>conftest.er1
31973 grep -v '^ *+' conftest.er1
>conftest.err
31975 cat conftest.err
>&5
31976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31977 (exit $ac_status); } && {
31978 test -z "$ac_c_werror_flag" ||
31979 test ! -s conftest.err
31980 } && test -s conftest
$ac_exeext &&
31981 $as_test_x conftest
$ac_exeext; then
31982 { echo "$as_me:$LINENO: result: no" >&5
31983 echo "${ECHO_T}no" >&6; }
31984 X_LIBS
="$X_LIBS -R$x_libraries"
31986 echo "$as_me: failed program was:" >&5
31987 sed 's/^/| /' conftest.
$ac_ext >&5
31989 LIBS
="$ac_xsave_LIBS -R $x_libraries"
31990 cat >conftest.
$ac_ext <<_ACEOF
31993 cat confdefs.h
>>conftest.
$ac_ext
31994 cat >>conftest.
$ac_ext <<_ACEOF
31995 /* end confdefs.h. */
32005 rm -f conftest.
$ac_objext conftest
$ac_exeext
32006 if { (ac_try
="$ac_link"
32007 case "(($ac_try" in
32008 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32009 *) ac_try_echo=$ac_try;;
32011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32012 (eval "$ac_link") 2>conftest.er1
32014 grep -v '^ *+' conftest.er1 >conftest.err
32016 cat conftest.err >&5
32017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32018 (exit $ac_status); } && {
32019 test -z "$ac_c_werror_flag" ||
32020 test ! -s conftest.err
32021 } && test -s conftest$ac_exeext &&
32022 $as_test_x conftest$ac_exeext; then
32023 { echo "$as_me:$LINENO: result: yes" >&5
32024 echo "${ECHO_T}yes" >&6; }
32025 X_LIBS="$X_LIBS -R $x_libraries"
32027 echo "$as_me: failed program was:" >&5
32028 sed 's/^/| /' conftest.$ac_ext >&5
32030 { echo "$as_me:$LINENO: result: neither works" >&5
32031 echo "${ECHO_T}neither works" >&6; }
32034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32035 conftest$ac_exeext conftest.$ac_ext
32038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32039 conftest$ac_exeext conftest.$ac_ext
32040 ac_c_werror_flag=$ac_xsave_c_werror_flag
32041 LIBS=$ac_xsave_LIBS
32044 # Check for system-dependent libraries X programs must link with.
32045 # Do this before checking for the system-independent R6 libraries
32046 # (-lICE), since we may need -lsocket or whatever for X linking.
32048 if test "$ISC" = yes; then
32049 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32051 # Martyn Johnson says this is needed for Ultrix, if the X
32052 # libraries were built with DECnet support. And Karl Berry says
32053 # the Alpha needs dnet_stub (dnet does not exist).
32054 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32055 cat >conftest.$ac_ext <<_ACEOF
32058 cat confdefs.h >>conftest.$ac_ext
32059 cat >>conftest.$ac_ext <<_ACEOF
32060 /* end confdefs.h. */
32062 /* Override any GCC internal prototype to avoid an error.
32063 Use char because int might match the return type of a GCC
32064 builtin and then its argument prototype would still apply. */
32068 char XOpenDisplay ();
32072 return XOpenDisplay ();
32077 rm -f conftest.$ac_objext conftest$ac_exeext
32078 if { (ac_try="$ac_link"
32079 case "(($ac_try" in
32080 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32081 *) ac_try_echo
=$ac_try;;
32083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32084 (eval "$ac_link") 2>conftest.er1
32086 grep -v '^ *+' conftest.er1
>conftest.err
32088 cat conftest.err
>&5
32089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32090 (exit $ac_status); } && {
32091 test -z "$ac_c_werror_flag" ||
32092 test ! -s conftest.err
32093 } && test -s conftest
$ac_exeext &&
32094 $as_test_x conftest
$ac_exeext; then
32097 echo "$as_me: failed program was:" >&5
32098 sed 's/^/| /' conftest.
$ac_ext >&5
32100 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32101 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32102 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32103 echo $ECHO_N "(cached) $ECHO_C" >&6
32105 ac_check_lib_save_LIBS
=$LIBS
32106 LIBS
="-ldnet $LIBS"
32107 cat >conftest.
$ac_ext <<_ACEOF
32110 cat confdefs.h
>>conftest.
$ac_ext
32111 cat >>conftest.
$ac_ext <<_ACEOF
32112 /* end confdefs.h. */
32114 /* Override any GCC internal prototype to avoid an error.
32115 Use char because int might match the return type of a GCC
32116 builtin and then its argument prototype would still apply. */
32124 return dnet_ntoa ();
32129 rm -f conftest.
$ac_objext conftest
$ac_exeext
32130 if { (ac_try
="$ac_link"
32131 case "(($ac_try" in
32132 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32133 *) ac_try_echo=$ac_try;;
32135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32136 (eval "$ac_link") 2>conftest.er1
32138 grep -v '^ *+' conftest.er1 >conftest.err
32140 cat conftest.err >&5
32141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32142 (exit $ac_status); } && {
32143 test -z "$ac_c_werror_flag" ||
32144 test ! -s conftest.err
32145 } && test -s conftest$ac_exeext &&
32146 $as_test_x conftest$ac_exeext; then
32147 ac_cv_lib_dnet_dnet_ntoa=yes
32149 echo "$as_me: failed program was:" >&5
32150 sed 's/^/| /' conftest.$ac_ext >&5
32152 ac_cv_lib_dnet_dnet_ntoa=no
32155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32156 conftest$ac_exeext conftest.$ac_ext
32157 LIBS=$ac_check_lib_save_LIBS
32159 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32160 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32161 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32162 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32165 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32166 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32167 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32168 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32169 echo $ECHO_N "(cached) $ECHO_C" >&6
32171 ac_check_lib_save_LIBS=$LIBS
32172 LIBS="-ldnet_stub $LIBS"
32173 cat >conftest.$ac_ext <<_ACEOF
32176 cat confdefs.h >>conftest.$ac_ext
32177 cat >>conftest.$ac_ext <<_ACEOF
32178 /* end confdefs.h. */
32180 /* Override any GCC internal prototype to avoid an error.
32181 Use char because int might match the return type of a GCC
32182 builtin and then its argument prototype would still apply. */
32190 return dnet_ntoa ();
32195 rm -f conftest.$ac_objext conftest$ac_exeext
32196 if { (ac_try="$ac_link"
32197 case "(($ac_try" in
32198 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32199 *) ac_try_echo
=$ac_try;;
32201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32202 (eval "$ac_link") 2>conftest.er1
32204 grep -v '^ *+' conftest.er1
>conftest.err
32206 cat conftest.err
>&5
32207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32208 (exit $ac_status); } && {
32209 test -z "$ac_c_werror_flag" ||
32210 test ! -s conftest.err
32211 } && test -s conftest
$ac_exeext &&
32212 $as_test_x conftest
$ac_exeext; then
32213 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
32215 echo "$as_me: failed program was:" >&5
32216 sed 's/^/| /' conftest.
$ac_ext >&5
32218 ac_cv_lib_dnet_stub_dnet_ntoa
=no
32221 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32222 conftest
$ac_exeext conftest.
$ac_ext
32223 LIBS
=$ac_check_lib_save_LIBS
32225 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32226 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32227 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32228 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
32234 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32235 conftest
$ac_exeext conftest.
$ac_ext
32236 LIBS
="$ac_xsave_LIBS"
32238 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32239 # to get the SysV transport functions.
32240 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32242 # The nsl library prevents programs from opening the X display
32243 # on Irix 5.2, according to T.E. Dickey.
32244 # The functions gethostbyname, getservbyname, and inet_addr are
32245 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32246 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32247 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32248 if test "${ac_cv_func_gethostbyname+set}" = set; then
32249 echo $ECHO_N "(cached) $ECHO_C" >&6
32251 cat >conftest.
$ac_ext <<_ACEOF
32254 cat confdefs.h
>>conftest.
$ac_ext
32255 cat >>conftest.
$ac_ext <<_ACEOF
32256 /* end confdefs.h. */
32257 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32259 #define gethostbyname innocuous_gethostbyname
32261 /* System header to define __stub macros and hopefully few prototypes,
32262 which can conflict with char gethostbyname (); below.
32263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32264 <limits.h> exists even on freestanding compilers. */
32267 # include <limits.h>
32269 # include <assert.h>
32272 #undef gethostbyname
32274 /* Override any GCC internal prototype to avoid an error.
32275 Use char because int might match the return type of a GCC
32276 builtin and then its argument prototype would still apply. */
32280 char gethostbyname ();
32281 /* The GNU C library defines this for functions which it implements
32282 to always fail with ENOSYS. Some functions are actually named
32283 something starting with __ and the normal name is an alias. */
32284 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32291 return gethostbyname ();
32296 rm -f conftest.
$ac_objext conftest
$ac_exeext
32297 if { (ac_try
="$ac_link"
32298 case "(($ac_try" in
32299 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32300 *) ac_try_echo=$ac_try;;
32302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32303 (eval "$ac_link") 2>conftest.er1
32305 grep -v '^ *+' conftest.er1 >conftest.err
32307 cat conftest.err >&5
32308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32309 (exit $ac_status); } && {
32310 test -z "$ac_c_werror_flag" ||
32311 test ! -s conftest.err
32312 } && test -s conftest$ac_exeext &&
32313 $as_test_x conftest$ac_exeext; then
32314 ac_cv_func_gethostbyname=yes
32316 echo "$as_me: failed program was:" >&5
32317 sed 's/^/| /' conftest.$ac_ext >&5
32319 ac_cv_func_gethostbyname=no
32322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32323 conftest$ac_exeext conftest.$ac_ext
32325 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32326 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32328 if test $ac_cv_func_gethostbyname = no; then
32329 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32330 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32331 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32332 echo $ECHO_N "(cached) $ECHO_C" >&6
32334 ac_check_lib_save_LIBS=$LIBS
32336 cat >conftest.$ac_ext <<_ACEOF
32339 cat confdefs.h >>conftest.$ac_ext
32340 cat >>conftest.$ac_ext <<_ACEOF
32341 /* end confdefs.h. */
32343 /* Override any GCC internal prototype to avoid an error.
32344 Use char because int might match the return type of a GCC
32345 builtin and then its argument prototype would still apply. */
32349 char gethostbyname ();
32353 return gethostbyname ();
32358 rm -f conftest.$ac_objext conftest$ac_exeext
32359 if { (ac_try="$ac_link"
32360 case "(($ac_try" in
32361 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32362 *) ac_try_echo
=$ac_try;;
32364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32365 (eval "$ac_link") 2>conftest.er1
32367 grep -v '^ *+' conftest.er1
>conftest.err
32369 cat conftest.err
>&5
32370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32371 (exit $ac_status); } && {
32372 test -z "$ac_c_werror_flag" ||
32373 test ! -s conftest.err
32374 } && test -s conftest
$ac_exeext &&
32375 $as_test_x conftest
$ac_exeext; then
32376 ac_cv_lib_nsl_gethostbyname
=yes
32378 echo "$as_me: failed program was:" >&5
32379 sed 's/^/| /' conftest.
$ac_ext >&5
32381 ac_cv_lib_nsl_gethostbyname
=no
32384 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32385 conftest
$ac_exeext conftest.
$ac_ext
32386 LIBS
=$ac_check_lib_save_LIBS
32388 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32389 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32390 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32391 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
32394 if test $ac_cv_lib_nsl_gethostbyname = no
; then
32395 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32396 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32397 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32398 echo $ECHO_N "(cached) $ECHO_C" >&6
32400 ac_check_lib_save_LIBS
=$LIBS
32402 cat >conftest.
$ac_ext <<_ACEOF
32405 cat confdefs.h
>>conftest.
$ac_ext
32406 cat >>conftest.
$ac_ext <<_ACEOF
32407 /* end confdefs.h. */
32409 /* Override any GCC internal prototype to avoid an error.
32410 Use char because int might match the return type of a GCC
32411 builtin and then its argument prototype would still apply. */
32415 char gethostbyname ();
32419 return gethostbyname ();
32424 rm -f conftest.
$ac_objext conftest
$ac_exeext
32425 if { (ac_try
="$ac_link"
32426 case "(($ac_try" in
32427 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32428 *) ac_try_echo=$ac_try;;
32430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32431 (eval "$ac_link") 2>conftest.er1
32433 grep -v '^ *+' conftest.er1 >conftest.err
32435 cat conftest.err >&5
32436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32437 (exit $ac_status); } && {
32438 test -z "$ac_c_werror_flag" ||
32439 test ! -s conftest.err
32440 } && test -s conftest$ac_exeext &&
32441 $as_test_x conftest$ac_exeext; then
32442 ac_cv_lib_bsd_gethostbyname=yes
32444 echo "$as_me: failed program was:" >&5
32445 sed 's/^/| /' conftest.$ac_ext >&5
32447 ac_cv_lib_bsd_gethostbyname=no
32450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32451 conftest$ac_exeext conftest.$ac_ext
32452 LIBS=$ac_check_lib_save_LIBS
32454 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32455 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32456 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32457 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32463 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32464 # socket/setsockopt and other routines are undefined under SCO ODT
32465 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32466 # on later versions), says Simon Leinen: it contains gethostby*
32467 # variants that don't use the name server (or something). -lsocket
32468 # must be given before -lnsl if both are needed. We assume that
32469 # if connect needs -lnsl, so does gethostbyname.
32470 { echo "$as_me:$LINENO: checking for connect" >&5
32471 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32472 if test "${ac_cv_func_connect+set}" = set; then
32473 echo $ECHO_N "(cached) $ECHO_C" >&6
32475 cat >conftest.$ac_ext <<_ACEOF
32478 cat confdefs.h >>conftest.$ac_ext
32479 cat >>conftest.$ac_ext <<_ACEOF
32480 /* end confdefs.h. */
32481 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32483 #define connect innocuous_connect
32485 /* System header to define __stub macros and hopefully few prototypes,
32486 which can conflict with char connect (); below.
32487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32488 <limits.h> exists even on freestanding compilers. */
32491 # include <limits.h>
32493 # include <assert.h>
32498 /* Override any GCC internal prototype to avoid an error.
32499 Use char because int might match the return type of a GCC
32500 builtin and then its argument prototype would still apply. */
32505 /* The GNU C library defines this for functions which it implements
32506 to always fail with ENOSYS. Some functions are actually named
32507 something starting with __ and the normal name is an alias. */
32508 #if defined __stub_connect || defined __stub___connect
32520 rm -f conftest.$ac_objext conftest$ac_exeext
32521 if { (ac_try="$ac_link"
32522 case "(($ac_try" in
32523 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32524 *) ac_try_echo
=$ac_try;;
32526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32527 (eval "$ac_link") 2>conftest.er1
32529 grep -v '^ *+' conftest.er1
>conftest.err
32531 cat conftest.err
>&5
32532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32533 (exit $ac_status); } && {
32534 test -z "$ac_c_werror_flag" ||
32535 test ! -s conftest.err
32536 } && test -s conftest
$ac_exeext &&
32537 $as_test_x conftest
$ac_exeext; then
32538 ac_cv_func_connect
=yes
32540 echo "$as_me: failed program was:" >&5
32541 sed 's/^/| /' conftest.
$ac_ext >&5
32543 ac_cv_func_connect
=no
32546 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32547 conftest
$ac_exeext conftest.
$ac_ext
32549 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32550 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32552 if test $ac_cv_func_connect = no
; then
32553 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32554 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32555 if test "${ac_cv_lib_socket_connect+set}" = set; then
32556 echo $ECHO_N "(cached) $ECHO_C" >&6
32558 ac_check_lib_save_LIBS
=$LIBS
32559 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
32560 cat >conftest.
$ac_ext <<_ACEOF
32563 cat confdefs.h
>>conftest.
$ac_ext
32564 cat >>conftest.
$ac_ext <<_ACEOF
32565 /* end confdefs.h. */
32567 /* Override any GCC internal prototype to avoid an error.
32568 Use char because int might match the return type of a GCC
32569 builtin and then its argument prototype would still apply. */
32582 rm -f conftest.
$ac_objext conftest
$ac_exeext
32583 if { (ac_try
="$ac_link"
32584 case "(($ac_try" in
32585 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32586 *) ac_try_echo=$ac_try;;
32588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32589 (eval "$ac_link") 2>conftest.er1
32591 grep -v '^ *+' conftest.er1 >conftest.err
32593 cat conftest.err >&5
32594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32595 (exit $ac_status); } && {
32596 test -z "$ac_c_werror_flag" ||
32597 test ! -s conftest.err
32598 } && test -s conftest$ac_exeext &&
32599 $as_test_x conftest$ac_exeext; then
32600 ac_cv_lib_socket_connect=yes
32602 echo "$as_me: failed program was:" >&5
32603 sed 's/^/| /' conftest.$ac_ext >&5
32605 ac_cv_lib_socket_connect=no
32608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32609 conftest$ac_exeext conftest.$ac_ext
32610 LIBS=$ac_check_lib_save_LIBS
32612 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32613 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32614 if test $ac_cv_lib_socket_connect = yes; then
32615 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32620 # Guillermo Gomez says -lposix is necessary on A/UX.
32621 { echo "$as_me:$LINENO: checking for remove" >&5
32622 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32623 if test "${ac_cv_func_remove+set}" = set; then
32624 echo $ECHO_N "(cached) $ECHO_C" >&6
32626 cat >conftest.$ac_ext <<_ACEOF
32629 cat confdefs.h >>conftest.$ac_ext
32630 cat >>conftest.$ac_ext <<_ACEOF
32631 /* end confdefs.h. */
32632 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32634 #define remove innocuous_remove
32636 /* System header to define __stub macros and hopefully few prototypes,
32637 which can conflict with char remove (); below.
32638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32639 <limits.h> exists even on freestanding compilers. */
32642 # include <limits.h>
32644 # include <assert.h>
32649 /* Override any GCC internal prototype to avoid an error.
32650 Use char because int might match the return type of a GCC
32651 builtin and then its argument prototype would still apply. */
32656 /* The GNU C library defines this for functions which it implements
32657 to always fail with ENOSYS. Some functions are actually named
32658 something starting with __ and the normal name is an alias. */
32659 #if defined __stub_remove || defined __stub___remove
32671 rm -f conftest.$ac_objext conftest$ac_exeext
32672 if { (ac_try="$ac_link"
32673 case "(($ac_try" in
32674 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32675 *) ac_try_echo
=$ac_try;;
32677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32678 (eval "$ac_link") 2>conftest.er1
32680 grep -v '^ *+' conftest.er1
>conftest.err
32682 cat conftest.err
>&5
32683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32684 (exit $ac_status); } && {
32685 test -z "$ac_c_werror_flag" ||
32686 test ! -s conftest.err
32687 } && test -s conftest
$ac_exeext &&
32688 $as_test_x conftest
$ac_exeext; then
32689 ac_cv_func_remove
=yes
32691 echo "$as_me: failed program was:" >&5
32692 sed 's/^/| /' conftest.
$ac_ext >&5
32694 ac_cv_func_remove
=no
32697 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32698 conftest
$ac_exeext conftest.
$ac_ext
32700 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32701 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32703 if test $ac_cv_func_remove = no
; then
32704 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32705 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32706 if test "${ac_cv_lib_posix_remove+set}" = set; then
32707 echo $ECHO_N "(cached) $ECHO_C" >&6
32709 ac_check_lib_save_LIBS
=$LIBS
32710 LIBS
="-lposix $LIBS"
32711 cat >conftest.
$ac_ext <<_ACEOF
32714 cat confdefs.h
>>conftest.
$ac_ext
32715 cat >>conftest.
$ac_ext <<_ACEOF
32716 /* end confdefs.h. */
32718 /* Override any GCC internal prototype to avoid an error.
32719 Use char because int might match the return type of a GCC
32720 builtin and then its argument prototype would still apply. */
32733 rm -f conftest.
$ac_objext conftest
$ac_exeext
32734 if { (ac_try
="$ac_link"
32735 case "(($ac_try" in
32736 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32737 *) ac_try_echo=$ac_try;;
32739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32740 (eval "$ac_link") 2>conftest.er1
32742 grep -v '^ *+' conftest.er1 >conftest.err
32744 cat conftest.err >&5
32745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32746 (exit $ac_status); } && {
32747 test -z "$ac_c_werror_flag" ||
32748 test ! -s conftest.err
32749 } && test -s conftest$ac_exeext &&
32750 $as_test_x conftest$ac_exeext; then
32751 ac_cv_lib_posix_remove=yes
32753 echo "$as_me: failed program was:" >&5
32754 sed 's/^/| /' conftest.$ac_ext >&5
32756 ac_cv_lib_posix_remove=no
32759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32760 conftest$ac_exeext conftest.$ac_ext
32761 LIBS=$ac_check_lib_save_LIBS
32763 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32764 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32765 if test $ac_cv_lib_posix_remove = yes; then
32766 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32771 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32772 { echo "$as_me:$LINENO: checking for shmat" >&5
32773 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32774 if test "${ac_cv_func_shmat+set}" = set; then
32775 echo $ECHO_N "(cached) $ECHO_C" >&6
32777 cat >conftest.$ac_ext <<_ACEOF
32780 cat confdefs.h >>conftest.$ac_ext
32781 cat >>conftest.$ac_ext <<_ACEOF
32782 /* end confdefs.h. */
32783 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32785 #define shmat innocuous_shmat
32787 /* System header to define __stub macros and hopefully few prototypes,
32788 which can conflict with char shmat (); below.
32789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32790 <limits.h> exists even on freestanding compilers. */
32793 # include <limits.h>
32795 # include <assert.h>
32800 /* Override any GCC internal prototype to avoid an error.
32801 Use char because int might match the return type of a GCC
32802 builtin and then its argument prototype would still apply. */
32807 /* The GNU C library defines this for functions which it implements
32808 to always fail with ENOSYS. Some functions are actually named
32809 something starting with __ and the normal name is an alias. */
32810 #if defined __stub_shmat || defined __stub___shmat
32822 rm -f conftest.$ac_objext conftest$ac_exeext
32823 if { (ac_try="$ac_link"
32824 case "(($ac_try" in
32825 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32826 *) ac_try_echo
=$ac_try;;
32828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32829 (eval "$ac_link") 2>conftest.er1
32831 grep -v '^ *+' conftest.er1
>conftest.err
32833 cat conftest.err
>&5
32834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32835 (exit $ac_status); } && {
32836 test -z "$ac_c_werror_flag" ||
32837 test ! -s conftest.err
32838 } && test -s conftest
$ac_exeext &&
32839 $as_test_x conftest
$ac_exeext; then
32840 ac_cv_func_shmat
=yes
32842 echo "$as_me: failed program was:" >&5
32843 sed 's/^/| /' conftest.
$ac_ext >&5
32845 ac_cv_func_shmat
=no
32848 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32849 conftest
$ac_exeext conftest.
$ac_ext
32851 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32852 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32854 if test $ac_cv_func_shmat = no
; then
32855 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32856 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32857 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32858 echo $ECHO_N "(cached) $ECHO_C" >&6
32860 ac_check_lib_save_LIBS
=$LIBS
32862 cat >conftest.
$ac_ext <<_ACEOF
32865 cat confdefs.h
>>conftest.
$ac_ext
32866 cat >>conftest.
$ac_ext <<_ACEOF
32867 /* end confdefs.h. */
32869 /* Override any GCC internal prototype to avoid an error.
32870 Use char because int might match the return type of a GCC
32871 builtin and then its argument prototype would still apply. */
32884 rm -f conftest.
$ac_objext conftest
$ac_exeext
32885 if { (ac_try
="$ac_link"
32886 case "(($ac_try" in
32887 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32888 *) ac_try_echo=$ac_try;;
32890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32891 (eval "$ac_link") 2>conftest.er1
32893 grep -v '^ *+' conftest.er1 >conftest.err
32895 cat conftest.err >&5
32896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32897 (exit $ac_status); } && {
32898 test -z "$ac_c_werror_flag" ||
32899 test ! -s conftest.err
32900 } && test -s conftest$ac_exeext &&
32901 $as_test_x conftest$ac_exeext; then
32902 ac_cv_lib_ipc_shmat=yes
32904 echo "$as_me: failed program was:" >&5
32905 sed 's/^/| /' conftest.$ac_ext >&5
32907 ac_cv_lib_ipc_shmat=no
32910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32911 conftest$ac_exeext conftest.$ac_ext
32912 LIBS=$ac_check_lib_save_LIBS
32914 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32915 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32916 if test $ac_cv_lib_ipc_shmat = yes; then
32917 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32923 # Check for libraries that X11R6 Xt/Xaw programs need.
32924 ac_save_LDFLAGS=$LDFLAGS
32925 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32926 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32927 # check for ICE first), but we must link in the order -lSM -lICE or
32928 # we get undefined symbols. So assume we have SM if we have ICE.
32929 # These have to be linked with before -lX11, unlike the other
32930 # libraries we check for below, so use a different variable.
32931 # John Interrante, Karl Berry
32932 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32933 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32934 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32935 echo $ECHO_N "(cached) $ECHO_C" >&6
32937 ac_check_lib_save_LIBS=$LIBS
32938 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32939 cat >conftest.$ac_ext <<_ACEOF
32942 cat confdefs.h >>conftest.$ac_ext
32943 cat >>conftest.$ac_ext <<_ACEOF
32944 /* end confdefs.h. */
32946 /* Override any GCC internal prototype to avoid an error.
32947 Use char because int might match the return type of a GCC
32948 builtin and then its argument prototype would still apply. */
32952 char IceConnectionNumber ();
32956 return IceConnectionNumber ();
32961 rm -f conftest.$ac_objext conftest$ac_exeext
32962 if { (ac_try="$ac_link"
32963 case "(($ac_try" in
32964 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32965 *) ac_try_echo
=$ac_try;;
32967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32968 (eval "$ac_link") 2>conftest.er1
32970 grep -v '^ *+' conftest.er1
>conftest.err
32972 cat conftest.err
>&5
32973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32974 (exit $ac_status); } && {
32975 test -z "$ac_c_werror_flag" ||
32976 test ! -s conftest.err
32977 } && test -s conftest
$ac_exeext &&
32978 $as_test_x conftest
$ac_exeext; then
32979 ac_cv_lib_ICE_IceConnectionNumber
=yes
32981 echo "$as_me: failed program was:" >&5
32982 sed 's/^/| /' conftest.
$ac_ext >&5
32984 ac_cv_lib_ICE_IceConnectionNumber
=no
32987 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32988 conftest
$ac_exeext conftest.
$ac_ext
32989 LIBS
=$ac_check_lib_save_LIBS
32991 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32992 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32993 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32994 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
32997 LDFLAGS
=$ac_save_LDFLAGS
33002 if test "$no_x" = "yes"; then
33003 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33004 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33005 { (exit 1); exit 1; }; }
33008 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33009 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
33010 AFMINSTALL
=afminstall
33011 COMPILED_X_PROGRAM
=0
33015 if test "$wxUSE_X11" = 1; then
33016 if test "$wxUSE_NANOX" = "yes"; then
33017 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33018 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33019 if test "x$MICROWIN" = x
; then
33020 { echo "$as_me:$LINENO: result: not found" >&5
33021 echo "${ECHO_T}not found" >&6; }
33022 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33023 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33024 { (exit 1); exit 1; }; }
33026 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33027 echo "${ECHO_T}$MICROWIN" >&6; }
33028 cat >>confdefs.h
<<\_ACEOF
33029 #define wxUSE_NANOX 1
33035 if test "$wxUSE_UNICODE" = "yes"; then
33038 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33039 if test -n "$ac_tool_prefix"; then
33040 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33041 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33042 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33044 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33045 echo $ECHO_N "(cached) $ECHO_C" >&6
33047 case $PKG_CONFIG in
33049 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33053 for as_dir
in $PATH
33056 test -z "$as_dir" && as_dir
=.
33057 for ac_exec_ext
in '' $ac_executable_extensions; do
33058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33059 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33070 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
33071 if test -n "$PKG_CONFIG"; then
33072 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33073 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33075 { echo "$as_me:$LINENO: result: no" >&5
33076 echo "${ECHO_T}no" >&6; }
33081 if test -z "$ac_cv_path_PKG_CONFIG"; then
33082 ac_pt_PKG_CONFIG
=$PKG_CONFIG
33083 # Extract the first word of "pkg-config", so it can be a program name with args.
33084 set dummy pkg
-config; ac_word
=$2
33085 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33087 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33088 echo $ECHO_N "(cached) $ECHO_C" >&6
33090 case $ac_pt_PKG_CONFIG in
33092 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33096 for as_dir
in $PATH
33099 test -z "$as_dir" && as_dir
=.
33100 for ac_exec_ext
in '' $ac_executable_extensions; do
33101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33102 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33113 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
33114 if test -n "$ac_pt_PKG_CONFIG"; then
33115 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33116 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33118 { echo "$as_me:$LINENO: result: no" >&5
33119 echo "${ECHO_T}no" >&6; }
33122 if test "x$ac_pt_PKG_CONFIG" = x
; then
33125 case $cross_compiling:$ac_tool_warned in
33127 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33128 whose name does not start with the host triplet. If you think this
33129 configuration is useful to you, please write to autoconf@gnu.org." >&5
33130 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33131 whose name does not start with the host triplet. If you think this
33132 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33133 ac_tool_warned
=yes ;;
33135 PKG_CONFIG
=$ac_pt_PKG_CONFIG
33138 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
33142 if test -n "$PKG_CONFIG"; then
33143 _pkg_min_version
=0.9.0
33144 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33145 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33146 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33147 { echo "$as_me:$LINENO: result: yes" >&5
33148 echo "${ECHO_T}yes" >&6; }
33150 { echo "$as_me:$LINENO: result: no" >&5
33151 echo "${ECHO_T}no" >&6; }
33159 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33160 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33162 if test -n "$PKG_CONFIG"; then
33163 if test -n "$PANGOX_CFLAGS"; then
33164 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
33166 if test -n "$PKG_CONFIG" && \
33167 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33168 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33171 (exit $ac_status); }; then
33172 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33180 if test -n "$PKG_CONFIG"; then
33181 if test -n "$PANGOX_LIBS"; then
33182 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
33184 if test -n "$PKG_CONFIG" && \
33185 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33186 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33189 (exit $ac_status); }; then
33190 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33201 if test $pkg_failed = yes; then
33203 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33204 _pkg_short_errors_supported
=yes
33206 _pkg_short_errors_supported
=no
33208 if test $_pkg_short_errors_supported = yes; then
33209 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33211 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33213 # Put the nasty error message in config.log where it belongs
33214 echo "$PANGOX_PKG_ERRORS" >&5
33217 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33218 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33219 { (exit 1); exit 1; }; }
33222 elif test $pkg_failed = untried
; then
33224 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33225 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33226 { (exit 1); exit 1; }; }
33230 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
33231 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
33232 { echo "$as_me:$LINENO: result: yes" >&5
33233 echo "${ECHO_T}yes" >&6; }
33235 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
33236 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
33237 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
33242 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33243 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33245 if test -n "$PKG_CONFIG"; then
33246 if test -n "$PANGOFT2_CFLAGS"; then
33247 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
33249 if test -n "$PKG_CONFIG" && \
33250 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33251 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33254 (exit $ac_status); }; then
33255 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33263 if test -n "$PKG_CONFIG"; then
33264 if test -n "$PANGOFT2_LIBS"; then
33265 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
33267 if test -n "$PKG_CONFIG" && \
33268 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33269 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33272 (exit $ac_status); }; then
33273 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33284 if test $pkg_failed = yes; then
33286 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33287 _pkg_short_errors_supported
=yes
33289 _pkg_short_errors_supported
=no
33291 if test $_pkg_short_errors_supported = yes; then
33292 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33294 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33296 # Put the nasty error message in config.log where it belongs
33297 echo "$PANGOFT2_PKG_ERRORS" >&5
33300 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33301 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33302 wxUSE_PRINTING_ARCHITECTURE
="no"
33305 elif test $pkg_failed = untried
; then
33307 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33308 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33309 wxUSE_PRINTING_ARCHITECTURE
="no"
33313 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
33314 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
33315 { echo "$as_me:$LINENO: result: yes" >&5
33316 echo "${ECHO_T}yes" >&6; }
33318 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
33319 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
33320 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33325 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33326 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33328 if test -n "$PKG_CONFIG"; then
33329 if test -n "$PANGOXFT_CFLAGS"; then
33330 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
33332 if test -n "$PKG_CONFIG" && \
33333 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33334 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33337 (exit $ac_status); }; then
33338 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33346 if test -n "$PKG_CONFIG"; then
33347 if test -n "$PANGOXFT_LIBS"; then
33348 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
33350 if test -n "$PKG_CONFIG" && \
33351 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33352 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33355 (exit $ac_status); }; then
33356 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33367 if test $pkg_failed = yes; then
33369 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33370 _pkg_short_errors_supported
=yes
33372 _pkg_short_errors_supported
=no
33374 if test $_pkg_short_errors_supported = yes; then
33375 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33377 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33379 # Put the nasty error message in config.log where it belongs
33380 echo "$PANGOXFT_PKG_ERRORS" >&5
33383 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33384 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33387 elif test $pkg_failed = untried
; then
33389 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33390 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33394 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
33395 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
33396 { echo "$as_me:$LINENO: result: yes" >&5
33397 echo "${ECHO_T}yes" >&6; }
33399 cat >>confdefs.h
<<\_ACEOF
33400 #define HAVE_PANGO_XFT 1
33403 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
33404 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
33405 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33409 LIBS
="$LIBS $PANGOX_LIBS"
33411 for ac_func
in pango_font_family_is_monospace
33413 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33414 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33416 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33417 echo $ECHO_N "(cached) $ECHO_C" >&6
33419 cat >conftest.
$ac_ext <<_ACEOF
33422 cat confdefs.h
>>conftest.
$ac_ext
33423 cat >>conftest.
$ac_ext <<_ACEOF
33424 /* end confdefs.h. */
33425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33427 #define $ac_func innocuous_$ac_func
33429 /* System header to define __stub macros and hopefully few prototypes,
33430 which can conflict with char $ac_func (); below.
33431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33432 <limits.h> exists even on freestanding compilers. */
33435 # include <limits.h>
33437 # include <assert.h>
33442 /* Override any GCC internal prototype to avoid an error.
33443 Use char because int might match the return type of a GCC
33444 builtin and then its argument prototype would still apply. */
33449 /* The GNU C library defines this for functions which it implements
33450 to always fail with ENOSYS. Some functions are actually named
33451 something starting with __ and the normal name is an alias. */
33452 #if defined __stub_$ac_func || defined __stub___$ac_func
33459 return $ac_func ();
33464 rm -f conftest.
$ac_objext conftest
$ac_exeext
33465 if { (ac_try
="$ac_link"
33466 case "(($ac_try" in
33467 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33468 *) ac_try_echo=$ac_try;;
33470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33471 (eval "$ac_link") 2>conftest.er1
33473 grep -v '^ *+' conftest.er1 >conftest.err
33475 cat conftest.err >&5
33476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33477 (exit $ac_status); } && {
33478 test -z "$ac_c_werror_flag" ||
33479 test ! -s conftest.err
33480 } && test -s conftest$ac_exeext &&
33481 $as_test_x conftest$ac_exeext; then
33482 eval "$as_ac_var=yes"
33484 echo "$as_me: failed program was:" >&5
33485 sed 's/^/| /' conftest.$ac_ext >&5
33487 eval "$as_ac_var=no"
33490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33491 conftest$ac_exeext conftest.$ac_ext
33493 ac_res=`eval echo '${'$as_ac_var'}'`
33494 { echo "$as_me:$LINENO: result: $ac_res" >&5
33495 echo "${ECHO_T}$ac_res" >&6; }
33496 if test `eval echo '${'$as_ac_var'}'` = yes; then
33497 cat >>confdefs.h <<_ACEOF
33498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33507 wxUSE_UNIVERSAL="yes"
33509 if test "$wxUSE_NANOX" = "yes"; then
33510 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33511 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"
33512 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33514 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33521 if test "$wxUSE_MOTIF" = 1; then
33522 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33523 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33526 for ac_dir in $SEARCH_INCLUDE /usr/include
33528 if test -f "$ac_dir/Xm/Xm.h"; then
33529 ac_find_includes=$ac_dir
33534 if test "$ac_find_includes" != "" ; then
33535 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33536 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33538 if test "x$ac_find_includes" = "x/usr/include"; then
33539 ac_path_to_include=""
33541 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33543 if test $result = 0; then
33544 ac_path_to_include=""
33546 ac_path_to_include=" -I$ac_find_includes"
33550 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33552 save_CFLAGS=$CFLAGS
33553 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33555 cat >conftest.$ac_ext <<_ACEOF
33558 cat confdefs.h >>conftest.$ac_ext
33559 cat >>conftest.$ac_ext <<_ACEOF
33560 /* end confdefs.h. */
33569 version = xmUseVersion;
33575 rm -f conftest.$ac_objext
33576 if { (ac_try="$ac_compile"
33577 case "(($ac_try" in
33578 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33579 *) ac_try_echo
=$ac_try;;
33581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33582 (eval "$ac_compile") 2>conftest.er1
33584 grep -v '^ *+' conftest.er1
>conftest.err
33586 cat conftest.err
>&5
33587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33588 (exit $ac_status); } && {
33589 test -z "$ac_c_werror_flag" ||
33590 test ! -s conftest.err
33591 } && test -s conftest.
$ac_objext; then
33593 { echo "$as_me:$LINENO: result: found in default search path" >&5
33594 echo "${ECHO_T}found in default search path" >&6; }
33595 COMPILED_X_PROGRAM
=1
33598 echo "$as_me: failed program was:" >&5
33599 sed 's/^/| /' conftest.
$ac_ext >&5
33602 { echo "$as_me:$LINENO: result: no" >&5
33603 echo "${ECHO_T}no" >&6; }
33604 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33605 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33606 { (exit 1); exit 1; }; }
33611 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33613 CFLAGS
=$save_CFLAGS
33617 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33618 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33621 for ac_dir
in $SEARCH_LIB
33623 for ac_extension
in a so sl dylib dll.a
; do
33624 if test -f "$ac_dir/libXm.$ac_extension"; then
33625 ac_find_libraries
=$ac_dir
33632 if test "x$ac_find_libraries" != "x" ; then
33633 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33634 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33637 if test "$ac_find_libraries" = "default location"; then
33640 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
33642 if test $result = 0; then
33645 ac_path_to_link
=" -L$ac_find_libraries"
33649 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
33651 save_CFLAGS
=$CFLAGS
33652 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33654 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33656 cat >conftest.
$ac_ext <<_ACEOF
33659 cat confdefs.h
>>conftest.
$ac_ext
33660 cat >>conftest.
$ac_ext <<_ACEOF
33661 /* end confdefs.h. */
33670 version = xmUseVersion;
33676 rm -f conftest.
$ac_objext conftest
$ac_exeext
33677 if { (ac_try
="$ac_link"
33678 case "(($ac_try" in
33679 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33680 *) ac_try_echo=$ac_try;;
33682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33683 (eval "$ac_link") 2>conftest.er1
33685 grep -v '^ *+' conftest.er1 >conftest.err
33687 cat conftest.err >&5
33688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33689 (exit $ac_status); } && {
33690 test -z "$ac_c_werror_flag" ||
33691 test ! -s conftest.err
33692 } && test -s conftest$ac_exeext &&
33693 $as_test_x conftest$ac_exeext; then
33695 { echo "$as_me:$LINENO: result: found in default search path" >&5
33696 echo "${ECHO_T}found in default search path" >&6; }
33697 COMPILED_X_PROGRAM=1
33700 echo "$as_me: failed program was:" >&5
33701 sed 's/^/| /' conftest.$ac_ext >&5
33704 { echo "$as_me:$LINENO: result: no" >&5
33705 echo "${ECHO_T}no" >&6; }
33706 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33707 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33708 { (exit 1); exit 1; }; }
33713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33714 conftest$ac_exeext conftest.$ac_ext
33716 CFLAGS=$save_CFLAGS
33720 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33721 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33725 for libp in "" " -lXp"; do
33726 if test "$libs_found" = 0; then
33727 for libsm_ice in "" " -lSM -lICE"; do
33728 if test "$libs_found" = 0; then
33730 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33731 save_CFLAGS=$CFLAGS
33732 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33734 cat >conftest.$ac_ext <<_ACEOF
33737 cat confdefs.h >>conftest.$ac_ext
33738 cat >>conftest.$ac_ext <<_ACEOF
33739 /* end confdefs.h. */
33742 #include <Xm/List.h>
33748 XmString string = NULL;
33751 XmListAddItem(w, string, position);
33757 rm -f conftest.$ac_objext conftest$ac_exeext
33758 if { (ac_try="$ac_link"
33759 case "(($ac_try" in
33760 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33761 *) ac_try_echo
=$ac_try;;
33763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33764 (eval "$ac_link") 2>conftest.er1
33766 grep -v '^ *+' conftest.er1
>conftest.err
33768 cat conftest.err
>&5
33769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33770 (exit $ac_status); } && {
33771 test -z "$ac_c_werror_flag" ||
33772 test ! -s conftest.err
33773 } && test -s conftest
$ac_exeext &&
33774 $as_test_x conftest
$ac_exeext; then
33777 libsm_ice_link
="$libsm_ice"
33778 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33779 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33783 echo "$as_me: failed program was:" >&5
33784 sed 's/^/| /' conftest.
$ac_ext >&5
33790 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33791 conftest
$ac_exeext conftest.
$ac_ext
33794 CFLAGS
=$save_CFLAGS
33800 if test "$libs_found" = 0; then
33801 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33802 echo "${ECHO_T}can't find the right libraries" >&6; }
33803 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33804 echo "$as_me: error: can't link a simple motif program" >&2;}
33805 { (exit 1); exit 1; }; }
33808 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33809 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33810 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33811 echo $ECHO_N "(cached) $ECHO_C" >&6
33813 ac_check_lib_save_LIBS
=$LIBS
33815 cat >conftest.
$ac_ext <<_ACEOF
33818 cat confdefs.h
>>conftest.
$ac_ext
33819 cat >>conftest.
$ac_ext <<_ACEOF
33820 /* end confdefs.h. */
33822 /* Override any GCC internal prototype to avoid an error.
33823 Use char because int might match the return type of a GCC
33824 builtin and then its argument prototype would still apply. */
33828 char SgCreateList ();
33832 return SgCreateList ();
33837 rm -f conftest.
$ac_objext conftest
$ac_exeext
33838 if { (ac_try
="$ac_link"
33839 case "(($ac_try" in
33840 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33841 *) ac_try_echo=$ac_try;;
33843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33844 (eval "$ac_link") 2>conftest.er1
33846 grep -v '^ *+' conftest.er1 >conftest.err
33848 cat conftest.err >&5
33849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33850 (exit $ac_status); } && {
33851 test -z "$ac_c_werror_flag" ||
33852 test ! -s conftest.err
33853 } && test -s conftest$ac_exeext &&
33854 $as_test_x conftest$ac_exeext; then
33855 ac_cv_lib_Sgm_SgCreateList=yes
33857 echo "$as_me: failed program was:" >&5
33858 sed 's/^/| /' conftest.$ac_ext >&5
33860 ac_cv_lib_Sgm_SgCreateList=no
33863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33864 conftest$ac_exeext conftest.$ac_ext
33865 LIBS=$ac_check_lib_save_LIBS
33867 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33868 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33869 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33870 libsgm_link=" -lSgm"
33874 save_CFLAGS=$CFLAGS
33875 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33877 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33878 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33879 if test "${wx_cv_lib_motif2+set}" = set; then
33880 echo $ECHO_N "(cached) $ECHO_C" >&6
33882 cat >conftest.$ac_ext <<_ACEOF
33885 cat confdefs.h >>conftest.$ac_ext
33886 cat >>conftest.$ac_ext <<_ACEOF
33887 /* end confdefs.h. */
33895 #if XmVersion < 2000
33903 rm -f conftest.$ac_objext
33904 if { (ac_try="$ac_compile"
33905 case "(($ac_try" in
33906 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33907 *) ac_try_echo
=$ac_try;;
33909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33910 (eval "$ac_compile") 2>conftest.er1
33912 grep -v '^ *+' conftest.er1
>conftest.err
33914 cat conftest.err
>&5
33915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33916 (exit $ac_status); } && {
33917 test -z "$ac_c_werror_flag" ||
33918 test ! -s conftest.err
33919 } && test -s conftest.
$ac_objext; then
33920 wx_cv_lib_motif2
="yes"
33922 echo "$as_me: failed program was:" >&5
33923 sed 's/^/| /' conftest.
$ac_ext >&5
33925 wx_cv_lib_motif2
="no"
33928 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33930 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33931 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33932 if test "$wx_cv_lib_motif2" = "yes"; then
33933 cat >>confdefs.h
<<\_ACEOF
33934 #define __WXMOTIF20__ 1
33938 cat >>confdefs.h
<<\_ACEOF
33939 #define __WXMOTIF20__ 0
33944 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33945 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33946 if test "${wx_cv_lib_lesstif+set}" = set; then
33947 echo $ECHO_N "(cached) $ECHO_C" >&6
33949 cat >conftest.
$ac_ext <<_ACEOF
33952 cat confdefs.h
>>conftest.
$ac_ext
33953 cat >>conftest.
$ac_ext <<_ACEOF
33954 /* end confdefs.h. */
33962 #if !defined(LesstifVersion) || LesstifVersion <= 0
33970 rm -f conftest.
$ac_objext
33971 if { (ac_try
="$ac_compile"
33972 case "(($ac_try" in
33973 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33974 *) ac_try_echo=$ac_try;;
33976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33977 (eval "$ac_compile") 2>conftest.er1
33979 grep -v '^ *+' conftest.er1 >conftest.err
33981 cat conftest.err >&5
33982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33983 (exit $ac_status); } && {
33984 test -z "$ac_c_werror_flag" ||
33985 test ! -s conftest.err
33986 } && test -s conftest.$ac_objext; then
33987 wx_cv_lib_lesstif="yes"
33989 echo "$as_me: failed program was:" >&5
33990 sed 's/^/| /' conftest.$ac_ext >&5
33992 wx_cv_lib_lesstif="no"
33995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33998 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33999 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34000 if test "$wx_cv_lib_lesstif" = "yes"; then
34001 cat >>confdefs.h <<\_ACEOF
34002 #define __WXLESSTIF__ 1
34006 cat >>confdefs.h <<\_ACEOF
34007 #define __WXLESSTIF__ 0
34012 CFLAGS=$save_CFLAGS
34014 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34019 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34020 if test "$wxUSE_LIBXPM" = "sys"; then
34021 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34022 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34025 for ac_dir in $SEARCH_LIB
34027 for ac_extension in a so sl dylib dll.a; do
34028 if test -f "$ac_dir/libXpm.$ac_extension"; then
34029 ac_find_libraries=$ac_dir
34035 if test "$ac_find_libraries" != "" ; then
34037 if test "$ac_find_libraries" = "default location"; then
34040 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34042 if test $result = 0; then
34045 ac_path_to_link=" -L$ac_find_libraries"
34049 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34050 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34051 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34053 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34054 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34055 if test "${wx_cv_x11_xpm_h+set}" = set; then
34056 echo $ECHO_N "(cached) $ECHO_C" >&6
34059 save_CFLAGS=$CFLAGS
34060 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34062 cat >conftest.$ac_ext <<_ACEOF
34065 cat confdefs.h >>conftest.$ac_ext
34066 cat >>conftest.$ac_ext <<_ACEOF
34067 /* end confdefs.h. */
34069 #include <X11/xpm.h>
34076 version = XpmLibraryVersion();
34082 rm -f conftest.$ac_objext
34083 if { (ac_try="$ac_compile"
34084 case "(($ac_try" in
34085 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34086 *) ac_try_echo
=$ac_try;;
34088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34089 (eval "$ac_compile") 2>conftest.er1
34091 grep -v '^ *+' conftest.er1
>conftest.err
34093 cat conftest.err
>&5
34094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34095 (exit $ac_status); } && {
34096 test -z "$ac_c_werror_flag" ||
34097 test ! -s conftest.err
34098 } && test -s conftest.
$ac_objext; then
34099 wx_cv_x11_xpm_h
=yes
34101 echo "$as_me: failed program was:" >&5
34102 sed 's/^/| /' conftest.
$ac_ext >&5
34108 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34110 CFLAGS
=$save_CFLAGS
34114 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34115 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34117 if test $wx_cv_x11_xpm_h = "yes"; then
34118 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
34119 cat >>confdefs.h
<<\_ACEOF
34120 #define wxHAVE_LIB_XPM 1
34124 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34125 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34131 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34132 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34133 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34134 echo $ECHO_N "(cached) $ECHO_C" >&6
34136 ac_check_lib_save_LIBS
=$LIBS
34137 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34138 cat >conftest.
$ac_ext <<_ACEOF
34141 cat confdefs.h
>>conftest.
$ac_ext
34142 cat >>conftest.
$ac_ext <<_ACEOF
34143 /* end confdefs.h. */
34145 /* Override any GCC internal prototype to avoid an error.
34146 Use char because int might match the return type of a GCC
34147 builtin and then its argument prototype would still apply. */
34151 char XShapeQueryExtension ();
34155 return XShapeQueryExtension ();
34160 rm -f conftest.
$ac_objext conftest
$ac_exeext
34161 if { (ac_try
="$ac_link"
34162 case "(($ac_try" in
34163 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34164 *) ac_try_echo=$ac_try;;
34166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34167 (eval "$ac_link") 2>conftest.er1
34169 grep -v '^ *+' conftest.er1 >conftest.err
34171 cat conftest.err >&5
34172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34173 (exit $ac_status); } && {
34174 test -z "$ac_c_werror_flag" ||
34175 test ! -s conftest.err
34176 } && test -s conftest$ac_exeext &&
34177 $as_test_x conftest$ac_exeext; then
34178 ac_cv_lib_Xext_XShapeQueryExtension=yes
34180 echo "$as_me: failed program was:" >&5
34181 sed 's/^/| /' conftest.$ac_ext >&5
34183 ac_cv_lib_Xext_XShapeQueryExtension=no
34186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34187 conftest$ac_exeext conftest.$ac_ext
34188 LIBS=$ac_check_lib_save_LIBS
34190 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34191 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34192 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34194 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34200 if test "$wxHAVE_XEXT_LIB" = 1; then
34201 save_CFLAGS="$CFLAGS"
34202 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34204 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34205 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34206 cat >conftest.$ac_ext <<_ACEOF
34209 cat confdefs.h >>conftest.$ac_ext
34210 cat >>conftest.$ac_ext <<_ACEOF
34211 /* end confdefs.h. */
34213 #include <X11/Xlib.h>
34214 #include <X11/extensions/shape.h>
34220 int dummy1, dummy2;
34221 XShapeQueryExtension((Display*)NULL,
34222 (int*)NULL, (int*)NULL);
34228 rm -f conftest.$ac_objext
34229 if { (ac_try="$ac_compile"
34230 case "(($ac_try" in
34231 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34232 *) ac_try_echo
=$ac_try;;
34234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34235 (eval "$ac_compile") 2>conftest.er1
34237 grep -v '^ *+' conftest.er1
>conftest.err
34239 cat conftest.err
>&5
34240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34241 (exit $ac_status); } && {
34242 test -z "$ac_c_werror_flag" ||
34243 test ! -s conftest.err
34244 } && test -s conftest.
$ac_objext; then
34246 cat >>confdefs.h
<<\_ACEOF
34247 #define HAVE_XSHAPE 1
34250 { echo "$as_me:$LINENO: result: found" >&5
34251 echo "${ECHO_T}found" >&6; }
34254 echo "$as_me: failed program was:" >&5
34255 sed 's/^/| /' conftest.
$ac_ext >&5
34258 { echo "$as_me:$LINENO: result: not found" >&5
34259 echo "${ECHO_T}not found" >&6; }
34263 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34264 CFLAGS
="$save_CFLAGS"
34269 if test "$wxUSE_OSX_CARBON" = 1; then
34270 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34271 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34272 if test "$GCC" = yes; then
34273 { echo "$as_me:$LINENO: result: gcc" >&5
34274 echo "${ECHO_T}gcc" >&6; }
34275 CPPFLAGS_PASCAL
="-fpascal-strings"
34276 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34277 { echo "$as_me:$LINENO: result: xlc" >&5
34278 echo "${ECHO_T}xlc" >&6; }
34279 CPPFLAGS_PASCAL
="-qmacpstr"
34281 { echo "$as_me:$LINENO: result: none" >&5
34282 echo "${ECHO_T}none" >&6; }
34285 if test "x$wxUSE_UNIX" = "xyes"; then
34286 CPPFLAGS
="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34288 CPPFLAGS
="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
34292 GUIDIST
=OSX_CARBON_DIST
34293 WXBASEPORT
="_carbon"
34295 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34298 if test "$wxUSE_OSX_COCOA" = 1; then
34300 GUIDIST
=OSX_COCOA_DIST
34302 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34305 if test "$wxUSE_OSX_IPHONE" = 1; then
34309 if test "$wxUSE_OLD_COCOA" = 1; then
34314 if test "$wxUSE_PM" = 1; then
34317 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34318 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34319 if test "${wx_cv_spbcdata+set}" = set; then
34320 echo $ECHO_N "(cached) $ECHO_C" >&6
34323 cat >conftest.
$ac_ext <<_ACEOF
34326 cat confdefs.h
>>conftest.
$ac_ext
34327 cat >>conftest.
$ac_ext <<_ACEOF
34328 /* end confdefs.h. */
34343 rm -f conftest.
$ac_objext
34344 if { (ac_try
="$ac_compile"
34345 case "(($ac_try" in
34346 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34347 *) ac_try_echo=$ac_try;;
34349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34350 (eval "$ac_compile") 2>conftest.er1
34352 grep -v '^ *+' conftest.er1 >conftest.err
34354 cat conftest.err >&5
34355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34356 (exit $ac_status); } && {
34357 test -z "$ac_c_werror_flag" ||
34358 test ! -s conftest.err
34359 } && test -s conftest.$ac_objext; then
34362 echo "$as_me: failed program was:" >&5
34363 sed 's/^/| /' conftest.$ac_ext >&5
34369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34373 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34374 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34376 if test $wx_cv_spbcdata = "yes"; then
34377 cat >>confdefs.h <<\_ACEOF
34378 #define HAVE_SPBCDATA 1
34384 if test "$TOOLKIT" = "PM" ; then
34387 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34390 if test "$wxUSE_UNIVERSAL" = "yes"; then
34391 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34395 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34396 DISTDIR="wx\$(TOOLKIT)"
34402 if test "$USE_WIN32" = 1 ; then
34406 GUIDIST="BASE_DIST"
34412 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34413 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34414 wxUSE_UNICODE_UTF8=yes
34415 elif test "$USE_OS2" = 1 ; then
34416 wxUSE_UNICODE_UTF8=yes
34418 wxUSE_UNICODE_UTF8=no
34423 if test "$wxUSE_GUI" = "yes"; then
34424 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34426 for ac_header in X11/Xlib.h
34428 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34429 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34430 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34431 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34432 echo $ECHO_N "(cached) $ECHO_C" >&6
34434 cat >conftest.$ac_ext <<_ACEOF
34437 cat confdefs.h >>conftest.$ac_ext
34438 cat >>conftest.$ac_ext <<_ACEOF
34439 /* end confdefs.h. */
34442 #include <$ac_header>
34444 rm -f conftest.$ac_objext
34445 if { (ac_try="$ac_compile"
34446 case "(($ac_try" in
34447 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34448 *) ac_try_echo
=$ac_try;;
34450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34451 (eval "$ac_compile") 2>conftest.er1
34453 grep -v '^ *+' conftest.er1
>conftest.err
34455 cat conftest.err
>&5
34456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34457 (exit $ac_status); } && {
34458 test -z "$ac_c_werror_flag" ||
34459 test ! -s conftest.err
34460 } && test -s conftest.
$ac_objext; then
34461 eval "$as_ac_Header=yes"
34463 echo "$as_me: failed program was:" >&5
34464 sed 's/^/| /' conftest.
$ac_ext >&5
34466 eval "$as_ac_Header=no"
34469 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34471 ac_res
=`eval echo '${'$as_ac_Header'}'`
34472 { echo "$as_me:$LINENO: result: $ac_res" >&5
34473 echo "${ECHO_T}$ac_res" >&6; }
34474 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34475 cat >>confdefs.h
<<_ACEOF
34476 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34484 for ac_header
in X
11/XKBlib.h
34486 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34487 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34489 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34490 echo $ECHO_N "(cached) $ECHO_C" >&6
34492 cat >conftest.
$ac_ext <<_ACEOF
34495 cat confdefs.h
>>conftest.
$ac_ext
34496 cat >>conftest.
$ac_ext <<_ACEOF
34497 /* end confdefs.h. */
34499 #if HAVE_X11_XLIB_H
34500 #include <X11/Xlib.h>
34504 #include <$ac_header>
34506 rm -f conftest.
$ac_objext
34507 if { (ac_try
="$ac_compile"
34508 case "(($ac_try" in
34509 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34510 *) ac_try_echo=$ac_try;;
34512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34513 (eval "$ac_compile") 2>conftest.er1
34515 grep -v '^ *+' conftest.er1 >conftest.err
34517 cat conftest.err >&5
34518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34519 (exit $ac_status); } && {
34520 test -z "$ac_c_werror_flag" ||
34521 test ! -s conftest.err
34522 } && test -s conftest.$ac_objext; then
34523 eval "$as_ac_Header=yes"
34525 echo "$as_me: failed program was:" >&5
34526 sed 's/^/| /' conftest.$ac_ext >&5
34528 eval "$as_ac_Header=no"
34531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34533 ac_res=`eval echo '${'$as_ac_Header'}'`
34534 { echo "$as_me:$LINENO: result: $ac_res" >&5
34535 echo "${ECHO_T}$ac_res" >&6; }
34536 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34537 cat >>confdefs.h <<_ACEOF
34538 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34551 if test "$wxUSE_DISPLAY" = "yes"; then
34552 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34553 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34554 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34557 for ac_dir in $SEARCH_LIB
34559 for ac_extension in a so sl dylib dll.a; do
34560 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34561 ac_find_libraries=$ac_dir
34567 if test "$ac_find_libraries" != "" ; then
34569 if test "$ac_find_libraries" = "default location"; then
34572 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34574 if test $result = 0; then
34577 ac_path_to_link=" -L$ac_find_libraries"
34581 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34582 LDFLAGS="$LDFLAGS $ac_path_to_link"
34585 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34586 { echo "$as_me:$LINENO: result: yes" >&5
34587 echo "${ECHO_T}yes" >&6; }
34589 { echo "$as_me:$LINENO: result: no" >&5
34590 echo "${ECHO_T}no" >&6; }
34591 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34592 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34595 elif test "$wxUSE_MSW" = 1; then
34596 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34597 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34598 if test "${ac_cv_header_ddraw_h+set}" = set; then
34599 echo $ECHO_N "(cached) $ECHO_C" >&6
34601 cat >conftest.$ac_ext <<_ACEOF
34604 cat confdefs.h >>conftest.$ac_ext
34605 cat >>conftest.$ac_ext <<_ACEOF
34606 /* end confdefs.h. */
34607 #include <windows.h>
34611 rm -f conftest.$ac_objext
34612 if { (ac_try="$ac_compile"
34613 case "(($ac_try" in
34614 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34615 *) ac_try_echo
=$ac_try;;
34617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34618 (eval "$ac_compile") 2>conftest.er1
34620 grep -v '^ *+' conftest.er1
>conftest.err
34622 cat conftest.err
>&5
34623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34624 (exit $ac_status); } && {
34625 test -z "$ac_c_werror_flag" ||
34626 test ! -s conftest.err
34627 } && test -s conftest.
$ac_objext; then
34628 ac_cv_header_ddraw_h
=yes
34630 echo "$as_me: failed program was:" >&5
34631 sed 's/^/| /' conftest.
$ac_ext >&5
34633 ac_cv_header_ddraw_h
=no
34636 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34638 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34639 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34645 if test "$wxUSE_DISPLAY" = "yes"; then
34646 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34647 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34648 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34651 for ac_dir
in $SEARCH_LIB
34653 for ac_extension
in a so sl dylib dll.a
; do
34654 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34655 ac_find_libraries
=$ac_dir
34661 if test "$ac_find_libraries" != "" ; then
34662 { echo "$as_me:$LINENO: result: yes" >&5
34663 echo "${ECHO_T}yes" >&6; }
34665 for ac_header
in X
11/extensions
/xf86vmode.h
34667 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34668 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34670 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34671 echo $ECHO_N "(cached) $ECHO_C" >&6
34673 cat >conftest.
$ac_ext <<_ACEOF
34676 cat confdefs.h
>>conftest.
$ac_ext
34677 cat >>conftest.
$ac_ext <<_ACEOF
34678 /* end confdefs.h. */
34680 #if HAVE_X11_XLIB_H
34681 #include <X11/Xlib.h>
34685 #include <$ac_header>
34687 rm -f conftest.
$ac_objext
34688 if { (ac_try
="$ac_compile"
34689 case "(($ac_try" in
34690 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34691 *) ac_try_echo=$ac_try;;
34693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34694 (eval "$ac_compile") 2>conftest.er1
34696 grep -v '^ *+' conftest.er1 >conftest.err
34698 cat conftest.err >&5
34699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34700 (exit $ac_status); } && {
34701 test -z "$ac_c_werror_flag" ||
34702 test ! -s conftest.err
34703 } && test -s conftest.$ac_objext; then
34704 eval "$as_ac_Header=yes"
34706 echo "$as_me: failed program was:" >&5
34707 sed 's/^/| /' conftest.$ac_ext >&5
34709 eval "$as_ac_Header=no"
34712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34714 ac_res=`eval echo '${'$as_ac_Header'}'`
34715 { echo "$as_me:$LINENO: result: $ac_res" >&5
34716 echo "${ECHO_T}$ac_res" >&6; }
34717 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34718 cat >>confdefs.h <<_ACEOF
34719 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34722 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34729 { echo "$as_me:$LINENO: result: no" >&5
34730 echo "${ECHO_T}no" >&6; }
34735 if test "$wxUSE_DETECT_SM" = "yes"; then
34736 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34737 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34738 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34741 for ac_dir in $SEARCH_LIB
34743 for ac_extension in a so sl dylib dll.a; do
34744 if test -f "$ac_dir/libSM.$ac_extension"; then
34745 ac_find_libraries=$ac_dir
34751 if test "$ac_find_libraries" != "" ; then
34753 if test "$ac_find_libraries" = "default location"; then
34756 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34758 if test $result = 0; then
34761 ac_path_to_link=" -L$ac_find_libraries"
34765 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34766 LDFLAGS="$LDFLAGS $ac_path_to_link"
34768 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34769 { echo "$as_me:$LINENO: result: yes" >&5
34770 echo "${ECHO_T}yes" >&6; }
34772 { echo "$as_me:$LINENO: result: no" >&5
34773 echo "${ECHO_T}no" >&6; }
34774 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34775 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34776 wxUSE_DETECT_SM="no"
34779 wxUSE_DETECT_SM="no"
34786 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34789 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34790 OPENGL_LIBS="-framework OpenGL -framework AGL"
34791 elif test "$wxUSE_MSW" = 1; then
34792 OPENGL_LIBS="-lopengl32 -lglu32"
34793 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34795 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34796 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34799 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
34801 if test -f "$ac_dir/GL/gl.h"; then
34802 ac_find_includes=$ac_dir
34807 if test "$ac_find_includes" != "" ; then
34808 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34809 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34811 if test "x$ac_find_includes" = "x/usr/include"; then
34812 ac_path_to_include=""
34814 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34816 if test $result = 0; then
34817 ac_path_to_include=""
34819 ac_path_to_include=" -I$ac_find_includes"
34823 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34825 { echo "$as_me:$LINENO: result: not found" >&5
34826 echo "${ECHO_T}not found" >&6; }
34829 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34830 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34831 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34832 echo $ECHO_N "(cached) $ECHO_C" >&6
34834 cat >conftest.$ac_ext <<_ACEOF
34837 cat confdefs.h >>conftest.$ac_ext
34838 cat >>conftest.$ac_ext <<_ACEOF
34839 /* end confdefs.h. */
34844 rm -f conftest.$ac_objext
34845 if { (ac_try="$ac_compile"
34846 case "(($ac_try" in
34847 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34848 *) ac_try_echo
=$ac_try;;
34850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34851 (eval "$ac_compile") 2>conftest.er1
34853 grep -v '^ *+' conftest.er1
>conftest.err
34855 cat conftest.err
>&5
34856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34857 (exit $ac_status); } && {
34858 test -z "$ac_c_werror_flag" ||
34859 test ! -s conftest.err
34860 } && test -s conftest.
$ac_objext; then
34861 ac_cv_header_GL_gl_h
=yes
34863 echo "$as_me: failed program was:" >&5
34864 sed 's/^/| /' conftest.
$ac_ext >&5
34866 ac_cv_header_GL_gl_h
=no
34869 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34871 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34872 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34873 if test $ac_cv_header_GL_gl_h = yes; then
34875 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34876 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34877 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34878 echo $ECHO_N "(cached) $ECHO_C" >&6
34880 cat >conftest.
$ac_ext <<_ACEOF
34883 cat confdefs.h
>>conftest.
$ac_ext
34884 cat >>conftest.
$ac_ext <<_ACEOF
34885 /* end confdefs.h. */
34888 #include <GL/glu.h>
34890 rm -f conftest.
$ac_objext
34891 if { (ac_try
="$ac_compile"
34892 case "(($ac_try" in
34893 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34894 *) ac_try_echo=$ac_try;;
34896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34897 (eval "$ac_compile") 2>conftest.er1
34899 grep -v '^ *+' conftest.er1 >conftest.err
34901 cat conftest.err >&5
34902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34903 (exit $ac_status); } && {
34904 test -z "$ac_c_werror_flag" ||
34905 test ! -s conftest.err
34906 } && test -s conftest.$ac_objext; then
34907 ac_cv_header_GL_glu_h=yes
34909 echo "$as_me: failed program was:" >&5
34910 sed 's/^/| /' conftest.$ac_ext >&5
34912 ac_cv_header_GL_glu_h=no
34915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34917 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34918 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34919 if test $ac_cv_header_GL_glu_h = yes; then
34923 { echo "$as_me:$LINENO: checking for -lGL" >&5
34924 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34927 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib
34929 for ac_extension in a so sl dylib dll.a; do
34930 if test -f "$ac_dir/libGL.$ac_extension"; then
34931 ac_find_libraries=$ac_dir
34937 if test "$ac_find_libraries" != "" ; then
34938 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34939 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34942 if test "$ac_find_libraries" = "default location"; then
34945 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34947 if test $result = 0; then
34950 ac_path_to_link=" -L$ac_find_libraries"
34954 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34955 LDFLAGS_GL="$ac_path_to_link"
34958 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34959 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34962 for ac_dir in $SEARCH_LIB
34964 for ac_extension in a so sl dylib dll.a; do
34965 if test -f "$ac_dir/libGLU.$ac_extension"; then
34966 ac_find_libraries=$ac_dir
34972 if test "$ac_find_libraries" != "" ; then
34974 if test "$ac_find_libraries" = "default location"; then
34977 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34979 if test $result = 0; then
34982 ac_path_to_link=" -L$ac_find_libraries"
34986 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34987 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34988 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34992 OPENGL_LIBS="-lGL -lGLU"
34993 { echo "$as_me:$LINENO: result: yes" >&5
34994 echo "${ECHO_T}yes" >&6; }
34996 { echo "$as_me:$LINENO: result: no" >&5
34997 echo "${ECHO_T}no" >&6; }
35000 { echo "$as_me:$LINENO: result: no" >&5
35001 echo "${ECHO_T}no" >&6; }
35004 if test "$found_gl" != 1; then
35005 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35006 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35009 for ac_dir in $SEARCH_LIB
35011 for ac_extension in a so sl dylib dll.a; do
35012 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35013 ac_find_libraries=$ac_dir
35019 if test "$ac_find_libraries" != "" ; then
35021 if test "$ac_find_libraries" = "default location"; then
35024 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35026 if test $result = 0; then
35029 ac_path_to_link=" -L$ac_find_libraries"
35033 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35034 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35035 { echo "$as_me:$LINENO: result: yes" >&5
35036 echo "${ECHO_T}yes" >&6; }
35038 { echo "$as_me:$LINENO: result: no" >&5
35039 echo "${ECHO_T}no" >&6; }
35051 if test "x$OPENGL_LIBS" = "x"; then
35052 if test "$wxUSE_OPENGL" = "yes"; then
35053 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35054 echo "$as_me: error: OpenGL libraries not available" >&2;}
35055 { (exit 1); exit 1; }; }
35057 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
35058 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
35064 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35065 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35069 if test "$wxUSE_OPENGL" = "auto"; then
35073 if test "$wxUSE_OPENGL" = "yes"; then
35075 cat >>confdefs.h <<\_ACEOF
35076 #define wxUSE_OPENGL 1
35079 cat >>confdefs.h <<\_ACEOF
35080 #define wxUSE_GLCANVAS 1
35083 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35088 if test -n "$TOOLKIT" ; then
35089 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35094 if test "$wxUSE_SHARED" = "yes"; then
35098 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35099 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35104 if test "$wxUSE_SHARED" = "yes"; then
35108 *-*-cygwin* | *-*-mingw* )
35109 wx_cv_version_script=no
35113 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35114 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35115 if test "${wx_cv_version_script+set}" = set; then
35116 echo $ECHO_N "(cached) $ECHO_C" >&6
35119 echo "VER_1 { *; };" >conftest.sym
35120 echo "int main() { return 0; }" >conftest.cpp
35123 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35124 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35126 (eval $ac_try) 2>&5
35128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35129 (exit $ac_status); }; } ; then
35130 if test -s conftest.stderr ; then
35131 wx_cv_version_script=no
35133 wx_cv_version_script=yes
35136 wx_cv_version_script=no
35139 if test $wx_cv_version_script = yes
35141 echo "struct B { virtual ~B() { } }; \
35142 struct D : public B { }; \
35143 void F() { D d; }" > conftest.cpp
35146 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35147 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35149 (eval $ac_try) 2>&5
35151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35152 (exit $ac_status); }; } &&
35154 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35155 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35157 (eval $ac_try) 2>&5
35159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35160 (exit $ac_status); }; }
35163 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35164 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35166 (eval $ac_try) 2>&5
35168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35169 (exit $ac_status); }; }
35171 wx_cv_version_script=yes
35173 wx_cv_version_script=no
35178 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35179 rm -f conftest1.output conftest2.output conftest3.output
35182 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35183 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35185 if test $wx_cv_version_script = yes ; then
35186 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35192 if test "$wxUSE_VISIBILITY" != "no"; then
35195 if test -n "$GCC"; then
35196 CFLAGS_VISIBILITY="-fvisibility=hidden"
35197 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35198 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35199 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35200 if test "${wx_cv_cc_visibility+set}" = set; then
35201 echo $ECHO_N "(cached) $ECHO_C" >&6
35204 wx_save_CXXFLAGS="$CXXFLAGS"
35205 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35207 ac_cpp='$CXXCPP $CPPFLAGS'
35208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35212 cat >conftest.$ac_ext <<_ACEOF
35215 cat confdefs.h >>conftest.$ac_ext
35216 cat >>conftest.$ac_ext <<_ACEOF
35217 /* end confdefs.h. */
35219 /* we need gcc >= 4.0, older versions with visibility support
35220 didn't have class visibility: */
35221 #if defined(__GNUC__) && __GNUC__ < 4
35222 error this gcc is too old;
35225 /* visibility only makes sense for ELF shared libs: */
35226 #if !defined(__ELF__) && !defined(__APPLE__)
35227 error this platform has no visibility;
35230 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
35231 #if defined(__clang__)
35232 clang compiler is still broken w.r.t. visibility;
35235 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35236 extern __attribute__((__visibility__("default"))) int exportedvar;
35237 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35238 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35239 class __attribute__((__visibility__("default"))) Foo {
35251 rm -f conftest.$ac_objext
35252 if { (ac_try="$ac_compile"
35253 case "(($ac_try" in
35254 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35255 *) ac_try_echo
=$ac_try;;
35257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35258 (eval "$ac_compile") 2>conftest.er1
35260 grep -v '^ *+' conftest.er1
>conftest.err
35262 cat conftest.err
>&5
35263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35264 (exit $ac_status); } && {
35265 test -z "$ac_cxx_werror_flag" ||
35266 test ! -s conftest.err
35267 } && test -s conftest.
$ac_objext; then
35268 wx_cv_cc_visibility
=yes
35270 echo "$as_me: failed program was:" >&5
35271 sed 's/^/| /' conftest.
$ac_ext >&5
35273 wx_cv_cc_visibility
=no
35276 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35278 ac_cpp
='$CPP $CPPFLAGS'
35279 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35280 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35281 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35283 CXXFLAGS
="$wx_save_CXXFLAGS"
35286 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35287 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35288 if test $wx_cv_cc_visibility = yes; then
35289 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
35290 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
35291 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
35292 echo $ECHO_N "(cached) $ECHO_C" >&6
35295 wx_save_CXXFLAGS
="$CXXFLAGS"
35296 wx_save_LDFLAGS
="$LDFLAGS"
35297 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35298 LDFLAGS
="$LDFLAGS -shared -fPIC"
35300 ac_cpp
='$CXXCPP $CPPFLAGS'
35301 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35302 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35303 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35305 cat >conftest.
$ac_ext <<_ACEOF
35308 cat confdefs.h
>>conftest.
$ac_ext
35309 cat >>conftest.
$ac_ext <<_ACEOF
35310 /* end confdefs.h. */
35318 std::string s("hello");
35325 rm -f conftest.
$ac_objext conftest
$ac_exeext
35326 if { (ac_try
="$ac_link"
35327 case "(($ac_try" in
35328 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35329 *) ac_try_echo=$ac_try;;
35331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35332 (eval "$ac_link") 2>conftest.er1
35334 grep -v '^ *+' conftest.er1 >conftest.err
35336 cat conftest.err >&5
35337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35338 (exit $ac_status); } && {
35339 test -z "$ac_cxx_werror_flag" ||
35340 test ! -s conftest.err
35341 } && test -s conftest$ac_exeext &&
35342 $as_test_x conftest$ac_exeext; then
35343 wx_cv_cc_broken_libstdcxx_visibility=no
35345 echo "$as_me: failed program was:" >&5
35346 sed 's/^/| /' conftest.$ac_ext >&5
35348 wx_cv_cc_broken_libstdcxx_visibility=yes
35351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35352 conftest$ac_exeext conftest.$ac_ext
35354 ac_cpp='$CPP $CPPFLAGS'
35355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35359 CXXFLAGS="$wx_save_CXXFLAGS"
35360 LDFLAGS="$wx_save_LDFLAGS"
35363 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
35364 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
35366 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35367 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
35368 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
35369 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
35370 echo $ECHO_N "(cached) $ECHO_C" >&6
35374 ac_cpp='$CXXCPP $CPPFLAGS'
35375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35379 cat >conftest.$ac_ext <<_ACEOF
35382 cat confdefs.h >>conftest.$ac_ext
35383 cat >>conftest.$ac_ext <<_ACEOF
35384 /* end confdefs.h. */
35386 #pragma GCC visibility push(default)
35388 #pragma GCC visibility pop
35394 std::string s("hello");
35401 rm -f conftest.$ac_objext conftest$ac_exeext
35402 if { (ac_try="$ac_link"
35403 case "(($ac_try" in
35404 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35405 *) ac_try_echo
=$ac_try;;
35407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35408 (eval "$ac_link") 2>conftest.er1
35410 grep -v '^ *+' conftest.er1
>conftest.err
35412 cat conftest.err
>&5
35413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35414 (exit $ac_status); } && {
35415 test -z "$ac_cxx_werror_flag" ||
35416 test ! -s conftest.err
35417 } && test -s conftest
$ac_exeext &&
35418 $as_test_x conftest
$ac_exeext; then
35419 wx_cv_cc_visibility_workaround
=no
35421 echo "$as_me: failed program was:" >&5
35422 sed 's/^/| /' conftest.
$ac_ext >&5
35424 wx_cv_cc_visibility_workaround
=yes
35427 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35428 conftest
$ac_exeext conftest.
$ac_ext
35430 ac_cpp
='$CPP $CPPFLAGS'
35431 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35432 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35433 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35438 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
35439 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
35441 if test $wx_cv_cc_visibility_workaround = no
; then
35442 wx_cv_cc_visibility
=no
35447 if test $wx_cv_cc_visibility = yes; then
35448 cat >>confdefs.h
<<\_ACEOF
35449 #define HAVE_VISIBILITY 1
35452 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35453 cat >>confdefs.h
<<\_ACEOF
35454 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
35459 CFLAGS_VISIBILITY
=""
35460 CXXFLAGS_VISIBILITY
=""
35468 if test "x$SUNCXX" = xyes
; then
35469 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
35470 WXCONFIG_RPATH
="-R\$libdir"
35473 *-*-linux* | *-*-gnu* )
35474 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
35475 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
35480 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
35482 saveLdflags
="$LDFLAGS"
35483 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
35484 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35485 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35486 cat >conftest.
$ac_ext <<_ACEOF
35489 cat confdefs.h
>>conftest.
$ac_ext
35490 cat >>conftest.
$ac_ext <<_ACEOF
35491 /* end confdefs.h. */
35501 rm -f conftest.
$ac_objext conftest
$ac_exeext
35502 if { (ac_try
="$ac_link"
35503 case "(($ac_try" in
35504 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35505 *) ac_try_echo=$ac_try;;
35507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35508 (eval "$ac_link") 2>conftest.er1
35510 grep -v '^ *+' conftest.er1 >conftest.err
35512 cat conftest.err >&5
35513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35514 (exit $ac_status); } && {
35515 test -z "$ac_c_werror_flag" ||
35516 test ! -s conftest.err
35517 } && test -s conftest$ac_exeext &&
35518 $as_test_x conftest$ac_exeext; then
35520 { echo "$as_me:$LINENO: result: yes" >&5
35521 echo "${ECHO_T}yes" >&6; }
35522 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35523 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35526 echo "$as_me: failed program was:" >&5
35527 sed 's/^/| /' conftest.$ac_ext >&5
35530 { echo "$as_me:$LINENO: result: no" >&5
35531 echo "${ECHO_T}no" >&6; }
35532 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35533 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35534 LDFLAGS="$saveLdflags -Wl,-R,/"
35535 cat >conftest.$ac_ext <<_ACEOF
35538 cat confdefs.h >>conftest.$ac_ext
35539 cat >>conftest.$ac_ext <<_ACEOF
35540 /* end confdefs.h. */
35550 rm -f conftest.$ac_objext conftest$ac_exeext
35551 if { (ac_try="$ac_link"
35552 case "(($ac_try" in
35553 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35554 *) ac_try_echo
=$ac_try;;
35556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35557 (eval "$ac_link") 2>conftest.er1
35559 grep -v '^ *+' conftest.er1
>conftest.err
35561 cat conftest.err
>&5
35562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35563 (exit $ac_status); } && {
35564 test -z "$ac_c_werror_flag" ||
35565 test ! -s conftest.err
35566 } && test -s conftest
$ac_exeext &&
35567 $as_test_x conftest
$ac_exeext; then
35569 { echo "$as_me:$LINENO: result: yes" >&5
35570 echo "${ECHO_T}yes" >&6; }
35571 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
35572 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
35575 echo "$as_me: failed program was:" >&5
35576 sed 's/^/| /' conftest.
$ac_ext >&5
35579 { echo "$as_me:$LINENO: result: no" >&5
35580 echo "${ECHO_T}no" >&6; }
35584 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35585 conftest
$ac_exeext conftest.
$ac_ext
35589 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35590 conftest
$ac_exeext conftest.
$ac_ext
35591 LDFLAGS
="$saveLdflags"
35595 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
35596 if test "$install_name_tool" -a -x "$install_name_tool"; then
35597 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35598 cat <<EOF >change-install-names
35600 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35601 for i in \${libnames} ; do
35602 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
35603 for dep in \${libnames} ; do
35604 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
35608 chmod +x change
-install-names
35609 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
35612 HEADER_PAD_OPTION
="-headerpad_max_install_names"
35615 *-*-cygwin* | *-*-mingw32* )
35619 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
35620 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
35626 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35628 if test $wxUSE_RPATH = "no"; then
35629 SAMPLES_RPATH_FLAG
=''
35630 DYLIB_PATH_POSTLINK
=''
35638 config_linkage_component
="-static"
35645 lib_unicode_suffix
=
35647 if test "$wxUSE_UNICODE" = "yes"; then
35648 lib_unicode_suffix
=u
35649 WX_CHARTYPE
="unicode"
35653 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
35654 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
35657 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35661 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35663 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35665 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35668 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35669 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35671 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35673 if test "${TOOLKIT_DIR}" = "os2"; then
35674 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35676 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35681 if test "$wxUSE_OLD_COCOA" = 1; then
35684 ac_cpp
='$CPP $CPPFLAGS'
35685 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35686 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35687 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35691 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35692 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35693 cat >conftest.
$ac_ext <<_ACEOF
35696 cat confdefs.h
>>conftest.
$ac_ext
35697 cat >>conftest.
$ac_ext <<_ACEOF
35698 /* end confdefs.h. */
35699 #include <AppKit/NSEvent.h>
35700 #include <CoreFoundation/CoreFoundation.h>
35710 rm -f conftest.
$ac_objext
35711 if { (ac_try
="$ac_compile"
35712 case "(($ac_try" in
35713 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35714 *) ac_try_echo=$ac_try;;
35716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35717 (eval "$ac_compile") 2>conftest.er1
35719 grep -v '^ *+' conftest.er1 >conftest.err
35721 cat conftest.err >&5
35722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35723 (exit $ac_status); } && {
35724 test -z "$ac_c_werror_flag" ||
35725 test ! -s conftest.err
35726 } && test -s conftest.$ac_objext; then
35727 { echo "$as_me:$LINENO: result: no" >&5
35728 echo "${ECHO_T}no" >&6; }
35730 echo "$as_me: failed program was:" >&5
35731 sed 's/^/| /' conftest.$ac_ext >&5
35733 { echo "$as_me:$LINENO: result: yes" >&5
35734 echo "${ECHO_T}yes" >&6; }
35735 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35736 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35737 cat >conftest.$ac_ext <<_ACEOF
35740 cat confdefs.h >>conftest.$ac_ext
35741 cat >>conftest.$ac_ext <<_ACEOF
35742 /* end confdefs.h. */
35743 #define __Point__ 1
35744 #include <AppKit/NSEvent.h>
35745 #include <CoreFoundation/CoreFoundation.h>
35755 rm -f conftest.$ac_objext
35756 if { (ac_try="$ac_compile"
35757 case "(($ac_try" in
35758 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35759 *) ac_try_echo
=$ac_try;;
35761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35762 (eval "$ac_compile") 2>conftest.er1
35764 grep -v '^ *+' conftest.er1
>conftest.err
35766 cat conftest.err
>&5
35767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35768 (exit $ac_status); } && {
35769 test -z "$ac_c_werror_flag" ||
35770 test ! -s conftest.err
35771 } && test -s conftest.
$ac_objext; then
35772 { echo "$as_me:$LINENO: result: yes" >&5
35773 echo "${ECHO_T}yes" >&6; }
35774 cat >>confdefs.h
<<\_ACEOF
35775 #define __Point__ 1
35780 echo "$as_me: failed program was:" >&5
35781 sed 's/^/| /' conftest.
$ac_ext >&5
35783 { { echo "$as_me:$LINENO: error: no
35784 See \`config.log' for more details." >&5
35785 echo "$as_me: error: no
35786 See \`config.log' for more details." >&2;}
35787 { (exit 1); exit 1; }; }
35791 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35795 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35797 ac_cpp
='$CPP $CPPFLAGS'
35798 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35799 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35800 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35805 { echo "$as_me:$LINENO: checking for mode_t" >&5
35806 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35807 if test "${ac_cv_type_mode_t+set}" = set; then
35808 echo $ECHO_N "(cached) $ECHO_C" >&6
35810 cat >conftest.
$ac_ext <<_ACEOF
35813 cat confdefs.h
>>conftest.
$ac_ext
35814 cat >>conftest.
$ac_ext <<_ACEOF
35815 /* end confdefs.h. */
35816 $ac_includes_default
35817 typedef mode_t ac__type_new_;
35821 if ((ac__type_new_ *) 0)
35823 if (sizeof (ac__type_new_))
35829 rm -f conftest.
$ac_objext
35830 if { (ac_try
="$ac_compile"
35831 case "(($ac_try" in
35832 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35833 *) ac_try_echo=$ac_try;;
35835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35836 (eval "$ac_compile") 2>conftest.er1
35838 grep -v '^ *+' conftest.er1 >conftest.err
35840 cat conftest.err >&5
35841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35842 (exit $ac_status); } && {
35843 test -z "$ac_c_werror_flag" ||
35844 test ! -s conftest.err
35845 } && test -s conftest.$ac_objext; then
35846 ac_cv_type_mode_t=yes
35848 echo "$as_me: failed program was:" >&5
35849 sed 's/^/| /' conftest.$ac_ext >&5
35851 ac_cv_type_mode_t=no
35854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35856 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35857 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35858 if test $ac_cv_type_mode_t = yes; then
35862 cat >>confdefs.h <<_ACEOF
35868 { echo "$as_me:$LINENO: checking for off_t" >&5
35869 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35870 if test "${ac_cv_type_off_t+set}" = set; then
35871 echo $ECHO_N "(cached) $ECHO_C" >&6
35873 cat >conftest.$ac_ext <<_ACEOF
35876 cat confdefs.h >>conftest.$ac_ext
35877 cat >>conftest.$ac_ext <<_ACEOF
35878 /* end confdefs.h. */
35879 $ac_includes_default
35880 typedef off_t ac__type_new_;
35884 if ((ac__type_new_ *) 0)
35886 if (sizeof (ac__type_new_))
35892 rm -f conftest.$ac_objext
35893 if { (ac_try="$ac_compile"
35894 case "(($ac_try" in
35895 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35896 *) ac_try_echo
=$ac_try;;
35898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35899 (eval "$ac_compile") 2>conftest.er1
35901 grep -v '^ *+' conftest.er1
>conftest.err
35903 cat conftest.err
>&5
35904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35905 (exit $ac_status); } && {
35906 test -z "$ac_c_werror_flag" ||
35907 test ! -s conftest.err
35908 } && test -s conftest.
$ac_objext; then
35909 ac_cv_type_off_t
=yes
35911 echo "$as_me: failed program was:" >&5
35912 sed 's/^/| /' conftest.
$ac_ext >&5
35914 ac_cv_type_off_t
=no
35917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35919 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35920 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35921 if test $ac_cv_type_off_t = yes; then
35925 cat >>confdefs.h
<<_ACEOF
35926 #define off_t long int
35931 { echo "$as_me:$LINENO: checking for pid_t" >&5
35932 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35933 if test "${ac_cv_type_pid_t+set}" = set; then
35934 echo $ECHO_N "(cached) $ECHO_C" >&6
35936 cat >conftest.
$ac_ext <<_ACEOF
35939 cat confdefs.h
>>conftest.
$ac_ext
35940 cat >>conftest.
$ac_ext <<_ACEOF
35941 /* end confdefs.h. */
35942 $ac_includes_default
35943 typedef pid_t ac__type_new_;
35947 if ((ac__type_new_ *) 0)
35949 if (sizeof (ac__type_new_))
35955 rm -f conftest.
$ac_objext
35956 if { (ac_try
="$ac_compile"
35957 case "(($ac_try" in
35958 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35959 *) ac_try_echo=$ac_try;;
35961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35962 (eval "$ac_compile") 2>conftest.er1
35964 grep -v '^ *+' conftest.er1 >conftest.err
35966 cat conftest.err >&5
35967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35968 (exit $ac_status); } && {
35969 test -z "$ac_c_werror_flag" ||
35970 test ! -s conftest.err
35971 } && test -s conftest.$ac_objext; then
35972 ac_cv_type_pid_t=yes
35974 echo "$as_me: failed program was:" >&5
35975 sed 's/^/| /' conftest.$ac_ext >&5
35977 ac_cv_type_pid_t=no
35980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35982 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35983 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35984 if test $ac_cv_type_pid_t = yes; then
35988 cat >>confdefs.h <<_ACEOF
35994 { echo "$as_me:$LINENO: checking for size_t" >&5
35995 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35996 if test "${ac_cv_type_size_t+set}" = set; then
35997 echo $ECHO_N "(cached) $ECHO_C" >&6
35999 cat >conftest.$ac_ext <<_ACEOF
36002 cat confdefs.h >>conftest.$ac_ext
36003 cat >>conftest.$ac_ext <<_ACEOF
36004 /* end confdefs.h. */
36005 $ac_includes_default
36006 typedef size_t ac__type_new_;
36010 if ((ac__type_new_ *) 0)
36012 if (sizeof (ac__type_new_))
36018 rm -f conftest.$ac_objext
36019 if { (ac_try="$ac_compile"
36020 case "(($ac_try" in
36021 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36022 *) ac_try_echo
=$ac_try;;
36024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36025 (eval "$ac_compile") 2>conftest.er1
36027 grep -v '^ *+' conftest.er1
>conftest.err
36029 cat conftest.err
>&5
36030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36031 (exit $ac_status); } && {
36032 test -z "$ac_c_werror_flag" ||
36033 test ! -s conftest.err
36034 } && test -s conftest.
$ac_objext; then
36035 ac_cv_type_size_t
=yes
36037 echo "$as_me: failed program was:" >&5
36038 sed 's/^/| /' conftest.
$ac_ext >&5
36040 ac_cv_type_size_t
=no
36043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36045 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36046 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36047 if test $ac_cv_type_size_t = yes; then
36051 cat >>confdefs.h
<<_ACEOF
36052 #define size_t unsigned int
36058 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36059 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36060 if test "${ac_cv_type_ssize_t+set}" = set; then
36061 echo $ECHO_N "(cached) $ECHO_C" >&6
36063 cat >conftest.
$ac_ext <<_ACEOF
36066 cat confdefs.h
>>conftest.
$ac_ext
36067 cat >>conftest.
$ac_ext <<_ACEOF
36068 /* end confdefs.h. */
36069 $ac_includes_default
36070 typedef ssize_t ac__type_new_;
36074 if ((ac__type_new_ *) 0)
36076 if (sizeof (ac__type_new_))
36082 rm -f conftest.
$ac_objext
36083 if { (ac_try
="$ac_compile"
36084 case "(($ac_try" in
36085 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36086 *) ac_try_echo=$ac_try;;
36088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36089 (eval "$ac_compile") 2>conftest.er1
36091 grep -v '^ *+' conftest.er1 >conftest.err
36093 cat conftest.err >&5
36094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36095 (exit $ac_status); } && {
36096 test -z "$ac_c_werror_flag" ||
36097 test ! -s conftest.err
36098 } && test -s conftest.$ac_objext; then
36099 ac_cv_type_ssize_t=yes
36101 echo "$as_me: failed program was:" >&5
36102 sed 's/^/| /' conftest.$ac_ext >&5
36104 ac_cv_type_ssize_t=no
36107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36109 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36110 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36111 if test $ac_cv_type_ssize_t = yes; then
36113 cat >>confdefs.h <<_ACEOF
36114 #define HAVE_SSIZE_T 1
36122 ac_cpp='$CXXCPP $CPPFLAGS'
36123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36126 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36127 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
36128 if test "${wx_cv_size_t_is_uint+set}" = set; then
36129 echo $ECHO_N "(cached) $ECHO_C" >&6
36132 cat >conftest.$ac_ext <<_ACEOF
36135 cat confdefs.h >>conftest.$ac_ext
36136 cat >>conftest.$ac_ext <<_ACEOF
36137 /* end confdefs.h. */
36138 #include <stddef.h>
36145 struct Foo { void foo(size_t); void foo(unsigned int); };
36153 rm -f conftest.$ac_objext
36154 if { (ac_try="$ac_compile"
36155 case "(($ac_try" in
36156 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36157 *) ac_try_echo
=$ac_try;;
36159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36160 (eval "$ac_compile") 2>conftest.er1
36162 grep -v '^ *+' conftest.er1
>conftest.err
36164 cat conftest.err
>&5
36165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36166 (exit $ac_status); } && {
36167 test -z "$ac_cxx_werror_flag" ||
36168 test ! -s conftest.err
36169 } && test -s conftest.
$ac_objext; then
36170 wx_cv_size_t_is_uint
=no
36172 echo "$as_me: failed program was:" >&5
36173 sed 's/^/| /' conftest.
$ac_ext >&5
36175 wx_cv_size_t_is_uint
=yes
36179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36183 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36184 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36186 if test "$wx_cv_size_t_is_uint" = "yes"; then
36187 cat >>confdefs.h
<<\_ACEOF
36188 #define wxSIZE_T_IS_UINT 1
36192 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36193 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36194 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36195 echo $ECHO_N "(cached) $ECHO_C" >&6
36197 cat >conftest.
$ac_ext <<_ACEOF
36200 cat confdefs.h
>>conftest.
$ac_ext
36201 cat >>conftest.
$ac_ext <<_ACEOF
36202 /* end confdefs.h. */
36203 #include <stddef.h>
36210 struct Foo { void foo(size_t); void foo(unsigned long); };
36218 rm -f conftest.
$ac_objext
36219 if { (ac_try
="$ac_compile"
36220 case "(($ac_try" in
36221 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36222 *) ac_try_echo=$ac_try;;
36224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36225 (eval "$ac_compile") 2>conftest.er1
36227 grep -v '^ *+' conftest.er1 >conftest.err
36229 cat conftest.err >&5
36230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36231 (exit $ac_status); } && {
36232 test -z "$ac_cxx_werror_flag" ||
36233 test ! -s conftest.err
36234 } && test -s conftest.$ac_objext; then
36235 wx_cv_size_t_is_ulong=no
36237 echo "$as_me: failed program was:" >&5
36238 sed 's/^/| /' conftest.$ac_ext >&5
36240 wx_cv_size_t_is_ulong=yes
36244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36247 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36248 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36250 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36251 cat >>confdefs.h <<\_ACEOF
36252 #define wxSIZE_T_IS_ULONG 1
36258 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36259 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36260 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36261 echo $ECHO_N "(cached) $ECHO_C" >&6
36263 cat >conftest.$ac_ext <<_ACEOF
36266 cat confdefs.h >>conftest.$ac_ext
36267 cat >>conftest.$ac_ext <<_ACEOF
36268 /* end confdefs.h. */
36276 struct Foo { void foo(wchar_t);
36277 void foo(unsigned short);
36278 void foo(unsigned int);
36279 void foo(unsigned long); };
36287 rm -f conftest.$ac_objext
36288 if { (ac_try="$ac_compile"
36289 case "(($ac_try" in
36290 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36291 *) ac_try_echo
=$ac_try;;
36293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36294 (eval "$ac_compile") 2>conftest.er1
36296 grep -v '^ *+' conftest.er1
>conftest.err
36298 cat conftest.err
>&5
36299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36300 (exit $ac_status); } && {
36301 test -z "$ac_cxx_werror_flag" ||
36302 test ! -s conftest.err
36303 } && test -s conftest.
$ac_objext; then
36304 wx_cv_wchar_t_is_separate_type
=yes
36306 echo "$as_me: failed program was:" >&5
36307 sed 's/^/| /' conftest.
$ac_ext >&5
36309 wx_cv_wchar_t_is_separate_type
=no
36313 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36316 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36317 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36319 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36320 cat >>confdefs.h
<<\_ACEOF
36321 #define wxWCHAR_T_IS_REAL_TYPE 1
36325 cat >>confdefs.h
<<\_ACEOF
36326 #define wxWCHAR_T_IS_REAL_TYPE 0
36332 ac_cpp
='$CPP $CPPFLAGS'
36333 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36334 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36335 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36338 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36339 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
36340 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36341 echo $ECHO_N "(cached) $ECHO_C" >&6
36344 cat >conftest.
$ac_ext <<_ACEOF
36347 cat confdefs.h
>>conftest.
$ac_ext
36348 cat >>conftest.
$ac_ext <<_ACEOF
36349 /* end confdefs.h. */
36363 rm -f conftest.
$ac_objext
36364 if { (ac_try
="$ac_compile"
36365 case "(($ac_try" in
36366 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36367 *) ac_try_echo=$ac_try;;
36369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36370 (eval "$ac_compile") 2>conftest.er1
36372 grep -v '^ *+' conftest.er1 >conftest.err
36374 cat conftest.err >&5
36375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36376 (exit $ac_status); } && {
36377 test -z "$ac_c_werror_flag" ||
36378 test ! -s conftest.err
36379 } && test -s conftest.$ac_objext; then
36381 wx_cv_struct_pw_gecos=yes
36384 echo "$as_me: failed program was:" >&5
36385 sed 's/^/| /' conftest.$ac_ext >&5
36388 wx_cv_struct_pw_gecos=no
36393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36397 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36398 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36400 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36401 cat >>confdefs.h <<\_ACEOF
36402 #define HAVE_PW_GECOS 1
36411 for ac_func in wcslen
36413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36414 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36416 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36417 echo $ECHO_N "(cached) $ECHO_C" >&6
36419 cat >conftest.$ac_ext <<_ACEOF
36422 cat confdefs.h >>conftest.$ac_ext
36423 cat >>conftest.$ac_ext <<_ACEOF
36424 /* end confdefs.h. */
36425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36427 #define $ac_func innocuous_$ac_func
36429 /* System header to define __stub macros and hopefully few prototypes,
36430 which can conflict with char $ac_func (); below.
36431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36432 <limits.h> exists even on freestanding compilers. */
36435 # include <limits.h>
36437 # include <assert.h>
36442 /* Override any GCC internal prototype to avoid an error.
36443 Use char because int might match the return type of a GCC
36444 builtin and then its argument prototype would still apply. */
36449 /* The GNU C library defines this for functions which it implements
36450 to always fail with ENOSYS. Some functions are actually named
36451 something starting with __ and the normal name is an alias. */
36452 #if defined __stub_$ac_func || defined __stub___$ac_func
36459 return $ac_func ();
36464 rm -f conftest.$ac_objext conftest$ac_exeext
36465 if { (ac_try="$ac_link"
36466 case "(($ac_try" in
36467 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36468 *) ac_try_echo
=$ac_try;;
36470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36471 (eval "$ac_link") 2>conftest.er1
36473 grep -v '^ *+' conftest.er1
>conftest.err
36475 cat conftest.err
>&5
36476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36477 (exit $ac_status); } && {
36478 test -z "$ac_c_werror_flag" ||
36479 test ! -s conftest.err
36480 } && test -s conftest
$ac_exeext &&
36481 $as_test_x conftest
$ac_exeext; then
36482 eval "$as_ac_var=yes"
36484 echo "$as_me: failed program was:" >&5
36485 sed 's/^/| /' conftest.
$ac_ext >&5
36487 eval "$as_ac_var=no"
36490 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36491 conftest
$ac_exeext conftest.
$ac_ext
36493 ac_res
=`eval echo '${'$as_ac_var'}'`
36494 { echo "$as_me:$LINENO: result: $ac_res" >&5
36495 echo "${ECHO_T}$ac_res" >&6; }
36496 if test `eval echo '${'$as_ac_var'}'` = yes; then
36497 cat >>confdefs.h
<<_ACEOF
36498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36505 if test "$WCSLEN_FOUND" = 0; then
36506 if test "$TOOLKIT" = "MSW"; then
36507 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36508 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
36509 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36510 echo $ECHO_N "(cached) $ECHO_C" >&6
36512 ac_check_lib_save_LIBS
=$LIBS
36513 LIBS
="-lmsvcrt $LIBS"
36514 cat >conftest.
$ac_ext <<_ACEOF
36517 cat confdefs.h
>>conftest.
$ac_ext
36518 cat >>conftest.
$ac_ext <<_ACEOF
36519 /* end confdefs.h. */
36521 /* Override any GCC internal prototype to avoid an error.
36522 Use char because int might match the return type of a GCC
36523 builtin and then its argument prototype would still apply. */
36536 rm -f conftest.
$ac_objext conftest
$ac_exeext
36537 if { (ac_try
="$ac_link"
36538 case "(($ac_try" in
36539 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36540 *) ac_try_echo=$ac_try;;
36542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36543 (eval "$ac_link") 2>conftest.er1
36545 grep -v '^ *+' conftest.er1 >conftest.err
36547 cat conftest.err >&5
36548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36549 (exit $ac_status); } && {
36550 test -z "$ac_c_werror_flag" ||
36551 test ! -s conftest.err
36552 } && test -s conftest$ac_exeext &&
36553 $as_test_x conftest$ac_exeext; then
36554 ac_cv_lib_msvcrt_wcslen=yes
36556 echo "$as_me: failed program was:" >&5
36557 sed 's/^/| /' conftest.$ac_ext >&5
36559 ac_cv_lib_msvcrt_wcslen=no
36562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36563 conftest$ac_exeext conftest.$ac_ext
36564 LIBS=$ac_check_lib_save_LIBS
36566 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36567 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36568 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36573 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36574 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36575 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36576 echo $ECHO_N "(cached) $ECHO_C" >&6
36578 ac_check_lib_save_LIBS=$LIBS
36580 cat >conftest.$ac_ext <<_ACEOF
36583 cat confdefs.h >>conftest.$ac_ext
36584 cat >>conftest.$ac_ext <<_ACEOF
36585 /* end confdefs.h. */
36587 /* Override any GCC internal prototype to avoid an error.
36588 Use char because int might match the return type of a GCC
36589 builtin and then its argument prototype would still apply. */
36602 rm -f conftest.$ac_objext conftest$ac_exeext
36603 if { (ac_try="$ac_link"
36604 case "(($ac_try" in
36605 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36606 *) ac_try_echo
=$ac_try;;
36608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36609 (eval "$ac_link") 2>conftest.er1
36611 grep -v '^ *+' conftest.er1
>conftest.err
36613 cat conftest.err
>&5
36614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36615 (exit $ac_status); } && {
36616 test -z "$ac_c_werror_flag" ||
36617 test ! -s conftest.err
36618 } && test -s conftest
$ac_exeext &&
36619 $as_test_x conftest
$ac_exeext; then
36620 ac_cv_lib_w_wcslen
=yes
36622 echo "$as_me: failed program was:" >&5
36623 sed 's/^/| /' conftest.
$ac_ext >&5
36625 ac_cv_lib_w_wcslen
=no
36628 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36629 conftest
$ac_exeext conftest.
$ac_ext
36630 LIBS
=$ac_check_lib_save_LIBS
36632 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36633 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36634 if test $ac_cv_lib_w_wcslen = yes; then
36644 if test "$WCSLEN_FOUND" = 1; then
36645 cat >>confdefs.h
<<\_ACEOF
36646 #define HAVE_WCSLEN 1
36657 for ac_func
in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
36659 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36660 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36662 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36663 echo $ECHO_N "(cached) $ECHO_C" >&6
36665 cat >conftest.
$ac_ext <<_ACEOF
36668 cat confdefs.h
>>conftest.
$ac_ext
36669 cat >>conftest.
$ac_ext <<_ACEOF
36670 /* end confdefs.h. */
36671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36673 #define $ac_func innocuous_$ac_func
36675 /* System header to define __stub macros and hopefully few prototypes,
36676 which can conflict with char $ac_func (); below.
36677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36678 <limits.h> exists even on freestanding compilers. */
36681 # include <limits.h>
36683 # include <assert.h>
36688 /* Override any GCC internal prototype to avoid an error.
36689 Use char because int might match the return type of a GCC
36690 builtin and then its argument prototype would still apply. */
36695 /* The GNU C library defines this for functions which it implements
36696 to always fail with ENOSYS. Some functions are actually named
36697 something starting with __ and the normal name is an alias. */
36698 #if defined __stub_$ac_func || defined __stub___$ac_func
36705 return $ac_func ();
36710 rm -f conftest.
$ac_objext conftest
$ac_exeext
36711 if { (ac_try
="$ac_link"
36712 case "(($ac_try" in
36713 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36714 *) ac_try_echo=$ac_try;;
36716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36717 (eval "$ac_link") 2>conftest.er1
36719 grep -v '^ *+' conftest.er1 >conftest.err
36721 cat conftest.err >&5
36722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36723 (exit $ac_status); } && {
36724 test -z "$ac_c_werror_flag" ||
36725 test ! -s conftest.err
36726 } && test -s conftest$ac_exeext &&
36727 $as_test_x conftest$ac_exeext; then
36728 eval "$as_ac_var=yes"
36730 echo "$as_me: failed program was:" >&5
36731 sed 's/^/| /' conftest.$ac_ext >&5
36733 eval "$as_ac_var=no"
36736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36737 conftest$ac_exeext conftest.$ac_ext
36739 ac_res=`eval echo '${'$as_ac_var'}'`
36740 { echo "$as_me:$LINENO: result: $ac_res" >&5
36741 echo "${ECHO_T}$ac_res" >&6; }
36742 if test `eval echo '${'$as_ac_var'}'` = yes; then
36743 cat >>confdefs.h <<_ACEOF
36744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36751 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36752 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36755 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36756 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36757 if test "${ac_cv_type_mbstate_t+set}" = set; then
36758 echo $ECHO_N "(cached) $ECHO_C" >&6
36760 cat >conftest.$ac_ext <<_ACEOF
36763 cat confdefs.h >>conftest.$ac_ext
36764 cat >>conftest.$ac_ext <<_ACEOF
36765 /* end confdefs.h. */
36768 typedef mbstate_t ac__type_new_;
36772 if ((ac__type_new_ *) 0)
36774 if (sizeof (ac__type_new_))
36780 rm -f conftest.$ac_objext
36781 if { (ac_try="$ac_compile"
36782 case "(($ac_try" in
36783 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36784 *) ac_try_echo
=$ac_try;;
36786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36787 (eval "$ac_compile") 2>conftest.er1
36789 grep -v '^ *+' conftest.er1
>conftest.err
36791 cat conftest.err
>&5
36792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36793 (exit $ac_status); } && {
36794 test -z "$ac_c_werror_flag" ||
36795 test ! -s conftest.err
36796 } && test -s conftest.
$ac_objext; then
36797 ac_cv_type_mbstate_t
=yes
36799 echo "$as_me: failed program was:" >&5
36800 sed 's/^/| /' conftest.
$ac_ext >&5
36802 ac_cv_type_mbstate_t
=no
36805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36807 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36808 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36809 if test $ac_cv_type_mbstate_t = yes; then
36811 cat >>confdefs.h
<<_ACEOF
36812 #define HAVE_MBSTATE_T 1
36816 for ac_func
in wcsrtombs
36818 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36819 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36821 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36822 echo $ECHO_N "(cached) $ECHO_C" >&6
36824 cat >conftest.
$ac_ext <<_ACEOF
36827 cat confdefs.h
>>conftest.
$ac_ext
36828 cat >>conftest.
$ac_ext <<_ACEOF
36829 /* end confdefs.h. */
36830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36832 #define $ac_func innocuous_$ac_func
36834 /* System header to define __stub macros and hopefully few prototypes,
36835 which can conflict with char $ac_func (); below.
36836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36837 <limits.h> exists even on freestanding compilers. */
36840 # include <limits.h>
36842 # include <assert.h>
36847 /* Override any GCC internal prototype to avoid an error.
36848 Use char because int might match the return type of a GCC
36849 builtin and then its argument prototype would still apply. */
36854 /* The GNU C library defines this for functions which it implements
36855 to always fail with ENOSYS. Some functions are actually named
36856 something starting with __ and the normal name is an alias. */
36857 #if defined __stub_$ac_func || defined __stub___$ac_func
36864 return $ac_func ();
36869 rm -f conftest.
$ac_objext conftest
$ac_exeext
36870 if { (ac_try
="$ac_link"
36871 case "(($ac_try" in
36872 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36873 *) ac_try_echo=$ac_try;;
36875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36876 (eval "$ac_link") 2>conftest.er1
36878 grep -v '^ *+' conftest.er1 >conftest.err
36880 cat conftest.err >&5
36881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36882 (exit $ac_status); } && {
36883 test -z "$ac_c_werror_flag" ||
36884 test ! -s conftest.err
36885 } && test -s conftest$ac_exeext &&
36886 $as_test_x conftest$ac_exeext; then
36887 eval "$as_ac_var=yes"
36889 echo "$as_me: failed program was:" >&5
36890 sed 's/^/| /' conftest.$ac_ext >&5
36892 eval "$as_ac_var=no"
36895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36896 conftest$ac_exeext conftest.$ac_ext
36898 ac_res=`eval echo '${'$as_ac_var'}'`
36899 { echo "$as_me:$LINENO: result: $ac_res" >&5
36900 echo "${ECHO_T}$ac_res" >&6; }
36901 if test `eval echo '${'$as_ac_var'}'` = yes; then
36902 cat >>confdefs.h <<_ACEOF
36903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36915 for ac_func in snprintf vsnprintf vsscanf
36917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36918 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36920 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36921 echo $ECHO_N "(cached) $ECHO_C" >&6
36923 cat >conftest.$ac_ext <<_ACEOF
36926 cat confdefs.h >>conftest.$ac_ext
36927 cat >>conftest.$ac_ext <<_ACEOF
36928 /* end confdefs.h. */
36929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36931 #define $ac_func innocuous_$ac_func
36933 /* System header to define __stub macros and hopefully few prototypes,
36934 which can conflict with char $ac_func (); below.
36935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36936 <limits.h> exists even on freestanding compilers. */
36939 # include <limits.h>
36941 # include <assert.h>
36946 /* Override any GCC internal prototype to avoid an error.
36947 Use char because int might match the return type of a GCC
36948 builtin and then its argument prototype would still apply. */
36953 /* The GNU C library defines this for functions which it implements
36954 to always fail with ENOSYS. Some functions are actually named
36955 something starting with __ and the normal name is an alias. */
36956 #if defined __stub_$ac_func || defined __stub___$ac_func
36963 return $ac_func ();
36968 rm -f conftest.$ac_objext conftest$ac_exeext
36969 if { (ac_try="$ac_link"
36970 case "(($ac_try" in
36971 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36972 *) ac_try_echo
=$ac_try;;
36974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36975 (eval "$ac_link") 2>conftest.er1
36977 grep -v '^ *+' conftest.er1
>conftest.err
36979 cat conftest.err
>&5
36980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36981 (exit $ac_status); } && {
36982 test -z "$ac_c_werror_flag" ||
36983 test ! -s conftest.err
36984 } && test -s conftest
$ac_exeext &&
36985 $as_test_x conftest
$ac_exeext; then
36986 eval "$as_ac_var=yes"
36988 echo "$as_me: failed program was:" >&5
36989 sed 's/^/| /' conftest.
$ac_ext >&5
36991 eval "$as_ac_var=no"
36994 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36995 conftest
$ac_exeext conftest.
$ac_ext
36997 ac_res
=`eval echo '${'$as_ac_var'}'`
36998 { echo "$as_me:$LINENO: result: $ac_res" >&5
36999 echo "${ECHO_T}$ac_res" >&6; }
37000 if test `eval echo '${'$as_ac_var'}'` = yes; then
37001 cat >>confdefs.h
<<_ACEOF
37002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37010 ac_cpp
='$CXXCPP $CPPFLAGS'
37011 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37012 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37013 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37015 if test "$ac_cv_func_vsnprintf" = "yes"; then
37016 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37017 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37018 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37019 echo $ECHO_N "(cached) $ECHO_C" >&6
37022 cat >conftest.
$ac_ext <<_ACEOF
37025 cat confdefs.h
>>conftest.
$ac_ext
37026 cat >>conftest.
$ac_ext <<_ACEOF
37027 /* end confdefs.h. */
37030 #include <stdarg.h>
37032 #if __MSL__ >= 0x6000
37034 using namespace std;
37044 vsnprintf(buf, 10u, "%s", ap);
37050 rm -f conftest.
$ac_objext
37051 if { (ac_try
="$ac_compile"
37052 case "(($ac_try" in
37053 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37054 *) ac_try_echo=$ac_try;;
37056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37057 (eval "$ac_compile") 2>conftest.er1
37059 grep -v '^ *+' conftest.er1 >conftest.err
37061 cat conftest.err >&5
37062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37063 (exit $ac_status); } && {
37064 test -z "$ac_cxx_werror_flag" ||
37065 test ! -s conftest.err
37066 } && test -s conftest.$ac_objext; then
37067 wx_cv_func_vsnprintf_decl=yes
37069 echo "$as_me: failed program was:" >&5
37070 sed 's/^/| /' conftest.$ac_ext >&5
37072 wx_cv_func_vsnprintf_decl=no
37076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37080 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37081 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37083 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37084 cat >>confdefs.h <<\_ACEOF
37085 #define HAVE_VSNPRINTF_DECL 1
37089 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37090 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37091 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37092 echo $ECHO_N "(cached) $ECHO_C" >&6
37095 cat >conftest.$ac_ext <<_ACEOF
37098 cat confdefs.h >>conftest.$ac_ext
37099 cat >>conftest.$ac_ext <<_ACEOF
37100 /* end confdefs.h. */
37103 #include <stdarg.h>
37105 #if __MSL__ >= 0x6000
37107 using namespace std;
37117 const char *fmt = "%s";
37118 vsnprintf(buf, 10u, fmt, ap);
37124 rm -f conftest.$ac_objext
37125 if { (ac_try="$ac_compile"
37126 case "(($ac_try" in
37127 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37128 *) ac_try_echo
=$ac_try;;
37130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37131 (eval "$ac_compile") 2>conftest.er1
37133 grep -v '^ *+' conftest.er1
>conftest.err
37135 cat conftest.err
>&5
37136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37137 (exit $ac_status); } && {
37138 test -z "$ac_cxx_werror_flag" ||
37139 test ! -s conftest.err
37140 } && test -s conftest.
$ac_objext; then
37141 wx_cv_func_broken_vsnprintf_decl
=no
37143 echo "$as_me: failed program was:" >&5
37144 sed 's/^/| /' conftest.
$ac_ext >&5
37146 wx_cv_func_broken_vsnprintf_decl
=yes
37150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37154 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37155 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37157 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37158 cat >>confdefs.h
<<\_ACEOF
37159 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37166 if test "$ac_cv_func_snprintf" = "yes"; then
37167 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37168 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37169 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37170 echo $ECHO_N "(cached) $ECHO_C" >&6
37173 cat >conftest.
$ac_ext <<_ACEOF
37176 cat confdefs.h
>>conftest.
$ac_ext
37177 cat >>conftest.
$ac_ext <<_ACEOF
37178 /* end confdefs.h. */
37181 #include <stdarg.h>
37183 #if __MSL__ >= 0x6000
37185 using namespace std;
37194 snprintf(buf, 10u, "%s", "wx");
37200 rm -f conftest.
$ac_objext
37201 if { (ac_try
="$ac_compile"
37202 case "(($ac_try" in
37203 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37204 *) ac_try_echo=$ac_try;;
37206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37207 (eval "$ac_compile") 2>conftest.er1
37209 grep -v '^ *+' conftest.er1 >conftest.err
37211 cat conftest.err >&5
37212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37213 (exit $ac_status); } && {
37214 test -z "$ac_cxx_werror_flag" ||
37215 test ! -s conftest.err
37216 } && test -s conftest.$ac_objext; then
37217 wx_cv_func_snprintf_decl=yes
37219 echo "$as_me: failed program was:" >&5
37220 sed 's/^/| /' conftest.$ac_ext >&5
37222 wx_cv_func_snprintf_decl=no
37226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37230 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
37231 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37233 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37234 cat >>confdefs.h <<\_ACEOF
37235 #define HAVE_SNPRINTF_DECL 1
37240 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37242 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37243 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37244 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37245 echo $ECHO_N "(cached) $ECHO_C" >&6
37248 if test "$cross_compiling" = yes; then
37250 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37251 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37252 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37253 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37254 wx_cv_func_snprintf_pos_params=no
37258 cat >conftest.$ac_ext <<_ACEOF
37261 cat confdefs.h >>conftest.$ac_ext
37262 cat >>conftest.$ac_ext <<_ACEOF
37263 /* end confdefs.h. */
37270 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37271 if (strcmp ("2 3 1", buffer) == 0)
37277 rm -f conftest$ac_exeext
37278 if { (ac_try="$ac_link"
37279 case "(($ac_try" in
37280 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37281 *) ac_try_echo
=$ac_try;;
37283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37284 (eval "$ac_link") 2>&5
37286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37287 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
37288 { (case "(($ac_try" in
37289 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37290 *) ac_try_echo=$ac_try;;
37292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37293 (eval "$ac_try") 2>&5
37295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37296 (exit $ac_status); }; }; then
37297 wx_cv_func_snprintf_pos_params=no
37299 echo "$as_me: program exited with status $ac_status" >&5
37300 echo "$as_me: failed program was:" >&5
37301 sed 's/^/| /' conftest.$ac_ext >&5
37303 ( exit $ac_status )
37304 wx_cv_func_snprintf_pos_params=yes
37306 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37313 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37314 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
37316 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37317 cat >>confdefs.h <<\_ACEOF
37318 #define HAVE_UNIX98_PRINTF 1
37325 if test "$ac_cv_func_vsscanf" = "yes"; then
37326 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
37327 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
37328 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
37329 echo $ECHO_N "(cached) $ECHO_C" >&6
37332 cat >conftest.$ac_ext <<_ACEOF
37335 cat confdefs.h >>conftest.$ac_ext
37336 cat >>conftest.$ac_ext <<_ACEOF
37337 /* end confdefs.h. */
37340 #include <stdarg.h>
37342 #if __MSL__ >= 0x6000
37344 using namespace std;
37354 vsscanf(buf, "%s", args);
37360 rm -f conftest.$ac_objext
37361 if { (ac_try="$ac_compile"
37362 case "(($ac_try" in
37363 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37364 *) ac_try_echo
=$ac_try;;
37366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37367 (eval "$ac_compile") 2>conftest.er1
37369 grep -v '^ *+' conftest.er1
>conftest.err
37371 cat conftest.err
>&5
37372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37373 (exit $ac_status); } && {
37374 test -z "$ac_cxx_werror_flag" ||
37375 test ! -s conftest.err
37376 } && test -s conftest.
$ac_objext; then
37377 wx_cv_func_vsscanf_decl
=yes
37379 echo "$as_me: failed program was:" >&5
37380 sed 's/^/| /' conftest.
$ac_ext >&5
37382 wx_cv_func_vsscanf_decl
=no
37386 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37390 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
37391 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
37393 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
37394 cat >>confdefs.h
<<\_ACEOF
37395 #define HAVE_VSSCANF_DECL 1
37401 ac_cpp
='$CPP $CPPFLAGS'
37402 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37403 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37404 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37407 if test "$wxUSE_UNICODE" = yes; then
37409 wchar_headers
="#include <stdio.h>
37410 #include <wchar.h>"
37414 for ac_header
in widec.h
37416 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37417 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37419 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37420 echo $ECHO_N "(cached) $ECHO_C" >&6
37422 cat >conftest.
$ac_ext <<_ACEOF
37425 cat confdefs.h
>>conftest.
$ac_ext
37426 cat >>conftest.
$ac_ext <<_ACEOF
37427 /* end confdefs.h. */
37428 $ac_includes_default
37430 #include <$ac_header>
37432 rm -f conftest.
$ac_objext
37433 if { (ac_try
="$ac_compile"
37434 case "(($ac_try" in
37435 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37436 *) ac_try_echo=$ac_try;;
37438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37439 (eval "$ac_compile") 2>conftest.er1
37441 grep -v '^ *+' conftest.er1 >conftest.err
37443 cat conftest.err >&5
37444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37445 (exit $ac_status); } && {
37446 test -z "$ac_c_werror_flag" ||
37447 test ! -s conftest.err
37448 } && test -s conftest.$ac_objext; then
37449 eval "$as_ac_Header=yes"
37451 echo "$as_me: failed program was:" >&5
37452 sed 's/^/| /' conftest.$ac_ext >&5
37454 eval "$as_ac_Header=no"
37457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37459 ac_res=`eval echo '${'$as_ac_Header'}'`
37460 { echo "$as_me:$LINENO: result: $ac_res" >&5
37461 echo "${ECHO_T}$ac_res" >&6; }
37462 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37463 cat >>confdefs.h <<_ACEOF
37464 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37471 if test "$ac_cv_header_widec_h" = "yes"; then
37472 wchar_headers="$wchar_headers
37473 #include <widec.h>"
37478 for wx_func in putws fputws wprintf vswprintf vswscanf
37480 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37481 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37482 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37483 echo $ECHO_N "(cached) $ECHO_C" >&6
37486 cat >conftest.$ac_ext <<_ACEOF
37490 cat confdefs.h >>conftest.$ac_ext
37491 cat >>conftest.$ac_ext <<_ACEOF
37492 /* end confdefs.h. */
37495 $ac_includes_default
37511 rm -f conftest.$ac_objext conftest$ac_exeext
37512 if { (ac_try="$ac_link"
37513 case "(($ac_try" in
37514 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37515 *) ac_try_echo
=$ac_try;;
37517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37518 (eval "$ac_link") 2>conftest.er1
37520 grep -v '^ *+' conftest.er1
>conftest.err
37522 cat conftest.err
>&5
37523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37524 (exit $ac_status); } && {
37525 test -z "$ac_c_werror_flag" ||
37526 test ! -s conftest.err
37527 } && test -s conftest
$ac_exeext &&
37528 $as_test_x conftest
$ac_exeext; then
37529 eval wx_cv_func_
$wx_func=yes
37531 echo "$as_me: failed program was:" >&5
37532 sed 's/^/| /' conftest.
$ac_ext >&5
37534 eval wx_cv_func_
$wx_func=no
37537 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37538 conftest
$ac_exeext conftest.
$ac_ext
37541 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37542 { echo "$as_me:$LINENO: result: $ac_res" >&5
37543 echo "${ECHO_T}$ac_res" >&6; }
37545 if eval test \
$wx_cv_func_$wx_func = yes
37547 cat >>confdefs.h
<<_ACEOF
37548 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37559 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37560 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37561 cat >conftest.
$ac_ext <<_ACEOF
37564 cat confdefs.h
>>conftest.
$ac_ext
37565 cat >>conftest.
$ac_ext <<_ACEOF
37566 /* end confdefs.h. */
37576 rm -f conftest.
$ac_objext
37577 if { (ac_try
="$ac_compile"
37578 case "(($ac_try" in
37579 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37580 *) ac_try_echo=$ac_try;;
37582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37583 (eval "$ac_compile") 2>conftest.er1
37585 grep -v '^ *+' conftest.er1 >conftest.err
37587 cat conftest.err >&5
37588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37589 (exit $ac_status); } && {
37590 test -z "$ac_c_werror_flag" ||
37591 test ! -s conftest.err
37592 } && test -s conftest.$ac_objext; then
37593 { echo "$as_me:$LINENO: result: yes" >&5
37594 echo "${ECHO_T}yes" >&6; }
37595 cat >>confdefs.h <<\_ACEOF
37596 #define HAVE__VSNWPRINTF 1
37600 echo "$as_me: failed program was:" >&5
37601 sed 's/^/| /' conftest.$ac_ext >&5
37603 { echo "$as_me:$LINENO: result: no" >&5
37604 echo "${ECHO_T}no" >&6; }
37607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37610 if test "$wxUSE_FILE" = "yes"; then
37612 for wx_func in fsync
37614 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37615 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37616 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37617 echo $ECHO_N "(cached) $ECHO_C" >&6
37620 cat >conftest.$ac_ext <<_ACEOF
37624 cat confdefs.h >>conftest.$ac_ext
37625 cat >>conftest.$ac_ext <<_ACEOF
37626 /* end confdefs.h. */
37629 $ac_includes_default
37645 rm -f conftest.$ac_objext conftest$ac_exeext
37646 if { (ac_try="$ac_link"
37647 case "(($ac_try" in
37648 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37649 *) ac_try_echo
=$ac_try;;
37651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37652 (eval "$ac_link") 2>conftest.er1
37654 grep -v '^ *+' conftest.er1
>conftest.err
37656 cat conftest.err
>&5
37657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37658 (exit $ac_status); } && {
37659 test -z "$ac_c_werror_flag" ||
37660 test ! -s conftest.err
37661 } && test -s conftest
$ac_exeext &&
37662 $as_test_x conftest
$ac_exeext; then
37663 eval wx_cv_func_
$wx_func=yes
37665 echo "$as_me: failed program was:" >&5
37666 sed 's/^/| /' conftest.
$ac_ext >&5
37668 eval wx_cv_func_
$wx_func=no
37671 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37672 conftest
$ac_exeext conftest.
$ac_ext
37675 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37676 { echo "$as_me:$LINENO: result: $ac_res" >&5
37677 echo "${ECHO_T}$ac_res" >&6; }
37679 if eval test \
$wx_cv_func_$wx_func = yes
37681 cat >>confdefs.h
<<_ACEOF
37682 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37695 ac_cpp
='$CXXCPP $CPPFLAGS'
37696 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37697 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37698 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37701 for wx_func
in round
37703 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37704 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37705 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37706 echo $ECHO_N "(cached) $ECHO_C" >&6
37709 cat >conftest.
$ac_ext <<_ACEOF
37713 cat confdefs.h
>>conftest.
$ac_ext
37714 cat >>conftest.
$ac_ext <<_ACEOF
37715 /* end confdefs.h. */
37718 $ac_includes_default
37734 rm -f conftest.
$ac_objext conftest
$ac_exeext
37735 if { (ac_try
="$ac_link"
37736 case "(($ac_try" in
37737 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37738 *) ac_try_echo=$ac_try;;
37740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37741 (eval "$ac_link") 2>conftest.er1
37743 grep -v '^ *+' conftest.er1 >conftest.err
37745 cat conftest.err >&5
37746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37747 (exit $ac_status); } && {
37748 test -z "$ac_cxx_werror_flag" ||
37749 test ! -s conftest.err
37750 } && test -s conftest$ac_exeext &&
37751 $as_test_x conftest$ac_exeext; then
37752 eval wx_cv_func_$wx_func=yes
37754 echo "$as_me: failed program was:" >&5
37755 sed 's/^/| /' conftest.$ac_ext >&5
37757 eval wx_cv_func_$wx_func=no
37760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37761 conftest$ac_exeext conftest.$ac_ext
37764 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37765 { echo "$as_me:$LINENO: result: $ac_res" >&5
37766 echo "${ECHO_T}$ac_res" >&6; }
37768 if eval test \$wx_cv_func_$wx_func = yes
37770 cat >>confdefs.h <<_ACEOF
37771 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37782 ac_cpp='$CPP $CPPFLAGS'
37783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37788 if test "$TOOLKIT" != "MSW"; then
37790 if test "$wxUSE_LIBICONV" != "no" ; then
37794 # Check whether --with-libiconv-prefix was given.
37795 if test "${with_libiconv_prefix+set}" = set; then
37796 withval=$with_libiconv_prefix;
37797 for dir in `echo "$withval" | tr : ' '`; do
37798 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37799 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37805 { echo "$as_me:$LINENO: checking for iconv" >&5
37806 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37807 if test "${am_cv_func_iconv+set}" = set; then
37808 echo $ECHO_N "(cached) $ECHO_C" >&6
37811 am_cv_func_iconv="no, consider installing GNU libiconv"
37813 cat >conftest.$ac_ext <<_ACEOF
37816 cat confdefs.h >>conftest.$ac_ext
37817 cat >>conftest.$ac_ext <<_ACEOF
37818 /* end confdefs.h. */
37819 #include <stdlib.h>
37824 iconv_t cd = iconv_open("","");
37825 iconv(cd,NULL,NULL,NULL,NULL);
37831 rm -f conftest.$ac_objext conftest$ac_exeext
37832 if { (ac_try="$ac_link"
37833 case "(($ac_try" in
37834 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37835 *) ac_try_echo
=$ac_try;;
37837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37838 (eval "$ac_link") 2>conftest.er1
37840 grep -v '^ *+' conftest.er1
>conftest.err
37842 cat conftest.err
>&5
37843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37844 (exit $ac_status); } && {
37845 test -z "$ac_c_werror_flag" ||
37846 test ! -s conftest.err
37847 } && test -s conftest
$ac_exeext &&
37848 $as_test_x conftest
$ac_exeext; then
37849 am_cv_func_iconv
=yes
37851 echo "$as_me: failed program was:" >&5
37852 sed 's/^/| /' conftest.
$ac_ext >&5
37857 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37858 conftest
$ac_exeext conftest.
$ac_ext
37859 if test "$am_cv_func_iconv" != yes; then
37860 am_save_LIBS
="$LIBS"
37861 LIBS
="$LIBS -liconv"
37862 cat >conftest.
$ac_ext <<_ACEOF
37865 cat confdefs.h
>>conftest.
$ac_ext
37866 cat >>conftest.
$ac_ext <<_ACEOF
37867 /* end confdefs.h. */
37868 #include <stdlib.h>
37873 iconv_t cd = iconv_open("","");
37874 iconv(cd,NULL,NULL,NULL,NULL);
37880 rm -f conftest.
$ac_objext conftest
$ac_exeext
37881 if { (ac_try
="$ac_link"
37882 case "(($ac_try" in
37883 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37884 *) ac_try_echo=$ac_try;;
37886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37887 (eval "$ac_link") 2>conftest.er1
37889 grep -v '^ *+' conftest.er1 >conftest.err
37891 cat conftest.err >&5
37892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37893 (exit $ac_status); } && {
37894 test -z "$ac_c_werror_flag" ||
37895 test ! -s conftest.err
37896 } && test -s conftest$ac_exeext &&
37897 $as_test_x conftest$ac_exeext; then
37898 am_cv_lib_iconv=yes
37899 am_cv_func_iconv=yes
37901 echo "$as_me: failed program was:" >&5
37902 sed 's/^/| /' conftest.$ac_ext >&5
37907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37908 conftest$ac_exeext conftest.$ac_ext
37909 LIBS="$am_save_LIBS"
37913 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37914 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37915 if test "$am_cv_func_iconv" = yes; then
37917 cat >>confdefs.h <<\_ACEOF
37918 #define HAVE_ICONV 1
37921 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37922 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37923 if test "${wx_cv_func_iconv_const+set}" = set; then
37924 echo $ECHO_N "(cached) $ECHO_C" >&6
37926 cat >conftest.$ac_ext <<_ACEOF
37929 cat confdefs.h >>conftest.$ac_ext
37930 cat >>conftest.$ac_ext <<_ACEOF
37931 /* end confdefs.h. */
37933 #include <stdlib.h>
37939 #if defined(__STDC__) || defined(__cplusplus)
37940 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37953 rm -f conftest.$ac_objext
37954 if { (ac_try="$ac_compile"
37955 case "(($ac_try" in
37956 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37957 *) ac_try_echo
=$ac_try;;
37959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37960 (eval "$ac_compile") 2>conftest.er1
37962 grep -v '^ *+' conftest.er1
>conftest.err
37964 cat conftest.err
>&5
37965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37966 (exit $ac_status); } && {
37967 test -z "$ac_c_werror_flag" ||
37968 test ! -s conftest.err
37969 } && test -s conftest.
$ac_objext; then
37970 wx_cv_func_iconv_const
="no"
37972 echo "$as_me: failed program was:" >&5
37973 sed 's/^/| /' conftest.
$ac_ext >&5
37975 wx_cv_func_iconv_const
="yes"
37979 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37982 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37983 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37986 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37987 iconv_const
="const"
37991 cat >>confdefs.h
<<_ACEOF
37992 #define ICONV_CONST $iconv_const
37997 if test "$am_cv_lib_iconv" = yes; then
38002 LIBS
="$LIBICONV $LIBS"
38005 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38007 for ac_func
in sigaction
38009 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38010 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38012 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38013 echo $ECHO_N "(cached) $ECHO_C" >&6
38015 cat >conftest.
$ac_ext <<_ACEOF
38018 cat confdefs.h
>>conftest.
$ac_ext
38019 cat >>conftest.
$ac_ext <<_ACEOF
38020 /* end confdefs.h. */
38021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38023 #define $ac_func innocuous_$ac_func
38025 /* System header to define __stub macros and hopefully few prototypes,
38026 which can conflict with char $ac_func (); below.
38027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38028 <limits.h> exists even on freestanding compilers. */
38031 # include <limits.h>
38033 # include <assert.h>
38038 /* Override any GCC internal prototype to avoid an error.
38039 Use char because int might match the return type of a GCC
38040 builtin and then its argument prototype would still apply. */
38045 /* The GNU C library defines this for functions which it implements
38046 to always fail with ENOSYS. Some functions are actually named
38047 something starting with __ and the normal name is an alias. */
38048 #if defined __stub_$ac_func || defined __stub___$ac_func
38055 return $ac_func ();
38060 rm -f conftest.
$ac_objext conftest
$ac_exeext
38061 if { (ac_try
="$ac_link"
38062 case "(($ac_try" in
38063 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38064 *) ac_try_echo=$ac_try;;
38066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38067 (eval "$ac_link") 2>conftest.er1
38069 grep -v '^ *+' conftest.er1 >conftest.err
38071 cat conftest.err >&5
38072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38073 (exit $ac_status); } && {
38074 test -z "$ac_c_werror_flag" ||
38075 test ! -s conftest.err
38076 } && test -s conftest$ac_exeext &&
38077 $as_test_x conftest$ac_exeext; then
38078 eval "$as_ac_var=yes"
38080 echo "$as_me: failed program was:" >&5
38081 sed 's/^/| /' conftest.$ac_ext >&5
38083 eval "$as_ac_var=no"
38086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38087 conftest$ac_exeext conftest.$ac_ext
38089 ac_res=`eval echo '${'$as_ac_var'}'`
38090 { echo "$as_me:$LINENO: result: $ac_res" >&5
38091 echo "${ECHO_T}$ac_res" >&6; }
38092 if test `eval echo '${'$as_ac_var'}'` = yes; then
38093 cat >>confdefs.h <<_ACEOF
38094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38101 if test "$ac_cv_func_sigaction" = "no"; then
38102 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38103 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38104 wxUSE_ON_FATAL_EXCEPTION=no
38107 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38108 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
38109 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
38110 if test "${wx_cv_type_sa_handler+set}" = set; then
38111 echo $ECHO_N "(cached) $ECHO_C" >&6
38115 ac_cpp='$CXXCPP $CPPFLAGS'
38116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38120 cat >conftest.$ac_ext <<_ACEOF
38123 cat confdefs.h >>conftest.$ac_ext
38124 cat >>conftest.$ac_ext <<_ACEOF
38125 /* end confdefs.h. */
38126 #include <signal.h>
38131 extern void testSigHandler(int);
38133 struct sigaction sa;
38134 sa.sa_handler = testSigHandler;
38140 rm -f conftest.$ac_objext
38141 if { (ac_try="$ac_compile"
38142 case "(($ac_try" in
38143 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38144 *) ac_try_echo
=$ac_try;;
38146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38147 (eval "$ac_compile") 2>conftest.er1
38149 grep -v '^ *+' conftest.er1
>conftest.err
38151 cat conftest.err
>&5
38152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38153 (exit $ac_status); } && {
38154 test -z "$ac_cxx_werror_flag" ||
38155 test ! -s conftest.err
38156 } && test -s conftest.
$ac_objext; then
38158 wx_cv_type_sa_handler
=int
38161 echo "$as_me: failed program was:" >&5
38162 sed 's/^/| /' conftest.
$ac_ext >&5
38165 wx_cv_type_sa_handler
=void
38169 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38171 ac_cpp
='$CPP $CPPFLAGS'
38172 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38173 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38174 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38178 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38179 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
38181 cat >>confdefs.h
<<_ACEOF
38182 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38188 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38189 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38190 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
38191 if test "${wx_cv_func_backtrace+set}" = set; then
38192 echo $ECHO_N "(cached) $ECHO_C" >&6
38196 ac_cpp
='$CXXCPP $CPPFLAGS'
38197 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38198 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38199 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38201 cat >conftest.
$ac_ext <<_ACEOF
38204 cat confdefs.h
>>conftest.
$ac_ext
38205 cat >>conftest.
$ac_ext <<_ACEOF
38206 /* end confdefs.h. */
38207 #include <execinfo.h>
38215 backtrace(trace, 1);
38216 messages = backtrace_symbols(trace, 1);
38222 rm -f conftest.
$ac_objext
38223 if { (ac_try
="$ac_compile"
38224 case "(($ac_try" in
38225 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38226 *) ac_try_echo=$ac_try;;
38228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38229 (eval "$ac_compile") 2>conftest.er1
38231 grep -v '^ *+' conftest.er1 >conftest.err
38233 cat conftest.err >&5
38234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38235 (exit $ac_status); } && {
38236 test -z "$ac_cxx_werror_flag" ||
38237 test ! -s conftest.err
38238 } && test -s conftest.$ac_objext; then
38239 wx_cv_func_backtrace=yes
38241 echo "$as_me: failed program was:" >&5
38242 sed 's/^/| /' conftest.$ac_ext >&5
38244 wx_cv_func_backtrace=no
38248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38250 ac_cpp='$CPP $CPPFLAGS'
38251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38258 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38259 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
38262 if test "$wx_cv_func_backtrace" = "no"; then
38263 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38264 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38265 wxUSE_STACKWALKER=no
38267 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38268 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
38269 if test "${wx_cv_func_cxa_demangle+set}" = set; then
38270 echo $ECHO_N "(cached) $ECHO_C" >&6
38274 ac_cpp='$CXXCPP $CPPFLAGS'
38275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38279 cat >conftest.$ac_ext <<_ACEOF
38282 cat confdefs.h >>conftest.$ac_ext
38283 cat >>conftest.$ac_ext <<_ACEOF
38284 /* end confdefs.h. */
38285 #include <cxxabi.h>
38291 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38297 rm -f conftest.$ac_objext conftest$ac_exeext
38298 if { (ac_try="$ac_link"
38299 case "(($ac_try" in
38300 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38301 *) ac_try_echo
=$ac_try;;
38303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38304 (eval "$ac_link") 2>conftest.er1
38306 grep -v '^ *+' conftest.er1
>conftest.err
38308 cat conftest.err
>&5
38309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38310 (exit $ac_status); } && {
38311 test -z "$ac_cxx_werror_flag" ||
38312 test ! -s conftest.err
38313 } && test -s conftest
$ac_exeext &&
38314 $as_test_x conftest
$ac_exeext; then
38315 wx_cv_func_cxa_demangle
=yes
38317 echo "$as_me: failed program was:" >&5
38318 sed 's/^/| /' conftest.
$ac_ext >&5
38320 wx_cv_func_cxa_demangle
=no
38324 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38325 conftest
$ac_exeext conftest.
$ac_ext
38327 ac_cpp
='$CPP $CPPFLAGS'
38328 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38329 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38330 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38335 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
38336 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
38338 if test "$wx_cv_func_cxa_demangle" = "yes"; then
38339 cat >>confdefs.h
<<\_ACEOF
38340 #define HAVE_CXA_DEMANGLE 1
38347 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
38348 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
38349 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
38350 wxUSE_STACKWALKER
=no
38356 for ac_func
in mkstemp mktemp
38358 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38359 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38361 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38362 echo $ECHO_N "(cached) $ECHO_C" >&6
38364 cat >conftest.
$ac_ext <<_ACEOF
38367 cat confdefs.h
>>conftest.
$ac_ext
38368 cat >>conftest.
$ac_ext <<_ACEOF
38369 /* end confdefs.h. */
38370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38372 #define $ac_func innocuous_$ac_func
38374 /* System header to define __stub macros and hopefully few prototypes,
38375 which can conflict with char $ac_func (); below.
38376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38377 <limits.h> exists even on freestanding compilers. */
38380 # include <limits.h>
38382 # include <assert.h>
38387 /* Override any GCC internal prototype to avoid an error.
38388 Use char because int might match the return type of a GCC
38389 builtin and then its argument prototype would still apply. */
38394 /* The GNU C library defines this for functions which it implements
38395 to always fail with ENOSYS. Some functions are actually named
38396 something starting with __ and the normal name is an alias. */
38397 #if defined __stub_$ac_func || defined __stub___$ac_func
38404 return $ac_func ();
38409 rm -f conftest.
$ac_objext conftest
$ac_exeext
38410 if { (ac_try
="$ac_link"
38411 case "(($ac_try" in
38412 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38413 *) ac_try_echo=$ac_try;;
38415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38416 (eval "$ac_link") 2>conftest.er1
38418 grep -v '^ *+' conftest.er1 >conftest.err
38420 cat conftest.err >&5
38421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38422 (exit $ac_status); } && {
38423 test -z "$ac_c_werror_flag" ||
38424 test ! -s conftest.err
38425 } && test -s conftest$ac_exeext &&
38426 $as_test_x conftest$ac_exeext; then
38427 eval "$as_ac_var=yes"
38429 echo "$as_me: failed program was:" >&5
38430 sed 's/^/| /' conftest.$ac_ext >&5
38432 eval "$as_ac_var=no"
38435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38436 conftest$ac_exeext conftest.$ac_ext
38438 ac_res=`eval echo '${'$as_ac_var'}'`
38439 { echo "$as_me:$LINENO: result: $ac_res" >&5
38440 echo "${ECHO_T}$ac_res" >&6; }
38441 if test `eval echo '${'$as_ac_var'}'` = yes; then
38442 cat >>confdefs.h <<_ACEOF
38443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38450 { echo "$as_me:$LINENO: checking for statfs" >&5
38451 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
38452 if test "${wx_cv_func_statfs+set}" = set; then
38453 echo $ECHO_N "(cached) $ECHO_C" >&6
38455 cat >conftest.$ac_ext <<_ACEOF
38458 cat confdefs.h >>conftest.$ac_ext
38459 cat >>conftest.$ac_ext <<_ACEOF
38460 /* end confdefs.h. */
38462 #if defined(__BSD__)
38463 #include <sys/param.h>
38464 #include <sys/mount.h>
38466 #include <sys/vfs.h>
38484 rm -f conftest.$ac_objext
38485 if { (ac_try="$ac_compile"
38486 case "(($ac_try" in
38487 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38488 *) ac_try_echo
=$ac_try;;
38490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38491 (eval "$ac_compile") 2>conftest.er1
38493 grep -v '^ *+' conftest.er1
>conftest.err
38495 cat conftest.err
>&5
38496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38497 (exit $ac_status); } && {
38498 test -z "$ac_c_werror_flag" ||
38499 test ! -s conftest.err
38500 } && test -s conftest.
$ac_objext; then
38501 wx_cv_func_statfs
=yes
38503 echo "$as_me: failed program was:" >&5
38504 sed 's/^/| /' conftest.
$ac_ext >&5
38506 wx_cv_func_statfs
=no
38510 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38513 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38514 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
38516 if test "$wx_cv_func_statfs" = "yes"; then
38517 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
38518 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
38519 if test "${wx_cv_func_statfs_decl+set}" = set; then
38520 echo $ECHO_N "(cached) $ECHO_C" >&6
38523 ac_cpp
='$CXXCPP $CPPFLAGS'
38524 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38525 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38526 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38528 cat >conftest.
$ac_ext <<_ACEOF
38531 cat confdefs.h
>>conftest.
$ac_ext
38532 cat >>conftest.
$ac_ext <<_ACEOF
38533 /* end confdefs.h. */
38535 #if defined(__BSD__)
38536 #include <sys/param.h>
38537 #include <sys/mount.h>
38539 #include <sys/vfs.h>
38553 rm -f conftest.
$ac_objext
38554 if { (ac_try
="$ac_compile"
38555 case "(($ac_try" in
38556 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38557 *) ac_try_echo=$ac_try;;
38559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38560 (eval "$ac_compile") 2>conftest.er1
38562 grep -v '^ *+' conftest.er1 >conftest.err
38564 cat conftest.err >&5
38565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38566 (exit $ac_status); } && {
38567 test -z "$ac_cxx_werror_flag" ||
38568 test ! -s conftest.err
38569 } && test -s conftest.$ac_objext; then
38570 wx_cv_func_statfs_decl=yes
38572 echo "$as_me: failed program was:" >&5
38573 sed 's/^/| /' conftest.$ac_ext >&5
38575 wx_cv_func_statfs_decl=no
38579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38581 ac_cpp='$CPP $CPPFLAGS'
38582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38588 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38589 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38591 if test "$wx_cv_func_statfs_decl" = "yes"; then
38592 cat >>confdefs.h <<\_ACEOF
38593 #define HAVE_STATFS_DECL 1
38598 wx_cv_type_statvfs_t="struct statfs"
38599 cat >>confdefs.h <<\_ACEOF
38600 #define HAVE_STATFS 1
38604 { echo "$as_me:$LINENO: checking for statvfs" >&5
38605 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38606 if test "${wx_cv_func_statvfs+set}" = set; then
38607 echo $ECHO_N "(cached) $ECHO_C" >&6
38609 cat >conftest.$ac_ext <<_ACEOF
38612 cat confdefs.h >>conftest.$ac_ext
38613 cat >>conftest.$ac_ext <<_ACEOF
38614 /* end confdefs.h. */
38616 #include <stddef.h>
38617 #include <sys/statvfs.h>
38623 statvfs("/", NULL);
38629 rm -f conftest.$ac_objext
38630 if { (ac_try="$ac_compile"
38631 case "(($ac_try" in
38632 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38633 *) ac_try_echo
=$ac_try;;
38635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38636 (eval "$ac_compile") 2>conftest.er1
38638 grep -v '^ *+' conftest.er1
>conftest.err
38640 cat conftest.err
>&5
38641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38642 (exit $ac_status); } && {
38643 test -z "$ac_c_werror_flag" ||
38644 test ! -s conftest.err
38645 } && test -s conftest.
$ac_objext; then
38646 wx_cv_func_statvfs
=yes
38648 echo "$as_me: failed program was:" >&5
38649 sed 's/^/| /' conftest.
$ac_ext >&5
38651 wx_cv_func_statvfs
=no
38655 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38658 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38659 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38661 if test "$wx_cv_func_statvfs" = "yes"; then
38662 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38663 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38664 if test "${wx_cv_type_statvfs_t+set}" = set; then
38665 echo $ECHO_N "(cached) $ECHO_C" >&6
38668 ac_cpp
='$CXXCPP $CPPFLAGS'
38669 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38670 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38671 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38673 cat >conftest.
$ac_ext <<_ACEOF
38676 cat confdefs.h
>>conftest.
$ac_ext
38677 cat >>conftest.
$ac_ext <<_ACEOF
38678 /* end confdefs.h. */
38680 #include <sys/statvfs.h>
38697 rm -f conftest.
$ac_objext
38698 if { (ac_try
="$ac_compile"
38699 case "(($ac_try" in
38700 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38701 *) ac_try_echo=$ac_try;;
38703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38704 (eval "$ac_compile") 2>conftest.er1
38706 grep -v '^ *+' conftest.er1 >conftest.err
38708 cat conftest.err >&5
38709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38710 (exit $ac_status); } && {
38711 test -z "$ac_cxx_werror_flag" ||
38712 test ! -s conftest.err
38713 } && test -s conftest.$ac_objext; then
38714 wx_cv_type_statvfs_t=statvfs_t
38716 echo "$as_me: failed program was:" >&5
38717 sed 's/^/| /' conftest.$ac_ext >&5
38720 cat >conftest.$ac_ext <<_ACEOF
38723 cat confdefs.h >>conftest.$ac_ext
38724 cat >>conftest.$ac_ext <<_ACEOF
38725 /* end confdefs.h. */
38727 #include <sys/statvfs.h>
38744 rm -f conftest.$ac_objext
38745 if { (ac_try="$ac_compile"
38746 case "(($ac_try" in
38747 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38748 *) ac_try_echo
=$ac_try;;
38750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38751 (eval "$ac_compile") 2>conftest.er1
38753 grep -v '^ *+' conftest.er1
>conftest.err
38755 cat conftest.err
>&5
38756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38757 (exit $ac_status); } && {
38758 test -z "$ac_cxx_werror_flag" ||
38759 test ! -s conftest.err
38760 } && test -s conftest.
$ac_objext; then
38761 wx_cv_type_statvfs_t
="struct statvfs"
38763 echo "$as_me: failed program was:" >&5
38764 sed 's/^/| /' conftest.
$ac_ext >&5
38766 wx_cv_type_statvfs_t
="unknown"
38770 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38775 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38777 ac_cpp
='$CPP $CPPFLAGS'
38778 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38779 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38780 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38784 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38785 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38787 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38788 cat >>confdefs.h
<<\_ACEOF
38789 #define HAVE_STATVFS 1
38794 wx_cv_type_statvfs_t
="unknown"
38798 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38799 cat >>confdefs.h
<<_ACEOF
38800 #define WX_STATFS_T $wx_cv_type_statvfs_t
38804 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38805 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38808 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38811 for ac_func
in fcntl flock
38813 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38814 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38816 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38817 echo $ECHO_N "(cached) $ECHO_C" >&6
38819 cat >conftest.
$ac_ext <<_ACEOF
38822 cat confdefs.h
>>conftest.
$ac_ext
38823 cat >>conftest.
$ac_ext <<_ACEOF
38824 /* end confdefs.h. */
38825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38827 #define $ac_func innocuous_$ac_func
38829 /* System header to define __stub macros and hopefully few prototypes,
38830 which can conflict with char $ac_func (); below.
38831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38832 <limits.h> exists even on freestanding compilers. */
38835 # include <limits.h>
38837 # include <assert.h>
38842 /* Override any GCC internal prototype to avoid an error.
38843 Use char because int might match the return type of a GCC
38844 builtin and then its argument prototype would still apply. */
38849 /* The GNU C library defines this for functions which it implements
38850 to always fail with ENOSYS. Some functions are actually named
38851 something starting with __ and the normal name is an alias. */
38852 #if defined __stub_$ac_func || defined __stub___$ac_func
38859 return $ac_func ();
38864 rm -f conftest.
$ac_objext conftest
$ac_exeext
38865 if { (ac_try
="$ac_link"
38866 case "(($ac_try" in
38867 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38868 *) ac_try_echo=$ac_try;;
38870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38871 (eval "$ac_link") 2>conftest.er1
38873 grep -v '^ *+' conftest.er1 >conftest.err
38875 cat conftest.err >&5
38876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38877 (exit $ac_status); } && {
38878 test -z "$ac_c_werror_flag" ||
38879 test ! -s conftest.err
38880 } && test -s conftest$ac_exeext &&
38881 $as_test_x conftest$ac_exeext; then
38882 eval "$as_ac_var=yes"
38884 echo "$as_me: failed program was:" >&5
38885 sed 's/^/| /' conftest.$ac_ext >&5
38887 eval "$as_ac_var=no"
38890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38891 conftest$ac_exeext conftest.$ac_ext
38893 ac_res=`eval echo '${'$as_ac_var'}'`
38894 { echo "$as_me:$LINENO: result: $ac_res" >&5
38895 echo "${ECHO_T}$ac_res" >&6; }
38896 if test `eval echo '${'$as_ac_var'}'` = yes; then
38897 cat >>confdefs.h <<_ACEOF
38898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38905 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38906 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38907 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38908 wxUSE_SNGLINST_CHECKER=no
38914 for ac_func in setenv putenv
38916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38917 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38919 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38920 echo $ECHO_N "(cached) $ECHO_C" >&6
38922 cat >conftest.$ac_ext <<_ACEOF
38925 cat confdefs.h >>conftest.$ac_ext
38926 cat >>conftest.$ac_ext <<_ACEOF
38927 /* end confdefs.h. */
38928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38930 #define $ac_func innocuous_$ac_func
38932 /* System header to define __stub macros and hopefully few prototypes,
38933 which can conflict with char $ac_func (); below.
38934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38935 <limits.h> exists even on freestanding compilers. */
38938 # include <limits.h>
38940 # include <assert.h>
38945 /* Override any GCC internal prototype to avoid an error.
38946 Use char because int might match the return type of a GCC
38947 builtin and then its argument prototype would still apply. */
38952 /* The GNU C library defines this for functions which it implements
38953 to always fail with ENOSYS. Some functions are actually named
38954 something starting with __ and the normal name is an alias. */
38955 #if defined __stub_$ac_func || defined __stub___$ac_func
38962 return $ac_func ();
38967 rm -f conftest.$ac_objext conftest$ac_exeext
38968 if { (ac_try="$ac_link"
38969 case "(($ac_try" in
38970 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38971 *) ac_try_echo
=$ac_try;;
38973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38974 (eval "$ac_link") 2>conftest.er1
38976 grep -v '^ *+' conftest.er1
>conftest.err
38978 cat conftest.err
>&5
38979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38980 (exit $ac_status); } && {
38981 test -z "$ac_c_werror_flag" ||
38982 test ! -s conftest.err
38983 } && test -s conftest
$ac_exeext &&
38984 $as_test_x conftest
$ac_exeext; then
38985 eval "$as_ac_var=yes"
38987 echo "$as_me: failed program was:" >&5
38988 sed 's/^/| /' conftest.
$ac_ext >&5
38990 eval "$as_ac_var=no"
38993 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38994 conftest
$ac_exeext conftest.
$ac_ext
38996 ac_res
=`eval echo '${'$as_ac_var'}'`
38997 { echo "$as_me:$LINENO: result: $ac_res" >&5
38998 echo "${ECHO_T}$ac_res" >&6; }
38999 if test `eval echo '${'$as_ac_var'}'` = yes; then
39000 cat >>confdefs.h
<<_ACEOF
39001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39007 if test "$ac_cv_func_setenv" = "yes"; then
39009 for ac_func
in unsetenv
39011 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39012 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39014 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39015 echo $ECHO_N "(cached) $ECHO_C" >&6
39017 cat >conftest.
$ac_ext <<_ACEOF
39020 cat confdefs.h
>>conftest.
$ac_ext
39021 cat >>conftest.
$ac_ext <<_ACEOF
39022 /* end confdefs.h. */
39023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39025 #define $ac_func innocuous_$ac_func
39027 /* System header to define __stub macros and hopefully few prototypes,
39028 which can conflict with char $ac_func (); below.
39029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39030 <limits.h> exists even on freestanding compilers. */
39033 # include <limits.h>
39035 # include <assert.h>
39040 /* Override any GCC internal prototype to avoid an error.
39041 Use char because int might match the return type of a GCC
39042 builtin and then its argument prototype would still apply. */
39047 /* The GNU C library defines this for functions which it implements
39048 to always fail with ENOSYS. Some functions are actually named
39049 something starting with __ and the normal name is an alias. */
39050 #if defined __stub_$ac_func || defined __stub___$ac_func
39057 return $ac_func ();
39062 rm -f conftest.
$ac_objext conftest
$ac_exeext
39063 if { (ac_try
="$ac_link"
39064 case "(($ac_try" in
39065 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39066 *) ac_try_echo=$ac_try;;
39068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39069 (eval "$ac_link") 2>conftest.er1
39071 grep -v '^ *+' conftest.er1 >conftest.err
39073 cat conftest.err >&5
39074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39075 (exit $ac_status); } && {
39076 test -z "$ac_c_werror_flag" ||
39077 test ! -s conftest.err
39078 } && test -s conftest$ac_exeext &&
39079 $as_test_x conftest$ac_exeext; then
39080 eval "$as_ac_var=yes"
39082 echo "$as_me: failed program was:" >&5
39083 sed 's/^/| /' conftest.$ac_ext >&5
39085 eval "$as_ac_var=no"
39088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39089 conftest$ac_exeext conftest.$ac_ext
39091 ac_res=`eval echo '${'$as_ac_var'}'`
39092 { echo "$as_me:$LINENO: result: $ac_res" >&5
39093 echo "${ECHO_T}$ac_res" >&6; }
39094 if test `eval echo '${'$as_ac_var'}'` = yes; then
39095 cat >>confdefs.h <<_ACEOF
39096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39104 HAVE_SOME_SLEEP_FUNC=0
39105 if test "$USE_BEOS" = 1; then
39106 cat >>confdefs.h <<\_ACEOF
39107 #define HAVE_SLEEP 1
39110 HAVE_SOME_SLEEP_FUNC=1
39113 if test "$USE_DARWIN" = 1; then
39114 cat >>confdefs.h <<\_ACEOF
39115 #define HAVE_USLEEP 1
39118 HAVE_SOME_SLEEP_FUNC=1
39121 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
39124 for ac_func in nanosleep
39126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39127 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39129 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39130 echo $ECHO_N "(cached) $ECHO_C" >&6
39132 cat >conftest.$ac_ext <<_ACEOF
39135 cat confdefs.h >>conftest.$ac_ext
39136 cat >>conftest.$ac_ext <<_ACEOF
39137 /* end confdefs.h. */
39138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39140 #define $ac_func innocuous_$ac_func
39142 /* System header to define __stub macros and hopefully few prototypes,
39143 which can conflict with char $ac_func (); below.
39144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39145 <limits.h> exists even on freestanding compilers. */
39148 # include <limits.h>
39150 # include <assert.h>
39155 /* Override any GCC internal prototype to avoid an error.
39156 Use char because int might match the return type of a GCC
39157 builtin and then its argument prototype would still apply. */
39162 /* The GNU C library defines this for functions which it implements
39163 to always fail with ENOSYS. Some functions are actually named
39164 something starting with __ and the normal name is an alias. */
39165 #if defined __stub_$ac_func || defined __stub___$ac_func
39172 return $ac_func ();
39177 rm -f conftest.$ac_objext conftest$ac_exeext
39178 if { (ac_try="$ac_link"
39179 case "(($ac_try" in
39180 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39181 *) ac_try_echo
=$ac_try;;
39183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39184 (eval "$ac_link") 2>conftest.er1
39186 grep -v '^ *+' conftest.er1
>conftest.err
39188 cat conftest.err
>&5
39189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39190 (exit $ac_status); } && {
39191 test -z "$ac_c_werror_flag" ||
39192 test ! -s conftest.err
39193 } && test -s conftest
$ac_exeext &&
39194 $as_test_x conftest
$ac_exeext; then
39195 eval "$as_ac_var=yes"
39197 echo "$as_me: failed program was:" >&5
39198 sed 's/^/| /' conftest.
$ac_ext >&5
39200 eval "$as_ac_var=no"
39203 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39204 conftest
$ac_exeext conftest.
$ac_ext
39206 ac_res
=`eval echo '${'$as_ac_var'}'`
39207 { echo "$as_me:$LINENO: result: $ac_res" >&5
39208 echo "${ECHO_T}$ac_res" >&6; }
39209 if test `eval echo '${'$as_ac_var'}'` = yes; then
39210 cat >>confdefs.h
<<_ACEOF
39211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39213 cat >>confdefs.h
<<\_ACEOF
39214 #define HAVE_NANOSLEEP 1
39219 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
39220 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
39221 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
39222 echo $ECHO_N "(cached) $ECHO_C" >&6
39224 ac_check_lib_save_LIBS
=$LIBS
39225 LIBS
="-lposix4 $LIBS"
39226 cat >conftest.
$ac_ext <<_ACEOF
39229 cat confdefs.h
>>conftest.
$ac_ext
39230 cat >>conftest.
$ac_ext <<_ACEOF
39231 /* end confdefs.h. */
39233 /* Override any GCC internal prototype to avoid an error.
39234 Use char because int might match the return type of a GCC
39235 builtin and then its argument prototype would still apply. */
39243 return nanosleep ();
39248 rm -f conftest.
$ac_objext conftest
$ac_exeext
39249 if { (ac_try
="$ac_link"
39250 case "(($ac_try" in
39251 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39252 *) ac_try_echo=$ac_try;;
39254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39255 (eval "$ac_link") 2>conftest.er1
39257 grep -v '^ *+' conftest.er1 >conftest.err
39259 cat conftest.err >&5
39260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39261 (exit $ac_status); } && {
39262 test -z "$ac_c_werror_flag" ||
39263 test ! -s conftest.err
39264 } && test -s conftest$ac_exeext &&
39265 $as_test_x conftest$ac_exeext; then
39266 ac_cv_lib_posix4_nanosleep=yes
39268 echo "$as_me: failed program was:" >&5
39269 sed 's/^/| /' conftest.$ac_ext >&5
39271 ac_cv_lib_posix4_nanosleep=no
39274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39275 conftest$ac_exeext conftest.$ac_ext
39276 LIBS=$ac_check_lib_save_LIBS
39278 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39279 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
39280 if test $ac_cv_lib_posix4_nanosleep = yes; then
39282 cat >>confdefs.h <<\_ACEOF
39283 #define HAVE_NANOSLEEP 1
39286 POSIX4_LINK=" -lposix4"
39291 for wx_func in usleep
39293 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39294 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39295 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39296 echo $ECHO_N "(cached) $ECHO_C" >&6
39299 cat >conftest.$ac_ext <<_ACEOF
39303 cat confdefs.h >>conftest.$ac_ext
39304 cat >>conftest.$ac_ext <<_ACEOF
39305 /* end confdefs.h. */
39308 $ac_includes_default
39324 rm -f conftest.$ac_objext conftest$ac_exeext
39325 if { (ac_try="$ac_link"
39326 case "(($ac_try" in
39327 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39328 *) ac_try_echo
=$ac_try;;
39330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39331 (eval "$ac_link") 2>conftest.er1
39333 grep -v '^ *+' conftest.er1
>conftest.err
39335 cat conftest.err
>&5
39336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39337 (exit $ac_status); } && {
39338 test -z "$ac_c_werror_flag" ||
39339 test ! -s conftest.err
39340 } && test -s conftest
$ac_exeext &&
39341 $as_test_x conftest
$ac_exeext; then
39342 eval wx_cv_func_
$wx_func=yes
39344 echo "$as_me: failed program was:" >&5
39345 sed 's/^/| /' conftest.
$ac_ext >&5
39347 eval wx_cv_func_
$wx_func=no
39350 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39351 conftest
$ac_exeext conftest.
$ac_ext
39354 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39355 { echo "$as_me:$LINENO: result: $ac_res" >&5
39356 echo "${ECHO_T}$ac_res" >&6; }
39358 if eval test \
$wx_cv_func_$wx_func = yes
39360 cat >>confdefs.h
<<_ACEOF
39361 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39367 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39368 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39385 for wx_func
in uname
39387 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39388 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39389 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39390 echo $ECHO_N "(cached) $ECHO_C" >&6
39393 cat >conftest.
$ac_ext <<_ACEOF
39397 cat confdefs.h
>>conftest.
$ac_ext
39398 cat >>conftest.
$ac_ext <<_ACEOF
39399 /* end confdefs.h. */
39401 #include <sys/utsname.h>
39402 $ac_includes_default
39418 rm -f conftest.
$ac_objext conftest
$ac_exeext
39419 if { (ac_try
="$ac_link"
39420 case "(($ac_try" in
39421 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39422 *) ac_try_echo=$ac_try;;
39424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39425 (eval "$ac_link") 2>conftest.er1
39427 grep -v '^ *+' conftest.er1 >conftest.err
39429 cat conftest.err >&5
39430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39431 (exit $ac_status); } && {
39432 test -z "$ac_c_werror_flag" ||
39433 test ! -s conftest.err
39434 } && test -s conftest$ac_exeext &&
39435 $as_test_x conftest$ac_exeext; then
39436 eval wx_cv_func_$wx_func=yes
39438 echo "$as_me: failed program was:" >&5
39439 sed 's/^/| /' conftest.$ac_ext >&5
39441 eval wx_cv_func_$wx_func=no
39444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39445 conftest$ac_exeext conftest.$ac_ext
39448 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39449 { echo "$as_me:$LINENO: result: $ac_res" >&5
39450 echo "${ECHO_T}$ac_res" >&6; }
39452 if eval test \$wx_cv_func_$wx_func = yes
39454 cat >>confdefs.h <<_ACEOF
39455 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39465 if test "$wx_cv_func_uname" != yes; then
39467 for wx_func in gethostname
39469 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39470 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39471 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39472 echo $ECHO_N "(cached) $ECHO_C" >&6
39475 cat >conftest.$ac_ext <<_ACEOF
39479 cat confdefs.h >>conftest.$ac_ext
39480 cat >>conftest.$ac_ext <<_ACEOF
39481 /* end confdefs.h. */
39484 $ac_includes_default
39500 rm -f conftest.$ac_objext conftest$ac_exeext
39501 if { (ac_try="$ac_link"
39502 case "(($ac_try" in
39503 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39504 *) ac_try_echo
=$ac_try;;
39506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39507 (eval "$ac_link") 2>conftest.er1
39509 grep -v '^ *+' conftest.er1
>conftest.err
39511 cat conftest.err
>&5
39512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39513 (exit $ac_status); } && {
39514 test -z "$ac_c_werror_flag" ||
39515 test ! -s conftest.err
39516 } && test -s conftest
$ac_exeext &&
39517 $as_test_x conftest
$ac_exeext; then
39518 eval wx_cv_func_
$wx_func=yes
39520 echo "$as_me: failed program was:" >&5
39521 sed 's/^/| /' conftest.
$ac_ext >&5
39523 eval wx_cv_func_
$wx_func=no
39526 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39527 conftest
$ac_exeext conftest.
$ac_ext
39530 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39531 { echo "$as_me:$LINENO: result: $ac_res" >&5
39532 echo "${ECHO_T}$ac_res" >&6; }
39534 if eval test \
$wx_cv_func_$wx_func = yes
39536 cat >>confdefs.h
<<_ACEOF
39537 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39550 for wx_func
in strtok_r
39552 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39553 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39554 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39555 echo $ECHO_N "(cached) $ECHO_C" >&6
39558 cat >conftest.
$ac_ext <<_ACEOF
39562 cat confdefs.h
>>conftest.
$ac_ext
39563 cat >>conftest.
$ac_ext <<_ACEOF
39564 /* end confdefs.h. */
39567 $ac_includes_default
39583 rm -f conftest.
$ac_objext conftest
$ac_exeext
39584 if { (ac_try
="$ac_link"
39585 case "(($ac_try" in
39586 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39587 *) ac_try_echo=$ac_try;;
39589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39590 (eval "$ac_link") 2>conftest.er1
39592 grep -v '^ *+' conftest.er1 >conftest.err
39594 cat conftest.err >&5
39595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39596 (exit $ac_status); } && {
39597 test -z "$ac_c_werror_flag" ||
39598 test ! -s conftest.err
39599 } && test -s conftest$ac_exeext &&
39600 $as_test_x conftest$ac_exeext; then
39601 eval wx_cv_func_$wx_func=yes
39603 echo "$as_me: failed program was:" >&5
39604 sed 's/^/| /' conftest.$ac_ext >&5
39606 eval wx_cv_func_$wx_func=no
39609 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39610 conftest$ac_exeext conftest.$ac_ext
39613 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39614 { echo "$as_me:$LINENO: result: $ac_res" >&5
39615 echo "${ECHO_T}$ac_res" >&6; }
39617 if eval test \$wx_cv_func_$wx_func = yes
39619 cat >>confdefs.h <<_ACEOF
39620 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39633 for ac_func in inet_addr
39635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39636 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39638 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39639 echo $ECHO_N "(cached) $ECHO_C" >&6
39641 cat >conftest.$ac_ext <<_ACEOF
39644 cat confdefs.h >>conftest.$ac_ext
39645 cat >>conftest.$ac_ext <<_ACEOF
39646 /* end confdefs.h. */
39647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39649 #define $ac_func innocuous_$ac_func
39651 /* System header to define __stub macros and hopefully few prototypes,
39652 which can conflict with char $ac_func (); below.
39653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39654 <limits.h> exists even on freestanding compilers. */
39657 # include <limits.h>
39659 # include <assert.h>
39664 /* Override any GCC internal prototype to avoid an error.
39665 Use char because int might match the return type of a GCC
39666 builtin and then its argument prototype would still apply. */
39671 /* The GNU C library defines this for functions which it implements
39672 to always fail with ENOSYS. Some functions are actually named
39673 something starting with __ and the normal name is an alias. */
39674 #if defined __stub_$ac_func || defined __stub___$ac_func
39681 return $ac_func ();
39686 rm -f conftest.$ac_objext conftest$ac_exeext
39687 if { (ac_try="$ac_link"
39688 case "(($ac_try" in
39689 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39690 *) ac_try_echo
=$ac_try;;
39692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39693 (eval "$ac_link") 2>conftest.er1
39695 grep -v '^ *+' conftest.er1
>conftest.err
39697 cat conftest.err
>&5
39698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39699 (exit $ac_status); } && {
39700 test -z "$ac_c_werror_flag" ||
39701 test ! -s conftest.err
39702 } && test -s conftest
$ac_exeext &&
39703 $as_test_x conftest
$ac_exeext; then
39704 eval "$as_ac_var=yes"
39706 echo "$as_me: failed program was:" >&5
39707 sed 's/^/| /' conftest.
$ac_ext >&5
39709 eval "$as_ac_var=no"
39712 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39713 conftest
$ac_exeext conftest.
$ac_ext
39715 ac_res
=`eval echo '${'$as_ac_var'}'`
39716 { echo "$as_me:$LINENO: result: $ac_res" >&5
39717 echo "${ECHO_T}$ac_res" >&6; }
39718 if test `eval echo '${'$as_ac_var'}'` = yes; then
39719 cat >>confdefs.h
<<_ACEOF
39720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39722 cat >>confdefs.h
<<\_ACEOF
39723 #define HAVE_INET_ADDR 1
39728 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39729 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39730 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39731 echo $ECHO_N "(cached) $ECHO_C" >&6
39733 ac_check_lib_save_LIBS
=$LIBS
39735 cat >conftest.
$ac_ext <<_ACEOF
39738 cat confdefs.h
>>conftest.
$ac_ext
39739 cat >>conftest.
$ac_ext <<_ACEOF
39740 /* end confdefs.h. */
39742 /* Override any GCC internal prototype to avoid an error.
39743 Use char because int might match the return type of a GCC
39744 builtin and then its argument prototype would still apply. */
39752 return inet_addr ();
39757 rm -f conftest.
$ac_objext conftest
$ac_exeext
39758 if { (ac_try
="$ac_link"
39759 case "(($ac_try" in
39760 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39761 *) ac_try_echo=$ac_try;;
39763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39764 (eval "$ac_link") 2>conftest.er1
39766 grep -v '^ *+' conftest.er1 >conftest.err
39768 cat conftest.err >&5
39769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39770 (exit $ac_status); } && {
39771 test -z "$ac_c_werror_flag" ||
39772 test ! -s conftest.err
39773 } && test -s conftest$ac_exeext &&
39774 $as_test_x conftest$ac_exeext; then
39775 ac_cv_lib_nsl_inet_addr=yes
39777 echo "$as_me: failed program was:" >&5
39778 sed 's/^/| /' conftest.$ac_ext >&5
39780 ac_cv_lib_nsl_inet_addr=no
39783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39784 conftest$ac_exeext conftest.$ac_ext
39785 LIBS=$ac_check_lib_save_LIBS
39787 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39788 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39789 if test $ac_cv_lib_nsl_inet_addr = yes; then
39793 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39794 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39795 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39796 echo $ECHO_N "(cached) $ECHO_C" >&6
39798 ac_check_lib_save_LIBS=$LIBS
39799 LIBS="-lresolv $LIBS"
39800 cat >conftest.$ac_ext <<_ACEOF
39803 cat confdefs.h >>conftest.$ac_ext
39804 cat >>conftest.$ac_ext <<_ACEOF
39805 /* end confdefs.h. */
39807 /* Override any GCC internal prototype to avoid an error.
39808 Use char because int might match the return type of a GCC
39809 builtin and then its argument prototype would still apply. */
39817 return inet_addr ();
39822 rm -f conftest.$ac_objext conftest$ac_exeext
39823 if { (ac_try="$ac_link"
39824 case "(($ac_try" in
39825 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39826 *) ac_try_echo
=$ac_try;;
39828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39829 (eval "$ac_link") 2>conftest.er1
39831 grep -v '^ *+' conftest.er1
>conftest.err
39833 cat conftest.err
>&5
39834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39835 (exit $ac_status); } && {
39836 test -z "$ac_c_werror_flag" ||
39837 test ! -s conftest.err
39838 } && test -s conftest
$ac_exeext &&
39839 $as_test_x conftest
$ac_exeext; then
39840 ac_cv_lib_resolv_inet_addr
=yes
39842 echo "$as_me: failed program was:" >&5
39843 sed 's/^/| /' conftest.
$ac_ext >&5
39845 ac_cv_lib_resolv_inet_addr
=no
39848 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39849 conftest
$ac_exeext conftest.
$ac_ext
39850 LIBS
=$ac_check_lib_save_LIBS
39852 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39853 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39854 if test $ac_cv_lib_resolv_inet_addr = yes; then
39858 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39859 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39860 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39861 echo $ECHO_N "(cached) $ECHO_C" >&6
39863 ac_check_lib_save_LIBS
=$LIBS
39864 LIBS
="-lsocket $LIBS"
39865 cat >conftest.
$ac_ext <<_ACEOF
39868 cat confdefs.h
>>conftest.
$ac_ext
39869 cat >>conftest.
$ac_ext <<_ACEOF
39870 /* end confdefs.h. */
39872 /* Override any GCC internal prototype to avoid an error.
39873 Use char because int might match the return type of a GCC
39874 builtin and then its argument prototype would still apply. */
39882 return inet_addr ();
39887 rm -f conftest.
$ac_objext conftest
$ac_exeext
39888 if { (ac_try
="$ac_link"
39889 case "(($ac_try" in
39890 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39891 *) ac_try_echo=$ac_try;;
39893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39894 (eval "$ac_link") 2>conftest.er1
39896 grep -v '^ *+' conftest.er1 >conftest.err
39898 cat conftest.err >&5
39899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39900 (exit $ac_status); } && {
39901 test -z "$ac_c_werror_flag" ||
39902 test ! -s conftest.err
39903 } && test -s conftest$ac_exeext &&
39904 $as_test_x conftest$ac_exeext; then
39905 ac_cv_lib_socket_inet_addr=yes
39907 echo "$as_me: failed program was:" >&5
39908 sed 's/^/| /' conftest.$ac_ext >&5
39910 ac_cv_lib_socket_inet_addr=no
39913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39914 conftest$ac_exeext conftest.$ac_ext
39915 LIBS=$ac_check_lib_save_LIBS
39917 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39918 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39919 if test $ac_cv_lib_socket_inet_addr = yes; then
39939 for ac_func in inet_aton
39941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39942 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39944 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39945 echo $ECHO_N "(cached) $ECHO_C" >&6
39947 cat >conftest.$ac_ext <<_ACEOF
39950 cat confdefs.h >>conftest.$ac_ext
39951 cat >>conftest.$ac_ext <<_ACEOF
39952 /* end confdefs.h. */
39953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39955 #define $ac_func innocuous_$ac_func
39957 /* System header to define __stub macros and hopefully few prototypes,
39958 which can conflict with char $ac_func (); below.
39959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39960 <limits.h> exists even on freestanding compilers. */
39963 # include <limits.h>
39965 # include <assert.h>
39970 /* Override any GCC internal prototype to avoid an error.
39971 Use char because int might match the return type of a GCC
39972 builtin and then its argument prototype would still apply. */
39977 /* The GNU C library defines this for functions which it implements
39978 to always fail with ENOSYS. Some functions are actually named
39979 something starting with __ and the normal name is an alias. */
39980 #if defined __stub_$ac_func || defined __stub___$ac_func
39987 return $ac_func ();
39992 rm -f conftest.$ac_objext conftest$ac_exeext
39993 if { (ac_try="$ac_link"
39994 case "(($ac_try" in
39995 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39996 *) ac_try_echo
=$ac_try;;
39998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39999 (eval "$ac_link") 2>conftest.er1
40001 grep -v '^ *+' conftest.er1
>conftest.err
40003 cat conftest.err
>&5
40004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40005 (exit $ac_status); } && {
40006 test -z "$ac_c_werror_flag" ||
40007 test ! -s conftest.err
40008 } && test -s conftest
$ac_exeext &&
40009 $as_test_x conftest
$ac_exeext; then
40010 eval "$as_ac_var=yes"
40012 echo "$as_me: failed program was:" >&5
40013 sed 's/^/| /' conftest.
$ac_ext >&5
40015 eval "$as_ac_var=no"
40018 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40019 conftest
$ac_exeext conftest.
$ac_ext
40021 ac_res
=`eval echo '${'$as_ac_var'}'`
40022 { echo "$as_me:$LINENO: result: $ac_res" >&5
40023 echo "${ECHO_T}$ac_res" >&6; }
40024 if test `eval echo '${'$as_ac_var'}'` = yes; then
40025 cat >>confdefs.h
<<_ACEOF
40026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40028 cat >>confdefs.h
<<\_ACEOF
40029 #define HAVE_INET_ATON 1
40034 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40035 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40036 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
40037 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
40038 echo $ECHO_N "(cached) $ECHO_C" >&6
40040 ac_check_lib_save_LIBS
=$LIBS
40041 LIBS
="-l$INET_LINK $LIBS"
40042 cat >conftest.
$ac_ext <<_ACEOF
40045 cat confdefs.h
>>conftest.
$ac_ext
40046 cat >>conftest.
$ac_ext <<_ACEOF
40047 /* end confdefs.h. */
40049 /* Override any GCC internal prototype to avoid an error.
40050 Use char because int might match the return type of a GCC
40051 builtin and then its argument prototype would still apply. */
40059 return inet_aton ();
40064 rm -f conftest.
$ac_objext conftest
$ac_exeext
40065 if { (ac_try
="$ac_link"
40066 case "(($ac_try" in
40067 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40068 *) ac_try_echo=$ac_try;;
40070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40071 (eval "$ac_link") 2>conftest.er1
40073 grep -v '^ *+' conftest.er1 >conftest.err
40075 cat conftest.err >&5
40076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40077 (exit $ac_status); } && {
40078 test -z "$ac_c_werror_flag" ||
40079 test ! -s conftest.err
40080 } && test -s conftest$ac_exeext &&
40081 $as_test_x conftest$ac_exeext; then
40082 eval "$as_ac_Lib=yes"
40084 echo "$as_me: failed program was:" >&5
40085 sed 's/^/| /' conftest.$ac_ext >&5
40087 eval "$as_ac_Lib=no"
40090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40091 conftest$ac_exeext conftest.$ac_ext
40092 LIBS=$ac_check_lib_save_LIBS
40094 ac_res=`eval echo '${'$as_ac_Lib'}'`
40095 { echo "$as_me:$LINENO: result: $ac_res" >&5
40096 echo "${ECHO_T}$ac_res" >&6; }
40097 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40098 cat >>confdefs.h <<\_ACEOF
40099 #define HAVE_INET_ATON 1
40109 if test "x$INET_LINK" != "x"; then
40110 cat >>confdefs.h <<\_ACEOF
40111 #define HAVE_INET_ADDR 1
40114 INET_LINK=" -l$INET_LINK"
40118 for wx_func in fdopen
40120 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40121 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40122 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40123 echo $ECHO_N "(cached) $ECHO_C" >&6
40126 cat >conftest.$ac_ext <<_ACEOF
40130 cat confdefs.h >>conftest.$ac_ext
40131 cat >>conftest.$ac_ext <<_ACEOF
40132 /* end confdefs.h. */
40135 $ac_includes_default
40151 rm -f conftest.$ac_objext conftest$ac_exeext
40152 if { (ac_try="$ac_link"
40153 case "(($ac_try" in
40154 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40155 *) ac_try_echo
=$ac_try;;
40157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40158 (eval "$ac_link") 2>conftest.er1
40160 grep -v '^ *+' conftest.er1
>conftest.err
40162 cat conftest.err
>&5
40163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40164 (exit $ac_status); } && {
40165 test -z "$ac_c_werror_flag" ||
40166 test ! -s conftest.err
40167 } && test -s conftest
$ac_exeext &&
40168 $as_test_x conftest
$ac_exeext; then
40169 eval wx_cv_func_
$wx_func=yes
40171 echo "$as_me: failed program was:" >&5
40172 sed 's/^/| /' conftest.
$ac_ext >&5
40174 eval wx_cv_func_
$wx_func=no
40177 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40178 conftest
$ac_exeext conftest.
$ac_ext
40181 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40182 { echo "$as_me:$LINENO: result: $ac_res" >&5
40183 echo "${ECHO_T}$ac_res" >&6; }
40185 if eval test \
$wx_cv_func_$wx_func = yes
40187 cat >>confdefs.h
<<_ACEOF
40188 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40199 if test "$wxUSE_TARSTREAM" = "yes"; then
40201 for wx_func
in sysconf
40203 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40204 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40205 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40206 echo $ECHO_N "(cached) $ECHO_C" >&6
40209 cat >conftest.
$ac_ext <<_ACEOF
40213 cat confdefs.h
>>conftest.
$ac_ext
40214 cat >>conftest.
$ac_ext <<_ACEOF
40215 /* end confdefs.h. */
40218 $ac_includes_default
40234 rm -f conftest.
$ac_objext conftest
$ac_exeext
40235 if { (ac_try
="$ac_link"
40236 case "(($ac_try" in
40237 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40238 *) ac_try_echo=$ac_try;;
40240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40241 (eval "$ac_link") 2>conftest.er1
40243 grep -v '^ *+' conftest.er1 >conftest.err
40245 cat conftest.err >&5
40246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40247 (exit $ac_status); } && {
40248 test -z "$ac_c_werror_flag" ||
40249 test ! -s conftest.err
40250 } && test -s conftest$ac_exeext &&
40251 $as_test_x conftest$ac_exeext; then
40252 eval wx_cv_func_$wx_func=yes
40254 echo "$as_me: failed program was:" >&5
40255 sed 's/^/| /' conftest.$ac_ext >&5
40257 eval wx_cv_func_$wx_func=no
40260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40261 conftest$ac_exeext conftest.$ac_ext
40264 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40265 { echo "$as_me:$LINENO: result: $ac_res" >&5
40266 echo "${ECHO_T}$ac_res" >&6; }
40268 if eval test \$wx_cv_func_$wx_func = yes
40270 cat >>confdefs.h <<_ACEOF
40271 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40283 for wx_func in getpwuid_r
40285 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40286 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40287 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40288 echo $ECHO_N "(cached) $ECHO_C" >&6
40291 cat >conftest.$ac_ext <<_ACEOF
40295 cat confdefs.h >>conftest.$ac_ext
40296 cat >>conftest.$ac_ext <<_ACEOF
40297 /* end confdefs.h. */
40303 $ac_includes_default
40313 struct passwd pw, *ppw;
40315 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
40323 rm -f conftest.$ac_objext conftest$ac_exeext
40324 if { (ac_try="$ac_link"
40325 case "(($ac_try" in
40326 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40327 *) ac_try_echo
=$ac_try;;
40329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40330 (eval "$ac_link") 2>conftest.er1
40332 grep -v '^ *+' conftest.er1
>conftest.err
40334 cat conftest.err
>&5
40335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40336 (exit $ac_status); } && {
40337 test -z "$ac_c_werror_flag" ||
40338 test ! -s conftest.err
40339 } && test -s conftest
$ac_exeext &&
40340 $as_test_x conftest
$ac_exeext; then
40341 eval wx_cv_func_
$wx_func=yes
40343 echo "$as_me: failed program was:" >&5
40344 sed 's/^/| /' conftest.
$ac_ext >&5
40346 eval wx_cv_func_
$wx_func=no
40349 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40350 conftest
$ac_exeext conftest.
$ac_ext
40353 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40354 { echo "$as_me:$LINENO: result: $ac_res" >&5
40355 echo "${ECHO_T}$ac_res" >&6; }
40357 if eval test \
$wx_cv_func_$wx_func = yes
40359 cat >>confdefs.h
<<_ACEOF
40360 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40372 for wx_func
in getgrgid_r
40374 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40375 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40376 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40377 echo $ECHO_N "(cached) $ECHO_C" >&6
40380 cat >conftest.
$ac_ext <<_ACEOF
40384 cat confdefs.h
>>conftest.
$ac_ext
40385 cat >>conftest.
$ac_ext <<_ACEOF
40386 /* end confdefs.h. */
40392 $ac_includes_default
40402 struct group grp, *pgrp;
40404 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
40412 rm -f conftest.
$ac_objext conftest
$ac_exeext
40413 if { (ac_try
="$ac_link"
40414 case "(($ac_try" in
40415 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40416 *) ac_try_echo=$ac_try;;
40418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40419 (eval "$ac_link") 2>conftest.er1
40421 grep -v '^ *+' conftest.er1 >conftest.err
40423 cat conftest.err >&5
40424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40425 (exit $ac_status); } && {
40426 test -z "$ac_c_werror_flag" ||
40427 test ! -s conftest.err
40428 } && test -s conftest$ac_exeext &&
40429 $as_test_x conftest$ac_exeext; then
40430 eval wx_cv_func_$wx_func=yes
40432 echo "$as_me: failed program was:" >&5
40433 sed 's/^/| /' conftest.$ac_ext >&5
40435 eval wx_cv_func_$wx_func=no
40438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40439 conftest$ac_exeext conftest.$ac_ext
40442 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40443 { echo "$as_me:$LINENO: result: $ac_res" >&5
40444 echo "${ECHO_T}$ac_res" >&6; }
40446 if eval test \$wx_cv_func_$wx_func = yes
40448 cat >>confdefs.h <<_ACEOF
40449 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40465 cat >confcache <<\_ACEOF
40466 # This file is a shell script that caches the results of configure
40467 # tests run on this system so they can be shared between configure
40468 # scripts and configure runs, see configure's option --config-cache.
40469 # It is not useful on other systems. If it contains results you don't
40470 # want to keep, you may remove or edit it.
40472 # config.status only pays attention to the cache file if you give it
40473 # the --recheck option to rerun configure.
40475 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
40476 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40477 # following values.
40481 # The following way of writing the cache mishandles newlines in values,
40482 # but we know of no workaround that is simple, portable, and efficient.
40483 # So, we kill variables containing newlines.
40484 # Ultrix sh set writes to stderr and can't be redirected directly,
40485 # and sets the high bit in the cache file unless we assign to the vars.
40487 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40488 eval ac_val
=\$
$ac_var
40492 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40493 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40496 _
| IFS
| as_nl
) ;; #(
40497 *) $as_unset $ac_var ;;
40503 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40504 *${as_nl}ac_space
=\
*)
40505 # `set' does not quote correctly, so add quotes (double-quote
40506 # substitution turns \\\\ into \\, and sed turns \\ into \).
40509 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40512 # `set' quotes correctly as required by POSIX, so do not add quotes.
40513 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40522 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40524 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40526 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
40527 if test -w "$cache_file"; then
40528 test "x$cache_file" != "x/dev/null" &&
40529 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40530 echo "$as_me: updating cache $cache_file" >&6;}
40531 cat confcache
>$cache_file
40533 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40534 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40540 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40546 if test "$wxUSE_THREADS" = "yes" ; then
40547 if test "$USE_BEOS" = 1; then
40548 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40549 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40554 if test "$wxUSE_THREADS" = "yes" ; then
40557 THREAD_OPTS
="-pthread"
40558 if test "x$SUNCXX" = xyes
; then
40559 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
40563 *-*-solaris2* | *-*-sunos4* )
40564 if test "x$GCC" = "xyes"; then
40565 THREAD_OPTS
="-pthreads $THREAD_OPTS"
40569 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
40571 *-*-darwin* | *-*-cygwin* )
40575 THREAD_OPTS
="pthreads"
40578 if test "x$GCC" = "xyes"; then
40579 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
40587 if test "x$GCC" = "xyes"; then
40597 if test "x$GCC" != "xyes"; then
40598 THREAD_OPTS
="-Ethread"
40605 THREAD_OPTS
="none pthread"
40609 THREAD_OPTS
="$THREAD_OPTS pthread none"
40614 for flag
in $THREAD_OPTS; do
40617 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40618 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40622 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40623 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40624 THREADS_CFLAGS
="$flag"
40628 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40629 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40630 THREADS_LINK
="-l$flag"
40635 save_CFLAGS
="$CFLAGS"
40636 LIBS
="$THREADS_LINK $LIBS"
40637 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
40639 cat >conftest.
$ac_ext <<_ACEOF
40642 cat confdefs.h
>>conftest.
$ac_ext
40643 cat >>conftest.
$ac_ext <<_ACEOF
40644 /* end confdefs.h. */
40645 #include <pthread.h>
40649 pthread_create(0,0,0,0);
40654 rm -f conftest.
$ac_objext conftest
$ac_exeext
40655 if { (ac_try
="$ac_link"
40656 case "(($ac_try" in
40657 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40658 *) ac_try_echo=$ac_try;;
40660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40661 (eval "$ac_link") 2>conftest.er1
40663 grep -v '^ *+' conftest.er1 >conftest.err
40665 cat conftest.err >&5
40666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40667 (exit $ac_status); } && {
40668 test -z "$ac_c_werror_flag" ||
40669 test ! -s conftest.err
40670 } && test -s conftest$ac_exeext &&
40671 $as_test_x conftest$ac_exeext; then
40674 echo "$as_me: failed program was:" >&5
40675 sed 's/^/| /' conftest.$ac_ext >&5
40680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40681 conftest$ac_exeext conftest.$ac_ext
40684 CFLAGS="$save_CFLAGS"
40686 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40687 echo "${ECHO_T}$THREADS_OK" >&6; }
40688 if test "x$THREADS_OK" = "xyes"; then
40696 if test "x$THREADS_OK" != "xyes"; then
40698 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40699 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40701 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40702 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40703 LIBS="$THREADS_LINK $LIBS"
40705 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40706 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40710 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40711 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40712 flag="-D_THREAD_SAFE"
40715 flag="-D_THREAD_SAFE"
40718 flag="-D_REENTRANT"
40719 if test "x$GCC" != "xyes"; then
40720 flag="$flag -D_RWSTD_MULTI_THREAD"
40723 *solaris* | alpha*-osf*)
40724 flag="-D_REENTRANT"
40727 { echo "$as_me:$LINENO: result: ${flag}" >&5
40728 echo "${ECHO_T}${flag}" >&6; }
40729 if test "x$flag" != xno; then
40730 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40733 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40737 if test "$wxUSE_THREADS" = "yes" ; then
40739 for ac_func in thr_setconcurrency
40741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40742 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40744 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40745 echo $ECHO_N "(cached) $ECHO_C" >&6
40747 cat >conftest.$ac_ext <<_ACEOF
40750 cat confdefs.h >>conftest.$ac_ext
40751 cat >>conftest.$ac_ext <<_ACEOF
40752 /* end confdefs.h. */
40753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40755 #define $ac_func innocuous_$ac_func
40757 /* System header to define __stub macros and hopefully few prototypes,
40758 which can conflict with char $ac_func (); below.
40759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40760 <limits.h> exists even on freestanding compilers. */
40763 # include <limits.h>
40765 # include <assert.h>
40770 /* Override any GCC internal prototype to avoid an error.
40771 Use char because int might match the return type of a GCC
40772 builtin and then its argument prototype would still apply. */
40777 /* The GNU C library defines this for functions which it implements
40778 to always fail with ENOSYS. Some functions are actually named
40779 something starting with __ and the normal name is an alias. */
40780 #if defined __stub_$ac_func || defined __stub___$ac_func
40787 return $ac_func ();
40792 rm -f conftest.$ac_objext conftest$ac_exeext
40793 if { (ac_try="$ac_link"
40794 case "(($ac_try" in
40795 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40796 *) ac_try_echo
=$ac_try;;
40798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40799 (eval "$ac_link") 2>conftest.er1
40801 grep -v '^ *+' conftest.er1
>conftest.err
40803 cat conftest.err
>&5
40804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40805 (exit $ac_status); } && {
40806 test -z "$ac_c_werror_flag" ||
40807 test ! -s conftest.err
40808 } && test -s conftest
$ac_exeext &&
40809 $as_test_x conftest
$ac_exeext; then
40810 eval "$as_ac_var=yes"
40812 echo "$as_me: failed program was:" >&5
40813 sed 's/^/| /' conftest.
$ac_ext >&5
40815 eval "$as_ac_var=no"
40818 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40819 conftest
$ac_exeext conftest.
$ac_ext
40821 ac_res
=`eval echo '${'$as_ac_var'}'`
40822 { echo "$as_me:$LINENO: result: $ac_res" >&5
40823 echo "${ECHO_T}$ac_res" >&6; }
40824 if test `eval echo '${'$as_ac_var'}'` = yes; then
40825 cat >>confdefs.h
<<_ACEOF
40826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40833 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40834 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40835 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40836 echo $ECHO_N "(cached) $ECHO_C" >&6
40840 ac_cpp
='$CXXCPP $CPPFLAGS'
40841 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40842 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40843 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40845 cat >conftest.
$ac_ext <<_ACEOF
40848 cat confdefs.h
>>conftest.
$ac_ext
40849 cat >>conftest.
$ac_ext <<_ACEOF
40850 /* end confdefs.h. */
40851 #include <pthread.h>
40852 void ThreadCleanupFunc(void *p);
40859 pthread_cleanup_push(ThreadCleanupFunc, p);
40860 pthread_cleanup_pop(0);
40866 rm -f conftest.
$ac_objext
40867 if { (ac_try
="$ac_compile"
40868 case "(($ac_try" in
40869 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40870 *) ac_try_echo=$ac_try;;
40872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40873 (eval "$ac_compile") 2>conftest.er1
40875 grep -v '^ *+' conftest.er1 >conftest.err
40877 cat conftest.err >&5
40878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40879 (exit $ac_status); } && {
40880 test -z "$ac_cxx_werror_flag" ||
40881 test ! -s conftest.err
40882 } && test -s conftest.$ac_objext; then
40884 wx_cv_func_pthread_cleanup=yes
40887 echo "$as_me: failed program was:" >&5
40888 sed 's/^/| /' conftest.$ac_ext >&5
40891 wx_cv_func_pthread_cleanup=no
40896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40898 ac_cpp='$CPP $CPPFLAGS'
40899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40905 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40906 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40907 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40908 cat >>confdefs.h <<\_ACEOF
40909 #define wxHAVE_PTHREAD_CLEANUP 1
40915 for ac_header in sched.h
40917 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40918 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40920 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40921 echo $ECHO_N "(cached) $ECHO_C" >&6
40923 cat >conftest.$ac_ext <<_ACEOF
40926 cat confdefs.h >>conftest.$ac_ext
40927 cat >>conftest.$ac_ext <<_ACEOF
40928 /* end confdefs.h. */
40929 $ac_includes_default
40931 #include <$ac_header>
40933 rm -f conftest.$ac_objext
40934 if { (ac_try="$ac_compile"
40935 case "(($ac_try" in
40936 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40937 *) ac_try_echo
=$ac_try;;
40939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40940 (eval "$ac_compile") 2>conftest.er1
40942 grep -v '^ *+' conftest.er1
>conftest.err
40944 cat conftest.err
>&5
40945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40946 (exit $ac_status); } && {
40947 test -z "$ac_c_werror_flag" ||
40948 test ! -s conftest.err
40949 } && test -s conftest.
$ac_objext; then
40950 eval "$as_ac_Header=yes"
40952 echo "$as_me: failed program was:" >&5
40953 sed 's/^/| /' conftest.
$ac_ext >&5
40955 eval "$as_ac_Header=no"
40958 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40960 ac_res
=`eval echo '${'$as_ac_Header'}'`
40961 { echo "$as_me:$LINENO: result: $ac_res" >&5
40962 echo "${ECHO_T}$ac_res" >&6; }
40963 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40964 cat >>confdefs.h
<<_ACEOF
40965 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40972 if test "$ac_cv_header_sched_h" = "yes"; then
40973 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40974 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40975 if test "${ac_cv_func_sched_yield+set}" = set; then
40976 echo $ECHO_N "(cached) $ECHO_C" >&6
40978 cat >conftest.
$ac_ext <<_ACEOF
40981 cat confdefs.h
>>conftest.
$ac_ext
40982 cat >>conftest.
$ac_ext <<_ACEOF
40983 /* end confdefs.h. */
40984 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40986 #define sched_yield innocuous_sched_yield
40988 /* System header to define __stub macros and hopefully few prototypes,
40989 which can conflict with char sched_yield (); below.
40990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40991 <limits.h> exists even on freestanding compilers. */
40994 # include <limits.h>
40996 # include <assert.h>
41001 /* Override any GCC internal prototype to avoid an error.
41002 Use char because int might match the return type of a GCC
41003 builtin and then its argument prototype would still apply. */
41007 char sched_yield ();
41008 /* The GNU C library defines this for functions which it implements
41009 to always fail with ENOSYS. Some functions are actually named
41010 something starting with __ and the normal name is an alias. */
41011 #if defined __stub_sched_yield || defined __stub___sched_yield
41018 return sched_yield ();
41023 rm -f conftest.
$ac_objext conftest
$ac_exeext
41024 if { (ac_try
="$ac_link"
41025 case "(($ac_try" in
41026 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41027 *) ac_try_echo=$ac_try;;
41029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41030 (eval "$ac_link") 2>conftest.er1
41032 grep -v '^ *+' conftest.er1 >conftest.err
41034 cat conftest.err >&5
41035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41036 (exit $ac_status); } && {
41037 test -z "$ac_c_werror_flag" ||
41038 test ! -s conftest.err
41039 } && test -s conftest$ac_exeext &&
41040 $as_test_x conftest$ac_exeext; then
41041 ac_cv_func_sched_yield=yes
41043 echo "$as_me: failed program was:" >&5
41044 sed 's/^/| /' conftest.$ac_ext >&5
41046 ac_cv_func_sched_yield=no
41049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41050 conftest$ac_exeext conftest.$ac_ext
41052 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41053 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41054 if test $ac_cv_func_sched_yield = yes; then
41055 cat >>confdefs.h <<\_ACEOF
41056 #define HAVE_SCHED_YIELD 1
41061 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41062 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41063 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41064 echo $ECHO_N "(cached) $ECHO_C" >&6
41066 ac_check_lib_save_LIBS=$LIBS
41067 LIBS="-lposix4 $LIBS"
41068 cat >conftest.$ac_ext <<_ACEOF
41071 cat confdefs.h >>conftest.$ac_ext
41072 cat >>conftest.$ac_ext <<_ACEOF
41073 /* end confdefs.h. */
41075 /* Override any GCC internal prototype to avoid an error.
41076 Use char because int might match the return type of a GCC
41077 builtin and then its argument prototype would still apply. */
41081 char sched_yield ();
41085 return sched_yield ();
41090 rm -f conftest.$ac_objext conftest$ac_exeext
41091 if { (ac_try="$ac_link"
41092 case "(($ac_try" in
41093 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41094 *) ac_try_echo
=$ac_try;;
41096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41097 (eval "$ac_link") 2>conftest.er1
41099 grep -v '^ *+' conftest.er1
>conftest.err
41101 cat conftest.err
>&5
41102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41103 (exit $ac_status); } && {
41104 test -z "$ac_c_werror_flag" ||
41105 test ! -s conftest.err
41106 } && test -s conftest
$ac_exeext &&
41107 $as_test_x conftest
$ac_exeext; then
41108 ac_cv_lib_posix4_sched_yield
=yes
41110 echo "$as_me: failed program was:" >&5
41111 sed 's/^/| /' conftest.
$ac_ext >&5
41113 ac_cv_lib_posix4_sched_yield
=no
41116 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41117 conftest
$ac_exeext conftest.
$ac_ext
41118 LIBS
=$ac_check_lib_save_LIBS
41120 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41121 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41122 if test $ac_cv_lib_posix4_sched_yield = yes; then
41123 cat >>confdefs.h
<<\_ACEOF
41124 #define HAVE_SCHED_YIELD 1
41126 POSIX4_LINK
=" -lposix4"
41128 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41129 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41140 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41141 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41142 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41143 echo $ECHO_N "(cached) $ECHO_C" >&6
41145 cat >conftest.
$ac_ext <<_ACEOF
41148 cat confdefs.h
>>conftest.
$ac_ext
41149 cat >>conftest.
$ac_ext <<_ACEOF
41150 /* end confdefs.h. */
41151 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41153 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41155 /* System header to define __stub macros and hopefully few prototypes,
41156 which can conflict with char pthread_attr_getschedpolicy (); below.
41157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41158 <limits.h> exists even on freestanding compilers. */
41161 # include <limits.h>
41163 # include <assert.h>
41166 #undef pthread_attr_getschedpolicy
41168 /* Override any GCC internal prototype to avoid an error.
41169 Use char because int might match the return type of a GCC
41170 builtin and then its argument prototype would still apply. */
41174 char pthread_attr_getschedpolicy ();
41175 /* The GNU C library defines this for functions which it implements
41176 to always fail with ENOSYS. Some functions are actually named
41177 something starting with __ and the normal name is an alias. */
41178 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41185 return pthread_attr_getschedpolicy ();
41190 rm -f conftest.
$ac_objext conftest
$ac_exeext
41191 if { (ac_try
="$ac_link"
41192 case "(($ac_try" in
41193 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41194 *) ac_try_echo=$ac_try;;
41196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41197 (eval "$ac_link") 2>conftest.er1
41199 grep -v '^ *+' conftest.er1 >conftest.err
41201 cat conftest.err >&5
41202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41203 (exit $ac_status); } && {
41204 test -z "$ac_c_werror_flag" ||
41205 test ! -s conftest.err
41206 } && test -s conftest$ac_exeext &&
41207 $as_test_x conftest$ac_exeext; then
41208 ac_cv_func_pthread_attr_getschedpolicy=yes
41210 echo "$as_me: failed program was:" >&5
41211 sed 's/^/| /' conftest.$ac_ext >&5
41213 ac_cv_func_pthread_attr_getschedpolicy=no
41216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41217 conftest$ac_exeext conftest.$ac_ext
41219 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41220 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41221 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41222 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41223 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41224 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41225 echo $ECHO_N "(cached) $ECHO_C" >&6
41227 cat >conftest.$ac_ext <<_ACEOF
41230 cat confdefs.h >>conftest.$ac_ext
41231 cat >>conftest.$ac_ext <<_ACEOF
41232 /* end confdefs.h. */
41233 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41235 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41237 /* System header to define __stub macros and hopefully few prototypes,
41238 which can conflict with char pthread_attr_setschedparam (); below.
41239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41240 <limits.h> exists even on freestanding compilers. */
41243 # include <limits.h>
41245 # include <assert.h>
41248 #undef pthread_attr_setschedparam
41250 /* Override any GCC internal prototype to avoid an error.
41251 Use char because int might match the return type of a GCC
41252 builtin and then its argument prototype would still apply. */
41256 char pthread_attr_setschedparam ();
41257 /* The GNU C library defines this for functions which it implements
41258 to always fail with ENOSYS. Some functions are actually named
41259 something starting with __ and the normal name is an alias. */
41260 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41267 return pthread_attr_setschedparam ();
41272 rm -f conftest.$ac_objext conftest$ac_exeext
41273 if { (ac_try="$ac_link"
41274 case "(($ac_try" in
41275 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41276 *) ac_try_echo
=$ac_try;;
41278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41279 (eval "$ac_link") 2>conftest.er1
41281 grep -v '^ *+' conftest.er1
>conftest.err
41283 cat conftest.err
>&5
41284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41285 (exit $ac_status); } && {
41286 test -z "$ac_c_werror_flag" ||
41287 test ! -s conftest.err
41288 } && test -s conftest
$ac_exeext &&
41289 $as_test_x conftest
$ac_exeext; then
41290 ac_cv_func_pthread_attr_setschedparam
=yes
41292 echo "$as_me: failed program was:" >&5
41293 sed 's/^/| /' conftest.
$ac_ext >&5
41295 ac_cv_func_pthread_attr_setschedparam
=no
41298 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41299 conftest
$ac_exeext conftest.
$ac_ext
41301 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41302 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41303 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41304 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41305 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41306 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41307 echo $ECHO_N "(cached) $ECHO_C" >&6
41309 cat >conftest.
$ac_ext <<_ACEOF
41312 cat confdefs.h
>>conftest.
$ac_ext
41313 cat >>conftest.
$ac_ext <<_ACEOF
41314 /* end confdefs.h. */
41315 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41317 #define sched_get_priority_max innocuous_sched_get_priority_max
41319 /* System header to define __stub macros and hopefully few prototypes,
41320 which can conflict with char sched_get_priority_max (); below.
41321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41322 <limits.h> exists even on freestanding compilers. */
41325 # include <limits.h>
41327 # include <assert.h>
41330 #undef sched_get_priority_max
41332 /* Override any GCC internal prototype to avoid an error.
41333 Use char because int might match the return type of a GCC
41334 builtin and then its argument prototype would still apply. */
41338 char sched_get_priority_max ();
41339 /* The GNU C library defines this for functions which it implements
41340 to always fail with ENOSYS. Some functions are actually named
41341 something starting with __ and the normal name is an alias. */
41342 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41349 return sched_get_priority_max ();
41354 rm -f conftest.
$ac_objext conftest
$ac_exeext
41355 if { (ac_try
="$ac_link"
41356 case "(($ac_try" in
41357 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41358 *) ac_try_echo=$ac_try;;
41360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41361 (eval "$ac_link") 2>conftest.er1
41363 grep -v '^ *+' conftest.er1 >conftest.err
41365 cat conftest.err >&5
41366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41367 (exit $ac_status); } && {
41368 test -z "$ac_c_werror_flag" ||
41369 test ! -s conftest.err
41370 } && test -s conftest$ac_exeext &&
41371 $as_test_x conftest$ac_exeext; then
41372 ac_cv_func_sched_get_priority_max=yes
41374 echo "$as_me: failed program was:" >&5
41375 sed 's/^/| /' conftest.$ac_ext >&5
41377 ac_cv_func_sched_get_priority_max=no
41380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41381 conftest$ac_exeext conftest.$ac_ext
41383 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41384 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41385 if test $ac_cv_func_sched_get_priority_max = yes; then
41388 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41389 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41390 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41391 echo $ECHO_N "(cached) $ECHO_C" >&6
41393 ac_check_lib_save_LIBS=$LIBS
41394 LIBS="-lposix4 $LIBS"
41395 cat >conftest.$ac_ext <<_ACEOF
41398 cat confdefs.h >>conftest.$ac_ext
41399 cat >>conftest.$ac_ext <<_ACEOF
41400 /* end confdefs.h. */
41402 /* Override any GCC internal prototype to avoid an error.
41403 Use char because int might match the return type of a GCC
41404 builtin and then its argument prototype would still apply. */
41408 char sched_get_priority_max ();
41412 return sched_get_priority_max ();
41417 rm -f conftest.$ac_objext conftest$ac_exeext
41418 if { (ac_try="$ac_link"
41419 case "(($ac_try" in
41420 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41421 *) ac_try_echo
=$ac_try;;
41423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41424 (eval "$ac_link") 2>conftest.er1
41426 grep -v '^ *+' conftest.er1
>conftest.err
41428 cat conftest.err
>&5
41429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41430 (exit $ac_status); } && {
41431 test -z "$ac_c_werror_flag" ||
41432 test ! -s conftest.err
41433 } && test -s conftest
$ac_exeext &&
41434 $as_test_x conftest
$ac_exeext; then
41435 ac_cv_lib_posix4_sched_get_priority_max
=yes
41437 echo "$as_me: failed program was:" >&5
41438 sed 's/^/| /' conftest.
$ac_ext >&5
41440 ac_cv_lib_posix4_sched_get_priority_max
=no
41443 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41444 conftest
$ac_exeext conftest.
$ac_ext
41445 LIBS
=$ac_check_lib_save_LIBS
41447 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41448 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41449 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41452 POSIX4_LINK
=" -lposix4"
41466 if test "$HAVE_PRIOR_FUNCS" = 1; then
41467 cat >>confdefs.h
<<\_ACEOF
41468 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41472 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41473 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41476 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41477 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41478 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41479 echo $ECHO_N "(cached) $ECHO_C" >&6
41481 cat >conftest.
$ac_ext <<_ACEOF
41484 cat confdefs.h
>>conftest.
$ac_ext
41485 cat >>conftest.
$ac_ext <<_ACEOF
41486 /* end confdefs.h. */
41487 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41489 #define pthread_cancel innocuous_pthread_cancel
41491 /* System header to define __stub macros and hopefully few prototypes,
41492 which can conflict with char pthread_cancel (); below.
41493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41494 <limits.h> exists even on freestanding compilers. */
41497 # include <limits.h>
41499 # include <assert.h>
41502 #undef pthread_cancel
41504 /* Override any GCC internal prototype to avoid an error.
41505 Use char because int might match the return type of a GCC
41506 builtin and then its argument prototype would still apply. */
41510 char pthread_cancel ();
41511 /* The GNU C library defines this for functions which it implements
41512 to always fail with ENOSYS. Some functions are actually named
41513 something starting with __ and the normal name is an alias. */
41514 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41521 return pthread_cancel ();
41526 rm -f conftest.
$ac_objext conftest
$ac_exeext
41527 if { (ac_try
="$ac_link"
41528 case "(($ac_try" in
41529 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41530 *) ac_try_echo=$ac_try;;
41532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41533 (eval "$ac_link") 2>conftest.er1
41535 grep -v '^ *+' conftest.er1 >conftest.err
41537 cat conftest.err >&5
41538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41539 (exit $ac_status); } && {
41540 test -z "$ac_c_werror_flag" ||
41541 test ! -s conftest.err
41542 } && test -s conftest$ac_exeext &&
41543 $as_test_x conftest$ac_exeext; then
41544 ac_cv_func_pthread_cancel=yes
41546 echo "$as_me: failed program was:" >&5
41547 sed 's/^/| /' conftest.$ac_ext >&5
41549 ac_cv_func_pthread_cancel=no
41552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41553 conftest$ac_exeext conftest.$ac_ext
41555 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41556 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41557 if test $ac_cv_func_pthread_cancel = yes; then
41558 cat >>confdefs.h <<\_ACEOF
41559 #define HAVE_PTHREAD_CANCEL 1
41563 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41564 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41568 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41569 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41570 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41571 echo $ECHO_N "(cached) $ECHO_C" >&6
41573 cat >conftest.$ac_ext <<_ACEOF
41576 cat confdefs.h >>conftest.$ac_ext
41577 cat >>conftest.$ac_ext <<_ACEOF
41578 /* end confdefs.h. */
41579 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41581 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41583 /* System header to define __stub macros and hopefully few prototypes,
41584 which can conflict with char pthread_mutex_timedlock (); below.
41585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41586 <limits.h> exists even on freestanding compilers. */
41589 # include <limits.h>
41591 # include <assert.h>
41594 #undef pthread_mutex_timedlock
41596 /* Override any GCC internal prototype to avoid an error.
41597 Use char because int might match the return type of a GCC
41598 builtin and then its argument prototype would still apply. */
41602 char pthread_mutex_timedlock ();
41603 /* The GNU C library defines this for functions which it implements
41604 to always fail with ENOSYS. Some functions are actually named
41605 something starting with __ and the normal name is an alias. */
41606 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41613 return pthread_mutex_timedlock ();
41618 rm -f conftest.$ac_objext conftest$ac_exeext
41619 if { (ac_try="$ac_link"
41620 case "(($ac_try" in
41621 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41622 *) ac_try_echo
=$ac_try;;
41624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41625 (eval "$ac_link") 2>conftest.er1
41627 grep -v '^ *+' conftest.er1
>conftest.err
41629 cat conftest.err
>&5
41630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41631 (exit $ac_status); } && {
41632 test -z "$ac_c_werror_flag" ||
41633 test ! -s conftest.err
41634 } && test -s conftest
$ac_exeext &&
41635 $as_test_x conftest
$ac_exeext; then
41636 ac_cv_func_pthread_mutex_timedlock
=yes
41638 echo "$as_me: failed program was:" >&5
41639 sed 's/^/| /' conftest.
$ac_ext >&5
41641 ac_cv_func_pthread_mutex_timedlock
=no
41644 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41645 conftest
$ac_exeext conftest.
$ac_ext
41647 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41648 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41649 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41650 cat >>confdefs.h
<<\_ACEOF
41651 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41655 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41656 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41660 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41661 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41662 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41663 echo $ECHO_N "(cached) $ECHO_C" >&6
41665 cat >conftest.
$ac_ext <<_ACEOF
41668 cat confdefs.h
>>conftest.
$ac_ext
41669 cat >>conftest.
$ac_ext <<_ACEOF
41670 /* end confdefs.h. */
41671 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41673 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41675 /* System header to define __stub macros and hopefully few prototypes,
41676 which can conflict with char pthread_attr_setstacksize (); below.
41677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41678 <limits.h> exists even on freestanding compilers. */
41681 # include <limits.h>
41683 # include <assert.h>
41686 #undef pthread_attr_setstacksize
41688 /* Override any GCC internal prototype to avoid an error.
41689 Use char because int might match the return type of a GCC
41690 builtin and then its argument prototype would still apply. */
41694 char pthread_attr_setstacksize ();
41695 /* The GNU C library defines this for functions which it implements
41696 to always fail with ENOSYS. Some functions are actually named
41697 something starting with __ and the normal name is an alias. */
41698 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41705 return pthread_attr_setstacksize ();
41710 rm -f conftest.
$ac_objext conftest
$ac_exeext
41711 if { (ac_try
="$ac_link"
41712 case "(($ac_try" in
41713 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41714 *) ac_try_echo=$ac_try;;
41716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41717 (eval "$ac_link") 2>conftest.er1
41719 grep -v '^ *+' conftest.er1 >conftest.err
41721 cat conftest.err >&5
41722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41723 (exit $ac_status); } && {
41724 test -z "$ac_c_werror_flag" ||
41725 test ! -s conftest.err
41726 } && test -s conftest$ac_exeext &&
41727 $as_test_x conftest$ac_exeext; then
41728 ac_cv_func_pthread_attr_setstacksize=yes
41730 echo "$as_me: failed program was:" >&5
41731 sed 's/^/| /' conftest.$ac_ext >&5
41733 ac_cv_func_pthread_attr_setstacksize=no
41736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41737 conftest$ac_exeext conftest.$ac_ext
41739 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41740 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41741 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41742 cat >>confdefs.h <<\_ACEOF
41743 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41750 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41751 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41752 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41753 echo $ECHO_N "(cached) $ECHO_C" >&6
41756 cat >conftest.$ac_ext <<_ACEOF
41759 cat confdefs.h >>conftest.$ac_ext
41760 cat >>conftest.$ac_ext <<_ACEOF
41761 /* end confdefs.h. */
41762 #include <pthread.h>
41767 pthread_mutexattr_t attr;
41768 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41774 rm -f conftest.$ac_objext
41775 if { (ac_try="$ac_compile"
41776 case "(($ac_try" in
41777 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41778 *) ac_try_echo
=$ac_try;;
41780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41781 (eval "$ac_compile") 2>conftest.er1
41783 grep -v '^ *+' conftest.er1
>conftest.err
41785 cat conftest.err
>&5
41786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41787 (exit $ac_status); } && {
41788 test -z "$ac_c_werror_flag" ||
41789 test ! -s conftest.err
41790 } && test -s conftest.
$ac_objext; then
41791 wx_cv_type_pthread_mutexattr_t
=yes
41793 echo "$as_me: failed program was:" >&5
41794 sed 's/^/| /' conftest.
$ac_ext >&5
41796 wx_cv_type_pthread_mutexattr_t
=no
41800 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41803 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41804 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41806 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41807 cat >>confdefs.h
<<\_ACEOF
41808 #define HAVE_PTHREAD_MUTEXATTR_T 1
41812 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41813 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41814 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41815 echo $ECHO_N "(cached) $ECHO_C" >&6
41818 cat >conftest.
$ac_ext <<_ACEOF
41821 cat confdefs.h
>>conftest.
$ac_ext
41822 cat >>conftest.
$ac_ext <<_ACEOF
41823 /* end confdefs.h. */
41824 #include <pthread.h>
41829 pthread_mutexattr_t attr;
41830 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41836 rm -f conftest.
$ac_objext
41837 if { (ac_try
="$ac_compile"
41838 case "(($ac_try" in
41839 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41840 *) ac_try_echo=$ac_try;;
41842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41843 (eval "$ac_compile") 2>conftest.er1
41845 grep -v '^ *+' conftest.er1 >conftest.err
41847 cat conftest.err >&5
41848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41849 (exit $ac_status); } && {
41850 test -z "$ac_c_werror_flag" ||
41851 test ! -s conftest.err
41852 } && test -s conftest.$ac_objext; then
41853 wx_cv_func_pthread_mutexattr_settype_decl=yes
41855 echo "$as_me: failed program was:" >&5
41856 sed 's/^/| /' conftest.$ac_ext >&5
41858 wx_cv_func_pthread_mutexattr_settype_decl=no
41862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41865 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41866 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41867 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41868 cat >>confdefs.h <<\_ACEOF
41869 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41874 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41875 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41876 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41877 echo $ECHO_N "(cached) $ECHO_C" >&6
41880 cat >conftest.$ac_ext <<_ACEOF
41883 cat confdefs.h >>conftest.$ac_ext
41884 cat >>conftest.$ac_ext <<_ACEOF
41885 /* end confdefs.h. */
41886 #include <pthread.h>
41891 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41897 rm -f conftest.$ac_objext
41898 if { (ac_try="$ac_compile"
41899 case "(($ac_try" in
41900 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41901 *) ac_try_echo
=$ac_try;;
41903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41904 (eval "$ac_compile") 2>conftest.er1
41906 grep -v '^ *+' conftest.er1
>conftest.err
41908 cat conftest.err
>&5
41909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41910 (exit $ac_status); } && {
41911 test -z "$ac_c_werror_flag" ||
41912 test ! -s conftest.err
41913 } && test -s conftest.
$ac_objext; then
41915 wx_cv_type_pthread_rec_mutex_init
=yes
41918 echo "$as_me: failed program was:" >&5
41919 sed 's/^/| /' conftest.
$ac_ext >&5
41922 wx_cv_type_pthread_rec_mutex_init
=no
41927 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41930 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41931 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41932 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41933 cat >>confdefs.h
<<\_ACEOF
41934 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41938 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41939 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41943 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41944 if test "$USE_NETBSD" = 1; then
41945 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41946 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41947 wxUSE_COMPILER_TLS
=no
41949 wxUSE_COMPILER_TLS
=yes
41953 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41954 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41955 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41956 if test "${wx_cv_cc___thread+set}" = set; then
41957 echo $ECHO_N "(cached) $ECHO_C" >&6
41960 cat >conftest.
$ac_ext <<_ACEOF
41963 cat confdefs.h
>>conftest.
$ac_ext
41964 cat >>conftest.
$ac_ext <<_ACEOF
41965 /* end confdefs.h. */
41966 #include <pthread.h>
41971 static __thread int n = 0;
41972 static __thread int *p = 0;
41978 rm -f conftest.
$ac_objext
41979 if { (ac_try
="$ac_compile"
41980 case "(($ac_try" in
41981 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41982 *) ac_try_echo=$ac_try;;
41984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41985 (eval "$ac_compile") 2>conftest.er1
41987 grep -v '^ *+' conftest.er1 >conftest.err
41989 cat conftest.err >&5
41990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41991 (exit $ac_status); } && {
41992 test -z "$ac_c_werror_flag" ||
41993 test ! -s conftest.err
41994 } && test -s conftest.$ac_objext; then
41995 wx_cv_cc___thread=yes
41997 echo "$as_me: failed program was:" >&5
41998 sed 's/^/| /' conftest.$ac_ext >&5
42000 wx_cv_cc___thread=no
42004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42008 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
42009 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
42011 if test "$wx_cv_cc___thread" = "yes"; then
42017 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
42018 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
42020 if test "x$GCC" = "xyes" ; then
42022 if test -z "" ; then
42024 ax_gcc_option_test="int main()
42031 ax_gcc_option_test=""
42036 # Dump the test program to file
42037 cat <<EOF > conftest.c
42038 $ax_gcc_option_test
42041 # Dump back the file to the log, useful for debugging purposes
42042 { ac_try='cat conftest.c 1>&5'
42043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42044 (eval $ac_try) 2>&5
42046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42047 (exit $ac_status); }; }
42049 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
42050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42051 (eval $ac_try) 2>&5
42053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42054 (exit $ac_status); }; } ; then
42056 { echo "$as_me:$LINENO: result: yes" >&5
42057 echo "${ECHO_T}yes" >&6; }
42059 ax_gcc_version_option=yes
42064 { echo "$as_me:$LINENO: result: no" >&5
42065 echo "${ECHO_T}no" >&6; }
42067 ax_gcc_version_option=no
42075 { echo "$as_me:$LINENO: result: no gcc available" >&5
42076 echo "${ECHO_T}no gcc available" >&6; }
42081 if test "x$GXX" = "xyes"; then
42083 if test "x$ax_gxx_version_option" != "no"; then
42085 { echo "$as_me:$LINENO: checking gxx version" >&5
42086 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
42087 if test "${ax_cv_gxx_version+set}" = set; then
42088 echo $ECHO_N "(cached) $ECHO_C" >&6
42091 ax_cv_gxx_version="`$CXX -dumpversion`"
42092 if test "x$ax_cv_gxx_version" = "x"; then
42094 ax_cv_gxx_version=""
42100 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
42101 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
42102 GXX_VERSION=$ax_cv_gxx_version
42111 if test -n "$ax_cv_gxx_version"; then
42112 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
42113 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
42114 case "$ax_cv_gxx_version" in
42116 { echo "$as_me:$LINENO: result: no, it's broken" >&5
42117 echo "${ECHO_T}no, it's broken" >&6; }
42118 wx_cv_cc___thread=no
42121 { echo "$as_me:$LINENO: result: yes, it works" >&5
42122 echo "${ECHO_T}yes, it works" >&6; }
42128 if test "$wx_cv_cc___thread" = "yes"; then
42129 cat >>confdefs.h <<\_ACEOF
42130 #define HAVE___THREAD_KEYWORD 1
42138 if test "$wxUSE_THREADS" = "yes" ; then
42140 x86_64-*-mingw32* )
42143 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42144 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42145 if test "${wx_cv_cflags_mthread+set}" = set; then
42146 echo $ECHO_N "(cached) $ECHO_C" >&6
42149 CFLAGS_OLD="$CFLAGS"
42150 CFLAGS="-mthreads $CFLAGS"
42151 cat >conftest.$ac_ext <<_ACEOF
42154 cat confdefs.h >>conftest.$ac_ext
42155 cat >>conftest.$ac_ext <<_ACEOF
42156 /* end confdefs.h. */
42166 rm -f conftest.$ac_objext
42167 if { (ac_try="$ac_compile"
42168 case "(($ac_try" in
42169 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42170 *) ac_try_echo
=$ac_try;;
42172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42173 (eval "$ac_compile") 2>conftest.er1
42175 grep -v '^ *+' conftest.er1
>conftest.err
42177 cat conftest.err
>&5
42178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42179 (exit $ac_status); } && {
42180 test -z "$ac_c_werror_flag" ||
42181 test ! -s conftest.err
42182 } && test -s conftest.
$ac_objext; then
42183 wx_cv_cflags_mthread
=yes
42185 echo "$as_me: failed program was:" >&5
42186 sed 's/^/| /' conftest.
$ac_ext >&5
42188 wx_cv_cflags_mthread
=no
42192 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42196 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42197 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42199 if test "$wx_cv_cflags_mthread" = "yes"; then
42200 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
42201 LDFLAGS
="$LDFLAGS -mthreads"
42203 CFLAGS
="$CFLAGS_OLD"
42207 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42208 LDFLAGS
="$LDFLAGS -Zmt"
42214 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42215 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42216 if test "${ac_cv_func_localtime_r+set}" = set; then
42217 echo $ECHO_N "(cached) $ECHO_C" >&6
42219 cat >conftest.
$ac_ext <<_ACEOF
42222 cat confdefs.h
>>conftest.
$ac_ext
42223 cat >>conftest.
$ac_ext <<_ACEOF
42224 /* end confdefs.h. */
42225 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42227 #define localtime_r innocuous_localtime_r
42229 /* System header to define __stub macros and hopefully few prototypes,
42230 which can conflict with char localtime_r (); below.
42231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42232 <limits.h> exists even on freestanding compilers. */
42235 # include <limits.h>
42237 # include <assert.h>
42242 /* Override any GCC internal prototype to avoid an error.
42243 Use char because int might match the return type of a GCC
42244 builtin and then its argument prototype would still apply. */
42248 char localtime_r ();
42249 /* The GNU C library defines this for functions which it implements
42250 to always fail with ENOSYS. Some functions are actually named
42251 something starting with __ and the normal name is an alias. */
42252 #if defined __stub_localtime_r || defined __stub___localtime_r
42259 return localtime_r ();
42264 rm -f conftest.
$ac_objext conftest
$ac_exeext
42265 if { (ac_try
="$ac_link"
42266 case "(($ac_try" in
42267 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42268 *) ac_try_echo=$ac_try;;
42270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42271 (eval "$ac_link") 2>conftest.er1
42273 grep -v '^ *+' conftest.er1 >conftest.err
42275 cat conftest.err >&5
42276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42277 (exit $ac_status); } && {
42278 test -z "$ac_c_werror_flag" ||
42279 test ! -s conftest.err
42280 } && test -s conftest$ac_exeext &&
42281 $as_test_x conftest$ac_exeext; then
42282 ac_cv_func_localtime_r=yes
42284 echo "$as_me: failed program was:" >&5
42285 sed 's/^/| /' conftest.$ac_ext >&5
42287 ac_cv_func_localtime_r=no
42290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42291 conftest$ac_exeext conftest.$ac_ext
42293 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42294 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42295 if test $ac_cv_func_localtime_r = yes; then
42296 cat >>confdefs.h <<\_ACEOF
42297 #define HAVE_LOCALTIME_R 1
42302 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42303 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42304 if test "${ac_cv_func_gmtime_r+set}" = set; then
42305 echo $ECHO_N "(cached) $ECHO_C" >&6
42307 cat >conftest.$ac_ext <<_ACEOF
42310 cat confdefs.h >>conftest.$ac_ext
42311 cat >>conftest.$ac_ext <<_ACEOF
42312 /* end confdefs.h. */
42313 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42315 #define gmtime_r innocuous_gmtime_r
42317 /* System header to define __stub macros and hopefully few prototypes,
42318 which can conflict with char gmtime_r (); below.
42319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42320 <limits.h> exists even on freestanding compilers. */
42323 # include <limits.h>
42325 # include <assert.h>
42330 /* Override any GCC internal prototype to avoid an error.
42331 Use char because int might match the return type of a GCC
42332 builtin and then its argument prototype would still apply. */
42337 /* The GNU C library defines this for functions which it implements
42338 to always fail with ENOSYS. Some functions are actually named
42339 something starting with __ and the normal name is an alias. */
42340 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42347 return gmtime_r ();
42352 rm -f conftest.$ac_objext conftest$ac_exeext
42353 if { (ac_try="$ac_link"
42354 case "(($ac_try" in
42355 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42356 *) ac_try_echo
=$ac_try;;
42358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42359 (eval "$ac_link") 2>conftest.er1
42361 grep -v '^ *+' conftest.er1
>conftest.err
42363 cat conftest.err
>&5
42364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42365 (exit $ac_status); } && {
42366 test -z "$ac_c_werror_flag" ||
42367 test ! -s conftest.err
42368 } && test -s conftest
$ac_exeext &&
42369 $as_test_x conftest
$ac_exeext; then
42370 ac_cv_func_gmtime_r
=yes
42372 echo "$as_me: failed program was:" >&5
42373 sed 's/^/| /' conftest.
$ac_ext >&5
42375 ac_cv_func_gmtime_r
=no
42378 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42379 conftest
$ac_exeext conftest.
$ac_ext
42381 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42382 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42383 if test $ac_cv_func_gmtime_r = yes; then
42384 cat >>confdefs.h
<<\_ACEOF
42385 #define HAVE_GMTIME_R 1
42394 ac_cpp
='$CPP $CPPFLAGS'
42395 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42396 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42397 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42399 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42400 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42402 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42403 echo $ECHO_N "(cached) $ECHO_C" >&6
42407 ################################################################
42409 ac_cv_func_which_gethostbyname_r
=unknown
42412 # ONE ARGUMENT (sanity check)
42415 # This should fail, as there is no variant of gethostbyname_r() that takes
42416 # a single argument. If it actually compiles, then we can assume that
42417 # netdb.h is not declaring the function, and the compiler is thereby
42418 # assuming an implicit prototype. In which case, we're out of luck.
42420 cat >conftest.
$ac_ext <<_ACEOF
42423 cat confdefs.h
>>conftest.
$ac_ext
42424 cat >>conftest.
$ac_ext <<_ACEOF
42425 /* end confdefs.h. */
42431 char *name = "www.gnu.org";
42432 (void)gethostbyname_r(name) /* ; */
42438 rm -f conftest.
$ac_objext
42439 if { (ac_try
="$ac_compile"
42440 case "(($ac_try" in
42441 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42442 *) ac_try_echo=$ac_try;;
42444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42445 (eval "$ac_compile") 2>conftest.er1
42447 grep -v '^ *+' conftest.er1 >conftest.err
42449 cat conftest.err >&5
42450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42451 (exit $ac_status); } && {
42452 test -z "$ac_c_werror_flag" ||
42453 test ! -s conftest.err
42454 } && test -s conftest.$ac_objext; then
42455 ac_cv_func_which_gethostbyname_r=no
42457 echo "$as_me: failed program was:" >&5
42458 sed 's/^/| /' conftest.$ac_ext >&5
42463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42470 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42472 cat >conftest.$ac_ext <<_ACEOF
42475 cat confdefs.h >>conftest.$ac_ext
42476 cat >>conftest.$ac_ext <<_ACEOF
42477 /* end confdefs.h. */
42483 char *name = "www.gnu.org";
42484 struct hostent ret, *retp;
42488 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42494 rm -f conftest.$ac_objext
42495 if { (ac_try="$ac_compile"
42496 case "(($ac_try" in
42497 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42498 *) ac_try_echo
=$ac_try;;
42500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42501 (eval "$ac_compile") 2>conftest.er1
42503 grep -v '^ *+' conftest.er1
>conftest.err
42505 cat conftest.err
>&5
42506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42507 (exit $ac_status); } && {
42508 test -z "$ac_c_werror_flag" ||
42509 test ! -s conftest.err
42510 } && test -s conftest.
$ac_objext; then
42511 ac_cv_func_which_gethostbyname_r
=six
42513 echo "$as_me: failed program was:" >&5
42514 sed 's/^/| /' conftest.
$ac_ext >&5
42519 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42528 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42530 cat >conftest.
$ac_ext <<_ACEOF
42533 cat confdefs.h
>>conftest.
$ac_ext
42534 cat >>conftest.
$ac_ext <<_ACEOF
42535 /* end confdefs.h. */
42541 char *name = "www.gnu.org";
42542 struct hostent ret;
42546 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42552 rm -f conftest.
$ac_objext
42553 if { (ac_try
="$ac_compile"
42554 case "(($ac_try" in
42555 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42556 *) ac_try_echo=$ac_try;;
42558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42559 (eval "$ac_compile") 2>conftest.er1
42561 grep -v '^ *+' conftest.er1 >conftest.err
42563 cat conftest.err >&5
42564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42565 (exit $ac_status); } && {
42566 test -z "$ac_c_werror_flag" ||
42567 test ! -s conftest.err
42568 } && test -s conftest.$ac_objext; then
42569 ac_cv_func_which_gethostbyname_r=five
42571 echo "$as_me: failed program was:" >&5
42572 sed 's/^/| /' conftest.$ac_ext >&5
42577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42583 # (e.g. AIX, HP-UX, Tru64)
42586 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42588 cat >conftest.$ac_ext <<_ACEOF
42591 cat confdefs.h >>conftest.$ac_ext
42592 cat >>conftest.$ac_ext <<_ACEOF
42593 /* end confdefs.h. */
42599 char *name = "www.gnu.org";
42600 struct hostent ret;
42601 struct hostent_data data;
42602 (void)gethostbyname_r(name, &ret, &data) /* ; */
42608 rm -f conftest.$ac_objext
42609 if { (ac_try="$ac_compile"
42610 case "(($ac_try" in
42611 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42612 *) ac_try_echo
=$ac_try;;
42614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42615 (eval "$ac_compile") 2>conftest.er1
42617 grep -v '^ *+' conftest.er1
>conftest.err
42619 cat conftest.err
>&5
42620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42621 (exit $ac_status); } && {
42622 test -z "$ac_c_werror_flag" ||
42623 test ! -s conftest.err
42624 } && test -s conftest.
$ac_objext; then
42625 ac_cv_func_which_gethostbyname_r
=three
42627 echo "$as_me: failed program was:" >&5
42628 sed 's/^/| /' conftest.
$ac_ext >&5
42633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42637 ################################################################
42642 case "$ac_cv_func_which_gethostbyname_r" in
42644 { echo "$as_me:$LINENO: result: three" >&5
42645 echo "${ECHO_T}three" >&6; }
42646 cat >>confdefs.h
<<\_ACEOF
42647 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42653 { echo "$as_me:$LINENO: result: five" >&5
42654 echo "${ECHO_T}five" >&6; }
42655 cat >>confdefs.h
<<\_ACEOF
42656 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42662 { echo "$as_me:$LINENO: result: six" >&5
42663 echo "${ECHO_T}six" >&6; }
42664 cat >>confdefs.h
<<\_ACEOF
42665 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42671 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42672 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42676 { echo "$as_me:$LINENO: result: can't tell" >&5
42677 echo "${ECHO_T}can't tell" >&6; }
42681 { { echo "$as_me:$LINENO: error: internal error" >&5
42682 echo "$as_me: error: internal error" >&2;}
42683 { (exit 1); exit 1; }; }
42688 ac_cpp
='$CPP $CPPFLAGS'
42689 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42690 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42691 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42695 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42696 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42697 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42698 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42699 if test "${ac_cv_func_gethostbyname+set}" = set; then
42700 echo $ECHO_N "(cached) $ECHO_C" >&6
42702 cat >conftest.
$ac_ext <<_ACEOF
42705 cat confdefs.h
>>conftest.
$ac_ext
42706 cat >>conftest.
$ac_ext <<_ACEOF
42707 /* end confdefs.h. */
42708 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42710 #define gethostbyname innocuous_gethostbyname
42712 /* System header to define __stub macros and hopefully few prototypes,
42713 which can conflict with char gethostbyname (); below.
42714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42715 <limits.h> exists even on freestanding compilers. */
42718 # include <limits.h>
42720 # include <assert.h>
42723 #undef gethostbyname
42725 /* Override any GCC internal prototype to avoid an error.
42726 Use char because int might match the return type of a GCC
42727 builtin and then its argument prototype would still apply. */
42731 char gethostbyname ();
42732 /* The GNU C library defines this for functions which it implements
42733 to always fail with ENOSYS. Some functions are actually named
42734 something starting with __ and the normal name is an alias. */
42735 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42742 return gethostbyname ();
42747 rm -f conftest.
$ac_objext conftest
$ac_exeext
42748 if { (ac_try
="$ac_link"
42749 case "(($ac_try" in
42750 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42751 *) ac_try_echo=$ac_try;;
42753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42754 (eval "$ac_link") 2>conftest.er1
42756 grep -v '^ *+' conftest.er1 >conftest.err
42758 cat conftest.err >&5
42759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42760 (exit $ac_status); } && {
42761 test -z "$ac_c_werror_flag" ||
42762 test ! -s conftest.err
42763 } && test -s conftest$ac_exeext &&
42764 $as_test_x conftest$ac_exeext; then
42765 ac_cv_func_gethostbyname=yes
42767 echo "$as_me: failed program was:" >&5
42768 sed 's/^/| /' conftest.$ac_ext >&5
42770 ac_cv_func_gethostbyname=no
42773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42774 conftest$ac_exeext conftest.$ac_ext
42776 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42777 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42778 if test $ac_cv_func_gethostbyname = yes; then
42779 cat >>confdefs.h <<\_ACEOF
42780 #define HAVE_GETHOSTBYNAME 1
42787 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42788 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42789 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42790 echo $ECHO_N "(cached) $ECHO_C" >&6
42794 ac_cpp='$CXXCPP $CPPFLAGS'
42795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42800 cat >conftest.$ac_ext <<_ACEOF
42803 cat confdefs.h >>conftest.$ac_ext
42804 cat >>conftest.$ac_ext <<_ACEOF
42805 /* end confdefs.h. */
42813 struct servent *se, *res;
42816 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42822 rm -f conftest.$ac_objext
42823 if { (ac_try="$ac_compile"
42824 case "(($ac_try" in
42825 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42826 *) ac_try_echo
=$ac_try;;
42828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42829 (eval "$ac_compile") 2>conftest.er1
42831 grep -v '^ *+' conftest.er1
>conftest.err
42833 cat conftest.err
>&5
42834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42835 (exit $ac_status); } && {
42836 test -z "$ac_cxx_werror_flag" ||
42837 test ! -s conftest.err
42838 } && test -s conftest.
$ac_objext; then
42839 ac_cv_func_which_getservbyname_r
=six
42841 echo "$as_me: failed program was:" >&5
42842 sed 's/^/| /' conftest.
$ac_ext >&5
42845 cat >conftest.
$ac_ext <<_ACEOF
42848 cat confdefs.h
>>conftest.
$ac_ext
42849 cat >>conftest.
$ac_ext <<_ACEOF
42850 /* end confdefs.h. */
42858 struct servent *se;
42861 (void) getservbyname_r(name, proto, se, buffer, buflen)
42867 rm -f conftest.
$ac_objext
42868 if { (ac_try
="$ac_compile"
42869 case "(($ac_try" in
42870 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42871 *) ac_try_echo=$ac_try;;
42873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42874 (eval "$ac_compile") 2>conftest.er1
42876 grep -v '^ *+' conftest.er1 >conftest.err
42878 cat conftest.err >&5
42879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42880 (exit $ac_status); } && {
42881 test -z "$ac_cxx_werror_flag" ||
42882 test ! -s conftest.err
42883 } && test -s conftest.$ac_objext; then
42884 ac_cv_func_which_getservbyname_r=five
42886 echo "$as_me: failed program was:" >&5
42887 sed 's/^/| /' conftest.$ac_ext >&5
42890 cat >conftest.$ac_ext <<_ACEOF
42893 cat confdefs.h >>conftest.$ac_ext
42894 cat >>conftest.$ac_ext <<_ACEOF
42895 /* end confdefs.h. */
42903 struct servent *se;
42904 struct servent_data data;
42905 (void) getservbyname_r(name, proto, se, &data);
42911 rm -f conftest.$ac_objext
42912 if { (ac_try="$ac_compile"
42913 case "(($ac_try" in
42914 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42915 *) ac_try_echo
=$ac_try;;
42917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42918 (eval "$ac_compile") 2>conftest.er1
42920 grep -v '^ *+' conftest.er1
>conftest.err
42922 cat conftest.err
>&5
42923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42924 (exit $ac_status); } && {
42925 test -z "$ac_cxx_werror_flag" ||
42926 test ! -s conftest.err
42927 } && test -s conftest.
$ac_objext; then
42928 ac_cv_func_which_getservbyname_r
=four
42930 echo "$as_me: failed program was:" >&5
42931 sed 's/^/| /' conftest.
$ac_ext >&5
42933 ac_cv_func_which_getservbyname_r
=no
42937 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42942 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42947 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42949 ac_cpp
='$CPP $CPPFLAGS'
42950 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42951 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42952 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42957 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42958 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42960 if test $ac_cv_func_which_getservbyname_r = six
; then
42961 cat >>confdefs.h
<<\_ACEOF
42962 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42965 elif test $ac_cv_func_which_getservbyname_r = five
; then
42966 cat >>confdefs.h
<<\_ACEOF
42967 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42970 elif test $ac_cv_func_which_getservbyname_r = four
; then
42971 cat >>confdefs.h
<<\_ACEOF
42972 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42978 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42979 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42981 for ac_func
in getservbyname
42983 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42984 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42986 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42987 echo $ECHO_N "(cached) $ECHO_C" >&6
42989 cat >conftest.
$ac_ext <<_ACEOF
42992 cat confdefs.h
>>conftest.
$ac_ext
42993 cat >>conftest.
$ac_ext <<_ACEOF
42994 /* end confdefs.h. */
42995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42997 #define $ac_func innocuous_$ac_func
42999 /* System header to define __stub macros and hopefully few prototypes,
43000 which can conflict with char $ac_func (); below.
43001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43002 <limits.h> exists even on freestanding compilers. */
43005 # include <limits.h>
43007 # include <assert.h>
43012 /* Override any GCC internal prototype to avoid an error.
43013 Use char because int might match the return type of a GCC
43014 builtin and then its argument prototype would still apply. */
43019 /* The GNU C library defines this for functions which it implements
43020 to always fail with ENOSYS. Some functions are actually named
43021 something starting with __ and the normal name is an alias. */
43022 #if defined __stub_$ac_func || defined __stub___$ac_func
43029 return $ac_func ();
43034 rm -f conftest.
$ac_objext conftest
$ac_exeext
43035 if { (ac_try
="$ac_link"
43036 case "(($ac_try" in
43037 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43038 *) ac_try_echo=$ac_try;;
43040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43041 (eval "$ac_link") 2>conftest.er1
43043 grep -v '^ *+' conftest.er1 >conftest.err
43045 cat conftest.err >&5
43046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43047 (exit $ac_status); } && {
43048 test -z "$ac_c_werror_flag" ||
43049 test ! -s conftest.err
43050 } && test -s conftest$ac_exeext &&
43051 $as_test_x conftest$ac_exeext; then
43052 eval "$as_ac_var=yes"
43054 echo "$as_me: failed program was:" >&5
43055 sed 's/^/| /' conftest.$ac_ext >&5
43057 eval "$as_ac_var=no"
43060 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43061 conftest$ac_exeext conftest.$ac_ext
43063 ac_res=`eval echo '${'$as_ac_var'}'`
43064 { echo "$as_me:$LINENO: result: $ac_res" >&5
43065 echo "${ECHO_T}$ac_res" >&6; }
43066 if test `eval echo '${'$as_ac_var'}'` = yes; then
43067 cat >>confdefs.h <<_ACEOF
43068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43070 cat >>confdefs.h <<\_ACEOF
43071 #define HAVE_GETSERVBYNAME 1
43079 if test "$wxUSE_THREADS" = "yes"; then
43080 cat >>confdefs.h <<\_ACEOF
43081 #define wxUSE_THREADS 1
43085 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43087 if test "$wx_cv_func_strtok_r" = "yes"; then
43088 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43089 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43090 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43091 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43092 { echo "$as_me:$LINENO: result: yes" >&5
43093 echo "${ECHO_T}yes" >&6; }
43095 { echo "$as_me:$LINENO: result: no" >&5
43096 echo "${ECHO_T}no" >&6; }
43101 if test "$WXGTK2" = 1 ; then
43102 cat >>confdefs.h <<_ACEOF
43103 #define __WXGTK20__ $WXGTK2
43108 if test "$WXGTK127" = 1 ; then
43109 cat >>confdefs.h <<_ACEOF
43110 #define __WXGTK127__ $WXGTK127
43115 if test "$WXGPE" = 1 ; then
43116 cat >>confdefs.h <<_ACEOF
43117 #define __WXGPE__ $WXGPE
43123 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev
/null
`; then
43124 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
43125 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
43126 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
43130 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43131 wxUSE_DEBUG_INFO=yes
43132 if test "$GCC" = yes; then
43133 DEBUG_CFLAGS="-ggdb"
43137 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
43138 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
43140 if test "$wxUSE_GTK" = 1 ; then
43141 if test "x$wxGTK_VERSION" = "x1" ; then
43142 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43144 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
43149 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43150 cat >>confdefs.h <<\_ACEOF
43151 #define wxUSE_MEMORY_TRACING 1
43154 cat >>confdefs.h <<\_ACEOF
43155 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43158 cat >>confdefs.h <<\_ACEOF
43159 #define wxUSE_DEBUG_NEW_ALWAYS 1
43162 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43165 if test "$wxUSE_DMALLOC" = "yes" ; then
43166 DMALLOC_LIBS="-ldmallocthcxx"
43170 if test "$wxUSE_PROFILE" = "yes" ; then
43171 PROFILE_FLAGS=" -pg"
43174 if test "$GCC" = "yes" ; then
43175 if test "$wxUSE_NO_RTTI" = "yes" ; then
43176 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
43178 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43179 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43181 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43182 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43187 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43190 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43196 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev
/null
`; then
43197 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
43198 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
43200 if test "$wxUSE_OPTIMISE" = "no" ; then
43201 if test "$GCC" = yes ; then
43202 OPTIMISE_CFLAGS="-O0"
43205 if test "$GCC" = yes ; then
43207 *-pc-os2_emx | *-pc-os2-emx )
43208 OPTIMISE_CFLAGS="-O2"
43211 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43215 OPTIMISE_CFLAGS="-O"
43221 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43222 cat >>confdefs.h <<\_ACEOF
43223 #define WXWIN_COMPATIBILITY_2_6 1
43227 WXWIN_COMPATIBILITY_2_8="yes"
43230 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43231 cat >>confdefs.h <<\_ACEOF
43232 #define WXWIN_COMPATIBILITY_2_8 1
43238 if test "$wxUSE_GUI" = "yes"; then
43239 cat >>confdefs.h <<\_ACEOF
43240 #define wxUSE_GUI 1
43247 if test "$wxUSE_UNIX" = "yes"; then
43248 cat >>confdefs.h <<\_ACEOF
43249 #define wxUSE_UNIX 1
43255 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43259 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43260 if test "$USE_DOS" = 1; then
43264 for ac_func in dlopen
43266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43267 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43269 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43270 echo $ECHO_N "(cached) $ECHO_C" >&6
43272 cat >conftest.$ac_ext <<_ACEOF
43275 cat confdefs.h >>conftest.$ac_ext
43276 cat >>conftest.$ac_ext <<_ACEOF
43277 /* end confdefs.h. */
43278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43280 #define $ac_func innocuous_$ac_func
43282 /* System header to define __stub macros and hopefully few prototypes,
43283 which can conflict with char $ac_func (); below.
43284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43285 <limits.h> exists even on freestanding compilers. */
43288 # include <limits.h>
43290 # include <assert.h>
43295 /* Override any GCC internal prototype to avoid an error.
43296 Use char because int might match the return type of a GCC
43297 builtin and then its argument prototype would still apply. */
43302 /* The GNU C library defines this for functions which it implements
43303 to always fail with ENOSYS. Some functions are actually named
43304 something starting with __ and the normal name is an alias. */
43305 #if defined __stub_$ac_func || defined __stub___$ac_func
43312 return $ac_func ();
43317 rm -f conftest.$ac_objext conftest$ac_exeext
43318 if { (ac_try="$ac_link"
43319 case "(($ac_try" in
43320 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43321 *) ac_try_echo
=$ac_try;;
43323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43324 (eval "$ac_link") 2>conftest.er1
43326 grep -v '^ *+' conftest.er1
>conftest.err
43328 cat conftest.err
>&5
43329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43330 (exit $ac_status); } && {
43331 test -z "$ac_c_werror_flag" ||
43332 test ! -s conftest.err
43333 } && test -s conftest
$ac_exeext &&
43334 $as_test_x conftest
$ac_exeext; then
43335 eval "$as_ac_var=yes"
43337 echo "$as_me: failed program was:" >&5
43338 sed 's/^/| /' conftest.
$ac_ext >&5
43340 eval "$as_ac_var=no"
43343 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43344 conftest
$ac_exeext conftest.
$ac_ext
43346 ac_res
=`eval echo '${'$as_ac_var'}'`
43347 { echo "$as_me:$LINENO: result: $ac_res" >&5
43348 echo "${ECHO_T}$ac_res" >&6; }
43349 if test `eval echo '${'$as_ac_var'}'` = yes; then
43350 cat >>confdefs.h
<<_ACEOF
43351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43354 cat >>confdefs.h
<<\_ACEOF
43355 #define HAVE_DLOPEN 1
43362 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43363 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43364 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43365 echo $ECHO_N "(cached) $ECHO_C" >&6
43367 ac_check_lib_save_LIBS
=$LIBS
43369 cat >conftest.
$ac_ext <<_ACEOF
43372 cat confdefs.h
>>conftest.
$ac_ext
43373 cat >>conftest.
$ac_ext <<_ACEOF
43374 /* end confdefs.h. */
43376 /* Override any GCC internal prototype to avoid an error.
43377 Use char because int might match the return type of a GCC
43378 builtin and then its argument prototype would still apply. */
43391 rm -f conftest.
$ac_objext conftest
$ac_exeext
43392 if { (ac_try
="$ac_link"
43393 case "(($ac_try" in
43394 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43395 *) ac_try_echo=$ac_try;;
43397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43398 (eval "$ac_link") 2>conftest.er1
43400 grep -v '^ *+' conftest.er1 >conftest.err
43402 cat conftest.err >&5
43403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43404 (exit $ac_status); } && {
43405 test -z "$ac_c_werror_flag" ||
43406 test ! -s conftest.err
43407 } && test -s conftest$ac_exeext &&
43408 $as_test_x conftest$ac_exeext; then
43409 ac_cv_lib_dl_dlopen=yes
43411 echo "$as_me: failed program was:" >&5
43412 sed 's/^/| /' conftest.$ac_ext >&5
43414 ac_cv_lib_dl_dlopen=no
43417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43418 conftest$ac_exeext conftest.$ac_ext
43419 LIBS=$ac_check_lib_save_LIBS
43421 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43422 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43423 if test $ac_cv_lib_dl_dlopen = yes; then
43425 cat >>confdefs.h <<\_ACEOF
43426 #define HAVE_DLOPEN 1
43430 DL_LINK=" -ldl$DL_LINK"
43435 for ac_func in shl_load
43437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43438 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43440 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43441 echo $ECHO_N "(cached) $ECHO_C" >&6
43443 cat >conftest.$ac_ext <<_ACEOF
43446 cat confdefs.h >>conftest.$ac_ext
43447 cat >>conftest.$ac_ext <<_ACEOF
43448 /* end confdefs.h. */
43449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43451 #define $ac_func innocuous_$ac_func
43453 /* System header to define __stub macros and hopefully few prototypes,
43454 which can conflict with char $ac_func (); below.
43455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43456 <limits.h> exists even on freestanding compilers. */
43459 # include <limits.h>
43461 # include <assert.h>
43466 /* Override any GCC internal prototype to avoid an error.
43467 Use char because int might match the return type of a GCC
43468 builtin and then its argument prototype would still apply. */
43473 /* The GNU C library defines this for functions which it implements
43474 to always fail with ENOSYS. Some functions are actually named
43475 something starting with __ and the normal name is an alias. */
43476 #if defined __stub_$ac_func || defined __stub___$ac_func
43483 return $ac_func ();
43488 rm -f conftest.$ac_objext conftest$ac_exeext
43489 if { (ac_try="$ac_link"
43490 case "(($ac_try" in
43491 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43492 *) ac_try_echo
=$ac_try;;
43494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43495 (eval "$ac_link") 2>conftest.er1
43497 grep -v '^ *+' conftest.er1
>conftest.err
43499 cat conftest.err
>&5
43500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43501 (exit $ac_status); } && {
43502 test -z "$ac_c_werror_flag" ||
43503 test ! -s conftest.err
43504 } && test -s conftest
$ac_exeext &&
43505 $as_test_x conftest
$ac_exeext; then
43506 eval "$as_ac_var=yes"
43508 echo "$as_me: failed program was:" >&5
43509 sed 's/^/| /' conftest.
$ac_ext >&5
43511 eval "$as_ac_var=no"
43514 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43515 conftest
$ac_exeext conftest.
$ac_ext
43517 ac_res
=`eval echo '${'$as_ac_var'}'`
43518 { echo "$as_me:$LINENO: result: $ac_res" >&5
43519 echo "${ECHO_T}$ac_res" >&6; }
43520 if test `eval echo '${'$as_ac_var'}'` = yes; then
43521 cat >>confdefs.h
<<_ACEOF
43522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43525 cat >>confdefs.h
<<\_ACEOF
43526 #define HAVE_SHL_LOAD 1
43533 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43534 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43535 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43536 echo $ECHO_N "(cached) $ECHO_C" >&6
43538 ac_check_lib_save_LIBS
=$LIBS
43539 LIBS
="-lshl_load $LIBS"
43540 cat >conftest.
$ac_ext <<_ACEOF
43543 cat confdefs.h
>>conftest.
$ac_ext
43544 cat >>conftest.
$ac_ext <<_ACEOF
43545 /* end confdefs.h. */
43547 /* Override any GCC internal prototype to avoid an error.
43548 Use char because int might match the return type of a GCC
43549 builtin and then its argument prototype would still apply. */
43562 rm -f conftest.
$ac_objext conftest
$ac_exeext
43563 if { (ac_try
="$ac_link"
43564 case "(($ac_try" in
43565 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43566 *) ac_try_echo=$ac_try;;
43568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43569 (eval "$ac_link") 2>conftest.er1
43571 grep -v '^ *+' conftest.er1 >conftest.err
43573 cat conftest.err >&5
43574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43575 (exit $ac_status); } && {
43576 test -z "$ac_c_werror_flag" ||
43577 test ! -s conftest.err
43578 } && test -s conftest$ac_exeext &&
43579 $as_test_x conftest$ac_exeext; then
43580 ac_cv_lib_shl_load_dld=yes
43582 echo "$as_me: failed program was:" >&5
43583 sed 's/^/| /' conftest.$ac_ext >&5
43585 ac_cv_lib_shl_load_dld=no
43588 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43589 conftest$ac_exeext conftest.$ac_ext
43590 LIBS=$ac_check_lib_save_LIBS
43592 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43593 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43594 if test $ac_cv_lib_shl_load_dld = yes; then
43597 DL_LINK=" -ldld$DL_LINK"
43613 if test "$HAVE_DL_FUNCS" = 1; then
43615 for ac_func in dlerror
43617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43618 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43620 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43621 echo $ECHO_N "(cached) $ECHO_C" >&6
43623 cat >conftest.$ac_ext <<_ACEOF
43626 cat confdefs.h >>conftest.$ac_ext
43627 cat >>conftest.$ac_ext <<_ACEOF
43628 /* end confdefs.h. */
43629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43631 #define $ac_func innocuous_$ac_func
43633 /* System header to define __stub macros and hopefully few prototypes,
43634 which can conflict with char $ac_func (); below.
43635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43636 <limits.h> exists even on freestanding compilers. */
43639 # include <limits.h>
43641 # include <assert.h>
43646 /* Override any GCC internal prototype to avoid an error.
43647 Use char because int might match the return type of a GCC
43648 builtin and then its argument prototype would still apply. */
43653 /* The GNU C library defines this for functions which it implements
43654 to always fail with ENOSYS. Some functions are actually named
43655 something starting with __ and the normal name is an alias. */
43656 #if defined __stub_$ac_func || defined __stub___$ac_func
43663 return $ac_func ();
43668 rm -f conftest.$ac_objext conftest$ac_exeext
43669 if { (ac_try="$ac_link"
43670 case "(($ac_try" in
43671 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43672 *) ac_try_echo
=$ac_try;;
43674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43675 (eval "$ac_link") 2>conftest.er1
43677 grep -v '^ *+' conftest.er1
>conftest.err
43679 cat conftest.err
>&5
43680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43681 (exit $ac_status); } && {
43682 test -z "$ac_c_werror_flag" ||
43683 test ! -s conftest.err
43684 } && test -s conftest
$ac_exeext &&
43685 $as_test_x conftest
$ac_exeext; then
43686 eval "$as_ac_var=yes"
43688 echo "$as_me: failed program was:" >&5
43689 sed 's/^/| /' conftest.
$ac_ext >&5
43691 eval "$as_ac_var=no"
43694 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43695 conftest
$ac_exeext conftest.
$ac_ext
43697 ac_res
=`eval echo '${'$as_ac_var'}'`
43698 { echo "$as_me:$LINENO: result: $ac_res" >&5
43699 echo "${ECHO_T}$ac_res" >&6; }
43700 if test `eval echo '${'$as_ac_var'}'` = yes; then
43701 cat >>confdefs.h
<<_ACEOF
43702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43704 cat >>confdefs.h
<<\_ACEOF
43705 #define HAVE_DLERROR 1
43710 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43711 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43712 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43713 echo $ECHO_N "(cached) $ECHO_C" >&6
43715 ac_check_lib_save_LIBS
=$LIBS
43717 cat >conftest.
$ac_ext <<_ACEOF
43720 cat confdefs.h
>>conftest.
$ac_ext
43721 cat >>conftest.
$ac_ext <<_ACEOF
43722 /* end confdefs.h. */
43724 /* Override any GCC internal prototype to avoid an error.
43725 Use char because int might match the return type of a GCC
43726 builtin and then its argument prototype would still apply. */
43739 rm -f conftest.
$ac_objext conftest
$ac_exeext
43740 if { (ac_try
="$ac_link"
43741 case "(($ac_try" in
43742 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43743 *) ac_try_echo=$ac_try;;
43745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43746 (eval "$ac_link") 2>conftest.er1
43748 grep -v '^ *+' conftest.er1 >conftest.err
43750 cat conftest.err >&5
43751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43752 (exit $ac_status); } && {
43753 test -z "$ac_c_werror_flag" ||
43754 test ! -s conftest.err
43755 } && test -s conftest$ac_exeext &&
43756 $as_test_x conftest$ac_exeext; then
43757 ac_cv_lib_dl_dlerror=yes
43759 echo "$as_me: failed program was:" >&5
43760 sed 's/^/| /' conftest.$ac_ext >&5
43762 ac_cv_lib_dl_dlerror=no
43765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43766 conftest$ac_exeext conftest.$ac_ext
43767 LIBS=$ac_check_lib_save_LIBS
43769 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43770 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43771 if test $ac_cv_lib_dl_dlerror = yes; then
43772 cat >>confdefs.h <<\_ACEOF
43773 #define HAVE_DLERROR 1
43786 if test "$USE_DARWIN" = 1; then
43790 if test "$HAVE_DL_FUNCS" = 0; then
43791 if test "$HAVE_SHL_FUNCS" = 0; then
43792 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43793 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43794 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43795 wxUSE_DYNAMIC_LOADER=no
43796 wxUSE_DYNLIB_CLASS=no
43798 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43799 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43806 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43807 cat >>confdefs.h <<\_ACEOF
43808 #define wxUSE_DYNAMIC_LOADER 1
43812 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43813 cat >>confdefs.h <<\_ACEOF
43814 #define wxUSE_DYNLIB_CLASS 1
43821 if test "$wxUSE_PLUGINS" = "yes" ; then
43822 if test "$wxUSE_SHARED" = "no" ; then
43823 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43824 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43827 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43828 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43829 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43832 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43833 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43834 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43837 if test "$wxUSE_PLUGINS" = "yes" ; then
43838 cat >>confdefs.h <<\_ACEOF
43839 #define wxUSE_PLUGINS 1
43846 if test "$wxUSE_FSWATCHER" = "yes"; then
43847 if test "$wxUSE_MSW" != "1"; then
43848 if test "$wxUSE_UNIX" = "yes"; then
43850 for ac_header in sys/inotify.h
43852 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43853 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43855 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43856 echo $ECHO_N "(cached) $ECHO_C" >&6
43858 cat >conftest.$ac_ext <<_ACEOF
43861 cat confdefs.h >>conftest.$ac_ext
43862 cat >>conftest.$ac_ext <<_ACEOF
43863 /* end confdefs.h. */
43864 $ac_includes_default
43866 #include <$ac_header>
43868 rm -f conftest.$ac_objext
43869 if { (ac_try="$ac_compile"
43870 case "(($ac_try" in
43871 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43872 *) ac_try_echo
=$ac_try;;
43874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43875 (eval "$ac_compile") 2>conftest.er1
43877 grep -v '^ *+' conftest.er1
>conftest.err
43879 cat conftest.err
>&5
43880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43881 (exit $ac_status); } && {
43882 test -z "$ac_c_werror_flag" ||
43883 test ! -s conftest.err
43884 } && test -s conftest.
$ac_objext; then
43885 eval "$as_ac_Header=yes"
43887 echo "$as_me: failed program was:" >&5
43888 sed 's/^/| /' conftest.
$ac_ext >&5
43890 eval "$as_ac_Header=no"
43893 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43895 ac_res
=`eval echo '${'$as_ac_Header'}'`
43896 { echo "$as_me:$LINENO: result: $ac_res" >&5
43897 echo "${ECHO_T}$ac_res" >&6; }
43898 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43899 cat >>confdefs.h
<<_ACEOF
43900 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43907 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43908 cat >>confdefs.h
<<\_ACEOF
43909 #define wxHAS_INOTIFY 1
43914 for ac_header
in sys
/event.h
43916 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43917 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43918 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43919 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43920 echo $ECHO_N "(cached) $ECHO_C" >&6
43922 cat >conftest.
$ac_ext <<_ACEOF
43925 cat confdefs.h
>>conftest.
$ac_ext
43926 cat >>conftest.
$ac_ext <<_ACEOF
43927 /* end confdefs.h. */
43928 $ac_includes_default
43930 #include <$ac_header>
43932 rm -f conftest.
$ac_objext
43933 if { (ac_try
="$ac_compile"
43934 case "(($ac_try" in
43935 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43936 *) ac_try_echo=$ac_try;;
43938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43939 (eval "$ac_compile") 2>conftest.er1
43941 grep -v '^ *+' conftest.er1 >conftest.err
43943 cat conftest.err >&5
43944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43945 (exit $ac_status); } && {
43946 test -z "$ac_c_werror_flag" ||
43947 test ! -s conftest.err
43948 } && test -s conftest.$ac_objext; then
43949 eval "$as_ac_Header=yes"
43951 echo "$as_me: failed program was:" >&5
43952 sed 's/^/| /' conftest.$ac_ext >&5
43954 eval "$as_ac_Header=no"
43957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43959 ac_res=`eval echo '${'$as_ac_Header'}'`
43960 { echo "$as_me:$LINENO: result: $ac_res" >&5
43961 echo "${ECHO_T}$ac_res" >&6; }
43962 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43963 cat >>confdefs.h <<_ACEOF
43964 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43971 if test "$ac_cv_header_sys_event_h" = "yes"; then
43972 cat >>confdefs.h <<\_ACEOF
43973 #define wxHAS_KQUEUE 1
43984 if test "$wxUSE_THREADS" != "yes"; then
43985 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
43986 echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
43991 if test "$wxUSE_FSWATCHER" = "yes"; then
43992 cat >>confdefs.h <<\_ACEOF
43993 #define wxUSE_FSWATCHER 1
43996 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43998 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43999 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
44004 if test "$wxUSE_STL" = "yes"; then
44005 cat >>confdefs.h <<\_ACEOF
44006 #define wxUSE_STL 1
44011 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44012 cat >>confdefs.h <<\_ACEOF
44013 #define wxUSE_EXTENDED_RTTI 1
44018 if test "$wxUSE_ANY" = "yes"; then
44019 cat >>confdefs.h <<\_ACEOF
44020 #define wxUSE_ANY 1
44025 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44026 cat >>confdefs.h <<\_ACEOF
44027 #define wxUSE_APPLE_IEEE 1
44032 if test "$wxUSE_TIMER" = "yes"; then
44033 cat >>confdefs.h <<\_ACEOF
44034 #define wxUSE_TIMER 1
44039 if test "$USE_UNIX" = 1 ; then
44040 if test "$wxUSE_MGL" != 1; then
44041 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44042 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44043 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44044 echo $ECHO_N "(cached) $ECHO_C" >&6
44047 cat >conftest.$ac_ext <<_ACEOF
44050 cat confdefs.h >>conftest.$ac_ext
44051 cat >>conftest.$ac_ext <<_ACEOF
44052 /* end confdefs.h. */
44054 #include <sys/ioctl.h>
44055 #include <sys/soundcard.h>
44061 ioctl(0, SNDCTL_DSP_SPEED, 0);
44067 rm -f conftest.$ac_objext conftest$ac_exeext
44068 if { (ac_try="$ac_link"
44069 case "(($ac_try" in
44070 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44071 *) ac_try_echo
=$ac_try;;
44073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44074 (eval "$ac_link") 2>conftest.er1
44076 grep -v '^ *+' conftest.er1
>conftest.err
44078 cat conftest.err
>&5
44079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44080 (exit $ac_status); } && {
44081 test -z "$ac_c_werror_flag" ||
44082 test ! -s conftest.err
44083 } && test -s conftest
$ac_exeext &&
44084 $as_test_x conftest
$ac_exeext; then
44085 ac_cv_header_sys_soundcard
=yes
44087 echo "$as_me: failed program was:" >&5
44088 sed 's/^/| /' conftest.
$ac_ext >&5
44092 LIBS
="$saveLibs -lossaudio"
44093 cat >conftest.
$ac_ext <<_ACEOF
44096 cat confdefs.h
>>conftest.
$ac_ext
44097 cat >>conftest.
$ac_ext <<_ACEOF
44098 /* end confdefs.h. */
44100 #include <sys/ioctl.h>
44101 #include <sys/soundcard.h>
44107 ioctl(0, SNDCTL_DSP_SPEED, 0);
44113 rm -f conftest.
$ac_objext conftest
$ac_exeext
44114 if { (ac_try
="$ac_link"
44115 case "(($ac_try" in
44116 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44117 *) ac_try_echo=$ac_try;;
44119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44120 (eval "$ac_link") 2>conftest.er1
44122 grep -v '^ *+' conftest.er1 >conftest.err
44124 cat conftest.err >&5
44125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44126 (exit $ac_status); } && {
44127 test -z "$ac_c_werror_flag" ||
44128 test ! -s conftest.err
44129 } && test -s conftest$ac_exeext &&
44130 $as_test_x conftest$ac_exeext; then
44131 ac_cv_header_sys_soundcard=yes
44133 echo "$as_me: failed program was:" >&5
44134 sed 's/^/| /' conftest.$ac_ext >&5
44138 ac_cv_header_sys_soundcard=no
44143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44144 conftest$ac_exeext conftest.$ac_ext
44149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44150 conftest$ac_exeext conftest.$ac_ext
44153 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44154 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44157 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44158 cat >>confdefs.h <<\_ACEOF
44159 #define HAVE_SYS_SOUNDCARD_H 1
44166 if test "$wxUSE_SOUND" = "yes"; then
44167 if test "$USE_UNIX" = 1 ; then
44168 if test "$wxUSE_LIBSDL" != "no"; then
44170 # Check whether --with-sdl-prefix was given.
44171 if test "${with_sdl_prefix+set}" = set; then
44172 withval=$with_sdl_prefix; sdl_prefix="$withval"
44178 # Check whether --with-sdl-exec-prefix was given.
44179 if test "${with_sdl_exec_prefix+set}" = set; then
44180 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44185 # Check whether --enable-sdltest was given.
44186 if test "${enable_sdltest+set}" = set; then
44187 enableval=$enable_sdltest;
44193 if test x$sdl_exec_prefix != x ; then
44194 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44195 if test x${SDL_CONFIG+set} != xset ; then
44196 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44199 if test x$sdl_prefix != x ; then
44200 sdl_args="$sdl_args --prefix=$sdl_prefix"
44201 if test x${SDL_CONFIG+set} != xset ; then
44202 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44206 if test "x$prefix" != xNONE; then
44207 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44209 # Extract the first word of "sdl-config", so it can be a program name with args.
44210 set dummy sdl-config; ac_word=$2
44211 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44213 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44214 echo $ECHO_N "(cached) $ECHO_C" >&6
44216 case $SDL_CONFIG in
44218 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44222 for as_dir in $PATH
44225 test -z "$as_dir" && as_dir=.
44226 for ac_exec_ext in '' $ac_executable_extensions; do
44227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44228 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44236 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44240 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44241 if test -n "$SDL_CONFIG"; then
44242 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44243 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44245 { echo "$as_me:$LINENO: result: no" >&5
44246 echo "${ECHO_T}no" >&6; }
44250 min_sdl_version=1.2.0
44251 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44252 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44254 if test "$SDL_CONFIG" = "no" ; then
44257 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44258 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44260 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44261 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44262 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44263 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44264 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44265 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44266 if test "x$enable_sdltest" = "xyes" ; then
44267 ac_save_CFLAGS="$CFLAGS"
44268 ac_save_CXXFLAGS="$CXXFLAGS"
44269 ac_save_LIBS="$LIBS"
44270 CFLAGS="$CFLAGS $SDL_CFLAGS"
44271 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44272 LIBS="$LIBS $SDL_LIBS"
44274 if test "$cross_compiling" = yes; then
44275 echo $ac_n "cross compiling; assumed OK... $ac_c"
44277 cat >conftest.$ac_ext <<_ACEOF
44280 cat confdefs.h >>conftest.$ac_ext
44281 cat >>conftest.$ac_ext <<_ACEOF
44282 /* end confdefs.h. */
44285 #include <stdlib.h>
44286 #include <string.h>
44290 my_strdup (char *str)
44296 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44297 strcpy (new_str, str);
44305 int main (int argc, char *argv[])
44307 int major, minor, micro;
44310 /* This hangs on some systems (?)
44311 system ("touch conf.sdltest");
44313 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44315 /* HP/UX 9 (%@#!) writes to sscanf strings */
44316 tmp_version = my_strdup("$min_sdl_version");
44317 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44318 printf("%s, bad version string\n", "$min_sdl_version");
44322 if (($sdl_major_version > major) ||
44323 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44324 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44330 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44331 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44332 printf("*** best to upgrade to the required version.\n");
44333 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44334 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44335 printf("*** config.cache before re-running configure\n");
44342 rm -f conftest$ac_exeext
44343 if { (ac_try="$ac_link"
44344 case "(($ac_try" in
44345 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44346 *) ac_try_echo
=$ac_try;;
44348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44349 (eval "$ac_link") 2>&5
44351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44352 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
44353 { (case "(($ac_try" in
44354 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44355 *) ac_try_echo=$ac_try;;
44357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44358 (eval "$ac_try") 2>&5
44360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44361 (exit $ac_status); }; }; then
44364 echo "$as_me: program exited with status $ac_status" >&5
44365 echo "$as_me: failed program was:" >&5
44366 sed 's/^/| /' conftest.$ac_ext >&5
44368 ( exit $ac_status )
44371 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44375 CFLAGS="$ac_save_CFLAGS"
44376 CXXFLAGS="$ac_save_CXXFLAGS"
44377 LIBS="$ac_save_LIBS"
44380 if test "x$no_sdl" = x ; then
44381 { echo "$as_me:$LINENO: result: yes" >&5
44382 echo "${ECHO_T}yes" >&6; }
44384 EXTRALIBS_SDL="$SDL_LIBS"
44385 CFLAGS="$SDL_CFLAGS $CFLAGS"
44386 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44387 cat >>confdefs.h <<\_ACEOF
44388 #define wxUSE_LIBSDL 1
44393 { echo "$as_me:$LINENO: result: no" >&5
44394 echo "${ECHO_T}no" >&6; }
44395 if test "$SDL_CONFIG" = "no" ; then
44396 echo "*** The sdl-config script installed by SDL could not be found"
44397 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44398 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44399 echo "*** full path to sdl-config."
44401 if test -f conf.sdltest ; then
44404 echo "*** Could not run SDL test program, checking why..."
44405 CFLAGS="$CFLAGS $SDL_CFLAGS"
44406 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44407 LIBS="$LIBS $SDL_LIBS"
44408 cat >conftest.$ac_ext <<_ACEOF
44411 cat confdefs.h >>conftest.$ac_ext
44412 cat >>conftest.$ac_ext <<_ACEOF
44413 /* end confdefs.h. */
44418 int main(int argc, char *argv[])
44421 #define main K_and_R_C_main
44431 rm -f conftest.$ac_objext conftest$ac_exeext
44432 if { (ac_try="$ac_link"
44433 case "(($ac_try" in
44434 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44435 *) ac_try_echo
=$ac_try;;
44437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44438 (eval "$ac_link") 2>conftest.er1
44440 grep -v '^ *+' conftest.er1
>conftest.err
44442 cat conftest.err
>&5
44443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44444 (exit $ac_status); } && {
44445 test -z "$ac_c_werror_flag" ||
44446 test ! -s conftest.err
44447 } && test -s conftest
$ac_exeext &&
44448 $as_test_x conftest
$ac_exeext; then
44449 echo "*** The test program compiled, but did not run. This usually means"
44450 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44451 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44452 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44453 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44454 echo "*** is required on your system"
44456 echo "*** If you have an old version installed, it is best to remove it, although"
44457 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44459 echo "$as_me: failed program was:" >&5
44460 sed 's/^/| /' conftest.
$ac_ext >&5
44462 echo "*** The test program failed to compile or link. See the file config.log for the"
44463 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44464 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44465 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44468 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44469 conftest
$ac_exeext conftest.
$ac_ext
44470 CFLAGS
="$ac_save_CFLAGS"
44471 CXXFLAGS
="$ac_save_CXXFLAGS"
44472 LIBS
="$ac_save_LIBS"
44483 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44488 if test "$wxUSE_MGL" = 1; then
44489 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44490 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44496 if test "$wxUSE_SOUND" = "yes"; then
44497 cat >>confdefs.h
<<\_ACEOF
44498 #define wxUSE_SOUND 1
44501 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
44504 if test "$WXGTK2" = 1; then
44507 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44508 if test -n "$ac_tool_prefix"; then
44509 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44510 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
44511 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44513 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44514 echo $ECHO_N "(cached) $ECHO_C" >&6
44516 case $PKG_CONFIG in
44518 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
44521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44522 for as_dir
in $PATH
44525 test -z "$as_dir" && as_dir
=.
44526 for ac_exec_ext
in '' $ac_executable_extensions; do
44527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44528 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44539 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
44540 if test -n "$PKG_CONFIG"; then
44541 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44542 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44544 { echo "$as_me:$LINENO: result: no" >&5
44545 echo "${ECHO_T}no" >&6; }
44550 if test -z "$ac_cv_path_PKG_CONFIG"; then
44551 ac_pt_PKG_CONFIG
=$PKG_CONFIG
44552 # Extract the first word of "pkg-config", so it can be a program name with args.
44553 set dummy pkg
-config; ac_word
=$2
44554 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44556 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44557 echo $ECHO_N "(cached) $ECHO_C" >&6
44559 case $ac_pt_PKG_CONFIG in
44561 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44565 for as_dir
in $PATH
44568 test -z "$as_dir" && as_dir
=.
44569 for ac_exec_ext
in '' $ac_executable_extensions; do
44570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44571 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44582 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
44583 if test -n "$ac_pt_PKG_CONFIG"; then
44584 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44585 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44587 { echo "$as_me:$LINENO: result: no" >&5
44588 echo "${ECHO_T}no" >&6; }
44591 if test "x$ac_pt_PKG_CONFIG" = x
; then
44594 case $cross_compiling:$ac_tool_warned in
44596 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44597 whose name does not start with the host triplet. If you think this
44598 configuration is useful to you, please write to autoconf@gnu.org." >&5
44599 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44600 whose name does not start with the host triplet. If you think this
44601 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44602 ac_tool_warned
=yes ;;
44604 PKG_CONFIG
=$ac_pt_PKG_CONFIG
44607 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
44611 if test -n "$PKG_CONFIG"; then
44612 _pkg_min_version
=0.9.0
44613 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44614 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44615 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44616 { echo "$as_me:$LINENO: result: yes" >&5
44617 echo "${ECHO_T}yes" >&6; }
44619 { echo "$as_me:$LINENO: result: no" >&5
44620 echo "${ECHO_T}no" >&6; }
44626 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44628 if test "$wxUSE_GTKPRINT" = "yes" ; then
44632 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44633 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44635 if test -n "$PKG_CONFIG"; then
44636 if test -n "$GTKPRINT_CFLAGS"; then
44637 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
44639 if test -n "$PKG_CONFIG" && \
44640 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44641 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44644 (exit $ac_status); }; then
44645 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44653 if test -n "$PKG_CONFIG"; then
44654 if test -n "$GTKPRINT_LIBS"; then
44655 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
44657 if test -n "$PKG_CONFIG" && \
44658 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44659 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44662 (exit $ac_status); }; then
44663 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44674 if test $pkg_failed = yes; then
44676 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44677 _pkg_short_errors_supported
=yes
44679 _pkg_short_errors_supported
=no
44681 if test $_pkg_short_errors_supported = yes; then
44682 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44684 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44686 # Put the nasty error message in config.log where it belongs
44687 echo "$GTKPRINT_PKG_ERRORS" >&5
44690 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44691 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44692 wxUSE_GTKPRINT
="no"
44695 elif test $pkg_failed = untried
; then
44697 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44698 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44699 wxUSE_GTKPRINT
="no"
44703 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
44704 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
44705 { echo "$as_me:$LINENO: result: yes" >&5
44706 echo "${ECHO_T}yes" >&6; }
44708 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
44709 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
44710 cat >>confdefs.h
<<\_ACEOF
44711 #define wxUSE_GTKPRINT 1
44718 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44722 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44723 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44725 if test -n "$PKG_CONFIG"; then
44726 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44727 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
44729 if test -n "$PKG_CONFIG" && \
44730 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44731 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44734 (exit $ac_status); }; then
44735 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44743 if test -n "$PKG_CONFIG"; then
44744 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44745 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
44747 if test -n "$PKG_CONFIG" && \
44748 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44749 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44752 (exit $ac_status); }; then
44753 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44764 if test $pkg_failed = yes; then
44766 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44767 _pkg_short_errors_supported
=yes
44769 _pkg_short_errors_supported
=no
44771 if test $_pkg_short_errors_supported = yes; then
44772 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44774 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44776 # Put the nasty error message in config.log where it belongs
44777 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44780 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44781 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44782 wxUSE_LIBGNOMEPRINT
="no"
44785 elif test $pkg_failed = untried
; then
44787 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44788 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44789 wxUSE_LIBGNOMEPRINT
="no"
44793 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44794 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44795 { echo "$as_me:$LINENO: result: yes" >&5
44796 echo "${ECHO_T}yes" >&6; }
44798 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44799 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44800 cat >>confdefs.h
<<\_ACEOF
44801 #define wxUSE_LIBGNOMEPRINT 1
44809 if test "$wxUSE_MIMETYPE" = "yes" ; then
44810 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44814 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44815 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44817 if test -n "$PKG_CONFIG"; then
44818 if test -n "$GNOMEVFS_CFLAGS"; then
44819 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
44821 if test -n "$PKG_CONFIG" && \
44822 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44823 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44826 (exit $ac_status); }; then
44827 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44835 if test -n "$PKG_CONFIG"; then
44836 if test -n "$GNOMEVFS_LIBS"; then
44837 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
44839 if test -n "$PKG_CONFIG" && \
44840 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44841 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44844 (exit $ac_status); }; then
44845 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44856 if test $pkg_failed = yes; then
44858 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44859 _pkg_short_errors_supported
=yes
44861 _pkg_short_errors_supported
=no
44863 if test $_pkg_short_errors_supported = yes; then
44864 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44866 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44868 # Put the nasty error message in config.log where it belongs
44869 echo "$GNOMEVFS_PKG_ERRORS" >&5
44872 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44873 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44874 wxUSE_LIBGNOMEVFS
="no"
44877 elif test $pkg_failed = untried
; then
44879 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44880 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44881 wxUSE_LIBGNOMEVFS
="no"
44885 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
44886 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
44887 { echo "$as_me:$LINENO: result: yes" >&5
44888 echo "${ECHO_T}yes" >&6; }
44890 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
44891 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
44892 cat >>confdefs.h
<<\_ACEOF
44893 #define wxUSE_LIBGNOMEVFS 1
44901 if test "$wxUSE_LIBHILDON" = "yes" ; then
44904 { echo "$as_me:$LINENO: checking for HILDON" >&5
44905 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44907 if test -n "$PKG_CONFIG"; then
44908 if test -n "$HILDON_CFLAGS"; then
44909 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
44911 if test -n "$PKG_CONFIG" && \
44912 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44913 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44916 (exit $ac_status); }; then
44917 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44925 if test -n "$PKG_CONFIG"; then
44926 if test -n "$HILDON_LIBS"; then
44927 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
44929 if test -n "$PKG_CONFIG" && \
44930 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44931 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44934 (exit $ac_status); }; then
44935 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44946 if test $pkg_failed = yes; then
44948 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44949 _pkg_short_errors_supported
=yes
44951 _pkg_short_errors_supported
=no
44953 if test $_pkg_short_errors_supported = yes; then
44954 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44956 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44958 # Put the nasty error message in config.log where it belongs
44959 echo "$HILDON_PKG_ERRORS" >&5
44962 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44963 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44964 wxUSE_LIBHILDON
="no"
44968 elif test $pkg_failed = untried
; then
44970 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44971 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44972 wxUSE_LIBHILDON
="no"
44977 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
44978 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
44979 { echo "$as_me:$LINENO: result: yes" >&5
44980 echo "${ECHO_T}yes" >&6; }
44982 EXTRALIBS_HILDON
="$HILDON_LIBS"
44983 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
44984 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
44985 cat >>confdefs.h
<<\_ACEOF
44986 #define wxUSE_LIBHILDON 1
44993 if test "$ac_hildon_lgpl" = 0 ; then
44996 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44997 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44999 if test -n "$PKG_CONFIG"; then
45000 if test -n "$HILDON2_CFLAGS"; then
45001 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
45003 if test -n "$PKG_CONFIG" && \
45004 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
45005 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
45007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45008 (exit $ac_status); }; then
45009 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
45017 if test -n "$PKG_CONFIG"; then
45018 if test -n "$HILDON2_LIBS"; then
45019 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
45021 if test -n "$PKG_CONFIG" && \
45022 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
45023 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
45025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45026 (exit $ac_status); }; then
45027 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
45038 if test $pkg_failed = yes; then
45040 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45041 _pkg_short_errors_supported
=yes
45043 _pkg_short_errors_supported
=no
45045 if test $_pkg_short_errors_supported = yes; then
45046 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
45048 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
45050 # Put the nasty error message in config.log where it belongs
45051 echo "$HILDON2_PKG_ERRORS" >&5
45054 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
45055 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
45056 wxUSE_LIBHILDON2
="no"
45059 elif test $pkg_failed = untried
; then
45061 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
45062 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
45063 wxUSE_LIBHILDON2
="no"
45067 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
45068 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
45069 { echo "$as_me:$LINENO: result: yes" >&5
45070 echo "${ECHO_T}yes" >&6; }
45072 EXTRALIBS_HILDON
="$HILDON2_LIBS"
45073 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
45074 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
45075 cat >>confdefs.h
<<\_ACEOF
45076 #define wxUSE_LIBHILDON2 1
45085 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45086 cat >>confdefs.h
<<\_ACEOF
45087 #define wxUSE_CMDLINE_PARSER 1
45092 if test "$wxUSE_STOPWATCH" = "yes"; then
45093 cat >>confdefs.h
<<\_ACEOF
45094 #define wxUSE_STOPWATCH 1
45099 if test "$wxUSE_DATETIME" = "yes"; then
45100 cat >>confdefs.h
<<\_ACEOF
45101 #define wxUSE_DATETIME 1
45106 if test "$wxUSE_FILE" = "yes"; then
45107 cat >>confdefs.h
<<\_ACEOF
45108 #define wxUSE_FILE 1
45113 if test "$wxUSE_FFILE" = "yes"; then
45114 cat >>confdefs.h
<<\_ACEOF
45115 #define wxUSE_FFILE 1
45120 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45121 if test "$wxUSE_STREAMS" != yes; then
45122 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45123 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45124 wxUSE_ARCHIVE_STREAMS
=no
45126 cat >>confdefs.h
<<\_ACEOF
45127 #define wxUSE_ARCHIVE_STREAMS 1
45133 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45134 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45135 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45136 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45137 elif test "$wxUSE_ZLIB" = "no"; then
45138 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45139 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45141 cat >>confdefs.h
<<\_ACEOF
45142 #define wxUSE_ZIPSTREAM 1
45148 if test "$wxUSE_TARSTREAM" = "yes"; then
45149 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45150 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45151 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45153 cat >>confdefs.h
<<\_ACEOF
45154 #define wxUSE_TARSTREAM 1
45160 if test "$wxUSE_FILE_HISTORY" = "yes"; then
45161 cat >>confdefs.h
<<\_ACEOF
45162 #define wxUSE_FILE_HISTORY 1
45167 if test "$wxUSE_FILESYSTEM" = "yes"; then
45168 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
45169 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45170 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45171 wxUSE_FILESYSTEM
=no
45173 cat >>confdefs.h
<<\_ACEOF
45174 #define wxUSE_FILESYSTEM 1
45180 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45181 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45182 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45183 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45185 cat >>confdefs.h
<<\_ACEOF
45186 #define wxUSE_FS_ARCHIVE 1
45192 if test "$wxUSE_FS_ZIP" = "yes"; then
45193 if test "$wxUSE_FS_ARCHIVE" != yes; then
45194 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45195 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45197 cat >>confdefs.h
<<\_ACEOF
45198 #define wxUSE_FS_ZIP 1
45204 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45205 if test "$USE_UNIX" != 1; then
45206 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45207 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45208 wxUSE_ON_FATAL_EXCEPTION
=no
45210 cat >>confdefs.h
<<\_ACEOF
45211 #define wxUSE_ON_FATAL_EXCEPTION 1
45217 if test "$wxUSE_STACKWALKER" = "yes"; then
45218 cat >>confdefs.h
<<\_ACEOF
45219 #define wxUSE_STACKWALKER 1
45224 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45225 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
45226 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45227 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45228 wxUSE_DEBUGREPORT
=no
45230 cat >>confdefs.h
<<\_ACEOF
45231 #define wxUSE_DEBUGREPORT 1
45234 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45235 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
45240 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45241 cat >>confdefs.h
<<\_ACEOF
45242 #define wxUSE_SNGLINST_CHECKER 1
45247 if test "$wxUSE_BUSYINFO" = "yes"; then
45248 cat >>confdefs.h
<<\_ACEOF
45249 #define wxUSE_BUSYINFO 1
45254 if test "$wxUSE_HOTKEY" = "yes"; then
45255 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
45256 { echo "$as_me:$LINENO: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
45257 echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
45260 elif test "$wxUSE_HOTKEY" = "auto"; then
45261 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
45265 if test "$wxUSE_HOTKEY" = "yes"; then
45266 cat >>confdefs.h
<<\_ACEOF
45267 #define wxUSE_HOTKEY 1
45272 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
45273 cat >>confdefs.h
<<\_ACEOF
45274 #define wxUSE_STD_CONTAINERS 1
45279 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45280 cat >>confdefs.h
<<\_ACEOF
45281 #define wxUSE_STD_IOSTREAM 1
45286 if test "$wxUSE_STD_STRING" = "yes"; then
45287 cat >>confdefs.h
<<\_ACEOF
45288 #define wxUSE_STD_STRING 1
45293 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
45294 cat >>confdefs.h
<<\_ACEOF
45295 #define wxUSE_STD_STRING_CONV_IN_WXSTRING 1
45300 if test "$wxUSE_STDPATHS" = "yes"; then
45301 cat >>confdefs.h
<<\_ACEOF
45302 #define wxUSE_STDPATHS 1
45307 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45308 cat >>confdefs.h
<<\_ACEOF
45309 #define wxUSE_TEXTBUFFER 1
45314 if test "$wxUSE_TEXTFILE" = "yes"; then
45315 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45316 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45317 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45319 cat >>confdefs.h
<<\_ACEOF
45320 #define wxUSE_TEXTFILE 1
45326 if test "$wxUSE_CONFIG" = "yes" ; then
45327 if test "$wxUSE_TEXTFILE" != "yes"; then
45328 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45329 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45331 cat >>confdefs.h
<<\_ACEOF
45332 #define wxUSE_CONFIG 1
45335 cat >>confdefs.h
<<\_ACEOF
45336 #define wxUSE_CONFIG_NATIVE 1
45339 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
45343 if test "$wxUSE_INTL" = "yes" ; then
45344 if test "$wxUSE_FILE" != "yes"; then
45345 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45346 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45348 cat >>confdefs.h
<<\_ACEOF
45349 #define wxUSE_INTL 1
45352 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
45353 GUIDIST
="$GUIDIST INTL_DIST"
45357 if test "$wxUSE_XLOCALE" = "yes" ; then
45358 cat >>confdefs.h
<<\_ACEOF
45359 #define wxUSE_XLOCALE 1
45362 { echo "$as_me:$LINENO: checking for locale_t" >&5
45363 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
45364 if test "${ac_cv_type_locale_t+set}" = set; then
45365 echo $ECHO_N "(cached) $ECHO_C" >&6
45367 cat >conftest.
$ac_ext <<_ACEOF
45370 cat confdefs.h
>>conftest.
$ac_ext
45371 cat >>conftest.
$ac_ext <<_ACEOF
45372 /* end confdefs.h. */
45373 #include <xlocale.h>
45374 #include <locale.h>
45376 typedef locale_t ac__type_new_;
45380 if ((ac__type_new_ *) 0)
45382 if (sizeof (ac__type_new_))
45388 rm -f conftest.
$ac_objext
45389 if { (ac_try
="$ac_compile"
45390 case "(($ac_try" in
45391 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45392 *) ac_try_echo=$ac_try;;
45394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45395 (eval "$ac_compile") 2>conftest.er1
45397 grep -v '^ *+' conftest.er1 >conftest.err
45399 cat conftest.err >&5
45400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45401 (exit $ac_status); } && {
45402 test -z "$ac_c_werror_flag" ||
45403 test ! -s conftest.err
45404 } && test -s conftest.$ac_objext; then
45405 ac_cv_type_locale_t=yes
45407 echo "$as_me: failed program was:" >&5
45408 sed 's/^/| /' conftest.$ac_ext >&5
45410 ac_cv_type_locale_t=no
45413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45415 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
45416 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
45417 if test $ac_cv_type_locale_t = yes; then
45419 cat >>confdefs.h <<_ACEOF
45420 #define HAVE_LOCALE_T 1
45428 if test "$wxUSE_LOG" = "yes"; then
45429 cat >>confdefs.h <<\_ACEOF
45430 #define wxUSE_LOG 1
45434 if test "$wxUSE_LOGGUI" = "yes"; then
45435 cat >>confdefs.h <<\_ACEOF
45436 #define wxUSE_LOGGUI 1
45441 if test "$wxUSE_LOGWINDOW" = "yes"; then
45442 cat >>confdefs.h <<\_ACEOF
45443 #define wxUSE_LOGWINDOW 1
45448 if test "$wxUSE_LOGDIALOG" = "yes"; then
45449 cat >>confdefs.h <<\_ACEOF
45450 #define wxUSE_LOG_DIALOG 1
45455 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45458 if test "$wxUSE_LONGLONG" = "yes"; then
45459 cat >>confdefs.h <<\_ACEOF
45460 #define wxUSE_LONGLONG 1
45465 if test "$wxUSE_GEOMETRY" = "yes"; then
45466 cat >>confdefs.h <<\_ACEOF
45467 #define wxUSE_GEOMETRY 1
45472 if test "$wxUSE_BASE64" = "yes"; then
45473 cat >>confdefs.h <<\_ACEOF
45474 #define wxUSE_BASE64 1
45479 if test "$wxUSE_STREAMS" = "yes" ; then
45480 cat >>confdefs.h <<\_ACEOF
45481 #define wxUSE_STREAMS 1
45486 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45487 cat >>confdefs.h <<\_ACEOF
45488 #define wxUSE_PRINTF_POS_PARAMS 1
45493 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45494 cat >>confdefs.h <<\_ACEOF
45495 #define wxUSE_OBJC_UNIQUIFYING 1
45501 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45502 cat >>confdefs.h <<\_ACEOF
45503 #define wxUSE_CONSOLE_EVENTLOOP 1
45507 if test "$wxUSE_UNIX" = "yes"; then
45508 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45509 cat >>confdefs.h <<\_ACEOF
45510 #define wxUSE_SELECT_DISPATCHER 1
45515 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45517 for ac_header in sys/epoll.h
45519 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45520 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45521 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45522 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45523 echo $ECHO_N "(cached) $ECHO_C" >&6
45525 cat >conftest.$ac_ext <<_ACEOF
45528 cat confdefs.h >>conftest.$ac_ext
45529 cat >>conftest.$ac_ext <<_ACEOF
45530 /* end confdefs.h. */
45531 $ac_includes_default
45533 #include <$ac_header>
45535 rm -f conftest.$ac_objext
45536 if { (ac_try="$ac_compile"
45537 case "(($ac_try" in
45538 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45539 *) ac_try_echo
=$ac_try;;
45541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45542 (eval "$ac_compile") 2>conftest.er1
45544 grep -v '^ *+' conftest.er1
>conftest.err
45546 cat conftest.err
>&5
45547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45548 (exit $ac_status); } && {
45549 test -z "$ac_c_werror_flag" ||
45550 test ! -s conftest.err
45551 } && test -s conftest.
$ac_objext; then
45552 eval "$as_ac_Header=yes"
45554 echo "$as_me: failed program was:" >&5
45555 sed 's/^/| /' conftest.
$ac_ext >&5
45557 eval "$as_ac_Header=no"
45560 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45562 ac_res
=`eval echo '${'$as_ac_Header'}'`
45563 { echo "$as_me:$LINENO: result: $ac_res" >&5
45564 echo "${ECHO_T}$ac_res" >&6; }
45565 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45566 cat >>confdefs.h
<<_ACEOF
45567 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45574 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45575 cat >>confdefs.h
<<\_ACEOF
45576 #define wxUSE_EPOLL_DISPATCHER 1
45580 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45581 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45590 for ac_func
in gettimeofday ftime
45592 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45593 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45595 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45596 echo $ECHO_N "(cached) $ECHO_C" >&6
45598 cat >conftest.
$ac_ext <<_ACEOF
45601 cat confdefs.h
>>conftest.
$ac_ext
45602 cat >>conftest.
$ac_ext <<_ACEOF
45603 /* end confdefs.h. */
45604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45606 #define $ac_func innocuous_$ac_func
45608 /* System header to define __stub macros and hopefully few prototypes,
45609 which can conflict with char $ac_func (); below.
45610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45611 <limits.h> exists even on freestanding compilers. */
45614 # include <limits.h>
45616 # include <assert.h>
45621 /* Override any GCC internal prototype to avoid an error.
45622 Use char because int might match the return type of a GCC
45623 builtin and then its argument prototype would still apply. */
45628 /* The GNU C library defines this for functions which it implements
45629 to always fail with ENOSYS. Some functions are actually named
45630 something starting with __ and the normal name is an alias. */
45631 #if defined __stub_$ac_func || defined __stub___$ac_func
45638 return $ac_func ();
45643 rm -f conftest.
$ac_objext conftest
$ac_exeext
45644 if { (ac_try
="$ac_link"
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_link") 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_c_werror_flag" ||
45658 test ! -s conftest.err
45659 } && test -s conftest$ac_exeext &&
45660 $as_test_x conftest$ac_exeext; then
45661 eval "$as_ac_var=yes"
45663 echo "$as_me: failed program was:" >&5
45664 sed 's/^/| /' conftest.$ac_ext >&5
45666 eval "$as_ac_var=no"
45669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45670 conftest$ac_exeext conftest.$ac_ext
45672 ac_res=`eval echo '${'$as_ac_var'}'`
45673 { echo "$as_me:$LINENO: result: $ac_res" >&5
45674 echo "${ECHO_T}$ac_res" >&6; }
45675 if test `eval echo '${'$as_ac_var'}'` = yes; then
45676 cat >>confdefs.h <<_ACEOF
45677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45684 if test "$ac_cv_func_gettimeofday" = "yes"; then
45685 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45686 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45687 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45688 echo $ECHO_N "(cached) $ECHO_C" >&6
45691 cat >conftest.$ac_ext <<_ACEOF
45694 cat confdefs.h >>conftest.$ac_ext
45695 cat >>conftest.$ac_ext <<_ACEOF
45696 /* end confdefs.h. */
45698 #include <sys/time.h>
45699 #include <unistd.h>
45706 gettimeofday(&tv, NULL);
45712 rm -f conftest.$ac_objext
45713 if { (ac_try="$ac_compile"
45714 case "(($ac_try" in
45715 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45716 *) ac_try_echo
=$ac_try;;
45718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45719 (eval "$ac_compile") 2>conftest.er1
45721 grep -v '^ *+' conftest.er1
>conftest.err
45723 cat conftest.err
>&5
45724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45725 (exit $ac_status); } && {
45726 test -z "$ac_c_werror_flag" ||
45727 test ! -s conftest.err
45728 } && test -s conftest.
$ac_objext; then
45729 wx_cv_func_gettimeofday_has_2_args
=yes
45731 echo "$as_me: failed program was:" >&5
45732 sed 's/^/| /' conftest.
$ac_ext >&5
45734 cat >conftest.
$ac_ext <<_ACEOF
45737 cat confdefs.h
>>conftest.
$ac_ext
45738 cat >>conftest.
$ac_ext <<_ACEOF
45739 /* end confdefs.h. */
45741 #include <sys/time.h>
45742 #include <unistd.h>
45755 rm -f conftest.
$ac_objext
45756 if { (ac_try
="$ac_compile"
45757 case "(($ac_try" in
45758 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45759 *) ac_try_echo=$ac_try;;
45761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45762 (eval "$ac_compile") 2>conftest.er1
45764 grep -v '^ *+' conftest.er1 >conftest.err
45766 cat conftest.err >&5
45767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45768 (exit $ac_status); } && {
45769 test -z "$ac_c_werror_flag" ||
45770 test ! -s conftest.err
45771 } && test -s conftest.$ac_objext; then
45772 wx_cv_func_gettimeofday_has_2_args=no
45774 echo "$as_me: failed program was:" >&5
45775 sed 's/^/| /' conftest.$ac_ext >&5
45778 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45779 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45780 wx_cv_func_gettimeofday_has_2_args=unknown
45785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45792 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45793 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45795 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45796 cat >>confdefs.h <<\_ACEOF
45797 #define WX_GETTIMEOFDAY_NO_TZ 1
45803 if test "$wxUSE_DATETIME" = "yes"; then
45804 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45805 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45806 if test "${wx_cv_var_timezone+set}" = set; then
45807 echo $ECHO_N "(cached) $ECHO_C" >&6
45811 ac_cpp='$CXXCPP $CPPFLAGS'
45812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45816 cat >conftest.$ac_ext <<_ACEOF
45819 cat confdefs.h >>conftest.$ac_ext
45820 cat >>conftest.$ac_ext <<_ACEOF
45821 /* end confdefs.h. */
45836 rm -f conftest.$ac_objext
45837 if { (ac_try="$ac_compile"
45838 case "(($ac_try" in
45839 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45840 *) ac_try_echo
=$ac_try;;
45842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45843 (eval "$ac_compile") 2>conftest.er1
45845 grep -v '^ *+' conftest.er1
>conftest.err
45847 cat conftest.err
>&5
45848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45849 (exit $ac_status); } && {
45850 test -z "$ac_cxx_werror_flag" ||
45851 test ! -s conftest.err
45852 } && test -s conftest.
$ac_objext; then
45854 wx_cv_var_timezone
=timezone
45857 echo "$as_me: failed program was:" >&5
45858 sed 's/^/| /' conftest.
$ac_ext >&5
45861 cat >conftest.
$ac_ext <<_ACEOF
45864 cat confdefs.h
>>conftest.
$ac_ext
45865 cat >>conftest.
$ac_ext <<_ACEOF
45866 /* end confdefs.h. */
45881 rm -f conftest.
$ac_objext
45882 if { (ac_try
="$ac_compile"
45883 case "(($ac_try" in
45884 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45885 *) ac_try_echo=$ac_try;;
45887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45888 (eval "$ac_compile") 2>conftest.er1
45890 grep -v '^ *+' conftest.er1 >conftest.err
45892 cat conftest.err >&5
45893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45894 (exit $ac_status); } && {
45895 test -z "$ac_cxx_werror_flag" ||
45896 test ! -s conftest.err
45897 } && test -s conftest.$ac_objext; then
45899 wx_cv_var_timezone=_timezone
45902 echo "$as_me: failed program was:" >&5
45903 sed 's/^/| /' conftest.$ac_ext >&5
45906 cat >conftest.$ac_ext <<_ACEOF
45909 cat confdefs.h >>conftest.$ac_ext
45910 cat >>conftest.$ac_ext <<_ACEOF
45911 /* end confdefs.h. */
45926 rm -f conftest.$ac_objext
45927 if { (ac_try="$ac_compile"
45928 case "(($ac_try" in
45929 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45930 *) ac_try_echo
=$ac_try;;
45932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45933 (eval "$ac_compile") 2>conftest.er1
45935 grep -v '^ *+' conftest.er1
>conftest.err
45937 cat conftest.err
>&5
45938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45939 (exit $ac_status); } && {
45940 test -z "$ac_cxx_werror_flag" ||
45941 test ! -s conftest.err
45942 } && test -s conftest.
$ac_objext; then
45944 wx_cv_var_timezone
=__timezone
45947 echo "$as_me: failed program was:" >&5
45948 sed 's/^/| /' conftest.
$ac_ext >&5
45951 if test "$USE_DOS" = 0 ; then
45952 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45953 echo "$as_me: WARNING: no timezone variable" >&2;}
45959 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45964 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45969 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45971 ac_cpp
='$CPP $CPPFLAGS'
45972 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45973 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45974 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45979 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45980 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45982 if test "x$wx_cv_var_timezone" != x
; then
45983 cat >>confdefs.h
<<_ACEOF
45984 #define WX_TIMEZONE $wx_cv_var_timezone
45990 for ac_func
in localtime
45992 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45993 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45995 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45996 echo $ECHO_N "(cached) $ECHO_C" >&6
45998 cat >conftest.
$ac_ext <<_ACEOF
46001 cat confdefs.h
>>conftest.
$ac_ext
46002 cat >>conftest.
$ac_ext <<_ACEOF
46003 /* end confdefs.h. */
46004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46006 #define $ac_func innocuous_$ac_func
46008 /* System header to define __stub macros and hopefully few prototypes,
46009 which can conflict with char $ac_func (); below.
46010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46011 <limits.h> exists even on freestanding compilers. */
46014 # include <limits.h>
46016 # include <assert.h>
46021 /* Override any GCC internal prototype to avoid an error.
46022 Use char because int might match the return type of a GCC
46023 builtin and then its argument prototype would still apply. */
46028 /* The GNU C library defines this for functions which it implements
46029 to always fail with ENOSYS. Some functions are actually named
46030 something starting with __ and the normal name is an alias. */
46031 #if defined __stub_$ac_func || defined __stub___$ac_func
46038 return $ac_func ();
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 eval "$as_ac_var=yes"
46063 echo "$as_me: failed program was:" >&5
46064 sed 's/^/| /' conftest.$ac_ext >&5
46066 eval "$as_ac_var=no"
46069 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46070 conftest$ac_exeext conftest.$ac_ext
46072 ac_res=`eval echo '${'$as_ac_var'}'`
46073 { echo "$as_me:$LINENO: result: $ac_res" >&5
46074 echo "${ECHO_T}$ac_res" >&6; }
46075 if test `eval echo '${'$as_ac_var'}'` = yes; then
46076 cat >>confdefs.h <<_ACEOF
46077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46084 if test "$ac_cv_func_localtime" = "yes"; then
46085 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46086 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46087 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46088 echo $ECHO_N "(cached) $ECHO_C" >&6
46091 cat >conftest.$ac_ext <<_ACEOF
46094 cat confdefs.h >>conftest.$ac_ext
46095 cat >>conftest.$ac_ext <<_ACEOF
46096 /* end confdefs.h. */
46111 rm -f conftest.$ac_objext
46112 if { (ac_try="$ac_compile"
46113 case "(($ac_try" in
46114 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46115 *) ac_try_echo
=$ac_try;;
46117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46118 (eval "$ac_compile") 2>conftest.er1
46120 grep -v '^ *+' conftest.er1
>conftest.err
46122 cat conftest.err
>&5
46123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46124 (exit $ac_status); } && {
46125 test -z "$ac_c_werror_flag" ||
46126 test ! -s conftest.err
46127 } && test -s conftest.
$ac_objext; then
46129 wx_cv_struct_tm_has_gmtoff
=yes
46132 echo "$as_me: failed program was:" >&5
46133 sed 's/^/| /' conftest.
$ac_ext >&5
46135 wx_cv_struct_tm_has_gmtoff
=no
46139 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46142 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46143 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46146 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46147 cat >>confdefs.h
<<\_ACEOF
46148 #define WX_GMTOFF_IN_TM 1
46153 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
46157 if test "$wxUSE_SOCKETS" = "yes"; then
46158 if test "$wxUSE_MGL" = 1; then
46159 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46160 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46165 if test "$wxUSE_SOCKETS" = "yes"; then
46166 if test "$TOOLKIT" != "MSW"; then
46167 { echo "$as_me:$LINENO: checking for socket" >&5
46168 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46169 if test "${ac_cv_func_socket+set}" = set; then
46170 echo $ECHO_N "(cached) $ECHO_C" >&6
46172 cat >conftest.
$ac_ext <<_ACEOF
46175 cat confdefs.h
>>conftest.
$ac_ext
46176 cat >>conftest.
$ac_ext <<_ACEOF
46177 /* end confdefs.h. */
46178 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46180 #define socket innocuous_socket
46182 /* System header to define __stub macros and hopefully few prototypes,
46183 which can conflict with char socket (); below.
46184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46185 <limits.h> exists even on freestanding compilers. */
46188 # include <limits.h>
46190 # include <assert.h>
46195 /* Override any GCC internal prototype to avoid an error.
46196 Use char because int might match the return type of a GCC
46197 builtin and then its argument prototype would still apply. */
46202 /* The GNU C library defines this for functions which it implements
46203 to always fail with ENOSYS. Some functions are actually named
46204 something starting with __ and the normal name is an alias. */
46205 #if defined __stub_socket || defined __stub___socket
46217 rm -f conftest.
$ac_objext conftest
$ac_exeext
46218 if { (ac_try
="$ac_link"
46219 case "(($ac_try" in
46220 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46221 *) ac_try_echo=$ac_try;;
46223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46224 (eval "$ac_link") 2>conftest.er1
46226 grep -v '^ *+' conftest.er1 >conftest.err
46228 cat conftest.err >&5
46229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46230 (exit $ac_status); } && {
46231 test -z "$ac_c_werror_flag" ||
46232 test ! -s conftest.err
46233 } && test -s conftest$ac_exeext &&
46234 $as_test_x conftest$ac_exeext; then
46235 ac_cv_func_socket=yes
46237 echo "$as_me: failed program was:" >&5
46238 sed 's/^/| /' conftest.$ac_ext >&5
46240 ac_cv_func_socket=no
46243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46244 conftest$ac_exeext conftest.$ac_ext
46246 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46247 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46248 if test $ac_cv_func_socket = yes; then
46252 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46253 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46254 if test "${ac_cv_lib_socket_socket+set}" = set; then
46255 echo $ECHO_N "(cached) $ECHO_C" >&6
46257 ac_check_lib_save_LIBS=$LIBS
46258 LIBS="-lsocket $LIBS"
46259 cat >conftest.$ac_ext <<_ACEOF
46262 cat confdefs.h >>conftest.$ac_ext
46263 cat >>conftest.$ac_ext <<_ACEOF
46264 /* end confdefs.h. */
46266 /* Override any GCC internal prototype to avoid an error.
46267 Use char because int might match the return type of a GCC
46268 builtin and then its argument prototype would still apply. */
46281 rm -f conftest.$ac_objext conftest$ac_exeext
46282 if { (ac_try="$ac_link"
46283 case "(($ac_try" in
46284 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46285 *) ac_try_echo
=$ac_try;;
46287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46288 (eval "$ac_link") 2>conftest.er1
46290 grep -v '^ *+' conftest.er1
>conftest.err
46292 cat conftest.err
>&5
46293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46294 (exit $ac_status); } && {
46295 test -z "$ac_c_werror_flag" ||
46296 test ! -s conftest.err
46297 } && test -s conftest
$ac_exeext &&
46298 $as_test_x conftest
$ac_exeext; then
46299 ac_cv_lib_socket_socket
=yes
46301 echo "$as_me: failed program was:" >&5
46302 sed 's/^/| /' conftest.
$ac_ext >&5
46304 ac_cv_lib_socket_socket
=no
46307 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46308 conftest
$ac_exeext conftest.
$ac_ext
46309 LIBS
=$ac_check_lib_save_LIBS
46311 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46312 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46313 if test $ac_cv_lib_socket_socket = yes; then
46314 if test "$INET_LINK" != " -lsocket"; then
46315 INET_LINK
="$INET_LINK -lsocket"
46319 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46320 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46333 if test "$wxUSE_SOCKETS" = "yes" ; then
46334 if test "$TOOLKIT" != "MSW"; then
46335 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46336 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46337 if test "${wx_cv_type_getsockname3+set}" = set; then
46338 echo $ECHO_N "(cached) $ECHO_C" >&6
46342 ac_cpp
='$CXXCPP $CPPFLAGS'
46343 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46344 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46345 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46347 cat >conftest.
$ac_ext <<_ACEOF
46350 cat confdefs.h
>>conftest.
$ac_ext
46351 cat >>conftest.
$ac_ext <<_ACEOF
46352 /* end confdefs.h. */
46354 #include <sys/types.h>
46355 #include <sys/socket.h>
46362 getsockname(0, 0, &len);
46368 rm -f conftest.
$ac_objext
46369 if { (ac_try
="$ac_compile"
46370 case "(($ac_try" in
46371 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46372 *) ac_try_echo=$ac_try;;
46374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46375 (eval "$ac_compile") 2>conftest.er1
46377 grep -v '^ *+' conftest.er1 >conftest.err
46379 cat conftest.err >&5
46380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46381 (exit $ac_status); } && {
46382 test -z "$ac_cxx_werror_flag" ||
46383 test ! -s conftest.err
46384 } && test -s conftest.$ac_objext; then
46385 wx_cv_type_getsockname3=socklen_t
46387 echo "$as_me: failed program was:" >&5
46388 sed 's/^/| /' conftest.$ac_ext >&5
46391 CFLAGS_OLD="$CFLAGS"
46392 if test "$GCC" = yes ; then
46393 CFLAGS="-Werror $CFLAGS"
46396 cat >conftest.$ac_ext <<_ACEOF
46399 cat confdefs.h >>conftest.$ac_ext
46400 cat >>conftest.$ac_ext <<_ACEOF
46401 /* end confdefs.h. */
46403 #include <sys/types.h>
46404 #include <sys/socket.h>
46411 getsockname(0, 0, &len);
46417 rm -f conftest.$ac_objext
46418 if { (ac_try="$ac_compile"
46419 case "(($ac_try" in
46420 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46421 *) ac_try_echo
=$ac_try;;
46423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46424 (eval "$ac_compile") 2>conftest.er1
46426 grep -v '^ *+' conftest.er1
>conftest.err
46428 cat conftest.err
>&5
46429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46430 (exit $ac_status); } && {
46431 test -z "$ac_cxx_werror_flag" ||
46432 test ! -s conftest.err
46433 } && test -s conftest.
$ac_objext; then
46434 wx_cv_type_getsockname3
=size_t
46436 echo "$as_me: failed program was:" >&5
46437 sed 's/^/| /' conftest.
$ac_ext >&5
46439 cat >conftest.
$ac_ext <<_ACEOF
46442 cat confdefs.h
>>conftest.
$ac_ext
46443 cat >>conftest.
$ac_ext <<_ACEOF
46444 /* end confdefs.h. */
46446 #include <sys/types.h>
46447 #include <sys/socket.h>
46454 getsockname(0, 0, &len);
46460 rm -f conftest.
$ac_objext
46461 if { (ac_try
="$ac_compile"
46462 case "(($ac_try" in
46463 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46464 *) ac_try_echo=$ac_try;;
46466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46467 (eval "$ac_compile") 2>conftest.er1
46469 grep -v '^ *+' conftest.er1 >conftest.err
46471 cat conftest.err >&5
46472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46473 (exit $ac_status); } && {
46474 test -z "$ac_cxx_werror_flag" ||
46475 test ! -s conftest.err
46476 } && test -s conftest.$ac_objext; then
46477 wx_cv_type_getsockname3=int
46479 echo "$as_me: failed program was:" >&5
46480 sed 's/^/| /' conftest.$ac_ext >&5
46482 wx_cv_type_getsockname3=unknown
46486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46492 CFLAGS="$CFLAGS_OLD"
46497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46499 ac_cpp='$CPP $CPPFLAGS'
46500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46506 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46507 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46509 if test "$wx_cv_type_getsockname3" = "unknown"; then
46511 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46512 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46514 cat >>confdefs.h <<_ACEOF
46515 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46519 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46520 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46521 if test "${wx_cv_type_getsockopt5+set}" = set; then
46522 echo $ECHO_N "(cached) $ECHO_C" >&6
46526 ac_cpp='$CXXCPP $CPPFLAGS'
46527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46531 cat >conftest.$ac_ext <<_ACEOF
46534 cat confdefs.h >>conftest.$ac_ext
46535 cat >>conftest.$ac_ext <<_ACEOF
46536 /* end confdefs.h. */
46538 #include <sys/types.h>
46539 #include <sys/socket.h>
46546 getsockopt(0, 0, 0, 0, &len);
46552 rm -f conftest.$ac_objext
46553 if { (ac_try="$ac_compile"
46554 case "(($ac_try" in
46555 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46556 *) ac_try_echo
=$ac_try;;
46558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46559 (eval "$ac_compile") 2>conftest.er1
46561 grep -v '^ *+' conftest.er1
>conftest.err
46563 cat conftest.err
>&5
46564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46565 (exit $ac_status); } && {
46566 test -z "$ac_cxx_werror_flag" ||
46567 test ! -s conftest.err
46568 } && test -s conftest.
$ac_objext; then
46569 wx_cv_type_getsockopt5
=socklen_t
46571 echo "$as_me: failed program was:" >&5
46572 sed 's/^/| /' conftest.
$ac_ext >&5
46575 cat >conftest.
$ac_ext <<_ACEOF
46578 cat confdefs.h
>>conftest.
$ac_ext
46579 cat >>conftest.
$ac_ext <<_ACEOF
46580 /* end confdefs.h. */
46582 #include <sys/types.h>
46583 #include <sys/socket.h>
46590 getsockopt(0, 0, 0, 0, &len);
46596 rm -f conftest.
$ac_objext
46597 if { (ac_try
="$ac_compile"
46598 case "(($ac_try" in
46599 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46600 *) ac_try_echo=$ac_try;;
46602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46603 (eval "$ac_compile") 2>conftest.er1
46605 grep -v '^ *+' conftest.er1 >conftest.err
46607 cat conftest.err >&5
46608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46609 (exit $ac_status); } && {
46610 test -z "$ac_cxx_werror_flag" ||
46611 test ! -s conftest.err
46612 } && test -s conftest.$ac_objext; then
46613 wx_cv_type_getsockopt5=size_t
46615 echo "$as_me: failed program was:" >&5
46616 sed 's/^/| /' conftest.$ac_ext >&5
46618 cat >conftest.$ac_ext <<_ACEOF
46621 cat confdefs.h >>conftest.$ac_ext
46622 cat >>conftest.$ac_ext <<_ACEOF
46623 /* end confdefs.h. */
46625 #include <sys/types.h>
46626 #include <sys/socket.h>
46633 getsockopt(0, 0, 0, 0, &len);
46639 rm -f conftest.$ac_objext
46640 if { (ac_try="$ac_compile"
46641 case "(($ac_try" in
46642 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46643 *) ac_try_echo
=$ac_try;;
46645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46646 (eval "$ac_compile") 2>conftest.er1
46648 grep -v '^ *+' conftest.er1
>conftest.err
46650 cat conftest.err
>&5
46651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46652 (exit $ac_status); } && {
46653 test -z "$ac_cxx_werror_flag" ||
46654 test ! -s conftest.err
46655 } && test -s conftest.
$ac_objext; then
46656 wx_cv_type_getsockopt5
=int
46658 echo "$as_me: failed program was:" >&5
46659 sed 's/^/| /' conftest.
$ac_ext >&5
46661 wx_cv_type_getsockopt5
=unknown
46665 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46669 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46676 ac_cpp
='$CPP $CPPFLAGS'
46677 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46678 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46679 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46683 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46684 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46686 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46688 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46689 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46691 cat >>confdefs.h
<<_ACEOF
46692 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46699 if test "$wxUSE_SOCKETS" = "yes" ; then
46700 if test "$wxUSE_IPV6" = "yes"; then
46701 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46702 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46703 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46704 echo $ECHO_N "(cached) $ECHO_C" >&6
46707 cat >conftest.
$ac_ext <<_ACEOF
46710 cat confdefs.h
>>conftest.
$ac_ext
46711 cat >>conftest.
$ac_ext <<_ACEOF
46712 /* end confdefs.h. */
46714 #include <sys/types.h>
46715 #include <sys/socket.h>
46716 #include <netinet/in.h>
46722 struct sockaddr_in6 sa6;
46728 rm -f conftest.
$ac_objext
46729 if { (ac_try
="$ac_compile"
46730 case "(($ac_try" in
46731 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46732 *) ac_try_echo=$ac_try;;
46734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46735 (eval "$ac_compile") 2>conftest.er1
46737 grep -v '^ *+' conftest.er1 >conftest.err
46739 cat conftest.err >&5
46740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46741 (exit $ac_status); } && {
46742 test -z "$ac_c_werror_flag" ||
46743 test ! -s conftest.err
46744 } && test -s conftest.$ac_objext; then
46745 wx_cv_type_sockaddr_in6=yes
46747 echo "$as_me: failed program was:" >&5
46748 sed 's/^/| /' conftest.$ac_ext >&5
46750 wx_cv_type_sockaddr_in6=no
46754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46758 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46759 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46761 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46762 cat >>confdefs.h <<\_ACEOF
46763 #define wxUSE_IPV6 1
46767 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46768 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46772 cat >>confdefs.h <<\_ACEOF
46773 #define wxUSE_SOCKETS 1
46776 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46779 if test "$wxUSE_PROTOCOL" = "yes"; then
46780 if test "$wxUSE_SOCKETS" != "yes"; then
46781 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46782 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46787 if test "$wxUSE_PROTOCOL" = "yes"; then
46788 cat >>confdefs.h <<\_ACEOF
46789 #define wxUSE_PROTOCOL 1
46793 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46794 cat >>confdefs.h <<\_ACEOF
46795 #define wxUSE_PROTOCOL_HTTP 1
46799 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46800 cat >>confdefs.h <<\_ACEOF
46801 #define wxUSE_PROTOCOL_FTP 1
46805 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46806 cat >>confdefs.h <<\_ACEOF
46807 #define wxUSE_PROTOCOL_FILE 1
46812 if test "$wxUSE_FS_INET" = "yes"; then
46813 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46814 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46819 if test "$wxUSE_URL" = "yes"; then
46820 if test "$wxUSE_PROTOCOL" != "yes"; then
46821 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46822 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46825 if test "$wxUSE_URL" = "yes"; then
46826 cat >>confdefs.h <<\_ACEOF
46827 #define wxUSE_URL 1
46833 if test "$wxUSE_VARIANT" = "yes"; then
46834 cat >>confdefs.h <<\_ACEOF
46835 #define wxUSE_VARIANT 1
46840 if test "$wxUSE_FS_INET" = "yes"; then
46841 cat >>confdefs.h <<\_ACEOF
46842 #define wxUSE_FS_INET 1
46848 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46851 if test "$TOOLKIT" = "MSW"; then
46854 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46855 if test "$USE_DARWIN" = 1; then
46856 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46857 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46859 ac_cpp='$CXXCPP $CPPFLAGS'
46860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46864 cat >conftest.$ac_ext <<_ACEOF
46867 cat confdefs.h >>conftest.$ac_ext
46868 cat >>conftest.$ac_ext <<_ACEOF
46869 /* end confdefs.h. */
46870 #include <IOKit/hid/IOHIDLib.h>
46874 IOHIDQueueInterface *qi = NULL;
46875 IOHIDCallbackFunction cb = NULL;
46876 qi->setEventCallout(NULL, cb, NULL, NULL);
46881 rm -f conftest.$ac_objext
46882 if { (ac_try="$ac_compile"
46883 case "(($ac_try" in
46884 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46885 *) ac_try_echo
=$ac_try;;
46887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46888 (eval "$ac_compile") 2>conftest.er1
46890 grep -v '^ *+' conftest.er1
>conftest.err
46892 cat conftest.err
>&5
46893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46894 (exit $ac_status); } && {
46895 test -z "$ac_cxx_werror_flag" ||
46896 test ! -s conftest.err
46897 } && test -s conftest.
$ac_objext; then
46901 echo "$as_me: failed program was:" >&5
46902 sed 's/^/| /' conftest.
$ac_ext >&5
46907 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46909 ac_cpp
='$CPP $CPPFLAGS'
46910 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46911 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46912 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46914 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46915 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46919 if test "$wxUSE_MGL" != 1; then
46921 for ac_header
in linux
/joystick.h
46923 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46924 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46926 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46927 echo $ECHO_N "(cached) $ECHO_C" >&6
46929 cat >conftest.
$ac_ext <<_ACEOF
46932 cat confdefs.h
>>conftest.
$ac_ext
46933 cat >>conftest.
$ac_ext <<_ACEOF
46934 /* end confdefs.h. */
46935 $ac_includes_default
46937 #include <$ac_header>
46939 rm -f conftest.
$ac_objext
46940 if { (ac_try
="$ac_compile"
46941 case "(($ac_try" in
46942 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46943 *) ac_try_echo=$ac_try;;
46945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46946 (eval "$ac_compile") 2>conftest.er1
46948 grep -v '^ *+' conftest.er1 >conftest.err
46950 cat conftest.err >&5
46951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46952 (exit $ac_status); } && {
46953 test -z "$ac_c_werror_flag" ||
46954 test ! -s conftest.err
46955 } && test -s conftest.$ac_objext; then
46956 eval "$as_ac_Header=yes"
46958 echo "$as_me: failed program was:" >&5
46959 sed 's/^/| /' conftest.$ac_ext >&5
46961 eval "$as_ac_Header=no"
46964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46966 ac_res=`eval echo '${'$as_ac_Header'}'`
46967 { echo "$as_me:$LINENO: result: $ac_res" >&5
46968 echo "${ECHO_T}$ac_res" >&6; }
46969 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46970 cat >>confdefs.h <<_ACEOF
46971 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46981 if test "$wxUSE_JOYSTICK" = "yes"; then
46982 cat >>confdefs.h <<\_ACEOF
46983 #define wxUSE_JOYSTICK 1
46986 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46988 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46989 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46995 if test "$wxUSE_FONTENUM" = "yes" ; then
46996 cat >>confdefs.h <<\_ACEOF
46997 #define wxUSE_FONTENUM 1
47002 if test "$wxUSE_FONTMAP" = "yes" ; then
47003 cat >>confdefs.h <<\_ACEOF
47004 #define wxUSE_FONTMAP 1
47009 if test "$wxUSE_UNICODE" = "yes" ; then
47010 cat >>confdefs.h <<\_ACEOF
47011 #define wxUSE_UNICODE 1
47015 if test "$USE_WIN32" != 1; then
47016 wxUSE_UNICODE_MSLU=no
47019 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47020 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47021 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47022 if test "${ac_cv_lib_unicows_main+set}" = set; then
47023 echo $ECHO_N "(cached) $ECHO_C" >&6
47025 ac_check_lib_save_LIBS=$LIBS
47026 LIBS="-lunicows $LIBS"
47027 cat >conftest.$ac_ext <<_ACEOF
47030 cat confdefs.h >>conftest.$ac_ext
47031 cat >>conftest.$ac_ext <<_ACEOF
47032 /* end confdefs.h. */
47043 rm -f conftest.$ac_objext conftest$ac_exeext
47044 if { (ac_try="$ac_link"
47045 case "(($ac_try" in
47046 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47047 *) ac_try_echo
=$ac_try;;
47049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47050 (eval "$ac_link") 2>conftest.er1
47052 grep -v '^ *+' conftest.er1
>conftest.err
47054 cat conftest.err
>&5
47055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47056 (exit $ac_status); } && {
47057 test -z "$ac_c_werror_flag" ||
47058 test ! -s conftest.err
47059 } && test -s conftest
$ac_exeext &&
47060 $as_test_x conftest
$ac_exeext; then
47061 ac_cv_lib_unicows_main
=yes
47063 echo "$as_me: failed program was:" >&5
47064 sed 's/^/| /' conftest.
$ac_ext >&5
47066 ac_cv_lib_unicows_main
=no
47069 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
47070 conftest
$ac_exeext conftest.
$ac_ext
47071 LIBS
=$ac_check_lib_save_LIBS
47073 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47074 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47075 if test $ac_cv_lib_unicows_main = yes; then
47077 cat >>confdefs.h
<<\_ACEOF
47078 #define wxUSE_UNICODE_MSLU 1
47084 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47085 Applications will only run on Windows NT/2000/XP!" >&5
47086 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47087 Applications will only run on Windows NT/2000/XP!" >&2;}
47088 wxUSE_UNICODE_MSLU
=no
47095 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47096 cat >>confdefs.h
<<\_ACEOF
47097 #define wxUSE_UNICODE_UTF8 1
47101 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47102 cat >>confdefs.h
<<\_ACEOF
47103 #define wxUSE_UTF8_LOCALE_ONLY 1
47110 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47111 cat >>confdefs.h
<<\_ACEOF
47112 #define wxUSE_CONSTRAINTS 1
47115 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
47118 if test "$wxUSE_MDI" = "yes"; then
47119 cat >>confdefs.h
<<\_ACEOF
47120 #define wxUSE_MDI 1
47124 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47125 cat >>confdefs.h
<<\_ACEOF
47126 #define wxUSE_MDI_ARCHITECTURE 1
47129 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
47133 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47134 cat >>confdefs.h
<<\_ACEOF
47135 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47138 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
47141 if test "$wxUSE_HELP" = "yes"; then
47142 cat >>confdefs.h
<<\_ACEOF
47143 #define wxUSE_HELP 1
47146 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
47148 if test "$wxUSE_MSW" = 1; then
47149 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47150 cat >>confdefs.h
<<\_ACEOF
47151 #define wxUSE_MS_HTML_HELP 1
47157 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47158 if test "$wxUSE_HTML" = "yes"; then
47159 cat >>confdefs.h
<<\_ACEOF
47160 #define wxUSE_WXHTML_HELP 1
47164 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47165 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47166 wxUSE_WXHTML_HELP
=no
47171 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47172 cat >>confdefs.h
<<\_ACEOF
47173 #define wxUSE_PRINTING_ARCHITECTURE 1
47176 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
47179 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47180 cat >>confdefs.h
<<\_ACEOF
47181 #define wxUSE_POSTSCRIPT 1
47186 cat >>confdefs.h
<<\_ACEOF
47187 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47191 if test "$wxUSE_SVG" = "yes"; then
47192 cat >>confdefs.h
<<\_ACEOF
47193 #define wxUSE_SVG 1
47199 if test "$wxUSE_METAFILE" = "yes"; then
47200 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47201 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47202 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47205 elif test "$wxUSE_METAFILE" = "auto"; then
47206 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
47211 if test "$wxUSE_METAFILE" = "yes"; then
47212 cat >>confdefs.h
<<\_ACEOF
47213 #define wxUSE_METAFILE 1
47216 if test "$wxUSE_MSW" = 1; then
47217 cat >>confdefs.h
<<\_ACEOF
47218 #define wxUSE_ENH_METAFILE 1
47225 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
47226 -o "$wxUSE_CLIPBOARD" = "yes" \
47227 -o "$wxUSE_OLE" = "yes" \
47228 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
47229 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47230 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47231 if test "${ac_cv_header_ole2_h+set}" = set; then
47232 echo $ECHO_N "(cached) $ECHO_C" >&6
47234 cat >conftest.
$ac_ext <<_ACEOF
47237 cat confdefs.h
>>conftest.
$ac_ext
47238 cat >>conftest.
$ac_ext <<_ACEOF
47239 /* end confdefs.h. */
47244 rm -f conftest.
$ac_objext
47245 if { (ac_try
="$ac_compile"
47246 case "(($ac_try" in
47247 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47248 *) ac_try_echo=$ac_try;;
47250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47251 (eval "$ac_compile") 2>conftest.er1
47253 grep -v '^ *+' conftest.er1 >conftest.err
47255 cat conftest.err >&5
47256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47257 (exit $ac_status); } && {
47258 test -z "$ac_c_werror_flag" ||
47259 test ! -s conftest.err
47260 } && test -s conftest.$ac_objext; then
47261 ac_cv_header_ole2_h=yes
47263 echo "$as_me: failed program was:" >&5
47264 sed 's/^/| /' conftest.$ac_ext >&5
47266 ac_cv_header_ole2_h=no
47269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47271 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47272 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47276 if test "$ac_cv_header_ole2_h" = "yes" ; then
47277 if test "$GCC" = yes ; then
47278 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47279 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47280 cat >conftest.$ac_ext <<_ACEOF
47283 cat confdefs.h >>conftest.$ac_ext
47284 cat >>conftest.$ac_ext <<_ACEOF
47285 /* end confdefs.h. */
47286 #include <windows.h>
47296 rm -f conftest.$ac_objext
47297 if { (ac_try="$ac_compile"
47298 case "(($ac_try" in
47299 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47300 *) ac_try_echo
=$ac_try;;
47302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47303 (eval "$ac_compile") 2>conftest.er1
47305 grep -v '^ *+' conftest.er1
>conftest.err
47307 cat conftest.err
>&5
47308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47309 (exit $ac_status); } && {
47310 test -z "$ac_c_werror_flag" ||
47311 test ! -s conftest.err
47312 } && test -s conftest.
$ac_objext; then
47313 { echo "$as_me:$LINENO: result: no" >&5
47314 echo "${ECHO_T}no" >&6; }
47316 echo "$as_me: failed program was:" >&5
47317 sed 's/^/| /' conftest.
$ac_ext >&5
47319 { echo "$as_me:$LINENO: result: yes" >&5
47320 echo "${ECHO_T}yes" >&6; }
47321 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47324 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47325 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47326 if test "$wxUSE_OLE" = "yes" ; then
47327 cat >>confdefs.h
<<\_ACEOF
47328 #define wxUSE_OLE 1
47331 cat >>confdefs.h
<<\_ACEOF
47332 #define wxUSE_OLE_AUTOMATION 1
47335 cat >>confdefs.h
<<\_ACEOF
47336 #define wxUSE_ACTIVEX 1
47339 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
47343 if test "$wxUSE_DATAOBJ" = "yes" ; then
47344 cat >>confdefs.h
<<\_ACEOF
47345 #define wxUSE_DATAOBJ 1
47350 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47351 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47354 wxUSE_DRAG_AND_DROP
=no
47360 if test "$wxUSE_IPC" = "yes"; then
47361 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47362 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47363 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47367 if test "$wxUSE_IPC" = "yes"; then
47368 cat >>confdefs.h
<<\_ACEOF
47369 #define wxUSE_IPC 1
47372 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
47376 if test "$wxUSE_DATAOBJ" = "yes"; then
47377 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47378 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47379 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47382 cat >>confdefs.h
<<\_ACEOF
47383 #define wxUSE_DATAOBJ 1
47388 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47389 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47391 wxUSE_DRAG_AND_DROP
=no
47394 if test "$wxUSE_CLIPBOARD" = "yes"; then
47395 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47396 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47397 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47401 if test "$wxUSE_CLIPBOARD" = "yes"; then
47402 cat >>confdefs.h
<<\_ACEOF
47403 #define wxUSE_CLIPBOARD 1
47409 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47410 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47411 "$wxUSE_DFB" = 1; then
47412 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47413 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47414 wxUSE_DRAG_AND_DROP
=no
47417 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47418 cat >>confdefs.h
<<\_ACEOF
47419 #define wxUSE_DRAG_AND_DROP 1
47426 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47427 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
47430 if test "$wxUSE_CLIPBOARD" = "yes"; then
47431 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
47434 if test "$wxUSE_SPLINES" = "yes" ; then
47435 cat >>confdefs.h
<<\_ACEOF
47436 #define wxUSE_SPLINES 1
47441 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47442 cat >>confdefs.h
<<\_ACEOF
47443 #define wxUSE_MOUSEWHEEL 1
47448 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
47449 cat >>confdefs.h
<<\_ACEOF
47450 #define wxUSE_UIACTIONSIMULATOR 1
47453 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS uiaction"
47456 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
47457 cat >>confdefs.h
<<\_ACEOF
47458 #define wxUSE_DC_TRANSFORM_MATRIX 1
47465 if test "$wxUSE_CONTROLS" = "yes"; then
47469 if test "$wxUSE_MARKUP" = "yes"; then
47470 cat >>confdefs.h
<<\_ACEOF
47471 #define wxUSE_MARKUP 1
47476 if test "$wxUSE_ACCEL" = "yes"; then
47477 cat >>confdefs.h
<<\_ACEOF
47478 #define wxUSE_ACCEL 1
47484 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47485 cat >>confdefs.h
<<\_ACEOF
47486 #define wxUSE_ANIMATIONCTRL 1
47490 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
47493 if test "$wxUSE_BANNERWINDOW" = "yes"; then
47494 cat >>confdefs.h
<<\_ACEOF
47495 #define wxUSE_BANNERWINDOW 1
47500 if test "$wxUSE_BUTTON" = "yes"; then
47501 cat >>confdefs.h
<<\_ACEOF
47502 #define wxUSE_BUTTON 1
47508 if test "$wxUSE_BMPBUTTON" = "yes"; then
47509 cat >>confdefs.h
<<\_ACEOF
47510 #define wxUSE_BMPBUTTON 1
47516 if test "$wxUSE_CALCTRL" = "yes"; then
47517 cat >>confdefs.h
<<\_ACEOF
47518 #define wxUSE_CALENDARCTRL 1
47522 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
47525 if test "$wxUSE_CARET" = "yes"; then
47526 cat >>confdefs.h
<<\_ACEOF
47527 #define wxUSE_CARET 1
47531 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
47534 if test "$wxUSE_COLLPANE" = "yes"; then
47535 cat >>confdefs.h
<<\_ACEOF
47536 #define wxUSE_COLLPANE 1
47540 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
47543 if test "$wxUSE_COMBOBOX" = "yes"; then
47544 cat >>confdefs.h
<<\_ACEOF
47545 #define wxUSE_COMBOBOX 1
47551 if test "$wxUSE_COMBOCTRL" = "yes"; then
47552 cat >>confdefs.h
<<\_ACEOF
47553 #define wxUSE_COMBOCTRL 1
47559 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
47560 cat >>confdefs.h
<<\_ACEOF
47561 #define wxUSE_COMMANDLINKBUTTON 1
47567 if test "$wxUSE_CHOICE" = "yes"; then
47568 cat >>confdefs.h
<<\_ACEOF
47569 #define wxUSE_CHOICE 1
47575 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47576 cat >>confdefs.h
<<\_ACEOF
47577 #define wxUSE_CHOICEBOOK 1
47583 if test "$wxUSE_CHECKBOX" = "yes"; then
47584 cat >>confdefs.h
<<\_ACEOF
47585 #define wxUSE_CHECKBOX 1
47591 if test "$wxUSE_CHECKLST" = "yes"; then
47592 cat >>confdefs.h
<<\_ACEOF
47593 #define wxUSE_CHECKLISTBOX 1
47599 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47600 cat >>confdefs.h
<<\_ACEOF
47601 #define wxUSE_COLOURPICKERCTRL 1
47607 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47608 cat >>confdefs.h
<<\_ACEOF
47609 #define wxUSE_DATEPICKCTRL 1
47615 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47616 cat >>confdefs.h
<<\_ACEOF
47617 #define wxUSE_DIRPICKERCTRL 1
47623 if test "$wxUSE_FILECTRL" = "yes"; then
47624 cat >>confdefs.h
<<\_ACEOF
47625 #define wxUSE_FILECTRL 1
47631 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47632 cat >>confdefs.h
<<\_ACEOF
47633 #define wxUSE_FILEPICKERCTRL 1
47639 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47640 cat >>confdefs.h
<<\_ACEOF
47641 #define wxUSE_FONTPICKERCTRL 1
47647 if test "$wxUSE_DISPLAY" = "yes"; then
47648 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47649 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47650 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47653 cat >>confdefs.h
<<\_ACEOF
47654 #define wxUSE_DISPLAY 1
47657 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
47661 if test "$wxUSE_DETECT_SM" = "yes"; then
47662 cat >>confdefs.h
<<\_ACEOF
47663 #define wxUSE_DETECT_SM 1
47668 if test "$wxUSE_GAUGE" = "yes"; then
47669 cat >>confdefs.h
<<\_ACEOF
47670 #define wxUSE_GAUGE 1
47676 if test "$wxUSE_GRID" = "yes"; then
47677 cat >>confdefs.h
<<\_ACEOF
47678 #define wxUSE_GRID 1
47682 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
47685 if test "$wxUSE_HEADERCTRL" = "yes"; then
47686 cat >>confdefs.h
<<\_ACEOF
47687 #define wxUSE_HEADERCTRL 1
47693 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47694 cat >>confdefs.h
<<\_ACEOF
47695 #define wxUSE_HYPERLINKCTRL 1
47701 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47702 cat >>confdefs.h
<<\_ACEOF
47703 #define wxUSE_BITMAPCOMBOBOX 1
47709 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47710 cat >>confdefs.h
<<\_ACEOF
47711 #define wxUSE_DATAVIEWCTRL 1
47715 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
47718 if test "$wxUSE_IMAGLIST" = "yes"; then
47719 cat >>confdefs.h
<<\_ACEOF
47720 #define wxUSE_IMAGLIST 1
47725 if test "$wxUSE_INFOBAR" = "yes"; then
47726 cat >>confdefs.h
<<\_ACEOF
47727 #define wxUSE_INFOBAR 1
47732 if test "$wxUSE_LISTBOOK" = "yes"; then
47733 cat >>confdefs.h
<<\_ACEOF
47734 #define wxUSE_LISTBOOK 1
47740 if test "$wxUSE_LISTBOX" = "yes"; then
47741 cat >>confdefs.h
<<\_ACEOF
47742 #define wxUSE_LISTBOX 1
47748 if test "$wxUSE_LISTCTRL" = "yes"; then
47749 if test "$wxUSE_IMAGLIST" = "yes"; then
47750 cat >>confdefs.h
<<\_ACEOF
47751 #define wxUSE_LISTCTRL 1
47755 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
47757 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47758 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47762 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47763 cat >>confdefs.h
<<\_ACEOF
47764 #define wxUSE_EDITABLELISTBOX 1
47770 if test "$wxUSE_NOTEBOOK" = "yes"; then
47771 cat >>confdefs.h
<<\_ACEOF
47772 #define wxUSE_NOTEBOOK 1
47776 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
47779 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47780 cat >>confdefs.h
<<\_ACEOF
47781 #define wxUSE_NOTIFICATION_MESSAGE 1
47786 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47787 cat >>confdefs.h
<<\_ACEOF
47788 #define wxUSE_ODCOMBOBOX 1
47792 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
47795 if test "$wxUSE_RADIOBOX" = "yes"; then
47796 cat >>confdefs.h
<<\_ACEOF
47797 #define wxUSE_RADIOBOX 1
47803 if test "$wxUSE_RADIOBTN" = "yes"; then
47804 cat >>confdefs.h
<<\_ACEOF
47805 #define wxUSE_RADIOBTN 1
47811 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47812 cat >>confdefs.h
<<\_ACEOF
47813 #define wxUSE_REARRANGECTRL 1
47818 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47819 cat >>confdefs.h
<<\_ACEOF
47820 #define wxUSE_RICHMSGDLG 1
47825 if test "$wxUSE_SASH" = "yes"; then
47826 cat >>confdefs.h
<<\_ACEOF
47827 #define wxUSE_SASH 1
47830 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
47833 if test "$wxUSE_SCROLLBAR" = "yes"; then
47834 cat >>confdefs.h
<<\_ACEOF
47835 #define wxUSE_SCROLLBAR 1
47839 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
47842 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47843 cat >>confdefs.h
<<\_ACEOF
47844 #define wxUSE_SEARCHCTRL 1
47850 if test "$wxUSE_SLIDER" = "yes"; then
47851 cat >>confdefs.h
<<\_ACEOF
47852 #define wxUSE_SLIDER 1
47858 if test "$wxUSE_SPINBTN" = "yes"; then
47859 cat >>confdefs.h
<<\_ACEOF
47860 #define wxUSE_SPINBTN 1
47866 if test "$wxUSE_SPINCTRL" = "yes"; then
47867 cat >>confdefs.h
<<\_ACEOF
47868 #define wxUSE_SPINCTRL 1
47874 if test "$wxUSE_SPLITTER" = "yes"; then
47875 cat >>confdefs.h
<<\_ACEOF
47876 #define wxUSE_SPLITTER 1
47879 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
47882 if test "$wxUSE_STATBMP" = "yes"; then
47883 cat >>confdefs.h
<<\_ACEOF
47884 #define wxUSE_STATBMP 1
47890 if test "$wxUSE_STATBOX" = "yes"; then
47891 cat >>confdefs.h
<<\_ACEOF
47892 #define wxUSE_STATBOX 1
47898 if test "$wxUSE_STATTEXT" = "yes"; then
47899 cat >>confdefs.h
<<\_ACEOF
47900 #define wxUSE_STATTEXT 1
47906 if test "$wxUSE_STATLINE" = "yes"; then
47907 cat >>confdefs.h
<<\_ACEOF
47908 #define wxUSE_STATLINE 1
47914 if test "$wxUSE_STATUSBAR" = "yes"; then
47915 cat >>confdefs.h
<<\_ACEOF
47916 #define wxUSE_NATIVE_STATUSBAR 1
47919 cat >>confdefs.h
<<\_ACEOF
47920 #define wxUSE_STATUSBAR 1
47925 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
47928 if test "$wxUSE_TEXTCTRL" = "yes"; then
47929 cat >>confdefs.h
<<\_ACEOF
47930 #define wxUSE_TEXTCTRL 1
47934 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
47936 cat >>confdefs.h
<<\_ACEOF
47937 #define wxUSE_RICHEDIT 1
47940 cat >>confdefs.h
<<\_ACEOF
47941 #define wxUSE_RICHEDIT2 1
47946 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47947 if test "$wxUSE_OLD_COCOA" = 1 ; then
47948 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47949 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47953 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47954 cat >>confdefs.h
<<\_ACEOF
47955 #define wxUSE_TOGGLEBTN 1
47962 if test "$wxUSE_TOOLBAR" = "yes"; then
47963 cat >>confdefs.h
<<\_ACEOF
47964 #define wxUSE_TOOLBAR 1
47969 if test "$wxUSE_UNIVERSAL" = "yes"; then
47970 wxUSE_TOOLBAR_NATIVE
="no"
47972 wxUSE_TOOLBAR_NATIVE
="yes"
47973 cat >>confdefs.h
<<\_ACEOF
47974 #define wxUSE_TOOLBAR_NATIVE 1
47979 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
47982 if test "$wxUSE_TOOLTIPS" = "yes"; then
47983 if test "$wxUSE_MOTIF" = 1; then
47984 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47985 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47987 if test "$wxUSE_UNIVERSAL" = "yes"; then
47988 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47989 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47991 cat >>confdefs.h
<<\_ACEOF
47992 #define wxUSE_TOOLTIPS 1
47999 if test "$wxUSE_TREEBOOK" = "yes"; then
48000 cat >>confdefs.h
<<\_ACEOF
48001 #define wxUSE_TREEBOOK 1
48007 if test "$wxUSE_TOOLBOOK" = "yes"; then
48008 cat >>confdefs.h
<<\_ACEOF
48009 #define wxUSE_TOOLBOOK 1
48015 if test "$wxUSE_TREECTRL" = "yes"; then
48016 if test "$wxUSE_IMAGLIST" = "yes"; then
48017 cat >>confdefs.h
<<\_ACEOF
48018 #define wxUSE_TREECTRL 1
48022 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
48024 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48025 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48029 if test "$wxUSE_TREELISTCTRL" = "yes"; then
48030 cat >>confdefs.h
<<\_ACEOF
48031 #define wxUSE_TREELISTCTRL 1
48037 if test "$wxUSE_POPUPWIN" = "yes"; then
48038 if test "$wxUSE_OLD_COCOA" = 1 ; then
48039 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48040 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48042 if test "$wxUSE_PM" = 1; then
48043 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48044 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48046 cat >>confdefs.h
<<\_ACEOF
48047 #define wxUSE_POPUPWIN 1
48050 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
48057 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48058 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48059 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48060 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48062 cat >>confdefs.h
<<\_ACEOF
48063 #define wxUSE_DIALUP_MANAGER 1
48066 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
48070 if test "$wxUSE_TIPWINDOW" = "yes"; then
48071 if test "$wxUSE_PM" = 1; then
48072 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48073 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48075 cat >>confdefs.h
<<\_ACEOF
48076 #define wxUSE_TIPWINDOW 1
48082 if test "$USES_CONTROLS" = 1; then
48083 cat >>confdefs.h
<<\_ACEOF
48084 #define wxUSE_CONTROLS 1
48090 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48091 cat >>confdefs.h
<<\_ACEOF
48092 #define wxUSE_ACCESSIBILITY 1
48095 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
48098 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
48099 cat >>confdefs.h
<<\_ACEOF
48100 #define wxUSE_ARTPROVIDER_STD 1
48105 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
48106 if test "$wxUSE_GTK" != 1; then
48107 if test "$wxUSE_LIBPNG" != no
-a \
48108 "$wxUSE_IMAGE" = yes -a \
48109 "$wxUSE_STREAMS" = yes; then
48110 wxUSE_ARTPROVIDER_TANGO
="yes"
48115 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
48116 cat >>confdefs.h
<<\_ACEOF
48117 #define wxUSE_ARTPROVIDER_TANGO 1
48122 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48123 cat >>confdefs.h
<<\_ACEOF
48124 #define wxUSE_DRAGIMAGE 1
48127 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
48130 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48131 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48132 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48133 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48135 cat >>confdefs.h
<<\_ACEOF
48136 #define wxUSE_EXCEPTIONS 1
48139 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
48144 if test "$wxUSE_HTML" = "yes"; then
48145 cat >>confdefs.h
<<\_ACEOF
48146 #define wxUSE_HTML 1
48150 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48152 if test "$wxUSE_WEBKIT" = "yes"; then
48153 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48154 old_CPPFLAGS
="$CPPFLAGS"
48155 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
48156 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48157 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48158 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48159 echo $ECHO_N "(cached) $ECHO_C" >&6
48161 cat >conftest.
$ac_ext <<_ACEOF
48164 cat confdefs.h
>>conftest.
$ac_ext
48165 cat >>conftest.
$ac_ext <<_ACEOF
48166 /* end confdefs.h. */
48168 #include <Carbon/Carbon.h>
48169 #include <WebKit/WebKit.h>
48172 #include <WebKit/HIWebView.h>
48174 rm -f conftest.
$ac_objext
48175 if { (ac_try
="$ac_compile"
48176 case "(($ac_try" in
48177 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48178 *) ac_try_echo=$ac_try;;
48180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48181 (eval "$ac_compile") 2>conftest.er1
48183 grep -v '^ *+' conftest.er1 >conftest.err
48185 cat conftest.err >&5
48186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48187 (exit $ac_status); } && {
48188 test -z "$ac_c_werror_flag" ||
48189 test ! -s conftest.err
48190 } && test -s conftest.$ac_objext; then
48191 ac_cv_header_WebKit_HIWebView_h=yes
48193 echo "$as_me: failed program was:" >&5
48194 sed 's/^/| /' conftest.$ac_ext >&5
48196 ac_cv_header_WebKit_HIWebView_h=no
48199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48201 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48202 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48203 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48205 cat >>confdefs.h <<\_ACEOF
48206 #define wxUSE_WEBKIT 1
48209 WEBKIT_LINK="-framework WebKit"
48213 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48214 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48220 CPPFLAGS="$old_CPPFLAGS"
48221 elif test "$wxUSE_OLD_COCOA" = 1; then
48222 cat >>confdefs.h <<\_ACEOF
48223 #define wxUSE_WEBKIT 1
48229 if test "$wxUSE_WEBKIT" = "yes"; then
48230 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48235 if test "$wxUSE_XRC" = "yes"; then
48236 if test "$wxUSE_XML" != "yes"; then
48237 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48238 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48241 cat >>confdefs.h <<\_ACEOF
48242 #define wxUSE_XRC 1
48246 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48251 if test "$wxUSE_AUI" = "yes"; then
48252 cat >>confdefs.h <<\_ACEOF
48253 #define wxUSE_AUI 1
48257 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48261 if test "$wxUSE_PROPGRID" = "yes"; then
48262 cat >>confdefs.h <<\_ACEOF
48263 #define wxUSE_PROPGRID 1
48267 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
48271 if test "$wxUSE_RIBBON" = "yes"; then
48272 cat >>confdefs.h <<\_ACEOF
48273 #define wxUSE_RIBBON 1
48277 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
48281 if test "$wxUSE_STC" = "yes"; then
48282 cat >>confdefs.h <<\_ACEOF
48283 #define wxUSE_STC 1
48287 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48289 # Extract the first word of "python", so it can be a program name with args.
48290 set dummy python; ac_word=$2
48291 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48293 if test "${ac_cv_path_PYTHON+set}" = set; then
48294 echo $ECHO_N "(cached) $ECHO_C" >&6
48298 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
48301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48302 for as_dir in $PATH
48305 test -z "$as_dir" && as_dir=.
48306 for ac_exec_ext in '' $ac_executable_extensions; do
48307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48308 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
48309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48319 PYTHON=$ac_cv_path_PYTHON
48320 if test -n "$PYTHON"; then
48321 { echo "$as_me:$LINENO: result: $PYTHON" >&5
48322 echo "${ECHO_T}$PYTHON" >&6; }
48324 { echo "$as_me:$LINENO: result: no" >&5
48325 echo "${ECHO_T}no" >&6; }
48329 if test "x$PYTHON" = "x"; then
48335 if test "$wxUSE_MENUS" = "yes"; then
48336 cat >>confdefs.h <<\_ACEOF
48337 #define wxUSE_MENUS 1
48340 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48343 if test "$wxUSE_MIMETYPE" = "yes"; then
48344 cat >>confdefs.h <<\_ACEOF
48345 #define wxUSE_MIMETYPE 1
48350 if test "$wxUSE_MINIFRAME" = "yes"; then
48351 cat >>confdefs.h <<\_ACEOF
48352 #define wxUSE_MINIFRAME 1
48357 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48358 cat >>confdefs.h <<\_ACEOF
48359 #define wxUSE_SYSTEM_OPTIONS 1
48364 if test "$wxUSE_TASKBARICON" = "yes"; then
48365 cat >>confdefs.h <<\_ACEOF
48366 #define wxUSE_TASKBARICON 1
48369 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48373 if test "$wxUSE_VALIDATORS" = "yes"; then
48374 cat >>confdefs.h <<\_ACEOF
48375 #define wxUSE_VALIDATORS 1
48378 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48381 if test "$wxUSE_PALETTE" = "yes" ; then
48382 if test "$wxUSE_DFB" = 1; then
48383 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48384 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48387 cat >>confdefs.h <<\_ACEOF
48388 #define wxUSE_PALETTE 1
48394 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48395 LIBS=" -lunicows $LIBS"
48399 if test "$wxUSE_RICHTEXT" = "yes"; then
48400 cat >>confdefs.h <<\_ACEOF
48401 #define wxUSE_RICHTEXT 1
48405 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48408 if test "$wxUSE_WEBVIEW" = "yes"; then
48409 USE_WEBVIEW_WEBKIT=0
48410 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
48411 if test "$wxUSE_GTK" = 1; then
48412 { echo "$as_me:$LINENO: checking for webkitgtk libraries" >&5
48413 echo $ECHO_N "checking for webkitgtk libraries... $ECHO_C" >&6; }
48416 for ac_dir in $SEARCH_LIB
48418 for ac_extension in a so sl dylib dll.a; do
48419 if test -f "$ac_dir/libwebkitgtk-1.0.$ac_extension"; then
48420 ac_find_libraries=$ac_dir
48426 if test "$ac_find_libraries" != "" ; then
48428 if test "$ac_find_libraries" = "default location"; then
48431 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
48433 if test $result = 0; then
48436 ac_path_to_link=" -L$ac_find_libraries"
48440 if test "$ac_path_to_link" != " -L/usr/lib" ; then
48441 LDFLAGS="$LDFLAGS $ac_path_to_link"
48443 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lwebkitgtk-1.0"
48444 { echo "$as_me:$LINENO: result: yes" >&5
48445 echo "${ECHO_T}yes" >&6; }
48447 { echo "$as_me:$LINENO: checking for webkitgtk headers" >&5
48448 echo $ECHO_N "checking for webkitgtk headers... $ECHO_C" >&6; }
48451 for ac_dir in $SEARCH_INCLUDE /usr/include/webkit-1.0 /usr/include
48453 if test -f "$ac_dir/webkit/webkit.h"; then
48454 ac_find_includes=$ac_dir
48459 if test "$ac_find_includes" != "" ; then
48460 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
48461 echo "${ECHO_T}found in $ac_find_includes" >&6; }
48463 if test "x$ac_find_includes" = "x/usr/include"; then
48464 ac_path_to_include=""
48466 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
48468 if test $result = 0; then
48469 ac_path_to_include=""
48471 ac_path_to_include=" -I$ac_find_includes"
48475 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
48477 { echo "$as_me:$LINENO: checking for libsoup headers" >&5
48478 echo $ECHO_N "checking for libsoup headers... $ECHO_C" >&6; }
48481 for ac_dir in $SEARCH_INCLUDE /usr/include/libsoup-2.4 /usr/include
48483 if test -f "$ac_dir/libsoup/soup.h"; then
48484 ac_find_includes=$ac_dir
48489 if test "$ac_find_includes" != "" ; then
48490 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
48491 echo "${ECHO_T}found in $ac_find_includes" >&6; }
48493 if test "x$ac_find_includes" = "x/usr/include"; then
48494 ac_path_to_include=""
48496 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
48498 if test $result = 0; then
48499 ac_path_to_include=""
48501 ac_path_to_include=" -I$ac_find_includes"
48505 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
48507 USE_WEBVIEW_WEBKIT=1
48509 { echo "$as_me:$LINENO: result: not found" >&5
48510 echo "${ECHO_T}not found" >&6; }
48511 { echo "$as_me:$LINENO: WARNING: libsoup headers not found; disabling WebKit backend" >&5
48512 echo "$as_me: WARNING: libsoup headers not found; disabling WebKit backend" >&2;}
48515 { echo "$as_me:$LINENO: result: not found" >&5
48516 echo "${ECHO_T}not found" >&6; }
48517 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling WebKit backend" >&5
48518 echo "$as_me: WARNING: WebKit headers not found; disabling WebKit backend" >&2;}
48521 { echo "$as_me:$LINENO: result: no" >&5
48522 echo "${ECHO_T}no" >&6; }
48523 { echo "$as_me:$LINENO: WARNING: WebKit libraries not found; disabling WebKit backend" >&5
48524 echo "$as_me: WARNING: WebKit libraries not found; disabling WebKit backend" >&2;}
48526 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48527 old_CPPFLAGS="$CPPFLAGS"
48528 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48529 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48530 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48531 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48532 echo $ECHO_N "(cached) $ECHO_C" >&6
48534 cat >conftest.$ac_ext <<_ACEOF
48537 cat confdefs.h >>conftest.$ac_ext
48538 cat >>conftest.$ac_ext <<_ACEOF
48539 /* end confdefs.h. */
48541 #include <Carbon/Carbon.h>
48542 #include <WebKit/WebKit.h>
48545 #include <WebKit/HIWebView.h>
48547 rm -f conftest.$ac_objext
48548 if { (ac_try="$ac_compile"
48549 case "(($ac_try" in
48550 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48551 *) ac_try_echo
=$ac_try;;
48553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48554 (eval "$ac_compile") 2>conftest.er1
48556 grep -v '^ *+' conftest.er1
>conftest.err
48558 cat conftest.err
>&5
48559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48560 (exit $ac_status); } && {
48561 test -z "$ac_c_werror_flag" ||
48562 test ! -s conftest.err
48563 } && test -s conftest.
$ac_objext; then
48564 ac_cv_header_WebKit_HIWebView_h
=yes
48566 echo "$as_me: failed program was:" >&5
48567 sed 's/^/| /' conftest.
$ac_ext >&5
48569 ac_cv_header_WebKit_HIWebView_h
=no
48572 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48574 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48575 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48576 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48578 USE_WEBVIEW_WEBKIT
=1
48579 WEBKIT_LINK
="-framework WebKit"
48583 { echo "$as_me:$LINENO: WARNING: WebKit headers not found" >&5
48584 echo "$as_me: WARNING: WebKit headers not found" >&2;}
48589 CPPFLAGS
="$old_CPPFLAGS"
48594 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
48595 if test "$USE_WEBVIEW_WEBKIT" = 1; then
48596 wxUSE_WEBVIEW
="yes"
48597 cat >>confdefs.h
<<\_ACEOF
48598 #define wxUSE_WEBVIEW_WEBKIT 1
48602 { echo "$as_me:$LINENO: WARNING: WebKit not available, disabling wxWebView" >&5
48603 echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
48605 elif test "$wxUSE_MSW" = 1; then
48606 if test "wxUSE_WEBVIEW_IE" = "yes"; then
48607 wxUSE_WEBVIEW
="yes"
48608 cat >>confdefs.h
<<\_ACEOF
48609 #define wxUSE_WEBVIEW_IE 1
48616 if test "$wxUSE_WEBVIEW" = "yes"; then
48618 cat >>confdefs.h
<<\_ACEOF
48619 #define wxUSE_WEBVIEW 1
48622 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS webview"
48628 if test "$wxUSE_IMAGE" = "yes" ; then
48629 cat >>confdefs.h
<<\_ACEOF
48630 #define wxUSE_IMAGE 1
48634 if test "$wxUSE_GIF" = "yes" ; then
48635 cat >>confdefs.h
<<\_ACEOF
48636 #define wxUSE_GIF 1
48641 if test "$wxUSE_PCX" = "yes" ; then
48642 cat >>confdefs.h
<<\_ACEOF
48643 #define wxUSE_PCX 1
48648 if test "$wxUSE_TGA" = "yes" ; then
48649 cat >>confdefs.h
<<\_ACEOF
48650 #define wxUSE_TGA 1
48655 if test "$wxUSE_IFF" = "yes" ; then
48656 cat >>confdefs.h
<<\_ACEOF
48657 #define wxUSE_IFF 1
48662 if test "$wxUSE_PNM" = "yes" ; then
48663 cat >>confdefs.h
<<\_ACEOF
48664 #define wxUSE_PNM 1
48669 if test "$wxUSE_XPM" = "yes" ; then
48670 cat >>confdefs.h
<<\_ACEOF
48671 #define wxUSE_XPM 1
48676 if test "$wxUSE_ICO_CUR" = "yes" ; then
48677 cat >>confdefs.h
<<\_ACEOF
48678 #define wxUSE_ICO_CUR 1
48685 if test "$wxUSE_ABOUTDLG" = "yes"; then
48686 cat >>confdefs.h
<<\_ACEOF
48687 #define wxUSE_ABOUTDLG 1
48692 if test "$wxUSE_CHOICEDLG" = "yes"; then
48693 cat >>confdefs.h
<<\_ACEOF
48694 #define wxUSE_CHOICEDLG 1
48699 if test "$wxUSE_COLOURDLG" = "yes"; then
48700 cat >>confdefs.h
<<\_ACEOF
48701 #define wxUSE_COLOURDLG 1
48706 if test "$wxUSE_FILEDLG" = "yes"; then
48707 cat >>confdefs.h
<<\_ACEOF
48708 #define wxUSE_FILEDLG 1
48713 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48714 cat >>confdefs.h
<<\_ACEOF
48715 #define wxUSE_FINDREPLDLG 1
48720 if test "$wxUSE_FONTDLG" = "yes"; then
48721 cat >>confdefs.h
<<\_ACEOF
48722 #define wxUSE_FONTDLG 1
48727 if test "$wxUSE_DIRDLG" = "yes"; then
48728 if test "$wxUSE_TREECTRL" != "yes"; then
48729 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48730 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48732 cat >>confdefs.h
<<\_ACEOF
48733 #define wxUSE_DIRDLG 1
48739 if test "$wxUSE_MSGDLG" = "yes"; then
48740 cat >>confdefs.h
<<\_ACEOF
48741 #define wxUSE_MSGDLG 1
48746 if test "$wxUSE_NUMBERDLG" = "yes"; then
48747 cat >>confdefs.h
<<\_ACEOF
48748 #define wxUSE_NUMBERDLG 1
48753 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48754 cat >>confdefs.h
<<\_ACEOF
48755 #define wxUSE_PROGRESSDLG 1
48760 if test "$wxUSE_SPLASH" = "yes"; then
48761 cat >>confdefs.h
<<\_ACEOF
48762 #define wxUSE_SPLASH 1
48765 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
48768 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48769 cat >>confdefs.h
<<\_ACEOF
48770 #define wxUSE_STARTUP_TIPS 1
48775 if test "$wxUSE_TEXTDLG" = "yes"; then
48776 cat >>confdefs.h
<<\_ACEOF
48777 #define wxUSE_TEXTDLG 1
48782 if test "$wxUSE_WIZARDDLG" = "yes"; then
48783 cat >>confdefs.h
<<\_ACEOF
48784 #define wxUSE_WIZARDDLG 1
48787 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
48791 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48792 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48793 cat >>confdefs.h
<<\_ACEOF
48794 #define wxUSE_OWNER_DRAWN 1
48801 if test "$wxUSE_MSW" = 1 ; then
48803 if test "$wxUSE_DC_CACHEING" = "yes"; then
48804 cat >>confdefs.h
<<\_ACEOF
48805 #define wxUSE_DC_CACHEING 1
48810 if test "$wxUSE_DIB" = "yes"; then
48811 cat >>confdefs.h
<<\_ACEOF
48812 #define wxUSE_WXDIB 1
48817 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48818 cat >>confdefs.h
<<\_ACEOF
48819 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48824 if test "$wxUSE_UXTHEME" = "yes"; then
48825 cat >>confdefs.h
<<\_ACEOF
48826 #define wxUSE_UXTHEME 1
48833 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48834 cat >>confdefs.h
<<\_ACEOF
48835 #define wxUSE_AUTOID_MANAGEMENT 1
48840 if test "$USE_WIN32" = 1 ; then
48841 if test "$wxUSE_INICONF" = "yes"; then
48842 cat >>confdefs.h
<<\_ACEOF
48843 #define wxUSE_INICONF 1
48848 if test "$wxUSE_REGKEY" = "yes"; then
48849 cat >>confdefs.h
<<\_ACEOF
48850 #define wxUSE_REGKEY 1
48857 if test "$wxUSE_MAC" = 1; then
48858 wxUSE_GRAPHICS_CONTEXT
="yes"
48861 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48863 if test "$wxUSE_MSW" = 1; then
48864 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
48865 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
48866 if test "${wx_cv_lib_gdiplus+set}" = set; then
48867 echo $ECHO_N "(cached) $ECHO_C" >&6
48871 ac_cpp
='$CXXCPP $CPPFLAGS'
48872 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48873 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48874 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48876 cat >conftest.
$ac_ext <<_ACEOF
48879 cat confdefs.h
>>conftest.
$ac_ext
48880 cat >>conftest.
$ac_ext <<_ACEOF
48881 /* end confdefs.h. */
48882 #include <windows.h>
48883 #include <gdiplus.h>
48888 using namespace Gdiplus;
48894 rm -f conftest.
$ac_objext
48895 if { (ac_try
="$ac_compile"
48896 case "(($ac_try" in
48897 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48898 *) ac_try_echo=$ac_try;;
48900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48901 (eval "$ac_compile") 2>conftest.er1
48903 grep -v '^ *+' conftest.er1 >conftest.err
48905 cat conftest.err >&5
48906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48907 (exit $ac_status); } && {
48908 test -z "$ac_cxx_werror_flag" ||
48909 test ! -s conftest.err
48910 } && test -s conftest.$ac_objext; then
48911 wx_cv_lib_gdiplus=yes
48913 echo "$as_me: failed program was:" >&5
48914 sed 's/^/| /' conftest.$ac_ext >&5
48916 wx_cv_lib_gdiplus=no
48920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48922 ac_cpp='$CPP $CPPFLAGS'
48923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48930 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48931 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48932 if test "$wx_cv_lib_gdiplus" = "yes"; then
48935 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
48938 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48939 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48941 if test -n "$PKG_CONFIG"; then
48942 if test -n "$CAIRO_CFLAGS"; then
48943 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48945 if test -n "$PKG_CONFIG" && \
48946 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48947 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48950 (exit $ac_status); }; then
48951 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
48959 if test -n "$PKG_CONFIG"; then
48960 if test -n "$CAIRO_LIBS"; then
48961 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48963 if test -n "$PKG_CONFIG" && \
48964 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48965 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48968 (exit $ac_status); }; then
48969 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
48980 if test $pkg_failed = yes; then
48982 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48983 _pkg_short_errors_supported=yes
48985 _pkg_short_errors_supported=no
48987 if test $_pkg_short_errors_supported = yes; then
48988 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48990 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48992 # Put the nasty error message in config.log where it belongs
48993 echo "$CAIRO_PKG_ERRORS" >&5
48995 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48996 echo "$as_me: WARNING: Cairo library not found" >&2;}
48998 elif test $pkg_failed = untried; then
48999 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
49000 echo "$as_me: WARNING: Cairo library not found" >&2;}
49003 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
49004 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
49005 { echo "$as_me:$LINENO: result: yes" >&5
49006 echo "${ECHO_T}yes" >&6; }
49009 if test "$wx_has_graphics" = 1; then
49011 LIBS="$LIBS $CAIRO_LIBS"
49013 for ac_func in cairo_push_group
49015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49016 { echo "$as_me:$LINENO: checking for $ac_func" >&5
49017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
49018 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
49019 echo $ECHO_N "(cached) $ECHO_C" >&6
49021 cat >conftest.$ac_ext <<_ACEOF
49024 cat confdefs.h >>conftest.$ac_ext
49025 cat >>conftest.$ac_ext <<_ACEOF
49026 /* end confdefs.h. */
49027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49029 #define $ac_func innocuous_$ac_func
49031 /* System header to define __stub macros and hopefully few prototypes,
49032 which can conflict with char $ac_func (); below.
49033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49034 <limits.h> exists even on freestanding compilers. */
49037 # include <limits.h>
49039 # include <assert.h>
49044 /* Override any GCC internal prototype to avoid an error.
49045 Use char because int might match the return type of a GCC
49046 builtin and then its argument prototype would still apply. */
49051 /* The GNU C library defines this for functions which it implements
49052 to always fail with ENOSYS. Some functions are actually named
49053 something starting with __ and the normal name is an alias. */
49054 #if defined __stub_$ac_func || defined __stub___$ac_func
49061 return $ac_func ();
49066 rm -f conftest.$ac_objext conftest$ac_exeext
49067 if { (ac_try="$ac_link"
49068 case "(($ac_try" in
49069 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49070 *) ac_try_echo
=$ac_try;;
49072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49073 (eval "$ac_link") 2>conftest.er1
49075 grep -v '^ *+' conftest.er1
>conftest.err
49077 cat conftest.err
>&5
49078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49079 (exit $ac_status); } && {
49080 test -z "$ac_c_werror_flag" ||
49081 test ! -s conftest.err
49082 } && test -s conftest
$ac_exeext &&
49083 $as_test_x conftest
$ac_exeext; then
49084 eval "$as_ac_var=yes"
49086 echo "$as_me: failed program was:" >&5
49087 sed 's/^/| /' conftest.
$ac_ext >&5
49089 eval "$as_ac_var=no"
49092 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
49093 conftest
$ac_exeext conftest.
$ac_ext
49095 ac_res
=`eval echo '${'$as_ac_var'}'`
49096 { echo "$as_me:$LINENO: result: $ac_res" >&5
49097 echo "${ECHO_T}$ac_res" >&6; }
49098 if test `eval echo '${'$as_ac_var'}'` = yes; then
49099 cat >>confdefs.h
<<_ACEOF
49100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49107 if test "$ac_cv_func_cairo_push_group" = "no"; then
49109 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
49110 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
49112 cat >>confdefs.h
<<\_ACEOF
49113 #define wxUSE_CAIRO 1
49117 if test "$wxUSE_GTK" != 1; then
49118 CPPFLAGS
="$CAIRO_CFLAGS $CPPFLAGS"
49119 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $CAIRO_LIBS"
49127 if test "$wx_has_graphics" = 1; then
49128 cat >>confdefs.h
<<\_ACEOF
49129 #define wxUSE_GRAPHICS_CONTEXT 1
49133 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
49134 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
49141 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
49144 if test "$wxUSE_GTK" = 1; then
49145 wxUSE_GSTREAMER
="no"
49147 GST_VERSION_MAJOR
=0
49148 GST_VERSION_MINOR
=10
49149 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
49151 if test "$wxUSE_GSTREAMER8" = "no"; then
49154 { echo "$as_me:$LINENO: checking for GST" >&5
49155 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49157 if test -n "$PKG_CONFIG"; then
49158 if test -n "$GST_CFLAGS"; then
49159 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
49161 if test -n "$PKG_CONFIG" && \
49162 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49163 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49166 (exit $ac_status); }; then
49167 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49175 if test -n "$PKG_CONFIG"; then
49176 if test -n "$GST_LIBS"; then
49177 pkg_cv_GST_LIBS
="$GST_LIBS"
49179 if test -n "$PKG_CONFIG" && \
49180 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49181 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49184 (exit $ac_status); }; then
49185 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49196 if test $pkg_failed = yes; then
49198 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49199 _pkg_short_errors_supported
=yes
49201 _pkg_short_errors_supported
=no
49203 if test $_pkg_short_errors_supported = yes; then
49204 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49206 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49208 # Put the nasty error message in config.log where it belongs
49209 echo "$GST_PKG_ERRORS" >&5
49212 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49213 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49214 GST_VERSION_MINOR
=8
49217 elif test $pkg_failed = untried
; then
49219 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49220 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49221 GST_VERSION_MINOR
=8
49225 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
49226 GST_LIBS
=$pkg_cv_GST_LIBS
49227 { echo "$as_me:$LINENO: result: yes" >&5
49228 echo "${ECHO_T}yes" >&6; }
49230 wxUSE_GSTREAMER
="yes"
49231 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
49235 GST_VERSION_MINOR
=8
49238 if test $GST_VERSION_MINOR = "8"; then
49239 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
49242 { echo "$as_me:$LINENO: checking for GST" >&5
49243 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49245 if test -n "$PKG_CONFIG"; then
49246 if test -n "$GST_CFLAGS"; then
49247 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
49249 if test -n "$PKG_CONFIG" && \
49250 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49251 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49254 (exit $ac_status); }; then
49255 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49263 if test -n "$PKG_CONFIG"; then
49264 if test -n "$GST_LIBS"; then
49265 pkg_cv_GST_LIBS
="$GST_LIBS"
49267 if test -n "$PKG_CONFIG" && \
49268 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49269 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49272 (exit $ac_status); }; then
49273 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49284 if test $pkg_failed = yes; then
49286 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49287 _pkg_short_errors_supported
=yes
49289 _pkg_short_errors_supported
=no
49291 if test $_pkg_short_errors_supported = yes; then
49292 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49294 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49296 # Put the nasty error message in config.log where it belongs
49297 echo "$GST_PKG_ERRORS" >&5
49300 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49301 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49303 elif test $pkg_failed = untried
; then
49305 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49306 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49309 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
49310 GST_LIBS
=$pkg_cv_GST_LIBS
49311 { echo "$as_me:$LINENO: result: yes" >&5
49312 echo "${ECHO_T}yes" >&6; }
49313 wxUSE_GSTREAMER
="yes"
49318 if test "$wxUSE_GSTREAMER" = "yes"; then
49319 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
49320 EXTRALIBS_MEDIA
="$GST_LIBS"
49322 cat >>confdefs.h
<<\_ACEOF
49323 #define wxUSE_GSTREAMER 1
49331 if test $USE_MEDIA = 1; then
49332 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
49333 cat >>confdefs.h
<<\_ACEOF
49334 #define wxUSE_MEDIACTRL 1
49338 if test "$wxUSE_MEDIACTRL" = "yes"; then
49339 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
49340 echo "$as_me: error: GStreamer not available" >&2;}
49341 { (exit 1); exit 1; }; }
49343 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
49344 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
49350 if test "$cross_compiling" != "no"; then
49353 OSINFO
=`uname -s -r -m`
49354 OSINFO
="\"$OSINFO\""
49357 cat >>confdefs.h
<<_ACEOF
49358 #define WXWIN_OS_DESCRIPTION $OSINFO
49363 if test "x$prefix" != "xNONE"; then
49366 wxPREFIX
=$ac_default_prefix
49369 cat >>confdefs.h
<<_ACEOF
49370 #define wxINSTALL_PREFIX "$wxPREFIX"
49376 STD_BASE_LIBS
="base"
49378 BUILT_WX_LIBS
="base"
49379 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
49381 if test "$wxUSE_SOCKETS" = "yes" ; then
49382 STD_BASE_LIBS
="net $STD_BASE_LIBS"
49383 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
49385 if test "$wxUSE_XML" = "yes" ; then
49386 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
49387 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
49390 if test "$wxUSE_GUI" = "yes"; then
49391 STD_GUI_LIBS
="adv core"
49392 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
49394 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49395 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
49396 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
49398 if test "$wxUSE_HTML" = "yes" ; then
49399 STD_GUI_LIBS
="html $STD_GUI_LIBS"
49400 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
49402 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49403 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
49405 if test "$wxUSE_OPENGL" = "yes" ; then
49406 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
49408 if test "$wxUSE_AUI" = "yes" ; then
49409 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
49411 if test "$wxUSE_PROPGRID" = "yes" ; then
49412 BUILT_WX_LIBS
="propgrid $BUILT_WX_LIBS"
49414 if test "$wxUSE_RIBBON" = "yes" ; then
49415 BUILT_WX_LIBS
="ribbon $BUILT_WX_LIBS"
49417 if test "$wxUSE_RICHTEXT" = "yes" ; then
49418 BUILT_WX_LIBS
="richtext $BUILT_WX_LIBS"
49420 if test "$wxUSE_STC" = "yes" ; then
49421 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
49423 if test "$wxUSE_WEBVIEW" = "yes" ; then
49424 STD_GUI_LIBS
="webview $STD_GUI_LIBS"
49425 BUILT_WX_LIBS
="webview $BUILT_WX_LIBS"
49427 if test "$wxUSE_XRC" = "yes" ; then
49428 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
49429 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
49440 if test "$wxUSE_MAC" = 1 ; then
49441 if test "$USE_DARWIN" = 1; then
49442 if test "$wxUSE_OSX_IPHONE" = 1; then
49443 EXTRA_FRAMEWORKS
="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
49445 EXTRA_FRAMEWORKS
="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
49449 if test "$wxUSE_OLD_COCOA" = 1 ; then
49450 EXTRA_FRAMEWORKS
="-framework IOKit -framework Cocoa"
49451 if test "$wxUSE_MEDIACTRL" = "yes"; then
49452 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
49455 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
49456 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49459 LDFLAGS
="$LDFLAGS $EXTRA_FRAMEWORKS"
49460 WXCONFIG_LDFLAGS
="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
49462 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49464 if test "$wxUSE_GUI" = "yes"; then
49467 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49468 erase event exec font image minimal render \
49469 shaped svg taborder vscroll widgets wrapsizer"
49471 if test "$wxUSE_MONOLITHIC" != "yes"; then
49472 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
49474 if test "$TOOLKIT" = "MSW"; then
49475 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
49476 if test "$wxUSE_UNIVERSAL" != "yes"; then
49477 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
49480 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49481 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
49484 SAMPLES_SUBDIRS
="console"
49485 if test "$wxUSE_SOCKETS" = "yes" ; then
49486 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
49488 if test "$wxUSE_IPC" = "yes" ; then
49489 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
49494 if test "x$INTELCC" = "xyes" ; then
49495 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684,2259"
49496 elif test "$GCC" = yes ; then
49497 CWARNINGS
="-Wall -Wundef"
49500 if test "x$INTELCXX" = "xyes" ; then
49501 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
49502 elif test "$GXX" = yes ; then
49503 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
49504 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
49505 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
49506 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
49507 echo $ECHO_N "(cached) $ECHO_C" >&6
49509 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
="no, unknown"
49512 ac_cpp
='$CXXCPP $CPPFLAGS'
49513 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49514 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49515 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
49517 ac_save_CXXFLAGS
="$CXXFLAGS"
49518 for ac_arg
in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
49519 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
49520 cat >conftest.
$ac_ext <<_ACEOF
49523 cat confdefs.h
>>conftest.
$ac_ext
49524 cat >>conftest.
$ac_ext <<_ACEOF
49525 /* end confdefs.h. */
49535 rm -f conftest.
$ac_objext
49536 if { (ac_try
="$ac_compile"
49537 case "(($ac_try" in
49538 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49539 *) ac_try_echo=$ac_try;;
49541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49542 (eval "$ac_compile") 2>conftest.er1
49544 grep -v '^ *+' conftest.er1 >conftest.err
49546 cat conftest.err >&5
49547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49548 (exit $ac_status); } && {
49549 test -z "$ac_cxx_werror_flag" ||
49550 test ! -s conftest.err
49551 } && test -s conftest.$ac_objext; then
49552 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
49554 echo "$as_me: failed program was:" >&5
49555 sed 's/^/| /' conftest.$ac_ext >&5
49560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49562 CXXFLAGS="$ac_save_CXXFLAGS"
49564 ac_cpp='$CPP $CPPFLAGS'
49565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49571 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
49572 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
49573 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
49577 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
49578 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
49579 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
49581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49582 (exit $ac_status); }
49583 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
49584 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
49586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49587 (exit $ac_status); }
49588 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
49594 if test "$wxUSE_MAC" = 1 ; then
49595 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
49600 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49601 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49604 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49605 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
49606 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
49609 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49610 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49611 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49612 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
49613 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
49615 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49618 if test "x$MWCC" = "xyes"; then
49620 CC="$CC -cwd source -I-"
49621 CXX="$CXX -cwd source -I-"
49626 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49627 EXTRALIBS_XML="$EXPAT_LINK"
49628 EXTRALIBS_HTML="$MSPACK_LINK"
49629 EXTRALIBS_MEDIA="$GST_LIBS"
49630 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49631 if test "$wxUSE_GUI" = "yes"; then
49632 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49634 if test "$wxUSE_OPENGL" = "yes"; then
49635 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49638 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49640 WXCONFIG_LIBS="$LIBS"
49642 if test "$wxUSE_REGEX" = "builtin" ; then
49643 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49645 if test "$wxUSE_EXPAT" = "builtin" ; then
49646 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49648 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49649 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49651 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49652 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49654 if test "$wxUSE_LIBPNG" = "builtin" ; then
49655 wxconfig_3rdparty="png $wxconfig_3rdparty"
49657 if test "$wxUSE_ZLIB" = "builtin" ; then
49658 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49661 for i in $wxconfig_3rdparty ; do
49662 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49666 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49669 case "$wxUNIV_THEMES" in
49671 cat >>confdefs.h <<\_ACEOF
49672 #define wxUSE_ALL_THEMES 1
49678 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
49679 cat >>confdefs.h <<_ACEOF
49680 #define wxUSE_THEME_$t 1
49696 if test $wxUSE_MONOLITHIC = "yes" ; then
49702 if test $wxUSE_PLUGINS = "yes" ; then
49708 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49714 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49746 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
49759 TOOLKIT_DESC="GTK+"
49760 if test "$WXGTK2" = 1; then
49761 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49762 if test "$wxUSE_GTKPRINT" = "yes" ; then
49763 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
49765 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49766 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49768 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49769 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49771 if test "$wxUSE_LIBHILDON" = "yes"; then
49772 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49774 if test "$wxUSE_LIBHILDON2" = "yes"; then
49775 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49778 if test "$TOOLKIT_EXTRA" != ""; then
49779 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49785 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49789 TOOLKIT_DESC="base only"
49793 if test "$wxUSE_WINE" = "yes"; then
49794 BAKEFILE_FORCE_PLATFORM=win32
49797 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49799 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49800 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49801 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49802 echo $ECHO_N "(cached) $ECHO_C" >&6
49805 echo '#include <stdio.h>
49806 const wchar_t test_var[] = L"awidetest";' > conftest.h
49808 echo '#include "conftest.h"
49811 printf("%ls", test_var);
49815 wx_cv_gcc_pch_bug="pch not supported"
49817 if $CXX conftest.h >/dev/null 2>&1
49821 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49823 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49824 grep awidetest >/dev/null
49826 wx_cv_gcc_pch_bug=no
49828 wx_cv_gcc_pch_bug=yes
49833 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49836 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49837 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49839 if test "$wx_cv_gcc_pch_bug" = yes; then
49850 if test "x$BAKEFILE_HOST" = "x"; then
49851 if test "x${host}" = "x" ; then
49852 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49853 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49854 { (exit 1); exit 1; }; }
49857 BAKEFILE_HOST="${host}"
49860 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49862 if test -n "$ac_tool_prefix"; then
49863 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49864 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49865 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49867 if test "${ac_cv_prog_RANLIB+set}" = set; then
49868 echo $ECHO_N "(cached) $ECHO_C" >&6
49870 if test -n "$RANLIB"; then
49871 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49874 for as_dir in $PATH
49877 test -z "$as_dir" && as_dir=.
49878 for ac_exec_ext in '' $ac_executable_extensions; do
49879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49880 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49890 RANLIB=$ac_cv_prog_RANLIB
49891 if test -n "$RANLIB"; then
49892 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49893 echo "${ECHO_T}$RANLIB" >&6; }
49895 { echo "$as_me:$LINENO: result: no" >&5
49896 echo "${ECHO_T}no" >&6; }
49901 if test -z "$ac_cv_prog_RANLIB"; then
49902 ac_ct_RANLIB=$RANLIB
49903 # Extract the first word of "ranlib", so it can be a program name with args.
49904 set dummy ranlib; ac_word=$2
49905 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49907 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49908 echo $ECHO_N "(cached) $ECHO_C" >&6
49910 if test -n "$ac_ct_RANLIB"; then
49911 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49914 for as_dir in $PATH
49917 test -z "$as_dir" && as_dir=.
49918 for ac_exec_ext in '' $ac_executable_extensions; do
49919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49920 ac_cv_prog_ac_ct_RANLIB="ranlib"
49921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49930 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49931 if test -n "$ac_ct_RANLIB"; then
49932 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49933 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49935 { echo "$as_me:$LINENO: result: no" >&5
49936 echo "${ECHO_T}no" >&6; }
49939 if test "x$ac_ct_RANLIB" = x; then
49942 case $cross_compiling:$ac_tool_warned in
49944 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49945 whose name does not start with the host triplet. If you think this
49946 configuration is useful to you, please write to autoconf@gnu.org." >&5
49947 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49948 whose name does not start with the host triplet. If you think this
49949 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49950 ac_tool_warned=yes ;;
49952 RANLIB=$ac_ct_RANLIB
49955 RANLIB="$ac_cv_prog_RANLIB"
49958 # Find a good install program. We prefer a C program (faster),
49959 # so one script is as good as another. But avoid the broken or
49960 # incompatible versions:
49961 # SysV /etc/install, /usr/sbin/install
49962 # SunOS /usr/etc/install
49963 # IRIX /sbin/install
49965 # AmigaOS /C/install, which installs bootblocks on floppy discs
49966 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49967 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49968 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49969 # OS/2's system install, which has a completely different semantic
49970 # ./install, which can be erroneously created by make from ./install.sh.
49971 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49972 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49973 if test -z "$INSTALL"; then
49974 if test "${ac_cv_path_install+set}" = set; then
49975 echo $ECHO_N "(cached) $ECHO_C" >&6
49977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49978 for as_dir in $PATH
49981 test -z "$as_dir" && as_dir=.
49982 # Account for people who put trailing slashes in PATH elements.
49984 ./ | .// | /cC/* | \
49985 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49986 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49989 # OSF1 and SCO ODT 3.0 have their own names for install.
49990 # Don't use installbsd from OSF since it installs stuff as root
49992 for ac_prog in ginstall scoinst install; do
49993 for ac_exec_ext in '' $ac_executable_extensions; do
49994 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49995 if test $ac_prog = install &&
49996 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49997 # AIX install. It has an incompatible calling convention.
49999 elif test $ac_prog = install &&
50000 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
50001 # program-specific install script used by HP pwplus--don't use.
50004 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
50017 if test "${ac_cv_path_install+set}" = set; then
50018 INSTALL=$ac_cv_path_install
50020 # As a last resort, use the slow shell script. Don't cache a
50021 # value for INSTALL within a source directory, because that will
50022 # break other packages using the cache if that directory is
50023 # removed, or if the value is a relative name.
50024 INSTALL=$ac_install_sh
50027 { echo "$as_me:$LINENO: result: $INSTALL" >&5
50028 echo "${ECHO_T}$INSTALL" >&6; }
50030 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
50031 # It thinks the first close brace ends the variable substitution.
50032 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
50034 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
50036 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
50038 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
50039 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
50041 if test "$LN_S" = "ln -s"; then
50042 { echo "$as_me:$LINENO: result: yes" >&5
50043 echo "${ECHO_T}yes" >&6; }
50045 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
50046 echo "${ECHO_T}no, using $LN_S" >&6; }
50050 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50051 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50052 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50053 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50054 echo $ECHO_N "(cached) $ECHO_C" >&6
50056 cat >conftest.make <<\_ACEOF
50059 @echo '@@@%%%=$(MAKE)=@@@%%%'
50061 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50062 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
50063 *@@@%%%=?*=@@@%%%*)
50064 eval ac_cv_prog_make_${ac_make}_set=yes;;
50066 eval ac_cv_prog_make_${ac_make}_set=no;;
50068 rm -f conftest.make
50070 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50071 { echo "$as_me:$LINENO: result: yes" >&5
50072 echo "${ECHO_T}yes" >&6; }
50075 { echo "$as_me:$LINENO: result: no" >&5
50076 echo "${ECHO_T}no" >&6; }
50077 SET_MAKE="MAKE=${MAKE-make}"
50082 if test "x$SUNCXX" = "xyes"; then
50084 AROPTIONS="-xar -o"
50086 elif test "x$SGICC" = "xyes"; then
50091 if test -n "$ac_tool_prefix"; then
50092 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
50093 set dummy ${ac_tool_prefix}ar; ac_word=$2
50094 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50096 if test "${ac_cv_prog_AR+set}" = set; then
50097 echo $ECHO_N "(cached) $ECHO_C" >&6
50099 if test -n "$AR"; then
50100 ac_cv_prog_AR="$AR" # Let the user override the test.
50102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50103 for as_dir in $PATH
50106 test -z "$as_dir" && as_dir=.
50107 for ac_exec_ext in '' $ac_executable_extensions; do
50108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50109 ac_cv_prog_AR="${ac_tool_prefix}ar"
50110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50120 if test -n "$AR"; then
50121 { echo "$as_me:$LINENO: result: $AR" >&5
50122 echo "${ECHO_T}$AR" >&6; }
50124 { echo "$as_me:$LINENO: result: no" >&5
50125 echo "${ECHO_T}no" >&6; }
50130 if test -z "$ac_cv_prog_AR"; then
50132 # Extract the first word of "ar", so it can be a program name with args.
50133 set dummy ar; ac_word=$2
50134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50136 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
50137 echo $ECHO_N "(cached) $ECHO_C" >&6
50139 if test -n "$ac_ct_AR"; then
50140 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
50142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50143 for as_dir in $PATH
50146 test -z "$as_dir" && as_dir=.
50147 for ac_exec_ext in '' $ac_executable_extensions; do
50148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50149 ac_cv_prog_ac_ct_AR="ar"
50150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50159 ac_ct_AR=$ac_cv_prog_ac_ct_AR
50160 if test -n "$ac_ct_AR"; then
50161 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
50162 echo "${ECHO_T}$ac_ct_AR" >&6; }
50164 { echo "$as_me:$LINENO: result: no" >&5
50165 echo "${ECHO_T}no" >&6; }
50168 if test "x$ac_ct_AR" = x; then
50171 case $cross_compiling:$ac_tool_warned in
50173 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50174 whose name does not start with the host triplet. If you think this
50175 configuration is useful to you, please write to autoconf@gnu.org." >&5
50176 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50177 whose name does not start with the host triplet. If you think this
50178 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50179 ac_tool_warned=yes ;;
50184 AR="$ac_cv_prog_AR"
50191 if test -n "$ac_tool_prefix"; then
50192 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
50193 set dummy ${ac_tool_prefix}strip; ac_word=$2
50194 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50196 if test "${ac_cv_prog_STRIP+set}" = set; then
50197 echo $ECHO_N "(cached) $ECHO_C" >&6
50199 if test -n "$STRIP"; then
50200 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
50202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50203 for as_dir in $PATH
50206 test -z "$as_dir" && as_dir=.
50207 for ac_exec_ext in '' $ac_executable_extensions; do
50208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50209 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
50210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50219 STRIP=$ac_cv_prog_STRIP
50220 if test -n "$STRIP"; then
50221 { echo "$as_me:$LINENO: result: $STRIP" >&5
50222 echo "${ECHO_T}$STRIP" >&6; }
50224 { echo "$as_me:$LINENO: result: no" >&5
50225 echo "${ECHO_T}no" >&6; }
50230 if test -z "$ac_cv_prog_STRIP"; then
50232 # Extract the first word of "strip", so it can be a program name with args.
50233 set dummy strip; ac_word=$2
50234 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50236 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
50237 echo $ECHO_N "(cached) $ECHO_C" >&6
50239 if test -n "$ac_ct_STRIP"; then
50240 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
50242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50243 for as_dir in $PATH
50246 test -z "$as_dir" && as_dir=.
50247 for ac_exec_ext in '' $ac_executable_extensions; do
50248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50249 ac_cv_prog_ac_ct_STRIP="strip"
50250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50259 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
50260 if test -n "$ac_ct_STRIP"; then
50261 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
50262 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
50264 { echo "$as_me:$LINENO: result: no" >&5
50265 echo "${ECHO_T}no" >&6; }
50268 if test "x$ac_ct_STRIP" = x; then
50271 case $cross_compiling:$ac_tool_warned in
50273 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50274 whose name does not start with the host triplet. If you think this
50275 configuration is useful to you, please write to autoconf@gnu.org." >&5
50276 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50277 whose name does not start with the host triplet. If you think this
50278 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50279 ac_tool_warned=yes ;;
50284 STRIP="$ac_cv_prog_STRIP"
50287 if test -n "$ac_tool_prefix"; then
50288 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
50289 set dummy ${ac_tool_prefix}nm; ac_word=$2
50290 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50292 if test "${ac_cv_prog_NM+set}" = set; then
50293 echo $ECHO_N "(cached) $ECHO_C" >&6
50295 if test -n "$NM"; then
50296 ac_cv_prog_NM="$NM" # Let the user override the test.
50298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50299 for as_dir in $PATH
50302 test -z "$as_dir" && as_dir=.
50303 for ac_exec_ext in '' $ac_executable_extensions; do
50304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50305 ac_cv_prog_NM="${ac_tool_prefix}nm"
50306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50316 if test -n "$NM"; then
50317 { echo "$as_me:$LINENO: result: $NM" >&5
50318 echo "${ECHO_T}$NM" >&6; }
50320 { echo "$as_me:$LINENO: result: no" >&5
50321 echo "${ECHO_T}no" >&6; }
50326 if test -z "$ac_cv_prog_NM"; then
50328 # Extract the first word of "nm", so it can be a program name with args.
50329 set dummy nm; ac_word=$2
50330 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50332 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
50333 echo $ECHO_N "(cached) $ECHO_C" >&6
50335 if test -n "$ac_ct_NM"; then
50336 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
50338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50339 for as_dir in $PATH
50342 test -z "$as_dir" && as_dir=.
50343 for ac_exec_ext in '' $ac_executable_extensions; do
50344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50345 ac_cv_prog_ac_ct_NM="nm"
50346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50355 ac_ct_NM=$ac_cv_prog_ac_ct_NM
50356 if test -n "$ac_ct_NM"; then
50357 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
50358 echo "${ECHO_T}$ac_ct_NM" >&6; }
50360 { echo "$as_me:$LINENO: result: no" >&5
50361 echo "${ECHO_T}no" >&6; }
50364 if test "x$ac_ct_NM" = x; then
50367 case $cross_compiling:$ac_tool_warned in
50369 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50370 whose name does not start with the host triplet. If you think this
50371 configuration is useful to you, please write to autoconf@gnu.org." >&5
50372 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50373 whose name does not start with the host triplet. If you think this
50374 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50375 ac_tool_warned=yes ;;
50380 NM="$ac_cv_prog_NM"
50384 { echo "$as_me:$LINENO: checking for command to install directories" >&5
50385 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
50386 INSTALL_TEST_DIR=acbftest$$
50387 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
50388 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
50389 rmdir $INSTALL_TEST_DIR
50390 INSTALL_DIR='$(INSTALL) -d'
50391 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
50392 echo "${ECHO_T}$INSTALL -d" >&6; }
50394 INSTALL_DIR="mkdir -p"
50395 { echo "$as_me:$LINENO: result: mkdir -p" >&5
50396 echo "${ECHO_T}mkdir -p" >&6; }
50401 case ${BAKEFILE_HOST} in
50402 *-*-cygwin* | *-*-mingw32* )
50403 LDFLAGS_GUI="-mwindows"
50409 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50410 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50411 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50412 echo $ECHO_N "(cached) $ECHO_C" >&6
50415 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50416 egrep -s GNU > /dev/null); then
50417 bakefile_cv_prog_makeisgnu="yes"
50419 bakefile_cv_prog_makeisgnu="no"
50423 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50424 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50426 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50443 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50444 case "${BAKEFILE_HOST}" in
50451 *-pc-os2_emx | *-pc-os2-emx )
50461 powerpc-apple-macos* )
50470 case "$BAKEFILE_FORCE_PLATFORM" in
50491 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
50492 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
50493 { (exit 1); exit 1; }; }
50508 # Check whether --enable-omf was given.
50509 if test "${enable_omf+set}" = set; then
50510 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50514 case "${BAKEFILE_HOST}" in
50516 if test "x$GCC" = "xyes"; then
50517 CFLAGS="$CFLAGS -fno-common"
50518 CXXFLAGS="$CXXFLAGS -fno-common"
50520 if test "x$XLCC" = "xyes"; then
50521 CFLAGS="$CFLAGS -qnocommon"
50522 CXXFLAGS="$CXXFLAGS -qnocommon"
50526 *-pc-os2_emx | *-pc-os2-emx )
50527 if test "x$bk_os2_use_omf" = "xyes" ; then
50530 LDFLAGS="-Zomf $LDFLAGS"
50531 CFLAGS="-Zomf $CFLAGS"
50532 CXXFLAGS="-Zomf $CXXFLAGS"
50540 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50546 SO_SUFFIX_MODULE="so"
50551 DLLPREFIX_MODULE=""
50555 case "${BAKEFILE_HOST}" in
50560 SO_SUFFIX_MODULE="sl"
50564 SO_SUFFIX_MODULE="a"
50568 SO_SUFFIX_MODULE="dll"
50569 DLLIMP_SUFFIX="dll.a"
50576 SO_SUFFIX_MODULE="dll"
50577 DLLIMP_SUFFIX="dll.a"
50587 *-pc-os2_emx | *-pc-os2-emx )
50589 SO_SUFFIX_MODULE="dll"
50590 DLLIMP_SUFFIX=$OS2_LIBEXT
50594 LIBEXT=".$OS2_LIBEXT"
50599 SO_SUFFIX_MODULE="bundle"
50603 if test "x$DLLIMP_SUFFIX" = "x" ; then
50604 DLLIMP_SUFFIX="$SO_SUFFIX"
50619 if test "x$GCC" = "xyes"; then
50623 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50624 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50627 case "${BAKEFILE_HOST}" in
50629 if test "x$GCC" != "xyes"; then
50630 LDFLAGS="$LDFLAGS -L/usr/lib"
50632 SHARED_LD_CC="${CC} -b -o"
50633 SHARED_LD_CXX="${CXX} -b -o"
50639 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
50641 elif test "x$SUNCXX" = "xyes"; then
50642 SHARED_LD_CC="${CC} -G -o"
50643 SHARED_LD_CXX="${CXX} -G -o"
50649 if test "x$SUNCXX" = xyes ; then
50650 SHARED_LD_CC="${CC} -G -o"
50651 SHARED_LD_CXX="${CXX} -G -o"
50659 cat <<EOF >shared-ld-sh
50661 #-----------------------------------------------------------------------------
50662 #-- Name: distrib/mac/shared-ld-sh
50663 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50664 #-- Author: Gilles Depeyrot
50665 #-- Copyright: (c) 2002 Gilles Depeyrot
50666 #-- Licence: any use permitted
50667 #-----------------------------------------------------------------------------
50672 linking_flag="-dynamiclib"
50673 ldargs="-r -keep_private_externs -nostdlib"
50675 if test "x${D}CXX" = "x"; then
50679 while test ${D}# -gt 0; do
50686 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50687 # collect these options and values
50688 args="${D}{args} ${D}1 ${D}2"
50693 # collect these options and values
50694 ldargs="${D}{ldargs} ${D}1 ${D}2"
50699 # collect these load args
50700 ldargs="${D}{ldargs} ${D}1"
50703 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50704 # collect these options
50705 args="${D}{args} ${D}1"
50708 -dynamiclib|-bundle)
50709 linking_flag="${D}1"
50713 echo "shared-ld: unhandled option '${D}1'"
50717 *.o | *.a | *.dylib)
50718 # collect object files
50719 objects="${D}{objects} ${D}1"
50723 echo "shared-ld: unhandled argument '${D}1'"
50734 # Link one module containing all the others
50736 if test ${D}{verbose} = 1; then
50737 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50739 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50743 # Link the shared library from the single module created, but only if the
50744 # previous command didn't fail:
50746 if test ${D}{status} = 0; then
50747 if test ${D}{verbose} = 1; then
50748 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50750 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50755 # Remove intermediate module
50757 rm -f master.${D}${D}.o
50762 chmod +x shared-ld-sh
50764 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50765 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
50768 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50769 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50770 if test "${bakefile_cv_gcc31+set}" = set; then
50771 echo $ECHO_N "(cached) $ECHO_C" >&6
50774 cat >conftest.$ac_ext <<_ACEOF
50777 cat confdefs.h >>conftest.$ac_ext
50778 cat >>conftest.$ac_ext <<_ACEOF
50779 /* end confdefs.h. */
50785 #if (__GNUC__ < 3) || \
50786 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50794 rm -f conftest.$ac_objext
50795 if { (ac_try="$ac_compile"
50796 case "(($ac_try" in
50797 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50798 *) ac_try_echo
=$ac_try;;
50800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50801 (eval "$ac_compile") 2>conftest.er1
50803 grep -v '^ *+' conftest.er1
>conftest.err
50805 cat conftest.err
>&5
50806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50807 (exit $ac_status); } && {
50808 test -z "$ac_c_werror_flag" ||
50809 test ! -s conftest.err
50810 } && test -s conftest.
$ac_objext; then
50812 bakefile_cv_gcc31
=yes
50815 echo "$as_me: failed program was:" >&5
50816 sed 's/^/| /' conftest.
$ac_ext >&5
50819 bakefile_cv_gcc31
=no
50824 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
50827 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50828 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50829 if test "$bakefile_cv_gcc31" = "no"; then
50830 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50831 SHARED_LD_CXX
="$SHARED_LD_CC"
50833 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50834 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50837 if test "x$GCC" == "xyes"; then
50838 PIC_FLAG
="-dynamic -fPIC"
50840 if test "x$XLCC" = "xyes"; then
50841 PIC_FLAG
="-dynamic -DPIC"
50846 if test "x$GCC" = "xyes"; then
50849 case "${BAKEFILE_HOST}" in
50851 LD_EXPFULL
="-Wl,-bexpfull"
50855 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
50856 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
50858 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50859 set dummy makeC
++SharedLib
; ac_word
=$2
50860 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50862 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50863 echo $ECHO_N "(cached) $ECHO_C" >&6
50865 if test -n "$AIX_CXX_LD"; then
50866 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
50868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50869 for as_dir
in $PATH
50872 test -z "$as_dir" && as_dir
=.
50873 for ac_exec_ext
in '' $ac_executable_extensions; do
50874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50875 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
50876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50883 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
50886 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
50887 if test -n "$AIX_CXX_LD"; then
50888 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50889 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50891 { echo "$as_me:$LINENO: result: no" >&5
50892 echo "${ECHO_T}no" >&6; }
50896 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
50897 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
50902 SHARED_LD_CC
="${LD} -nostart -o"
50903 SHARED_LD_CXX
="${LD} -nostart -o"
50907 if test "x$GCC" != "xyes"; then
50912 *-*-cygwin* | *-*-mingw32* )
50914 SHARED_LD_CC
="\$(CC) -shared -o"
50915 SHARED_LD_CXX
="\$(CXX) -shared -o"
50919 *-pc-os2_emx | *-pc-os2-emx )
50920 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50921 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50925 cat <<EOF >dllar.sh
50928 # dllar - a tool to build both a .dll and an .a file
50929 # from a set of object (.o) files for EMX/OS2.
50931 # Written by Andrew Zabolotny, bit@freya.etu.ru
50932 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50934 # This script will accept a set of files on the command line.
50935 # All the public symbols from the .o files will be exported into
50936 # a .DEF file, then linker will be run (through gcc) against them to
50937 # build a shared library consisting of all given .o files. All libraries
50938 # (.a) will be first decompressed into component .o files then act as
50939 # described above. You can optionally give a description (-d "description")
50940 # which will be put into .DLL. To see the list of accepted options (as well
50941 # as command-line format) simply run this program without options. The .DLL
50942 # is built to be imported by name (there is no guarantee that new versions
50943 # of the library you build will have same ordinals for same symbols).
50945 # dllar is free software; you can redistribute it and/or modify
50946 # it under the terms of the GNU General Public License as published by
50947 # the Free Software Foundation; either version 2, or (at your option)
50948 # any later version.
50950 # dllar is distributed in the hope that it will be useful,
50951 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50952 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50953 # GNU General Public License for more details.
50955 # You should have received a copy of the GNU General Public License
50956 # along with dllar; see the file COPYING. If not, write to the Free
50957 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50960 # To successfuly run this program you will need:
50961 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50962 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50964 # (used to build the .dll)
50966 # (used to create .def file from .o files)
50968 # (used to create .a file from .def file)
50969 # - GNU text utilites (cat, sort, uniq)
50970 # used to process emxexp output
50971 # - GNU file utilities (mv, rm)
50973 # - lxlite (optional, see flag below)
50974 # (used for general .dll cleanup)
50981 # basnam, variant of basename, which does _not_ remove the path, _iff_
50982 # second argument (suffix to remove) is given
50986 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50989 echo ${D}1 | sed 's/'${D}2'${D}//'
50992 echo "error in basnam ${D}*"
50998 # Cleanup temporary files and output
51001 for i in ${D}inputFiles ; do
51004 rm -rf \`basnam ${D}i !\`
51011 # Kill result in case of failure as there is just to many stupid make/nmake
51012 # things out there which doesn't do this.
51013 if [ ${D}# -eq 0 ]; then
51014 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
51018 # Print usage and exit script with rc=1.
51020 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
51021 echo ' [-name-mangler-script script.sh]'
51022 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
51023 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
51024 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
51025 echo ' [*.o] [*.a]'
51026 echo '*> "output_file" should have no extension.'
51027 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
51028 echo ' The import library name is derived from this and is set to "name".a,'
51029 echo ' unless overridden by -import'
51030 echo '*> "importlib_name" should have no extension.'
51031 echo ' If it has the .o, or .a extension, it is automatically removed.'
51032 echo ' This name is used as the import library name and may be longer and'
51033 echo ' more descriptive than the DLL name which has to follow the old '
51034 echo ' 8.3 convention of FAT.'
51035 echo '*> "script.sh may be given to override the output_file name by a'
51036 echo ' different name. It is mainly useful if the regular make process'
51037 echo ' of some package does not take into account OS/2 restriction of'
51038 echo ' DLL name lengths. It takes the importlib name as input and is'
51039 echo ' supposed to procude a shorter name as output. The script should'
51040 echo ' expect to get importlib_name without extension and should produce'
51041 echo ' a (max.) 8 letter name without extension.'
51042 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
51043 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
51044 echo ' These flags will be put at the start of GCC command line.'
51045 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
51046 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
51047 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
51048 echo ' If the last character of a symbol is "*", all symbols beginning'
51049 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
51050 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
51051 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
51052 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
51053 echo ' C runtime DLLs.'
51054 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
51055 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
51056 echo ' unchanged to GCC at the end of command line.'
51057 echo '*> If you create a DLL from a library and you do not specify -o,'
51058 echo ' the basename for DLL and import library will be set to library name,'
51059 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
51060 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
51061 echo ' library will be renamed into gcc_s.a.'
51064 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
51065 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
51070 # Execute a command.
51071 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
51072 # @Uses Whatever CleanUp() uses.
51078 if [ ${D}rcCmd -ne 0 ]; then
51079 echo "command failed, exit code="${D}rcCmd
51094 CFLAGS="-s -Zcrtdll"
51096 EXPORT_BY_ORDINALS=0
51101 case ${D}curDirS in
51105 curDirS=${D}{curDirS}"/"
51108 # Parse commandline
51111 while [ ${D}1 ]; do
51114 EXPORT_BY_ORDINALS=1;
51124 -name-mangler-script)
51145 exclude_symbols=${D}{exclude_symbols}${D}1" "
51149 library_flags=${D}{library_flags}${D}1" "
51168 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51171 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
51172 if [ ${D}omfLinking -eq 1 ]; then
51173 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
51175 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
51180 if [ ${D}libsToLink -ne 0 ]; then
51181 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51183 for file in ${D}1 ; do
51184 if [ -f ${D}file ]; then
51185 inputFiles="${D}{inputFiles} ${D}file"
51189 if [ ${D}found -eq 0 ]; then
51190 echo "ERROR: No file(s) found: "${D}1
51197 done # iterate cmdline words
51200 if [ -z "${D}inputFiles" ]; then
51201 echo "dllar: no input files"
51205 # Now extract all .o files from .a files
51207 for file in ${D}inputFiles ; do
51218 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
51223 dirname=\`basnam ${D}file ${D}suffix\`"_%"
51225 if [ ${D}? -ne 0 ]; then
51226 echo "Failed to create subdirectory ./${D}dirname"
51230 # Append '!' to indicate archive
51231 newInputFiles="${D}newInputFiles ${D}{dirname}!"
51232 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
51235 for subfile in ${D}dirname/*.o* ; do
51236 if [ -f ${D}subfile ]; then
51238 if [ -s ${D}subfile ]; then
51239 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
51240 newInputFiles="${D}newInputFiles ${D}subfile"
51244 if [ ${D}found -eq 0 ]; then
51245 echo "WARNING: there are no files in archive \\'${D}file\\'"
51249 newInputFiles="${D}{newInputFiles} ${D}file"
51253 inputFiles="${D}newInputFiles"
51255 # Output filename(s).
51257 if [ -z ${D}outFile ]; then
51259 set outFile ${D}inputFiles; outFile=${D}2
51262 # If it is an archive, remove the '!' and the '_%' suffixes
51263 case ${D}outFile in
51265 outFile=\`basnam ${D}outFile _%!\`
51270 case ${D}outFile in
51272 outFile=\`basnam ${D}outFile .dll\`
51275 outFile=\`basnam ${D}outFile .DLL\`
51278 outFile=\`basnam ${D}outFile .o\`
51281 outFile=\`basnam ${D}outFile .obj\`
51284 outFile=\`basnam ${D}outFile .a\`
51287 outFile=\`basnam ${D}outFile .lib\`
51292 case ${D}outimpFile in
51294 outimpFile=\`basnam ${D}outimpFile .a\`
51297 outimpFile=\`basnam ${D}outimpFile .lib\`
51302 if [ -z ${D}outimpFile ]; then
51303 outimpFile=${D}outFile
51305 defFile="${D}{outFile}.def"
51306 arcFile="${D}{outimpFile}.a"
51307 arcFile2="${D}{outimpFile}.lib"
51309 #create ${D}dllFile as something matching 8.3 restrictions,
51310 if [ -z ${D}renameScript ] ; then
51311 dllFile="${D}outFile"
51313 dllFile=\`${D}renameScript ${D}outimpFile\`
51316 if [ ${D}do_backup -ne 0 ] ; then
51317 if [ -f ${D}arcFile ] ; then
51318 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
51320 if [ -f ${D}arcFile2 ] ; then
51321 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
51325 # Extract public symbols from all the object files.
51326 tmpdefFile=${D}{defFile}_%
51327 rm -f ${D}tmpdefFile
51328 for file in ${D}inputFiles ; do
51333 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
51338 # Create the def file.
51340 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
51341 dllFile="${D}{dllFile}.dll"
51342 if [ ! -z ${D}description ]; then
51343 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
51345 echo "EXPORTS" >> ${D}defFile
51347 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
51348 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
51350 # Checks if the export is ok or not.
51351 for word in ${D}exclude_symbols; do
51352 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
51353 mv ${D}{tmpdefFile}% ${D}tmpdefFile
51357 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51358 sed "=" < ${D}tmpdefFile | \\
51362 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
51364 ' > ${D}{tmpdefFile}%
51365 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
51367 rm -f ${D}{tmpdefFile}%
51369 cat ${D}tmpdefFile >> ${D}defFile
51370 rm -f ${D}tmpdefFile
51372 # Do linking, create implib, and apply lxlite.
51374 for file in ${D}inputFiles ; do
51379 gccCmdl="${D}gccCmdl ${D}file"
51383 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51384 touch "${D}{outFile}.dll"
51386 doCommand "emximp -o ${D}arcFile ${D}defFile"
51387 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51389 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51392 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51394 doCommand "emxomf -s -l ${D}arcFile"
51404 powerpc
-apple-macos* | \
51405 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
51415 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51416 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51417 { (exit 1); exit 1; }; }
51420 if test "x$PIC_FLAG" != "x" ; then
51421 PIC_FLAG
="$PIC_FLAG -DPIC"
51424 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51425 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
51427 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51428 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
51443 USE_SOTWOSYMLINKS
=0
51447 case "${BAKEFILE_HOST}" in
51448 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
51449 *-*-k*bsd
*-gnu | *-*-mirbsd* )
51450 if test "x$SUNCXX" = "xyes"; then
51453 SONAME_FLAG
="-Wl,-soname,"
51457 USE_SOTWOSYMLINKS
=1
51469 USE_SOTWOSYMLINKS
=1
51487 # Check whether --enable-dependency-tracking was given.
51488 if test "${enable_dependency_tracking+set}" = set; then
51489 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
51493 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51494 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51497 if test "x$bk_use_trackdeps" = "xno" ; then
51499 { echo "$as_me:$LINENO: result: disabled" >&5
51500 echo "${ECHO_T}disabled" >&6; }
51504 if test "x$GCC" = "xyes"; then
51506 case "${BAKEFILE_HOST}" in
51508 DEPSFLAG
="-no-cpp-precomp -MMD"
51514 { echo "$as_me:$LINENO: result: gcc" >&5
51515 echo "${ECHO_T}gcc" >&6; }
51516 elif test "x$MWCC" = "xyes"; then
51519 { echo "$as_me:$LINENO: result: mwcc" >&5
51520 echo "${ECHO_T}mwcc" >&6; }
51521 elif test "x$SUNCC" = "xyes"; then
51524 { echo "$as_me:$LINENO: result: Sun cc" >&5
51525 echo "${ECHO_T}Sun cc" >&6; }
51526 elif test "x$SGICC" = "xyes"; then
51529 { echo "$as_me:$LINENO: result: SGI cc" >&5
51530 echo "${ECHO_T}SGI cc" >&6; }
51531 elif test "x$HPCC" = "xyes"; then
51534 { echo "$as_me:$LINENO: result: HP cc" >&5
51535 echo "${ECHO_T}HP cc" >&6; }
51536 elif test "x$COMPAQCC" = "xyes"; then
51539 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51540 echo "${ECHO_T}Compaq cc" >&6; }
51543 { echo "$as_me:$LINENO: result: none" >&5
51544 echo "${ECHO_T}none" >&6; }
51547 if test $DEPS_TRACKING = 1 ; then
51553 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51554 # script. It is used to track C/C++ files dependencies in portable way.
51556 # Permission is given to use this file in any way.
51558 DEPSMODE=${DEPSMODE}
51559 DEPSFLAG="${DEPSFLAG}"
51562 if test ${D}DEPSMODE = gcc ; then
51563 ${D}* ${D}{DEPSFLAG}
51566 # determine location of created files:
51567 while test ${D}# -gt 0; do
51581 objfilebase=\`basename ${D}objfile\`
51582 builddir=\`dirname ${D}objfile\`
51583 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51584 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51585 depsdir=${D}builddir/${D}DEPSDIRBASE
51586 mkdir -p ${D}depsdir
51588 # if the compiler failed, we're done:
51589 if test ${D}{status} != 0 ; then
51594 # move created file to the location we want it in:
51595 if test -f ${D}depfile ; then
51596 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51599 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51600 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
51601 if test ! -f ${D}depfile ; then
51602 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51603 depfile="${D}objfile.d"
51605 if test -f ${D}depfile ; then
51606 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51612 elif test ${D}DEPSMODE = mwcc ; then
51613 ${D}* || exit ${D}?
51614 # Run mwcc again with -MM and redirect into the dep file we want
51615 # NOTE: We can't use shift here because we need ${D}* to be valid
51617 for arg in ${D}* ; do
51618 if test "${D}prevarg" = "-o"; then
51632 objfilebase=\`basename ${D}objfile\`
51633 builddir=\`dirname ${D}objfile\`
51634 depsdir=${D}builddir/${D}DEPSDIRBASE
51635 mkdir -p ${D}depsdir
51637 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
51640 elif test ${D}DEPSMODE = unixcc; then
51641 ${D}* || exit ${D}?
51642 # Run compiler again with deps flag and redirect into the dep file.
51643 # It doesn't work if the '-o FILE' option is used, but without it the
51644 # dependency file will contain the wrong name for the object. So it is
51645 # removed from the command line, and the dep file is fixed with sed.
51647 while test ${D}# -gt 0; do
51654 eval arg${D}#=\\${D}1
51655 cmd="${D}cmd \\${D}arg${D}#"
51661 objfilebase=\`basename ${D}objfile\`
51662 builddir=\`dirname ${D}objfile\`
51663 depsdir=${D}builddir/${D}DEPSDIRBASE
51664 mkdir -p ${D}depsdir
51666 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
51676 BK_DEPS
="`pwd`/bk-deps"
51684 case ${BAKEFILE_HOST} in
51685 *-*-cygwin* | *-*-mingw32* )
51686 if test -n "$ac_tool_prefix"; then
51687 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51688 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
51689 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51691 if test "${ac_cv_prog_WINDRES+set}" = set; then
51692 echo $ECHO_N "(cached) $ECHO_C" >&6
51694 if test -n "$WINDRES"; then
51695 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
51697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51698 for as_dir
in $PATH
51701 test -z "$as_dir" && as_dir
=.
51702 for ac_exec_ext
in '' $ac_executable_extensions; do
51703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51704 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
51705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51714 WINDRES
=$ac_cv_prog_WINDRES
51715 if test -n "$WINDRES"; then
51716 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51717 echo "${ECHO_T}$WINDRES" >&6; }
51719 { echo "$as_me:$LINENO: result: no" >&5
51720 echo "${ECHO_T}no" >&6; }
51725 if test -z "$ac_cv_prog_WINDRES"; then
51726 ac_ct_WINDRES
=$WINDRES
51727 # Extract the first word of "windres", so it can be a program name with args.
51728 set dummy windres
; ac_word
=$2
51729 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51731 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51732 echo $ECHO_N "(cached) $ECHO_C" >&6
51734 if test -n "$ac_ct_WINDRES"; then
51735 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
51737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51738 for as_dir
in $PATH
51741 test -z "$as_dir" && as_dir
=.
51742 for ac_exec_ext
in '' $ac_executable_extensions; do
51743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51744 ac_cv_prog_ac_ct_WINDRES
="windres"
51745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51754 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
51755 if test -n "$ac_ct_WINDRES"; then
51756 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51757 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51759 { echo "$as_me:$LINENO: result: no" >&5
51760 echo "${ECHO_T}no" >&6; }
51763 if test "x$ac_ct_WINDRES" = x
; then
51766 case $cross_compiling:$ac_tool_warned in
51768 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51769 whose name does not start with the host triplet. If you think this
51770 configuration is useful to you, please write to autoconf@gnu.org." >&5
51771 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51772 whose name does not start with the host triplet. If you think this
51773 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51774 ac_tool_warned
=yes ;;
51776 WINDRES
=$ac_ct_WINDRES
51779 WINDRES
="$ac_cv_prog_WINDRES"
51784 *-*-darwin* | powerpc
-apple-macos* )
51785 # Extract the first word of "Rez", so it can be a program name with args.
51786 set dummy Rez
; ac_word
=$2
51787 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51789 if test "${ac_cv_prog_REZ+set}" = set; then
51790 echo $ECHO_N "(cached) $ECHO_C" >&6
51792 if test -n "$REZ"; then
51793 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
51795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51796 for as_dir
in $PATH
51799 test -z "$as_dir" && as_dir
=.
51800 for ac_exec_ext
in '' $ac_executable_extensions; do
51801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51802 ac_cv_prog_REZ
="Rez"
51803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51810 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
51813 REZ
=$ac_cv_prog_REZ
51814 if test -n "$REZ"; then
51815 { echo "$as_me:$LINENO: result: $REZ" >&5
51816 echo "${ECHO_T}$REZ" >&6; }
51818 { echo "$as_me:$LINENO: result: no" >&5
51819 echo "${ECHO_T}no" >&6; }
51823 # Extract the first word of "SetFile", so it can be a program name with args.
51824 set dummy SetFile
; ac_word
=$2
51825 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51827 if test "${ac_cv_prog_SETFILE+set}" = set; then
51828 echo $ECHO_N "(cached) $ECHO_C" >&6
51830 if test -n "$SETFILE"; then
51831 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
51833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51834 for as_dir
in $PATH
51837 test -z "$as_dir" && as_dir
=.
51838 for ac_exec_ext
in '' $ac_executable_extensions; do
51839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51840 ac_cv_prog_SETFILE
="SetFile"
51841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51848 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
51851 SETFILE
=$ac_cv_prog_SETFILE
51852 if test -n "$SETFILE"; then
51853 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51854 echo "${ECHO_T}$SETFILE" >&6; }
51856 { echo "$as_me:$LINENO: result: no" >&5
51857 echo "${ECHO_T}no" >&6; }
51872 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.9"
51875 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.9"
51879 # Check whether --enable-precomp-headers was given.
51880 if test "${enable_precomp_headers+set}" = set; then
51881 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
51890 case ${BAKEFILE_HOST} in
51896 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51897 if test "x$GCC" = "xyes"; then
51898 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51899 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51900 cat >conftest.
$ac_ext <<_ACEOF
51903 cat confdefs.h
>>conftest.
$ac_ext
51904 cat >>conftest.
$ac_ext <<_ACEOF
51905 /* end confdefs.h. */
51911 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51912 There is no PCH support
51915 There is no PCH support
51917 #if (__GNUC__ == 3) && \
51918 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51919 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51920 ( defined(__INTEL_COMPILER) )
51921 There is no PCH support
51928 rm -f conftest.
$ac_objext
51929 if { (ac_try
="$ac_compile"
51930 case "(($ac_try" in
51931 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51932 *) ac_try_echo=$ac_try;;
51934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51935 (eval "$ac_compile") 2>conftest.er1
51937 grep -v '^ *+' conftest.er1 >conftest.err
51939 cat conftest.err >&5
51940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51941 (exit $ac_status); } && {
51942 test -z "$ac_c_werror_flag" ||
51943 test ! -s conftest.err
51944 } && test -s conftest.$ac_objext; then
51946 { echo "$as_me:$LINENO: result: yes" >&5
51947 echo "${ECHO_T}yes" >&6; }
51951 echo "$as_me: failed program was:" >&5
51952 sed 's/^/| /' conftest.$ac_ext >&5
51955 if test "$INTELCXX8" = "yes"; then
51956 { echo "$as_me:$LINENO: result: yes" >&5
51957 echo "${ECHO_T}yes" >&6; }
51959 if test "$INTELCXX10" = "yes"; then
51960 ICC_PCH_CREATE_SWITCH="-pch-create"
51961 ICC_PCH_USE_SWITCH="-pch-use"
51963 ICC_PCH_CREATE_SWITCH="-create-pch"
51964 ICC_PCH_USE_SWITCH="-use-pch"
51967 { echo "$as_me:$LINENO: result: no" >&5
51968 echo "${ECHO_T}no" >&6; }
51973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51974 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51978 cat <<EOF >bk-make-pch
51981 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51982 # script. It is used to generated precompiled headers.
51984 # Permission is given to use this file in any way.
51991 builddir=\`echo ${D}outfile
| sed -e 's,/\\.pch/.*${D},,g'\
`
51996 while test ${D}{#} -gt 0; do
52000 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
52001 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
52002 headerfile="${D}{incdir}/${D}{header}"
52005 -use-pch|-use_pch|-pch-use )
52010 if test ${D}add_to_cmdline = 1 ; then
52011 compiler="${D}{compiler} ${D}{1}"
52016 if test "x${D}{headerfile}" = "x" ; then
52017 echo "error: can't find header ${D}{header} in include paths" >&2
52019 if test -f ${D}{outfile} ; then
52020 rm -f ${D}{outfile}
52022 mkdir -p \`dirname ${D}{outfile
}\
`
52024 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
52025 mkdir -p ${D}{builddir}/.deps
52026 if test "x${GCC_PCH}" = "x1" ; then
52027 # can do this because gcc is >= 3.4:
52028 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
52029 elif test "x${ICC_PCH}" = "x1" ; then
52030 filename=pch_gen-${D}${D}
52031 file=${D}{filename}.c
52032 dfile=${D}{filename}.d
52033 cat > ${D}file <<EOT
52034 #include "${D}header"
52036 # using -MF icc complains about differing command lines in creation/use
52037 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
52038 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
52039 rm -f ${D}file ${D}dfile ${D}{filename}.o
52045 chmod +x bk-make-pch
52046 BK_MAKE_PCH="`pwd`/bk-make-pch"
52057 COND_BUILD_DEBUG="#"
52058 if test "x$BUILD" = "xdebug" ; then
52059 COND_BUILD_DEBUG=""
52062 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
52063 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
52064 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
52067 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
52068 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
52069 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
52072 COND_BUILD_DEBUG_UNICODE_0="#"
52073 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
52074 COND_BUILD_DEBUG_UNICODE_0=""
52077 COND_BUILD_DEBUG_UNICODE_1="#"
52078 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
52079 COND_BUILD_DEBUG_UNICODE_1=""
52082 COND_BUILD_RELEASE="#"
52083 if test "x$BUILD" = "xrelease" ; then
52084 COND_BUILD_RELEASE=""
52087 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
52088 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
52089 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
52092 COND_BUILD_RELEASE_UNICODE_0="#"
52093 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
52094 COND_BUILD_RELEASE_UNICODE_0=""
52097 COND_BUILD_RELEASE_UNICODE_1="#"
52098 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
52099 COND_BUILD_RELEASE_UNICODE_1=""
52102 COND_BUILD_debug="#"
52103 if test "x$BUILD" = "xdebug" ; then
52104 COND_BUILD_debug=""
52107 COND_BUILD_debug_DEBUG_FLAG_default="#"
52108 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
52109 COND_BUILD_debug_DEBUG_FLAG_default=""
52112 COND_BUILD_debug_DEBUG_INFO_default="#"
52113 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
52114 COND_BUILD_debug_DEBUG_INFO_default=""
52117 COND_BUILD_debug_UNICODE_0="#"
52118 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
52119 COND_BUILD_debug_UNICODE_0=""
52122 COND_BUILD_debug_UNICODE_1="#"
52123 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
52124 COND_BUILD_debug_UNICODE_1=""
52127 COND_BUILD_release="#"
52128 if test "x$BUILD" = "xrelease" ; then
52129 COND_BUILD_release=""
52132 COND_BUILD_release_DEBUG_INFO_default="#"
52133 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
52134 COND_BUILD_release_DEBUG_INFO_default=""
52137 COND_BUILD_release_UNICODE_0="#"
52138 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
52139 COND_BUILD_release_UNICODE_0=""
52142 COND_BUILD_release_UNICODE_1="#"
52143 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
52144 COND_BUILD_release_UNICODE_1=""
52147 COND_DEBUG_FLAG_0="#"
52148 if test "x$DEBUG_FLAG" = "x0" ; then
52149 COND_DEBUG_FLAG_0=""
52152 COND_DEBUG_FLAG_1="#"
52153 if test "x$DEBUG_FLAG" = "x1" ; then
52154 COND_DEBUG_FLAG_1=""
52157 COND_DEBUG_INFO_0="#"
52158 if test "x$DEBUG_INFO" = "x0" ; then
52159 COND_DEBUG_INFO_0=""
52162 COND_DEBUG_INFO_1="#"
52163 if test "x$DEBUG_INFO" = "x1" ; then
52164 COND_DEBUG_INFO_1=""
52167 COND_DEPS_TRACKING_0="#"
52168 if test "x$DEPS_TRACKING" = "x0" ; then
52169 COND_DEPS_TRACKING_0=""
52172 COND_DEPS_TRACKING_1="#"
52173 if test "x$DEPS_TRACKING" = "x1" ; then
52174 COND_DEPS_TRACKING_1=""
52178 if test "x$GCC_PCH" = "x1" ; then
52183 if test "x$ICC_PCH" = "x1" ; then
52187 COND_MONOLITHIC_0="#"
52188 if test "x$MONOLITHIC" = "x0" ; then
52189 COND_MONOLITHIC_0=""
52192 COND_MONOLITHIC_0_SHARED_0="#"
52193 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
52194 COND_MONOLITHIC_0_SHARED_0=""
52197 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
52198 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
52199 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
52202 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
52203 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
52204 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
52207 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
52208 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52209 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
52212 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
52213 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52214 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
52217 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
52218 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52219 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
52222 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
52223 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
52224 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
52227 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
52228 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
52229 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
52232 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
52233 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
52234 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
52237 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
52238 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52239 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
52242 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
52243 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52244 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
52247 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
52248 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52249 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
52252 COND_MONOLITHIC_0_SHARED_1="#"
52253 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
52254 COND_MONOLITHIC_0_SHARED_1=""
52257 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
52258 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
52259 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
52262 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
52263 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
52264 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
52267 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
52268 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52269 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
52272 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
52273 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52274 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
52277 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
52278 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52279 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
52282 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
52283 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
52284 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
52287 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
52288 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
52289 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
52292 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
52293 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
52294 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
52297 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
52298 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
52299 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
52302 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
52303 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
52304 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
52307 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
52308 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52309 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
52312 COND_MONOLITHIC_0_USE_AUI_1="#"
52313 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
52314 COND_MONOLITHIC_0_USE_AUI_1=""
52317 COND_MONOLITHIC_0_USE_GUI_1="#"
52318 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
52319 COND_MONOLITHIC_0_USE_GUI_1=""
52322 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
52323 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52324 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
52327 COND_MONOLITHIC_0_USE_HTML_1="#"
52328 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
52329 COND_MONOLITHIC_0_USE_HTML_1=""
52332 COND_MONOLITHIC_0_USE_MEDIA_1="#"
52333 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
52334 COND_MONOLITHIC_0_USE_MEDIA_1=""
52337 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
52338 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
52339 COND_MONOLITHIC_0_USE_PROPGRID_1=""
52342 COND_MONOLITHIC_0_USE_QA_1="#"
52343 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
52344 COND_MONOLITHIC_0_USE_QA_1=""
52347 COND_MONOLITHIC_0_USE_RIBBON_1="#"
52348 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
52349 COND_MONOLITHIC_0_USE_RIBBON_1=""
52352 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
52353 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52354 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
52357 COND_MONOLITHIC_0_USE_STC_1="#"
52358 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
52359 COND_MONOLITHIC_0_USE_STC_1=""
52362 COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
52363 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
52364 COND_MONOLITHIC_0_USE_WEBVIEW_1=""
52367 COND_MONOLITHIC_0_USE_XRC_1="#"
52368 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
52369 COND_MONOLITHIC_0_USE_XRC_1=""
52372 COND_MONOLITHIC_1="#"
52373 if test "x$MONOLITHIC" = "x1" ; then
52374 COND_MONOLITHIC_1=""
52377 COND_MONOLITHIC_1_SHARED_0="#"
52378 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
52379 COND_MONOLITHIC_1_SHARED_0=""
52382 COND_MONOLITHIC_1_SHARED_1="#"
52383 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
52384 COND_MONOLITHIC_1_SHARED_1=""
52387 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
52388 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
52389 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
52392 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
52393 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
52394 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
52397 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
52398 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52399 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
52402 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
52403 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52404 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
52407 COND_PLATFORM_MACOSX_1="#"
52408 if test "x$PLATFORM_MACOSX" = "x1" ; then
52409 COND_PLATFORM_MACOSX_1=""
52412 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
52413 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
52414 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
52417 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
52418 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
52419 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
52422 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
52423 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52424 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
52427 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
52428 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52429 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
52432 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
52433 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52434 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
52437 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
52438 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52439 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
52442 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
52443 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52444 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
52447 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
52448 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52449 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
52452 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52453 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52454 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52457 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
52458 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52459 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
52462 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52463 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52464 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52467 COND_PLATFORM_MACOS_1="#"
52468 if test "x$PLATFORM_MACOS" = "x1" ; then
52469 COND_PLATFORM_MACOS_1=""
52472 COND_PLATFORM_MAC_0="#"
52473 if test "x$PLATFORM_MAC" = "x0" ; then
52474 COND_PLATFORM_MAC_0=""
52477 COND_PLATFORM_MAC_1="#"
52478 if test "x$PLATFORM_MAC" = "x1" ; then
52479 COND_PLATFORM_MAC_1=""
52482 COND_PLATFORM_MSDOS_0="#"
52483 if test "x$PLATFORM_MSDOS" = "x0" ; then
52484 COND_PLATFORM_MSDOS_0=""
52487 COND_PLATFORM_MSDOS_1="#"
52488 if test "x$PLATFORM_MSDOS" = "x1" ; then
52489 COND_PLATFORM_MSDOS_1=""
52492 COND_PLATFORM_OS2_1="#"
52493 if test "x$PLATFORM_OS2" = "x1" ; then
52494 COND_PLATFORM_OS2_1=""
52497 COND_PLATFORM_UNIX_0="#"
52498 if test "x$PLATFORM_UNIX" = "x0" ; then
52499 COND_PLATFORM_UNIX_0=""
52502 COND_PLATFORM_UNIX_1="#"
52503 if test "x$PLATFORM_UNIX" = "x1" ; then
52504 COND_PLATFORM_UNIX_1=""
52507 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52508 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52509 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52512 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52513 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52514 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52517 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52518 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52519 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52522 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52523 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52524 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52527 COND_PLATFORM_WIN32_0="#"
52528 if test "x$PLATFORM_WIN32" = "x0" ; then
52529 COND_PLATFORM_WIN32_0=""
52532 COND_PLATFORM_WIN32_1="#"
52533 if test "x$PLATFORM_WIN32" = "x1" ; then
52534 COND_PLATFORM_WIN32_1=""
52537 COND_PLATFORM_WIN32_1_SHARED_0="#"
52538 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
52539 COND_PLATFORM_WIN32_1_SHARED_0=""
52543 if test "x$SHARED" = "x0" ; then
52547 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52548 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52549 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52552 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52553 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52554 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52557 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52558 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52559 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52562 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52563 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52564 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52567 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52568 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52569 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52572 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52573 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52574 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52577 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52578 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52579 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52582 COND_SHARED_0_USE_STC_1="#"
52583 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52584 COND_SHARED_0_USE_STC_1=""
52587 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
52588 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52589 COND_SHARED_0_wxUSE_EXPAT_builtin=""
52592 COND_SHARED_0_wxUSE_REGEX_builtin="#"
52593 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52594 COND_SHARED_0_wxUSE_REGEX_builtin=""
52597 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
52598 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52599 COND_SHARED_0_wxUSE_ZLIB_builtin=""
52603 if test "x$SHARED" = "x1" ; then
52607 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52608 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52609 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52613 if test "x$TOOLKIT" = "x" ; then
52617 COND_TOOLKIT_COCOA="#"
52618 if test "x$TOOLKIT" = "xCOCOA" ; then
52619 COND_TOOLKIT_COCOA=""
52622 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52623 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52624 COND_TOOLKIT_COCOA_USE_GUI_1=""
52627 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52628 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52629 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52632 COND_TOOLKIT_DFB="#"
52633 if test "x$TOOLKIT" = "xDFB" ; then
52634 COND_TOOLKIT_DFB=""
52637 COND_TOOLKIT_DFB_USE_GUI_1="#"
52638 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52639 COND_TOOLKIT_DFB_USE_GUI_1=""
52642 COND_TOOLKIT_GTK="#"
52643 if test "x$TOOLKIT" = "xGTK" ; then
52644 COND_TOOLKIT_GTK=""
52647 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52648 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52649 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52652 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52653 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52654 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52657 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52658 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52659 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52662 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52663 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52664 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52667 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52668 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52669 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52672 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52673 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52674 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52677 COND_TOOLKIT_GTK_USE_GUI_1="#"
52678 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52679 COND_TOOLKIT_GTK_USE_GUI_1=""
52682 COND_TOOLKIT_MAC="#"
52683 if test "x$TOOLKIT" = "xMAC" ; then
52684 COND_TOOLKIT_MAC=""
52687 COND_TOOLKIT_MGL="#"
52688 if test "x$TOOLKIT" = "xMGL" ; then
52689 COND_TOOLKIT_MGL=""
52692 COND_TOOLKIT_MGL_USE_GUI_1="#"
52693 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52694 COND_TOOLKIT_MGL_USE_GUI_1=""
52697 COND_TOOLKIT_MOTIF="#"
52698 if test "x$TOOLKIT" = "xMOTIF" ; then
52699 COND_TOOLKIT_MOTIF=""
52702 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52703 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52704 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52707 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52708 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52709 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52712 COND_TOOLKIT_MSW="#"
52713 if test "x$TOOLKIT" = "xMSW" ; then
52714 COND_TOOLKIT_MSW=""
52717 COND_TOOLKIT_MSW_USE_GUI_1="#"
52718 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52719 COND_TOOLKIT_MSW_USE_GUI_1=""
52722 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52723 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52724 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52727 COND_TOOLKIT_MSW_WXUNIV_0="#"
52728 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52729 COND_TOOLKIT_MSW_WXUNIV_0=""
52732 COND_TOOLKIT_OSX_CARBON="#"
52733 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
52734 COND_TOOLKIT_OSX_CARBON=""
52737 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
52738 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52739 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
52742 COND_TOOLKIT_OSX_COCOA="#"
52743 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
52744 COND_TOOLKIT_OSX_COCOA=""
52747 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
52748 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52749 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
52752 COND_TOOLKIT_OSX_IPHONE="#"
52753 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
52754 COND_TOOLKIT_OSX_IPHONE=""
52757 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
52758 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52759 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
52762 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
52763 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52764 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
52767 COND_TOOLKIT_PM="#"
52768 if test "x$TOOLKIT" = "xPM" ; then
52772 COND_TOOLKIT_PM_USE_GUI_1="#"
52773 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52774 COND_TOOLKIT_PM_USE_GUI_1=""
52777 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52778 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52779 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52782 COND_TOOLKIT_WINCE="#"
52783 if test "x$TOOLKIT" = "xWINCE" ; then
52784 COND_TOOLKIT_WINCE=""
52787 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52788 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52789 COND_TOOLKIT_WINCE_USE_GUI_1=""
52792 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52793 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52794 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52797 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52798 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52799 COND_TOOLKIT_WINCE_WXUNIV_0=""
52802 COND_TOOLKIT_X11="#"
52803 if test "x$TOOLKIT" = "xX11" ; then
52804 COND_TOOLKIT_X11=""
52807 COND_TOOLKIT_X11_USE_GUI_1="#"
52808 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52809 COND_TOOLKIT_X11_USE_GUI_1=""
52813 if test "x$UNICODE" = "x1" ; then
52817 COND_USE_CAIRO_1="#"
52818 if test "x$USE_CAIRO" = "x1" ; then
52819 COND_USE_CAIRO_1=""
52822 COND_USE_EXCEPTIONS_0="#"
52823 if test "x$USE_EXCEPTIONS" = "x0" ; then
52824 COND_USE_EXCEPTIONS_0=""
52827 COND_USE_EXCEPTIONS_1="#"
52828 if test "x$USE_EXCEPTIONS" = "x1" ; then
52829 COND_USE_EXCEPTIONS_1=""
52833 if test "x$USE_GUI" = "x0" ; then
52838 if test "x$USE_GUI" = "x1" ; then
52842 COND_USE_GUI_1_USE_OPENGL_1="#"
52843 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52844 COND_USE_GUI_1_USE_OPENGL_1=""
52847 COND_USE_GUI_1_WXUNIV_0="#"
52848 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52849 COND_USE_GUI_1_WXUNIV_0=""
52852 COND_USE_GUI_1_WXUNIV_1="#"
52853 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52854 COND_USE_GUI_1_WXUNIV_1=""
52857 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52858 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52859 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52862 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52863 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52864 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52867 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52868 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52869 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52872 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52873 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52874 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52877 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52878 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52879 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52882 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52883 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52884 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52887 COND_USE_OPENGL_1="#"
52888 if test "x$USE_OPENGL" = "x1" ; then
52889 COND_USE_OPENGL_1=""
52893 if test "x$USE_PCH" = "x1" ; then
52897 COND_USE_PLUGINS_0="#"
52898 if test "x$USE_PLUGINS" = "x0" ; then
52899 COND_USE_PLUGINS_0=""
52902 COND_USE_RTTI_0="#"
52903 if test "x$USE_RTTI" = "x0" ; then
52907 COND_USE_RTTI_1="#"
52908 if test "x$USE_RTTI" = "x1" ; then
52912 COND_USE_SOTWOSYMLINKS_1="#"
52913 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
52914 COND_USE_SOTWOSYMLINKS_1=""
52917 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52918 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52919 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52922 COND_USE_SOVERLINUX_1="#"
52923 if test "x$USE_SOVERLINUX" = "x1" ; then
52924 COND_USE_SOVERLINUX_1=""
52927 COND_USE_SOVERSION_0="#"
52928 if test "x$USE_SOVERSION" = "x0" ; then
52929 COND_USE_SOVERSION_0=""
52932 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
52933 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
52934 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
52937 COND_USE_SOVERSOLARIS_1="#"
52938 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52939 COND_USE_SOVERSOLARIS_1=""
52943 if test "x$USE_STC" = "x1" ; then
52947 COND_USE_THREADS_0="#"
52948 if test "x$USE_THREADS" = "x0" ; then
52949 COND_USE_THREADS_0=""
52952 COND_USE_THREADS_1="#"
52953 if test "x$USE_THREADS" = "x1" ; then
52954 COND_USE_THREADS_1=""
52958 if test "x$USE_XRC" = "x1" ; then
52962 COND_WINDOWS_IMPLIB_1="#"
52963 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52964 COND_WINDOWS_IMPLIB_1=""
52967 COND_WITH_PLUGIN_SDL_1="#"
52968 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52969 COND_WITH_PLUGIN_SDL_1=""
52973 if test "x$WXUNIV" = "x0" ; then
52978 if test "x$WXUNIV" = "x1" ; then
52982 COND_WXUSE_EXPAT_BUILTIN="#"
52983 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52984 COND_WXUSE_EXPAT_BUILTIN=""
52987 COND_WXUSE_LIBJPEG_BUILTIN="#"
52988 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52989 COND_WXUSE_LIBJPEG_BUILTIN=""
52992 COND_WXUSE_LIBPNG_BUILTIN="#"
52993 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52994 COND_WXUSE_LIBPNG_BUILTIN=""
52997 COND_WXUSE_LIBTIFF_BUILTIN="#"
52998 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52999 COND_WXUSE_LIBTIFF_BUILTIN=""
53002 COND_WXUSE_REGEX_BUILTIN="#"
53003 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
53004 COND_WXUSE_REGEX_BUILTIN=""
53007 COND_WXUSE_ZLIB_BUILTIN="#"
53008 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
53009 COND_WXUSE_ZLIB_BUILTIN=""
53012 COND_wxUSE_EXPAT_builtin="#"
53013 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
53014 COND_wxUSE_EXPAT_builtin=""
53017 COND_wxUSE_LIBJPEG_builtin="#"
53018 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
53019 COND_wxUSE_LIBJPEG_builtin=""
53022 COND_wxUSE_LIBPNG_builtin="#"
53023 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
53024 COND_wxUSE_LIBPNG_builtin=""
53027 COND_wxUSE_LIBTIFF_builtin="#"
53028 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
53029 COND_wxUSE_LIBTIFF_builtin=""
53032 COND_wxUSE_REGEX_builtin="#"
53033 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
53034 COND_wxUSE_REGEX_builtin=""
53037 COND_wxUSE_ZLIB_builtin="#"
53038 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
53039 COND_wxUSE_ZLIB_builtin=""
53044 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
53045 { { 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
53046 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;}
53047 { (exit 1); exit 1; }; }
53050 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
53051 { { 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
53052 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;}
53053 { (exit 1); exit 1; }; }
53060 ?:* ) # Drive letter, considered as absolute.
53063 INSTALL=`pwd`/${INSTALL} ;;
53066 if test "$wxUSE_GUI" = "yes"; then
53068 if test "$wxUSE_MSW" = 1 ; then
53069 if test "x$WINDRES" = "x"; then
53070 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
53071 echo "$as_me: error: Required windres program not found" >&2;}
53072 { (exit 1); exit 1; }; }
53078 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
53079 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
53080 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
53082 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
53084 # Extract the first word of "DeRez", so it can be a program name with args.
53085 set dummy DeRez; ac_word=$2
53086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53088 if test "${ac_cv_prog_DEREZ+set}" = set; then
53089 echo $ECHO_N "(cached) $ECHO_C" >&6
53091 if test -n "$DEREZ"; then
53092 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
53094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53095 for as_dir in $PATH
53098 test -z "$as_dir" && as_dir=.
53099 for ac_exec_ext in '' $ac_executable_extensions; do
53100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53101 ac_cv_prog_DEREZ="DeRez"
53102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53109 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
53112 DEREZ=$ac_cv_prog_DEREZ
53113 if test -n "$DEREZ"; then
53114 { echo "$as_me:$LINENO: result: $DEREZ" >&5
53115 echo "${ECHO_T}$DEREZ" >&6; }
53117 { echo "$as_me:$LINENO: result: no" >&5
53118 echo "${ECHO_T}no" >&6; }
53123 MACSETFILE="\$(SETFILE)"
53125 if test "$wxUSE_OSX_CARBON" = 1; then
53126 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
53128 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
53130 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
53131 RESCOMP="cat /dev/null \| $REZ"
53132 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
53138 if test "$wxUSE_PM" = 1; then
53140 WXCONFIG_RESFLAGS="-ep"
53142 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
53144 POSTLINK_COMMAND="@true"
53151 if test $GCC_PCH = 1
53153 if test "$wx_cv_gcc_pch_bug" = yes; then
53154 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
53155 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
53156 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
53157 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
53158 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
53159 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
53162 # Our WX_PRECOMP flag does not make sense for any language except C++ because
53163 # the headers that benefit from precompilation are mostly C++ headers.
53164 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
53165 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
53166 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
53170 if test "$wxUSE_MAC" = 1 ; then
53171 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
53172 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
53178 if test "$wxUSE_SHARED" = "yes"; then
53180 *-pc-os2_emx | *-pc-os2-emx )
53181 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53182 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53183 cp -p ${srcdir}/src/os2/dllnames.sh .
53184 cp -p ${srcdir}/src/os2/dllar.sh .
53188 if test "$wxUSE_OMF" = "yes"; then
53190 *-pc-os2_emx | *-pc-os2-emx )
53191 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
53192 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
53193 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
53198 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
53203 if test "$GCC" = yes; then
53204 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
53205 LIBS=`echo $LIBS | sed 's/-mt//'`
53206 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
53211 if test "x$SUNCXX" = xyes; then
53212 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
53213 LIBS=`echo $LIBS | sed 's/-pthread//'`
53214 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
53219 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
53220 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
53221 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
53222 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
53224 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
53285 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
53286 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
53287 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
53288 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
53289 echo $ECHO_N "(cached) $ECHO_C" >&6
53291 cat >conftest.make <<\_ACEOF
53294 @echo '@@@%%%=$(MAKE)=@@@%%%'
53296 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
53297 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
53298 *@@@%%%=?*=@@@%%%*)
53299 eval ac_cv_prog_make_${ac_make}_set=yes;;
53301 eval ac_cv_prog_make_${ac_make}_set=no;;
53303 rm -f conftest.make
53305 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
53306 { echo "$as_me:$LINENO: result: yes" >&5
53307 echo "${ECHO_T}yes" >&6; }
53310 { echo "$as_me:$LINENO: result: no" >&5
53311 echo "${ECHO_T}no" >&6; }
53312 SET_MAKE="MAKE=${MAKE-make}"
53317 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
53320 if test "$USE_WIN32" = 1; then
53321 ac_config_commands="$ac_config_commands rcdefs.h"
53325 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
53328 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
53331 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
53334 if test "$wx_cv_version_script" = "yes"; then
53335 ac_config_files="$ac_config_files version-script"
53338 ac_config_files="$ac_config_files Makefile"
53341 ac_config_commands="$ac_config_commands wx-config"
53345 if test "$wxWITH_SUBDIRS" != "no"; then
53346 if test "$wxUSE_GUI" = "yes"; then
53347 SUBDIRS="samples demos utils"
53349 SUBDIRS="samples utils"
53354 # Check whether --with-cppunit-prefix was given.
53355 if test "${with_cppunit_prefix+set}" = set; then
53356 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
53358 cppunit_config_prefix=""
53362 # Check whether --with-cppunit-exec-prefix was given.
53363 if test "${with_cppunit_exec_prefix+set}" = set; then
53364 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
53366 cppunit_config_exec_prefix=""
53370 if test x$cppunit_config_exec_prefix != x ; then
53371 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
53372 if test x${CPPUNIT_CONFIG+set} != xset ; then
53373 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
53376 if test x$cppunit_config_prefix != x ; then
53377 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
53378 if test x${CPPUNIT_CONFIG+set} != xset ; then
53379 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
53383 # Extract the first word of "cppunit-config", so it can be a program name with args.
53384 set dummy cppunit-config; ac_word=$2
53385 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53387 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
53388 echo $ECHO_N "(cached) $ECHO_C" >&6
53390 case $CPPUNIT_CONFIG in
53392 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
53395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53396 for as_dir in $PATH
53399 test -z "$as_dir" && as_dir=.
53400 for ac_exec_ext in '' $ac_executable_extensions; do
53401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53402 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
53403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53410 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
53414 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
53415 if test -n "$CPPUNIT_CONFIG"; then
53416 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
53417 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
53419 { echo "$as_me:$LINENO: result: no" >&5
53420 echo "${ECHO_T}no" >&6; }
53424 cppunit_version_min=1.8.0
53426 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
53427 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
53429 if test "$CPPUNIT_CONFIG" = "no" ; then
53430 { echo "$as_me:$LINENO: result: no" >&5
53431 echo "${ECHO_T}no" >&6; }
53434 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
53435 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
53436 cppunit_version=`$CPPUNIT_CONFIG --version`
53438 cppunit_major_version=`echo $cppunit_version | \
53439 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53440 cppunit_minor_version=`echo $cppunit_version | \
53441 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53442 cppunit_micro_version=`echo $cppunit_version | \
53443 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53445 cppunit_major_min=`echo $cppunit_version_min | \
53446 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53447 cppunit_minor_min=`echo $cppunit_version_min | \
53448 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53449 cppunit_micro_min=`echo $cppunit_version_min | \
53450 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53452 cppunit_version_proper=`expr \
53453 $cppunit_major_version \
> $cppunit_major_min \
| \
53454 $cppunit_major_version \
= $cppunit_major_min \
& \
53455 $cppunit_minor_version \
> $cppunit_minor_min \
| \
53456 $cppunit_major_version \
= $cppunit_major_min \
& \
53457 $cppunit_minor_version \
= $cppunit_minor_min \
& \
53458 $cppunit_micro_version \
>= $cppunit_micro_min `
53460 if test "$cppunit_version_proper" = "1" ; then
53461 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
53462 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
53464 { echo "$as_me:$LINENO: result: no" >&5
53465 echo "${ECHO_T}no" >&6; }
53470 if test "x$no_cppunit" = x ; then
53471 SUBDIRS="$SUBDIRS tests"
53482 for subdir in $SUBDIRS; do
53483 if test -d ${srcdir}/${subdir} ; then
53484 if test "$wxUSE_GUI" = "yes"; then
53485 if test ${subdir} = "samples"; then
53486 makefiles="samples/Makefile.in $makefiles"
53487 for sample in $SAMPLES_SUBDIRS; do
53488 if test -d $srcdir/samples/$sample; then
53489 makefiles="samples/$sample/Makefile.in $makefiles"
53493 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
53494 eval "disabled=\$$disabled_var"
53495 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
53496 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
53499 if test ${subdir} = "samples"; then
53500 makefiles="samples/Makefile.in $makefiles"
53501 for sample in `echo $SAMPLES_SUBDIRS`; do
53502 if test -d $srcdir/samples/$sample; then
53503 makefiles="samples/$sample/Makefile.in $makefiles"
53506 elif test ${subdir} = "utils"; then
53508 for util in ifacecheck ; do
53509 if test -d $srcdir/utils/$util ; then
53510 makefiles="utils/$util/src/Makefile.in \
53515 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
53519 for mkin in $makefiles ; do
53520 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53521 ac_config_files="$ac_config_files $mk"
53527 cat >confcache <<\_ACEOF
53528 # This file is a shell script that caches the results of configure
53529 # tests run on this system so they can be shared between configure
53530 # scripts and configure runs, see configure's option --config-cache.
53531 # It is not useful on other systems. If it contains results you don't
53532 # want to keep, you may remove or edit it.
53534 # config.status only pays attention to the cache file if you give it
53535 # the --recheck option to rerun configure.
53537 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
53538 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53539 # following values.
53543 # The following way of writing the cache mishandles newlines in values,
53544 # but we know of no workaround that is simple, portable, and efficient.
53545 # So, we kill variables containing newlines.
53546 # Ultrix sh set writes to stderr and can't be redirected directly,
53547 # and sets the high bit in the cache file unless we assign to the vars.
53549 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53550 eval ac_val
=\$
$ac_var
53554 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53555 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53558 _
| IFS
| as_nl
) ;; #(
53559 *) $as_unset $ac_var ;;
53565 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53566 *${as_nl}ac_space
=\
*)
53567 # `set' does not quote correctly, so add quotes (double-quote
53568 # substitution turns \\\\ into \\, and sed turns \\ into \).
53571 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53574 # `set' quotes correctly as required by POSIX, so do not add quotes.
53575 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53584 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53586 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53588 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
53589 if test -w "$cache_file"; then
53590 test "x$cache_file" != "x/dev/null" &&
53591 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53592 echo "$as_me: updating cache $cache_file" >&6;}
53593 cat confcache
>$cache_file
53595 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53596 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53601 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
53602 # Let make expand exec_prefix.
53603 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
53605 DEFS
=-DHAVE_CONFIG_H
53609 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
53610 # 1. Remove the extension, and $U if already installed.
53611 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
53612 ac_i
=`echo "$ac_i" | sed "$ac_script"`
53613 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53614 # will be set to the directory where LIBOBJS objects are built.
53615 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53616 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53618 LIBOBJS
=$ac_libobjs
53620 LTLIBOBJS
=$ac_ltlibobjs
53624 : ${CONFIG_STATUS=./config.status}
53625 ac_clean_files_save
=$ac_clean_files
53626 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
53627 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53628 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53629 cat >$CONFIG_STATUS <<_ACEOF
53631 # Generated by $as_me.
53632 # Run this file to recreate the current configuration.
53633 # Compiler output produced by configure, useful for debugging
53634 # configure, is in config.log if it exists.
53637 ac_cs_recheck=false
53639 SHELL=\${CONFIG_SHELL-$SHELL}
53642 cat >>$CONFIG_STATUS <<\_ACEOF
53643 ## --------------------- ##
53644 ## M4sh Initialization. ##
53645 ## --------------------- ##
53647 # Be more Bourne compatible
53648 DUALCASE
=1; export DUALCASE
# for MKS sh
53649 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
53652 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53653 # is contrary to our usage. Disable this feature.
53654 alias -g '${1+"$@"}'='"$@"'
53655 setopt NO_GLOB_SUBST
53657 case `(set -o) 2>/dev/null` in
53658 *posix
*) set -o posix
;;
53667 # Avoid depending upon Character Ranges.
53668 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
53669 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53670 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
53671 as_cr_digits
='0123456789'
53672 as_cr_alnum
=$as_cr_Letters$as_cr_digits
53674 # The user is always right.
53675 if test "${PATH_SEPARATOR+set}" != set; then
53676 echo "#! /bin/sh" >conf$$.sh
53677 echo "exit 0" >>conf$$.sh
53679 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53687 # Support unset when possible.
53688 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
53696 # We need space, tab and new line, in precisely that order. Quoting is
53697 # there to prevent editors from complaining about space-tab.
53698 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53699 # splitting by setting IFS to empty value.)
53704 # Find who we are. Look in the path if we contain no directory separator.
53706 *[\\/]* ) as_myself
=$0 ;;
53707 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53708 for as_dir
in $PATH
53711 test -z "$as_dir" && as_dir
=.
53712 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
53718 # We did not find ourselves, most probably we were run as `sh COMMAND'
53719 # in which case we are not to be found in the path.
53720 if test "x$as_myself" = x
; then
53723 if test ! -f "$as_myself"; then
53724 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53725 { (exit 1); exit 1; }
53728 # Work around bugs in pre-3.0 UWIN ksh.
53729 for as_var
in ENV MAIL MAILPATH
53730 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53738 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53739 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53740 LC_TELEPHONE LC_TIME
53742 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53743 eval $as_var=C
; export $as_var
53745 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53749 # Required to use basename.
53750 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53751 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53757 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53758 as_basename
=basename
53764 # Name of the executable.
53765 as_me
=`$as_basename -- "$0" ||
53766 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53767 X"$0" : 'X\(//\)$' \| \
53768 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53770 sed '/^.*\/\([^/][^/]*\)\/*$/{
53789 as_lineno_1
=$LINENO
53790 as_lineno_2
=$LINENO
53791 test "x$as_lineno_1" != "x$as_lineno_2" &&
53792 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53794 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53795 # uniformly replaced by the line number. The first 'sed' inserts a
53796 # line-number line after each line using $LINENO; the second 'sed'
53797 # does the real work. The second script uses 'N' to pair each
53798 # line-number line with the line containing $LINENO, and appends
53799 # trailing '-' during substitution so that $LINENO is not a special
53800 # case at line end.
53801 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53802 # scripts with optimization help from Paolo Bonzini. Blame Lee
53803 # E. McMahon (1931-1989) for sed's syntax. :-)
53815 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53818 ' >$as_me.lineno
&&
53819 chmod +x
"$as_me.lineno" ||
53820 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53821 { (exit 1); exit 1; }; }
53823 # Don't try to exec as it changes $[0], causing all sort of problems
53824 # (the dirname of $[0] is not the place where we might find the
53825 # original and so on. Autoconf is especially sensitive to this).
53826 .
"./$as_me.lineno"
53827 # Exit status is that of the last command.
53832 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
53838 ECHO_C
= ECHO_N
= ECHO_T
=
53839 case `echo -n x` in
53841 case `echo 'x\c'` in
53842 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
53849 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53850 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53856 rm -f conf$$ conf$$.exe conf$$.
file
53857 if test -d conf$$.dir
; then
53858 rm -f conf$$.dir
/conf$$.
file
53864 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
53866 # ... but there are two gotchas:
53867 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53868 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53869 # In both cases, we have to default to `cp -p'.
53870 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
53872 elif ln conf$$.
file conf$$
2>/dev
/null
; then
53877 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
53878 rmdir conf$$.dir
2>/dev
/null
53880 if mkdir -p .
2>/dev
/null
; then
53883 test -d .
/-p && rmdir .
/-p
53887 if test -x / >/dev
/null
2>&1; then
53888 as_test_x
='test -x'
53890 if ls -dL / >/dev
/null
2>&1; then
53897 if test -d "$1"; then
53903 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53904 ???[sx]*):;;*)false;;esac;fi
53908 as_executable_p
=$as_test_x
53910 # Sed expression to map a string onto a valid CPP name.
53911 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53913 # Sed expression to map a string onto a valid variable name.
53914 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53919 # Save the log message, to keep $[0] and so on meaningful, and to
53920 # report actual input values of CONFIG_FILES etc. instead of their
53921 # values after options handling.
53923 This file was extended by wxWidgets $as_me 2.9.3, which was
53924 generated by GNU Autoconf 2.61. Invocation command line was
53926 CONFIG_FILES = $CONFIG_FILES
53927 CONFIG_HEADERS = $CONFIG_HEADERS
53928 CONFIG_LINKS = $CONFIG_LINKS
53929 CONFIG_COMMANDS = $CONFIG_COMMANDS
53932 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53937 cat >>$CONFIG_STATUS <<_ACEOF
53938 # Files that config.status was made for.
53939 config_files="$ac_config_files"
53940 config_headers="$ac_config_headers"
53941 config_commands="$ac_config_commands"
53945 cat >>$CONFIG_STATUS <<\_ACEOF
53947 \`$as_me' instantiates files from templates according to the
53948 current configuration.
53950 Usage: $0 [OPTIONS] [FILE]...
53952 -h, --help print this help, then exit
53953 -V, --version print version number and configuration settings, then exit
53954 -q, --quiet do not print progress messages
53955 -d, --debug don't remove temporary files
53956 --recheck update $as_me by reconfiguring in the same conditions
53957 --file=FILE[:TEMPLATE]
53958 instantiate the configuration file FILE
53959 --header=FILE[:TEMPLATE]
53960 instantiate the configuration header FILE
53962 Configuration files:
53965 Configuration headers:
53968 Configuration commands:
53971 Report bugs to <bug-autoconf@gnu.org>."
53974 cat >>$CONFIG_STATUS <<_ACEOF
53976 wxWidgets config.status 2.9.3
53977 configured by $0, generated by GNU Autoconf 2.61,
53978 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53980 Copyright (C) 2006 Free Software Foundation, Inc.
53981 This config.status script is free software; the Free Software Foundation
53982 gives unlimited permission to copy, distribute and modify it."
53989 cat >>$CONFIG_STATUS <<\_ACEOF
53990 # If no file are specified by the user, then we need to provide default
53991 # value. By we need to know if files were specified by the user.
53997 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
53998 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
54009 # Handling of the options.
54010 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
54012 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
54013 echo "$ac_cs_version"; exit ;;
54014 --debug | --debu | --deb | --de | --d | -d )
54016 --file | --fil | --fi | --f )
54018 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
54019 ac_need_defaults
=false
;;
54020 --header | --heade | --head | --hea )
54022 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
54023 ac_need_defaults
=false
;;
54025 # Conflict between --help and --header
54026 { echo "$as_me: error: ambiguous option: $1
54027 Try \`$0 --help' for more information." >&2
54028 { (exit 1); exit 1; }; };;
54029 --help | --hel | -h )
54030 echo "$ac_cs_usage"; exit ;;
54031 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
54032 | -silent | --silent | --silen | --sile | --sil | --si | --s)
54035 # This is an error.
54036 -*) { echo "$as_me: error: unrecognized option: $1
54037 Try \`$0 --help' for more information." >&2
54038 { (exit 1); exit 1; }; } ;;
54040 *) ac_config_targets
="$ac_config_targets $1"
54041 ac_need_defaults
=false
;;
54047 ac_configure_extra_args
=
54049 if $ac_cs_silent; then
54051 ac_configure_extra_args
="$ac_configure_extra_args --silent"
54055 cat >>$CONFIG_STATUS <<_ACEOF
54056 if \$ac_cs_recheck; then
54057 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
54058 CONFIG_SHELL=$SHELL
54059 export CONFIG_SHELL
54060 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
54064 cat >>$CONFIG_STATUS <<\_ACEOF
54068 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
54069 ## Running $as_me. ##
54075 cat >>$CONFIG_STATUS <<_ACEOF
54081 infile="$srcdir/include/wx/msw/genrcdefs.h"
54082 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
54085 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
54086 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
54087 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
54093 cat >>$CONFIG_STATUS <<\_ACEOF
54095 # Handling of arguments.
54096 for ac_config_target
in $ac_config_targets
54098 case $ac_config_target in
54099 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
54100 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
54101 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
54102 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
54103 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
54104 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
54105 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
54106 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
54107 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
54109 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
54110 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
54111 { (exit 1); exit 1; }; };;
54116 # If the user did not use the arguments to specify the items to instantiate,
54117 # then the envvar interface is used. Set only those that are not.
54118 # We use the long form for the default assignment because of an extremely
54119 # bizarre bug on SunOS 4.1.3.
54120 if $ac_need_defaults; then
54121 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
54122 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
54123 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
54126 # Have a temporary directory for convenience. Make it in the build tree
54127 # simply because there is no reason against having it here, and in addition,
54128 # creating and moving files from /tmp can sometimes cause problems.
54129 # Hook for its removal unless debugging.
54130 # Note that there is a small window in which the directory will not be cleaned:
54131 # after its creation but before its name has been assigned to `$tmp'.
54135 trap 'exit_status=$?
54136 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
54138 trap '{ (exit 1); exit 1; }' 1 2 13 15
54140 # Create a (secure) tmp directory for tmp files.
54143 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
54144 test -n "$tmp" && test -d "$tmp"
54147 tmp
=.
/conf$$
-$RANDOM
54148 (umask 077 && mkdir "$tmp")
54151 echo "$me: cannot create a temporary directory in ." >&2
54152 { (exit 1); exit 1; }
54156 # Set up the sed scripts for CONFIG_FILES section.
54159 # No need to generate the scripts if there are no CONFIG_FILES.
54160 # This happens for instance when ./config.status config.h
54161 if test -n "$CONFIG_FILES"; then
54168 for ac_last_try
in false false false false false
:; do
54169 cat >conf$
$subs.
sed <<_ACEOF
54170 SHELL!$SHELL$ac_delim
54171 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
54172 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
54173 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
54174 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
54175 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
54176 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
54177 exec_prefix!$exec_prefix$ac_delim
54178 prefix!$prefix$ac_delim
54179 program_transform_name!$program_transform_name$ac_delim
54180 bindir!$bindir$ac_delim
54181 sbindir!$sbindir$ac_delim
54182 libexecdir!$libexecdir$ac_delim
54183 datarootdir!$datarootdir$ac_delim
54184 datadir!$datadir$ac_delim
54185 sysconfdir!$sysconfdir$ac_delim
54186 sharedstatedir!$sharedstatedir$ac_delim
54187 localstatedir!$localstatedir$ac_delim
54188 includedir!$includedir$ac_delim
54189 oldincludedir!$oldincludedir$ac_delim
54190 docdir!$docdir$ac_delim
54191 infodir!$infodir$ac_delim
54192 htmldir!$htmldir$ac_delim
54193 dvidir!$dvidir$ac_delim
54194 pdfdir!$pdfdir$ac_delim
54195 psdir!$psdir$ac_delim
54196 libdir!$libdir$ac_delim
54197 localedir!$localedir$ac_delim
54198 mandir!$mandir$ac_delim
54199 DEFS!$DEFS$ac_delim
54200 ECHO_C!$ECHO_C$ac_delim
54201 ECHO_N!$ECHO_N$ac_delim
54202 ECHO_T!$ECHO_T$ac_delim
54203 LIBS!$LIBS$ac_delim
54204 build_alias!$build_alias$ac_delim
54205 host_alias!$host_alias$ac_delim
54206 target_alias!$target_alias$ac_delim
54207 build!$build$ac_delim
54208 build_cpu!$build_cpu$ac_delim
54209 build_vendor!$build_vendor$ac_delim
54210 build_os!$build_os$ac_delim
54211 host!$host$ac_delim
54212 host_cpu!$host_cpu$ac_delim
54213 host_vendor!$host_vendor$ac_delim
54214 host_os!$host_os$ac_delim
54215 wx_top_builddir!$wx_top_builddir$ac_delim
54217 CFLAGS!$CFLAGS$ac_delim
54218 LDFLAGS!$LDFLAGS$ac_delim
54219 CPPFLAGS!$CPPFLAGS$ac_delim
54220 ac_ct_CC!$ac_ct_CC$ac_delim
54221 EXEEXT!$EXEEXT$ac_delim
54222 OBJEXT!$OBJEXT$ac_delim
54224 GREP!$GREP$ac_delim
54225 EGREP!$EGREP$ac_delim
54227 CXXFLAGS!$CXXFLAGS$ac_delim
54228 ac_ct_CXX!$ac_ct_CXX$ac_delim
54230 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
54231 CXXCPP!$CXXCPP$ac_delim
54232 subdirs!$subdirs$ac_delim
54233 PKG_CONFIG!$PKG_CONFIG$ac_delim
54234 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
54235 GTK_LIBS!$GTK_LIBS$ac_delim
54236 GTK_CONFIG!$GTK_CONFIG$ac_delim
54237 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
54238 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
54239 XMKMF!$XMKMF$ac_delim
54240 X_CFLAGS!$X_CFLAGS$ac_delim
54241 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
54242 X_LIBS!$X_LIBS$ac_delim
54243 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
54244 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
54245 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
54246 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
54247 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
54248 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
54249 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
54250 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
54251 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
54252 LIBICONV!$LIBICONV$ac_delim
54253 GXX_VERSION!$GXX_VERSION$ac_delim
54254 SDL_CONFIG!$SDL_CONFIG$ac_delim
54255 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
54256 SDL_LIBS!$SDL_LIBS$ac_delim
54257 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
54258 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
54259 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
54260 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
54261 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
54262 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
54263 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
54264 HILDON_LIBS!$HILDON_LIBS$ac_delim
54265 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
54266 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
54269 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54271 elif $ac_last_try; then
54272 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54273 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54274 { (exit 1); exit 1; }; }
54276 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54280 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54281 if test -n "$ac_eof"; then
54282 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54283 ac_eof
=`expr $ac_eof + 1`
54286 cat >>$CONFIG_STATUS <<_ACEOF
54287 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
54288 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54291 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54292 s/^/s,@/; s/!/@,|#_!!_#|/
54295 s/'"$ac_delim"'$/,g/; t
54297 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54298 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54299 rm -f conf$
$subs.
sed
54300 cat >>$CONFIG_STATUS <<_ACEOF
54306 for ac_last_try
in false false false false false
:; do
54307 cat >conf$
$subs.
sed <<_ACEOF
54308 PYTHON!$PYTHON$ac_delim
54309 COND_PYTHON!$COND_PYTHON$ac_delim
54310 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
54311 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
54312 GST_CFLAGS!$GST_CFLAGS$ac_delim
54313 GST_LIBS!$GST_LIBS$ac_delim
54314 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
54315 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
54316 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
54317 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
54318 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
54319 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
54320 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
54321 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
54322 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
54323 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
54324 VENDOR!$VENDOR$ac_delim
54325 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
54326 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
54327 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
54328 WXUNIV!$WXUNIV$ac_delim
54329 MONOLITHIC!$MONOLITHIC$ac_delim
54330 USE_PLUGINS!$USE_PLUGINS$ac_delim
54331 CXXWARNINGS!$CXXWARNINGS$ac_delim
54332 EXTRALIBS!$EXTRALIBS$ac_delim
54333 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
54334 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
54335 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
54336 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
54337 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
54338 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
54339 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
54340 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
54341 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
54342 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
54343 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
54344 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
54345 UNICODE!$UNICODE$ac_delim
54346 DEBUG_INFO!$DEBUG_INFO$ac_delim
54347 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
54348 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
54349 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
54350 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
54351 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
54352 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
54353 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
54354 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
54355 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
54356 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
54357 RANLIB!$RANLIB$ac_delim
54358 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
54359 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
54360 INSTALL_DATA!$INSTALL_DATA$ac_delim
54361 LN_S!$LN_S$ac_delim
54362 SET_MAKE!$SET_MAKE$ac_delim
54363 MAKE_SET!$MAKE_SET$ac_delim
54364 AROPTIONS!$AROPTIONS$ac_delim
54365 STRIP!$STRIP$ac_delim
54367 INSTALL_DIR!$INSTALL_DIR$ac_delim
54368 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
54369 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
54370 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
54371 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
54372 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
54373 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
54374 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
54375 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
54376 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
54377 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
54378 SO_SUFFIX!$SO_SUFFIX$ac_delim
54379 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
54380 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
54381 LIBPREFIX!$LIBPREFIX$ac_delim
54382 LIBEXT!$LIBEXT$ac_delim
54383 DLLPREFIX!$DLLPREFIX$ac_delim
54384 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
54385 dlldir!$dlldir$ac_delim
54386 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
54387 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
54388 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
54389 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
54390 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
54391 PIC_FLAG!$PIC_FLAG$ac_delim
54392 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
54393 USE_SOVERSION!$USE_SOVERSION$ac_delim
54394 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
54395 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
54396 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
54397 USE_MACVERSION!$USE_MACVERSION$ac_delim
54398 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
54399 SONAME_FLAG!$SONAME_FLAG$ac_delim
54400 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
54401 BK_DEPS!$BK_DEPS$ac_delim
54402 WINDRES!$WINDRES$ac_delim
54404 SETFILE!$SETFILE$ac_delim
54407 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54409 elif $ac_last_try; then
54410 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54411 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54412 { (exit 1); exit 1; }; }
54414 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54418 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54419 if test -n "$ac_eof"; then
54420 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54421 ac_eof
=`expr $ac_eof + 1`
54424 cat >>$CONFIG_STATUS <<_ACEOF
54425 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
54426 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54429 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54430 s/^/s,@/; s/!/@,|#_!!_#|/
54433 s/'"$ac_delim"'$/,g/; t
54435 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54436 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54437 rm -f conf$
$subs.
sed
54438 cat >>$CONFIG_STATUS <<_ACEOF
54444 for ac_last_try
in false false false false false
:; do
54445 cat >conf$
$subs.
sed <<_ACEOF
54446 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
54447 GCC_PCH!$GCC_PCH$ac_delim
54448 ICC_PCH!$ICC_PCH$ac_delim
54449 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
54450 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
54451 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
54452 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
54453 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
54454 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
54455 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
54456 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
54457 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
54458 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
54459 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
54460 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
54461 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
54462 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
54463 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
54464 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
54465 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
54466 COND_BUILD_release!$COND_BUILD_release$ac_delim
54467 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
54468 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
54469 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
54470 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
54471 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
54472 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
54473 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
54474 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
54475 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
54476 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
54477 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
54478 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
54479 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
54480 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
54481 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
54482 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
54483 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54484 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
54485 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1$ac_delim
54486 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
54487 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
54488 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
54489 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
54490 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
54491 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
54492 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
54493 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
54494 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
54495 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
54496 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
54497 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1$ac_delim
54498 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
54499 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
54500 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
54501 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54502 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54503 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54504 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54505 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54506 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54507 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54508 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
54509 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54510 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
54511 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54512 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54513 COND_MONOLITHIC_0_USE_WEBVIEW_1!$COND_MONOLITHIC_0_USE_WEBVIEW_1$ac_delim
54514 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54515 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54516 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54517 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54518 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54519 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54520 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54521 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54522 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54523 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
54524 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
54525 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54526 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
54527 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54528 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
54529 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54530 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
54531 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54532 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
54533 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54534 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54535 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
54536 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54537 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54538 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54539 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54540 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54541 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54542 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54545 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54547 elif $ac_last_try; then
54548 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54549 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54550 { (exit 1); exit 1; }; }
54552 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54556 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54557 if test -n "$ac_eof"; then
54558 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54559 ac_eof
=`expr $ac_eof + 1`
54562 cat >>$CONFIG_STATUS <<_ACEOF
54563 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54564 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54567 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54568 s/^/s,@/; s/!/@,|#_!!_#|/
54571 s/'"$ac_delim"'$/,g/; t
54573 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54574 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54575 rm -f conf$
$subs.
sed
54576 cat >>$CONFIG_STATUS <<_ACEOF
54582 for ac_last_try
in false false false false false
:; do
54583 cat >conf$
$subs.
sed <<_ACEOF
54584 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54585 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54586 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54587 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54588 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54589 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
54590 COND_SHARED_0!$COND_SHARED_0$ac_delim
54591 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54592 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54593 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54594 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54595 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54596 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54597 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54598 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54599 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
54600 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
54601 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
54602 COND_SHARED_1!$COND_SHARED_1$ac_delim
54603 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54604 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54605 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54606 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54607 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54608 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54609 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54610 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54611 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54612 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54613 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54614 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54615 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54616 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54617 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54618 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54619 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54620 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54621 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54622 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54623 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54624 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54625 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54626 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54627 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54628 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
54629 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54630 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
54631 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54632 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
54633 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54634 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
54635 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54636 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54637 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54638 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54639 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54640 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54641 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54642 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54643 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54644 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54645 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
54646 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54647 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54648 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54649 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54650 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54651 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54652 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54653 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54654 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54655 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54656 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54657 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54658 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54659 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54660 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54661 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54662 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54663 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54664 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
54665 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54666 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54667 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54668 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
54669 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54670 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54671 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54672 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54673 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54674 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54675 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54676 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54677 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54678 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54679 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54680 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54683 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54685 elif $ac_last_try; then
54686 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54687 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54688 { (exit 1); exit 1; }; }
54690 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54694 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54695 if test -n "$ac_eof"; then
54696 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54697 ac_eof
=`expr $ac_eof + 1`
54700 cat >>$CONFIG_STATUS <<_ACEOF
54701 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54702 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54705 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54706 s/^/s,@/; s/!/@,|#_!!_#|/
54709 s/'"$ac_delim"'$/,g/; t
54711 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54712 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54713 rm -f conf$
$subs.
sed
54714 cat >>$CONFIG_STATUS <<_ACEOF
54720 for ac_last_try
in false false false false false
:; do
54721 cat >conf$
$subs.
sed <<_ACEOF
54722 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54723 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54724 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54725 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
54726 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
54727 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
54728 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
54729 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
54730 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
54731 DEREZ!$DEREZ$ac_delim
54732 SHARED!$SHARED$ac_delim
54733 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54734 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54735 USE_GUI!$USE_GUI$ac_delim
54736 AFMINSTALL!$AFMINSTALL$ac_delim
54737 WIN32INSTALL!$WIN32INSTALL$ac_delim
54738 TOOLKIT!$TOOLKIT$ac_delim
54739 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54740 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54741 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54742 cross_compiling!$cross_compiling$ac_delim
54743 WIDGET_SET!$WIDGET_SET$ac_delim
54744 WX_RELEASE!$WX_RELEASE$ac_delim
54745 WX_VERSION!$WX_VERSION$ac_delim
54746 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54747 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54748 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54749 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54750 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54751 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54752 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54753 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
54754 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54755 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54756 GUIDIST!$GUIDIST$ac_delim
54757 DISTDIR!$DISTDIR$ac_delim
54758 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54759 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54760 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54761 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54762 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54763 RESCOMP!$RESCOMP$ac_delim
54764 RESFLAGS!$RESFLAGS$ac_delim
54765 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54766 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54767 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54768 LIBWXMACRES!$LIBWXMACRES$ac_delim
54769 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54770 MACSETFILE!$MACSETFILE$ac_delim
54772 DLLTOOL!$DLLTOOL$ac_delim
54773 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54774 LIBOBJS!$LIBOBJS$ac_delim
54775 LTLIBOBJS!$LTLIBOBJS$ac_delim
54778 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 54; then
54780 elif $ac_last_try; then
54781 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54782 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54783 { (exit 1); exit 1; }; }
54785 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54789 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54790 if test -n "$ac_eof"; then
54791 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54792 ac_eof
=`expr $ac_eof + 1`
54795 cat >>$CONFIG_STATUS <<_ACEOF
54796 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54797 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54800 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54801 s/^/s,@/; s/!/@,|#_!!_#|/
54804 s/'"$ac_delim"'$/,g/; t
54806 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54807 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54808 rm -f conf$
$subs.
sed
54809 cat >>$CONFIG_STATUS <<_ACEOF
54816 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54817 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54818 # trailing colons and then remove the whole line if VPATH becomes empty
54819 # (actually we leave an empty line to preserve line numbers).
54820 if test "x$srcdir" = x.
; then
54821 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
54822 s/:*\$(srcdir):*/:/
54823 s/:*\${srcdir}:*/:/
54825 s/^\([^=]*=[ ]*\):*/\1/
54831 cat >>$CONFIG_STATUS <<\_ACEOF
54832 fi # test -n "$CONFIG_FILES"
54835 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
54838 :[FHLC
]) ac_mode
=$ac_tag; continue;;
54840 case $ac_mode$ac_tag in
54842 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54843 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54844 { (exit 1); exit 1; }; };;
54845 :[FH
]-) ac_tag
=-:-;;
54846 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
54863 -) ac_f
="$tmp/stdin";;
54864 *) # Look for the file first in the build tree, then in the source tree
54865 # (if the path is not absolute). The absolute path cannot be DOS-style,
54866 # because $ac_f cannot contain `:'.
54870 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
54872 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54873 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54874 { (exit 1); exit 1; }; };;
54876 ac_file_inputs
="$ac_file_inputs $ac_f"
54879 # Let's still pretend it is `configure' which instantiates (i.e., don't
54880 # use $as_me), people would be surprised to read:
54881 # /* config.h. Generated by config.status. */
54882 configure_input
="Generated from "`IFS=:
54883 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54884 if test x
"$ac_file" != x
-; then
54885 configure_input
="$ac_file. $configure_input"
54886 { echo "$as_me:$LINENO: creating $ac_file" >&5
54887 echo "$as_me: creating $ac_file" >&6;}
54891 *:-:* | *:-) cat >"$tmp/stdin";;
54896 ac_dir
=`$as_dirname -- "$ac_file" ||
54897 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54898 X"$ac_file" : 'X\(//\)[^/]' \| \
54899 X"$ac_file" : 'X\(//\)$' \| \
54900 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54902 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54906 /^X\(\/\/\)[^/].*/{
54921 -*) as_dir
=.
/$as_dir;;
54923 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54927 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54928 *) as_qdir
=$as_dir;;
54930 as_dirs
="'$as_qdir' $as_dirs"
54931 as_dir
=`$as_dirname -- "$as_dir" ||
54932 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54933 X"$as_dir" : 'X\(//\)[^/]' \| \
54934 X"$as_dir" : 'X\(//\)$' \| \
54935 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54937 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54941 /^X\(\/\/\)[^/].*/{
54954 test -d "$as_dir" && break
54956 test -z "$as_dirs" || eval "mkdir $as_dirs"
54957 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54958 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54959 { (exit 1); exit 1; }; }; }
54963 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54965 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54966 # A ".." for each directory in $ac_dir_suffix.
54967 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54968 case $ac_top_builddir_sub in
54969 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
54970 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
54973 ac_abs_top_builddir
=$ac_pwd
54974 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
54975 # for backward compatibility:
54976 ac_top_builddir
=$ac_top_build_prefix
54979 .
) # We are building in place.
54981 ac_top_srcdir
=$ac_top_builddir_sub
54982 ac_abs_top_srcdir
=$ac_pwd ;;
54983 [\\/]* | ?
:[\\/]* ) # Absolute name.
54984 ac_srcdir
=$srcdir$ac_dir_suffix;
54985 ac_top_srcdir
=$srcdir
54986 ac_abs_top_srcdir
=$srcdir ;;
54987 *) # Relative name.
54988 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
54989 ac_top_srcdir
=$ac_top_build_prefix$srcdir
54990 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
54992 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
55002 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
55003 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
55007 cat >>$CONFIG_STATUS <<\_ACEOF
55008 # If the template does not know about datarootdir, expand it.
55009 # FIXME: This hack should be removed a few years after 2.60.
55010 ac_datarootdir_hack
=; ac_datarootdir_seen
=
55012 case `sed -n '/datarootdir/ {
55021 ' $ac_file_inputs` in
55022 *datarootdir
*) ac_datarootdir_seen
=yes;;
55023 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
55024 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
55025 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
55027 cat >>$CONFIG_STATUS <<_ACEOF
55028 ac_datarootdir_hack='
55029 s&@datadir@&$datadir&g
55030 s&@docdir@&$docdir&g
55031 s&@infodir@&$infodir&g
55032 s&@localedir@&$localedir&g
55033 s&@mandir@&$mandir&g
55034 s&\\\${datarootdir}&$datarootdir&g' ;;
55038 # Neutralize VPATH when `$srcdir' = `.'.
55039 # Shell code in configure.ac might set extrasub.
55040 # FIXME: do we really want to maintain this feature?
55041 cat >>$CONFIG_STATUS <<_ACEOF
55045 cat >>$CONFIG_STATUS <<\_ACEOF
55047 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
55048 s
&@configure_input@
&$configure_input&;t t
55049 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
55050 s
&@srcdir@
&$ac_srcdir&;t t
55051 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
55052 s
&@top_srcdir@
&$ac_top_srcdir&;t t
55053 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
55054 s
&@builddir@
&$ac_builddir&;t t
55055 s
&@abs_builddir@
&$ac_abs_builddir&;t t
55056 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
55057 s
&@INSTALL@
&$ac_INSTALL&;t t
55058 $ac_datarootdir_hack
55059 " $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
55061 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
55062 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
55063 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
55064 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
55065 which seems to be undefined. Please make sure it is defined." >&5
55066 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
55067 which seems to be undefined. Please make sure it is defined." >&2;}
55071 -) cat "$tmp/out"; rm -f "$tmp/out";;
55072 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
55081 # Transform confdefs.h into a sed script `conftest.defines', that
55082 # substitutes the proper values into config.h.in to produce config.h.
55083 rm -f conftest.defines conftest.
tail
55084 # First, append a space to every undef/define line, to ease matching.
55085 echo 's/$/ /' >conftest.defines
55086 # Then, protect against being on the right side of a sed subst, or in
55087 # an unquoted here document, in config.status. If some macros were
55088 # called several times there might be several #defines for the same
55089 # symbol, which is useless. But do not sort them, since the last
55090 # AC_DEFINE must be honored.
55091 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
55092 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
55093 # NAME is the cpp macro being defined, VALUE is the value it is being given.
55094 # PARAMS is the parameter list in the macro definition--in most cases, it's
55095 # just an empty string.
55096 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
55097 ac_dB
='\\)[ (].*,\\1define\\2'
55105 s/^[ ]*#[ ]*define[ ][ ]*//
55110 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
55111 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
55112 ' >>conftest.defines
55114 # Remove the space that was appended to ease matching.
55115 # Then replace #undef with comments. This is necessary, for
55116 # example, in the case of _POSIX_SOURCE, which is predefined and required
55117 # on some systems where configure will not decide to define it.
55118 # (The regexp can be short, since the line contains either #define or #undef.)
55120 s,^[ #]*u.*,/* & */,' >>conftest.defines
55122 # Break up conftest.defines:
55123 ac_max_sed_lines
=50
55125 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
55126 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
55127 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
55129 ac_in
='$ac_file_inputs'
55130 ac_out
='"$tmp/out1"'
55131 ac_nxt
='"$tmp/out2"'
55135 # Write a here document:
55136 cat >>$CONFIG_STATUS <<_ACEOF
55137 # First, check the format of the line:
55138 cat >"\$tmp/defines.sed" <<\\CEOF
55139 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
55140 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
55144 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
55146 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
55147 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
55148 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
55149 grep . conftest.
tail >/dev
/null
|| break
55150 rm -f conftest.defines
55151 mv conftest.
tail conftest.defines
55153 rm -f conftest.defines conftest.
tail
55155 echo "ac_result=$ac_in" >>$CONFIG_STATUS
55156 cat >>$CONFIG_STATUS <<\_ACEOF
55157 if test x
"$ac_file" != x
-; then
55158 echo "/* $configure_input */" >"$tmp/config.h"
55159 cat "$ac_result" >>"$tmp/config.h"
55160 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
55161 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
55162 echo "$as_me: $ac_file is unchanged" >&6;}
55165 mv "$tmp/config.h" $ac_file
55168 echo "/* $configure_input */"
55174 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
55175 echo "$as_me: executing $ac_file commands" >&6;}
55180 case $ac_file$ac_mode in
55182 mkdir -p $outdir &&
55183 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
55185 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
55186 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
55187 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
55188 "wx-config":C
) rm -f wx
-config
55189 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
55196 { (exit 0); exit 0; }
55198 chmod +x
$CONFIG_STATUS
55199 ac_clean_files
=$ac_clean_files_save
55202 # configure is writing to config.log, and then calls config.status.
55203 # config.status does its own redirection, appending to config.log.
55204 # Unfortunately, on DOS this fails, as config.log is still kept open
55205 # by configure, so config.status won't be able to write to it; its
55206 # output is simply discarded. So we exec the FD to /dev/null,
55207 # effectively closing config.log, so it can be properly (re)opened and
55208 # appended to by config.status. When coming back to configure, we
55209 # need to make the FD available again.
55210 if test "$no_create" != yes; then
55212 ac_config_status_args
=
55213 test "$silent" = yes &&
55214 ac_config_status_args
="$ac_config_status_args --quiet"
55216 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
55218 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
55219 # would make configure fail if this is the last instruction.
55220 $ac_cs_success || { (exit 1); exit 1; }
55224 # CONFIG_SUBDIRS section.
55226 if test "$no_recursion" != yes; then
55228 # Remove --cache-file and --srcdir arguments so they do not pile up.
55229 ac_sub_configure_args
=
55231 eval "set x $ac_configure_args"
55235 if test -n "$ac_prev"; then
55240 -cache-file | --cache-file | --cache-fil | --cache-fi \
55241 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
55242 ac_prev
=cache_file
;;
55243 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
55244 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
55247 --config-cache | -C)
55249 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
55251 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
55253 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
55255 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
55259 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
55261 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
55265 # Always prepend --prefix to ensure using the same prefix
55266 # in subdir configurations.
55267 ac_arg
="--prefix=$prefix"
55269 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
55271 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
55274 if test "$silent" = yes; then
55275 ac_sub_configure_args
="--silent $ac_sub_configure_args"
55279 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
55281 # Do not complain, so a configure script can configure whichever
55282 # parts of a large source tree are present.
55283 test -d "$srcdir/$ac_dir" || continue
55285 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
55286 echo "$as_me:$LINENO: $ac_msg" >&5
55290 -*) as_dir
=.
/$as_dir;;
55292 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
55296 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
55297 *) as_qdir
=$as_dir;;
55299 as_dirs
="'$as_qdir' $as_dirs"
55300 as_dir
=`$as_dirname -- "$as_dir" ||
55301 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
55302 X"$as_dir" : 'X\(//\)[^/]' \| \
55303 X"$as_dir" : 'X\(//\)$' \| \
55304 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
55306 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
55310 /^X\(\/\/\)[^/].*/{
55323 test -d "$as_dir" && break
55325 test -z "$as_dirs" || eval "mkdir $as_dirs"
55326 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
55327 echo "$as_me: error: cannot create directory $as_dir" >&2;}
55328 { (exit 1); exit 1; }; }; }
55332 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
55334 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
55335 # A ".." for each directory in $ac_dir_suffix.
55336 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
55337 case $ac_top_builddir_sub in
55338 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
55339 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
55342 ac_abs_top_builddir
=$ac_pwd
55343 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
55344 # for backward compatibility:
55345 ac_top_builddir
=$ac_top_build_prefix
55348 .
) # We are building in place.
55350 ac_top_srcdir
=$ac_top_builddir_sub
55351 ac_abs_top_srcdir
=$ac_pwd ;;
55352 [\\/]* | ?
:[\\/]* ) # Absolute name.
55353 ac_srcdir
=$srcdir$ac_dir_suffix;
55354 ac_top_srcdir
=$srcdir
55355 ac_abs_top_srcdir
=$srcdir ;;
55356 *) # Relative name.
55357 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
55358 ac_top_srcdir
=$ac_top_build_prefix$srcdir
55359 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
55361 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
55366 # Check for guested configure; otherwise get Cygnus style configure.
55367 if test -f "$ac_srcdir/configure.gnu"; then
55368 ac_sub_configure
=$ac_srcdir/configure.gnu
55369 elif test -f "$ac_srcdir/configure"; then
55370 ac_sub_configure
=$ac_srcdir/configure
55371 elif test -f "$ac_srcdir/configure.in"; then
55372 # This should be Cygnus configure.
55373 ac_sub_configure
=$ac_aux_dir/configure
55375 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
55376 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
55380 # The recursion is here.
55381 if test -n "$ac_sub_configure"; then
55382 # Make the cache file name correct relative to the subdirectory.
55383 case $cache_file in
55384 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
55385 *) # Relative name.
55386 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
55389 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
55390 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
55391 # The eval makes quoting arguments work.
55392 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
55393 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
55394 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
55395 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
55396 { (exit 1); exit 1; }; }
55405 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
55407 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
55408 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
55409 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
55410 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
55411 if test "$wxUSE_UNICODE" = "yes"; then
55412 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
55413 echo " (using UTF-8)"
55415 echo " (using wchar_t)"
55421 echo " What level of wxWidgets compatibility should be enabled?"
55422 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
55423 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
55425 echo " Which libraries should wxWidgets use?"
55426 echo " STL ${wxUSE_STL}"
55427 echo " jpeg ${wxUSE_LIBJPEG-none}"
55428 echo " png ${wxUSE_LIBPNG-none}"
55429 echo " regex ${wxUSE_REGEX}"
55430 echo " tiff ${wxUSE_LIBTIFF-none}"
55431 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
55432 echo " xpm ${wxUSE_LIBXPM-none}"
55434 echo " zlib ${wxUSE_ZLIB}"
55435 echo " expat ${wxUSE_EXPAT}"
55436 echo " libmspack ${wxUSE_LIBMSPACK}"
55437 echo " sdl ${wxUSE_LIBSDL}"